This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Hmm, GCC are catching up :-)
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: Hmm, GCC are catching up :-)
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 20 Aug 2001 17:13:57 -0400
- Cc: gdb at sources dot redhat dot com
- References: <200108201931.f7KJVkn18615@localhost.localdomain>
> In article <3B7DF561.6070609@cygnus.com> you write:
>
>>See:
>>
>> http://gcc.gnu.org/ml/gcc/2001-08/msg00824.html
>>
>>GDB has been persuing this strategy for some time.
>
>
> Won't this potentially cause undefined references at -O0? Or is
> the point that GCC prunes dead code even at -O0?
It is that GCC (and the GNU coding standard) are moving away from #ifdef
spagetti.code - a brave but necessary decision.
This is something GDB, due to multi-arch, has been persuing for some time.
enjoy,
Andrew