diff options
author | kenner <> | 1995-12-31 19:18:48 +0000 |
---|---|---|
committer | kenner <> | 1995-12-31 19:18:48 +0000 |
commit | 0096c5db4356d6ea2c5804198b7b59e9af711ef2 (patch) | |
tree | 1d0353553bb461d8d3fc65321049bceaf00032fd /gcc/c-aux-info.c | |
parent | 3332ca8d21454757409624b1e0f37233d6a1cf35 (diff) |
(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.
Diffstat (limited to 'gcc/c-aux-info.c')
-rw-r--r-- | gcc/c-aux-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c index d8caa6af194..5f5e999826d 100644 --- a/gcc/c-aux-info.c +++ b/gcc/c-aux-info.c @@ -581,7 +581,7 @@ gen_decl (decl, is_func_definition, style) ret_val = affix_data_type (ret_val); - if (DECL_REGISTER (decl)) + if (TREE_CODE (decl) != FUNCTION_DECL && DECL_REGISTER (decl)) ret_val = concat ("register ", ret_val); if (TREE_PUBLIC (decl)) ret_val = concat ("extern ", ret_val); |