------- Comment #1 from matt at use dot net 2010-04-15 18:21 ------- I'm hitting the same thing when bootstrapping 4.5 on Ubuntu 9.10 using GCC 4.4.1: ../../gcc-4.5-20100408/gcc/fold-const.c: In function fold_checksum_tree: ../../gcc-4.5-20100408/gcc/fold-const.c:14251:3: error: new qualifiers in middle of multi-level non-const cast are unsafe
my configure command: ../gcc-4.5-20100408/configure --prefix=/home/matt --with-system-zlib --enable-clocale=gnu --enable-lto --enable-languages=c,c++,lto --enable-gold --enable-checking=all --enable-werror --enable-bootstrap -with-plugin-ld=ld.gold --with-demangler-in-ld --enable-shared --enable-threads=posix --with-fpmath=sse -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43034