From: Nathan Sidwell Date: Fri, 26 Jun 2015 12:33:33 +0000 (+0000) Subject: * config/nvptx/nvptx.md (call_operation): Remove unused variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=569aafaaf7a02c5cd6d7b69fafac581c61464091;p=gcc.git * config/nvptx/nvptx.md (call_operation): Remove unused variables. From-SVN: r225009 --- 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;