2013-05-31  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57478
	PR tree-optimization/57453
	* tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes
	are life as well.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199476 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
2013-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56315
	* config/arm/arm.c (const_ok_for_dimode_op): Handle IOR.
	* config/arm/arm.md (*iordi3_insn): Change to insn_and_split.
	* config/arm/neon.md (iordi3_neon): Remove.
	(neon_vorr<mode>): Generate iordi3 instead of iordi3_neon.
	* config/arm/predicates.md (imm_for_neon_logic_operand):
	Move to earlier in the file.
	(neon_logic_op2): Likewise.
	(arm_iordi_operand_neon): New predicate.
	
gcc/testsuite/
2013-05-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	PR target/56315
	* gcc.target/arm/iordi3-opt.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199527 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * trans-array.c (gfc_array_init_size): Use passed type spec,
        when available.
        (gfc_array_allocate): Pass typespec on.
        * trans-array.h (gfc_array_allocate): Update prototype.
        * trans-stmt.c (gfc_trans_allocate): Pass typespec on.

2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * gfortran.dg/class_array_17.f90: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199528 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR middle-end/57073
        * tree-ssa-math-opts.c (execute_cse_sincos): Move check
        further up.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199529 138bc75d-0d04-0410-961f-82ee72b054a4
Add testcase for PR57478


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199531 138bc75d-0d04-0410-961f-82ee72b054a4
Fix gcc.dg/shrink-wrap-alloca.c

	* gcc.dg/shrink-wrap-alloca.c: Use __builtin_alloca.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199533 138bc75d-0d04-0410-961f-82ee72b054a4
Moved gcc.dg/debug/dwarf2/discriminator.c to proper ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199535 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	PR c/57452
	* c-c++-common/cilk-plus/AN/if_test.c: Fixed out of bounds issue in
	test-case.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199537 138bc75d-0d04-0410-961f-82ee72b054a4
fix nsdmi-union2.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199541 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] -mcmodel=tiny -fPIC use tiny absolute for non binds local.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199544 138bc75d-0d04-0410-961f-82ee72b054a4
[PATCH, AArch64] Remove excessive braces.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199545 138bc75d-0d04-0410-961f-82ee72b054a4
Silvermont (SLM) architecture performance tuning

2013-05-31  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
	    Igor Zamyatin  <igor.zamyatin@intel.com>

	* config/i386/i386.h (enum ix86_tune_indices): Add
	X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS.
	(TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define.

	* config/i386/i386.c (initial_ix86_tune_features)
	<X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize.
	(ix86_lea_outperforms): Handle Silvermont tuning.
	(ix86_avoid_lea_for_add): Add new argument to ix86_lea_outperforms
	call.
	(ix86_use_lea_for_mov): Likewise.
	(ix86_avoid_lea_for_addr): Likewise.
	(ix86_lea_for_add_ok): Likewise.
	(exact_dependency_1): New function.
	(exact_store_load_dependency): Likewise.
	(ix86_adjust_cost): Handle Silvermont tuning.
	(do_reoder_for_imul): Likewise.
	(swap_top_of_ready_list): New function.
	(ix86_sched_reorder): Changed to handle Silvermont tuning.

	* config/i386/i386.md (peepholes that split memory operand in fp
	converts): New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199546 138bc75d-0d04-0410-961f-82ee72b054a4
Fix eb76.C regression for arm*-*-*.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199550 138bc75d-0d04-0410-961f-82ee72b054a4
Fix pr56184.C regression.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199551 138bc75d-0d04-0410-961f-82ee72b054a4
Fix pr54684.C regression.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199552 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-31  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
        * config/rs6000/rs6000-opts.h (enum processor_type): Reorder.
        * config/rs6000/rs6000.md (cpu): Reorder.  Split long line.
        Fix comment.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199555 138bc75d-0d04-0410-961f-82ee72b054a4
	* simplify-rtx.c (simplify_byte_swapping_operation): Use proper macro
	for constant scalar integers.
	(simplify_relational_operation_1): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199556 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/rs6000/predicates.md (rs6000_cbranch_operator): Accept some
	unordered comparison operators when -fno-trapping-math is in effect
	on the e500.
	* config/rs6000/rs6000.c (rs6000_generate_compare): Remove dead code
	and implement unordered comparison operators properly on the e500.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199557 138bc75d-0d04-0410-961f-82ee72b054a4
	* ada/acats/floatstore.lst: New.
	* ada/acats/run_all.sh: Process it.


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

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