! { dg-do run }! The equivalence was causing us to miss out c when laying out the common! block.program common_2common/block/a,b,c,dinteger a,b,c,d,ndimension n(4)equivalence(a,n(1))equivalence(c,n(3))a=1b=2c=3d=4if(any(n.ne.(/1,2,3,4/)))call abortend program