[Bug c++/103657] New: GCC can no longer throw EH on x86_64-w64-mingw32 hosted 64 bits

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 10 20:02:44 GMT 2021


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

            Bug ID: 103657
           Summary: GCC can no longer throw EH on x86_64-w64-mingw32
                    hosted 64 bits
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

#include<cstdio>

int main()
try
{
        throw 0;
}
catch(...)
{
        puts("Hello EH\n");
        return 1;
}


GCC cannot catch EH on windows anymore.

while clang and g++ -m32 all work


More information about the Gcc-bugs mailing list