20070302-1.c (baz): Mark with attribute noinline.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 26 Jan 2008 20:25:12 +0000 (20:25 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 26 Jan 2008 20:25:12 +0000 (20:25 +0000)
* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
noinline.  XFAIL test.

From-SVN: r131875

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20070302-1.c

index eac3c53..6974e21 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
+       noinline.  XFAIL test.
+
 2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/31610
index 17fcbab..ab8e38e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do link } */
+/* { dg-xfail-if "" { *-*-* } { "*" } { "" } }  See PR34743.  */
 /* { dg-options "-O2" } */
 
 struct A
@@ -9,7 +10,8 @@ struct A
 
 volatile float X, Y;
 
-int baz (struct A *z, struct A *y)
+int __attribute__ ((__noinline__))
+baz (struct A *z, struct A *y)
 {
   z->x = (int) X;
   z->y = Y;