[Bug c++/14710] Warning about useless casts

2018-02-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #14 from Jonathan Wakely --- I guess because nobody asked for it.

[Bug c++/14710] Warning about useless casts

2018-02-21 Thread bje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 Ben Elliston changed: What|Removed |Added CC||bje at gcc dot gnu.org --- Comment #13

[Bug c++/14710] Warning about useless casts

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #12 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Feb 26 21:28:08 2014 New Revision: 208183 URL: http://gcc.gnu.org/viewcvs?rev=208183root=gccview=rev Log: PR c++/59231 PR c++/11586 PR c++/14710

[Bug c++/14710] Warning about useless casts

2012-03-19 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #10 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 2012-03-19 15:51:36 UTC --- Author: paolo Date: Mon Mar 19 15:51:25 2012 New Revision: 185524 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=185524 Log: 2012-03-16

[Bug c++/14710] Warning about useless casts

2012-03-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/14710] Warning about useless casts

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/14710] Warning about useless casts

2012-03-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-03-14 10:52:18 UTC --- I can see some value in the base class case too, but whether it's useless depends on context, here the exact same casts are not redundant because they select

[Bug c++/14710] Warning about useless casts

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com 2012-03-14 11:47:30 UTC --- Indeed, I was vaguely considering similar things..

[Bug c++/14710] Warning about useless casts

2012-03-14 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #8 from Jason Merrill jason at gcc dot gnu.org 2012-03-14 18:00:33 UTC --- I wouldn't warn about a cast that changes the type or value category of an expression at all, or a cast that ends up being the same type as the result of

[Bug c++/14710] Warning about useless casts

2012-03-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |ASSIGNED