rs6000.c (rs6000_atomic_assign_expand_fenv): New function.
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Sun, 19 Oct 2014 13:49:26 +0000 (13:49 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sun, 19 Oct 2014 13:49:26 +0000 (09:49 -0400)
commitf4b0b1e3bb4dd4d89efdee99b5d032302a5f4717
tree7a967801fb194a96aebe241cfc33ac718c2af1ae
parentfad0fe1eda55c19395679cd9cd4180a1c1037f70
rs6000.c (rs6000_atomic_assign_expand_fenv): New function.

2014-10-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
            David Edelsohn  <dje.gcc@gmail.com>

        * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): New
        function.
        (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
* gcc.dg/atomic/c11-atomic-exec-5.c
(test_main_long_double_add_overflow): Define and run only for
LDBL_MANT_DIG != 106.
(test_main_complex_long_double_add_overflow): Likewise.
(test_main_long_double_sub_overflow): Likewise.
(test_main_complex_long_double_sub_overflow): Likewise.

Co-Authored-By: David Edelsohn <dje.gcc@gmail.com>
From-SVN: r216437
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-5.c