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]

Re: BUG : typo in arm.c patch


> I think there is a typo in your lastest patch to arm.c
> 
> Sat Sep 19 07:33:36 1998  Richard Earnshaw (rearnsha@arm.com)
> 
>         * arm.c (add_constant): New parameter address_only, change   
> caller.
>         Set it non-zero if taking the address of an item in the pool.
>         (arm_reorg): Handle cases where we need the address of an item in
>         the pool.
> 
> The new third parameter in the call to add_const() should be   
> &address_only
> rather than address_only.
>    
> 
> Graham  


I'm confused.  It does use &address_only:


                  offset = add_constant (src, mode, &address_only);
						    ^^^^^^^^^^^^^
                  addr = plus_constant (gen_rtx (LABEL_REF, VOIDmode,
                                                 pool_vector_label),
                                        offset);

Richard.



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