106e0cd412
To do this with a clean conscience, I needed to convert the unroll- counting logic from a linear time algorithm to constant-time. Getting all the edge cases correct requires a lot of care, and there are now plenty of unit tests. Change-Id: I620909d069ac425b7310e345bf80ec844fe035f8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/445643 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
19 lines
876 B
Plaintext
19 lines
876 B
Plaintext
### Compilation failed:
|
|
|
|
error: 6: loop must guarantee termination in fewer iterations
|
|
error: 7: invalid loop expression
|
|
error: 8: invalid loop expression
|
|
error: 9: loop must guarantee termination in fewer iterations
|
|
error: 14: loop index must not be modified within body of the loop
|
|
error: 15: loop index must not be modified within body of the loop
|
|
error: 16: loop index must not be modified within body of the loop
|
|
error: 18: loop must guarantee termination in fewer iterations
|
|
error: 19: loop must guarantee termination in fewer iterations
|
|
error: 20: loop must guarantee termination in fewer iterations
|
|
error: 21: loop must guarantee termination in fewer iterations
|
|
error: 22: invalid loop expression
|
|
error: 23: invalid loop expression
|
|
error: 24: loop must guarantee termination in fewer iterations
|
|
error: 25: loop must guarantee termination in fewer iterations
|
|
15 errors
|