https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69538
--- Comment #3 from ktkachov at gcc dot gnu.org --- I suspect the place to start at is looking what arm_function_value does for the lto case. This is where the code decides what register the function returns its value based on ABI. But I'm having a tough time getting gdb to attach properly to debug the final LTO combination :(