Re: Why doesn't --enable-debug turn off optimization?

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

 



Zitat von "Omari Stephens" <xsdg@xxxxxxxxxxxxx>:

> It seems like running configure with --enable-debug should also disable
> optimization; otherwise you end up with a bunch of magically inlined or
> optimized-out function calls, optimized-out variables, and confusing
> execution order.
>
> Thoughts?
[...]

AFAIK gcc inlines starting with -O3 and higher.

I'm not sure what happens with optimizations with less than -O3,
but maybe the result is not that extremely chaotic.

Completely disabling optimizations would make sure that debugging  
might be possible easily.


Ciao,
    Oliver


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux