aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-06-16 19:28:08 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-10 18:13:08 +0100
commita2011cb2a0a5c72fc2f09e123f38649cbe34c570 (patch)
treee2aa9c37cc83233d59eaec86235b185d563dc360 /parse.c
parent937d0e545ff0ea703be2062dcf3f3ab717183ac7 (diff)
downloadsparse-dev-a2011cb2a0a5c72fc2f09e123f38649cbe34c570.tar.gz
volatile loads are side-effects too
Some branch simplifications are only valid if the branch is free of side-effects. The check is done in flow.c:bb_has_side_effects() but currently deosn't take in account the fact that a volatile load is also a side-effect. Fix this by adding the appropriate check. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'parse.c')
0 files changed, 0 insertions, 0 deletions