Re: [PATCH] Fix tree-data-ref.c ICE (PR tree-optimization/71872)

2016-07-14 Thread Richard Biener
On July 14, 2016 5:28:03 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >As mentioned in the PR, we ICE on the following testcase, because >tree-data-ref.c for VIEW_CONVERT_EXPR(0) attempts to create >ADDR_EXPR of INTEGER_CST, which is not really valid. > >I've successfully bootstrapped/regtested earli

[PATCH] Fix tree-data-ref.c ICE (PR tree-optimization/71872)

2016-07-14 Thread Jakub Jelinek
Hi! As mentioned in the PR, we ICE on the following testcase, because tree-data-ref.c for VIEW_CONVERT_EXPR(0) attempts to create ADDR_EXPR of INTEGER_CST, which is not really valid. I've successfully bootstrapped/regtested earlier version of this patch with is_gimple_constant instead of is_gimpl