diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2000-04-28 20:17:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-04-28 20:17:06 -0400 |
commit | 0cc2105eb394a0a6b5455dd84a1964407b4a644c (patch) | |
tree | 52af1e85ff98d0e82e13aa860b8f6778fa3b538e /gcc/cp/optimize.c | |
parent | a2ee84303547064c4c00ac66fd2834c34e09bf80 (diff) | |
download | gcc-0cc2105eb394a0a6b5455dd84a1964407b4a644c.zip gcc-0cc2105eb394a0a6b5455dd84a1964407b4a644c.tar.gz gcc-0cc2105eb394a0a6b5455dd84a1964407b4a644c.tar.bz2 |
revert
From-SVN: r33531
Diffstat (limited to 'gcc/cp/optimize.c')
-rw-r--r-- | gcc/cp/optimize.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c index 39f8247..9863d4a 100644 --- a/gcc/cp/optimize.c +++ b/gcc/cp/optimize.c @@ -419,8 +419,6 @@ initialize_inlined_parameters (id, args, fn) /* Make an equivalent VAR_DECL. */ var = copy_decl_for_inlining (p, fn, VARRAY_TREE (id->fns, 0)); - c_apply_type_quals_to_decl (TYPE_QUALS (p), var); - /* Register the VAR_DECL as the equivalent for the PARM_DECL; that way, when the PARM_DECL is encountered, it will be automatically replaced by the VAR_DECL. */ @@ -432,8 +430,6 @@ initialize_inlined_parameters (id, args, fn) this will not result in an extra copy: the TARGET_EXPR representing the argument will be bound to VAR, and the object will be constructed in VAR. */ - if (! TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (p))) - DECL_INITIAL (var) = TREE_VALUE (a); init_stmt = build_min_nt (EXPR_STMT, build (INIT_EXPR, TREE_TYPE (p), var, value)); |