Bug 81823

Summary: Internal compiler error at dwarf2out.c:1341
Product: [Retired] Red Hat Linux Reporter: Denis Komissarov <komissarov>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 11:53:44 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:

Description Denis Komissarov 2003-01-14 11:08:04 UTC
Description of problem:

g++ v. 2.96.87 and 2.96.112 on Alpha failes to compile code where function 
takes large parameters by value. 

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

g++ v. 2.96.87 or 2.96.112 

How reproducible:

Simply try to compile example below: 

---------------------------------------- 
typedef struct { 
   char a[1024*34]; 
} tt; 

void f(tt t) 
{ 
} 

main() 
{ 
   tt t;  
   f(t); 
} 
________________________________________

Steps to Reproduce:
1.
2.
3.
    
Actual results:

Compiler 2.96.112 reports:

gcc-test.c: In function `int main ()':
gcc-test.c:13: Internal compiler error in dwarf2out_frame_debug_expr, 
at dwarf2out.c:1341
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Expected results:
:-) I hope you know what is expected...

Additional info:
The lagest argument value handled is 32Kbytes + 32 bytes.

Comment 1 Jakub Jelinek 2003-01-15 09:55:33 UTC
7.1/alpha is no longer supported. Grab some newer compiler, like GCC 3.2.1.

Comment 2 Denis Komissarov 2003-01-17 16:54:32 UTC
Compiler g++ 3.2.1 has the same bug on Alpha.

Comment 3 Richard Henderson 2004-10-03 11:53:44 UTC
Fails through gcc 3.3; fixed in gcc 3.4.