This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
3.0.1 PATCH: Fix gcc.c-torture/execute/20001229-1.c for Tru64 UNIX
- To: gcc-patches at gcc dot gnu dot org
- Subject: 3.0.1 PATCH: Fix gcc.c-torture/execute/20001229-1.c for Tru64 UNIX
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Fri, 13 Jul 2001 21:26:35 +0200 (MEST)
Looking through the remaining Tru64 UNIX testsuite failures, I noticed that
the testcase above failed to compile on V4.0F and V5.1 since UAC_SIGBUS and
UAC_NOPRINT were undefined. I've no idea how they could ever have worked.
The patch below fixes this and allows the testcase to compile and run on
both OS versions.
Ok for branch and mainline?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
Fri Jul 13 20:06:04 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gcc.c-torture/execute/20001229-1.c: Include <sys/proc.h> for
UAC_SIGBUS, UAC_NOPRINT definitions.
===================================================================
RCS file: RCS/20001229-1.c,v
retrieving revision 1.1
diff -up -r1.1 20001229-1.c
--- 20001229-1.c 2000/12/29 11:57:30 1.1
+++ 20001229-1.c 2000/12/29 10:57:30
@@ -21,6 +21,7 @@ setsysinfo(unsigned long op, void *buffe
#else
#include <sys/sysinfo.h>
+#include <sys/proc.h>
#endif
static void __attribute__((constructor))