diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-06-26 12:33:33 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-06-26 12:33:33 +0000 |
commit | 569aafaaf7a02c5cd6d7b69fafac581c61464091 (patch) | |
tree | 52aeff2a9591ec85884c6907cabd33c4844ad311 /gcc | |
parent | 8710e30220d182f6ab4fe6058360fd726c153990 (diff) | |
download | gcc-569aafaaf7a02c5cd6d7b69fafac581c61464091.zip gcc-569aafaaf7a02c5cd6d7b69fafac581c61464091.tar.gz gcc-569aafaaf7a02c5cd6d7b69fafac581c61464091.tar.bz2 |
* config/nvptx/nvptx.md (call_operation): Remove unused variables.
From-SVN: r225009
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/nvptx/nvptx.md | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 862bfe2..798126f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-26 Nathan Sidwell <nathan@codesourcery.com> + + * config/nvptx/nvptx.md (call_operation): Remove unused variables. + 2015-06-26 Bin Cheng <bin.cheng@arm.com> PR bootstrap/66638 diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md index a4df53b..7c2cb9c 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; |