NO

Author Topic: Error SEH (destroy_x86_index_asgn() )  (Read 317 times)

Offline bitcoin

  • Member
  • *
  • Posts: 133
Error SEH (destroy_x86_index_asgn() )
« on: May 16, 2021, 05:32:11 pm »
Hello,
I research some error (?)

Code: [Select]
#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().'

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2127
    • http://www.smorgasbordet.com
Re: Error SEH (destroy_x86_index_asgn() )
« Reply #1 on: May 16, 2021, 09:10:43 pm »
compiler version?
/Pelle

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1826
Re: Error SEH (destroy_x86_index_asgn() )
« Reply #2 on: May 16, 2021, 09:56:15 pm »
Works in version 10 for me. Should be an older one.

Offline bitcoin

  • Member
  • *
  • Posts: 133
Re: Error SEH (destroy_x86_index_asgn() )
« Reply #3 on: May 17, 2021, 01:16:42 am »
compiler version?
version 9
so, sorry if it already fixed

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2127
    • http://www.smorgasbordet.com
Re: Error SEH (destroy_x86_index_asgn() )
« Reply #4 on: May 17, 2021, 04:00:00 pm »
The internal representation of SEH code changed a lot between v9 and v10, so I guess this was "fixed" by new code.
/Pelle