From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.16-0.7 i486) Description of problem: scan3.c: In function `addstr': scan3.c:15: Internal compiler error in force_nonfallthru_and_redirect, at cfgrtl.c:921 Version-Release number of selected component (if applicable): $ rpm -q gcc gcc-3.1-0.11 How reproducible: Always Steps to Reproduce: 1.gcc -O -c scan3.c -o scan3.o 2. 3. Actual Results: see Description of problem Expected Results: With optimization removed, compilation succeed gcc -O0 -c scan3.c -o scan3.o Additional info: attach file, scan3.c
Created attachment 41751 [details] C source file
Should be fixed in gcc-3.1-0.12 and up.