Commit a7752396 by Martin Jambor Committed by Martin Jambor

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
parent b1fa9126
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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment