On 08/12/2016 01:17 AM, Richard Biener wrote:
Note that for the main patch I don't like the current state of the divmod libcall issue. I think we need to solve this in a more reasonable manner and not expose this oddness to a GIMPLE level pass.
I haven't looked at the main patch at all.
Any ideas welcome - I don't have a very good one :/ The best idea I have is to not lie about libfunc availability in the optab handler.
Hard to argue with "to not lie about ...". jeff