2009-01-14 Richard Guenther <rguenther@suse.de>
commit48d49ced9ecf93fd38853e216745593aa4e80791
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jan 2009 16:45:22 +0000 (14 16:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jan 2009 16:45:22 +0000 (14 16:45 +0000)
tree8fa08c2737a3ac983b265b46753713f8c3d356b3
parent8293dc882e5738603be2c66090a1e2c480166f41
2009-01-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38826
PR middle-end/38477
* tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
initialization notes only if we actually emitted a warning.
(intra_create_variable_infos): Add constraints for a result decl
that is passed by hidden reference.
(build_pred_graph): Mark all related variables non-direct on
address-taking.

* gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143374 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstrict-aliasing-bogus-pta-1.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c