public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] S/390: Add -Wno-attributes to testcase options
@ 2011-10-11 12:06 Andreas Krebbel
  0 siblings, 0 replies; only message in thread
From: Andreas Krebbel @ 2011-10-11 12:06 UTC (permalink / raw)
  To: gcc-patches

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.Krebbel@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);
  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-11 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-11 12:06 [Committed] S/390: Add -Wno-attributes to testcase options Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).