- 17 Jan, 2014 4 commits
-
-
* ipa-ref.c (ipa_remove_stmt_references): Fix references traversal when removing references. From-SVN: r206697
Ilya Enkovich committed -
* go-gcc.cc (Gcc_backend::conditional_expression): Add btype parameter. (operator_to_tree_code): New static function. (Gcc_backend::binary_expression): New function. From-SVN: r206696
Chris Manghane committed -
PR ipa/59775 * tree.c (get_binfo_at_offset): Look harder for virtual bases. From-SVN: r206694
Jan Hubicka committed -
From-SVN: r206693
GCC Administrator committed
-
- 16 Jan, 2014 20 commits
-
-
2014-01-17 Tim Shen <timshen91@gmail.com> * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not use std::map. * include/bits/regex_automaton.h: Do not use std::set. * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(), _BracketMatcher<>::_M_add_collating_element(), _BracketMatcher<>::_M_add_equivalence_class(), _BracketMatcher<>::_M_make_range()): Likewise. * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()): Likewise. * include/bits/regex_executor.h: Do not use std::queue. * include/bits/regex_executor.tcc (_Executor<>::_M_main(), _Executor<>::_M_dfs()): Likewise. * include/std/regex: Remove <map>, <set> and <queue>. 2014-01-17 Tim Shen <timshen91@gmail.com> * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(), basic_regex<>::assign()): Change __compile_nfa to accept const _CharT* only. * include/bits/regex_compiler.h: Change _Compiler's template argument from <_FwdIter, _TraitsT> to <_TraitsT>. * include/bits/regex_compiler.tcc: Likewise. 2014-01-17 Tim Shen <timshen91@gmail.com> * include/bits/regex_compiler.h: Change _ScannerT into char-type templated. * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate _ScannerBase from _Scanner; Change _Scanner's template argument from _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays instead. * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(), _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(), _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()): Likewise. * include/std/regex: Add <cstring> for using strchr. 2014-01-17 Tim Shen <timshen91@gmail.com> * bits/regex_automaton.tcc: Indentation fix. * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>, _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>, _BracketMatcher<>): Add bool option template parameters and specializations to make matching more efficient and space saving. * bits/regex_compiler.tcc: Likewise. From-SVN: r206690
Tim Shen committed -
PR middle-end/56791 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER * when pushing a reload for an autoinc when we had previously reloaded an inner part of the address. From-SVN: r206688
Bernd Schmidt committed -
* tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies field. (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it when not giving up or versioning for alias only because of loop->safelen. (vect_analyze_data_ref_dependences): Set to true. * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt is a GIMPLE_PHI. (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop to the condition. From-SVN: r206687
Jakub Jelinek committed -
PR c++/59821 * tree.c (bot_manip): Update the location of builtin_LINE and builtin_FILE calls. From-SVN: r206686
Jason Merrill committed -
PR middle-end/58344 * expr.c (expand_expr_real_1): Handle init == NULL_TREE. * gcc.c-torture/compile/pr58344.c: New test. From-SVN: r206685
Jakub Jelinek committed -
PR target/59839 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy operand 0 predicate for gathers, use a new pseudo as subtarget. * gcc.target/i386/pr59839.c: New test. From-SVN: r206682
Jakub Jelinek committed -
PR debug/54694 * gcc.target/i386/pr9771-1.c (main): Rename to... (real_main): ... this. Add __asm name "main". (ASMNAME, ASMNAME2, STRING): Define. From-SVN: r206679
Jakub Jelinek committed -
PR tree-optimization/59387 * gcc.c-torture/execute/pr59387.c: New test. From-SVN: r206678
Jakub Jelinek committed -
2014-01-16 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/59609 * lra-constraints.c (process_alt_operands): Add printing debug info. Check absence of input/output reloads for matched operands too. From-SVN: r206677
Vladimir Makarov committed -
2014-01-16 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/59835 * ira.c (ira_init_register_move_cost): Increase cost for impossible modes. From-SVN: r206676
Vladimir Makarov committed -
gcc/ * config/arm/arm.opt: Make -mcpu, -march, -mtune case-insensitive. From-SVN: r206673
Alan Lawrence committed -
PR target/59780 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on non-register objects. Use gen_(high/low)part more consistently. Fix assertions. From-SVN: r206671
Richard Earnshaw committed -
2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/59844 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little endian support, remove tests for WORDS_BIG_ENDIAN. (p8_mfvsrd_3_<mode>): Likewise. (reload_gpr_from_vsx<mode>): Likewise. (reload_gpr_from_vsxsf): Likewise. (p8_mfvsrd_4_disf): Likewise. From-SVN: r206668
Michael Meissner committed -
2014-01-16 Richard Biener <rguenther@suse.de> PR rtl-optimization/46590 * lcm.c (compute_antinout_edge): Use postorder iteration. (compute_laterin): Use inverted postorder iteration. From-SVN: r206663
Richard Biener committed -
PR middle-end/28865 * varasm.c (output_constant): Return the number of bytes actually emitted. (output_constructor_array_range): Update the field size with the number of bytes emitted by output_constant. (output_constructor_regular_field): Likewise. Also do not complain if the total number of bytes emitted is now greater than the expected fieldpos. * output.h (output_constant): Update prototype and descriptive comment. * gcc.c-torture/compile/pr28865.c: New. * gcc.c-torture/execute/pr28865.c: New. From-SVN: r206661
Nick Clifton committed -
PR middle-end/59827 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if it is error_mark_node. testsuite/ * gcc.dg/pr59827.c: New test. From-SVN: r206660
Marek Polacek committed -
From-SVN: r206659
Andreas Schwab committed -
* config/i386/i386.c (ix86_hard_regno_mode_ok): Use VALID_AVX256_REG_OR_OI_MODE. From-SVN: r206658
Uros Bizjak committed -
From-SVN: r206657
Kirill Yukhin committed -
From-SVN: r206655
GCC Administrator committed
-
- 15 Jan, 2014 16 commits
-
-
* config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if current procedure should be profiled. From-SVN: r206650
Pat Haugen committed -
aarch64.c (aarch64_register_move_cost): Correct cost of moving from/to the STACK_REG register class. 2014-01-15 Andrew Pinski <apinski@cavium.com> * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost of moving from/to the STACK_REG register class. From-SVN: r206649
Andrew Pinski committed -
From-SVN: r206648
Marek Polacek committed -
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
-