Fortunately Homebrew and MacPorts can just ship a gcc and get on with things.
If this turns into a "real issue", such that XCode 3 was rescinded and XCode 4 remained paid only - as opposed to some stupid accounting problem which might mean it would be bundled free with Lion, with XC3 hanging around for (Snow) Leopard - then I suspect we'll soon see MacPorts or their kin come up with a downloadable toolchain based on this existing Apple open source work that would allow them to continue virtually unchanged.