public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20478] poor diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
@ 2007-03-12 16:47 ` manu at gcc dot gnu dot org
2007-11-14 3:09 ` [Bug c++/20478] poor parse error diagnostic manu at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-03-12 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from manu at gcc dot gnu dot org 2007-03-12 16:47 -------
It would be helpful if you could reduce the testcase. Thanks.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
2007-03-12 16:47 ` [Bug c++/20478] poor diagnostic manu at gcc dot gnu dot org
@ 2007-11-14 3:09 ` manu at gcc dot gnu dot org
2007-11-14 8:28 ` steven at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-11-14 3:09 UTC (permalink / raw)
To: gcc-bugs
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
2007-03-12 16:47 ` [Bug c++/20478] poor diagnostic manu at gcc dot gnu dot org
2007-11-14 3:09 ` [Bug c++/20478] poor parse error diagnostic manu at gcc dot gnu dot org
@ 2007-11-14 8:28 ` steven at gcc dot gnu dot org
2007-11-14 20:28 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-14 8:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from steven at gcc dot gnu dot org 2007-11-14 08:28 -------
Andrew, could you please try to reduce the test case for this bug with your
tools?
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2007-11-14 8:28 ` steven at gcc dot gnu dot org
@ 2007-11-14 20:28 ` pinskia at gcc dot gnu dot org
2008-01-25 21:21 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-14 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-11-14 20:28 -------
(In reply to comment #4)
> Andrew, could you please try to reduce the test case for this bug with your
> tools?
last time I tried, it was just bogus and right now I don't have time to deal
with it as I am way busy with the PS3 toolchain.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2007-11-14 20:28 ` pinskia at gcc dot gnu dot org
@ 2008-01-25 21:21 ` rguenth at gcc dot gnu dot org
2008-01-25 22:46 ` igodard at pacbell dot net
2008-02-10 13:39 ` manu at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-25 21:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2008-01-25 21:11 -------
g++-4.3 opx.cpp -S 2>&1 | head -20
opx.cpp:9132: error: ISO C++ says that these are ambiguous, even though the
worst conversion for the first is better than the worst conversion for the
second:
opx.cpp:9132: note: candidate 1: operator-(int, int) <built-in>
opx.cpp:4657: note: candidate 2: T operator-(T, Arg) [with Arg = arity, T =
element<signed char>]
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2008-01-25 21:21 ` rguenth at gcc dot gnu dot org
@ 2008-01-25 22:46 ` igodard at pacbell dot net
2008-02-10 13:39 ` manu at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: igodard at pacbell dot net @ 2008-01-25 22:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from igodard at pacbell dot net 2008-01-25 22:35 -------
Yes, it has always been understood that this code is invalid. The report is
about the quality of the diagnostic that was given, not whether a diagnostic
should be given. The diagnostics (three of them for one error) refer to a
location a *long* way from the actual error, and with no obvious (to me anyway)
syntactic relationship to the actual problem.
--
igodard at pacbell dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/20478] poor parse error diagnostic
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2008-01-25 22:46 ` igodard at pacbell dot net
@ 2008-02-10 13:39 ` manu at gcc dot gnu dot org
6 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-02-10 13:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from manu at gcc dot gnu dot org 2008-02-10 13:38 -------
I am all for making parser errors more accurate but I honestly think we should
close this as WONTFIX because this particular testcase is a waste of time. I
don't think automatic reduction is possible since small changes would just
alter the parse tree and generate a different error (see GCC 4.3 output versus
original output). And generating a smaller testcase manually seems an arduous
task.
Perhaps someone else will provide a smaller testcase in other PR, but making a
connection with this one seems difficult.
In summary, if our only chance is that fixing another future PR somehow fixes
this, then we may well close this now.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20478
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-10 13:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-20478-6594@http.gcc.gnu.org/bugzilla/>
2007-03-12 16:47 ` [Bug c++/20478] poor diagnostic manu at gcc dot gnu dot org
2007-11-14 3:09 ` [Bug c++/20478] poor parse error diagnostic manu at gcc dot gnu dot org
2007-11-14 8:28 ` steven at gcc dot gnu dot org
2007-11-14 20:28 ` pinskia at gcc dot gnu dot org
2008-01-25 21:21 ` rguenth at gcc dot gnu dot org
2008-01-25 22:46 ` igodard at pacbell dot net
2008-02-10 13:39 ` manu 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).