This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/56494] [4.8 Regression] ICE in simplify_truncation, at simplify-rtx.c:619


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]