aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authornathan <>2005-10-12 17:02:52 +0000
committernathan <>2005-10-12 17:02:52 +0000
commitd82d6ae01dcca19d5fbb3e57f1802f76314ee81e (patch)
tree28c8ceb85e19b95157c495f5cb3810b89e15b055 /gcc/cp/ChangeLog
parent12d5800e7802bbe60d3fd6ca0b961a62f01fa73f (diff)
cp:
PR c++/21117 * decl.c (check_function_type): Correctly overwrite incomplete return type with void type. * typeck.c (check_return_expr): If the function's return type is void, don't try and convert a return expr. testsuite: PR c++/21117 * g++.dg/other/return1.C: New.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 23eeadec61c..a94a3fb674b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2005-10-12 Nathan Sidwell <nathan@codesourcery.com>
+
+ PR c++/21117
+ * decl.c (check_function_type): Correctly overwrite incomplete
+ return type with void type.
+ * typeck.c (check_return_expr): If the function's return type is
+ void, don't try and convert a return expr.
+
2005-10-12 David Edelsohn <edelsohn@gnu.org>
PR c++/23730