Question to C veterans.
How to debug a bug, that only appears with -O2 option.
GDB only works without optimization, but in this case there is no bug.
Also the bug is old, it appears not after code change, but after GCC and clib version upgrade.
How to debug a bug, that only appears with -O2 option.
GDB only works without optimization, but in this case there is no bug.
Also the bug is old, it appears not after code change, but after GCC and clib version upgrade.
Comment