From 58907cda076946ae56d334ab39637a474f621b95 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Wed, 28 Jul 2004 04:53:24 +0000 Subject: [PATCH] re PR tree-optimization/16705 ([testcase] ICE in verify_flow_insensitive_alias_info) PR tree-optimization/16705 * tree-ssa-alias.c (create_global_var): Set DECL_EXTERNAL on .GLOBAL_VAR. From-SVN: r85254 --- gcc/ChangeLog | 6 ++++++ gcc/tree-ssa-alias.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fba6d43b38b..52bbdd9a9f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-07-28 Diego Novillo + + PR tree-optimization/16705 + * tree-ssa-alias.c (create_global_var): Set DECL_EXTERNAL on + .GLOBAL_VAR. + 2004-07-27 Richard Kenner * expr.c (expand_expr_real_1, case PARM_DECL): Remove obsolete error diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 033a7073a8a..64476ebe301 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -2202,7 +2202,7 @@ create_global_var (void) size_type_node); DECL_ARTIFICIAL (global_var) = 1; TREE_READONLY (global_var) = 0; - DECL_EXTERNAL (global_var) = 0; + DECL_EXTERNAL (global_var) = 1; TREE_STATIC (global_var) = 1; TREE_USED (global_var) = 1; DECL_CONTEXT (global_var) = NULL_TREE; -- 2.30.2