Before revision:  The generalization error of the gradient descent solution does not suffer from the curse of dimensonality if the solution is in a Barron-type space .
After revision:  The generalization error of the least-squares optimization for second-order linear PDEs and two-layer neural networks, when the right-hand-side function of the PDE is in a Barron-type space .