[Bug debug/50317] [4.7 Regression] missing DW_OP_GNU_implicit_pointer

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 28 13:43:00 GMT 2011


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 13:17:02 UTC ---
Created attachment 25934
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25934
gcc47-pr50317-2.patch

Patch to drop ={v} {CLOBBER} stmts when the lhs lost TREE_ADDRESSABLE bit
during execute_update_addresses_taken.  If I remember well, Micha said that
CLOBBERs for SSA_NAMEs are undesirable and indeed for debug stmts they are just
harmful - the end of the scope is better to be determined from where the scope
in the debug info ends, when we add DEBUG var => {CLOBBER}, it might be still
before a few stmts such as GIMPLE_RETURN in this testcase where it is still
valid.



More information about the Gcc-bugs mailing list