From 6778ae9d4b9cbd7b994b2bae61a26181e79dc809 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 5 Dec 2011 18:59:32 +0100 Subject: [PATCH] re PR testsuite/51128 (New LTO failures) PR testsuite/51128 * gcc.dg/torture/pr23821.c: Skip if -fno-fat-lto-objects was passed. * gcc.dg/torture/pr39074.c: Ditto. * gcc.dg/torture/pr39074-2.c: Ditto. * gcc.dg/torture/pr42898.c: Ditto. * gcc.dg/torture/pr42898-2.c: Ditto. * gcc.dg/torture/pr45704.c: Ditto. * gcc.dg/torture/pr50472.c: Ditto. * gcc.dg/torture/pta-callused-1.c: Ditto. * gcc.dg/torture/pta-ptrarith-1.c: Ditto. * gcc.dg/torture/pta-ptrarith-2.c: Ditto. * gcc.dg/torture/pta-ptrarith-3.c: Ditto. * gcc.dg/torture/pta-escape-1.c: Ditto. * gcc.dg/torture/ipa-pta-1.c: Ditto. * gcc.dg/torture/ssa-pta-fn-1.c: Ditto. From-SVN: r182016 --- gcc/testsuite/ChangeLog | 18 ++++++++++++++++++ gcc/testsuite/gcc.dg/torture/ipa-pta-1.c | 2 +- gcc/testsuite/gcc.dg/torture/pr23821.c | 2 +- gcc/testsuite/gcc.dg/torture/pr39074-2.c | 2 +- gcc/testsuite/gcc.dg/torture/pr39074.c | 2 +- gcc/testsuite/gcc.dg/torture/pr42898-2.c | 1 + gcc/testsuite/gcc.dg/torture/pr42898.c | 1 + gcc/testsuite/gcc.dg/torture/pr45704.c | 1 + gcc/testsuite/gcc.dg/torture/pr50472.c | 1 + gcc/testsuite/gcc.dg/torture/pta-callused-1.c | 2 +- gcc/testsuite/gcc.dg/torture/pta-escape-1.c | 2 +- gcc/testsuite/gcc.dg/torture/pta-ptrarith-1.c | 2 +- gcc/testsuite/gcc.dg/torture/pta-ptrarith-2.c | 2 +- gcc/testsuite/gcc.dg/torture/pta-ptrarith-3.c | 2 +- gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c | 2 +- 15 files changed, 32 insertions(+), 10 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c8556570130..fac85fe3323 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,21 @@ +2011-12-05 Uros Bizjak + + PR testsuite/51128 + * gcc.dg/torture/pr23821.c: Skip if -fno-fat-lto-objects was passed. + * gcc.dg/torture/pr39074.c: Ditto. + * gcc.dg/torture/pr39074-2.c: Ditto. + * gcc.dg/torture/pr42898.c: Ditto. + * gcc.dg/torture/pr42898-2.c: Ditto. + * gcc.dg/torture/pr45704.c: Ditto. + * gcc.dg/torture/pr50472.c: Ditto. + * gcc.dg/torture/pta-callused-1.c: Ditto. + * gcc.dg/torture/pta-ptrarith-1.c: Ditto. + * gcc.dg/torture/pta-ptrarith-2.c: Ditto. + * gcc.dg/torture/pta-ptrarith-3.c: Ditto. + * gcc.dg/torture/pta-escape-1.c: Ditto. + * gcc.dg/torture/ipa-pta-1.c: Ditto. + * gcc.dg/torture/ssa-pta-fn-1.c: Ditto. + 2011-12-05 Kazu Hirata PR target/51408 diff --git a/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c b/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c index 6d0d032613f..aae987de32a 100644 --- a/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c +++ b/gcc/testsuite/gcc.dg/torture/ipa-pta-1.c @@ -1,6 +1,6 @@ /* { dg-do compile { target { nonpic } } } */ /* { dg-options "-fipa-pta -fdump-ipa-pta" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ struct X { char x; char y; }; diff --git a/gcc/testsuite/gcc.dg/torture/pr23821.c b/gcc/testsuite/gcc.dg/torture/pr23821.c index 7632d8425ca..04847d65ae1 100644 --- a/gcc/testsuite/gcc.dg/torture/pr23821.c +++ b/gcc/testsuite/gcc.dg/torture/pr23821.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ /* At -O1 DOM threads a jump in a non-optimal way which leads to the bogus propagation. */ /* { dg-skip-if "" { *-*-* } { "-O1" } { "" } } */ diff --git a/gcc/testsuite/gcc.dg/torture/pr39074-2.c b/gcc/testsuite/gcc.dg/torture/pr39074-2.c index a90c5643dca..2278c23ef8f 100644 --- a/gcc/testsuite/gcc.dg/torture/pr39074-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr39074-2.c @@ -1,7 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target stdint_types } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ #include diff --git a/gcc/testsuite/gcc.dg/torture/pr39074.c b/gcc/testsuite/gcc.dg/torture/pr39074.c index fe35cd908ae..4775062d964 100644 --- a/gcc/testsuite/gcc.dg/torture/pr39074.c +++ b/gcc/testsuite/gcc.dg/torture/pr39074.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ typedef __PTRDIFF_TYPE__ intptr_t; diff --git a/gcc/testsuite/gcc.dg/torture/pr42898-2.c b/gcc/testsuite/gcc.dg/torture/pr42898-2.c index f90a85ea6a0..ee2de9675bf 100644 --- a/gcc/testsuite/gcc.dg/torture/pr42898-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr42898-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fdump-tree-optimized" } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */ struct hardware { int parm1:8; diff --git a/gcc/testsuite/gcc.dg/torture/pr42898.c b/gcc/testsuite/gcc.dg/torture/pr42898.c index df8b46a6295..d87c45dfbc7 100644 --- a/gcc/testsuite/gcc.dg/torture/pr42898.c +++ b/gcc/testsuite/gcc.dg/torture/pr42898.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fdump-tree-optimized" } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */ struct hardware { int parm1:8; diff --git a/gcc/testsuite/gcc.dg/torture/pr45704.c b/gcc/testsuite/gcc.dg/torture/pr45704.c index 487b30a96c0..51456cec46a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr45704.c +++ b/gcc/testsuite/gcc.dg/torture/pr45704.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fdump-tree-optimized" } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */ struct st { int ptr; diff --git a/gcc/testsuite/gcc.dg/torture/pr50472.c b/gcc/testsuite/gcc.dg/torture/pr50472.c index 280f2c4ea9b..3b432eae31a 100644 --- a/gcc/testsuite/gcc.dg/torture/pr50472.c +++ b/gcc/testsuite/gcc.dg/torture/pr50472.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fdump-tree-optimized" } */ +/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */ static const unsigned int foo = 1; unsigned int test( void ) diff --git a/gcc/testsuite/gcc.dg/torture/pta-callused-1.c b/gcc/testsuite/gcc.dg/torture/pta-callused-1.c index dfbde86c65b..93e7d2bed66 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-callused-1.c +++ b/gcc/testsuite/gcc.dg/torture/pta-callused-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ volatile int i; int ** __attribute__((noinline,pure)) foo(int **p) { i; return p; } diff --git a/gcc/testsuite/gcc.dg/torture/pta-escape-1.c b/gcc/testsuite/gcc.dg/torture/pta-escape-1.c index 2aafe80b38f..dbfd4c9d387 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-escape-1.c +++ b/gcc/testsuite/gcc.dg/torture/pta-escape-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ int *p; void __attribute__((noinline,noclone)) diff --git a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-1.c b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-1.c index d41868eb453..ab5634da97b 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-1.c +++ b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ struct Foo { int *p; diff --git a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-2.c b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-2.c index fb5b2e15ede..1158775abcd 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-2.c +++ b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ struct Foo { int **p; diff --git a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-3.c b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-3.c index 6c08319d8c5..03f23937b96 100644 --- a/gcc/testsuite/gcc.dg/torture/pta-ptrarith-3.c +++ b/gcc/testsuite/gcc.dg/torture/pta-ptrarith-3.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ extern void abort (void); struct X { diff --git a/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c b/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c index 80785f01f11..7781795b4a7 100644 --- a/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c +++ b/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fdump-tree-alias" } */ -/* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */ +/* { dg-skip-if "" { *-*-* } { "-O0" "-fno-fat-lto-objects" } { "" } } */ extern void abort (void); int *glob;