+2006-09-22 Jakub Jelinek <jakub@redhat.com>
+
+ * tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
+ needed.
+
2006-09-21 Richard Sandiford <richard@codesourcery.com>
* varasm.c (copy_constant): Fix reversed gcc_assert check.
|| code == MODIFY_EXPR)
return false;
+ if (EXPR_HAS_LOCATION (stmt)
+ && EXPR_P (expr)
+ && ! EXPR_HAS_LOCATION (expr)
+ && TREE_SIDE_EFFECTS (expr)
+ && TREE_CODE (expr) != LABEL_EXPR)
+ SET_EXPR_LOCATION (expr, EXPR_LOCATION (stmt));
+
switch (TREE_CODE (stmt))
{
case RETURN_EXPR: