[Bug rtl-optimization/56275] ICE in simplify_subreg, at simplify-rtx.c:5261 with vector code.

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 11 16:06:00 GMT 2013


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

--- Comment #4 from uros at gcc dot gnu.org 2013-02-11 16:05:51 UTC ---
Author: uros
Date: Mon Feb 11 16:05:44 2013
New Revision: 195944

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195944
Log:
    PR rtl-optimization/56275
    * simplify-rtx.c (avoid_constant_pool_reference): Check that
    offset is non-negative and less than cmode size before
    calling simplify_subreg.

testsuite/ChangeLog:

    PR rtl-optimization/56275
    * gcc.dg/pr56275.c: New test.


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



More information about the Gcc-bugs mailing list