[Bug c++/55077] implement and enable by default -Wliteral-conversion

2023-05-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #10 from Eric Gallager --- (In reply to David Binderman from comment #9) > -Wfloat-conversion does the deed: any chance of getting it someplace useful > like -Wall or -Wextra anytime soon ? > > I will put it into my local compiler.

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2022-04-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #9 from David Binderman --- -Wfloat-conversion does the deed: any chance of getting it someplace useful like -Wall or -Wextra anytime soon ? I will put it into my local compiler.

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2018-09-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 Eric Gallager changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2018-02-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2015-11-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #6 from David Binderman --- (In reply to Manuel López-Ibáñez from comment #5) > Created attachment 33637 [details] > untested patch > > Untested patch. Bonus points if we show the value before and after > conversion like clang does.

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2014-10-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||dcb314 at

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2014-10-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #5 from Manuel López-Ibáñez manu at gcc dot gnu.org --- Created attachment 33637 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33637action=edit untested patch Untested patch. Bonus points if we show the value before and after

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2012-10-28 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-10-28 18:02:07 UTC --- On Sat, 27 Oct 2012, manu at gcc dot gnu.org wrote: // Expressions, such as those that indicate rounding-down, should NOT

[Bug c++/55077] implement and enable by default -Wliteral-conversion

2012-10-27 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077 --- Comment #1 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-27 19:48:25 UTC --- Problem: We do not want to warn for expressions. From the clang testcases: // Expressions, such as those that indicate rounding-down, should NOT