Hello!

Just skip these tests when -fno-fat-lto-objects was added to options.

2011-12-05  Uros Bizjak  <ubiz...@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.
Index: gcc.dg/torture/pta-ptrarith-1.c
===================================================================
--- gcc.dg/torture/pta-ptrarith-1.c     (revision 182010)
+++ gcc.dg/torture/pta-ptrarith-1.c     (working copy)
@@ -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;
Index: gcc.dg/torture/pta-ptrarith-2.c
===================================================================
--- gcc.dg/torture/pta-ptrarith-2.c     (revision 182010)
+++ gcc.dg/torture/pta-ptrarith-2.c     (working copy)
@@ -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;
Index: gcc.dg/torture/pr23821.c
===================================================================
--- gcc.dg/torture/pr23821.c    (revision 182010)
+++ gcc.dg/torture/pr23821.c    (working copy)
@@ -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" } { "" } } */
Index: gcc.dg/torture/pta-ptrarith-3.c
===================================================================
--- gcc.dg/torture/pta-ptrarith-3.c     (revision 182010)
+++ gcc.dg/torture/pta-ptrarith-3.c     (working copy)
@@ -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 {
Index: gcc.dg/torture/pr45704.c
===================================================================
--- gcc.dg/torture/pr45704.c    (revision 182010)
+++ gcc.dg/torture/pr45704.c    (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
 
 struct st {
     int ptr;
Index: gcc.dg/torture/pr50472.c
===================================================================
--- gcc.dg/torture/pr50472.c    (revision 182010)
+++ gcc.dg/torture/pr50472.c    (working copy)
@@ -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 )
Index: gcc.dg/torture/ipa-pta-1.c
===================================================================
--- gcc.dg/torture/ipa-pta-1.c  (revision 182010)
+++ gcc.dg/torture/ipa-pta-1.c  (working copy)
@@ -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; };
 
Index: gcc.dg/torture/pta-callused-1.c
===================================================================
--- gcc.dg/torture/pta-callused-1.c     (revision 182010)
+++ gcc.dg/torture/pta-callused-1.c     (working copy)
@@ -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; }
Index: gcc.dg/torture/pr39074-2.c
===================================================================
--- gcc.dg/torture/pr39074-2.c  (revision 182010)
+++ gcc.dg/torture/pr39074-2.c  (working copy)
@@ -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>
 
Index: gcc.dg/torture/pr39074.c
===================================================================
--- gcc.dg/torture/pr39074.c    (revision 182010)
+++ gcc.dg/torture/pr39074.c    (working copy)
@@ -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;
 
Index: gcc.dg/torture/pr42898-2.c
===================================================================
--- gcc.dg/torture/pr42898-2.c  (revision 182010)
+++ gcc.dg/torture/pr42898-2.c  (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
 
 struct hardware {
   int parm1:8;
Index: gcc.dg/torture/pr42898.c
===================================================================
--- gcc.dg/torture/pr42898.c    (revision 182010)
+++ gcc.dg/torture/pr42898.c    (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fdump-tree-optimized" } */
+/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
 
 struct hardware {
   int parm1:8;
Index: gcc.dg/torture/pta-escape-1.c
===================================================================
--- gcc.dg/torture/pta-escape-1.c       (revision 182010)
+++ gcc.dg/torture/pta-escape-1.c       (working copy)
@@ -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))
Index: gcc.dg/torture/ssa-pta-fn-1.c
===================================================================
--- gcc.dg/torture/ssa-pta-fn-1.c       (revision 182010)
+++ gcc.dg/torture/ssa-pta-fn-1.c       (working copy)
@@ -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;

Reply via email to