diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-12-20 15:37:31 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-12-20 15:37:31 +0000 |
commit | aed8bfdc7ee77b96bc15ef4b21414f6b41645e24 (patch) | |
tree | bd896216a633ea8920e075b23308ce3f1dccd154 /gcc/ada | |
parent | 677f99cce56ecbafbb2f648fb345f5d051cef6cc (diff) | |
download | gcc-aed8bfdc7ee77b96bc15ef4b21414f6b41645e24.zip gcc-aed8bfdc7ee77b96bc15ef4b21414f6b41645e24.tar.gz gcc-aed8bfdc7ee77b96bc15ef4b21414f6b41645e24.tar.bz2 |
trans.c: Remove uses of "register" specifier in declarations of local variables.
* trans.c: Remove uses of "register" specifier in
declarations of local variables.
From-SVN: r74880
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/trans.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3f7f504..e942341 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2003-12-20 Kazu Hirata <kazu@cs.umass.edu> + + * trans.c: Remove uses of "register" specifier in + declarations of local variables. + 2003-12-18 Kelley Cook <kcook@gcc.gnu.org> * stamp-xgnatug: New stamp file. diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c index e0eec16..9f443a6 100644 --- a/gcc/ada/trans.c +++ b/gcc/ada/trans.c @@ -5156,9 +5156,9 @@ protect_multiple_eval (tree exp) tree gnat_stabilize_reference (tree ref, int force) { - register tree type = TREE_TYPE (ref); - register enum tree_code code = TREE_CODE (ref); - register tree result; + tree type = TREE_TYPE (ref); + enum tree_code code = TREE_CODE (ref); + tree result; switch (code) { @@ -5252,9 +5252,9 @@ gnat_stabilize_reference (tree ref, int force) static tree gnat_stabilize_reference_1 (tree e, int force) { - register enum tree_code code = TREE_CODE (e); - register tree type = TREE_TYPE (e); - register tree result; + enum tree_code code = TREE_CODE (e); + tree type = TREE_TYPE (e); + tree result; /* We cannot ignore const expressions because it might be a reference to a const array but whose index contains side-effects. But we can |