diff options
author | Richard Guenther <rguenther@suse.de> | 2010-02-03 13:03:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-02-03 13:03:39 +0000 |
commit | e3c70387dc0fdf85f15dab9b1499148a039841ea (patch) | |
tree | cc0411dbf0232937e66a437fe07b60b01e85621a /gcc/print-rtl.c | |
parent | 4cad6dba074f9325e3bc0c4fa80e7646cb50088a (diff) | |
download | gcc-e3c70387dc0fdf85f15dab9b1499148a039841ea.zip gcc-e3c70387dc0fdf85f15dab9b1499148a039841ea.tar.gz gcc-e3c70387dc0fdf85f15dab9b1499148a039841ea.tar.bz2 |
re PR tree-optimization/42944 (errno misoptimization around malloc call)
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
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions