[Bug fortran/23677] -fno-automatic does not accept legal save statements
dir at lanl dot gov
gcc-bugzilla@gcc.gnu.org
Tue Sep 6 19:31:00 GMT 2005
------- Additional Comments From dir at lanl dot gov 2005-09-06 19:31 -------
I have the same problem (g77 does not complain) -
[dranta:~/tests/gfortran-D] dir% g77 -c -fno-automatic save.f
[dranta:~/tests/gfortran-D] dir% gfortran -c -fno-automatic save.f
In file save.f:2
save lastcol
1
Error: Duplicate SAVE attribute specified at (1)
[dranta:~/tests/gfortran-D] dir% cat save.f
subroutine gdpstc(ifxn,xa,ya)
save lastcol
return
end
[dranta:~/tests/gfortran-D] dir% gfortran --v
Using built-in specs.
Target: powerpc-apple-darwin7.9.0
Configured with: ./configure --prefix=/Users/dir/gfortran --enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050906 (experimental)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23677
More information about the Gcc-bugs
mailing list