[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2019-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2018-09-20 Thread egall at gwmail dot gwu.edu
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?

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2016-08-01 Thread egall at gwmail dot gwu.edu
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2016-07-31 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886 Manuel López-Ibáñez changed: What|Removed |Added Keywords||easyhack --- Comment #10 from

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2016-07-31 Thread manu at gcc dot gnu.org
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 ---

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2016-07-31 Thread pinskia 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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2015-01-20 Thread egall at gwmail dot gwu.edu
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2015-01-07 Thread mpolacek at gcc dot gnu.org
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2015-01-07 Thread dcb314 at hotmail dot com
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2015-01-07 Thread mpolacek at gcc dot gnu.org
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2014-11-15 Thread glisse at gcc dot gnu.org
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]

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2014-11-15 Thread dcb314 at hotmail dot com
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

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2014-11-15 Thread dcb314 at hotmail dot com
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 ?

[Bug c/63886] float will fit into int with abs - possible missing warning Wabsolute-value

2014-11-15 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63886 --- Comment #4 from Andreas Schwab sch...@linux-m68k.org --- float f = 3.1f;