[Bug fortran/21211] New: Internal compiler error, when array boundary set with maxval
aradi at phys dot upb dot de
gcc-bugzilla@gcc.gnu.org
Mon Apr 25 10:01:00 GMT 2005
Compiling the following code results in an internal compiler error:
> gfortran-4.0 buggy.f90 -o buggy.o
buggy.f90: In function 'testsub':
buggy.f90:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> cat buggy.f90
module test
contains
subroutine testsub(lmax, idxorb)
integer, intent(in) :: lmax(:)
integer, intent(in) :: idxorb(-maxval(lmax):,0:)
print *, idxorb
end subroutine testsub
end module test
--
Summary: Internal compiler error, when array boundary set with
maxval
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aradi at phys dot upb dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21211
More information about the Gcc-bugs
mailing list