2010-02-11 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 17:01:21 +0000 (17:01 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 17:01:21 +0000 (17:01 +0000)
commit50b9db1a88275264c8d60b614a53289d9e460ecd
treed94d461c1c28df146266dba369b42748d807ee32
parent168561ef65d7f576f6f9e25223b5b4c39c2eb8d2
2010-02-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42998
* tree-ssa-pre.c (create_expression_by_pieces): Treat
POINTER_PLUS_EXPR properly.

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

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