#1574 SIGSEGV on bad assigment

closed-fixed
5
2013-05-25
2009-10-27
No

The code below causes a SIGSEGV.

sdcc -v
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.4 #5556 (Oct 27 2009) (MSVC)
sdcc test.c
Caught signal 11: SIGSEGV

<---- Code starts here ----->
void main (void)
{
char k;
for(k=1; 1=35; k++);
}

Discussion

  • Maarten Brock

    Maarten Brock - 2009-10-28

    Fixed in SDCC 2.9.4 #5557

     
  • Maarten Brock

    Maarten Brock - 2009-10-28
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed
     

Log in to post a comment.