This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: optimization/5844: Bad code generated for -O2 -mcpu=i586
- From: Richard Henderson <rth at redhat dot com>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Mar 2002 13:45:07 -0800
- Subject: Re: PATCH: optimization/5844: Bad code generated for -O2 -mcpu=i586
- References: <20020305182642.A6139@lucon.org> <20020306000218.A11157@lucon.org> <20020306095302.A19867@lucon.org>
On Wed, Mar 06, 2002 at 09:53:02AM -0800, H . J . Lu wrote:
> How about this patch?
Your line of attack is incorrect. The problem is not with
copyprop_hardreg_forward_1 at all. The problem is shared rtl.
The mem in insn 83 is shared with the mem in insn 85. This
is the bug.
r~