diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-21 15:16:21 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-21 15:16:21 +0000 |
commit | cb39b5e7fa95d52ba53a93f0a5dea041ea81a8d9 (patch) | |
tree | 4a8a19305e97d473447cc5d3907bb0640bf63b5c /libgfortran | |
parent | 7243e97994be84af55832f64e3b9dedb6ad3bc8e (diff) | |
download | gcc-cb39b5e7fa95d52ba53a93f0a5dea041ea81a8d9.tar.gz |
2013-07-21 Tobias Burnus <burnus@net-b.de>
PR fortran/35862
* config/fpu-387.h (set_fpu_rounding_mode,
get_fpu_rounding_mode): Add missing _ to fix build.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/config/fpu-387.h | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index eacb01b62d5..e5f7eb7fdb2 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,4 +1,10 @@ 2013-07-21 Tobias Burnus <burnus@net-b.de> + + PR fortran/35862 + * config/fpu-387.h (set_fpu_rounding_mode, + get_fpu_rounding_mode): Add missing _ to fix build. + +2013-07-21 Tobias Burnus <burnus@net-b.de> Uros Bizjak <ubizjak@gmail.com> PR fortran/35862 diff --git a/libgfortran/config/fpu-387.h b/libgfortran/config/fpu-387.h index 72d86f89ea3..62f1e935b53 100644 --- a/libgfortran/config/fpu-387.h +++ b/libgfortran/config/fpu-387.h @@ -202,7 +202,7 @@ set_fpu_rounding_mode (int round) __asm__ __volatile__ ("fnstcw\t%0" : "=m" (cw)); - cw &= ~FPU_RC_MASK; + cw &= ~_FPU_RC_MASK; cw |= round_mode; __asm__ __volatile__ ("fldcw\t%0" : : "m" (cw)); @@ -214,7 +214,7 @@ set_fpu_rounding_mode (int round) __asm__ __volatile__ ("%vstmxcsr\t%0" : "=m" (cw_sse)); /* The SSE round control bits are shifted by 3 bits. */ - cw_sse &= ~(FPU_RC_MASK << 3); + cw_sse &= ~(_FPU_RC_MASK << 3); cw_sse |= round_mode << 3; __asm__ __volatile__ ("%vldmxcsr\t%0" : : "m" (cw_sse)); @@ -228,7 +228,7 @@ get_fpu_rounding_mode (void) __asm__ __volatile__ ("fnstcw\t%0" : "=m" (cw)); - cw &= FPU_RC_MASK; + cw &= _FPU_RC_MASK; switch (cw) { |