https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120358
--- Comment #10 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 61748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61748&action=edit small.cxx Not sure if this testcase is valid but it aborts with >=15 with -O3 and works with -fno-tree-pta. It still needs to link against Qt though.