public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testcase] add testcase for PR53860
@ 2012-12-01 10:23 Zdeněk Sojka
  2012-12-01 16:10 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Zdeněk Sojka @ 2012-12-01 10:23 UTC (permalink / raw)
  To: gcc-patches; +Cc: aoliva

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

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.

[-- Attachment #2: pr53860-testcase.diff --]
[-- Type: text/x-diff, Size: 433 bytes --]

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 ()
+    {
+    }
+  };
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [testcase] add testcase for PR53860
  2012-12-01 10:23 [testcase] add testcase for PR53860 Zdeněk Sojka
@ 2012-12-01 16:10 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2012-12-01 16:10 UTC (permalink / raw)
  To: Zdeněk Sojka; +Cc: gcc-patches, aoliva

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.

-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-01 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-01 10:23 [testcase] add testcase for PR53860 Zdeněk Sojka
2012-12-01 16:10 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).