Re: PATCH: PR lto/55466: Revision 191466 destroyed DWARF debug info

2012-12-10 Thread H.J. Lu
On Mon, Dec 10, 2012 at 1:09 AM, Richard Biener wrote: > On Fri, Dec 7, 2012 at 11:59 PM, H.J. Lu wrote: >> Hi, >> >> Since revision 191466, LTO no longer maintains its own symbol table and >> it uses varpool for variables instead. As the result, debug info on >> variables is lost when GCC is co

Re: PATCH: PR lto/55466: Revision 191466 destroyed DWARF debug info

2012-12-10 Thread Richard Biener
On Fri, Dec 7, 2012 at 11:59 PM, H.J. Lu wrote: > Hi, > > Since revision 191466, LTO no longer maintains its own symbol table and > it uses varpool for variables instead. As the result, debug info on > variables is lost when GCC is configured with > > --enable-bootstrap --with-build-config=bootst

PATCH: PR lto/55466: Revision 191466 destroyed DWARF debug info

2012-12-07 Thread H.J. Lu
Hi, Since revision 191466, LTO no longer maintains its own symbol table and it uses varpool for variables instead. As the result, debug info on variables is lost when GCC is configured with --enable-bootstrap --with-build-config=bootstrap-lto This patch record the global variables if WPA isn't