Subject: Re: Building 3.0_BETA?
To: None <port-dreamcast@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-dreamcast
Date: 10/25/2005 19:21:26
In article <78a2305a0510231241jf1a49f9v103b91c7482abb@mail.gmail.com>
acruhl@gmail.com wrote:

> insn-emit.c: In function `gen_mshfhi_l_di':
> insn-emit.c:5039: warning: integer constant is too large for "long" type
> insn-emit.c: In function `gen_mshflo_l_di':
> insn-emit.c:5057: warning: this decimal constant is unsigned only in ISO C90

Would you please post these lines in insn-emit.c
(which is a generated file on the host from sh.md)?

> Oh well. I can say it builds on i386 and the dreamcast boots.

It's LP64 problem in gcc as host-tools, not a target (sh3)
specific problem, I think.

I took the diff from cvsweb on http://sources.redhat.com/,
but they still have the problem? It seems we should use
"(HOST_WIDE_INT)" etc. for declarations or casts,
but I'm not sure.
---
Izumi Tsutsui