Re: inline-unit-growth trouble

2005-04-18 Thread Andreas Krebbel
Hi, thanks for your responses. I've debugged a little further and found out that the testcase breakage was caused by (the elfos.h part): http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00913.html The elfos.h part of the patch was reverted on 04/14/2005: http://gcc.gnu.org/ml/gcc-patches/2005-04/ms

Re: inline-unit-growth trouble

2005-04-15 Thread Mike Stump
On Friday, April 15, 2005, at 01:49 PM, Christopher Jefferson wrote: Mike Stump wrote: On Friday, April 15, 2005, at 11:50 AM, Christopher Jefferson wrote: Is it really the job of the linker to choose between different implementations of a function? Yes. Why do you ask? Because I'm not an exper

Re: inline-unit-growth trouble

2005-04-15 Thread Christopher Jefferson
Mike Stump wrote: On Friday, April 15, 2005, at 11:50 AM, Christopher Jefferson wrote: Is it really the job of the linker to choose between different implementations of a function? Yes. Why do you ask? Because I'm not an expert on linkers :) It seems to me that this might lead to very, very dif

Re: inline-unit-growth trouble

2005-04-15 Thread Joe Buck
On Fri, Apr 15, 2005 at 12:18:54PM -0700, Mike Stump wrote: > On Friday, April 15, 2005, at 09:01 AM, Andreas Krebbel wrote: > >on S/390 we have currently a plenty of testsuite failures > >due to inlining effects. > > > >ld complains about testcases which try to link two files containing > >the s

Re: inline-unit-growth trouble

2005-04-15 Thread Mike Stump
On Friday, April 15, 2005, at 11:50 AM, Christopher Jefferson wrote: Is it really the job of the linker to choose between different implementations of a function? Yes. Why do you ask? It seems to me that this might lead to very, very difficult to track down bugs Nope. All those bugs are tr

Re: inline-unit-growth trouble

2005-04-15 Thread Mike Stump
On Friday, April 15, 2005, at 09:01 AM, Andreas Krebbel wrote: on S/390 we have currently a plenty of testsuite failures due to inlining effects. ld complains about testcases which try to link two files containing the same function in .gnu.linkonce sections but with different code sizes. This is

Re: inline-unit-growth trouble

2005-04-15 Thread Christopher Jefferson
Richard Guenther wrote: On 4/15/05, Andreas Krebbel <[EMAIL PROTECTED]> wrote: Hi, on S/390 we have currently a plenty of testsuite failures due to inlining effects. ld complains about testcases which try to link two files containing the same function in .gnu.linkonce sections but with different c

Re: inline-unit-growth trouble

2005-04-15 Thread Andrew Pinski
> > On 4/15/05, Andreas Krebbel <[EMAIL PROTECTED]> wrote: > > Hi, > > > > on S/390 we have currently a plenty of testsuite failures > > due to inlining effects. > > > > ld complains about testcases which try to link two files containing the > > same function > > in .gnu.linkonce sections but w

Re: inline-unit-growth trouble

2005-04-15 Thread Richard Guenther
On 4/15/05, Andreas Krebbel <[EMAIL PROTECTED]> wrote: > Hi, > > on S/390 we have currently a plenty of testsuite failures > due to inlining effects. > > ld complains about testcases which try to link two files containing the same > function > in .gnu.linkonce sections but with different code si

inline-unit-growth trouble

2005-04-15 Thread Andreas Krebbel
Hi, on S/390 we have currently a plenty of testsuite failures due to inlining effects. ld complains about testcases which try to link two files containing the same function in .gnu.linkonce sections but with different code sizes. The sizes differ due to different inlining decisions. The problem