http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56275
--- Comment #6 from uros at gcc dot gnu.org 2013-02-11 17:27:39 UTC --- Author: uros Date: Mon Feb 11 17:27:30 2013 New Revision: 195946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195946 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_7-branch/gcc/testsuite/gcc.dg/pr56275.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/simplify-rtx.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog