sdcc often generates unnecessary genPointerGet / genPointerSet.
A compileable example is attached.
we get a single, efficient genPlus.
We get genPointerGet followed by genPlus followed by genPointerSet, even though generating exactly the same code as above would do (and be much more efficient).
Log in to post a comment.