This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to fix gcc.dg/pr35899.c failure on IA64 HP-UX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]