http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59332

--- Comment #4 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
> Can you expand on those shortcomings/bugs?

There are LTO-related issues in GCC and LD, such as PR43038, PR56536 and
others. Not all problems will be fixed soon, and more bugs will be discovered
in the future. As a workaround, an attribute (a pragma) to disable LTO would
come in handy.

> I don't think that will ever work ;)

__attribute__((optimize("lto"))) works, surprisingly!

Reply via email to