From 65f480c76f990a2f8060f92d371d1da65dd8ff3a Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 7 Nov 2017 09:21:40 +0000 Subject: [PATCH] [libgcc, rs6000] Remove semicolon after do {} while (0) in REGISTER_CFA_OFFSET_FOR 2017-11-07 Tom de Vries * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon after "do {} while (0)". From-SVN: r254491 --- libgcc/ChangeLog | 5 +++++ libgcc/config/rs6000/aix-unwind.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a808ce3b08e..315934edc1f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-07 Tom de Vries + + * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon + after "do {} while (0)". + 2017-11-07 Tom de Vries PR other/82784 diff --git a/libgcc/config/rs6000/aix-unwind.h b/libgcc/config/rs6000/aix-unwind.h index 156165894ea..9b4ca82f938 100644 --- a/libgcc/config/rs6000/aix-unwind.h +++ b/libgcc/config/rs6000/aix-unwind.h @@ -209,7 +209,7 @@ ucontext_for (struct _Unwind_Context *context) do { \ (FS)->regs.reg[REGNO].how = REG_SAVED_OFFSET; \ (FS)->regs.reg[REGNO].loc.offset = (long) (ADDR) - (CFA); \ -} while (0); +} while (0) static _Unwind_Reason_Code ppc_aix_fallback_frame_state (struct _Unwind_Context *context, -- 2.30.2