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: PR target/19890 - gcc.dg/20020219-1.c fails on IA64 HP-UX


> On Fri, Mar 25, 2005 at 11:41:21AM -0800, Zack Weinberg wrote:
> > It *might* be appropriate to disabuse GCC of this notion.  However, it
> > probably causes better code generation for programs that aren't
> > playing silly buggers with pointers.
> 
> We could add an option to disable addp4 with nonzero addend.  It
> could be useful for programs that *do* play silly buggers.
> 
> 
> r~

This might also be useful as a workaround when GCC gets confused about
what is or is not a pointer (like PR 19061).  I'll look into creating
a patch, it should be simple enough to implement.

Maybe -fno-addp4-opt ?

Steve Ellcey
sje@cup.hp.com


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