This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/5276: crosscompile ia64 -> ppc64 fails with gcc 3.0.3
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: dje at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, olh at suse dot de, gcc-gnats at gcc dot gnu dot org
- Date: Mon, 4 Feb 2002 10:58:14 +1030
- Subject: Re: c/5276: crosscompile ia64 -> ppc64 fails with gcc 3.0.3
- References: <20020204001818.22566.qmail@sources.redhat.com>
On Mon, Feb 04, 2002 at 12:18:18AM -0000, dje@gcc.gnu.org wrote:
> Yes, we know that the PowerPC port of gcc-3.0 is not
> 64-bit safe. It will not work on IA-64, Alpha, and other
> 64-bit host targets. The counter-examples you gave (ppc,
> sparc, i386) are all 64-bit hosts. This is a fundamental
> problem and only addressed in the gcc-3.1 development
> sources. The problem is in the common code, not the PowerPC
> port.
FWIW, I have back-ported the gcc-3.1 const_int handling to 3.0, and
enabled 64 bit HOST_WIDE_INT for powerpc64. The motivation was the
divide-by-const optimisation for 64 bit values, which only happens
if the host has a 64 bit HOST_WIDE_INT.
ftp.linuxppc64.org:pub/people/amodra/
--
Alan Modra
IBM OzLabs - Linux Technology Centre