This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] GCC aliasing bug PR optimization/9745
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Mar 2003 21:29:04 -0500
- Subject: Re: [RFC] GCC aliasing bug PR optimization/9745
- References: <200303062017.PAA30042@makai.watson.ibm.com>
As a follow-up to my previous message, another solution might be
to always copy the frame pointer into a pseudo when addressing relative to
it, at least on systems where HARD_FRAME_POINTER_REGNUM ==
FRAME_POINTER_REGNUM. With that change, find_base_term for the various
pseudos consistently would return FRAME_POINTER_REGNUM without the special
"ADDRESS" marker confusing things.
I am not sure whether making such a change in expr.c is
sufficient to reliably solve this problem.
David