aboutsummaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-11-24 01:12:59 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2012-11-24 01:12:59 +0000
commit4b3e3dd6d83440311dce8049d2a54885213e0ef7 (patch)
tree867d7619ece6d8c3eea88f8b5b842a77abf73968 /libquadmath
parent4ccce7f9d9585a24805ee8c440c5e928d6c1a176 (diff)
Don't pass void to fegetround
PR bootstrap/55455 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass void to fegetround. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/ChangeLog6
-rw-r--r--libquadmath/quadmath-rounding-mode.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index 6bbe420b9fe..365c4bb0d55 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/55455
+ * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
+ void to fegetround.
+
2012-11-23 Tobias Burnus <burnus@net-b.de>
Joseph Myers <joseph@codesourcery.com>
diff --git a/libquadmath/quadmath-rounding-mode.h b/libquadmath/quadmath-rounding-mode.h
index 9d06fa7be57..a806794835a 100644
--- a/libquadmath/quadmath-rounding-mode.h
+++ b/libquadmath/quadmath-rounding-mode.h
@@ -33,7 +33,7 @@ get_rounding_mode (void)
{
#if defined(HAVE_FENV_H) && (defined(FE_DOWNWARD) || defined(FE_TONEAREST) \
|| defined(FE_TOWARDZERO) || defined(FE_UPWARD))
- return fegetround (void);
+ return fegetround ();
#else
return 0;
#endif