[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 fr

[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 --- Author: jason Date: Wed Feb 26 21:28:08 2014 New Revision: 208183 URL: http://gcc.gnu.org/viewcvs?rev=208183&root=gcc&view=rev Log: PR c++/59231 PR c++/11586 PR c++/14710 PR c++/57132 gcc/

[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 changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[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 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=gcc&view=rev&rev=185524 Log: 2012-03-16 Paolo Carlini PR c++

[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 changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlini

[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 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 template instantiation. But a

[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 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 redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710 --- Comment #6 from Jonathan Wakely 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 between two overloads:

[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 changed: What|Removed |Added CC||paolo.carlini at oracle dot