https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102571

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 51554
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51554&action=edit
gcc12-pr102571.patch

Untested patch for the OpenMP optimization that will result in this bug not
triggering for OpenMP, but it will still trigger for when the user uses
__builtin_clear_padding and __builtin_memcmp by hand (or eventually through
<atomic>).

Reply via email to