diff options
author | Richard Biener <rguenther@suse.de> | 2018-07-03 13:56:58 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-07-03 13:56:58 +0000 |
commit | abee2682026417547b115407fe372cfeef91d609 (patch) | |
tree | b70c9e62a2a628280f118de67741ac5d26d18939 /gcc/tree-ssa-structalias.c | |
parent | d3435784e743de4554638b0f514937ca29edf12e (diff) | |
download | gcc-abee2682026417547b115407fe372cfeef91d609.zip gcc-abee2682026417547b115407fe372cfeef91d609.tar.gz gcc-abee2682026417547b115407fe372cfeef91d609.tar.bz2 |
re PR ipa/86389 (execute FAILs with -fipa-pta)
2018-07-03 Richard Biener <rguenther@suse.de>
PR ipa/86389
* tree-ssa-structalias.c (find_func_clobbers): Properly
handle indirect calls.
* gcc.dg/torture/pr86389.c: New testcase.
From-SVN: r262341
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index ac5d4bc..fd24f84 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -5353,6 +5353,7 @@ find_func_clobbers (struct function *fn, gimple *origt) /* For callees without function info (that's external functions), ESCAPED is clobbered and used. */ if (cfi->decl + && TREE_CODE (cfi->decl) == FUNCTION_DECL && !cfi->is_fn_info) { varinfo_t vi; |