summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 00:51:43 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-13 00:51:43 +0000
commitc2130a4bfe77e8b210e9ee367d10d12d974e5ad3 (patch)
tree6c252bfe83a897baa2866436f7ce11fdfeebfda8 /gcc/postreload.c
parentabd9e9797381e666a379fc38d3526e74ec60d731 (diff)
downloadlinaro-gcc-c2130a4bfe77e8b210e9ee367d10d12d974e5ad3.tar.gz
linaro-gcc-c2130a4bfe77e8b210e9ee367d10d12d974e5ad3.tar.bz2
linaro-gcc-c2130a4bfe77e8b210e9ee367d10d12d974e5ad3.zip
Silence gcc warning on min_regno.
2010-07-12 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/44921 * postreload.c (move2add_use_add3_insn): Silence gcc warning on min_regno. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162120 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c
index 116c9c433e2..3c493960be3 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -1281,7 +1281,7 @@ move2add_use_add3_insn (rtx reg, rtx sym, rtx off, rtx insn)
rtx src = SET_SRC (pat);
int regno = REGNO (reg);
int min_cost = INT_MAX;
- int min_regno;
+ int min_regno = 0;
bool speed = optimize_bb_for_speed_p (BLOCK_FOR_INSN (insn));
int i;