This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: PR target/19890 - gcc.dg/20020219-1.c fails on IA64 HP-UX
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: rth at redhat dot com
- Cc: zack at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Mar 2005 10:48:18 -0800 (PST)
- Subject: 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