Hide Forgot
Description of problem: GCC Segfault on compiling trivial file Version-Release number of selected component (if applicable): gcc-4.6.2-1.fc16.i686 How reproducible: Just compile with optimization gcc -O2 -g -march=i386 -mtune=i686 test.c int main () { ; return 0; } Actual results: test.c: In function 'main': test.c:2:2: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Expected results: Additional info:
In that case something is wrong on your side, works just fine here and obviously we wouldn't release gcc if it didn't compile such trivial programs. So, just check rpm -V gcc cpp to see if you don't have disk corruption, or check your memory with memtest86, verify your cooling is ok etc. And see if it is reproduceable for you.
Sorry, reboot fixes this probleem for me.