summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-26 21:13:27 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-26 21:13:27 +0000
commited8fbc5553e145aafc874dab11d08850ce52e744 (patch)
treef640ce769cb3d4c245324e4e17bd1690f24b4ff5
parent931645bc159f79ff57d4d6a64bbe6682be24e7c0 (diff)
downloadgcc-ed8fbc5553e145aafc874dab11d08850ce52e744.tar.gz
PR middle-end/56461
* lra-spills.c (lra_spill): Free spill_hard_reg at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196294 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lra-spills.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc6b1d6b363..2bee7d99eec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/56461
+ * lra-spills.c (lra_spill): Free spill_hard_reg at the end.
+
2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com>
* config/arm/arm.c (const_ok_for_dimode_op): Back out last change.
diff --git a/gcc/lra-spills.c b/gcc/lra-spills.c
index 6ac80beb9b4..163ca11509d 100644
--- a/gcc/lra-spills.c
+++ b/gcc/lra-spills.c
@@ -568,6 +568,7 @@ lra_spill (void)
free (slots);
free (pseudo_slots);
free (pseudo_regnos);
+ free (spill_hard_reg);
}
/* Apply alter_subreg for subregs of regs in *LOC. Use FINAL_P for