This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Avoid warnings during bootstrap on arm-linux
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 09 Dec 2007 16:16:12 -0800
- Subject: Re: [RFC] Avoid warnings during bootstrap on arm-linux
- References: <20071130.063615.45884550.kkojima@rr.iij4u.or.jp>
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