#1629 error 9: FATAL Compiler Internal Error in file 'SDCCicode.c'

closed-works-for-me
hc08 port (43)
5
2010-09-23
2010-03-29
jerry tres
No

Command used to compile:
sdcc -mhc08 --stack-loc 0x01FF --code-loc 0xBA00 -c -o bin/ usb.c

SDCC version: SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.0 #5416 (Feb 5 2010) (UNIX)

Error messages:
usb.c:52: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
usb.c:66: error 9: FATAL Compiler Internal Error in file 'SDCCicode.c' line number '1413' : operandOperation invalid operator
Contact Author with source code
sdcc: SDCCicode.c:1415: operandOperation: Assertion `0' failed.
Caught signal 6: SIGABRT

Discussion

  • jerry tres
    jerry tres
    2010-03-29

     
    Attachments
  • jerry tres
    jerry tres
    2010-03-30

    I have tried to compile the same code with the latest snapshot (SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 2.9.7 #5761 (Mar 30 2010) (Linux)) and I'm getting the same behavior.
    The error is (new line #)
    usb.c:52: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
    usb.c:66: error 9: FATAL Compiler Internal Error in file 'SDCCicode.c' line number '1401' : operandOperation invalid operator
    Contact Author with source code
    sdcc: SDCCicode.c:1403: operandOperation: Assertion `0' failed.
    Caught signal 6: SIGABRT

     
  • jerry tres
    jerry tres
    2010-04-02

    I was able to do a little more testing on this: I narrowed it down to &UE0D0 on lines 50, 52, 54 and 56 (usb.c). After removing / replacing these the compiler doesn't crash anymore...

     
    • status: open --> closed-works-for-me
     
  • I cannot reproduce this bug in sdcc 2.9.7 #5983.

    Philipp

     
    • assigned_to: nobody --> spth