[PATCH] Make assert in gimple_phi_arg more strict
Tom de Vries
Tom_deVries@mentor.com
Thu Jul 20 10:27:00 GMT 2017
On 07/20/2017 12:05 PM, Richard Biener wrote:
> I've used the following to only init the PHI node up to nargs, not
> capacity (but still consistently zero things). Currently
> bootstrapping/testing on x86_64-unknown-linux-gnu (plus the adjusted
> assert of course).
>
> I think it's slightly cleaner than adjusting nargs if it works out well.
>
Agreed.
> Sorry for duplicating work here.
Np. I also did't like the adjusting nargs solution much, but had no
clear idea on how to do it better.
Thanks,
- Tom
More information about the Gcc-patches
mailing list