This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27411] New: crashes in sra_walk_expr and emit_move_insn
- From: "1fhcwee02 at sneakemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2006 21:37:47 -0000
- Subject: [Bug fortran/27411] New: crashes in sra_walk_expr and emit_move_insn
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
(My bugs from Jan 2005 now appear to be fixed, so I can retry the same app and
get a little further.)
With the OSX 20060424 prebuilt binary, under OSX 10.4.6, the following code
module gd_calc
type calc_signal_type
integer :: dummy
logical :: used
integer :: signal_number
end type
contains
subroutine activate_gd_calcs (used, outputs)
logical, intent(inout) :: used(:)
type(calc_signal_type), pointer :: outputs(:)
outputs%used = used(outputs%signal_number)
return
end subroutine activate_gd_calcs
end module gd_calc
gives, compiling without -O,
bug1.f90:13: internal compiler error: in emit_move_insn, at expr.c:3236
or, compiling with -O,
bug1.f90:10: internal compiler error: in sra_walk_expr, at tree-sra.c:759
Interestingly, the crash in emit_move_insn goes away if I remove the apparently
unrelated derived-type component named dummy.
--
Summary: crashes in sra_walk_expr and emit_move_insn
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: 1fhcwee02 at sneakemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27411