This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/49979] FAIL: gcc.dg/20030711-1.c execution test
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 17:30:34 +0000
- Subject: [Bug testsuite/49979] FAIL: gcc.dg/20030711-1.c execution test
- Auto-submitted: auto-generated
- References: <bug-49979-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49979
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-08-04 17:30:29 UTC ---
I think this is a HP-UX 11.00 libc bug exposed by the following change:
2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/target-supports.exp (check_effective_target_mmap): New proc.
* gcc.c-torture/execute/loop-2f.c: Remove #ifdef __unix__.
* gcc.c-torture/execute/loop-2g.c: Likewise.
* gcc.c-torture/execute/loop-2f.x: Load target-supports.exp.
Require mmap support.
* gcc.c-torture/execute/loop-2g.x: Likewise.
* gcc.dg/20030711-1.c: Replace dg-do target list by mmap.
(MAP_ANON): Provide default.
* gcc.dg/20050826-1.c: Likewise.
* gcc.target/i386/pr36533.c: Likewise.
* gcc.dg/vect/pr49038.c: Remove dg-do run.
Use dg-require-effective-target mmap.
There was a similar bug in HP-UX 10.20 where strncmp would segmentation fault
when one of the strings ended adjacent to an unmapped page boundary. This
was supposedly fixed...