This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88
- 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: Thu, 08 Nov 2012 23:02:54 +0000
- Subject: [Bug middle-end/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88
- Auto-submitted: auto-generated
- References: <bug-55142-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142
--- Comment #28 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-08 23:02:54 UTC ---
So for POINTERS_EXTEND_UNSIGNED > 0, we should transform
(zero_extend:DI (plus:SI (FOO:SI) (const_int Y)))
in such a way that it won't cause ICE and zero-extend the
result. For X32, we just need to generate
(plus:SI (REG:SI) (const_int Y))