[Bug fortran/30438] Unused variable should raise warning with -Wunused

2007-01-15 Thread aldot at gcc dot gnu dot org
--- Comment #3 from aldot at gcc dot gnu dot org 2007-01-15 09:15 --- (In reply to comment #2) > 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

[Bug fortran/30438] Unused variable should raise warning with -Wunused

2007-01-13 Thread pinskia 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 i

[Bug fortran/30438] Unused variable should raise warning with -Wunused

2007-01-11 Thread fxcoudert 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