public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38646]  New: [4.3/4.4 regression] ICE with invalid specialization of variadic template
@ 2008-12-27 23:14 reichelt at gcc dot gnu dot org
  2008-12-27 23:14 ` [Bug c++/38646] " reichelt at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-27 23:14 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.3.0:

=============================================
template<int...> struct A;

template<int... N> struct A<N..., N...>
{
  template<typename> struct B;

  template<typename T> struct B<T*> {};
};
=============================================

bug.cc:3: error: parameter pack argument 'N ...' must be at the end of the
template argument list
bug.cc:7: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in template_class_depth, at cp/pt.c:314
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3/4.4 regression] ICE with invalid specialization of
                    variadic template
           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=38646


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <bug-38646-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-06-23 18:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-27 23:14 [Bug c++/38646] New: [4.3/4.4 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
2008-12-27 23:14 ` [Bug c++/38646] " reichelt at gcc dot gnu dot org
2008-12-27 23:38 ` pinskia at gcc dot gnu dot org
2008-12-29 23:01 ` rguenth at gcc dot gnu dot org
2009-01-24 10:28 ` rguenth at gcc dot gnu dot org
2009-01-26 18:20 ` paolo dot carlini at oracle dot com
2009-08-04 12:46 ` [Bug c++/38646] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2009-08-04 13:35 ` paolo dot carlini at oracle dot com
2009-08-04 16:36 ` [Bug c++/38646] [4.3/4.4 " paolo dot carlini at oracle dot com
2009-08-04 16:50 ` [Bug c++/38646] [4.3/4.4/4.5 " paolo dot carlini at oracle dot com
2009-11-15 21:39 ` simartin at gcc dot gnu dot org
2009-11-20 21:37 ` simartin at gcc dot gnu dot org
2009-11-20 21:46 ` [Bug c++/38646] [4.3/4.4 " simartin at gcc dot gnu dot org
2010-05-22 18:28 ` rguenth at gcc dot gnu dot org
     [not found] <bug-38646-4@http.gcc.gnu.org/bugzilla/>
2011-06-09 16:15 ` paolo.carlini at oracle dot com
2011-06-23 18:02 ` paolo.carlini at oracle 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).