Description of problem: I use a lot of warning flags and I've been seeing gcc crash building firefox and freetype (but not many other projects I build). Anyway, I have tracked it down to -Wmissing-include-dirs and a minimal test case. Should be something very silly. Version-Release number of selected component (if applicable): cpp-4.1.1-51.fc6 Steps to Reproduce: 1. Create a file named x.c containing one line: #include "x.h" 2. Run: cpp -Wmissing-include-dirs -Ixx x.c Actual results: 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: # 1 "x.c" # 1 "<built-in>" # 1 "<command line>" # 1 "x.c" x.c:1:22: error: x.h: No such file or directory
Sorry, can't reproduce this, with either cpp-4.1.1-51.fc6 on ppc32 or cpp-4.1.1-52.el5.1 on x86_64. All I get is: cpp -Wmissing-include-dirs -Ixx x.c cc1: warning: xx: No such file or directory # 1 "x.c" # 1 "<built-in>" # 1 "<command line>" # 1 "x.c" x.c:1:15: error: x.h: No such file or directory