public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33210] [4.1/4.2/4.3 regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
@ 2007-08-27 21:51 ` reichelt at gcc dot gnu dot org
2007-08-28 17:15 ` pcarlini at suse dot de
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-27 21:51 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Broken diagnostics: |[4.1/4.2/4.3 regression]
|'bound_template_template_par|Broken diagnostics:
|m' not supported by |'bound_template_template_par
|pp_cxx_unqualified_id/dump_d|m' not supported by
|ecl |pp_cxx_unqualified_id/dump_d
| |ecl
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
@ 2007-08-27 21:51 reichelt at gcc dot gnu dot org
2007-08-27 21:51 ` [Bug c++/33210] [4.1/4.2/4.3 regression] " reichelt at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-27 21:51 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers a broken diagnostic since GCC
3.4.2:
======================================================================
template<int> struct A;
template<template<typename> class B> A<B<int>::x> operator() ();
======================================================================
bug.cc:3: error: `A<#`bound_template_template_parm' not supported by
pp_cxx_unqualified_id#::x> operator()()' must be a nonstatic member function
A similar error message is generated by the following code snippet since
GCC 3.4.0:
======================================================================
template<template<typename> class T> void foo(int, T<int>::x);
======================================================================
bug.cc:1: error: `#`bound_template_template_parm' not supported by
dump_decl#<declaration error>::x' is not a type
bug.cc:1: error: ISO C++ forbids declaration of `parameter' with no type
--
Summary: Broken diagnostics: 'bound_template_template_parm' not
supported by pp_cxx_unqualified_id/dump_decl
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic, 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=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2/4.3 regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
2007-08-27 21:51 ` [Bug c++/33210] [4.1/4.2/4.3 regression] " reichelt at gcc dot gnu dot org
@ 2007-08-28 17:15 ` pcarlini at suse dot de
2007-08-28 18:10 ` [Bug c++/33210] [4.1/4.2/4.3 Regression] " pcarlini at suse dot de
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pcarlini at suse dot de @ 2007-08-28 17:15 UTC (permalink / raw)
To: gcc-bugs
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-08-28 17:15:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2/4.3 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
2007-08-27 21:51 ` [Bug c++/33210] [4.1/4.2/4.3 regression] " reichelt at gcc dot gnu dot org
2007-08-28 17:15 ` pcarlini at suse dot de
@ 2007-08-28 18:10 ` pcarlini at suse dot de
2007-08-29 6:55 ` reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pcarlini at suse dot de @ 2007-08-28 18:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pcarlini at suse dot de 2007-08-28 18:10 -------
Oops..
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Summary|Broken diagnostics: |[4.1/4.2/4.3 Regression]
|'bound_template_template_par|Broken diagnostics:
|m' not supported by |'bound_template_template_par
|pp_cxx_unqualified_id/dump_d|m' not supported by
|ecl |pp_cxx_unqualified_id/dump_d
| |ecl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2/4.3 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-08-28 18:10 ` [Bug c++/33210] [4.1/4.2/4.3 Regression] " pcarlini at suse dot de
@ 2007-08-29 6:55 ` reichelt at gcc dot gnu dot org
2007-08-31 10:32 ` pcarlini at suse dot de
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-29 6:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from reichelt at gcc dot gnu dot org 2007-08-29 06:55 -------
The second testcase is fixed on mainline by Paolo's patch for PR 33209.
It's still open on the branches, though.
Nothing changed for the first testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2/4.3 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-08-29 6:55 ` reichelt at gcc dot gnu dot org
@ 2007-08-31 10:32 ` pcarlini at suse dot de
2007-08-31 11:39 ` paolo at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pcarlini at suse dot de @ 2007-08-31 10:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pcarlini at suse dot de 2007-08-31 10:32 -------
On it.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2/4.3 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-08-31 10:32 ` pcarlini at suse dot de
@ 2007-08-31 11:39 ` paolo at gcc dot gnu dot org
2007-08-31 11:41 ` [Bug c++/33210] [4.1/4.2 " pcarlini at suse dot de
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-08-31 11:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo at gcc dot gnu dot org 2007-08-31 11:38 -------
Subject: Bug 33210
Author: paolo
Date: Fri Aug 31 11:38:45 2007
New Revision: 127987
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127987
Log:
/cp
2007-08-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with
BOUND_TEMPLATE_TEMPLATE_PARM.
/testsuite
2007-08-31 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* g++.dg/template/error30.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/error30.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cxx-pretty-print.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-08-31 11:39 ` paolo at gcc dot gnu dot org
@ 2007-08-31 11:41 ` pcarlini at suse dot de
2007-09-05 1:10 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pcarlini at suse dot de @ 2007-08-31 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pcarlini at suse dot de 2007-08-31 11:41 -------
Fixed in mainline. Frankly, I'm not interested in fixing the issue in the other
branches, taking also into account that it dates back to 3_4...
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
Summary|[4.1/4.2/4.3 Regression] |[4.1/4.2 Regression] Broken
|Broken diagnostics: |diagnostics:
|'bound_template_template_par|'bound_template_template_par
|m' not supported by |m' not supported by
|pp_cxx_unqualified_id/dump_d|pp_cxx_unqualified_id/dump_d
|ecl |ecl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2007-08-31 11:41 ` [Bug c++/33210] [4.1/4.2 " pcarlini at suse dot de
@ 2007-09-05 1:10 ` mmitchel at gcc dot gnu dot org
2007-09-05 10:40 ` paolo at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-05 1:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from mmitchel at gcc dot gnu dot org 2007-09-05 01:10 -------
It would be nice to fix this on the 4.2 branch, but certainly not a priority.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1/4.2 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-09-05 1:10 ` mmitchel at gcc dot gnu dot org
@ 2007-09-05 10:40 ` paolo at gcc dot gnu dot org
2007-09-05 10:41 ` [Bug c++/33210] [4.1 " pcarlini at suse dot de
2008-07-04 16:12 ` jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-09-05 10:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from paolo at gcc dot gnu dot org 2007-09-05 10:40 -------
Subject: Bug 33210
Author: paolo
Date: Wed Sep 5 10:40:29 2007
New Revision: 128125
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128125
Log:
/cp
2007-09-05 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* cxx-pretty-print.c (pp_cxx_unqualified_id): Deal with
BOUND_TEMPLATE_TEMPLATE_PARM.
/testsuite
2007-09-05 Paolo Carlini <pcarlini@suse.de>
PR c++/33210
* g++.dg/template/error30.C: New.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/error30.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (8 preceding siblings ...)
2007-09-05 10:40 ` paolo at gcc dot gnu dot org
@ 2007-09-05 10:41 ` pcarlini at suse dot de
2008-07-04 16:12 ` jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pcarlini at suse dot de @ 2007-09-05 10:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pcarlini at suse dot de 2007-09-05 10:41 -------
Fixed in 4_2-branch too.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2 Regression] Broken |[4.1 Regression] Broken
|diagnostics: |diagnostics:
|'bound_template_template_par|'bound_template_template_par
|m' not supported by |m' not supported by
|pp_cxx_unqualified_id/dump_d|pp_cxx_unqualified_id/dump_d
|ecl |ecl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/33210] [4.1 Regression] Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
` (9 preceding siblings ...)
2007-09-05 10:41 ` [Bug c++/33210] [4.1 " pcarlini at suse dot de
@ 2008-07-04 16:12 ` jsm28 at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jsm28 at gcc dot gnu dot org 2008-07-04 16:11 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Known to fail| |4.1.3
Known to work| |4.2.2 4.3.0
Resolution| |FIXED
Target Milestone|4.1.3 |4.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33210
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-07-04 16:12 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27 21:51 [Bug c++/33210] New: Broken diagnostics: 'bound_template_template_parm' not supported by pp_cxx_unqualified_id/dump_decl reichelt at gcc dot gnu dot org
2007-08-27 21:51 ` [Bug c++/33210] [4.1/4.2/4.3 regression] " reichelt at gcc dot gnu dot org
2007-08-28 17:15 ` pcarlini at suse dot de
2007-08-28 18:10 ` [Bug c++/33210] [4.1/4.2/4.3 Regression] " pcarlini at suse dot de
2007-08-29 6:55 ` reichelt at gcc dot gnu dot org
2007-08-31 10:32 ` pcarlini at suse dot de
2007-08-31 11:39 ` paolo at gcc dot gnu dot org
2007-08-31 11:41 ` [Bug c++/33210] [4.1/4.2 " pcarlini at suse dot de
2007-09-05 1:10 ` mmitchel at gcc dot gnu dot org
2007-09-05 10:40 ` paolo at gcc dot gnu dot org
2007-09-05 10:41 ` [Bug c++/33210] [4.1 " pcarlini at suse dot de
2008-07-04 16:12 ` jsm28 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).