[Bug tree-optimization/50644] ICE in set_is_used added today

2011-10-13 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50644 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-13 13:22:40 UTC --- Note I need to keep reverting this patch to do any substantial builds. I hear it's also failing for other too. Any progress in fixing it? Thanks.

[Bug lto/50679] New: Linux kernel LTO tracking bug

2011-10-09 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50679 Bug #: 50679 Summary: Linux kernel LTO tracking bug Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/50620] undefined reference errors / csmith lto testing

2011-10-09 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50620 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added CC||andi-gcc

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #11 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-08 16:47:54 UTC --- Created attachment 25445 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25445 patchkit I tested this patchkit which implements most of the ideas from

[Bug lto/50666] New: bad error reporting for TMPDIR full

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50666 Bug #: 50666 Summary: bad error reporting for TMPDIR full Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Attachment #25445|0 |1

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #14 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-08 21:10:13 UTC --- Thanks for the review. Fixed the accounting I'll leave the xmalloc_failed hook out for now: it would need a retry path which is somewhat complicated

[Bug middle-end/25957] -fstack-protector code on i386/x86_64 can be improved.

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25957 --- Comment #11 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-08 23:27:02 UTC --- I just checked and the problem is still there with 4.7.0 20111002 xorq%fs:40, %rax jne .L4 addq$120, %rsp

[Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-09 02:31:38 UTC --- Looked at this now again debug_function doesn't work. TDF_UID was also not available, but i hardcoded it. (gdb) call debug_function (cfun-decl, 18) (gdb

[Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build

2011-10-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-09 04:05:52 UTC --- i changed the code now to save ret_val in a volatile global. This is a bit better (gdb) p saved_ret_val $5 = (volatile tree) 0x2afc557b68c0 (gdb) p result

[Bug target/50302] inefficient float-double conversion in AVX with -mtune=generic

2011-10-07 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50302 --- Comment #4 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-07 14:40:02 UTC --- Sorry yes my mistake.

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-07 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #10 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-07 14:44:10 UTC --- To track the pattern you can simply use strace or ftrace (I did ftrace) I checked the kernel code now and if the madvise is big enough it won't split up

[Bug c/50624] detecting array overflows regressed

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-06 14:49:19 UTC --- Easy case = constant expressions as index? Would the frontend be able to handle short array[1]; i = 1; array[i]

[Bug other/50636] New: GC in large LTO builds cause excessive fragmentation in memory map

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 Bug #: 50636 Summary: GC in large LTO builds cause excessive fragmentation in memory map Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED

[Bug other/50639] New: -flto=jobserver broken on large LTO build

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50639 Bug #: 50639 Summary: -flto=jobserver broken on large LTO build Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-06 21:31:56 UTC --- I would prefer to free in 2MB chunks if possible I was experimenting with increasing the quire size from 1 to 2MB so that a modern kernel with transparent

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-06 21:46:32 UTC --- If it's a 2MB page then madvise MADV_DONTNEED will split it if it's not 2MB aligned. It would be good to optimize the freeing pattern so that this happens

[Bug tree-optimization/50644] New: ICE in set_is_used added today

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50644 Bug #: 50644 Summary: ICE in set_is_used added today Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/50644] ICE in set_is_used added today

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50644 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added CC||matz at gcc

[Bug lto/44992] ld -r breaks LTO

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44992 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug lto/46905] -flto -fno-lto does not disable lto

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46905 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug lto/45475] target use in libcpp breaks LTO bootstrap

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45475 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-07 05:47:54 UTC --- *** Bug 50302 has been marked as a duplicate of this bug. ***

[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug other/50636] GC in large LTO builds cause excessive fragmentation in memory map

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50636 --- Comment #7 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-07 05:50:40 UTC --- *** Bug 50511 has been marked as a duplicate of this bug. ***

[Bug lto/50511] gcc lto streamer in fragments memory badly

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50511 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/50302] inefficient float-double conversion in AVX with -mtune=generic

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50302 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug lto/44463] whopr does not work with weak functions

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44463 --- Comment #12 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-07 05:52:08 UTC --- Honza, I think that is fixed now, correct? I should probably drop my workarounds but haven't yet

[Bug c/50624] New: detecting array overflows regressed

2011-10-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 Bug #: 50624 Summary: detecting array overflows regressed Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority:

[Bug c/50624] detecting array overflows regressed

2011-10-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-05 18:56:24 UTC --- Thanks. It's not a pure regression. Even 4.5 misses some easy cases: especially the local stack array case, which should be in theory really easy.

[Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build

2011-10-04 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 --- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2011-10-04 13:22:09 UTC --- Hmm, are you saying gdb fooled me? Any other suggestions how to debug it?

[Bug tree-optimization/50602] New: ICE in tree_nrv, at tree-nrv.c:155 during large LTO build

2011-10-03 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 Bug #: 50602 Summary: ICE in tree_nrv, at tree-nrv.c:155 during large LTO build Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build

2011-10-03 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Version|unknown |4.7.0

[Bug tree-optimization/50587] New: ICE init_range_entry, at tree-ssa-reassoc.c:1698 caused by recent change

2011-10-01 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50587 Bug #: 50587 Summary: ICE init_range_entry, at tree-ssa-reassoc.c:1698 caused by recent change Classification: Unclassified Product: gcc Version: unknown Status:

[Bug target/50583] Many __sync_XXX builtin functions are incorrect

2011-09-30 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50583 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-30 23:35:29 UTC --- Can't say I'm a fan of adding such a heavy weight sequence into an intrinsic. Maybe better to simply leave out the intrinsics that cannot be implemented

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 15:58:26 UTC --- Looking...

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 18:03:21 UTC --- I don't see the problem on a 64bit bootstrap-lto. I guess i must have written some 32bit unsafe code.

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #9 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 18:17:08 UTC --- Created attachment 25381 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25381 Use long long in lto-plugin Can you please test this patch? Thanks.

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #10 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 18:19:02 UTC --- I did the same patch (with long long) I think using long long here is ok because lto-plugin only builds on modern and non weird hosts and they should all

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #14 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 18:27:11 UTC --- But that's what I did? % diffstat plugin-fix lto-plugin.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) I don't see why long

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #15 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 18:28:18 UTC --- Hmm good point. Maybe the splay tree can be fixed. Otherwise have to use 32bit ids on 32bit, but then the risk of collisions is higher again.

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #18 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 20:36:50 UTC --- Created attachment 25384 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25384 fix + splay tree I have some unrelated trouble with a 32bit bootstrap

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #24 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 23:06:35 UTC --- Thanks. Does it work with this change?

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #27 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 23:21:12 UTC --- Hmm is that just for efficiency or did you fix another bug? (not worrying about efficiency too much because this tree has only one entry per input file)

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #28 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 23:22:17 UTC --- I don't understand which overflow you refer to. Can you please clarify? afaik a - b is the standard way to write these comparison functions.

[Bug lto/50568] [4.7 Regression] Massive LTO failures

2011-09-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50568 --- Comment #30 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-29 23:33:52 UTC --- Okay. Can you post the patch then?

[Bug lto/50511] New: gcc lto streamer in fragments memory badly

2011-09-24 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50511 Bug #: 50511 Summary: gcc lto streamer in fragments memory badly Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize

2011-09-13 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 --- Comment #7 from Andi Kleen andi-gcc at firstfloor dot org 2011-09-13 16:00:24 UTC --- I haven't tried 32bit or GCOV recently, so not sure. I can try next time. I was still stuck on the other problem with the confused linker plugin ids.

[Bug target/50302] New: inefficient float-double conversion in AVX with -mtune=generic

2011-09-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50302 Bug #: 50302 Summary: inefficient float-double conversion in AVX with -mtune=generic Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED

[Bug testsuite/49341] [4.7 Regression] FAIL: gcc.dg/20051207-3.c and gcc.dg/tls/section-1.c

2011-06-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49341 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-13 02:45:50 UTC --- Thanks for fixing. I should have gotten it done earlier.

[Bug bootstrap/49344] ICE in tree-flow-inline.h:745 while bootstrap

2011-06-09 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49344 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-09 16:06:34 UTC --- Hmm, it's hard to see how my patch could have caused this. It doesn't really change any RTL. Does the test case even use global registers? I don't see any

[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize

2011-06-07 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-07 08:15:35 UTC --- It seems GCOV is not the only cause. I just got the malloc corruption again when building for 32bit (instead of 64bit), but still with gcov disabled. So

[Bug gcov-profile/49299] New: ICE in gimple_ic on profile feedback build

2011-06-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299 Summary: ICE in gimple_ic on profile feedback build Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo:

[Bug gcov-profile/49299] ICE in gimple_ic on profile feedback build

2011-06-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-06 09:12:25 UTC --- Created attachment 2 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=2 profile feedback input file

[Bug gcov-profile/49299] ICE in gimple_ic on profile feedback build

2011-06-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299 --- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-06 09:50:49 UTC --- Thanks I'll drop the noreturn as workaround

[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303

2011-06-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49284 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-06 10:39:32 UTC --- If you use my command line and just supply any random object files for the ones specified it should reproduce I think. If not i'll upload my builddir

[Bug lto/48978] excessive hash table allocation for large lto build

2011-06-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48978 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303

2011-06-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49284 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-05 23:43:07 UTC --- FWIW I just commented out the offending assert and the option works now. Is that the correct fix?

[Bug other/49284] New: -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303

2011-06-04 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49284 Summary: -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize

2011-06-04 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-04 19:56:15 UTC --- Some updates: I tried with a fresh compiler (20110604). Same malloc assert I also checked with a somewhat older compiler (from around May 11

[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize

2011-06-04 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-04 20:57:59 UTC --- I found a workaround: disabling -fcoverage-arcs (gcov) makes it go away.

[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303

2011-06-04 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49284 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2011-06-04 22:13:34 UTC --- Some investigation: This depends heavily on the command line used. A simple test with a hello world works. On my kernel build when I strip the lto link

[Bug middle-end/49282] New: malloc corruption in large lto1-wpa run during inline edge heap resize

2011-06-03 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282 Summary: malloc corruption in large lto1-wpa run during inline edge heap resize Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/48978] excessive hash table allocation for large lto build

2011-05-13 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48978 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug lto/48978] New: excessive hash table allocation for large lto build

2011-05-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48978 Summary: excessive hash table allocation for large lto build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug lto/48978] excessive hash table allocation for large lto build

2011-05-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48978 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-05-12 16:16:19 UTC --- I will try. BTW this was a much larger test case (allyesconfig), the tarball I sent you is a much more limited config. Normally noone uses allyesconfig

[Bug lto/48978] excessive hash table allocation for large lto build

2011-05-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48978 --- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2011-05-12 16:22:30 UTC --- looks like the revert is really needed, i just ran out of memory even on the small config on the large memory system.

[Bug lto/48952] New: ICE in inline_merge_summary during linux kernel LTO build

2011-05-10 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48952 Summary: ICE in inline_merge_summary during linux kernel LTO build Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/48952] ICE in inline_merge_summary during linux kernel LTO build

2011-05-10 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48952 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2011-05-10 16:37:17 UTC --- Some more information from gdb. So it follows some pointer in the VEC that is NULL (gdb) p edge $1 = (struct cgraph_edge *) 0x7f1ce05d90d0 (gdb) p edge-uid

[Bug lto/48952] ICE in inline_merge_summary during linux kernel LTO build

2011-05-10 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48952 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2011-05-10 20:49:28 UTC --- I uploaded a (large) test case to http://firstfloor.org/~andi/lto-kernel.tar.bz2 Run R2 in the directory after pointing the script to the right gcc binary.

[Bug preprocessor/47311] [4.6 Regression][C++0x] ICE in tsubst @cp/pt.c:10502

2011-01-17 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47311 --- Comment #19 from Andi Kleen andi-gcc at firstfloor dot org 2011-01-17 19:59:23 UTC --- Sounds like a valgrind bug to me. It should know that the string instruction does not examine the values after the terminator character and the length.

[Bug lto/46905] -flto -fno-lto does not disable lto

2011-01-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46905 --- Comment #5 from Andi Kleen andi-gcc at firstfloor dot org 2011-01-08 23:16:25 UTC --- slim lto will take some time (next stage1) i also plan to drop most of the code because with forced plugin the elf code in collect2 should not be needed

[Bug lto/46905] -flto -fno-lto does not disable lto

2011-01-08 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46905 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2011-01-08 23:56:48 UTC --- And to add: if you have more fixes for -fno-lto please add them now, don't wait.

[Bug lto/46905] New: -flto -fno-lto does not disable lto

2010-12-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46905 Summary: -flto -fno-lto does not disable lto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo:

[Bug lto/46905] -flto -fno-lto does not disable lto

2010-12-12 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46905 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2010-12-12 14:19:00 UTC --- Same bug seems to be in the code generating phase gcc -O2 -flto -fno-lto object.o does code generation even if object.o has fallback code

[Bug bootstrap/46812] Linux libgo compilation fails when a libnet is already installed

2010-12-10 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46812 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|RESOLVED|VERIFIED

[Bug bootstrap/46812] Linux libgo compilation fails when a libnet is already installed

2010-12-09 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46812 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug bootstrap/46812] New: Linux libgo compilation fails when a libnet is already installed

2010-12-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46812 Summary: Linux libgo compilation fails when a libnet is already installed Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/46812] Linux libgo compilation fails when a libnet is already installed

