This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions
- From: "david.folkner at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2012 16:10:58 +0000
- Subject: [Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions
- Auto-submitted: auto-generated
- References: <bug-47659-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659
David Folkner <david.folkner at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.folkner at gmail dot
| |com
--- Comment #8 from David Folkner <david.folkner at gmail dot com> 2012-05-04 16:10:58 UTC ---
Would it be possible to generate a warning for the following cases:
Case (1) - Line 2
real(8)::a
a = 0.13
Case (2) - Line 2
real(4)::a
a = 0.13_8
Case (3) - Line 3
real(8)::a,b
a = 0.13_8
b = a/0.13
Case (4) - Line 4
real(8)::a
integer::b
b = 2
a = 0.5_8*b