#658 sdcc -mTININative is broken

closed-fixed
Erik Petrich
None
5
2013-05-25
2003-12-11
Rainman
No

given a.c

long Native_method1() _JavaNative
{
long l = NatLib_LoadInt(0);
long k = NatLib_LoadInt(1);
return l-k;
}

If you try:
sdcc -mTININative a.c

You will get:
Assertion failed: FALSE, file SDCCmain.c, line 2120

This application has requested the Runtime to terminate
it in an unusual way.
Please contact the application's support team for more
information.
Caught signal 22: SIGABRT

I have verified that sdcc_20030421_setup.exe does not
have this issue.
Any build after 20030421 has this issue.

Discussion

  • Rainman
    Rainman
    2003-12-11

    • summary: sdcc with -mTININative doesn't work --> sdcc -mTININative is broken
     
  • Erik Petrich
    Erik Petrich
    2003-12-12

    • milestone: --> fixed
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     
  • Erik Petrich
    Erik Petrich
    2003-12-12

    Logged In: YES
    user_id=635249

    Fixed in src/ds390/main.c 1.56

    This change should propagate into the binary snapshots in
    the next day or two.