Re: [PATCH] Fix PR71893

2016-07-18 Thread Thomas Schwinge
Hi! On Fri, 15 Jul 2016 15:19:59 +0200 (CEST), Richard Biener wrote: > This PR shows that (There is also PR71901 suspected to be related; David CCed.) > array_ref_element_size may apply spurious casts which > in turn end up confusing VN/PRE. > > Fixed as follows, bootstrapped on x86_64-unknow

[PATCH] Fix PR71893

2016-07-15 Thread Richard Biener
This PR shows that array_ref_element_size may apply spurious casts which in turn end up confusing VN/PRE. Fixed as follows, bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2016-07-15 Richard Biener PR tree-optimization/71893 * tree-ssa-pre.c (create_c