This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2004 23:09:39 -0000
- Subject: [Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case
- References: <20041202193143.18792.fjahanian@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at dberlin dot org 2004-12-07 23:09 -------
Subject: Re: ICE with -O1 -ftree-loop-linear
on small test case
It's actually a bug in compute_data_dependence then, not linear xforms.
the dist and dir vector computation functions need to map between the
loops we've asked for, and indexes in their array, in a different way.
Currently this is done by assuming that the indexes are sequential, and
we just subtract the index of the top of the nest, and use that as the
index into the array.
If the loop indexes aren't sequential in a nest, this won't work.
We'll have to use a mapping array or something.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18792