This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Same cross-gcc toolchain on different hosts produces different target code?
> In particular, isn't it a known issue that 32-bit hosts and 64-bit hosts can
> generate different constant-loading sequences owing to the differing size of
> HOST_WIDE_INT?
>
> Was that 32-bit Solaris?
>
> cheers,
> DaveK
As a followup, I built a 32-bit version of the entire toolchain and it produces identical object code as compared with the Solaris hosted toolchain. So, a 64-bit host versus a 32-bit host does indeed make a difference in this case.
Thanks for all the help!
Ron McCall