http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13615

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mikael at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #13 from Mikael Morin <mikael at gcc dot gnu.org> ---
gfortran outputs with the original testcase:

$ gfortran comment_0.f -O -Wall
comment_0.f: In function 'warn_integer':
comment_0.f:17:0: warning: 'a' is used uninitialized in this function
[-Wuninitialized]
comment_0.f: In function 'warn_character':
comment_0.f:31:0: warning: 'c[1]{lb: 1 sz: 1}' is used uninitialized in this
function [-Wuninitialized]

-Wall is necessary to trigger the warning, but now 'c' is correctly diagnosed
as unitialized.  Closing as FIXED.

Reply via email to