[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Revisit patch for Bug#11935?
From: |
Eli Zaretskii |
Subject: |
Re: Revisit patch for Bug#11935? |
Date: |
Mon, 05 Dec 2016 17:47:19 +0200 |
> From: Paul Eggert <address@hidden>
> Date: Sun, 4 Dec 2016 18:21:31 -0800
>
> On 12/04/2016 04:07 PM, Ravi Desai wrote:
> > Is this now a good time to revisit the original patch submitted for
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11935 ?
>
> I would guess not. As I recall, Eli is still using GCC 3
No, those days are long gone. 5.3.0 is what I have here now.
> and I suspect some other developers are still using pre-4.8
> GCC. Let's kick this can down the road a while more. I installed the
> attached.
Thanks.
I think this is related not only to the GCC version, but also to
whether developers use -Og when building development versions of
Emacs. I'm still using -O0, and only switch to -Og when I build
pretests (and switch to -O2 when building the released tarballs).
That's because I've found that -Og still makes debugging more
difficult compared to -O0. For example, many values appear as
"optimized out" in the backtraces, which sometimes requires me to go
up the stack very far to find the value. (-Og is actually -O1 with a
couple of more aggressive optimizations disabled, so what I see is not
surprising.)
So the question is how many people who customary debug on the C level
build with -O0, regardless of their compiler version. Could people
who read this please tell what they use?