Commit dae1d6f6 by Benjamin Kosnik Committed by Benjamin Kosnik

decl.c (store_return_init): Allow classes with explicit ctors to be used with…

decl.c (store_return_init): Allow classes with explicit ctors to be used with the named return values extension.

 * decl.c (store_return_init): Allow classes with explicit ctors to
  be used with the named return values extension.

From-SVN: r15896
parent 31c0e01b
Mon Oct 13 17:41:26 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (store_return_init): Allow classes with explicit ctors to
be used with the named return values extension.
Fri Oct 10 12:21:11 1997 Jason Merrill <jason@yorick.cygnus.com> Fri Oct 10 12:21:11 1997 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (instantiate_decl): Fix previous change. * pt.c (instantiate_decl): Fix previous change.
......
...@@ -11835,7 +11835,7 @@ store_return_init (return_id, init) ...@@ -11835,7 +11835,7 @@ store_return_init (return_id, init)
add_tree (build_min_nt (RETURN_INIT, return_id, add_tree (build_min_nt (RETURN_INIT, return_id,
copy_to_permanent (init))); copy_to_permanent (init)));
else else
cp_finish_decl (decl, init, NULL_TREE, 0, LOOKUP_ONLYCONVERTING); cp_finish_decl (decl, init, NULL_TREE, 0, 0);
} }
} }
......
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