This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30438] Unused variable should raise warning with -Wunused
- 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: 12 Jan 2007 06:35:00 -0000
- Subject: [Bug fortran/30438] Unused variable should raise warning with -Wunused
- References: <bug-30438-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-01-12 06:35 -------
Simpler example:
real :: t, dist
t = 12
dist = 5
if (dist < 0) then
print *, dist
end if
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30438