https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121321
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > This code seems undefined at this point though. Fixed in MySQL's commit 96ccd8dc9f9795ff4a671ef0cbf952732461b8a7 Author: Jakub Łopuszański <jakub.lopuszan...@oracle.com> AuthorDate: Thu Apr 4 19:15:38 2024 +0200 Commit: Jakub Łopuszański <jakub.lopuszan...@oracle.com> CommitDate: Thu Sep 5 19:22:14 2024 +0200 Bug#36302624 performance_schema.data_lock_waits is generated with O(N^3) complexity But it never made it into MariaDB.