Compiler not compiling lines of code - just skipping it

Comments

1 comment

  • Avatar
    Andy 980f

    Did you try putting parens around the (...flags&Uart...) ==0 expression?
    The compiler might be deciding that your expression is always false and therefore not bothering to emit code that will never run.

    "dead code removal" has been getting more aggressive with each release of gcc.

    0
    Comment actions Permalink

Please sign in to leave a comment.