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:
Bernhard Reutner-Fischer 2009-06-07 21:41:06 +02:00
parent 2cd713a0fc
commit b5a7159f47
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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