]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-alias.c
2010-02-03 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Feb 2010 13:03:39 +0000 (13:03 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Feb 2010 13:03:39 +0000 (13:03 +0000)
commit4ef43bbdd80b43a9843092db88a86bb5d4e9cc19
treecc0411dbf0232937e66a437fe07b60b01e85621a
parent05476866247e4b65496693ee6ced12d85922d011
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156467 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/errno-1.c [new file with mode: 0644]
gcc/tree-ssa-alias.c