This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/23677] -fno-automatic does not accept legal save statements


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]