What 's the optimize option -O2 do?
When i was using icpc to compile my project on linux with -g -O2. I found a segment fault error. While It works when I delete -O2. So how many detail options in -O2 ? How can I fix my problem?
BTW, I used makecontext when I was generating fiber threads.