public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34069]  New: [4.3 regression] ICE with invalid specialization of variadic template
@ 2007-11-11 21:26 reichelt at gcc dot gnu dot org
  2007-11-11 21:26 ` [Bug c++/34069] " reichelt at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-11-11 21:26 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

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

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

A<A<int,int> > b;
==================================================================

bug.cc:5: internal compiler error: in unify, at cp/pt.c:13178
Please submit a full bug report, [etc.]

The testcase was derived from Chris Fairles' testcase from comment #1
in PR 32128.


-- 
           Summary: [4.3 regression] ICE with invalid specialization of
                    variadic template
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, 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=34069


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

* [Bug c++/34069] [4.3 regression] ICE with invalid specialization of variadic template
  2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
@ 2007-11-11 21:26 ` reichelt at gcc dot gnu dot org
  2007-11-19  5:41 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-11-11 21:26 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/34069] [4.3 regression] ICE with invalid specialization of variadic template
  2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
  2007-11-11 21:26 ` [Bug c++/34069] " reichelt at gcc dot gnu dot org
@ 2007-11-19  5:41 ` pinskia at gcc dot gnu dot org
  2007-11-27  6:00 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-19  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-11-19 05:41 -------
Confirmed. the regression is only an error recovery regression.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |error-recovery
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-19 05:41:20
               date|                            |


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


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

* [Bug c++/34069] [4.3 regression] ICE with invalid specialization of variadic template
  2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
  2007-11-11 21:26 ` [Bug c++/34069] " reichelt at gcc dot gnu dot org
  2007-11-19  5:41 ` pinskia at gcc dot gnu dot org
@ 2007-11-27  6:00 ` mmitchel at gcc dot gnu dot org
  2007-12-02 20:59 ` pinskia at gcc dot gnu dot org
  2007-12-07 21:43 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-11-27  6:00 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/34069] [4.3 regression] ICE with invalid specialization of variadic template
  2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-11-27  6:00 ` mmitchel at gcc dot gnu dot org
@ 2007-12-02 20:59 ` pinskia at gcc dot gnu dot org
  2007-12-07 21:43 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-02 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-12-02 20:59 -------
 Mark, this is really only an error recovery regression. Can you relook at the
current priority?

Thanks,
Andrew Pinski


t1.cc:2: error: ISO C++ does not include variadic templates
t1.cc:4: error: ISO C++ does not include variadic templates
t1.cc:4: error: ISO C++ does not include variadic templates
t1.cc:6: internal compiler error: in unify, at cp/pt.c:13202
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/34069] [4.3 regression] ICE with invalid specialization of variadic template
  2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-12-02 20:59 ` pinskia at gcc dot gnu dot org
@ 2007-12-07 21:43 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-07 21:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from reichelt at gcc dot gnu dot org  2007-12-07 21:43 -------
Both the reduced testcase here and the original testcase in PR 32128 are now
fixed in mainline (probably by the patch for PR 33091).


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-12-07 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-11 21:26 [Bug c++/34069] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
2007-11-11 21:26 ` [Bug c++/34069] " reichelt at gcc dot gnu dot org
2007-11-19  5:41 ` pinskia at gcc dot gnu dot org
2007-11-27  6:00 ` mmitchel at gcc dot gnu dot org
2007-12-02 20:59 ` pinskia at gcc dot gnu dot org
2007-12-07 21:43 ` reichelt at gcc dot gnu dot 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).