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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2007 05:09:16 -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 #2 from pinskia at gcc dot gnu dot org 2007-01-14 05:09 -------
The variable is set but not read from.
There is another bug about this for the C/C++ front-ends and a new option for
this case instead of just using -Wunused.
I would considered t in comment #1 as being used as it is set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30438