diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 16:27:25 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 16:27:25 +0000 |
commit | d92517d3f1d9a3fb26e32fe3329886f9827b1bff (patch) | |
tree | 812c2e153e37795e5437312ef33ee111bc26fd89 /gcc/expr.c | |
parent | 1b91bf884f99270105b10d5562916ca60cd4b74e (diff) | |
download | gcc-d92517d3f1d9a3fb26e32fe3329886f9827b1bff.tar.gz |
PR bootstrap/44756
* expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
* haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
to i.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index e994f938b6f..caac0662887 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2261,7 +2261,8 @@ can_store_by_pieces (unsigned HOST_WIDE_INT len, enum machine_mode mode, tmode; enum insn_code icode; int reverse; - rtx cst; + /* cst is set but not used if LEGITIMATE_CONSTANT doesn't use it. */ + rtx cst ATTRIBUTE_UNUSED; if (len == 0) return 1; |