re PR target/64979 (stdarg optimization not able to find escape sites in phi nodes)
authorJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Feb 2015 17:01:36 +0000 (18:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Feb 2015 17:01:36 +0000 (18:01 +0100)
commit21c0137a8af4ea11e48c8509799ebcbb1eb374bf
treeceda52eaeb57baf1c0dbf7e40eb9bd2804179661
parent468963de96f93d1df2fbdb945c7bf23678d9f40d
re PR target/64979 (stdarg optimization not able to find escape sites in phi nodes)

PR target/64979
* tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
va_list escapes.

* gcc.dg/tree-ssa/stdarg-7.c: New test.
* gcc.c-torture/execute/pr64979.c: New test.

From-SVN: r220543
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr64979.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/stdarg-7.c [new file with mode: 0644]
gcc/tree-stdarg.c