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]


Ian Lance Taylor wrote:
> 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.

  :)  I knew I was doing that, but I didn't want to miss the opportunity to
consider whether the value 0 was the right value to be passing in this
context, while we (transiently) have a warning drawing our attention to it.

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

  Thanks, applied.

    cheers,
      DaveK


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