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 PR79547


On Fri, 17 Feb 2017, Richard Biener wrote:

On Thu, 16 Feb 2017, Richard Biener wrote:


I am testing the following patch for PR79547.  Those builtins do not
return anything that can be used to re-construct the pointer(s) passed
to them.

Queued for GCC 8.

Actually we need calluse constraints.  Thus adjusted as follows.

Richard.

2017-02-17  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/79547
	* tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
	Handle strlen, strcmp, strncmp, strcasecmp, strncasecmp, memcmp,
	bcmp, strspn, strcspn, __builtin_object_size and __builtin_constant_p
	without any constraints.

We have EAF_NOESCAPE that we are using for non-builtins, though it probably gets little use there. Would it make sense to use it here as well, or would that be pointless?

--
Marc Glisse


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