This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix gcc.dg/pr35899.c failure on IA64 HP-UX
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Jul 2008 12:44:34 -0700
- Subject: Re: Patch to fix gcc.dg/pr35899.c failure on IA64 HP-UX
- References: <200807311940.m6VJerp19833@evrst7.cup.hp.com>
On Thu, Jul 31, 2008 at 12:40 PM, Steve Ellcey <sje@cup.hp.com> wrote:
> I am getting an segmentation fault when compiling gcc.dg/pr35899.c
> on the HP-UX IA64 platform. This test has a call to a function that
> is not declared first so the type is unknown. That is causing a null
> pointer reference and this patch fixes it. This may be simple enough
> to be considered obvious but I thought I would submit it first in case
> anyone sees a problem with it.
>
> OK for checkin?
I think we should error out on this code even without -pedantic-errors
as the code will never work correctly.
-- Pinski