https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Status|WAITING |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
--- Comment #6 from Richard Biener ---
Note that the GCC 9 branch is no longer maintained so the issue is fixed in all
maintained versions? If so please close as fixed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
--- Comment #5 from federico ---
My bad, the SEGFAULT is my mistake, I've made a half-baked example that does
not work. Here's the fixed one:
module test
implicit none
type::t
integer, allocatable :: iloc(:)
contains
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to federico from comment #3)
> Right: here is a version where the object is initialized:
>
> https://godbolt.org/z/o566cPG8P
>
> I also see that for the versions that compile (e.g.,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
--- Comment #3 from federico ---
Right: here is a version where the object is initialized:
https://godbolt.org/z/o566cPG8P
I also see that for the versions that compile (e.g., 11.1.0), there's a weird
SEGFAULT error at this line:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
--- Comment #2 from anlauf at gcc dot gnu.org ---
Playing a little, I found that the issue might be related to the elemental
function isa.
The following dumb replacement
function isa(this,i)
class(t), intent(in) :: this
integer,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106771
anlauf at gcc dot gnu.org changed:
What|Removed |Added
CC||anlauf at gcc dot gnu.org