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 <hjl@gcc.gnu.org>2012-11-23 17:12:59 -0800
commit1773438a1b701f62cc01e69b33d29954dab09207 (patch)
tree867d7619ece6d8c3eea88f8b5b842a77abf73968 /libquadmath
parent4197028d21528346be3908e6d51b2f9185a83b97 (diff)
downloadgcc-1773438a1b701f62cc01e69b33d29954dab09207.zip
gcc-1773438a1b701f62cc01e69b33d29954dab09207.tar.gz
gcc-1773438a1b701f62cc01e69b33d29954dab09207.tar.bz2
Don't pass void to fegetround
PR bootstrap/55455 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass void to fegetround. From-SVN: r193775
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 6bbe420..365c4bb 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 9d06fa7..a806794 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