Bug 77590

Summary: Internal compiler error in tree_low_cst, at tree.c:4325
Product: [Retired] Red Hat Linux Reporter: Kim Woodle <kim.woodle>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: other   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 10:33:04 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
C++ source none

Description Kim Woodle 2002-11-09 22:02:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en]C-CCK-MCD MS4.76 V20001206.2  (Win98; U)

Description of problem:
When compiling my code, I get the message
In file included from NvpEstim.C:14:
NvpEstim.H:137: Internal compiler error in tree_low_cst, at tree.c:4325

Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
gmake: *** [../build/ia32.linux.2.4.lib6/gcc296/cc-g/NvpEstim.o] Error 1

also
line NvpEstim.H:137 is the closing bracket }; at the end of a class definition
ID_EXEC=ia32.linux.2.4.lib6
gcc 2.96
Using Rogue Wave Source Pro 3.1


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.gmake install
2.
3.
	

Actual Results:  internal compiler error descibed above

Expected Results:  compilation of source code succeeds on SUN platform

Additional info:

Comment 1 Kim Woodle 2002-11-09 22:07:06 UTC
Created attachment 84364 [details]
C++ source

Comment 2 Jakub Jelinek 2002-11-09 22:37:14 UTC
This looks like http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00738.html
Below is a quick backport of the patch, no testing other than it compiles
and fixes something similar to what I see in your header.
begin 644 gcc296-c++-big-struct.patch.bz2
M0EI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OB*W7(R^/]WWU.IM-2
MU)CHP].54#V\E4WE3D&[U5%D!)5LD#[+MN[@\6H^%E4#!=@`N7T=YE,'_Q=R
(13A0D"&37VL`
`
end

Comment 3 Richard Henderson 2004-10-03 10:33:04 UTC
The provided test case does appear to be a large struct issue.
And Jakub's patch is in current releases.