qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] gcc auto-omit-frame-pointer vs msvc longjmp


From: xunxun
Subject: Re: [Qemu-devel] gcc auto-omit-frame-pointer vs msvc longjmp
Date: Sat, 22 Oct 2011 13:13:04 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110929 Thunderbird/7.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]