diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-31 14:18:48 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-31 14:18:48 -0500 |
commit | 70f75202a78dceefcf86b512f951a560c88c83a9 (patch) | |
tree | 1d0353553bb461d8d3fc65321049bceaf00032fd | |
parent | a5f99f011f4cb709d111032b1978304c3e21c4e4 (diff) | |
download | gcc-70f75202a78dceefcf86b512f951a560c88c83a9.zip gcc-70f75202a78dceefcf86b512f951a560c88c83a9.tar.gz gcc-70f75202a78dceefcf86b512f951a560c88c83a9.tar.bz2 |
(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.
From-SVN: r10909
-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 d8caa6a..5f5e999 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); |