[Bug c/59332] Segmentation fault in inline_summary with LTO + attribute optimize
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 29 13:17:00 GMT 2013
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!
More information about the Gcc-bugs
mailing list