http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48540

           Summary: [4.7 Regression] FAIL:
                    20_util/typeindex/comparison_operators.cc on
                    powerpc-apple-darwin9
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
              Host: powerpc-apple-darwin9
            Target: powerpc-apple-darwin9
             Build: powerpc-apple-darwin9


At revision 172225 the test 20_util/typeindex/comparison_operators.cc fails on
with -m64 with

Executing on host: /opt/gcc/darwin_buildw/./gcc/g++ -shared-libgcc
-B/opt/gcc/darwin_buildw/./gcc -nostdinc++
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src
-L/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.7w/powerpc-apple-darwin9/bin/
-B/opt/gcc/gcc4.7w/powerpc-apple-darwin9/lib/ -isystem
/opt/gcc/gcc4.7w/powerpc-apple-darwin9/include -isystem
/opt/gcc/gcc4.7w/powerpc-apple-darwin9/sys-include -m64
-B/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/src/.libs -g
-O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g
-O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include/powerpc-apple-darwin9
-I/opt/gcc/darwin_buildw/powerpc-apple-darwin9/ppc64/libstdc++-v3/include
-I/opt/gcc/work/libstdc++-v3/libsupc++
-I/opt/gcc/work/libstdc++-v3/include/backward
-I/opt/gcc/work/libstdc++-v3/testsuite/util
/opt/gcc/work/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc 
 -std=gnu++0x ./libtestc++.a /usr/lib/libiconv.dylib  -lm   -m64 -o
./comparison_operators.exe    (timeout = 600)
/opt/gcc/work/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc:
In function 'void test01()':
/opt/gcc/work/libstdc++-v3/testsuite/20_util/typeindex/comparison_operators.cc:82:1:
internal compiler error: Bus error

The test was passing at revision 17193. It also pass if I remove the -g option
or change the optimization level to -O1. Unfortunately the test all passes
under gdb.

Reply via email to