This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25149] New: Compiler dies on -std=f95
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2005 04:13:37 -0000
- Subject: [Bug fortran/25149] New: Compiler dies on -std=f95
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following compiles fine with no parameters but fails to compile with
-std=f95:
program fabort
implicit none
integer :: i1, i2, i3
open(10, status="scratch")
write(10,'(a)') "1,2 35"
rewind(10)
read(10,'(3i9)') i1,i2,i3
if(i1.ne.1) call abort()
end
$ gfc -std=f95 abort.f
/tmp/cc4WFggT.o(.text+0x1a8): In function `MAIN__':
abort.f: undefined reference to `abort_'
collect2: ld returned 1 exit status
--
Summary: Compiler dies on -std=f95
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jvdelisle at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25149