This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14688] Mis-matched calling convention on virtual functions accepted without error



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]