https://gcc.gnu.org/g:1f949c2f1ab60a8b3e3d99faff337a921150d2f4

commit r17-2297-g1f949c2f1ab60a8b3e3d99faff337a921150d2f4
Author: Jeff Law <[email protected]>
Date:   Thu Jul 9 20:48:00 2026 -0600

    Fix m68k bootstrap due to diagnostic
    
    Andreas S. noted I put the !! in the wrong place and should have kept
    the macro parameter in its own parens.  Fix with the attached patch.
    
    gcc
            * config/m68k/m68k.h (ASM_PREFERRED_EH_DATA_FORMAT): Adjust parens
            so they wrap the macro parameter.

Diff:
---
 gcc/config/m68k/m68k.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index da572e89b783..7f59dbb3c1b6 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -777,7 +777,7 @@ __transfer_from_trampoline ()                               
        \
 #define ASM_PREFERRED_EH_DATA_FORMAT(CODE, GLOBAL)                        \
   (flag_pic                                                               \
    && !((TARGET_ID_SHARED_LIBRARY || TARGET_SEP_DATA)                     \
-       && ((GLOBAL) || (!!CODE)))                                         \
+       && ((GLOBAL) || !!(CODE)))                                         \
    ? ((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4 \
    : DW_EH_PE_absptr)

Reply via email to