File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Here are the used optimization flags:
3636- Passing ` -O3 ` to the compiler tells it to optimize the code very hard.
3737- Passing ` -march=native ` to the compiler tells it to make optimizations based on your specific CPU.
3838
39- Copy of the code on [ Compiler Explorer] ( https://godbolt.org/z/fdf5acdcn ) :
39+ Copy of the code on [ Compiler Explorer] ( https://godbolt.org/z/33Tzh5hKo ) :
4040
4141``` c
4242#include < assert.h>
@@ -116,7 +116,7 @@ void fn_version(size_t n) {
116116 Pair p1 = {.a = 10, .b = 20};
117117 Pair p2 = {.a = 111, .b = sin(222.0)}; // sin() is optimized away!
118118
119- // assert()s get optimized away when they are provably true
119+ // assert()s get optimized away when they are provably correct at compile time
120120 assert(stack_push(&s, &p1) == SUCCESS);
121121 assert(stack_push(&s, &p2) == SUCCESS);
122122
You can’t perform that action at this time.
0 commit comments