This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20662] New: Problem with bounds in gfc_conv_intrinsic_bound
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2005 22:08:27 -0000
- Subject: [Bug fortran/20662] New: Problem with bounds in gfc_conv_intrinsic_bound
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is Walt Brainerd's fc004.f95. A trace of f951 shows
(gdb) run fc004.f95
Starting program:
/home/kargl/work/41/libexec/gcc/i386-unknown-freebsd6.0/4.1.0/f951 fc004.f95
zero
MAIN__
to_sub
Program received signal SIGSEGV, Segmentation fault.
0x0809b832 in gfc_conv_intrinsic_bound (se=0xbfbfe490, expr=0x8575180, upper=0)
at ../../gcc41/gcc/fortran/trans-intrinsic.c:679
679 gcc_assert (i >= 0 && i < GFC_TYPE_ARRAY_RANK (TREE_TYPE (desc)));
This is probably related to the other PR's that involve lbound and ubound
--
Summary: Problem with bounds in gfc_conv_intrinsic_bound
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kargl at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20662