Bug 54251 - FAIL: g++.dg/debug/dwarf2/nested-4.C -std=gnu++[98,11] scan-assembler-times debug_types 2
Summary: FAIL: g++.dg/debug/dwarf2/nested-4.C -std=gnu++[98,11] scan-assembler-times d...
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: testsuite-fail
Depends on:
Blocks:
 
Reported: 2012-08-14 13:14 UTC by Jack Howarth
Modified: 2021-12-20 08:17 UTC (History)
4 users (show)

See Also:
Host: x86_64-apple-darwin*
Target: x86_64-apple-darwin*
Build: x86_64-apple-darwin*
Known to work:
Known to fail:
Last reconfirmed: 2012-08-20 00:00:00


Attachments
assembly from -m32 test of g++.dg/debug/dwarf2/nested-4.C -std=gnu++11 (2.03 KB, application/octet-stream)
2012-08-14 13:14 UTC, Jack Howarth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Howarth 2012-08-14 13:14:52 UTC
Created attachment 28008 [details]
assembly from -m32 test of g++.dg/debug/dwarf2/nested-4.C -std=gnu++11

The regressions...

FAIL: g++.dg/debug/dwarf2/nested-4.C -std=gnu++98  scan-assembler-times debug_types 2
FAIL: g++.dg/debug/dwarf2/nested-4.C -std=gnu++11  scan-assembler-times debug_types 2

appeared sometime after r189637 but on or before r189751. 

The nested-4.s generated for the failing -std=gnu++11 test with...

/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../g++ -B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../ /sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C -fno-diagnostics-show-caret -nostdinc++ -I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.0.0/i386/libstdc++-v3/include/x86_64-apple-darwin12.0.0 -I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.0.0/i386/libstdc++-v3/include -I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/libstdc++-v3/libsupc++ -I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/libstdc++-v3/include/backward -I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20120813/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++11 -gdwarf-4 -fdebug-types-section -S -m32 -o nested-4.s

is attached.
Comment 1 Jack Howarth 2012-08-14 13:25:47 UTC
Appears these failures have been present since the addition of the g++.dg/debug/dwarf2/nested-4.C test case in...

r189676 | jason | 2012-07-19 16:01:56 -0400 (Thu, 19 Jul 2012) | 3 lines

        PR debug/53235
        * dwarf2out.c (generate_type_signature): Handle the case of DIE
        being nested, rather than its declaration..

Note that the svn log doesn't clearly indicate that a new file, g++.dg/debug/dwarf2/nested-4.C, was added.
Comment 2 Dominique d'Humieres 2012-08-20 12:22:13 UTC
Confirmed.