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: PATCH: remove warning in config/spu/spu.c


Ben Elliston <bje@au1.ibm.com> wrote on 21/12/2006 06:11:40:

> Committed as obvious:
>
> 2006-12-21  Ben Elliston  <bje@au.ibm.com>
>
>         * config/spu/spu.c (spu_builtin_mul_widen_even): Remove unused
>         local variable `d'.
>

oops - when I applied Andrew's comment to use if-then-else instead of x?a:b
I forgot to remove the variable that thus became unused (and didn't notice
the warning...). Thanks for fixing that, Ben

dorit

> Index: config/spu/spu.c
> ===================================================================
> --- config/spu/spu.c    (revision 120097)
> +++ config/spu/spu.c    (working copy)
> @@ -5005,7 +5005,6 @@ spu_expand_builtin (tree exp,
>  static tree
>  spu_builtin_mul_widen_even (tree type)
>  {
> -  struct spu_builtin_description *d;
>    switch (TYPE_MODE (type))
>      {
>      case V8HImode:
>
>


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