Re: [PATCH] Fix loop interchange ICE on bitfields (PR tree-optimization/83337)

2017-12-09 Thread Richard Biener
On December 9, 2017 11:08:18 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >compute_access_stride does: > tree ref = DR_REF (dr); > tree scev_base = build_fold_addr_expr (ref); >but that really isn't valid for bitfield drs, where we can't take >addresses >of the bitfield. >As I understood this func

[PATCH] Fix loop interchange ICE on bitfields (PR tree-optimization/83337)

2017-12-09 Thread Jakub Jelinek
Hi! compute_access_stride does: tree ref = DR_REF (dr); tree scev_base = build_fold_addr_expr (ref); but that really isn't valid for bitfield drs, where we can't take addresses of the bitfield. As I understood this function only wants to compute strides, so constant bit offsets shouldn't make