diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20100603-1_0.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20100603-2_0.c | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20100603-3_0.c | 4 |
4 files changed, 20 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ccbd30c..f4e8c75 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-06-03 Richard Guenther <rguenther@suse.de> + + PR lto/41584 + * gcc.dg/lto/20100603-1_0.c: New testcase. + * gcc.dg/lto/20100603-2_0.c: Likewise. + * gcc.dg/lto/20100603-3_0.c: Likewise. + 2010-06-02 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/44218 diff --git a/gcc/testsuite/gcc.dg/lto/20100603-1_0.c b/gcc/testsuite/gcc.dg/lto/20100603-1_0.c new file mode 100644 index 0000000..cc35c78 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20100603-1_0.c @@ -0,0 +1,4 @@ +/* { dg-lto-do link } */ +/* { dg-extra-ld-options {-r -nostdlib} } */ + +/* This file intentionally left empty. */ diff --git a/gcc/testsuite/gcc.dg/lto/20100603-2_0.c b/gcc/testsuite/gcc.dg/lto/20100603-2_0.c new file mode 100644 index 0000000..11bee49 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20100603-2_0.c @@ -0,0 +1,5 @@ +/* { dg-lto-do link } */ +/* { dg-extra-ld-options {-r -nostdlib} } */ + +int foo; +int *i = &foo; diff --git a/gcc/testsuite/gcc.dg/lto/20100603-3_0.c b/gcc/testsuite/gcc.dg/lto/20100603-3_0.c new file mode 100644 index 0000000..3fc08fd --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20100603-3_0.c @@ -0,0 +1,4 @@ +/* { dg-lto-do link } */ +/* { dg-extra-ld-options {-r -nostdlib} } */ + +int i = 42; |