diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-01-04 09:09:39 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-01-04 09:43:40 +0100 |
commit | dcc4275e667a57b423a6799a7aecf47438878237 (patch) | |
tree | f5c1710d5d180f7e33ff088d4d68577bb9c3d8fc /.gitmodules | |
parent | 9d1e3e301d88a3dad6115043396fdd8d0ee31ca4 (diff) |
Fix hang in do-while loops with continue statement in the body
The construct
do {
...
continue;
} while (condition)
Would result in the body basic block ending with a jump to the loop body,
causing an infinite loop.
Instead we have to place the condition into an extra block and set that one as
the target for continue.
This is also covered by ch12/12.14/S12.14_A9_T2, which uses such a loop.
Change-Id: If06de112b338b74b9a49e3d6b51078463645196d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions