aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2009-06-07 21:41:06 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2009-06-07 21:41:06 +0200
commitb5a7159f471e1089f59e5b63eccf29760c0e6342 (patch)
treeea1341bc919c19b5c50414606f39683c4f05f562 /gcc/c-decl.c
parent2cd713a0fc1c70ec0954ef9975659ab33fd68b9d (diff)
downloadgcc-b5a7159f471e1089f59e5b63eccf29760c0e6342.zip
gcc-b5a7159f471e1089f59e5b63eccf29760c0e6342.tar.gz
gcc-b5a7159f471e1089f59e5b63eccf29760c0e6342.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 2aa018f..9159b3c 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -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