* [PATCH] Add testcase for PR43208
@ 2010-07-20 13:02 Richard Guenther
0 siblings, 0 replies; only message in thread
From: Richard Guenther @ 2010-07-20 13:02 UTC (permalink / raw)
To: gcc-patches
which got fixed by one of my last commits.
Committed.
Richard.
2010-07-20 Richard Guenther <rguenther@suse.de>
PR lto/43208
* gcc.dg/lto/20100720-1_0.c: New testcase.
* gcc.dg/lto/20100720-1_1.c: Likewise.
Index: gcc/testsuite/gcc.dg/lto/20100720-1_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20100720-1_0.c (revision 0)
+++ gcc/testsuite/gcc.dg/lto/20100720-1_0.c (revision 0)
@@ -0,0 +1,22 @@
+/* { dg-lto-do run } */
+
+struct X {
+ int a;
+};
+
+typedef struct list_node *list;
+
+struct list_node {
+ list next;
+ struct X *value;
+};
+
+list f(void)
+{
+ return 0;
+}
+
+int main(void)
+{
+ return 0;
+}
Index: gcc/testsuite/gcc.dg/lto/20100720-1_1.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20100720-1_1.c (revision 0)
+++ gcc/testsuite/gcc.dg/lto/20100720-1_1.c (revision 0)
@@ -0,0 +1,15 @@
+struct X {
+ int b;
+};
+
+typedef struct list_node *list;
+
+struct list_node {
+ list next;
+ struct X *value;
+};
+
+list g(void)
+{
+ return 0;
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-20 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20 13:02 [PATCH] Add testcase for PR43208 Richard Guenther
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).