- 15 Jan, 2014 24 commits
-
-
PR debug/54694 Diagnose frame_pointer_required vs fixed hfp From-SVN: r206647
Richard Henderson committed -
2014-01-15 Teresa Johnson <tejohnson@google.com> * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef. From-SVN: r206646
Teresa Johnson committed -
re PR c++/49718 (please allow no_instrument_function attribute in class member definition/declaration) PR c++/49718 * c-common.c (handle_no_instrument_function_attribute): Allow no_instrument_function attribute in class member definition/declaration. PR c++/49718 * g++.dg/pr49718.C: New test. From-SVN: r206643
Laurent Alfonsi committed -
gcc/testsuite/ * gcc.target/mips/umips-branch-4.c: Add addressing=absolute. From-SVN: r206642
Richard Sandiford committed -
altivec.md (mulv8hi3): Explicitly generate vmulesh and vmulosh rather than call gen_vec_widen_smult_*. gcc: 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com> * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh and vmulosh rather than call gen_vec_widen_smult_*. (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather than BYTES_BIG_ENDIAN to determine use of even or odd instruction. (vec_widen_smult_even_v16qi): Likewise. (vec_widen_umult_even_v8hi): Likewise. (vec_widen_smult_even_v8hi): Likewise. (vec_widen_umult_odd_v16qi): Likewise. (vec_widen_smult_odd_v16qi): Likewise. (vec_widen_umult_odd_v8hi): Likewise. (vec_widen_smult_odd_v8hi): Likewise. (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and vmuloub rather than call gen_vec_widen_umult_*. (vec_widen_umult_lo_v16qi): Likewise. (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and vmulosb rather than call gen_vec_widen_smult_*. (vec_widen_smult_lo_v16qi): Likewise. (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh rather than call gen_vec_widen_umult_*. (vec_widen_umult_lo_v8hi): Likewise. (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh rather than call gen_vec_widen_smult_*. (vec_widen_smult_lo_v8hi): Likewise. gcc/testsuite: 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com> * gcc.dg/vmx/mult-even-odd.c: New. * gcc.dg/vmx/mult-even-odd-be-order.c: New. From-SVN: r206641
Bill Schmidt committed -
target-supports.exp (check_libcilkrts_available): Added an extern "C" if we are using C++ along with a function prototype. 2014-01-15 Balaji V. Iyer <balaji.v.iyer@intel.com> * lib/target-supports.exp (check_libcilkrts_available): Added an extern "C" if we are using C++ along with a function prototype. From-SVN: r206640
Balaji V. Iyer committed -
PR c++/59659 * typeck2.c (massage_init_elt): New. (process_init_constructor_record) (process_init_constructor_union): Use it. (process_init_constructor_array): Use it. Use RANGE_EXPR. (split_nonconstant_init_1): Handle it. * semantics.c (cxx_eval_vec_init_1): Use force_rvalue. From-SVN: r206639
Jason Merrill committed -
PR tree-optimization/59747 * ree.c (find_and_remove_re): Properly handle case where a second eliminated extension requires widening a copy created for elimination of a prior extension. (combine_set_extension): Ensure that the number of hard regs needed for a destination register does not change when we widen it. PR tree-optimization/59747 * gcc.c-torture/execute/pr59747.c: New test. From-SVN: r206638
Jeff Law committed -
2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.gcc (*-*-rtems*): Add t-rtems to tmake_file. (arm*-*-uclinux*eabi*): Do not override an existing tmake_file. (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise. (arm*-*-rtems*): Use t-rtems from existing tmake_file. (avr-*-rtems*): Likewise. (bfin*-rtems*): Likewise. (moxie-*-rtems*): Likewise. (h8300-*-rtems*): Likewise. (i[34567]86-*-rtems*): Likewise. (lm32-*-rtems*): Likewise. (m32r-*-rtems*): Likewise. (m68k-*-rtems*): Likewise. (microblaze*-*-rtems*): Likewise. (mips*-*-rtems*): Likewise. (powerpc-*-rtems*): Likewise. (sh-*-rtems*): Likewise. (sparc-*-rtems*): Likewise. (sparc64-*-rtems*): Likewise. (v850-*-rtems*): Likewise. (m32c-*-rtems*): Likewise. From-SVN: r206637
Sebastian Huber committed -
re PR rtl-optimization/59511 (FAIL: gcc.target/i386/pr36222-1.c scan-assembler-not movdqa with -mtune=corei7) 2014-01-15 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/59511 * ira.c (ira_init_register_move_cost): Use memory costs for some cases of register move cost calculations. * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB instead of BB frequency. * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto. * lra-assigns.c (find_hard_regno_for): Ditto. From-SVN: r206636
Vladimir Makarov committed -
PR target/59794 * c-c++-common/convert-vec-1.c: Also prune ABI change for Linux/x86. * g++.dg/cpp0x/constexpr-53094-2.C: Likewise. * g++.dg/ext/attribute-test-1.C: Likewise. * g++.dg/ext/attribute-test-2.C: Likewise. * g++.dg/ext/attribute-test-3.C: Likewise. * g++.dg/ext/attribute-test-4.C: Likewise. * g++.dg/ext/pr56790-1.C: Likewise. * g++.dg/torture/pr38565.C: Likewise. * gcc.dg/pr53060.c: Likewise. * c-c++-common/scal-to-vec2.c: Add -msse2 for x86. * c-c++-common/vector-compare-2.c: Likewise. * gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c: Likewise. * g++.dg/conversion/simd1.C: Add -msse2 for x86. Adjust dg-message line number. From-SVN: r206634
H.J. Lu committed -
From-SVN: r206633
François Dumont committed -
2014-01-15 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h: Fix some long lines. * include/bits/hashtable.h (__hash_code_base_access): Define and use it to check its _M_bucket_index noexcept qualification. Use also in place of... (__access_protected_ctor): ...this. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adapt line number. * testsuite/23_containers/unordered_set/ not_default_constructible_hash_neg.cc: Likewise. From-SVN: r206632
François Dumont committed -
2014-01-15 Matthias Klose <doko@ubuntu.com> * go.test/go-test.exp: Set goarch for aarch64*-*-*. From-SVN: r206631
Matthias Klose committed -
2014-01-15 Richard Biener <rguenther@suse.de> PR tree-optimization/59822 * tree-vect-stmts.c (hoist_defs_of_uses): New function. (vectorizable_load): Use it to hoist defs of uses of invariant loads out of the loop. * g++.dg/torture/pr59822.C: New testcase. From-SVN: r206630
Richard Biener committed -
PR target/59808 * gcc.target/i386/sse-12.c: Add `-mavx512[cd, er, pf]' options. * gcc.target/i386/sse-14.c: Fix PR59808. From-SVN: r206629
Kirill Yukhin committed -
2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> Kugan Vivekanandarajah <kuganv@linaro.org> gcc/ PR target/59695 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect truncation. gcc/testsuite/ PR target/59695 * g++.dg/pr59695.C: New testcase. Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org> From-SVN: r206628
Matthew Gretton-Dann committed -
Add PR target/59803 reference to ChangeLog entries. From-SVN: r206625
Jakub Jelinek committed -
2014-01-15 Richard Biener <rguenther@suse.de> PR rtl-optimization/59802 * lcm.c (compute_available): Use inverted postorder to seed the initial worklist. From-SVN: r206624
Richard Biener committed -
2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_preferred_reload_class): Don't return ADDR_REGS for invalid symrefs in non-PIC code. 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.c-torture/compile/pr59803.c: New testcase. From-SVN: r206623
Andreas Krebbel committed -
PR other/58712 * builtins.c (determine_block_size): Initialize *probable_max_size even if len_rtx is CONST_INT. From-SVN: r206621
Jakub Jelinek committed -
PR c/58943 * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side effects, preevaluate rhs using SAVE_EXPR first. * c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around build_modify_expr with non-NOP_EXPR opcode. Handle return from it being COMPOUND_EXPR. (c_finish_omp_for): Handle incr being COMPOUND_EXPR with first operand a SAVE_EXPR and second MODIFY_EXPR. * gcc.c-torture/execute/pr58943.c: New test. * gcc.dg/tree-ssa/ssa-fre-33.c (main): Avoid using += in the test. From-SVN: r206620
Jakub Jelinek committed -
* go-gcc.cc (Gcc_backend::compound_expression): New function. (Gcc_backend::conditional_expression): New function. From-SVN: r206615
Chris Manghane committed -
From-SVN: r206614
GCC Administrator committed
-
- 14 Jan, 2014 11 commits
-
-
From-SVN: r206611
Ian Lance Taylor committed -
2014-01-14 Andrew Pinski <apinski@cavium.com> * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate. * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2. (cortexa53_tunings): Likewise. (aarch64_sched_issue_rate): New function. (TARGET_SCHED_ISSUE_RATE): Define. From-SVN: r206609
Andrew Pinski committed -
2014-01-14 Vladimir Makarov <vmakarov@redhat.com> * ira-costs.c (find_costs_and_classes): Add missed ira_init_register_move_cost_if_necessary. From-SVN: r206606
Vladimir Makarov committed -
2014-01-14 Vladimir Makarov <vmakarov@redhat.com> PR target/59787 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress. From-SVN: r206605
Vladimir Makarov committed -
gcc/ PR target/59794 * config/i386/i386.c (type_natural_mode): Add a bool parameter to indicate if type is used for function return value. Warn ABI change if the vector mode isn't available for function return value. (ix86_function_arg_advance): Pass false to type_natural_mode. (ix86_function_arg): Likewise. (ix86_gimplify_va_arg): Likewise. (function_arg_32): Don't warn ABI change. (ix86_function_value): Pass true to type_natural_mode. (ix86_return_in_memory): Likewise. (ix86_struct_value_rtx): Removed. (TARGET_STRUCT_VALUE_RTX): Likewise. gcc/testsuite/ PR target/59794 * g++.dg/ext/vector23.C: Also prune ABI change for Linux/x86. * gcc.target/i386/pr39162.c (y): New __m256i variable. (bar): Change return type to void. Set y to x. * gcc.target/i386/pr59794-1.c: New testcase. * gcc.target/i386/pr59794-2.c: Likewise. * gcc.target/i386/pr59794-3.c: Likewise. * gcc.target/i386/pr59794-4.c: Likewise. * gcc.target/i386/pr59794-5.c: Likewise. * gcc.target/i386/pr59794-6.c: Likewise. * gcc.target/i386/pr59794-7.c: Likewise. From-SVN: r206603
H.J. Lu committed -
jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when converting a conditional jump into a... gcc/ * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when converting a conditional jump into a conditional return. From-SVN: r206600
Richard Sandiford committed -
2014-01-14 Richard Biener <rguenther@suse.de> PR tree-optimization/58921 PR tree-optimization/59006 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code hoisting invariant stmts. * tree-vect-stmts.c (vectorizable_load): Insert the splat of invariant loads on the preheader edge if possible. * gcc.dg/torture/pr58921.c: New testcase. * gcc.dg/torture/pr59006.c: Likewise. * gcc.dg/vect/pr58508.c: XFAIL no longer handled cases. From-SVN: r206599
Richard Biener committed -
re PR testsuite/59494 (FAIL: gfortran.dg/vect/fast-math-mgrid-resid.f scan-tree-dump-times optimized "vect_[^\\n]*\\+ " 13) PR testsuite/59494 * gfortran.dg/vect/fast-math-mgrid-resid.f: Change -fdump-tree-optimized to -fdump-tree-pcom-details in dg-options and cleanup-tree-dump from optimized to pcom. Remove scan-tree-dump-times for vect_\[^\\n\]*\\+, add scan-tree-dump-times for no suitable chains and Executing predictive commoning without unrolling. From-SVN: r206598
Jakub Jelinek committed -
2014-01-14 Joey Ye <joey.ye@arm.com> * doc/plugin.texi (Building GCC plugins): Update to C++. From-SVN: r206597
Joey Ye committed -
gcc/ * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New. (_mm_rcp28_round_ss): Ditto. (_mm_rsqrt28_round_sd): Ditto. (_mm_rsqrt28_round_ss): Ditto. (_mm_rcp28_sd): Ditto. (_mm_rcp28_ss): Ditto. (_mm_rsqrt28_sd): Ditto. (_mm_rsqrt28_ss): Ditto. * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto. * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto. * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto. (IX86_BUILTIN_RCP28SD): Ditto. (IX86_BUILTIN_RCP28SS): Ditto. (IX86_BUILTIN_RSQRT28SD): Ditto. (IX86_BUILTIN_RSQRT28SS): Ditto. (bdesc_special_args): Define __builtin_ia32_movntdqa512, __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round, __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round. (ix86_expand_special_args_builtin): Expand new FTYPE. * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI. (srcp14<mode>): Make insn unary. (avx512f_vmscalef<mode><round_name>): Use substed predicate. (avx512f_sgetexp<mode><round_saeonly_name>): Ditto. (avx512f_rndscale<mode><round_saeonly_name>): Ditto. (<sse4_1_avx2>_movntdqa): Extend to 512 bits. (avx512er_exp2<mode><mask_name><round_saeonly_name>): Fix rounding: make it SAE only. (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>): Ditto. (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>): Ditto. (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto. (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto. (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto. * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove. (round_saeonly_mask_scalar_operand4): Ditto. (round_saeonly_mask_scalar_op3): Ditto. (round_saeonly_mask_scalar_op4): Ditto. gcc/testsuite/ * gcc.target/i386/avx-1.c: Fix __builtin_ia32_exp2ps_mask, __builtin_ia32_exp2pd_mask, __builtin_ia32_rcp28ps_mask, __builtin_ia32_rcp28pd_mask, __builtin_ia32_rsqrt28ps_mask, __builtin_ia32_rsqrt28pd_mask. Add __builtin_ia32_rcp28ss_round, __builtin_ia32_rcp28sd_round, __builtin_ia32_rsqrt28ss_round, __builtin_ia32_rsqrt28sd_round. * gcc.target/i386/avx512er-vexp2pd-1.c: Fix rounding mode. * gcc.target/i386/avx512er-vexp2ps-1.c: Ditto. * gcc.target/i386/avx512er-vrcp28pd-1.c: Ditto. * gcc.target/i386/avx512er-vrcp28ps-1.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28pd-1.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28ps-1.c: Ditto. * gcc.target/i386/avx512er-vrcp28sd-1.c: New. * gcc.target/i386/avx512er-vrcp28sd-2.c: Ditto. * gcc.target/i386/avx512er-vrcp28ss-1.c: Ditto. * gcc.target/i386/avx512er-vrcp28ss-2.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28sd-1.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28sd-2.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28ss-1.c: Ditto. * gcc.target/i386/avx512er-vrsqrt28ss-2.c: Ditto. * gcc.target/i386/avx512f-vmovntdqa-1.c: Ditto. * gcc.target/i386/avx512f-vmovntdqa-2.c: Ditto. * gcc.target/i386/avx512f-vrcp14sd-2.c: Fix. * gcc.target/i386/avx512f-vrcp14ss-2.c: Ditto. * gcc.target/i386/sse-22.c: Extend with new built-ins, fix wrong rounding mode (see above). * gcc.target/i386/sse-23.c: Ditto. From-SVN: r206596
Kirill Yukhin committed -
From-SVN: r206593
GCC Administrator committed
-
- 13 Jan, 2014 5 commits
-
-
rs6000-c.c (altivec_resolve_overloaded_builtin): Implement -maltivec=be for vec_insert and vec_extract. gcc: 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Implement -maltivec=be for vec_insert and vec_extract. gcc/testsuite: 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/insert.c: New. * gcc.dg/vmx/insert-be-order.c: New. * gcc.dg/vmx/extract.c: New. * gcc.dg/vmx/extract-be-order.c: New. From-SVN: r206590
Bill Schmidt committed -
2014-01-13 François Dumont <fdumont@gcc.gnu.org> * include/debug/set.h (set): Implement C++11 allocator-aware container requirements. * include/debug/map.h (map): Likewise. * include/debug/multiset.h (multiset): Likewise. * include/debug/multimap.h (multimap): Likewise. * include/debug/set.h (set::operator=(set&&)): Add noexcept and fix implementation regarding management of safe iterators. * include/debug/map.h (map::operator=(map&&)): Likewise. * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise. * include/debug/multimap.h (multimap::operator=(multimap&&)): Likewise. * include/debug/set.h (set::operator=(std::initializer_list<>)): Rely on the same operator from normal mode. * include/debug/map.h (map::operator=(std::initializer_list<>)): Likewise. * include/debug/multiset.h (multiset::operator=(std::initializer_list<>)): Likewise. * include/debug/multimap.h (multimap::operator=(std::initializer_list<>)): Likewise. * include/debug/set.h (set::swap(set&)): Add noexcept specification, add allocator equality check. * include/debug/map.h (map::swap(map&)): Likewise. * include/debug/multiset.h (multiset::swap(multiset&)): Likewise. * include/debug/multimap.h (multimap::swap(multimap&)): Likewise. From-SVN: r206588
François Dumont committed -
PR libitm/53113 * Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS. (x86_avx.lo): Append -mavx to CXXFLAGS. * Makefile.in: Regenerate. From-SVN: r206587
H.J. Lu committed -
* config/msp430/msp430.md (call_internal): Don't allow memory references with SP as the base register. (call_value_internal): Likewise. * config/msp430/constraints.md (Yc): New. For memory references that don't use SP as a base register. * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean "an integer without a # prefix" * config/msp430/msp430.md (epilogue_helper): Use it. From-SVN: r206586
DJ Delorie committed -
re PR tree-optimization/59617 ([vectorizer] ICE in vectorizable_mask_load_store with AVX-512F's gathers enabled.) PR target/59617 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment AVX512F gather builtins. * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt on gather decls with INTEGER_TYPE masktype. (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST directly into the builtin rather than hoisting it before loop. From-SVN: r206585
Jakub Jelinek committed
-