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]

fix sloppiness by me


my darwin compiler missed all these warnings, and when i double checked
the linux runs, i noticed the linuxppc compiler had picked up a few 
more "unusued variable" warnings.

cleaned up.  committed to mainline.

2002-06-28  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c: Remove unusued variables from last
        patch.

Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.335
diff -c -r1.335 rs6000.c
*** rs6000.c	28 Jun 2002 18:07:41 -0000	1.335
--- rs6000.c	28 Jun 2002 19:00:48 -0000
***************
*** 3903,3909 ****
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0;
    enum machine_mode tmode, mode0;
!   rtx pat, target, op0;
    enum insn_code icode;
  
    switch (fcode)
--- 3903,3909 ----
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0;
    enum machine_mode tmode, mode0;
!   rtx pat, op0;
    enum insn_code icode;
  
    switch (fcode)
***************
*** 3951,3957 ****
  static rtx
  altivec_expand_st_builtin (exp, target, expandedp)
       tree exp;
!      rtx target;
       bool *expandedp;
  {
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
--- 3951,3957 ----
  static rtx
  altivec_expand_st_builtin (exp, target, expandedp)
       tree exp;
!      rtx target ATTRIBUTE_UNUSED;
       bool *expandedp;
  {
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
***************
*** 3959,3965 ****
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0, arg1;
    enum machine_mode mode0, mode1;
!   rtx pat, target, op0, op1;
    enum insn_code icode;
  
    switch (fcode)
--- 3959,3965 ----
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0, arg1;
    enum machine_mode mode0, mode1;
!   rtx pat, op0, op1;
    enum insn_code icode;
  
    switch (fcode)
***************
*** 4005,4011 ****
  static rtx
  altivec_expand_dst_builtin (exp, target, expandedp)
       tree exp;
!      rtx target;
       bool *expandedp;
  {
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
--- 4005,4011 ----
  static rtx
  altivec_expand_dst_builtin (exp, target, expandedp)
       tree exp;
!      rtx target ATTRIBUTE_UNUSED;
       bool *expandedp;
  {
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
***************
*** 4013,4019 ****
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0, arg1, arg2;
    enum machine_mode mode0, mode1, mode2;
!   rtx pat, target, op0, op1, op2;
    struct builtin_description *d;
    int i;
  
--- 4013,4019 ----
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
    tree arg0, arg1, arg2;
    enum machine_mode mode0, mode1, mode2;
!   rtx pat, op0, op1, op2;
    struct builtin_description *d;
    int i;
  
***************
*** 4077,4085 ****
    enum insn_code icode;
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
    tree arglist = TREE_OPERAND (exp, 1);
!   tree arg0, arg1, arg2;
!   rtx op0, op1, op2, pat;
!   enum machine_mode tmode, mode0, mode1, mode2;
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
  
    target = altivec_expand_ld_builtin (exp, target, expandedp);
--- 4077,4085 ----
    enum insn_code icode;
    tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
    tree arglist = TREE_OPERAND (exp, 1);
!   tree arg0;
!   rtx op0, pat;
!   enum machine_mode tmode, mode0;
    unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
  
    target = altivec_expand_ld_builtin (exp, target, expandedp);


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