]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/56275 (ICE in simplify_subreg, at simplify-rtx.c...
authorUros Bizjak <ubizjak@gmail.com>
Mon, 11 Feb 2013 17:27:30 +0000 (18:27 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 11 Feb 2013 17:27:30 +0000 (18:27 +0100)
commit620844fc5c84e53663a787f15810b818cbf22e28
treeabee766db9363aae7899b1ccf448fc605099efc6
parent47fc639ae28ec34b51b3ef133283a19ef8e4bda3
backport: re PR rtl-optimization/56275 (ICE in simplify_subreg, at simplify-rtx.c:5261 with vector code.)

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.

From-SVN: r195946
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56275.c [new file with mode: 0644]