[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #17 from Manuel López-Ibáñez --- Author: manu Date: Tue Mar 18 23:22:02 2014 New Revision: 208669 URL: http://gcc.gnu.org/viewcvs?rev=208669&root=gcc&view=rev Log: 2014-03-19 Manuel López-Ibáñez PR c/55383 * gcc.dg/cast-qu

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #16 from Manuel López-Ibáñez --- It seems the patch was not tested in C++: Tests that now fail, but worked before: unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++11 (test for warnings, line 88) unix//-m32: c-c++-common/Wcast-qual

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Manuel López-Ibáñez changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #14 from Manuel López-Ibáñez --- Author: manu Date: Tue Mar 18 19:58:39 2014 New Revision: 208661 URL: http://gcc.gnu.org/viewcvs?rev=208661&root=gcc&view=rev Log: 2014-03-18 Manuel López-Ibáñez PR c/55383 c/ * c-typeck.c:

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #13 from Manuel López-Ibáñez --- (In reply to Magnus Reftel from comment #12) > Any suggestions on how to progress with this one? Looking at the testcases modified by the patch, I don't know why there is no test for volatile (which is

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-18 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #12 from Magnus Reftel --- Any suggestions on how to progress with this one?

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-11 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #11 from Magnus Reftel --- No regressions seen. Sent en email with the patch to gcc-patches as requested ( http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00517.html ).

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-11 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #10 from Magnus Reftel --- Applied Manuel López-Ibáñez's patch on top of trunk and tested Jeremy's testcase. Without the patch, the error message says that "__attribute__((noreturn))" is being cast away. With the patch, the error messa

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #9 from Magnus Reftel --- Created attachment 32331 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32331&action=edit Patch from comment #1, updated to apply on trunk

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Gerald Pfeifer changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #8 from Gerald Pfei

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Manuel López-Ibáñez changed: What|Removed |Added Keywords||patch --- Comment #7 from Manuel Ló

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #6 from Magnus Reftel --- Sorry, I'm not a GCC developer - just another user aflicted by the bug.

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #5 from Manuel López-Ibáñez --- (In reply to Magnus Reftel from comment #4) > Also affects 4.6, 4.8 and trunk as of version > 96c7d4b1727c5f9ddcbb02fb69f727a0f2f3572e. 4.4 correctly prints just "error: > cast discards qualifiers from p

[Bug c/55383] -Wcast-qual reports incorrect message

2014-03-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Magnus Reftel changed: What|Removed |Added CC||magnus.reftel at gmail dot com --- Commen

[Bug c/55383] -Wcast-qual reports incorrect message

2013-06-08 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #3 from Manuel López-Ibáñez --- (In reply to Gerald Pfeifer from comment #2) > Somehow I cannot find your patch submission on gcc-patches -- is it > possible you haven't submitted it there yet? Will you be doing that, > or is it fine

[Bug c/55383] -Wcast-qual reports incorrect message

2013-06-08 Thread gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 --- Comment #2 from Gerald Pfeifer --- Hi Manuel, I also got pinged by a FreeBSD user of one of my ports about this. Somehow I cannot find your patch submission on gcc-patches -- is it possible you haven't submitted it there yet? Will you be doi

[Bug c/55383] -Wcast-qual reports incorrect message

2012-11-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO