This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14688] Mis-matched calling convention on virtual functions accepted without error
- From: "dannysmith at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 00:29:53 -0000
- Subject: [Bug c++/14688] Mis-matched calling convention on virtual functions accepted without error
- References: <bug-14688-4066@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dannysmith at gcc dot gnu dot org 2007-09-25 00:29 -------
Subject: Bug 14688
Author: dannysmith
Date: Tue Sep 25 00:29:42 2007
New Revision: 128740
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128740
Log:
PR c++/14688
* config/i386/i386.c (ix86_comp_type_attributes): Check
METHOD_TYPE too.
cp
* search.c (check_final_overrider): Fail if
targetm.comp_type_attributes returns 0.
testsuite
* g++.dg/inherit/override_attribs.C: New file.
Added:
trunk/gcc/testsuite/g++.dg/inherit/override-attribs.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/search.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14688