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/19910] ICE with -ftree-loop-linear


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-02-11 21:09 -------
This is caused by generating a complex linear offset in the transformed loop,
which the "back to gcc" converter doesn't handle ATM, since they were never
generated before.

(I didn't completly minimize linear offset generation.  If i did, you'd notice
that this loop really goes from  5 to MAX (2, j) or something like that)
Loop w
  step size = -1
  linear offset:
        Linear expression: -i + j constant: 5   invariants:   denominator: 1
  lower bound:
        Linear expression: i - j constant: 0   invariants:   denominator: 1
  upper bound:
        Linear expression: i - j constant: -3   invariants:   denominator: 1
        Linear expression: i constant: -5   invariants:   denominator: 1


-- 


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


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