This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for regression in gcc.c-torture/execute/20011114-1.c


On Dec  2, 2001, Richard Henderson <rth@redhat.com> wrote:

> On Sun, Dec 02, 2001 at 03:48:24PM -0200, Alexandre Oliva wrote:
>> So, do we want to inline a function defined in global scope if we
>> encounter an extern declaration of it in function scope, as in the
>> failing testcase?

> Ideally, yes.  How did this work for the rtl inliner?

The rtl inliner didn't care about DECL_INITIAL nor the block
structure, AFAICT.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]