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++/50848] [4.7 Regression] ICE in derived template class missing using for member of template base class


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


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