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: [patches] Fix for latent twolf spec2000 test failures II


On Fri, Aug 03, 2001 at 08:04:52PM +0200, Jan Hubicka wrote:
> ! 	      while (*pnote)
> ! 		{
> ! 		  if (REG_NOTE_KIND (*pnote) == REG_EQUAL
> ! 		      && reg_mentioned_p (replacement, XEXP (*pnote, 0)))
> ! 		    *pnote = XEXP (*pnote, 1);

I think it is an error to have more than one such note
on an instruction.  Have you seen one?  In which case
I'd think find_regno_note and remove_note would be sufficient.



r~


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