[Bug c/32511] GCC inlines weak function

2010-07-01 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-07-01 19:28 --- I think this change is wrong; weak definitions are also used to allow definitions in multiple translation units without linker errors. C++ inlines are emitted as weak symbols, and it seems rather odd to prohibit in C

[Bug c/32511] GCC inlines weak function

2008-03-27 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-03-27 16:35 --- Subject: Bug 32511 Author: rguenth Date: Thu Mar 27 16:34:55 2008 New Revision: 133646 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133646 Log: 2008-03-27 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug c/32511] GCC inlines weak function

2008-03-27 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-03-27 16:35 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/32511] GCC inlines weak function

2008-02-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread sabre at nondot dot org
--- Comment #5 from sabre at nondot dot org 2008-02-18 07:35 --- That works for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32511

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-17 21:05 --- Well, I think we should error for the inline + weak combination, as it doesn't make sense. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32511

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread sabre at nondot dot org
--- Comment #3 from sabre at nondot dot org 2008-02-17 19:48 --- I understand the desire to optimize with -fpic, but miscompiling the code seems unreasonable... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32511

[Bug c/32511] GCC inlines weak function

2008-02-17 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2008-02-17 19:37 --- I think this is feature. If users explicitely declares as inline, then we do that, otherwise we doesn't: /* Don't auto-inline anything that might not be bound within this unit of translation. */ else if (!

[Bug c/32511] GCC inlines weak function

2007-06-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-26 20:32 --- Considering inline candidate bar. Inlining bar into foo. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32511