Bug 120803

Summary: g++ internal failure in tsubst_decl, at cp/pt.c:5653
Product: Red Hat Enterprise Linux 3 Reporter: Mark Terribile <materribile>
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 20:38:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
preprocessed source code none

Description Mark Terribile 2004-04-14 00:25:05 UTC
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:

Comment 1 Mark Terribile 2004-04-14 00:26:41 UTC
Created attachment 99389 [details]
preprocessed source code

Comment 2 Jakub Jelinek 2004-04-14 12:55:36 UTC
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.