mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 15:50:50 +08:00
c-decl.c (finish_decl): Use bool for variable was_incomplete.
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * c-decl.c (finish_decl): Use bool for variable was_incomplete. (finish_function): Remove erroneous whitespace. From-SVN: r148259
This commit is contained in:
parent
2cd713a0fc
commit
b5a7159f47
@ -1,3 +1,8 @@
|
||||
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
||||
|
||||
* c-decl.c (finish_decl): Use bool for variable was_incomplete.
|
||||
(finish_function): Remove erroneous whitespace.
|
||||
|
||||
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
||||
|
||||
* tree-cfg.c (gimple_merge_blocks): Commentary typo fix.
|
||||
|
@ -3520,7 +3520,7 @@ void
|
||||
finish_decl (tree decl, tree init, tree origtype, tree asmspec_tree)
|
||||
{
|
||||
tree type;
|
||||
int was_incomplete = (DECL_SIZE (decl) == 0);
|
||||
bool was_incomplete = (DECL_SIZE (decl) == 0);
|
||||
const char *asmspec = 0;
|
||||
|
||||
/* If a name was specified, get the string. */
|
||||
@ -7293,7 +7293,6 @@ finish_function (void)
|
||||
cgraph_add_new_function (fndecl, false);
|
||||
return;
|
||||
}
|
||||
|
||||
cgraph_finalize_function (fndecl, false);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user