PASS: gcc.target/powerpc/ti_math1.c (test for excess errors) PASS: gcc.target/powerpc/ti_math1.c scan-assembler-times addc 1 FAIL: gcc.target/powerpc/ti_math1.c scan-assembler-times adde 1 PASS: gcc.target/powerpc/ti_math1.c scan-assembler-times subfc 1 PASS: gcc.target/powerpc/ti_math1.c scan-assembler-times subfe 1 PASS: gcc.target/powerpc/ti_math1.c scan-assembler-not subf Seen with gcc-5-branch revision 231903. I don't know when this started failing This test works with gcc 4.9 and gcc 6 and works with gcc 5 on big endian. The problem can be seen here when comparing the assembler from gcc 6 with that from 5: seurer@genoa:~/tests/gcc$ diff ti_math1.s.gcc5 ti_math1.s.gcc6 13,14c13 < addze 5,5 < add 4,5,10 --- > adde 4,5,10 It also only occurs with -O2 With -O2: addze 5,5 add 4,5,10 With -O1: adde 4,5,10
GCC 5.4 is being released, adjusting target milestone.
Author: segher Date: Thu Jul 7 17:08:00 2016 New Revision: 238121 URL: https://gcc.gnu.org/viewcvs?rev=238121&root=gcc&view=rev Log: rs6000: Fix gcc.target/powerpc/ti_math1.c on GCC 5 (PR69019) This testcase currently fails on GCC 5, for LE only. Since it is fixed for 6 and later, and backporting the relevant code is rather invasive, let's just weaken the testcase for GCC 5 instead. PR target/69019 * gcc.target/powerpc/ti_math1.c: Allow addze as well as adde. Modified: branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/testsuite/gcc.target/powerpc/ti_math1.c
ASsuming fixed.