From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) Description of problem: I'm not a redhat/fedora user, but I pulled the rhl_branch from gcc.gnu.org and I was building a system. Everything was well (perfect binutils testsuite, decent results from glibc and gcc testsuite) until I got to vim-6.3: gcc -c -I. -Iproto -DHAVE_CONFIG_H -march=i686 -mtune=prescott -fomit-frame-pointer -funroll-loops -maccumulate-outgoing-args -O2 -pipe -o objects/os_unix.o os_unix.c os_unix.c: In function 'mch_settmode': os_unix.c:2697: internal compiler error: Segmentation fault Try building vim-6.3 with gcc-4.0.0, see what happens. Version-Release number of selected component (if applicable): gcc version 4.0.0 20050323 (Red Hat 4.0.0-0.36) How reproducible: Always Steps to Reproduce: 1. Compile vim with gcc4. 2. 3. Actual Results: os_unix.c: In function 'mch_settmode': os_unix.c:2697: internal compiler error: Segmentation fault Expected Results: No segmentation fault Additional info:
Please provide preprocessed os_unix.i (rerun the above command with -save-temps).
Created attachment 112345 [details] preprocessed os_unix.i This is the requested preprocessed os_unix.i, made with: cd vim63/src && cc -c -I. -Iproto -DHAVE_CONFIG_H -march=i686 -mtune=prescott -fomit-frame-pointer -funroll-loops -maccumulate-outgoing-args -O2 -o objects/os_unix.o os_unix.c -save-temps
This is caused by -funroll-loops. funroll-loops is fine with gcc-3.4.3 and this package.