aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2012-11-27 16:16:10 +0000
committerDehao Chen <dehao@google.com>2012-11-27 16:16:10 +0000
commita00ff7ee53e13342f2951965835ebe05b104c784 (patch)
treeff16f3506f76a7ebac9b514a57c43b1920c9bf01 /gcc/emit-rtl.c
parent2a45472631ee8d9842dec6f2442949148b967e8a (diff)
2010-11-27 Dehao Chen <dehao@google.com>
* ipa-prop.c (ipa_modify_call_arguments): Set loc correctly. * emit-rtl.c (last_location): Remove unused variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index a15be5194b3..08c4b60683b 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -5954,7 +5954,7 @@ location_t epilogue_location;
/* Hold current location information and last location information, so the
datastructures are built lazily only when some instructions in given
place are needed. */
-static location_t curr_location, last_location;
+static location_t curr_location;
/* Allocate insn location datastructure. */
void
@@ -5962,7 +5962,6 @@ insn_locations_init (void)
{
prologue_location = epilogue_location = 0;
curr_location = UNKNOWN_LOCATION;
- last_location = UNKNOWN_LOCATION;
}
/* At the end of emit stage, clear current location. */