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 sdbout.c bootstrap breakage [was Re: For backend maintainers: changes for C++ compatibility]


Dave Korn <dave.korn.cygwin@googlemail.com> writes:

>   Indeed, I think the arguments to eliminate_regs in sdbout.c probably won't
> be wrapped in mems, but I didn't quite want to say this was obvious because
> maybe there's something I didn't consider with passed-in-memory args.  Is this
> correct?  It certainly lets my bootstrap get past stage 2.

Since VOIDmode has the value 0, changing 0 to VOIDmode will not change
the compiler's behaviour.


> 	* sdbout.c (sdbout_symbol):  Pass VOIDmode to eliminate_regs.
> 	(sdbout_parms):  Likewise.

This is OK.

Thanks.

Ian


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