[Bug debug/12103] [3.4/3.5 Regression] -g only crash (segfault) with a forward declared class used as a template parameter
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 29 23:10:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-29 23:10 -------
Subject: Bug 12103
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-02-29 23:10:44
Modified files:
gcc/cp : ChangeLog class.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/debug: crash1.C
Log message:
PR debug/12103
* class.c (update_vtable_entry_for_fn): Do not go through
covariance machinery if the type returned by an overrider is the
same as the original.
PR debug/12103
* g++.dg/debug/crash1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3975&r2=1.3976
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.601&r2=1.602
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3556&r2=1.3557
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/debug/crash1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12103
More information about the Gcc-bugs
mailing list