From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020 Galeon/1.3.19 Description of problem: - retrieve the qemu CVS sources (the attached files are from CVS from 20050314 0830GMT CVS, but the problem has been occuring for a while now) - try compile it on FC3 x86_64 (I havn't tried on i386) - Get segfault in qemu's target-i386/op.c file: gcc -Wall -O2 -g -fno-strict-aliasing -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/home/paul/cvs/qemu/target-i386 -I/home/paul/cvs/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/paul/cvs/qemu/fpu -I/home/paul/cvs/qemu/slirp -c -o op.o /home/paul/cvs/qemu/target-i386/op.c /home/paul/cvs/qemu/target-i386/op.c: In function `op_goto_tb0': /home/paul/cvs/qemu/target-i386/op.c:1277: warning: cast to pointer from integer of different size /home/paul/cvs/qemu/target-i386/op.c: In function `op_goto_tb1': /home/paul/cvs/qemu/target-i386/op.c:1282: warning: cast to pointer from integer of different size /home/paul/cvs/qemu/target-i386/op.c: In function `op_divw_AX_T0': /home/paul/cvs/qemu/target-i386/op.c:374: 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/ccTRyOgP.out file, please attach this to your bugreport. See attached C source file and the preprocessed source which gcc advised me to post to bugzilla. Version-Release number of selected component (if applicable): 3.4.2-6.fc3 How reproducible: Always Steps to Reproduce: 1. retrieve qemu CVS 2. configure && make 3. see it segfault in target-i386/op.c Actual Results: Segfault in gcc Expected Results: Should have either compiled the source, or exited with an error. Additional info:
Created attachment 111967 [details] preprocessed source of qemu's target-i386/op.c which caused segv
Created attachment 111968 [details] The original C source file which causes the gcc segfault
*** This bug has been marked as a duplicate of 138627 ***