https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #7) > The problem seems really connected to optimization, if I compile our code > with -g -O0 or -g -O1, everything works ok. Next, I will try to check why it > is actually failing (my guess, unconfirmed yet, is that some data structures > are optimized away such that the program runs then on inconsistent data). > Then I will check that specific commit. We are sure that it was introduced > within this time frame, because we have a weekly CI that clones gcc, and > then builds and runs our code and testsuite. That was working on the morning > of June 12, but failed on the morning of June 19. Do you know if -fno-tree-vectorizer causes the issue to go away?