diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-04 14:58:40 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-04 14:58:40 +0000 |
commit | cfc70ceceeca864aa59b2bbfb748f23ac695137f (patch) | |
tree | 7115c4f4b31194460ec6ff126d78685d1c9873b9 /gcc/reload1.c | |
parent | cff59264979ac113cb524bab195840adbeca930c (diff) | |
download | gcc-cfc70ceceeca864aa59b2bbfb748f23ac695137f.tar.gz |
PR bootstrap/44756
* ifcvt.c (noce_emit_cmove): Add ATTRIBUTE_UNUSED to target and
unsignedp.
* reload1.c (set_reload_reg): Add ATTRIBUTE_UNUSED to regno.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166313 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 7fd88c1f43a..a8a656e6e4b 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -6025,7 +6025,9 @@ failed_reload (rtx insn, int r) static int set_reload_reg (int i, int r) { - int regno; + /* regno is 'set but not used' if HARD_REGNO_MODE_OK doesn't use its first + parameter. */ + int regno ATTRIBUTE_UNUSED; rtx reg = spill_reg_rtx[i]; if (reg == 0 || GET_MODE (reg) != rld[r].mode) |