diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-03-30 12:32:12 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-03-30 12:32:12 +0000 |
commit | 12486e033e1e90f999a8d88fa5756828c22db662 (patch) | |
tree | 507d86af84db912f50d0ae1f7a5aaceda7a5dfbb /gcc/cfglayout.c | |
parent | 0b99eef6f6069553557497ccf46c82be21947871 (diff) | |
download | gcc-12486e033e1e90f999a8d88fa5756828c22db662.tar.gz |
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
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 464663642c7..548e21f7f4f 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -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; |