diff options
author | Kazu Hirata <kazu@gcc.gnu.org> | 2002-05-30 20:55:11 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-05-30 20:55:11 +0000 |
commit | e11e816ec758b244fc01ce2e51a363a0967ade19 (patch) | |
tree | 5571e1edfbc286f33f9f02aa9fb4c0a973d14f11 /gcc/langhooks.c | |
parent | 76ae32d753d65655f9adcc8b8b2198ad11758407 (diff) | |
download | gcc-e11e816ec758b244fc01ce2e51a363a0967ade19.zip gcc-e11e816ec758b244fc01ce2e51a363a0967ade19.tar.gz gcc-e11e816ec758b244fc01ce2e51a363a0967ade19.tar.bz2 |
langhooks.c: Fix formatting.
* langhooks.c: Fix formatting.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* lists.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
From-SVN: r54070
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 4f0e2f3..79eb7f4 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -158,9 +158,9 @@ lhd_set_decl_assembler_name (decl) VAR_DECLs for variables with static storage duration need a real DECL_ASSEMBLER_NAME. */ if (TREE_CODE (decl) == FUNCTION_DECL - || (TREE_CODE (decl) == VAR_DECL - && (TREE_STATIC (decl) - || DECL_EXTERNAL (decl) + || (TREE_CODE (decl) == VAR_DECL + && (TREE_STATIC (decl) + || DECL_EXTERNAL (decl) || TREE_PUBLIC (decl)))) /* By default, assume the name to use in assembly code is the same as that used in the source language. (That's correct @@ -400,8 +400,8 @@ lhd_tree_inlining_convert_parm_for_inlining (parm, value, fndecl) return value; } -/* lang_hooks.tree_dump.dump_tree: Dump language-specific parts of tree - nodes. Returns non-zero if it does not want the usual dumping of the +/* lang_hooks.tree_dump.dump_tree: Dump language-specific parts of tree + nodes. Returns non-zero if it does not want the usual dumping of the second argument. */ int @@ -412,7 +412,7 @@ lhd_tree_dump_dump_tree (di, t) return 0; } -/* lang_hooks.tree_dump.type_qual: Determine type qualifiers in a +/* lang_hooks.tree_dump.type_qual: Determine type qualifiers in a language-specific way. */ int @@ -421,4 +421,3 @@ lhd_tree_dump_type_quals (t) { return TYPE_QUALS (t); } - |