]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/12103 (-g only crash (segfault) with a forward declared class used as...
authorMark Mitchell <mark@codesourcery.com>
Sun, 29 Feb 2004 23:10:43 +0000 (23:10 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 29 Feb 2004 23:10:43 +0000 (23:10 +0000)
commit39876352716051ef43f55ba526b907ae86ae55a9
tree5930b373d34c33710c6c6db49746e7cac225ad01
parent8bb915b65498bcfd9769ba28438140e4006b9d3e
re PR debug/12103 (-g only crash (segfault) with a forward declared class used as a template parameter)

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.

From-SVN: r78680
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/crash1.C [new file with mode: 0644]