This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/23572] No warning for assigning a value to a 'float' variable that overflows with option -Wextra
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2006 15:24:03 -0000
- Subject: [Bug other/23572] No warning for assigning a value to a 'float' variable that overflows with option -Wextra
- References: <bug-23572-11241@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from manu at gcc dot gnu dot org 2006-11-25 15:24 -------
Why this is marked as "other" ? This is either a problem on the C/C++
front-ends or it is a problem in the middle-end that doesn't handle the
overflow/underflow correctly during conversion, isn't it?
Also, this happens also for i686-pc-gnu-linux and I guess for almost any
possible host/target, so perhaps Host and Target should say something
different.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Known to fail|2.95.3 3.2.3 3.4.0 4.0.0 |2.95.3 3.2.3 3.4.0 4.0.0
|4.1.0 |4.1.0 4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23572