On 09/20/16 18:29, Kyrill Tkachov wrote:
>> I'll try bootstrapping and testing this change on
> ... and I'm hitting the same issue in sel-sched.c:
> if (fixed_regs[regno]
> || global_regs[regno]
> || (!HARD_FRAME_POINTER_IS_FRAME_POINTER && frame_pointer_needed
> && regno == HARD_FRAME_POINTER_REGNUM)
> || (HARD_FRAME_POINTER_REGNUM && frame_pointer_needed
> && regno == FRAME_POINTER_REGNUM)
> I think the condition was copied from regrename.c (or the other way
> so I'll fix it the same way.
Interesting that this warning shakes so many bugs out of the gcc-tree,
but hit zero times for the whole linux and even openssl. Even for the
more aggressive variant I had before.
I would have expected to see at least some false positives there,
but there were none.