Bug 39184 - ICE in tree_low_cst, at tree.c:4976
Summary: ICE in tree_low_cst, at tree.c:4976
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.3.3
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 20:53 UTC by Joel Sherrill
Modified: 2011-02-08 19:36 UTC (History)
3 users (show)

See Also:
Host:
Target: avr-rtems4.10
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed test case (2.45 KB, text/plain)
2009-02-13 20:54 UTC, Joel Sherrill
Details

Note You need to log in before you can comment on or make changes to this bug.
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.