Description of problem: when compiling C++ code with the '%zd' format specifier, the compiler crashes. $ cat test.cc #include <stdio.h> int main(void) { printf("output is %zd", 123); } $ gcc test.cc -o test -Wall test.cc: In function `int main ()': test.cc:4: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Version-Release number of selected component (if applicable): gcc-2.96-113 gcc-c++-2.96-113 How reproducible: Every time. Steps to Reproduce: 1. create small test program (above) 2. compile as above Actual results: compiler crash Expected results: successful compilation
This occurs due to the format conversion checking due to -Wformat (within -Wall)
Fixed in gcc-3.2.3-20.