PR c++/63928
	* constexpr.c (cxx_eval_store_expression): Return init, not *valp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217790 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix memory leak within gcc_options

gcc/ChangeLog:
	PR jit/63854
	* opts.c (finalize_options_struct): New.
	* opts.h (finalize_options_struct): New.
	* toplev.c (toplev::finalize): Call finalize_options_struct
	on global_options and global_options_set.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217791 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix memory leak of reginfo.c: valid_mode_changes_obstack

gcc/ChangeLog:
	PR jit/63854
	* reginfo.c (finish_subregs_of_mode): Replace obstack_finish with
	obstack_free when cleaning up valid_mode_changes_obstack.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217792 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix memory leaks within context/pass_manager/dump_manager

gcc/ChangeLog:
	PR jit/63854
	* config/alpha/alpha.c (alpha_option_override): Remove static from
	"handle_trap_shadows_info" and "align_insns_info".
	* config/i386/i386.c (ix86_option_override): Likewise for
	"insert_vzeroupper_info".
	* config/rl78/rl78.c (rl78_asm_file_start): Likewise for
	"rl78_devirt_info" and "rl78_move_elim_info".
	* config/rs6000/rs6000.c (rs6000_option_override): Likewise for
	"analyze_swaps_info".
	* context.c (gcc::context::~context): New.
	* context.h (gcc::context::~context): New.
	* dumpfile.c (dump_files): Add "false" initializers for new field
	"owns_strings".
	(gcc::dump_manager::~dump_manager): New.
	(gcc::dump_manager::dump_register): Add param "take_ownership".
	* dumpfile.h (struct dump_file_info): Add field "owns_strings".
	(gcc::dump_manager::~dump_manager): New.
	(gcc::dump_manager::dump_register): Add param "take_ownership".
	* pass_manager.h (gcc::pass_manager::operator delete): New.
	(gcc::pass_manager::~pass_manager): New.
	* passes.c (pass_manager::register_one_dump_file): Pass "true" to
	new "owns_strings" argument to dump_register.
	(pass_manager::operator delete): New.
	(delete_pass_tree): New function.
	(pass_manager::~pass_manager): New.
	* statistics.c (statistics_early_init): Pass "false" to
	new "owns_strings" argument to dump_register.
	* toplev.c (toplev::finalize): Clean up the context and thus the
	things it owns.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217793 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix memory leak within bb-reorder.c

gcc/ChangeLog:
	PR jit/63854
	* bb-reorder.c
	(find_rarely_executed_basic_blocks_and_crossing_edges): Convert
	local bbs_in_hot_partition from vec<> to auto_vec<>.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217794 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix memory leak of save_decoded_options

gcc/ChangeLog:
	PR jit/63854
	* toplev.c (toplev::finalize): Clean up save_decoded_options.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217795 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix leak of opts_obstack

gcc/ChangeLog:
	PR jit/63854
	* toplev.c (toplev::finalize): Free opts_obstack.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217796 138bc75d-0d04-0410-961f-82ee72b054a4
PR jit/63854: Fix leak of optimization_summary_obstack

gcc/ChangeLog:
	PR jit/63854
	* ipa-reference.c (ipa_reference_c_finalize): Release
	optimization_summary_obstack.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217797 138bc75d-0d04-0410-961f-82ee72b054a4