This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove -ffunction-sections debugging warning (PR libstdc++/35597)


On Sun, Mar 16, 2008 at 12:45:39PM -0400, David Edelsohn wrote:
> 	Many GCC options, such as optimization, may affect debugging, but
> GCC does not warn about them.  The warning selectively has been disabled
> for almost all object file formats.

I think most optimizations affect debugging less seriously, but I
don't know exactly what the effects are for this.  Does anyone?
I suspect it is of the general nature "debugging information is
completely useless", and I suspect that it's primarily talking about
COFF/PE.  If it's really bad somewhere, maybe we should replace the
whitelist with a blacklist.


-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]