Patch for SHORT_TYPE_SIZE in dwarfout.c

Hans-Peter Nilsson hp@bitrange.com
Mon Jan 31 16:34:00 GMT 2000


This default did not agree with the documentation, or the other(!)
defaults for SHORT_TYPE_SIZE.

Ok to commit?

Tue Feb  1 00:57:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>

	* dwarfout.c (SHORT_TYPE_SIZE): Correct default.

Index: dwarfout.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/dwarfout.c,v
retrieving revision 1.51
diff -p -c -r1.51 dwarfout.c
*** dwarfout.c	2000/01/25 05:59:17	1.51
--- dwarfout.c	2000/02/01 00:28:18
*************** extern char *version_string;
*** 122,128 ****
  #endif
  
  #ifndef SHORT_TYPE_SIZE
! #define SHORT_TYPE_SIZE (BITS_PER_UNIT * 2)
  #endif
  
  #ifndef INT_TYPE_SIZE
--- 122,128 ----
  #endif
  
  #ifndef SHORT_TYPE_SIZE
! #define SHORT_TYPE_SIZE (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2))
  #endif
  
  #ifndef INT_TYPE_SIZE



More information about the Gcc-patches mailing list