diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6a8aea8e4e1..65bf6e0e55a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-11-26 Kazu Hirata + + * typeck.c: Fix a comment typo. + 2004-11-25 Mark Mitchell PR c++/18445 diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index 149a38896c7..1bd12e71a3b 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -6230,7 +6230,7 @@ check_return_expr (tree retval) /* Remember that this function did return a value. */ current_function_returns_value = 1; - /* Check for errnoneous operands -- but after giving ourselves a + /* Check for erroneous operands -- but after giving ourselves a chance to provide an error about returning a value from a void function. */ if (error_operand_p (retval))