2014-10-24  Richard Biener  <rguenther@suse.de>

	* fold-const.c (fold_binary_loc): Fix copy-and-pasto.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216617 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-24  Richard Biener  <rguenther@suse.de>

	* Makefile.in (BUILD_CPPLIB): When in stage2+ use the
	host library and make sure to pull in the required libintl
	and libiconv dependencies.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216619 138bc75d-0d04-0410-961f-82ee72b054a4
Account for prologue spills in reg_pressure scheduling

	* haifa-sched.c (sched_class_regs_num, call_used_regs_num): New static
	arrays.  Use sched_class_regs_num instead of ira_class_hard_regs_num.
	(print_curr_reg_pressure, setup_insn_reg_pressure_info,)
	(model_update_pressure, model_spill_cost): Use sched_class_regs_num.
	(model_start_schedule): Update.
	(sched_pressure_start_bb): New static function.  Calculate
	sched_class_regs_num.
	(schedule_block): Use it.
	(alloc_global_sched_pressure_data): Calculate call_used_regs_num.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216620 138bc75d-0d04-0410-961f-82ee72b054a4
Improve scheduler dumps of ready list

	* sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
	* haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
	(rfs_result): Set INSN_LAST_RFS_WIN.  Update signature.
	(rank_for_schedule): Update calls to rfs_result to pass new parameters.
	(print_rank_for_schedule_stats): Print out elements of ready list that
	ended up on their respective places due to each of the sorting
	heuristics.
	(ready_sort): Update.
	(debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
	(schedule_block): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216621 138bc75d-0d04-0410-961f-82ee72b054a4
Remove cached_first_cycle_multipass_dfa_lookahead and cached_issue_rate

	* haifa-sched.c (cached_first_cycle_multipass_dfa_lookahead,)
	(cached_issue_rate): Remove.  Use dfa_lookahead and issue_rate instead.
	(max_issue, choose_ready, sched_init): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216622 138bc75d-0d04-0410-961f-82ee72b054a4
Disable max_issue when scheduling for register pressure

	* haifa-sched.c (sched_init): Disable max_issue when scheduling for
	register pressure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216623 138bc75d-0d04-0410-961f-82ee72b054a4
Handle SCRATCH in decompose_address

	* rtlanal.c (get_base_term): Handle SCRATCH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216624 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-24  Daniel Hellstrom  <daniel@gaisler.com>

	* MAINTAINERS (write-after-approval): Add myself.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216626 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.target/alpha/980217-1.c (main): Fix implicit int.
	* gcc.target/alpha/pr19518.c (_mm_setzero_si64): New function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216627 138bc75d-0d04-0410-961f-82ee72b054a4
Fix gcc.dg/pr63594-1.c execution on Solaris/x86

        * gcc.dg/pr63594-1.c: Apply -mno-mmx to all i?86-*-* and x86_64-*-*
        targets.
        * gcc.dg/pr63594-2.c: Likewise.

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