public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/47799] New: LTO debug info for early inlined functions missing
@ 2011-02-18 14:29 rguenth at gcc dot gnu.org
  2011-03-01 10:45 ` [Bug lto/47799] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-18 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: LTO debug info for early inlined functions missing
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: lto
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org


FAIL: gcc.dg/guality/pr43329-1.c  -O2 -flto  line 12 argx == 25

is because we inline foo during early inlining and the BLOCKs of the
inline instance are not emitted.  With -fno-early-inlining it succeeds.
That is, the effect of

  /* Output the inlining info for this abstract function, since it has been
     inlined.  If we don't do this now, we can lose the information about the
     variables in the function when the blocks get blown away as soon as we
     remove the cgraph node.  */
  (*debug_hooks->outlining_inline_function) (cg_edge->callee->decl);

isn't reflected in the LTO IL and thus gets lost.

The information should still be there in the inlined BLOCKs abstract
origins though, no?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-04 11:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 14:29 [Bug lto/47799] New: LTO debug info for early inlined functions missing rguenth at gcc dot gnu.org
2011-03-01 10:45 ` [Bug lto/47799] " rguenth at gcc dot gnu.org
2011-03-03 11:24 ` rguenth at gcc dot gnu.org
2012-09-28 11:07 ` rguenth at gcc dot gnu.org
2012-09-28 13:09 ` rguenth at gcc dot gnu.org
2012-10-01 10:58 ` rguenth at gcc dot gnu.org
2012-10-04 11:25 ` 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).