This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Fix bool1.C testcae
- From: Steven Bosscher <stevenb at suse dot de>
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Feb 2004 10:09:49 +0100
- Subject: [tree-ssa] Fix bool1.C testcae
- Organization: SUSE Labs
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;