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  <r...@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...

Reply via email to