Created attachment 498878 [details] preprocessed Description of problem: with -O3 0-length object is output. With -save-temps it is not 0-length. with -O2 it is not 0-length Version-Release number of selected component (if applicable): gcc-4.6.0-6.fc15.x86_64 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I can't reproduce this. Even if gcc produced zero-length assembly (which it doesn't), the corresponding object file wouldn't be zero-length. So, either you have full disk, or assembler crashed. You can strace -f it to see what was going on.
It appears this was due to corrupted .ccache!. After rm -rf ~/.ccache, seems to be fixed. What fun tracking this down. So a defect in ccache. But nasty. No segfault, no errors. Just quietly 0-length output.