[Bug c++/58362] Wrong column number for unused parameter

2013-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/58362] Wrong column number for unused parameter

2013-09-09 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #12 from paolo at gcc dot gnu.org --- Author: paolo Date: Mon Sep 9 13:39:47 2013 New Revision: 202402 URL: http://gcc.gnu.org/viewcvs?rev=202402&root=gcc&view=rev Log: /cp 2013-09-09 Paolo Carlini PR c++/58362 * error.c

[Bug c++/58362] Wrong column number for unused parameter

2013-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|hubicka at uc

[Bug c++/58362] Wrong column number for unused parameter

2013-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #10 from Paolo Carlini --- Nope, sorry, the C front-end is already fine, thus I guess we really want to change location_of in the C++ front-end.

[Bug c++/58362] Wrong column number for unused parameter

2013-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #9 from Paolo Carlini --- I sent the simple patch and apparently people would rather prefer fixing location_of to not do t = DECL_CONTEXT (t) for PARM_DECLs, likewise the C front-end of course, in such a way that '+' works and we don't

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 Paolo Carlini changed: What|Removed |Added CC||hubicka at ucw dot cz --- Comment #8 from

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #6 from Marc Glisse --- (In reply to Paolo Carlini from comment #4) > The damage happens at error.c:3435. Yes, location_of replaces the declaration of the argument with that of the function :-( > Should we just use "%qD", no '+' ? I

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #4 from Paolo Carlini --- The damage happens at error.c:3435. Should we just use "%qD", no '+' ?

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #3 from Paolo Carlini --- Oh I see, but that should be rather easy to track down.

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #2 from Marc Glisse --- (In reply to Paolo Carlini from comment #1) > Maybe it's just me, but I don't understand what -ignored- means in this > context, could you please explain? It means that the diagnostic machinery takes the column

[Bug c++/58362] Wrong column number for unused parameter

2013-09-08 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58362 --- Comment #1 from Paolo Carlini --- Maybe it's just me, but I don't understand what -ignored- means in this context, could you please explain?