[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
This commit is contained in:
James Greenhalgh 2012-12-18 17:43:25 +00:00 committed by James Greenhalgh
parent c0363bf0d0
commit 7b48660547
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2012-12-18 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
Remove unused variables.
(aarch64_split_compare_and_swap): Likewise.
2012-12-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/driver-arm.c (arm_cpu_table):

View File

@ -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);