From aed8bfdc7ee77b96bc15ef4b21414f6b41645e24 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 20 Dec 2003 15:37:31 +0000 Subject: [PATCH] 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 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/trans.c | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3f7f504fcf6..e942341d1a9 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2003-12-20 Kazu Hirata + + * trans.c: Remove uses of "register" specifier in + declarations of local variables. + 2003-12-18 Kelley Cook * stamp-xgnatug: New stamp file. diff --git a/gcc/ada/trans.c b/gcc/ada/trans.c index e0eec16911c..9f443a6f9fb 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 -- 2.30.2