[Bug lto/53808] Undefined symbol when building a library with lto

2014-09-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #16 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Sep 10 14:27:40 2014 New Revision: 215131 URL: https://gcc.gnu.org/viewcvs?rev=215131root=gccview=rev Log: PR lto/53808 PR c++/61659 * decl2.c

[Bug lto/53808] Undefined symbol when building a library with lto

2014-08-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #15 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Tue Aug 19 17:29:41 2014 New Revision: 214177 URL: https://gcc.gnu.org/viewcvs?rev=214177root=gccview=rev Log: PR lto/53808 PR c++/61659 * decl.c

[Bug lto/53808] Undefined symbol when building a library with lto

2014-07-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #13 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Jul 30 17:27:14 2014 New Revision: 213307 URL: https://gcc.gnu.org/viewcvs?rev=213307root=gccview=rev Log: PR lto/53808 PR c++/61659 * pt.c

[Bug lto/53808] Undefined symbol when building a library with lto

2014-07-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #14 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Jul 30 21:29:25 2014 New Revision: 213311 URL: https://gcc.gnu.org/viewcvs?rev=213311root=gccview=rev Log: PR lto/53808 PR c++/61659 * pt.c

[Bug lto/53808] Undefined symbol when building a library with lto

2014-07-22 Thread rafael.espindola at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #12 from Rafael Avila de Espindola rafael.espindola at gmail dot com --- Note that this bug is present once more when -fno-use-all-virtuals is used. With the original testcase gcc again produces an undefined reference to _ZN3barD0Ev.

[Bug lto/53808] Undefined symbol when building a library with lto

2014-06-30 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #11 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Mon Jun 30 20:20:55 2014 New Revision: 212174 URL: https://gcc.gnu.org/viewcvs?rev=212174root=gccview=rev Log: PR c++/61659 PR lto/53808 gcc/cp *

[Bug lto/53808] Undefined symbol when building a library with lto

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #10 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Feb 26 21:32:41 2014 New Revision: 208184 URL: http://gcc.gnu.org/viewcvs?rev=208184root=gccview=rev Log: PR c++/60347 PR lto/53808 * class.c

[Bug lto/53808] Undefined symbol when building a library with lto

2014-02-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug lto/53808] Undefined symbol when building a library with lto

2014-02-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #7 from Jason Merrill jason at gcc dot gnu.org --- (In reply to Jason Merrill from comment #6) I just tried to reproduce the bug before checking my patch in for 4.9, and couldn't; my patch seems to make no difference to the cgraph

[Bug lto/53808] Undefined symbol when building a library with lto

2014-02-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #8 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Tue Feb 25 18:54:48 2014 New Revision: 208153 URL: http://gcc.gnu.org/viewcvs?rev=208153root=gccview=rev Log: PR lto/53808 * class.c (clone_function_decl):

[Bug lto/53808] Undefined symbol when building a library with lto

2014-02-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug lto/53808] Undefined symbol when building a library with lto

2013-09-09 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #5 from Jan Hubicka hubicka at gcc dot gnu.org --- With Jason's patch I get: In undef.cpp we devirtualize to _ZN3fooD2Ev: Type: function Visibility: external public References: Referring: Function flags: Called by:

[Bug lto/53808] Undefined symbol when building a library with lto

2013-09-04 Thread rafael.espindola at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #4 from Rafael Avila de Espindola rafael.espindola at gmail dot com --- The equivalent clang bug (llvm.org/pr13124) just got fixed by avoiding the devirtualization in this case. Not sure how similar the issues are internally, but I

[Bug lto/53808] Undefined symbol when building a library with lto

2013-03-23 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #3 from Jan Hubicka hubicka at ucw dot cz 2013-03-23 21:40:19 UTC --- This patch causes the destructor to be created and marked as COMDAT, but for some reason cgraph still isn't emitting it. Thank you!. I will work out why

[Bug lto/53808] Undefined symbol when building a library with lto

2013-03-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #2 from Jason Merrill jason at gcc dot gnu.org 2013-03-23 00:36:48 UTC --- Created attachment 29709 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29709 partial (front end) patch This patch causes the destructor to be

[Bug lto/53808] Undefined symbol when building a library with lto

2012-11-06 Thread rafael.espindola at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 --- Comment #1 from Rafael Avila de Espindola rafael.espindola at gmail dot com 2012-11-06 13:53:00 UTC --- I can see two options for fixing this 1) producing a copy of the destructor when we devirtualize and not devirtualizing if we

[Bug lto/53808] Undefined symbol when building a library with lto

2012-07-03 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53808 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last