Message ID | Pvr.2Wpz.1Zpa1D9l4W1.1GkTgS@seznam.cz |
---|---|
State | New |
Headers | show |
On Sat, Dec 1, 2012 at 2:23 AM, Zdeněk Sojka <zsojka@seznam.cz> wrote: > Hello, > > as advised by Alexandre Oliva at > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53860#c3 , I am submitting a > testcase for PR53860. If Ok, I need someone to commit this patch. > Tested by make check-g++. > > Thanks, > Zdenek Sojka > > Changelog: > PR debug/53860 > * g++.dg/debug/pr53860.C: New testcase. I checked it for you. Thanks.
Index: gcc/testsuite/g++.dg/debug/pr53860.C =================================================================== --- gcc/testsuite/g++.dg/debug/pr53860.C (revision 0) +++ gcc/testsuite/g++.dg/debug/pr53860.C (revision 0) @@ -0,0 +1,14 @@ +// PR debug/53860 +// { dg-do compile } +// { dg-options "-fkeep-inline-functions -fdebug-types-section" } + +void +foo () +{ + struct S + { + S () + { + } + }; +}