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



             Bug #: 55257

           Summary: [4.8 Regression]:

                    g++.dg/debug/dwarf2/non-virtual-thunk.C scan-assembler

                    thunk.C:30

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Keywords: wrong-debug

          Severity: normal

          Priority: P3

         Component: debug

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: h...@gcc.gnu.org

                CC: ja...@gcc.gnu.org

              Host: x86_64-unknown-linux-gnu

            Target: cris-axis-elf





Created attachment 28649

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28649

non-virtual-thunk.s



This test previously passed, now it fails.

A patch in the revision range (last_known_working:first_known_failing)

193333:193342 exposed or caused this regression.  Since then it fails as

follows:



Running /tmp/hpautotest-gcc0/gcc/gcc/testsuite/g++.dg/debug/dwarf2/dwarf2.exp

...

FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98  scan-assembler

thunk.C:30

FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++11  scan-assembler

thunk.C:30



No extra clue in g++.log.

Executing on host:

/tmp/hpautotest-gcc0/cris-elf/gccobj/gcc/testsuite/g++/../../g++

-B/tmp/hpautotest-gcc0/cris-elf/gccobj/gcc/testsuite/g++/../../

/tmp/hpautotest-gcc0/gcc/gcc/testsuite/g++.dg/debug/dwarf2/non-virtual-thunk.C 

-fno-diagnostics-show-caret  -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=gnu++98 -g2 -dA -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 non-virtual-thunk.s   

(timeout = 300)

PASS: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98 (test for excess

errors)

FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98  scan-assembler

thunk.C:30



(same for -std=gnu++11)



There's no "thunk.C:30" in the assembly file, just lots of:

"<TAB>;#

/tmp/hpautotest-gcc0/gcc/gcc/testsuite/g++.dg/debug/dwarf2/non-virtual-thunk.C:33"



See the attached non-virtual-thunk.s.



Author of suspect patch in revision range CC:ed.

Reply via email to