[Bug c++/104031] [12 regression] Global nested constructors generate invalid code since r12-6329-g4f6bc28fc7dd86bd

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 16 20:37:22 GMT 2022


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

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

This seems to work for the testcase, but dunno if there aren't better fixes.


More information about the Gcc-bugs mailing list