tree-ssa-structalias.c
155 KB
-
re PR tree-optimization/38826 (points-to result wrong for reads from call-clobbered vars) · 10bd6c5c
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. From-SVN: r143374
Richard Guenther committed