This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/56494] [4.8 Regression] ICE in simplify_truncation, at simplify-rtx.c:619
- From: "rdsandiford at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Mar 2013 21:06:10 +0000
- Subject: [Bug rtl-optimization/56494] [4.8 Regression] ICE in simplify_truncation, at simplify-rtx.c:619
- Auto-submitted: auto-generated
- References: <bug-56494-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56494
--- Comment #4 from rdsandiford at googlemail dot com <rdsandiford at googlemail dot com> 2013-03-04 21:06:10 UTC ---
"jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> writes:
> Created attachment 29578
> --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29578
> gcc48-pr56494.patch
Thanks for the fix. Looks good to me FWIW. Truncations can't be to a
narrower mode (already asserted at the top of the function) so in some
ways I think it would be clearer to have an "if ... else" rather than
two "if"s.
Richard