Eliminate gcov warning messages

Eric Botcazou ebotcazou@adacore.com
Sun Jun 6 15:38:00 GMT 2010


This eliminates gcov warning messages of the form:

  <built-in>:cannot open source file

generated for size functions in Ada.

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


2010-06-06  Eric Botcazou  <ebotcazou@adacore.com>

	* stor-layout.c (self_referential_size): Set UNKNOWN_LOCATION on the
	newly built CALL_EXPR.
	* tree-profile.c (tree_profiling): Return 0 for built-in stuff.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 1081 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100606/f0126dee/attachment.bin>


More information about the Gcc-patches mailing list