[Bug regression/57551] New: [4.9 Regression]: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE

hp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 7 00:23:00 GMT 2013


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

            Bug ID: 57551
           Summary: [4.9 Regression]: g++.dg/ext/visibility/anon6.C
                    scan-assembler 1BIiE1cE
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: hubicka at ucw dot cz

With revision 199692 this test passed.
>From revision 199702 and on, this test has failed as follows:

Running /tmp/hpautotest-gcc0/gcc/gcc/testsuite/g++.dg/dg.exp ...
...
FAIL: g++.dg/ext/visibility/anon6.C -std=c++98  scan-assembler 1BIiE1cE
FAIL: g++.dg/ext/visibility/anon6.C -std=c++11  scan-assembler 1BIiE1cE

With the message in the logfile being:

Executing on host:
/tmp/hpautotest-gcc0/cris-elf/gccobj/gcc/testsuite/g++/../../xg++
-B/tmp/hpautotest-gcc0/cris-elf/gccobj/gcc/testsuite/g++/../../
/tmp/hpautotest-gcc0/gcc/gcc/testsuite/g++.dg/ext/visibility/anon6.C 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -nostdinc++
-I/tmp/hpautotest-gcc0/cris-elf/gccobj/cris-elf/libstdc++-v3/include/cris-elf
-I/tmp/hpautotest-gcc0/cris-elf/gccobj/cris-elf/libstdc++-v3/include
-I/tmp/hpautotest-gcc0/gcc/libstdc++-v3/libsupc++
-I/tmp/hpautotest-gcc0/gcc/libstdc++-v3/include/backward
-I/tmp/hpautotest-gcc0/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++98 -pedantic-errors -Wno-long-long -ffat-lto-objects -ffat-lto-objects
-ffat-lto-objects  -S   -isystem
/tmp/hpautotest-gcc0/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc0/gcc/newlib/libc/include  -o anon6.s    (timeout = 300)
PASS: g++.dg/ext/visibility/anon6.C -std=c++98 (test for excess errors)
FAIL: g++.dg/ext/visibility/anon6.C -std=c++98  scan-assembler 1BIiE1cE
PASS: g++.dg/ext/visibility/anon6.C -std=c++98  scan-assembler-not
globl.*1BIiE1cE
PASS: g++.dg/ext/visibility/anon6.C -std=c++98  scan-assembler-not 1CIiE1cE

(similarly for -std=c++11)

The generated assembly file is empty.
Messages on gcc-patches indicate that the failure is universal; at a glance it
seems the suspect commit 199695 made the whole code go away as unused and
unreachable.  Tweak or remove test-case?

Author of suspect patch in revision range CC:ed.



More information about the Gcc-bugs mailing list