Bug 81823 - Internal compiler error at dwarf2out.c:1341
Internal compiler error at dwarf2out.c:1341
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.1
alpha Linux
high Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-14 06:08 EST by Denis Komissarov
Modified: 2007-03-27 00:00 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-03 07:53:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Denis Komissarov 2003-01-14 06:08:04 EST
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 04:55:33 EST
7.1/alpha is no longer supported. Grab some newer compiler, like GCC 3.2.1.
Comment 2 Denis Komissarov 2003-01-17 11:54:32 EST
Compiler g++ 3.2.1 has the same bug on Alpha.
Comment 3 Richard Henderson 2004-10-03 07:53:44 EDT
Fails through gcc 3.3; fixed in gcc 3.4.

Note You need to log in before you can comment on or make changes to this bug.