Hello, I've got this strange internal error in gcc:
internal compiler error: in simple_cst_equal, at tree.c:3367 I'm attaching the test code - trivial, no includes. $ gcc test_ice_in_simple_cst_equal.cpp test_ice_in_simple_cst_equal.cpp:25: internal compiler error: in simple_cst_equal, at tree.c:3367 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. $ gcc -v Reading specs from /nfsroot/usr/bin/../lib/gcc-lib/i486-slackware-linux/3.3.4/specs Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.3.4 I don't have a gcc 3.4 or greater at hand now. Can anyone test this code against a newer gcc and report a bug normal way if confirmed? Thanks. Best regards, Alexander Stepanov SoftMine Corp., Software Developer Tel.: (1-212)-400-7584 (7-921)-636-1976 E-mail: [EMAIL PROTECTED] Web: www.softminecorp.com
union foo { unsigned long dword; struct { int a : 1; int b : 2; int c : 13; int d : 16; } bar; }; typedef union foo foobar; class A { public: A(foobar f = ((foobar) {bar: {1,2,4,8}})); ~A() {}; }; class B : public A { public: B(foobar f = ((foobar) {bar: {1,2,4,8}})); ~B() {}; }; B::B(foobar f) : A(f) { };