2010-12-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46812 --- Comment #1 from Andi Kleen andi-gcc at firstfloor dot org 2010-12-05 22:58:12 UTC --- BTW I specified a different prefix than /usr, so libtool looked into the wrong directory anyways here.

[Bug lto/45475] target use in libcpp breaks LTO bootstrap

2010-11-29 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45475 Andi Kleen andi-gcc at firstfloor dot org changed: What|Removed |Added Status|RESOLVED|NEW

[Bug middle-end/46176] profile feedback causes 20% linux kernel binary growth

2010-10-26 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46176 --- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2010-10-26 08:01:01 UTC --- Thanks. Unrolling seems to be part of it, but not all. I rebuilt/retrained with -fno-unroll-loops Trained: textdata bss dec hex

[Bug middle-end/46176] profile feedback causes 20% linux kernel binary growth

2010-10-26 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46176 --- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2010-10-26 10:28:34 UTC --- Interesting tidbit: the file containing r600_kms_blit_copy -- which grew most -- didn't get any profile feedback during training, there was no data file. I

[Bug middle-end/46176] New: profile feedback causes 20% linux kernel binary growth

2010-10-25 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46176 Summary: profile feedback causes 20% linux kernel binary growth Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug bootstrap/46055] [4.6 Regression] -fwhopr failed configure test

