[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 magnus.reftel at gmail dot com --- Any suggestions on how to progress with this one?

[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 manu at gcc dot gnu.org --- (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

[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 manu at gcc dot gnu.org --- Author: manu Date: Tue Mar 18 19:58:39 2014 New Revision: 208661 URL: http://gcc.gnu.org/viewcvs?rev=208661root=gccview=rev Log: 2014-03-18 Manuel López-Ibáñez

[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 manu at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 manu at gcc dot gnu.org --- 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:

[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 manu at gcc dot gnu.org --- Author: manu Date: Tue Mar 18 23:22:02 2014 New Revision: 208669 URL: http://gcc.gnu.org/viewcvs?rev=208669root=gccview=rev Log: 2014-03-19 Manuel López-Ibáñez

[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 #9 from Magnus Reftel magnus.reftel at gmail dot com --- Created attachment 32331 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32331action=edit Patch from comment #1, updated to apply on trunk

[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 magnus.reftel at gmail dot com --- 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.

[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 magnus.reftel at gmail dot com --- 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-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383 Magnus Reftel magnus.reftel at gmail dot com changed: What|Removed |Added CC|

[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 manu at gcc dot gnu.org --- (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

[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 magnus.reftel at gmail dot com --- 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 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords||patch ---

[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 gerald at pfeifer dot com changed: What|Removed |Added Status|NEW |ASSIGNED ---

[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 gerald at pfeifer dot com --- 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

[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 manu at gcc dot gnu.org --- (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

[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 manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic