This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/70955] [6/7 Regression] Wrong code generation for __builtin_ms_va_list with -flto


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]