#1772 FATAL Compiler Internal Error

closed-fixed
5
2013-05-25
2011-03-18
No

FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/mcs51/gen.c' line number '6869' : 0
Contact Author with source code
-----------sourec snip --------

__sbit __at 0x96 P1_6;

__bit err_alarm,pg_alarm,smb_alarm,ifan_alarm;

void main(void)
{
P1_6 = err_alarm & pg_alarm & smb_alarm & ifan_alarm;
}

-------------- snap --------
SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037 (Oct 31 2010) (Linux)

/usr/bin_300/sdcc -mmcs51 --model-small -c error.rel error.c
error.c:7: error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/mcs51/gen.c' line number '6869' : 0
Contact Author with source code

AND with more than 3 bitvariables caus this error

It works with this old SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.6.4 #4663 (Mar 5 2007) (UNIX)

The Version SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.8.2 #5199 (Jul 23 2008) (UNIX)
make a 'Caught signal 11: SIGSEGV' (it is a 64 bit binary)

Discussion

  • Maarten Brock

    Maarten Brock - 2011-03-20

    Fixed in SDCC 3.0.2 #6328.

     
  • Maarten Brock

    Maarten Brock - 2011-03-20
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks