Monte Carlo study of SU(3) gauge theory on a 12sup4 lattice