This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: GCSE considers read only memory clobbered by function calls.


On Mon, May 09, 2005 at 05:45:24PM +0300, Mostafa Hagog wrote:
>         EXECUTE_IF_SET_IN_BITMAP (blocks_with_calls, 0, bb_index, bi)
>           {
> !             if (! MEM_READONLY_P (x))

Looks like you should push this check here:

	case MEM:
	  if (!MEM_READONLY_P (x))
	    {
	      ...
	    }
	  x = XEXP (x, 0);
	  goto repeat;



r~


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