Xcode 4.0.2 Release was released on 12 Apr 2011 and requires macOS 10.6.8+.
It can be downloaded from https://download.developer.apple.com/Developer_Tools/xcode_4.0.2_and_ios_sdk_4.3/xcode_4.0.2_and_ios_sdk_4.3.dmg.
Release notes are located at https://download.developer.apple.com/Developer_Tools/xcode_4.0.2_and_ios_sdk_4.3/final_xcode_4.0.2_readme.pdf.
The compilers it contains are:
- clang 2.0 (Build 137)
- LLVM-GCC (Build 2335.9)
- GCC 4.0 (Build 5494)
- GCC 4.2 (Build 5666)