This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13615] -Wuninitialized produces wrong error message for characters
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2007 18:58:59 -0000
- Subject: [Bug fortran/13615] -Wuninitialized produces wrong error message for characters
- References: <bug-13615-6709@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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