[Bug lto/39010] [LTO] Memory corruption on gcc.c-torture/compile/limits-fndefn.c

2009-02-17 Thread espindola at gcc dot gnu dot org
--- Comment #7 from espindola at gcc dot gnu dot org 2009-02-17 14:26 --- Subject: Bug 39010 Author: espindola Date: Tue Feb 17 14:25:46 2009 New Revision: 144231 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144231 Log: 2009-02-16 Rafael Avila de Espindola espind

[Bug bootstrap/39001] lto branch doesn't build

2009-03-26 Thread espindola at gcc dot gnu dot org
--- Comment #7 from espindola at gcc dot gnu dot org 2009-03-26 13:27 --- Subject: Bug 39001 Author: espindola Date: Thu Mar 26 13:26:56 2009 New Revision: 145088 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145088 Log: 2009-03-26 Rafael Avila de Espindola espind

[Bug lto/41767] New: assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: espindola at gcc dot gnu dot org GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-10-20 17:54 --- Created an attachment (id=18837) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18837action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18838) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18838action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #3 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18839) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18839action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18840) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18840action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41764] Bogus errors from gold with linker-plugin

2009-10-21 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-10-21 15:51 --- The produced symbol table is incorrect: ~/binutils/inst/bin/nm test.o t MAIN__ U _gfortran_set_args U _gfortran_set_options 0001 C gnu_lto_v1

[Bug lto/41652] LTO plugin misconfiguration

2009-10-27 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2009-10-27 18:17 --- Subject: Bug 41652 Author: espindola Date: Tue Oct 27 18:17:13 2009 New Revision: 153610 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=153610 Log: 2009-10-27 Dmitry Gorbachev d.g.gorbac...@gmail.com

[Bug lto/41764] Bogus errors from gold with linker-plugin

2009-10-28 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2009-10-28 21:32 --- This testcase was fixed on revision 153685. -- espindola at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/41871] lto-plugin gives: could not open/create temporary file

2009-10-30 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-10-30 18:31 --- Fixed on revision 153764. -- espindola at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42020] New: field not merged causes cc1 to be miscompiled

2009-11-12 Thread espindola at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: espindola at gcc dot gnu dot org GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet

[Bug lto/42020] field not merged causes cc1 to be miscompiled

2009-11-12 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-11-12 17:05 --- Created an attachment (id=19005) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19005action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42020

[Bug lto/42020] field not merged causes cc1 to be miscompiled

2009-11-12 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2009-11-12 17:05 --- Created an attachment (id=19006) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19006action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42020

[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2009-11-16 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2009-11-16 17:57 --- Created an attachment (id=19022) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19022action=view) proposed fix -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41996

[Bug lto/42020] field not merged causes cc1 to be miscompiled

2009-11-18 Thread espindola at gcc dot gnu dot org
--- Comment #5 from espindola at gcc dot gnu dot org 2009-11-18 16:18 --- (In reply to comment #4) Hm, the assert doesn't trigger if I add a tem != field check. In fact I do not understand the assert you added at all ;) I completely misunderstood the assert you asked

[Bug bootstrap/42096] lto.c:289:7: error: implicit declaration of function 'strtoll'

2009-11-18 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-11-18 20:21 --- Is strtoll defined in some other header in hppa64-hp-hpux11.11? If it isn't, I will start porting it to libiberty. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42096

[Bug bootstrap/42096] lto.c:289:7: error: implicit declaration of function 'strtoll'

2009-11-19 Thread espindola at gcc dot gnu dot org
--- Comment #3 from espindola at gcc dot gnu dot org 2009-11-19 15:30 --- Subject: Bug 42096 Author: espindola Date: Thu Nov 19 15:30:04 2009 New Revision: 154330 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=154330 Log: 2009-11-19 Rafael Avila de Espindola espind

[Bug bootstrap/42096] lto.c:289:7: error: implicit declaration of function 'strtoll'

2009-11-19 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2009-11-19 15:57 --- Closing this bug as bootstrap should now work. The gold plugin still needs some portability improvements. -- espindola at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin

2009-12-17 Thread espindola at gcc dot gnu dot org
--- Comment #10 from espindola at gcc dot gnu dot org 2009-12-17 18:09 --- I tried to build gcc on darwin to debug this but the build fails with a link failure (sorry, don't remember exactly where). Do I need to do something special to build on darwin? The error message is emitted

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-12 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2010-01-12 16:29 --- Is the undefined reference to libgcc? Is it being linked statically? When linking libgcc statically the driver has to pass -plugin-opt=-pass-through=/foo/bar/libgcc.a to ld. This is done in gcc.c: %{static

[Bug bootstrap/36974] [4.4 Regression]: Gcc failed to bootstrap

2008-07-30 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2008-07-30 23:24 --- Subject: Bug 36974 Author: espindola Date: Wed Jul 30 23:23:33 2008 New Revision: 138347 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138347 Log: 2008-07-30 Rafael Avila de Espindola [EMAIL PROTECTED

[Bug lto/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-14 Thread espindola at gcc dot gnu dot org
--- Comment #5 from espindola at gcc dot gnu dot org 2010-01-15 03:54 --- Note that -plugin-opt=-pass-through=/foo/bar/libgcc.a is missing in the linker invocation. That is the problem. When BUG is not defined, the undefined reference is visible early on. You can check

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-15 Thread espindola at gcc dot gnu dot org
--- Comment #12 from espindola at gcc dot gnu dot org 2010-01-15 15:28 --- (In reply to comment #11) GCC was configured with --disable-shared option. It seems that the driver does not understand that --disable-shared implies static libgcc That is correct. Currently we have

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-01-16 Thread espindola at gcc dot gnu dot org
--- Comment #14 from espindola at gcc dot gnu dot org 2010-01-17 05:47 --- I don't think that in general we can support things like -nodefaultlibs -lc -lgcc. Doing that with static libraries and lto is such an uncommon case that it is probably OK to ask the user to also pass -Wl,-pass

[Bug lto/42762] ICE in get_resolution() when compiling a C++ program with -flto -fuse-linker-plugin

2010-01-18 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2010-01-19 04:45 --- The problem is coming from DECL_FUNCTION_PERSONALITY (expr) = lto_input_tree (ib, data_in); This reads in __gxx_personality_v0 as an external function and we try to add it to the symbol table. If using

[Bug lto/42757] lto1 does not emit common symbols with -fuse-linker-plugin

2010-03-13 Thread espindola at gcc dot gnu dot org
--- Comment #6 from espindola at gcc dot gnu dot org 2010-03-13 18:02 --- It works with the llvm plugin for gold. I also find the gold output funny. What the llvm plugin does is if (I-syms[i].resolution == LDPR_PREVAILING_DEF || (I-syms[i].def == LDPK_COMMON

[Bug lto/42757] lto1 does not emit common symbols with -fuse-linker-plugin

2010-03-13 Thread espindola at gcc dot gnu dot org
--- Comment #7 from espindola at gcc dot gnu dot org 2010-03-13 18:10 --- The llvm change is http://llvm.org/viewvc/llvm-project?view=revrevision=64616 so I still don't know why gold is not returning LDPR_PREVAILING_DEF for the common symbol definition. -- http://gcc.gnu.org

[Bug c/44024] New: missed optimization

2010-05-07 Thread espindola at gcc dot gnu dot org
Severity: normal Priority: P3 Component: c AssignedTo: rguenther at suse dot de ReportedBy: espindola at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu