[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-24 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC|

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #17 from H.J. Lu hjl.tools at gmail dot com 2012-11-24 16:39:00 UTC --- LTO miscompiled: /* Skip frontend and driver specific options here. */ if (!(cl_options[option-opt_index].flags

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #18 from H.J. Lu hjl.tools at gmail dot com 2012-11-24 16:49:43 UTC --- I think LTO is confused extern const struct cl_option cl_options[]; with extern const struct cl_option cl_options*;

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-24 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #19 from H.J. Lu hjl.tools at gmail dot com 2012-11-24 17:03:13 UTC --- The same issue can be reproduced with this patch: diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c index a235f41..cd3730b 100644 --- a/gcc/lto-opts.c +++

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #15 from H.J. Lu hjl.tools at gmail dot com 2012-11-23 20:32:35 UTC --- I still got the same failure as in comment #13 with revision 193763.

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-21 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #14 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-21 21:52:26 UTC --- LTO gets miscompiled. If I configure with: ~/gcc/configure --disable-bootstrap --disable-werror --disable-multilib

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #13 from H.J. Lu hjl.tools at gmail dot com 2012-11-19 21:04:12 UTC --- On hjl/asan branch, I got (gdb) r Starting program: /export/build/gnu/gcc-lto-asan/build-x86_64-linux/prev-gcc/cc1 -fpreprocessed /tmp/x.i -quiet

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-18 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #12 from H.J. Lu hjl.tools at gmail dot com 2012-11-18 13:15:59 UTC --- I got /tmp/cc5sWfOD.s: Assembler messages: /tmp/cc5sWfOD.s:824391: Error: invalid character (0xf7) in mnemonic make[7]: *** [/tmp/ccpgVF41.ltrans24.ltrans.o]

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2012-11-17 15:47:56 UTC --- [hjl@gnu-mic-2 gcc]$ cat /tmp/x.c int main () { } [hjl@gnu-mic-2 gcc]$ ./xgcc -B./ -c -flto /tmp/x.c ==17373== Invalid read of size 8 ==17373==at

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2012-11-17 16:15:50 UTC --- When I add --db-attach=yes, valgrind doesn't report any error.

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #8 from H.J. Lu hjl.tools at gmail dot com 2012-11-17 16:30:20 UTC --- ==17631== Invalid read of size 8 ==17631==at 0x6B2522: output_symtab() (lto-cgraph.c:589) ==17631==by 0x6B87B5: lto_output()

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 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 CC||hubicka at

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #10 from H.J. Lu hjl.tools at gmail dot com 2012-11-17 17:20:19 UTC --- There is a bad memory access in LTO.

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-17 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #11 from H.J. Lu hjl.tools at gmail dot com 2012-11-17 17:30:25 UTC --- It can be reproduced with LTO bootstrap on hjl/valgrind branch at http://gcc.gnu.org/git/?p=gcc.git;a=summary with --enable-checking=valgrind.

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-16 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #5 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-16 19:36:26 UTC --- I'm not sure if it's related, but with gcc built with clang's -fsanitize=address I get: markus@x4 ~ %

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-11-15 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2012-11-16 00:34:07 UTC --- Revision 193543 gave: lto1: internal compiler error: Segmentation fault 0xb37547 crash_signal ../../src-trunk/gcc/toplev.c:334 0x6c0763

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-10-11 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #1 from Uros Bizjak ubizjak at gmail dot com 2012-10-11 17:41:30 UTC --- (In reply to comment #0) It happens at random. Maybe --enable-checking=valgrind can help here?

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-10-11 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-10-11 17:54:11 UTC --- (In reply to comment #1) (In reply to comment #0) It happens at random. Maybe --enable-checking=valgrind can help here? I will give it a try.

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-10-11 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC|

[Bug bootstrap/54795] [4.8 Regression] Random profiledbootstrap failure with LTO

2012-10-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Version|4.7.3