public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34756]  New: [4.3 regression] ICE with broken specialization of variadic template
@ 2008-01-12 18:44 reichelt at gcc dot gnu dot org
  2008-01-13 15:40 ` [Bug c++/34756] " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-12 18:44 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

================================================================
template<typename...> class A {};

template<int> class A<> {};

template<typename T, typename...U> struct A<T,U...> : A<U...>
{
  A() {}
};

A<int> a;
================================================================

bug.cc:3: error: template parameters not used in partial specialization:
bug.cc:3: error:         '<anonymous>'
bug.cc: In constructor 'A<T, U ...>::A() [with T = int, U = ]':
bug.cc:10:   instantiated from here
bug.cc:7: internal compiler error: in build_simple_base_path, at cp/class.c:489
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with broken specialization of
                    variadic template
           Product: gcc
           Version: 4.3.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=34756


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

* [Bug c++/34756] [4.3 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
@ 2008-01-13 15:40 ` rguenth at gcc dot gnu dot org
  2008-01-15 16:37 ` dgregor at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-13 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-01-13 15:25 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P5
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-13 15:25:29
               date|                            |
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/34756] [4.3 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
  2008-01-13 15:40 ` [Bug c++/34756] " rguenth at gcc dot gnu dot org
@ 2008-01-15 16:37 ` dgregor at gcc dot gnu dot org
  2008-03-15  0:44 ` [Bug c++/34756] [4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: dgregor at gcc dot gnu dot org @ 2008-01-15 16:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

dgregor at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dgregor at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-01-13 15:25:29         |2008-01-15 16:32:33
               date|                            |


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


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

* [Bug c++/34756] [4.3/4.4 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
  2008-01-13 15:40 ` [Bug c++/34756] " rguenth at gcc dot gnu dot org
  2008-01-15 16:37 ` dgregor at gcc dot gnu dot org
@ 2008-03-15  0:44 ` jsm28 at gcc dot gnu dot org
  2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15  0:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2008-03-15 00:42 -------
Update milestone after 4.3.0 release.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.0                       |4.3.1


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


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

* [Bug c++/34756] [4.3/4.4 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-03-15  0:44 ` [Bug c++/34756] [4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-06 15:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-06-06 14:58 -------
4.3.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.1                       |4.3.2


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


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

* [Bug c++/34756] [4.3/4.4 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
  2008-12-02 17:58 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-08-27 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-08-27 22:03 -------
4.3.2 is released, changing milestones to 4.3.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


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

* [Bug c++/34756] [4.3/4.4 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
@ 2008-12-02 17:58 ` jason at gcc dot gnu dot org
  2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-02 17:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dgregor at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug c++/34756] [4.3/4.4 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-12-02 17:58 ` jason at gcc dot gnu dot org
@ 2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
  2009-08-04 12:43 ` [Bug c++/34756] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-01-24 10:20 -------
GCC 4.3.3 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.3                       |4.3.4


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


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

* [Bug c++/34756] [4.3/4.4/4.5 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
@ 2009-08-04 12:43 ` rguenth at gcc dot gnu dot org
  2010-05-13 17:55 ` paolo dot carlini at oracle dot com
  2010-05-22 18:21 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-08-04 12:28 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug c++/34756] [4.3/4.4/4.5 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2009-08-04 12:43 ` [Bug c++/34756] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
@ 2010-05-13 17:55 ` paolo dot carlini at oracle dot com
  2010-05-22 18:21 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-13 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2010-05-13 17:54 -------
Fixed for 4.6.0 by the patch which fixed PR34491.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4/4.5/4.6 regression]|[4.3/4.4/4.5 regression] ICE
                   |ICE with broken             |with broken specialization
                   |specialization of variadic  |of variadic template
                   |template                    |


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


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

* [Bug c++/34756] [4.3/4.4/4.5 regression] ICE with broken specialization of variadic template
  2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-05-13 17:55 ` paolo dot carlini at oracle dot com
@ 2010-05-22 18:21 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-05-22 18:11 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

* [Bug c++/34756] [4.3/4.4/4.5 regression] ICE with broken specialization of variadic template
       [not found] <bug-34756-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-09 16:19 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 12+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-06-09 16:19 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.3.6                       |4.6.0

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-09 16:19:01 UTC ---
Fixed for 4.6.0.


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

end of thread, other threads:[~2011-06-09 16:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
2008-01-13 15:40 ` [Bug c++/34756] " rguenth at gcc dot gnu dot org
2008-01-15 16:37 ` dgregor at gcc dot gnu dot org
2008-03-15  0:44 ` [Bug c++/34756] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
2008-12-02 17:58 ` jason at gcc dot gnu dot org
2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
2009-08-04 12:43 ` [Bug c++/34756] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-05-13 17:55 ` paolo dot carlini at oracle dot com
2010-05-22 18:21 ` rguenth at gcc dot gnu dot org
     [not found] <bug-34756-4@http.gcc.gnu.org/bugzilla/>
2011-06-09 16:19 ` 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).