https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #12 from Eric Gallager ---
I think someone added the -Wabsolute-value warning flag to GCC
recently; is it ok to close this bug now?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #11 from Eric Gallager ---
(In reply to Manuel López-Ibáñez from comment #10)
> (In reply to Eric Gallager from comment #8)
> > (In reply to Andreas Schwab from comment #4)
> > > float f = 3.1f;
> >
> > Isn't there already
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Manuel López-Ibáñez changed:
What|Removed |Added
Keywords||easyhack
--- Comment #10 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
Severity|normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Eric Gallager egall at gwmail dot gwu.edu changed:
What|Removed |Added
CC||egall at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #6 from David Binderman dcb314 at hotmail dot com ---
(In reply to Marek Polacek from comment #5)
Seems like there's nothing to do for this bug.
Suggest there are two cases
1. double to float
2. double or float into any integer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
Marek Polacek mpolacek at gcc dot gnu.org changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #1 from Marc Glisse glisse at gcc dot gnu.org ---
warning: conversion to ‘int’ from ‘float’ may alter its value
[-Wfloat-conversion]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #2 from David Binderman dcb314 at hotmail dot com ---
(In reply to Marc Glisse from comment #1)
warning: conversion to ‘int’ from ‘float’ may alter its value
[-Wfloat-conversion]
Thanks for that.
Given the obscurity of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #3 from David Binderman dcb314 at hotmail dot com ---
(In reply to David Binderman from comment #2)
Given the obscurity of -Wfloat-conversion, maybe it is time for it
to be included in -Wall, where more folks will notice it ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886
--- Comment #4 from Andreas Schwab sch...@linux-m68k.org ---
float f = 3.1f;
14 matches
Mail list logo