This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56535] New: ICE: in build2_stat, at tree.c:3885 when compiling with -fsanitize=address
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Mar 2013 13:52:31 +0000
- Subject: [Bug fortran/56535] New: ICE: in build2_stat, at tree.c:3885 when compiling with -fsanitize=address
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56535
Bug #: 56535
Summary: ICE: in build2_stat, at tree.c:3885 when compiling
with -fsanitize=address
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: jakub@redhat.com, janus@gcc.gnu.org
The following tests
FAIL: gfortran.dg/allocate_alloc_opt_10.f90 -O* (internal compiler error)
FAIL: gfortran.dg/class_allocate_1.f03 -O* (internal compiler error)
FAIL: gfortran.dg/class_allocate_12.f90 -O* (internal compiler error)
FAIL: gfortran.dg/class_allocate_3.f03 -O* (internal compiler error)
FAIL: gfortran.dg/class_allocate_6.f03 -O* (internal compiler error)
FAIL: gfortran.dg/class_defined_operator_1.f03 -O* (internal compiler error)
FAIL: gfortran.dg/typebound_operator_9.f03 -O* (internal compiler error)
fail to compile with -fsanitize=address. The error is the same
... internal compiler error: in build2_stat, at tree.c:3885
Reduced test case from class_allocate_1.f03
implicit none
type t1
integer :: comp = 5
class(t1),pointer :: cc
end type
type, extends(t1) :: t2
integer :: j
end type
class(t1),pointer :: cp, cp2
allocate(t2 :: cp2)
allocate(cp, source = cp2)
deallocate(cp)
deallocate(cp2)
end