This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30672] Internal compiler error: segment violation
- 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: 2 Feb 2007 00:08:28 -0000
- Subject: [Bug fortran/30672] Internal compiler error: segment violation
- References: <bug-30672-14037@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from kargl at gcc dot gnu dot org 2007-02-02 00:08 -------
Reduced testcase
module current
integer, save :: ndim
real, save :: kv(3,3)
end module current
subroutine dynamic
use current
implicit none
real :: kvf(3,3)
if (ndim .eq. 3) then
call kvector3Df(kvf)
else
kvf(1:3,1:3) = kv(1:3,1:3)
end if
end subroutine dynamic
troutmask:sgk[372] gfc4x -c -O zxc.f90
zxc.f90: In function 'dynamic':
zxc.f90:17: internal compiler error: in operand_equal_p, at fold-const.c:2557
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30672