optimizer bug, latest version of egcs ( 0 && 0 => 1 )

Jeffrey A Law law@cygnus.com
Wed Mar 31 23:54:00 GMT 1999


  In message < 199903231552.PAA09252@sun52.NIS.cambridge >you write:
  > The problem seems to lie in make_range, which is stripping off the cast 
  > information before saving it.  Here's a tentative patch which seems to fix 
  > the problem as reported.
  > 
  > Would someone with better knowledge of rtl generation care to comment?
  > 
  > Richard
  > 
  > Tue Mar 23 15:45:25 1999  Richard Earnshaw (rearnsha@arm.com)
  > 
  > 	* fold-const.c (make_range): If orig_type is unset, set it as soon as
  > 	we know the type.
I installed my variant + the cleanup we discussed.  Thanks!

jeff



More information about the Gcc-bugs mailing list