[Bug tree-optimization/52969] [4.7/4.8 Regression] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Apr 13 12:05:00 GMT 2012


--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> 2012-04-13 12:04:38 UTC ---
On Fri, 13 Apr 2012, vincenzo.innocente at cern dot ch wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969
> --- Comment #6 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-04-13 11:59:59 UTC ---
> patch applied to latest trunk.
> success on both cases.
> thanks.
>   v.
> p.s. optimizing the if-conversion to produce a single comparison will be
> appreciated as well

It looks like RTL optimization is able to get rid of the redundant
one for the testcase.  Do you have a testcase where this obviously
not happens?  I do have a patch that should address this.


More information about the Gcc-bugs mailing list