https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67538
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #1) > > The following code is invalid since the array dimension is missing, > > but since it is an ICE I am reporting it. > > This is valid since F2003 (implemented recently by Andre Vehreschild), but > it should not give an ICE. Are you sure? There is no array spec. real, allocatabe :: x(:) ! Rank 1 real y y = 42 ! Rank 0 allocate(x , source=y) What are the ubound and lbound of x?