- 05 Sep, 2014 14 commits
-
-
2014-09-05 Richard Biener <rguenther@suse.de> PR middle-end/63148 * fold-const.c (try_move_mult_to_index): Remove. (fold_binary_loc): Do not call it. * tree-data-ref.c (dr_analyze_indices): Strip conversions from the base object again. c-family/ * c-format.c (check_format_arg): Properly handle effectively signed POINTER_PLUS_EXPR offset. * gcc.dg/vect/pr63148.c: New testcase. * c-c++-common/pr19807-1.c: Likewise. * g++.dg/tree-ssa/pr19807.C: Adjust. * g++.dg/tree-ssa/tmmti-2.C: Remove. From-SVN: r214941
Richard Biener committed -
gcc/ * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1 a mode. From-SVN: r214940
James Greenhalgh committed -
2014-09-05 Joey Ye <joey.ye@arm.com> PR plugin/59335 * Makefile.in (PLUGIN_HEADERS): Add wide-int.h, signop.h, hash-map.h, From-SVN: r214938
Joey Ye committed -
PR target/55701 * config/arm/arm.md (setmem): New pattern. * config/arm/arm-protos.h (struct tune_params): New fields. (arm_gen_setmem): New prototype. * config/arm/arm.c (arm_slowmul_tune): Initialize new fields. (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto. (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto. (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto. (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto. (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. (arm_const_inline_cost): New function. (arm_block_set_max_insns): New function. (arm_block_set_non_vect_profit_p): New function. (arm_block_set_vect_profit_p): New function. (arm_block_set_unaligned_vect): New function. (arm_block_set_aligned_vect): New function. (arm_block_set_unaligned_non_vect): New function. (arm_block_set_aligned_non_vect): New function. (arm_block_set_vect, arm_gen_setmem): New functions. testsuite * gcc.target/arm/memset-inline-1.c: New test. * gcc.target/arm/memset-inline-2.c: New test. * gcc.target/arm/memset-inline-3.c: New test. * gcc.target/arm/memset-inline-4.c: New test. * gcc.target/arm/memset-inline-5.c: New test. * gcc.target/arm/memset-inline-6.c: New test. * gcc.target/arm/memset-inline-7.c: New test. * gcc.target/arm/memset-inline-8.c: New test. * gcc.target/arm/memset-inline-9.c: New test. * gcc.target/arm/memset-inline-10.c: New test. From-SVN: r214937
Bin Cheng committed -
* config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint. From-SVN: r214936
Bin Cheng committed -
* config/arm/arm.c (output_move_neon): Handle REG explicitly. From-SVN: r214935
Bin Cheng committed -
gcc/ChangeLog: 2014-09-04 Trevor Saunders <tsaunders@mozilla.com> * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of an rtx. * valtrack.h: Adjust. From-SVN: r214934
Trevor Saunders committed -
gcc/ChangeLog: 2014-09-04 Trevor Saunders <tsaunders@mozilla.com> * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of an rtx. (emit_jump_insn_before_noloc): Likewise. (emit_call_insn_before_noloc): Likewise. (emit_label_before): Likewise. (emit_label_after): Likewise. (emit_insn_before_setloc): Likewise. (emit_jump_insn_before_setloc): Likewise. (emit_call_insn_before_setloc): Likewise. (emit_call_insn_before): Likewise. * rtl.h: Adjust. From-SVN: r214933
Trevor Saunders committed -
gcc/ 2014-09-05 David Malcolm <dmalcolm@redhat.com> * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to rtx_insn *, eliminating a checked cast. From-SVN: r214932
David Malcolm committed -
gcc/ 2014-09-05 David Malcolm <dmalcolm@redhat.com> * rtl.h (modified_between_p): Strengthen params 2 and 3 from const_rtx to const rtx_insn *. * rtlanal.c (modified_between_p): Likewise, eliminating a checked cast. From-SVN: r214931
David Malcolm committed -
gcc/ 2014-09-05 David Malcolm <dmalcolm@redhat.com> * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to fixup_args_size_notes. * expr.c (fixup_args_size_notes): Strengthen first two params from rtx to rtx_insn *, eliminating a checked cast. * rtl.h (fixup_args_size_notes): Strengthen first two params from rtx to rtx_insn *. From-SVN: r214930
David Malcolm committed -
gcc/ 2014-09-05 David Malcolm <dmalcolm@redhat.com> * haifa-sched.c (get_ready_element): Strengthen return type from rtx to rtx_insn *. * sched-int.h (get_ready_element): Likewise. From-SVN: r214929
David Malcolm committed -
From-SVN: r214928
Kaz Kojima committed -
From-SVN: r214927
GCC Administrator committed
-
- 04 Sep, 2014 26 commits
-
-
2014-09-04 Segher Boessenkool <segher@kernel.crashing.org> PR target/63165 * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use indexed_or_indirect_operand instead of memory_operand. (floatsi<mode>2_lfiwzx_mem): Ditto. From-SVN: r214924
Segher Boessenkool committed -
gcc/ChangeLog: 2014-09-04 Trevor Saunders <tsaunders@mozilla.com> * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c, config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c, ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *. From-SVN: r214923
Trevor Saunders committed -
gcc/ChangeLog: 2014-09-04 Trevor Saunders <tsaunders@mozilla.com> * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of rtx. (get_last_nonnote_insn): Likewise. (next_nonnote_insn_bb): Take rtx_insn * instead of rtx. * resource.c (find_basic_block): Likewise. * rtl.h: Adjust. * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of const_rtx. From-SVN: r214922
Trevor Saunders committed -
gcc/ 2014-09-04 David Malcolm <dmalcolm@redhat.com> * genattr.c (main): Within the prototype of insn_latency written out to insn-attr.h, strengthen both params from rtx to rtx_insn *. * genautomata.c (output_internal_maximal_insn_latency_func): Within the implementation of insn_latency written out to insn-automata.c, strengthen both params from rtx to rtx_insn *, eliminating a pair of checked casts. From-SVN: r214921
David Malcolm committed -
2014-09-04 David Malcolm <dmalcolm@redhat.com> gcc/ * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to rtx_insn *. * rtl.h (eh_returnjump_p): Likewise. From-SVN: r214919
David Malcolm committed -
From-SVN: r214918
Aldy Hernandez committed -
From-SVN: r214917
Aldy Hernandez committed -
From-SVN: r214916
Aldy Hernandez committed -
Conflicts: gcc/ChangeLog.debug-early gcc/dwarf2out.c From-SVN: r214915
Aldy Hernandez committed -
From-SVN: r214914
Aldy Hernandez committed -
Conflicts: gcc/ChangeLog.debug-early gcc/dwarf2out.c From-SVN: r214912
Aldy Hernandez committed -
+ * c/c-decl.c (write_global_declarations_1): Call global_decl() + with early=true. + (write_global_declarations_2): Call global_decl() with + early=false. + * dbxout.c (dbxout_global_decl): New argument. + * debug.c (do_nothing_debug_hooks): Use debug_nothing_tree_bool + for global_decl hook. + (debug_nothing_tree_bool): New. + (struct gcc_debug_hooks): New argument to global_decl. + * dwarf2out.c (output_die): Add misc debugging information. + (gen_variable_die): Do not reparent children. + (dwarf2out_global_decl): Add new documentation. Add EARLY + argument. + (dwarf2out_decl): Make sure we don't generate new DIEs if we + already have a DIE. + * cp/name-lookup.c (do_namespace_alias): New argument to + global_decl debug hook. + * fortran/trans-decl.c (gfc_emit_parameter_debug_info): Same. + * godump.c (go_global_decl): Same. + * lto/lto-lang.c (lto_write_globals): Same. + * sdbout.c (sdbout_global_decl): Same. + * toplev.c (emit_debug_global_declarations): Same. + * vmsdbgout.c (vmsdbgout_global_decl): Same. + * tree.c (free_lang_data_in_decl): Do not call + dwarf2out_early_decl from here. From-SVN: r214911
Aldy Hernandez committed -
From-SVN: r214910
Aldy Hernandez committed -
* dwarf2out.c (struct die_struct): Add dumped_early field. (reparent_child): New. (splice_child_die): Use reparent_child. (gen_subprogram_die): Do not regenerate parameters if previously dumped. (gen_variable_die): Fix parent of decls that have been dumped early to reflect correct context. Do not regenerate decls if previously dumped. (dwarf2out_decl): Add return value. (dwarf2out_early_decl): Set dumped_early bit. From-SVN: r214909
Aldy Hernandez committed -
From-SVN: r214908
Aldy Hernandez committed -
Do not set DW_AT_inline incorrectly on all functions. Do not remove formal parameters when a previous DIE has been found. Instead, augment the missing bits later. From-SVN: r214907
Aldy Hernandez committed -
This is the original patch from Michael Matz, ported to a more recent mainline. From-SVN: r214906
Aldy Hernandez committed -
re PR target/62040 (internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1555) PR target/62040 * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators. * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split it into two patterns. (move_lo_quad_internal_be_<mode>): Likewise. * gcc.target/aarch64/pr62040.c: New test. From-SVN: r214905
Guozhi Wei committed -
gcc/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * doc/options.texi: Document that Var and Init are required if CPP is given. * optc-gen.awk: Require Var and Init if CPP is given. * common.opt (Wpedantic): Use Init. libcpp/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * macro.c (replace_args): Use cpp_pedwarning, cpp_warning and CPP_W flags. * include/cpplib.h: Add CPP_W_C90_C99_COMPAT and CPP_W_PEDANTIC. * init.c (cpp_create_reader): Do not init to -1 here. * expr.c (num_binary_op): Use cpp_pedwarning. gcc/c-family/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * c.opt (Wc90-c99-compat,Wc++-compat,Wcomment,Wendif-labels, Winvalid-pch,Wlong-long,Wmissing-include-dirs,Wmultichar,Wpedantic, (Wdate-time,Wtraditional,Wundef,Wvariadic-macros): Add CPP, Var and Init. * c-opts.c (c_common_handle_option): Do not handle here. (sanitize_cpp_opts): Likewise. * c-common.c (struct reason_option_codes_t): Handle CPP_W_C90_C99_COMPAT and CPP_W_PEDANTIC. gcc/testsuite/ChangeLog: 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org> * gcc.dg/cpp/endif-pedantic2.c: More general options do not override specific ones, but specific ones do. From-SVN: r214904
Manuel López-Ibáñez committed -
[gcc] 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (special_handling_values): Add SH_EXTRACT. (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps wrapped in a VEC_DUPLICATE, representing an extract. Mark these as swappable with special handling SH_EXTRACT. Remove UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the optimization. (adjust_extract): New function. (handle_special_swappables): Add default to case statement; add case for SH_EXTRACT that calls adjust_extract. (dump_swap_insn_table): Handle SH_EXTRACT. [gcc/testsuite] 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/swaps-p8-13.c: New test. * gcc.target/powerpc/swaps-p8-14.c: New test. * gcc.target/powerpc/swaps-p8-15.c: New test. From-SVN: r214903
Bill Schmidt committed -
vsx.md (*vsx_extract_<mode>_load): Always match selection of 0th memory doubleword, regardless of endianness. [gcc] 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match selection of 0th memory doubleword, regardless of endianness. [gcc/testsuite] 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/vsx-extract-1.c: Test 0th doubleword regardless of endianness. From-SVN: r214902
Bill Schmidt committed -
2014-09-04 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces. From-SVN: r214901
Jan-Benedict Glaw committed -
PR ipa/61659 * decl.c (duplicate_decls): Check DECL_DECLARED_INLINE_P on newdecl, not olddecl. From-SVN: r214900
Markus Trippelsdorf committed -
PR debug/60655 * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend can't be output. From-SVN: r214899
Alan Modra committed -
gcc/ * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook. * targhooks.c (default_dwarf_frame_reg_mode): New function. * targhooks.h (default_dwarf_frame_reg_mode): New prototype. * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document. * doc/tm.texi: Regenerate. * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode selection logic to default_dwarf_frame_reg_mode. From-SVN: r214898
Matthew Fortune committed -
From-SVN: r214897
GCC Administrator committed
-