diff options
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 0ec38264062..1083e16dc55 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -259,9 +259,9 @@ make_alias_for_thunk (tree function) if (!flag_syntax_only) { - bool ok = cgraph_same_body_alias (alias, function); + struct cgraph_node *aliasn = cgraph_same_body_alias (alias, function); DECL_ASSEMBLER_NAME (function); - gcc_assert (ok); + gcc_assert (aliasn != NULL); } return alias; |