We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd65ed2 commit 71b426dCopy full SHA for 71b426d
_posts/2025-11-30-comptime-c-functions.md
@@ -216,7 +216,7 @@ It still keeps the `calloc()` and `free()` around:
216
ret
217
```
218
219
-But GCC manages to optimize them away when the `printf("All tests passed.\n");` at the end of `main()` is removed, for some reason?!
+But GCC manages to optimize them away when the `printf("All tests passed.\n");` at the end of `main()` is removed, for some unkown reason.
220
221
Copy of the code on [Compiler Explorer](https://godbolt.org/z/eecK3rK7z):
222
@@ -334,5 +334,6 @@ static inline void macro_version(size_t capacity) {
334
int main() {
335
size_t capacity = 2;
336
macro_version(capacity);
337
+ printf("All tests passed.\n");
338
}
339
0 commit comments