public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36411]  New: [4.4 regression] ICE with invalid template template parameter
@ 2008-06-01 11:14 reichelt at gcc dot gnu dot org
  2008-06-01 11:14 ` [Bug c++/36411] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-06-01 11:14 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

==================================================
template<template<void> class> struct A
{
  template<template<int> class T> A<T> foo();
};
==================================================

bug.cc:1: error: 'void' is not a valid type for a template constant parameter
bug.cc:3: internal compiler error: in coerce_template_template_parms, at
cp/pt.c:4749
Please submit a full bug report, [etc.]


-- 
           Summary: [4.4 regression] ICE with invalid template template
                    parameter
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-02-23 22:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-01 11:14 [Bug c++/36411] New: [4.4 regression] ICE with invalid template template parameter reichelt at gcc dot gnu dot org
2008-06-01 11:14 ` [Bug c++/36411] " reichelt at gcc dot gnu dot org
2008-06-01 12:28 ` reichelt at gcc dot gnu dot org
2008-06-25 12:09 ` rguenth at gcc dot gnu dot org
2009-02-22 23:59 ` hjl dot tools at gmail dot com
2009-02-23 17:43 ` hjl dot tools at gmail dot com
2009-02-23 22:35 ` hjl at gcc dot gnu dot org
2009-02-23 22:36 ` hjl dot tools at gmail dot com

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).