Commit Graph

128545 Commits

Author SHA1 Message Date
Eric Botcazou 248d745ac2 re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification)
PR libffi/60073
	* src/sparc/v8.S: Assemble only if !SPARC64.
	* src/sparc/v9.S: Remove obsolete comment.
	* src/sparc/ffitarget.h (enum ffi_abi): Add FFI_COMPAT_V9.
	(V8_ABI_P): New macro.
	(V9_ABI_P): Likewise.
	(FFI_EXTRA_CIF_FIELDS): Define only if SPARC64.
	* src/sparc/ffi.c (ffi_prep_args_v8): Compile only if !SPARC64.
	(ffi_prep_args_v9): Compile only if SPARC64.
	(ffi_prep_cif_machdep_core): Use V9_ABI_P predicate.
	(ffi_prep_cif_machdep): Guard access to nfixedargs field.
	(ffi_prep_cif_machdep_var): Likewise.
	(ffi_v9_layout_struct): Compile only if SPARC64.
	(ffi_call): Deal with FFI_V8PLUS and FFI_COMPAT_V9 and fix warnings.
	(ffi_prep_closure_loc): Use V9_ABI_P and V8_ABI_P predicates.
	(ffi_closure_sparc_inner_v8): Compile only if !SPARC64.
	(ffi_closure_sparc_inner_v9): Compile only if SPARC64.  Guard access
	to nfixedargs field.

From-SVN: r207822
2014-02-17 12:00:04 +00:00
Kirill Yukhin 583a9919ad avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap arguments order in builtin.
gcc/
	* config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
	arguments order in builtin.
	(_mm512_permutexvar_epi64): Ditto.
	(_mm512_mask_permutexvar_epi64): Ditto
	(_mm512_maskz_permutexvar_epi32): Ditto
	(_mm512_permutexvar_epi32): Ditto
	(_mm512_mask_permutexvar_epi32): Ditto

gcc/testsuite/
	* gcc.target/i386/avx512f-vpermd-2.c: Fix reference calculations.
	* gcc.target/i386/avx512f-vpermpd-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermps-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermq-var-2.c: Ditto.


Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>

From-SVN: r207821
2014-02-17 11:26:08 +00:00
Kugan Vivekanandarajah 6c01e96e5e MAINTAINERS (Write After Approval): Add myself.
2014-02-17  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r207820
2014-02-17 10:58:31 +00:00
Jan Hubicka cd282a6d96 Revert accidental checkin.
From-SVN: r207818
2014-02-17 09:23:41 +00:00
Bill Schmidt d737743fce altivec.md (p8_vmrgew): Handle little endian targets.
2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/altivec.md (p8_vmrgew): Handle little endian
	targets.
	(p8_vmrgow): Likewise.

From-SVN: r207815
2014-02-17 02:01:42 +00:00
Bill Schmidt 54c4bfd767 vsx.md (vsx_xxpermdi_<mode>): Handle little endian targets.
2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
	endian targets.

From-SVN: r207814
2014-02-17 02:00:26 +00:00
GCC Administrator 12dbb687e9 Daily bump.
From-SVN: r207813
2014-02-17 00:16:58 +00:00
Richard Sandiford 5f4dd4729c gcc/testsuite/
* lib/target-supports.exp
	(check_effective_target_logical_op_short_circuit): New procedure.
	* gcc.dg/binop-xor1.c: XFAIL for logical_op_short_circuit.
	* gcc.dg/tree-ssa/forwprop-28.c: Use logical_op_short_circuit
	instead of mips*-*-*, arc*-*-*, avr*-*-* and arm_cortex_m tests.
	* gcc.dg/tree-ssa/vrp47.c: Likewise.
	* gcc.dg/tree-ssa/vrp87.c: Likewise.
	* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Likewise.  Also use
	logical_op_short_circuit for the alternative test, extending
	it to arm_cortex_m.

