re PR tree-optimization/43959 (FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors))
PR tree-optimization/43959 * function.c (gimplify_parameters): Use create_tmp_reg instead of create_tmp_var. From-SVN: r164824
This commit is contained in:
parent
b703d7314e
commit
c98b08ff4b
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-09-30 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/43959
|
||||
* function.c (gimplify_parameters): Use create_tmp_reg instead of
|
||||
create_tmp_var.
|
||||
|
||||
2010-09-30 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/sh.c (sh_expand_prologue): Set
|
||||
|
|
|
@ -3583,7 +3583,7 @@ gimplify_parameters (void)
|
|||
&& compare_tree_int (DECL_SIZE_UNIT (parm),
|
||||
STACK_CHECK_MAX_VAR_SIZE) > 0))
|
||||
{
|
||||
local = create_tmp_var (type, get_name (parm));
|
||||
local = create_tmp_reg (type, get_name (parm));
|
||||
DECL_IGNORED_P (local) = 0;
|
||||
/* If PARM was addressable, move that flag over
|
||||
to the local copy, as its address will be taken,
|
||||
|
@ -3597,7 +3597,7 @@ gimplify_parameters (void)
|
|||
tree ptr_type, addr;
|
||||
|
||||
ptr_type = build_pointer_type (type);
|
||||
addr = create_tmp_var (ptr_type, get_name (parm));
|
||||
addr = create_tmp_reg (ptr_type, get_name (parm));
|
||||
DECL_IGNORED_P (addr) = 0;
|
||||
local = build_fold_indirect_ref (addr);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue