Glitch in gcc.dg/20000623-1.c

Zack Weinberg zack@wolery.cumb.org
Sun Jun 25 20:52:00 GMT 2000


gcc.dg tests need to prototype exit and abort if they use them.

Note this particular test might be better off in gcc.c-torture with an
.x file.

zw

	* gcc.dg/20000623-1.c: Prototype exit and abort.

===================================================================
Index: gcc.dg/20000623-1.c
--- gcc.dg/20000623-1.c	2000/06/23 20:05:55	1.1
+++ gcc.dg/20000623-1.c	2000/06/26 03:45:32
@@ -1,6 +1,9 @@
 /* { dg-do run } */
 /* { dg-options "-O3 -fno-strict-aliasing" } */
 
+extern void exit (int);
+extern void abort (void);
+
 struct foos { int l; }; 
 int foo;
 static struct foos *getfoo(void);


More information about the Gcc-patches mailing list