Menu

#3566 pdk peep SIGSEGV

closed-fixed
None
other
5
2023-04-12
2023-03-17
No
void foo(char x) __naked {
    __asm__("izsn p");
}

sdcc -mpdk13 --peep-asm test.c

Caught signal 11: SIGSEGV

SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502 TD- 4.2.14 #13898 (MINGW64)

Related

Wiki: NGI0-Entrust-SDCC

Discussion

  • Philipp Klaus Krause

    In [r14004], I improved this a bit. Instead of a SIGSEGV, there is now an "FATAL Compiler Internal Error in file 'SDCCpeeph.c' line number '3727' : skip instruction has no target label". Not perfect yet (a normal error would be better), but at least some kind of error message.

     
    👍
    1

    Related

    Commit: [r14004]

  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    As of [r14005], we have a proper error message.

     

    Related

    Commit: [r14005]


Log in to post a comment.

MongoDB Logo MongoDB