------- Comment #3 from jakub at gcc dot gnu dot org 2008-09-17 10:28 ------- Caused by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138843 Any reason why you look at CALL_EXPR_FN's type instead of just TREE_TYPE (expr)? In this case TREE_TYPE (expr) is int, but CALL_EXPR_FN is COMPONENT_REF with NULL TREE_TYPE, created by: 5692 if (processing_template_decl && call != error_mark_node) 5693 call = (build_min_non_dep_call_list 5694 (call, 5695 build_min_nt (COMPONENT_REF, orig_instance, orig_fns, NULL_TREE), 5696 orig_args));
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgregor at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37540