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

Reply via email to