[Bug c++/20232] [4.0/4.1 Regression] ICE with covariancy
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-01 09:57 --- Subject: Bug 20232 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-03-01 09:57:45 Modified files: gcc/cp : ChangeLog class.c cp-tree.h method.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/inherit: covariant12.C Log message: cp: PR c++/20232 * class.c (update_vtable_entry_for_fn): Don't crash on invalid covariancy. * cp-tree.g (THUNK_TARGET): Expand comment. * method.c (use_thunk): Make sure we also use the target, if that is a thunk. testsuite: PR c++/20232 * g++.dg/inherit/covariant12.C: New. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gccr1=1.4649r2=1.4650 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gccr1=1.707r2=1.708 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gccr1=1.1106r2=1.1107 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gccr1=1.322r2=1.323 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.5100r2=1.5101 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/inherit/covariant12.C.diff?cvsroot=gccr1=NONEr2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20232
[Bug c++/20232] [4.0/4.1 Regression] ICE with covariancy
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-01 10:01 --- Subject: Bug 20232 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-03-01 10:00:49 Modified files: gcc/cp : ChangeLog class.c cp-tree.h method.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/g++.dg/inherit: covariant12.C Log message: cp: PR c++/20232 * class.c (update_vtable_entry_for_fn): Don't crash on invalid covariancy. * cp-tree.g (THUNK_TARGET): Expand comment. * method.c (use_thunk): Make sure we also use the target, if that is a thunk. testsuite: PR c++/20232 * g++.dg/inherit/covariant12.C: New. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.4648.2.1r2=1.4648.2.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.707r2=1.707.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.1106r2=1.1106.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.322r2=1.322.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=1.5084.2.11r2=1.5084.2.12 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/inherit/covariant12.C.diff?cvsroot=gcconly_with_tag=gcc-4_0-branchr1=NONEr2=1.1.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20232
[Bug c++/20232] [4.0/4.1 Regression] ICE with covariancy
--- Additional Comments From nathan at gcc dot gnu dot org 2005-03-01 10:02 --- 2005-03-01 Nathan Sidwell [EMAIL PROTECTED] PR c++/20232 * g++.dg/inherit/covariant12.C: New. -- What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20232
[Bug c++/20232] [4.0/4.1 Regression] ICE with covariancy
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-27 15:34 --- Confirmed, a regression also. It worked with 20050113. -- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org Keywords||error-recovery, ice-on- ||invalid-code Known to fail||4.0.0 Known to work||3.4.0 Last reconfirmed|2005-02-27 13:00:07 |2005-02-27 15:34:02 date|| Summary|ICE with covariancy |[4.0/4.1 Regression] ICE ||with covariancy Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20232