This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix sdbout.c bootstrap breakage [was Re: For backend maintainers: changes for C++ compatibility]
- From: Ian Lance Taylor <iant at google dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 21 Apr 2009 11:07:38 -0700
- Subject: Re: [PATCH] Fix sdbout.c bootstrap breakage [was Re: For backend maintainers: changes for C++ compatibility]
- References: <m3skk3f1wx.fsf@google.com> <49EE05C2.2020607@gmail.com>
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