#1369 Abnormal compilation abort

closed-fixed
Maarten Brock
5
2013-05-25
2007-09-05
Anonymous
No

SDCC Version string: SDCC: mcs51 2.7.3 #4095 (Sep 2 2007)

I'm found the next bug in SDCC:
compiler options:
--out-fmt-ihx -mmcs51 --nojtbound --model-small
--main-return --fverbose-asm --stack-auto
Source:
---test.c---
#include <stdbool.h>
static bool var1;
void test(bool var2) {
//In the presence of the next line
//compilation aborted with the SIGSEGV 11!
var1=var2;
}
void main(void) { }
---End of file---
if --stack-auto compiler options is not
used then compilation ends OK.

Discussion

  • Maarten Brock
    Maarten Brock
    2007-09-05

    • labels: --> mcs51(8051) target
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed
     
  • Maarten Brock
    Maarten Brock
    2007-09-05

    Logged In: YES
    user_id=888171
    Originator: NO

    Fixed in SDCC 2.7.3 #4911.