Tags

links:
http://stackoverflow.com/questions/2219829/how-to-prevent-gcc-optimizing-some-statements-in-c

summary:
– violatile
– pragma
– __attribute__ e.g. void __attribute__((optimize(“O0”))) foo (int i, int j)

Advertisements