This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13792] New: lbound/ubound generates internal compiler error
- From: "Mart dot Rentmeester at sci dot kun dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2004 15:37:39 -0000
- Subject: [Bug fortran/13792] New: lbound/ubound generates internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following piece of code generates an internal compiler error; the same
happens when lbound is replaced with ubound.
gfortran -dumpversion:
GNU Fortran 95 (GCC 3.5-tree-ssa 20040119 (merged 20040102))
gfortran -dumpmachine:
hppa2.0w-hp-hpux11.11
program h
implicit none
real :: a(5)
integer :: e
e = lbound(a,1)
write(6,*) e
end program h
The generated compiler output
> gfortran h.f90
h.f90: In function `MAIN__':
h.f90:4: internal compiler error: in gfc_conv_expr, at fortran/trans-expr.c:1406
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: lbound/ubound generates internal compiler error
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Mart dot Rentmeester at sci dot kun dot nl
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: hppa2.0w-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13792