public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30982] New: Junk in diagnostic message
@ 2007-02-27 15:05 pcarlini at suse dot de
2007-02-27 15:17 ` [Bug c++/30982] " gdr at cs dot tamu dot edu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-02-27 15:05 UTC (permalink / raw)
To: gcc-bugs
Maybe this is a known issue, but I just noticed that many meaningless words are
output for this wrong snippet:
class base
{
public:
typedef int vvv;
};
template<typename T>
class derived : public base
{ };
template<typename T>
void
f(const derived<T>&)
{
typedef typename derived<T>::base base;
/* typename */ base::vvv uuu;
}
int main()
{
derived<float> dd;
f(dd);
}
paolo:~/Work> g++ reduced.cc
reduced.cc: In function 'void f(const derived<T>&)':
reduced.cc:16: error: expected `;' before 'uuu'
reduced.cc: In function 'void f(const derived<T>&) [with T = float]':
reduced.cc:22: instantiated from here
reduced.cc:16: error: dependent-name 'derived::#'typename_type' not supported
by pp_cxx_unqualified_id#::vvv' is parsed as a non-type, but instantiation
yields a type
reduced.cc:16: note: say 'typename derived::#'typename_type' not supported by
pp_cxx_unqualified_id#::vvv' if a type is meant
--
Summary: Junk in diagnostic message
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pcarlini at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30982
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/30982] Junk in diagnostic message
2007-02-27 15:05 [Bug c++/30982] New: Junk in diagnostic message pcarlini at suse dot de
@ 2007-02-27 15:17 ` gdr at cs dot tamu dot edu
2007-03-09 4:43 ` bangerth at dealii dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: gdr at cs dot tamu dot edu @ 2007-02-27 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from gdr at cs dot tamu dot edu 2007-02-27 15:17 -------
Subject: Re: New: Junk in diagnostic message
"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:
| Maybe this is a known issue, but I just noticed that many meaningless words
are
| output for this wrong snippet:
this is weird. I'll look into it.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30982
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/30982] Junk in diagnostic message
2007-02-27 15:05 [Bug c++/30982] New: Junk in diagnostic message pcarlini at suse dot de
2007-02-27 15:17 ` [Bug c++/30982] " gdr at cs dot tamu dot edu
@ 2007-03-09 4:43 ` bangerth at dealii dot org
2007-03-23 3:07 ` gdr at gcc dot gnu dot org
2007-03-23 3:08 ` gdr at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2007-03-09 4:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bangerth at dealii dot org 2007-03-09 04:43 -------
Confirmed. The message is probably ok, except that the code that dumps
a tree can't deal with some of the codes in it.
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-09 04:43:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30982
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/30982] Junk in diagnostic message
2007-02-27 15:05 [Bug c++/30982] New: Junk in diagnostic message pcarlini at suse dot de
2007-02-27 15:17 ` [Bug c++/30982] " gdr at cs dot tamu dot edu
2007-03-09 4:43 ` bangerth at dealii dot org
@ 2007-03-23 3:07 ` gdr at gcc dot gnu dot org
2007-03-23 3:08 ` gdr at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-03-23 3:07 UTC (permalink / raw)
To: gcc-bugs
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |gdr at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-03-09 04:43:13 |2007-03-23 03:06:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30982
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/30982] Junk in diagnostic message
2007-02-27 15:05 [Bug c++/30982] New: Junk in diagnostic message pcarlini at suse dot de
` (2 preceding siblings ...)
2007-03-23 3:07 ` gdr at gcc dot gnu dot org
@ 2007-03-23 3:08 ` gdr at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-03-23 3:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from gdr at gcc dot gnu dot org 2007-03-23 03:07 -------
http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01513.html
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30982
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-23 3:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 15:05 [Bug c++/30982] New: Junk in diagnostic message pcarlini at suse dot de
2007-02-27 15:17 ` [Bug c++/30982] " gdr at cs dot tamu dot edu
2007-03-09 4:43 ` bangerth at dealii dot org
2007-03-23 3:07 ` gdr at gcc dot gnu dot org
2007-03-23 3:08 ` gdr 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).