Menu

#1693 False "unreachable code" warnings when using "--nolabelopt"

closed-fixed
Ben Shi
None
other
5
2015-06-25
2010-10-11
No

Platform: Cygwin 1.7.x on Windows XP Professionnal
SDCC version: 3.0.0 RC1 (compiled from source)
Target: Z80
To built: Type "./built.sh"

When using "--nolabelopt" option, compiler can complain about unreachable code, although the actual code is reachable.

Question: is "--nolabelopt" is a supported options ?

Discussion

  • Claude Sylvain

    Claude Sylvain - 2010-10-11

    False "unreachable code" warnings when using "--nolabelopt" option, test case

     
  • Philipp Klaus Krause

    This is not Z80-specific.

    Philipp

     
  • Philipp Klaus Krause

    • labels: 100692 -->
     
  • Ben Shi

    Ben Shi - 2015-06-25

    Fixed in reversion #9262.

     
  • Ben Shi

    Ben Shi - 2015-06-25
    • status: open --> closed-fixed
    • assigned_to: Ben Shi
    • Category: --> other
     

Log in to post a comment.