Command line:
g++ testcase.C

----- testcase.C -----
template <typename T>
class A {
  template <typename>
  A<T> A<T>::f();
};
----------------------

Tested revisions:
r157877 - crash
alpha20100325 - deadlock (without checking)
r153685 - OK
4.4 r157895 - OK

Compiler output:
$ /mnt/svn/gcc-trunk/binary-157877-lto/bin/g++ testcase.C
testcase.C:4:16: internal compiler error: in poplevel_class, at
cp/name-lookup.c:2615
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.5 Regression] ICE: in poplevel_class, at cp/name-
                    lookup.c:2615 with invalid qualified name
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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

Reply via email to