https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104346
--- Comment #1 from Vivek Rao <vivekrao4 at yahoo dot com> --- It is explained at https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-overloaded-assignment-when-LHS-is-allocatable-array/m-p/1356757/highlight/true#M159812 that the code is not conforming, so this issue can be closed. "In this case, the standard essentially places the onus on the program (and by extension its author) to conform, the processor (compiler being part of it) is not required to issue diagnostics. And the issue is this: with the defined assignment as specified, the standard semantics requires the 'ialloc` to be allocated to the right shape prior to assignment on line 23: "ialloc = ["4","9"]". You can retry with `allocate( ialloc(2) )` statement preceding the above assignment and check the program response."