gcc/gcc/ada/gcc-interface
Eric Botcazou ca80e52b01 c-common.c (c_common_truthvalue_conversion): Use LOCATION to build NE_EXPR operations as well.
* c-common.c (c_common_truthvalue_conversion): Use LOCATION to build
	NE_EXPR operations as well.
	* c-parser.c (c_parser_condition): Do not set location information on
	the condition.
	(c_parser_conditional_expression): Likewise.
	(c_parser_binary_expression): Set location information on operators.
	* c-typeck.c (build_unary_op) <TRUTH_NOT_EXPR>: Reset the location if
	TRUTH_NOT_EXPR has been folded.
	* fold-const.c (fold_truth_not_expr): Copy location information from
	the incoming expression to the outgoing one.
	* gimplify.c (shortcut_cond_r): Add locus parameter.  Pass it to
	recursive calls on the LHS of the operator but pass that of the
	operator to recursive calls on the RHS of the operator.  Set it
	on the COND_EXPR.
	(shortcut_cond_expr): Set the locus of the operator on the second
	COND_EXPR and that of the expression on the first in degenerate cases.
	Pass the locus of the expression to calls to shortcut_cond_r.
	Set the locus of the 'then' block on the associated jump, if any.
	(gimplify_boolean_expr): Add locus parameter.  Set it on the COND_EXPR.
	(gimplify_expr) <TRUTH_ANDIF_EXPR>: Pass the locus of the outer
	expression to call to gimplify_boolean_expr.
ada/
	* gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info.

From-SVN: r146532
2009-04-21 17:17:13 +00:00
..
Make-lang.in Make-lang.in: Update dependencies 2009-04-20 15:45:37 +02:00
Makefile.in Make-lang.in: Update dependencies 2009-04-20 15:45:37 +02:00
ada-tree.def Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ada-tree.h ada-tree.h (TYPE_RM_SIZE_NUM): Delete. 2009-04-21 17:05:09 +00:00
ada.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
config-lang.in
cuintp.c
decl.c ada-tree.h (TYPE_RM_SIZE_NUM): Delete. 2009-04-21 17:05:09 +00:00
gigi.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
lang-specs.h
lang.opt Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
misc.c ada-tree.h (TYPE_RM_SIZE_NUM): Delete. 2009-04-21 17:05:09 +00:00
targtyps.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
trans.c c-common.c (c_common_truthvalue_conversion): Use LOCATION to build NE_EXPR operations as well. 2009-04-21 17:17:13 +00:00
utils.c ada-tree.h (TYPE_RM_SIZE_NUM): Delete. 2009-04-21 17:05:09 +00:00
utils2.c