aboutsummaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-05-29 12:48:34 +0000
committerRichard Guenther <rguenther@suse.de>2012-05-29 12:48:34 +0000
commit18bd0815afbb7c27eb8023a8002bc33fc15e4c19 (patch)
treea14fb2aa71ea28c1801fca31518dc9b62e83ce77 /gcc/varpool.c
parent94b6a576e3010f84d42cbfda249ca2c85bbae0e1 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@187955 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 487413ded6d..bcd0a063a79 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;