[c-family] Small fix for -fdump-ada-spec

Eric Botcazou ebotcazou@adacore.com
Thu Oct 18 19:26:00 GMT 2012


The recent introduction of virtual locations revealed a weak spot in the 
implementation of -fdump-ada-spec.

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


2012-10-18  Eric Botcazou  <ebotcazou@adacore.com>

	* c-ada-spec.c (LOCATION_COL): Delete.
	(compare_location): New function.
	(compare_node): Use it.
	(compare_comment): Likewise.


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


More information about the Gcc-patches mailing list