summaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-21 11:52:50 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-21 11:52:50 +0000
commite7e444390f931238f09524973e93d4519ee231f1 (patch)
treef0a8757132cc149da091da8ed1fe7d71537f8744 /gcc/coverage.c
parentee055341d8d291a33c4a5cf541d9f34c33a9cdfa (diff)
downloadgcc-e7e444390f931238f09524973e93d4519ee231f1.tar.gz
2014-03-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/60577 * tree-core.h (struct tree_base): Document nothrow_flag use in VAR_DECL_NONALIASED. * tree.h (VAR_DECL_NONALIASED): New. (may_be_aliased): Adjust. * coverage.c (build_var): Set VAR_DECL_NONALIASED. * gcc.dg/tree-ssa/ssa-lim-11.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r--gcc/coverage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c
index 8b62403d121..4c06fa47908 100644
--- a/gcc/coverage.c
+++ b/gcc/coverage.c
@@ -721,6 +721,7 @@ build_var (tree fn_decl, tree type, int counter)
DECL_NAME (var) = get_identifier (buf);
TREE_STATIC (var) = 1;
TREE_ADDRESSABLE (var) = 1;
+ DECL_NONALIASED (var) = 1;
DECL_ALIGN (var) = TYPE_ALIGN (type);
return var;