On 02/28/2014 11:48 PM, Marc Glisse wrote:
/* Optimize
+   ptr = malloc (n);
+   memset (ptr, 0, n);
+   into
+   ptr = calloc (n);
+   gsi_p is known to point to a call to __builtin_memset.  */

Is there anything in here to prevent us making an infinite loop if the above pattern occurs in a function called "calloc"?


Bernd

Reply via email to