tree-sra.c (find_param_candidates): Allow scalar va_list types.
2010-04-07 Martin Jambor <mjambor@suse.cz> * tree-sra.c (find_param_candidates): Allow scalar va_list types. From-SVN: r158057
This commit is contained in:
parent
b1fa9126ab
commit
a775239672
|
@ -1,3 +1,7 @@
|
|||
2010-04-07 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
* tree-sra.c (find_param_candidates): Allow scalar va_list types.
|
||||
|
||||
2010-04-07 Iain Sandoe <iains@gcc.gnu.org>
|
||||
|
||||
PR driver/41594
|
||||
|
|
|
@ -2991,7 +2991,7 @@ find_param_candidates (void)
|
|||
|
||||
if (TREE_THIS_VOLATILE (parm)
|
||||
|| TREE_ADDRESSABLE (parm)
|
||||
|| is_va_list_type (type))
|
||||
|| (!is_gimple_reg_type (type) && is_va_list_type (type)))
|
||||
continue;
|
||||
|
||||
if (is_unused_scalar_param (parm))
|
||||
|
|
Loading…
Reference in New Issue