This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33947] New: [4.3 Regression] warning: 'const' attribute directive ignored
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 09:18:49 -0000
- Subject: [Bug fortran/33947] New: [4.3 Regression] warning: 'const' attribute directive ignored
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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