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++/29016] [4.2 Regression] tree check: expected class 'expression', have 'exceptional' (baselink) in get_base_var, at ipa-utils.c:224



------- Comment #9 from mmitchel at gcc dot gnu dot org  2006-09-21 22:19 -------
Subject: Bug 29016

Author: mmitchel
Date: Thu Sep 21 22:18:54 2006
New Revision: 117123

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117123
Log:
        PR c++/29016
        * typeck.c (build_unary_op): Don't form an ADDR_EXPR around a
        BASELINK.
        PR c++/29016
        * g++.dg/init/ptrfn1.C: New test.

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


-- 


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


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