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++/14368] New: ICE in lookup_template_function, at cp/pt.c:4006


>From gavinband@tiscali.co.uk:

The attached program causes an ICE in GCC 3.3.3:

test.cxx: In function `int main()':
test.cxx:12: internal compiler error: in lookup_template_function, at cp/pt.c:
   4013

The 3.4 branch gives a diagnostic:

test.cxx: In function `int main()':
test.cxx:12: error: expected init-declarator before '<' token
test.cxx:12: error: expected `,' or `;' before '<' token

-- 
           Summary: ICE in lookup_template_function, at cp/pt.c:4006
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jbuck at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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