! { dg-do run }! PR 20361 : We didn't check if a large equivalence actually fit on! the stack, and therefore segfaulted at execution timesubroutine test
integeri(1000000), j
equivalence(i(50), j)
j =1if(i(50) /= j)STOP1end subroutine test
call test
end