This is the mail archive of the gcc-patches@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: [patch] fix bootstrap on ppclinux 32-bit (and 64-bit?)


Andreas Tobler wrote:

Hi all,

the introduction of 64-bit support for darwin broke bootstrap on ppc32 linux. The reason is this clause from darwin.md.

#if TARGET_MACHO
  return output_call(insn, operands, 1, 3);
#endif

Now since darwin.md is included in rs6000.md it has to be safe for the other targets too.

The two places places we have these #if's are darwin only calls, so we can safely abort on other targets.

The appended patch fixes this.
Bootstrapped on darwin-7.5.0 and ppclinux 32-bit.

Ok for main?

Sorry about that, please put it in. That'll teach me not to overlook at least a
cross-ppc build!


Stan


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