OSDN Git Service

Backport from mainline
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2013 17:27:30 +0000 (17:27 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2013 17:27:30 +0000 (17:27 +0000)
commitbd4cdc318d965c14ac6efbfe001f3ab1e89139e1
treeabee766db9363aae7899b1ccf448fc605099efc6
parent3e42f1c90f4719aa3b791e3d49f8e24aa9d5fa72
Backport from mainline
2013-02-11  Uros Bizjak  <ubizjak@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  <ubizjak@gmail.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195946 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56275.c [new file with mode: 0644]