https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64158

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |macro at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Is this a regression though?
I see the
FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = (2|3)"
even with gcc 4.7.x, 4.8.x, 4.9.x on ppc64.
There was an attempt to avoid running this test on ppc64-linux:
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00299.html
r213657 and r213677
but clearly that is not working well.
Don't have a ppc64 box readily available now, so can't quickly analyze what's
going on though.  I see:

Executing on host:
/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/xgcc
-B/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/ 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -c   -o
powerpc_elfv216903.o powerpc_elfv216903.c    (timeout = 300)
spawn -ignore SIGHUP
/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/xgcc
-B/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/
-fno-diagnostics-show-caret -fdiagnostics-color=never -c -o
powerpc_elfv216903.o powerpc_elfv216903.c
powerpc_elfv216903.c:3:7: error: #error not ELF v2 ABI
compiler exited with status 1
output is:
powerpc_elfv216903.c:3:7: error: #error not ELF v2 ABI
...
Executing on host:
/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/xgcc
-B/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/
/builddir/build/BUILD/gcc-5.0.0-20150217/gcc/testsuite/gcc.dg/pr44194-1.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -O2 -fdump-rtl-dse1
-fdump-rtl-final -ffat-lto-objects -ffat-lto-objects -S   -o pr44194-1.s   
(timeout = 300)
spawn -ignore SIGHUP
/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/xgcc
-B/builddir/build/BUILD/gcc-5.0.0-20150217/obj-ppc64-redhat-linux/gcc/
/builddir/build/BUILD/gcc-5.0.0-20150217/gcc/testsuite/gcc.dg/pr44194-1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fdump-rtl-dse1
-fdump-rtl-final -ffat-lto-objects -ffat-lto-objects -S -o pr44194-1.s
PASS: gcc.dg/pr44194-1.c (test for excess errors)
FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = (2|3)"
PASS: gcc.dg/pr44194-1.c scan-rtl-dump-not final "insn[: ][^\n]*set
\\(mem(?![^\n]*scratch)"

in the gcc.log from our rpm build, so I'd expect that powerpc_elfv2 is 0 and
therefore the pr44194-1.c test should be skipped as unsupported.

Reply via email to