hasting2    02/08/30 18:51:03

  Modified:    gcc      Tag: dizzy-kitty-branch stor-layout.c
  Log:
  Fix for 3015029.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.27.6.1  +2 -0      gcc3/gcc/stor-layout.c
  
  Index: stor-layout.c
  ===================================================================
  RCS file: /cvs/Darwin/gcc3/gcc/stor-layout.c,v
  retrieving revision 1.27
  retrieving revision 1.27.6.1
  diff -u -r1.27 -r1.27.6.1
  --- stor-layout.c     2002/06/03 22:10:54     1.27
  +++ stor-layout.c     2002/08/31 01:51:03     1.27.6.1
  @@ -1298,6 +1298,7 @@
     if (TREE_CODE (type) == RECORD_TYPE && mode != VOIDmode)
       TYPE_MODE (type) = mode;
     /* APPLE LOCAL 8-byte-struct hack */
  +#if defined RS6000_VARARGS_AREA
     /* Make 8-byte structs BLKmode instead of DImode, which fixes both
        struct-return methods and attempts to use floats in kernel code.
        This should probably become a generic macro similar to
  @@ -1305,6 +1306,7 @@
     else if (mode_for_size_tree (TYPE_SIZE (type), MODE_INT, 1) == DImode
           && flag_pic)
       ;
  +#endif
     else
       TYPE_MODE (type) = mode_for_size_tree (TYPE_SIZE (type), MODE_INT, 1);
   
  
  
  


Reply via email to