[Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 6 07:56:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list