This is the mail archive of the gcc-bugs@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]

Re: Bootstrap ICE on alpha-osf4 building stage1 libgcc.a


On Jan 26, 2000, Alexandre Oliva <oliva@lsd.ic.unicamp.br> wrote:

> On Jan 24, 2000, Richard Henderson <rth@cygnus.com> wrote:
>> This should work though, and it'd be nice to verify that it does
>> before I go in and force the old behaviour.

> Nope, the problem is stack corruption, at least in case of
> FLOAT_TRUNCATE.  The incoming operands array is just two-entries
> long, so you can't assign to operands[2].

BTW, here's a testcase that triggers the bug.  I'm installing it right
now.

/* Copyright (C) 2000  Free Software Foundation.

   by Alexandre Oliva  <oliva@lsd.ic.unicamp.br>  */

/* { dg-do compile } */

double
foo (unsigned long var)
{
  return var;
}

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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