Re: [PATCH v3] Control flow redundancy hardening

2023-10-20 Thread David Edelsohn
SPARC target header requires memmodel.h. David * gimple-harden-control-flow.cc: Include memmodel.h. *diff --git a/gcc/gimple-harden-control-flow.cc b/gcc/gimple-harden-control-flow.cc* *index 1b345dab766..441df5ac21c 100644* *--- a/gcc/gimple-harden-control-flow.cc* *+++ b/gcc/gimp

Re: [PATCH v3] Control flow redundancy hardening

2023-10-20 Thread David Edelsohn
This patch broke bootstrap on AIX because ASM_GENERATE_INTERNAL_LABEL can embed target-specific functions. Fixed by including tm_p.h. Thanks, David * gimple-harden-control-flow.cc: Include tm_p.h. *diff --git a/gcc/gimple-harden-control-flow.cc b/gcc/gimple-harden-control-flow.cc* *

Re: [PATCH v3] Control flow redundancy hardening

2023-10-20 Thread Alexandre Oliva
Thanks. On Oct 20, 2023, Richard Biener wrote: >> for gcc/ada/ChangeLog >> >> * gcc-interface/trans.cc (gigi): Mark __gnat_reraise_zcx with >> ECF_XTHROW. >> (build_raise_check): Likewise for all rcheck subprograms. >> * gcc-interface/utils.cc (handle_expected_throw_attribute): >> New. >> (gna