c/5276: crosscompile ia64 -> ppc64 fails with gcc 3.0.3

Alan Modra amodra@bigpond.net.au
Sun Feb 3 16:29:00 GMT 2002


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



More information about the Gcc-bugs mailing list