From-SVN: r207810
2014-02-16 21:58:43 +00:00
Michael Meissner 518fea64fc re PR target/60203 (Support long double/_Decimal128 direct move on power8)
[gcc]
2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/60203
	* config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
	(mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
	into 64-bit and 32-bit moves.  On 64-bit moves, add support for
	using direct move instructions on ISA 2.07.  Also adjust
	instruction length for 64-bit.
	(mov<mode>_64bit, TFmode/TDmode): Likewise.
	(mov<mode>_32bit, TFmode/TDmode): Likewise.

[gcc/testsuite]
2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/60203
	* gcc.target/powerpc/pr60203.c: New testsuite.

From-SVN: r207808
2014-02-16 03:08:03 +00:00
GCC Administrator 71a03f516f Daily bump.
From-SVN: r207807
2014-02-16 00:16:58 +00:00
Mikael Morin f0cbaeb80b re PR fortran/59599 (Compiler internal error on intrinsic ichar)
fortran/
        PR fortran/59599
        * trans-intrinsic.c (gfc_conv_intrinsic_ichar): Calculate the
        number of arguments.

testsuite/
        PR fortran/59599
        * gfortran.dg/ichar_3.f90: New test.

From-SVN: r207799
2014-02-15 11:48:41 +00:00
Alan Modra 6164091674 re PR target/58675 (ICE in rs6000_secondary_reload_inner:15460, type = store)
PR target/58675
	PR target/57935
	* config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
	find_replacement on parts of insn rtl that might be reloaded.

From-SVN: r207798
2014-02-15 21:19:55 +10:30
Richard Biener a2b33cc36b re PR tree-optimization/60183 (phiprop creates invalid code)
2014-02-15  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/60183
	* tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
	loads.
	(tree_ssa_phiprop): Calculate and free post-dominators.

	* gcc.dg/torture/pr60183.c: New testcase.

From-SVN: r207797
2014-02-15 09:54:52 +00:00
GCC Administrator cd7734ca9e Daily bump.
From-SVN: r207796
2014-02-15 00:17:04 +00:00
Jeff Law 059742a47f re PR rtl-optimization/60131 (RTL check fail in rhs_regno)
PR rtl-optimization/60131
	* ree.c (get_extended_src_reg): New function.
	(combine_reaching_defs): Use it rather than assuming location
	of REG.
	(find_and_remove_re): Verify first operand of extension is
	a REG before adding the insns to the copy list.

	PR rtl-optimization/60131
	* g++.dg/torture/pr60131.C: New test.

From-SVN: r207792
2014-02-14 13:26:31 -07:00
Roland McGrath 88f7c49a8b Use ud2 assembly mnemonic when available.
gcc/
	* configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
	* configure: Regenerated.
	* config.in: Regenerated.
	* config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
	instead of ASM_SHORT.

From-SVN: r207789
2014-02-14 17:37:23 +00:00
Ian Bolton f8cdff388d Skip test if -mfloat-abi=hard specified
From-SVN: r207788
2014-02-14 17:20:46 +00:00
Vladimir Makarov 2ae577fdbd re PR rtl-optimization/59535 (-Os code size regressions for Thumb1/Thumb2 with LRA)
2014-02-14  Vladimir Makarov  <vmakarov@redhat.com>
	    Richard Earnshaw  <rearnsha@arm.com>

	PR rtl-optimization/59535
	* lra-constraints.c (process_alt_operands): Encourage alternative
	when unassigned pseudo class is superset of the alternative class.
	(inherit_reload_reg): Don't inherit when optimizing for code size.
	* config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
	returning CORE_REGS for anything but Thumb1 and BASE_REGS for
	modes not less than 4 for Thumb1.


Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>

From-SVN: r207787
2014-02-14 16:18:29 +00:00
Bernd Edlinger efdf3f4df5 overflow-negate-2.c (main): Use signed char.
2014-02-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-c++-common/ubsan/overflow-negate-2.c (main): Use signed char.

From-SVN: r207786
2014-02-14 14:25:56 +00:00
Kyle McMartin 5d88af08e6 re PR pch/60010 (AArch64: sigsegv in cc1plus using pch without defining TRY_EMPTY_VM_SPACE)
PR pch/60010
2014-02-14  Kyle McMartin  <kyle@redhat.com>

	* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.

From-SVN: r207785
2014-02-14 14:14:03 +00:00
Richard Biener 3069b4210a cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
2014-02-14  Richard Biener  <rguenther@suse.de>

	* cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
	(get_frame_arg): Drop the assert with langhook types_compatible_p.
	Do not strip INDIRECT_REFs.

From-SVN: r207784
2014-02-14 14:07:30 +00:00
Richard Biener 1966fd99d8 re PR target/60179 (target optimization attribute streaming is broken)
2014-02-14  Richard Biener  <rguenther@suse.de>

	PR lto/60179
	* lto-streamer-out.c (DFS_write_tree_body): Do not follow
	DECL_FUNCTION_SPECIFIC_TARGET.
	(hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
	* tree-streamer-out.c (pack_ts_target_option): Remove.
	(streamer_pack_tree_bitfields): Do not stream
	TS_TARGET_OPTION.
	(write_ts_function_decl_tree_pointers): Do not stream
	DECL_FUNCTION_SPECIFIC_TARGET.
	* tree-streamer-in.c (unpack_ts_target_option): Remove.
	(unpack_value_fields): Do not stream TS_TARGET_OPTION.
	(lto_input_ts_function_decl_tree_pointers): Do not stream
	DECL_FUNCTION_SPECIFIC_TARGET.

	lto/
	* lto.c (compare_tree_sccs_1): Do not compare
	DECL_FUNCTION_SPECIFIC_TARGET.
	(lto_read_decls): Re-build DECL_FUNCTION_SPECIFIC_TARGET.

From-SVN: r207783
2014-02-14 12:03:43 +00:00
Jakub Jelinek b010d60175 tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
* tree-vect-loop.c (vect_is_slp_reduction): Don't set
	use_stmt twice.
	(get_initial_def_for_induction, vectorizable_induction): Ignore
	debug stmts when looking for exit_phi.
	(vectorizable_live_operation): Fix up condition.

	* gcc.c-torture/compile/20140213.c: New test.

From-SVN: r207778
2014-02-14 08:31:23 +01:00
Chung-Ju Wu f2dafb914e nds32.c (nds32_asm_function_prologue): Do not use nreverse() because it changes the content of original tree list.
2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>

	* config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
	nreverse() because it changes the content of original tree list.

From-SVN: r207777
2014-02-14 06:02:16 +00:00
Chung-Ju Wu 59043e7595 t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>

	* config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
	* config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.

From-SVN: r207775
2014-02-14 05:01:31 +00:00
Chung-Ju Wu 810f736f0c nds32.c (nds32_naked_function_p): Follow the GNU coding standards.
2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>

	* config/nds32/nds32.c (nds32_naked_function_p): Follow the
	GNU coding standards.

From-SVN: r207774
2014-02-14 04:45:56 +00:00
GCC Administrator c689273266 Daily bump.
From-SVN: r207773
2014-02-14 00:16:55 +00:00
Jakub Jelinek 1a025bbfa0 re PR debug/60152 (multiple AT_calling_convention attributes generated after r205679)
PR debug/60152
	* dwarf2out.c (gen_subprogram_die): Don't call
	add_calling_convention_attribute if subr_die is old_die.

From-SVN: r207770
2014-02-13 23:42:44 +01:00
Sharad Singhai 69479ebda8 optinfo.texi: Fix order of nodes.
2014-02-13  Sharad Singhai  <singhai@google.com>

	* doc/optinfo.texi: Fix order of nodes.

From-SVN: r207767
2014-02-13 21:43:53 +00:00
Uros Bizjak 1287ae503e sse.md (xop_vmfrcz<mode>2): Generate const0 in operands[2], not operands[3].
* config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
	operands[2], not operands[3].

From-SVN: r207764
2014-02-13 17:47:35 +01:00
Eric Botcazou 30255340f6 re PR libffi/60073 (64-bit libffi.call/cls_double_va.c FAILs after recent modification)
PR libffi/60073
	* src/sparc/ffitarget.h (FFI_TARGET_SPECIFIC_VARIADIC): Define.
	(FFI_EXTRA_CIF_FIELDS): Likewise.
	(FFI_NATIVE_RAW_API): Move around.
	* src/sparc/ffi.c (ffi_prep_cif_machdep_core): New function from...
	(ffi_prep_cif_machdep): ...here.  Call ffi_prep_cif_machdep_core.
	(ffi_prep_cif_machdep_var): New function.
	(ffi_closure_sparc_inner_v9): Do not pass anonymous FP arguments in
	FP registers.
	* doc/libffi.texi (Introduction): Fix inaccuracy.

From-SVN: r207763
2014-02-13 16:18:13 +00:00
Richard Biener 662dae0db0 download_prerequisites: Update ISL and CLOOG versions.
2014-02-13  Richard Biener  <rguenther@suse.de>

	* download_prerequisites: Update ISL and CLOOG versions.

From-SVN: r207759
2014-02-13 14:06:48 +00:00
Richard Biener 4337223623 re PR bootstrap/59878 (ISL from cloog does not work with trunk)
2014-02-13  Richard Biener  <rguenther@suse.de>

	PR bootstrap/59878
	* doc/install.texi (ISL): Update recommended version to 0.12.2,
	mention the possibility of an in-tree build.
	(CLooG): Update recommended version to 0.18.1, mention the
	possibility of an in-tree build and clarify that the ISL
	bundled with CLooG does not work.

From-SVN: r207758
2014-02-13 13:35:10 +00:00
Jakub Jelinek a4d70cfae3 re PR target/43546 (ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm)
PR target/43546
	* expr.c (compress_float_constant): If x is a hard register,
	extend into a pseudo and then move to x.

	* gcc.target/i386/pr43546.c: New test.

From-SVN: r207757
2014-02-13 14:20:06 +01:00
Dominik Vogt e697d1191c s390.c (s390_asm_output_function_label): Fix crash caused by bad second argument to warning_at() with -mhotpatch and...
2014-02-13  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* config/s390/s390.c (s390_asm_output_function_label): Fix crash
	caused by bad second argument to warning_at() with -mhotpatch and
	nested functions (e.g. with gfortran).

2014-02-13  Dominik Vogt  <vogt@linux.vnet.ibm.com>

	* gcc.target/s390/hotpatch-compile-8.c: New test.

From-SVN: r207753
2014-02-13 12:38:52 +00:00
Richard Sandiford 37eb01c282 pr59605.c: Convert to a compile test.
gcc/testsuite/
	* gcc.dg/pr59605.c: Convert to a compile test.  Protect MAX_COPY
	definition with an ifndef.
	* gcc.dg/pr59605-2.c: New test.

From-SVN: r207748
2014-02-13 09:22:26 +00:00
Richard Sandiford 9f8da9073b opts.c (option_name): Remove "enabled by default" rider.
gcc/
	* opts.c (option_name): Remove "enabled by default" rider.

gcc/testsuite/
	* gcc.dg/gomp/simd-clones-5.c: Update comment for new warning message.

From-SVN: r207747
2014-02-13 09:22:04 +00:00
GCC Administrator 1de01e3ebf Daily bump.
From-SVN: r207746
2014-02-13 00:16:47 +00:00
John David Anglin 0fdd1196f7 pa.c (pa_option_override): Remove auto increment FIXME.
* config/pa/pa.c (pa_option_override): Remove auto increment FIXME.

From-SVN: r207743
2014-02-12 23:28:24 +00:00
Joseph Myers 9acf28f153 float128-mul-underflow.c, [...]: New tests.
gcc/testsuite:
	* gcc.dg/torture/float128-mul-underflow.c,
	gcc.dg/torture/float128-truncdf-underflow.c,
	gcc.dg/torture/float128-truncsf-underflow.c: New tests.

libgcc:
	* soft-fp/adddf3.c: Update from glibc.
	* soft-fp/addsf3.c: Likewise.
	* soft-fp/addtf3.c: Likewise.
	* soft-fp/divdf3.c: Likewise.
	* soft-fp/divsf3.c: Likewise.
	* soft-fp/divtf3.c: Likewise.
	* soft-fp/double.h: Likewise.
	* soft-fp/eqdf2.c: Likewise.
	* soft-fp/eqsf2.c: Likewise.
	* soft-fp/eqtf2.c: Likewise.
	* soft-fp/extenddftf2.c: Likewise.
	* soft-fp/extended.h: Likewise.
	* soft-fp/extendsfdf2.c: Likewise.
	* soft-fp/extendsftf2.c: Likewise.
	* soft-fp/extendxftf2.c: Likewise.
	* soft-fp/fixdfdi.c: Likewise.
	* soft-fp/fixdfsi.c: Likewise.
	* soft-fp/fixdfti.c: Likewise.
	* soft-fp/fixsfdi.c: Likewise.
	* soft-fp/fixsfsi.c: Likewise.
	* soft-fp/fixsfti.c: Likewise.
	* soft-fp/fixtfdi.c: Likewise.
	* soft-fp/fixtfsi.c: Likewise.
	* soft-fp/fixtfti.c: Likewise.
	* soft-fp/fixunsdfdi.c: Likewise.
	* soft-fp/fixunsdfsi.c: Likewise.
	* soft-fp/fixunsdfti.c: Likewise.
	* soft-fp/fixunssfdi.c: Likewise.
	* soft-fp/fixunssfsi.c: Likewise.
	* soft-fp/fixunssfti.c: Likewise.
	* soft-fp/fixunstfdi.c: Likewise.
	* soft-fp/fixunstfsi.c: Likewise.
	* soft-fp/fixunstfti.c: Likewise.
	* soft-fp/floatdidf.c: Likewise.
	* soft-fp/floatdisf.c: Likewise.
	* soft-fp/floatditf.c: Likewise.
	* soft-fp/floatsidf.c: Likewise.
	* soft-fp/floatsisf.c: Likewise.
	* soft-fp/floatsitf.c: Likewise.
	* soft-fp/floattidf.c: Likewise.
	* soft-fp/floattisf.c: Likewise.
	* soft-fp/floattitf.c: Likewise.
	* soft-fp/floatundidf.c: Likewise.
	* soft-fp/floatundisf.c: Likewise.
	* soft-fp/floatunditf.c: Likewise.
	* soft-fp/floatunsidf.c: Likewise.
	* soft-fp/floatunsisf.c: Likewise.
	* soft-fp/floatunsitf.c: Likewise.
	* soft-fp/floatuntidf.c: Likewise.
	* soft-fp/floatuntisf.c: Likewise.
	* soft-fp/floatuntitf.c: Likewise.
	* soft-fp/gedf2.c: Likewise.
	* soft-fp/gesf2.c: Likewise.
	* soft-fp/getf2.c: Likewise.
	* soft-fp/ledf2.c: Likewise.
	* soft-fp/lesf2.c: Likewise.
	* soft-fp/letf2.c: Likewise.
	* soft-fp/muldf3.c: Likewise.
	* soft-fp/mulsf3.c: Likewise.
	* soft-fp/multf3.c: Likewise.
	* soft-fp/negdf2.c: Likewise.
	* soft-fp/negsf2.c: Likewise.
	* soft-fp/negtf2.c: Likewise.
	* soft-fp/op-1.h: Likewise.
	* soft-fp/op-2.h: Likewise.
	* soft-fp/op-4.h: Likewise.
	* soft-fp/op-8.h: Likewise.
	* soft-fp/op-common.h: Likewise.
	* soft-fp/quad.h: Likewise.
	* soft-fp/single.h: Likewise.
	* soft-fp/soft-fp.h: Likewise.
	* soft-fp/subdf3.c: Likewise.
	* soft-fp/subsf3.c: Likewise.
	* soft-fp/subtf3.c: Likewise.
	* soft-fp/truncdfsf2.c: Likewise.
	* soft-fp/trunctfdf2.c: Likewise.
	* soft-fp/trunctfsf2.c: Likewise.
	* soft-fp/trunctfxf2.c: Likewise.
	* soft-fp/unorddf2.c: Likewise.
	* soft-fp/unordsf2.c: Likewise.
	* soft-fp/unordtf2.c: Likewise.
	* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
	macro.
	* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.
	* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
	Likewise.

From-SVN: r207742
2014-02-12 23:24:49 +00:00
Jakub Jelinek f494a60736 re PR middle-end/59737 (ice from optimize_inline_calls)
PR middle-end/59737
	* g++.dg/ipa/pr59737.C: New test.

From-SVN: r207735
2014-02-12 17:55:51 +01:00
H.J. Lu 0544c44869 Pass --32 to GNU assembler for .long foo@GOTOFF check
PR target/60151
	* configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU
	assembler.
	* configure: Regenerated.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>

From-SVN: r207731
2014-02-12 08:12:36 -08:00
H.J. Lu 8a17013438 Compile g++.dg/opt/pr52727.C with -march=i686 for ia32
* g++.dg/opt/pr52727.C: Compile with -march=i686 for ia32.

From-SVN: r207730
2014-02-12 08:02:45 -08:00
Richard Biener 3a938d756b vec.c (vec_prefix::calculate_allocation): Move as inline variant to vec.h.
2014-02-12  Richard Biener  <rguenther@suse.de>

	* vec.c (vec_prefix::calculate_allocation): Move as
	inline variant to vec.h.
	(vec_prefix::calculate_allocation_1): New out-of-line version.
	* vec.h (vec_prefix::calculate_allocation_1): Declare.
	(vec_prefix::m_has_auto_buf): Rename to ...
	(vec_prefix::m_using_auto_storage): ... this.
	(vec_prefix::calculate_allocation): Inline the easy cases
	and dispatch to calculate_allocation_1 which doesn't need the
	prefix address.
	(va_heap::reserve): Use gcc_checking_assert.
	(vec<T, A, vl_embed>::embedded_init): Add argument to initialize
	m_using_auto_storage.
	(auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
	member and adjust.
	(vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
	(vec<T, va_heap, vl_ptr>::release): Avoid casting.
	(vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.

From-SVN: r207729
2014-02-12 16:01:03 +00:00
Richard Biener ad0188be21 gcse.c (compute_transp): break from loop over canon_modify_mem_list when we found a dependence.
2014-02-12  Richard Biener  <rguenther@suse.de>

	* gcse.c (compute_transp): break from loop over canon_modify_mem_list
	when we found a dependence.

From-SVN: r207726
2014-02-12 14:50:06 +00:00
Thomas Schwinge 77d8d4eb66 Fix typo in dg-error invocation.
gcc/testsuite/
	* c-c++-common/raw-string-3.c: Fix typo in dg-error invocation.

From-SVN: r207725
2014-02-12 15:46:41 +01:00
Thomas Schwinge 88ac13da93 Refactor common code into new maybe_fold_stmt function.
gcc/
	* gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
	common code...
	(maybe_fold_stmt): ... into this new function.
	* omp-low.c (lower_omp): Update comment.

From-SVN: r207724
2014-02-12 15:46:30 +01:00
Thomas Schwinge bae729a29f Add clobber for object, after last use.
gcc/
	* omp-low.c (lower_omp_target): Add clobber for sizes array, after
	last use.

From-SVN: r207723
2014-02-12 15:46:19 +01:00
Thomas Schwinge 64e5ace535 Fix potential ICE (null pointer dereference) in omp-low.c:diagnose_sb_0.
gcc/
	* omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
	dereference.
	gcc/testsuite/
	* gcc.dg/cilk-plus/jump-openmp.c: New file.

From-SVN: r207722
2014-02-12 15:46:08 +01:00
James Greenhalgh 7b40f5cf04 [ARM] [Churn] Comments on cost tables should have lower-case identifiers.
* config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
	identifiers in comments.
	(cortexa53_extra_costs): Likewise.
	* config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in
	comments.
	(cortexa7_extra_costs): Likewise.
	(cortexa12_extra_costs): Likewise.
	(cortexa15_extra_costs): Likewise.
	(v7m_extra_costs): Likewise.

From-SVN: r207721
2014-02-12 13:52:02 +00:00