re PR middle-end/54321 (ice in tree_low_cst at -O3)
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Aug 2012 09:12:05 +0000 (11:12 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Aug 2012 09:12:05 +0000 (11:12 +0200)
commit081db96050b57d83e0f82bd74c3a22cf7b93c2ed
treeca1b85138593c09499fa1fc840dae8fc9e21b127
parentd17fd79ca1fcad80aa66203b081aea61b758b814
re PR middle-end/54321 (ice in tree_low_cst at -O3)

PR tree-optimization/54321
* tree-ssa-forwprop.c (simplify_builtin_call): Pass 0 instead of 1
as second argument to tree_low_cst call on val2.

* gcc.c-torture/compile/pr54321.c: New test.

From-SVN: r190526
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr54321.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c