------- Comment #8 from rguenther at suse dot de 2010-09-04 08:29 -------
Subject: Re: VRP misses oppurtunity for statement
On Fri, 3 Sep 2010, hubicka at gcc dot gnu dot org wrote:
> ------- Comment #7 from hubicka at gcc dot gnu dot org 2010-09-03 20:28
> In #5 the expression is created by PRE via create_expression_by_pieces that
> uses normal fold that is not able of constant variable folding. The statement
> does not get folded later and survives. I guess one can fold all statements
> commit_edge_insertions but it seems by symptomatic?
You need to enhance fully_constant_vn_reference_p.