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]

rs6000.c patch fix for K&R bootstrap.


All,

Some ANSI style function defs have crept into the the rs6000 backend.
This reverts them to K&R.

built powerppc-eabi target all languages no regressions on sim.

Graham

ChangeLog

2002-07-29  Graham Stott  <grahams@btinternet.com>

       * config/rs6000/rs6000.c(spe_init_builtins,
       altivec_init_builtins, rs6000_common_init_builtins):
       Replace ANSI with K&R function def.

------------------------------------------------------
Index: rs6000.c
===================================================================
RCS file: /cvs/uberbaum/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.350
diff -c -p -r1.350 rs6000.c
*** rs6000.c    27 Jul 2002 04:12:48 -0000      1.350
--- rs6000.c    29 Jul 2002 23:43:35 -0000
*************** enable_mask_for_builtins (desc, size, st
*** 5157,5163 ****
  }

  static void
! spe_init_builtins (void)
  {
    tree endlink = void_list_node;
    tree puint_type_node = build_pointer_type (unsigned_type_node);
--- 5157,5163 ----
  }

  static void
! spe_init_builtins ()
  {
    tree endlink = void_list_node;
    tree puint_type_node = build_pointer_type (unsigned_type_node);
*************** spe_init_builtins (void)
*** 5367,5373 ****
  }

  static void
! altivec_init_builtins (void)
  {
    struct builtin_description *d;
    struct builtin_description_predicates *dp;
--- 5367,5373 ----
  }

  static void
! altivec_init_builtins ()
  {
    struct builtin_description *d;
    struct builtin_description_predicates *dp;
*************** altivec_init_builtins (void)
*** 5548,5554 ****
  }

  static void
! rs6000_common_init_builtins (void)
  {
    struct builtin_description *d;
    size_t i;
--- 5548,5554 ----
  }

  static void
! rs6000_common_init_builtins ()
  {
    struct builtin_description *d;
    size_t i;
--------------------------------------------------------------


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