From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Jonathan Larmour Cc: gdb@sources.redhat.com Subject: Re: Hmm, GCC are catching up :-) Date: Tue, 21 Aug 2001 06:42:00 -0000 Message-id: <3B817D95.7060504@cygnus.com> References: <200108201931.f7KJVkn18615@localhost.localdomain> X-SW-Source: 2001-08/msg00168.html > 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