Bug 39184

Summary: ICE in tree_low_cst, at tree.c:4976
Product: gcc Reporter: Joel Sherrill <joel>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED WORKSFORME    
Severity: normal CC: eric.weddington, gcc-bugs, ralf.corsepius
Priority: P3    
Version: 4.3.3   
Target Milestone: ---   
Host: Target: avr-rtems4.10
Build: Known to work:
Known to fail: Last reconfirmed:
Attachments: preprocessed test case

Description Joel Sherrill 2009-02-13 20:53:44 UTC
ICE at -O1 and -02.  Target specific error message at -O0.  But even that would be more helpful if it told what the actual limit was.

$ avr-rtems4.10-gcc   -mmcu=avr25 -O2 j.c -c
../../../../../rtems/cpukit/telnetd/des.c: In function 'des_init':
../../../../../rtems/cpukit/telnetd/des.c:274: internal compiler error: in tree_low_cst, at tree.c:4976
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$  avr-rtems4.10-gcc   -mmcu=avr25 -O0 j.c -c
../../../../../rtems/cpukit/telnetd/des.c:87: error: size of variable 'des_f' is too large
Comment 1 Joel Sherrill 2009-02-13 20:54:10 UTC
Created attachment 17298 [details]
preprocessed test case
Comment 2 abnikant 2009-08-17 10:03:30 UTC
The attached preprocessed file compiles fine with avr-gcc-4.4.0,4.3.2,4.3.3 with --mmcu=avr25 for all optimization levels.
Comment 3 Andrew Pinski 2010-01-04 18:13:40 UTC
I think you attached the wrong preprocessed source.
Comment 4 Joel Sherrill 2011-02-08 19:36:01 UTC
OK.  Either I screwed up or it is fixed.