From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-21 i686) Description of problem: Internal compiler error in build_insn_chain, at global.c:1857 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.gcc -c xwmain.c 2. 3. Actual Results: xwmain.c: In function `main': xwmain.c:195: Internal compiler error in build_insn_chain, at global.c:1857 Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected Results: normal compile. worked in linux 6.2 with gcc 3.0.2 on a pentium mmx Additional info: currently using gcc 3.0.3 on an AMD duron
Determined that the version of gcc being run was incorrect, since the 3.0.3 install does not overwrite the earlier versions of gcc in /usr/lib, rather puts the new commands in /usr/local/lib. The program compiles without errors using gcc version 2.91.66 running in RedHat version 6.2 The program compiles with the above error using gcc version 2.96 running in RedHat version 7.2 The program compiles with the above error using gcc version 3.0.3 running in RedHat version 7.2 or 6.2
Can you attach xwmain.i (just run gcc -c -save-temps xwmain.c)?
Created attachment 47640 [details] source file causing compiler bug problem
Source file is useless, because I don't have the headers. Can you attach xwmain.i (either run gcc -c -save-temps xwmain.c, or gcc -E xwmain.c -o xwmain.i) please?
Created attachment 47740 [details] compiled as gcc -c -save-temps xwmain.c
Verified 3.2 doesnt crash on this