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/33947] New: [4.3 Regression] warning: 'const' attribute directive ignored


On ARM I get a lot of gfortran testsuite failures because of "test for
excess errors".  They are due to these warnings:

(sid)1109:tbm@foobar: ~] /usr/lib/gcc-snapshot/bin/gfortran -c Wall.f90
Wall.f90:0: warning: 'const' attribute directive ignored
Wall.f90:0: warning: 'nothrow' attribute directive ignored
(sid)1110:tbm@foobar: ~]

This doesn't happen with 4.1 and 4.2:

(sid)1110:tbm@foobar: ~] gfortran-4.1 -c Wall.f90
(sid)1111:tbm@foobar: ~] gfortran-4.2 -c Wall.f90
(sid)1112:tbm@foobar: ~]

Testcase:

program main
end program main


-- 
           Summary: [4.3 Regression] warning: 'const' attribute directive
                    ignored
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: arm-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33947


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