public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19502] duplicate diagnostic for invalid template constant parameter
[not found] <bug-19502-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-01 23:32 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-01 23:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19502
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Since GCC 8, we produce the error message 3 times rather than the 2 times.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/19502] duplicate diagnostic for invalid template constant parameter
2005-01-18 10:49 [Bug c++/19502] New: " reichelt at gcc dot gnu dot org
2005-01-18 14:37 ` [Bug c++/19502] " pinskia at gcc dot gnu dot org
@ 2005-08-24 19:40 ` reichelt at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-24 19:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-24 19:38 -------
This is probably due to the fact that lookup_template_class
is called twice as the comment above the function states:
??? Note that this function is currently called *twice* for each
template-id: the first time from the parser, while creating the
incomplete type (finish_template_type), and the second type during the
real instantiation (instantiate_template_class). This is surely something
that we want to avoid. It also causes some problems with argument
coercion (see convert_nontype_argument for more information on this). */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19502
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/19502] duplicate diagnostic for invalid template constant parameter
2005-01-18 10:49 [Bug c++/19502] New: " reichelt at gcc dot gnu dot org
@ 2005-01-18 14:37 ` pinskia at gcc dot gnu dot org
2005-08-24 19:40 ` reichelt at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 14:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-18 14:29 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-18 14:29:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19502
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-01 23:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-19502-4@http.gcc.gnu.org/bugzilla/>
2021-08-01 23:32 ` [Bug c++/19502] duplicate diagnostic for invalid template constant parameter pinskia at gcc dot gnu.org
2005-01-18 10:49 [Bug c++/19502] New: " reichelt at gcc dot gnu dot org
2005-01-18 14:37 ` [Bug c++/19502] " pinskia at gcc dot gnu dot org
2005-08-24 19:40 ` 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).