This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] g++.dg/ext/label3.C


This test was only failing because lack of options implies -pedantic-errors.


r~


        * g++.dg/ext/label3.C: Add dg-options.

Index: ext/label3.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/ext/Attic/label3.C,v
retrieving revision 1.1.2.1
diff -c -p -d -r1.1.2.1 label3.C
*** ext/label3.C	11 Sep 2003 15:19:49 -0000	1.1.2.1
--- ext/label3.C	29 Sep 2003 17:06:53 -0000
***************
*** 4,9 ****
--- 4,10 ----
  // testcase reduced from libjava/interpret.cc.
  
  // { dg-do run }
+ // { dg-options "-O2" }
  
  extern "C" int printf (const char *, ...);
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]