Ridiculous bug: gcc segfaults when trying to compile a file without read-permissions. Version-Release number of selected component (if applicable): gcc-3.4.2-6.fc3 How reproducible: Always Steps to Reproduce: 1. touch a.c 2. chmod a-r a.c 3. gcc a.c Actual Results: cc1: a.c: Permission denied cc1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Expected Results: Only "cc1: a.c: Permission denied".
Can't reproduce this with gcc 3.4.3-15. Guess this was fixed by the non-existent file ICE fix in 3.4.3-1.