This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/18792] ICE with -O1 -ftree-loop-linear on small test case


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]