This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc auto-omit-frame-pointer vs msvc longjmp


Hi, all

It seems that gcc's auto-omit-frame-pointer has other problems.

The example is from mingw bug tracker: http://sourceforge.net/tracker/?func=detail&aid=3426555&group_id=2435&atid=102435

    g++ -O3 main.cpp       running will crash.
    g++ -O2 main.cpp       running no crash.
    g++ -O3 -fno-omit-frame-pointer    running no crash.

I don't know in the end which optimize option defaultly contains this switch "-fomit-frame-pointer" on i686-pc-mingw32 or x86_64-w64-mingw32?

--
Best Regards,
xunxun

Attachment: main.cpp
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]