Hello,
I research some error (?)
#include <stdio.h>
#include <windows.h>
int main(int argc,char *argv[])
{
int a = 3;
//return 3;
__try {
a = 0;
puts("try block");
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
puts("except block");
}
return 0;
}
if you uncomment return 3 , it fails in compilation with 'fatal error: Internal error: destroy_x86_index_asgn().'
compiler version?
Works in version 10 for me. Should be an older one.
Quote from: Pelle on May 16, 2021, 09:10:43 PM
compiler version?
version 9
so, sorry if it already fixed
The internal representation of SEH code changed a lot between v9 and v10, so I guess this was "fixed" by new code.