[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-27 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #27 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2012-11-27 13:56:37 UTC --- Author: hjl Date: Tue Nov 27 13:56:31 2012 New Revision: 193848 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193848 Log: Handle

[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #25 from Richard Biener rguenth at gcc dot gnu.org 2012-11-26 12:24:30 UTC --- (In reply to comment #23) Another problem with revision 191466 is we lost debug info on cl_options. With revision 191465, I got (gdb)

[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #26 from H.J. Lu hjl.tools at gmail dot com 2012-11-26 13:29:17 UTC --- (In reply to comment #25) This means that somewhere there is a cl_option definition that may prevail that has size 1. lto_symtab_resolve_symbols is

[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Component|bootstrap |lto ---

[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #23 from H.J. Lu hjl.tools at gmail dot com 2012-11-25 22:36:48 UTC --- Another problem with revision 191466 is we lost debug info on cl_options. With revision 191465, I got (gdb) whatis cl_options type = const struct

[Bug lto/54795] [4.8 Regression] LTO miscompiled external array access

2012-11-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #24 from H.J. Lu hjl.tools at gmail dot com 2012-11-25 22:39:57 UTC --- (In reply to comment #23) Another problem with revision 191466 is we lost debug info on cl_options. With revision 191465, I got (gdb) whatis