Web lists-archives.org

Re: [Mingw-users] GCC 4.3.0 20080502 (alpha) Released - Please help us test it!




On Sun, May 11, 2008 at 10:14 AM, Earnie Boyd
<earnie@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Quoting John Marriott <basilisk@xxxxxxxxxxxxxxxx>:
>
>> Earnie Boyd wrote:
>>> Quoting John Marriott <basilisk@xxxxxxxxxxxxxxxx>:
>>>
>>>> Hi there!
>>>>
>>>> When I compile vim 7.1 with -O3, vim crashes when I scroll down with my
>>>> mouse. When I compile with -O2 it works fine.
>>>>
>>>
>>> -03 adds what, inline optimization?
>>>
>> -O3 adds -finline-functions, -funswitch-loops, -fpredictive-commoning
>> and -fgcse-after-reload options.
>>
>
> Can you use -O2 and one at a time add these singularly and then in
> multiples to determine which one(s) is giving the issue?
>
> Earnie
> P.S. Please, don't top post.

The way you track this down is to run with -O3 and progressively add
-fno-* options to disable *successively* (as opposed to sequentially)
more options until you find the one that triggers the failure.

Also, it is important to note that -OX levels add more optimizations
than can be turned on manually with -f options.  ie, -O is more than
just a meta-option for a long list of -f options.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users