public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/48072] New: Function with __attribute__((used)) is not inlined at -O1 level @ 2011-03-11 13:41 d.g.gorbachev at gmail dot com 2011-03-11 13:47 ` [Bug tree-optimization/48072] " jakub at gcc dot gnu.org 2011-03-11 14:22 ` rguenth at gcc dot gnu.org 0 siblings, 2 replies; 3+ messages in thread From: d.g.gorbachev at gmail dot com @ 2011-03-11 13:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48072 Summary: Function with __attribute__((used)) is not inlined at -O1 level Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: d.g.gorbachev@gmail.com Created attachment 23627 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23627 Testcase ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/48072] Function with __attribute__((used)) is not inlined at -O1 level 2011-03-11 13:41 [Bug tree-optimization/48072] New: Function with __attribute__((used)) is not inlined at -O1 level d.g.gorbachev at gmail dot com @ 2011-03-11 13:47 ` jakub at gcc dot gnu.org 2011-03-11 14:22 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: jakub at gcc dot gnu.org @ 2011-03-11 13:47 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48072 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-11 13:47:27 UTC --- Why should it be? Because of the used attribute it can't be considered as called just once, so -finline-functions-called-once doesn't apply. And it isn't declared inline either. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/48072] Function with __attribute__((used)) is not inlined at -O1 level 2011-03-11 13:41 [Bug tree-optimization/48072] New: Function with __attribute__((used)) is not inlined at -O1 level d.g.gorbachev at gmail dot com 2011-03-11 13:47 ` [Bug tree-optimization/48072] " jakub at gcc dot gnu.org @ 2011-03-11 14:22 ` rguenth at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-03-11 14:22 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48072 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-11 14:22:35 UTC --- Yep. Works as designed. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-11 14:22 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-11 13:41 [Bug tree-optimization/48072] New: Function with __attribute__((used)) is not inlined at -O1 level d.g.gorbachev at gmail dot com 2011-03-11 13:47 ` [Bug tree-optimization/48072] " jakub at gcc dot gnu.org 2011-03-11 14:22 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).