summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [AArch64] Fix layout of aarch64_cannot_force_const_mem.mshawcroft2013-06-282-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200532 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Update comment w.r.t SYMBOL_TINY_ABSOLUTE address model.mshawcroft2013-06-282-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200531 138bc75d-0d04-0410-961f-82ee72b054a4
* Disable strassen.f90 test for aarch64 tiny memory.mshawcroft2013-06-282-0/+6
| | | | | | | | This test case is too large to fit into the aarch64 tiny memory model. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200521 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Remove aarch64_symbolic_constant_p.mshawcroft2013-06-284-25/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>ktkachov2013-06-285-62/+100
| | | | | | | | | | | | | | | | | | | | | | | | * config/arm/constraints.md (Ts): New constraint. * config/arm/arm.md (arm_movqi_insn): Add alternatives for 16-bit encodings. (compare_scc): Use "Ts" constraint for operand 0. (ior_scc_scc): Likewise. (and_scc_scc): Likewise. (and_scc_scc_nodom): Likewise. (ior_scc_scc_cmp): Likewise for operand 7. (and_scc_scc_cmp): Likewise. * config/arm/thumb2.md (thumb2_movsi_insn): Add alternatives for 16-bit encodings. (thumb2_movhi_insn): Likewise. (thumb2_movsicc_insn): Likewise. (thumb2_and_scc): Take 'and' outside cond_exec. Use "Ts" constraint. (thumb2_negscc): Use "Ts" constraint. Move mvn instruction outside cond_exec block. * config/arm/vfp.md (thumb2_movsi_vfp): Add alternatives for 16-bit encodings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200515 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>ktkachov2013-06-282-53/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/arm/arm.md (arm_mulsi3_v6): Add alternative for 16-bit encoding. (mulsi3addsi_v6): Disable predicable variant for arm_restrict_it. (mulsi3subsi): Likewise. (mulsidi3adddi): Likewise. (mulsidi3_v6): Likewise. (umulsidi3_v6): Likewise. (umulsidi3adddi_v6): Likewise. (smulsi3_highpart_v6): Likewise. (umulsi3_highpart_v6): Likewise. (mulhisi3tb): Likewise. (mulhisi3bt): Likewise. (mulhisi3tt): Likewise. (maddhisi4): Likewise. (maddhisi4tb): Likewise. (maddhisi4tt): Likewise. (maddhidi4): Likewise. (maddhidi4tb): Likewise. (maddhidi4tt): Likewise. (zeroextractsi_compare0_scratch): Likewise. (insv_zero): Likewise. (insv_t2): Likewise. (anddi_notzesidi_di): Likewise. (anddi_notsesidi_di): Likewise. (andsi_notsi_si): Likewise. (iordi_zesidi_di): Likewise. (xordi_zesidi_di): Likewise. (andsi_iorsi3_notsi): Likewise. (smax_0): Likewise. (smax_m1): Likewise. (smin_0): Likewise. (not_shiftsi): Likewise. (unaligned_loadsi): Likewise. (unaligned_loadhis): Likewise. (unaligned_loadhiu): Likewise. (unaligned_storesi): Likewise. (unaligned_storehi): Likewise. (extv_reg): Likewise. (extzv_t2): Likewise. (divsi3): Likewise. (udivsi3): Likewise. (arm_zero_extendhisi2addsi): Likewise. (arm_zero_extendqisi2addsi): Likewise. (compareqi_eq0): Likewise. (arm_extendhisi2_v6): Likewise. (arm_extendqisi2addsi): Likewise. (arm_movt): Likewise. (thumb2_ldrd): Likewise. (thumb2_ldrd_base): Likewise. (thumb2_ldrd_base_neg): Likewise. (thumb2_strd): Likewise. (thumb2_strd_base): Likewise. (thumb2_strd_base_neg): Likewise. (arm_negsi2): Add alternative for 16-bit encoding. (arm_one_cmplsi2): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200513 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-28 Marc Glisse <marc.glisse@inria.fr>glisse2013-06-282-2/+7
| | | | | | | | | PR c++/57509 * g++.dg/ext/pr57509.C: Pass vectors by reference to avoid warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200511 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>ktkachov2013-06-284-5/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | * config/arm/predicates.md (arm_cond_move_operator): New predicate. * config/arm/arm.md (movsfcc): Use arm_cond_move_operator predicate. (movdfcc): Likewise. * config/arm/vfp.md (*thumb2_movsf_vfp): Disable predication for arm_restrict_it. (*thumb2_movsfcc_vfp): Disable for arm_restrict_it. (*thumb2_movdfcc_vfp): Likewise. (*abssf2_vfp, *absdf2_vfp, *negsf2_vfp, *negdf2_vfp,*addsf3_vfp, *adddf3_vfp, *subsf3_vfp, *subdf3_vfpc, *divsf3_vfp,*divdf3_vfp, *mulsf3_vfp, *muldf3_vfp, *mulsf3negsf_vfp, *muldf3negdf_vfp, *mulsf3addsf_vfp, *muldf3adddf_vfp, *mulsf3subsf_vfp, *muldf3subdf_vfp, *mulsf3negsfaddsf_vfp, *fmuldf3negdfadddf_vfp, *mulsf3negsfsubsf_vfp, *muldf3negdfsubdf_vfp, *fma<SDF:mode>4, *fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4, *extendsfdf2_vfp, *truncdfsf2_vfp, *extendhfsf2, *truncsfhf2, *truncsisf2_vfp, *truncsidf2_vfp, fixuns_truncsfsi2, fixuns_truncdfsi2, *floatsisf2_vfp, *floatsidf2_vfp, floatunssisf2, floatunssidf2, *sqrtsf2_vfp, *sqrtdf2_vfp, *cmpsf_vfp, *cmpsf_trap_vfp, *cmpdf_vfp, *cmpdf_trap_vfp, <vrint_pattern><SDF:mode>2): Disable predication for arm_restrict_it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200510 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/36041jakub2013-06-282-0/+50
| | | | | | | | | | | * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST): Define. (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics instead of table lookups. (__popcountDI2): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200506 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLog:kyukhin2013-06-287-16/+154
| | | | | | | | | | | | | | | | * config/i386/bmiintrin.h (_bextr_u32): New. (_bextr_u64): Ditto. testsuite/ChangeLog: * gcc.target/i386/bmi-1.c: Extend with new instrinsic. Fix scan patterns. * gcc.target/i386/bmi-1.c: Ditto. * gcc.target/i386/bmi-bextr-4.c: New. * gcc.target/i386/bmi-bextr-5.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200505 138bc75d-0d04-0410-961f-82ee72b054a4
* /cppaolo2013-06-284-2/+28
| | | | | | | | | | | | | | | | | 2013-06-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57682 * parser.c (cp_parser_save_member_function_body): Handle correctly curly braces in function-try-block mem-initializers. /testsuite 2013-06-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57682 * g++.dg/cpp0x/initlist73.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200504 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/meadori2013-06-284-0/+10
| | | | | | | | | | | 2013-06-27 Meador Inge <meadori@codesourcery.com> * gcc.dg/atomic-flag.c: Add dg-require-effective-target sync_*. * g++.dg/simulate-thread/atomics-2.C: Likewise. * g++.dg/simulate-thread/atomics-1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200501 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-06-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200500 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2013-06-274-20/+46
| | | | | | | | | | | * config.gcc (mips*-mti-elf*, mips*-sde-elf*, mips64r5900-*-elf*) (mips64r5900el-*-elf*): Include mips/n32-elf.h. * config/mips/sde.h (LOCAL_LABEL_PREFIX, NO_DOLLAR_IN_LABEL) (LONG_DOUBLE_TYPE_SIZE, LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move to... * config/mips/n32-elf.h: ...this new file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200496 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Marc Glisse <marc.glisse@inria.fr>glisse2013-06-2710-14/+87
| | | | | | | | | | | | | | | | | | | | | | | PR c++/57509 gcc/c-family/ * c-common.h (c_build_vec_perm_expr): New complain argument. * c-common.c (c_build_vec_perm_expr): Likewise. Use save_expr also in C++. gcc/cp/ * typeck.c (cp_build_vec_perm_expr): New function. * cp-tree.h: Declare it. * parser.c (cp_parser_postfix_expression): Call it. * pt.c (tsubst_copy): Handle VEC_PERM_EXPR. (tsubst_copy_and_build): Likewise. gcc/testsuite/ * g++.dg/ext/pr57509.C: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200495 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: structs inherit all methods from embedded pointer fields.ian2013-06-271-1/+6
| | | | | | | | | Previously if a struct S contained an embedded field *T, a method with receiver *T would not be promoted to a method with value receiver S. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200493 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Marc Glisse <marc.glisse@inria.fr>glisse2013-06-272-4/+6
| | | | | | | | | | PR target/57224 * config/i386/i386.c (enum ix86_builtins, bdesc_args): Remove IX86_BUILTIN_CMPNGTSS and IX86_BUILTIN_CMPNGESS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200492 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: more consistent error message for [...]T(x)ian2013-06-271-1/+1
| | | | | | | | The message should be similar to the one for "var x [...]T", not to the message for []T(x...). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200490 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Catherine Moore <clm@codesourcery.com>clm2013-06-275-86/+102
| | | | | | | | | | | | * config/mips/mips-tables.opt: Regenerate. * config/mips/mips-cpus.def: Add m14ke and m14kec. * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): m14ke* implies -mdspr2. * doc/invoke.texi: Add -m14kc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200487 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/57623jakub2013-06-274-2/+40
| | | | | | | | | | * config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and constraints of operand 1 and 2. * gcc.target/i386/bmi-bextr-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200479 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/57623jakub2013-06-274-3/+46
| | | | | | | | | | | * config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments to match RTL canonicalization. Swap predicates and constraints of operand 1 and 2. * gcc.target/i386/bmi2-bzhi-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200477 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Vladimir Makarov <vmakarov@redhat.com>vmakarov2013-06-272-118/+131
| | | | | | | | | * lra-constraints.c (inherit_in_ebb): Process static hard regs too. Process OP_INOUT regs for splitting too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200475 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vect-stmts.c (vectorizable_store): Move ptr_incr varjakub2013-06-272-2/+8
| | | | | | | | decl before the loop, initialize to NULL. (vectorizable_load): Initialize ptr_incr to NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200471 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-20 Roland Lutz <rlutz@hedmen.org>aph2013-06-272-1/+5
| | | | | | | | * contrib/aot-compile.in: Fix typo in option list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200469 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Martin Jambor <mjambor@suse.cz>jamborm2013-06-276-22/+46
| | | | | | | | | | | | | | PR lto/57208 * ipa-ref.h (ipa_maybe_record_reference): Declare. * ipa-ref.c (ipa_maybe_record_reference): New function. * cgraphclones.c (cgraph_create_virtual_clone): Use it. * ipa-cp.c (create_specialized_node): Record potential references from aggvals. * Makefile.in (ipa-ref.o): Add IPA_REF_H to dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200468 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/yufeng2013-06-272-6/+15
| | | | | | | | | | | * config/aarch64/aarch64.c (aarch64_force_temporary): Add an extra parameter 'mode' of type 'enum machine_mode mode'; change to pass 'mode' to force_reg. (aarch64_add_offset): Update calls to aarch64_force_temporary. (aarch64_expand_mov_immediate): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200467 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/yufeng2013-06-272-2/+7
| | | | | | | | * config/aarch64/aarch64.c (aarch64_add_offset): Change to pass 'mode' to aarch64_plus_immediate and gen_rtx_PLUS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200466 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-06-2734-0/+14
| | | | | | | | | | | | | | | | | * testsuite/21_strings/basic_string/append/*: Move inside testsuite/21_strings/basic_string/modifiers/. * testsuite/21_strings/basic_string/assign/*: Likewise. * testsuite/21_strings/basic_string/insert/*: Likewise. * testsuite/21_strings/basic_string/replace/*: Likewise. * testsuite/21_strings/basic_string/modifiers/pop_back/char/ pop_back.cc: Rename to 1.cc. * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/ pop_back.cc: Likewise. * testsuite/ext/vstring/assign/*: Move inside testsuite/ext/vstring/modifiers/. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200465 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Marc Glisse <marc.glisse@inria.fr>glisse2013-06-274-13/+50
| | | | | | | | | | | | | | PR c++/57172 gcc/cp/ * pt.c (more_specialized_fn): If both arguments are references, give priority to an lvalue. gcc/testsuite/ * g++.dg/cpp0x/pr57172.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200463 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-06-2744-171/+623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_deque.h (deque<>::insert(iterator, const value_type&), deque<>::insert(iterator, value_type&&), deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to take a const_iterator. (deque<>::erase): Simplify. * include/bits/stl_list.h: Likewise. (_List_iterator<>::_M_const_cast): Add. * include/bits/stl_vector.h: Likewise. * include/bits/stl_bvector.h: Likewise. (_Bit_iterator::_M_const_cast): Add. * include/bits/deque.tcc: Adjust definitions. * include/bits/list.tcc: Likewise. * include/bits/vector.tcc: Likewise. * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast): Define trivial version in C++98 mode. * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT), __versa_string<>::replace(iterator, iterator, const __versa_string&), __versa_string<>::replace(iterator, iterator, const _CharT*, size_type), __versa_string<>::replace(iterator, iterator, const _CharT*), __versa_string<>::replace(iterator, iterator, size_type, _CharT)): Adjust C++11 signatures to take a pair of const_iterators. * include/debug/deque: Adjust. * include/debug/list: Likewise. * include/debug/vector: Likewise. * include/profile/deque: Likewise. * include/profile/list: Likewise. * include/profile/vector: Likewise. (vector<>::emplace): Add. * testsuite/util/exception/safety.h: Update. * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc: New. * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc: Likewise. * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc: Likewise. * testsuite/23_containers/list/modifiers/insert/const_iterator.cc: Likewise. * testsuite/23_containers/vector/bool/modifiers/insert/ const_iterator.cc: Likewise. * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc: Likewise. * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc: Likewise. * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc: Likewise. * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc: Likewise. * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc: Likewise. * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc: Likewise. * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/ ext/vstring/modifiers/erase/char/. * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/ ext/vstring/modifiers/wchar_t/. * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/ ext/vstring/modifiers/pop_back/char/. * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to testsuite/ext/vstring/modifiers/pop_back/wchar_t/. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200458 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>krebbel2013-06-2720-77/+1438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/s390/s390.c: Rename UNSPEC_CCU_TO_INT to UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. (struct machine_function): Add tbegin_p. (s390_canonicalize_comparison): Fold CC mode compares to conditional jump if possible. (s390_emit_jump): Return the emitted jump. (s390_branch_condition_mask, s390_branch_condition_mnemonic): Handle CCRAWmode compares. (s390_option_override): Default to -mhtm if available. (s390_reg_clobbered_rtx): Handle floating point regs as well. (s390_regs_ever_clobbered): Use s390_regs_ever_clobbered also for FPRs instead of df_regs_ever_live_p. (s390_optimize_nonescaping_tx): New function. (s390_init_frame_layout): Extend clobbered_regs array to cover FPRs as well. (s390_emit_prologue): Call s390_optimize_nonescaping_tx. (s390_expand_tbegin): New function. (enum s390_builtin): New enum definition. (code_for_builtin): New array definition. (s390_init_builtins): New function. (s390_expand_builtin): New function. (TARGET_INIT_BUILTINS): Define. (TARGET_EXPAND_BUILTIN): Define. * common/config/s390/s390-common.c (processor_flags_table): Add PF_TX. * config/s390/predicates.md (s390_comparison): Handle CCRAWmode. (s390_alc_comparison): Likewise. * config/s390/s390-modes.def: Add CCRAWmode. * config/s390/s390.h (processor_flags): Add PF_TX. (TARGET_CPU_HTM): Define macro. (TARGET_HTM): Define macro. (TARGET_CPU_CPP_BUILTINS): Define __HTM__ for htm. * config/s390/s390.md: Rename UNSPEC_CCU_TO_INT to UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT. (UNSPECV_TBEGIN, UNSPECV_TBEGINC, UNSPECV_TEND, UNSPECV_TABORT) (UNSPECV_ETND, UNSPECV_NTSTG, UNSPECV_PPA): New unspecv enum values. (TBEGIN_MASK, TBEGINC_MASK): New constants. ("*cc_to_int"): Move up. ("*mov<mode>cc", "*cjump_64", "*cjump_31"): Accept integer constants other than 0. ("*ccraw_to_int"): New insn and splitter definition. ("tbegin", "tbegin_nofloat", "tbegin_retry") ("tbegin_retry_nofloat", "tbeginc", "tend", "tabort") ("tx_assist"): New expander. ("tbegin_1", "tbegin_nofloat_1", "*tbeginc_1", "*tend_1") ("*tabort_1", "etnd", "ntstg", "*ppa"): New insn definition. * config/s390/s390.opt: Add -mhtm option. * config/s390/s390-protos.h (s390_emit_jump): Add return type. * config/s390/htmxlintrin.h: New file. * config/s390/htmintrin.h: New file. * config/s390/s390intrin.h: New file. * doc/extend.texi: Document htm builtins. * config.gcc: Add the new header files to extra_headers. 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/htm-1.c: New file. * gcc.target/s390/htm-nofloat-1.c: New file. * gcc.target/s390/htm-xl-intrin-1.c: New file. 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/target.h: Include htmintrin.h. (_HTM_ITM_RETRIES): New macro definition. (htm_available, htm_init, htm_begin, htm_begin_success) (htm_commit, htm_abort, htm_abort_should_retry): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200454 138bc75d-0d04-0410-961f-82ee72b054a4
* DR 1589jason2013-06-271-0/+22
| | | | | | * g++.dg/cpp0x/initlist72.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200451 138bc75d-0d04-0410-961f-82ee72b054a4
* * typeck2.c (store_init_value): Diagnose a non-constantjason2013-06-275-21/+30
| | | | | | initializer for in-class static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200450 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/57408jason2013-06-273-0/+38
| | | | | | | * semantics.c (add_capture): Set type to error_mark_node after error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200449 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-06-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200447 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert 200443.eager2013-06-275-93/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200444 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-16 David Holsgrove <david.holsgrove@xilinx.com>eager2013-06-265-0/+93
| | | | | | | | | | | | | | | Add sync_compare_and_swapsi and sync_test_and_setsi. * gcc/config/microblaze/sync.md: New file. * gcc/config/microblaze/microblaze.md: Add UNSPEC_SYNC_CAS, UNSPEC_SYNC_XCHG and include sync.md. * gcc/config/microblaze/microblaze.c: Add print_operand 'y'. * gcc/config/microblaze/constraints.md: Add memory_contraint 'Q' which is a single register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200443 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: disallow fallthrough in last case of switch.ian2013-06-261-0/+3
| | | | | | | | In spec: A "fallthrough" statement may appear as the last statement of all but the last clause of an expression switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200440 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-06-261-0/+10
| | | | | | | | | | | | | * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid spurious fails with check-debug. * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: Likewise. * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise. * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200438 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: reject integer division by zero constant.ian2013-06-263-3/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200436 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/tschwinge2013-06-262-1/+13
| | | | | | | | * config/i386/gnu.h [TARGET_LIBC_PROVIDES_SSP] (TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Undefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200434 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: forbid identifiers named "init" in package scope.ian2013-06-261-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200426 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-26 Tobias Burnus <burnus@net-b.de>burnus2013-06-266-5/+75
| | | | | | | | | | | | | | | | | PR fortran/29800 * trans-array.c (gfc_conv_array_ref): Improve out-of-bounds diagnostic message. * trans-array.c (gfc_conv_array_ref): Update prototype. * trans-expr.c (gfc_conv_variable): Update call. 2013-06-26 Tobias Burnus <burnus@net-b.de> PR fortran/29800 * gfortran.dg/bounds_check_17.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200425 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/power8.md: New.pthaugen2013-06-266-6/+448
| | | | | | | | | | | | | | | | * config/rs6000/rs6000-cpus.def (RS6000_CPU table): Adjust processor setting for power8 entry. * config/rs6000/t-rs6000 (MD_INCLUDES): Add power8.md. * config/rs6000/rs6000.c (is_microcoded_insn, is_cracked_insn): Adjust test for Power4/Power5 only. (insn_must_be_first_in_group, insn_must_be_last_in_group): Add Power8 support. (force_new_group): Adjust comment. * config/rs6000/rs6000.md: Include power8.md. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200423 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-26 Greta Yorsh <Greta.Yorsh@arm.com>gretay2013-06-264-5/+35
| | | | | | | | | | | | | | | | * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Define macro. * config/arm/arm-protos.h (arm_max_conditional_execute): New declaration. (tune_params): Update comment. * config/arm/arm.c (arm_cortex_a15_tune): Set max_cond_insns to 2. (arm_max_conditional_execute): New function. (thumb2_final_prescan_insn): Use max_insn_skipped and MAX_INSN_PER_IT_BLOCK to compute maximum instructions in a block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200419 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp:emsr2013-06-264-2/+20
| | | | | | | | | | | | | | | | | | | | 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/57640 * parser.c (cp_parser_unqualified_id): Add declarator_p to checks to trigger warning, (cp_literal_operator_id): Remove bogus TODO comment. gcc/testsuite: 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net> PR c++/57640 * g++.dg/cpp1y/pr57640.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200415 138bc75d-0d04-0410-961f-82ee72b054a4
* +2013-06-25 Balaji V. Iyer <balaji.v.iyer@intel.com>bviyer2013-06-262-3/+9
| | | | | | | | | | | + + * c-c++-common/cilk-plus/AN/gather_scatter.c: Fixed a bug of stack + overflow due to size of arrays. + git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200414 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2013-06-264-2/+215
| | | | | | | | | | | Status page for C++2014 library features * doc/xml/faq.xml: Add link to new C++14 status page. * doc/xml/manual/intro.xml: Ditto. * doc/xml/manual/status_cxx2014.xml: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200413 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-06-264-0/+4
| | | | | | | | | | | | | * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid spurious fails with check-debug. * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: Likewise. * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise. * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200411 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-06-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200410 138bc75d-0d04-0410-961f-82ee72b054a4