public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/41616]  New: Variables promoted to Gimple registers by aliasing are not getting debug statements.
@ 2009-10-07  9:17 hubicka at gcc dot gnu dot org
  2009-10-07 11:26 ` [Bug debug/41616] " hubicka at ucw dot cz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-10-07  9:17 UTC (permalink / raw)
  To: gcc-bugs

In the following testcase:
inline int f(int *a)
{
  return *a;
}
main()
{
  int b=1;
  return f(&b);
}
We ought to be able to track that value of "b" is 1.  However we do not:
main ()
{
<bb 2>:
  # DEBUG a => &b
  return 1;

}


-- 
           Summary: Variables promoted to Gimple registers by aliasing are
                    not getting debug statements.
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: aoliva at gcc dot gnu dot org
        ReportedBy: hubicka at gcc dot gnu dot org
  GCC host triplet: x86_64-linux


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


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

end of thread, other threads:[~2009-10-12 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07  9:17 [Bug debug/41616] New: Variables promoted to Gimple registers by aliasing are not getting debug statements hubicka at gcc dot gnu dot org
2009-10-07 11:26 ` [Bug debug/41616] " hubicka at ucw dot cz
2009-10-08 21:34 ` aoliva at gcc dot gnu dot org
2009-10-12  5:15 ` aoliva at gcc dot gnu dot org
2009-10-12 18:22 ` aoliva at gcc dot gnu dot 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).