trivial patch to gcc.dg/asm-fs-1.c

law@redhat.com law@redhat.com
Wed Jan 9 15:36:00 GMT 2002


	* gcc.dg/asm-fs-1.c: Disable warnings when compiling.

Index: asm-fs-1.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/testsuite/gcc.dg/asm-fs-1.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 asm-fs-1.c
*** asm-fs-1.c	2001/08/06 15:25:54	1.3
--- asm-fs-1.c	2002/01/09 23:27:53
***************
*** 2,8 ****
     Make sure we do not get spurious '*' characters in section names or
     elsewhere, with asm-specified names.  */
  /* { dg-do compile } */
! /* { dg-options "-ffunction-sections -fdata-sections" } */
  
  void foo (void) asm ("_bar");
  void foo (void) {}
--- 2,8 ----
     Make sure we do not get spurious '*' characters in section names or
     elsewhere, with asm-specified names.  */
  /* { dg-do compile } */
! /* { dg-options "-w -ffunction-sections -fdata-sections" } */
  
  void foo (void) asm ("_bar");
  void foo (void) {}






More information about the Gcc-patches mailing list