NO

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

Offline bitcoin

  • Member
  • *
  • Posts: 179
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: 2266
    • 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: 2096
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.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

Offline bitcoin

  • Member
  • *
  • Posts: 179
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: 2266
    • 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