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
This commit is contained in:
Eric Botcazou 2011-03-30 12:32:12 +00:00 committed by Eric Botcazou
parent 0b99eef6f6
commit 12486e033e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;