Skip to content

Commit 896fbd0

Browse files
authored
Update 2025-11-30-comptime-c-functions.md
1 parent e66e1b4 commit 896fbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2025-11-30-comptime-c-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Here is how it is achieved in C:
2727
- All operations become statically analyzable, reducing to constants.
2828
- `assert()` calls get eliminated when conditions are provably true.
2929

30-
[Link-time optimization](https://en.wikipedia.org/wiki/Interprocedural_optimization) should allow GCC and Clang to perform these optimizations even when the code is split across several object files.
30+
[Link-time optimization](https://en.wikipedia.org/wiki/Interprocedural_optimization) with `-flto` should allow GCC and Clang to perform these optimizations even when the code is split across several object files.
3131

3232
# Generic Stack
3333

0 commit comments

Comments
 (0)