Hi,

in the 20090223-1.c gcc complains about functions possibly not being
inlined although they have the always_inline attribute on it.  The
original failure could only be observed with these functions being
inlined. The attached patch forces GCC to suppress the warning.

Committed to mainline.

Bye,

-Andreas-

2011-10-11  Andreas Krebbel  <andreas.kreb...@de.ibm.com>

        * gcc.target/s390/20090223-1.c: Add -Wno-attributes.

Index: gcc/testsuite/gcc.target/s390/20090223-1.c
===================================================================
*** gcc/testsuite/gcc.target/s390/20090223-1.c.orig
--- gcc/testsuite/gcc.target/s390/20090223-1.c
***************
*** 3,9 ****
     register asm ("0").  */
  
  /* { dg-do run } */
! /* { dg-options "-O2" } */
  
  extern void abort (void);
  
--- 3,9 ----
     register asm ("0").  */
  
  /* { dg-do run } */
! /* { dg-options "-O2 -Wno-attributes" } */
  
  extern void abort (void);
  

Reply via email to