OSDN Git Service

PR tree-optimization/52318
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 09:24:42 +0000 (09:24 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 09:24:42 +0000 (09:24 +0000)
commite857485ec736b9bb5ae0620ee48e61920ef05a66
treeec15c0db9203945d35dffdf34ff7e724e6fd048b
parent473688e4785d7b5fb278709d30775db7faae9a9b
PR tree-optimization/52318
* gimple-fold.c (gimplify_and_update_call_from_tree): Add
vdef also to non-pure/const call stmts in the sequence.

* gcc.dg/pr52318.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184428 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr52318.c [new file with mode: 0644]