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/52170] [4.7 Regression] ICE in trunc_int_for_mode, at explow.c:57 during simplify_plus_minus


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52170

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-08 13:29:28 UTC ---
Author: rguenth
Date: Wed Feb  8 13:29:22 2012
New Revision: 184007

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184007
Log:
2012-02-08  Richard Guenther  <rguenther@suse.de>

    PR rtl-optimization/52170
    * simplify-rtx.c (simplify_plus_minus): Use CONSTM1_RTX to
    properly handle integer vector modes.

    * gcc.dg/torture/pr52170.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr52170.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/simplify-rtx.c
    trunk/gcc/testsuite/ChangeLog


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