OSDN Git Service

2010-07-20 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 13:03:10 +0000 (13:03 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 13:03:10 +0000 (13:03 +0000)
PR lto/43208
* gcc.dg/lto/20100720-1_0.c: New testcase.
* gcc.dg/lto/20100720-1_1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162338 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20100720-1_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/20100720-1_1.c [new file with mode: 0644]

index 391d88f..d5beca9 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2010-07-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/45003
diff --git a/gcc/testsuite/gcc.dg/lto/20100720-1_0.c b/gcc/testsuite/gcc.dg/lto/20100720-1_0.c
new file mode 100644 (file)
index 0000000..ca9366f
--- /dev/null
@@ -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;
+}
diff --git a/gcc/testsuite/gcc.dg/lto/20100720-1_1.c b/gcc/testsuite/gcc.dg/lto/20100720-1_1.c
new file mode 100644 (file)
index 0000000..789e88e
--- /dev/null
@@ -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;
+}