diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2012-12-18 17:43:25 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2012-12-18 17:43:25 +0000 |
commit | 7b4866054705e10b53d7108af22c2930fd424d71 (patch) | |
tree | f784f9dfbcd8d16bc8bc600fa3462e96417bfa3e /gcc/config | |
parent | c0363bf0d06c8ef54bb5d821ced996e067d27188 (diff) | |
download | gcc-7b4866054705e10b53d7108af22c2930fd424d71.zip gcc-7b4866054705e10b53d7108af22c2930fd424d71.tar.gz gcc-7b4866054705e10b53d7108af22c2930fd424d71.tar.bz2 |
[AArch64] Fix some warnings about unused variables.
gcc/
* config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
Remove unused variables.
(aarch64_split_compare_and_swap): Likewise.
From-SVN: r194588
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 09b1777..03b1361 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -6382,8 +6382,6 @@ aarch64_simd_disambiguate_copy (rtx *operands, rtx *dest, int aarch64_simd_attr_length_move (rtx insn) { - rtx reg, mem, addr; - int load; enum machine_mode mode; extract_insn_cached (insn); @@ -6666,7 +6664,6 @@ aarch64_split_compare_and_swap (rtx operands[]) { rtx rval, mem, oldval, newval, scratch; enum machine_mode mode; - enum memmodel mod_s; bool is_weak; rtx label1, label2, x, cond; @@ -6675,7 +6672,6 @@ aarch64_split_compare_and_swap (rtx operands[]) oldval = operands[2]; newval = operands[3]; is_weak = (operands[4] != const0_rtx); - mod_s = (enum memmodel) INTVAL (operands[5]); scratch = operands[7]; mode = GET_MODE (mem); |