https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |lto, wrong-code
Priority|P3 |P2
Target Milestone|--- |6.2
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
The change with GCC 6 is that the builtins are now lowered during link-time
optimization rather than at compile-time. Thus the abi selection bits are
possibly not transfered correctly (type merging?). I remember the business
was quite ugly, but eventually we just miss to properly transfer the function
attribute.
Needs more investigation.