3 ms·
You should be able to remove `restrict` in any valid C program and still compile it and run it with the same result, no? Adding `restrict` can make otherwise va
by int_19h 2y ago
You should be able to remove `restrict` in any valid C program and still compile it and run it with the same result, no? Adding `restrict` can make otherwise valid code UB if there's aliasing, but the reverse shouldn't ever appply.
- School-Cotton 2y agoI think OP meant you could remove the “restrict” keyword from the language and most programs would still compile fine.