This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/41616] Variables promoted to Gimple registers by aliasing are not getting debug statements.



------- Comment #2 from aoliva at gcc dot gnu dot org  2009-10-08 21:34 -------
Yup, ADDR_EXPRs don't count as dereferences in debug stmts, but if the variable
doesn't get a memory location, we end up dropping the whole expression.  We
have to.  Finding another location holding the value of b isn't enough if the
relevant value is the address of b.  Since b did not get a memory location, its
address is non-existent.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]