public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr
@ 2010-12-12 12:27 rubidium at openttd dot org
  2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rubidium at openttd dot org @ 2010-12-12 12:27 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [C++0x] ICE unexpected expression of kind
                    template_id_expr
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rubidium@openttd.org


Created attachment 22723
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22723
Test case, compile with C++0x.

The attached test case fails with an ICE:
test.ii:6:18: internal compiler error: unexpected expression ‘CreateA<A>’ of
kind template_id_expr

Using: g++-trunk -std=gnu++0x test.ii
With g++-trunk (GCC) 4.6.0 20101211 (experimental) (revision 167723)

It compiles fine with gcc 4.5.1, 4.4.5 and 4.3.5.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-14 23:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-12 12:27 [Bug c++/46903] New: [C++0x] ICE unexpected expression of kind template_id_expr rubidium at openttd dot org
2010-12-12 12:33 ` [Bug c++/46903] [4.6 Regression][C++0x] " paolo.carlini at oracle dot com
2011-01-03 20:56 ` rguenth at gcc dot gnu.org
2011-01-13  5:23 ` jason at gcc dot gnu.org
2011-01-14 13:20 ` jason at gcc dot gnu.org
2011-01-14 13:42 ` paolo.carlini at oracle dot com
2011-01-15  0:12 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).