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

Reply via email to