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]

Re: PATCH for cse: -g -O should generate same code as -O



  In message <199806172343.QAA20446@smtp.earthlink.net>you write:
  > 
  > I was rather disturbed to find a test case that produced different
  > output when using -g -O instead of just -O.
  > 
  > Here's a fix.
  > 
  > -- 
  > Mark Mitchell 			mark@markmitchell.com
  > Mark Mitchell Consulting	http://www.markmitchell.com
  > 
  > Wed Jun 17 16:38:57 1998  Mark Mitchell  <mark@markmitchell.com>
  > 
  > 	* cse.c (cse_basic_block): Don't include NOTE insns in the count
  > 	that is used to decide whether or not it is time to erase the
  > 	equivalence table.
Wow.  Yup, it's a problem.  Thanks for tracking it down.

This patch looks good to me.  Please install it.

Thanks!
jeff


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