This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50848] [4.7 Regression] ICE in derived template class missing using for member of template base class
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Oct 2011 10:30:35 +0000
- Subject: [Bug c++/50848] [4.7 Regression] ICE in derived template class missing using for member of template base class
- Auto-submitted: auto-generated
- References: <bug-50848-4@http.gcc.gnu.org/bugzilla/>
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