This is the mail archive of the gcc-help@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: 4.6.1-RC1: Using LTO in canadian cross


On 23 June 2011 18:49, Ian Lance Taylor wrote:
>> Then I read somewhere that LTO does not work together with -g. Is that
>> still true for 4.6/4.7 or did I ran in some documentation-rot?
>
> I believe that some aspects of -g still do not work correctly with LTO,
> but basic debugging does work. ?I think that some type information is
> not correctly conveyed to the debugger, but you can still print
> variables, structs, etc.

I've encountered one ICE using LTO which was solved by removing -g
from the compilation command.  Unfortunately it was in proprietary
code and I wasn't able to reduce it to anything that I could report,
so this a fairly useless anecdote.


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