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

Dimitar Yordanov <dimitar.yordanov at sap dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dimitar.yordanov at sap dot com

--- Comment #12 from Dimitar Yordanov <dimitar.yordanov at sap dot com> ---
Hi,

after the fix we hit a regression with:

$ cat > main.cpp << EOF

#include <atomic>

static std::atomic<int> a[1] { {1} };

int main(void)
{
  if (!a[0].load())
    __builtin_abort ();
  return 0;
}

EOF

$ g++ main.cpp && ./a.out

Best wishes
Dimitar

Reply via email to