This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49781] [x32] Unnecessary lea in x32 mode
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Aug 2011 18:44:19 +0000
- Subject: [Bug target/49781] [x32] Unnecessary lea in x32 mode
- Auto-submitted: auto-generated
- References: <bug-49781-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49781
--- Comment #45 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-10 18:44:19 UTC ---
(In reply to comment #44)
> Created attachment 24973 [details]
> Patch that recognizes addresses, zero-extended with AND, v2.
>
> (In reply to comment #42)
>
> > It also caused:
> >
> > internal compiler error: output_operand: invalid expression as operand^M
> > Please submit a full bug report,^M
>
> Oh, nice - we can just discard paradoxical subregs in this case. Please find
> attached updated revision of the patch that avoids ICE.
I am testing it now.