http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52074
Bug #: 52074 Summary: ICE: RTL flag check: MEM_VOLATILE_P used with unexpected rtx code 'plus' in extract_fixed_bit_field, at expmed.c:1734 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: d...@gcc.gnu.org seen with trunk 20120131, on a powerpc-linux-gnu biarch build, defaulting to 32bit. Configured with: -v --enable-languages=c,c++,fortran,go --prefix=/usr/lib/gcc-snapshot --enable-shared --enable-linker-build-id --with-system-zlib --disable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --disable-libmudflap --disable-libitm --enable-plugin --enable-secureplt --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --disable-werror --with-long-double-128 --enable-checking=yes --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu the 32bit libgo does build, but the 64bit build doesn't: libtool: compile: /home/doko/gcc/snap/gcc-snapshot-20120131/build/./gcc/gccgo -B/home/doko/gcc/snap/gcc-snapshot-20120131/build/./gcc/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/bin/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnu/lib/ -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/include -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnu/sys-include -O2 -g -m64 -fPIC -mstrict-align -I . -c -fgo-prefix=libgo_compress ../../../../src/libgo/go/compress/flate/deflate.go ../../../../src/libgo/go/compress/flate/huffman_bit_writer.go ../../../../src/libgo/go/compress/flate/huffman_code.go ../../../../src/libgo/go/compress/flate/inflate.go ../../../../src/libgo/go/compress/flate/reverse_bits.go ../../../../src/libgo/go/compress/flate/token.go ../../../../src/libgo/go/compress/flate/util.go -fPIC -o compress/.libs/flate.o ../../../../src/libgo/go/compress/flate/huffman_bit_writer.go: In function 'flate.writeBytes.pN37_libgo_compress.flate.huffmanBitWriter': ../../../../src/libgo/go/compress/flate/huffman_bit_writer.go:171:9: internal compiler error: RTL flag check: MEM_VOLATILE_P used with unexpected rtx code 'plus' in extract_fixed_bit_field, at expmed.c:1734 Please submit a full bug report, with preprocessed source if appropriate.