[Ada] Adjust source location on boolean inversions

Eric Botcazou ebotcazou@adacore.com
Sun Oct 10 12:38:00 GMT 2010


This yields more precise debug info for complex conditional expressions.

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


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

	* gcc-interface/trans.c (gnat_to_gnu) <N_Not_In>: Use
	invert_truthvalue_loc instead of invert_truthvalue.
	* gcc-interface/utils2.c (build_binary_op) <NE_EXPR>: Likewise.
	(build_unary_op) <TRUTH_NOT_EXPR>: Likewise.


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


More information about the Gcc-patches mailing list