diff options
author | Richard Guenther <rguenther@suse.de> | 2012-05-29 12:48:34 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-05-29 12:48:34 +0000 |
commit | a502e67779b2a1291343b6cd2655bfacbae9207b (patch) | |
tree | a14fb2aa71ea28c1801fca31518dc9b62e83ce77 /gcc/varpool.c | |
parent | 9ff3c7caa816f14eac43fdf220ce6e7ccb0e84a6 (diff) | |
download | gcc-a502e67779b2a1291343b6cd2655bfacbae9207b.zip gcc-a502e67779b2a1291343b6cd2655bfacbae9207b.tar.gz gcc-a502e67779b2a1291343b6cd2655bfacbae9207b.tar.bz2 |
tree-dfa.c (find_vars_r): Do not call add_referenced_vars for globals.
2012-05-29 Richard Guenther <rguenther@suse.de>
* tree-dfa.c (find_vars_r): Do not call add_referenced_vars
for globals.
(add_referenced_var_1): Re-organize. Assert we are not
called for globals.
(remove_referenced_var): Likewise.
* varpool.c (add_new_static_var): Use create_tmp_var_raw.
* tree-mudflap.c (execute_mudflap_function_ops): Do not
call add_referenced_var on globals.
* matrix-reorg.c (transform_access_sites): Likewise.
From-SVN: r187955
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r-- | gcc/varpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c index 487413d..bcd0a06 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -449,7 +449,7 @@ add_new_static_var (tree type) tree new_decl; struct varpool_node *new_node; - new_decl = create_tmp_var (type, NULL); + new_decl = create_tmp_var_raw (type, NULL); DECL_NAME (new_decl) = create_tmp_var_name (NULL); TREE_READONLY (new_decl) = 0; TREE_STATIC (new_decl) = 1; |