aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorZdenek Dvorak <dvorakz@suse.cz>2006-10-24 02:12:16 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2006-10-24 00:12:16 +0000
commitae5360407bc31e22ac1c79c7a20ef1e225377203 (patch)
tree0f094604ce261f01a2cff72be5821a4342da1e37 /gcc/tree-flow.h
parent4d5fc916770f9cb56c3b4b8c81fcc09191e71a52 (diff)
downloadgcc-ae5360407bc31e22ac1c79c7a20ef1e225377203.zip
gcc-ae5360407bc31e22ac1c79c7a20ef1e225377203.tar.gz
gcc-ae5360407bc31e22ac1c79c7a20ef1e225377203.tar.bz2
re PR tree-optimization/14784 ([Tree-ssa] alias analysis deficiency)
PR tree-optimization/14784 * tree-flow.h (struct var_ann_d): Add is_heapvar bit. * tree-ssa-structalias.c (get_constraint_for, intra_create_variable_infos): Set is_heapvar. * tree-ssa-operands.c (access_can_touch_variable): Do not handle non-heapvar pointer variables specially. * gcc.dg/alias-10.c: New test. From-SVN: r117986
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 447b732..ff1006f 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -184,6 +184,9 @@ struct var_ann_d GTY(())
in the v_may_def list. */
unsigned in_v_may_def_list : 1;
+ /* True for HEAP and PARM_NOALIAS artificial variables. */
+ unsigned is_heapvar : 1;
+
/* An artificial variable representing the memory location pointed-to by
all the pointer symbols that flow-insensitive alias analysis
(mostly type-based) considers to be aliased. If the variable is