https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116254
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc64-linux-gnu, |powerpc64-linux-gnu,
|powerpc64le-linux-gnu |powerpc64le-linux-gnu
|riscv64 |riscv64 x86_64-*-*
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also FAILs on x86_64 with -m32:
Running target unix//-m32
FAIL: gfortran.dg/class_transformational_2.f90 -Os execution test
(and yes, gfortran.dg/class_transformational_1.f90 instead ICEs)
The reduced testcase yields
shape (c) = 4 2 2
a%i = 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2
a%j = 10 10 10 10 20 20 20 20 10 10 10 10 20 20 20 20
debugging the failing testcase shows:
48 if (any (a%i .ne. ii)) stop stop_flag + 2
(gdb) l
43
44 subroutine check_result
45 if (any (shape (c) .ne. ishape)) stop stop_flag + 1
46 select type (a)
47 type is (s)
48 if (any (a%i .ne. ii)) stop stop_flag + 2
49 if (any (a%j .ne. ij)) stop stop_flag + 3
50 end select
51 end
52
(gdb) p a
$1 = ( _data = (( i = 16843009 ), ( i = 16843009 ), ( i = 0 ), ( i = 0 ), ( i =
16843009 ), ( i = 16843009 ), ( i = 0 ), ( i = 0 ), ( i = 16843009 ), ( i =
16843009 ), ( i = 0 ), ( i = 0 ), ( i = 16843009 ), ( i = 16843009 ), ( i = 0
), ( i = 0 )), _vptr = 0x804d060 <__vtab_MAIN___S.21> )
(gdb) p ii
Location address is not set.
(gdb) p ij
Location address is not set.
called from check_spread.