aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2003-07-25 00:31:02 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-07-25 00:31:02 +0000
commit597a423c7beafab604c29bfcb89218935407dd54 (patch)
tree71815c07ff2a730bd9373fd91dffb64529df7eda /gcc/cp/ChangeLog
parent7f9ba817ce0344cd761c0fb3cb410bc0e09e6e89 (diff)
re PR c++/10796 (ICE (segfault) when defining an enum with two values: -1 and MAX_INT_64BIT)
PR c++/10796 * decl.c (finish_enum): Make sure the underlying integer type has the same precision as some full integer type. Reverts part 2003-06-27's patch that didn't play any role in fixing the PR. * cp-tree.h (convert_to_base_statically): Declare. * call.c (build_special_member_call): Convert INSTANCE to the base type. * class.c (convert_to_base_statically): New method. * init.c (construct_virtual_base): Use it. * method.c (do_build_assign_ref): Fix typo in comment. * g++.dg/init/enum2.C: New. * g++.dg/inherit/access5.C: New test. From-SVN: r69769
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 55ca529ea08..45f25cbc560 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2003-07-24 Alexandre Oliva <aoliva@redhat.com>
+
+ PR c++/10796
+ * decl.c (finish_enum): Make sure the underlying integer type has
+ the same precision as some full integer type. Reverts part
+ 2003-06-27's patch that didn't play any role in fixing the PR.
+
+2003-07-24 Mark Mitchell <mark@codesourcery.com>
+
+ * cp-tree.h (convert_to_base_statically): Declare.
+ * call.c (build_special_member_call): Convert INSTANCE to the base
+ type.
+ * class.c (convert_to_base_statically): New method.
+ * init.c (construct_virtual_base): Use it.
+ * method.c (do_build_assign_ref): Fix typo in comment.
+
2003-07-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11513