Bootstrap (revision 126993 with gmp and mpfr in tree) fail with the error: /gcctmp/gcc070727/build/./prev-gcc/xgcc -B/gcctmp/gcc070727/build/./prev-gcc/ -B/usr/local/i386-unknown-netbsdelf3.1/bin/ -DHAVE_CONFIG_H -I. -I../../../gcc/gmp/printf -I.. -D__GMP_WITHIN_GMP -I../../../gcc/gmp -DNO_ASM -g -O2 -fomit-frame-pointer -c ../../../gcc/gmp/printf/printffuns.c -o printffuns.o ../../../gcc/gmp/printf/printffuns.c: In function 'gmp_fprintf_reps': ../../../gcc/gmp/printf/printffuns.c:56: error: type mismatch in binary expression unsigned int
int unsigned int D.4054 = MIN_EXPR <reps, 256> ../../../gcc/gmp/printf/printffuns.c:56: error: type mismatch in binary expression unsigned int int unsigned int D.4055 = MIN_EXPR <i, 256> > ./xgcc -B./ -v Reading specs from ./specs Target: i386-unknown-netbsdelf3.1 Configured with: ../gcc/configure --enable-languages=all,treelang,obj-c++ Thread model: posix gcc version 4.3.0 20070727 (experimental) A cut down example that reproduce the error: #define MIN(l,o) ((l) < (o) ? (l) : (o)) int a; void foo(void) { char buf[10]; a = MIN(a, sizeof (buf)); } -- Summary: error: type mismatch in binary expression Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kristerw at gcc dot gnu dot org GCC build triplet: i386-unknown-netbsdelf3.1 GCC host triplet: i386-unknown-netbsdelf3.1 GCC target triplet: i386-unknown-netbsdelf3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32920