diff options
author | Richard Guenther <rguenther@suse.de> | 2009-07-02 15:50:26 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-07-02 15:50:26 +0000 |
commit | 02583d3c94bc2f884df6d0a46fb1a0f9f46dcf64 (patch) | |
tree | 3e6dfda696b0f3f680ace4146ebaf082a73aa14a /gcc | |
parent | a3788c444c649c2890963afcaf2395d69703077c (diff) | |
download | gcc-02583d3c94bc2f884df6d0a46fb1a0f9f46dcf64.zip gcc-02583d3c94bc2f884df6d0a46fb1a0f9f46dcf64.tar.gz gcc-02583d3c94bc2f884df6d0a46fb1a0f9f46dcf64.tar.bz2 |
re PR bootstrap/40617 (Revision 149170 breaks bootstrap)
2009-07-02 Richard Guenther <rguenther@suse.de>
PR bootstrap/40617
* tree-ssa-structalias.c (new_var_info): Initialize
is_restrict_var.
From-SVN: r149179
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-structalias.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 41642b5..cdc63c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-07-02 Richard Guenther <rguenther@suse.de> + + PR bootstrap/40617 + * tree-ssa-structalias.c (new_var_info): Initialize + is_restrict_var. + 2009-07-02 Jan Hubicka <jh@suse.cz> * ipa-pure-const.c (check_op): Use PTA info to see if indirect_ref is diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 95ca882..303bd1f 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -337,10 +337,11 @@ new_var_info (tree t, const char *name) ret->decl = t; /* Vars without decl are artificial and do not have sub-variables. */ ret->is_artificial_var = (t == NULL_TREE); - ret->is_full_var = (t == NULL_TREE); - ret->is_heap_var = false; ret->is_special_var = false; ret->is_unknown_size_var = false; + ret->is_full_var = (t == NULL_TREE); + ret->is_heap_var = false; + ret->is_restrict_var = false; ret->may_have_pointers = true; ret->is_global_var = (t == NULL_TREE); if (t && DECL_P (t)) |