[Bug fortran/13615] -Wuninitialized produces wrong error message for characters

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 21 18:59:00 GMT 2007



------- Comment #8 from fxcoudert at gcc dot gnu dot org  2007-11-21 18:58 -------
$ cat z.f
      subroutine warn_character(d)
      character c, d
      d = c
      end
$ gfortran -O2 -Wall z.f -c
z.f: In function ‘warn_character’:
z.f:3: warning: ‘c[1]{lb: 1 sz: 1}’ is used uninitialized in this function


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2007-09-29 08:14:43         |2007-11-21 18:58:59
               date|                            |


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



More information about the Gcc-bugs mailing list