Comments
Patch
===================================================================
@@ -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;
===================================================================
@@ -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;
===================================================================
@@ -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" } { "" } } */
===================================================================
@@ -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 {
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
struct st {
int ptr;
===================================================================
@@ -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 )
===================================================================
@@ -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; };
===================================================================
@@ -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; }
===================================================================
@@ -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 <stdint.h>
===================================================================
@@ -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;
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
struct hardware {
int parm1:8;
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
struct hardware {
int parm1:8;
===================================================================
@@ -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))
===================================================================
@@ -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;
Hello! Just skip these tests when -fno-fat-lto-objects was added to options. 2011-12-05 Uros Bizjak <ubizjak@gmail.com> 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. Tested on x86_64-pc-linux-gnu {, -m32}, committed to mainline SVN. Uros.