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.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
Eric Gallager changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
Eric Gallager changed:
What|Removed |Added
Keywords||diagnostic
CC|
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
--- Comment #5 from Manuel López-Ibáñez ---
Created attachment 33637
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33637&action=edit
untested patch
Untested patch. Bonus points if we show the value before and after conversion
like clang d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
Manuel López-Ibáñez changed:
What|Removed |Added
CC||dcb314 at hotmail dot com
--- Comm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
--- Comment #2 from 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
> produce
> warnings.
> int x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55077
--- Comment #1 from Manuel López-Ibáñez 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 produce
warnings.
int x = 2
10 matches
Mail list logo