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]
Other format: [Raw text]

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


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


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