C++ PATCH for useless NOTE_INSN_DELETED_DEBUG_LABELs

Jason Merrill jason@redhat.com
Wed Feb 25 15:56:00 GMT 2015


This isn't the main problem in debug/58315, but when looking at it I saw 
a bunch of useless

# DEBUG <L0> => NULL

lines, which turned out to be deleted debug labels notes for the 
cdtor_label created in start_preparsed_function.  Since this is an 
internal, unnamed label, we shouldn't have debug information about it, 
but we were forgetting to mark it as artificial.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 58315.patch
Type: text/x-patch
Size: 1368 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150225/8aae7fa6/attachment.bin>


More information about the Gcc-patches mailing list