Menu

#2453 Segmentation fault

closed-fixed
None
other
5
2016-08-03
2016-01-05
No

I found the attached code that makes SDCC #9439 crash with SIGSEGV on my Debian GNU/Linux system. It seems all backends are affected (tried hc08, stm8, gbz80).

Philipp

1 Attachments

Related

Bugs: #2241

Discussion

  • Ben Shi

    Ben Shi - 2016-01-06

    I made some modification to your original test.c.

    When building with "sdcc test.c -c -mstm8", it seems something wrong at line 2324, file SDCCopt.c.
    ebbi = iCodeBreakDown (ic);
    computeControlFlow (ebbi);

    A label "_eBBlock1" is eliminated, but still be refered by other ICs.

     
  • Erik Petrich

    Erik Petrich - 2016-08-03
    • status: open --> closed-fixed
    • assigned_to: Erik Petrich
     
  • Erik Petrich

    Erik Petrich - 2016-08-03

    Fixed in [r9708]

    "you are in a graph of twisty little eBBlocks, all different" -- this one was really tricky.

     

Log in to post a comment.

Monday.com Logo