aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cvt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-12-19 23:28:11 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-12-19 23:28:11 +0000
commit926ce8bd97ca33f20282e7fcaa83741e67aaed16 (patch)
treedb50c20cd761100b68a6e16b3181750fe3f14753 /gcc/cp/cvt.c
parent49a27995217d813ec99f6c8b4be15c04cf668c57 (diff)
downloadgcc-926ce8bd97ca33f20282e7fcaa83741e67aaed16.zip
gcc-926ce8bd97ca33f20282e7fcaa83741e67aaed16.tar.gz
gcc-926ce8bd97ca33f20282e7fcaa83741e67aaed16.tar.bz2
cvt.c: Remove uses of "register" specifier in declarations of arguments and local...
* cvt.c: Remove uses of "register" specifier in declarations of arguments and local variables. * decl.c: Likewise. * decl2.c: Likewise. * expr.c: Likewise. * friend.c: Likewise. * lex.c: Likewise. * name-lookup.c: Likewise. * repo.c: Likewise. * search.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. * typeck2.c: Likewise. From-SVN: r74855
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r--gcc/cp/cvt.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index 4cbfdaa..6f4af7d 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -76,8 +76,8 @@ static void warn_ref_binding (tree, tree, tree);
static tree
cp_convert_to_pointer (tree type, tree expr, bool force)
{
- register tree intype = TREE_TYPE (expr);
- register enum tree_code form;
+ tree intype = TREE_TYPE (expr);
+ enum tree_code form;
tree rval;
if (IS_AGGR_TYPE (intype))
@@ -306,8 +306,8 @@ cp_convert_to_pointer (tree type, tree expr, bool force)
static tree
convert_to_pointer_force (tree type, tree expr)
{
- register tree intype = TREE_TYPE (expr);
- register enum tree_code form = TREE_CODE (intype);
+ tree intype = TREE_TYPE (expr);
+ enum tree_code form = TREE_CODE (intype);
if (form == POINTER_TYPE)
{
@@ -449,8 +449,8 @@ tree
convert_to_reference (tree reftype, tree expr, int convtype,
int flags, tree decl)
{
- register tree type = TYPE_MAIN_VARIANT (TREE_TYPE (reftype));
- register tree intype;
+ tree type = TYPE_MAIN_VARIANT (TREE_TYPE (reftype));
+ tree intype;
tree rval = NULL_TREE;
tree rval_as_conversion = NULL_TREE;
bool can_convert_intype_to_type;
@@ -612,8 +612,8 @@ cp_convert (tree type, tree expr)
tree
ocp_convert (tree type, tree expr, int convtype, int flags)
{
- register tree e = expr;
- register enum tree_code code = TREE_CODE (type);
+ tree e = expr;
+ enum tree_code code = TREE_CODE (type);
if (error_operand_p (e) || type == error_mark_node)
return error_mark_node;
@@ -944,8 +944,8 @@ convert (tree type, tree expr)
tree
convert_force (tree type, tree expr, int convtype)
{
- register tree e = expr;
- register enum tree_code code = TREE_CODE (type);
+ tree e = expr;
+ enum tree_code code = TREE_CODE (type);
if (code == REFERENCE_TYPE)
return fold (convert_to_reference (type, e, CONV_C_CAST, LOOKUP_COMPLAIN,