3 ms·
Arm's Work on GCC-14
- repelsteeltje 3y agoWhat is this example meant to illustrate? int foo (int *x, int n) { for (int i = 0; i < n; i++) { if (i > n) break; } } Text around it is a bit confusing (typos?), but I'm pretty sure gcc will remove the if-branch at -O1 as the condition can never be met. I'm sure it's possible to illustrate whatever point they are trying to make with code that actually does something..?