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++/34059] [4.1/4.2/4.3 regression] ICE with invalid base type for class member



------- Comment #5 from simartin at gcc dot gnu dot org  2007-12-10 22:39 -------
Subject: Bug 34059

Author: simartin
Date: Mon Dec 10 22:39:27 2007
New Revision: 130754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130754
Log:
gcc/cp/

2007-12-10  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/34059
        * typeck.c (build_class_member_access_expr): Compute MEMBER_SCOPE from
        MEMBER's BASELINK_ACCESS_BINFO instead of its BASELINK_BINFO.

gcc/testsuite/

2007-12-10  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/34059
        * g++.dg/parse/crash40.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash40.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34059


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