diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-24 01:12:59 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-24 01:12:59 +0000 |
commit | 406bed1782f840173c5e8d696dcaac7d2fdf9789 (patch) | |
tree | 867d7619ece6d8c3eea88f8b5b842a77abf73968 /libquadmath | |
parent | 5ab901e471d36a4ec3119d084df7874b65d8cd9c (diff) | |
download | gcc-406bed1782f840173c5e8d696dcaac7d2fdf9789.tar.gz |
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193775 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 6 | ||||
-rw-r--r-- | libquadmath/quadmath-rounding-mode.h | 2 |
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 |