From 569aafaaf7a02c5cd6d7b69fafac581c61464091 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 26 Jun 2015 12:33:33 +0000 Subject: [PATCH] * config/nvptx/nvptx.md (call_operation): Remove unused variables. From-SVN: r225009 --- gcc/ChangeLog | 4 ++++ gcc/config/nvptx/nvptx.md | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 862bfe2fdc7..798126fea63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-26 Nathan Sidwell + + * config/nvptx/nvptx.md (call_operation): Remove unused variables. + 2015-06-26 Bin Cheng PR bootstrap/66638 diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md index a4df53b91e7..7c2cb9c15bc 100644 --- a/gcc/config/nvptx/nvptx.md +++ b/gcc/config/nvptx/nvptx.md @@ -197,20 +197,17 @@ (define_predicate "call_operation" (match_code "parallel") { - unsigned i; + int i; for (i = 1; i < XVECLEN (op, 0); i++) { rtx elt = XVECEXP (op, 0, i); - enum machine_mode mode; - unsigned regno; if (GET_CODE (elt) != USE || GET_CODE (XEXP (elt, 0)) != REG || XEXP (elt, 0) == frame_pointer_rtx || XEXP (elt, 0) == arg_pointer_rtx || XEXP (elt, 0) == stack_pointer_rtx) - return false; } return true; -- 2.30.2