[PATCH] Fix PR target/37483
Eric Botcazou
ebotcazou@adacore.com
Wed Sep 17 00:09:00 GMT 2008
> No, this last one does not always follow. You can have if_info->b != 0 and
> still have if_info->insn_b == 0. In fact this is the actual case I am
> fixing for MIPS.
>
> When there is only one arm and it sets the value to A then B is X (see
> noce_process_if_block). E.g. with the pr37395.c test:
>
> X: (reg/v:SI 195 [ j ])
> A: (const_int 0)
> B: (reg/v:SI 195 [ j ])
> INSN_A:
>
> (insn 9 8 10 3 pr37395.c:8 (set (reg/v:SI 195 [ j ])
> (const_int 0 [0x0])) 265 {*movsi_internal} (nil))
> INSN_B: NULL
Sorry, I overlooked that. The patch is OK for mainline, but please install it
under PR rtl-optimization/37483 and re-categorize the PR.
--
Eric Botcazou
More information about the Gcc-patches
mailing list