http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45658

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> 2010-09-28 12:06:39 UTC 
---
Hi,
the contant folding in tree-ssa-ccp has several bugs in it concerning to arrays
with non-0 low bounds.  This happens in Ada and fortran and since fortran
produces array constructors that the code confuses in a way that we don't fold
most of time, Ada is probably only one affected.

I rewrote the code but the patch took a while to settle since it is quite
touchy area.  I am just doing final testing and will commit it shortly. 
Hopefully it will fix both the problems.  If not, we need to figure out what
Ada does special about static constructors - this would seem more like a
frontend bug.

Honza

Reply via email to