diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20111207-1_0.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20111207-1_1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20111207-1_2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/20111207-1_3.c | 6 |
5 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1763ada..857677b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2011-12-07 Richard Guenther <rguenther@suse.de> + PR lto/48100 + * gcc.dg/lto/20111207-1_0.c: New testcase. + * gcc.dg/lto/20111207-1_1.c: Likewise. + * gcc.dg/lto/20111207-1_2.c: Likewise. + * gcc.dg/lto/20111207-1_3.c: Likewise. + +2011-12-07 Richard Guenther <rguenther@suse.de> + PR tree-optimization/50823 * gcc.dg/torture/pr50823.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/lto/20111207-1_0.c b/gcc/testsuite/gcc.dg/lto/20111207-1_0.c new file mode 100644 index 0000000..4862640 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20111207-1_0.c @@ -0,0 +1,4 @@ +/* { dg-lto-do run } */ +/* { dg-lto-options { { -flto } } } */ +/* { dg-require-linker-plugin "" } */ +/* { dg-extra-ld-options "-fuse-linker-plugin" } */ diff --git a/gcc/testsuite/gcc.dg/lto/20111207-1_1.c b/gcc/testsuite/gcc.dg/lto/20111207-1_1.c new file mode 100644 index 0000000..a616c19 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20111207-1_1.c @@ -0,0 +1,3 @@ +/* { dg-options "-fno-lto" } */ + +int i; diff --git a/gcc/testsuite/gcc.dg/lto/20111207-1_2.c b/gcc/testsuite/gcc.dg/lto/20111207-1_2.c new file mode 100644 index 0000000..048f715 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20111207-1_2.c @@ -0,0 +1 @@ +int i; diff --git a/gcc/testsuite/gcc.dg/lto/20111207-1_3.c b/gcc/testsuite/gcc.dg/lto/20111207-1_3.c new file mode 100644 index 0000000..9beed59 --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/20111207-1_3.c @@ -0,0 +1,6 @@ +extern int i; + +int main() +{ + return i; +} |