gcc ICE's on src/lib/libc/stdio/vfprintf.c in the FreeBSD source tree. vp.c is a preprocessed copy of the file: hammer# gcc -c vp.c hammer# gcc -c -O vp.c vp.c: In function `__vfprintf': vp.c:2904: internal compiler error: in change_address_1, at emit-rtl.c:2017 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Release: gcc version 3.3 20030505 (prerelease) Environment: Target is FreeBSD/amd64, bug appears both when cross compiling and when natively hosted. Native compiler passes 'make bootstrap' tests. How-To-Repeat: Compile as above, with -O or higher.
Fix: Not-really-a-fix: remove -O.
Responsible-Changed-From-To: unassigned->rth Responsible-Changed-Why: .
State-Changed-From-To: open->analyzed State-Changed-Why: Fixed with http://gcc.gnu.org/ml/gcc-patches/2003-05/msg00629.html Applied to mainline; waiting for 3.3.1 to open.
Patch appled to 3.3 branch.
Close.