This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make assert in gimple_phi_arg more strict


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]