__builtin_dwarf_reg_size broken

Jeffrey A Law law@cygnus.com
Wed Oct 14 09:45:00 GMT 1998


  In message < vyzk926p1u4.fsf@issan.cs.uni-dortmund.de >you write:
  > This patch fixes __builtin_dwarf_reg_size to compute the correct value for
  > the m68k and all other targets where the special case of fp regs
  > surrounded by general regs does not apply.
  > 
  > 
  > 1998-10-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
  > 
  > 	* dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
  > 	when generating the decision tree for the general case.
  > 
  > 	* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
  > 	wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.
Thanks! Installed.

Note, the m68k.h change had to be applied by hand because Jim has made some
fixes to that code too.  In fact, it's possible he fixed your bug in a
different manner.  It's probably worth checking to see if your fix was made
redundant by Jim's change.

jeff



More information about the Gcc-patches mailing list