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] Fix bool1.C testcae


Hi Richard,

Your new test case bool1.C is failing:

home/steven/devel/tree-ssa/gcc/testsuite/g++.dg/opt/bool1.C: In function `int main()':^M
/home/steven/devel/tree-ssa/gcc/testsuite/g++.dg/opt/bool1.C:21: error: `abort' undeclared (first use this function)^M
/home/steven/devel/tree-ssa/gcc/testsuite/g++.dg/opt/bool1.C:21: error: (Each undeclared identifier is reported only once for each function it appears in.)^M

FAIL: g++.dg/opt/bool1.C (test for excess errors)

Gr.
Steven

Index: testsuite/g++.dg/opt/bool1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/opt/Attic/bool1.C,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 bool1.C
*** testsuite/g++.dg/opt/bool1.C	4 Feb 2004 06:08:20 -0000	1.1.2.1
--- testsuite/g++.dg/opt/bool1.C	5 Feb 2004 09:06:22 -0000
***************
*** 2,7 ****
--- 2,9 ----
  // { dg-do run }
  // { dg-options "-O2" }
  
+ extern "C" void abort (void);
+ 
  int test ()
  {
    bool my_bool = true;


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