#239 Segmentation Fault on Compiler Error

closed-fixed
5
2013-05-25
2001-11-28
No

Hi,
When I compile the following, SDCC core dumps.
Geoffrey

void main( void )
{
(*(code void (*)(void))0x900)();
}

sdcc -mmcs51 --model-small --main-return --stack-loc 0x7F -DXilinxBoard -c ScanSegment.c
0 [main] sdcc 1584 open_stackdumpfile: Dumping stack trace to sdcc.exe.stackdump
make: *** [ScanSegment.rel] Segmentation fault (core dumped)

Discussion

  • Johan Knol

    Johan Knol - 2001-12-07
    • assigned_to: nobody --> johanknol
     
  • Johan Knol

    Johan Knol - 2001-12-09
    • milestone: --> fixed
    • status: open --> closed-fixed
     
  • Johan Knol

    Johan Knol - 2001-12-09

    Logged In: YES
    user_id=63512

    fixed in SDCCdflow.c where IC_LEFT(lic) was not a symbol
    but a value

     

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

Sign up for the SourceForge newsletter:





No, thanks