[Bug c++/50848] [4.7 Regression] ICE in derived template class missing using for member of template base class

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 30 10:30:00 GMT 2011


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

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-30 10:30:35 UTC ---
With -fpermissive ICEs for me, however:

50848.C: In member function ‘void B<T>::f()’:
50848.C:2:53: warning: there are no arguments to ‘u’ that depend on a template
parameter, so a declaration of ‘u’ must be available [-fpermissive]
50848.C: In instantiation of ‘void B<T>::f() [with T = int]’:
50848.C:3:16:   required from here
50848.C:2:50: warning: ‘u’ was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]
50848.C:2:50: internal compiler error: tree check: expected tree that contains
‘decl minimal’ structure, have ‘indirect_ref’ in tsubst_copy_and_build, at
cp/pt.c:13529



More information about the Gcc-bugs mailing list