4.0.3 20051008 ICEs while compiling ths, using Boost CVS-HEAD #include <boost/crc.hpp> // for boost::crc_basic, etc.
// Run tests on CRCs below a byte in size (here, 3 bits) void small_crc_test1() { unsigned char const samples[4][4] = { { 0x3A, 0xC4, 0x08, 0x06 }, { 0x42, 0xC5, 0x0A, 0x41 }, { 0x4A, 0xC5, 0x08, 0x22 }, { 0x52, 0xC4, 0x08, 0x05 } }; boost::crc<3, 0x03, 0, 0, false, false>(samples[0], 4); } 3.4 and 4.1 accept this, I think 4.0 might have done until recently. -- Summary: [4.0 regression] Boost causes ICE in build_c_cast, at cp/typeck.c:5231 Product: gcc Version: 4.0.3 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: redi at gcc dot gnu dot org GCC host triplet: x86_64-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24277