https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102319
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- /* Macros for C++17 hardware interference size constants. Either both or neither should be set. */ gcc_assert (!param_destruct_interfere_size == !param_construct_interfere_size); When it is provided by user, assertion isn't the right thing. So, either there should be an assertion that if !global_opts.x_param_destruct_interfere_size && !global_opts.x_param_construct_interfere_size either both are zero or both non-zero (verification that the default setting of this in the backends set both to non-zero), or there can be a warning or error otherwise that user explicitly set something that shouldn't be set that way, or both (assertion for both non-explicit and error if one or both are explicit).