This is the mail archive of the gcc@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: GCC build failed with your patch on 2001-01-09T11:35:00Z.


On Jan  9, 2001, Geoff Keating <geoffk@geoffk.org> wrote:

>> Cc: gcc-regression@gcc.gnu.org, grahams@redhat.com, jsm28@cam.ac.uk,
>> mhayes@redhat.com, neil@daikokuya.demon.co.uk, osk@hem.passagen.se
>> From: Alexandre Oliva <aoliva@redhat.com>
>> Organization: GCC Team, Red Hat
>> Date: 09 Jan 2001 16:22:01 -0200

>> I can't promise to fix all problems on all 64-bit targets.  I know
>> there are a number of 64-bit targets that already work with a 64-bit
>> HOST_WIDE_INT; I was surprised that ppc wasn't one of them.  I'm
>> pretty sure the problem must be in the ppc back-end, since there are
>> so many other 64-bit targets that are working correctly.

> powerpc-eabi is a 32-bit target.

Then you must arrange for MAX_LONG_TYPE_SIZE to be #undefined or
#defined to 32 (as long as LONG_TYPE_SIZE isn't wider than that).
AFAICT, MAX_LONG_TYPE_SIZE is defined to 64, and that's the reason why
you get a 64-bit HOST_WIDE_INT.

-- 
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]