http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56275
--- Comment #7 from uros at gcc dot gnu.org 2013-02-11 17:30:06 UTC --- Author: uros Date: Mon Feb 11 17:29:53 2013 New Revision: 195947 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195947 Log: Backport from mainline 2013-02-11 Uros Bizjak <ubiz...@gmail.com> 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 Backport from mainline 2013-02-11 Uros Bizjak <ubiz...@gmail.com> PR rtl-optimization/56275 * gcc.dg/pr56275.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr56275.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/simplify-rtx.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog