This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AM33: Not adding `0,' to `(SP)'
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: AM33: Not adding `0,' to `(SP)'
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 30 Apr 2000 05:51:32 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <orhfckxhd3.fsf@zecarneiro.lsd.ic.unicamp.br>you write:
> --=-=-=
>
> This saves us a few bytes on AM33's libgcc. Ok to install?
>
> v gcc/am33/libgcc.a 26864 26861
>
>
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: inline; filename=am33-gcc-print-reg-addr.patch
>
> Index: gcc/ChangeLog
> from Alexandre Oliva <aoliva@cygnus.com>
>
> * config/mn10300/mn10300.c (print_operand_address): Do not add
> zero to SP.
How did this happen? ie, when/how/why did we generate an insn which added
zero to the stack pointer? I'd generally prefer to fix it at the source
rather than hack around it during assembly output time.
jeff