Commit c48dc958 by Richard Kenner Committed by Richard Kenner

expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless ib_boundaries_block is non-null

	* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
	ib_boundaries_block is non-null

From-SVN: r107180
parent 032e2f50
2005-11-18 Richard Kenner <kenner@don.gnat.com> 2005-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expr.c (expand_expr_real): Don't look at EXPR_HAS_LOCATION unless
ib_boundaries_block is non-null
* postreload.c (reload_cse_move2add): Don't try to work with BImode. * postreload.c (reload_cse_move2add): Don't try to work with BImode.
......
...@@ -6488,7 +6488,7 @@ expand_expr_real (tree exp, rtx target, enum machine_mode tmode, ...@@ -6488,7 +6488,7 @@ expand_expr_real (tree exp, rtx target, enum machine_mode tmode,
information. It would be better of the diagnostic routines information. It would be better of the diagnostic routines
used the file/line information embedded in the tree nodes rather used the file/line information embedded in the tree nodes rather
than globals. */ than globals. */
if (cfun && EXPR_HAS_LOCATION (exp)) if (cfun && cfun->ib_boundaries_block && EXPR_HAS_LOCATION (exp))
{ {
location_t saved_location = input_location; location_t saved_location = input_location;
input_location = EXPR_LOCATION (exp); input_location = EXPR_LOCATION (exp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment