Please find attached a patch that fixes the ARC backend ICE on pr29921-2 test from gcc.dg (dg.exp).
The patch will allow generating conditional move also outside expand scope. The error was triggered during if-conversion. Ok to apply? Claudiu ChangeLog: 2015-11-11 Claudiu Zissulescu <claz...@synopsys.com> * config/arc/arc.c (gen_compare_reg): Swap operands also when we do not expand to rtl.
00-fixpr29921-2.patch
Description: 00-fixpr29921-2.patch