errno-1.c
271 Bytes
-
re PR tree-optimization/42944 (errno misoptimization around malloc call) · e3c70387
2010-02-03 Richard Guenther <rguenther@suse.de> PR tree-optimization/42944 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. (call_may_clobber_ref_p_1): Likewise. Properly handle malloc and calloc clobbering errno. * gcc.dg/errno-1.c: New testcase. From-SVN: r156467
Richard Guenther committed