Description of problem: g++ fails with message mem.cc: In member function `int PODS_arena<Maxbuf, Blob_sz, N_buckets>::find_to_alloc(unsigned int) [with int Maxbuf = 32, int Blob_sz = 4096, int N_buckets = 8]': mem.cc:9: instantiated from here mem.cc:377: Internal compiler error in tsubst_decl, at cp/pt.c:5653 Please submit a full bug report, with preprocessed source if appropriate. Version-Release number of selected component (if applicable): $ g++ -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) How reproducible: Completely Steps to Reproduce: 1.Compile preprocessed source code attached 2. 3. Actual results: As shown above Expected results: Additional info:
Created attachment 99389 [details] preprocessed source code
3.2.2-5? That is not RHEL3 GCC nor from any of the RHEL3 updates. With gcc 3.2.3-32 I don't get any such ICE.