$ cat data.f subroutine foo real a data a /1.3/ end $ gfortran -c -Wall -O3 data.f $ g77 -c -Wall -O3 data.f data.f: In subroutine `foo': In file included from data.f:0: data.f:2: warning: unused variable 'a' I'd expect a warning, like g77.
This is very close to PR30438.
> This is very close to PR30438. IMO it is a duplicate. *** This bug has been marked as a duplicate of bug 30438 ***