diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2022-11-19 19:21:37 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2022-11-19 19:26:03 -0700 |
commit | 6d82e0fea5f988e829912aaa70a9964a81ad4e5e (patch) | |
tree | 7c68a48036883e51617ebcb25f08b005807c7af1 | |
parent | 53a6b2e0d3405c2a4de28a3e065837d5d55f4336 (diff) | |
download | gcc-6d82e0fea5f988e829912aaa70a9964a81ad4e5e.zip gcc-6d82e0fea5f988e829912aaa70a9964a81ad4e5e.tar.gz gcc-6d82e0fea5f988e829912aaa70a9964a81ad4e5e.tar.bz2 |
[PR other/104044] Remove extraneous semicolons
gcc/
PR other/104044
* config/mn10300/mn10300.cc (mn10300_print_operand): Remove
extraneous semicolon.
* config/nvptx/nvptx.cc (nvptx_goacc_reduction_fini): Likewise.
gcc/jit/
PR other/104044
* jit-playback.cc (playback::lvale::mark_addressable): Remove
extraeous semicolon
-rw-r--r-- | gcc/config/mn10300/mn10300.cc | 6 | ||||
-rw-r--r-- | gcc/config/nvptx/nvptx.cc | 2 | ||||
-rw-r--r-- | gcc/jit/jit-playback.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/mn10300/mn10300.cc b/gcc/config/mn10300/mn10300.cc index 2a58dd9..f887d9e 100644 --- a/gcc/config/mn10300/mn10300.cc +++ b/gcc/config/mn10300/mn10300.cc @@ -285,12 +285,12 @@ mn10300_print_operand (FILE *file, rtx x, int code) REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (x), val); fprintf (file, "0x%lx", val[0]); - break;; + break; case E_SFmode: REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (x), val[0]); fprintf (file, "0x%lx", val[0]); - break;; + break; case E_VOIDmode: case E_DImode: mn10300_print_operand_address (file, @@ -344,7 +344,7 @@ mn10300_print_operand (FILE *file, rtx x, int code) REAL_VALUE_TO_TARGET_DOUBLE (*CONST_DOUBLE_REAL_VALUE (x), val); fprintf (file, "0x%lx", val[1]); - break;; + break; case E_SFmode: gcc_unreachable (); case E_VOIDmode: diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc index 2fe120b..ed3807b 100644 --- a/gcc/config/nvptx/nvptx.cc +++ b/gcc/config/nvptx/nvptx.cc @@ -7043,7 +7043,7 @@ nvptx_goacc_reduction_fini (gcall *call, offload_attrs *oa) enum tree_code op = (enum tree_code)TREE_INT_CST_LOW (gimple_call_arg (call, 4)); gimple_seq seq = NULL; - tree r = NULL_TREE;; + tree r = NULL_TREE; push_gimplify_context (true); diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc index bf00690..069ed70 100644 --- a/gcc/jit/jit-playback.cc +++ b/gcc/jit/jit-playback.cc @@ -1647,7 +1647,7 @@ bool playback::lvalue:: mark_addressable (location *loc) { - tree x = as_tree ();; + tree x = as_tree (); while (1) switch (TREE_CODE (x)) |