diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-01-06 14:04:05 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-01-06 14:04:05 +0000 |
commit | 24d3f3251c2c35c086e6614da281c8c4524afa27 (patch) | |
tree | 7c01669af50403b267f72c3cf76d7b8d5f04a8e1 /gcc/symtab.c | |
parent | eb0f878074743d4bcb63e32948ab7c1748c1efb8 (diff) | |
download | gcc-24d3f3251c2c35c086e6614da281c8c4524afa27.zip gcc-24d3f3251c2c35c086e6614da281c8c4524afa27.tar.gz gcc-24d3f3251c2c35c086e6614da281c8c4524afa27.tar.bz2 |
ipa-visibility.c (function_and_variable_visibility): Reformat comments and long lines.
gcc/
* ipa-visibility.c (function_and_variable_visibility): Reformat
comments and long lines. Remove extrneous if.
* symtab.c (symtab_node::make_decl_local): Fix code format.
(symtab_node::set_section_for_node): Fix comment typo.
gcc/lto/
* lto-partition.c (lto_balanced_map): Reformat/respell comment.
(may_need_named_section_p): Likewise.
(rename_statics): Likewise.
(lto_promote_cross_file_statics): Likewise.
From-SVN: r244156
Diffstat (limited to 'gcc/symtab.c')
-rw-r--r-- | gcc/symtab.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c index de87b5e..d06ab72 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -1259,7 +1259,8 @@ symtab_node::make_decl_local (void) TREE_ADDRESSABLE (decl) = 1; TREE_STATIC (decl) = 1; } - else gcc_assert (TREE_CODE (decl) == FUNCTION_DECL); + else + gcc_assert (TREE_CODE (decl) == FUNCTION_DECL); DECL_COMDAT (decl) = 0; DECL_WEAK (decl) = 0; @@ -1439,7 +1440,7 @@ symtab_node::fixup_same_cpp_alias_visibility (symtab_node *target) } /* Set section, do not recurse into aliases. - When one wants to change section of symbol and its aliases, + When one wants to change section of a symbol and its aliases, use set_section. */ void |