]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/43008 (Attribute malloc not handled correctly)
authorRichard Guenther <rguenther@suse.de>
Tue, 9 Feb 2010 16:11:34 +0000 (16:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Feb 2010 16:11:34 +0000 (16:11 +0000)
commit72d182d3d2cbfdf653bf6a9d34172f78420802ef
tree83417e0e999cd8f444c9c95b4974a4204f9c26c2
parent44e7145eb93d53a103935c36fd5fab37d33e2965
re PR tree-optimization/43008 (Attribute malloc not handled correctly)

2010-02-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43008
* tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl,
make HEAP variables initialized from global memory if they
are not known builtin functions.
(find_func_aliases): Adjust.

* gcc.c-torture/execute/pr43008.c: New testcase.

From-SVN: r156628
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr43008.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c