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]
Other format: [Raw text]

Re: [PATCH] Fix PR optimization/7871


Eric Botcazou wrote:
	PR optimization/7871
	* flow.c (propagate_one_insn): Interpret calls as setting global
	registers, not merely clobbering them.

I put some comments on this patch in the PR. Briefly, I tried this patch almost a year ago, but it did not work for one of the testcases. It does work now, but more by accident than by design, because of a combine patch checked in by Kenner for an unrelated problem. I think the patch does something useful, but also I think there is a latent problem that needs to be considered. Perhaps just adding a few comments is enough for now. Or maybe it is safe to ignore the latent problem. See the PR for details.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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