public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
@ 2008-03-24 16:10 gcc-bugzilla at contacts dot eelis dot net
2008-03-24 16:15 ` [Bug c++/35678] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: gcc-bugzilla at contacts dot eelis dot net @ 2008-03-24 16:10 UTC (permalink / raw)
To: gcc-bugs
Consider:
template<typename T, T> struct A;
template<typename> struct B;
template<template<typename T, T> class U> struct B<U<char, 'h'> > {};
B<A<char,'h'> > x;
// internal compiler error: in dependent_type_p, at cp/pt.c:15539
Comeau 4.3.9 and GCC 4.1.2 accept the code.
--
Summary: partial template specialization ICE in dependent_type_p,
at cp/pt.c:15539
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc-bugzilla at contacts dot eelis dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
@ 2008-03-24 16:15 ` pinskia at gcc dot gnu dot org
2008-04-04 22:33 ` sultansharem at gmx dot ch
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-24 16:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-24 16:14 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.3.0
Known to work| |4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2008-03-24 16:14:23
date| |
Summary|partial template |[4.3/4.4 Regression] partial
|specialization ICE in |template specialization ICE
|dependent_type_p, at |in dependent_type_p, at
|cp/pt.c:15539 |cp/pt.c:15539
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
2008-03-24 16:15 ` [Bug c++/35678] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-04-04 22:33 ` sultansharem at gmx dot ch
2008-04-18 20:18 ` jason at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: sultansharem at gmx dot ch @ 2008-04-04 22:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sultansharem at gmx dot ch 2008-04-04 22:33 -------
i think i have a fix:
in pt.c
just remove lines 15671-15678 in dependent_type_p. I'm not sure though wether
this breaks something else...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
2008-03-24 16:15 ` [Bug c++/35678] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-04-04 22:33 ` sultansharem at gmx dot ch
@ 2008-04-18 20:18 ` jason at gcc dot gnu dot org
2008-04-21 16:01 ` jason at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-04-18 20:18 UTC (permalink / raw)
To: gcc-bugs
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-03-24 16:14:23 |2008-04-18 20:17:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
` (2 preceding siblings ...)
2008-04-18 20:18 ` jason at gcc dot gnu dot org
@ 2008-04-21 16:01 ` jason at gcc dot gnu dot org
2008-04-21 18:04 ` jason at gcc dot gnu dot org
2008-04-24 7:17 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-04-21 16:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jason at gcc dot gnu dot org 2008-04-21 16:00 -------
Subject: Bug 35678
Author: jason
Date: Mon Apr 21 15:59:36 2008
New Revision: 134515
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134515
Log:
PR c++/35678
* pt.c (template_template_parm_bindings_ok_p): Set
processing_template_decl while in this function.
Added:
trunk/gcc/testsuite/g++.dg/template/ttp27.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
` (3 preceding siblings ...)
2008-04-21 16:01 ` jason at gcc dot gnu dot org
@ 2008-04-21 18:04 ` jason at gcc dot gnu dot org
2008-04-24 7:17 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-04-21 18:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jason at gcc dot gnu dot org 2008-04-21 18:03 -------
Subject: Bug 35678
Author: jason
Date: Mon Apr 21 18:02:26 2008
New Revision: 134520
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134520
Log:
PR c++/35325
* tree.c (cp_tree_equal): Handle FIXED_CST.
PR c++/35678
* pt.c (template_template_parm_bindings_ok_p): Set
processing_template_decl while in this function.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/ext/fixed1.C
- copied unchanged from r134519, trunk/gcc/testsuite/g++.dg/ext/fixed1.C
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/ttp27.C
- copied unchanged from r134519,
trunk/gcc/testsuite/g++.dg/template/ttp27.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/cp/tree.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/35678] [4.3/4.4 Regression] partial template specialization ICE in dependent_type_p, at cp/pt.c:15539
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
` (4 preceding siblings ...)
2008-04-21 18:04 ` jason at gcc dot gnu dot org
@ 2008-04-24 7:17 ` jakub at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-04-24 7:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-04-24 07:16 -------
Fixed.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35678
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-24 7:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-24 16:10 [Bug c++/35678] New: partial template specialization ICE in dependent_type_p, at cp/pt.c:15539 gcc-bugzilla at contacts dot eelis dot net
2008-03-24 16:15 ` [Bug c++/35678] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-04-04 22:33 ` sultansharem at gmx dot ch
2008-04-18 20:18 ` jason at gcc dot gnu dot org
2008-04-21 16:01 ` jason at gcc dot gnu dot org
2008-04-21 18:04 ` jason at gcc dot gnu dot org
2008-04-24 7:17 ` jakub 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).