OSDN Git Service

2008-01-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jan 2008 16:21:45 +0000 (16:21 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Jan 2008 16:21:45 +0000 (16:21 +0000)
commit2a2aef735be22819514a890ea429d8846f183961
treeaab122eb2a7f9b6f99a39bb28eee3b362934fa73
parentd8d756b9273c1fe8134c4ea53d88baea9ef82fc6
2008-01-21  Richard Guenther  <rguenther@suse.de>

PR middle-end/34856
* tree-cfg.c (verify_expr): Allow all invariant expressions
instead of just constant class ones as reference argument.
* tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR
like any other constant.
* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.

* gcc.c-torture/compile/pr34856.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131696 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr34856.c [new file with mode: 0644]
gcc/tree-cfg.c
gcc/tree-ssa-loop-im.c
gcc/tree-ssa-sccvn.c