https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67123
vehre at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #2 from vehre at gcc dot gnu.org --- I can confirm that this is a duplicate of 66927. The code in the description nevertheless needs a tweak in the allocate to read: allocate( as(0:0), ... to allocate an array of size 1, but with bounds 0..0. Using as(0) allocates an array of size 0 with bound 1..0, which then is the next bug that is not fixed by pr66927. Therefore I did not mark this bug as duplicate, but as depends on, because without the fix for 66927 the next "bug" does not show.