https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63239
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2014-11-21 CC| |fxcoudert at gcc dot gnu.org Resolution|FIXED |--- Ever confirmed|0 |1 --- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- The testcase fails on x86_64-apple-darwin14. With "g++ -O -std=c++11 -g -dA a.c", we have the following optimized tree dump: ;; Function void bar() (_Z3barv, funcdef_no=3, decl_uid=2126, cgraph_uid=3, symbol_order=3) void bar() () { <bb 2>: # DEBUG this => &foo return; } The assembler (see attachment) does not contain DW_AT_GNU_deleted.