> Looks ok to me, but can you add a testcase please? I have a testcase, but if -flto the testcase doesn't include *any* definition of the test function, just all the LTO data. Is this normal?
> Also check if 4.9 is affected. It is... same fix works, though.