https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71884
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #5 from anlauf at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #4)
> (In reply to kargls from comment #3)
> > (In reply to Gerhard Steinmetz from comment #1)
> --- snip ---
> >
> > This now gives
> >
> > % gfcx -c pr71884.f90
> > pr71884.f90:4:25-31:
> >
> > 4 | allocate (character(*) :: z)
> > | 2 1
>
> I am still getting the ICE here. Steve, do you have a patch in there?
Jerry,
I am getting the following since gcc-8:
pr71884-za.f90:3:25-30:
allocate (character(*) :: z)
2 1
Error: Incompatible allocate-object at (1) for CHARACTER type-spec at (2)
But all other variations, like in comment#0, ICE here.