Evidence for the dependence of the magnetic ordering on the oxygen occupancy in the high-Tc superconductor GdBa2Cu