2010-10-17 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46055 --- Comment #6 from Andi Kleen andi-gcc at firstfloor dot org 2010-10-17 22:28:09 UTC --- Could simply mark the variable volatile?

[Bug middle-end/45871] New: lto bootstrap miscompiles expmed.c1

2010-10-03 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45871 Summary: lto bootstrap miscompiles expmed.c1 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo:

[Bug middle-end/45631] New: devirtualization with profile feedback does not work for function pointers

2010-09-10 Thread andi-gcc at firstfloor dot org
for function pointers Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andi-gcc at firstfloor dot org GCC host triplet

[Bug middle-end/45632] New: const function pointer propagation issues with inlining

2010-09-10 Thread andi-gcc at firstfloor dot org
org ReportedBy: andi-gcc at firstfloor dot org GCC host triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45632

[Bug middle-end/45632] const function pointer propagation issues with inlining

2010-09-10 Thread andi-gcc at firstfloor dot org
--- Comment #1 from andi-gcc at firstfloor dot org 2010-09-10 08:50 --- Created an attachment (id=21763) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21763action=view) testcase, compiled with -O3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45632

[Bug lto/44899] --with-build-config=bootstrap-lto fails

2010-09-02 Thread andi-gcc at firstfloor dot org
--- Comment #6 from andi-gcc at firstfloor dot org 2010-09-02 07:01 --- Cannot reproduce this anymore with the latest changes. -- andi-gcc at firstfloor dot org changed: What|Removed |Added

[Bug lto/45475] New: target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
in libcpp breaks LTO bootstrap Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andi-gcc at firstfloor dot org GCC host

[Bug lto/45477] New: target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
in libcpp breaks LTO bootstrap Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andi-gcc at firstfloor dot org GCC host

[Bug lto/45477] target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
--- Comment #1 from andi-gcc at firstfloor dot org 2010-09-01 10:14 --- Working on a fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45477

[Bug lto/45475] target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
--- Comment #2 from andi-gcc at firstfloor dot org 2010-09-01 10:15 --- Yes, I have most of a patch already, but will add the check value. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45475

[Bug lto/45475] target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
--- Comment #3 from andi-gcc at firstfloor dot org 2010-09-01 10:36 --- *** Bug 45477 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45475

[Bug lto/45477] target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
--- Comment #2 from andi-gcc at firstfloor dot org 2010-09-01 10:36 --- *** This bug has been marked as a duplicate of 45475 *** -- andi-gcc at firstfloor dot org changed: What|Removed |Added

[Bug lto/45475] target use in libcpp breaks LTO bootstrap

2010-09-01 Thread andi-gcc at firstfloor dot org
--- Comment #5 from andi-gcc at firstfloor dot org 2010-09-01 17:05 --- Patch fixing it went in -- andi-gcc at firstfloor dot org changed: What|Removed |Added

[Bug lto/44992] ld -r breaks LTO

2010-08-31 Thread andi-gcc at firstfloor dot org
--- Comment #8 from andi-gcc at firstfloor dot org 2010-08-31 09:32 --- Sorry this is not fixed yet, only partially. Still working on the last bits, in particular passthrough of non LTOed code like assembler functions. -- andi-gcc at firstfloor dot org changed: What

[Bug preprocessor/45227] New: libcpp Makefile does not enable instrumentation

2010-08-07 Thread andi-gcc at firstfloor dot org
does not enable instrumentation Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andi-gcc at firstfloor dot org

[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1

2010-07-27 Thread andi-gcc at firstfloor dot org
--- Comment #15 from andi-gcc at firstfloor dot org 2010-07-27 06:56 --- I'm working on a solution for the lost code problem. It will require -ffunction/data-sections so that it can be undone section by section. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44966

[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1

2010-07-21 Thread andi-gcc at firstfloor dot org
--- Comment #13 from andi-gcc at firstfloor dot org 2010-07-21 15:21 --- I know I lost some assembler files, but I think I didn't lose all of them. Some assembler code is still there. Any suggestion how to fix this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44966

<    1   2   3   4   5   >