This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47659] -Wconversion[-extra] should emit warning for constant expressions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]