Re: [IPA PATCH] Refactor decl localizing

2017-01-17 Thread Jan Hubicka
> This patch refactors the decl localizing that happens in > function_and_variable_visibility. It doesn't fix the bug I'm working on > (that's next). > > Both the FOR_EACH_FUNCTION and FOR_EACH_VARIABLE loops contain very similar, > but not quite the same code for localizing a definition that it'

Re: [IPA PATCH] Refactor decl localizing

2017-01-17 Thread Nathan Sidwell
Ping? On 01/06/2017 04:25 PM, Nathan Sidwell wrote: This patch refactors the decl localizing that happens in function_and_variable_visibility. It doesn't fix the bug I'm working on (that's next). Both the FOR_EACH_FUNCTION and FOR_EACH_VARIABLE loops contain very similar, but not quite the sam

[IPA PATCH] Refactor decl localizing

2017-01-06 Thread Nathan Sidwell
This patch refactors the decl localizing that happens in function_and_variable_visibility. It doesn't fix the bug I'm working on (that's next). Both the FOR_EACH_FUNCTION and FOR_EACH_VARIABLE loops contain very similar, but not quite the same code for localizing a definition that it's deter