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: [RFC] Avoid warnings during bootstrap on arm-linux


Kaz Kojima wrote:

> 2007-11-29  Kaz Kojima  <kkojima@gcc.gnu.org>
> 
> 	* genopinit.c: Include tm_p.h in generated file.
> 
> 	* config/arm/neon.md (vec_set<mode>_internal): Use INTVAL
> 	to extract the integer from operands[2].
> 	(vec_setv2di_internal): Likewise.
> 
> 	* config/arm/arm.c (thumb1_compute_save_reg_mask): Cast
> 	the result of arm_size_return_regs to avoid a warning.
> 	(arm_init_neon_builtins): Move code after declarations.

Thanks!

The genopinit.c, neon.md, and arm_init_neon_builtins changes are OK.

I think the fix for arm_size_return_regs should be to make the function
itself return unsigned; it is, after all, returning a size.  That may
require some casts elsewhere, of course.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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