[PATCH] Fix PR66168: ICE due to incorrect invariant register info

Steven Bosscher stevenb.gcc@gmail.com
Tue May 19 11:29:00 GMT 2015


On Tue, May 19, 2015 at 12:17 PM, Thomas Preud'homme wrote:
> 2015-05-18  Thomas Preud'homme
>
>         PR rtl-optimization/66168
>         * loop-invariant.c (move_invariant_reg): Set inv->reg to destination
>         of inv->insn when moving an invariant without introducing a temporary
>         register.

Not OK.
This will break in move_invariants() when it looks at REGNO (inv->reg).

Ciao!
Steven



More information about the Gcc-patches mailing list