OSDN Git Service

PR debug/12103
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Feb 2004 23:10:43 +0000 (23:10 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Feb 2004 23:10:43 +0000 (23:10 +0000)
commitb2353ac42155e16d9bbd202d71910729ff37102b
tree5930b373d34c33710c6c6db49746e7cac225ad01
parentd976f53431fe64766efc43f233060e7d1b27feb7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78680 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/crash1.C [new file with mode: 0644]