Hi,

this patch removes a semicolon after "do {} while (0)" in REGISTER_CFA_OFFSET_FOR (no ChangeLog yet).

Can you build & test this patch (or approve as trivial)?

Thanks,
- Tom
[libgcc, rs6000] Remove semicolon after do {} while (0) in REGISTER_CFA_OFFSET_FOR

---
 libgcc/config/rs6000/aix-unwind.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcc/config/rs6000/aix-unwind.h b/libgcc/config/rs6000/aix-unwind.h
index 1561658..9b4ca82 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,

Reply via email to