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++/56243] [4.8 regression] ICE in tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6645


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

--- Comment #8 from fabien at gcc dot gnu.org 2013-02-25 21:04:59 UTC ---
(In reply to comment #6)
[...]
> 2) check that the first operand of a COMPONENT_REF is actually a FIELD_DECL
> before calling DECL_FIELD_IS_BASE on it.

As a consequency, while processing fold_non_dependent_expr_sfinae,
fixed_type_or_null returns NULL_TREE on 'x.value' the and build_vtbl_ref_1 has
not chance to call unshare_expr. Jason, is that a big deal ?


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