OSDN Git Service

2010-05-15 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 15:06:47 +0000 (15:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 15:06:47 +0000 (15:06 +0000)
commit8f71200d0c993c25ef4b6926033c739ef6572e37
treef1d10729aeb0fb72e554df99355cac2e070b9b16
parent3e5482040c58423a2a6e5fdb321d630adcea200c
2010-05-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/44038
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Avoid
taking the address of a V_C_E of a constant.

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

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