Commit 12486e03 by Eric Botcazou Committed by Eric Botcazou

cfglayout.c (insn_locators_alloc): Initialize curr_location and last_location to UNKNOWN_LOCATION.

	* cfglayout.c (insn_locators_alloc): Initialize curr_location and
	last_location to UNKNOWN_LOCATION.

From-SVN: r171722
parent 0b99eef6
2011-03-30 Eric Botcazou <ebotcazou@adacore.com>
* cfglayout.c (insn_locators_alloc): Initialize curr_location and
last_location to UNKNOWN_LOCATION.
2011-03-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/48349
......
......@@ -253,8 +253,8 @@ insn_locators_alloc (void)
locations_locators_locs = VEC_alloc (int, heap, 32);
locations_locators_vals = VEC_alloc (location_t, heap, 32);
last_location = -1;
curr_location = -1;
curr_location = UNKNOWN_LOCATION;
last_location = UNKNOWN_LOCATION;
curr_block = NULL;
last_block = NULL;
curr_rtl_loc = 0;
......
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