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

(sid)1109:[EMAIL PROTECTED]: ~] /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:[EMAIL PROTECTED]: ~]

This doesn't happen with 4.1 and 4.2:

(sid)1110:[EMAIL PROTECTED]: ~] gfortran-4.1 -c Wall.f90
(sid)1111:[EMAIL PROTECTED]: ~] gfortran-4.2 -c Wall.f90
(sid)1112:[EMAIL PROTECTED]: ~]

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

Reply via email to