http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46820
Dmitry Gorbachev <d.g.gorbachev at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22654|0 |1 is obsolete| | Attachment #22655|0 |1 is obsolete| | --- Comment #5 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2010-12-06 17:40:44 UTC --- Created attachment 22661 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22661 Reduced testcase for bug in comment #2 gcc -flto -flto-partition=1to1 *.c Bug in comment #1 seems to be invalid. I cannot reproduce it with __attribute__((used)).