2017-03-23 14:13:44 +01:00
|
|
|
|
2017-03-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
Richard Biener <rguenth@suse.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79908
|
|
|
|
|
PR tree-optimization/80136
|
|
|
|
|
* tree-stdarg.c (expand_ifn_va_arg_1): For a VA_ARG whose LHS has
|
|
|
|
|
been cast away, gimplify_and_add suffices.
|
|
|
|
|
|
2017-03-23 13:23:58 +01:00
|
|
|
|
2017-03-23 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
* tree-vrp.c (identify_jump_threads): Delete avail_exprs.
|
|
|
|
|
|
2017-03-23 09:33:41 +01:00
|
|
|
|
2017-03-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80032
|
|
|
|
|
* gimplify.c (gimple_push_cleanup): Forced unconditional
|
|
|
|
|
cleanups still have to go to the conditional_cleanups
|
|
|
|
|
sequence.
|
|
|
|
|
|
2017-03-22 19:33:37 +01:00
|
|
|
|
2017-03-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-03-22 22:52:13 +01:00
|
|
|
|
PR tree-optimization/80072
|
|
|
|
|
* tree-ssa-reassoc.c (struct operand_entry): Change id field type
|
|
|
|
|
to unsigned int.
|
|
|
|
|
(next_operand_entry_id): Change type to unsigned int.
|
|
|
|
|
(sort_by_operand_rank): Make sure to return the right return value
|
|
|
|
|
even if unsigned fields are bigger than INT_MAX.
|
|
|
|
|
(struct oecount): Change cnt and id type to unsigned int.
|
|
|
|
|
(oecount_hasher::equal): Formatting fix.
|
|
|
|
|
(oecount_cmp): Make sure to return the right return value
|
|
|
|
|
even if unsigned fields are bigger than INT_MAX.
|
|
|
|
|
(undistribute_ops_list): Change next_oecount_id type to unsigned int.
|
|
|
|
|
|
2017-03-22 19:45:48 +01:00
|
|
|
|
PR c++/80129
|
|
|
|
|
* gimplify.c (gimplify_modify_expr_rhs) <case COND_EXPR>: Clear
|
|
|
|
|
TREE_READONLY on result if writing it more than once.
|
|
|
|
|
|
2017-03-22 19:35:43 +01:00
|
|
|
|
PR sanitizer/80110
|
|
|
|
|
* doc/invoke.texi (-fsanitize=thread): Document that with
|
|
|
|
|
-fnon-call-exceptions atomics are not able to throw
|
|
|
|
|
exceptions.
|
|
|
|
|
|
2017-03-22 19:34:44 +01:00
|
|
|
|
PR sanitizer/80110
|
|
|
|
|
* tsan.c: Include tree-eh.h.
|
|
|
|
|
(instrument_builtin_call): Call maybe_clean_eh_stmt or
|
|
|
|
|
maybe_clean_or_replace_eh_stmt where needed.
|
|
|
|
|
(instrument_memory_accesses): Add cfg_changed argument.
|
|
|
|
|
Call gimple_purge_dead_eh_edges on each block and set *cfg_changed
|
|
|
|
|
if it returned true.
|
|
|
|
|
(tsan_pass): Adjust caller. Return TODO_cleanup_cfg if cfg_changed.
|
|
|
|
|
|
2017-03-22 19:33:37 +01:00
|
|
|
|
PR rtl-optimization/63191
|
|
|
|
|
* config/i386/i386.c (ix86_delegitimize_address): Turn into small
|
|
|
|
|
wrapper function, moved the whole old content into ...
|
|
|
|
|
(ix86_delegitimize_address_1): ... this. New inline function.
|
|
|
|
|
(ix86_find_base_term): Use ix86_delegitimize_address_1 with
|
|
|
|
|
true as last argument instead of ix86_delegitimize_address.
|
|
|
|
|
|
2017-03-22 19:12:05 +01:00
|
|
|
|
2017-03-22 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
2017-03-22 19:33:37 +01:00
|
|
|
|
* config/aarch64/aarch64.c (generic_branch_cost): Copy
|
|
|
|
|
cortexa57_branch_cost.
|
2017-03-22 19:12:05 +01:00
|
|
|
|
|
2017-03-22 18:51:12 +01:00
|
|
|
|
2017-03-22 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (generic_tunings): Add AES fusion.
|
|
|
|
|
|
2017-03-22 18:47:55 +01:00
|
|
|
|
2017-03-21 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/80123
|
|
|
|
|
* doc/md.texi (Constraints): Document wA constraint.
|
|
|
|
|
* config/rs6000/constraints.md (wA): New.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_debug_reg_global): Add wA reg_class.
|
|
|
|
|
(rs6000_init_hard_regno_mode_ok): Init wA constraint.
|
|
|
|
|
* config/rs6000/rs6000.h (RS6000_CONSTRAINT_wA): New.
|
|
|
|
|
* config/rs6000/vsx.md (vsx_splat_<mode>): Use wA constraint.
|
|
|
|
|
|
2017-03-22 14:52:10 +01:00
|
|
|
|
2017-03-22 Cesar Philippidis <cesar@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR c++/80029
|
|
|
|
|
* gimplify.c (is_oacc_declared): New function.
|
|
|
|
|
(oacc_default_clause): Use it to set default flags for acc declared
|
|
|
|
|
variables inside parallel regions.
|
|
|
|
|
(gimplify_scan_omp_clauses): Strip firstprivate pointers for acc
|
|
|
|
|
declared variables.
|
|
|
|
|
(gimplify_oacc_declare): Gimplify the declare clauses. Add the
|
|
|
|
|
declare attribute to any decl as necessary.
|
|
|
|
|
|
|
|
|
|
2017-03-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
2017-03-22 12:35:15 +01:00
|
|
|
|
|
|
|
|
|
PR target/80082
|
|
|
|
|
* config/arm/arm-isa.h (isa_bit_lpae): New feature bit.
|
|
|
|
|
(ISA_ARMv7ve): Add isa_bit_lpae to the definition.
|
|
|
|
|
* config/arm/arm-protos.h (arm_arch7ve): Rename into ...
|
|
|
|
|
(arm_arch_lpae): This.
|
|
|
|
|
* config/arm/arm.c (arm_arch7ve): Rename into ...
|
|
|
|
|
(arm_arch_lpae): This. Define it in term of isa_bit_lpae.
|
|
|
|
|
* config/arm/arm.h (TARGET_HAVE_LPAE): Redefine in term of
|
|
|
|
|
arm_arch_lpae.
|
|
|
|
|
|
2017-03-22 10:21:56 +01:00
|
|
|
|
2017-03-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR target/79906
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_inner_target_options): Show
|
|
|
|
|
error message instead of an ICE.
|
|
|
|
|
|
2017-03-22 02:45:49 +01:00
|
|
|
|
2017-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (6.11 Additional Floating Types): Revise.
|
|
|
|
|
|
2017-03-22 01:01:19 +01:00
|
|
|
|
2017-03-21 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Add
|
|
|
|
|
comments.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Add
|
|
|
|
|
comments.
|
|
|
|
|
|
2017-03-21 22:37:29 +01:00
|
|
|
|
2017-03-21 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Use "cannot" instead of "can't."
|
|
|
|
|
* doc/hostconfig.texi: Same.
|
|
|
|
|
* doc/install.texi: Same.
|
|
|
|
|
* doc/invoke.texi: Same.
|
|
|
|
|
* doc/loop.texi: Same.
|
|
|
|
|
* doc/md.texi: Same.
|
|
|
|
|
* doc/objc.texi: Same.
|
|
|
|
|
* doc/rtl.texi: Same.
|
|
|
|
|
* doc/tm.texi: Same.
|
|
|
|
|
* doc/tm.texi.in: Same.
|
|
|
|
|
* doc/trouble.texi: Same.
|
|
|
|
|
|
2017-03-21 19:28:06 +01:00
|
|
|
|
2017-03-21 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/63238
|
|
|
|
|
* dwarf2out.c (struct checksum_attributes): Add at_alignment.
|
|
|
|
|
(collect_checksum_attributes): Set it.
|
|
|
|
|
(die_checksum_ordered): Use it.
|
|
|
|
|
|
2017-03-21 19:14:42 +01:00
|
|
|
|
2017-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79908
|
|
|
|
|
* tree-stdarg.c (expand_ifn_va_arg_1): Revert the following
|
|
|
|
|
change: For a VA_ARG whose LHS has been cast away, use
|
|
|
|
|
force_gimple_operand to construct the side effects.
|
|
|
|
|
|
2017-03-21 17:26:09 +01:00
|
|
|
|
2017-03-21 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/80001
|
|
|
|
|
* omp-offload.c (oacc_loop_fixed_partitions): Make diagnostics
|
|
|
|
|
more amenable to translation.
|
|
|
|
|
(oacc_loop_auto_partitions): Likewise.
|
|
|
|
|
|
2017-03-21 17:21:14 +01:00
|
|
|
|
2017-03-21 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80109
|
|
|
|
|
* gimple-ssa-warn-alloca.c (alloca_call_type): Only call get_range_info
|
|
|
|
|
on INTEGRAL_TYPE_P.
|
|
|
|
|
|
2017-03-21 15:49:51 +01:00
|
|
|
|
2017-03-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/80125
|
|
|
|
|
* combine.c (can_combine_p): Revert the 2017-03-20 change, only
|
|
|
|
|
check reg_used_between_p between insn and one of succ or succ2
|
|
|
|
|
depending on if succ is artificial insn not inserted into insn
|
|
|
|
|
stream.
|
|
|
|
|
|
2017-03-21 15:41:11 +01:00
|
|
|
|
2017-03-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/80081
|
|
|
|
|
* Makefile.in: Add gcov-dump and fix installation of gcov-tool.
|
|
|
|
|
* doc/gcc.texi: Include gcov-dump stuff.
|
|
|
|
|
* doc/gcov-dump.texi: New file.
|
|
|
|
|
|
2017-03-21 15:00:19 +01:00
|
|
|
|
2017-03-21 Toma Tabacu <toma.tabacu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79150
|
|
|
|
|
* config/mips/mips.c (mips_block_move_loop): Emit a NOP after the
|
|
|
|
|
conditional jump, if the jump is the last insn of the loop.
|
|
|
|
|
|
2017-03-21 14:57:20 +01:00
|
|
|
|
2017-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
Richard Biener <rguenth@suse.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79908
|
|
|
|
|
* tree-stdarg.c (expand_ifn_va_arg_1): For a VA_ARG whose LHS has
|
|
|
|
|
been cast away, use force_gimple_operand to construct the side
|
|
|
|
|
effects.
|
|
|
|
|
|
2017-03-21 13:04:17 +01:00
|
|
|
|
2017-03-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR libfortran/79956
|
|
|
|
|
* simplify-rtx.c (simplify_immed_subreg): Initialize a variable
|
|
|
|
|
to NULL.
|
|
|
|
|
|
2017-03-21 12:50:18 +01:00
|
|
|
|
2017-03-21 Brad Spengler <spender@grsecurity.net>
|
|
|
|
|
|
|
|
|
|
PR plugins/80094
|
|
|
|
|
* plugin.c (htab_hash_plugin): New function.
|
|
|
|
|
(add_new_plugin): Use it and adjust.
|
|
|
|
|
(parse_plugin_arg_opt): Adjust.
|
|
|
|
|
(init_one_plugin): Likewise.
|
|
|
|
|
|
2017-03-21 12:43:45 +01:00
|
|
|
|
2017-03-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80032
|
|
|
|
|
* gimplify.c (gimple_push_cleanup): Add force_uncond parameter,
|
|
|
|
|
if set force the cleanup to happen unconditionally.
|
|
|
|
|
(gimplify_target_expr): Push inserted clobbers with force_uncond
|
|
|
|
|
to avoid them being removed by control-dependent DCE.
|
|
|
|
|
|
2017-03-21 12:42:22 +01:00
|
|
|
|
2017-03-21 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80122
|
|
|
|
|
* tree-inline.c (copy_bb): Do not expans va-arg packs or
|
|
|
|
|
va_arg_pack_len when the inlined call stmt requires pack
|
|
|
|
|
expansion itself.
|
|
|
|
|
* tree-inline.h (struct copy_body_data): Make call_stmt a gcall *.
|
|
|
|
|
|
2017-03-21 09:10:30 +01:00
|
|
|
|
2017-03-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-03-21 09:22:57 +01:00
|
|
|
|
PR sanitizer/78158
|
|
|
|
|
* tsan.c (instrument_builtin_call): If the memory model argument
|
|
|
|
|
is not a constant, assume it is valid.
|
|
|
|
|
|
2017-03-21 09:10:30 +01:00
|
|
|
|
PR c/67338
|
|
|
|
|
* fold-const.c (round_up_loc): Negate divisor in unsigned type to
|
|
|
|
|
avoid UB.
|
|
|
|
|
|
2017-03-21 00:08:16 +01:00
|
|
|
|
2017-03-20 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79910
|
|
|
|
|
* combine.c (can_combine_p): Do not allow combining an I0 or I1
|
|
|
|
|
if its dest is used by an insn before I2 (other than the combined
|
|
|
|
|
insns themselves, which are properly handled already).
|
|
|
|
|
|
2017-03-21 00:06:35 +01:00
|
|
|
|
2017-03-20 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2017-03-17 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* combine.c (record_used_regs): New static function.
|
|
|
|
|
(try_combine): Handle situations where there is an additional
|
|
|
|
|
instruction between I2 and I3 which needs to have a LOG_LINK
|
|
|
|
|
updated.
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2017-03-17 Jim Wilson <jim.wilson@linaro.org>
|
|
|
|
|
|
|
|
|
|
* combine.c (try_combine): Delete redundant i1 test. Call
|
|
|
|
|
prev_nonnote_nondebug_insn instead of prev_nonnote_insn.
|
|
|
|
|
|
2017-03-20 21:43:44 +01:00
|
|
|
|
2017-03-20 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/80083
|
|
|
|
|
* config/rs6000/rs6000.md (*movsi_internal1): Fix constraints for
|
|
|
|
|
alternatives 13/14.
|
|
|
|
|
|
2017-03-20 21:04:25 +01:00
|
|
|
|
2017-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80054
|
|
|
|
|
* gimple-ssa-strength-reduction.c (all_phi_incrs_profitable): Fail
|
|
|
|
|
the optimization if a PHI or any of its arguments is not dominated
|
|
|
|
|
by the candidate's basis. Use gphi* rather than gimple* as
|
|
|
|
|
appropriate.
|
|
|
|
|
(replace_profitable_candidates): Clean up a gimple* variable that
|
|
|
|
|
should be a gphi* variable.
|
|
|
|
|
|
2017-03-20 19:33:31 +01:00
|
|
|
|
2017-03-20 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/52477
|
|
|
|
|
* doc/extend.texi (attribute constructor): Document present limitation.
|
|
|
|
|
|
2017-03-20 19:05:00 +01:00
|
|
|
|
2017-03-20 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/79963
|
|
|
|
|
* config/rs6000/altivec.h (vec_all_ne): Under __cplusplus__ and
|
|
|
|
|
__POWER9_VECTOR__ #ifdef control, change template definition to
|
|
|
|
|
use Power9-specific built-in function.
|
|
|
|
|
(vec_any_eq): Likewise.
|
|
|
|
|
* config/rs6000/vector.md (vector_ae_v2di_p): Change the flag used
|
|
|
|
|
to control outcomes from this test.
|
|
|
|
|
(vector_ae_<mode>p): For VEC_F modes, likewise.
|
|
|
|
|
|
2017-03-20 18:43:08 +01:00
|
|
|
|
2017-03-20 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_function_regparm): Save an extra
|
|
|
|
|
register for -fsplit-stack with DECL_STATIC_CHAIN.
|
|
|
|
|
|
2017-03-20 17:43:21 +01:00
|
|
|
|
2017-03-17 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
PR target/79912
|
|
|
|
|
* config/riscv/riscv.c (riscv_preferred_reload_class): Remove.
|
|
|
|
|
(TARGET_PREFERRED_RELOAD_CLASS): Likewise.
|
|
|
|
|
|
2017-03-20 17:43:17 +01:00
|
|
|
|
2017-03-17 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/riscv.c (riscv_print_operand): Use "fence
|
|
|
|
|
iorw,ow".
|
|
|
|
|
* config/riscv/sync.mc (mem_thread_fence_1): Use "fence
|
|
|
|
|
iorw,iorw".
|
|
|
|
|
|
2017-03-20 14:31:28 +01:00
|
|
|
|
2017-03-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/80063
|
|
|
|
|
* asan.c (DEF_SANITIZER_BUILTIN): Use do { } while (0).
|
|
|
|
|
|
2017-03-20 14:06:58 +01:00
|
|
|
|
2017-03-20 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80113
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (copy_loop_phi_nodes): Do not
|
|
|
|
|
allocate extra SSA name for PHI def.
|
|
|
|
|
(add_close_phis_to_outer_loops): Likewise.
|
|
|
|
|
(add_close_phis_to_merge_points): Likewise.
|
|
|
|
|
(copy_loop_close_phi_args): Likewise.
|
|
|
|
|
(copy_cond_phi_nodes): Likewise.
|
|
|
|
|
|
2017-03-20 11:06:00 +01:00
|
|
|
|
2017-03-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79753
|
|
|
|
|
* tree-chkp.c (chkp_build_returned_bound): Do not build
|
|
|
|
|
returned bounds for a LHS that's not a BOUNDED_P type.
|
|
|
|
|
|
2017-03-20 11:04:06 +01:00
|
|
|
|
2017-03-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR target/79769
|
|
|
|
|
PR target/79770
|
|
|
|
|
* tree-chkp.c (chkp_find_bounds_1): Handle REAL_CST,
|
|
|
|
|
COMPLEX_CST and VECTOR_CST.
|
|
|
|
|
|
2017-03-20 10:33:11 +01:00
|
|
|
|
2017-03-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/78857
|
|
|
|
|
* config/s390/s390.md ("cmp<mode>_ccs_0"): Add a clobber of the
|
|
|
|
|
target operand. A new splitter adds the clobber statement in case
|
|
|
|
|
the target operand is dead anyway.
|
|
|
|
|
|
2017-03-19 08:34:46 +01:00
|
|
|
|
2017-03-19 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific) <sparc-*-linux*>: No longer refer
|
|
|
|
|
to age-old versions of binutils and glibc.
|
|
|
|
|
|
2017-03-19 01:30:40 +01:00
|
|
|
|
2017-03-18 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* doc/contrib.texi (Contributors): Remove duplicate entry for myself.
|
|
|
|
|
|
2017-03-18 10:43:47 +01:00
|
|
|
|
2017-03-18 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-03-18 22:14:06 +01:00
|
|
|
|
* doc/contrib.texi (Contributors): Add Segher Boessenkool.
|
|
|
|
|
|
|
|
|
|
2017-03-18 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-03-18 10:43:47 +01:00
|
|
|
|
* doc/install.texi (Specific) <arm-*-eabi>: Remove old
|
|
|
|
|
requirement for binutils 2.13.
|
|
|
|
|
|
2017-03-18 06:37:52 +01:00
|
|
|
|
2017-03-17 Jim Wilson <jim.wilson@linaro.org>
|
|
|
|
|
|
|
|
|
|
* combine.c (try_combine): Delete redundant i1 test. Call
|
|
|
|
|
prev_nonnote_nondebug_insn instead of prev_nonnote_insn.
|
|
|
|
|
|
2017-03-17 19:49:34 +01:00
|
|
|
|
2017-03-17 Palmer Dabbelt <palmer@dabbelt.com
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific) <riscv32-*-elf>: Add riscv32-*-elf,
|
|
|
|
|
riscv32-*-linux, riscv64-*-elf, riscv64-*-linux to the table of
|
|
|
|
|
contents.
|
|
|
|
|
<riscv64-*-elf>: Re-arrange section
|
|
|
|
|
<riscv32-*-elf>: Add a note about requiring binutils 2.28.
|
|
|
|
|
<riscv32-*-linux>: Likewise.
|
|
|
|
|
<riscv64-*-elf>: Likewise
|
|
|
|
|
<riscv64-*-linux>: Likewise.
|
|
|
|
|
|
2017-03-17 18:05:23 +01:00
|
|
|
|
2017-03-17 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/80052
|
|
|
|
|
* aarch64.opt(verbose-cost-dump): Fix typo.
|
|
|
|
|
|
2017-03-17 17:42:29 +01:00
|
|
|
|
2017-03-17 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79951
|
|
|
|
|
* config/rs6000/rs6000.md (copysign<mode>3_fcpsgn): Test
|
|
|
|
|
for VECTOR_UNIT_VSX_P (<MODE>mode) too.
|
|
|
|
|
|
2017-03-17 16:10:13 +01:00
|
|
|
|
2017-03-17 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
2017-03-17 16:39:28 +01:00
|
|
|
|
* reload.c (find_reloads): When reloading a nonoffsettable address,
|
|
|
|
|
use RELOAD_OTHER for it and its address reloads.
|
|
|
|
|
|
2017-03-17 16:10:13 +01:00
|
|
|
|
PR rtl-optimization/79910
|
|
|
|
|
* combine.c (record_used_regs): New static function.
|
|
|
|
|
(try_combine): Handle situations where there is an additional
|
|
|
|
|
instruction between I2 and I3 which needs to have a LOG_LINK
|
|
|
|
|
updated.
|
|
|
|
|
|
2017-03-17 16:01:56 +01:00
|
|
|
|
2017-03-17 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71437
|
|
|
|
|
* tree-vrp.c (simplify_stmt_for_jump_threading): Lookup the
|
|
|
|
|
conditional in the hash table first.
|
|
|
|
|
(vrp_dom_walker::before_dom_children): Extract condition from
|
|
|
|
|
ASSERT_EXPR. Record condition, its inverion and any implied
|
|
|
|
|
conditions as well.
|
|
|
|
|
|
2017-03-17 14:14:42 +01:00
|
|
|
|
2017-03-17 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80079
|
|
|
|
|
* gimple-ssa-store-merging.c (class pass_store_merging): Initialize
|
|
|
|
|
m_stores_head.
|
|
|
|
|
|
2017-03-17 13:48:56 +01:00
|
|
|
|
2017-03-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/80075
|
|
|
|
|
* tree-eh.c (stmt_could_throw_1_p): Only handle gimple assigns.
|
|
|
|
|
Properly verify the LHS before the RHS possibly claims to be
|
|
|
|
|
handled.
|
|
|
|
|
(stmt_could_throw_p): Hande gimple conds fully here. Clobbers
|
|
|
|
|
do not throw.
|
|
|
|
|
|
2017-03-17 13:34:27 +01:00
|
|
|
|
2017-03-17 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Option Options): Include -fipa-vrp in the list.
|
|
|
|
|
(List of -O2 options): Likewise.
|
|
|
|
|
(-fipa-bit-cp): Replace "ipa" with "interprocedural."
|
|
|
|
|
(-fipa-vrp) New.
|
|
|
|
|
|
2017-03-17 13:14:50 +01:00
|
|
|
|
2017-03-17 Tom de Vries <tom@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gcov-dump.c (print_usage): Print bug_report_url.
|
|
|
|
|
|
2017-03-17 12:04:00 +01:00
|
|
|
|
2017-03-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/80050
|
|
|
|
|
* genmatch.c (parser::next): Remove pointless check for CPP_EOF.
|
|
|
|
|
(parser::peek): Likewise.
|
|
|
|
|
|
2017-03-17 12:03:32 +01:00
|
|
|
|
2017-03-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80048
|
|
|
|
|
* sese.c (free_sese_info): Properly release rename_map and
|
|
|
|
|
copied_bb_map elements.
|
|
|
|
|
|
2017-03-17 00:31:01 +01:00
|
|
|
|
2017-03-16 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gimple-ssa-store-merging.c (struct imm_store_chain_info):
|
|
|
|
|
Add linked-list forward and backlinks. Insert on
|
|
|
|
|
construction, remove on destruction.
|
|
|
|
|
(class pass_store_merging): Add m_stores_head field.
|
|
|
|
|
(pass_store_merging::terminate_and_process_all_chains):
|
|
|
|
|
Iterate over m_stores_head list.
|
|
|
|
|
(pass_store_merging::terminate_all_aliasing_chains):
|
|
|
|
|
Likewise.
|
|
|
|
|
(pass_store_merging::execute): Check for debug stmts first.
|
|
|
|
|
Push new chains onto the m_stores_head stack.
|
|
|
|
|
|
2017-03-16 21:09:21 +01:00
|
|
|
|
2017-03-16 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/71294
|
|
|
|
|
* config/rs6000/vsx.md (vsx_splat_<mode>, VSX_D iterator): Allow a
|
|
|
|
|
SPLAT operation on ISA 2.07 64-bit systems that have direct move,
|
|
|
|
|
but no MTVSRDD support, by doing MTVSRD and XXPERMDI.
|
|
|
|
|
|
2017-03-16 20:21:23 +01:00
|
|
|
|
2017-03-16 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2017-03-16 20:21:33 +01:00
|
|
|
|
PR tree-optimization/71437
|
|
|
|
|
* tree-ssa-dom.c (dom_opt_dom_walker): Remove thread_across_edge
|
|
|
|
|
member function. Implementation moved into after_dom_children
|
|
|
|
|
member function and into the threader's thread_outgoing_edges
|
|
|
|
|
function.
|
|
|
|
|
(dom_opt_dom_walker::after_dom_children): Simplify by moving
|
|
|
|
|
some code into new thread_outgoing_edges.
|
|
|
|
|
* tree-ssa-threadedge.c (thread_across_edge): Make static and simplify
|
|
|
|
|
definition. Simplify marker handling (do it here). Assume we always
|
|
|
|
|
have the available expression and the const/copies tables.
|
|
|
|
|
(thread_outgoing_edges): New function extracted from tree-ssa-dom.c
|
|
|
|
|
and tree-vrp.c
|
|
|
|
|
* tree-ssa-threadedge.h (thread_outgoing_edges): Declare.
|
|
|
|
|
* tree-vrp.c (equiv_stack): No longer file scoped.
|
|
|
|
|
(vrp_dom_walker): New class.
|
|
|
|
|
(vrp_dom_walker::before_dom_children): New member function.
|
|
|
|
|
(vrp_dom_walker::after_dom_children): Likewise.
|
|
|
|
|
(identify_jump_threads): Setup domwalker. Use it rather than
|
|
|
|
|
walking edges in a random order by hand. Simplify setup/finalization.
|
|
|
|
|
(finalize_jump_threads): Remove.
|
|
|
|
|
(vrp_finalize): Do not call identify_jump_threads here.
|
|
|
|
|
(execute_vrp): Do it here instead and call thread_through_all_blocks
|
|
|
|
|
here too.
|
2017-03-16 21:09:21 +01:00
|
|
|
|
|
2017-03-16 20:21:23 +01:00
|
|
|
|
PR tree-optimization/71437
|
|
|
|
|
* tree-ssa-dom.c (pfn_simplify): Add basic_block argument. All
|
|
|
|
|
callers changed.
|
|
|
|
|
(simplify_stmt_for_jump_threading): Add basic_block argument. All
|
|
|
|
|
callers changed.
|
|
|
|
|
(lhs_of_dominating_assert): Moved from here into tree-vrp.c.
|
2017-03-16 21:09:21 +01:00
|
|
|
|
(dom_opt_dom_walker::thread_across_edge): Remove
|
2017-03-16 20:21:23 +01:00
|
|
|
|
handle_dominating_asserts argument. All callers changed.
|
|
|
|
|
(record_temporary_equivalences_from_stmts_at_dest): Corresponding
|
|
|
|
|
changes. Remove calls to lhs_of_dominating_assert. Other
|
|
|
|
|
uses of handle_dominating_asserts turn into unconditional code
|
|
|
|
|
(simplify_control_stmt_condition_1): Likewise.
|
|
|
|
|
(simplify_control_stmt_condition): Likewise.
|
|
|
|
|
(thread_through_normal_block, thread_across_edge): Likewise.
|
|
|
|
|
* tree-ssa-threadedge.h (thread_across_edge): Corresponding changes.
|
|
|
|
|
* tree-vrp.c (lhs_of_dominating_assert): Move here. Return original
|
|
|
|
|
object if it is not an SSA_NAME.
|
|
|
|
|
(simplify_stmt_for_jump_threading): Call lhs_of_dominating_assert
|
|
|
|
|
before calling into the VRP specific simplifiers.
|
|
|
|
|
(identify_jump_threads): Remove handle_dominating_asserts
|
|
|
|
|
argument.
|
|
|
|
|
|
2017-03-16 17:27:08 +01:00
|
|
|
|
2017-03-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR fortran/79886
|
|
|
|
|
* tree-diagnostic.c (default_tree_printer): No longer static.
|
|
|
|
|
* tree-diagnostic.h (default_tree_printer): New prototype.
|
|
|
|
|
|
2017-03-16 12:41:24 +01:00
|
|
|
|
2017-03-16 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>)
|
|
|
|
|
Change ins into fmov.
|
|
|
|
|
|
2017-03-16 11:03:11 +01:00
|
|
|
|
2017-03-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/iterators.md (h_con): Return "x" for V4HF and V8HF.
|
|
|
|
|
* config/aarch64/aarch64-simd.md (*aarch64_fma4_elt_from_dup<mode>):
|
|
|
|
|
Use h_con constraint for operand 1.
|
|
|
|
|
(*aarch64_fnma4_elt_from_dup<mode>): Likewise.
|
|
|
|
|
(*aarch64_mulx_elt_from_dup<mode>): Likewise for operand 2.
|
|
|
|
|
|
2017-03-16 04:19:35 +01:00
|
|
|
|
2017-03-15 Jeff Law <law@redhat.com>
|
2017-03-16 04:19:46 +01:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/71437
|
|
|
|
|
* tree-ssa-dom.c (derive_equivalences_from_bit_ior): New function.
|
|
|
|
|
(record_temporary_equivalences): Use it.
|
|
|
|
|
|
2017-03-16 04:19:35 +01:00
|
|
|
|
PR tree-optimization/71437
|
|
|
|
|
* tree-ssa-dom.c (struct cond_equivalence): Moved from here into
|
|
|
|
|
tree-ssa-scopedtables.
|
|
|
|
|
(lookup_avail_expr, build_and_record_new_cond): Likewise.
|
|
|
|
|
(record_conditions, record_cond, vuse_eq): Likewise.
|
|
|
|
|
(record_edge_info): Adjust to API tweak of record_conditions.
|
|
|
|
|
(simplify_stmt_for_jump_threading): Similarly for lookup_avail_expr.
|
|
|
|
|
(record_temporary_equivalences, optimize_stmt): Likewise.
|
|
|
|
|
(eliminate_redundant_computations): Likewise.
|
|
|
|
|
(record_equivalences_from_stmt): Likewise.
|
|
|
|
|
* tree-ssa-scopedtables.c: Include options.h and params.h.
|
|
|
|
|
(vuse_eq): New function, moved from tree-ssa-dom.c
|
|
|
|
|
(build_and_record_new_cond): Likewise.
|
|
|
|
|
(record_conditions): Likewise. Accept vector of conditions rather
|
|
|
|
|
than edge_equivalence structure for first argument.
|
|
|
|
|
for the first argument.
|
|
|
|
|
(avail_exprs_stack::lookup_avail_expr): New member function, moved
|
|
|
|
|
from tree-ssa-dom.c.
|
|
|
|
|
(avail_exprs_stack::record_cond): Likewise.
|
|
|
|
|
* tree-ssa-scopedtables.h (struct cond_equivalence): Moved here
|
|
|
|
|
from tree-ssa-dom.c.
|
|
|
|
|
(avail_exprs_stack): Add new member functions lookup_avail_expr
|
|
|
|
|
and record_cond.
|
|
|
|
|
(record_conditions): Declare.
|
|
|
|
|
|
2017-03-16 00:04:09 +01:00
|
|
|
|
2017-03-15 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/80017
|
|
|
|
|
* lra-constraints.c (process_alt_operands): Increase reject for
|
|
|
|
|
reloading an input/output operand.
|
|
|
|
|
|
2017-03-15 22:17:35 +01:00
|
|
|
|
2017-03-15 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79038
|
|
|
|
|
* config/rs6000/rs6000.md (float<QHI:mode><IEEE128:mode>2): Define
|
|
|
|
|
insns to convert from signed/unsigned char/short to IEEE 128-bit
|
|
|
|
|
floating point.
|
|
|
|
|
(floatuns<QHI:mode><IEEE128:mode>2): Likewise.
|
|
|
|
|
|
2017-03-15 14:38:51 +01:00
|
|
|
|
2017-03-15 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/80019
|
|
|
|
|
* config/i386/i386.c (ix86_vector_duplicate_value): Create
|
|
|
|
|
subreg of inner mode for values already in registers.
|
|
|
|
|
|
2017-03-15 14:36:50 +01:00
|
|
|
|
2017-03-15 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/c6x/c6x.c (hwloop_optimize): Handle case where the old
|
|
|
|
|
iteration reg is used after the loop.
|
|
|
|
|
|
2017-03-15 05:31:27 +01:00
|
|
|
|
2017-03-14 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79800
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating: Add argument. Handle
|
|
|
|
|
precision in negative-positive range.
|
|
|
|
|
(format_floating): Call non-const overload with adjusted precision.
|
|
|
|
|
|
2017-03-15 01:25:10 +01:00
|
|
|
|
2017-03-14 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79947
|
|
|
|
|
* config/rs6000/rs6000.h (TARGET_FRSQRTES): Add check for
|
|
|
|
|
-mpowerpc-gfxopt.
|
|
|
|
|
|
2017-03-14 23:09:40 +01:00
|
|
|
|
2017-03-14 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-03-14 23:16:27 +01:00
|
|
|
|
PR middle-end/80020
|
|
|
|
|
* builtin-attrs.def (ATTR_ALLOC_SIZE_2_NOTHROW_LIST): New macro.
|
|
|
|
|
* builtins.def (aligned_alloc): Use it.
|
|
|
|
|
|
2017-03-14 23:09:40 +01:00
|
|
|
|
PR c/79936
|
|
|
|
|
* Makefile.in (GTFILES): Add calls.c.
|
|
|
|
|
* calls.c: Include "gt-calls.h".
|
|
|
|
|
|
2017-03-14 18:50:46 +01:00
|
|
|
|
2017-03-14 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79728
|
|
|
|
|
* regs.h (struct target_regs): New field
|
|
|
|
|
x_contains_allocatable_regs_of_mode.
|
|
|
|
|
(contains_allocatable_regs_of_mode): New macro.
|
|
|
|
|
* reginfo.c (init_reg_sets_1): Initialize it, and change
|
|
|
|
|
contains_reg_of_mode so it includes global regs as well.
|
|
|
|
|
* reload.c (push_reload): Use contains_allocatable_regs_of_mode
|
|
|
|
|
rather than contains_regs_of_mode.
|
|
|
|
|
|
2017-03-14 16:32:23 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Document options that can't be combined with
|
|
|
|
|
-fcheck-pointer-bounds.
|
|
|
|
|
|
2017-03-14 16:31:53 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79831
|
|
|
|
|
* doc/invoke.texi (-Wchkp): Document the option.
|
|
|
|
|
|
2017-03-14 15:25:09 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Install gcov-dump.
|
|
|
|
|
|
2017-03-14 15:24:49 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* multiple_target.c (expand_target_clones): Bail out for
|
|
|
|
|
an invalid attribute.
|
|
|
|
|
|
2017-03-14 13:47:42 +01:00
|
|
|
|
2017-03-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* alias.c (struct alias_set_entry): Pack properly.
|
|
|
|
|
* cfgloop.h (struct loop): Likewise.
|
|
|
|
|
* cse.c (struct set): Likewise.
|
|
|
|
|
* ipa-utils.c (struct searchc_env): Likewise.
|
|
|
|
|
* loop-invariant.c (struct invariant): Likewise.
|
|
|
|
|
* lra-remat.c (struct cand): Likewise.
|
|
|
|
|
* recog.c (struct change_t): Likewise.
|
|
|
|
|
* rtl.h (struct address_info): Likewise.
|
|
|
|
|
* symbol-summary.h (function_summary): Likewise.
|
|
|
|
|
* tree-loop-distribution.c (struct partition): Likewise.
|
|
|
|
|
* tree-object-size.c (struct object_size_info): Likewise.
|
|
|
|
|
* tree-ssa-loop-ivopts.c (struct cost_pair): Likewise.
|
|
|
|
|
* tree-ssa-threadupdate.c (struct ssa_local_info_t): Likewise.
|
|
|
|
|
* tree-vect-data-refs.c (struct _vect_peel_info): Likewise.
|
|
|
|
|
* tree-vect-slp.c (struct _slp_oprnd_info): Likewise.
|
|
|
|
|
* tree-vect-stmts.c (struct simd_call_arg_info): Likewise.
|
|
|
|
|
* tree-vectorizer.h (struct _loop_vec_info): Likewise.
|
|
|
|
|
(struct _stmt_vec_info): Likewise.
|
|
|
|
|
|
2017-03-14 13:05:29 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR target/79892
|
|
|
|
|
* multiple_target.c (create_dispatcher_calls): Check that
|
|
|
|
|
a target can create a function dispatcher.
|
|
|
|
|
|
2017-03-14 12:59:59 +01:00
|
|
|
|
2017-03-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/66295
|
|
|
|
|
* multiple_target.c (expand_target_clones): Drop local.local
|
|
|
|
|
flag for default implementation.
|
|
|
|
|
|
2017-03-14 09:02:34 +01:00
|
|
|
|
2017-03-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/80030
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_store): Plug memleak.
|
|
|
|
|
|
2017-03-14 04:51:24 +01:00
|
|
|
|
2017-03-13 Kito Cheng <kito.cheng@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/riscv.c (riscv_emit_float_compare>: Use
|
|
|
|
|
gcc_fallthrough() instead of __attribute__((fallthrough));
|
|
|
|
|
|
2017-03-13 22:56:43 +01:00
|
|
|
|
2017-03-13 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-03-13 23:27:59 +01:00
|
|
|
|
* doc/gcc.texi: Remove "up" link to (DIR).
|
|
|
|
|
* doc/gccint.texi: Ditto.
|
|
|
|
|
|
|
|
|
|
2017-03-13 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-03-13 22:56:43 +01:00
|
|
|
|
* doc/install.texi (Specific) <avr>: Remove reference to
|
|
|
|
|
binutils 2.13.
|
|
|
|
|
|
2017-03-13 18:43:19 +01:00
|
|
|
|
2017-03-13 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2017-03-13 18:49:40 +01:00
|
|
|
|
* config/riscv/riscv.c (riscv_emit_float_compare): Use fallthru
|
|
|
|
|
attribute rather than comments.
|
|
|
|
|
|
2017-03-13 18:43:19 +01:00
|
|
|
|
* config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to
|
|
|
|
|
match_scratch operand is highest.
|
|
|
|
|
|
2017-03-13 16:30:17 +01:00
|
|
|
|
2017-03-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/78339
|
|
|
|
|
* ipa-pure-const.c (warn_function_noreturn): If the declarations
|
|
|
|
|
is a CHKP clone, use original declaration.
|
|
|
|
|
|
2017-03-13 13:56:22 +01:00
|
|
|
|
2017-03-13 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_init): Use multiplier whenever we have it.
|
|
|
|
|
(arc_conditional_register_usage): Use a different allocation order
|
|
|
|
|
when optimizing for size.
|
|
|
|
|
* common/config/arc/arc-common.c (arc_option_optimization_table):
|
|
|
|
|
Section anchors default on when optimizing for size.
|
|
|
|
|
|
2017-03-13 13:56:11 +01:00
|
|
|
|
2017-03-13 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.md (*tst_bitfield_tst): Fix pattern.
|
|
|
|
|
|
2017-03-13 13:56:00 +01:00
|
|
|
|
2017-03-13 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_output_addsi): Emit code density adds.
|
|
|
|
|
* config/arc/arc.md (cpu_facility): Add cd variant.
|
|
|
|
|
(*movqi_insn): Add code density variant.
|
|
|
|
|
(*movhi_insn): Likewise.
|
|
|
|
|
(*movqi_insn): Likewise.
|
|
|
|
|
(*addsi3_mixed): Likewise.
|
|
|
|
|
(subsi3_insn): Likewise.
|
|
|
|
|
|
2017-03-13 13:55:50 +01:00
|
|
|
|
2017-03-13 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.md (movsi_cond_exec): Update constraint.
|
|
|
|
|
|
2017-03-13 13:55:38 +01:00
|
|
|
|
2017-03-13 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_legitimize_pic_address): Handle PIC
|
|
|
|
|
expressions with MINUS and UNARY ops.
|
|
|
|
|
|
2017-03-13 11:58:48 +01:00
|
|
|
|
2017-03-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79911
|
|
|
|
|
* config/arm/neon.md (vec_sel_widen_ssum_lo<VQI:mode><VW:mode>3):
|
|
|
|
|
Rename to...
|
|
|
|
|
(vec_sel_widen_ssum_lo<mode><V_half>3): ... This. Avoid mismatch
|
|
|
|
|
between vec_select and vector argument.
|
|
|
|
|
(vec_sel_widen_ssum_hi<VQI:mode><VW:mode>3): Rename to...
|
|
|
|
|
(vec_sel_widen_ssum_hi<mode><V_half>3): ... This. Likewise.
|
|
|
|
|
(vec_sel_widen_usum_lo<VQI:mode><VW:mode>3): Rename to...
|
|
|
|
|
(vec_sel_widen_usum_lo<mode><V_half>3): ... This.
|
|
|
|
|
(vec_sel_widen_usum_hi<VQI:mode><VW:mode>3): Rename to...
|
|
|
|
|
(vec_sel_widen_usum_hi<mode><V_half>3): ... This.
|
|
|
|
|
|
2017-03-13 10:13:14 +01:00
|
|
|
|
2017-03-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR other/79991
|
|
|
|
|
* params.def (vect-max-peeling-for-alignment): Fix typo.
|
|
|
|
|
|
2017-03-12 18:31:00 +01:00
|
|
|
|
2017-03-12 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific) <mips-*-*>: Remove description of
|
|
|
|
|
issue that only occurred with binutils below 2.18.
|
|
|
|
|
|
2017-03-12 14:47:03 +01:00
|
|
|
|
2017-03-12 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific) <cris-axis-elf>: No longer
|
|
|
|
|
refer to binutils 2.11/2.12 minimum.
|
|
|
|
|
|
2017-03-12 12:06:59 +01:00
|
|
|
|
2017-03-12 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific) <powerpc-*-*>: Remove link to
|
|
|
|
|
ftp.kernel.org and simplify binutils requirement.
|
|
|
|
|
|
2017-03-11 23:00:35 +01:00
|
|
|
|
2017-03-11 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Warning Options): Fix spelling of link-time
|
|
|
|
|
optimization.
|
|
|
|
|
(Optimize Options): Ditto. Also remove redundancy.
|
|
|
|
|
|
2017-03-11 02:57:11 +01:00
|
|
|
|
2017-03-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79848
|
|
|
|
|
* ipa-devirt.c (warn_types_mismatch): Simplify uses of "%<%s%>" to
|
|
|
|
|
"%qs".
|
|
|
|
|
* ipa-pure-const.c (suggest_attribute): Likewise. Convert _
|
|
|
|
|
to G_ to avoid double translation.
|
|
|
|
|
|
2017-03-11 02:43:48 +01:00
|
|
|
|
2017-03-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79923
|
|
|
|
|
* auto-profile.c (get_combined_location): Convert leading
|
|
|
|
|
character of diagnostics to lower case and remove trailing period.
|
|
|
|
|
(read_profile): Likewise for various diagnostics.
|
|
|
|
|
* config/arm/arm.c (arm_option_override): Remove trailing period
|
|
|
|
|
from various diagnostics.
|
|
|
|
|
* config/msp430/msp430.c (msp430_expand_delay_cycles): Likewise.
|
|
|
|
|
(msp430_expand_delay_cycles): Likewise.
|
|
|
|
|
|
2017-03-11 02:40:04 +01:00
|
|
|
|
2017-03-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79925
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_validate_mcpu): Quote the
|
|
|
|
|
full command-line argument, rather than just "str".
|
|
|
|
|
(aarch64_validate_march): Likewise.
|
|
|
|
|
(aarch64_validate_mtune): Likewise.
|
|
|
|
|
|
2017-03-10 22:17:13 +01:00
|
|
|
|
2017-03-10 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78911
|
|
|
|
|
* lra-assigns.c (must_not_spill_p): New function.
|
|
|
|
|
(spill_for): Use it.
|
|
|
|
|
|
2017-03-10 20:47:44 +01:00
|
|
|
|
2017-03-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79981
|
|
|
|
|
* tree-vrp.c (extract_range_basic): Handle IMAGPART_EXPR of
|
|
|
|
|
ATOMIC_COMPARE_EXCHANGE ifn result.
|
|
|
|
|
(stmt_interesting_for_vrp, vrp_visit_stmt): Handle
|
|
|
|
|
IFN_ATOMIC_COMPARE_EXCHANGE.
|
|
|
|
|
|
2017-03-10 20:22:35 +01:00
|
|
|
|
2017-03-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/79875
|
|
|
|
|
* opts.c (parse_sanitizer_options): Add missing question mark to
|
|
|
|
|
"did you mean" message.
|
|
|
|
|
|
2017-03-10 20:16:04 +01:00
|
|
|
|
2017-03-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (VMULEUB_UNS): Remove orphaned
|
|
|
|
|
built-in.
|
|
|
|
|
(VMULEUH_UNS): Likewise.
|
|
|
|
|
(VMULOUB_UNS): Likewise.
|
|
|
|
|
(VMULOUH_UNS): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c (builtin_function_type): Remove
|
|
|
|
|
references to ALTIVEC_BUILTIN_VMUL[EO]U[BH]_UNS.
|
|
|
|
|
|
2017-03-10 19:39:52 +01:00
|
|
|
|
2017-03-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79952
|
|
|
|
|
* read-rtl-function.c (function_reader::read_rtx_operand): Update
|
|
|
|
|
x with result of extra_parsing_for_operand_code_0.
|
|
|
|
|
(function_reader::extra_parsing_for_operand_code_0): Convert
|
|
|
|
|
return type from void to rtx, returning x. When reading
|
|
|
|
|
SYMBOL_REF with SYMBOL_FLAG_HAS_BLOCK_INFO, reallocate x to the
|
|
|
|
|
larger size containing struct block_symbol.
|
|
|
|
|
|
2017-03-10 18:57:58 +01:00
|
|
|
|
2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow
|
|
|
|
|
-mfloat128-hardware without -m64.
|
|
|
|
|
|
2017-03-10 17:18:44 +01:00
|
|
|
|
2017-03-10 Will Schmidt <will_schmidt@vnet.ibm.com>
|
2017-03-10 18:57:58 +01:00
|
|
|
|
|
2017-03-10 17:18:44 +01:00
|
|
|
|
PR target/79941
|
|
|
|
|
* config/rs6000/rs6000.c (builtin_function_type): Add VMUL*U[HB]
|
|
|
|
|
entries to the case statement that marks unsigned arguments to
|
|
|
|
|
overloaded functions.
|
|
|
|
|
|
2017-03-10 16:29:35 +01:00
|
|
|
|
2017-03-10 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
|
|
|
|
|
two typographic errors in the handling of TARGET_UPPER_REGS_DI.
|
|
|
|
|
|
2017-03-10 15:32:42 +01:00
|
|
|
|
2017-03-10 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79907
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Test
|
|
|
|
|
TARGET_UPPER_REGS_DI when setting 'wi' constraint regclass.
|
|
|
|
|
|
2017-03-10 14:24:45 +01:00
|
|
|
|
2017-03-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR target/65705
|
|
|
|
|
PR target/69804
|
|
|
|
|
* toplev.c (process_options): Enable MPX with LSAN and UBSAN.
|
|
|
|
|
* tree-chkp.c (chkp_walk_pointer_assignments): Verify that
|
|
|
|
|
FIELD != NULL.
|
|
|
|
|
|
2017-03-10 12:16:21 +01:00
|
|
|
|
2017-03-10 Olivier Hainque <hainque@adacore.com>
|
|
|
|
|
|
|
|
|
|
* tree-switch-conversion (array_value_type): Start by resetting
|
|
|
|
|
candidate type to it's main variant.
|
|
|
|
|
|
2017-03-10 08:55:00 +01:00
|
|
|
|
2017-03-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-03-10 08:57:45 +01:00
|
|
|
|
PR rtl-optimization/79909
|
|
|
|
|
* combine.c (try_combine): Use simplify_replace_rtx on individual
|
|
|
|
|
CALL_INSN_FUNCTION_USAGE elements instead of replace_rtx on copy_rtx
|
|
|
|
|
of the whole CALL_INSN_FUNCTION_USAGE.
|
|
|
|
|
|
2017-03-10 08:55:00 +01:00
|
|
|
|
PR tree-optimization/79972
|
|
|
|
|
* gimple-ssa-warn-alloca.c (alloca_call_type): Only call
|
|
|
|
|
get_range_info on SSA_NAMEs. Formatting fixes.
|
|
|
|
|
|
2017-03-10 08:53:57 +01:00
|
|
|
|
2017-03-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/77975
|
|
|
|
|
* tree-ssa-loop-niter.c (get_base_for): Allow phi argument from latch
|
|
|
|
|
edge to be constant.
|
|
|
|
|
(get_val_for): For constant x return it. Formatting fix.
|
|
|
|
|
(loop_niter_by_eval): Avoid pointless looping if the next iteration
|
|
|
|
|
would use the same bases as the current one.
|
|
|
|
|
|
2017-03-09 23:41:34 +01:00
|
|
|
|
2017-03-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_gen_le_vsx_permute): Use rotate
|
|
|
|
|
instead of vec_select for V1TImode.
|
|
|
|
|
* conifg/rs6000/vsx.md (VSX_LE): Remove mode iterator that is no
|
|
|
|
|
longer needed.
|
|
|
|
|
(VSX_LE_128): Add V1TI to this mode iterator.
|
|
|
|
|
(*vsx_le_perm_load_<mode>): Change to use VSX_D mode iterator.
|
|
|
|
|
(*vsx_le_perm_store_<mode>): Likewise.
|
|
|
|
|
(pre-reload splitter for VSX stores): Likewise.
|
|
|
|
|
(post-reload splitter for VSX stores): Likewise.
|
|
|
|
|
(*vsx_xxpermdi2_le_<mode>): Likewise.
|
|
|
|
|
(*vsx_lxvd2x2_le_<mode>): Likewise.
|
|
|
|
|
(*vsx_stxvd2x2_le_<mode>): Likewise.
|
|
|
|
|
|
2017-03-09 19:09:39 +01:00
|
|
|
|
2017-03-09 Michael Eager <eager@eagercon.com>
|
|
|
|
|
|
|
|
|
|
Correct failures with --enable-checking=yes,rtl.
|
|
|
|
|
|
|
|
|
|
* config/microblaze/microblaze.c (microblaze_expand_shift):
|
|
|
|
|
Replace GET_CODE test with CONST_INT_P and INTVAL test with
|
|
|
|
|
test for const0_rtx.
|
|
|
|
|
* config/microblaze/microblaze.md (ashlsi3_byone, ashrsi3_byone,
|
|
|
|
|
lshrsi3_byone): Replace INTVAL with test for const1_rtx.
|
2017-03-09 23:41:34 +01:00
|
|
|
|
|
2017-03-09 17:19:37 +01:00
|
|
|
|
2017-03-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79977
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::merge_sese):
|
|
|
|
|
Handle the case of extra exits to blocks dominating the entry.
|
|
|
|
|
|
2017-03-09 16:04:31 +01:00
|
|
|
|
2017-03-09 Toma Tabacu <toma.tabacu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* doc/sourcebuild.texi (Effective-Target Keywords, Other attributes):
|
|
|
|
|
Document rdynamic.
|
|
|
|
|
|
2017-03-09 15:43:17 +01:00
|
|
|
|
2017-03-09 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79949
|
|
|
|
|
* lra-constraints.c (process_alt_operands): Check memory when
|
|
|
|
|
trying to predict a cycle. Print about the overall increase.
|
|
|
|
|
|
2017-03-09 14:20:50 +01:00
|
|
|
|
2017-03-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79971
|
|
|
|
|
* gimple-expr.c (useless_type_conversion_p): Preserve
|
|
|
|
|
TYPE_SATURATING for fixed-point types.
|
|
|
|
|
|
2017-03-09 14:20:03 +01:00
|
|
|
|
2017-03-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR ipa/79970
|
|
|
|
|
* ipa-prop.c (ipa_modify_formal_parameters): Avoid changing
|
|
|
|
|
alignment of BLKmode params.
|
|
|
|
|
|
2017-03-09 11:34:36 +01:00
|
|
|
|
2017-03-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79913
|
|
|
|
|
* config/aarch64/iterators.md (VALL_F16_NO_V2Q): New mode iterator.
|
|
|
|
|
(VALL_NO_V2Q): Likewise.
|
|
|
|
|
(VDQF_DF): Delete.
|
|
|
|
|
* config/aarch64/aarch64-simd.md
|
|
|
|
|
(aarch64_dup_lane_<vswap_width_name><mode>): Use VALL_F16_NO_V2Q
|
|
|
|
|
iterator.
|
|
|
|
|
(*aarch64_simd_vec_copy_lane_<vswap_width_name><mode>): Use
|
|
|
|
|
VALL_NO_V2Q mode iterator.
|
|
|
|
|
(*aarch64_vgetfmulx<mode>): Use VDQF iterator.
|
|
|
|
|
|
2017-03-09 11:10:02 +01:00
|
|
|
|
2017-03-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79631
|
|
|
|
|
* tree-chkp-opt.c (chkp_is_constant_addr): Call
|
|
|
|
|
tree_int_cst_sign_bit just for INTEGER constants.
|
|
|
|
|
|
2017-03-09 11:04:50 +01:00
|
|
|
|
2017-03-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR target/65705
|
|
|
|
|
PR target/69804
|
|
|
|
|
* toplev.c (process_options): Disable -fcheck-pointer-bounds with
|
|
|
|
|
sanitizers.
|
|
|
|
|
|
2017-03-09 10:53:03 +01:00
|
|
|
|
2017-03-09 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79672
|
|
|
|
|
* tree.c (inchash::add_expr): Handle TREE_VEC.
|
|
|
|
|
|
2017-03-09 10:26:45 +01:00
|
|
|
|
2017-03-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79764
|
|
|
|
|
(chkp_narrow_size_and_offset): New function.
|
|
|
|
|
(chkp_parse_array_and_component_ref): Support BIT_FIELD_REF.
|
|
|
|
|
(void chkp_parse_bit_field_ref): New function.
|
|
|
|
|
(chkp_make_addressed_object_bounds): Add case for BIT_FIELD_REF.
|
|
|
|
|
(chkp_process_stmt): Use chkp_parse_bit_field_ref.
|
|
|
|
|
|
2017-03-09 10:22:29 +01:00
|
|
|
|
2017-03-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79761
|
|
|
|
|
* tree-chkp.c (chkp_get_bound_for_parm): Get bounds for a param.
|
|
|
|
|
(chkp_find_bounds_1): Remove gcc_unreachable.
|
|
|
|
|
|
2017-03-09 10:09:27 +01:00
|
|
|
|
2017-03-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-03-09 10:20:23 +01:00
|
|
|
|
PR sanitizer/79944
|
|
|
|
|
* asan.c (get_mem_refs_of_builtin_call): For BUILT_IN_ATOMIC* and
|
|
|
|
|
BUILT_IN_SYNC*, determine the access type from the size suffix and
|
|
|
|
|
always build a MEM_REF with that type. Handle forgotten
|
|
|
|
|
BUILT_IN_SYNC_FETCH_AND_NAND_16 and BUILT_IN_SYNC_NAND_AND_FETCH_16.
|
|
|
|
|
|
re PR target/79932 (_mm512_packus_epi32 does not compile under -O0)
PR target/79932
* config/i386/avx512vlintrin.h (_mm256_cmpge_epi32_mask,
_mm256_cmpge_epi64_mask, _mm256_cmpge_epu32_mask,
_mm256_cmpge_epu64_mask, _mm256_cmple_epi32_mask,
_mm256_cmple_epi64_mask, _mm256_cmple_epu32_mask,
_mm256_cmple_epu64_mask, _mm256_cmplt_epi32_mask,
_mm256_cmplt_epi64_mask, _mm256_cmplt_epu32_mask,
_mm256_cmplt_epu64_mask, _mm256_cmpneq_epi32_mask,
_mm256_cmpneq_epi64_mask, _mm256_cmpneq_epu32_mask,
_mm256_cmpneq_epu64_mask, _mm256_mask_cmpge_epi32_mask,
_mm256_mask_cmpge_epi64_mask, _mm256_mask_cmpge_epu32_mask,
_mm256_mask_cmpge_epu64_mask, _mm256_mask_cmple_epi32_mask,
_mm256_mask_cmple_epi64_mask, _mm256_mask_cmple_epu32_mask,
_mm256_mask_cmple_epu64_mask, _mm256_mask_cmplt_epi32_mask,
_mm256_mask_cmplt_epi64_mask, _mm256_mask_cmplt_epu32_mask,
_mm256_mask_cmplt_epu64_mask, _mm256_mask_cmpneq_epi32_mask,
_mm256_mask_cmpneq_epi64_mask, _mm256_mask_cmpneq_epu32_mask,
_mm256_mask_cmpneq_epu64_mask, _mm_cmpge_epi32_mask,
_mm_cmpge_epi64_mask, _mm_cmpge_epu32_mask, _mm_cmpge_epu64_mask,
_mm_cmple_epi32_mask, _mm_cmple_epi64_mask, _mm_cmple_epu32_mask,
_mm_cmple_epu64_mask, _mm_cmplt_epi32_mask, _mm_cmplt_epi64_mask,
_mm_cmplt_epu32_mask, _mm_cmplt_epu64_mask, _mm_cmpneq_epi32_mask,
_mm_cmpneq_epi64_mask, _mm_cmpneq_epu32_mask, _mm_cmpneq_epu64_mask,
_mm_mask_cmpge_epi32_mask, _mm_mask_cmpge_epi64_mask,
_mm_mask_cmpge_epu32_mask, _mm_mask_cmpge_epu64_mask,
_mm_mask_cmple_epi32_mask, _mm_mask_cmple_epi64_mask,
_mm_mask_cmple_epu32_mask, _mm_mask_cmple_epu64_mask,
_mm_mask_cmplt_epi32_mask, _mm_mask_cmplt_epi64_mask,
_mm_mask_cmplt_epu32_mask, _mm_mask_cmplt_epu64_mask,
_mm_mask_cmpneq_epi32_mask, _mm_mask_cmpneq_epi64_mask,
_mm_mask_cmpneq_epu32_mask, _mm_mask_cmpneq_epu64_mask): Move
definitions outside of __OPTIMIZE__ guarded section.
* gcc.target/i386/pr79932-2.c: New test.
From-SVN: r245990
2017-03-09 10:11:06 +01:00
|
|
|
|
PR target/79932
|
|
|
|
|
* config/i386/avx512vlintrin.h (_mm256_cmpge_epi32_mask,
|
|
|
|
|
_mm256_cmpge_epi64_mask, _mm256_cmpge_epu32_mask,
|
|
|
|
|
_mm256_cmpge_epu64_mask, _mm256_cmple_epi32_mask,
|
|
|
|
|
_mm256_cmple_epi64_mask, _mm256_cmple_epu32_mask,
|
|
|
|
|
_mm256_cmple_epu64_mask, _mm256_cmplt_epi32_mask,
|
|
|
|
|
_mm256_cmplt_epi64_mask, _mm256_cmplt_epu32_mask,
|
|
|
|
|
_mm256_cmplt_epu64_mask, _mm256_cmpneq_epi32_mask,
|
|
|
|
|
_mm256_cmpneq_epi64_mask, _mm256_cmpneq_epu32_mask,
|
|
|
|
|
_mm256_cmpneq_epu64_mask, _mm256_mask_cmpge_epi32_mask,
|
|
|
|
|
_mm256_mask_cmpge_epi64_mask, _mm256_mask_cmpge_epu32_mask,
|
|
|
|
|
_mm256_mask_cmpge_epu64_mask, _mm256_mask_cmple_epi32_mask,
|
|
|
|
|
_mm256_mask_cmple_epi64_mask, _mm256_mask_cmple_epu32_mask,
|
|
|
|
|
_mm256_mask_cmple_epu64_mask, _mm256_mask_cmplt_epi32_mask,
|
|
|
|
|
_mm256_mask_cmplt_epi64_mask, _mm256_mask_cmplt_epu32_mask,
|
|
|
|
|
_mm256_mask_cmplt_epu64_mask, _mm256_mask_cmpneq_epi32_mask,
|
|
|
|
|
_mm256_mask_cmpneq_epi64_mask, _mm256_mask_cmpneq_epu32_mask,
|
|
|
|
|
_mm256_mask_cmpneq_epu64_mask, _mm_cmpge_epi32_mask,
|
|
|
|
|
_mm_cmpge_epi64_mask, _mm_cmpge_epu32_mask, _mm_cmpge_epu64_mask,
|
|
|
|
|
_mm_cmple_epi32_mask, _mm_cmple_epi64_mask, _mm_cmple_epu32_mask,
|
|
|
|
|
_mm_cmple_epu64_mask, _mm_cmplt_epi32_mask, _mm_cmplt_epi64_mask,
|
|
|
|
|
_mm_cmplt_epu32_mask, _mm_cmplt_epu64_mask, _mm_cmpneq_epi32_mask,
|
|
|
|
|
_mm_cmpneq_epi64_mask, _mm_cmpneq_epu32_mask, _mm_cmpneq_epu64_mask,
|
|
|
|
|
_mm_mask_cmpge_epi32_mask, _mm_mask_cmpge_epi64_mask,
|
|
|
|
|
_mm_mask_cmpge_epu32_mask, _mm_mask_cmpge_epu64_mask,
|
|
|
|
|
_mm_mask_cmple_epi32_mask, _mm_mask_cmple_epi64_mask,
|
|
|
|
|
_mm_mask_cmple_epu32_mask, _mm_mask_cmple_epu64_mask,
|
|
|
|
|
_mm_mask_cmplt_epi32_mask, _mm_mask_cmplt_epi64_mask,
|
|
|
|
|
_mm_mask_cmplt_epu32_mask, _mm_mask_cmplt_epu64_mask,
|
|
|
|
|
_mm_mask_cmpneq_epi32_mask, _mm_mask_cmpneq_epi64_mask,
|
|
|
|
|
_mm_mask_cmpneq_epu32_mask, _mm_mask_cmpneq_epu64_mask): Move
|
|
|
|
|
definitions outside of __OPTIMIZE__ guarded section.
|
|
|
|
|
|
2017-03-09 10:09:27 +01:00
|
|
|
|
PR target/79932
|
|
|
|
|
* config/i386/avx512bwintrin.h (_mm512_packs_epi32,
|
|
|
|
|
_mm512_maskz_packs_epi32, _mm512_mask_packs_epi32,
|
|
|
|
|
_mm512_packus_epi32, _mm512_maskz_packus_epi32,
|
|
|
|
|
_mm512_mask_packus_epi32): Move definitions outside of __OPTIMIZE__
|
|
|
|
|
guarded section.
|
|
|
|
|
|
2017-03-09 08:53:29 +01:00
|
|
|
|
2017-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vx-builtins.md ("vfee<mode>", "vfeez<mode>")
|
|
|
|
|
("vfenez<mode>"): Add missing constraints.
|
|
|
|
|
|
2017-03-09 00:29:42 +01:00
|
|
|
|
2017-03-08 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79928
|
|
|
|
|
* config/nds32/nds32.c (nds32_option_override):
|
|
|
|
|
|
2017-03-08 18:21:06 +01:00
|
|
|
|
2017-03-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/79940
|
|
|
|
|
* gimplify.c (gimplify_omp_for): Replace index var in outer
|
|
|
|
|
taskloop statement with an artificial variable and add
|
|
|
|
|
OMP_CLAUSE_PRIVATE clause for it.
|
|
|
|
|
|
2017-03-08 15:10:47 +01:00
|
|
|
|
2017-03-08 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79955
|
|
|
|
|
* tree-ssa-uninit.c (warn_uninitialized_vars): Do not warn
|
|
|
|
|
for accesses that are completely outside of the variable.
|
|
|
|
|
|
2017-03-08 12:35:23 +01:00
|
|
|
|
2017-03-08 Andrew Haley <aph@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79943
|
|
|
|
|
* tree-ssa-loop-split.c (compute_new_first_bound): When
|
|
|
|
|
calculating the new upper bound, (END-BEG) should be added, not
|
|
|
|
|
subtracted.
|
|
|
|
|
|
2017-03-08 09:52:05 +01:00
|
|
|
|
2017-03-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr.md (setmemhi): Make sure match_dup
|
|
|
|
|
operand number comes before match_scratch.
|
|
|
|
|
|
2017-03-08 09:50:01 +01:00
|
|
|
|
2017-03-08 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79920
|
|
|
|
|
* tree-vect-slp.c (vect_create_mask_and_perm): Remove and inline
|
|
|
|
|
with ncopies == 1 to ...
|
|
|
|
|
(vect_transform_slp_perm_load): ... here. Properly compute
|
|
|
|
|
all element loads by iterating VF times over the group. Do
|
|
|
|
|
not handle ncopies (computed in a broken way) in
|
|
|
|
|
vect_create_mask_and_perm.
|
|
|
|
|
|
2017-03-08 09:35:20 +01:00
|
|
|
|
2017-03-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/79904
|
|
|
|
|
* internal-fn.c (expand_vector_ubsan_overflow): If arg0 or arg1
|
|
|
|
|
is a uniform vector, use uniform_vector_p return value instead of
|
|
|
|
|
building ARRAY_REF on folded VIEW_CONVERT_EXPR to array type.
|
|
|
|
|
|
2017-03-07 18:30:53 +01:00
|
|
|
|
2017-03-07 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79809
|
|
|
|
|
* gimple-ssa-warn-alloca.c (pass_walloca::gate): Use HOST_WIDE_INT.
|
|
|
|
|
(alloca_call_type): Likewise.
|
|
|
|
|
|
2017-03-07 15:13:10 +01:00
|
|
|
|
2017-03-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* gcov.c (process_args): Put comment to correct location.
|
|
|
|
|
|
2017-03-07 15:12:52 +01:00
|
|
|
|
2017-03-07 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/68270
|
|
|
|
|
* tree-chkp.c (chkp_may_narrow_to_field): Add new argument ref.
|
|
|
|
|
Use array_at_struct_end_p instead of DECL_CHAIN (field).
|
|
|
|
|
(chkp_narrow_bounds_for_field): Likewise.
|
|
|
|
|
(chkp_parse_array_and_component_ref): Pass one more argument to
|
|
|
|
|
call.
|
|
|
|
|
|
2017-03-07 14:39:44 +01:00
|
|
|
|
2017-03-07 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-vect-loop-manip.c (slpeel_add_loop_guard): Preserve
|
|
|
|
|
preheaders.
|
|
|
|
|
|
2017-03-07 12:53:32 +01:00
|
|
|
|
2017-03-07 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_local_alignment): Align most aggregates
|
|
|
|
|
of 16 bytes and more to 16 bytes, not those of 16 bits and more.
|
|
|
|
|
|
2017-03-07 10:36:44 +01:00
|
|
|
|
2017-03-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR c/79855
|
|
|
|
|
* params.def (PARAM_STORE_MERGING_ALLOW_UNALIGNED): Add full stop
|
|
|
|
|
to end of description.
|
|
|
|
|
(PARAM_MAX_STORES_TO_MERGE): Likewise.
|
|
|
|
|
|
2017-03-07 07:11:14 +01:00
|
|
|
|
2017-03-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-03-07 09:11:30 +01:00
|
|
|
|
PR rtl-optimization/79901
|
|
|
|
|
* config/i386/sse.md (*avx512bw_<code><mode>3<mask_name>): Renamed to
|
|
|
|
|
...
|
|
|
|
|
(*avx512f_<code><mode>3<mask_name>): ... this.
|
|
|
|
|
(<code><mode>3 with maxmin code iterator): Use VI8_AVX2_AVX512F
|
|
|
|
|
iterator instead of VI8_AVX2_AVX512BW.
|
|
|
|
|
|
2017-03-07 09:04:38 +01:00
|
|
|
|
PR rtl-optimization/79901
|
|
|
|
|
* expr.c (expand_expr_real_2): For vector MIN/MAX, if there is no
|
|
|
|
|
min/max expander, expand it using expand_vec_cond_expr.
|
|
|
|
|
|
2017-03-07 07:11:14 +01:00
|
|
|
|
PR sanitizer/79897
|
|
|
|
|
* ubsan.c (ubsan_encode_value): Call mark_addressable on the
|
|
|
|
|
temporary.
|
|
|
|
|
|
2017-03-06 23:51:23 +01:00
|
|
|
|
2017-03-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79821
|
|
|
|
|
* dwarf2out.h (dw_vec_const): Change array type from unsigned char *
|
|
|
|
|
to void * for PCH reasons.
|
|
|
|
|
* dwarf2out.c (output_loc_operands, output_die): Cast
|
|
|
|
|
v.val_vec.array to unsigned char *.
|
|
|
|
|
|
2017-03-06 23:48:53 +01:00
|
|
|
|
2017-03-06 John David Anglin <danglin@gcc.gnu.org>
|
|
|
|
|
|
2017-03-07 00:12:14 +01:00
|
|
|
|
PR target/77850
|
2017-03-06 23:48:53 +01:00
|
|
|
|
* config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and
|
|
|
|
|
vector types.
|
|
|
|
|
|
2017-03-06 21:23:00 +01:00
|
|
|
|
2017-03-06 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79571
|
2017-03-06 21:29:49 +01:00
|
|
|
|
* lra-constraints.c (process_alt_operands): Calculate static
|
|
|
|
|
reject and subtract it from overall when only addresses will be
|
|
|
|
|
reloaded.
|
2017-03-06 21:23:00 +01:00
|
|
|
|
|
2017-03-06 17:08:59 +01:00
|
|
|
|
2017-03-06 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/79793
|
|
|
|
|
* config/i386/i386.c (ix86_minimum_incoming_stack_boundary): Set
|
|
|
|
|
incoming stack boundary to 128 for 64-bit targets.
|
|
|
|
|
|
2017-03-06 14:58:57 +01:00
|
|
|
|
2017-03-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79894
|
|
|
|
|
* tree-vectorizer.c (vectorize_loops): Set loop_vectorized_call
|
|
|
|
|
to NULL after folding it.
|
|
|
|
|
|
2017-03-06 14:58:01 +01:00
|
|
|
|
2017-03-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79824
|
|
|
|
|
* tree-vect-stmts.c (get_group_load_store_type): Fix alignment
|
|
|
|
|
check disabling peeling for gaps.
|
|
|
|
|
|
2017-03-06 14:15:30 +01:00
|
|
|
|
2017-03-06 Toma Tabacu <toma.tabacu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* doc/sourcebuild.texi (Effective-Target Keywords, Environment
|
|
|
|
|
attributes): Document gettimeofday.
|
|
|
|
|
|
S/390: Disable vectorization for loops with few iterations
The following patch defines the PARAM_MIN_VECT_LOOP_BOUND parameter in
the s390 backend. It helps with the vectorization epilogue problem
described here [1].
I see an overall performance increase of > 1% in SPECfp2006, yet some
cases like cactusADM regress. This seems to be caused by the vectorizer
creating an epilogue guard for one more iteration than before, which, in
turn, causes e.g. predcom to run on the epilogue that it used to ignore
before ("Loop iterates only 1 time, nothing to do."). Subsequent,
minor, effects cause an eventual slowdown.
Until the reason for the bad epilogue code is understood, this patch
mitigates the problem. When investigating the issue, I stumbled across
an attempt to vectorize the epilogue itself as well as combine it with
the vectorized loop in addition to vector masking [2]. A similar
approach might also help here. My original observation of high register
pressure within the epilogue still stands. In this specific case, it
would most likely suffice to save all registers once, run the epilogue
and restore the registers. I'm pretty sure this would be faster than
the "spill fest" that's currently happening.
Regards
Robin
[1] https://gcc.gnu.org/ml/gcc/2017-01/msg00234.html
[2] https://gcc.gnu.org/ml/gcc-patches/2016-05/msg01562.html
gcc/ChangeLog:
2017-03-06 Robin Dapp <rdapp@linux.vnet.ibm.com>
* config/s390/s390.c (s390_option_override_internal): Set
PARAM_MIN_VECT_LOOP_BOUND
From-SVN: r245918
2017-03-06 13:43:33 +01:00
|
|
|
|
2017-03-06 Robin Dapp <rdapp@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_option_override_internal): Set
|
|
|
|
|
PARAM_MIN_VECT_LOOP_BOUND
|
|
|
|
|
|
2017-03-06 13:40:19 +01:00
|
|
|
|
2017-03-06 Robin Dapp <rdapp@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_asm_output_function_label): Use nopr %r0.
|
|
|
|
|
* config/s390/s390.md: Likewise.
|
|
|
|
|
|
2017-03-06 12:35:58 +01:00
|
|
|
|
2017-03-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79812
|
|
|
|
|
* config/i386/sse.md (VI8F_256_512): Remove mode iterator.
|
|
|
|
|
(<avx2_avx512>_perm<mode>): Rename to ...
|
|
|
|
|
(avx2_perm<mode>): ... this. Use VI8F_256 iterator instead
|
|
|
|
|
of VI8F_256_512.
|
|
|
|
|
(<avx512>_perm<mode>_mask): Rename to ...
|
|
|
|
|
(avx512vl_perm<mode>_mask): ... this. Use VI8F_256 iterator instead
|
|
|
|
|
of VI8F_256_512.
|
|
|
|
|
(<avx2_avx512>_perm<mode>_1<mask_name>): Rename to ...
|
|
|
|
|
(avx2_perm<mode>_1<mask_name): ... this. Use VI8F_256 iterator
|
|
|
|
|
instead of VI8F_256_512.
|
|
|
|
|
(avx512f_perm<mode>): New define_expand.
|
|
|
|
|
(avx512f_perm<mode>_mask): Likewise.
|
|
|
|
|
(avx512f_perm<mode>_1<mask_name>): New define_insn.
|
|
|
|
|
(<avx512>_vec_dup<mode>_1): Fix up vec_select mode.
|
|
|
|
|
|
2017-03-06 11:32:47 +01:00
|
|
|
|
2017-03-06 Prachi Godbole <prachi.godbole@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips-msa.md (msa_fmax_a_<msafmt>, msa_fmin_a_<msafmt>,
|
|
|
|
|
msa_max_a_<msafmt>, msa_min_a_<msafmt>): Introduce mode interator for
|
|
|
|
|
if_then_else.
|
|
|
|
|
(smin<mode>3, smax<mode>3): Change operand print code from 'B' to 'E'.
|
|
|
|
|
|
2017-03-06 11:20:33 +01:00
|
|
|
|
2017-03-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR sanitize/79783
|
|
|
|
|
* asan.c (asan_expand_poison_ifn): Do not expand ASAN_POISON
|
|
|
|
|
when having a SSA NAME w/o VAR_DECL assigned to it.
|
|
|
|
|
|
2017-03-06 11:19:52 +01:00
|
|
|
|
2017-03-06 Prachi Godbole <prachi.godbole@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips-msa.md (msa_dotp_<su>_d, msa_dpadd_<su>_d,
|
|
|
|
|
msa_dpsub_<su>_d): Fix MODE for vec_select.
|
|
|
|
|
|
2017-03-06 11:08:51 +01:00
|
|
|
|
2017-03-06 Prachi Godbole <prachi.godbole@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.c (mips_gen_const_int_vector): Change type of last
|
|
|
|
|
argument.
|
|
|
|
|
* config/mips/mips-protos.h (mips_gen_const_int_vector): Likewise.
|
|
|
|
|
|
2017-03-06 09:54:57 +01:00
|
|
|
|
2017-03-06 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* lto-streamer.c (lto_check_version): Use %qs in diagnostics.
|
|
|
|
|
* plugin.c (register_plugin_info): Likewise.
|
|
|
|
|
* tree-chkp.c (chkp_make_static_const_bounds): Likewise.
|
|
|
|
|
|
2017-03-05 22:41:10 +01:00
|
|
|
|
2017-03-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (sse_storehps, sse_storelps,
|
|
|
|
|
avx_<castmode><avxsizesuffix>_<castmode>,
|
|
|
|
|
avx512f_<castmode><avxsizesuffix>_<castmode>,
|
|
|
|
|
avx512f_<castmode><avxsizesuffix>_256<castmode>): Require
|
|
|
|
|
in condition that at least one operand is not a MEM.
|
|
|
|
|
|
2017-03-03 20:32:01 +01:00
|
|
|
|
2017-03-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79805
|
|
|
|
|
* internal-fn.def (ATOMIC_BIT_TEST_AND_SET, ATOMIC_BIT_TEST_AND_RESET,
|
|
|
|
|
ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_COMPARE_EXCHANGE): Remove
|
|
|
|
|
ECF_NOTHROW.
|
|
|
|
|
* gimple-fold.c (fold_builtin_atomic_compare_exchange): Set
|
|
|
|
|
gimple_call_nothrow_p flag based on whether original builtin can throw.
|
|
|
|
|
If it can, emit following stmts on the fallthrough edge.
|
|
|
|
|
* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Similarly, except
|
|
|
|
|
don't create new bb if inserting just debug stmts on the edge, try to
|
|
|
|
|
insert them on the fallthru bb or just reset debug stmts.
|
|
|
|
|
|
2017-03-03 18:00:50 +01:00
|
|
|
|
2017-03-03 Segher Boesssenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/43763
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_final_prescan_insn): Save and
|
|
|
|
|
restore recog_data (including the operand rtxes inside it) around
|
|
|
|
|
the call to get_insn_template.
|
|
|
|
|
|
2017-03-03 17:35:00 +01:00
|
|
|
|
2017-03-03 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79699
|
|
|
|
|
* context.c (context::~context): Free MPFR caches to avoid
|
|
|
|
|
a memory leak on program exit.
|
|
|
|
|
|
2017-03-03 17:32:01 +01:00
|
|
|
|
2017-03-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_float_const_representable_p):
|
|
|
|
|
Use wide_int::ulow () instead of .elt (0).
|
|
|
|
|
|
2017-03-03 17:19:34 +01:00
|
|
|
|
2017-03-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*pushtf): Change *roF constraint to *roC.
|
|
|
|
|
(*pushxf): Limit oF constraint to 32bit targets and add oC
|
|
|
|
|
constraint for 64bit targets.
|
|
|
|
|
(pushxf splitter): Use PUSH_ROUNDING to calculate stack adjustment.
|
|
|
|
|
(*pushdf): Change rmF constraint to rmC.
|
|
|
|
|
|
2017-03-03 13:53:13 +01:00
|
|
|
|
2017-03-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-prefetch.c (pass_loop_prefetch::execute):
|
|
|
|
|
Remove unused variable.
|
|
|
|
|
|
2017-03-03 13:24:53 +01:00
|
|
|
|
2017-03-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79807
|
|
|
|
|
* config/i386/i386.c (ix86_expand_multi_arg_builtin): If target
|
|
|
|
|
is a memory operand, increase num_memory.
|
|
|
|
|
(ix86_expand_args_builtin): Likewise.
|
|
|
|
|
|
2017-03-03 12:58:03 +01:00
|
|
|
|
2017-03-03 Jan Hubicka <jh@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/79760
|
|
|
|
|
* ipa-devirt.c (maybe_record_node): Properly handle
|
|
|
|
|
__cxa_pure_virtual visibility.
|
|
|
|
|
|
2017-03-03 12:53:56 +01:00
|
|
|
|
2017-03-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79803
|
|
|
|
|
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Remove
|
|
|
|
|
assert.
|
|
|
|
|
(pass_loop_prefetch::execute): Disabled optimization if an
|
|
|
|
|
assumption about L1 cache size is not met.
|
|
|
|
|
|
2017-03-03 12:53:14 +01:00
|
|
|
|
2017-03-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79574
|
|
|
|
|
* gcse.c (struct gcse_expr): Use HOST_WIDE_INT instead of int.
|
|
|
|
|
(hash_scan_set): Likewise.
|
|
|
|
|
(dump_hash_table): Likewise.
|
|
|
|
|
(hoist_code): Likewise.
|
|
|
|
|
|
2017-03-03 12:32:38 +01:00
|
|
|
|
2017-03-03 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* fixed-value.c (fixed_from_string): Restore use of elt (1)
|
|
|
|
|
in place of uhigh ().
|
|
|
|
|
(fixed_convert_from_real): Likewise.
|
|
|
|
|
|
2017-03-03 10:18:01 +01:00
|
|
|
|
2017-03-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79514
|
|
|
|
|
* config/i386/i386.md (*pushxf_rounded): Use Pmode instead of DImode.
|
|
|
|
|
|
2017-03-03 09:08:08 +01:00
|
|
|
|
2017-03-03 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79818
|
|
|
|
|
* match.pd ( X +- C1 CMP C2 -> X CMP C2 -+ C1): Add missing
|
|
|
|
|
TYPE_OVERFLOW_UNDEFINED check.
|
|
|
|
|
|
2017-03-02 20:17:04 +01:00
|
|
|
|
2017-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/vector.md (vector_ne_<mode>_p): Correct operand
|
|
|
|
|
numbers.
|
|
|
|
|
(vector_ae_<mode>_p): Likewise.
|
|
|
|
|
(vector_nez_<mode>_p): Likewise.
|
|
|
|
|
(vector_ne_v2di_p): Likewise.
|
|
|
|
|
(vector_ae_v2di_p): Likewise.
|
|
|
|
|
(vector_ne_<mode>_p): Likewise.
|
|
|
|
|
* config/rs6000/vsx.md (vsx_tsqrt<mode>2_fg): Correct operand
|
|
|
|
|
numbers.
|
|
|
|
|
(vsx_tsqrt<mode>2_fe): Likewise.
|
|
|
|
|
|
2017-03-02 19:47:03 +01:00
|
|
|
|
2017-03-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79514
|
|
|
|
|
* config/i386/i386.md (*pushxf_rounded): New insn_and_split pattern.
|
|
|
|
|
|
2017-03-02 17:02:37 +01:00
|
|
|
|
2017-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79780
|
|
|
|
|
* cprop.c (one_cprop_pass): When second and further conditional trap
|
|
|
|
|
in a single basic block is turned into an unconditional trap, turn it
|
|
|
|
|
into a deleted note to avoid RTL verification failures.
|
|
|
|
|
|
2017-03-02 15:38:47 +01:00
|
|
|
|
2017-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* fold-const.c (const_binop): Use ulow () instead of elt (0).
|
|
|
|
|
|
2017-03-02 14:42:05 +01:00
|
|
|
|
2017-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79345
|
|
|
|
|
PR c++/42000
|
|
|
|
|
* tree-ssa-alias.c (walk_aliased_vdefs_1): Take a limit
|
|
|
|
|
param and abort the walk, returning -1 if it is hit.
|
|
|
|
|
(walk_aliased_vdefs): Take a limit param and pass it on.
|
|
|
|
|
* tree-ssa-alias.h (walk_aliased_vdefs): Add a limit param,
|
|
|
|
|
defaulting to 0 and return a signed int.
|
|
|
|
|
* tree-ssa-uninit.c (struct check_defs_data): New struct.
|
|
|
|
|
(check_defs): New helper.
|
|
|
|
|
(warn_uninitialized_vars): Use walk_aliased_vdefs to warn
|
|
|
|
|
about uninitialized memory.
|
|
|
|
|
* fixed-value.c (fixed_from_string): Use ulow/uhigh to avoid
|
|
|
|
|
bogus uninitialized warning.
|
|
|
|
|
(fixed_convert_from_real): Likewise.
|
|
|
|
|
|
2017-03-02 12:25:11 +01:00
|
|
|
|
2017-03-02 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/66768
|
|
|
|
|
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Skip addr
|
|
|
|
|
iv_use if base object can't be determined.
|
|
|
|
|
|
2017-03-02 10:19:28 +01:00
|
|
|
|
2017-03-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79345
|
|
|
|
|
* gensupport.h (struct pattern_stats): Add min_scratch_opno field.
|
|
|
|
|
* gensupport.c (get_pattern_stats_1) <case MATCH_SCRATCH>: Update it.
|
|
|
|
|
(get_pattern_stats): Initialize it.
|
|
|
|
|
* genemit.c (gen_expand): Verify match_scratch numbers come after
|
|
|
|
|
match_operand/match_dup numbers.
|
|
|
|
|
* config/i386/i386.md (<s>mul<mode>3_highpart): Swap match_dup and
|
|
|
|
|
match_scratch numbers.
|
|
|
|
|
* config/i386/sse.md (avx2_gathersi<mode>, avx2_gatherdi<mode>):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/s390/s390.md (trunctdsd2): Likewise.
|
|
|
|
|
|
2017-03-02 09:02:41 +01:00
|
|
|
|
2017-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* wide-int.h (wide_int_storage::operator=): Implement in terms
|
|
|
|
|
of wi::copy.
|
|
|
|
|
|
2017-03-02 08:53:42 +01:00
|
|
|
|
2017-03-02 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79777
|
|
|
|
|
* tree-ssa-pre.c (eliminate_insert): Give up if we simplify
|
|
|
|
|
the to insert expression to sth existing.
|
|
|
|
|
|
2017-03-02 00:39:59 +01:00
|
|
|
|
2017-03-01 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79692
|
|
|
|
|
* gimple-ssa-sprintf.c
|
|
|
|
|
(directive::known_width_and_precision): New function.
|
|
|
|
|
(format_integer): Use it.
|
|
|
|
|
(get_mpfr_format_length): Consider the full range of precision
|
|
|
|
|
when computing %g output with the # flag. Set the likely byte
|
|
|
|
|
count to 3 rather than 1 when precision is indeterminate.
|
|
|
|
|
(format_floating): Correct the lower bound of precision.
|
|
|
|
|
|
2017-03-02 00:14:26 +01:00
|
|
|
|
2017-03-01 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Document default code model for 64-bit Linux.
|
|
|
|
|
|
2017-03-01 20:58:05 +01:00
|
|
|
|
2017-03-01 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79752
|
|
|
|
|
* config/rs6000/rs6000.md (peephole2 for udiv/umod): Should emit
|
|
|
|
|
udiv rather than div since input pattern is unsigned.
|
|
|
|
|
|
2017-03-01 20:24:53 +01:00
|
|
|
|
2017-03-01 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (print_reg): Warn for values of
|
|
|
|
|
unsupported size in integer register.
|
|
|
|
|
|
2017-03-01 19:33:21 +01:00
|
|
|
|
2017-03-01 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79439
|
|
|
|
|
* config/rs6000/predicates.md (current_file_function_operand): Do
|
|
|
|
|
not allow self calls to be local if the function is replaceable.
|
|
|
|
|
|
2017-03-01 15:43:02 +01:00
|
|
|
|
2017-03-01 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/79395
|
|
|
|
|
* config/rs6000/altivec.h (vec_ctz and others): Change the
|
|
|
|
|
preprocessor macro that controls conditional compilation from
|
|
|
|
|
_ARCH_PWR9 to __POWER9_VECTOR__.
|
|
|
|
|
(vec_all_ne): Change parameterization of __altivec_scalar_pred
|
|
|
|
|
macro expansion under preprocessor #ifdef __POWER9_VECTOR__
|
|
|
|
|
control (instead of _ARCH_PWR9 control) so that template
|
|
|
|
|
definition uses power9-specific function.
|
|
|
|
|
(vec_any_eq): Likewise.
|
|
|
|
|
(vec_all_ne): Change macro definition to use a power9-specific
|
|
|
|
|
expansion under #ifdef __POWER9_VECTOR__ control (instead of
|
|
|
|
|
_ARCH_PWR9 control).
|
|
|
|
|
(vec_any_eq) Likewise.
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (CMPNEF): Remove BU_P9V_AV_2
|
|
|
|
|
expansion for CMPNEF to remove support for xvcmpnesp instruction.
|
|
|
|
|
(CMPNED): Remove BU_P9V_AV2 expansion for CMPNED to remove
|
|
|
|
|
support for xvcmpnedp instruction.
|
|
|
|
|
(VCMPNEB_P): Replace BU_P9V_AV_P macro expansion with BU_P9V_AV_2
|
|
|
|
|
macro expansion so that Power9 implementation of vec_all_ne does
|
|
|
|
|
not use the AltiVec predicate framework.
|
|
|
|
|
(VCMPNEH_P): Likewise.
|
|
|
|
|
(VCMPNEW_P): Likewise.
|
|
|
|
|
(VCMPNED_P): Likewise.
|
|
|
|
|
(VCMPNEFP_P): Likewise.
|
|
|
|
|
(VCMPNEDP_P): Likewise.
|
|
|
|
|
(VCMPAEB_P): Add BU_P9V_AV_2 macro expansion to change
|
|
|
|
|
implementation of vec_any_eq to not use AltiVec predicate
|
|
|
|
|
framework.
|
|
|
|
|
(VCMPAEH_P): Likewise.
|
|
|
|
|
(VCMPAEW_P): Likewise.
|
|
|
|
|
(VCMPAED_P): Likewise.
|
|
|
|
|
(VCMPAEFP_P): Likewise.
|
|
|
|
|
(VCMPAEDP_P): Likewise.
|
|
|
|
|
(VCMPNE_P): Replace BU_P9V_OVERLOAD_P macro expansion with
|
|
|
|
|
BU_P9V_OVERLOAD_2 so that Power9 implementation of vec_all_ne does
|
|
|
|
|
not use the AltiVec predicate framework.
|
|
|
|
|
(VCMPAE_P): Add BU_P9V_OVERLOAD_2 macro to change implementation
|
|
|
|
|
of vec_any_eq to not use AltiVec predicate framework.
|
|
|
|
|
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Add
|
|
|
|
|
support for predefined __POWER9_VECTOR__ macro to indicate that
|
|
|
|
|
Power9 instruction selection is enabled.
|
|
|
|
|
(altivec_overloaded_builtins): Remove extraneous
|
|
|
|
|
ALTIVEC_BUILTIN_VEC_CMPNE entry for overloaded
|
|
|
|
|
function argument types RS6000_BTI_bool_V16QI and
|
|
|
|
|
RS6000_BTI_bool_V16QI. Remove erroneous ALTIVEC_BUILTIN_VEC_CMPNE
|
|
|
|
|
entry for overloaded function argument types RS6000_BTI_bool_V4SI
|
|
|
|
|
andRS6000_BTI_bool_V4SI, mapping to P9V_BUILTIN_CMPNEB. Remove
|
|
|
|
|
two entries mapping to P9V_BUITIN_CMPNED and one entry mapping to
|
|
|
|
|
P9V_BUILTIN_CMPNEF to force use of instructions not specific to
|
|
|
|
|
Power9 for implementations of vec_cmpne. Change the signature for
|
|
|
|
|
all definitions of the overloaded P9V_BUILTIN_VEC_CMPNE_P function
|
|
|
|
|
(representing vec_all_ne) to remove the previously described first
|
|
|
|
|
argument of type RS6000_BTI_INTSI, as this was an artifact of
|
|
|
|
|
reliance on the AltiVec predicate framework, which is no longer
|
|
|
|
|
used in the implementation of these functions. Add
|
|
|
|
|
P9V_BUILTIN_VEC_VCMPAE_P entries (representing the vec_anyeq
|
|
|
|
|
function) to match all of the P9V_BUILTIN_VEC_VCMNE_P entries
|
|
|
|
|
since, unlike the AltiVec predicate framework implementation, we
|
|
|
|
|
do not share function descriptors between vec_alle and vec_anyeq.
|
|
|
|
|
(altivec_resolve_overloaded_builtin): Add SFmode and DFmode to the
|
|
|
|
|
set of modes that receive special treatment even when
|
|
|
|
|
TARGET_P9_VECTOR is true. The special treatment emits code that
|
|
|
|
|
does not depend on Power9 instructions.
|
|
|
|
|
* config/rs6000/vector.md (vector_ne_<mode>_p): Change this
|
|
|
|
|
define_expand to not rely on AltiVec predicate framework.
|
|
|
|
|
(vector_ae_<mode>p): New define_expand to represent vec_any_eq
|
|
|
|
|
function.
|
|
|
|
|
(vector_ne_v2di_p): Change this define_expand to not rely on
|
|
|
|
|
AltiVec predicate framework.
|
|
|
|
|
(vector_ae_v2di_p): New define_expand to represent vec_any_eq
|
|
|
|
|
function.
|
|
|
|
|
(vector_ne_<mode>_p): Change this define_expand to not rely on
|
|
|
|
|
AltiVec predicate framework.
|
|
|
|
|
(vector_ae_<mode>p): New define_expand to represent vec_any_eq
|
|
|
|
|
function.
|
|
|
|
|
* config/rs6000/vsx.md (*vsx_ne_<mode>_p): For modes VSX_EXTRACT_I
|
|
|
|
|
(V16QI, V8HI, V4SI), correct a typo in the code emitted for this
|
|
|
|
|
define_insn pattern.
|
|
|
|
|
(*vsx_ne_<mode>_p): For modes VSX_F (V4SF and V2DF), remove this
|
|
|
|
|
define_insn pattern because the xvcmpne<VSs>. instruction is not
|
|
|
|
|
supported.
|
|
|
|
|
(vcmpne<VSs>): Remove this define_insn because xvcmpne<VSs>
|
|
|
|
|
instruction is not supported.
|
|
|
|
|
|
2017-03-01 11:25:49 +01:00
|
|
|
|
2017-03-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/nvptx/nvptx.c: Include intl.h.
|
|
|
|
|
|
2017-03-01 10:37:27 +01:00
|
|
|
|
2017-03-01 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/78140
|
|
|
|
|
* ipa-prop.h (ipa_bits): Removed field known.
|
|
|
|
|
(ipa_jump_func): Removed field vr_known. Changed fields bits and m_vr
|
|
|
|
|
to pointers. Adjusted their comments to warn about their sharing.
|
|
|
|
|
(ipcp_transformation_summary): Change bits to a vector of pointers.
|
|
|
|
|
(ipa_check_create_edge_args): Moved to ipa-prop.c, declare.
|
|
|
|
|
(ipa_get_ipa_bits_for_value): Declare.
|
|
|
|
|
* tree-vrp.h (value_range): Mark as GTY((for_user)).
|
|
|
|
|
* ipa-prop.c (ipa_bit_ggc_hash_traits): New.
|
|
|
|
|
(ipa_bits_hash_table): Likewise.
|
|
|
|
|
(ipa_vr_ggc_hash_traits): Likewise.
|
|
|
|
|
(ipa_vr_hash_table): Likewise.
|
|
|
|
|
(ipa_print_node_jump_functions_for_edge): Adjust for bits and m_vr
|
|
|
|
|
being pointers and vr_known being removed.
|
|
|
|
|
(ipa_set_jf_unknown): Likewise.
|
|
|
|
|
(ipa_get_ipa_bits_for_value): New function.
|
|
|
|
|
(ipa_set_jfunc_bits): Likewise.
|
|
|
|
|
(ipa_get_value_range): New overloaded functions.
|
|
|
|
|
(ipa_set_jfunc_vr): Likewise.
|
|
|
|
|
(ipa_compute_jump_functions_for_edge): Use the above functions to
|
|
|
|
|
construct bits and vr parts of jump functions.
|
|
|
|
|
(ipa_check_create_edge_args): Move here from ipa-prop.h, also allocate
|
|
|
|
|
ipa_bits_hash_table and ipa_vr_hash_table if they do not already
|
|
|
|
|
exist.
|
|
|
|
|
(ipcp_grow_transformations_if_necessary): Also allocate
|
|
|
|
|
ipa_bits_hash_table and ipa_vr_hash_table if they do not already
|
|
|
|
|
exist.
|
|
|
|
|
(ipa_node_params_t::duplicate): Do not copy bits, just pointers to
|
|
|
|
|
them. Fix too long lines.
|
|
|
|
|
(ipa_write_jump_function): Adjust for bits and m_vr being pointers and
|
|
|
|
|
vr_known being removed.
|
|
|
|
|
(ipa_read_jump_function): Use new setter functions to construct bits
|
|
|
|
|
and vr parts of jump functions or set them to NULL.
|
|
|
|
|
(write_ipcp_transformation_info): Adjust for bits being pointers.
|
|
|
|
|
(read_ipcp_transformation_info): Likewise.
|
|
|
|
|
(ipcp_update_bits): Likewise. Fix excessively long lines a trailing
|
|
|
|
|
space.
|
|
|
|
|
Include gt-ipa-prop.h.
|
|
|
|
|
* ipa-cp.c (propagate_bits_across_jump_function): Adjust for bits
|
|
|
|
|
being pointers.
|
|
|
|
|
(ipcp_store_bits_results): Likewise.
|
|
|
|
|
(propagate_vr_across_jump_function): Adjust for m_vr being a pointer.
|
|
|
|
|
Do not write to existing jump functions but use a temporary instead.
|
|
|
|
|
|
2017-03-01 10:02:12 +01:00
|
|
|
|
2017-03-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/79681
|
|
|
|
|
* fold-const.c (make_bit_field_ref): If orig_inner is COMPONENT_REF,
|
|
|
|
|
attempt to use its first operand as BIT_FIELD_REF base.
|
|
|
|
|
|
2017-03-01 09:54:29 +01:00
|
|
|
|
2017-03-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79721
|
|
|
|
|
* tree-chrec.c (chrec_evaluate): Perform computation of Newtons
|
|
|
|
|
interpolating formula in wrapping arithmetic.
|
|
|
|
|
(chrec_apply): Convert chrec_evaluate return value to wanted type.
|
|
|
|
|
|
2017-03-01 09:34:48 +01:00
|
|
|
|
2017-03-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79734
|
|
|
|
|
* tree-vect-generic.c (expand_vector_condition): Optimize
|
|
|
|
|
AVX512 vector boolean VEC_COND_EXPRs into bitwise operations.
|
|
|
|
|
Handle VEC_COND_EXPR where comparison has different inner width from
|
|
|
|
|
type's inner width.
|
|
|
|
|
|
2017-03-01 05:31:28 +01:00
|
|
|
|
2017-02-28 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (ARC Options): Copy-edit to fix punctuation,
|
|
|
|
|
markup, and similar issues. Remove @opindex entries for things
|
|
|
|
|
that aren't options. Add missing -mmpy-option entries.
|
|
|
|
|
|
2017-02-28 23:39:11 +01:00
|
|
|
|
2017-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79737
|
|
|
|
|
* gimple-ssa-store-merging.c (encode_tree_to_bitpos): If bitlen is
|
|
|
|
|
a multiple of BITS_PER_UNIT and !BYTES_BIG_ENDIAN, clear
|
|
|
|
|
tmpbuf[byte_size - 1]. Call natice_encode_expr with byte_size - 1
|
|
|
|
|
instead of byte_size. Formatting fix.
|
|
|
|
|
(shift_bytes_in_array_right): Formatting fix.
|
|
|
|
|
|
2017-02-28 23:15:54 +01:00
|
|
|
|
2017-02-28 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/79749
|
|
|
|
|
* config/sparc/sparc.c (sparc_frame_pointer_required): Add missing
|
|
|
|
|
condition on optimize for the leaf function test.
|
|
|
|
|
|
2017-02-28 23:04:32 +01:00
|
|
|
|
2017-02-28 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/79625
|
|
|
|
|
* read-rtl-function.c (function_reader::handle_unknown_directive):
|
|
|
|
|
Bail out when one uses -flto.
|
|
|
|
|
|
2017-02-28 23:02:58 +01:00
|
|
|
|
2017-02-28 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* common.opt: Replace space with tabular for options of <number>
|
|
|
|
|
type.
|
|
|
|
|
* config/i386/i386.opt: Show <number> value for
|
|
|
|
|
-mlarge-data-threshold.
|
|
|
|
|
* opts.c (print_filtered_help): Do not display number in hexadecimal
|
|
|
|
|
format.
|
|
|
|
|
|
2017-02-28 23:02:15 +01:00
|
|
|
|
2017-02-28 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* common.opt: Fix --help=option -Q for options which are of
|
|
|
|
|
an enum type.
|
|
|
|
|
|
2017-02-28 19:03:16 +01:00
|
|
|
|
2017-02-28 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (print_reg): Error out for values
|
|
|
|
|
of 8-bit size in invalid integer register.
|
|
|
|
|
|
2017-02-28 17:59:16 +01:00
|
|
|
|
2017-02-28 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79691
|
|
|
|
|
* passes.def (pass_all_optimizations_g): Enable pass_sprintf_length.
|
|
|
|
|
|
2017-02-28 17:24:56 +01:00
|
|
|
|
2017-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79729
|
|
|
|
|
* config/i386/i386.c (ix86_print_operand) <case 'R'>: Replace
|
|
|
|
|
gcc_unreachable with output_operand_lossage.
|
|
|
|
|
|
2017-02-28 16:32:24 +01:00
|
|
|
|
2017-02-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79740
|
|
|
|
|
* tree-ssa-sccvn.c (vn_nary_op_insert_into): Allow redundant
|
|
|
|
|
inserts.
|
|
|
|
|
(visit_nary_op): Insert the nary into the hashtable if we
|
|
|
|
|
pattern-matched sth.
|
|
|
|
|
* tree-ssa-pre.c (eliminate_insert): Robustify.
|
|
|
|
|
|
2017-02-28 16:31:30 +01:00
|
|
|
|
2017-02-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79731
|
|
|
|
|
* fold-const.c (decode_field_reference): Reject out-of-bound
|
|
|
|
|
accesses.
|
|
|
|
|
|
2017-02-28 16:25:19 +01:00
|
|
|
|
2017-02-28 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c: Include intl.h.
|
|
|
|
|
(ix86_option_override_internal): Use cond ? G_("...") : G_("...")
|
|
|
|
|
instead of just cond ? "..." : "...".
|
|
|
|
|
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Likewise.
|
|
|
|
|
* coverage.c (read_counts_file): Likewise.
|
|
|
|
|
* omp-offload.c: Include intl.h.
|
|
|
|
|
(oacc_loop_fixed_partitions): Use cond ? G_("...") : G_("...") instead
|
|
|
|
|
of just cond ? "..." : "...".
|
|
|
|
|
* gcov.c (read_count_file): Use cond ? N_("...") : N_("...") instead
|
|
|
|
|
of just cond ? "..." : "...".
|
|
|
|
|
|
2017-02-28 15:17:29 +01:00
|
|
|
|
2017-02-28 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79742
|
|
|
|
|
* config/arm/parsecpu.awk (gen_data): Set tuning target to 'tune for'
|
|
|
|
|
entry, if present.
|
|
|
|
|
* config/arm/arm-cpus.in (cortex-m0plus.small-multiply): Correct
|
|
|
|
|
'tune for' CPU name.
|
|
|
|
|
* config/arm/arm-cpu-data.h: Regenerated.
|
|
|
|
|
|
2017-02-28 13:38:57 +01:00
|
|
|
|
2017-02-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79732
|
|
|
|
|
* tree-inline.c (expand_call_inline): Do not shadow var.
|
|
|
|
|
|
2017-02-28 10:17:20 +01:00
|
|
|
|
2017-02-28 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79723
|
|
|
|
|
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Preserve
|
|
|
|
|
address-space properly.
|
|
|
|
|
|
2017-02-28 09:41:55 +01:00
|
|
|
|
2017-02-28 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
2017-02-28 09:42:06 +01:00
|
|
|
|
* doc/optinfo.texi (Optimization groups): Fix option used for
|
|
|
|
|
OPTGROUP_ALL.
|
|
|
|
|
* doc/invoke.texi (-fopt-info): Document "omp".
|
|
|
|
|
* dumpfile.h: Sort OPTGROUP_OMP before OPTGROUP_VEC.
|
|
|
|
|
(OPTGROUP_ALL): Add OPTGROUP_OMP.
|
|
|
|
|
* hsa-gen.c (pass_data_gen_hsail): Use OPTGROUP_OMP.
|
|
|
|
|
* ipa-hsa.c (pass_data_ipa_hsa): Likewise.
|
|
|
|
|
* omp-simd-clone.c (pass_data_omp_simd_clone): Likewise.
|
|
|
|
|
|
2017-02-28 09:41:55 +01:00
|
|
|
|
* dumpfile.h (OPTGROUP_OPENMP): Rename to OPTGROUP_OMP. Adjust
|
|
|
|
|
all users.
|
|
|
|
|
* dumpfile.c (optgroup_options): Instead of "openmp", associate
|
|
|
|
|
OPTGROUP_OMP with "omp".
|
|
|
|
|
|
2017-02-27 17:06:13 +01:00
|
|
|
|
2017-02-27 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79544
|
|
|
|
|
* config/rs6000/rs6000-c.c (struct altivec_builtin_types): Use VSRAD
|
|
|
|
|
for arithmetic shift of unsigned V2DI.
|
|
|
|
|
|
2017-02-27 15:12:27 +01:00
|
|
|
|
2017-02-27 Claudiu Zissulescu <claziss@synopsys.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc (arc*-): Clean up, use arc/big.h, arc/elf.h, and
|
|
|
|
|
arc/linux.h headers.
|
|
|
|
|
* config/arc/arc.h (TARGET_OS_CPP_BUILTINS): Remove.
|
|
|
|
|
(LINK_SPEC): Likewise.
|
|
|
|
|
(ARC_TLS_EXTRA_START_SPEC): Likewise.
|
|
|
|
|
(EXTRA_SPECS): Likewise.
|
|
|
|
|
(STARTFILE_SPEC): Likewise.
|
|
|
|
|
(ENDFILE_SPEC): Likewise.
|
|
|
|
|
(LIB_SPEC): Likewise.
|
|
|
|
|
(TARGET_SDATA_DEFAULT): Likewise.
|
|
|
|
|
(TARGET_MMEDIUM_CALLS_DEFAULT): Likewise.
|
|
|
|
|
(MULTILIB_DEFAULTS): Likewise.
|
|
|
|
|
(DWARF2_UNWIND_INFO): Likewise.
|
|
|
|
|
* config/arc/big.h: New file.
|
|
|
|
|
* config/arc/elf.h: Likewise.
|
|
|
|
|
* config/arc/linux.h: Likewise.
|
|
|
|
|
* config/arc/t-uClibc: Remove.
|
|
|
|
|
|
2017-02-27 11:20:36 +01:00
|
|
|
|
2017-02-27 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/77536
|
|
|
|
|
* tree-ssa-loop-manip.c (niter_for_unrolled_loop): New function.
|
|
|
|
|
(tree_transform_and_unroll_loop): Use above function to compute the
|
|
|
|
|
estimated niter of unrolled loop and use it when scaling profile.
|
|
|
|
|
Also use count info rather than frequency if it's non-zero.
|
|
|
|
|
* tree-ssa-loop-manip.h niter_for_unrolled_loop(): New declaration.
|
|
|
|
|
* tree-vect-loop.c (scale_profile_for_vect_loop): New function.
|
|
|
|
|
(vect_transform_loop): Call above function.
|
|
|
|
|
|
2017-02-27 09:51:28 +01:00
|
|
|
|
2017-02-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/45397
|
|
|
|
|
* tree-ssa-pre.c (eliminate_insert): Handle BIT_AND_EXPR.
|
|
|
|
|
* tree-ssa-sccvn.c (valueized_wider_op): New helper.
|
|
|
|
|
(visit_nary_op): Add pattern matching for CSEing sign-changed
|
|
|
|
|
or truncated operations with wider ones.
|
|
|
|
|
|
2017-02-27 09:50:09 +01:00
|
|
|
|
2017-02-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79690
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_store): Use vector type
|
|
|
|
|
built from the DR with address-space.
|
|
|
|
|
|
2017-02-26 23:10:27 +01:00
|
|
|
|
2017-02-26 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (Optimize Options): Refine the description
|
|
|
|
|
of asan-use-after-return.
|
|
|
|
|
|
2017-02-25 23:44:41 +01:00
|
|
|
|
2017-02-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79584
|
|
|
|
|
* lra-constraints.c (base_to_reg): Reload ad->base, the entire
|
|
|
|
|
base, not ad->base_term, the reg within base. Remove assertion
|
|
|
|
|
that ad->base == ad->base_term. Replace gen_int_mode using
|
|
|
|
|
bogus mode with const0_rtx.
|
|
|
|
|
|
2017-02-25 09:18:24 +01:00
|
|
|
|
2017-02-25 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-25 11:17:31 +01:00
|
|
|
|
PR middle-end/79396
|
|
|
|
|
* tree-eh.c (operation_could_trap_p, stmt_could_throw_1_p): Handle
|
|
|
|
|
FMA_EXPR like tcc_binary or tcc_unary.
|
|
|
|
|
|
2017-02-25 09:33:17 +01:00
|
|
|
|
* tree-ssa-loop-niter.c (number_of_iterations_exit): Simplify warning.
|
|
|
|
|
|
2017-02-25 09:18:24 +01:00
|
|
|
|
PR debug/77589
|
|
|
|
|
* dwarf2out.c (struct dw_loc_list_struct): Add noted_variable_value
|
|
|
|
|
bitfield.
|
|
|
|
|
(size_of_loc_descr): Handle DW_OP_GNU_variable_value.
|
|
|
|
|
(output_loc_operands): Handle DW_OP_call_ref and
|
|
|
|
|
DW_OP_GNU_variable_value.
|
|
|
|
|
(struct variable_value_struct): New type.
|
|
|
|
|
(struct variable_value_hasher): Likewise.
|
|
|
|
|
(variable_value_hash): New variable.
|
|
|
|
|
(string_types): Remove.
|
|
|
|
|
(copy_loc_descr): New function.
|
|
|
|
|
(add_loc_descr_to_each): Clarify comment. Use copy_loc_descr.
|
|
|
|
|
(prepend_loc_descr_to_each): New function.
|
|
|
|
|
(add_loc_list): Fix comment typo. Use prepend_loc_descr_to_each
|
|
|
|
|
instead of add_loc_descr_to_each if the first argument is single
|
|
|
|
|
location list and the second has multiple.
|
|
|
|
|
(resolve_args_picking_1): Handle DW_OP_GNU_variable_value.
|
|
|
|
|
(loc_list_from_tree_1): For early_dwarf, emit DW_OP_GNU_variable_value
|
|
|
|
|
when looking for variable value which doesn't have other location info.
|
|
|
|
|
(loc_list_from_tree): Formatting fix.
|
|
|
|
|
(gen_array_type_die): Simplify DW_AT_string_length handling.
|
|
|
|
|
(adjust_string_types): Remove.
|
|
|
|
|
(gen_subprogram_die): Don't call adjust_string_types nor test/set
|
|
|
|
|
string_types. Call resolve_variable_values.
|
|
|
|
|
(prune_unused_types_walk_loc_descr): Handle DW_OP_GNU_variable_value.
|
|
|
|
|
(resolve_addr_in_expr): Likewise. Add A argument.
|
|
|
|
|
(copy_deref_exprloc): Remove deref argument. Adjust for the
|
|
|
|
|
original expression being DW_OP_GNU_variable_value with optionally
|
|
|
|
|
DW_OP_stack_value after it instead of DW_OP_call4 with DW_OP_deref
|
|
|
|
|
optionally after it.
|
|
|
|
|
(optimize_string_length): Rework for DW_OP_GNU_variable_value.
|
|
|
|
|
(resolve_addr): Adjust optimize_string_length and resolve_addr_in_expr
|
|
|
|
|
callers. Set remove_AT_byte_size if removing DW_AT_string_length.
|
|
|
|
|
(variable_value_hasher::hash, variable_value_hasher::equal): New
|
|
|
|
|
methods.
|
|
|
|
|
(resolve_variable_value_in_expr, resolve_variable_value,
|
|
|
|
|
resolve_variable_values, note_variable_value_in_expr,
|
|
|
|
|
note_variable_value): New functions.
|
|
|
|
|
(dwarf2out_early_finish): Call note_variable_value on all toplevel
|
|
|
|
|
DIEs.
|
|
|
|
|
|
2017-02-25 00:15:56 +01:00
|
|
|
|
2017-02-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/79677
|
|
|
|
|
* opts.h (handle_generated_option): Add GENERATED_P argument.
|
|
|
|
|
* opts-common.c (handle_option): Adjust function comment.
|
|
|
|
|
(handle_generated_option): Add GENERATED_P argument, pass it to
|
|
|
|
|
handle_option.
|
|
|
|
|
(control_warning_option): Pass false to handle_generated_option
|
|
|
|
|
GENERATED_P.
|
|
|
|
|
* opts.c (maybe_default_option): Pass true to handle_generated_option
|
|
|
|
|
GENERATED_P.
|
|
|
|
|
* optc-gen.awk: Likewise.
|
|
|
|
|
|
2017-02-24 23:42:49 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/sh/sh.md (tstsi_t): If operands[0] is a SUBREG instead of
|
|
|
|
|
a REG, look at the REG it is a SUBREG of.
|
|
|
|
|
(splitter for cmpeqsi_t): Ditto.
|
|
|
|
|
|
2017-02-24 23:41:02 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/pa/pa.c (pa_combine_instructions): Do not share RTL. Make
|
|
|
|
|
the special USEs with the pattern of the insn, not the insn itself.
|
|
|
|
|
|
2017-02-24 23:35:59 +01:00
|
|
|
|
2017-02-24 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/79473
|
|
|
|
|
* doc/invoke.texi: Document -mload-store-pairs.
|
|
|
|
|
|
2017-02-24 23:35:18 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/nios2/nios2.c (nios2_simple_const_p): Returns false if the
|
|
|
|
|
argument isn't a CONST_INT.
|
|
|
|
|
(nios2_alternate_compare_const): Assert op is a CONST_INT.
|
|
|
|
|
(nios2_valid_compare_const_p): Assert op is a CONST_INT.
|
|
|
|
|
(nios2_validate_compare): Bypass alternate compare logic if *op2
|
|
|
|
|
is not a CONST_INT.
|
|
|
|
|
(ldstwm_operation_p): Return false if first_base is not a REG or
|
|
|
|
|
if first_offset is not a CONST_INT.
|
|
|
|
|
|
2017-02-24 23:34:37 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/cris/cris.md: Use correct operand in a define_peephole2.
|
|
|
|
|
|
2017-02-24 23:32:46 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/c6x/c6x.c (predicate_insn): Do not incorrectly share RTL.
|
|
|
|
|
|
2017-02-24 23:20:14 +01:00
|
|
|
|
2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.c (arc_ccfsm_advance): Only take the PATTERN of
|
|
|
|
|
this_insn if it is an INSN or JUMP_INSN.
|
|
|
|
|
(force_offsettable): Look at base, not at addr.
|
|
|
|
|
* config/arc/predicates.md (brcc_nolimm_operator): Don't call INTVAL
|
|
|
|
|
on things that aren't necessarily CONST_INTs.
|
|
|
|
|
|
2017-02-24 19:18:57 +01:00
|
|
|
|
2017-02-24 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (x86 Options, -mfpmath=sse): Mention that
|
|
|
|
|
-mfpmath=sse is the default also for x86-32 targets with SSE2
|
|
|
|
|
instruction set when @option{-ffast-math} is enabled
|
|
|
|
|
|
2017-02-24 16:36:10 +01:00
|
|
|
|
2017-02-24 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimizatoin/79286
|
|
|
|
|
* ira.c (update_equiv_regs): Drop may_trap_p exception to
|
|
|
|
|
dominance test.
|
|
|
|
|
|
2017-02-24 12:51:33 +01:00
|
|
|
|
2017-02-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79389
|
|
|
|
|
* gimple-ssa-split-paths.c (is_feasible_trace): Properly skip
|
|
|
|
|
debug insns.
|
|
|
|
|
|
2017-02-24 12:02:16 +01:00
|
|
|
|
2017-02-24 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update
|
|
|
|
|
function comment to reflect reality.
|
|
|
|
|
(loop_exits_before_overflow): Fix typo in function description.
|
|
|
|
|
|
2017-02-24 09:04:31 +01:00
|
|
|
|
2017-02-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79389
|
|
|
|
|
* gimple-ssa-split-paths.c (is_feasible_trace): Verify more
|
|
|
|
|
properly that a threading opportunity exists. Detect conditional
|
|
|
|
|
copy/constant propagation opportunities.
|
|
|
|
|
|
2017-02-24 00:04:00 +01:00
|
|
|
|
2017-02-23 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/visium/visium.md (type): Add trap.
|
|
|
|
|
(b): New mode attribute.
|
|
|
|
|
(*btst): Rename into...
|
|
|
|
|
(*btst<mode>): ...this and adjust.
|
|
|
|
|
(*cbranchsi4_btst_insn): Rename into...
|
|
|
|
|
(*cbranch<mode>4_btst_insn): ...this and adjust.
|
|
|
|
|
(trap): New define_insn.
|
|
|
|
|
|
2017-02-23 23:05:19 +01:00
|
|
|
|
2017-02-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79389
|
|
|
|
|
* ifcvt.c (struct noce_if_info): Add rev_cond field.
|
|
|
|
|
(noce_reversed_cond_code): New function.
|
|
|
|
|
(noce_emit_store_flag): Use rev_cond if non-NULL instead of
|
|
|
|
|
reversed_comparison_code. Formatting fix.
|
|
|
|
|
(noce_try_store_flag): Test rev_cond != NULL in addition to
|
|
|
|
|
reversed_comparison_code.
|
|
|
|
|
(noce_try_store_flag_constants): Likewise.
|
|
|
|
|
(noce_try_store_flag_mask): Likewise.
|
|
|
|
|
(noce_try_addcc): Use rev_cond if non-NULL instead of
|
|
|
|
|
reversed_comparison_code.
|
|
|
|
|
(noce_try_cmove_arith): Likewise. Formatting fixes.
|
|
|
|
|
(noce_try_minmax, noce_try_abs): Clear rev_cond.
|
|
|
|
|
(noce_find_if_block): Initialize rev_cond.
|
|
|
|
|
(find_cond_trap): Call noce_get_condition with then_bb == trap_bb
|
|
|
|
|
instead of false as last argument never attempt to reverse it
|
|
|
|
|
afterwards.
|
|
|
|
|
|
2017-02-23 23:02:01 +01:00
|
|
|
|
2017-02-23 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79663
|
|
|
|
|
* tree-predcom.c (combine_chains): Process refs in reverse order
|
|
|
|
|
only for ZERO length chains, and add explaining comment.
|
|
|
|
|
|
2017-02-23 22:43:03 +01:00
|
|
|
|
2017-02-23 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79578
|
|
|
|
|
* tree-ssa-dse.c (clear_bytes_written_by): Use OEP_ADDRESS_OF
|
|
|
|
|
in call to operand_equal_p.
|
|
|
|
|
|
2017-02-23 13:19:05 +01:00
|
|
|
|
2017-01-23 Dominique d'Humieres <dominiq@lps.ens.fr>
|
|
|
|
|
|
|
|
|
|
PR target/71017
|
|
|
|
|
* config/i386/cpuid.h: Fix another undefined behavior.
|
|
|
|
|
|
2017-02-23 12:43:51 +01:00
|
|
|
|
2017-02-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79683
|
|
|
|
|
* tree-vect-stmts.c (vect_analyze_stmt): Do not overwrite
|
|
|
|
|
vector types for data-refs.
|
|
|
|
|
|
2017-02-23 09:38:35 +01:00
|
|
|
|
2017-02-23 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* params.def (PARAM_MIN_NONDEBUG_INSN_UID): Change default to 0.
|
|
|
|
|
|
2017-02-23 08:49:06 +01:00
|
|
|
|
2017-02-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79665
|
|
|
|
|
* internal-fn.c (get_range_pos_neg): Moved to ...
|
|
|
|
|
* tree.c (get_range_pos_neg): ... here. No longer static.
|
|
|
|
|
* tree.h (get_range_pos_neg): New prototype.
|
|
|
|
|
* expr.c (expand_expr_real_2) <case TRUNC_DIV_EXPR>: If both arguments
|
|
|
|
|
are known to be in between 0 and signed maximum inclusive, try to
|
|
|
|
|
expand both unsigned and signed divmod and use the cheaper one from
|
|
|
|
|
those.
|
|
|
|
|
|
|
|
|
|
2017-02-22 Jeff Law <law@redhat.com>
|
2017-02-23 06:47:43 +01:00
|
|
|
|
|
|
|
|
|
PR tree-optimization/79578
|
|
|
|
|
* tree-ssa-dse.c (clear_bytes_written_by): Use operand_equal_p
|
|
|
|
|
to compare base operands.
|
|
|
|
|
|
2017-02-23 00:50:46 +01:00
|
|
|
|
2017-02-22 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/79211
|
|
|
|
|
* config/rs6000/rs6000.md (*fsel<SFDF:mode><SFDF2:mode>4): Use
|
|
|
|
|
gpc_reg_operand instead of fpr_reg_operand.
|
|
|
|
|
|
2017-02-23 00:09:43 +01:00
|
|
|
|
2017-02-22 Sameera Deshpande <sameera.deshpande@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.c (mips_return_in_memory): Force FP
|
|
|
|
|
vector types to be returned in memory for o32 ABI.
|
|
|
|
|
|
2017-02-22 22:33:47 +01:00
|
|
|
|
2017-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (gen_variable_die): For -gdwarf-5, use DW_TAG_variable
|
|
|
|
|
instead of DW_TAG_member for static data member declarations and don't
|
|
|
|
|
set no_linkage_name for static inline data members.
|
|
|
|
|
(gen_member_die): For -gdwarf-5 don't change DW_TAG_variable
|
|
|
|
|
to DW_TAG_member.
|
|
|
|
|
|
2017-02-22 22:15:46 +01:00
|
|
|
|
2017-02-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Replace inequality signs with square brackets
|
2017-02-23 09:45:54 +01:00
|
|
|
|
for -Wnormalized.
|
2017-02-22 22:15:46 +01:00
|
|
|
|
|
2017-02-22 19:00:21 +01:00
|
|
|
|
2017-02-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/68644
|
|
|
|
|
* gcc.dg/tree-ssa/ivopts-lt-2.c: Skip for powerpc*-*-*.
|
|
|
|
|
|
2017-02-22 18:20:14 +01:00
|
|
|
|
2017-02-22 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78660
|
|
|
|
|
* lra-constraints.c (simplify_operand_subreg): Handle
|
|
|
|
|
WORD_REGISTER_OPERATIONS targets.
|
|
|
|
|
|
2017-02-22 18:17:17 +01:00
|
|
|
|
2017-02-22 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/70465
|
|
|
|
|
* reg-stack.c (emit_swap_insn): Treat (float_extend:?F (mem:?F))
|
|
|
|
|
and (const_double:?F) like (mem:?F) for the purpose of fxch %st(1)
|
|
|
|
|
elimination by swapping fld*.
|
|
|
|
|
|
2017-02-22 16:00:39 +01:00
|
|
|
|
2017-02-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79673
|
|
|
|
|
* tree-ssa-pre.c (compute_avail): Use wide_int_to_tree to
|
|
|
|
|
convert the [TARGET_]MEM_REF offset INTEGER_CST, scrapping off
|
|
|
|
|
irrelevant address-space qualifiers and avoiding a
|
|
|
|
|
ADDR_SPACE_CONVERT_EXPR from fold_convert.
|
|
|
|
|
|
2017-02-22 13:11:27 +01:00
|
|
|
|
2017-02-22 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79666
|
|
|
|
|
* tree-vrp.c (extract_range_from_binary_expr_1): Make sure
|
|
|
|
|
to not symbolically negate if that may introduce undefined
|
|
|
|
|
overflow.
|
|
|
|
|
|
2017-02-22 10:45:42 +01:00
|
|
|
|
2017-02-22 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/79587
|
|
|
|
|
* data-streamer-in.c (streamer_read_gcov_count): Remove assert.
|
|
|
|
|
* data-streamer-out.c (streamer_write_gcov_count_stream):
|
|
|
|
|
Likewise.
|
|
|
|
|
* value-prof.c (stream_out_histogram_value): Make assert more
|
|
|
|
|
precise based on type of counter.
|
|
|
|
|
|
2017-02-22 16:36:24 +01:00
|
|
|
|
2017-02-21 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79593
|
|
|
|
|
* config/i386/i386.md (standard_x87sse_constant_load splitter):
|
|
|
|
|
Use nonimmediate_operand instead of memory_operand for operand 1.
|
|
|
|
|
(float-extend standard_x87sse_constant_load splitter): Ditto.
|
|
|
|
|
|
2017-02-21 18:58:00 +01:00
|
|
|
|
2017-02-21 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79621
|
|
|
|
|
* gimple-ssa-isolate-paths.c (find_implicit_erroneous_behavior): Ignore
|
|
|
|
|
blocks with edges to themselves.
|
|
|
|
|
|
2017-02-21 17:29:37 +01:00
|
|
|
|
2017-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-21 18:46:42 +01:00
|
|
|
|
PR target/79633
|
|
|
|
|
* tree-chkp-opt.c (chkp_optimize_string_function_calls): Use
|
|
|
|
|
is_gimple_call instead of comparing gimple_code with GIMPLE_CALL.
|
|
|
|
|
Use gimple_call_builtin_p.
|
|
|
|
|
|
2017-02-21 17:56:11 +01:00
|
|
|
|
PR target/79570
|
|
|
|
|
* sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
|
|
|
|
|
on temporarily removed DEBUG_INSNs.
|
|
|
|
|
|
2017-02-21 17:29:37 +01:00
|
|
|
|
PR tree-optimization/79649
|
|
|
|
|
* tree-loop-distribution.c (classify_partition): Give up on
|
|
|
|
|
non-generic address space loads/stores.
|
|
|
|
|
|
2017-02-21 16:37:18 +01:00
|
|
|
|
2017-02-21 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/loop.texi (Loop manipulation): Remove nonexistent
|
|
|
|
|
tree_ssa_loop_version from the documentation.
|
|
|
|
|
* cfgloopmanip.c (loop_version): Document CONDITION_BB argument.
|
|
|
|
|
|
2017-02-21 15:39:21 +01:00
|
|
|
|
2017-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79494
|
|
|
|
|
* config/i386/i386.c (ix86_expand_split_stack_prologue): Call
|
|
|
|
|
make_reg_eh_region_note_nothrow_nononlocal on call_insn.
|
|
|
|
|
* config/rs6000/rs6000.c: Include except.h.
|
|
|
|
|
(rs6000_expand_split_stack_prologue): Call
|
|
|
|
|
make_reg_eh_region_note_nothrow_nononlocal on the call insn.
|
|
|
|
|
|
2017-02-21 15:01:52 +01:00
|
|
|
|
2017-02-21 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/79579
|
|
|
|
|
* ipa-prop.c (ipa_prop_write_jump_functions): Bail out if no edges
|
|
|
|
|
have been analyzed.
|
|
|
|
|
|
2017-02-21 14:55:32 +01:00
|
|
|
|
2017-02-21 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* common.opt (-fipa-cp-alignment): Mark as ignored and preserved
|
|
|
|
|
for backward compatibility only.
|
|
|
|
|
* doc/invoke.texi (Option Summary): Remove all references to
|
|
|
|
|
-fipa-cp-alignment.
|
|
|
|
|
|
2017-02-21 14:29:07 +01:00
|
|
|
|
2017-02-21 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78660
|
|
|
|
|
Revert:
|
|
|
|
|
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* lra-constraints.c (curr_insn_transform): Handle
|
|
|
|
|
WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs.
|
|
|
|
|
|
2017-02-21 11:45:35 +01:00
|
|
|
|
2017-02-21 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.opt: Replace -masm-dialect with -masm.
|
|
|
|
|
|
2017-02-21 11:42:07 +01:00
|
|
|
|
2017-02-21 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79638
|
|
|
|
|
* config/nvptx/nvptx.c (ENTRY_TEMPLATE): Single out "%ntid.y".
|
|
|
|
|
|
2017-02-21 09:42:54 +01:00
|
|
|
|
2017-02-21 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/67205
|
|
|
|
|
* config/arm/arm.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
|
|
|
|
|
(arm_function_ok_for_sibcall): Return false for an indirect call by
|
|
|
|
|
descriptor if all the argument registers are used.
|
|
|
|
|
(arm_relayout_function): Use FUNCTION_ALIGNMENT macro to adjust the
|
|
|
|
|
alignment of the function.
|
|
|
|
|
|
2017-02-21 09:08:40 +01:00
|
|
|
|
2017-02-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/61441
|
|
|
|
|
* simplify-rtx.c (simplify_const_unary_operation): For
|
|
|
|
|
-fsignaling-nans and sNaN operand, return NULL_RTX rather than
|
|
|
|
|
the sNaN unmodified.
|
|
|
|
|
|
2017-02-20 19:19:54 +01:00
|
|
|
|
2017-02-20 Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (BUILD_SYSTEM_HEADER_DIR): New make variabe.
|
|
|
|
|
(LIMITS_H_TEST, if_multiarch, stmp-fixinc): Use BUILD_SYSTEM_HEADER_DIR
|
|
|
|
|
instead of SYSTEM_HEADER_DIR.
|
|
|
|
|
|
|
|
|
|
2017-02-20 Gerald Pfeifer <gerald@pfeifer.com>
|
2017-02-20 17:12:35 +01:00
|
|
|
|
Martin Liška <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (use-after-scope-direct-emission-threshold):
|
|
|
|
|
Fix typos and grammar, use active voice, and clarify.
|
|
|
|
|
|
2017-02-20 16:05:53 +01:00
|
|
|
|
2017-02-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79537
|
|
|
|
|
* gimplify.c (gimplify_expr): Handle unused *&&L;.
|
|
|
|
|
|
2017-02-20 16:50:23 +01:00
|
|
|
|
PR sanitizer/79558
|
|
|
|
|
* ubsan.c (ubsan_type_descriptor): Check if TYPE_MAX_VALUE is null.
|
|
|
|
|
|
2017-02-20 13:52:21 +01:00
|
|
|
|
2017-02-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79568
|
|
|
|
|
* config/i386/i386.c (ix86_expand_builtin): Handle
|
|
|
|
|
OPTION_MASK_ISA_AVX512VL and OPTION_MASK_ISA_64BIT in
|
|
|
|
|
ix86_builtins_isa[fcode].isa as a requirement of those
|
|
|
|
|
flags and any other flag in the bitmask.
|
|
|
|
|
(ix86_init_mmx_sse_builtins): Use 0 instead of
|
|
|
|
|
~OPTION_MASK_ISA_64BIT as mask.
|
|
|
|
|
* config/i386/i386-builtin.def (__builtin_ia32_rdtsc,
|
|
|
|
|
__builtin_ia32_rdtscp, __builtin_ia32_pause, __builtin_ia32_bsrsi,
|
|
|
|
|
__builtin_ia32_rdpmc, __builtin_ia32_rolqi, __builtin_ia32_rolhi,
|
|
|
|
|
__builtin_ia32_rorqi, __builtin_ia32_rorhi): Likewise.
|
|
|
|
|
|
2017-02-20 13:07:23 +01:00
|
|
|
|
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78012
|
|
|
|
|
* lra-constraints.c (split_reg): Check requested split mode
|
|
|
|
|
is supported by the register.
|
|
|
|
|
|
2017-02-20 13:07:14 +01:00
|
|
|
|
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* lra-constraints.c (simplify_operand_subreg): Remove early
|
|
|
|
|
return false.
|
|
|
|
|
|
2017-02-20 13:07:06 +01:00
|
|
|
|
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78660
|
|
|
|
|
* lra-constraints.c (curr_insn_transform): Tighten condition
|
|
|
|
|
for converting SUBREG reloads from OP_OUT to OP_INOUT.
|
|
|
|
|
|
2017-02-20 13:06:56 +01:00
|
|
|
|
2017-02-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78660
|
|
|
|
|
* lra-constraints.c (curr_insn_transform): Handle
|
|
|
|
|
WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs.
|
|
|
|
|
|
2017-02-19 18:34:27 +01:00
|
|
|
|
2017-02-19 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
Revert:
|
|
|
|
|
2016-05-30 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)".
|
|
|
|
|
|
2017-02-19 15:13:53 +01:00
|
|
|
|
2017-02-19 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/69523
|
|
|
|
|
* doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update
|
|
|
|
|
description.
|
|
|
|
|
|
2017-02-19 10:06:30 +01:00
|
|
|
|
2017-02-19 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gimple-pretty-print.c (dump_ternary_rhs): Adjust gimple dump format
|
|
|
|
|
for FMA_EXPR.
|
|
|
|
|
|
2017-02-18 14:13:43 +01:00
|
|
|
|
2017-02-18 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
final.c (last_columnnum, [...]): New variables.
* final.c (last_columnnum, override_columnnum): New variables.
(final_start_function): Set last_columnnum, pass it to begin_prologue
hook and pass 0 to dwarf2out_begin_prologue.
(final_scan_insn): Update override_columnnum. Pass last_columnnum
to source_line debug hook.
(notice_source_line): Compute last_columnnum and for debug_column_info
return true on column changes.
* debug.h (struct gcc_debug_hooks): Add column argument to
source_line and begin_prologue hooks.
(debug_nothing_int_charstar_int_bool): Remove prototype.
(debug_nothing_int_int_charstar,
debug_nothing_int_int_charstar_int_bool): New prototypes.
(dwarf2out_begin_prologue): Add column argument.
* debug.c (do_nothing_debug_hooks): Adjust source_line and
begin_prologue hooks.
(debug_nothing_int_charstar_int_bool): Remove.
(debug_nothing_int_int_charstar,
debug_nothing_int_int_charstar_int_bool): New functions.
* dwarf2out.c (dwarf2out_begin_prologue): Add column argument, pass it
through to dwarf2out_source_line.
(dwarf2_lineno_debug_hooks): Adjust begin_prologue hook.
(dwarf2out_source_line): Add column argument, emit it if requested.
* sdbout.c (sdbout_source_line, sdbout_begin_prologue): Add column
arguments.
* xcoffout.h (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
* xcoffout.c (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
* vmsdbgout.c (vmsdbgout_begin_prologue): Add column argument, pass it
through to dwarf2out_begin_prologue.
(vmsdbgout_source_line): Add column argument, pass it through to
dwarf2out_source_line.
* dbxout.c (dbxout_begin_prologue): Add column argument, adjust
dbxout_source_line caller.
(dbxout_source_line): Add column argument.
From-SVN: r245564
2017-02-18 17:11:40 +01:00
|
|
|
|
* final.c (last_columnnum, override_columnnum): New variables.
|
|
|
|
|
(final_start_function): Set last_columnnum, pass it to begin_prologue
|
|
|
|
|
hook and pass 0 to dwarf2out_begin_prologue.
|
|
|
|
|
(final_scan_insn): Update override_columnnum. Pass last_columnnum
|
|
|
|
|
to source_line debug hook.
|
|
|
|
|
(notice_source_line): Compute last_columnnum and for debug_column_info
|
|
|
|
|
return true on column changes.
|
|
|
|
|
* debug.h (struct gcc_debug_hooks): Add column argument to
|
|
|
|
|
source_line and begin_prologue hooks.
|
|
|
|
|
(debug_nothing_int_charstar_int_bool): Remove prototype.
|
|
|
|
|
(debug_nothing_int_int_charstar,
|
|
|
|
|
debug_nothing_int_int_charstar_int_bool): New prototypes.
|
|
|
|
|
(dwarf2out_begin_prologue): Add column argument.
|
|
|
|
|
* debug.c (do_nothing_debug_hooks): Adjust source_line and
|
|
|
|
|
begin_prologue hooks.
|
|
|
|
|
(debug_nothing_int_charstar_int_bool): Remove.
|
|
|
|
|
(debug_nothing_int_int_charstar,
|
|
|
|
|
debug_nothing_int_int_charstar_int_bool): New functions.
|
|
|
|
|
* dwarf2out.c (dwarf2out_begin_prologue): Add column argument, pass it
|
|
|
|
|
through to dwarf2out_source_line.
|
|
|
|
|
(dwarf2_lineno_debug_hooks): Adjust begin_prologue hook.
|
|
|
|
|
(dwarf2out_source_line): Add column argument, emit it if requested.
|
|
|
|
|
* sdbout.c (sdbout_source_line, sdbout_begin_prologue): Add column
|
|
|
|
|
arguments.
|
|
|
|
|
* xcoffout.h (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
|
|
|
|
|
* xcoffout.c (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
|
|
|
|
|
* vmsdbgout.c (vmsdbgout_begin_prologue): Add column argument, pass it
|
|
|
|
|
through to dwarf2out_begin_prologue.
|
|
|
|
|
(vmsdbgout_source_line): Add column argument, pass it through to
|
|
|
|
|
dwarf2out_source_line.
|
|
|
|
|
* dbxout.c (dbxout_begin_prologue): Add column argument, adjust
|
|
|
|
|
dbxout_source_line caller.
|
|
|
|
|
(dbxout_source_line): Add column argument.
|
|
|
|
|
|
2017-02-18 17:10:43 +01:00
|
|
|
|
* common.opt (gno-column-info, gcolumn-info): New options.
|
|
|
|
|
* dwarf2out.c (dwarf2_lineno_debug_hooks): Formatting fix.
|
|
|
|
|
(check_die): Also test for multiple DW_AT_decl_column attributes.
|
|
|
|
|
(add_src_coords_attributes, dwarf2out_imported_module_or_decl_1): Add
|
|
|
|
|
DW_AT_decl_column if requested.
|
|
|
|
|
(gen_subprogram_die): Compare and/or add also DW_AT_decl_column
|
|
|
|
|
if requested.
|
|
|
|
|
(gen_variable_die): Likewise.
|
|
|
|
|
(add_call_src_coords_attributes): Add DW_AT_call_column if requested.
|
|
|
|
|
* doc/invoke.texi (-gcolumn-info, -gno-column-info): Document.
|
|
|
|
|
|
2017-02-18 14:14:43 +01:00
|
|
|
|
PR target/79569
|
|
|
|
|
* config/i386/i386.opt (m3dnowa): Replace Undocumented with Report.
|
|
|
|
|
* common/config/i386/i386-common.c (OPTION_MASK_ISA_3DNOW_A_SET): Define.
|
|
|
|
|
(ix86_handle_option): Handle OPT_m3dnowa.
|
|
|
|
|
* doc/invoke.texi (-m3dnowa): Document.
|
|
|
|
|
* doc/extend.texi (__builtin_ia32_pmulhuw, __builtin_ia32_pf2iw): Use
|
|
|
|
|
-m3dnowa instead of -m3dnow -march=athlon.
|
|
|
|
|
|
2017-02-18 14:13:43 +01:00
|
|
|
|
PR target/79559
|
|
|
|
|
* config/i386/i386.c (ix86_print_operand): Use output_operand_lossage
|
|
|
|
|
instead of gcc_assert for K, r and R code checks. Formatting fixes.
|
|
|
|
|
|
2017-02-17 20:11:06 +01:00
|
|
|
|
2017-02-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79261
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add
|
|
|
|
|
support for CODE_FOR_vsx_xxpermdi_v2d[fi]_be.
|
|
|
|
|
* config/rs6000/rs6000.md (reload_gpr_from_vsx<mode>): Call
|
|
|
|
|
generator for vsx_xxpermdi_<mode>_be.
|
|
|
|
|
* config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Remove logic to
|
|
|
|
|
force big-endian semantics.
|
|
|
|
|
(vsx_xxpermdi_<mode>_be): New define_expand with same
|
|
|
|
|
implementation as previous version of vsx_xxpermdi_<mode>.
|
|
|
|
|
|
2017-02-17 19:31:01 +01:00
|
|
|
|
2017-02-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79327
|
|
|
|
|
* gimple-ssa-sprintf.c (format_integer): Remove likely_adjust
|
|
|
|
|
variable, its initialization and use.
|
|
|
|
|
|
2017-02-17 19:11:28 +01:00
|
|
|
|
2017-02-17 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* common/config/i386/i386-common.c (OPTION_MASK_ISA_RDPID_SET): New.
|
|
|
|
|
(OPTION_MASK_ISA_PKU_UNSET): New.
|
|
|
|
|
(ix86_handle_option): Handle -mrdpid.
|
|
|
|
|
* config/i386/cpuid.h (bit_RDPID): New.
|
|
|
|
|
* config/i386/driver-i386.c (host_detect_local_cpu):
|
|
|
|
|
Detect RDPID feature.
|
|
|
|
|
* config/i386/i386-builtin.def (__builtin_ia32_rdpid): New.
|
|
|
|
|
* config/i386/i386-c.c (ix86_target_macros_internal):
|
|
|
|
|
Handle RDPID flag.
|
|
|
|
|
* config/i386/i386.c (ix86_target_string): Add -mrdpid to isa2_opts.
|
|
|
|
|
(ix86_valid_target_attribute_inner_p): Add "rdpid".
|
|
|
|
|
(ix86_expand_builtin): Handle IX86_BUILTIN_RDPID.
|
|
|
|
|
* config/i386/i386.h (TARGET_RDPID, TARGET_RDPID_P): New.
|
|
|
|
|
* config/i386/i386.md (define_insn "rdpid"): New.
|
|
|
|
|
* config/i386/i386.opt Add -mrdpid.
|
|
|
|
|
* config/i386/immintrin.h (_rdpid_u32): New.
|
|
|
|
|
|
2017-02-17 17:10:59 +01:00
|
|
|
|
2017-02-17 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79541
|
|
|
|
|
* lra-constraints.c (curr_insn_transform): Remove wrong asm insn
|
|
|
|
|
instead of transforming it into USE.
|
|
|
|
|
|
2017-02-17 16:00:37 +01:00
|
|
|
|
2017-02-17 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.md (extendsfdf2): Remove default arguments.
|
|
|
|
|
If HONOR_SNANS (SFmode) force the input to a register.
|
|
|
|
|
(*extendsfdf2_fpr): Add !HONOR_SNANS (SFmode) condition.
|
|
|
|
|
(*extendsfdf2_snan): New pattern, used when using SNaNs; it generates
|
|
|
|
|
an frsp or similar insn.
|
|
|
|
|
|
2017-02-17 15:47:08 +01:00
|
|
|
|
2017-02-17 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79577
|
|
|
|
|
* params.def (selsched-max-sched-times): Increase minimum to 1.
|
|
|
|
|
|
2017-02-17 15:46:14 +01:00
|
|
|
|
2017-02-17 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79574
|
|
|
|
|
* gcse.c (want_to_gcse_p): Prevent integer overflow.
|
|
|
|
|
|
2017-02-17 15:36:08 +01:00
|
|
|
|
2017-02-17 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79529
|
|
|
|
|
* tree-ssa-loop-unswitch.c (is_maybe_undefined): Use
|
|
|
|
|
ssa_defined_default_def_p to handle cases which are implicitly
|
|
|
|
|
defined.
|
|
|
|
|
* tree-ssa.c (ssa_defined_default_def_p): New function.
|
|
|
|
|
(ssa_undefined_value_p): Use ssa_defined_default_def_p to handle cases
|
|
|
|
|
which are implicitly defined.
|
|
|
|
|
* tree-ssa.h (ssa_defined_default_def_p): Declare.
|
|
|
|
|
|
2017-02-17 14:36:39 +01:00
|
|
|
|
2017-02-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79576
|
|
|
|
|
* params.def (max-ssa-name-query-depth): Limit to 10.
|
|
|
|
|
|
2017-02-17 11:43:27 +01:00
|
|
|
|
2017-02-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79552
|
|
|
|
|
* tree-ssa-structalias.c (visit_loadstore): Properly verify
|
|
|
|
|
default defs.
|
|
|
|
|
|
2017-02-17 11:19:21 +01:00
|
|
|
|
2017-02-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79567
|
|
|
|
|
* genmatch.c (output_line_directive): Handle DIR_SEPARATOR_2.
|
|
|
|
|
|
2017-02-17 10:51:38 +01:00
|
|
|
|
2017-02-17 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79536
|
|
|
|
|
* fold-const.c (fold_negate_expr_1): Renamed from fold_negate_expr.
|
|
|
|
|
(fold_negate_expr): New wrapper.
|
|
|
|
|
|
2017-02-17 05:48:36 +01:00
|
|
|
|
2017-02-16 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (C++ Dialect Options) [-Wno-non-template-friend]:
|
|
|
|
|
Correct terminology and de-emphasize pre-standard behavior.
|
|
|
|
|
|
2017-02-16 23:56:51 +01:00
|
|
|
|
2017-02-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79286
|
|
|
|
|
* ira.c (def_dominates_uses): New function.
|
|
|
|
|
(update_equiv_regs): Don't create an equivalence for insns that
|
|
|
|
|
may trap where the register def does not dominate the use.
|
|
|
|
|
|
2017-02-16 20:47:15 +01:00
|
|
|
|
2017-02-16 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78127
|
|
|
|
|
* lra.c (lra): Call lra_eliminate before finish the loop after
|
|
|
|
|
lra_constraint.
|
|
|
|
|
|
2017-02-16 08:53:53 +01:00
|
|
|
|
2017-02-16 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* graphite.h: Do not include isl/isl_val_gmp.h, instead include
|
|
|
|
|
isl/isl_val.h.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): Remove.
|
|
|
|
|
(gcc_expression_from_isl_expr_int): Use generic isl_val interface.
|
|
|
|
|
* graphite-sese-to-poly.c: Do not include isl/isl_val_gmp.h.
|
|
|
|
|
(isl_val_int_from_wi): New function.
|
|
|
|
|
(extract_affine_gmp): Rename to ...
|
|
|
|
|
(extract_affine_wi): ... this, take a widest_int.
|
|
|
|
|
(extract_affine_int): Just wrap extract_affine_wi.
|
|
|
|
|
(add_param_constraints): Use isl_val_int_from_wi.
|
|
|
|
|
(add_loop_constraints): Likewise, and extract_affine_wi.
|
|
|
|
|
|
2017-02-16 07:35:29 +01:00
|
|
|
|
2017-02-15 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79521
|
|
|
|
|
* ira-costs.c (scan_one_insn): Check have_regs_of_mode before calling
|
|
|
|
|
ira_init_register_move_cost_if_necessary.
|
|
|
|
|
|
2017-02-15 21:13:11 +01:00
|
|
|
|
2017-02-15 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/32003
|
|
|
|
|
* doc/invoke.texi (-fdump-final-insns): Replace option accidentally
|
|
|
|
|
removed in a prior commit.
|
|
|
|
|
|
2017-02-15 18:16:29 +01:00
|
|
|
|
2017-02-15 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79347
|
|
|
|
|
* tree-vect-loop-manip.c (vect_do_peeling): Maintain profile
|
|
|
|
|
counters during peeling.
|
|
|
|
|
|
2017-02-15 15:43:42 +01:00
|
|
|
|
2017-02-15 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (site.exp): Remove "set ISLVER".
|
|
|
|
|
|
2017-02-15 13:19:53 +01:00
|
|
|
|
2017-02-15 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79487
|
|
|
|
|
* real.c (real_from_integer): Call real_convert even for decimal.
|
|
|
|
|
|
2017-02-15 10:27:57 +01:00
|
|
|
|
2017-02-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79421
|
|
|
|
|
* config/s390/s390.c: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS.
|
|
|
|
|
|
2017-02-15 01:09:28 +01:00
|
|
|
|
2017-02-14 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-cores.def (thunderx2t99): Move to under 'C"
|
|
|
|
|
cores and change the partno/implementer to be correct.
|
|
|
|
|
(thunderx2t99p1): New core which replaces thunderx2t99 and still has
|
|
|
|
|
the 'B" as the implementer.
|
|
|
|
|
* config/aarch64/aarch64-tune.md: Regenerate.
|
|
|
|
|
|
2017-02-15 00:11:19 +01:00
|
|
|
|
2017-02-14 Carl Love <cel@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c: Add case statement entry to make the
|
|
|
|
|
xvcvuxdsp built-in argument unsigned.
|
|
|
|
|
* config/rs6000/vsx.md: Fix the source and return operand types so they
|
|
|
|
|
match the instruction definitions from the ISA document. Fix typo
|
|
|
|
|
in the instruction generation for the (define_insn "vsx_xvcvuxdsp"
|
|
|
|
|
statement.
|
|
|
|
|
|
2017-02-14 23:17:19 +01:00
|
|
|
|
2017-02-14 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79282
|
|
|
|
|
* lra-int.h (struct lra_operand_data, struct lra_insn_reg): Add
|
|
|
|
|
member early_clobber_alts.
|
|
|
|
|
* lra-lives.c (reg_early_clobber_p): New.
|
|
|
|
|
(process_bb_lives): Use it.
|
|
|
|
|
* lra.c (new_insn_reg): New arg early_clobber_alts. Use it.
|
|
|
|
|
(debug_operand_data): Initialize early_clobber_alts.
|
|
|
|
|
(setup_operand_alternative): Set up early_clobber_alts.
|
|
|
|
|
(collect_non_operand_hard_regs): Ditto. Pass early clobber
|
|
|
|
|
alternatives to new_insn_reg.
|
|
|
|
|
(add_regs_to_insn_regno_info): Add arg early_clobber_alts. Use
|
|
|
|
|
it.
|
|
|
|
|
(lra_update_insn_regno_info): Pass the new arg.
|
|
|
|
|
|
re PR target/79481 (AVX512PF: unmasked gather prefetch intrinsics missing)
PR target/79481
* config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
_mm512_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
_mm512_prefetch_i64gather_ps): New inline functions and macros.
* gcc.target/i386/sse-14.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/sse-22.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/avx512pf-vgatherpf0dpd-1.c: Add non-masked
intrinsic. Change scan-assembler-times number from 1 to 2.
* gcc.target/i386/avx512pf-vgatherpf0dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qps-1.c: Likewise.
From-SVN: r245444
2017-02-14 20:39:17 +01:00
|
|
|
|
2017-02-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-14 20:40:27 +01:00
|
|
|
|
PR middle-end/79505
|
|
|
|
|
* omp-offload.c (free_oacc_loop): Release loop->ifns vector.
|
|
|
|
|
(new_oacc_loop_raw): Don't clear already cleared fields.
|
|
|
|
|
|
re PR target/79481 (AVX512PF: unmasked gather prefetch intrinsics missing)
PR target/79481
* config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
_mm512_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
_mm512_prefetch_i64gather_ps): New inline functions and macros.
* gcc.target/i386/sse-14.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/sse-22.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/avx512pf-vgatherpf0dpd-1.c: Add non-masked
intrinsic. Change scan-assembler-times number from 1 to 2.
* gcc.target/i386/avx512pf-vgatherpf0dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qps-1.c: Likewise.
From-SVN: r245444
2017-02-14 20:39:17 +01:00
|
|
|
|
PR target/79481
|
|
|
|
|
* config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
|
|
|
|
|
_mm512_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
|
|
|
|
|
_mm512_prefetch_i64gather_ps): New inline functions and macros.
|
|
|
|
|
|
2017-02-14 18:52:37 +01:00
|
|
|
|
2017-02-14 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79495
|
|
|
|
|
* config/i386/i386.md (*movxf_internal): Add (o,rC) alternative.
|
|
|
|
|
|
2017-02-14 17:53:22 +01:00
|
|
|
|
2017-02-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/79498
|
|
|
|
|
* config/i386/i386.c (timode_scalar_chain::convert_insn): Insert
|
|
|
|
|
the extra instruction to the right place to store 128-bit constant
|
|
|
|
|
when needed.
|
|
|
|
|
|
2017-02-14 17:51:24 +01:00
|
|
|
|
2017-02-14 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79448
|
|
|
|
|
* gimple-ssa-sprintf.c (format_directive): Avoid issuing INT_MAX
|
|
|
|
|
warning for strings of unknown length.
|
|
|
|
|
|
2017-02-14 17:32:05 +01:00
|
|
|
|
2017-02-13 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config.gcc (supported_defaults) [powerpc*-*-*]: Update.
|
|
|
|
|
|
re PR tree-optimization/79095 (spurious stringop-overflow warning)
PR tree-optimization/79095
* tree-vrp.c (extract_range_from_binary_expr_1): For EXACT_DIV_EXPR,
if the numerator has the range ~[0,0] make the resultant range ~[0,0].
(extract_range_from_binary_expr): For MINUS_EXPR with no derived range,
if the operands are known to be not equal, then the resulting range
is ~[0,0].
(intersect_ranges): If the new range is ~[0,0] and the old range is
wide, then prefer ~[0,0].
* tree-vrp.c (overflow_comparison_p_1): New function.
(overflow_comparison_p): New function.
* tree-vrp.c (register_edge_assert_for_2): Register additional asserts
if NAME is used in an overflow test.
(vrp_evaluate_conditional_warnv_with_ops): If the ops represent an
overflow check that can be expressed as an equality test, then adjust
ops to be that equality test.
PR tree-optimization/79095
* g++.dg/pr79095-1.C: New test
* g++.dg/pr79095-2.C: New test
* g++.dg/pr79095-3.C: New test
* g++.dg/pr79095-4.C: New test
* g++.dg/pr79095-5.C: New test
* gcc.c-torture/execute/arith-1.c: Update with more cases.
* gcc.dg/tree-ssa/pr79095-1.c: New test.
From-SVN: r245434
2017-02-14 16:54:09 +01:00
|
|
|
|
2017-02-14 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2017-02-14 17:44:33 +01:00
|
|
|
|
PR target/79404
|
|
|
|
|
* ira-costs.c (scan_one_insn): Initialize register move costs
|
|
|
|
|
for pseudos seen in USE/CLOBBER insns.
|
|
|
|
|
|
re PR tree-optimization/79095 (spurious stringop-overflow warning)
PR tree-optimization/79095
* tree-vrp.c (extract_range_from_binary_expr_1): For EXACT_DIV_EXPR,
if the numerator has the range ~[0,0] make the resultant range ~[0,0].
(extract_range_from_binary_expr): For MINUS_EXPR with no derived range,
if the operands are known to be not equal, then the resulting range
is ~[0,0].
(intersect_ranges): If the new range is ~[0,0] and the old range is
wide, then prefer ~[0,0].
* tree-vrp.c (overflow_comparison_p_1): New function.
(overflow_comparison_p): New function.
* tree-vrp.c (register_edge_assert_for_2): Register additional asserts
if NAME is used in an overflow test.
(vrp_evaluate_conditional_warnv_with_ops): If the ops represent an
overflow check that can be expressed as an equality test, then adjust
ops to be that equality test.
PR tree-optimization/79095
* g++.dg/pr79095-1.C: New test
* g++.dg/pr79095-2.C: New test
* g++.dg/pr79095-3.C: New test
* g++.dg/pr79095-4.C: New test
* g++.dg/pr79095-5.C: New test
* gcc.c-torture/execute/arith-1.c: Update with more cases.
* gcc.dg/tree-ssa/pr79095-1.c: New test.
From-SVN: r245434
2017-02-14 16:54:09 +01:00
|
|
|
|
PR tree-optimization/79095
|
|
|
|
|
* tree-vrp.c (extract_range_from_binary_expr_1): For EXACT_DIV_EXPR,
|
|
|
|
|
if the numerator has the range ~[0,0] make the resultant range ~[0,0].
|
|
|
|
|
(extract_range_from_binary_expr): For MINUS_EXPR with no derived range,
|
|
|
|
|
if the operands are known to be not equal, then the resulting range
|
|
|
|
|
is ~[0,0].
|
|
|
|
|
(intersect_ranges): If the new range is ~[0,0] and the old range is
|
|
|
|
|
wide, then prefer ~[0,0].
|
|
|
|
|
* tree-vrp.c (overflow_comparison_p_1): New function.
|
|
|
|
|
(overflow_comparison_p): New function.
|
|
|
|
|
* tree-vrp.c (register_edge_assert_for_2): Register additional asserts
|
|
|
|
|
if NAME is used in an overflow test.
|
|
|
|
|
(vrp_evaluate_conditional_warnv_with_ops): If the ops represent an
|
|
|
|
|
overflow check that can be expressed as an equality test, then adjust
|
|
|
|
|
ops to be that equality test.
|
|
|
|
|
|
2017-02-14 16:38:02 +01:00
|
|
|
|
2017-02-14 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-builtin-types.def: Remove flags argument.
|
|
|
|
|
* config/s390/s390.c (s390_init_builtins): Likewise.
|
|
|
|
|
|
2017-02-14 15:54:55 +01:00
|
|
|
|
2017-02-14 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-unswitch.c (hoist_guard): Release get_loop_body
|
|
|
|
|
vector. Fix trailing white spaces.
|
|
|
|
|
|
2017-02-14 15:48:33 +01:00
|
|
|
|
2017-02-14 James Greenhalgh <james.greenhalgh@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_simd_container_mode): Handle
|
|
|
|
|
HFmode.
|
|
|
|
|
|
2017-02-14 11:33:50 +01:00
|
|
|
|
2017-02-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68664
|
|
|
|
|
* config/arm/arm.c (arm_sched_can_speculate_insn):
|
|
|
|
|
New function. Declare prototype.
|
|
|
|
|
(TARGET_SCHED_CAN_SPECULATE_INSN): Define.
|
|
|
|
|
|
2017-02-14 11:31:14 +01:00
|
|
|
|
2017-02-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68664
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_sched_can_speculate_insn):
|
|
|
|
|
New function.
|
|
|
|
|
(TARGET_SCHED_CAN_SPECULATE_INSN): Define.
|
|
|
|
|
|
2017-02-14 10:27:06 +01:00
|
|
|
|
2017-02-14 Amit Pawar <amit.pawar@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (znver1_cost): Fix the alignment for function and
|
|
|
|
|
max skip bytes for function, loop and jump.
|
|
|
|
|
|
2017-02-14 10:21:01 +01:00
|
|
|
|
2017-02-14 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gimple-pretty-print.c (dump_unary_rhs): Adjust dump format for
|
|
|
|
|
ABS_EXPR for gimple dump.
|
|
|
|
|
|
2017-02-14 09:26:26 +01:00
|
|
|
|
2017-02-14 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-14 09:45:31 +01:00
|
|
|
|
PR target/79462
|
|
|
|
|
* config/sh/sh.c (expand_cbranchdi4): Don't clear operands[4].
|
|
|
|
|
|
2017-02-14 09:26:26 +01:00
|
|
|
|
PR tree-optimization/79408
|
|
|
|
|
* tree-vrp.c (simplify_div_or_mod_using_ranges): Handle also the
|
|
|
|
|
case when on TRUNC_MOD_EXPR op0 is INTEGER_CST.
|
|
|
|
|
(simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
|
|
|
|
|
also if rhs1 is INTEGER_CST.
|
|
|
|
|
|
2017-02-14 08:58:12 +01:00
|
|
|
|
2017-02-14 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79432
|
|
|
|
|
* tree-into-ssa.c (insert_phi_nodes): When the function can
|
|
|
|
|
have abnormal edges rewrite SSA names with broken use-def
|
|
|
|
|
dominance out of SSA and register them for PHI insertion.
|
|
|
|
|
|
2017-02-14 05:38:54 +01:00
|
|
|
|
2017-02-13 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79496
|
|
|
|
|
* gimple-ssa-sprintf.c (pass_sprintf_length::handle_gimple_call): Avoid
|
|
|
|
|
clearing info.nowrite flag when snprintf size argument is a range.
|
|
|
|
|
|
2017-02-13 20:55:01 +01:00
|
|
|
|
2017-02-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-13 22:56:13 +01:00
|
|
|
|
* cprop.c (cprop_jump): Add missing space in string literal.
|
|
|
|
|
* tree-ssa-structalias.c (rewrite_constraints): Likewise.
|
|
|
|
|
(get_constraint_for_component_ref): Likewise.
|
|
|
|
|
* df-core.c (df_worklist_dataflow_doublequeue): Likewise.
|
|
|
|
|
* tree-outof-ssa.c (insert_partition_copy_on_edge): Likewise.
|
|
|
|
|
* lra-constraints.c (process_alt_operands): Likewise.
|
|
|
|
|
* ipa-inline.c (inline_small_functions): Likewise.
|
|
|
|
|
* tree-ssa-sccvn.c (visit_reference_op_store): Likewise.
|
|
|
|
|
* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Likewise.
|
|
|
|
|
* trans-mem.c (diagnose_tm_1_op): Likewise.
|
|
|
|
|
* omp-grid.c (grid_find_single_omp_among_assignments): Likewise.
|
|
|
|
|
(grid_parallel_clauses_gridifiable): Likewise.
|
|
|
|
|
|
2017-02-13 22:54:42 +01:00
|
|
|
|
* config/nvptx/mkoffload.c (process): Add space in between
|
|
|
|
|
, and %d.
|
|
|
|
|
|
2017-02-13 20:59:28 +01:00
|
|
|
|
* config/i386/i386.h (REG_CLASS_NAMES): Add , in between
|
|
|
|
|
"MOD4_SSE_REGS" and "ALL_REGS".
|
|
|
|
|
|
2017-02-13 20:55:01 +01:00
|
|
|
|
* spellcheck.c (test_data): Add , in between "foo" and "food".
|
|
|
|
|
|
2017-02-13 17:00:22 +01:00
|
|
|
|
2017-02-13 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79449
|
|
|
|
|
* config/rs6000/rs6000.c (expand_block_compare): Make sure runtime
|
|
|
|
|
boundary crossing check and subsequent code generation agree.
|
|
|
|
|
|
2017-02-13 16:54:50 +01:00
|
|
|
|
2017-02-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (has_memory_op): Delete.
|
|
|
|
|
(aarch64_madd_needs_nop): Use contains_mem_rtx_p instead of
|
|
|
|
|
has_memory_op.
|
|
|
|
|
|
2017-02-13 16:39:59 +01:00
|
|
|
|
2017-02-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79388
|
|
|
|
|
PR rtl-optimization/79450
|
|
|
|
|
* combine.c (distribute_notes): When removing TEM_INSN for which
|
|
|
|
|
corresponding dest has last value recorded, invalidate that last
|
|
|
|
|
value.
|
|
|
|
|
|
2017-02-13 16:54:50 +01:00
|
|
|
|
2017-02-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
2017-02-13 16:09:54 +01:00
|
|
|
|
|
|
|
|
|
* config/arm/arm.c (arm_print_tune_info): Use ASM_COMMENT_START instead
|
|
|
|
|
of explicit '@'. Add missing assembly comment marker on branch costs
|
|
|
|
|
printout.
|
|
|
|
|
|
2017-02-13 16:06:47 +01:00
|
|
|
|
2017-02-13 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* gengtype-lex.l (<in_struct>): Add '/'.
|
|
|
|
|
|
2017-02-13 14:13:21 +01:00
|
|
|
|
2017-02-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR c/79471
|
|
|
|
|
* calls.c (expand_call): Replace XALLOCAVEC with XCNEWVEC.
|
|
|
|
|
|
2017-02-13 09:54:02 +01:00
|
|
|
|
2017-02-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* configure.ac (HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS):
|
|
|
|
|
Remove.
|
|
|
|
|
* configure: Re-generate.
|
|
|
|
|
* config.in: Likewise.
|
|
|
|
|
* graphite-dependences.c: Simplify as if
|
|
|
|
|
HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS was defined.
|
|
|
|
|
* graphite-isl-ast-to-gimple.c: Likewise.
|
|
|
|
|
* graphite-optimize-isl.c: Likewise.
|
|
|
|
|
* graphite-poly.c: Likewise.
|
|
|
|
|
* graphite-sese-to-poly.c: Likewise.
|
|
|
|
|
* graphite.h: Likewise.
|
|
|
|
|
* toplev.c: Include isl/version.h and use isl_version () for
|
|
|
|
|
printing the ISL version.
|
|
|
|
|
* doc/install.texi: Update ISL requirement.
|
|
|
|
|
|
2017-02-12 09:17:00 +01:00
|
|
|
|
2017-02-12 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-02-12 15:37:46 +01:00
|
|
|
|
* doc/standards.texi (Standards): Update reference to
|
|
|
|
|
Objective-C 2.0.
|
|
|
|
|
|
|
|
|
|
2017-02-12 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-02-12 09:17:00 +01:00
|
|
|
|
* doc/extend.texi (Named Address Spaces): sourceware.org now
|
|
|
|
|
defaults to https.
|
|
|
|
|
* doc/install.texi (Binaries): Ditto.
|
|
|
|
|
(Specific): Ditto.
|
|
|
|
|
|
2017-02-12 01:57:21 +01:00
|
|
|
|
2017-02-11 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/cpp.texi: Replace "stringify"/"stringification" with C
|
|
|
|
|
standard terminology "stringize"/"stringizing" throughout.
|
|
|
|
|
* doc/cppinternals.texi: Likewise.
|
|
|
|
|
|
2017-02-12 00:08:11 +01:00
|
|
|
|
2017-02-11 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Fix some spelling mistakes and typos.
|
|
|
|
|
* doc/invoke.texi: Likewise.
|
|
|
|
|
|
2017-02-11 22:49:51 +01:00
|
|
|
|
2017-02-11 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79224
|
|
|
|
|
* params.def (inline-min-speedup) Change from 10 to 8.
|
|
|
|
|
|
2017-02-11 19:04:07 +01:00
|
|
|
|
2017-02-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (fopenmp): Bump OpenMP version from 4.0 to
|
|
|
|
|
4.5.
|
|
|
|
|
|
2017-02-11 17:11:57 +01:00
|
|
|
|
2017-02-11 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79224
|
|
|
|
|
* ipa-inline-analysis.c (get_minimal_bb): New function.
|
|
|
|
|
(record_modified): Use it.
|
|
|
|
|
(remap_edge_change_prob): Handle also ancestor functions.
|
|
|
|
|
|
2017-02-11 09:46:26 +01:00
|
|
|
|
2017-02-11 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/contrib.texi (Contributors): Remove broken link into
|
|
|
|
|
the Mauve CVS repository.
|
|
|
|
|
|
2017-02-11 09:15:30 +01:00
|
|
|
|
2017-02-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79454
|
|
|
|
|
* internal-fn.c (expand_vector_ubsan_overflow): Use piece-wise
|
|
|
|
|
result computation whenever lhs doesn't have vector mode, not
|
|
|
|
|
just when it has BLKmode.
|
|
|
|
|
|
2017-02-10 23:06:01 +01:00
|
|
|
|
2017-02-10 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/makefile.texi (profiledbootstrap): Refer to the
|
|
|
|
|
installation instructions only in textual form.
|
|
|
|
|
|
2017-02-10 22:07:36 +01:00
|
|
|
|
2017-02-10 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79295
|
|
|
|
|
* config/rs6000/altivec.md (bcd<bcd_add_sub>): Fix constraints.
|
|
|
|
|
|
2017-02-10 17:08:46 +01:00
|
|
|
|
2017-02-10 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/install.texi (Specific): Use https for blackfin.uclinux.org.
|
|
|
|
|
(Specific): Update mingw-w64 reference.
|
|
|
|
|
(Binaries): Ditto.
|
|
|
|
|
(Specific): Remove broken link to Renesas RX processor.
|
|
|
|
|
|
2017-02-10 15:28:11 +01:00
|
|
|
|
2017-02-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* toplev.c (process_options): Do not mention obsolete graphite
|
|
|
|
|
options when printing sorry message about missing graphite support.
|
|
|
|
|
Mention -floop-nest-optimize.
|
|
|
|
|
|
[ARM,AArch64] more poly64 intrinsics and tests
2017-02-06 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* config/aarch64/arm_neon.h (vtst_p8): Rewrite without asm.
(vtst_p16): Likewise.
(vtstq_p8): Likewise.
(vtstq_p16): Likewise.
(vtst_p64): New.
(vtstq_p64): Likewise.
* config/arm/arm_neon.h (vgetq_lane_p64): New.
(vset_lane_p64): New.
(vsetq_lane_p64): New.
2017-02-06 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* gcc.target/aarch64/advsimd-intrinsics/p64_p128.c
(vget_lane_expected, vset_lane_expected, vtst_expected_poly64x1):
New.
(vmov_n_expected0, vmov_n_expected1, vmov_n_expected2)
(expected_vld_st2_0, expected_vld_st2_1, expected_vld_st3_0)
(expected_vld_st3_1, expected_vld_st3_2, expected_vld_st4_0)
(expected_vld_st4_1, expected_vld_st4_2, expected_vld_st4_3)
(vtst_expected_poly64x2): Move to aarch64-only section.
(vget_lane_p64, vgetq_lane_p64, vset_lane_p64, vsetq_lane_p64)
(vtst_p64, vtstq_p64): New tests.
From-SVN: r245328
2017-02-10 14:18:16 +01:00
|
|
|
|
2017-02-10 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/arm_neon.h (vtst_p8): Rewrite without asm.
|
|
|
|
|
(vtst_p16): Likewise.
|
|
|
|
|
(vtstq_p8): Likewise.
|
|
|
|
|
(vtstq_p16): Likewise.
|
|
|
|
|
(vtst_p64): New.
|
|
|
|
|
(vtstq_p64): Likewise.
|
|
|
|
|
* config/arm/arm_neon.h (vgetq_lane_p64): New.
|
|
|
|
|
(vset_lane_p64): New.
|
|
|
|
|
(vsetq_lane_p64): New.
|
|
|
|
|
|
2017-02-10 09:47:32 +01:00
|
|
|
|
2017-02-10 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79411
|
|
|
|
|
* tree-ssa-reassoc.c (is_reassociable_op): Return false if
|
|
|
|
|
stmt operands are SSA_NAMEs used in abnormal phis.
|
|
|
|
|
(can_reassociate_p): Return false if op is SSA_NAME used in abnormal
|
|
|
|
|
phis.
|
|
|
|
|
|
2017-02-09 19:16:00 +01:00
|
|
|
|
2017-02-09 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/70795
|
|
|
|
|
* cgraphunit.c (cgraph_node::add_new_function): Set externally_visible
|
|
|
|
|
flag if needed.
|
|
|
|
|
|
2017-02-09 19:13:35 +01:00
|
|
|
|
2017-02-09 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-loop-unswitch.c (hoist_guard): Update profile.
|
|
|
|
|
|
2017-02-09 15:01:44 +01:00
|
|
|
|
2017-02-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-09 16:17:55 +01:00
|
|
|
|
* omp-offload.c (oacc_loop_auto_partitions): Use || instead of |
|
|
|
|
|
to avoid warning.
|
|
|
|
|
|
2017-02-09 15:26:40 +01:00
|
|
|
|
PR c/79413
|
|
|
|
|
* gimplify.h (is_gimple_sizepos): Only test for INTEGER_CST constants,
|
|
|
|
|
not arbitrary TREE_CONSTANT.
|
|
|
|
|
|
2017-02-09 15:01:44 +01:00
|
|
|
|
PR c/79431
|
|
|
|
|
* gimplify.c (gimplify_adjust_omp_clauses): Ignore
|
|
|
|
|
"omp declare target link" attribute unless is_global_var.
|
|
|
|
|
* omp-offload.c (find_link_var_op): Likewise.
|
|
|
|
|
|
gimplify.c (gimplify_scan_omp_clauses): No special handling for OMP_CLAUSE_TILE.
2017-02-09 Nathan Sidwell <nathan@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Chung-Lin Tang <cltang@codesourcery.com>
gcc/
* gimplify.c (gimplify_scan_omp_clauses): No special handling for
OMP_CLAUSE_TILE.
(gimplify_adjust_omp_clauses): Don't delete TILE.
(gimplify_omp_for): Deal with TILE.
* internal-fn.c (expand_GOACC_TILE): New function.
* internal-fn.def (GOACC_DIM_POS): Comment may be overly conservative.
(GOACC_TILE): New.
* omp-expand.c (struct oacc_collapse): Add tile and outer fields.
(expand_oacc_collapse_init): Add LOC paramter. Initialize tile
element fields.
(expand_oacc_collapse_vars): Add INNER parm, adjust for tiling,
avoid DIV for outermost collapse var.
(expand_oacc_for): Insert tile element loop as needed. Adjust.
Remove out of date comments, fix whitespace.
* omp-general.c (omp_extract_for_data): Deal with tiling.
* omp-general.h (enum oacc_loop_flags): Add OLF_TILE flag,
adjust OLF_DIM_BASE value.
(struct omp_for_data): Add tiling field.
* omp-low.c (scan_sharing_clauses): Allow OMP_CLAUSE_TILE.
(lower_oacc_head_mark): Add OLF_TILE as appropriate. Ensure 2 levels
for auto loops. Remove default auto determining, moved to
oacc_loop_fixed_partitions.
* omp-offload.c (struct oacc_loop): Change 'ifns' to vector of call
stmts, add e_mask field.
(oacc_dim_call): New function, abstracted out from oacc_thread_numbers.
(oacc_thread_numbers): Use oacc_dim_call.
(oacc_xform_tile): New.
(new_oacc_loop_raw): Initialize e_mask, adjust for ifns vector.
(finish_oacc_loop): Adjust for ifns vector.
(oacc_loop_discover_walk): Append loop abstraction sites to list,
add case for GOACC_TILE fns.
(oacc_loop_xform_loop): Delete.
(oacc_loop_process): Iterate over call list directly, and add
handling for GOACC_TILE fns.
(oacc_loop_fixed_partitions): Determine default auto, deal with TILE,
dump partitioning.
(oacc_loop_auto_partitions): Add outer_assign parm. Assign all but
vector partitioning to outer loops. Assign 2 partitions to loops
when available. Add TILE handling.
(oacc_loop_partition): Adjust oacc_loop_auto_partitions call.
(execite_oacc_device_lower): Process GOACC_TILE fns, ignore unknown specs.
* tree-nested.c (convert_nonlocal_omp_clauses): Allow OMP_CLAUSE_TILE.
* tree.c (omp_clause_num_ops): Adjust TILE ops.
* tree.h (OMP_CLAUSE_TILE_ITERVAR, OMP_CLAUSE_TILE_COUNT): New.
gcc/c/
* c-parser.c (c_parser_omp_clause_collapse): Disallow tile.
(c_parser_oacc_clause_tile): Disallow collapse. Fix parsing and
semantic checking.
* c-parser.c (c_parser_omp_for_loop): Accept tiling constructs.
gcc/cp/
* parser.c (cp_parser_oacc_clause_tile): Disallow collapse. Fix
parsing. Parse constant expression. Remove semantic checking.
(cp_parser_omp_clause_collapse): Disallow tile.
(cp_parser_omp_for_loop): Deal with tile clause. Don't emit a parse
error about missing for after already emitting one. Use more
conventional for idiom for unbounded loop.
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_TILE.
* semantics.c (finish_omp_clauses): Correct TILE semantic check.
(finish_omp_for): Deal with tile clause.
gcc/fortran/
* openmp.c (resolve_omp_clauses): Error on directives
containing both tile and collapse clauses.
(resolve_oacc_loop_blocks): Represent '*' tile arguments as zero.
* trans-openmp.c (gfc_trans_omp_do): Lower tiled loops like
collapsed loops.
gcc/testsuite/
* c-c++-common/goacc/combined-directives.c: Remove xfail.
* c-c++-common/goacc/loop-auto-1.c: Adjust and add additional case.
* c-c++-common/goacc/loop-auto-2.c: New.
* c-c++-common/goacc/tile.c: Include stdbool, fix expected errors.
* c-c++-common/goacc/tile-2.c: New.
* g++.dg/goacc/template.C: Test tile subst. Adjust erroneous uses.
* g++.dg/goacc/tile-1.C: New, check tile subst.
* gcc.dg/goacc/loop-processing-1.c: Adjust dg-final pattern.
* gfortran.dg/goacc/combined-directives.f90: Remove xfail.
* gfortran.dg/goacc/tile-1.f90: New test.
* gfortran.dg/goacc/tile-2.f90: New test.
* gfortran.dg/goacc/tile-lowering.f95: New test.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/tile-1.c: New.
* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust and
add additional case.
* testsuite/libgomp.oacc-c-c++-common/vprop.c: XFAIL under
"openacc_nvidia_accel_selected".
* libgomp.oacc-fortran/nested-function-1.f90 (test2):
Add num_workers(8) clause.
From-SVN: r245300
2017-02-09 14:46:20 +01:00
|
|
|
|
2017-02-09 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
Chung-Lin Tang <cltang@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gimplify.c (gimplify_scan_omp_clauses): No special handling for
|
|
|
|
|
OMP_CLAUSE_TILE.
|
|
|
|
|
(gimplify_adjust_omp_clauses): Don't delete TILE.
|
|
|
|
|
(gimplify_omp_for): Deal with TILE.
|
|
|
|
|
* internal-fn.c (expand_GOACC_TILE): New function.
|
|
|
|
|
* internal-fn.def (GOACC_DIM_POS): Comment may be overly conservative.
|
|
|
|
|
(GOACC_TILE): New.
|
|
|
|
|
* omp-expand.c (struct oacc_collapse): Add tile and outer fields.
|
|
|
|
|
(expand_oacc_collapse_init): Add LOC paramter. Initialize tile
|
|
|
|
|
element fields.
|
|
|
|
|
(expand_oacc_collapse_vars): Add INNER parm, adjust for tiling,
|
|
|
|
|
avoid DIV for outermost collapse var.
|
|
|
|
|
(expand_oacc_for): Insert tile element loop as needed. Adjust.
|
|
|
|
|
Remove out of date comments, fix whitespace.
|
|
|
|
|
* omp-general.c (omp_extract_for_data): Deal with tiling.
|
|
|
|
|
* omp-general.h (enum oacc_loop_flags): Add OLF_TILE flag,
|
|
|
|
|
adjust OLF_DIM_BASE value.
|
|
|
|
|
(struct omp_for_data): Add tiling field.
|
|
|
|
|
* omp-low.c (scan_sharing_clauses): Allow OMP_CLAUSE_TILE.
|
|
|
|
|
(lower_oacc_head_mark): Add OLF_TILE as appropriate. Ensure 2 levels
|
|
|
|
|
for auto loops. Remove default auto determining, moved to
|
|
|
|
|
oacc_loop_fixed_partitions.
|
|
|
|
|
* omp-offload.c (struct oacc_loop): Change 'ifns' to vector of call
|
|
|
|
|
stmts, add e_mask field.
|
|
|
|
|
(oacc_dim_call): New function, abstracted out from oacc_thread_numbers.
|
|
|
|
|
(oacc_thread_numbers): Use oacc_dim_call.
|
|
|
|
|
(oacc_xform_tile): New.
|
|
|
|
|
(new_oacc_loop_raw): Initialize e_mask, adjust for ifns vector.
|
|
|
|
|
(finish_oacc_loop): Adjust for ifns vector.
|
|
|
|
|
(oacc_loop_discover_walk): Append loop abstraction sites to list,
|
|
|
|
|
add case for GOACC_TILE fns.
|
|
|
|
|
(oacc_loop_xform_loop): Delete.
|
|
|
|
|
(oacc_loop_process): Iterate over call list directly, and add
|
|
|
|
|
handling for GOACC_TILE fns.
|
|
|
|
|
(oacc_loop_fixed_partitions): Determine default auto, deal with TILE,
|
|
|
|
|
dump partitioning.
|
|
|
|
|
(oacc_loop_auto_partitions): Add outer_assign parm. Assign all but
|
|
|
|
|
vector partitioning to outer loops. Assign 2 partitions to loops
|
|
|
|
|
when available. Add TILE handling.
|
|
|
|
|
(oacc_loop_partition): Adjust oacc_loop_auto_partitions call.
|
|
|
|
|
(execite_oacc_device_lower): Process GOACC_TILE fns, ignore unknown specs.
|
|
|
|
|
* tree-nested.c (convert_nonlocal_omp_clauses): Allow OMP_CLAUSE_TILE.
|
|
|
|
|
* tree.c (omp_clause_num_ops): Adjust TILE ops.
|
|
|
|
|
* tree.h (OMP_CLAUSE_TILE_ITERVAR, OMP_CLAUSE_TILE_COUNT): New.
|
|
|
|
|
|
2017-02-09 09:30:30 +01:00
|
|
|
|
2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac (ACX_BUGURL): Update.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2017-02-09 08:47:07 +01:00
|
|
|
|
2017-02-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69823
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
|
|
|
|
|
Properly enumerate all BBs in the region. Use auto_vec/auto_bitmap.
|
|
|
|
|
|
2017-02-09 01:35:20 +01:00
|
|
|
|
2017-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc-c.def: Add __NPS400__ definition.
|
|
|
|
|
* config/arc/arc.h (CPP_SPEC): Don't define __NPS400__ here.
|
|
|
|
|
(TARGET_NPS400): Define.
|
|
|
|
|
|
gcc/arc: Make arc_selected_cpu global
Currently we only make the base_architecture globally available, this
means we can tell if we have selected arc700/archs/etc but it's not
possible to tell if the user has selected a specific cpu variant, for
example nps400.
One problem this causes is, for example, in arc-c.def, if we want to add
an __NPS400__ define then we need a flag we can check to determine if
this is the right thing to do.
In this commit the arc_selected_cpu variable (previously local within
arc.c) has been made global. Two other variables arc_base_cpu and
arc_selected_arch have been deleted, all of this information can be
found within (or through) arc_selected_cpu.
All uses of arc_base_cpu and arc_selected_arch have been updated. This
commit does not introduce any new defines (like __NPS400__), this is
just a restructuring commit.
The declaration of arc_selected_cpu has moved into arc-arch.h, in
contrast to the declaration of arc_base_cpu which was previously in
arc.h. This avoids a compilation issue when building libgcc, as the
structure and enums declared in arc-arch.h are not included for libgcc
then declaring an arc_selected_cpu (a struct type) in arc.h would result
in an unknown struct error. We got away with this for arc_base_cpu as
that was an enum type. The declaration of arc_selected_cpu in
arc.h could have been wrapped in a '#ifndef IN_LIBGCC2 ... #endif', but
it felt neater to simply move the declaration into arc-arch.h.
gcc/ChangeLog:
* config/arc/arc-arch.h (arc_arch_t): Move unchanged to earlier in
file.
(arc_cpu_t): Change base_architecture field, arch, to a arc_arc_t
pointer, arch_info.
(arc_cpu_types): Fill the arch_info field with a pointer into the
arc_arch_types table.
(arc_selected_cpu): Declare.
* config/arc/arc.c (arc_selected_cpu): Make global.
(arc_selected_arch): Delete.
(arc_base_cpu): Delete.
(arc_override_options): Remove references to deleted variables,
update access to arch information.
(ARC_OPT): Update access to arch information.
(ARC_OPTX): Likewise.
* config/arc/arc.h (arc_base_cpu): Remove declaration.
(TARGET_ARC600): Update access to arch information.
(TARGET_ARC601): Likewise.
(TARGET_ARC700): Likewise.
(TARGET_EM): Likewise.
(TARGET_HS): Likewise.
* config/arc/driver-arc.c (arc_cpu_to_as): Update access to arch
information.
From-SVN: r245293
2017-02-09 01:34:00 +01:00
|
|
|
|
2017-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc-arch.h (arc_arch_t): Move unchanged to earlier in
|
|
|
|
|
file.
|
|
|
|
|
(arc_cpu_t): Change base_architecture field, arch, to a arc_arc_t
|
|
|
|
|
pointer, arch_info.
|
|
|
|
|
(arc_cpu_types): Fill the arch_info field with a pointer into the
|
|
|
|
|
arc_arch_types table.
|
|
|
|
|
(arc_selected_cpu): Declare.
|
|
|
|
|
* config/arc/arc.c (arc_selected_cpu): Make global.
|
|
|
|
|
(arc_selected_arch): Delete.
|
|
|
|
|
(arc_base_cpu): Delete.
|
|
|
|
|
(arc_override_options): Remove references to deleted variables,
|
|
|
|
|
update access to arch information.
|
|
|
|
|
(ARC_OPT): Update access to arch information.
|
|
|
|
|
(ARC_OPTX): Likewise.
|
|
|
|
|
* config/arc/arc.h (arc_base_cpu): Remove declaration.
|
|
|
|
|
(TARGET_ARC600): Update access to arch information.
|
|
|
|
|
(TARGET_ARC601): Likewise.
|
|
|
|
|
(TARGET_ARC700): Likewise.
|
|
|
|
|
(TARGET_EM): Likewise.
|
|
|
|
|
(TARGET_HS): Likewise.
|
|
|
|
|
* config/arc/driver-arc.c (arc_cpu_to_as): Update access to arch
|
|
|
|
|
information.
|
|
|
|
|
|
2017-02-08 21:49:14 +01:00
|
|
|
|
2017-02-08 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/78604
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Invert
|
|
|
|
|
condition/operands for integer GE/LE/GEU/LEU operations.
|
|
|
|
|
|
2017-02-08 10:59:55 +01:00
|
|
|
|
2017-02-08 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR translation/79397
|
|
|
|
|
* config/rs6000/rs6000.opt (maltivec=le, maltivec=be): Fix spelling
|
|
|
|
|
of AltiVec.
|
|
|
|
|
|
2017-02-08 10:47:09 +01:00
|
|
|
|
2017-02-08 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79375
|
|
|
|
|
* ipa-prop.c (ipa_alloc_node_params): Make static, return bool
|
|
|
|
|
whether allocation happened.
|
|
|
|
|
(ipa_initialize_node_params): Do not call ipa_alloc_node_params if
|
|
|
|
|
nothing was allocated.
|
|
|
|
|
|
2017-02-08 10:21:57 +01:00
|
|
|
|
2017-02-08 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79408
|
|
|
|
|
* tree-vrp.c (simplify_div_or_mod_using_ranges): If op1 is not
|
|
|
|
|
constant, but SSA_NAME with a known integer range, use the minimum
|
|
|
|
|
of that range instead of op1 to determine if modulo can be replaced
|
|
|
|
|
with its first operand.
|
|
|
|
|
|
2017-02-08 10:14:39 +01:00
|
|
|
|
2016-02-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/riscv.c (riscv_build_integer_1): Avoid use of INT16_MAX.
|
|
|
|
|
|
2017-02-08 09:30:48 +01:00
|
|
|
|
2017-02-08 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71824
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::build_scop_breadth):
|
|
|
|
|
Check all loops contained in the merged region.
|
|
|
|
|
|
2017-02-08 03:54:17 +01:00
|
|
|
|
2017-02-07 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md (popcount<mode>2): New pattern.
|
|
|
|
|
|
2017-02-08 03:37:38 +01:00
|
|
|
|
2017-02-07 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-cores.def (thunderx): Disable LSE.
|
|
|
|
|
(thunderxt88): Likewise.
|
|
|
|
|
(thunderxt81): Disable LSE and change v8.1 to v8.
|
|
|
|
|
(thunderxt83): Likewise.
|
|
|
|
|
|
2017-02-07 22:51:21 +01:00
|
|
|
|
2017-02-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79399
|
|
|
|
|
* ira-int.h (struct target_ira_int): Change x_max_struct_costs_size
|
|
|
|
|
type from int to size_t.
|
|
|
|
|
* ira-costs.c (struct_costs_size): Change type from int to size_t.
|
|
|
|
|
|
2017-02-07 16:42:42 +01:00
|
|
|
|
2017-02-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-07 18:45:57 +01:00
|
|
|
|
PR rtl-optimization/79386
|
|
|
|
|
* cprop.c (bypass_conditional_jumps): Initialize
|
|
|
|
|
bypass_last_basic_block already before splitting bbs after
|
|
|
|
|
unconditional traps...
|
|
|
|
|
(bypass_conditional_jumps): ... rather than here.
|
|
|
|
|
|
2017-02-07 16:42:42 +01:00
|
|
|
|
PR target/79299
|
|
|
|
|
* config/i386/sse.md (xtg_mode, gatherq_mode): New mode attrs.
|
|
|
|
|
(*avx512f_gathersi<mode>, *avx512f_gathersi<mode>_2,
|
|
|
|
|
*avx512f_gatherdi<mode>, *avx512f_gatherdi<mode>_2): Use them,
|
|
|
|
|
fix -masm=intel patterns.
|
|
|
|
|
|
2017-02-07 12:29:06 +01:00
|
|
|
|
2017-02-07 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79256
|
|
|
|
|
PR middle-end/79278
|
|
|
|
|
* builtins.c (get_object_alignment_2): Use min_align_of_type
|
|
|
|
|
to extract alignment for MEM_REFs to honor BIGGEST_FIELD_ALIGNMENT
|
|
|
|
|
and ADJUST_FIELD_ALIGN.
|
|
|
|
|
|
|
|
|
|
* doc/tm.texi.in (ADJUST_FIELD_ALIGN): Adjust to take additional
|
|
|
|
|
type parameter.
|
|
|
|
|
* doc/tm.texi: Regenerate.
|
|
|
|
|
* stor-layout.c (layout_decl): Adjust.
|
|
|
|
|
(update_alignment_for_field): Likewise.
|
|
|
|
|
(place_field): Likewise.
|
|
|
|
|
(min_align_of_type): Likewise.
|
|
|
|
|
* config/arc/arc.h (ADJUST_FIELD_ALIGN): Adjust.
|
|
|
|
|
* config/epiphany/epiphany.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/epiphany/epiphany.c (epiphany_adjust_field_align): Likewise.
|
|
|
|
|
* config/frv/frv.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/frv/frv.c (frv_adjust_field_align): Likewise.
|
|
|
|
|
* config/i386/i386.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/i386/i386.c (x86_field_alignment): Likewise.
|
|
|
|
|
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
|
|
|
|
Revert
|
|
|
|
|
2017-01-30 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79256
|
|
|
|
|
* targhooks.c (default_builtin_vector_alignment_reachable): Honor
|
|
|
|
|
BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus
|
|
|
|
|
alignment on TYPE.
|
|
|
|
|
|
2017-02-07 11:34:47 +01:00
|
|
|
|
2017-02-07 Toma Tabacu <toma.tabacu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.c (mips_expand_builtin_insn): Convert the QImode
|
|
|
|
|
argument of the pshufh, psllh, psllw, psrah, psraw, psrlh, psrlw
|
|
|
|
|
builtins to SImode and emit a zero-extend, if necessary.
|
|
|
|
|
|
2017-02-06 22:39:18 +01:00
|
|
|
|
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* docs/invoke.texi (RISC-V Options): Alphabetize.
|
|
|
|
|
|
2017-02-06 22:39:13 +01:00
|
|
|
|
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (RISC-V Options): Use two spaces to separate
|
|
|
|
|
options.
|
|
|
|
|
|
2017-02-06 22:38:37 +01:00
|
|
|
|
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* config/riscv/riscv.c: New file.
|
|
|
|
|
* gcc/common/config/riscv/riscv-common.c: Likewise.
|
|
|
|
|
* config.gcc: Likewise.
|
|
|
|
|
* config/riscv/constraints.md: Likewise.
|
|
|
|
|
* config/riscv/elf.h: Likewise.
|
|
|
|
|
* config/riscv/generic.md: Likewise.
|
|
|
|
|
* config/riscv/linux.h: Likewise.
|
|
|
|
|
* config/riscv/multilib-generator: Likewise.
|
|
|
|
|
* config/riscv/peephole.md: Likewise.
|
|
|
|
|
* config/riscv/pic.md: Likewise.
|
|
|
|
|
* config/riscv/predicates.md: Likewise.
|
|
|
|
|
* config/riscv/riscv-builtins.c: Likewise.
|
|
|
|
|
* config/riscv/riscv-c.c: Likewise.
|
|
|
|
|
* config/riscv/riscv-ftypes.def: Likewise.
|
|
|
|
|
* config/riscv/riscv-modes.def: Likewise.
|
|
|
|
|
* config/riscv/riscv-opts.h: Likewise.
|
|
|
|
|
* config/riscv/riscv-protos.h: Likewise.
|
|
|
|
|
* config/riscv/riscv.h: Likewise.
|
|
|
|
|
* config/riscv/riscv.md: Likewise.
|
|
|
|
|
* config/riscv/riscv.opt: Likewise.
|
|
|
|
|
* config/riscv/sync.md: Likewise.
|
|
|
|
|
* config/riscv/t-elf-multilib: Likewise.
|
|
|
|
|
* config/riscv/t-linux: Likewise.
|
|
|
|
|
* config/riscv/t-linux-multilib: Likewise.
|
|
|
|
|
* config/riscv/t-riscv: Likewise.
|
|
|
|
|
* configure.ac: Likewise.
|
|
|
|
|
* doc/contrib.texi: Add Kito Cheng, Palmer Dabbelt, and Andrew
|
|
|
|
|
Waterman as RISC-V maintainers.
|
|
|
|
|
* doc/install.texi: Add RISC-V entries.
|
|
|
|
|
* doc/invoke.texi: Add RISC-V options section.
|
|
|
|
|
* doc/md.texi: Add RISC-V constraints section.
|
2017-02-06 22:38:43 +01:00
|
|
|
|
* configure: Regenerated.
|
2017-02-06 22:38:37 +01:00
|
|
|
|
|
2017-02-06 22:07:37 +01:00
|
|
|
|
2017-02-06 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/66144
|
|
|
|
|
* config/rs6000/vector.md (vcond<mode><mode>): Allow the true and
|
|
|
|
|
false values to be constant vectors with all 0 or all 1 bits set.
|
|
|
|
|
(vcondu<mode><mode>): Likewise.
|
|
|
|
|
* config/rs6000/predicates.md (vector_int_reg_or_same_bit): New
|
|
|
|
|
predicate.
|
|
|
|
|
(fpmask_comparison_operator): Update comment.
|
|
|
|
|
(vecint_comparison_operator): New predicate.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Optimize
|
|
|
|
|
vector conditionals when the true and false values are constant
|
|
|
|
|
vectors with all 0 bits or all 1 bits set.
|
|
|
|
|
|
2017-02-06 21:11:51 +01:00
|
|
|
|
2017-02-06 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79376
|
|
|
|
|
* gimple-fold.c (get_range_strlen): Set the minimum length to zero.
|
|
|
|
|
|
2017-02-06 20:46:51 +01:00
|
|
|
|
2017-02-06 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/sse.md (vector modes -> vec_extract* splitter): Use
|
|
|
|
|
explicit subreg RTX with operand 1. Use VECTOR_MODE_P predicate
|
|
|
|
|
to simplify split condition.
|
|
|
|
|
|
2017-02-06 20:25:02 +01:00
|
|
|
|
2017-02-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* omp-expand.c (oxpand_omp_atomic_fetch_op,
|
|
|
|
|
expand_omp_atomic_pipeline): Return false if can_atomic_load_p is
|
|
|
|
|
false.
|
|
|
|
|
|
2017-02-06 20:19:49 +01:00
|
|
|
|
2017-02-06 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/68664
|
|
|
|
|
* target.def (can_speculate_insn): New hook.
|
|
|
|
|
* doc/tm.texi.in (TARGET_SCHED_CAN_SPECULATE_INSN): New hook.
|
|
|
|
|
* doc/tm.texi: Regenerate.
|
|
|
|
|
* sched-rgn.c (can_schedule_ready_p): Use the new hook.
|
|
|
|
|
* config/rs6000/rs6000.c (TARGET_SCHED_CAN_SPECULATE_INSN): New macro.
|
|
|
|
|
(rs6000_sched_can_speculate_insn): New function.
|
|
|
|
|
|
2017-02-06 20:15:36 +01:00
|
|
|
|
2017-02-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79284
|
|
|
|
|
* tree-vectorizer.h (VECT_SCALAR_BOOLEAN_TYPE_P): Define.
|
|
|
|
|
* tree-vect-stmts.c (vect_get_vec_def_for_operand,
|
|
|
|
|
vectorizable_mask_load_store, vectorizable_operation,
|
|
|
|
|
vect_is_simple_cond, get_same_sized_vectype): Use it instead
|
|
|
|
|
of comparing TREE_CODE of a type against BOOLEAN_TYPE.
|
|
|
|
|
* tree-vect-patterns.c (check_bool_pattern, search_type_for_mask_1,
|
|
|
|
|
vect_recog_bool_pattern, vect_recog_mask_conversion_pattern): Likewise.
|
|
|
|
|
* tree-vect-slp.c (vect_get_constant_vectors): Likewise.
|
|
|
|
|
* tree-vect-loop.c (vect_determine_vectorization_factor): Likewise.
|
|
|
|
|
Remove redundant gimple_code (stmt) == GIMPLE_ASSIGN test after
|
|
|
|
|
is_gimple_assign (stmt). Replace another such test with
|
|
|
|
|
is_gimple_assign (stmt).
|
|
|
|
|
|
2017-02-06 14:38:56 +01:00
|
|
|
|
2017-02-06 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
2017-02-06 20:15:36 +01:00
|
|
|
|
PR target/78883
|
|
|
|
|
* config/avr/avr.c (rtl-iter.h): Include it.
|
|
|
|
|
(TARGET_LEGITIMATE_COMBINED_INSN): New hook define...
|
|
|
|
|
(avr_legitimate_combined_insn): ...and implementation.
|
|
|
|
|
|
2017-02-06 12:42:07 +01:00
|
|
|
|
2017-02-06 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/predicates.md ("larl_operand"): Use macros from hwint.h.
|
|
|
|
|
* config/s390/s390.c (s390_const_operand_ok)
|
|
|
|
|
(s390_canonicalize_comparison, s390_extract_part)
|
|
|
|
|
(s390_single_part, s390_contiguous_bitmask_nowrap_p)
|
|
|
|
|
(s390_contiguous_bitmask_p, s390_rtx_costs)
|
|
|
|
|
(legitimize_pic_address): Likewise.
|
|
|
|
|
* config/s390/s390.md ("clzdi2", "clztidi2"): Likewise.
|
|
|
|
|
* config/s390/vx-builtins.md ("vec_genbytemaskv16qi")
|
|
|
|
|
("vec_permi<mode>", "vfae<mode>", "*vfaes<mode>", "vstrc<mode>")
|
|
|
|
|
("*vstrcs<mode>"): Use UINTVAL() to set unsigned HOST_WIDE_INT.
|
|
|
|
|
* config/s390/vector.md ("vec_vfenes<mode>"): Likewise.
|
|
|
|
|
|
2017-02-06 12:38:52 +01:00
|
|
|
|
2017-02-06 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr.md (*addhi3_zero_extend): Add alternative where
|
|
|
|
|
REGNO($0) == REGNO($1).
|
|
|
|
|
|
2017-02-06 11:25:05 +01:00
|
|
|
|
2017-02-06 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/linux.h(SIZE_TYPE): Add comment.
|
|
|
|
|
|
2017-02-06 03:23:07 +01:00
|
|
|
|
2017-02-06 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
Naveen H.S <Naveen.Hurugalawadi@cavium.com>
|
|
|
|
|
Virendra Pathak <virendra.pathak@broadcom.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-cores.def: Change the scheduler
|
|
|
|
|
to Thunderx2t99.
|
|
|
|
|
* config/aarch64/aarch64.md: Include thunderx2t99.md.
|
|
|
|
|
* config/aarch64/thunderx2t99.md: New file.
|
|
|
|
|
|
2017-02-05 22:10:29 +01:00
|
|
|
|
2017-02-05 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/standards.texi (Go Language): Update link to language
|
|
|
|
|
standard.
|
|
|
|
|
|
2017-02-05 19:13:22 +01:00
|
|
|
|
2017-02-05 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-eh.c (lower_resx): Sanitize profile.
|
|
|
|
|
(cleanup_empty_eh_move_lp): Likewise.
|
|
|
|
|
|
2017-02-05 18:16:52 +01:00
|
|
|
|
2017-02-05 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-ssa/79347
|
|
|
|
|
* cfgloopmanip.c (lv_adjust_loop_entry_edge, loop_version): Add
|
|
|
|
|
ELSE_PROB.
|
|
|
|
|
* cfgloopmanip.h (loop_version): Update prototype.
|
|
|
|
|
* modulo-sched.c (sms_schedule): Update call of loop_version.
|
|
|
|
|
* tree-if-conv.c(version_loop_for_if_conversion): Likewise.
|
|
|
|
|
* tree-parloops.c (gen_parallel_loop): Likewise.
|
|
|
|
|
* tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise.
|
|
|
|
|
* tree-ssa-loop-split.c (split_loop): Likewise.
|
|
|
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_loop): Likewise.
|
|
|
|
|
* tree-vect-loop-manip.c (vect_loop_versioning): Likewise.
|
|
|
|
|
|
2017-02-05 16:51:13 +01:00
|
|
|
|
2017-02-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/78985
|
|
|
|
|
* config/s390/s390.c (s390_gimplify_va_arg): Initialize local
|
|
|
|
|
variable to NULL.
|
|
|
|
|
(print_operand_address): Initialize a struct to zero.
|
|
|
|
|
|
2017-02-05 12:09:18 +01:00
|
|
|
|
2017-02-05 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-02-05 22:05:26 +01:00
|
|
|
|
* doc/contrib.texi (Contributors): Refer to Hans Boehm's
|
|
|
|
|
garbage collector only in textual form.
|
|
|
|
|
|
|
|
|
|
2017-02-05 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-02-05 12:09:18 +01:00
|
|
|
|
* doc/extend.texi (x86 specific memory model extensions for
|
|
|
|
|
transactional memory): Simplify a phrase.
|
|
|
|
|
|
2017-02-05 10:47:48 +01:00
|
|
|
|
2017-02-05 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/79353
|
|
|
|
|
* config/sparc/sync.md (atomic_loaddi_1): Replace 'U' constraint with
|
|
|
|
|
'r', 'm' constraint with 'T' and !TARGET_ARCH64 with TARGET_ARCH32.
|
|
|
|
|
(atomic_storedi_1): Likewise.
|
|
|
|
|
|
2017-02-04 08:44:13 +01:00
|
|
|
|
2017-02-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79338
|
|
|
|
|
* tree-parloops.c (gather_scalar_reductions): Don't call
|
|
|
|
|
vect_analyze_loop_form for loop->inner before destroying loop's
|
|
|
|
|
loop_vinfo.
|
|
|
|
|
|
2017-02-03 23:47:35 +01:00
|
|
|
|
2017-02-03 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79327
|
|
|
|
|
* gimple-ssa-sprintf.c (tree_digits): Avoid adding the base prefix
|
|
|
|
|
when precision has resulted in leading zeros.
|
|
|
|
|
(format_integer): Adjust the likely counter to assume an unknown
|
|
|
|
|
argument that may be zero is non-zero.
|
|
|
|
|
|
2017-02-03 23:42:37 +01:00
|
|
|
|
2017-02-03 Jason Merrill <jason@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/78689
|
|
|
|
|
* tree-inline.c (copy_tree_body_r) [COND_EXPR]: Revert change to
|
|
|
|
|
avoid copying non-taken branch.
|
|
|
|
|
|
2017-02-03 20:16:39 +01:00
|
|
|
|
2017-02-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-02-03 23:36:29 +01:00
|
|
|
|
PR tree-optimization/79340
|
|
|
|
|
* tree-vect-loop.c (vectorizable_reduction): Release
|
|
|
|
|
vec_defs elements after safe_splicing them into other vectors.
|
|
|
|
|
Formatting fixes.
|
|
|
|
|
|
2017-02-03 20:16:39 +01:00
|
|
|
|
PR tree-optimization/79327
|
|
|
|
|
* gimple-ssa-sprintf.c (adjust_range_for_overflow): If returning
|
|
|
|
|
true, always set *argmin and *argmax to TYPE_{MIN,MAX}_VALUE of
|
|
|
|
|
dirtype.
|
|
|
|
|
(format_integer): Use wide_int_to_tree instead of build_int_cst
|
|
|
|
|
+ to_?hwi. If argmin is NULL, just set argmin and argmax to
|
|
|
|
|
TYPE_{MIN,MAX}_VALUE of argtype. Simplify and fix computation
|
|
|
|
|
of shortest and longest sequence.
|
|
|
|
|
|
2017-02-03 19:54:20 +01:00
|
|
|
|
2017-02-03 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (dimode_scalar_chain::convert_reg):
|
|
|
|
|
Use pextrd for TARGET_SSE4_1 when creating scalar copy.
|
|
|
|
|
|
2017-02-03 19:41:57 +01:00
|
|
|
|
2017-02-03 Walter Lee <walt@tilera.com>
|
|
|
|
|
|
|
|
|
|
PR target/78862
|
|
|
|
|
* config/tilegx/tilegx.md (tilegx_expand_prologue): Add blockage
|
|
|
|
|
after initial stackframe link reg save.
|
|
|
|
|
* config/tilepro/tilepro.md (tilepro_expand_prologue): Likewise.
|
|
|
|
|
|
2017-02-03 18:34:56 +01:00
|
|
|
|
2017-02-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79354
|
|
|
|
|
* config/rs6000/rs6000.md (movsi_from_sf): Use wb constraint instead of
|
|
|
|
|
wu for stxssp alternative.
|
|
|
|
|
|
2017-02-03 17:38:15 +01:00
|
|
|
|
2017-02-03 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79352
|
|
|
|
|
* gimple-fold.c (get_range_strlen): Add argument.
|
|
|
|
|
(get_range_strlen): Change return type to bool.
|
|
|
|
|
(get_maxval_strlen): Pass in a dummy argument.
|
|
|
|
|
* gimple-fold.h (get_range_strlen): Change return type to bool.
|
|
|
|
|
* gimple-ssa-sprintf.c (get_string_length): Set unlikely counter.
|
|
|
|
|
* tree.h (array_at_struct_end_p): Add argument.
|
|
|
|
|
* tree.c (array_at_struct_end_p): Handle it.
|
|
|
|
|
|
2017-02-03 16:22:47 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/66295
|
|
|
|
|
* multiple_target.c (create_dispatcher_calls): Redirect edge
|
|
|
|
|
from a caller of a dispatcher.
|
|
|
|
|
(expand_target_clones): Make the clones local.
|
|
|
|
|
(ipa_target_clone): Do both target clones and resolvers.
|
|
|
|
|
(ipa_dispatcher_calls): Remove the pass.
|
|
|
|
|
(pass_dispatcher_calls::gate): Likewise.
|
|
|
|
|
(make_pass_dispatcher_calls): Likewise.
|
|
|
|
|
* passes.def (pass_target_clone): Put as very first IPA early
|
|
|
|
|
pass.
|
|
|
|
|
|
2017-02-03 16:15:51 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* symtab.c (symtab_node::binds_to_current_def_p): Bail out
|
|
|
|
|
in case of a function with ifunc attribute.
|
|
|
|
|
|
2017-02-03 16:14:40 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* cgraph.c (cgraph_node::dump): Dump function version info.
|
|
|
|
|
* symtab.c (symtab_node::dump_base): Add missing new line.
|
|
|
|
|
|
2017-02-03 15:03:35 +01:00
|
|
|
|
2017-02-02 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-ifcombine.c (update_profile_after_ifcombine): New function.
|
|
|
|
|
(ifcombine_ifandif): Use it.
|
|
|
|
|
|
2017-02-03 10:10:37 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Document default value for
|
|
|
|
|
use-after-scope-direct-emission-threshold.
|
|
|
|
|
|
2017-02-03 09:20:57 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79339
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating_max): Call mpfr_clear.
|
|
|
|
|
(format_floating): Likewise.
|
|
|
|
|
|
2017-02-03 09:20:02 +01:00
|
|
|
|
2017-02-03 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79337
|
|
|
|
|
* ipa-prop.c (ipa_node_params_t::insert): Remove current
|
|
|
|
|
implementation.
|
|
|
|
|
(ipa_node_params_t::remove): Likewise.
|
|
|
|
|
* ipa-prop.h (ipa_node_params::ipa_node_params): Make default
|
|
|
|
|
initialization from removed ipa_node_params_t::insert.
|
|
|
|
|
(ipa_node_params::~ipa_node_params): Move from removed
|
|
|
|
|
ipa_node_params_t::release.
|
|
|
|
|
* symbol-summary.h (symbol_summary::m_released): New member.
|
|
|
|
|
Do not release a summary twice. Do not allow to call finalizer
|
|
|
|
|
for types of a summary that live in GGC memory.
|
|
|
|
|
|
2017-02-03 06:55:46 +01:00
|
|
|
|
2017-02-02 Naveen H.S <Naveen.Hurugalawadi@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (thunderx2t99_tunings): Enable AES and
|
|
|
|
|
cmp_branch fusion.
|
|
|
|
|
|
2017-02-03 03:18:59 +01:00
|
|
|
|
2017-02-02 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79275
|
|
|
|
|
* gimple-ssa-sprintf.c (get_string_length): Set lower bound to zero.
|
|
|
|
|
(format_string): Tighten up the range of output for non-constant
|
|
|
|
|
strings and correct the expected range for wide non-constant strings.
|
|
|
|
|
|
2017-02-02 21:57:37 +01:00
|
|
|
|
2017-02-02 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-02-02 22:00:49 +01:00
|
|
|
|
* doc/invoke.texi (-maccumulate-args): Fix bad grammar.
|
|
|
|
|
|
2017-02-02 21:57:37 +01:00
|
|
|
|
PR middle-end/32003
|
2017-02-15 21:13:11 +01:00
|
|
|
|
* doc/invoke.texi (-fdump-tree-): Remove pass-specific options from
|
2017-02-02 21:57:37 +01:00
|
|
|
|
index.
|
|
|
|
|
(-fdump-tree-@var): Add to index and document how to come up
|
|
|
|
|
with pass-specific option and dump file names.
|
|
|
|
|
(-fdump-passes): Clarify where to look for output.
|
|
|
|
|
|
2017-02-02 21:22:13 +01:00
|
|
|
|
2017-02-02 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77445
|
|
|
|
|
* tree-ssa-threadbackward.c (profitable_jump_thread_path): Dump
|
|
|
|
|
statistics of the analyzed path; allow threading for speed when
|
|
|
|
|
any of BBs along the path are optimized for speed.
|
|
|
|
|
|
2017-02-02 13:39:09 +01:00
|
|
|
|
2017-02-02 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/78468
|
|
|
|
|
* emit-rtl.c (init_emit): Add ??? comment for problematic alignment
|
|
|
|
|
settings of the virtual registers.
|
|
|
|
|
|
|
|
|
|
Revert again
|
|
|
|
|
2016-08-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* explow.c (get_dynamic_stack_size): Take known alignment of stack
|
|
|
|
|
pointer + STACK_DYNAMIC_OFFSET into account when calculating the size
|
|
|
|
|
needed.
|
|
|
|
|
|
2017-02-02 13:19:50 +01:00
|
|
|
|
2017-02-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/vx-builtins.md ("vec_ceil", "vec_floor")
|
|
|
|
|
("vec_trunc", "vec_roundc", "vec_round"): Remove expanders.
|
|
|
|
|
|
2017-02-02 13:18:52 +01:00
|
|
|
|
2017-02-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md: Add missing comments with the expanded
|
|
|
|
|
mnemonics.
|
|
|
|
|
* config/s390/vector.md: Likewise.
|
|
|
|
|
* config/s390/vx-builtins.md: Likewise.
|
|
|
|
|
|
2017-02-02 11:05:26 +01:00
|
|
|
|
2017-02-02 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79197
|
|
|
|
|
* config/rs6000/rs6000.md (*fixuns_trunc<mode>di2_fctiduz): Rename to ...
|
|
|
|
|
(fixuns_trunc<mode>di2): ... this, remove previous expander. Put all
|
|
|
|
|
conditions on a single line.
|
|
|
|
|
|
2017-02-02 09:32:44 +01:00
|
|
|
|
2017-02-02 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
|
|
|
|
|
__S390_VX__ to __VX__.
|
|
|
|
|
|
2017-02-01 19:30:50 +01:00
|
|
|
|
2017-02-01 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass
|
|
|
|
|
stmt_info to record_stmt_cost.
|
|
|
|
|
(vect_get_known_peeling_cost): Pass stmt_info if known to
|
|
|
|
|
record_stmt_cost.
|
|
|
|
|
* config/aarch64/aarch64-protos.h (cpu_vector_cost): Split
|
|
|
|
|
cpu_vector_cost field into
|
|
|
|
|
scalar_int_stmt_cost and scalar_fp_stmt_cost. Split vec_stmt_cost
|
|
|
|
|
field into vec_int_stmt_cost and vec_fp_stmt_cost.
|
|
|
|
|
* config/aarch64/aarch64.c (generic_vector_cost): Update for the
|
|
|
|
|
splitting of scalar_stmt_cost and vec_stmt_cost.
|
|
|
|
|
(thunderx_vector_cost): Likewise.
|
|
|
|
|
(cortexa57_vector_cost): LIkewise.
|
|
|
|
|
(exynosm1_vector_cost): Likewise.
|
|
|
|
|
(xgene1_vector_cost): Likewise.
|
|
|
|
|
(thunderx2t99_vector_cost): Improve after the splitting of the two
|
|
|
|
|
fields.
|
|
|
|
|
(aarch64_builtin_vectorization_cost): Update for the splitting of
|
|
|
|
|
scalar_stmt_cost and vec_stmt_cost.
|
|
|
|
|
|
2017-02-01 18:21:59 +01:00
|
|
|
|
2017-02-01 Torvald Riegel <triegel@redhat.com>
|
2017-03-02 19:47:03 +01:00
|
|
|
|
Richard Henderson <rth@redhat.com>
|
2017-02-01 18:21:59 +01:00
|
|
|
|
|
|
|
|
|
* builtins.c (fold_builtin_atomic_always_lock_free): Make "lock-free"
|
|
|
|
|
conditional on existance of a fast atomic load.
|
|
|
|
|
* optabs-query.c (can_atomic_load_p): New function.
|
|
|
|
|
* optabs-query.h (can_atomic_load_p): Declare it.
|
|
|
|
|
* optabs.c (expand_atomic_exchange): Always delegate to libatomic if
|
|
|
|
|
no fast atomic load is available for the particular size of access.
|
|
|
|
|
(expand_atomic_compare_and_swap): Likewise.
|
|
|
|
|
(expand_atomic_load): Likewise.
|
|
|
|
|
(expand_atomic_store): Likewise.
|
|
|
|
|
(expand_atomic_fetch_op): Likewise.
|
|
|
|
|
* testsuite/lib/target-supports.exp
|
|
|
|
|
(check_effective_target_sync_int_128): Remove x86 because it provides
|
|
|
|
|
no fast atomic load.
|
|
|
|
|
(check_effective_target_sync_int_128_runtime): Likewise.
|
|
|
|
|
|
2017-02-01 15:05:09 +01:00
|
|
|
|
2017-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* graphite.c: Include tree-vectorizer.h for find_loop_location.
|
|
|
|
|
(graphite_transform_loops): Provide opt-info for optimized nests.
|
|
|
|
|
* tree-parloop.c (parallelize_loops): Provide opt-info for
|
|
|
|
|
parallelized loops.
|
|
|
|
|
|
2017-02-01 13:47:25 +01:00
|
|
|
|
2017-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79315
|
|
|
|
|
* tree-cfg.c (move_stmt_op): Never set TREE_BLOCK when it
|
|
|
|
|
was not set before.
|
|
|
|
|
|
2017-02-01 09:02:50 +01:00
|
|
|
|
2017-02-01 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71824
|
|
|
|
|
* graphite-scop-detection.c (scop_detection::build_scop_breadth):
|
|
|
|
|
Verify the loops are valid in the merged SESE region.
|
|
|
|
|
(scop_detection::can_represent_loop_1): Check analyzing the
|
|
|
|
|
evolution of the number of iterations in the region succeeds.
|
|
|
|
|
|
2017-02-01 00:49:26 +01:00
|
|
|
|
2017-01-31 Ian Lance Taylor <iant@golang.org>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_expand_split_stack_prologue): Add
|
|
|
|
|
REG_ARGS_SIZE note to 32-bit push insns and call insn.
|
|
|
|
|
|
2017-01-31 21:22:43 +01:00
|
|
|
|
2017-01-31 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR preprocessor/79210
|
|
|
|
|
* input.c (get_substring_ranges_for_loc): Replace line_width
|
|
|
|
|
assertion with error-handling.
|
|
|
|
|
|
2017-01-31 15:44:37 +01:00
|
|
|
|
2017-01-31 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/77318
|
|
|
|
|
* graphite-sese-to-poly.c (extract_affine): Fix assert.
|
|
|
|
|
(create_pw_aff_from_tree): Take loop parameter.
|
|
|
|
|
(add_condition_to_pbb): Pass loop of the condition to
|
|
|
|
|
create_pw_aff_from_tree.
|
|
|
|
|
|
2017-01-31 14:50:20 +01:00
|
|
|
|
2017-01-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_asan_shadow_offset): New function.
|
|
|
|
|
(TARGET_ASAN_SHADOW_OFFSET): Redefine.
|
|
|
|
|
|
2017-01-31 14:38:35 +01:00
|
|
|
|
2017-01-31 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/78597
|
|
|
|
|
PR target/79038
|
|
|
|
|
* config/rs6000/rs6000-protos.h (convert_float128_to_int): Delete,
|
|
|
|
|
no longer used.
|
|
|
|
|
(convert_int_to_float128): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c (convert_float128_to_int): Likewise.
|
|
|
|
|
(convert_int_to_float128): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.md (UNSPEC_IEEE128_MOVE): Likewise.
|
|
|
|
|
(UNSPEC_IEEE128_CONVERT): Likewise.
|
|
|
|
|
(floatsi<mode>2, FLOAT128 iterator): Bypass calling
|
|
|
|
|
rs6000_expand_float128_convert if we have IEEE 128-bit hardware.
|
|
|
|
|
Use local variables for IBM extended format.
|
|
|
|
|
(fix_trunc<mode>si2, FLOAT128 iterator): Likewise.
|
|
|
|
|
(fix_trunc<mode>si2_fprs): Likewise.
|
|
|
|
|
(fixuns_trunc<IEEE128:mode><SDI:mode>2): Likewise.
|
|
|
|
|
(floatuns<IEEE128:mode>2, IEEE128 iterator): Likewise.
|
|
|
|
|
(fix<uns>_<mode>si2_hw): Rework the IEEE 128-bt hardware support
|
|
|
|
|
to know that we can now have integers of all sizes in vector
|
|
|
|
|
registers.
|
|
|
|
|
(fix<uns>_<mode>di2_hw): Likewise.
|
|
|
|
|
(float<uns>_<mode>si2_hw): Likewise.
|
|
|
|
|
(fix_<mode>si2_hw): Likewise.
|
|
|
|
|
(fixuns_<mode>si2_hw): Likewise.
|
|
|
|
|
(float<uns>_<mode>di2_hw): Likewise.
|
|
|
|
|
(float_<mode>di2_hw): Likewise.
|
|
|
|
|
(float_<mode>si2_hw): Likewise.
|
|
|
|
|
(floatuns_<mode>di2_hw): Likewise.
|
|
|
|
|
(floatuns_<mode>si2_hw): Likewise.
|
|
|
|
|
(xscvqp<su>wz_<mode>): Delete, no longer used.
|
|
|
|
|
(xscvqp<su>dz_<mode>): Likewise.
|
|
|
|
|
(xscv<su>dqp_<mode>): Likewise.
|
|
|
|
|
(ieee128_mfvsrd_64bit): Likewise.
|
|
|
|
|
(ieee128_mfvsrd_32bit): Likewise.
|
|
|
|
|
(ieee128_mfvsrwz): Likewise.
|
|
|
|
|
(ieee128_mtvsrw): Likewise.
|
|
|
|
|
(ieee128_mtvsrd_64bit): Likewise.
|
|
|
|
|
(ieee128_mtvsrd_32bit): Likewise.
|
|
|
|
|
|
2017-01-31 11:54:41 +01:00
|
|
|
|
2017-01-31 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79285
|
|
|
|
|
* ipa-prop.c (ipa_free_all_node_params): Call release method
|
|
|
|
|
instead of ~sumbol_summary to not to trigger double times
|
|
|
|
|
dtor of hash_map.
|
|
|
|
|
|
2017-01-31 11:30:47 +01:00
|
|
|
|
2017-01-31 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71691
|
|
|
|
|
* bitmap.h (class auto_bitmap): New.
|
|
|
|
|
* tree-ssa-loop-unswitch.c (tree_may_unswitch_on): Call
|
|
|
|
|
is_maybe_undefined instead of ssa_undefined_value_p.
|
|
|
|
|
|
2017-01-31 10:14:36 +01:00
|
|
|
|
2017-01-31 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
|
|
|
|
|
__S390_ARCH_LEVEL__ to __ARCH__.
|
|
|
|
|
|
2017-01-31 09:33:36 +01:00
|
|
|
|
2017-01-31 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79267
|
|
|
|
|
* value-prof.c (gimple_ic): Only drop lhs for noreturn calls
|
|
|
|
|
if should_remove_lhs_p is true.
|
|
|
|
|
|
2017-01-31 02:03:15 +01:00
|
|
|
|
2017-01-30 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/63238
|
|
|
|
|
* dwarf2out.c (clone_as_declaration): Drop DW_AT_alignment.
|
|
|
|
|
(add_alignment_attribute): New.
|
|
|
|
|
(base_type_die): Add alignment attribute.
|
|
|
|
|
(subrange_type_die): Likewise.
|
|
|
|
|
(modified_type_die): Likewise.
|
|
|
|
|
(gen_array_type_die): Likewise.
|
|
|
|
|
(gen_descr_array_type_die: Likewise.
|
|
|
|
|
(gen_enumeration_type_die): Likewise.
|
|
|
|
|
(gen_subprogram_die): Likewise.
|
|
|
|
|
(gen_variable_die): Likewise.
|
|
|
|
|
(gen_field_die): Likewise.
|
|
|
|
|
(gen_ptr_to_mbr_type_die): Likewise.
|
|
|
|
|
(gen_struct_or_union_type_die): Likewise.
|
|
|
|
|
(gen_subroutine_type_die): Likewise.
|
|
|
|
|
(gen_typedef_die): Likewise.
|
|
|
|
|
(base_type_cmp): Compare alignment attribute.
|
|
|
|
|
|
2017-01-31 00:24:24 +01:00
|
|
|
|
2017-01-30 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79170
|
|
|
|
|
* config/rs6000/altivec.md (*setb_internal): Rename to setb_signed.
|
|
|
|
|
(setb_unsigned) New pattern for setb with CCUNS.
|
|
|
|
|
* config/rs6000/rs6000.c (expand_block_compare): Use a different
|
|
|
|
|
subfc./subfe sequence to avoid overflow problems. Generate a
|
|
|
|
|
shorter sequence with cmpld/setb for power9.
|
|
|
|
|
* config/rs6000/rs6000.md (subf<mode>3_carry_dot2): Add a new pattern
|
|
|
|
|
for generating subfc. instruction.
|
|
|
|
|
(cmpstrsi): Add TARGET_POPCNTD predicate as the generate sequence
|
|
|
|
|
now uses this instruction.
|
|
|
|
|
|
2017-01-30 23:26:26 +01:00
|
|
|
|
2017-01-30 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR debug/79289
|
|
|
|
|
* dwarf2out.c (gen_type_die_with_usage): When picking a variant
|
|
|
|
|
for FUNCTION_TYPE/METHOD_TYPE, use the first matching one.
|
|
|
|
|
|
2017-01-30 23:21:20 +01:00
|
|
|
|
2017-01-30 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-01-31 00:15:40 +01:00
|
|
|
|
* gimple-ssa-sprintf.c (fmtresult::adjust_for_width_or_precision):
|
|
|
|
|
Move constant to the right of a relational operator.
|
|
|
|
|
(get_mpfr_format_length, format_character, format_string): Ditto.
|
|
|
|
|
(should_warn_p, maybe_warn): Same.
|
|
|
|
|
|
2017-01-30 23:21:20 +01:00
|
|
|
|
* doc/invoke.texi (-Wformat-truncation=1): Fix typo.
|
|
|
|
|
|
2017-01-30 17:06:15 +01:00
|
|
|
|
2017-01-30 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR lto/79061
|
|
|
|
|
* asan.c (get_translation_unit_decl): Remove function.
|
|
|
|
|
(asan_add_global): Force has_dynamic_init to zero in LTO mode.
|
|
|
|
|
|
2017-01-30 16:35:57 +01:00
|
|
|
|
2017-01-30 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR gcov-profile/79259
|
|
|
|
|
* opts.c (common_handle_option): Enable flag_ipa_bit_cp w/
|
|
|
|
|
-fprofile-generate.
|
|
|
|
|
|
2017-01-30 16:16:33 +01:00
|
|
|
|
2017-01-30 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/78985
|
|
|
|
|
* config/aarch64/cortex-a57-fma-steering.c (func_fma_steering::analyze):
|
|
|
|
|
Initialize variables with NULL value.
|
|
|
|
|
|
2017-01-30 15:39:50 +01:00
|
|
|
|
2017-01-30 Richard Earnshaw <rearnsh@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79260
|
|
|
|
|
* config.gcc (arm*-*-*): Add arm/arm-flags.h and arm/arm-isa.h to
|
|
|
|
|
tm_p_file.
|
|
|
|
|
* arm/arm-protos.h: Don't directly include arm-flags.h and arm-isa.h.
|
|
|
|
|
|
2017-01-30 15:24:37 +01:00
|
|
|
|
2017-01-30 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79276
|
|
|
|
|
* tree-vrp.c (process_assert_insertions): Properly adjust common
|
|
|
|
|
when removing a duplicate.
|
|
|
|
|
|
|
|
|
|
* gcc.dg/torture/pr79276.c: New testcase.
|
|
|
|
|
|
2017-01-30 14:52:44 +01:00
|
|
|
|
2017-01-30 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79256
|
|
|
|
|
* targhooks.c (default_builtin_vector_alignment_reachable): Honor
|
|
|
|
|
BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus
|
|
|
|
|
alignment on TYPE.
|
|
|
|
|
* tree.c (build_aligned_type): Set TYPE_USER_ALIGN.
|
|
|
|
|
|
2017-01-30 10:54:58 +01:00
|
|
|
|
2017-01-30 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79240
|
|
|
|
|
* config/s390/s390.md ("*r<noxa>sbg_<mode>_srl_bitmask")
|
|
|
|
|
("*r<noxa>sbg_<mode>_sll_bitmask")
|
|
|
|
|
("*extzv_<mode>_srl<clobbercc_or_nocc>")
|
|
|
|
|
("*extzv_<mode>_sll<clobbercc_or_nocc>"):
|
|
|
|
|
Use contiguous_bitmask_nowrap_operand.
|
|
|
|
|
|
2017-01-30 04:32:59 +01:00
|
|
|
|
2017-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79268
|
|
|
|
|
* config/rs6000/altivec.h (vec_xl): Revise #define.
|
|
|
|
|
(vec_xst): Likewise.
|
|
|
|
|
|
2017-01-28 19:43:56 +01:00
|
|
|
|
2017-01-27 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (print_reg): Use REGNO instead of true_regnum.
|
|
|
|
|
|
2017-01-27 20:40:44 +01:00
|
|
|
|
2017-01-27 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79194
|
|
|
|
|
* cprop.c (one_cprop_pass): Move deletion of code after unconditional
|
|
|
|
|
traps before call to bypass_conditional_jumps.
|
|
|
|
|
|
2017-01-27 19:08:14 +01:00
|
|
|
|
2017-01-27 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71374
|
|
|
|
|
* lra-constraints.c (check_conflict_input_operands): New.
|
|
|
|
|
(match_reload): Use it.
|
|
|
|
|
|
2017-01-27 17:50:11 +01:00
|
|
|
|
2017-01-27 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79131
|
|
|
|
|
* lra-assigns.c (find_hard_regno_for_1): Take endianess for into
|
|
|
|
|
account to calculate conflict_set.
|
|
|
|
|
|
2017-01-27 15:42:23 +01:00
|
|
|
|
2017-01-27 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78559
|
|
|
|
|
* combine.c (try_combine): Discard REG_EQUAL and REG_EQUIV for
|
|
|
|
|
other_insn in combine.
|
|
|
|
|
|
2017-01-27 15:35:07 +01:00
|
|
|
|
2017-01-27 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
|
|
|
|
|
|
|
|
|
|
* builtin-types.def: Use unsigned_char_type_node for BT_UINT8. Use
|
|
|
|
|
uint16_type_node for BT_UINT16.
|
|
|
|
|
|
2017-01-27 15:25:59 +01:00
|
|
|
|
2017-01-27 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/sourcebuild.texi (Testsuites): Add "GIMPLE Tests" and
|
|
|
|
|
"RTL Tests" to menu.
|
|
|
|
|
(GIMPLE Tests): New node.
|
|
|
|
|
(RTL Tests): New node.
|
|
|
|
|
|
2017-01-27 14:56:59 +01:00
|
|
|
|
2017-01-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79245
|
|
|
|
|
* tree-loop-distribution.c (distribute_loop): Apply cost
|
|
|
|
|
modeling also to detected patterns.
|
|
|
|
|
|
2017-01-27 13:30:43 +01:00
|
|
|
|
2017-01-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71433
|
|
|
|
|
* tree-vrp.c (register_new_assert_for): Revert earlier changes.
|
|
|
|
|
(compare_assert_loc): New function.
|
|
|
|
|
(process_assert_insertions): Sort and optimize assert locations
|
|
|
|
|
to remove duplicates and push down identical assertions on
|
|
|
|
|
edges to their destination block.
|
|
|
|
|
|
2017-01-27 13:24:54 +01:00
|
|
|
|
2017-01-27 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79244
|
|
|
|
|
* tree-vrp.c (remove_range_assertions): Forcefully propagate
|
|
|
|
|
out SSA names even if abnormal.
|
|
|
|
|
|
2017-01-27 12:28:34 +01:00
|
|
|
|
2017-01-27 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* realmpfr.h: Poison MPFR_RND{N,Z,U,D}.
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating_max): Use GMP_RNDN
|
|
|
|
|
instead of MPFR_RNDN.
|
|
|
|
|
|
2017-01-27 12:22:30 +01:00
|
|
|
|
2017-01-27 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79239
|
2017-03-02 19:47:03 +01:00
|
|
|
|
* arm.c (arm_option_override): Don't call build_target_option_node
|
|
|
|
|
until after doing all option overrides.
|
|
|
|
|
(arm_valid_target_attribute_tree): Likewise.
|
2017-01-27 12:22:30 +01:00
|
|
|
|
|
2017-01-27 10:58:34 +01:00
|
|
|
|
2017-01-27 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (-fprofile-arcs): Document profiling support
|
|
|
|
|
for {cd}tors and C++ {cd}tors.
|
|
|
|
|
|
2017-01-27 09:07:26 +01:00
|
|
|
|
2017-01-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.md ("*setmem_long_and")
|
|
|
|
|
("*setmem_long_and_31z"): Use zero_extend instead of and.
|
|
|
|
|
|
2017-01-27 03:45:32 +01:00
|
|
|
|
2017-01-26 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating): Simplify the computation
|
|
|
|
|
of precision.
|
|
|
|
|
|
2017-01-27 00:07:02 +01:00
|
|
|
|
2017-01-26 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-01-27 00:37:17 +01:00
|
|
|
|
* gimple-ssa-sprintf.c (format_floating): Test HAVE_XFmode and
|
|
|
|
|
HAVE_DFmode before using XFmode or DFmode.
|
|
|
|
|
(parse_directive): Avoid using the z length modifier to avoid
|
|
|
|
|
the ISO C++98 does not support the ‘z’ gnu_printf length modifier.
|
|
|
|
|
|
2017-01-27 00:07:02 +01:00
|
|
|
|
PR middle-end/78703
|
|
|
|
|
* gimple-ssa-sprintf.c (adjust_for_width_or_precision): Change
|
|
|
|
|
to accept adjustment as an array.
|
|
|
|
|
(get_int_range): New function.
|
|
|
|
|
(struct directive): Make width and prec arrays.
|
|
|
|
|
(directive::set_width, directive::set_precision): Call get_int_range.
|
|
|
|
|
(format_integer, format_floating): Handle width and precision ranges.
|
|
|
|
|
(format_string, parse_directive): Same.
|
|
|
|
|
|
2017-01-26 22:44:49 +01:00
|
|
|
|
2017-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-26 22:45:57 +01:00
|
|
|
|
PR debug/79129
|
|
|
|
|
* dwarf2out.c (generate_skeleton_bottom_up): For children with
|
|
|
|
|
comdat_type_p set, just clone them, but keep the children in the
|
|
|
|
|
original DIE.
|
|
|
|
|
|
2017-01-26 22:44:49 +01:00
|
|
|
|
PR debug/78835
|
|
|
|
|
* dwarf2out.c (prune_unused_types): Mark all functions with DIEs
|
|
|
|
|
which have direct callers with -fvar-tracking-assignments enabled
|
|
|
|
|
in the current TU.
|
|
|
|
|
(resolve_addr): Avoid adding skeleton DIEs for DW_AT_call_origin
|
|
|
|
|
inside of type units.
|
|
|
|
|
|
2017-01-26 22:14:18 +01:00
|
|
|
|
2017-01-26 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/78703
|
|
|
|
|
* gimple-ssa-sprintf.c (struct result_range): Add likely and
|
|
|
|
|
unlikely counters.
|
|
|
|
|
(struct format_result): Replace number_chars, number_chars_min,
|
|
|
|
|
and number_chars_max with a single member of struct result_range.
|
|
|
|
|
Remove bounded.
|
|
|
|
|
(format_result::operator+=): Adjust.
|
|
|
|
|
(struct fmtresult): Remove bounded. Handle likely and unlikely
|
|
|
|
|
counters.
|
|
|
|
|
(fmtresult::adjust_for_width_or_precision): New function.
|
|
|
|
|
(fmtresult:type_max_digits): New function.
|
|
|
|
|
(bytes_remaining): Handle likely and unlikely counters.
|
|
|
|
|
(min_bytes_remaining): Remove.
|
|
|
|
|
(format_percent): Simplify.
|
|
|
|
|
(format_integer, format_floating): Set likely and unlikely counters.
|
|
|
|
|
(get_string_length, format_character, format_string): Same.
|
|
|
|
|
(format_plain, should_warn_p): New function.
|
|
|
|
|
(maybe_warn): Call should_warn_p. Update diagnostic messages
|
|
|
|
|
and handle those for all directives, including plain strings.
|
|
|
|
|
(format_directive): Handle likely and unlikely counters.
|
|
|
|
|
Remove unnecessary quoting from diagnostics. Add an informational
|
|
|
|
|
note.
|
|
|
|
|
(add_bytes): Remove.
|
|
|
|
|
(pass_sprintf_length::compute_format_length): Simplify.
|
|
|
|
|
(try_substitute_return_value): Handle likely and unlikely counters.
|
|
|
|
|
|
2017-01-26 18:39:38 +01:00
|
|
|
|
2017-01-26 Carl Love <cel@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-c (altivec_overloaded_builtins): Remove
|
|
|
|
|
bogus entries for the P8V_BUILTIN_VEC_VGBBD built-ins
|
|
|
|
|
|
2017-01-26 18:08:12 +01:00
|
|
|
|
2017-01-26 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79131
|
|
|
|
|
* lra-assigns.c (setup_live_pseudos_and_spill_after_risky): Take
|
|
|
|
|
endianess for subregs into account.
|
|
|
|
|
* lra-constraints.c (lra_constraints): Do risky transformations
|
|
|
|
|
always on the first iteration.
|
|
|
|
|
* lra-lives.c (check_pseudos_live_through_calls): Add arg
|
|
|
|
|
last_call_used_reg_set.
|
|
|
|
|
(process_bb_lives): Define and use last_call_used_reg_set.
|
|
|
|
|
* lra.c (lra): Always continue after lra_constraints on the first
|
|
|
|
|
iteration.
|
|
|
|
|
|
2017-01-26 17:56:12 +01:00
|
|
|
|
2017-01-26 Kirill Yukhin <kirill.yukhin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gcc.target/i386/avx512bw-kshiftlq-2.c: Use unsigned long long
|
|
|
|
|
constant.
|
|
|
|
|
* gcc.target/i386/avx512bw-kshiftrq-2.c: Ditto.
|
|
|
|
|
|
avx512fintrin.h (_ktest_mask16_u8, [...]): Move to ...
* config/i386/avx512fintrin.h (_ktest_mask16_u8,
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): Move to ...
* config/i386/avx512dqintrin.h (_ktest_mask16_u8,
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): ... here.
* config/i386/i386-builtin.def (__builtin_ia32_ktestchi,
__builtin_ia32_ktestzhi, __builtin_ia32_kaddhi): Use
OPTION_MASK_ISA_AVX512DQ instead of OPTION_MASK_ISA_AVX512F.
* config/i386/sse.md (SWI1248_AVX512BWDQ2): New mode iterator.
(kadd<mode>, ktest<mode>): Use it instead of SWI1248_AVX512BWDQ.
testsuite/
* gcc.target/i386/avx512f-kaddw-1.c: Renamed to ...
* gcc.target/i386/avx512dq-kaddw-1.c: ... this. New test. Replace
avx512f with avx512dq.
* gcc.target/i386/avx512f-ktestw-1.c: Renamed to ...
* gcc.target/i386/avx512dq-ktestw-1.c: ... this. New test. Replace
avx512f with avx512dq.
* gcc.target/i386/avx512f-ktestw-2.c: Renamed to ...
* gcc.target/i386/avx512dq-ktestw-2.c: ... this. New test. Replace
avx512f with avx512dq.
From-SVN: r244929
2017-01-26 13:24:58 +01:00
|
|
|
|
2017-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/avx512fintrin.h (_ktest_mask16_u8,
|
|
|
|
|
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): Move to ...
|
|
|
|
|
* config/i386/avx512dqintrin.h (_ktest_mask16_u8,
|
|
|
|
|
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): ... here.
|
|
|
|
|
* config/i386/i386-builtin.def (__builtin_ia32_ktestchi,
|
|
|
|
|
__builtin_ia32_ktestzhi, __builtin_ia32_kaddhi): Use
|
|
|
|
|
OPTION_MASK_ISA_AVX512DQ instead of OPTION_MASK_ISA_AVX512F.
|
|
|
|
|
* config/i386/sse.md (SWI1248_AVX512BWDQ2): New mode iterator.
|
|
|
|
|
(kadd<mode>, ktest<mode>): Use it instead of SWI1248_AVX512BWDQ.
|
|
|
|
|
|
2017-01-26 12:37:33 +01:00
|
|
|
|
2017-01-26 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/79199
|
|
|
|
|
* fold-const.c (operand_equal_p) [COND_EXPR]: Use OP_SAME_WITH_NULL
|
|
|
|
|
for the third operand.
|
|
|
|
|
|
2017-01-26 12:05:03 +01:00
|
|
|
|
2017-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79236
|
|
|
|
|
* omp-low.c (struct omp_context): Add simt_stmt field.
|
|
|
|
|
(scan_omp_for): Return omp_context *.
|
|
|
|
|
(scan_omp_simd): Set simt_stmt on the non-_simt_ SIMD
|
|
|
|
|
context to the _simt_ SIMD stmt.
|
|
|
|
|
(lower_omp_for): For combined SIMD with sibling _simt_
|
|
|
|
|
SIMD, make sure to use the same decls in _looptemp_
|
|
|
|
|
clauses as in the sibling.
|
|
|
|
|
|
2017-01-26 11:41:35 +01:00
|
|
|
|
2017-01-26 David Sherwood <david.sherwood@arm.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79212
|
|
|
|
|
* gimplify.c (omp_notice_variable): Add GOVD_SEEN flag to variables in
|
|
|
|
|
all contexts.
|
|
|
|
|
|
2017-01-26 09:26:48 +01:00
|
|
|
|
2017-01-26 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-26 09:46:36 +01:00
|
|
|
|
PR target/70465
|
|
|
|
|
* reg-stack.c (emit_swap_insn): Instead of fld a; fld b; fxchg %st(1);
|
|
|
|
|
emit fld b; fld a; if possible.
|
|
|
|
|
|
2017-01-26 09:26:48 +01:00
|
|
|
|
* brig-builtins.def: Update copyright years.
|
|
|
|
|
* config/arm/arm_acle_builtins.def: Update copyright years.
|
|
|
|
|
|
2017-01-26 05:16:11 +01:00
|
|
|
|
2017-01-25 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79179
|
|
|
|
|
* config/rs6000/vsx.md (vsx_extract_<mode>_store): Use wY
|
|
|
|
|
constraint instead of o for the stxsd instruction.
|
|
|
|
|
|
2017-01-25 17:23:48 +01:00
|
|
|
|
2017-01-25 Carl Love <cel@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-c (altivec_overloaded_builtins): Fix order
|
|
|
|
|
of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD.
|
|
|
|
|
|
2017-01-25 16:01:10 +01:00
|
|
|
|
2017-01-25 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (C++ Dialect Options): Fix typo.
|
|
|
|
|
|
2017-01-25 13:30:41 +01:00
|
|
|
|
2017-01-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/69264
|
|
|
|
|
* target.def (vector_alignment_reachable): Improve documentation.
|
|
|
|
|
* doc/tm.texi: Regenerate.
|
|
|
|
|
* targhooks.c (default_builtin_vector_alignment_reachable): Simplify
|
|
|
|
|
and add a comment.
|
|
|
|
|
* tree-vect-data-refs.c (vect_supportable_dr_alignment): Revert
|
|
|
|
|
earlier changes with respect to TYPE_USER_ALIGN.
|
|
|
|
|
(vector_alignment_reachable_p): Likewise. Improve dumping.
|
|
|
|
|
|
2017-01-25 12:10:30 +01:00
|
|
|
|
2016-01-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79145
|
|
|
|
|
* config/arm/arm.md (xordi3): Force constant operand into a register
|
|
|
|
|
for TARGET_IWMMXT.
|
|
|
|
|
|
2017-01-25 11:13:53 +01:00
|
|
|
|
2016-01-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (-fstore-merging): Correct default optimization
|
|
|
|
|
levels at which it is enabled.
|
|
|
|
|
(-O): Move -fstore-merging from list to...
|
|
|
|
|
(-O2): ... Here.
|
|
|
|
|
|
2017-01-25 10:48:10 +01:00
|
|
|
|
2017-01-25 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR debug/78363
|
|
|
|
|
* omp-expand.c: Include debug.h.
|
|
|
|
|
(expand_omp_taskreg): Make sure to generate early debug before
|
|
|
|
|
outlining anything from a function.
|
|
|
|
|
(expand_omp_target): Likewise.
|
|
|
|
|
(grid_expand_target_grid_body): Likewise.
|
|
|
|
|
|
2017-01-25 08:45:40 +01:00
|
|
|
|
2017-01-25 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR lto/79061
|
|
|
|
|
* asan.c (get_translation_unit_decl): New function.
|
|
|
|
|
(asan_add_global): Extract modules file name from globals
|
|
|
|
|
TRANSLATION_UNIT_DECL name.
|
|
|
|
|
|
2017-01-24 18:15:02 +01:00
|
|
|
|
2017-01-24 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR target/77439
|
|
|
|
|
* config/arm/arm.c (arm_function_ok_for_sibcall): Add back restriction
|
|
|
|
|
for long calls with APCS frame and VFP.
|
|
|
|
|
|
2017-01-24 18:07:36 +01:00
|
|
|
|
2017-01-24 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cfg.c (original_copy_tables_initialized_p): New function.
|
|
|
|
|
* cfg.h (original_copy_tables_initialized_p): New decl.
|
|
|
|
|
* cfgrtl.c (relink_block_chain): Guard the call to
|
|
|
|
|
free_original_copy_tables with a call to
|
|
|
|
|
original_copy_tables_initialized_p.
|
|
|
|
|
* cgraph.h (symtab_node::native_rtl_p): New decl.
|
|
|
|
|
* cgraphunit.c (symtab_node::native_rtl_p): New function.
|
|
|
|
|
(symtab_node::needed_p): Don't assert for early assembly output
|
|
|
|
|
for __RTL functions.
|
|
|
|
|
(cgraph_node::finalize_function): Set "force_output" for __RTL
|
|
|
|
|
functions.
|
|
|
|
|
(cgraph_node::analyze): Bail out early for __RTL functions.
|
|
|
|
|
(analyze_functions): Update assertion to support __RTL functions.
|
|
|
|
|
(cgraph_node::expand): Bail out early for __RTL functions.
|
|
|
|
|
* final.c (rest_of_clean_state): Don't call delete_tree_ssa for
|
|
|
|
|
__RTL functions.
|
|
|
|
|
* function.h (struct function): Update comment for field
|
|
|
|
|
"pass_startwith".
|
|
|
|
|
* gimple-expr.c: Include "tree-pass.h".
|
|
|
|
|
(gimple_has_body_p): Return false for __RTL functions.
|
|
|
|
|
* Makefile.in (OBJS): Add run-rtl-passes.o.
|
|
|
|
|
* pass_manager.h (gcc::pass_manager::get_rest_of_compilation): New
|
|
|
|
|
accessor.
|
|
|
|
|
(gcc::pass_manager::get_clean_slate): New accessor.
|
|
|
|
|
* passes.c: Include "insn-addr.h".
|
|
|
|
|
(should_skip_pass_p): Add logging. Update logic for running
|
|
|
|
|
"expand" to be compatible with both __GIMPLE and __RTL. Guard
|
|
|
|
|
property-provider override so it is only done for gimple passes.
|
|
|
|
|
Don't skip dfinit.
|
|
|
|
|
(skip_pass): New function.
|
|
|
|
|
(execute_one_pass): Call skip_pass when skipping passes.
|
|
|
|
|
* read-md.c (md_reader::read_char): Support filtering
|
|
|
|
|
the input to a subset of line numbers.
|
|
|
|
|
(md_reader::md_reader): Initialize fields
|
|
|
|
|
m_first_line and m_last_line.
|
|
|
|
|
(md_reader::read_file_fragment): New function.
|
|
|
|
|
* read-md.h (md_reader::read_file_fragment): New decl.
|
|
|
|
|
(md_reader::m_first_line): New field.
|
|
|
|
|
(md_reader::m_last_line): New field.
|
|
|
|
|
* read-rtl-function.c (function_reader::create_function): Only
|
|
|
|
|
create cfun if it doesn't already exist. Set PROP_rtl on cfun's
|
|
|
|
|
curr_properties. Set DECL_INITIAL to a dummy block.
|
|
|
|
|
(read_rtl_function_body_from_file_range): New function.
|
|
|
|
|
* read-rtl-function.h (read_rtl_function_body_from_file_range):
|
|
|
|
|
New decl.
|
|
|
|
|
* run-rtl-passes.c: New file.
|
|
|
|
|
* run-rtl-passes.h: New file.
|
|
|
|
|
|
2017-01-24 16:49:32 +01:00
|
|
|
|
2017-01-24 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase
|
|
|
|
|
buffer size.
|
|
|
|
|
|
2017-01-24 14:09:27 +01:00
|
|
|
|
2017-01-24 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79159
|
|
|
|
|
* tree-ssa-loop-niter.c (get_cst_init_from_scev): New function.
|
2017-01-24 15:32:36 +01:00
|
|
|
|
(record_nonwrapping_iv): Improve boundary using above function if no
|
2017-01-24 14:09:27 +01:00
|
|
|
|
value range information.
|
|
|
|
|
|
2017-01-26 09:26:48 +01:00
|
|
|
|
2017-01-24 Pekka Jääskeläinen <pekka@parmance.com>
|
2017-01-24 13:45:56 +01:00
|
|
|
|
Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* brig-builtins.def: New file.
|
|
|
|
|
* builtins.def (DEF_HSAIL_BUILTIN): New macro.
|
|
|
|
|
(DEF_HSAIL_ATOMIC_BUILTIN): Likewise.
|
|
|
|
|
(DEF_HSAIL_SAT_BUILTIN): Likewise.
|
|
|
|
|
(DEF_HSAIL_INTR_BUILTIN): Likewise.
|
|
|
|
|
(DEF_HSAIL_CVT_ZEROI_SAT_BUILTIN): Likewise.
|
|
|
|
|
* builtin-types.def (BT_INT8): New.
|
|
|
|
|
(BT_INT16): Likewise.
|
|
|
|
|
(BT_UINT8): Likewise.
|
|
|
|
|
(BT_UINT16): Likewise.
|
|
|
|
|
(BT_FN_ULONG): Likewise.
|
|
|
|
|
(BT_FN_UINT_INT): Likewise.
|
|
|
|
|
(BT_FN_UINT_ULONG): Likewise.
|
|
|
|
|
(BT_FN_UINT_LONG): Likewise.
|
|
|
|
|
(BT_FN_UINT_PTR): Likewise.
|
|
|
|
|
(BT_FN_ULONG_PTR): Likewise.
|
|
|
|
|
(BT_FN_INT8_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_INT16_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_UINT32_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_UINT16_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_UINT8_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_UINT64_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_UINT16_UINT32): Likewise.
|
|
|
|
|
(BT_FN_UINT32_UINT16): Likewise.
|
|
|
|
|
(BT_FN_UINT16_UINT16_UINT16): Likewise.
|
|
|
|
|
(BT_FN_INT_PTR_INT): Likewise.
|
|
|
|
|
(BT_FN_UINT_PTR_UINT): Likewise.
|
|
|
|
|
(BT_FN_LONG_PTR_LONG): Likewise.
|
|
|
|
|
(BT_FN_ULONG_PTR_ULONG): Likewise.
|
|
|
|
|
(BT_FN_VOID_UINT64_UINT64): Likewise.
|
|
|
|
|
(BT_FN_UINT8_UINT8_UINT8): Likewise.
|
|
|
|
|
(BT_FN_INT8_INT8_INT8): Likewise.
|
|
|
|
|
(BT_FN_INT16_INT16_INT16): Likewise.
|
|
|
|
|
(BT_FN_INT_INT_INT): Likewise.
|
|
|
|
|
(BT_FN_UINT_FLOAT_UINT): Likewise.
|
|
|
|
|
(BT_FN_FLOAT_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_ULONG_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_ULONG_UINT_PTR): Likewise.
|
|
|
|
|
(BT_FN_ULONG_ULONG_ULONG): Likewise.
|
|
|
|
|
(BT_FN_UINT_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_VOID_UINT_PTR): Likewise.
|
|
|
|
|
(BT_FN_UINT_UINT_PTR: Likewise.
|
|
|
|
|
(BT_FN_UINT32_UINT64_PTR): Likewise.
|
|
|
|
|
(BT_FN_INT_INT_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_UINT_UINT_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_UINT_UINT_UINT_PTR): Likewise.
|
|
|
|
|
(BT_FN_UINT_ULONG_ULONG_UINT): Likewise.
|
|
|
|
|
(BT_FN_ULONG_ULONG_ULONG_ULONG): Likewise.
|
|
|
|
|
(BT_FN_LONG_LONG_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_ULONG_ULONG_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_VOID_UINT32_UINT64_PTR): Likewise.
|
|
|
|
|
(BT_FN_VOID_UINT32_UINT32_PTR): Likewise.
|
|
|
|
|
(BT_FN_UINT_UINT_UINT_UINT_UINT): Likewise.
|
|
|
|
|
(BT_FN_UINT_FLOAT_FLOAT_FLOAT_FLOAT): Likewise.
|
|
|
|
|
(BT_FN_ULONG_ULONG_ULONG_UINT_UINT): Likewise.
|
|
|
|
|
* doc/frontends.texi: List BRIG FE.
|
|
|
|
|
* doc/install.texi (Testing): Add BRIG tesring requirements.
|
|
|
|
|
* doc/invoke.texi (Overall Options): Mention BRIG.
|
|
|
|
|
* doc/standards.texi (Standards): Doucment BRIG HSA version.
|
|
|
|
|
|
2017-01-24 13:41:07 +01:00
|
|
|
|
2017-01-24 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR translation/79208
|
|
|
|
|
* ipa-devirt.c (odr_types_equivalent_p): Fix typo in diagnostic.
|
|
|
|
|
|
2017-01-24 11:04:21 +01:00
|
|
|
|
2017-01-24 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79198
|
|
|
|
|
* ipa-prop.c (ipa_free_all_node_params): Call summary destructor.
|
|
|
|
|
* ipa-prop.c (ipa_node_params_t::insert): Initialize fields known_csts
|
|
|
|
|
and known_contexts.
|
|
|
|
|
|
2017-01-24 10:50:33 +01:00
|
|
|
|
2017-01-24 Aldy Hernandez <aldyh@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/79123
|
|
|
|
|
* gimple-ssa-warn-alloca.c (alloca_call_type): Make sure
|
|
|
|
|
casts from signed to unsigned really don't have a range.
|
|
|
|
|
|
2017-01-24 10:32:16 +01:00
|
|
|
|
2017-01-24 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating): Change MPFR_RNDx to
|
|
|
|
|
GMP_RNDx for compatiblity.
|
|
|
|
|
|
2017-01-24 09:48:36 +01:00
|
|
|
|
2017-01-24 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79132
|
|
|
|
|
* tree-ssa-reassoc.c (rewrite_expr_tree_parallel): Insert assert
|
|
|
|
|
that would prevent us to call alloca with -1 as argument.
|
|
|
|
|
|
2017-01-24 09:24:57 +01:00
|
|
|
|
2017-01-24 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (output_compilation_unit_header, output_file_names):
|
|
|
|
|
Avoid -Wformat-security warning.
|
|
|
|
|
|
2017-01-24 03:17:33 +01:00
|
|
|
|
2017-01-23 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (thunderx2t99_addrcost_table): Improve
|
|
|
|
|
cost table.
|
|
|
|
|
|
2017-01-24 01:55:19 +01:00
|
|
|
|
2017-01-23 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
2017-01-24 02:10:10 +01:00
|
|
|
|
PR middle-end/78703
|
|
|
|
|
* gimple-ssa-sprintf.c (warn_level): New global.
|
|
|
|
|
(format_integer): Use it here and throughout the rest of the file.
|
|
|
|
|
Use the same switch to compute sign as base.
|
|
|
|
|
(maybe_warn): New function.
|
|
|
|
|
(format_directive): Factor out warnings into maybe_warn.
|
|
|
|
|
Add debugging output. Use warn_level.
|
|
|
|
|
(add_bytes): Use warn_level.
|
|
|
|
|
(pass_sprintf_length::compute_format_length): Add debugging output.
|
|
|
|
|
(try_substitute_return_value): Same.
|
|
|
|
|
(pass_sprintf_length::handle_gimple_call): Set and use warn_level.
|
|
|
|
|
|
2017-01-24 02:06:34 +01:00
|
|
|
|
PR middle-end/78703
|
|
|
|
|
* gimple-ssa-sprintf.c (struct format_result): Remove constant member.
|
|
|
|
|
(struct fmtresult, format_integer, format_floating): Adjust.
|
2017-01-24 02:22:59 +01:00
|
|
|
|
(fmtresult::fmtresult): Set max correctly in two argument ctor.
|
2017-01-24 02:06:34 +01:00
|
|
|
|
(get_string_length, format_string,format_directive): Same.
|
|
|
|
|
(pass_sprintf_length::compute_format_length): Same.
|
|
|
|
|
(try_substitute_return_value): Simplify slightly.
|
|
|
|
|
|
2017-01-24 01:55:19 +01:00
|
|
|
|
PR middle-end/78703
|
|
|
|
|
* gimple-ssa-sprintf.c (pass_sprintf_length::gate): Adjust formatting.
|
|
|
|
|
(fmtresult::operator+=): Outlined.
|
|
|
|
|
(struct fmtresult): Add ctors.
|
|
|
|
|
(struct conversion_spec): Rename...
|
|
|
|
|
(struct directive): ...to this. Add and remove data members.
|
|
|
|
|
(directive::set_width, directive::set_precision): New functions.
|
|
|
|
|
(format_percent): Use fmtresult ctor.
|
|
|
|
|
(get_width_and_precision): Remove.
|
|
|
|
|
(format_integer): Make naming changes. Avoid computing width and
|
|
|
|
|
precision.
|
|
|
|
|
(format_floating): Same. Adjust indentation.
|
|
|
|
|
(format_character, format_none): New functions.
|
|
|
|
|
(format_string): Moved character handling to format_character.
|
|
|
|
|
(format_directive): Remove arguments, change return type.
|
|
|
|
|
(parse_directive): New function.
|
|
|
|
|
(pass_sprintf_length::compute_format_length): Move directive
|
|
|
|
|
parsing to parse_directive.
|
|
|
|
|
|
2017-01-23 23:58:12 +01:00
|
|
|
|
2017-01-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tree.h (assign_assembler_name_if_neeeded): Rename to ...
|
|
|
|
|
(assign_assembler_name_if_needed): ... this.
|
|
|
|
|
* tree.c (assign_assembler_name_if_neeeded): Rename to ...
|
|
|
|
|
(assign_assembler_name_if_needed): ... this.
|
|
|
|
|
(free_lang_data_in_cgraph): Adjust callers.
|
|
|
|
|
* cgraphunit.c (cgraph_node::analyze): Likewise.
|
|
|
|
|
* omp-expand.c (expand_omp_taskreg, expand_omp_target):
|
|
|
|
|
Likewise.
|
|
|
|
|
|
2017-01-23 23:29:17 +01:00
|
|
|
|
2017-01-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79088
|
|
|
|
|
PR tree-optimization/79188
|
|
|
|
|
* tree-ssa-threadupdate.c (mark_threaded_blocks): Move code
|
|
|
|
|
resetting loop bounds after last path deletion. Reset loop
|
|
|
|
|
bounds of the target loop, make code match the comments.
|
|
|
|
|
* tree-ssa-threadbackwards.c (pass_early_thread_jumps::execute):
|
|
|
|
|
Make sure loops need no fixups.
|
|
|
|
|
|
scalar-insert-exp-3.c: New test.
gcc/testsuite/ChangeLog:
2017-01-23 Kelvin Nilsen <kelvin@gcc.gnu.org>
* gcc.target/powerpc/bfp/scalar-insert-exp-3.c: New test.
* gcc.target/powerpc/bfp/scalar-insert-exp-4.c: New test.
* gcc.target/powerpc/bfp/scalar-insert-exp-5.c: New test.
* gcc.target/powerpc/bfp/scalar-test-data-class-0.c: Adjust return
type of test function to reflect change in built-in function's
return type.
* gcc.target/powerpc/bfp/scalar-test-data-class-1.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-data-class-2.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-data-class-3.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-data-class-4.c: Adjust return
type and second argument type to reflect change in built-in
function's type signature.
* gcc.target/powerpc/bfp/scalar-test-data-class-5.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-data-class-6.c: Adjust return
type of test function to reflect change in built-in function's
return type.
* gcc.target/powerpc/bfp/scalar-test-data-class-7.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-neg-0.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-neg-1.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-neg-2.c: Likewise.
* gcc.target/powerpc/bfp/scalar-test-neg-3.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-exp-0.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-exp-1.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-exp-2.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-exp-3.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-sig-0.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-sig-1.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-sig-2.c: Likewise.
* gcc.target/powerpc/bfp/vec-extract-sig-3.c: Likewise.
* gcc.target/powerpc/bfp/vec-insert-exp-4.c: New test.
* gcc.target/powerpc/bfp/vec-insert-exp-5.c: New test.
* gcc.target/powerpc/bfp/vec-insert-exp-6.c: New test.
* gcc.target/powerpc/bfp/vec-insert-exp-7.c: New test.
* gcc.target/powerpc/bfp/vec-test-data-class-0.c: Adjust return
type of test function to reflect change in built-in function's
return type.
* gcc.target/powerpc/bfp/vec-test-data-class-1.c: Likewise.
* gcc.target/powerpc/bfp/vec-test-data-class-2.c: Likewise.
* gcc.target/powerpc/bfp/vec-test-data-class-3.c: Likewise.
* gcc.target/powerpc/bfp/vec-test-data-class-4.c: Likewise.
* gcc.target/powerpc/bfp/vec-test-data-class-5.c: Likewise.
* gcc.target/powerpc/bfp/vec-test-data-class-6.c: Adjust types of
test function's result and second argument to reflect change in
built-in function's type signature.
* gcc.target/powerpc/bfp/vec-test-data-class-7.c: Likewise.
gcc/ChangeLog:
2017-01-23 Kelvin Nilsen <kelvin@gcc.gnu.org>
* config/rs6000/rs6000-builtin.def (VSIEDPF): Add scalar insert
exponent support with double type for first argument.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Changed
type returned by __builtin_vec_extract_sig,
__builtin_vec_extract_sig_sp, and __builtin_vec_extract_sig_dp
functions from "vector int" to "vector unsigned int" or from
"vector long long int" to "vector unsigned long long int".
Changed type returned by __builtin_vec_extract_exp,
__builtin_vec_extract_exp_sp, and __builtin_vec_extract_exp_dp
functions from "vector int" to "vector unsigned int" or from
"vector long long int" to "vector unsigned long long int".
Changed return type of __builtin_vec_test_data_class,
__builtin_vec_test_data_class_sp, and
__builtin_vec_test_data_class_dp from "vector int" to
"vector bool int" or from "vector long long int" to "vector bool
long long int" and changed second argument type from "unsigned
int" to "int". Added new overloaded function forms "vector float
__builtin_vec_insert_exp (vector float, vector unsigned int)" and
"vector float __builtin_vec_insert_exp_sp (vector float, vector
unsigned int)" and "vector double __builtin_vec_insert_exp (vector
double, vector unsigned long long int)" and "vector double
__builtin_vec_insert_exp_dp (vector double, vector unsigned long
long int)". Changed return type of
__builtin_scalar_test_data_class and
__builtin_scalar_test_data_class_sp and
__builtin_scalar_test_data_class_dp from "unsigned int" to "bool
int" and changed second argument from "unsigned int" to "int".
Changed type returned by __builtin_scalar_test_neg,
__builtin_scalar_test_neg_sp, and __builtin_scalar_test_neg_dp
from "int" to "bool int". Added new overloaded function form
"double __builtin_scalar_insert_exp (double, unsigned long long int)".
* config/rs6000/vsx.md (xsiexpdpf): New insn for scalar insert
exponent double-precision with floating point first argument.
* doc/extend.texi (PowerPC AltiVec Built-in Functions): Adjust
documentation of scalar_test_data_class, scalar_test_neg,
scalar_extract_sig, scalar_extract_exp, scalar_insert_exp,
vector_extract_exp, vec_extract_sig, vec_insert_exp, and
vec_test_data_class built-in functions to reflect refinements in
their type signatures.
From-SVN: r244834
2017-01-23 22:56:58 +01:00
|
|
|
|
2017-01-23 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (VSIEDPF): Add scalar insert
|
|
|
|
|
exponent support with double type for first argument.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Changed
|
|
|
|
|
type returned by __builtin_vec_extract_sig,
|
|
|
|
|
__builtin_vec_extract_sig_sp, and __builtin_vec_extract_sig_dp
|
|
|
|
|
functions from "vector int" to "vector unsigned int" or from
|
|
|
|
|
"vector long long int" to "vector unsigned long long int".
|
|
|
|
|
Changed type returned by __builtin_vec_extract_exp,
|
|
|
|
|
__builtin_vec_extract_exp_sp, and __builtin_vec_extract_exp_dp
|
|
|
|
|
functions from "vector int" to "vector unsigned int" or from
|
|
|
|
|
"vector long long int" to "vector unsigned long long int".
|
|
|
|
|
Changed return type of __builtin_vec_test_data_class,
|
|
|
|
|
__builtin_vec_test_data_class_sp, and
|
|
|
|
|
__builtin_vec_test_data_class_dp from "vector int" to
|
|
|
|
|
"vector bool int" or from "vector long long int" to "vector bool
|
|
|
|
|
long long int" and changed second argument type from "unsigned
|
|
|
|
|
int" to "int". Added new overloaded function forms "vector float
|
|
|
|
|
__builtin_vec_insert_exp (vector float, vector unsigned int)" and
|
|
|
|
|
"vector float __builtin_vec_insert_exp_sp (vector float, vector
|
|
|
|
|
unsigned int)" and "vector double __builtin_vec_insert_exp (vector
|
|
|
|
|
double, vector unsigned long long int)" and "vector double
|
|
|
|
|
__builtin_vec_insert_exp_dp (vector double, vector unsigned long
|
|
|
|
|
long int)". Changed return type of
|
|
|
|
|
__builtin_scalar_test_data_class and
|
|
|
|
|
__builtin_scalar_test_data_class_sp and
|
|
|
|
|
__builtin_scalar_test_data_class_dp from "unsigned int" to "bool
|
|
|
|
|
int" and changed second argument from "unsigned int" to "int".
|
|
|
|
|
Changed type returned by __builtin_scalar_test_neg,
|
|
|
|
|
__builtin_scalar_test_neg_sp, and __builtin_scalar_test_neg_dp
|
|
|
|
|
from "int" to "bool int". Added new overloaded function form
|
|
|
|
|
"double __builtin_scalar_insert_exp (double, unsigned long long int)".
|
|
|
|
|
* config/rs6000/vsx.md (xsiexpdpf): New insn for scalar insert
|
|
|
|
|
exponent double-precision with floating point first argument.
|
|
|
|
|
* doc/extend.texi (PowerPC AltiVec Built-in Functions): Adjust
|
|
|
|
|
documentation of scalar_test_data_class, scalar_test_neg,
|
|
|
|
|
scalar_extract_sig, scalar_extract_exp, scalar_insert_exp,
|
|
|
|
|
vector_extract_exp, vec_extract_sig, vec_insert_exp, and
|
|
|
|
|
vec_test_data_class built-in functions to reflect refinements in
|
|
|
|
|
their type signatures.
|
|
|
|
|
|
2017-01-23 20:35:50 +01:00
|
|
|
|
2017-01-23 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_elf_asm_constructor): Increase
|
|
|
|
|
size of buf.
|
|
|
|
|
(aarch64_elf_asm_destructor): Likewise.
|
|
|
|
|
|
2017-01-23 17:17:33 +01:00
|
|
|
|
2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78634
|
|
|
|
|
* config/i386/i386.c (ix86_max_noce_ifcvt_seq_cost): New function.
|
|
|
|
|
(TARGET_MAX_NOCE_IFCVT_SEQ_COST): Define.
|
|
|
|
|
* ifcvt.c (noce_try_cmove): Add missing cost check.
|
|
|
|
|
|
2017-01-23 17:30:55 +01:00
|
|
|
|
PR rtl-optimization/71724
|
|
|
|
|
* combine.c (if_then_else_cond): Look for situations where it is
|
|
|
|
|
beneficial to undo the work of one of the recursive calls.
|
|
|
|
|
|
2017-01-23 16:59:19 +01:00
|
|
|
|
2017-01-23 Bin Cheng <bin.cheng@arm.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/70754
|
|
|
|
|
* tree-predcom.c (stmt_combining_refs): New parameter INSERT_BEFORE.
|
|
|
|
|
(reassociate_to_the_same_stmt): New parameter INSERT_BEFORE. Insert
|
|
|
|
|
combined stmt before it if not NULL.
|
|
|
|
|
(combine_chains): Process refs reversely and compute dominance point
|
|
|
|
|
for root ref.
|
|
|
|
|
|
2017-01-23 15:57:43 +01:00
|
|
|
|
2017-01-23 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79196
|
|
|
|
|
* tree-ssa-strlen.c (fold_strstr_to_memcmp): Rename to ...
|
|
|
|
|
(fold_strstr_to_strncmp): ... this. Fold the pattern to strncmp
|
|
|
|
|
instead of memcmp.
|
|
|
|
|
(strlen_optimize_stmt): Call the renamed function.
|
|
|
|
|
|
2017-01-23 14:57:31 +01:00
|
|
|
|
2017-01-23 Michael Matz <matz@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78384
|
|
|
|
|
* tree-ssa-loop-split.c (patch_loop_exit): Use correct edge.
|
|
|
|
|
|
2017-01-23 14:08:44 +01:00
|
|
|
|
2017-01-23 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79186
|
|
|
|
|
* tree-vrp.c (register_new_assert_for): Make sure we've seen
|
|
|
|
|
both incoming edges before moving an assert.
|
|
|
|
|
|
2017-01-23 14:05:00 +01:00
|
|
|
|
2017-01-23 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-prop.c (load_from_param_1): Removed.
|
|
|
|
|
(load_from_unmodified_param): Bits from load_from_param_1 put back
|
|
|
|
|
here.
|
|
|
|
|
(load_from_param): Removed.
|
|
|
|
|
(compute_complex_assign_jump_func): Removed stmt2 and just replaced it
|
|
|
|
|
with stmt. Reverted back to use of load_from_unmodified_param.
|
|
|
|
|
|
2017-01-23 14:01:31 +01:00
|
|
|
|
2017-01-23 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79108
|
|
|
|
|
* ipa-prop.h (ipa_param_descriptor): Anotate with with GTY(()).
|
|
|
|
|
(ipa_node_params): Annotate with GTY((for_user)). Make descriptors
|
|
|
|
|
field a pointer to garbage collected vector, mark lattices and
|
|
|
|
|
ipcp_orig_node with GTY((skip)).
|
|
|
|
|
(ipa_get_param_count): Adjust to descriptors being a pointer.
|
|
|
|
|
(ipa_get_param): Likewise.
|
|
|
|
|
(ipa_get_type): Likewise.
|
|
|
|
|
(ipa_get_param_move_cost): Likewise.
|
|
|
|
|
(ipa_set_param_used): Likewise.
|
|
|
|
|
(ipa_get_controlled_uses): Likewise.
|
|
|
|
|
(ipa_set_controlled_uses): Likewise.
|
|
|
|
|
(ipa_is_param_used): Likewise.
|
|
|
|
|
(ipa_node_params_t): Move into garbage collector. New methods insert
|
|
|
|
|
and remove.
|
|
|
|
|
(ipa_node_params_sum): Annotate wth GTY(()).
|
|
|
|
|
(ipa_check_create_node_params): Adjust to ipa_node_params_sum being
|
|
|
|
|
garbage collected.
|
|
|
|
|
(ipa_load_from_parm_agg): Adjust declaration.
|
|
|
|
|
* ipa-icf.c (param_used_p): Adjust to descriptors being a pointer.
|
|
|
|
|
* ipa-profile.c (ipa_profile): Likewise.
|
|
|
|
|
* ipa-prop.c (ipa_get_param_decl_index_1): Likewise.
|
|
|
|
|
(ipa_populate_param_decls): Make descriptors parameter garbage
|
|
|
|
|
collected.
|
|
|
|
|
(ipa_dump_param): Adjust to descriptors being a pointer.
|
|
|
|
|
(ipa_alloc_node_params): Likewise.
|
|
|
|
|
(ipa_initialize_node_params): Likewise.
|
|
|
|
|
(load_from_param_1): Make descriptors parameter garbage collected.
|
|
|
|
|
(load_from_unmodified_param): Likewise.
|
|
|
|
|
(load_from_param): Likewise.
|
|
|
|
|
(ipa_load_from_parm_agg): Likewise.
|
|
|
|
|
(ipa_node_params::~ipa_node_params): Removed.
|
|
|
|
|
(ipa_free_all_node_params): Remove call to delete operator.
|
|
|
|
|
(ipa_node_params_t::insert): New.
|
|
|
|
|
(ipa_node_params_t::remove): Likewise.
|
|
|
|
|
(ipa_node_params_t::duplicate): Adjust to descriptors being a pointer,
|
|
|
|
|
copy known_csts and known_contexts vectors.
|
|
|
|
|
(ipa_read_node_info): Adjust to descriptors being a pointer.
|
|
|
|
|
(ipcp_modif_dom_walker): Make m_descriptors field garbage
|
|
|
|
|
collected.
|
|
|
|
|
(ipcp_transform_function): Make descriptors variable garbage
|
|
|
|
|
collected.
|
|
|
|
|
|
2017-01-23 13:52:39 +01:00
|
|
|
|
2017-01-23 Andrew Senkevich <andrew.senkevich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/avx512bwintrin.h: Add k-mask test, kortest intrinsics.
|
|
|
|
|
* config/i386/avx512dqintrin.h: Ditto.
|
|
|
|
|
* config/i386/avx512fintrin.h: Ditto.
|
|
|
|
|
* gcc/config/i386/i386.c: Handle new builtins.
|
|
|
|
|
* config/i386/i386-builtin.def: Add new builtins.
|
|
|
|
|
* config/i386/sse.md (ktest<mode>, kortest<mode>): New.
|
|
|
|
|
(UNSPEC_KORTEST, UNSPEC_KTEST): New.
|
|
|
|
|
|
2017-01-23 13:06:13 +01:00
|
|
|
|
2017-01-23 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* asan.h: Define ASAN_USE_AFTER_SCOPE_ATTRIBUTE.
|
|
|
|
|
* asan.c (asan_expand_poison_ifn): Support stores and use
|
|
|
|
|
appropriate ASAN report function.
|
|
|
|
|
* internal-fn.c (expand_ASAN_POISON_USE): New function.
|
|
|
|
|
* internal-fn.def (ASAN_POISON_USE): Declare.
|
|
|
|
|
* tree-into-ssa.c (maybe_add_asan_poison_write): New function.
|
|
|
|
|
(maybe_register_def): Create ASAN_POISON_USE when sanitizing.
|
|
|
|
|
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Remove
|
|
|
|
|
ASAN_POISON calls w/o LHS.
|
|
|
|
|
* tree-ssa.c (execute_update_addresses_taken): Create clobber
|
|
|
|
|
for ASAN_MARK (UNPOISON, &x, ...) in order to prevent usage of a LHS
|
|
|
|
|
from ASAN_MARK (POISON, &x, ...) coming to a PHI node.
|
|
|
|
|
* gimplify.c (asan_poison_variables): Add attribute
|
|
|
|
|
use_after_scope_memory to variables that really needs to live
|
|
|
|
|
in memory.
|
|
|
|
|
* tree-ssa.c (is_asan_mark_p): Do not rewrite into SSA when
|
|
|
|
|
having the attribute.
|
|
|
|
|
|
2017-01-23 13:02:13 +01:00
|
|
|
|
2017-01-23 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* asan.c (create_asan_shadow_var): New function.
|
|
|
|
|
(asan_expand_poison_ifn): Likewise.
|
|
|
|
|
* asan.h (asan_expand_poison_ifn): New declaration.
|
|
|
|
|
* internal-fn.c (expand_ASAN_POISON): Likewise.
|
|
|
|
|
* internal-fn.def (ASAN_POISON): New builtin.
|
|
|
|
|
* sanopt.c (pass_sanopt::execute): Expand
|
|
|
|
|
asan_expand_poison_ifn.
|
|
|
|
|
* tree-inline.c (copy_decl_for_dup_finish): Make function
|
|
|
|
|
external.
|
|
|
|
|
* tree-inline.h (copy_decl_for_dup_finish): Likewise.
|
|
|
|
|
* tree-ssa.c (is_asan_mark_p): New function.
|
|
|
|
|
(execute_update_addresses_taken): Rewrite local variables
|
|
|
|
|
(identified just by use-after-scope as addressable) into SSA.
|
|
|
|
|
|
2017-01-22 16:52:02 +01:00
|
|
|
|
2017-01-22 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
2017-01-22 21:29:34 +01:00
|
|
|
|
* doc/install.texi (Specific): opensource.apple.com uses https
|
|
|
|
|
now. Remove trailing slash.
|
|
|
|
|
|
|
|
|
|
2017-01-22 Gerald Pfeifer <gerald@pfeifer.com>
|
2017-01-23 13:52:39 +01:00
|
|
|
|
|
2017-01-22 16:52:02 +01:00
|
|
|
|
* README.Portability: Remove note on an Irix compatibility issue.
|
|
|
|
|
|
2017-01-22 16:48:21 +01:00
|
|
|
|
2017-01-22 Dimitry Andric <dim@FreeBSD.org>
|
|
|
|
|
|
|
|
|
|
* gcov.c (INCLUDE_ALGORITHM): Define.
|
|
|
|
|
(INCLUDE_VECTOR): Define.
|
|
|
|
|
No longer include <vector> and <algorithm> directly.
|
2017-01-23 13:52:39 +01:00
|
|
|
|
|
2017-01-21 22:53:32 +01:00
|
|
|
|
2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi (Thread-Local): Change www.akkadia.org reference
|
|
|
|
|
to https.
|
|
|
|
|
* doc/invoke.texi (Code Gen Options): Ditto.
|
|
|
|
|
|
2017-01-21 20:36:01 +01:00
|
|
|
|
2017-01-21 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/78407
|
|
|
|
|
* cfg.c (update_bb_profile_for_threading): Fix updating of probablity.
|
|
|
|
|
|
2017-01-21 08:23:47 +01:00
|
|
|
|
2017-01-21 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
rtl-optimization/79125
|
|
|
|
|
* cprop.c (local_cprop_pass): Handle cases where we make an
|
|
|
|
|
unconditional trap.
|
|
|
|
|
|
2017-01-21 04:11:49 +01:00
|
|
|
|
2017-01-20 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/61729
|
|
|
|
|
PR target/77850
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust address to
|
|
|
|
|
read from, for big endian.
|
|
|
|
|
|
2017-01-20 22:03:41 +01:00
|
|
|
|
2017-01-20 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-builtins.c (aarch64_init_builtins): Register
|
|
|
|
|
register pauth builtins for LP64 only.
|
|
|
|
|
|
2017-01-20 17:28:16 +01:00
|
|
|
|
2017-01-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/79152
|
|
|
|
|
* gimplify.c (should_warn_for_implicit_fallthrough): Handle consecutive
|
|
|
|
|
non-case labels.
|
|
|
|
|
|
2017-01-20 15:38:18 +01:00
|
|
|
|
2017-01-20 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* omp-expand.c (expand_omp_simd): Clear PROP_gimple_lomp_dev regardless
|
|
|
|
|
of safelen status.
|
|
|
|
|
* omp-offload.c (pass_omp_device_lower::gate): Use PROP_gimple_lomp_dev.
|
|
|
|
|
* passes.c (dump_properties): Handle PROP_gimple_lomp_dev.
|
|
|
|
|
* tree-inline.c (expand_call_inline): Propagate PROP_gimple_lomp_dev.
|
|
|
|
|
|
2017-01-20 15:36:57 +01:00
|
|
|
|
2017-01-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/71270
|
|
|
|
|
* config/arm/arm.c (neon_valid_immediate): Reject vector constants
|
|
|
|
|
in big-endian mode when they are not a single duplicated value.
|
|
|
|
|
|
2017-01-20 15:05:48 +01:00
|
|
|
|
2017-01-20 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* BASE-VER: Bump to 7.0.1.
|
|
|
|
|
|
2017-01-20 15:04:06 +01:00
|
|
|
|
2017-01-20 Alexander Monakov <amonakov@ispras.ru>
|
|
|
|
|
|
|
|
|
|
* omp-low.c (omplow_simd_context): New struct. Use it...
|
|
|
|
|
(lower_rec_simd_input_clauses): ...here and...
|
|
|
|
|
(lower_rec_input_clauses): ...here to hold common data. Adjust all
|
|
|
|
|
references to idx, lane, max_vf, is_simt.
|
|
|
|
|
|
2017-01-20 14:37:28 +01:00
|
|
|
|
2017-01-20 Graham Markall <graham.markall@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when
|
|
|
|
|
mcpu=nps400.
|
|
|
|
|
|
2017-01-20 14:33:29 +01:00
|
|
|
|
2017-01-20 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
2017-01-20 15:04:06 +01:00
|
|
|
|
* hsa.h: Renaed to hsa-common.h. Adjusted a comment.
|
|
|
|
|
* hsa.c: Renaed to hsa-common.c. Change include of gt-hsa.h to
|
|
|
|
|
gt-hsa-common.h.
|
|
|
|
|
* Makefile.in (OBJS): Rename hsa.o to hsa-common.o.
|
|
|
|
|
(GTFILES): Rename hsa.c to hsa-common.c.
|
|
|
|
|
* hsa-brig.c: Change include of hsa.h to hsa-common.h.
|
|
|
|
|
* hsa-dump.c: Likewise.
|
|
|
|
|
* hsa-gen.c: Likewise.
|
|
|
|
|
* hsa-regalloc.c: Likewise.
|
|
|
|
|
* ipa-hsa.c: Likewise.
|
|
|
|
|
* omp-expand.c: Likewise.
|
|
|
|
|
* omp-low.c: Likewise.
|
|
|
|
|
* toplev.c: Likewise.
|
2017-01-20 14:33:29 +01:00
|
|
|
|
|
re PR c/64279 (Warning missing for "(cond) ? A : A" / if(cond) expr1; else expr1; // same expression in if and else branch)
PR c/64279
* c-common.h (do_warn_duplicated_branches_r): Declare.
* c-gimplify.c (c_genericize): Walk the function tree calling
do_warn_duplicated_branches_r.
* c-warn.c (expr_from_macro_expansion_r): New.
(do_warn_duplicated_branches): New.
(do_warn_duplicated_branches_r): New.
* c.opt (Wduplicated-branches): New option.
* c-typeck.c (build_conditional_expr): Warn about duplicated branches.
* call.c (build_conditional_expr_1): Warn about duplicated branches.
* semantics.c (finish_expr_stmt): Build statement using the proper
location.
* doc/invoke.texi: Document -Wduplicated-branches.
* fold-const.c (operand_equal_p): Handle MODIFY_EXPR, INIT_EXPR,
COMPOUND_EXPR, PREDECREMENT_EXPR, PREINCREMENT_EXPR,
POSTDECREMENT_EXPR, POSTINCREMENT_EXPR, CLEANUP_POINT_EXPR, EXPR_STMT,
STATEMENT_LIST, and RETURN_EXPR. For non-pure non-const functions
return 0 only when not OEP_LEXICOGRAPHIC.
(fold_build_cleanup_point_expr): Use the expression
location when building CLEANUP_POINT_EXPR.
* tree-core.h (enum operand_equal_flag): Add OEP_LEXICOGRAPHIC.
* tree.c (add_expr): Handle error_mark_node.
* c-c++-common/Wduplicated-branches-1.c: New test.
* c-c++-common/Wduplicated-branches-10.c: New test.
* c-c++-common/Wduplicated-branches-11.c: New test.
* c-c++-common/Wduplicated-branches-12.c: New test.
* c-c++-common/Wduplicated-branches-2.c: New test.
* c-c++-common/Wduplicated-branches-3.c: New test.
* c-c++-common/Wduplicated-branches-4.c: New test.
* c-c++-common/Wduplicated-branches-5.c: New test.
* c-c++-common/Wduplicated-branches-6.c: New test.
* c-c++-common/Wduplicated-branches-7.c: New test.
* c-c++-common/Wduplicated-branches-8.c: New test.
* c-c++-common/Wduplicated-branches-9.c: New test.
* c-c++-common/Wimplicit-fallthrough-7.c: Coalesce dg-warning.
* g++.dg/cpp0x/lambda/lambda-switch.C: Move dg-warning.
* g++.dg/ext/builtin-object-size3.C: Likewise.
* g++.dg/gomp/loop-1.C: Likewise.
* g++.dg/warn/Wduplicated-branches1.C: New test.
* g++.dg/warn/Wduplicated-branches2.C: New test.
From-SVN: r244705
2017-01-20 13:02:50 +01:00
|
|
|
|
2017-01-20 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/64279
|
|
|
|
|
* doc/invoke.texi: Document -Wduplicated-branches.
|
|
|
|
|
* fold-const.c (operand_equal_p): Handle MODIFY_EXPR, INIT_EXPR,
|
|
|
|
|
COMPOUND_EXPR, PREDECREMENT_EXPR, PREINCREMENT_EXPR,
|
|
|
|
|
POSTDECREMENT_EXPR, POSTINCREMENT_EXPR, CLEANUP_POINT_EXPR, EXPR_STMT,
|
|
|
|
|
STATEMENT_LIST, and RETURN_EXPR. For non-pure non-const functions
|
|
|
|
|
return 0 only when not OEP_LEXICOGRAPHIC.
|
|
|
|
|
(fold_build_cleanup_point_expr): Use the expression
|
|
|
|
|
location when building CLEANUP_POINT_EXPR.
|
|
|
|
|
* tree-core.h (enum operand_equal_flag): Add OEP_LEXICOGRAPHIC.
|
|
|
|
|
* tree.c (add_expr): Handle error_mark_node.
|
|
|
|
|
|
2017-01-20 10:45:04 +01:00
|
|
|
|
2017-01-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/69188
|
|
|
|
|
* tree-profile.c (init_ic_make_global_vars): Do not call
|
|
|
|
|
finalize_decl.
|
|
|
|
|
(gimple_init_gcov_profiler): Likewise.
|
|
|
|
|
|
2017-01-20 09:44:35 +01:00
|
|
|
|
2017-01-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/71190
|
|
|
|
|
* cgraph.h (maybe_create_reference): Remove argument and
|
|
|
|
|
update comment.
|
|
|
|
|
* cgraphclones.c (cgraph_node::create_virtual_clone): Remove one
|
|
|
|
|
argument.
|
|
|
|
|
* ipa-cp.c (create_specialized_node): Likewise.
|
|
|
|
|
* symtab.c (symtab_node::maybe_create_reference): Handle
|
|
|
|
|
VAR_DECLs and ADDR_EXPRs and select ipa_ref_use type.
|
|
|
|
|
|
2017-01-20 09:41:22 +01:00
|
|
|
|
2017-01-20 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* read-rtl-function.c (function_reader::create_function): Use
|
|
|
|
|
build_decl instread of build_decl_stat.
|
|
|
|
|
|
2017-01-20 09:37:13 +01:00
|
|
|
|
2017-01-20 Andrew Senkevich <andrew.senkevich@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/avx512bwintrin.h: Add k-mask registers shift intrinsics.
|
|
|
|
|
* config/i386/avx512dqintrin.h: Ditto.
|
|
|
|
|
* config/i386/avx512fintrin.h: Ditto.
|
|
|
|
|
* config/i386/i386-builtin-types.def: Add new types.
|
|
|
|
|
* gcc/config/i386/i386.c: Handle new types.
|
|
|
|
|
* config/i386/i386-builtin.def (__builtin_ia32_kshiftliqi)
|
|
|
|
|
(__builtin_ia32_kshiftlihi, __builtin_ia32_kshiftlisi)
|
|
|
|
|
(__builtin_ia32_kshiftlidi, __builtin_ia32_kshiftriqi)
|
|
|
|
|
(__builtin_ia32_kshiftrihi, __builtin_ia32_kshiftrisi)
|
|
|
|
|
(__builtin_ia32_kshiftridi): New.
|
|
|
|
|
* config/i386/sse.md (k<code><mode>): Rename *k<code><mode>.
|
|
|
|
|
|
2017-01-20 02:22:27 +01:00
|
|
|
|
2017-01-19 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/78875
|
|
|
|
|
PR target/79140
|
|
|
|
|
* config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Unconditionally
|
|
|
|
|
define to rs6000_init_stack_protect_guard.
|
|
|
|
|
(rs6000_init_stack_protect_guard): New function.
|
|
|
|
|
|
2017-01-20 02:05:25 +01:00
|
|
|
|
2017-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
Yunqiang Su <yunqiang.su@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc (supported_defaults): Add madd4.
|
|
|
|
|
(with_madd4): Add validation.
|
|
|
|
|
(all_defaults): Add madd4.
|
|
|
|
|
* config/mips/mips.opt (mmadd4): New option.
|
|
|
|
|
* gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
|
|
|
|
|
mmadd4.
|
|
|
|
|
(TARGET_CPU_CPP_BUILTINS): Add builtin_define for
|
|
|
|
|
__mips_no_madd4.
|
|
|
|
|
(ISA_HAS_UNFUSED_MADD4): Gate with mips_madd4.
|
|
|
|
|
(ISA_HAS_FUSED_MADD4): Likewise.
|
|
|
|
|
* gcc/doc/invoke.texi (-mmadd4): Document the new option.
|
|
|
|
|
* gcc/doc/install.texi (--with-madd4): Document the new option.
|
|
|
|
|
|
2017-01-20 01:10:11 +01:00
|
|
|
|
2017-01-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-builtins.c (enum aarch64_builtins): New
|
|
|
|
|
entries for AARCH64_PAUTH_BUILTIN_XPACLRI,
|
|
|
|
|
AARCH64_PAUTH_BUILTIN_PACIA1716, AARCH64_PAUTH_BUILTIN_AUTIA1716.
|
|
|
|
|
(aarch64_init_pauth_hint_builtins): New.
|
|
|
|
|
(aarch64_init_builtins): Call aarch64_init_pauth_hint_builtins.
|
|
|
|
|
(aarch64_expand_builtin): Expand new builtins.
|
|
|
|
|
|
2017-01-20 01:05:30 +01:00
|
|
|
|
2017-01-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* reg-notes.def (CFA_TOGGLE_RA_MANGLE): New reg-note.
|
|
|
|
|
* combine-stack-adj.c (no_unhandled_cfa): Handle
|
|
|
|
|
REG_CFA_TOGGLE_RA_MANGLE.
|
|
|
|
|
* dwarf2cfi.c (dwarf2out_frame_debug): Handle REG_CFA_TOGGLE_RA_MANGLE.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_expand_prologue): Generates DWARF
|
|
|
|
|
info for return address signing.
|
|
|
|
|
(aarch64_expand_epilogue): Likewise.
|
|
|
|
|
|
2017-01-20 01:03:20 +01:00
|
|
|
|
2017-01-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-opts.h (aarch64_function_type): New enum.
|
|
|
|
|
* config/aarch64/aarch64-protos.h
|
|
|
|
|
(aarch64_return_address_signing_enabled): New declaration.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_return_address_signing_enabled):
|
|
|
|
|
New function.
|
|
|
|
|
(aarch64_expand_prologue): Sign return address before it's pushed onto
|
|
|
|
|
stack.
|
|
|
|
|
(aarch64_expand_epilogue): Authenticate return address fetched from
|
|
|
|
|
stack.
|
|
|
|
|
(aarch64_override_options): Sanity check for ILP32 and ISA level.
|
|
|
|
|
(aarch64_attributes): New function attributes for "sign-return-address".
|
|
|
|
|
* config/aarch64/aarch64.md (UNSPEC_AUTI1716, UNSPEC_AUTISP,
|
|
|
|
|
UNSPEC_PACI1716, UNSPEC_PACISP, UNSPEC_XPACLRI): New unspecs.
|
|
|
|
|
("*do_return"): Generate combined instructions according to key index.
|
|
|
|
|
("<pauth_mnem_prefix>sp", "<pauth_mnem_prefix1716", "xpaclri"): New.
|
|
|
|
|
* config/aarch64/iterators.md (PAUTH_LR_SP, PAUTH_17_16): New integer
|
|
|
|
|
iterators.
|
|
|
|
|
(pauth_mnem_prefix, pauth_hint_num_a): New integer attributes.
|
|
|
|
|
* config/aarch64/aarch64.opt (msign-return-address=): New.
|
|
|
|
|
* doc/extend.texi (AArch64 Function Attributes): Documents
|
|
|
|
|
"sign-return-address=".
|
|
|
|
|
* doc/invoke.texi (AArch64 Options): Documents "-msign-return-address=".
|
|
|
|
|
|
2017-01-20 00:58:10 +01:00
|
|
|
|
2017-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi: Add missing -mlxc1-sxc1 options to
|
|
|
|
|
overall option summary.
|
|
|
|
|
|
2017-01-20 00:51:49 +01:00
|
|
|
|
2017-01-19 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-arches.def: New entry for "armv8.3-a".
|
|
|
|
|
* config/aarch64/aarch64.h (AARCH64_FL_V8_3, AARCH64_FL_FOR_ARCH8_3,
|
|
|
|
|
AARCH64_ISA_V8_3, TARGET_ARMV8_3): New.
|
|
|
|
|
* doc/invoke.texi (AArch64 Options): Document "armv8.3-a".
|
|
|
|
|
|
2017-01-20 00:31:20 +01:00
|
|
|
|
2017-01-19 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Enable
|
|
|
|
|
-mpower9-minmax by default for -mcpu=power9.
|
|
|
|
|
(ISA_3_MASKS_IEEE): Require -mvsx-small-integer to enable IEEE
|
|
|
|
|
128-bit floating point.
|
|
|
|
|
|
2017-01-20 00:21:53 +01:00
|
|
|
|
2017-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.md (cmpstrnsi, cmpstrsi): Fail if
|
|
|
|
|
optimizing for size.
|
|
|
|
|
|
2017-01-20 00:19:19 +01:00
|
|
|
|
2017-01-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79144
|
|
|
|
|
* config/rs6000/rs6000.c (expand_strn_compare): Get the asm name
|
|
|
|
|
for strcmp and strncmp from corresponding builtin decl.
|
|
|
|
|
|
2017-01-19 23:00:17 +01:00
|
|
|
|
2017-01-19 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc (x86_64-*-rtems*): Use i386/rtemself.h
|
|
|
|
|
instead of i386/rtems-64.h.
|
|
|
|
|
* config/i386/rtems-64.h: Remove.
|
|
|
|
|
|
2017-01-19 22:38:44 +01:00
|
|
|
|
2017-01-19 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/78478
|
|
|
|
|
Revert:
|
|
|
|
|
2013-11-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/rtemself.h (LONG_DOUBLE_TYPE_SIZE): New define.
|
|
|
|
|
|
2017-01-19 19:30:44 +01:00
|
|
|
|
2017-01-19 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_simd_gen_const_vector_dup):
|
|
|
|
|
Change int to HOST_WIDE_INT.
|
|
|
|
|
* config/aarch64/aarch64-protos.h
|
|
|
|
|
(aarch64_simd_gen_const_vector_dup): Likewise.
|
|
|
|
|
* config/aarch64/aarch64-simd.md: Add copysign<mode>3.
|
|
|
|
|
|
2017-01-19 18:27:54 +01:00
|
|
|
|
2017-01-19 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* langhooks-def.h (lhd_type_for_size): New decl.
|
|
|
|
|
(LANG_HOOKS_TYPE_FOR_SIZE): Define as lhd_type_for_size.
|
|
|
|
|
* langhooks.c (lhd_type_for_size): New function, taken from
|
|
|
|
|
lto_type_for_size.
|
|
|
|
|
|
2017-01-19 18:11:34 +01:00
|
|
|
|
2017-01-19 Pat Haugen <pthaugen@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/power9.md (power9-alu): Remove 'cmp' type and add
|
|
|
|
|
define_bypass for CR latency.
|
|
|
|
|
(power9-cracked-alu): Update bypass latency and remove power9-branch.
|
|
|
|
|
(power9-alu2): Add define_bypass for CR latency.
|
|
|
|
|
(power9-cmp): New.
|
|
|
|
|
(power9-mul): Update insn latency.
|
|
|
|
|
(power9-mul-compare): Update insn latency, bypass latency and remove
|
|
|
|
|
power9-branch.
|
|
|
|
|
|
2017-01-19 17:59:43 +01:00
|
|
|
|
2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-protos.h (aarch64_nopcrelative_literal_loads):
|
|
|
|
|
Delete.
|
|
|
|
|
* config/aarch64/aarch64.md
|
|
|
|
|
(aarch64_reload_movcp<GPF_TF:mode><P:mode>): Delete reference to
|
|
|
|
|
aarch64_nopcrelative_literal_loads.
|
|
|
|
|
(aarch64_reload_movcp<VALL:mode><P:mode>): Likewise.
|
|
|
|
|
|
2017-01-19 17:26:32 +01:00
|
|
|
|
2017-01-19 Chenghua Xu <paul.hua.gm@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.h (ISA_HAS_FUSED_MADD4): Enable for
|
|
|
|
|
TARGET_LOONGSON_3A.
|
|
|
|
|
(ISA_HAS_UNFUSED_MADD4): Exclude TARGET_LOONGSON_3A.
|
|
|
|
|
|
2017-01-19 17:05:59 +01:00
|
|
|
|
2017-01-19 Doug Gilmore <doug.gilmore@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR target/78176
|
|
|
|
|
* config.gcc (supported_defaults): Add lxc1-sxc1.
|
|
|
|
|
(with_lxc1_sxc1): Add validation.
|
|
|
|
|
(all_defaults): Add lxc1-sxc1.
|
|
|
|
|
* config/mips/mips.opt (mlxc1-sxc1): New option.
|
|
|
|
|
* gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
|
|
|
|
|
mlxc1-sxc1.
|
|
|
|
|
(TARGET_CPU_CPP_BUILTINS): Add builtin_define for
|
|
|
|
|
__mips_no_lxc1_sxc1.
|
|
|
|
|
(ISA_HAS_LXC1_SXC1): Gate with mips_lxc1_sxc1.
|
|
|
|
|
* gcc/doc/invoke.texi (-mlxc1-sxc1): Document the new option.
|
|
|
|
|
* doc/install.texi (--with-lxc1-sxc1): Document the new option.
|
|
|
|
|
|
2017-01-19 13:00:42 +01:00
|
|
|
|
2017-01-19 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/72488
|
|
|
|
|
* tree-ssa-sccvn.c (run_scc_vn): When we abort the VN make
|
|
|
|
|
sure to restore SSA info.
|
|
|
|
|
* tree-ssa.c (verify_ssa): Verify SSA info is not shared.
|
|
|
|
|
|
2017-01-19 11:35:38 +01:00
|
|
|
|
2017-01-19 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79121
|
|
|
|
|
* expr.c (expand_expr_real_2, case LSHIFT_EXPR): Look at the signedness
|
|
|
|
|
of the inner type when shifting an extended value.
|
|
|
|
|
|
2017-01-19 11:00:56 +01:00
|
|
|
|
2017-01-17 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR lto/78407
|
|
|
|
|
* symtab.c (symtab_node::equal_address_to): Fix comparing of
|
|
|
|
|
interposable aliases.
|
|
|
|
|
|
2017-01-19 03:23:35 +01:00
|
|
|
|
2017-01-18 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/78516
|
|
|
|
|
* config/rs6000/spe.md (mov_si<mode>_e500_subreg0): Fix constraints.
|
|
|
|
|
Use the evmergelohi instruction.
|
|
|
|
|
(mov_si<mode>_e500_subreg4_2_le): Likewise.
|
|
|
|
|
(mov_sitf_e500_subreg8_2_be): Likewise.
|
|
|
|
|
(mov_sitf_e500_subreg12_2_le): Likewise.
|
|
|
|
|
(mov_si<mode>_e500_subreg0_2_le): Fix constraints.
|
|
|
|
|
(mov_si<mode>_e500_subreg4_2_be): Likewise.
|
|
|
|
|
(mov_sitf_e500_subreg8_2_le): Likewise.
|
|
|
|
|
(mov_sitf_e500_subreg12_2_be): Likewise.
|
|
|
|
|
|
2017-01-18 23:36:39 +01:00
|
|
|
|
2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.md (altivec_vbpermq): Change "type"
|
|
|
|
|
attribute from vecsimple to vecperm.
|
|
|
|
|
(altivec_vbpermq2): Likewise.
|
|
|
|
|
|
2017-01-18 23:29:22 +01:00
|
|
|
|
2017-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79040
|
|
|
|
|
* config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz.
|
|
|
|
|
|
2017-01-18 21:56:16 +01:00
|
|
|
|
2017-01-18 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
|
|
|
|
|
* config/rs6000/rs6000-protos.h (expand_strn_compare): Add arg.
|
|
|
|
|
* config/rs6000/rs6000.c (expand_strn_compare): Add ability to expand
|
|
|
|
|
strcmp. Fix bug where comparison didn't stop with zero byte. Fix
|
|
|
|
|
case where N arg is SIZE_MAX.
|
|
|
|
|
* config/rs6000/rs6000.md (cmpstrnsi): Args to expand_strn_compare.
|
|
|
|
|
(cmpstrsi): Add pattern.
|
|
|
|
|
|
2017-01-18 20:30:38 +01:00
|
|
|
|
2017-01-18 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
|
|
|
|
|
__builtin_vec_revb builtins.
|
|
|
|
|
* config/rs6000/rs6000-builtins.def (P9V_BUILTIN_XXBRQ_V16QI): Add
|
|
|
|
|
built-in functions to support generation of the ISA 3.0 XXBR<x>
|
|
|
|
|
vector byte reverse instructions.
|
|
|
|
|
(P9V_BUILTIN_XXBRQ_V1TI): Likewise.
|
|
|
|
|
(P9V_BUILTIN_XXBRD_V2DI): Likewise.
|
|
|
|
|
(P9V_BUILTIN_XXBRD_V2DF): Likewise.
|
|
|
|
|
(P9V_BUILTIN_XXBGW_V4SI): Likewise.
|
|
|
|
|
(P9V_BUILTIN_XXBGW_V4SF): Likewise.
|
|
|
|
|
(P9V_BUILTIN_XXBGH_V8HI): Likewise.
|
|
|
|
|
(P9V_BUILTIN_VEC_REVB): Likewise.
|
|
|
|
|
* config/rs6000/vsx.md (p9_xxbrq_v1ti): New insns/expanders to
|
|
|
|
|
generate the ISA 3.0 XXBR<x> vector byte reverse instructions.
|
|
|
|
|
(p9_xxbrq_v16qi): Likewise.
|
|
|
|
|
(p9_xxbrd_<mode>, VSX_D iterator): Likewise.
|
|
|
|
|
(p9_xxbrw_<mode>, VSX_W iterator): Likewise.
|
|
|
|
|
(p9_xxbrh_v8hi): Likewise.
|
|
|
|
|
* config/rs6000/altivec.h (vec_revb): Define if ISA 3.0.
|
|
|
|
|
* doc/extend.texi (RS/6000 Altivec Built-ins): Document the
|
|
|
|
|
vec_revb built-in functions.
|
|
|
|
|
|
2017-01-18 20:24:30 +01:00
|
|
|
|
2017-01-18 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78952
|
|
|
|
|
* config/i386/i386.md (any_extract): New code iterator.
|
|
|
|
|
(*insvqi_2): Use any_extract for source operand.
|
|
|
|
|
(*insvqi_3): Use any_shiftrt for source operand.
|
|
|
|
|
|
2017-01-18 19:23:34 +01:00
|
|
|
|
2017-01-18 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_sched_adjust_priority)
|
|
|
|
|
New function.
|
|
|
|
|
(TARGET_SCHED_ADJUST_PRIORITY): Define target hook.
|
|
|
|
|
|
2017-01-18 16:48:54 +01:00
|
|
|
|
2017-01-18 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
2017-01-18 20:24:30 +01:00
|
|
|
|
* doc/install.texi: Allow default for --with-target-bdw-gc-include.
|
2017-01-18 16:48:54 +01:00
|
|
|
|
|
2017-01-18 16:04:50 +01:00
|
|
|
|
2016-01-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.h (vec_bperm): Change #define.
|
|
|
|
|
* config/rs6000/altivec.md (UNSPEC_VBPERMD): New enum constant.
|
|
|
|
|
(altivec_vbpermq2): New define_insn.
|
|
|
|
|
(altivec_vbpermd): Likewise.
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (VBPERMQ2): New monomorphic
|
|
|
|
|
function interface.
|
|
|
|
|
(VBPERMD): Likewise.
|
|
|
|
|
(VBPERM): New polymorphic function interface.
|
|
|
|
|
* config/rs6000/r6000-c.c (altivec_overloaded_builtins_table):
|
|
|
|
|
Add entries for P9V_BUILTIN_VEC_VBPERM.
|
|
|
|
|
* doc/extend.texi: Add interfaces for vec_bperm.
|
|
|
|
|
|
2017-01-18 16:03:18 +01:00
|
|
|
|
2017-01-18 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390-c.c (s390_expand_overloaded_builtin): Downcase
|
|
|
|
|
first letter of error messages.
|
|
|
|
|
(s390_resolve_overloaded_builtin): Likewise.
|
|
|
|
|
* config/s390/s390.c (s390_expand_builtin): Likewise.
|
|
|
|
|
(s390_invalid_arg_for_unprototyped_fn): Likewise.
|
|
|
|
|
(s390_valid_target_attribute_inner_p): Likewise.
|
|
|
|
|
* config/s390/s390.md ("tabort"): Likewise.
|
|
|
|
|
|
2017-01-18 11:57:17 +01:00
|
|
|
|
2017-01-18 Toma Tabacu <toma.tabacu@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/mips/mips.h (ISA_HAS_DIV3): Remove unused macro.
|
|
|
|
|
(ISA_AVOID_DIV_HILO): New macro.
|
|
|
|
|
(ISA_HAS_DIV): Use new ISA_AVOID_DIV_HILO macro.
|
|
|
|
|
(ISA_HAS_DDIV): Likewise.
|
|
|
|
|
|
2017-01-18 10:58:33 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (fabi-version): Correct number of occurrences.
|
|
|
|
|
|
2017-01-18 09:54:33 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (fabi-version): Spelling fix.
|
|
|
|
|
|
2017-01-18 09:49:11 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR c++/70182
|
|
|
|
|
* doc/invoke.texi (fabi-version): Mention mangling fix for
|
|
|
|
|
operator names.
|
|
|
|
|
|
2017-01-18 09:40:05 +01:00
|
|
|
|
2017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
|
|
|
|
|
|
|
|
|
|
PR c++/77489
|
|
|
|
|
* doc/invoke.texi (fabi-version): Document discriminator mangling.
|
|
|
|
|
|
2017-01-17 23:02:42 +01:00
|
|
|
|
2017-01-17 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/78875
|
|
|
|
|
* config/rs6000/rs6000-opts.h (stack_protector_guard): New enum.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Handle
|
|
|
|
|
the new options.
|
|
|
|
|
* config/rs6000/rs6000.md (stack_protect_set): Handle the new more
|
|
|
|
|
flexible settings.
|
|
|
|
|
(stack_protect_test): Ditto.
|
|
|
|
|
* config/rs6000/rs6000.opt (mstack-protector-guard=,
|
|
|
|
|
mstack-protector-guard-reg=, mstack-protector-guard-offset=): New
|
|
|
|
|
options.
|
|
|
|
|
* doc/invoke.texi (Option Summary) [RS/6000 and PowerPC Options]:
|
|
|
|
|
Add -mstack-protector-guard=, -mstack-protector-guard-reg=, and
|
|
|
|
|
-mstack-protector-guard-offset=.
|
|
|
|
|
(RS/6000 and PowerPC Options): Ditto.
|
|
|
|
|
|
2017-01-17 20:44:53 +01:00
|
|
|
|
2017-01-17 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.h (MASK_CLASS_P): New define.
|
|
|
|
|
* config/i386/i386.c (inline_secondary_memory_needed): Ensure that
|
|
|
|
|
there are no registers from different register sets also when
|
|
|
|
|
mask registers are used. Update function comment.
|
|
|
|
|
* config/i386/i386.md (*movsi_internal): Split (*k/*krm) alternative
|
|
|
|
|
to (*k/*r) and (*k/*km) alternatives.
|
|
|
|
|
|
2017-01-17 20:34:26 +01:00
|
|
|
|
2017-01-17 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64.md (eh_return): Remove pattern and splitter.
|
|
|
|
|
* config/aarch64/aarch64.h (AARCH64_EH_STACKADJ_REGNUM): Remove.
|
|
|
|
|
(EH_RETURN_HANDLER_RTX): New define.
|
|
|
|
|
* config/aarch64/aarch64.c (aarch64_frame_pointer_required):
|
|
|
|
|
Force frame pointer in EH return functions.
|
|
|
|
|
(aarch64_expand_epilogue): Add barrier for eh_return.
|
|
|
|
|
(aarch64_final_eh_return_addr): Remove.
|
|
|
|
|
(aarch64_eh_return_handler_rtx): New function.
|
|
|
|
|
* config/aarch64/aarch64-protos.h (aarch64_final_eh_return_addr):
|
|
|
|
|
Remove.
|
|
|
|
|
(aarch64_eh_return_handler_rtx): New prototype.
|
|
|
|
|
|
2017-01-17 20:14:09 +01:00
|
|
|
|
2017-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/altivec.h (vec_rlmi): New #define.
|
|
|
|
|
(vec_vrlnm): Likewise.
|
|
|
|
|
(vec_rlnm): Likewise.
|
|
|
|
|
* config/rs6000/altivec.md (UNSPEC_VRLMI): New UNSPEC enum value.
|
|
|
|
|
(UNSPEC_VRLNM): Likewise.
|
|
|
|
|
(VIlong): New mode iterator.
|
|
|
|
|
(altivec_vrl<VI_char>mi): New define_insn.
|
|
|
|
|
(altivec_vrl<VI_char>nm): Likewise.
|
|
|
|
|
* config/rs6000/rs6000-builtin.def (VRLWNM): New monomorphic
|
|
|
|
|
function entry.
|
|
|
|
|
(VRLDNM): Likewise.
|
|
|
|
|
(RLNM): New polymorphic function entry.
|
|
|
|
|
(VRLWMI): New monomorphic function entry.
|
|
|
|
|
(VRLDMI): Likewise.
|
|
|
|
|
(RLMI): New polymorphic function entry.
|
|
|
|
|
* config/rs6000/r6000-c.c (altivec_overloaded_builtin_table): Add
|
|
|
|
|
new entries for P9V_BUILTIN_VEC_RLMI and P9V_BUILTIN_VEC_RLNM.
|
|
|
|
|
* doc/extend.texi: Add description of vec_rlmi, vec_rlnm, and
|
|
|
|
|
vec_vrlnm.
|
|
|
|
|
|
2017-01-17 19:32:13 +01:00
|
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/78839
|
|
|
|
|
* dwarf2out.c (field_byte_offset): Restore the
|
|
|
|
|
PCC_BITFIELD_TYPE_MATTERS behavior for INTEGER_CST DECL_FIELD_OFFSET
|
|
|
|
|
and DECL_FIELD_BIT_OFFSET. Use fold_build2 instead of build2 + fold.
|
|
|
|
|
(analyze_variants_discr, gen_variant_part): Use fold_build2 instead
|
|
|
|
|
of build2 + fold.
|
|
|
|
|
|
2017-01-17 19:02:55 +01:00
|
|
|
|
2017-01-17 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR ada/67205
|
|
|
|
|
* config/aarch64/aarch64.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define
|
|
|
|
|
|
2017-01-17 18:42:06 +01:00
|
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR debug/71669
|
|
|
|
|
* dwarf2out.c (add_data_member_location_attribute): For constant
|
|
|
|
|
offset bitfield emit for -gdwarf-5 DW_AT_data_bit_offset attribute
|
|
|
|
|
instead of DW_AT_data_member_location, DW_AT_bit_offset and
|
|
|
|
|
DW_AT_byte_size attributes.
|
|
|
|
|
|
2017-01-17 18:33:43 +01:00
|
|
|
|
2017-01-17 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_move): Also use a TOC reference
|
|
|
|
|
after forcing to constant memory when the code model is medium.
|
|
|
|
|
|
re PR target/76731 ([AVX512] _mm512_i32gather_epi32 and other scatter/gather routines have incorrect signature)
PR target/76731
* config/i386/avx512fintrin.h
(_mm512_i32gather_ps): Change __addr type to void const*.
(_mm512_mask_i32gather_ps): Ditto.
(_mm512_i32gather_pd): Ditto.
(_mm512_mask_i32gather_pd): Ditto.
(_mm512_i64gather_ps): Ditto.
(_mm512_mask_i64gather_ps): Ditto.
(_mm512_i64gather_pd): Ditto.
(_mm512_mask_i64gather_pd): Ditto.
(_mm512_i32gather_epi32): Ditto.
(_mm512_mask_i32gather_epi32): Ditto.
(_mm512_i32gather_epi64): Ditto.
(_mm512_mask_i32gather_epi64): Ditto.
(_mm512_i64gather_epi32): Ditto.
(_mm512_mask_i64gather_epi32): Ditto.
(_mm512_i64gather_epi64): Ditto.
(_mm512_mask_i64gather_epi64): Ditto.
(_mm512_i32scatter_ps): Change __addr type to void*.
(_mm512_mask_i32scatter_ps): Ditto.
(_mm512_i32scatter_pd): Ditto.
(_mm512_mask_i32scatter_pd): Ditto.
(_mm512_i64scatter_ps): Ditto.
(_mm512_mask_i64scatter_ps): Ditto.
(_mm512_i64scatter_pd): Ditto.
(_mm512_mask_i64scatter_pd): Ditto.
(_mm512_i32scatter_epi32): Ditto.
(_mm512_mask_i32scatter_epi32): Ditto.
(_mm512_i32scatter_epi64): Ditto.
(_mm512_mask_i32scatter_epi64): Ditto.
(_mm512_i64scatter_epi32): Ditto.
(_mm512_mask_i64scatter_epi32): Ditto.
(_mm512_i64scatter_epi64): Ditto.
(_mm512_mask_i64scatter_epi64): Ditto.
* config/i386/avx512pfintrin.h
(_mm512_mask_prefetch_i32gather_pd): Change __addr type to void const*.
(_mm512_mask_prefetch_i32gather_ps): Ditto.
(_mm512_mask_prefetch_i64gather_pd): Ditto.
(_mm512_mask_prefetch_i64gather_ps): Ditto.
(_mm512_prefetch_i32scatter_pd): Change __addr type to void*.
(_mm512_prefetch_i32scatter_ps): Ditto.
(_mm512_mask_prefetch_i32scatter_pd): Ditto.
(_mm512_mask_prefetch_i32scatter_ps): Ditto.
(_mm512_prefetch_i64scatter_pd): Ditto.
(_mm512_prefetch_i64scatter_ps): Ditto.
(_mm512_mask_prefetch_i64scatter_pd): Ditto.
(_mm512_mask_prefetch_i64scatter_ps): Ditto.
* config/i386/avx512vlintrin.h
(_mm256_mmask_i32gather_ps): Change __addr type to void const*.
(_mm_mmask_i32gather_ps): Ditto.
(_mm256_mmask_i32gather_pd): Ditto.
(_mm_mmask_i32gather_pd): Ditto.
(_mm256_mmask_i64gather_ps): Ditto.
(_mm_mmask_i64gather_ps): Ditto.
(_mm256_mmask_i64gather_pd): Ditto.
(_mm_mmask_i64gather_pd): Ditto.
(_mm256_mmask_i32gather_epi32): Ditto.
(_mm_mmask_i32gather_epi32): Ditto.
(_mm256_mmask_i32gather_epi64): Ditto.
(_mm_mmask_i32gather_epi64): Ditto.
(_mm256_mmask_i64gather_epi32): Ditto.
(_mm_mmask_i64gather_epi32): Ditto.
(_mm256_mmask_i64gather_epi64): Ditto.
(_mm_mmask_i64gather_epi64): Ditto.
(_mm256_i32scatter_ps): Change __addr type to void*.
(_mm256_mask_i32scatter_ps): Ditto.
(_mm_i32scatter_ps): Ditto.
(_mm_mask_i32scatter_ps): Ditto.
(_mm256_i32scatter_pd): Ditto.
(_mm256_mask_i32scatter_pd): Ditto.
(_mm_i32scatter_pd): Ditto.
(_mm_mask_i32scatter_pd): Ditto.
(_mm256_i64scatter_ps): Ditto.
(_mm256_mask_i64scatter_ps): Ditto.
(_mm_i64scatter_ps): Ditto.
(_mm_mask_i64scatter_ps): Ditto.
(_mm256_i64scatter_pd): Ditto.
(_mm256_mask_i64scatter_pd): Ditto.
(_mm_i64scatter_pd): Ditto.
(_mm_mask_i64scatter_pd): Ditto.
(_mm256_i32scatter_epi32): Ditto.
(_mm256_mask_i32scatter_epi32): Ditto.
(_mm_i32scatter_epi32): Ditto.
(_mm_mask_i32scatter_epi32): Ditto.
(_mm256_i32scatter_epi64): Ditto.
(_mm256_mask_i32scatter_epi64): Ditto.
(_mm_i32scatter_epi64): Ditto.
(_mm_mask_i32scatter_epi64): Ditto.
(_mm256_i64scatter_epi32): Ditto.
(_mm256_mask_i64scatter_epi32): Ditto.
(_mm_i64scatter_epi32): Ditto.
(_mm_mask_i64scatter_epi32): Ditto.
(_mm256_i64scatter_epi64): Ditto.
(_mm256_mask_i64scatter_epi64): Ditto.
(_mm_i64scatter_epi64): Ditto.
(_mm_mask_i64scatter_epi64): Ditto.
* config/i386/i386-builtin-types.def (V16SF_V16SF_PCFLOAT_V16SI_HI_INT)
(V8DF_V8DF_PCDOUBLE_V8SI_QI_INT, V8SF_V8SF_PCFLOAT_V8DI_QI_INT)
(V8DF_V8DF_PCDOUBLE_V8DI_QI_INT, V16SI_V16SI_PCINT_V16SI_HI_INT)
(V8DI_V8DI_PCINT64_V8SI_QI_INT, V8SI_V8SI_PCINT_V8DI_QI_INT)
(V8DI_V8DI_PCINT64_V8DI_QI_INT, V2DF_V2DF_PCDOUBLE_V4SI_QI_INT)
(V4DF_V4DF_PCDOUBLE_V4SI_QI_INT, V2DF_V2DF_PCDOUBLE_V2DI_QI_INT)
(V4DF_V4DF_PCDOUBLE_V4DI_QI_INT, V4SF_V4SF_PCFLOAT_V4SI_QI_INT)
(V8SF_V8SF_PCFLOAT_V8SI_QI_INT, V4SF_V4SF_PCFLOAT_V2DI_QI_INT)
(V4SF_V4SF_PCFLOAT_V4DI_QI_INT, V2DI_V2DI_PCINT64_V4SI_QI_INT)
(V4DI_V4DI_PCINT64_V4SI_QI_INT, V2DI_V2DI_PCINT64_V2DI_QI_INT)
(V4DI_V4DI_PCINT64_V4DI_QI_INT, V4SI_V4SI_PCINT_V4SI_QI_INT)
(V8SI_V8SI_PCINT_V8SI_QI_INT, V4SI_V4SI_PCINT_V2DI_QI_INT)
(V4SI_V4SI_PCINT_V4DI_QI_INT, VOID_PFLOAT_HI_V16SI_V16SF_INT)
(VOID_PFLOAT_QI_V8SI_V8SF_INT, VOID_PFLOAT_QI_V4SI_V4SF_INT)
(VOID_PDOUBLE_QI_V8SI_V8DF_INT, VOID_PDOUBLE_QI_V4SI_V4DF_INT)
(VOID_PDOUBLE_QI_V4SI_V2DF_INT, VOID_PFLOAT_QI_V8DI_V8SF_INT)
(VOID_PFLOAT_QI_V4DI_V4SF_INT, VOID_PFLOAT_QI_V2DI_V4SF_INT)
(VOID_PDOUBLE_QI_V8DI_V8DF_INT, VOID_PDOUBLE_QI_V4DI_V4DF_INT)
(VOID_PDOUBLE_QI_V2DI_V2DF_INT, VOID_PINT_HI_V16SI_V16SI_INT)
(VOID_PINT_QI_V8SI_V8SI_INT, VOID_PINT_QI_V4SI_V4SI_INT)
(VOID_PLONGLONG_QI_V8SI_V8DI_INT, VOID_PLONGLONG_QI_V4SI_V4DI_INT)
(VOID_PLONGLONG_QI_V4SI_V2DI_INT, VOID_PINT_QI_V8DI_V8SI_INT)
(VOID_PINT_QI_V4DI_V4SI_INT, VOID_PINT_QI_V2DI_V4SI_INT)
(VOID_PLONGLONG_QI_V8DI_V8DI_INT, VOID_QI_V8SI_PCINT64_INT_INT)
(VOID_PLONGLONG_QI_V4DI_V4DI_INT, VOID_PLONGLONG_QI_V2DI_V2DI_INT)
(VOID_HI_V16SI_PCINT_INT_INT, VOID_QI_V8DI_PCINT64_INT_INT)
(VOID_QI_V8DI_PCINT_INT_INT): Remove.
(V16SF_V16SF_PCVOID_V16SI_HI_INT, V8DF_V8DF_PCVOID_V8SI_QI_INT)
(V8SF_V8SF_PCVOID_V8DI_QI_INT, V8DF_V8DF_PCVOID_V8DI_QI_INT)
(V16SI_V16SI_PCVOID_V16SI_HI_INT, V8DI_V8DI_PCVOID_V8SI_QI_INT)
(V8SI_V8SI_PCVOID_V8DI_QI_INT, V8DI_V8DI_PCVOID_V8DI_QI_INT)
(VOID_PVOID_HI_V16SI_V16SF_INT, VOID_PVOID_QI_V8SI_V8DF_INT)
(VOID_PVOID_QI_V8DI_V8SF_INT, VOID_PVOID_QI_V8DI_V8DF_INT)
(VOID_PVOID_HI_V16SI_V16SI_INT, VOID_PVOID_QI_V8SI_V8DI_INT)
(VOID_PVOID_QI_V8DI_V8SI_INT, VOID_PVOID_QI_V8DI_V8DI_INT)
(V2DF_V2DF_PCVOID_V4SI_QI_INT, V4DF_V4DF_PCVOID_V4SI_QI_INT)
(V2DF_V2DF_PCVOID_V2DI_QI_INT, V4DF_V4DF_PCVOID_V4DI_QI_INT
(V4SF_V4SF_PCVOID_V4SI_QI_INT, V8SF_V8SF_PCVOID_V8SI_QI_INT)
(V4SF_V4SF_PCVOID_V2DI_QI_INT, V4SF_V4SF_PCVOID_V4DI_QI_INT)
(V2DI_V2DI_PCVOID_V4SI_QI_INT, V4DI_V4DI_PCVOID_V4SI_QI_INT)
(V2DI_V2DI_PCVOID_V2DI_QI_INT, V4DI_V4DI_PCVOID_V4DI_QI_INT)
(V4SI_V4SI_PCVOID_V4SI_QI_INT, V8SI_V8SI_PCVOID_V8SI_QI_INT)
(V4SI_V4SI_PCVOID_V2DI_QI_INT, V4SI_V4SI_PCVOID_V4DI_QI_INT)
(VOID_PVOID_QI_V8SI_V8SF_INT, VOID_PVOID_QI_V4SI_V4SF_INT)
(VOID_PVOID_QI_V4SI_V4DF_INT, VOID_PVOID_QI_V4SI_V2DF_INT)
(VOID_PVOID_QI_V4DI_V4SF_INT, VOID_PVOID_QI_V2DI_V4SF_INT)
(VOID_PVOID_QI_V4DI_V4DF_INT, VOID_PVOID_QI_V2DI_V2DF_INT)
(VOID_PVOID_QI_V8SI_V8SI_INT, VOID_PVOID_QI_V4SI_V4SI_INT)
(VOID_PVOID_QI_V4SI_V4DI_INT, VOID_PVOID_QI_V4SI_V2DI_INT)
(VOID_PVOID_QI_V4DI_V4SI_INT, VOID_PVOID_QI_V2DI_V4SI_INT)
(VOID_PVOID_QI_V4DI_V4DI_INT, VOID_PVOID_QI_V2DI_V2DI_INT)
(VOID_QI_V8SI_PCVOID_INT_INT, VOID_HI_V16SI_PCVOID_INT_INT)
(VOID_QI_V8DI_PCVOID_INT_INT): Add.
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Adjust builtin
definitions accordingly.
From-SVN: r244540
2017-01-17 18:03:00 +01:00
|
|
|
|
2017-01-17 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/76731
|
|
|
|
|
* config/i386/avx512fintrin.h
|
|
|
|
|
(_mm512_i32gather_ps): Change __addr type to void const*.
|
|
|
|
|
(_mm512_mask_i32gather_ps): Ditto.
|
|
|
|
|
(_mm512_i32gather_pd): Ditto.
|
|
|
|
|
(_mm512_mask_i32gather_pd): Ditto.
|
|
|
|
|
(_mm512_i64gather_ps): Ditto.
|
|
|
|
|
(_mm512_mask_i64gather_ps): Ditto.
|
|
|
|
|
(_mm512_i64gather_pd): Ditto.
|
|
|
|
|
(_mm512_mask_i64gather_pd): Ditto.
|
|
|
|
|
(_mm512_i32gather_epi32): Ditto.
|
|
|
|
|
(_mm512_mask_i32gather_epi32): Ditto.
|
|
|
|
|
(_mm512_i32gather_epi64): Ditto.
|
|
|
|
|
(_mm512_mask_i32gather_epi64): Ditto.
|
|
|
|
|
(_mm512_i64gather_epi32): Ditto.
|
|
|
|
|
(_mm512_mask_i64gather_epi32): Ditto.
|
|
|
|
|
(_mm512_i64gather_epi64): Ditto.
|
|
|
|
|
(_mm512_mask_i64gather_epi64): Ditto.
|
|
|
|
|
(_mm512_i32scatter_ps): Change __addr type to void*.
|
|
|
|
|
(_mm512_mask_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm512_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm512_mask_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm512_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm512_mask_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm512_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm512_mask_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm512_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm512_mask_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm512_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm512_mask_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm512_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm512_mask_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm512_i64scatter_epi64): Ditto.
|
|
|
|
|
(_mm512_mask_i64scatter_epi64): Ditto.
|
|
|
|
|
* config/i386/avx512pfintrin.h
|
|
|
|
|
(_mm512_mask_prefetch_i32gather_pd): Change __addr type to void const*.
|
|
|
|
|
(_mm512_mask_prefetch_i32gather_ps): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i64gather_pd): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i64gather_ps): Ditto.
|
|
|
|
|
(_mm512_prefetch_i32scatter_pd): Change __addr type to void*.
|
|
|
|
|
(_mm512_prefetch_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm512_prefetch_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm512_prefetch_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm512_mask_prefetch_i64scatter_ps): Ditto.
|
|
|
|
|
* config/i386/avx512vlintrin.h
|
|
|
|
|
(_mm256_mmask_i32gather_ps): Change __addr type to void const*.
|
|
|
|
|
(_mm_mmask_i32gather_ps): Ditto.
|
|
|
|
|
(_mm256_mmask_i32gather_pd): Ditto.
|
|
|
|
|
(_mm_mmask_i32gather_pd): Ditto.
|
|
|
|
|
(_mm256_mmask_i64gather_ps): Ditto.
|
|
|
|
|
(_mm_mmask_i64gather_ps): Ditto.
|
|
|
|
|
(_mm256_mmask_i64gather_pd): Ditto.
|
|
|
|
|
(_mm_mmask_i64gather_pd): Ditto.
|
|
|
|
|
(_mm256_mmask_i32gather_epi32): Ditto.
|
|
|
|
|
(_mm_mmask_i32gather_epi32): Ditto.
|
|
|
|
|
(_mm256_mmask_i32gather_epi64): Ditto.
|
|
|
|
|
(_mm_mmask_i32gather_epi64): Ditto.
|
|
|
|
|
(_mm256_mmask_i64gather_epi32): Ditto.
|
|
|
|
|
(_mm_mmask_i64gather_epi32): Ditto.
|
|
|
|
|
(_mm256_mmask_i64gather_epi64): Ditto.
|
|
|
|
|
(_mm_mmask_i64gather_epi64): Ditto.
|
|
|
|
|
(_mm256_i32scatter_ps): Change __addr type to void*.
|
|
|
|
|
(_mm256_mask_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm_mask_i32scatter_ps): Ditto.
|
|
|
|
|
(_mm256_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm256_mask_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm_mask_i32scatter_pd): Ditto.
|
|
|
|
|
(_mm256_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm256_mask_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm_mask_i64scatter_ps): Ditto.
|
|
|
|
|
(_mm256_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm256_mask_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm_mask_i64scatter_pd): Ditto.
|
|
|
|
|
(_mm256_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm256_mask_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm_mask_i32scatter_epi32): Ditto.
|
|
|
|
|
(_mm256_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm256_mask_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm_mask_i32scatter_epi64): Ditto.
|
|
|
|
|
(_mm256_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm256_mask_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm_mask_i64scatter_epi32): Ditto.
|
|
|
|
|
(_mm256_i64scatter_epi64): Ditto.
|
|
|
|
|
(_mm256_mask_i64scatter_epi64): Ditto.
|
|
|
|
|
(_mm_i64scatter_epi64): Ditto.
|
|
|
|
|
(_mm_mask_i64scatter_epi64): Ditto.
|
|
|
|
|
* config/i386/i386-builtin-types.def (V16SF_V16SF_PCFLOAT_V16SI_HI_INT)
|
|
|
|
|
(V8DF_V8DF_PCDOUBLE_V8SI_QI_INT, V8SF_V8SF_PCFLOAT_V8DI_QI_INT)
|
|
|
|
|
(V8DF_V8DF_PCDOUBLE_V8DI_QI_INT, V16SI_V16SI_PCINT_V16SI_HI_INT)
|
|
|
|
|
(V8DI_V8DI_PCINT64_V8SI_QI_INT, V8SI_V8SI_PCINT_V8DI_QI_INT)
|
|
|
|
|
(V8DI_V8DI_PCINT64_V8DI_QI_INT, V2DF_V2DF_PCDOUBLE_V4SI_QI_INT)
|
|
|
|
|
(V4DF_V4DF_PCDOUBLE_V4SI_QI_INT, V2DF_V2DF_PCDOUBLE_V2DI_QI_INT)
|
|
|
|
|
(V4DF_V4DF_PCDOUBLE_V4DI_QI_INT, V4SF_V4SF_PCFLOAT_V4SI_QI_INT)
|
|
|
|
|
(V8SF_V8SF_PCFLOAT_V8SI_QI_INT, V4SF_V4SF_PCFLOAT_V2DI_QI_INT)
|
|
|
|
|
(V4SF_V4SF_PCFLOAT_V4DI_QI_INT, V2DI_V2DI_PCINT64_V4SI_QI_INT)
|
|
|
|
|
(V4DI_V4DI_PCINT64_V4SI_QI_INT, V2DI_V2DI_PCINT64_V2DI_QI_INT)
|
|
|
|
|
(V4DI_V4DI_PCINT64_V4DI_QI_INT, V4SI_V4SI_PCINT_V4SI_QI_INT)
|
|
|
|
|
(V8SI_V8SI_PCINT_V8SI_QI_INT, V4SI_V4SI_PCINT_V2DI_QI_INT)
|
|
|
|
|
(V4SI_V4SI_PCINT_V4DI_QI_INT, VOID_PFLOAT_HI_V16SI_V16SF_INT)
|
|
|
|
|
(VOID_PFLOAT_QI_V8SI_V8SF_INT, VOID_PFLOAT_QI_V4SI_V4SF_INT)
|
|
|
|
|
(VOID_PDOUBLE_QI_V8SI_V8DF_INT, VOID_PDOUBLE_QI_V4SI_V4DF_INT)
|
|
|
|
|
(VOID_PDOUBLE_QI_V4SI_V2DF_INT, VOID_PFLOAT_QI_V8DI_V8SF_INT)
|
|
|
|
|
(VOID_PFLOAT_QI_V4DI_V4SF_INT, VOID_PFLOAT_QI_V2DI_V4SF_INT)
|
|
|
|
|
(VOID_PDOUBLE_QI_V8DI_V8DF_INT, VOID_PDOUBLE_QI_V4DI_V4DF_INT)
|
|
|
|
|
(VOID_PDOUBLE_QI_V2DI_V2DF_INT, VOID_PINT_HI_V16SI_V16SI_INT)
|
|
|
|
|
(VOID_PINT_QI_V8SI_V8SI_INT, VOID_PINT_QI_V4SI_V4SI_INT)
|
|
|
|
|
(VOID_PLONGLONG_QI_V8SI_V8DI_INT, VOID_PLONGLONG_QI_V4SI_V4DI_INT)
|
|
|
|
|
(VOID_PLONGLONG_QI_V4SI_V2DI_INT, VOID_PINT_QI_V8DI_V8SI_INT)
|
|
|
|
|
(VOID_PINT_QI_V4DI_V4SI_INT, VOID_PINT_QI_V2DI_V4SI_INT)
|
|
|
|
|
(VOID_PLONGLONG_QI_V8DI_V8DI_INT, VOID_QI_V8SI_PCINT64_INT_INT)
|
|
|
|
|
(VOID_PLONGLONG_QI_V4DI_V4DI_INT, VOID_PLONGLONG_QI_V2DI_V2DI_INT)
|
|
|
|
|
(VOID_HI_V16SI_PCINT_INT_INT, VOID_QI_V8DI_PCINT64_INT_INT)
|
|
|
|
|
(VOID_QI_V8DI_PCINT_INT_INT): Remove.
|
|
|
|
|
(V16SF_V16SF_PCVOID_V16SI_HI_INT, V8DF_V8DF_PCVOID_V8SI_QI_INT)
|
|
|
|
|
(V8SF_V8SF_PCVOID_V8DI_QI_INT, V8DF_V8DF_PCVOID_V8DI_QI_INT)
|
|
|
|
|
(V16SI_V16SI_PCVOID_V16SI_HI_INT, V8DI_V8DI_PCVOID_V8SI_QI_INT)
|
|
|
|
|
(V8SI_V8SI_PCVOID_V8DI_QI_INT, V8DI_V8DI_PCVOID_V8DI_QI_INT)
|
|
|
|
|
(VOID_PVOID_HI_V16SI_V16SF_INT, VOID_PVOID_QI_V8SI_V8DF_INT)
|
|
|
|
|
(VOID_PVOID_QI_V8DI_V8SF_INT, VOID_PVOID_QI_V8DI_V8DF_INT)
|
|
|
|
|
(VOID_PVOID_HI_V16SI_V16SI_INT, VOID_PVOID_QI_V8SI_V8DI_INT)
|
|
|
|
|
(VOID_PVOID_QI_V8DI_V8SI_INT, VOID_PVOID_QI_V8DI_V8DI_INT)
|
|
|
|
|
(V2DF_V2DF_PCVOID_V4SI_QI_INT, V4DF_V4DF_PCVOID_V4SI_QI_INT)
|
|
|
|
|
(V2DF_V2DF_PCVOID_V2DI_QI_INT, V4DF_V4DF_PCVOID_V4DI_QI_INT
|
|
|
|
|
(V4SF_V4SF_PCVOID_V4SI_QI_INT, V8SF_V8SF_PCVOID_V8SI_QI_INT)
|
|
|
|
|
(V4SF_V4SF_PCVOID_V2DI_QI_INT, V4SF_V4SF_PCVOID_V4DI_QI_INT)
|
|
|
|
|
(V2DI_V2DI_PCVOID_V4SI_QI_INT, V4DI_V4DI_PCVOID_V4SI_QI_INT)
|
|
|
|
|
(V2DI_V2DI_PCVOID_V2DI_QI_INT, V4DI_V4DI_PCVOID_V4DI_QI_INT)
|
|
|
|
|
(V4SI_V4SI_PCVOID_V4SI_QI_INT, V8SI_V8SI_PCVOID_V8SI_QI_INT)
|
|
|
|
|
(V4SI_V4SI_PCVOID_V2DI_QI_INT, V4SI_V4SI_PCVOID_V4DI_QI_INT)
|
|
|
|
|
(VOID_PVOID_QI_V8SI_V8SF_INT, VOID_PVOID_QI_V4SI_V4SF_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4SI_V4DF_INT, VOID_PVOID_QI_V4SI_V2DF_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4DI_V4SF_INT, VOID_PVOID_QI_V2DI_V4SF_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4DI_V4DF_INT, VOID_PVOID_QI_V2DI_V2DF_INT)
|
|
|
|
|
(VOID_PVOID_QI_V8SI_V8SI_INT, VOID_PVOID_QI_V4SI_V4SI_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4SI_V4DI_INT, VOID_PVOID_QI_V4SI_V2DI_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4DI_V4SI_INT, VOID_PVOID_QI_V2DI_V4SI_INT)
|
|
|
|
|
(VOID_PVOID_QI_V4DI_V4DI_INT, VOID_PVOID_QI_V2DI_V2DI_INT)
|
|
|
|
|
(VOID_QI_V8SI_PCVOID_INT_INT, VOID_HI_V16SI_PCVOID_INT_INT)
|
|
|
|
|
(VOID_QI_V8DI_PCVOID_INT_INT): Add.
|
|
|
|
|
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Adjust builtin
|
|
|
|
|
definitions accordingly.
|
|
|
|
|
|
2017-01-17 17:56:30 +01:00
|
|
|
|
2017-01-17 Kito Cheng <kito.cheng@gmail.com>
|
2017-01-17 20:44:53 +01:00
|
|
|
|
Kuan-Lin Chen <kuanlinchentw@gmail.com>
|
2017-01-17 17:56:30 +01:00
|
|
|
|
|
|
|
|
|
PR target/79079
|
|
|
|
|
* internal-fn.c (expand_mul_overflow): Use convert_modes instead of
|
|
|
|
|
gen_lowpart.
|
|
|
|
|
|
2017-01-17 17:11:55 +01:00
|
|
|
|
2017-01-17 Vladimir Makarov <vmakarov@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR target/79058
|
|
|
|
|
* ira-conflicts.c (ira_build_conflicts): Update total conflict
|
|
|
|
|
hard regs for inner regno.
|
|
|
|
|
|
2017-01-17 16:11:00 +01:00
|
|
|
|
2017-01-17 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/71207
|
|
|
|
|
* ipa-polymorphic-call.c (contains_type_p): Fix wrong
|
|
|
|
|
assumption and add comment.
|
|
|
|
|
|
2017-01-17 16:04:50 +01:00
|
|
|
|
2017-01-17 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* ipa-visibility.c (localize_node): New function, broken out of ...
|
|
|
|
|
(function_and_variable_visibility): ... here. Call it.
|
|
|
|
|
|
2017-01-17 13:49:41 +01:00
|
|
|
|
2017-01-17 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77445
|
|
|
|
|
* tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges):
|
|
|
|
|
correctly set frequency of oudgoing edge.
|
|
|
|
|
(duplicate_thread_path): Fix profile updating.
|
|
|
|
|
|
2017-01-17 10:38:48 +01:00
|
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
|
* configure.ac: Add GCC_BASE_VER.
|
|
|
|
|
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
|
|
|
|
version from BASE-VER file.
|
|
|
|
|
(CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
|
|
|
|
|
(gcc.o): Depend on $(BASEVER).
|
|
|
|
|
* common.opt (dumpfullversion): New option.
|
|
|
|
|
* gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
|
|
|
|
|
* doc/invoke.texi: Document -dumpfullversion.
|
|
|
|
|
* doc/install.texi: Document --with-gcc-major-version-only.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2017-01-17 09:38:59 +01:00
|
|
|
|
2017-01-17 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71433
|
|
|
|
|
* tree-vrp.c (register_new_assert_for): Merge same asserts
|
|
|
|
|
on all incoming edges.
|
|
|
|
|
(process_assert_insertions_for): Handle insertions at the
|
|
|
|
|
beginning of BBs.
|
|
|
|
|
|
2017-01-17 08:23:40 +01:00
|
|
|
|
2017-01-17 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/cygwin.h (LIBGCJ_SONAME): Remove.
|
|
|
|
|
* config/i386/mingw32.h (LIBGCJ_SONAME): Remove.
|
|
|
|
|
|
2017-01-17 05:07:51 +01:00
|
|
|
|
2017-01-17 Kaz Kojima <kkojima@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/78633
|
|
|
|
|
* config/sh/sh.md (cmpeqsi_t+1): Call copy_rtx to avoid invalid
|
|
|
|
|
RTL sharing.
|
|
|
|
|
|
2017-01-17 03:54:11 +01:00
|
|
|
|
2017-01-17 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79066
|
|
|
|
|
* config/rs6000/rs6000.md (elf_high, elf_low): Disable when pic.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Don't allow
|
|
|
|
|
symbolic stack limit when pic.
|
|
|
|
|
|
2017-01-17 01:14:52 +01:00
|
|
|
|
2017-01-16 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78608
|
|
|
|
|
* gimple-ssa-sprintf.c (tree_digits): Avoid negating TYPE_MIN.
|
|
|
|
|
|
2017-01-17 00:43:05 +01:00
|
|
|
|
2017-01-16 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2017-01-17 00:51:57 +01:00
|
|
|
|
Revert:
|
|
|
|
|
2016-12-02 Tadek Kijkowski <tkijkowski@gmail.com>
|
2017-01-17 20:44:53 +01:00
|
|
|
|
* Makefile.in (PREPROCESSOR_DEFINES): Add a level of indirection
|
|
|
|
|
for several include directories that may be relative to sysroot.
|
|
|
|
|
* config/i386/x-mingw32 (gplus_includedir): Define.
|
|
|
|
|
(gplus_tool_includedir, gplus_backward_include_dir): Likewise.
|
|
|
|
|
(native_system_includedir): Likewise.
|
|
|
|
|
* config/i386/mingw32.h (STANDARD_STARTFILE_PREFIX_1): Do not
|
|
|
|
|
override if TARGET_SYSTEM_ROOT is defined.
|
|
|
|
|
(NATIVE_SYSTEM_HEADER_DIR): Likewise.
|
2017-01-17 00:51:57 +01:00
|
|
|
|
|
2017-01-17 00:43:05 +01:00
|
|
|
|
PR tree-optimization/79090
|
|
|
|
|
PR tree-optimization/33562
|
|
|
|
|
PR tree-optimization/61912
|
|
|
|
|
PR tree-optimization/77485
|
|
|
|
|
* tree-ssa-dse.c (compute_trims): Accept STMT argument. Dump STMT
|
|
|
|
|
and computed trims into the dump file.
|
|
|
|
|
|
2017-01-17 00:18:30 +01:00
|
|
|
|
2017-01-17 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove.
|
|
|
|
|
|
re PR driver/49726 (-g0 file.S -g does not produce debug info)
PR driver/49726
* gcc.c (debug_level_greater_than_spec_func): New function.
(static_spec_functions): Add debug-level-gt spec function.
(ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
!g0.
* config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
gpubnames, ggnu-pubnames, gno-record-gcc-switches,
grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
c-family/
* c.opt (gen-decls): Add Driver flag.
ada/
* gcc-interface/lang.opt (gant, gnatO, gnat): Add Driver flag.
From-SVN: r244505
2017-01-16 22:33:07 +01:00
|
|
|
|
2017-01-16 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-16 22:35:30 +01:00
|
|
|
|
PR c/79089
|
|
|
|
|
* gimplify.c (gimplify_init_constructor): If want_value and
|
|
|
|
|
object == lhs, unshare lhs to avoid invalid tree sharing. Formatting
|
|
|
|
|
fix.
|
|
|
|
|
|
2017-01-16 22:34:35 +01:00
|
|
|
|
PR target/79080
|
|
|
|
|
* loop-doloop.c (doloop_modify): Call unshare_all_rtl_in_chain on
|
|
|
|
|
sequence. Formatting fixes.
|
|
|
|
|
(doloop_optimize): Formatting fixes.
|
|
|
|
|
|
re PR driver/49726 (-g0 file.S -g does not produce debug info)
PR driver/49726
* gcc.c (debug_level_greater_than_spec_func): New function.
(static_spec_functions): Add debug-level-gt spec function.
(ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
!g0.
* config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
* common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
gpubnames, ggnu-pubnames, gno-record-gcc-switches,
grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
c-family/
* c.opt (gen-decls): Add Driver flag.
ada/
* gcc-interface/lang.opt (gant, gnatO, gnat): Add Driver flag.
From-SVN: r244505
2017-01-16 22:33:07 +01:00
|
|
|
|
PR driver/49726
|
|
|
|
|
* gcc.c (debug_level_greater_than_spec_func): New function.
|
|
|
|
|
(static_spec_functions): Add debug-level-gt spec function.
|
|
|
|
|
(ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
|
|
|
|
|
!g0.
|
|
|
|
|
* config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
|
|
|
|
|
* config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
|
|
|
|
|
* common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
|
|
|
|
|
gpubnames, ggnu-pubnames, gno-record-gcc-switches,
|
|
|
|
|
grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
|
|
|
|
|
gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
|
|
|
|
|
|
2017-01-16 20:58:59 +01:00
|
|
|
|
2017-01-16 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and
|
|
|
|
|
QImode fixups to general and mask registers only.
|
|
|
|
|
|
2017-01-16 18:18:05 +01:00
|
|
|
|
2017-01-16 Carl Love <cel@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000-c (altivec_overloaded_builtins): Add support
|
|
|
|
|
for built-in functions
|
|
|
|
|
vector signed char vec_nabs (vector signed char)
|
|
|
|
|
vector signed short vec_nabs (vector signed short)
|
|
|
|
|
vector signed int vec_nabs (vector signed int)
|
|
|
|
|
vector signed long long vec_nabs (vector signed long long)
|
|
|
|
|
vector float vec_nabs (vector float)
|
|
|
|
|
vector double vec_nabs (vector double)
|
|
|
|
|
* config/rs6000/rs6000-builtin.def: Add definitions for NABS functions
|
|
|
|
|
and NABS overload.
|
|
|
|
|
* config/rs6000/altivec.md: New define_expand nabs<mode>2 types
|
|
|
|
|
* config/rs6000/altivec.h: New define for vec_nabs built-in function.
|
|
|
|
|
* doc/extend.texi: Update the documentation file for the new built-in
|
|
|
|
|
functions.
|
|
|
|
|
|
2017-01-16 18:08:42 +01:00
|
|
|
|
2017-01-16 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning
|
|
|
|
|
message.
|
|
|
|
|
|
2017-01-16 16:05:35 +01:00
|
|
|
|
2017-01-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/rs6000/rs6000.c (rtx_is_swappable_p): Change
|
|
|
|
|
UNSPEC_VSX__XXSPLTD to require special splat handling.
|
|
|
|
|
|
2017-01-16 16:03:41 +01:00
|
|
|
|
2017-01-16 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/78616
|
|
|
|
|
* system.h: Poison strndup.
|
|
|
|
|
|
2017-01-16 12:12:57 +01:00
|
|
|
|
2017-01-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/79098
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_legitimate_combined_insn): Don't
|
|
|
|
|
use a switch.
|
|
|
|
|
|
2017-01-16 10:48:45 +01:00
|
|
|
|
2017-01-16 Georg-Johann Lay <avr@gjlay.de>
|
|
|
|
|
|
|
|
|
|
* config/avr/avr.h (BRANCH_COST) [reload_completed]: Increase by 4.
|
|
|
|
|
|
2017-01-15 19:42:29 +01:00
|
|
|
|
2017-01-15 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (ix86_legitimate_combined_insn): Do not
|
|
|
|
|
call recog here. Assert that INSN_CODE (insn) is non-negative.
|
|
|
|
|
|
2017-01-15 18:06:00 +01:00
|
|
|
|
2017-01-15 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR target/72749
|
|
|
|
|
* cfgrtl.c (rtl_split_edge): Also patch jump insns that jump to the
|
|
|
|
|
fallthrough.
|
|
|
|
|
* haifa-sched.c (dump_insn_stream): Don't crash if there is a label
|
|
|
|
|
in the currently scheduled RTL fragment.
|
|
|
|
|
|
2017-01-15 18:03:55 +01:00
|
|
|
|
2017-01-15 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78751
|
|
|
|
|
* ifcvt.c (find_cond_trap): If we generated a non-existing insn,
|
|
|
|
|
give up.
|
|
|
|
|
|
2017-01-15 10:34:01 +01:00
|
|
|
|
2017-01-14 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79090
|
|
|
|
|
* tree-ssa-dse.c (valid_ao_ref_for_dse): Reject zero length and
|
|
|
|
|
variable length stores.
|
|
|
|
|
(compute_trims): Delete dead assignment to *trim_tail.
|
|
|
|
|
(dse_dom_walker::dse_optimize_stmt): Optimize mem* calls with
|
|
|
|
|
zero length.
|
|
|
|
|
|
2017-01-14 17:52:18 +01:00
|
|
|
|
2017-01-14 Bernd Schmidt <bschmidt@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/78626
|
|
|
|
|
PR rtl-optimization/78727
|
|
|
|
|
* cprop.c (one_cprop_pass): Collect unconditional traps in the middle
|
|
|
|
|
of a block, and split such blocks after everything else is finished.
|
|
|
|
|
|
2017-01-14 14:24:46 +01:00
|
|
|
|
2017-01-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/72749
|
|
|
|
|
* combine.c (recog_for_combine_1): Set INSN_CODE before calling
|
|
|
|
|
target legitimate_combined_insn.
|
|
|
|
|
* config/rs6000/rs6000.c (TARGET_LEGITIMATE_COMBINED_INSN): Define.
|
|
|
|
|
(rs6000_legitimate_combined_insn): New function.
|
|
|
|
|
* config/rs6000/rs6000.md (UNSPEC_DOLOOP): Delete, and remove
|
|
|
|
|
all uses.
|
|
|
|
|
(ctr<mode>_internal3): Rename from *ctr<mode>_internal5.
|
|
|
|
|
(ctr<mode>_internal4): Rename from *ctr<mode>_internal6.
|
|
|
|
|
(ctr<mode>_internal1, ctr<mode>_internal2): Remove '*' from name.
|
|
|
|
|
|
2017-01-14 09:03:17 +01:00
|
|
|
|
2017-01-14 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/frontends.texi (G++ and GCC): Remove references to Java.
|
2017-01-14 14:24:46 +01:00
|
|
|
|
|
2017-01-14 07:16:23 +01:00
|
|
|
|
2017-01-13 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/33562
|
|
|
|
|
PR tree-optimization/61912
|
|
|
|
|
PR tree-optimization/77485
|
|
|
|
|
* tree-ssa-dse.c (delete_dead_call): Accept gsi rather than
|
|
|
|
|
a statement.
|
|
|
|
|
(delete_dead_assignment): Likewise.
|
|
|
|
|
(dse_dom_walker::dse_optimize_stmt): Pass in the gsi rather than
|
|
|
|
|
statement to delete_dead_call and delete_dead_assignment.
|
|
|
|
|
|
2017-01-13 20:27:43 +01:00
|
|
|
|
2017-01-13 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/78304
|
|
|
|
|
* substring-locations.c (format_warning_va): Strengthen case 1 so
|
|
|
|
|
that both endpoints of the substring must be within the format
|
|
|
|
|
range for just the substring to be printed.
|
|
|
|
|
|
2017-01-13 19:32:44 +01:00
|
|
|
|
2017-01-13 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.opt (msgx): Use ix86_isa_flags2 variable.
|
|
|
|
|
* config/i386/i386.c (ix86_target_string): Add missing options
|
|
|
|
|
to isa_opts and reorder options by implied ISAs. Rename isa_opts2 to
|
|
|
|
|
isa2_opts, ix86_flag_opts to flag2_opts, ix86_target_other to
|
|
|
|
|
flags_other and ix86_target_other to flags2_other. Display unknown
|
|
|
|
|
isa2 options.
|
|
|
|
|
(ix86_valid_target_attribute_inner_p): Add missing options and
|
|
|
|
|
reorder options by implied ISAs, as in ix86_target_string.
|
|
|
|
|
|
Avoid excessively-big hash tables in empty-add cycles
A big source of cache misses when compiling a recent version of
gimple-match.ii was the call to cv_cache.empty () in clear_cv_cache.
The problem was that at one early point the hash table had grown
to 8191 entries (128k on LP64 hosts). It then stayed at that size
for the rest of the compilation, even though subsequent uses needed
only a small number of entries (usually fewer than ten). We would
still clear the whole 128k each time clear_cv_cache was called.
empty() already looks for cases where the hash table is very big
and cuts it down. At the moment it fires when the table is 1M
in size and reduces it to the next selected prime above 1K (so
almost 2K in practice). One fix would have been to lower the
threshold, but that didn't feel like the right approach. Reducing
the current limit of 1M by a factor of 8 would be pretty significant
on its own, but I think this cv_cache behaviour would have been a
problem even with 64k or 32k tables.
I think the existing check is really for cases in which even a
well-populated table would need to be shrunk rather than cleared.
Here the problem isn't that the table is excessively big in
absolute terms, more that one outlier has made the table much
too big for the general case.
traverse() already shrinks the table if it's "too empty",
which is taken to be if:
no. elements * 8 < capacity && capacity > 32
So an alternative would be to apply the same test (and the same choice
of shrunken size) to empty_slow too. The patch below does this.
It gives a 2.5% improvement in gimple-match.ii compile time at -O0 -g
and doesn't seem to adversely affect any other tests I've tried.
Of course, there's a theoretical risk of a table alternating between
one large element count and one small element count. If there was a
factor of eight difference between the two, we could shrink the table
on seeing each small element count, then grow it again when adding the
large number of elements. That seems pretty unlikely in practice
though.
Also, empty_slow() does involve a traversal if some form of manual
gc is needed on active elements, so trying to recover from an outlier
should have even more benefit there. (cv_cache uses automatic gc and so
the traversal gets optimised away.)
The calculation of the existing 1M threshold was assuming that each
entry was pointer-sized. This patch makes it use the actual size of the
entry instead.
Tested on aarch64-linux-gnu and x86_64-linux-gnu.
gcc/
* hash-table.h (hash_table::too_empty_p): New function.
(hash_table::expand): Use it.
(hash_table::traverse): Likewise.
(hash_table::empty_slot): Use sizeof (value_type) instead of
sizeof (PTR) to convert bytes to elements. Shrink the table
if the current size is excessive for the current number of
elements.
From-SVN: r244447
2017-01-13 17:00:26 +01:00
|
|
|
|
2017-01-13 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* hash-table.h (hash_table::too_empty_p): New function.
|
|
|
|
|
(hash_table::expand): Use it.
|
|
|
|
|
(hash_table::traverse): Likewise.
|
|
|
|
|
(hash_table::empty_slot): Use sizeof (value_type) instead of
|
|
|
|
|
sizeof (PTR) to convert bytes to elements. Shrink the table
|
|
|
|
|
if the current size is excessive for the current number of
|
|
|
|
|
elements.
|
|
|
|
|
|
2017-01-13 16:56:04 +01:00
|
|
|
|
2017-01-13 Richard Sandiford <richard.sandiford@arm.com>
|
|
|
|
|
|
|
|
|
|
* ira-costs.c (record_reg_classes): Break from the inner loop
|
|
|
|
|
early once alt_fail is known to be true. Update outer loop
|
|
|
|
|
handling accordingly.
|
|
|
|
|
|
2017-01-13 16:37:09 +01:00
|
|
|
|
2017-01-13 Jeff Law <law@redhat.com>
|
|
|
|
|
|
2017-01-13 16:50:11 +01:00
|
|
|
|
* tree-ssa-dse.c (decrement_count): New function.
|
|
|
|
|
(increment_start_addr, maybe_trim_memstar_call): Likewise.
|
|
|
|
|
(dse_dom_walker::optimize_stmt): Call maybe_trim_memstar_call directly
|
|
|
|
|
when we know the partially dead statement is a mem* function.
|
|
|
|
|
|
2017-01-13 16:46:22 +01:00
|
|
|
|
PR tree-optimization/61912
|
|
|
|
|
PR tree-optimization/77485
|
|
|
|
|
* tree-ssa-dse.c: Include expr.h.
|
|
|
|
|
(maybe_trim_constructor_store): New function.
|
|
|
|
|
(maybe_trim_partially_dead_store): Call maybe_trim_constructor_store.
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/33562
|
|
|
|
|
PR tree-optimization/61912
|
|
|
|
|
PR tree-optimization/77485
|
2017-01-13 16:42:08 +01:00
|
|
|
|
* doc/invoke.texi: Document new dse-max-object-size param.
|
|
|
|
|
* params.def (PARM_DSE_MAX_OBJECT_SIZE): New PARAM.
|
|
|
|
|
* tree-ssa-dse.c: Include params.h.
|
|
|
|
|
(dse_store_status): New enum.
|
|
|
|
|
(initialize_ao_ref_for_dse): New, partially extracted from
|
|
|
|
|
dse_optimize_stmt.
|
|
|
|
|
(valid_ao_ref_for_dse, normalize_ref): New.
|
|
|
|
|
(setup_live_bytes_from_ref, compute_trims): Likewise.
|
|
|
|
|
(clear_bytes_written_by, maybe_trim_complex_store): Likewise.
|
|
|
|
|
(maybe_trim_partially_dead_store): Likewise.
|
|
|
|
|
(maybe_trim_complex_store): Likewise.
|
|
|
|
|
(dse_classify_store): Renamed from dse_possibly_dead_store_p.
|
|
|
|
|
Track what bytes live from the original store. Return tri-state
|
|
|
|
|
for dead, partially dead or live.
|
|
|
|
|
(dse_dom_walker): Add constructor, destructor and new private members.
|
|
|
|
|
(delete_dead_call, delete_dead_assignment): New extracted from
|
|
|
|
|
dse_optimize_stmt.
|
|
|
|
|
(dse_optimize_stmt): Make a member of dse_dom_walker.
|
|
|
|
|
Use initialize_ao_ref_for_dse.
|
|
|
|
|
|
2017-01-13 16:37:09 +01:00
|
|
|
|
PR tree-optimization/33562
|
|
|
|
|
PR tree-optimization/61912
|
|
|
|
|
PR tree-optimization/77485
|
|
|
|
|
* sbitmap.h (bitmap_count_bits): Prototype.
|
|
|
|
|
(bitmap_clear_range, bitmap_set_range): Likewise.
|
|
|
|
|
* sbitmap.c (bitmap_clear_range): New function.
|
|
|
|
|
(bitmap_set_range, sbitmap_popcount, bitmap_count_bits): Likewise.
|
|
|
|
|
|
2017-01-13 13:56:54 +01:00
|
|
|
|
2017-01-13 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/79043
|
|
|
|
|
* function.c (set_cfun): Add new argument force.
|
|
|
|
|
* function.h (set_cfun): Likewise.
|
|
|
|
|
* ipa-inline-transform.c (inline_call): Use the function when
|
|
|
|
|
strict alising from is dropped for function we inline to.
|
|
|
|
|
|
2017-01-13 13:54:16 +01:00
|
|
|
|
2017-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-pretty-print.c (dump_generic_node): Fix inverted condition
|
|
|
|
|
for dumping GIMPLE INTEGER_CSTs.
|
|
|
|
|
|
2017-01-13 13:11:00 +01:00
|
|
|
|
2017-01-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__
|
|
|
|
|
to 201112L since C++17.
|
|
|
|
|
|
2017-01-13 11:08:50 +01:00
|
|
|
|
2017-01-13 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/78887
|
|
|
|
|
* asan.c (asan_needs_odr_indicator_p): Don't emit ODR indicators
|
|
|
|
|
if -fsanitize=kernel-address is present.
|
|
|
|
|
|
2017-01-13 09:16:59 +01:00
|
|
|
|
2017-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-pretty-print.c (dump_generic_node): Dump INTEGER_CSTs
|
|
|
|
|
as _Literal ( type ) number in case usual suffixes do not
|
|
|
|
|
preserve all information.
|
|
|
|
|
|
2017-01-16 10:33:12 +01:00
|
|
|
|
2017-01-13 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/77283
|
|
|
|
|
* gimple-ssa-split-paths.c: Include gimple-ssa.h, tree-phinodes.h
|
|
|
|
|
and ssa-iterators.h.
|
|
|
|
|
(is_feasible_trace): Implement a cost model based on joiner
|
|
|
|
|
PHI node uses.
|
|
|
|
|
|
2017-01-12 23:02:57 +01:00
|
|
|
|
2017-01-12 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79004
|
|
|
|
|
* config/rs6000/rs6000.md (FP_ISA3): Do not optimize converting
|
|
|
|
|
char or short to __float128/_Float128 directly.
|
|
|
|
|
|
2017-01-12 22:54:41 +01:00
|
|
|
|
2017-01-12 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
to -Wformat-overflow.
|
|
|
|
|
* gimple-ssa-sprintf.c (pass_sprintf_length::gate): Adjust.
|
|
|
|
|
(min_bytes_remaining): Same.
|
|
|
|
|
(get_string_length): Same.
|
|
|
|
|
(format_string): Same.
|
|
|
|
|
(format_directive): Same.
|
|
|
|
|
(add_bytes): Same.
|
|
|
|
|
(pass_sprintf_length::handle_gimple_call): Same.
|
|
|
|
|
|
2017-01-12 22:29:43 +01:00
|
|
|
|
2017-01-12 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-12 22:30:56 +01:00
|
|
|
|
* gimple-ssa-sprintf.c (try_substitute_return_value): Remove
|
|
|
|
|
info.nowrite calls with no lhs that can't throw. Return bool
|
|
|
|
|
whether gsi_remove has been called or not.
|
|
|
|
|
(pass_sprintf_length::handle_gimple_call): Return bool whether
|
|
|
|
|
try_substitute_return_value called gsi_remove. Formatting fix.
|
|
|
|
|
(pass_sprintf_length::execute): Don't use gsi_remove if
|
|
|
|
|
handle_gimple_call returned true.
|
|
|
|
|
|
2017-01-12 22:29:43 +01:00
|
|
|
|
PR bootstrap/79069
|
|
|
|
|
* cfgrtl.c (rtl_tidy_fallthru_edge): For any_uncondjump_p that can't
|
|
|
|
|
be removed due to side-effects, don't remove following barrier nor
|
|
|
|
|
turn the successor edge into fallthru edge.
|
|
|
|
|
|
2017-01-12 17:01:13 +01:00
|
|
|
|
2017-01-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/79044
|
|
|
|
|
* config/rs6000/rs6000.c (insn_is_swappable_p): Mark
|
|
|
|
|
element-reversing loads and stores as not swappable.
|
|
|
|
|
|
2017-01-12 14:54:43 +01:00
|
|
|
|
2017-01-12 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
Nicolai Stange <nicstange@gmail.com>
|
|
|
|
|
|
|
|
|
|
* combine.c (try_combine): Don't ignore result of overlap checking
|
|
|
|
|
loop. Combine overlap & asm check into single loop.
|
|
|
|
|
|
2017-01-12 09:33:09 +01:00
|
|
|
|
2017-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-pretty-print.c (dump_generic_node): Provide -gimple
|
|
|
|
|
variant for MEM_REF. Sanitize INTEGER_CST for -gimple.
|
|
|
|
|
|
2017-01-12 09:13:43 +01:00
|
|
|
|
2017-01-12 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree.c (initialize_tree_contains_struct): Make TS_OPTIMIZATION
|
|
|
|
|
and TS_TARGET_OPTION directly derive from TS_BASE.
|
|
|
|
|
* tree-core.h (tree_optimization_option): Derive from tree_base.
|
|
|
|
|
(tree_target_option): Likewise.
|
|
|
|
|
|
2017-01-11 22:53:45 +01:00
|
|
|
|
2017-01-11 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.c (memory_address_length): Increase len
|
|
|
|
|
only when rip_relative_addr_p returns false.
|
|
|
|
|
|
2017-01-11 22:41:13 +01:00
|
|
|
|
2017-01-11 Julia Koval <julia.koval@intel.com>
|
|
|
|
|
|
|
|
|
|
* common/config/i386/i386-common.c (OPTION_MASK_ISA_SGX_UNSET): New.
|
|
|
|
|
(OPTION_MASK_ISA_SGX_SET): New.
|
|
|
|
|
(ix86_handle_option): Handle OPT_msgx.
|
|
|
|
|
* config.gcc: Added sgxintrin.h.
|
|
|
|
|
* config/i386/driver-i386.c (host_detect_local_cpu): Detect sgx.
|
|
|
|
|
* config/i386/i386-c.c (ix86_target_macros_internal): Define __SGX__.
|
|
|
|
|
* config/i386/i386.c (ix86_target_string): Add -msgx.
|
|
|
|
|
(PTA_SGX): New.
|
|
|
|
|
(ix86_option_override_internal): Handle new options.
|
|
|
|
|
(ix86_valid_target_attribute_inner_p): Add sgx.
|
|
|
|
|
* config/i386/i386.h (TARGET_SGX, TARGET_SGX_P): New.
|
|
|
|
|
* config/i386/i386.opt: Add msgx.
|
|
|
|
|
* config/i386/sgxintrin.h: New file.
|
|
|
|
|
* config/i386/x86intrin.h: Add sgxintrin.h.
|
|
|
|
|
|
2017-01-11 19:08:57 +01:00
|
|
|
|
2017-01-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-11 21:10:36 +01:00
|
|
|
|
PR c++/71537
|
|
|
|
|
* fold-const.c (maybe_nonzero_address): Return 1 for function
|
|
|
|
|
local objects.
|
|
|
|
|
(tree_single_nonzero_warnv_p): Don't handle function local objects
|
|
|
|
|
here.
|
|
|
|
|
|
2017-01-11 19:08:57 +01:00
|
|
|
|
PR c++/72813
|
|
|
|
|
* gcc.c (default_compilers): Don't add -o %g.s for -S -save-temps
|
|
|
|
|
of c-header.
|
|
|
|
|
|
2017-01-11 18:25:40 +01:00
|
|
|
|
2017-01-11 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR driver/78877
|
|
|
|
|
* opts.c: Include "spellcheck.h"
|
|
|
|
|
(struct string_fragment): New struct.
|
|
|
|
|
(struct edit_distance_traits<const string_fragment &>): New
|
|
|
|
|
struct.
|
|
|
|
|
(get_closest_sanitizer_option): New function.
|
|
|
|
|
(parse_sanitizer_options): Offer suggestions for unrecognized arguments.
|
|
|
|
|
|
2017-01-11 17:46:15 +01:00
|
|
|
|
2017-01-11 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (DWARF_COMPILE_UNIT_HEADER_SIZE): For DWARF5 decrease
|
|
|
|
|
by 12.
|
|
|
|
|
(DWARF_COMDAT_TYPE_UNIT_HEADER_SIZE): Always
|
|
|
|
|
DWARF_COMPILE_UNIT_HEADER_SIZE plus 12.
|
|
|
|
|
(DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE): Define.
|
|
|
|
|
(calc_base_type_die_sizes): Use DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE
|
|
|
|
|
for initial die_offset if dwarf_split_debug_info.
|
|
|
|
|
(output_comp_unit): Use DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE for
|
|
|
|
|
initial next_die_offset if dwo_id is non-NULL. Don't emit padding
|
|
|
|
|
fields.
|
|
|
|
|
(output_skeleton_debug_sections): Formatting fix. Use
|
|
|
|
|
DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE instead of
|
|
|
|
|
DWARF_COMPILE_UNIT_HEADER_SIZE. Don't emit padding.
|
|
|
|
|
|
2017-01-11 17:38:42 +01:00
|
|
|
|
2017-01-11 Wilco Dijkstra <wdijkstr@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/cortex-a53.md: Add bypasses for
|
|
|
|
|
cortex_a53_r2f_cvt.
|
|
|
|
|
(cortex_a53_r2f): Only use for transfers.
|
|
|
|
|
(cortex_a53_f2r): Likewise.
|
|
|
|
|
(cortex_a53_r2f_cvt): Add reservation for conversions.
|
|
|
|
|
(cortex_a53_f2r_cvt): Likewise.
|
|
|
|
|
|
2017-01-11 17:30:28 +01:00
|
|
|
|
2017-01-11 Tamar Christina <tamar.christina@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm_neon.h: Add __artificial__ and gnu_inline
|
|
|
|
|
to all inlined functions, change static to extern.
|
|
|
|
|
|
2017-01-11 17:13:14 +01:00
|
|
|
|
2017-01-11 Christophe Lyon <christophe.lyon@linaro.org>
|
|
|
|
|
|
|
|
|
|
PR target/78253
|
|
|
|
|
* config/arm/arm.c (legitimize_pic_address): Handle reference to
|
|
|
|
|
weak symbol.
|
|
|
|
|
(arm_assemble_integer): Likewise.
|
|
|
|
|
|
2017-01-11 15:39:00 +01:00
|
|
|
|
2017-01-11 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* config.gcc: Use new awk script to check CPU, FPU and architecture
|
|
|
|
|
parameters for --with-... options.
|
|
|
|
|
* config/arm/parsecpu.awk: New file
|
|
|
|
|
* config/arm/arm-cpus.in: New file.
|
|
|
|
|
* config/arm/arm-opts.h: Include arm-cpu.h instead of processing .def
|
|
|
|
|
files.
|
|
|
|
|
* config/arm/arm.c: Include arm-cpu-data.h instead of processing .def
|
|
|
|
|
files.
|
|
|
|
|
* config/arm/t-arm: Update dependency rules.
|
|
|
|
|
* common/config/arm/arm-common.c: Include arm-cpu-cdata.h instead
|
|
|
|
|
of processing .def files.
|
|
|
|
|
* config/arm/genopt.sh: Deleted.
|
|
|
|
|
* config/arm/gentune.sh: Deleted.
|
|
|
|
|
* config/arm/arm-cores.def: Deleted.
|
|
|
|
|
* config/arm/arm-arches.def: Deleted.
|
|
|
|
|
* config/arm/arm-fpus.def: Deleted.
|
|
|
|
|
* config/arm/arm-tune.md: Regenerated.
|
|
|
|
|
* config/arm/arm-tables.opt: Regenerated.
|
|
|
|
|
* config/arm/arm-cpu.h: New generated file.
|
|
|
|
|
* config/arm/arm-cpu-data.h: New generated file.
|
|
|
|
|
* config/arm/arm-cpu-cdata.h: New generated file.
|
|
|
|
|
|
2017-01-11 13:57:42 +01:00
|
|
|
|
2017-01-11 Maxim Ostapenko <m.ostapenko@samsung.com>
|
|
|
|
|
|
|
|
|
|
PR lto/79042
|
|
|
|
|
* lto-cgraph.c (lto_output_varpool_node): Pack dynamically_initialized
|
|
|
|
|
bit.
|
|
|
|
|
(input_varpool_node): Unpack dynamically_initialized bit.
|
|
|
|
|
|
2017-01-11 12:27:43 +01:00
|
|
|
|
2017-01-11 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/79032
|
|
|
|
|
* lra-constraints.c (simplify_operand_subreg): In the MEM case, test
|
|
|
|
|
the alignment of the adjusted memory reference against that of MODE,
|
|
|
|
|
instead of the alignment of the original memory reference.
|
|
|
|
|
|
2017-01-11 11:35:31 +01:00
|
|
|
|
2017-01-11 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa.c (hsa_callable_function_p): Revert addition of DECL_ARTIFICIAL
|
|
|
|
|
test.
|
|
|
|
|
* ipa-hsa.c (process_hsa_functions): Only duplicate non-artificial
|
|
|
|
|
decorated functions.
|
|
|
|
|
|
2017-01-11 10:06:29 +01:00
|
|
|
|
2017-01-11 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
* tree-vrp.c (evrp_dom_walker::before_dom_children): Also
|
|
|
|
|
set range/nonnull info for PHI results. Do not set it on
|
|
|
|
|
stmts marked for removal.
|
|
|
|
|
|
2017-01-11 00:05:13 +01:00
|
|
|
|
2017-01-10 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* expr.c (store_field): In the bitfield case, fetch the return value
|
|
|
|
|
from the registers before applying a single big-endian adjustment.
|
|
|
|
|
Always do a final load for a BLKmode value not larger than a word.
|
|
|
|
|
|
Fix issues with unrepresentable column numbers (PR c++/77949)
PR c++/77949 identifies an ICE when the C++ frontend attempts to emit a
fix-it hint inserting a missing semicolon at column 4097 of a source file.
This column value exceeds LINE_MAP_MAX_COLUMN_NUMBER and hence isn't
representable using a location_t.
Attempting to do so leads to these problems, which this patch fixes:
(a) when encountering a column number > LINE_MAP_MAX_COLUMN_NUMBER we
create a new linemap with m_column_and_range_bits == 0, but
linemap_position_for_column doesn't check for this, and hence can emit
a bogus location_t value that's calculated relative to the previous
linemap start, but which will be decoded relative to the new linemap,
leading to very large incorrect line values.
(b) when encountering a column number that can't be represented, and
for which the linemap was pre-existing, the code would hit this assertion:
if (linemap_assert_fails (column < (1u << map->m_column_and_range_bits)))
around a bail-out condition. The patch replaces this assertion with a
simple conditional, to stop the ICE when this occurs, and fixes the
bit count (effective column bits, vs column+range bits)
(c) the C++ frontend wasn't checking for failure of
linemap_position_for_loc_and_offset when considering emitting the fix-it
hint. The patch adds a conditional, so that no fix-it hint is emitted
if the location is bogus.
gcc/cp/ChangeLog:
PR c++/77949
* parser.c (cp_parser_class_specifier_1): Only suggest inserting
a missing semicolon if we have a valid insertion location for
the fix-it hint.
gcc/ChangeLog:
PR c++/77949
* input.c (selftest::test_accessing_ordinary_linemaps): Verify
that we correctly handle column numbers greater than
LINE_MAP_MAX_COLUMN_NUMBER.
gcc/testsuite/ChangeLog:
PR c++/77949
* g++.dg/diagnostic/pr77949.C: New test case.
libcpp/ChangeLog:
PR c++/77949
* line-map.c (linemap_position_for_column): When calling
linemap_start_line, detect if a new linemap was created with
0 column bits, and bail out early if this is the case.
(linemap_position_for_loc_and_offset): Replace overzealous
linemap_assert_fails with a simple conditional; use correct
bit count.
From-SVN: r244292
2017-01-10 22:54:09 +01:00
|
|
|
|
2017-01-10 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/77949
|
|
|
|
|
* input.c (selftest::test_accessing_ordinary_linemaps): Verify
|
|
|
|
|
that we correctly handle column numbers greater than
|
|
|
|
|
LINE_MAP_MAX_COLUMN_NUMBER.
|
|
|
|
|
|
2017-01-10 22:56:44 +01:00
|
|
|
|
2017-01-10 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/78245
|
|
|
|
|
* gimple-ssa-sprintf.c (get_destination_size): Call
|
|
|
|
|
{init,fini}object_sizes.
|
|
|
|
|
* tree-object-size.c (addr_object_size): Adjust.
|
|
|
|
|
(pass_through_call): Adjust.
|
|
|
|
|
(pass_object_sizes::execute): Adjust.
|
|
|
|
|
* tree-object-size.h (fini_object_sizes): Declare.
|
|
|
|
|
|
2017-01-10 22:02:07 +01:00
|
|
|
|
2017-01-10 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78775
|
|
|
|
|
* builtins.c (get_size_range): Move...
|
|
|
|
|
* calls.c: ...to here.
|
|
|
|
|
(alloc_max_size): Accept zero argument.
|
|
|
|
|
(operand_signed_p): Remove.
|
|
|
|
|
(maybe_warn_alloc_args_overflow): Call get_size_range.
|
|
|
|
|
* calls.h (get_size_range): Declare.
|
|
|
|
|
|
2017-01-10 21:59:20 +01:00
|
|
|
|
2017-01-10 Joe Seymour <joe.s@somniumtech.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/driver-msp430.c (msp430_mcu_data): Sync with data
|
|
|
|
|
from TI's devices.csv file as of September 2016.
|
|
|
|
|
* config/msp430/msp430.c (msp430_mcu_data): Likewise.
|
|
|
|
|
|
2017-01-10 21:37:00 +01:00
|
|
|
|
2017-01-10 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/extend.texi: Tweak formatting to fix overfull hbox warnings.
|
|
|
|
|
* doc/invoke.texi: Likewise.
|
|
|
|
|
* doc/md.texi: Likewise.
|
|
|
|
|
* doc/objc.texi: Likewise.
|
|
|
|
|
|
2017-01-10 19:00:43 +01:00
|
|
|
|
2017-01-10 Joshua Conner <joshconner@google.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/fuchsia-elf.h: New file.
|
|
|
|
|
* config/fuchsia.h: New file.
|
|
|
|
|
* config.gcc (*-*-fuchsia*): Set native_system_header_dir.
|
|
|
|
|
(aarch64*-*-fuchsia*, arm*-*-fuchsia*, x86_64-*-fuchsia*): Add to
|
|
|
|
|
targets.
|
2017-01-14 14:24:46 +01:00
|
|
|
|
* config.host: (aarch64*-*-fuchsia*, arm*-*-fuchsia*): Add to hosts.
|
2017-01-10 19:00:43 +01:00
|
|
|
|
|
2017-01-10 15:50:32 +01:00
|
|
|
|
2016-01-10 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79034
|
|
|
|
|
* tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds):
|
|
|
|
|
Propagate out degenerate PHIs in the joiner.
|
|
|
|
|
|
2017-01-10 15:39:33 +01:00
|
|
|
|
2017-01-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-icf.c (sort_sem_items_by_decl_uid): New function.
|
|
|
|
|
(sort_congruence_classes_by_decl_uid): Likewise.
|
|
|
|
|
(sort_congruence_class_groups_by_decl_uid): Likewise.
|
|
|
|
|
(sem_item_optimizer::merge_classes): Sort class, groups in these
|
|
|
|
|
classes and members in the groups by DECL_UID of declarations.
|
|
|
|
|
This would make merge operations stable.
|
|
|
|
|
|
2017-01-10 15:37:55 +01:00
|
|
|
|
2017-01-10 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* ipa-icf.c (sem_item_optimizer::sem_item_optimizer): Remove
|
|
|
|
|
usage of m_classes_vec.
|
|
|
|
|
(sem_item_optimizer::~sem_item_optimizer): Likewise.
|
|
|
|
|
(sem_item_optimizer::get_group_by_hash): Likewise.
|
|
|
|
|
(sem_item_optimizer::subdivide_classes_by_equality): Likewise.
|
|
|
|
|
(sem_item_optimizer::subdivide_classes_by_sensitive_refs): Likewise.
|
|
|
|
|
(sem_item_optimizer::verify_classes): Likewise.
|
|
|
|
|
(sem_item_optimizer::process_cong_reduction): Likewise.
|
|
|
|
|
(sem_item_optimizer::dump_cong_classes): Likewise.
|
|
|
|
|
(sem_item_optimizer::merge_classes): Likewise.
|
|
|
|
|
* ipa-icf.h (congruence_class_hash): Rename from
|
2017-01-10 17:23:52 +01:00
|
|
|
|
congruence_class_group_hash. Remove declaration of m_classes_vec.
|
2017-01-10 15:37:55 +01:00
|
|
|
|
|
2017-01-10 13:55:41 +01:00
|
|
|
|
2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
|
|
|
|
|
|
|
|
|
|
* common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VPOPCNTDQ_SET,
|
|
|
|
|
OPTION_MASK_ISA_AVX512VPOPCNTDQ_UNSET): New.
|
|
|
|
|
* config.gcc: Add avx512vpopcntdqintrin.h.
|
|
|
|
|
* config/i386/avx512vpopcntdqintrin.h: New.
|
|
|
|
|
* config/i386/cpuid.h (bit_AVX512VPOPCNTDQ): New.
|
|
|
|
|
* config/i386/i386-builtin-types.def: Add new types.
|
|
|
|
|
* config/i386/i386-builtin.def (__builtin_ia32_vpopcountd_v16si,
|
|
|
|
|
__builtin_ia32_vpopcountd_v16si_mask, __builtin_ia32_vpopcountq_v8di,
|
|
|
|
|
__builtin_ia32_vpopcountq_v8di_mask): New.
|
|
|
|
|
* config/i386/i386-c.c (ix86_target_macros_internal): Define
|
|
|
|
|
__AVX512VPOPCNTDQ__.
|
|
|
|
|
* config/i386/i386.c (ix86_target_string): Add -mavx512vpopcntdq.
|
|
|
|
|
(PTA_AVX512VPOPCNTDQ): Define.
|
|
|
|
|
* config/i386/i386.h (TARGET_AVX512VPOPCNTDQ,
|
|
|
|
|
TARGET_AVX512VPOPCNTDQ_P): Define.
|
|
|
|
|
* config/i386/i386.opt: Add mavx512vpopcntdq.
|
|
|
|
|
* config/i386/immintrin.h: Include avx512vpopcntdqintrin.h.
|
|
|
|
|
* config/i386/sse.md (define_insn "vpopcount<mode><mask_name>"): New.
|
|
|
|
|
|
2017-01-10 10:14:54 +01:00
|
|
|
|
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77484
|
|
|
|
|
* predict.def (PRED_CALL): Set to 67.
|
|
|
|
|
|
2017-01-09 23:17:17 +01:00
|
|
|
|
2017-01-09 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* expr.c (store_field): In the bitfield case, if the value comes from
|
|
|
|
|
a function call and is of an aggregate type returned in registers, do
|
|
|
|
|
not modify the field mode; extract the value in all cases if the mode
|
|
|
|
|
is BLKmode and the size is not larger than a word.
|
|
|
|
|
|
2017-01-09 23:00:32 +01:00
|
|
|
|
2017-01-09 Dominique d'Humieres <dominiq@lps.ens.fr>
|
|
|
|
|
|
|
|
|
|
PR target/71017
|
|
|
|
|
* config/i386/cpuid.h: Fix undefined behavior.
|
|
|
|
|
|
2017-01-09 22:53:02 +01:00
|
|
|
|
2017-01-04 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/79007
|
|
|
|
|
PR tree-optimization/67955
|
|
|
|
|
* tree-ssa-alias.c (same_addr_size_stores_p): Only need to be
|
|
|
|
|
conservative for pt.null when flag_non_call_exceptions is on.
|
|
|
|
|
|
2017-01-09 21:10:23 +01:00
|
|
|
|
2017-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-09 22:48:33 +01:00
|
|
|
|
PR translation/79019
|
|
|
|
|
PR translation/79020
|
|
|
|
|
* params.def (PARAM_INLINE_MIN_SPEEDUP,
|
|
|
|
|
PARAM_IPA_CP_SINGLE_CALL_PENALTY,
|
|
|
|
|
PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD): Fix typos
|
|
|
|
|
in descriptions.
|
|
|
|
|
* config/avr/avr.opt (maccumulate-args): Likewise.
|
|
|
|
|
* config/msp430/msp430.opt (mwarn-mcu): Likewise.
|
|
|
|
|
* common.opt (freport-bug): Likewise.
|
|
|
|
|
* cif-code.def (CIF_FINAL_ERROR): Likewise.
|
|
|
|
|
* doc/invoke.texi (ipa-cp-single-call-penalty): Likewise.
|
|
|
|
|
* config/s390/s390.c (s390_invalid_binary_op): Fix spelling in
|
|
|
|
|
translatable string.
|
|
|
|
|
* config/i386/i386.c (function_value_32): Likewise.
|
|
|
|
|
* config/nios2/nios2.c (nios2_valid_target_attribute_rec): Likewise.
|
|
|
|
|
* config/msp430/msp430.c (msp430_option_override, msp430_attr):
|
|
|
|
|
Likewise.
|
|
|
|
|
* config/msp430/driver-msp430.c (msp430_select_hwmult_lib): Likewise.
|
|
|
|
|
* common/config/msp430/msp430-common.c (msp430_handle_option):
|
|
|
|
|
Likewise.
|
|
|
|
|
* symtab.c (symtab_node::verify_base): Likewise.
|
|
|
|
|
* opts.c (set_debug_level): Likewise.
|
|
|
|
|
* tree.c (verify_type_variant): Likewise. Fix typo in comment.
|
|
|
|
|
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
|
|
|
|
|
missing whitespace to translatable strings.
|
|
|
|
|
* config/avr/avr.md (bswapsi2): Fix typo in comment.
|
|
|
|
|
* config/sh/superh.h: Likewise.
|
|
|
|
|
* config/i386/xopintrin.h: Likewise.
|
|
|
|
|
* config/i386/znver1.md: Likewise.
|
|
|
|
|
* config/rs6000/rs6000.c (struct rs6000_opt_mask): Likewise.
|
|
|
|
|
* ipa-inline-analysis.c (compute_inline_parameters): Likewise.
|
|
|
|
|
* double-int.h (struct double_int): Likewise.
|
|
|
|
|
* double-int.c (div_and_round_double): Likewise.
|
|
|
|
|
* wide-int.cc: Likewise.
|
|
|
|
|
* tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
|
|
|
|
|
* tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise.
|
|
|
|
|
* cfgcleanup.c (crossjumps_occured): Renamed to ...
|
|
|
|
|
(crossjumps_occurred): ... this.
|
|
|
|
|
(try_crossjump_bb, try_head_merge_bb, try_optimize_cfg, cleanup_cfg):
|
|
|
|
|
Adjust all uses.
|
|
|
|
|
|
2017-01-09 21:10:23 +01:00
|
|
|
|
PR tree-optimization/78899
|
|
|
|
|
* tree-if-conv.c (version_loop_for_if_conversion): Instead of
|
|
|
|
|
returning bool return struct loop *, NULL for failure and the new
|
|
|
|
|
loop on success.
|
|
|
|
|
(versionable_outer_loop_p): Don't version outer loop if it has
|
|
|
|
|
dont_vectorized bit set.
|
|
|
|
|
(tree_if_conversion): When versioning outer loop, ensure
|
|
|
|
|
tree_if_conversion is performed also on the inner loop of the
|
|
|
|
|
non-vectorizable outer loop copy.
|
|
|
|
|
* tree-vectorizer.c (set_uid_loop_bbs): Formatting fix. Fold
|
|
|
|
|
LOOP_VECTORIZED in inner loop of the scalar outer loop and
|
|
|
|
|
prevent vectorization of it.
|
|
|
|
|
(vectorize_loops): For outer + inner LOOP_VECTORIZED, ensure
|
|
|
|
|
the outer loop vectorization of the non-scalar version is attempted
|
|
|
|
|
before vectorization of the inner loop in scalar version. If
|
|
|
|
|
outer LOOP_VECTORIZED guarded loop is not vectorized, prevent
|
|
|
|
|
vectorization of its inner loop.
|
|
|
|
|
* tree-vect-loop-manip.c (rename_variables_in_bb): If outer_loop
|
|
|
|
|
has 2 inner loops, rename also on edges from bb whose single pred
|
|
|
|
|
is outer_loop->header. Fix typo in function comment.
|
|
|
|
|
|
2017-01-09 21:08:49 +01:00
|
|
|
|
2017-01-09 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79033
|
|
|
|
|
* asan.c (asan_emit_stack_protection): Increase local buffer size
|
|
|
|
|
to avoid snprintf truncation warning.
|
|
|
|
|
|
2017-01-09 19:52:42 +01:00
|
|
|
|
2017-01-09 Andrew Pinski <apinski@cavium.com>
|
|
|
|
|
|
|
|
|
|
* config/aarch64/aarch64-cores.def: Add thunderx2t99. Change vulcan
|
|
|
|
|
to reference thunderx2t99 for the tuning structure
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* config/aarch64/aarch64-cost-tables.h (vulcan_extra_costs):
|
|
|
|
|
Rename to ...
|
2017-01-09 19:52:42 +01:00
|
|
|
|
(thunderx2t99_extra_costs): This.
|
|
|
|
|
* config/aarch64/aarch64-tune.md: Regenerate.
|
|
|
|
|
* config/aarch64/aarch64.c (vulcan_addrcost_table): Rename to ...
|
|
|
|
|
(vulcan_addrcost_table): This.
|
|
|
|
|
(vulcan_regmove_cost): Rename to ...
|
|
|
|
|
(thunderx2t99_regmove_cost): This.
|
|
|
|
|
(vulcan_vector_cost): Rename to ...
|
|
|
|
|
(thunderx2t99_vector_cost): this.
|
|
|
|
|
(vulcan_branch_cost): Rename to ...
|
|
|
|
|
(thunderx2t99_branch_cost): This.
|
|
|
|
|
(vulcan_tunings): Rename to ...
|
|
|
|
|
(thunderx2t99_tunings): This and s/vulcan/thunderx2t99 .
|
|
|
|
|
* doc/invoke.texi (AARCH64/mtune): Add thunderx2t99.
|
|
|
|
|
|
2017-01-09 19:26:37 +01:00
|
|
|
|
2017-01-09 Martin Jambor <mjambor@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR ipa/78365
|
|
|
|
|
PR ipa/78599
|
|
|
|
|
* ipa-prop.h (ipa_jump_func): Swap positions of vr_known and m_vr.
|
|
|
|
|
* ipa-cp.c (ipa_vr_operation_and_type_effects): New function.
|
|
|
|
|
(propagate_vr_accross_jump_function): Use the above function for all
|
|
|
|
|
value range computations for pass-through jump functions and type
|
|
|
|
|
converasion from explicit value range values.
|
2017-01-09 19:51:40 +01:00
|
|
|
|
(ipcp_propagate_stage): Do not attempt to deduce types of formal
|
|
|
|
|
parameters from TYPE_ARG_TYPES.
|
2017-01-09 19:26:37 +01:00
|
|
|
|
* ipa-prop.c (ipa_write_jump_function): Remove trailing whitespace.
|
|
|
|
|
(ipa_write_node_info): Stream type of the actual argument.
|
|
|
|
|
(ipa_read_node_info): Likewise. Also remove trailing whitespace.
|
|
|
|
|
|
2017-01-09 16:24:35 +01:00
|
|
|
|
2017-01-09 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR pch/78970
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* gcc.c (driver_handle_option): Handle OPT_E and set have_E.
|
2017-01-09 16:24:35 +01:00
|
|
|
|
(lookup_compiler): Do not show error message with have_E.
|
|
|
|
|
|
re PR tree-optimization/78938 (ICE in expand_vec_cond_expr, at optabs.c:5636 w/ -mavx512bw -ftree-loop-vectorize -O1)
PR tree-optimization/78938
* tree-vect-stmts.c (vectorizable_condition): For non-masked COND_EXPR
where comp_vectype is VECTOR_BOOLEAN_TYPE_P, use
BIT_{NOT,XOR,AND,IOR}_EXPR on the comparison operands instead of
{EQ,NE,GE,GT,LE,LT}_EXPR directly inside of VEC_COND_EXPR. Formatting
fixes.
* gcc.dg/vect/pr78938.c: New test.
From-SVN: r244223
2017-01-09 12:44:52 +01:00
|
|
|
|
2017-01-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78938
|
|
|
|
|
* tree-vect-stmts.c (vectorizable_condition): For non-masked COND_EXPR
|
|
|
|
|
where comp_vectype is VECTOR_BOOLEAN_TYPE_P, use
|
|
|
|
|
BIT_{NOT,XOR,AND,IOR}_EXPR on the comparison operands instead of
|
|
|
|
|
{EQ,NE,GE,GT,LE,LT}_EXPR directly inside of VEC_COND_EXPR. Formatting
|
|
|
|
|
fixes.
|
|
|
|
|
|
2017-01-09 10:42:10 +01:00
|
|
|
|
2017-01-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* tree-ssa-address.c (gen_addr_rtx): Don't handle index if it
|
|
|
|
|
is const0_rtx.
|
|
|
|
|
|
2017-01-09 09:25:13 +01:00
|
|
|
|
2017-01-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78997
|
|
|
|
|
* tree-vect-slp.c (vect_mask_constant_operand_p): Handle SSA
|
|
|
|
|
name condition properly.
|
|
|
|
|
|
2017-01-09 09:22:58 +01:00
|
|
|
|
2017-01-09 Richard Biener <rguenther@suse.de>
|
|
|
|
|
|
|
|
|
|
PR debug/79000
|
|
|
|
|
* dwarf2out.c (is_cxx): New overload with context.
|
|
|
|
|
(is_naming_typedef_decl): Use it.
|
|
|
|
|
|
2017-01-09 07:43:18 +01:00
|
|
|
|
2017-01-08 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* invoke.texi (Option Summary): Correct spacing in option lists
|
|
|
|
|
and add line breaks to fix over-long lines.
|
|
|
|
|
|
2017-01-09 04:06:23 +01:00
|
|
|
|
2017-01-08 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/17660
|
|
|
|
|
|
|
|
|
|
* extend.texi (Common Variable Attributes): Add xref to GCC
|
|
|
|
|
Internals manual to explain mode attribute keywords.
|
|
|
|
|
|
2017-01-09 03:39:24 +01:00
|
|
|
|
2017-01-08 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR other/16519
|
|
|
|
|
* doc/invoke.texi (Option Summary): Move -pthread to Linker Options
|
|
|
|
|
and Preprocessor Options.
|
|
|
|
|
(Options for Linking): Document -pthread here....
|
|
|
|
|
(RS/6000 and PowerPC Options): ...not here.
|
|
|
|
|
(Solaris 2 Options): ...or here.
|
|
|
|
|
* doc/cppopts.texi: Document -pthread.
|
|
|
|
|
|
2017-01-09 00:42:09 +01:00
|
|
|
|
2017-01-08 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77708
|
|
|
|
|
* doc/invoke.texi (Warning Options): Document -Wformat-truncation.
|
|
|
|
|
* gimple-ssa-sprintf.c (call_info::reval_used, call_info::warnopt):
|
|
|
|
|
New member functions.
|
|
|
|
|
(format_directive): Used them.
|
|
|
|
|
(add_bytes): Same.
|
|
|
|
|
(pass_sprintf_length::handle_gimple_call): Same.
|
|
|
|
|
* graphite-sese-to-poly.c (tree_int_to_gmp): Increase buffer size
|
|
|
|
|
to avoid truncation for any argument.
|
|
|
|
|
(extract_affine_mul): Same.
|
|
|
|
|
* tree.c (get_file_function_name): Same.
|
|
|
|
|
|
2017-01-08 10:53:06 +01:00
|
|
|
|
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77484
|
|
|
|
|
* predict.def (PRED_INDIR_CALL): Set to 86.
|
|
|
|
|
|
2017-01-08 02:42:26 +01:00
|
|
|
|
2017-01-07 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR preprocessor/54124
|
|
|
|
|
* doc/cppopts.texi: Reformat -d subtable to list the full name
|
|
|
|
|
of the options. Add cross-reference to the docs for the general
|
|
|
|
|
compiler -d options.
|
|
|
|
|
* doc/invoke.texi (Developer Options): Add cross-reference to the
|
|
|
|
|
preprocessor-specific -d option documentation.
|
|
|
|
|
|
2017-01-07 23:46:13 +01:00
|
|
|
|
2017-01-07 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR preprocessor/13498
|
|
|
|
|
* doc/cpp.texi (Search Path): Rewrite to remove obsolete and
|
|
|
|
|
redudant material, and reflect new command-line options.
|
|
|
|
|
(System Headers): Likewise.
|
|
|
|
|
|
2017-01-07 23:37:55 +01:00
|
|
|
|
2017-01-07 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/cppdiropts.texi: Merge documentation of -I, -iquote,
|
|
|
|
|
-isystem, and -idirafter. Copy-edit.
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* doc/cppopts.texi: Copy-edit. Remove contradiction about
|
|
|
|
|
default for -ftrack-macro-expansion. Delete obsolete and
|
2017-01-07 23:37:55 +01:00
|
|
|
|
badly-formatted implementation details about -fdebug-cpp output.
|
|
|
|
|
* doc/cppwarnopts.texi: Copy-edit.
|
|
|
|
|
|
Fix linemap corruption after very wide source lines (PR c++/72803)
PR c++/72803 describes an issue where a fix-it hint is to be emitted at
column 512 of a 511-column source line, leading to an ICE.
The root cause is a bug in linemap_line_start, when transitioning from
lines >= 512 in width to narrow lines.
The wide line in the reproducer has a line map with:
m_column_and_range_bits = 15, m_range_bits = 5
giving 10 effective bits for representing columns, so that columns <= 1023
can be represented.
When parsing the following line,
linemap_line_start (..., ..., max_column_hint=0);
is called. This leads to the "add_map" logic, due to this condition:
|| (max_column_hint <= 80 && effective_column_bits >= 10)
i.e. the new line is sufficiently narrower than the old one to
potentially use a new linemap (so as to conserve values within the
location_t space).
It then attempts to avoid allocating a new line map. Part of the logic
to determine if we really need a new line map is this condition:
SOURCE_COLUMN (map, highest) >= (1U << column_bits)
The above condition is incorrect: we need to determine if the highest
column we've handed out will fit within the proposed *effective* column
bits, but "column_bits" here is the column plus the range bits, rather
than just the column bits.
Hence in this case linemap_line_start erroneously decides that we don't
need a new line map, and updates the column bits within the existing
line map, so any location_t values we've already handed out within it
that are offset from the start by
>= (1<<new_column_and_range_bits)
effectively change meaning, leading to incorrect line&column information
when decoding them, and various "interesting" ways for the linemap
code to fail.
The fix is to use the effective column bits in the above conditional.
gcc/ChangeLog:
PR c++/72803
* input.c (selftest::test_accessing_ordinary_linemaps): Verify
that the transition from a max line width >= 1<<10 to narrower
lines works correctly.
gcc/testsuite/ChangeLog:
PR c++/72803
* g++.dg/diagnostic/pr72803.C: New test case.
libcpp/ChangeLog:
PR c++/72803
* line-map.c (linemap_line_start): When determining if the highest
column given out so far will fit into a proposed change to the
current map, use the effective number of column bits, rather than
the total number of column + range bits.
From-SVN: r244199
2017-01-07 22:33:59 +01:00
|
|
|
|
2017-01-07 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/72803
|
|
|
|
|
* input.c (selftest::test_accessing_ordinary_linemaps): Verify
|
|
|
|
|
that the transition from a max line width >= 1<<10 to narrower
|
|
|
|
|
lines works correctly.
|
|
|
|
|
|
2017-01-07 20:53:13 +01:00
|
|
|
|
2017-01-07 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/options.texi (PerFunction): New.
|
|
|
|
|
* opt-functions.awk (switch_flags): Map both Optimization and
|
|
|
|
|
PerFunction to CL_OPTIMIZATION.
|
|
|
|
|
* opth-gen.awk: Test for PerFunction flag along with
|
|
|
|
|
Optimization.
|
|
|
|
|
* optc-save-gen.awk: Likewise. Introduce var_opt_hash and set
|
|
|
|
|
it only when the latter is present. Skip those that don't in
|
|
|
|
|
the hash function generator.
|
|
|
|
|
* common.opt (fvar-tracking): Mark as PerFunction instead of
|
|
|
|
|
Optimization.
|
|
|
|
|
(fvar-tracking-assignments): Likewise.
|
|
|
|
|
(fvar-tracking-assignments-toggle): Likewise.
|
|
|
|
|
(fvar-tracking-uninit): Likewise.
|
|
|
|
|
|
2017-01-07 09:37:06 +01:00
|
|
|
|
2017-01-07 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR translation/79018
|
|
|
|
|
* params.def (PARAM_MAX_STORES_TO_MERGE): Add missing space between
|
|
|
|
|
the and store.
|
|
|
|
|
|
2017-01-06 22:21:02 +01:00
|
|
|
|
2017-01-06 Mikael Pettersson <mikpelinux@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/57583
|
|
|
|
|
* config/m68k/m68k.opt (LONG_JUMP_TABLE_OFFSETS): New option.
|
|
|
|
|
* config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Handle
|
|
|
|
|
TARGET_LONG_JUMP_TABLE_OFFSETS.
|
|
|
|
|
* config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
|
|
|
|
|
* config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
|
|
|
|
|
* config/m68k/m68k.h (CASE_VECTOR_MODE): Likewise.
|
|
|
|
|
(ASM_OUTPUT_ADDR_DIFF_ELF): Likewise.
|
|
|
|
|
* config/m68k/m68k.md (tablejump expander): Likewise.
|
|
|
|
|
(*tablejump_pcrel_hi): Renamed from unnamed insn, reject
|
|
|
|
|
TARGET_LONG_JUMP_TABLE_OFFSETS.
|
|
|
|
|
(*tablejump_pcrel_si): New insn, handle TARGET_LONG_JUMP_TABLE_OFFSETS.
|
|
|
|
|
* doc/invoke.texi (M68K options): Add -mlong-jump-table-offsets.
|
|
|
|
|
|
2017-01-06 21:54:34 +01:00
|
|
|
|
2017-01-06 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
|
|
|
|
|
David Holsgrove <david.holsgrove@xilinx.com>
|
|
|
|
|
|
|
|
|
|
* common/config/microblaze/microblaze-common.c
|
|
|
|
|
(TARGET_EXCEPT_UNWIND_INFO): Remove.
|
|
|
|
|
* config/microblaze/microblaze-protos.h (microblaze_eh_return):
|
|
|
|
|
New prototype.
|
|
|
|
|
* config/microblaze/microblaze.c (microblaze_must_save_register)
|
|
|
|
|
(microblaze_expand_epilogue, microblaze_return_addr): Handle
|
|
|
|
|
calls_eh_return.
|
|
|
|
|
(microblaze_eh_return): New function.
|
|
|
|
|
* config/microblaze/microblaze.h (RETURN_ADDR_OFFSET)
|
|
|
|
|
(EH_RETURN_DATA_REGNO, MB_EH_STACKADJ_REGNUM)
|
|
|
|
|
(EH_RETURN_STACKADJ_RTX, ASM_PREFERRED_EH_DATA_FORMAT): New macros.
|
|
|
|
|
* config/microblaze/microblaze.md (eh_return): New pattern.
|
|
|
|
|
|
2017-01-06 19:40:31 +01:00
|
|
|
|
2017-01-06 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-06 19:41:23 +01:00
|
|
|
|
* system.h (GCC_DIAGNOSTIC_PUSH_IGNORED, GCC_DIAGNOSTIC_POP,
|
|
|
|
|
GCC_DIAGNOSTIC_STRINGIFY): Define.
|
|
|
|
|
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* read-rtl.c (rtx_reader::read_rtx_code): Avoid -Wsign-compare warning.
|
2017-01-06 19:40:31 +01:00
|
|
|
|
|
[ARM] Implement support for ACLE Coprocessor MCRR and MRRC intrinsics
gcc/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.md (<mcrr>): New.
(<mrrc>): New.
* config/arm/arm.c (arm_arch5te): New.
(arm_option_override): Set arm_arch5te.
(arm_coproc_builtin_available): Add support for mcrr, mcrr2, mrrc
and mrrc2.
* config/arm/arm-builtins.c (MCRR_QUALIFIERS): Define to...
(arm_mcrr_qualifiers): ... this. New.
(MRRC_QUALIFIERS): Define to...
(arm_mrrc_qualifiers): ... this. New.
* config/arm/arm_acle.h (__arm_mcrr, __arm_mcrr2, __arm_mrrc,
__arm_mrrc2): New.
* config/arm/arm_acle_builtins.def (mcrr, mcrr2, mrrc, mrrc2): New.
* config/arm/iterators.md (MCRRI, mcrr, MCRR): New.
(MRRCI, mrrc, MRRC): New.
* config/arm/unspecs.md (VUNSPEC_MCRR, VUNSPEC_MCRR2, VUNSPEC_MRRC,
VUNSPEC_MRRC2): New.
gcc/testsuite/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/acle/mcrr: New.
* gcc.target/arm/acle/mcrr2: New.
* gcc.target/arm/acle/mrrc: New.
* gcc.target/arm/acle/mrrc2: New.
From-SVN: r244175
2017-01-06 18:49:12 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md (<mcrr>): New.
|
|
|
|
|
(<mrrc>): New.
|
|
|
|
|
* config/arm/arm.c (arm_arch5te): New.
|
|
|
|
|
(arm_option_override): Set arm_arch5te.
|
|
|
|
|
(arm_coproc_builtin_available): Add support for mcrr, mcrr2, mrrc
|
|
|
|
|
and mrrc2.
|
|
|
|
|
* config/arm/arm-builtins.c (MCRR_QUALIFIERS): Define to...
|
|
|
|
|
(arm_mcrr_qualifiers): ... this. New.
|
|
|
|
|
(MRRC_QUALIFIERS): Define to...
|
|
|
|
|
(arm_mrrc_qualifiers): ... this. New.
|
|
|
|
|
* config/arm/arm_acle.h (__arm_mcrr, __arm_mcrr2, __arm_mrrc,
|
|
|
|
|
__arm_mrrc2): New.
|
|
|
|
|
* config/arm/arm_acle_builtins.def (mcrr, mcrr2, mrrc, mrrc2): New.
|
|
|
|
|
* config/arm/iterators.md (MCRRI, mcrr, MCRR): New.
|
|
|
|
|
(MRRCI, mrrc, MRRC): New.
|
|
|
|
|
* config/arm/unspecs.md (VUNSPEC_MCRR, VUNSPEC_MCRR2, VUNSPEC_MRRC,
|
|
|
|
|
VUNSPEC_MRRC2): New.
|
|
|
|
|
|
[ARM] Implement support for ACLE Coprocessor MCR and MRC intrinsics
gcc/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.md (<mcr>): New.
(<mrc>): New.
* config/arm/arm.c (arm_coproc_builtin_available): Add
support for mcr, mrc, mcr2 and mrc2.
* config/arm/arm-builtins.c (MCR_QUALIFIERS): Define to...
(arm_mcr_qualifiers): ... this. New.
(MRC_QUALIFIERS): Define to ...
(arm_mrc_qualifiers): ... this. New.
(MCR_QUALIFIERS): Define to ...
(arm_mcr_qualifiers): ... this. New.
* config/arm/arm_acle.h (__arm_mcr, __arm_mrc, __arm_mcr2,
__arm_mrc2): New.
* config/arm/arm_acle_builtins.def (mcr, mcr2, mrc, mrc2): New.
* config/arm/iterators.md (MCRI, mcr, MCR, MRCI, mrc, MRC): New.
* config/arm/unspecs.md (VUNSPEC_MCR, VUNSPEC_MCR2, VUNSPEC_MRC,
VUNSPEC_MRC2): New.
gcc/testsuite/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/acle/mcr.c: New.
* gcc.target/arm/acle/mrc.c: New.
* gcc.target/arm/acle/mcr2.c: New.
* gcc.target/arm/acle/mrc2.c: New.
From-SVN: r244174
2017-01-06 18:40:50 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md (<mcr>): New.
|
|
|
|
|
(<mrc>): New.
|
|
|
|
|
* config/arm/arm.c (arm_coproc_builtin_available): Add
|
|
|
|
|
support for mcr, mrc, mcr2 and mrc2.
|
|
|
|
|
* config/arm/arm-builtins.c (MCR_QUALIFIERS): Define to...
|
|
|
|
|
(arm_mcr_qualifiers): ... this. New.
|
|
|
|
|
(MRC_QUALIFIERS): Define to ...
|
|
|
|
|
(arm_mrc_qualifiers): ... this. New.
|
|
|
|
|
(MCR_QUALIFIERS): Define to ...
|
|
|
|
|
(arm_mcr_qualifiers): ... this. New.
|
|
|
|
|
* config/arm/arm_acle.h (__arm_mcr, __arm_mrc, __arm_mcr2,
|
|
|
|
|
__arm_mrc2): New.
|
|
|
|
|
* config/arm/arm_acle_builtins.def (mcr, mcr2, mrc, mrc2): New.
|
|
|
|
|
* config/arm/iterators.md (MCRI, mcr, MCR, MRCI, mrc, MRC): New.
|
|
|
|
|
* config/arm/unspecs.md (VUNSPEC_MCR, VUNSPEC_MCR2, VUNSPEC_MRC,
|
|
|
|
|
VUNSPEC_MRC2): New.
|
|
|
|
|
|
[ARM] Implement support for ACLE Coprocessor LDC and STC intrinsics
gcc/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.md (*ldc): New.
(*stc): New.
(<ldc>): New.
(<stc>): New.
* config/arm/arm.c (arm_coproc_builtin_available): Add
support for ldc,ldcl,stc,stcl,ldc2,ldc2l,stc2 and stc2l.
(arm_coproc_ldc_stc_legitimate_address): New.
* config/arm/arm-builtins.c (arm_type_qualifiers): Add
'qualifier_const_pointer'.
(LDC_QUALIFIERS): Define to...
(arm_ldc_qualifiers): ... this. New.
(STC_QUALIFIERS): Define to...
(arm_stc_qualifiers): ... this. New.
* config/arm/arm-protos.h
(arm_coproc_ldc_stc_legitimate_address): New.
* config/arm/arm_acle.h (__arm_ldc, __arm_ldcl, __arm_stc,
__arm_stcl, __arm_ldc2, __arm_ldc2l, __arm_stc2, __arm_stc2l): New.
* config/arm/arm_acle_builtins.def (ldc, ldc2, ldcl, ldc2l, stc,
stc2, stcl, stc2l): New.
* config/arm/constraints.md (Uz): New.
* config/arm/iterators.md (LDCI, STCI, ldc, stc, LDC STC): New.
* config/arm/unspecs.md (VUNSPEC_LDC, VUNSPEC_LDC2, VUNSPEC_LDCL,
VUNSPEC_LDC2L, VUNSPEC_STC, VUNSPEC_STC2, VUNSPEC_STCL,
VUNSPEC_STC2L): New.
gcc/testsuite/ChangeLog:
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/acle/ldc: New.
* gcc.target/arm/acle/ldc2: New.
* gcc.target/arm/acle/ldcl: New.
* gcc.target/arm/acle/ldc2l: New.
* gcc.target/arm/acle/stc: New.
* gcc.target/arm/acle/stc2: New.
* gcc.target/arm/acle/stcl: New.
* gcc.target/arm/acle/stc2l: New.
From-SVN: r244173
2017-01-06 18:37:39 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md (*ldc): New.
|
|
|
|
|
(*stc): New.
|
|
|
|
|
(<ldc>): New.
|
|
|
|
|
(<stc>): New.
|
|
|
|
|
* config/arm/arm.c (arm_coproc_builtin_available): Add
|
|
|
|
|
support for ldc,ldcl,stc,stcl,ldc2,ldc2l,stc2 and stc2l.
|
|
|
|
|
(arm_coproc_ldc_stc_legitimate_address): New.
|
|
|
|
|
* config/arm/arm-builtins.c (arm_type_qualifiers): Add
|
|
|
|
|
'qualifier_const_pointer'.
|
|
|
|
|
(LDC_QUALIFIERS): Define to...
|
|
|
|
|
(arm_ldc_qualifiers): ... this. New.
|
|
|
|
|
(STC_QUALIFIERS): Define to...
|
|
|
|
|
(arm_stc_qualifiers): ... this. New.
|
|
|
|
|
* config/arm/arm-protos.h
|
|
|
|
|
(arm_coproc_ldc_stc_legitimate_address): New.
|
|
|
|
|
* config/arm/arm_acle.h (__arm_ldc, __arm_ldcl, __arm_stc,
|
|
|
|
|
__arm_stcl, __arm_ldc2, __arm_ldc2l, __arm_stc2, __arm_stc2l): New.
|
|
|
|
|
* config/arm/arm_acle_builtins.def (ldc, ldc2, ldcl, ldc2l, stc,
|
|
|
|
|
stc2, stcl, stc2l): New.
|
|
|
|
|
* config/arm/constraints.md (Uz): New.
|
|
|
|
|
* config/arm/iterators.md (LDCI, STCI, ldc, stc, LDC STC): New.
|
|
|
|
|
* config/arm/unspecs.md (VUNSPEC_LDC, VUNSPEC_LDC2, VUNSPEC_LDCL,
|
|
|
|
|
VUNSPEC_LDC2L, VUNSPEC_STC, VUNSPEC_STC2, VUNSPEC_STCL,
|
|
|
|
|
VUNSPEC_STC2L): New.
|
|
|
|
|
|
2017-01-06 18:35:23 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm.md (<cdp>): New.
|
|
|
|
|
* config/arm/arm.c (neon_const_bounds): Rename this ...
|
|
|
|
|
(arm_const_bounds): ... this.
|
|
|
|
|
(arm_coproc_builtin_available): New.
|
|
|
|
|
* config/arm/arm-builtins.c (SIMD_MAX_BUILTIN_ARGS): Increase.
|
|
|
|
|
(arm_type_qualifiers): Add 'qualifier_unsigned_immediate'.
|
|
|
|
|
(CDP_QUALIFIERS): Define to...
|
|
|
|
|
(arm_cdp_qualifiers): ... this. New.
|
|
|
|
|
(void_UP): Define.
|
|
|
|
|
(arm_expand_builtin_args): Add case for 6 arguments.
|
|
|
|
|
* config/arm/arm-protos.h (neon_const_bounds): Rename this ...
|
|
|
|
|
(arm_const_bounds): ... this.
|
|
|
|
|
(arm_coproc_builtin_available): New.
|
|
|
|
|
* config/arm/arm_acle.h (__arm_cdp): New.
|
|
|
|
|
(__arm_cdp2): New.
|
|
|
|
|
* config/arm/arm_acle_builtins.def (cdp): New.
|
|
|
|
|
(cdp2): New.
|
|
|
|
|
* config/arm/iterators.md (CDPI,CDP,cdp): New.
|
|
|
|
|
* config/arm/neon.md: Rename all 'neon_const_bounds' to
|
|
|
|
|
'arm_const_bounds'.
|
|
|
|
|
* config/arm/types.md (coproc): New.
|
|
|
|
|
* config/arm/unspecs.md (VUNSPEC_CDP, VUNSPEC_CDP2): New.
|
|
|
|
|
* gcc/doc/extend.texi (ACLE): Add a mention of Coprocessor intrinsics.
|
|
|
|
|
* gcc/doc/sourcebuild.texi (arm_coproc1_ok, arm_coproc2_ok,
|
|
|
|
|
arm_coproc3_ok, arm_coproc4_ok): Document new effective targets.
|
|
|
|
|
|
2017-01-06 18:28:47 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-builtins.c (arm_unsigned_binop_qualifiers): New.
|
|
|
|
|
(UBINOP_QUALIFIERS): New.
|
|
|
|
|
(si_UP): Define.
|
|
|
|
|
(acle_builtin_data): New. Change comment.
|
|
|
|
|
(arm_builtins): Remove ARM_BUILTIN_CRC32B, ARM_BUILTIN_CRC32H,
|
|
|
|
|
ARM_BUILTIN_CRC32W, ARM_BUILTIN_CRC32CB, ARM_BUILTIN_CRC32CH,
|
|
|
|
|
ARM_BUILTIN_CRC32CW. Add ARM_BUILTIN_ACLE_BASE and include
|
|
|
|
|
arm_acle_builtins.def.
|
|
|
|
|
(ARM_BUILTIN_ACLE_PATTERN_START): Define.
|
|
|
|
|
(arm_init_acle_builtins): New.
|
|
|
|
|
(CRC32_BUILTIN): Remove.
|
|
|
|
|
(bdesc_2arg): Remove entries for crc32b, crc32h, crc32w,
|
|
|
|
|
crc32cb, crc32ch and crc32cw.
|
|
|
|
|
(arm_init_crc32_builtins): Remove.
|
|
|
|
|
(arm_init_builtins): Use arm_init_acle_builtins rather
|
|
|
|
|
than arm_init_crc32_builtins.
|
|
|
|
|
(arm_expand_acle_builtin): New.
|
|
|
|
|
(arm_expand_builtin): Use 'arm_expand_acle_builtin'.
|
|
|
|
|
* config/arm/arm_acle_builtins.def: New.
|
|
|
|
|
|
2017-01-06 18:26:11 +01:00
|
|
|
|
2017-01-06 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-builtins.c (neon_builtin_datum): Rename to ..
|
|
|
|
|
(arm_builtin_datum): ... this.
|
|
|
|
|
(arm_init_neon_builtin): Rename to ...
|
|
|
|
|
(arm_init_builtin): ... this. Add a new parameters PREFIX
|
|
|
|
|
and USE_SIG_IN_NAME.
|
|
|
|
|
(arm_init_neon_builtins): Replace 'arm_init_neon_builtin' with
|
|
|
|
|
'arm_init_builtin'. Replace type 'neon_builtin_datum' with
|
|
|
|
|
'arm_builtin_datum'.
|
|
|
|
|
(arm_init_vfp_builtins): Likewise.
|
|
|
|
|
(builtin_arg): Rename enum's replacing 'NEON_ARG' with
|
|
|
|
|
'ARG_BUILTIN' and add a 'ARG_BUILTIN_NEON_MEMORY.
|
|
|
|
|
(arm_expand_neon_args): Rename to ...
|
|
|
|
|
(arm_expand_builtin_args): ... this. Rename builtin_arg
|
|
|
|
|
enum values and differentiate between ARG_BUILTIN_MEMORY
|
|
|
|
|
and ARG_BUILTIN_NEON_MEMORY.
|
|
|
|
|
(arm_expand_neon_builtin_1): Rename to ...
|
|
|
|
|
(arm_expand_builtin_1): ... this. Rename builtin_arg enum
|
|
|
|
|
values, arm_expand_builtin_args and add bool parameter NEON.
|
|
|
|
|
(arm_expand_neon_builtin): Use arm_expand_builtin_1.
|
|
|
|
|
(arm_expand_vfp_builtin): Likewise.
|
|
|
|
|
(NEON_MAX_BUILTIN_ARGS): Remove, it was unused.
|
|
|
|
|
|
2017-01-06 17:10:09 +01:00
|
|
|
|
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77484
|
2017-01-06 17:16:49 +01:00
|
|
|
|
* predict.def (PRED_POLYMORPHIC_CALL): Set to 59.
|
2017-01-06 17:10:09 +01:00
|
|
|
|
* predict.c (tree_estimate_probability_bb): Reverse direction of
|
|
|
|
|
polymorphic call predictor.
|
|
|
|
|
|
2017-01-06 15:15:20 +01:00
|
|
|
|
2017-01-06 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* passes.c (execute_one_pass): Split out pass-skipping logic into...
|
2017-01-06 15:15:20 +01:00
|
|
|
|
(determine_pass_name_match): ...this new function and...
|
|
|
|
|
(should_skip_pass_p): ...this new function.
|
|
|
|
|
|
2017-01-06 15:04:05 +01:00
|
|
|
|
2017-01-06 Nathan Sidwell <nathan@acm.org>
|
|
|
|
|
|
|
|
|
|
* ipa-visibility.c (function_and_variable_visibility): Reformat
|
|
|
|
|
comments and long lines. Remove extrneous if.
|
|
|
|
|
* symtab.c (symtab_node::make_decl_local): Fix code format.
|
|
|
|
|
(symtab_node::set_section_for_node): Fix comment typo.
|
|
|
|
|
|
2017-01-06 14:56:48 +01:00
|
|
|
|
2017-01-06 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/79003
|
|
|
|
|
* lra-constraints.c: Rename invariant to lra_invariant.
|
|
|
|
|
* predict.c (set_even_probabilities): Initialize e to NULL.
|
|
|
|
|
|
2017-01-05 23:32:09 +01:00
|
|
|
|
2017-01-05 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78910
|
|
|
|
|
* gimple-ssa-sprintf.c (tree_digits): Add an argument.
|
|
|
|
|
(format_integer): Correct off-by-one error in the handling
|
|
|
|
|
of precision with negative numbers in signed conversions..
|
|
|
|
|
|
2017-01-05 22:20:16 +01:00
|
|
|
|
2017-01-05 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
2017-01-06 09:09:17 +01:00
|
|
|
|
* doc/invoke.texi (C Dialect Options): Adjust -fsso-struct entry.
|
2017-01-05 22:20:16 +01:00
|
|
|
|
|
2017-01-05 22:14:19 +01:00
|
|
|
|
2017-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71016
|
|
|
|
|
* tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Pass cond_stmt to
|
|
|
|
|
factor_out_conditional_conversion. Formatting fix.
|
|
|
|
|
(factor_out_conditional_conversion): Add cond_stmt argument.
|
|
|
|
|
If arg1 is INTEGER_CST, punt if new_arg0 is not any operand of
|
|
|
|
|
cond_stmt and if arg0_def_stmt is not the only stmt in its bb.
|
|
|
|
|
Formatting fix.
|
|
|
|
|
|
Introduce RTL function reader
This is the combination of these patches:
- [8a/9] Introduce class function_reader (v8)
- Add ASSERT_RTX_PTR_EQ
- [8b/9] Add target-independent selftests of RTL function reader (v2)
- [8c/9] Add aarch64-specific selftests for RTL function reader (v2)
- [8d/9] Add x86_64-specific selftests for RTL function reader (v2)
gcc/ChangeLog:
* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
read-rtl-function.o, and selftest-rtl.o.
* config/aarch64/aarch64.c: Include selftest.h and
selftest-rtl.h.
(selftest::aarch64_test_loading_full_dump): New function.
(selftest::aarch64_run_selftests): New function.
(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
selftest::aarch64_run_selftests.
* config/i386/i386.c
(selftest::ix86_test_loading_dump_fragment_1): New function.
(selftest::ix86_test_loading_call_insn): New function.
(selftest::ix86_test_loading_full_dump): New function.
(selftest::ix86_test_loading_unspec): New function.
(selftest::ix86_run_selftests): Call the new functions.
* emit-rtl.c (maybe_set_max_label_num): New function.
* emit-rtl.h (maybe_set_max_label_num): New decl.
* function.c (instantiate_decls): Guard call to
instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
"static".
* gensupport.c (gen_reader::gen_reader): Pass "false"
for new "compact" param of rtx_reader.
* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
rather than an empty string for NULL strings.
* read-md.c: Potentially include config.h rather than bconfig.h.
Wrap include of errors.h with #ifdef GENERATOR_FILE.
(have_error): New global, copied from errors.c.
(md_reader::read_name): Rename to...
(md_reader::read_name_1): ...this, adding "out_loc" param,
and converting "missing name or number" to returning false, rather
than failing.
(md_reader::read_name): Reimplement in terms of read_name_1.
(md_reader::read_name_or_nil): New function.
(md_reader::read_string): Handle "(nil)" by returning NULL.
(md_reader::md_reader): Add new param "compact".
(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_file): New method.
* read-md.h (md_reader::md_reader): Add new param "compact".
(md_reader::read_file): New method.
(md_reader::is_compact): New accessor.
(md_reader::read_name): Convert return type from void to
file_location.
(md_reader::read_name_or_nil): New decl.
(md_reader::read_name_1): New decl.
(md_reader::m_compact): New field.
(noop_reader::noop_reader): Pass "false" for new "compact" param
of rtx_reader.
(rtx_reader::rtx_reader): Add new "compact" param.
(rtx_reader::read_rtx_operand): Make virtual and convert return
type from void to rtx.
(rtx_reader::read_until): New decl.
(rtx_reader::handle_any_trailing_information): New virtual
function.
(rtx_reader::postprocess): New virtual function.
(rtx_reader::finalize_string): New virtual function.
(rtx_reader::m_in_call_function_usage): New field.
(rtx_reader::m_reuse_rtx_by_id): New field.
* read-rtl-function.c: New file.
* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
(selftest::verify_three_block_rtl_cfg): New decl.
* read-rtl-function.h: New file.
* read-rtl.c: Potentially include config.h rather than bconfig.h.
For host, include function.h, memmodel.h, and emit-rtl.h.
(one_time_initialization): New function.
(struct compact_insn_name): New struct.
(compact_insn_names): New array.
(find_code): Handle insn codes in compact dumps.
(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
(bind_subst_iter_and_attr): Likewise.
(add_condition_to_string): Likewise.
(add_condition_to_rtx): Likewise.
(apply_attribute_uses): Likewise.
(add_current_iterators): Likewise.
(apply_iterators): Likewise.
(initialize_iterators): Guard usage of apply_subst_iterator with
#ifdef GENERATOR_FILE.
(read_conditions): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_mapping): Likewise.
(add_define_attr_for_define_subst): Likewise.
(add_define_subst_attr): Likewise.
(read_subst_mapping): Likewise.
(check_code_iterator): Likewise.
(rtx_reader::read_rtx): Likewise. Move one-time initialization
logic to...
(one_time_initialization): New function.
(rtx_reader::read_until): New method.
(read_flags): New function.
(parse_reg_note_name): New function.
(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
Handle reuse_rtx ids.
Wrap iterator lookup within #ifdef GENERATOR_FILE.
Add parsing support for RTL dumps, mirroring the special-cases in
print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
values, and calling handle_any_trailing_information.
(rtx_reader::read_rtx_operand): Convert return type from void
to rtx, returning return_rtx. Handle case 'e'. Call
finalize_string on XSTR and XTMPL fields.
(rtx_reader::read_nested_rtx): Handle dumps in which trailing
"(nil)" values were omitted. Call the postprocess vfunc on the
return_rtx.
(rtx_reader::rtx_reader): Add new "compact" param and pass to base
class ctor. Initialize m_in_call_function_usage. Call
one_time_initialization.
* rtl-tests.c (selftest::test_uncond_jump): Call
set_new_first_and_last_insn.
* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
* selftest-rtl.c: New file.
* selftest-rtl.h (class selftest::rtl_dump_test): New class.
(selftest::get_insn_by_uid): New decl.
* selftest-run-tests.c (selftest::run_tests): Call
read_rtl_function_c_tests.
* selftest.h (selftest::read_rtl_function_c_tests): New decl.
* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
dumps.
gcc/testsuite/ChangeLog:
* selftests/asr_div1.rtl: New file.
* selftests/aarch64: New subdirectory.
* selftests/aarch64/times-two.rtl: New file.
* selftests/bb-index.rtl: New file.
* selftests/cfg-test.rtl: New file.
* selftests/const-int.rtl: New file.
* selftests/example-labels.rtl: New file.
* selftests/insn-with-mode.rtl: New file.
* selftests/jump-to-label-ref.rtl: New file.
* selftests/jump-to-return.rtl: New file.
* selftests/jump-to-simple-return.rtl: New file.
* selftests/mem.rtl: New file.
* selftests/note-insn-deleted.rtl: New file.
* selftests/note_insn_basic_block.rtl: New file.
* selftests/simple-cse.rtl: New file.
* selftests/symbol-ref.rtl: New file.
* selftests/x86_64: New subdirectory.
* selftests/x86_64/call-insn.rtl: New file.
* selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
* selftests/x86_64/times-two.rtl: New file.
* selftests/x86_64/unspec.rtl: New file.
From-SVN: r244110
2017-01-05 20:32:09 +01:00
|
|
|
|
2017-01-05 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
|
|
|
|
|
read-rtl-function.o, and selftest-rtl.o.
|
2017-01-10 17:23:52 +01:00
|
|
|
|
* config/aarch64/aarch64.c: Include selftest.h and selftest-rtl.h.
|
Introduce RTL function reader
This is the combination of these patches:
- [8a/9] Introduce class function_reader (v8)
- Add ASSERT_RTX_PTR_EQ
- [8b/9] Add target-independent selftests of RTL function reader (v2)
- [8c/9] Add aarch64-specific selftests for RTL function reader (v2)
- [8d/9] Add x86_64-specific selftests for RTL function reader (v2)
gcc/ChangeLog:
* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
read-rtl-function.o, and selftest-rtl.o.
* config/aarch64/aarch64.c: Include selftest.h and
selftest-rtl.h.
(selftest::aarch64_test_loading_full_dump): New function.
(selftest::aarch64_run_selftests): New function.
(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
selftest::aarch64_run_selftests.
* config/i386/i386.c
(selftest::ix86_test_loading_dump_fragment_1): New function.
(selftest::ix86_test_loading_call_insn): New function.
(selftest::ix86_test_loading_full_dump): New function.
(selftest::ix86_test_loading_unspec): New function.
(selftest::ix86_run_selftests): Call the new functions.
* emit-rtl.c (maybe_set_max_label_num): New function.
* emit-rtl.h (maybe_set_max_label_num): New decl.
* function.c (instantiate_decls): Guard call to
instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
"static".
* gensupport.c (gen_reader::gen_reader): Pass "false"
for new "compact" param of rtx_reader.
* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
rather than an empty string for NULL strings.
* read-md.c: Potentially include config.h rather than bconfig.h.
Wrap include of errors.h with #ifdef GENERATOR_FILE.
(have_error): New global, copied from errors.c.
(md_reader::read_name): Rename to...
(md_reader::read_name_1): ...this, adding "out_loc" param,
and converting "missing name or number" to returning false, rather
than failing.
(md_reader::read_name): Reimplement in terms of read_name_1.
(md_reader::read_name_or_nil): New function.
(md_reader::read_string): Handle "(nil)" by returning NULL.
(md_reader::md_reader): Add new param "compact".
(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_file): New method.
* read-md.h (md_reader::md_reader): Add new param "compact".
(md_reader::read_file): New method.
(md_reader::is_compact): New accessor.
(md_reader::read_name): Convert return type from void to
file_location.
(md_reader::read_name_or_nil): New decl.
(md_reader::read_name_1): New decl.
(md_reader::m_compact): New field.
(noop_reader::noop_reader): Pass "false" for new "compact" param
of rtx_reader.
(rtx_reader::rtx_reader): Add new "compact" param.
(rtx_reader::read_rtx_operand): Make virtual and convert return
type from void to rtx.
(rtx_reader::read_until): New decl.
(rtx_reader::handle_any_trailing_information): New virtual
function.
(rtx_reader::postprocess): New virtual function.
(rtx_reader::finalize_string): New virtual function.
(rtx_reader::m_in_call_function_usage): New field.
(rtx_reader::m_reuse_rtx_by_id): New field.
* read-rtl-function.c: New file.
* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
(selftest::verify_three_block_rtl_cfg): New decl.
* read-rtl-function.h: New file.
* read-rtl.c: Potentially include config.h rather than bconfig.h.
For host, include function.h, memmodel.h, and emit-rtl.h.
(one_time_initialization): New function.
(struct compact_insn_name): New struct.
(compact_insn_names): New array.
(find_code): Handle insn codes in compact dumps.
(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
(bind_subst_iter_and_attr): Likewise.
(add_condition_to_string): Likewise.
(add_condition_to_rtx): Likewise.
(apply_attribute_uses): Likewise.
(add_current_iterators): Likewise.
(apply_iterators): Likewise.
(initialize_iterators): Guard usage of apply_subst_iterator with
#ifdef GENERATOR_FILE.
(read_conditions): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_mapping): Likewise.
(add_define_attr_for_define_subst): Likewise.
(add_define_subst_attr): Likewise.
(read_subst_mapping): Likewise.
(check_code_iterator): Likewise.
(rtx_reader::read_rtx): Likewise. Move one-time initialization
logic to...
(one_time_initialization): New function.
(rtx_reader::read_until): New method.
(read_flags): New function.
(parse_reg_note_name): New function.
(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
Handle reuse_rtx ids.
Wrap iterator lookup within #ifdef GENERATOR_FILE.
Add parsing support for RTL dumps, mirroring the special-cases in
print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
values, and calling handle_any_trailing_information.
(rtx_reader::read_rtx_operand): Convert return type from void
to rtx, returning return_rtx. Handle case 'e'. Call
finalize_string on XSTR and XTMPL fields.
(rtx_reader::read_nested_rtx): Handle dumps in which trailing
"(nil)" values were omitted. Call the postprocess vfunc on the
return_rtx.
(rtx_reader::rtx_reader): Add new "compact" param and pass to base
class ctor. Initialize m_in_call_function_usage. Call
one_time_initialization.
* rtl-tests.c (selftest::test_uncond_jump): Call
set_new_first_and_last_insn.
* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
* selftest-rtl.c: New file.
* selftest-rtl.h (class selftest::rtl_dump_test): New class.
(selftest::get_insn_by_uid): New decl.
* selftest-run-tests.c (selftest::run_tests): Call
read_rtl_function_c_tests.
* selftest.h (selftest::read_rtl_function_c_tests): New decl.
* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
dumps.
gcc/testsuite/ChangeLog:
* selftests/asr_div1.rtl: New file.
* selftests/aarch64: New subdirectory.
* selftests/aarch64/times-two.rtl: New file.
* selftests/bb-index.rtl: New file.
* selftests/cfg-test.rtl: New file.
* selftests/const-int.rtl: New file.
* selftests/example-labels.rtl: New file.
* selftests/insn-with-mode.rtl: New file.
* selftests/jump-to-label-ref.rtl: New file.
* selftests/jump-to-return.rtl: New file.
* selftests/jump-to-simple-return.rtl: New file.
* selftests/mem.rtl: New file.
* selftests/note-insn-deleted.rtl: New file.
* selftests/note_insn_basic_block.rtl: New file.
* selftests/simple-cse.rtl: New file.
* selftests/symbol-ref.rtl: New file.
* selftests/x86_64: New subdirectory.
* selftests/x86_64/call-insn.rtl: New file.
* selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
* selftests/x86_64/times-two.rtl: New file.
* selftests/x86_64/unspec.rtl: New file.
From-SVN: r244110
2017-01-05 20:32:09 +01:00
|
|
|
|
(selftest::aarch64_test_loading_full_dump): New function.
|
|
|
|
|
(selftest::aarch64_run_selftests): New function.
|
|
|
|
|
(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
|
|
|
|
|
selftest::aarch64_run_selftests.
|
|
|
|
|
* config/i386/i386.c
|
|
|
|
|
(selftest::ix86_test_loading_dump_fragment_1): New function.
|
|
|
|
|
(selftest::ix86_test_loading_call_insn): New function.
|
|
|
|
|
(selftest::ix86_test_loading_full_dump): New function.
|
|
|
|
|
(selftest::ix86_test_loading_unspec): New function.
|
|
|
|
|
(selftest::ix86_run_selftests): Call the new functions.
|
|
|
|
|
* emit-rtl.c (maybe_set_max_label_num): New function.
|
|
|
|
|
* emit-rtl.h (maybe_set_max_label_num): New decl.
|
|
|
|
|
* function.c (instantiate_decls): Guard call to
|
|
|
|
|
instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
|
|
|
|
|
* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
|
|
|
|
|
"static".
|
|
|
|
|
* gensupport.c (gen_reader::gen_reader): Pass "false"
|
|
|
|
|
for new "compact" param of rtx_reader.
|
|
|
|
|
* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
|
|
|
|
|
rather than an empty string for NULL strings.
|
|
|
|
|
* read-md.c: Potentially include config.h rather than bconfig.h.
|
|
|
|
|
Wrap include of errors.h with #ifdef GENERATOR_FILE.
|
|
|
|
|
(have_error): New global, copied from errors.c.
|
|
|
|
|
(md_reader::read_name): Rename to...
|
|
|
|
|
(md_reader::read_name_1): ...this, adding "out_loc" param,
|
|
|
|
|
and converting "missing name or number" to returning false, rather
|
|
|
|
|
than failing.
|
|
|
|
|
(md_reader::read_name): Reimplement in terms of read_name_1.
|
|
|
|
|
(md_reader::read_name_or_nil): New function.
|
|
|
|
|
(md_reader::read_string): Handle "(nil)" by returning NULL.
|
|
|
|
|
(md_reader::md_reader): Add new param "compact".
|
|
|
|
|
(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
|
|
|
|
|
(md_reader::read_file): New method.
|
|
|
|
|
* read-md.h (md_reader::md_reader): Add new param "compact".
|
|
|
|
|
(md_reader::read_file): New method.
|
|
|
|
|
(md_reader::is_compact): New accessor.
|
2017-01-10 17:23:52 +01:00
|
|
|
|
(md_reader::read_name): Convert return type from void to file_location.
|
Introduce RTL function reader
This is the combination of these patches:
- [8a/9] Introduce class function_reader (v8)
- Add ASSERT_RTX_PTR_EQ
- [8b/9] Add target-independent selftests of RTL function reader (v2)
- [8c/9] Add aarch64-specific selftests for RTL function reader (v2)
- [8d/9] Add x86_64-specific selftests for RTL function reader (v2)
gcc/ChangeLog:
* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
read-rtl-function.o, and selftest-rtl.o.
* config/aarch64/aarch64.c: Include selftest.h and
selftest-rtl.h.
(selftest::aarch64_test_loading_full_dump): New function.
(selftest::aarch64_run_selftests): New function.
(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
selftest::aarch64_run_selftests.
* config/i386/i386.c
(selftest::ix86_test_loading_dump_fragment_1): New function.
(selftest::ix86_test_loading_call_insn): New function.
(selftest::ix86_test_loading_full_dump): New function.
(selftest::ix86_test_loading_unspec): New function.
(selftest::ix86_run_selftests): Call the new functions.
* emit-rtl.c (maybe_set_max_label_num): New function.
* emit-rtl.h (maybe_set_max_label_num): New decl.
* function.c (instantiate_decls): Guard call to
instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
"static".
* gensupport.c (gen_reader::gen_reader): Pass "false"
for new "compact" param of rtx_reader.
* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
rather than an empty string for NULL strings.
* read-md.c: Potentially include config.h rather than bconfig.h.
Wrap include of errors.h with #ifdef GENERATOR_FILE.
(have_error): New global, copied from errors.c.
(md_reader::read_name): Rename to...
(md_reader::read_name_1): ...this, adding "out_loc" param,
and converting "missing name or number" to returning false, rather
than failing.
(md_reader::read_name): Reimplement in terms of read_name_1.
(md_reader::read_name_or_nil): New function.
(md_reader::read_string): Handle "(nil)" by returning NULL.
(md_reader::md_reader): Add new param "compact".
(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_file): New method.
* read-md.h (md_reader::md_reader): Add new param "compact".
(md_reader::read_file): New method.
(md_reader::is_compact): New accessor.
(md_reader::read_name): Convert return type from void to
file_location.
(md_reader::read_name_or_nil): New decl.
(md_reader::read_name_1): New decl.
(md_reader::m_compact): New field.
(noop_reader::noop_reader): Pass "false" for new "compact" param
of rtx_reader.
(rtx_reader::rtx_reader): Add new "compact" param.
(rtx_reader::read_rtx_operand): Make virtual and convert return
type from void to rtx.
(rtx_reader::read_until): New decl.
(rtx_reader::handle_any_trailing_information): New virtual
function.
(rtx_reader::postprocess): New virtual function.
(rtx_reader::finalize_string): New virtual function.
(rtx_reader::m_in_call_function_usage): New field.
(rtx_reader::m_reuse_rtx_by_id): New field.
* read-rtl-function.c: New file.
* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
(selftest::verify_three_block_rtl_cfg): New decl.
* read-rtl-function.h: New file.
* read-rtl.c: Potentially include config.h rather than bconfig.h.
For host, include function.h, memmodel.h, and emit-rtl.h.
(one_time_initialization): New function.
(struct compact_insn_name): New struct.
(compact_insn_names): New array.
(find_code): Handle insn codes in compact dumps.
(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
(bind_subst_iter_and_attr): Likewise.
(add_condition_to_string): Likewise.
(add_condition_to_rtx): Likewise.
(apply_attribute_uses): Likewise.
(add_current_iterators): Likewise.
(apply_iterators): Likewise.
(initialize_iterators): Guard usage of apply_subst_iterator with
#ifdef GENERATOR_FILE.
(read_conditions): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_mapping): Likewise.
(add_define_attr_for_define_subst): Likewise.
(add_define_subst_attr): Likewise.
(read_subst_mapping): Likewise.
(check_code_iterator): Likewise.
(rtx_reader::read_rtx): Likewise. Move one-time initialization
logic to...
(one_time_initialization): New function.
(rtx_reader::read_until): New method.
(read_flags): New function.
(parse_reg_note_name): New function.
(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
Handle reuse_rtx ids.
Wrap iterator lookup within #ifdef GENERATOR_FILE.
Add parsing support for RTL dumps, mirroring the special-cases in
print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
values, and calling handle_any_trailing_information.
(rtx_reader::read_rtx_operand): Convert return type from void
to rtx, returning return_rtx. Handle case 'e'. Call
finalize_string on XSTR and XTMPL fields.
(rtx_reader::read_nested_rtx): Handle dumps in which trailing
"(nil)" values were omitted. Call the postprocess vfunc on the
return_rtx.
(rtx_reader::rtx_reader): Add new "compact" param and pass to base
class ctor. Initialize m_in_call_function_usage. Call
one_time_initialization.
* rtl-tests.c (selftest::test_uncond_jump): Call
set_new_first_and_last_insn.
* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
* selftest-rtl.c: New file.
* selftest-rtl.h (class selftest::rtl_dump_test): New class.
(selftest::get_insn_by_uid): New decl.
* selftest-run-tests.c (selftest::run_tests): Call
read_rtl_function_c_tests.
* selftest.h (selftest::read_rtl_function_c_tests): New decl.
* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
dumps.
gcc/testsuite/ChangeLog:
* selftests/asr_div1.rtl: New file.
* selftests/aarch64: New subdirectory.
* selftests/aarch64/times-two.rtl: New file.
* selftests/bb-index.rtl: New file.
* selftests/cfg-test.rtl: New file.
* selftests/const-int.rtl: New file.
* selftests/example-labels.rtl: New file.
* selftests/insn-with-mode.rtl: New file.
* selftests/jump-to-label-ref.rtl: New file.
* selftests/jump-to-return.rtl: New file.
* selftests/jump-to-simple-return.rtl: New file.
* selftests/mem.rtl: New file.
* selftests/note-insn-deleted.rtl: New file.
* selftests/note_insn_basic_block.rtl: New file.
* selftests/simple-cse.rtl: New file.
* selftests/symbol-ref.rtl: New file.
* selftests/x86_64: New subdirectory.
* selftests/x86_64/call-insn.rtl: New file.
* selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
* selftests/x86_64/times-two.rtl: New file.
* selftests/x86_64/unspec.rtl: New file.
From-SVN: r244110
2017-01-05 20:32:09 +01:00
|
|
|
|
(md_reader::read_name_or_nil): New decl.
|
|
|
|
|
(md_reader::read_name_1): New decl.
|
|
|
|
|
(md_reader::m_compact): New field.
|
|
|
|
|
(noop_reader::noop_reader): Pass "false" for new "compact" param
|
|
|
|
|
of rtx_reader.
|
|
|
|
|
(rtx_reader::rtx_reader): Add new "compact" param.
|
|
|
|
|
(rtx_reader::read_rtx_operand): Make virtual and convert return
|
|
|
|
|
type from void to rtx.
|
|
|
|
|
(rtx_reader::read_until): New decl.
|
2017-01-10 17:23:52 +01:00
|
|
|
|
(rtx_reader::handle_any_trailing_information): New virtual function.
|
Introduce RTL function reader
This is the combination of these patches:
- [8a/9] Introduce class function_reader (v8)
- Add ASSERT_RTX_PTR_EQ
- [8b/9] Add target-independent selftests of RTL function reader (v2)
- [8c/9] Add aarch64-specific selftests for RTL function reader (v2)
- [8d/9] Add x86_64-specific selftests for RTL function reader (v2)
gcc/ChangeLog:
* Makefile.in (OBJS): Add read-md.o, read-rtl.o,
read-rtl-function.o, and selftest-rtl.o.
* config/aarch64/aarch64.c: Include selftest.h and
selftest-rtl.h.
(selftest::aarch64_test_loading_full_dump): New function.
(selftest::aarch64_run_selftests): New function.
(TARGET_RUN_TARGET_SELFTESTS): Wire it up to
selftest::aarch64_run_selftests.
* config/i386/i386.c
(selftest::ix86_test_loading_dump_fragment_1): New function.
(selftest::ix86_test_loading_call_insn): New function.
(selftest::ix86_test_loading_full_dump): New function.
(selftest::ix86_test_loading_unspec): New function.
(selftest::ix86_run_selftests): Call the new functions.
* emit-rtl.c (maybe_set_max_label_num): New function.
* emit-rtl.h (maybe_set_max_label_num): New decl.
* function.c (instantiate_decls): Guard call to
instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
* function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
"static".
* gensupport.c (gen_reader::gen_reader): Pass "false"
for new "compact" param of rtx_reader.
* print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
rather than an empty string for NULL strings.
* read-md.c: Potentially include config.h rather than bconfig.h.
Wrap include of errors.h with #ifdef GENERATOR_FILE.
(have_error): New global, copied from errors.c.
(md_reader::read_name): Rename to...
(md_reader::read_name_1): ...this, adding "out_loc" param,
and converting "missing name or number" to returning false, rather
than failing.
(md_reader::read_name): Reimplement in terms of read_name_1.
(md_reader::read_name_or_nil): New function.
(md_reader::read_string): Handle "(nil)" by returning NULL.
(md_reader::md_reader): Add new param "compact".
(md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_file): New method.
* read-md.h (md_reader::md_reader): Add new param "compact".
(md_reader::read_file): New method.
(md_reader::is_compact): New accessor.
(md_reader::read_name): Convert return type from void to
file_location.
(md_reader::read_name_or_nil): New decl.
(md_reader::read_name_1): New decl.
(md_reader::m_compact): New field.
(noop_reader::noop_reader): Pass "false" for new "compact" param
of rtx_reader.
(rtx_reader::rtx_reader): Add new "compact" param.
(rtx_reader::read_rtx_operand): Make virtual and convert return
type from void to rtx.
(rtx_reader::read_until): New decl.
(rtx_reader::handle_any_trailing_information): New virtual
function.
(rtx_reader::postprocess): New virtual function.
(rtx_reader::finalize_string): New virtual function.
(rtx_reader::m_in_call_function_usage): New field.
(rtx_reader::m_reuse_rtx_by_id): New field.
* read-rtl-function.c: New file.
* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
(selftest::verify_three_block_rtl_cfg): New decl.
* read-rtl-function.h: New file.
* read-rtl.c: Potentially include config.h rather than bconfig.h.
For host, include function.h, memmodel.h, and emit-rtl.h.
(one_time_initialization): New function.
(struct compact_insn_name): New struct.
(compact_insn_names): New array.
(find_code): Handle insn codes in compact dumps.
(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
(bind_subst_iter_and_attr): Likewise.
(add_condition_to_string): Likewise.
(add_condition_to_rtx): Likewise.
(apply_attribute_uses): Likewise.
(add_current_iterators): Likewise.
(apply_iterators): Likewise.
(initialize_iterators): Guard usage of apply_subst_iterator with
#ifdef GENERATOR_FILE.
(read_conditions): Wrap with #ifdef GENERATOR_FILE.
(md_reader::read_mapping): Likewise.
(add_define_attr_for_define_subst): Likewise.
(add_define_subst_attr): Likewise.
(read_subst_mapping): Likewise.
(check_code_iterator): Likewise.
(rtx_reader::read_rtx): Likewise. Move one-time initialization
logic to...
(one_time_initialization): New function.
(rtx_reader::read_until): New method.
(read_flags): New function.
(parse_reg_note_name): New function.
(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
Handle reuse_rtx ids.
Wrap iterator lookup within #ifdef GENERATOR_FILE.
Add parsing support for RTL dumps, mirroring the special-cases in
print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
values, and calling handle_any_trailing_information.
(rtx_reader::read_rtx_operand): Convert return type from void
to rtx, returning return_rtx. Handle case 'e'. Call
finalize_string on XSTR and XTMPL fields.
(rtx_reader::read_nested_rtx): Handle dumps in which trailing
"(nil)" values were omitted. Call the postprocess vfunc on the
return_rtx.
(rtx_reader::rtx_reader): Add new "compact" param and pass to base
class ctor. Initialize m_in_call_function_usage. Call
one_time_initialization.
* rtl-tests.c (selftest::test_uncond_jump): Call
set_new_first_and_last_insn.
* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
* selftest-rtl.c: New file.
* selftest-rtl.h (class selftest::rtl_dump_test): New class.
(selftest::get_insn_by_uid): New decl.
* selftest-run-tests.c (selftest::run_tests): Call
read_rtl_function_c_tests.
* selftest.h (selftest::read_rtl_function_c_tests): New decl.
* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
dumps.
gcc/testsuite/ChangeLog:
* selftests/asr_div1.rtl: New file.
* selftests/aarch64: New subdirectory.
* selftests/aarch64/times-two.rtl: New file.
* selftests/bb-index.rtl: New file.
* selftests/cfg-test.rtl: New file.
* selftests/const-int.rtl: New file.
* selftests/example-labels.rtl: New file.
* selftests/insn-with-mode.rtl: New file.
* selftests/jump-to-label-ref.rtl: New file.
* selftests/jump-to-return.rtl: New file.
* selftests/jump-to-simple-return.rtl: New file.
* selftests/mem.rtl: New file.
* selftests/note-insn-deleted.rtl: New file.
* selftests/note_insn_basic_block.rtl: New file.
* selftests/simple-cse.rtl: New file.
* selftests/symbol-ref.rtl: New file.
* selftests/x86_64: New subdirectory.
* selftests/x86_64/call-insn.rtl: New file.
* selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
* selftests/x86_64/times-two.rtl: New file.
* selftests/x86_64/unspec.rtl: New file.
From-SVN: r244110
2017-01-05 20:32:09 +01:00
|
|
|
|
(rtx_reader::postprocess): New virtual function.
|
|
|
|
|
(rtx_reader::finalize_string): New virtual function.
|
|
|
|
|
(rtx_reader::m_in_call_function_usage): New field.
|
|
|
|
|
(rtx_reader::m_reuse_rtx_by_id): New field.
|
|
|
|
|
* read-rtl-function.c: New file.
|
|
|
|
|
* selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
|
|
|
|
|
* selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
|
|
|
|
|
(selftest::verify_three_block_rtl_cfg): New decl.
|
|
|
|
|
* read-rtl-function.h: New file.
|
|
|
|
|
* read-rtl.c: Potentially include config.h rather than bconfig.h.
|
|
|
|
|
For host, include function.h, memmodel.h, and emit-rtl.h.
|
|
|
|
|
(one_time_initialization): New function.
|
|
|
|
|
(struct compact_insn_name): New struct.
|
|
|
|
|
(compact_insn_names): New array.
|
|
|
|
|
(find_code): Handle insn codes in compact dumps.
|
|
|
|
|
(apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
|
|
|
|
|
(bind_subst_iter_and_attr): Likewise.
|
|
|
|
|
(add_condition_to_string): Likewise.
|
|
|
|
|
(add_condition_to_rtx): Likewise.
|
|
|
|
|
(apply_attribute_uses): Likewise.
|
|
|
|
|
(add_current_iterators): Likewise.
|
|
|
|
|
(apply_iterators): Likewise.
|
|
|
|
|
(initialize_iterators): Guard usage of apply_subst_iterator with
|
|
|
|
|
#ifdef GENERATOR_FILE.
|
|
|
|
|
(read_conditions): Wrap with #ifdef GENERATOR_FILE.
|
|
|
|
|
(md_reader::read_mapping): Likewise.
|
|
|
|
|
(add_define_attr_for_define_subst): Likewise.
|
|
|
|
|
(add_define_subst_attr): Likewise.
|
|
|
|
|
(read_subst_mapping): Likewise.
|
|
|
|
|
(check_code_iterator): Likewise.
|
|
|
|
|
(rtx_reader::read_rtx): Likewise. Move one-time initialization
|
|
|
|
|
logic to...
|
|
|
|
|
(one_time_initialization): New function.
|
|
|
|
|
(rtx_reader::read_until): New method.
|
|
|
|
|
(read_flags): New function.
|
|
|
|
|
(parse_reg_note_name): New function.
|
|
|
|
|
(rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
|
|
|
|
|
Handle reuse_rtx ids.
|
|
|
|
|
Wrap iterator lookup within #ifdef GENERATOR_FILE.
|
|
|
|
|
Add parsing support for RTL dumps, mirroring the special-cases in
|
|
|
|
|
print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
|
|
|
|
|
values, and calling handle_any_trailing_information.
|
|
|
|
|
(rtx_reader::read_rtx_operand): Convert return type from void
|
|
|
|
|
to rtx, returning return_rtx. Handle case 'e'. Call
|
|
|
|
|
finalize_string on XSTR and XTMPL fields.
|
|
|
|
|
(rtx_reader::read_nested_rtx): Handle dumps in which trailing
|
|
|
|
|
"(nil)" values were omitted. Call the postprocess vfunc on the
|
|
|
|
|
return_rtx.
|
|
|
|
|
(rtx_reader::rtx_reader): Add new "compact" param and pass to base
|
|
|
|
|
class ctor. Initialize m_in_call_function_usage. Call
|
|
|
|
|
one_time_initialization.
|
|
|
|
|
* rtl-tests.c (selftest::test_uncond_jump): Call
|
|
|
|
|
set_new_first_and_last_insn.
|
|
|
|
|
* rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
|
|
|
|
|
* selftest-rtl.c: New file.
|
|
|
|
|
* selftest-rtl.h (class selftest::rtl_dump_test): New class.
|
|
|
|
|
(selftest::get_insn_by_uid): New decl.
|
|
|
|
|
* selftest-run-tests.c (selftest::run_tests): Call
|
|
|
|
|
read_rtl_function_c_tests.
|
|
|
|
|
* selftest.h (selftest::read_rtl_function_c_tests): New decl.
|
|
|
|
|
* tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
|
|
|
|
|
dumps.
|
|
|
|
|
|
2017-01-05 20:09:25 +01:00
|
|
|
|
2017-01-05 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (*testqi_ext_3): No need to handle memory
|
|
|
|
|
operands in a special way. Assert that pos+len <= mode precision.
|
|
|
|
|
|
2017-01-05 16:48:41 +01:00
|
|
|
|
2017-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
* common.opt (fvect-cost-model): Remove RejectNegative flag, use
|
|
|
|
|
3 argument Alias with unlimited for the negative form.
|
|
|
|
|
(fno-vect-cost-model): Removed.
|
|
|
|
|
|
2017-01-05 15:25:06 +01:00
|
|
|
|
2017-01-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
* hsa-gen.c (gen_hsa_divmod): New function.
|
2017-01-05 20:18:53 +01:00
|
|
|
|
(gen_hsa_insn_for_internal_fn_call): Use the function for IFN_DIVMOD.
|
2017-01-05 15:25:06 +01:00
|
|
|
|
|
2017-01-05 15:17:07 +01:00
|
|
|
|
2017-01-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR pch/78970
|
|
|
|
|
* gcc.c (lookup_compiler): Reject '-' filename for a precompiled
|
|
|
|
|
header.
|
|
|
|
|
|
2017-01-05 11:00:34 +01:00
|
|
|
|
2017-01-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_expand_setmem): Unroll the loop for
|
|
|
|
|
small constant length operands.
|
|
|
|
|
|
2017-01-05 10:59:32 +01:00
|
|
|
|
2017-01-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/s390.c (s390_expand_setmem): Avoid overlapping bytes
|
|
|
|
|
between loop iterations.
|
|
|
|
|
|
2017-01-05 10:16:50 +01:00
|
|
|
|
2017-01-05 Martin Liska <mliska@suse.cz>
|
|
|
|
|
|
|
|
|
|
PR sanitizer/78815
|
|
|
|
|
* gimplify.c (gimplify_decl_expr): Compare to
|
|
|
|
|
asan_poisoned_variables instread of checking flags.
|
|
|
|
|
(gimplify_target_expr): Likewise.
|
|
|
|
|
(gimplify_expr): Likewise.
|
|
|
|
|
(gimplify_function_tree): Conditionally initialize
|
|
|
|
|
asan_poisoned_variables.
|
|
|
|
|
|
2017-01-05 08:38:48 +01:00
|
|
|
|
2017-01-04 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimizatin/78812
|
|
|
|
|
* rtl.h (contains_mem_rtx_p): Prototype.
|
|
|
|
|
* ifcvt.c (containts_mem_rtx_p): Move from here to...
|
2017-01-05 14:22:57 +01:00
|
|
|
|
* rtlanal.c (contains_mem_rtx_p): Here and remove static linkage.
|
2017-01-05 08:38:48 +01:00
|
|
|
|
* gcse.c (prune_expressions): Use contains_mem_rtx_p to discover
|
|
|
|
|
and prune MEMs that are not at the toplevel of a SET_SRC rtx. Look
|
2017-01-05 20:18:53 +01:00
|
|
|
|
through ZERO_EXTEND and SIGN_EXTEND when trying to avoid pruning MEMs.
|
2017-01-05 08:38:48 +01:00
|
|
|
|
|
2017-01-05 02:46:52 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
2017-01-05 20:18:53 +01:00
|
|
|
|
* input.c (assert_char_at_range): Default-initialize actual_range.
|
2017-01-05 02:46:52 +01:00
|
|
|
|
|
[bootstrap-O3] use unsigned type for regno in df-scan
This patch fixes a false-positive warning in df-scan, at bootstrap-O3
failed, and enables GCC to optimize out the code that leads to the
warning.
df_ref_create_structure was inlined into the else part of
df_ref_record. Due to the condition of the corresponding if, In the
else part, VRP deduced unsigned regno >= FIRST_PSEUDO_REGISTER.
In df_ref_create_structure, there's another regno variable,
initialized with the same expression and value as the caller's. GCC
can tell as much, but this regno variable is signed. It is used,
shifted right, to index a hard regset bit array within a path that
tests that this signed regno < FIRST_PSEUDO_REGISTER.
GCC warned about the possible out-of-range indexing into the hard
regset array. It shouldn't, after all, the same regno can't possibly
be both < FIRST_PSEUDO_REGISTER and >= FIRST_PSEUDO_REGISTER, can it?
Well, the optimizers correctly decide it could, if it was a negative
int that, when converted to unsigned, became larger than
FIRST_PSEUDO_REGISTER. But GCC doesn't know regno can't be negative,
so the test could not be optimize out. What's more, given the
constraints, VRP correctly concluded the hard regset array would
always be indexed by a value way outside the array index range.
This patch changes the inlined regno to unsigned, like the caller's,
so that we can now tell the conditions can't both hold, so we optimize
out the path containing the would-be out-of-range array indexing.
for gcc/ChangeLog
* df-scan.c (df_ref_create_structure): Make regno unsigned,
to match the caller.
From-SVN: r244090
2017-01-05 02:46:41 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* df-scan.c (df_ref_create_structure): Make regno unsigned,
|
|
|
|
|
to match the caller.
|
|
|
|
|
|
2017-01-05 02:46:32 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cfgexpand.c (expand_gimple_basic_block): Disregard debug
|
|
|
|
|
insns after final jump in test to emit dummy move.
|
|
|
|
|
|
2017-01-05 02:46:14 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gimple-iterator.h (gsi_one_nondebug_before_end_p): New.
|
|
|
|
|
* tree-eh.c (cleanup_empty_eh): Skip more debug stmts.
|
|
|
|
|
|
2017-01-05 02:45:51 +01:00
|
|
|
|
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
|
|
|
|
|
|
|
|
|
|
* multiple_target.c (create_dispatcher_calls): Init e_next.
|
|
|
|
|
* tree-ssa-loop-split.c (split_loop): Init border.
|
|
|
|
|
* tree-vect-loop.c (vect_determine_vectorization_factor): Init
|
|
|
|
|
scalar_type.
|
|
|
|
|
|
2017-01-05 01:43:53 +01:00
|
|
|
|
2017-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
PR target/71977
|
|
|
|
|
PR target/70568
|
|
|
|
|
PR target/78823
|
|
|
|
|
* config/rs6000/predicates.md (sf_subreg_operand): New predicate.
|
|
|
|
|
(altivec_register_operand): Do not return true if the operand
|
|
|
|
|
contains a SUBREG mixing SImode and SFmode.
|
|
|
|
|
(vsx_register_operand): Likewise.
|
|
|
|
|
(vsx_reg_sfsubreg_ok): New predicate.
|
|
|
|
|
(vfloat_operand): Do not return true if the operand contains a
|
|
|
|
|
SUBREG mixing SImode and SFmode.
|
|
|
|
|
(vint_operand): Likewise.
|
|
|
|
|
(vlogical_operand): Likewise.
|
|
|
|
|
(gpc_reg_operand): Likewise.
|
|
|
|
|
(int_reg_operand): Likewise.
|
2017-01-05 20:18:53 +01:00
|
|
|
|
* config/rs6000/rs6000-protos.h (valid_sf_si_move): Add declaration.
|
2017-01-05 01:43:53 +01:00
|
|
|
|
* config/rs6000/rs6000.c (valid_sf_si_move): New function to
|
|
|
|
|
determine if a MOVSI or MOVSF operation contains SUBREGs that mix
|
|
|
|
|
SImode and SFmode.
|
|
|
|
|
(rs6000_emit_move_si_sf_subreg): New helper function.
|
|
|
|
|
(rs6000_emit_move): Call rs6000_emit_move_si_sf_subreg to possbily
|
|
|
|
|
fixup SUBREGs involving SImode and SFmode.
|
|
|
|
|
* config/rs6000/vsx.md (SFBOOL_*): New constants that are operand
|
|
|
|
|
numbers for the new peephole2 optimization.
|
|
|
|
|
(peephole2 for SFmode unions): New peephole2 to optimize cases in
|
|
|
|
|
the GLIBC math library that do AND/IOR/XOR operations on single
|
|
|
|
|
precision floating point.
|
|
|
|
|
* config/rs6000/rs6000.h (TARGET_NO_SF_SUBREG): New internal
|
|
|
|
|
target macros to say whether we need to avoid SUBREGs mixing
|
|
|
|
|
SImode and SFmode.
|
|
|
|
|
(TARGET_ALLOW_SF_SUBREG): Likewise.
|
|
|
|
|
* config/rs6000/rs6000.md (UNSPEC_SF_FROM_SI): New unspecs.
|
|
|
|
|
(UNSPEC_SI_FROM_SF): Likewise.
|
|
|
|
|
(iorxor): Change spacing.
|
|
|
|
|
(and_ior_xor): New iterator for AND, IOR, and XOR.
|
|
|
|
|
(movsi_from_sf): New insns for SImode/SFmode SUBREG support.
|
|
|
|
|
(movdi_from_sf_zero_ext): Likewise.
|
|
|
|
|
(mov<mode>_hardfloat, FMOVE32 iterator): Use register_operand
|
|
|
|
|
instead of gpc_reg_operand. Add SImode/SFmode SUBREG support.
|
|
|
|
|
(movsf_from_si): New insn for SImode/SFmode SUBREG support.
|
|
|
|
|
(fma<mode>4): Use gpc_reg_operand instead of register_operand.
|
|
|
|
|
(fms<mode>4): Likewise.
|
|
|
|
|
(fnma<mode>4): Likewise.
|
|
|
|
|
(fnms<mode>4): Likewise.
|
|
|
|
|
(nfma<mode>4): Likewise.
|
|
|
|
|
(nfms<mode>4): Likewise.
|
|
|
|
|
|
2017-01-04 22:47:04 +01:00
|
|
|
|
2017-01-04 Marek Polacek <polacek@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/64767
|
|
|
|
|
* doc/invoke.texi: Document -Wpointer-compare.
|
|
|
|
|
|
2017-01-04 21:03:59 +01:00
|
|
|
|
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-04 22:26:50 +01:00
|
|
|
|
* optc-gen.awk: Emit #error for -W*/-f*/-m* Enum without
|
|
|
|
|
RejectNegative.
|
|
|
|
|
|
2017-01-04 21:03:59 +01:00
|
|
|
|
* dwarf2out.c (output_loc_list): Don't throw away 64K+ location
|
|
|
|
|
descriptions for -gdwarf-5 and emit them as uleb128 instead of
|
|
|
|
|
2-byte data.
|
|
|
|
|
|
2017-01-04 21:03:00 +01:00
|
|
|
|
2017-01-04 Kelvin Nilsen <kelvin@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/78056
|
|
|
|
|
* doc/sourcebuild.texi (PowerPC-specific attributes): Add
|
|
|
|
|
documentation of the powerpc_popcntb_ok attribute.
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_option_override_internal): Add
|
|
|
|
|
code to issue warning messages if a requested CPU configuration is
|
|
|
|
|
not supported by the binary (assembler and loader) toolchain.
|
|
|
|
|
(spe_init_builtins): Add two assertions to prevent ICE if attempt is
|
|
|
|
|
made to define a built-in function that has been disabled.
|
|
|
|
|
(paired_init_builtins): Add assertion to prevent ICE if attempt is
|
|
|
|
|
made to define a built-in function that has been disabled.
|
|
|
|
|
(altivec_init_builtins): Add comment explaining why definition
|
|
|
|
|
of the DST built-in functions is not preceded by an assertion
|
|
|
|
|
check. Add assertions to prevent ICE if attempts are made to
|
|
|
|
|
define an altivec predicate or an abs* built-in function that has
|
|
|
|
|
been disabled.
|
|
|
|
|
(htm_init_builtins): Add comment explaining why definition of the
|
|
|
|
|
htm built-in functions is not preceded by an assertion check.
|
|
|
|
|
|
2017-01-04 20:22:44 +01:00
|
|
|
|
2017-01-04 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimizatin/67955
|
|
|
|
|
* tree-ssa-alias.c (same_addr_size_stores_p): Check offsets first.
|
|
|
|
|
Allow any SSA_VAR_P as the base objects. Use integer_zerop. Verify
|
|
|
|
|
the points-to solution does not include pt_null. Use DECL_PT_UID
|
|
|
|
|
unconditionally.
|
|
|
|
|
|
2017-01-04 16:42:36 +01:00
|
|
|
|
2017-01-04 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/i386/i386.md (HI/SImode test with imm to QImode splitters):
|
|
|
|
|
Use gen_int_mode instead of gen_lopwart for const_int operands.
|
|
|
|
|
|
2017-01-04 10:07:33 +01:00
|
|
|
|
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/71563
|
|
|
|
|
* match.pd: Simplify X << Y into X if Y is known to be 0 or
|
|
|
|
|
out of range value - has low bits known to be zero.
|
|
|
|
|
|
2017-01-04 09:29:34 +01:00
|
|
|
|
2017-01-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (aclocal_deps): Update and order as per aclocal.m4.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
|
2017-01-04 08:53:30 +01:00
|
|
|
|
2017-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/77569
|
|
|
|
|
* input.c (ebcdic_execution_charset::on_error): Don't use strstr for
|
|
|
|
|
a substring of the message, but strcmp with the whole message. Ifdef
|
|
|
|
|
ENABLE_NLS, translate the message first using dgettext.
|
|
|
|
|
|
2017-01-04 06:31:23 +01:00
|
|
|
|
2017-01-03 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimizatin/78856
|
|
|
|
|
* tree-ssa-threadupdate.c: Include tree-vectorizer.h.
|
|
|
|
|
(mark_threaded_blocks): Remove code to truncate thread paths that
|
|
|
|
|
cross multiple loop headers. Instead invalidate the cached loop
|
|
|
|
|
iteration information and handle case of a thread path walking
|
|
|
|
|
into an irreducible region.
|
|
|
|
|
|
2017-01-04 06:37:05 +01:00
|
|
|
|
2017-01-03 Michael Meissner <meissner@linux.vnet.ibm.com>
|
2017-01-04 05:32:48 +01:00
|
|
|
|
|
|
|
|
|
PR target/78900
|
|
|
|
|
* config/rs6000/rs6000.c (rs6000_split_signbit): Change some
|
|
|
|
|
assertions. Add support for doing the signbit if the IEEE 128-bit
|
|
|
|
|
floating point value is in a GPR.
|
|
|
|
|
* config/rs6000/rs6000.md (Fsignbit): Delete.
|
|
|
|
|
(signbit<mode>2_dm): Delete using <Fsignbit> and just use "wa".
|
|
|
|
|
Update the length attribute if the value is in a GPR.
|
|
|
|
|
(signbit<mode>2_dm_<su>ext): Add combiner pattern to eliminate
|
2017-01-05 20:09:25 +01:00
|
|
|
|
the sign or zero extension instruction, since the value is always 0/1.
|
2017-01-04 05:32:48 +01:00
|
|
|
|
(signbit<mode>2_dm2): Delete using <Fsignbit>.
|
|
|
|
|
|
|
|
|
|
PR target/78953
|
|
|
|
|
* config/rs6000/vsx.md (vsx_extract_<mode>_store_p9): If we are
|
|
|
|
|
extracting SImode to a GPR register so that we can generate a
|
|
|
|
|
store, limit the vector to be in a traditional Altivec register
|
|
|
|
|
for the vextuwrx instruction.
|
|
|
|
|
|
2017-01-04 01:58:34 +01:00
|
|
|
|
2017-01-03 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
2017-01-05 20:09:25 +01:00
|
|
|
|
* godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE.
|
2017-01-04 01:58:34 +01:00
|
|
|
|
|
2017-01-04 00:14:44 +01:00
|
|
|
|
2017-01-03 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR tree-optimization/78696
|
|
|
|
|
* gimple-ssa-sprintf.c (format_floating): Correct handling of
|
|
|
|
|
precision. Use MPFR for %f for greater fidelity. Correct handling
|
|
|
|
|
of %g.
|
|
|
|
|
(pass_sprintf_length::compute_format_length): Set width and precision
|
|
|
|
|
specified by asrerisk to void_node for vararg functions.
|
|
|
|
|
(try_substitute_return_value): Adjust dump output.
|
|
|
|
|
|
2017-01-03 23:08:39 +01:00
|
|
|
|
2017-01-03 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (RS6000 options): LRA is enabled by default.
|
|
|
|
|
|
2017-01-03 22:13:49 +01:00
|
|
|
|
2017-01-03 Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
|
|
|
|
|
* doc/invoke.texi (SPARC options): Document -mlra as the default.
|
|
|
|
|
* config/sparc/sparc.c (sparc_option_override): Force LRA unless
|
|
|
|
|
-mlra/-mno-lra was passed to the compiler.
|
|
|
|
|
|
2017-01-03 19:41:05 +01:00
|
|
|
|
2017-01-03 James Cowgill <James.Cowgill@imgtec.com>
|
|
|
|
|
|
|
|
|
|
PR rtl-optimization/65618
|
|
|
|
|
* emit-rtl.c (try_split): Move initialization of "before" and
|
|
|
|
|
"after" to just before the call to emit_insn_after_setloc.
|
|
|
|
|
|
2017-01-03 14:49:19 +01:00
|
|
|
|
2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/md.texi (Standard Names): Remove reference to Java frontend.
|
|
|
|
|
|
DWARF: add DW_AT_encoding attributes for DW_TAG_enumeration_type DIEs
Currently, the DWARF description does not specify the signedness of the
representation of enumeration types. This is a problem in some
contexts where DWARF consumers need to determine if value X is greater
than value Y.
For instance in Ada:
type Enum_Type is ( A, B, C, D);
for Enum_Type use (-1, 0, 1, 2);
type Rec_Type (E : Enum_Type) is record
when A .. B => null;
when others => B : Booleann;
end record;
The above can be described in DWARF the following way:
DW_TAG_enumeration_type(Enum_Type)
| DW_AT_byte_size: 1
DW_TAG_enumerator(A)
| DW_AT_const_value: -1
DW_TAG_enumerator(B)
| DW_AT_const_value: 0
DW_TAG_enumerator(C)
| DW_AT_const_value: 1
DW_TAG_enumerator(D)
| DW_AT_const_value: 2
DW_TAG_structure_type(Rec_Type)
DW_TAG_member(E)
| DW_AT_type: <Enum_Type>
DW_TAG_variant_part
| DW_AT_discr: <E>
DW_TAG_variant
| DW_AT_discr_list: DW_DSC_range 0x7f 0
DW_TAG_variant
| DW_TAG_member(b)
DWARF consumers need to know that enumerators (A, B, C and D) are signed
in order to determine the set of E values for which Rec_Type has a B
field. In practice, they need to know how to interpret the 0x7f LEB128
number above (-1, not 127).
When in non-strict DWARF mode, this patch adds a DW_AT_encoding
attribute to generated DW_TAG_enumeration_type DIEs to make this
signedness explicit.
gcc/
* dwarf2out.c (gen_enumeration_type_die): When
-gno-strict-dwarf, add a DW_AT_encoding attribute.
From-SVN: r244015
2017-01-03 09:54:57 +01:00
|
|
|
|
2017-01-03 Pierre-Marie de Rodat <derodat@adacore.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2out.c (gen_enumeration_type_die): When
|
|
|
|
|
-gno-strict-dwarf, add a DW_AT_encoding attribute.
|
|
|
|
|
|
2017-01-03 08:17:38 +01:00
|
|
|
|
2017-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
2017-01-03 08:23:11 +01:00
|
|
|
|
PR tree-optimization/78965
|
|
|
|
|
* gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
|
|
|
|
|
Change first argument from const call_info & to call_info &. For %n
|
|
|
|
|
set info.nowrite to false.
|
|
|
|
|
|
2017-01-03 08:20:04 +01:00
|
|
|
|
PR middle-end/78901
|
|
|
|
|
* gimple-ssa-sprintf.c (try_substitute_return_value): Don't change
|
|
|
|
|
possibly throwing calls.
|
|
|
|
|
|
2017-01-03 08:17:38 +01:00
|
|
|
|
* genmatch.c (dt_node::gen_kids_1): If generic_exprs include SSA_NAME
|
|
|
|
|
and exprs_len || fns_len, emit the code for SSA_NAME next to the exprs
|
|
|
|
|
and fns handling, rather than in a separate case SSA_NAME.
|
|
|
|
|
|
2017-01-03 06:36:40 +01:00
|
|
|
|
2017-01-02 Jeff Law <law@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/darwin-driver.c (darwin_driver_init): Const-correctness
|
|
|
|
|
fixes for first_period and second_period variables.
|
|
|
|
|
|
2017-01-02 23:08:18 +01:00
|
|
|
|
2017-01-02 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR target/78967
|
|
|
|
|
* config/i386/i386.md (UNSPEC_NOREX_MEM): New unspec.
|
|
|
|
|
(*insvqi_1): New insn pattern.
|
|
|
|
|
(*insvqi_1_mem_rex64): Ditto.
|
|
|
|
|
(*insvqi_2): Ditto.
|
|
|
|
|
(*insvqi_3): Rename from *insvqi.
|
|
|
|
|
|
|
|
|
|
(*extzvqi_mem_rex64): Add UNSPEC_NOREX_MEM tag.
|
|
|
|
|
|
2017-01-02 15:23:06 +01:00
|
|
|
|
2017-01-02 Gerald Pfeifer <gerald@pfeifer.com>
|
|
|
|
|
|
|
|
|
|
* doc/cfg.texi (Edges): Remove reference to Java.
|
|
|
|
|
(Maintaining the CFG): Ditto.
|
|
|
|
|
|
2017-01-02 00:31:53 +01:00
|
|
|
|
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77674
|
|
|
|
|
* symtab.c (symtab_node::binds_to_current_def_p): Fix handling of
|
|
|
|
|
transparent aliases.
|
|
|
|
|
|
2017-01-01 16:40:29 +01:00
|
|
|
|
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
|
|
|
|
|
|
|
|
|
|
PR middle-end/77484
|
|
|
|
|
* predict.def (PRED_CALL): Update hitrate.
|
|
|
|
|
(PRED_INDIR_CALL, PRED_POLYMORPHIC_CALL): New predictors.
|
|
|
|
|
* predict.c (tree_estimate_probability_bb): Split CALL predictor
|
|
|
|
|
into direct/indirect/polymorphic variants.
|
|
|
|
|
|
2017-01-01 12:31:28 +01:00
|
|
|
|
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2016-01-04 14:03:35 +01:00
|
|
|
|
* gcc.c (process_command): Update copyright notice dates.
|
|
|
|
|
* gcov-dump.c (print_version): Ditto.
|
|
|
|
|
* gcov.c (print_version): Ditto.
|
|
|
|
|
* gcov-tool.c (print_version): Ditto.
|
|
|
|
|
* gengtype.c (create_file): Ditto.
|
|
|
|
|
* doc/cpp.texi: Bump @copying's copyright year.
|
|
|
|
|
* doc/cppinternals.texi: Ditto.
|
|
|
|
|
* doc/gcc.texi: Ditto.
|
|
|
|
|
* doc/gccint.texi: Ditto.
|
|
|
|
|
* doc/gcov.texi: Ditto.
|
|
|
|
|
* doc/install.texi: Ditto.
|
|
|
|
|
* doc/invoke.texi: Ditto.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
2017-01-01 12:31:28 +01:00
|
|
|
|
Copyright (C) 2017 Free Software Foundation, Inc.
|
ABOUT-GCC-NLS, [...]: Add copyright and license notices.
* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
config/alpha/x-vms, config/arc/t-arc,
config/arm/README-interworking, config/arm/arm-c.c,
config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
config/cris/t-elfmulti, config/crx/t-crx,
config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
config/h8300/t-h8300, config/i386/athlon.md,
config/i386/darwin-libgcc.10.4.ver,
config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
config/i386/t-linux64, config/i386/t-nwld,
config/i386/t-rtems-i386, config/i386/t-sol2-10,
config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
config/iq2000/t-iq2000, config/libgcc-glibc.ver,
config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
config/m32r/t-m32r, config/m68hc11/t-m68hc11,
config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
config/m68k/t-uclinux, config/mcore/t-mcore,
config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
config/mips/crtn.asm, config/mips/irix-crti.asm,
config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
config/mips/mips-fixed.md, config/mips/sb1.md,
config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
config/mips/t-iris6, config/mips/t-isa3264,
config/mips/t-libgcc-mips16, config/mips/t-linux64,
config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
config/mn10300/t-linux, config/mn10300/t-mn10300,
config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
config/picochip/libgccExtras/clzsi2.asm,
config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
config/rs6000/darwin-libgcc.10.4.ver,
config/rs6000/darwin-libgcc.10.5.ver,
config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
config/rs6000/t-aix43, config/rs6000/t-aix52,
config/rs6000/t-darwin, config/rs6000/t-fprules,
config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
config/rs6000/t-lynx, config/rs6000/t-netbsd,
config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
config/rs6000/t-rtems, config/rs6000/t-spe,
config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
config/score/t-score-elf, config/sh/divcost-analysis,
config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
config/stormy16/stormy-abi, config/stormy16/t-stormy16,
config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
limitx.h, version.c, xcoff.h: Add copyright and license notices.
* config/h8300/genmova.sh: Include copyright and license notices
in generated output.
* config/h8300/mova.md: Regenerate.
* doc/install.texi2html: Include word "Copyright" in copyright
notice and use name "Free Software Foundation, Inc.".
* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
ChangeLog-2007, ChangeLog-2008: Correct dates.
ada:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
cp:
* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
cfns.gperf: Add copyright and license notices.
* cfns.h: Regenerate.
* ChangeLog, ChangeLog-2004: Correct dates.
fortran:
* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
copyright and license notices.
* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
ChangeLog-2008: Correct dates.
java:
* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
license notices.
objc:
* ChangeLog: Add copyright and license notices.
objcp:
* ChangeLog: Add copyright and license notices.
po:
* ChangeLog, EXCLUDES: Add copyright and license notices.
testsuite:
* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
README.gcc, g++.dg/README, g++.dg/compat/break/README,
g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
gcc.c-torture/ChangeLog.0,
gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
gcc.target/i386/math-torture/math-torture.exp,
gcc.target/mips/inter/mips16-inter.exp,
gcc.target/mips/mips-nonpic/README,
gcc.target/x86_64/abi/README.gcc,
gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
notices.
* ChangeLog-1993-2007, ChangeLog: Correct dates.
From-SVN: r146533
2009-04-21 21:03:23 +02:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|