[Ada] Minor tweak to line debug info

Eric Botcazou botcazou@adacore.com
Sat Sep 12 10:42:36 GMT 2020


This prevents the SLOC of the expression for a tag from being present in the 
line debug info every time it is referenced for coverage purposes.

Tested on x86_64-suse-linux, applied on the mainline.


2020-09-12  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.c (gnat_to_gnu) <N_Object_Declaration>: Clear
	the SLOC of the expression of a tag.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 882 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200912/d7f180ff/attachment-0001.bin>


More information about the Gcc-patches mailing list