[Bug c++/50956] -Wcast-qual does not work

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

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 --- Comment #6 from paolo at gcc dot gnu.org 2011-11-02 18:04:53 UTC --- Author: paolo Date: Wed Nov 2 18:04:48 2011 New Revision: 180786 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180786 Log: 2011-11-02 Paolo Carlini PR c++/

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlini

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 --- Comment #4 from Paolo Carlini 2011-11-02 13:15:35 UTC --- Well, we shouldn't early return error_mark_node, however. Also, in the specific case at issue here we are still failing to warn, because we return from build_static_cast_1 pretty earl

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/50956] -Wcast-qual does not work

2011-11-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50956 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #1 f