- Dec 11, 1999
- 16,133
- 3,621
- 65
Ever wondered what your C code compiles to? Yes, you can use gcc -S, but finding your function and comparing it to your original code can be a pain in the "S".
So try this:
http://gcc.godbolt.org/
My only little gripe with it is that it doesn't optimize well at all, and adding -O3 breaks it.
http://gcc.godbolt.org/
My only little gripe with it is that it doesn't optimize well at all, and adding -O3 breaks it.