2009-11-27 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Nov 2009 22:34:40 +0000 (22:34 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Nov 2009 22:34:40 +0000 (22:34 +0000)
commit11d07f75d6fd433e8a51cc442fa51fe767eb14f9
tree608ae5b538719e40f3eb16c507e1d54eb8afc0ce
parent8fd2730b9dbe6864edfc7a3ea197c02a76c153eb
2009-11-27  Martin Jambor  <mjambor@suse.cz>

PR middle-end/42006
* tree-sra.c (get_replaced_param_substitute): Call create_tmp_var
instead of create_tmp_var.  Set DECL_GIMPLE_REG_P to one manually
for vector and complex types.
(get_adjustment_for_base): Describe return value in the comment.

* testsuite/gcc.c-torture/execute/pr42006.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154715 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr42006.c [new file with mode: 0644]
gcc/tree-sra.c