diff options
author | Richard Guenther <rguenther@suse.de> | 2010-10-01 00:47:09 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2010-10-01 00:47:09 +0000 |
commit | c98b08ff4b57a5b9755d84c808618d77c4e90bad (patch) | |
tree | 81c89a9600e46ae1a34f54e1f77dbe6805f6a8cb /gcc/function.c | |
parent | b703d7314e9832688a3cf4d8bb90b28c1d33b791 (diff) | |
download | gcc-c98b08ff4b57a5b9755d84c808618d77c4e90bad.zip gcc-c98b08ff4b57a5b9755d84c808618d77c4e90bad.tar.gz gcc-c98b08ff4b57a5b9755d84c808618d77c4e90bad.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c index bade369..21f8537 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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); |