From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040809 Description of problem: While compiling qemu's current CVS code, gcc has an internal compiler error: /home/bs/src/qemu/target-i386/op.c: In function `op_divw_AX_T0': /home/bs/src/qemu/target-i386/op.c:301: 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. Preprocessed source stored into /tmp/ccksDRvQ.out file, please attach this to your bugreport. Version-Release number of selected component (if applicable): gcc-3.4.1-9 How reproducible: Always Steps to Reproduce: 1. checkout current qemu CVS from savannah.nognu.org 2. cd into the qemu source directory, run ./configure 3. then run make Actual Results: gcc ICE: /home/bs/src/qemu/target-i386/op.c: In function `op_divw_AX_T0': /home/bs/src/qemu/target-i386/op.c:301: 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. Preprocessed source stored into /tmp/ccksDRvQ.out file, please attach this to your bugreport. Expected Results: Correctly finished compiling the program. Additional info:
Created attachment 103601 [details] preprocessed source of file gcc crashed on
also on fedora rawhide (gcc 3.4.1-10), the same function though with all dependencies fixed on a smaller example doesn't segfault the compiler, which might hint to a side effect of the previously compiled code. gcc35-3.5.0-0.9 segfaults on the same function. but compat-gcc-8-3.3.4.2 manages to complete the compilation and linking of a hopefully healthy binary (even if is not supported as per the docs and shows TONS of compilation warnings)
Reproduced, looking into it.
Moved upstream, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17825