diff options
| author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-28 04:53:24 +0000 |
|---|---|---|
| committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-28 04:53:24 +0000 |
| commit | 4d0876abe8aa84ef5dd8a42c74c6a8bb76197afc (patch) | |
| tree | 44a81b14bc3f4afc89eab024dbff5c6f511d0790 /gcc | |
| parent | 0aeeadee56a4f220d49e4e8b51ad7f95260ea9eb (diff) | |
| download | ppe42-gcc-4d0876abe8aa84ef5dd8a42c74c6a8bb76197afc.tar.gz ppe42-gcc-4d0876abe8aa84ef5dd8a42c74c6a8bb76197afc.zip | |
PR tree-optimization/16705
* tree-ssa-alias.c (create_global_var): Set DECL_EXTERNAL on
.GLOBAL_VAR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85254 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/tree-ssa-alias.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <dnovillo@redhat.com> + + PR tree-optimization/16705 + * tree-ssa-alias.c (create_global_var): Set DECL_EXTERNAL on + .GLOBAL_VAR. + 2004-07-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * 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; |

