https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104848
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |anlauf at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2022-03-09 --- Comment #1 from anlauf at gcc dot gnu.org --- Interesting. It might be the arithmetic overflow that is not properly handled. program p integer, parameter :: a(2, 0) = 0 integer, parameter :: y(*) = minval(a, dim=2) print *, y ! no ICE print *, y-1 ! no ICE print *, y+1 ! ICE end