1 2015-02-04 Nick Clifton <nickc@redhat.com>
3 * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
4 prefixes of known F5 using MSP430 MCUs.
6 2015-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8 * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF.
9 * config/aarch64/arm_neon.h (vsqrt_f64): Use __builtin_aarch64_sqrtdf
10 instead of __builtin_sqrt.
12 2015-02-04 Ilya Enkovich <ilya.enkovich@intel.com>
14 * varasm.c (do_assemble_alias): Follow transparent alias
16 (default_assemble_visibility): Follow transparent alias
19 2015-02-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
22 * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use TYPE_PRECISION
23 to compute size of referenced value in the constant case.
25 2015-02-03 Jakub Jelinek <jakub@redhat.com>
27 PR rtl-optimization/64756
28 * cse.c (invalidate_dest): New function.
29 (cse_insn): Use it. If dest != SET_DEST (sets[i].rtl) and
30 HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record,
31 invalidate and do not record it.
33 2015-02-03 Oleg Endo <olegendo@gcc.gnu.org>
36 * config/sh/sync.md (atomic_<fetchop_name><mode>_hard,
37 atomic_not<mode>_hard, atomic_<fetchop_name><mode>_soft_tcb,
38 atomic_not<mode>_soft_tcb, atomic_nand<mode>_hard,
39 atomic_nand<mode>_soft_tcb): New insns.
40 (atomic_fetch_<fetchop_name>si_hard): Convert to insn_and_split.
41 Split into atomic_<fetchop_name>_fetchsi_hard if operands[0] is unused.
42 (define_insn "atomic_fetch_notsi_hard): Convert to insn_and_split.
43 Split into atomic_not_fetchsi_hard if operands[0] is unused.
44 (atomic_fetch_<fetchop_name><mode>_hard): Convert to insn_and_split.
45 Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
46 (atomic_fetch_not<mode>_hard): Convert to insn_and_split. Split into
47 atomic_not<mode>_hard if operands[0] is unused.
48 (atomic_fetch_<fetchop_name><mode>_soft_gusa): Convert to
49 insn_and_split. Split into atomic_<fetchop_name>_fetch<mode>_soft_gusa
50 if operands[0] is unused.
51 (atomic_fetch_not<mode>_soft_gusa): Convert to insn_and_split. Split
52 into atomic_not_fetch<mode>_soft_gusa if operands[0] is unused.
53 (atomic_fetch_<fetchop_name><mode>_soft_tcb): Convert to insn_and_split.
54 Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
56 (atomic_fetch_not<mode>_soft_tcb): Convert to insn_and_split. Split
57 into atomic_not<mode>_soft_tcb if operands[0] is unused.
58 (atomic_fetch_<fetchop_name><mode>_soft_imask): Convert to
59 insn_and_split. Split into atomic_<fetchop_name>_fetch<mode>_soft_imask
60 if operands[0] is unused.
61 (atomic_fetch_not<mode>_soft_imask): Convert to insn_and_split. Split
62 into atomic_not_fetch<mode>_soft_imask is operands[0] is unused.
63 (atomic_fetch_nandsi_hard): Convert to insn_and_split. Split into
64 atomic_nand_fetchsi_hard if operands[0] is unused.
65 (atomic_fetch_nand<mode>_hard): Convert to insn_and_split. Split into
66 atomic_nand<mode>_hard if operands[0] is unused.
67 (atomic_fetch_nand<mode>_soft_gusa): Convert to insn_and_split. Split
68 into atomic_nand_fetch<mode>_soft_gusa if operands[0] is unused.
69 (atomic_fetch_nand<mode>_soft_tcb): Convert to insn_and_split. Split
70 into atomic_nand<mode>_soft_tcb if operands[0] is unused.
71 (atomic_fetch_nand<mode>_soft_imask): Convert to insn_and_split. Split
72 into atomic_nand_fetch<mode>_soft_imask if operands[0] is unused.
73 (atomic_<fetchop_name>_fetch<mode>_hard): Convert to insn_and_split.
74 Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
75 (atomic_not_fetch<mode>_hard): Convert to insn_and_split. Split into
76 atomic_not<mode>_hard if operands[0] is unused.
77 (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Convert to insn_and_split.
78 Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
80 (atomic_not_fetch<mode>_soft_tcb): Convert to insn_and_split. Split
81 into atomic_not<mode>_soft_tcb if operands[0] is unused.
82 (atomic_nand_fetch<mode>_hard): Convert to insn_and_split. Split into
83 atomic_nand<mode>_hard if operands[0] is unused.
84 (atomic_nand_fetch<mode>_soft_tcb): Convert to insn_and_split. Split
85 into atomic_nand<mode>_soft_tcb if operands[0] is unused.
87 2015-02-03 David Malcolm <dmalcolm@redhat.com>
90 * Makefile.in (GCC_OBJS): Add gcc-main.o.
91 * gcc-main.c: New file, containing "main" taken from gcc.c.
92 * gcc.c (do_self_spec): Free decoded_options.
93 (class driver): Move declaration to gcc.h.
94 (main): Move declaration and implementation to new file
96 (driver_get_configure_time_options): New function.
97 * gcc.h (class driver): Move this declaration here, from
99 (driver_get_configure_time_options): New declaration.
101 2015-02-03 Jan Hubicka <hubicka@ucw.cz>
103 * ipa-inline-analysis.c (simple_edge_hints): Fix check for
104 cross-module inlining.
105 * cgraph.h (cgraph_node): Add flag merged.
106 * ipa-icf.c (sem_function::merge): Maintain it.
108 2015-02-03 Richard Sandiford <richard.sandiford@arm.com>
110 * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
113 2015-02-03 Eric Botcazou <ebotcazou@adacore.com>
116 * config/sparc/sparc.h (TARGET_HARD_MUL): Remove TARGET_V8PLUS.
117 (TARGET_HARD_MUL32): Rewrite based on TARGET_HARD_MUL.
118 * config/sparc/sparc.c (sparc_rtx_costs) <MULT>: Return costs based on
119 int_mulX for integers in 64-bit mode if TARGET_HARD_MUL is not set.
121 2015-02-03 Jakub Jelinek <jakub@redhat.com>
124 * combine.c (reg_n_sets_max): New variable.
125 (can_change_dest_mode, reg_nonzero_bits_for_combine,
126 reg_num_sign_bit_copies_for_combine, get_last_value_validate,
127 get_last_value): Use REG_N_SETS only on pseudos < reg_n_sets_max.
128 (try_combine): Use INC_REG_N_SETS only on pseudos < reg_n_sets_max.
129 (rest_of_handle_combine): Initialize reg_n_sets_max.
131 2015-02-02 Jan Hubicka <hubicka@ucw.cz>
133 * ipa-inline.c (early_inliner): Skip inlining only in always_inlined;
134 if some always_inline was inlined, apply changes before inlining
137 2015-02-02 David Malcolm <dmalcolm@redhat.com>
140 * config/arm/arm.c (arm_option_override): Set
141 arm_selected_arch/cpu/tune to NULL on entry.
143 2015-02-02 Tejas Belagod <tejas.belagod@arm.com>
144 Andrew Pinski <pinskia@gcc.gnu.org>
145 Jakub Jelinek <jakub@gcc.gnu.org>
148 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix large
149 integer typing for small model. Use IN_RANGE.
151 2015-02-02 Richard Biener <rguenther@suse.de>
153 * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
154 * tree-vrp.c (vrp_valueize_1): Likewise.
156 2015-02-02 Alan Modra <amodra@gmail.com>
158 * config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
159 than mem for toc_restore.
160 * config/rs6000/rs6000.md (UNSPEC_TOCSLOT): Define.
161 (call_indirect_aix, call_value_indirect_aix): Adjust to suit.
162 (call_indirect_elfv2, call_value_indirect_elfv2): Likewise.
164 2015-02-01 David Edelsohn <dje.gcc@gmail.com>
167 * config/rs6000/rs6000.c (rs6000_set_current_function): Handle
168 explicit default options.
170 2015-02-01 Jan Hubicka <hubicka@ucw.cz>
173 * ipa-utils.c (ipa_merge_profiles): Add release argument.
174 * ipa-icf.c (sem_function::merge): Do not release body when merging.
175 * ipa-utils.h (ipa_merge_profiles): Update prototype.
177 2015-02-01 Jakub Jelinek <jakub@redhat.com>
180 * cfgexpand.c (deep_ter_debug_map): New variable.
181 (avoid_deep_ter_for_debug): New function.
182 (expand_debug_expr): If TERed SSA_NAME is in
183 deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL
184 instead of trying to expand SSA_NAME's def stmt.
185 (expand_debug_locations): When expanding debug bind
186 of a DEBUG_EXPR_DECL to corresponding SSA_NAME,
187 temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's
189 (pass_expand::execute): Call avoid_deep_ter_for_debug on
190 all debug bind stmts. Delete deep_ter_debug_map after
191 expand_debug_location if non-NULL and clear it.
193 2015-02-01 Oleg Endo <olegendo@gcc.gnu.org>
196 * config/sh/sync.md (atomic_fetch_notsi_hard,
197 atomic_fetch_not<mode>_hard, atomic_fetch_not<mode>_soft_gusa,
198 atomic_fetch_not<mode>_soft_tcb, atomic_fetch_not<mode>_soft_imask,
199 atomic_not_fetchsi_hard, atomic_not_fetch<mode>_hard,
200 atomic_not_fetch<mode>_soft_gusa, atomic_not_fetch<mode>_soft_tcb,
201 atomic_not_fetch<mode>_soft_imask): New insns.
203 2015-02-01 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
205 * haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
206 (rank_for_schedule_debug): Split from ...
207 (rank_for_schedule): ... this.
208 (ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
209 * sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.
211 2015-01-31 Sandra Loosemore <sandra@codesourcery.com>
213 * doc/md.texi (Machine Constraints): Alphabetize table by target.
214 * doc/extend.texi (x86 Variable Attributes): Move section to
215 correct alphabetization after renaming.
216 (x86 Type Attributes): Likewise.
217 (Target Builtins): Re-alphabetize menu.
218 (x86 Built-in Functions): Move section to correct alphabetization
220 (x86 transactional memory intrinsics): Likewise.
221 * doc/invoke.texi (Option Summary): Re-alphabetize x86 Options
222 and x86 Windows Options in table and menu.
223 (x86 Options): Move section to correct alphabetization after
225 (x86 Windows Options): Likewise.
227 2015-01-31 Sandra Loosemore <sandra@codesourcery.com>
229 * doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
230 preferred names of the architecture and its 32- and 64-bit
232 * doc/invoke.texi: Likewise.
233 * doc/md.texi: Likewise.
235 2015-01-31 Uros Bizjak <ubizjak@gmail.com>
238 * config/i386/predicates.md (address_no_seg_operand): Reject
239 non-CONST_INT_P operands in invalid mode.
241 2015-01-31 Uros Bizjak <ubizjak@gmail.com>
243 * config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
244 address_operand 0. Rename from *prefetch_prefetchwt1_<mode>.
245 * config/i386/predicates.md (address_no_seg_operand): Call
246 address_operand with VOIDmode.
247 (vsib_address_operand): Ditto.
248 (address_mpx_no_base_operand): Ditto.
249 (address_mpx_no_index_operand): Ditto.
251 2015-01-30 Vladimir Makarov <vmakarov@redhat.com>
254 * lra-constraints.c (original_subreg_reg_mode): New.
255 (simplify_operand_subreg): Try to simplify subreg of const. Use
256 original_subreg_reg_mode for it.
257 (swap_operands): Update original_subreg_reg_mode.
258 (curr_insn_transform): Set up original_subreg_reg_mode.
260 2015-01-30 Vladimir Makarov <vmakarov@redhat.com>
263 * lra-constraints.c (prohibited_class_reg_set_mode_p): New
265 (process_alt_operands): Use it.
266 (curr_insn_transform): Check the optional reload pseudo class is
269 2015-01-30 Joseph Myers <joseph@codesourcery.com>
271 * diagnostic.c (fatal_error (const char *, ...)): Remove function.
272 * diagnostic-core.h (fatal_error (const char *, ...)): Remove
274 * toplev.h (init_asm_output): Update comment on use of
275 UNKNOWN_LOCATION with fatal_error.
276 * cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
277 config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
278 config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
279 config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
280 config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
281 config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
282 config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
283 ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
284 lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
285 lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
286 tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
287 fatal_error changed to pass input_location as first argument.
289 2015-01-30 Martin Liska <mliska@suse.cz>
291 * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
292 in #pragma GCC diagnostic guards.
294 2015-01-30 Richard Biener <rguenther@suse.de>
296 PR tree-optimization/64829
297 * tree-vect-patterns.c (vect_handle_widen_op_by_const): Do
298 not add a widening conversion pattern but hand off extra
299 widenings to callers.
300 (vect_recog_widen_mult_pattern): Handle extra widening produced
301 by vect_handle_widen_op_by_const.
302 (vect_recog_widen_shift_pattern): Likewise.
303 (vect_pattern_recog_1): Remove excess vertical space in dumping.
304 * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
305 (vect_init_vector_1): Likewise.
306 (vect_get_vec_def_for_operand): Likewise.
307 (vect_finish_stmt_generation): Likewise.
308 (vectorizable_load): Likewise.
309 (vect_analyze_stmt): Likewise.
310 (vect_is_simple_use): Likewise.
312 2015-01-29 Jeff Law <law@redhat.com>
314 * combine.c (try_combine): Fix typo in comment.
316 2015-01-29 Segher Boessenkool <segher@kernel.crashing.org>
319 * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
320 (rs6000_stack_info): Add assert.
321 (rs6000_output_savres_externs): New function, split off from...
322 (rs6000_output_function_prologue): ... here. Do not call it for
325 2015-01-29 Jeff Law <law@redhat.com>
328 * combine.c (try_combine): If I0 is a memory load and I3 a store
329 to a related address, increase the "goodness" of doing a 4-insn
330 combination with I0-I3.
331 (make_field_assignment): Handle SUBREGs in the ior+and case.
333 2015-01-29 Yuri Rumyantsev <ysrumyan@gmail.com>
335 PR tree-optimization/64746
336 * tree-if-conv.c (mask_exists): New function.
337 (predicate_mem_writes): Save created mask with given size for further
339 (stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
340 (ifcvt_repair_bool_pattern): Collect all statements that are root
341 of bool pattern and use iterative algorithm to remove multiple uses
342 of predicates, display number of required iterations.
344 2015-01-29 Richard Biener <rguenther@suse.de>
346 PR tree-optimization/64853
347 * tree-vrp.c (vrp_valueize_1): Do not return anything if the
348 stmt will get simulated again.
349 * tree-ssa-ccp.c (valueize_op_1): Likewise.
351 2015-01-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
353 * config/arm/arm.c (arm_emit_multi_reg_pop): Simplify definition of
354 return_in_pc. Remove redundant assignments.
355 (thumb2_emit_ldrd_pop): Simplify definition of return_in_pc.
356 (arm_expand_epilogue): Don't compare boolean with true in if condition.
358 2015-01-29 Uros Bizjak <ubizjak@gmail.com>
360 * config/i386/i386.c (ix86_mode_after): Make static.
362 2015-01-29 Richard Biener <rguenther@suse.de>
364 PR tree-optimization/64844
365 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Always
366 dump cost model analysis.
367 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
368 Do not register adjusted load/store costs here.
370 2015-01-29 Ilya Enkovich <ilya.enkovich@intel.com>
371 Uros Bizjak <ubizjak@gmail.com>
373 * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
374 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
375 using x86_use_pseudo_pic_reg.
376 * config/i386/i386.c (ix86_conditional_register_usage): Remove
377 support for fixed PIC register.
378 (ix86_use_pseudo_pic_reg): Not static any more.
380 2015-01-29 Ilya Enkovich <ilya.enkovich@intel.com>
383 * ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
384 to avoid error in cgraph node verification.
386 2015-01-29 Marek Polacek <polacek@redhat.com>
388 * doc/standards.texi: Reflect that the default for C is gnu11.
390 2015-01-29 Kaz Kojima <kkojima@gcc.gnu.org>
393 * reorg.c (switch_text_sections_between_p): New function.
394 (relax_delay_slots): Call it when testing if the jump insn
395 is removable. Use targetm.can_follow_jump when testing if
396 the conditional branch can follow an unconditional jump.
398 2015-01-27 Caroline Tice <cmtice@google.com>
400 Committing VTV Cywin/Ming patch for Patrick Wollgast
401 * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
402 if -fvtable-verify=preinit/std is used.
403 * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
404 * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
405 * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
406 if -fvtable-verify=preinit/std is used.
407 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
408 * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
409 if -fvtable-verify=preinit/std is used.
410 * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
411 * config/i386/mingw32.h (LIB_SPEC): Likewise.
412 * varasm.c (assemble_variable): Add code to properly set the comdat
413 section and name for the .vtable_map_vars section in case the
414 target is PE or COFF.
416 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
419 * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
420 make sane BB profile.
421 (cgraph_node::expand_thunk): Make sane BB profile.
422 (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
423 * cgraph.h (init_lowered_empty_function): Update prototype.
424 * config/i386/i386.c (make_resolver_func): Update call.
425 * predict.c (gate): Disable branch prediction pass if
426 profile is already there.
428 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
430 * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
431 * opth-gen.awk: Likewise.
432 * common.opt: Mark flag_fp_contract_mode as Optimization.
434 2015-01-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
436 * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
437 * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
439 2015-01-28 Oleg Endo <olegendo@gcc.gnu.org>
442 * config/sh/predicates.md (atomic_arith_operand,
443 atomic_logical_operand): Remove.
444 * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
445 (atomic_arith_operand_0): New predicate.
446 (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
447 Use atomic_arith_operand_0 for input values.
448 (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
449 atomic_compare_and_swap<mode>_soft_gusa,
450 atomic_compare_and_swap<mode>_soft_tcb,
451 atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
452 arith_reg_operand instead of register_operand.
453 (atomic_exchange<mode>): Use arith_reg_dest for output value. Use
454 atomic_arith_operand_0 for newval input.
455 (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
456 atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
457 atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
458 arith_reg_operand instead of register_operand.
459 (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
460 fetchop_predicate_1, fetchop_constraint_1_llcs,
461 fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
462 fetchop_constraint_1_imask): New code iterator attributes.
463 (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
464 register_operand. Use fetchop_predicate_1.
465 (atomic_fetch_<fetchop_name>si_hard,
466 atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
467 register_operand. Use fetchop_predicate_1, fetchop_constraint_1_llcs.
468 (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
469 and arith_reg_operand instead of register_operand. Use
470 fetchop_predicate_1, fetchop_constraint_1_gusa.
471 (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
472 and arith_reg_operand instead of register_operand. Use
473 fetchop_predicate_1, fetchop_constraint_1_tcb. Adjust asm sequence
475 (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
476 and arith_reg_operand instead of register_operand. Use
477 fetchop_predicate_1, fetchop_constraint_1_imask. Adjust asm sequence
479 (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
480 register_operand. Use atomic_logical_operand_1.
481 (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
482 atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
483 arith_reg_operand instead of register_operand.
484 (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
485 Use arith_reg_dest and arith_reg_operand instead of register_operand.
486 Use logical_operand and rK08. Adjust asm sequence to allow R0 usage.
487 (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
488 register_operand. Use fetchop_predicate_1.
489 (atomic_<fetchop_name>_fetchsi_hard,
490 atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
491 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
492 fetchop_constraint_1_llcs.
493 (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
494 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
495 fetchop_constraint_1_gusa.
496 (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
497 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
498 fetchop_constraint_1_tcb. Adjust asm sequence to allow R0 usage.
499 (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
500 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
501 fetchop_constraint_1_imask. Adjust asm sequence to allow R0 usage.
502 (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
503 register_operand. Use atomic_logical_operand_1.
504 (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
505 atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
506 arith_reg_operand instead of register_operand.
507 (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
508 arith_reg_operand instead of register_operand. Use logical_operand
509 and K08. Adjust asm sequence to allow R0 usage.
510 (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
511 arith_reg_operand instead of register_operand. Use logical_operand
514 2015-01-28 Jakub Jelinek <jakub@redhat.com>
517 * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
518 Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
519 (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
520 only get_full_len HOST_WIDE_INTs from get_val () array rather than
521 all bits in *val_wide.
523 2015-01-28 Jan Hubicka <hubicka@ucw.cz>
525 * varpool.c (tls_model_names): Fix names.
526 (varpool_node::dump): Dump tls- prefix for tls models.
528 2015-01-28 Thomas Schwinge <thomas@codesourcery.com>
529 Bernd Schmidt <bernds@codesourcery.com>
530 Nathan Sidwell <nathan@codesourcery.com>
532 * config/nvptx/mkoffload.c: New file.
533 * config/nvptx/t-nvptx: Add build rules for it.
534 * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
535 (extra_programs): Add mkoffload.
536 * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
538 (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
540 2015-01-28 Yuri Rumyantsev <ysrumyan@gmail.com>
543 * cfgexpand.c (reorder_operands): Skip debug gimples.
545 2015-01-28 Ilya Enkovich <ilya.enkovich@intel.com>
547 PR tree-optimization/64277
548 * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
549 range info when possible to refine estimation.
551 2015-01-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
553 PR tree-optimization/64718
554 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
555 be a 16bit unsigned integer when n->range is 16.
556 (bswap_replace): Convert src to that type if necessary for all bswap
557 sizes. Fix rotation right notation in nearby comment. Use bswap_type
558 set in pass_optimize_bswap::execute ().
560 2015-01-28 James Greenhalgh <james.greenhalgh@arm.com>
562 * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
563 * config/aarch64/aarch64-simd-builtins.def (abs): Split by
564 integer and floating point variants.
565 * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
567 2015-01-28 Robert Suchanek <robert.suchanek@imgtec.com>
569 * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
570 for all vector modes.
572 2015-01-28 Jakub Jelinek <jakub@redhat.com>
575 * doc/sourcebuild.texi (comdat_group): Document.
577 2015-01-28 Terry Guo <terry.guo@arm.com>
579 * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
581 2015-01-27 David Malcolm <dmalcolm@redhat.com>
583 * toplev.c (print_version): Add param "show_global_state", and
584 only print GGC and plugin information if it is true.
585 (init_asm_output): Pass in "true" for the new param when calling
587 (process_options): Likewise.
588 (toplev::main): Likewise.
589 * toplev.h (print_version): Add new param to decl.
591 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
595 * tree.c (lookup_binfo_at_offset): New function.
596 (get_binfo_at_offset): Use it.
598 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
601 * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
602 on vtable being vtable.
604 2015-01-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
606 * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
607 * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
609 * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
610 -mno-hotpatch options. Change syntax of -mhotpatch= option.
611 * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
613 (s390_hotpatch_trampoline_halfwords_max): Renamed.
614 (s390_hotpatch_hw_max): New name.
615 (s390_hotpatch_trampoline_halfwords): Renamed.
616 (s390_hotpatch_hw_before_label): New name.
617 (get_hotpatch_attribute): Removed.
618 (s390_hotpatch_hw_after_label): New name.
619 (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
621 (s390_attribute_table): Ditto.
622 (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
623 (s390_function_num_hotpatch_hw): New name.
624 Remove special handling of inline functions and hotpatching.
625 Return number of nops before and after the function label.
626 (s390_can_inline_p): Removed.
627 (s390_asm_output_function_label): Emit a configurable number of nops
628 after the function label.
629 (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
630 (TARGET_CAN_INLINE_P) Removed.
631 (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
633 2015-01-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
634 Jiong Wang <jiong.wang@arm.com>
636 * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
638 (cb<optab><mode>1): Likewise.
639 * config/aarch64/iterators.md (bcond): New define_code_attr.
641 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
643 * config/s390/s390.c (s390_memory_move_cost): Increase costs for
646 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
648 * config/s390/s390.c (s390_register_move_cost): Increase costs for
651 2015-01-27 Richard Biener <rguenther@suse.de>
653 * tree-vrp.c (update_value_range): Intersect the range with
654 old recorded SSA name range information.
656 2015-01-27 Nick Clifton <nickc@redhat.com>
658 * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
659 BC, DE and HL registers directly, not via AX.
660 When decrementing the stack pointer by a large amount, transfer SP
661 into AX and perform the subtraction there.
662 (rl78_expand_epilogue): Perform the inverse of the above
665 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
667 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
669 2015-01-27 Jakub Jelinek <jakub@redhat.com>
670 Yury Gribov <y.gribov@samsung.com>
673 * ubsan.c (ubsan_source_location): Refactor code.
674 (ubsan_type_descriptor): Update type size. Refactor code.
676 2015-01-27 Richard Biener <rguenther@suse.de>
678 PR tree-optimization/56273
679 PR tree-optimization/59124
680 PR tree-optimization/64277
681 * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
682 from the first VRP pass.
684 2015-01-27 Jakub Jelinek <jakub@redhat.com>
687 * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
688 handle the first argument in the same loop as all the other arguments.
690 PR rtl-optimization/61058
691 * jump.c (cleanup_barriers): Update basic block boundaries
692 if BLOCK_FOR_INSN is non-NULL on PREV.
694 2015-01-27 Ilya Enkovich <ilya.enkovich@intel.com>
696 * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
697 bounds narrowing, already instrumented calls and calls to
698 not instrumentable functions.
700 2015-01-27 Jakub Jelinek <jakub@redhat.com>
702 PR tree-optimization/64807
703 * wide-int.cc (wi::divmod_internal): Clear
704 b_dividend[dividend_blocks_needed].
706 2015-01-26 DJ Delorie <dj@redhat.com>
708 * config/rl78/rl78.c (move_elim_pass): Don't optimize away
709 volatile memory references.
711 2015-01-26 Oleg Endo <olegendo@gcc.gnu.org>
714 * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
716 * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
717 shifts if it already fits into K08.
719 2015-01-26 Jakub Jelinek <jakub@redhat.com>
722 * ipa-inline.c (inline_small_functions): Print "unknown" even
723 if edge->call_stmt is non-NULL, but has builtins or unknown
727 * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
728 with asterisk, skip the first character.
730 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
733 * config/i386/i386 (feature_priority): Revert the last P_POPCNT
736 2015-01-26 Uros Bizjak <ubizjak@gmail.com>
739 * config/i386/i386.md (*movdi_internal): Also check operand 0
740 to determine TYPE_LEA operand.
741 (*movsi_internal): Ditto.
743 2015-01-26 Jakub Jelinek <jakub@redhat.com>
745 * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
746 OPTION_MASK_QUAD_MEMORY_ATOMIC.
748 2015-01-26 Renlin Li <renlin.li@arm.com>
750 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
752 * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
755 2015-01-26 Richard Biener <rguenther@suse.de>
758 * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
759 combining two BIT_AND_EXPR predicates.
761 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
764 * tree-ssa-structalias.c (new_var_info): Initialize ruid.
766 2015-01-26 Terry Guo <terry.guo@arm.com>
768 * config/arm/arm.c (arm_file_start): Update the assignment of
771 2015-01-25 James Greenhalgh <james.greenhalgh@arm.com>
773 * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
775 config/arm/arm.md: Include the new Cortex-A57 model.
776 (generic_sched): Don't use generic_sched when tuning for
779 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
780 Uros Bizjak <ubizjak@gmail.com>
782 * config/i386/i386.c (get_builtin_code_for_version): Add
783 support for BMI and BMI2 multiversion functions.
785 2015-01-25 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
787 * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
788 (extract_bit_field): Likewise.
789 (extract_low_bits): Likewise.
790 (expand_mult): Likewise.
791 (expand_mult_highpart_adjust): Likewise.
793 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
795 * config/i386/driver-i386.c (host_detect_local_cpu): Check new
796 Silvermont, Haswell, Broadwell and Knights Landing model numbers.
797 * config/i386/i386.c (processor_model): Add
798 M_INTEL_COREI7_BROADWELL.
799 (arch_names_table): Add "broadwell".
801 2015-01-24 Oleg Endo <olegendo@gcc.gnu.org>
810 * config/sh/sh-protos.h
811 (sh_extending_set_of_reg::can_use_as_unextended_reg,
812 sh_extending_set_of_reg::use_as_unextended_reg,
813 sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
814 sh_is_movrt_insn, sh_insn_operands_modified_between_p,
815 sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
816 sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
817 (sh_treg_insns): New class.
818 * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
819 (scope_counter): New class.
820 (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
821 sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
822 sh_extending_set_of_reg::can_use_as_unextended_reg,
823 sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
824 sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
825 sh_split_treg_set_expr): New functions.
826 (addsubcosts): Handle treg_set_expr.
827 (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
828 (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
829 (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
830 (sh_insn_operands_modified_between_p): Make non-static.
831 * config/sh/predicates.md (zero_extend_movu_operand): Allow
832 simple_mem_operand in addition to displacement_mem_operand.
833 (zero_extend_operand): Don't allow zero_extend_movu_operand.
834 (treg_set_expr, treg_set_expr_not_const01,
835 arith_reg_or_treg_set_expr): New predicates.
836 * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
837 arith_or_int_operand instead of logical_operand. Convert to
838 insn_and_split. Try to optimize constant operand in splitter.
839 (tsthi_t, tstqi_t): Fold into *tst<mode>_t. Convert to insn_and_split.
840 (*tstqi_t_zero): Delete.
841 (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
842 (tstsi_t_and_not): Delete.
843 (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
844 Convert to insn_and_split.
845 (unnamed split, tstsi_t_zero_extract_xor,
846 tstsi_t_zero_extract_subreg_xor_little,
847 tstsi_t_zero_extract_subreg_xor_big): Delete.
848 (*tstsi_t_shift_mask): New insn_and_split.
849 (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
850 to recombine with surrounding insns when splitting.
851 (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
852 (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
853 (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
854 *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
855 (*cbranch_div0s: Delete.
856 (*addc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
857 Try to recombine with surrounding insns when splitting. Add operand
859 (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
860 (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
861 *addc_r_r_msb, *addc_2r_msb): Delete.
862 (*addc_2r_lsb): Rename to *addc_2r_t. Use treg_set_expr. Add operand
864 (*addc_negreg_t): New insn_and_split.
865 (*subc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
866 Try to recombine with surrounding insns when splitting.
867 Add operand order variants.
868 (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
869 insn_and_split patterns.
870 (*rotcr): Use arith_reg_or_treg_set_expr. Try to recombine with
871 surrounding insns when splitting.
872 (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
873 (*rotcl): Likewise. Add zero_extract variant.
874 (*ashrsi2_31): New insn_and_split.
875 (*negc): Convert to insn_and_split. Use treg_set_expr.
876 (*zero_extend<mode>si2_disp_mem): Update comment.
877 (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
879 (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr. Try to recombine
880 with surrounding insns when splitting.
881 (any_treg_expr_to_reg): New insn_and_split.
882 (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
883 *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
884 *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
885 *zero_extract_2): New single bit zero extract patterns.
886 (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
887 (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
888 *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
889 *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
891 (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
892 register_operand for set source.
894 2015-01-23 Jan Hubicka <hubicka@ucw.cz>
896 * i386.opt (prefetch_sse): New targetsave.
897 * i386.c (ix86_function_specific_save): Save prefetch_sse.
898 (ix86_function_specific_restore): Restore prefetch_sse and initialize
899 ix86_cost/ix86_tune_cost.
901 2015-01-23 David Malcolm <dmalcolm@redhat.com>
903 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
904 Support the JIT by using 0 as the language type.
906 2015-01-23 Vladimir Makarov <vmakarov@redhat.com>
909 * lra-lives.c (make_hard_regno_born): Add parameter. Don't make
910 REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
911 (mark_regno_live, process_bb_lives): Pass new parameter value to
912 make_hard_regno_born.
914 2015-01-23 Jakub Jelinek <jakub@redhat.com>
916 PR rtl-optimization/63637
917 PR rtl-optimization/60663
918 * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
919 if elt->cost is MAX_COST for ASM_OPERANDS.
920 (find_sets_in_insn): Fix up comment typo.
921 (cse_insn): Don't set src_volatile for all non-volatile
922 ASM_OPERANDS in PARALLELs, but just those with multiple outputs
923 or with "memory" clobber. Set elt->cost to MAX_COST
924 for ASM_OPERANDS in PARALLEL. Set src_elt->cost to MAX_COST
925 if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
927 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
929 * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
932 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
934 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
935 libgcc/config/i386/elf-lib.h.
937 2015-01-23 Jakub Jelinek <jakub@redhat.com>
940 * gcc.c (print_configuration): Don't print a blank line at the end
942 (run_attempt): ... but here unstead.
945 * omp-low.c (scan_sharing_clauses): Don't ignore
946 OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
947 on target data/update constructs.
949 2015-01-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
952 * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
953 (DEBUG_RELOAD): Removed define.
954 (m32c_limit_reload_class): Enable traces with if DEBUG0.
955 (m32c_function_arg): Added a type cast.
956 (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
957 * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
958 * config/m32c/bitops.md (andqi3_16): Likewise.
959 * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
960 (push_a01_l): Likewise.
962 2015-01-23 David Malcolm <dmalcolm@redhat.com>
965 * main.c (main): Construct toplev instances with init_signals=true.
966 * toplev.c (general_init): Add param "init_signals", and use it to
967 conditionalize the calls to signal and host_hooks.extra_signals.
968 (toplev::toplev): Add param "init_signals".
969 (toplev::main): When invoking general_init, pass m_init_signals
970 to control whether signal-handlers are installed.
971 * toplev.h (toplev::toplev): Add param "init_signals".
972 (toplev::m_init_signals): New field.
974 2015-01-23 David Malcolm <dmalcolm@redhat.com>
977 * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
978 NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
979 latter may be affected by the former (e.g. on i686).
981 2015-01-23 Martin Liska <mliska@suse.cz>
983 * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
984 false positive during profiledbootstrap.
986 2015-01-23 Tom de Vries <tom@codesourcery.com>
989 * lto-opts.c (lto_write_options): Output non-explicit conservative
991 * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
992 (append_compiler_options): Pass -fopenacc through.
994 2015-01-23 Tom de Vries <tom@codesourcery.com>
997 * lto-opts.c (lto_write_options): Output non-explicit conservative
999 * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
1000 (append_compiler_options): Pass -fopenmp through.
1002 2015-01-23 Jakub Jelinek <jakub@redhat.com>
1005 * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
1008 * diagnostic-core.h (internal_error_no_backtrace): New prototype.
1009 * diagnostic.def (DK_ICE_NOBT): New kind.
1010 * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
1011 like DK_ICE, but never print backtrace.
1012 (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
1013 (internal_error_no_backtrace): New function.
1014 * gcc.c (execute): Use internal_error_no_backtrace instead of
1017 2015-01-22 Jeff Law <law@redhat.com>
1020 * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
1021 improve code density for small immediate to memory case.
1022 (insv): Better handle bitfield assignments when the field is
1023 being set to all ones.
1024 * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
1027 2015-01-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1028 Jakub Jelinek <jakub@redhat.com>
1030 * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
1031 for !TARGET_LIBC_PROVIDES_SSP version and
1032 -fstack-protector-{all,strong,explicit} otherwise.
1033 * config/freebsd.h (LINK_SSP_SPEC): Handle
1034 -fstack-protector-{strong,explicit}.
1036 2015-01-22 Jan Hubicka <hubicka@ucw.cz>
1037 H.J. Lu <hongjiu.lu@intel.com>
1040 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
1043 2015-01-22 Wei Mi <wmi@google.com>
1045 PR rtl-optimization/64557
1046 * dse.c (record_store): Call get_addr for mem_addr.
1047 (check_mem_read_rtx): Likewise.
1049 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
1051 * fold-const.c (const_binop): Add early return for non-tcc_binary.
1053 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1055 * toplev.c (init_local_tick): Process the failure when read
1056 fails for random_seed.
1058 * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
1059 'pretty_name' to avoid memory overflow.
1061 2015-01-22 Richard Biener <rguenther@suse.de>
1064 * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
1065 abnormal coalescing on undefined SSA names.
1067 2015-22-01 Uros Bizjak <ubizjak@gmail.com>
1071 * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
1073 (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
1075 2015-01-22 Trevor Saunders <tsaunders@mozilla.com>
1078 * fold-const.c (fold_checksum_tree): Don't include value of
1079 expr->decl_with_vis.symtab_node in the checksum.
1081 2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1083 * config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
1086 2015-01-22 Max Ostapenko <m.ostapenko@partner.samsung.com>
1089 * gcc.c (insert_comments): New function.
1090 (try_generate_repro): Call it.
1091 (append_text): Removed.
1093 2015-01-22 Richard Biener <rguenther@suse.de>
1095 * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
1096 with IL incompatible options. Properly honor user optimize
1099 2015-01-21 Segher Boessenkool <segher@kernel.crashing.org>
1101 PR rtl-optimization/64682
1102 * combine.c (distribute_notes): When moving a death note for
1103 a register that is set in the new I2, make sure to put it
1106 2015-01-21 David Edelsohn <dje.gcc@gmail.com>
1108 * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
1111 2015-01-21 Jakub Jelinek <jakub@redhat.com>
1114 * simplify-rtx.c (simplify_relational_operation_1): Don't try to
1115 optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
1116 into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
1119 * doc/invoke.texi (-fsanitize=vptr): Document.
1121 PR rtl-optimization/62078
1122 * dse.c: Include cfgcleanup.h.
1123 (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
1124 anything call purge_all_dead_edges and cleanup_cfg at the end
1127 2015-01-21 Jan Hubicka <hubicka@ucw.cz>
1129 * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
1132 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
1134 * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
1137 2015-01-21 David Sherwood <david.sherwood@arm.com>
1138 Tejas Belagod <Tejas.Belagod@arm.com>
1140 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
1141 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
1142 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
1145 2015-01-21 David Sherwood <david.sherwood@arm.com>
1146 Tejas Belagod <Tejas.Belagod@arm.com>
1148 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
1149 (aarch64_reverse_mask): New decls.
1150 * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
1151 (insn_count): New mode_attr.
1152 * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
1153 (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
1154 (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
1155 (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
1156 (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
1157 (aarch64_simd_st4): New patterns.
1158 * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
1159 (aarch64_reverse_mask): New functions.
1161 2015-01-21 Richard Sandiford <richard.sandiford@arm.com>
1163 * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
1165 * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
1166 addressing modes for BE.
1167 (aarch64_print_operand): Add 'R' specifier.
1168 (aarch64_simd_disambiguate_copy): Delete.
1169 (aarch64_simd_emit_reg_reg_move): New function.
1170 * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
1171 in define_splits for structural moves.
1172 (mov<mode>): Use less restrictive predicates.
1173 (*aarch64_mov<mode>): Simplify and only allow for LE.
1174 (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
1176 2015-01-21 Alan Hayward <alan.hayward@arm.com>
1178 * rtlanal.c (subreg_get_info): Exit early for simple and common cases.
1180 2015-01-21 Richard Henderson <rth@redhat.com>
1183 * ccmp.c (used_in_cond_stmt_p): Remove.
1184 (expand_ccmp_expr): Don't use it.
1186 2015-01-21 Nick Clifton <nickc@redhat.com>
1188 * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
1191 2015-01-21 Richard Biener <rguenther@suse.de>
1194 * tree-core.h (builtin_info, builtin_info_type): Turn from
1195 an object with two arrays into an array of an object with
1196 decl and two flags, implicit_p and declared_p.
1197 * tree.h (builtin_decl_explicit, builtin_decl_implicit,
1198 set_builtin_decl, set_builtin_decl_implicit_p,
1199 builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
1200 (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
1201 * builtins.c (builtin_info): Adjust.
1202 * gimplify.c (gimplify_addr_expr): References to builtins
1203 that have been declared by the user makes them eligible for
1204 use by the compiler. Call set_builtin_decl_implicit_p on them.
1206 2015-01-20 Jeff Law <law@redhat.com>
1209 * config/m68k/m68k.md (Comparison expanders and patterns): Do not
1210 allow pc-relative addresses in operand predicates or constraints.
1212 2015-01-21 Bin Cheng <bin.cheng@arm.com>
1214 * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
1215 neon on aarch32 processors for stringops.
1217 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1220 * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
1222 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1225 * ipa-inline.c: Include lto-streamer.h
1226 (report_inline_failed_reason): Output source file differences and
1227 flags on optimization/target node mismatch.
1228 (can_inline_edge_p): Consider caller to be the outer inline function;
1229 be less restrictive about matching opimize and optimize_size attributes.
1230 (inline_account_function_p): Break out from ...
1231 (inline_small_functions): ... here.
1232 * ipa-inline-transform.c (clone_inlined_nodes): Use
1233 inline_account_function_p.
1234 (inline_call): Use optimize attribution; use inline_account_function_p.
1235 (inline_transform): Use opt_for_fn.
1236 * ipa-inline.h (inline_account_function_p): Declare.
1238 2015-01-20 Jakub Jelinek <jakub@redhat.com>
1241 * dwarf2out.c (decl_piece_node): Don't put bitsize into
1242 mode if bitsize <= 0.
1243 (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
1244 dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
1245 sizes and positions.
1247 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1249 * config/nios2/nios2.c (nios2_asm_file_end): Implement
1250 TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
1252 (TARGET_ASM_FILE_END): Define.
1254 2015-01-20 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1256 * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
1257 (struct tune_params): Use the enum.
1258 * arm.c (arm_*_tune): Update.
1259 (arm_option_override): Update.
1261 2015-01-20 Richard Biener <rguenther@suse.de>
1264 * ipa-reference.c (add_static_var): Inline ...
1265 (analyze_function): ... here after splitting out from ...
1266 (is_proper_for_analysis): ... this.
1268 2015-01-20 Matthew Wahab <matthew.wahab@arm.com>
1271 * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
1272 * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
1273 replace the conditional with it's true branch.
1274 * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
1275 (arm_lra_p): Remove.
1277 2015-01-20 Eric Botcazou <ebotcazou@adacore.com>
1279 * config/visium/visium.h (LIB_SPEC): Adjust in default case.
1281 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1283 * config/tilegx/mul-tables.c: Move symtab.h include after
1284 coretypes.h include.
1285 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h,
1286 vec.h, machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h,
1287 flags.h, statistics.h, double-int.h, real.h, fixed-value.h, alias.h,
1288 wide-int.h, inchash.h, tree.h, insn-config.h, expmed.h, dojump.h,
1289 explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1291 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
1295 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
1297 PR rtl-optimization/64081
1298 * loop-iv.c (def_pred_latch_p): New function.
1299 (latch_dominating_def): Allow specific cases with non-single
1301 (iv_get_reaching_def): Likewise.
1302 (check_complex_exit_p): New function.
1303 (check_simple_exit): Use check_complex_exit_p to allow certain cases
1304 with exits not executing on any iteration.
1306 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1309 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
1312 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1315 * i386.c (gate): Check flag_expensive_optimizations and
1317 (ix86_option_override_internal): Drop optimize_size condition
1318 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
1319 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
1321 (ix86_avx256_split_vector_move_misalign,
1322 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
1323 * sse.md (all uses of TARGET_PREFER_AVX128): Add
1324 optimize_insn_for_speed_p check.
1326 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
1328 * config/mips/mips.h (FP_ASM_SPEC): New define.
1329 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
1332 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
1335 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
1336 nullptr for insn when reaching the first insn.
1337 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
1338 (sh_insn_operands_modified_between_p): Add nullptr check.
1339 (sh_find_extending_set_of_reg): Fix log message. Don't accept
1340 sign extending mem load if the insn contains any UNSPEC or
1343 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1345 * params.def (inline-unit-growth): Drop to 15%.
1346 * invoke.texi (inline-unit-growth): Document change.
1348 2015-01-19 Martin Liska <mliska@suse.cz>
1351 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
1352 function for second argument of OBJ_TYPE_REF.
1354 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1357 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
1358 whether function is an alias.
1360 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
1362 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
1365 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
1367 PR rtl-optimization/64671
1368 * lra-remat.c (operand_to_remat): Don't consider jump and call
1371 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
1373 * config/rs6000/default64.h: Include rs6000-cpus.def.
1374 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
1375 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
1376 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
1378 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
1380 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
1381 pseudo-op to specify assembler dialect.
1383 2015-01-19 Martin Liska <mliska@suse.cz>
1386 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
1387 Handle safe potentially removed nodes during filtering.
1389 2015-01-19 Martin Liska <mliska@suse.cz>
1391 * doc/extend.texi (no_icf): Add new attribute description.
1392 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
1393 where the pass attempts to merge a function with no_icf attribute.
1395 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1398 * doc/md.texi (ARM Options): Document register constraints.
1400 2015-01-19 Jiong Wang <jiong.wang@arm.com>
1401 Andrew Pinski <apinski@cavium.com>
1404 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
1405 (ashl<mode>3): Don't expand if operands[2] is not constant.
1407 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1410 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
1411 Match xor-and-xor RTL pattern.
1413 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
1415 PR rtl-optimization/64081
1416 * loop-iv.c (def_pred_latch_p): New function.
1417 (latch_dominating_def): Allow specific cases with non-single
1419 (iv_get_reaching_def): Likewise.
1420 (check_complex_exit_p): New function.
1421 (check_simple_exit): Use check_complex_exit_p to allow certain cases
1422 with exits not executing on any iteration.
1424 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1426 * common.opt (fgraphite): Fix a typo.
1428 2015-01-19 Felix Yang <felix.yang@huawei.com>
1430 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
1432 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
1433 uminp, smax_nanp, smin_nanp): New builtins.
1434 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
1435 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
1436 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
1437 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
1438 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
1439 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
1440 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
1441 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
1442 vpminnms_f32): Rewrite using builtin functions.
1444 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
1447 * omp-low.c (offload_symbol_decl): Remove variable.
1448 (get_offload_symbol_decl): Remove function.
1449 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
1450 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
1451 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
1452 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
1453 BUILT_IN_GOACC_UPDATE don't pass it at all.
1455 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
1457 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
1460 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
1462 * ipa-chkp.c (chkp_produce_thunks): Add early param
1463 to split thunks production into two passes. Keep
1464 'always_inline' function bodies after the first pass.
1465 (pass_data_ipa_chkp_early_produce_thunks): New.
1466 (pass_ipa_chkp_early_produce_thunks): New.
1467 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
1468 chkp_produce_thunks signature.
1469 (make_pass_ipa_chkp_early_produce_thunks): New.
1470 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
1471 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
1472 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
1474 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1476 * cgraph.c (cgraph_node::dump): Dump profile flags.
1478 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
1481 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
1482 reg appear first in the parallel.
1484 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1486 * ipa-reference.c (set_reference_optimization_summary,
1487 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
1489 (ignore_module_statics): New static var.
1490 (propagate_bits): If ipa-reference is disabled, do not look into local
1492 (analyze_function): Disable analysis when ipa_reference is disabled.
1493 (generate_summary): Do not dump when reference is disabled;
1494 collect vars accessed from functions with ipa-reference disabled.
1495 (get_read_write_all_from_node): When ipa-reference is disabled, use the
1497 (gate): Enable for LTO.
1498 (ignore_edge_p): New function.
1499 (propagate): Skip functions w/o ipa-reference analysis.
1500 * optc-save-gen.awk: Handle optimize_debug correctly.
1501 * opth-gen.awk: Likewise.
1502 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
1503 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
1504 fira-share-save-slots, fira-share-spill-slots,
1505 fmodulo-sched-allow-regmoves, fpartial-inlining,
1506 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
1507 ftracer, ftree-parallelize-loops, fassociative-math,
1508 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
1510 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
1511 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
1513 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
1516 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1519 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
1521 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
1523 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
1525 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
1526 Remove duplicate option listings.
1528 2015-01-18 Felix Yang <felix.yang@huawei.com>
1530 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
1531 (autofdo_source_profile::get_callsite_total_count,
1532 function_instance::get_function_instance_by_decl,
1533 string_table::get_index, string_table::get_index_by_decl,
1534 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
1535 Fix comment typos. Reformatting and minor code rearrangement.
1537 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1539 * config/rs6000/rs6000.md (probe_stack): Delete.
1540 (probe_stack_address): New.
1542 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1544 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
1545 to test for 32-bit ABIs, not !TARGET_POWERPC64.
1547 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1549 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
1550 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
1551 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
1553 (rs6000_libcall_value): Use the new function.
1555 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
1557 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
1559 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
1561 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
1562 implement a more precise life analysis for it during backward scan.
1564 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1566 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
1568 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
1570 PR rtl-optimization/52773
1571 * calls.c (emit_library_call_value): When pushing arguments use
1572 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
1573 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
1574 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
1576 2015-01-17 Jeff Law <law@redhat.com>
1578 PR rtl-optimization/32790
1579 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
1580 not ZERO_EXTEND in SET_DESTs.
1582 2015-01-17 Alan Modra <amodra@gmail.com>
1584 * cprop.c (do_local_cprop): Revert last change.
1586 2015-01-16 DJ Delorie <dj@redhat.com>
1587 Nick Clifton <nickc@redhat.com>
1589 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
1590 (addhi3_real): Likewise. Fix [HL+0] syntax.
1591 (subqi3_real): Likewise.
1592 (subhi3_real): Likewise.
1593 (cbranchqi4_real): Likewise. Allow saddr,#imm.
1594 (cbranchhi4_real): Likewise.
1595 (cbranchhi4_real_inverted): Likewise.
1596 (cbranchsi4_real_lt): Likewise.
1597 (cbranchsi4_real_ge): Likewise.
1598 (cbranchsi4_real_ge): Likewise.
1599 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
1600 (sub<mode>3_virt): Likewise.
1601 (cbranchqi4_virt): Likewise.
1602 (cbranchhi4_virt): Likewise.
1603 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
1604 always use '[reg+imm]' even when imm is zero.
1605 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
1606 (rl78_general_operand): New.
1607 (rl78_nonimmediate_operand): New.
1608 (rl78_nonfar_operand): Use them.
1609 (rl78_nonfar_nonimm_operand): Likewise.
1610 (rl78_stack_based_mem): Fix.
1611 * config/rl78/constraints.md (Ibqi): New.
1616 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
1619 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
1621 * config/rl78/constrains (Qs8): New constraint.
1622 * config/rl78/rl78.c (rl78_flags_already_set): New function.
1623 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
1624 * config/rl78/rl78-real.md (update_Z): New attribute.
1625 Update patterns to set it.
1626 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
1627 shorter compare and branch sequence can be used.
1628 (cbranchhi4_real): Likewise.
1629 (cbranchhi4_real_inverted): Likewise.
1631 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
1632 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
1634 * config/rl78/rl78.c (rl78_get_name_encoding): New.
1635 (rl78_option_override): Allow -mes0 only if C.
1636 (characterize_address): Support subregs of symbol_refs.
1637 (rl78_addr_space_address_mode): Move. Add __near.
1638 (rl78_far_p): Likewise.
1639 (rl78_addr_space_pointer_mode): Likewise.
1640 (rl78_as_legitimate_address): Likewise.
1641 (rl78_addr_space_subset_p): Likewise.
1642 (rl78_addr_space_convert): Likewise.
1643 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
1645 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
1647 (rl78_alloc_physical_registers_op1): Change logic to prefer
1648 symbol[BC] addressing.
1649 (frodata_section): New.
1650 (rl78_asm_init_sections): Initialize it.
1651 (rl78_select_section): Put __far readonly symbols in .frodata.
1652 (rl78_make_type_far): New.
1653 (rl78_insert_attributes): Force all readonly symbols to be
1655 (rl78_asm_out_integer): New.
1656 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
1657 * config/rl78/rl78.opt (-mes0): New.
1659 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
1660 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
1661 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
1662 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
1663 (rl78_saddr_p): New.
1664 (rl78_output_aligned_common): New.
1665 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
1666 (rl78_handle_saddr_attribute): New.
1667 (rl78_handle_naked_attribute): New.
1668 (rl78_attribute_table): Add saddr.
1669 (rl78_print_operand_1): Don't print '!' on saddr operands.
1670 (rl78_print_operand_1): Strip encodings.
1672 (rl78_strip_name_encoding): New.
1673 (rl78_attrlist_to_encoding): New.
1674 (rl78_encode_section_info): New.
1675 (rl78_asm_init_sections): New.
1676 (rl78_select_section): New.
1677 (rl78_output_labelref): New.
1678 (rl78_output_aligned_common): New.
1679 (rl78_asm_out_integer): New.
1680 (rl78_asm_ctor_dtor): New.
1681 (rl78_asm_constructor): New.
1682 (rl78_asm_destructor): New.
1684 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
1685 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
1686 (transcode_memory_rtx): Update.
1687 (rl78_expand_epilogue): Use A_REG instead of 0.
1689 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1691 * config/arm/arm-protos.h (struct tune_params): New field
1692 sched_autopref_queue_depth.
1693 * config/arm/arm.c (sched-int.h): Include header.
1694 (arm_first_cycle_multipass_dfa_lookahead_guard,)
1695 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
1696 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
1697 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
1698 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
1699 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
1700 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
1701 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
1702 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
1703 * config/arm/t-arm (arm.o): Update.
1704 * haifa-sched.c (update_insn_after_change): Update.
1705 (rank_for_schedule): Use auto-prefetcher model, if requested.
1706 (autopref_multipass_init): New static function.
1707 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
1708 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
1709 variable for debug dumps.
1710 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
1711 (autopref_multipass_dfa_lookahead_guard): New global function that
1712 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
1713 (init_h_i_d): Update.
1714 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
1715 * sched-int.h (enum autopref_multipass_data_status): New const enum.
1716 (autopref_multipass_data_): Structure for auto-prefetcher data.
1717 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
1718 (struct _haifa_insn_data:autopref_multipass_data): New field.
1719 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
1720 (autopref_multipass_dfa_lookahead_guard): Declare.
1722 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1724 * rtlanal.c (get_base_term): Handle SCRATCH.
1726 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1728 * config/aarch64/aarch64.c
1729 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
1730 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1732 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
1733 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1735 2015-01-17 Alan Modra <amodra@gmail.com>
1737 * cprop.c (do_local_cprop): Disallow replacement of fixed
1740 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1743 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
1746 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1748 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
1749 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
1751 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1753 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
1754 * config/arm/thumb1.md: ... Here.
1756 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1758 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
1759 TImode for TARGET_32BIT.
1761 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1763 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
1764 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
1766 (rs6000_abi_word_mode): New function.
1768 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1770 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
1771 instead of UNITS_PER_WORD to describe the size of stack slots.
1773 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1775 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
1776 as rs6000_promote_function_mode. Move comment to there.
1777 (rs6000_promote_function_mode): New function.
1779 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1781 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
1782 -mpowerpc64 is active.
1784 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
1787 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
1790 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
1792 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
1793 introduced in revision 219724.
1795 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1796 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1799 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
1800 destination is not a GP reg.
1801 (*movdi_aarch64): Likewise.
1803 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
1806 * config/rs6000/default64.h: Revert ISA change.
1808 2015-01-16 Richard Biener <rguenther@suse.de>
1811 * tree-ssa-uninit.c: Include tree-cfg.h.
1812 (MAX_SWITCH_CASES): New define.
1813 (convert_control_dep_chain_into_preds): Handle switch statements.
1814 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
1815 (normalize_one_pred_1): Do not split bit-manipulations.
1818 2015-01-16 Richard Biener <rguenther@suse.de>
1820 PR tree-optimization/64568
1821 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
1822 complex load rewriting for TARGET_MEM_REFs.
1824 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
1826 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
1828 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
1831 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
1833 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
1834 (aarch64_lra_p): Remove.
1836 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
1839 * ipa-chkp.h (chkp_instrumentable_p): New.
1840 * ipa-chkp.c: Include tree-inline.h.
1841 (chkp_instrumentable_p): New.
1842 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
1843 Fix processing of not instrumentable functions.
1844 (chkp_versioning): Use chkp_instrumentable_p. Warn about
1845 not instrumentable functions.
1846 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
1847 chkp_instrumentable_p.
1848 * tree-inline.h (copy_forbidden): New.
1849 * tree-inline.c (copy_forbidden): Not static anymore.
1851 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1853 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
1856 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
1858 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
1859 type OP_OUT to OP_INOUT.
1861 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
1863 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
1864 (high x) y) to y if x and y have the same base.
1866 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
1868 * config/arm/cortex-a57.md: New.
1869 * config/aarch64/aarch64.md: Include it.
1870 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
1871 * config/aarch64/aarch64-tune.md: Regenerate.
1873 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
1876 * ccmp.c (expand_ccmp_next): New function.
1877 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
1878 and compare insn sequence.
1879 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
1880 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
1881 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
1882 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
1883 (*ccmp_ior): Changed to ccmp_ior<mode>.
1884 (cmp<mode>): New pattern.
1885 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
1887 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
1889 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
1891 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
1892 _mm256_bsrli_epi128): New.
1893 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
1895 2015-01-15 Jiong Wang <jiong.wang@arm.com>
1897 * expmed.c (store_bit_field_using_insv): Improve warning message.
1898 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
1900 2015-01-15 Jiong Wang <jiong.wang@arm.com>
1902 PR rtl-optimization/64011
1903 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
1904 there is partial overflow.
1906 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1908 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
1910 (nds32_expand_epilogue_v3pop): Likewise.
1911 * config/nds32/nds32.md (sibcall): Define this for sibling call
1913 (sibcall_register): Likewise.
1914 (sibcall_immediate): Likewise.
1915 (sibcall_value): Likewise.
1916 (sibcall_value_register): Likewise.
1917 (sibcall_value_immediate): Likewise.
1918 (sibcall_epilogue): Likewise.
1919 (epilogue): Pass false to indicate this is not a sibcall epilogue.
1920 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
1921 (nds32_expand_epilogue_v3pop): Likewise.
1923 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1925 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
1926 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
1927 (return_internal): New.
1928 (return): Define this named pattern.
1929 (simple_return): Define this named pattern.
1930 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
1931 pattern instead of unspec_volatile_func_return.
1932 (nds32_expand_epilogue_v3pop): Likewise.
1933 (nds32_can_use_return_insn): New function.
1935 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1937 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
1938 * config/nds32/nds32.md (pop25return): New.
1939 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
1940 pop25return pattern.
1942 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1944 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
1945 -mforbid-fp-as-gp, and -mex9 options.
1947 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1949 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
1950 remove -mgp-direct option.
1952 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1954 * doc/invoke.texi (--param early-inlining-insns): Update default value.
1955 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
1957 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1959 * ipa-inline.c (inline_small_functions): Work around hints
1962 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
1965 * doc/invoke.texi (Option Summary): Document new Nios II
1967 (Nios II Options): Likewise.
1968 * config/nios2/nios2.opt: Add -mgpopt= option support.
1969 Modify existing -mgpopt and -mno-gpopt options to be aliases.
1970 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
1971 * config/nios2/nios2.c (nios2_option_override): Adjust
1973 (nios2_in_small_data_p): Return true for explicit small data
1974 sections even with -G0.
1975 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
1978 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1981 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
1983 (inline_call): Fix removal of aliases.
1985 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1987 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
1988 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
1989 * opts.c (common_handle_option): Add -fsanitize=vptr.
1990 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
1991 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
1992 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
1993 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
1994 (ubsan_expand_vptr_ifn): New prototype.
1995 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
1996 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
1997 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
1998 expand_LOOP_VECTORIZED): Make argument nameless, remove
2000 (expand_UBSAN_VPTR): New function.
2001 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
2003 (UBSAN_VPTR): New internal function.
2004 * sanopt.c (tree_map_traits): Renamed to ...
2005 (sanopt_tree_map_traits): ... this.
2006 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
2007 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
2008 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
2009 (maybe_optimize_ubsan_vptr_ifn): New function.
2010 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
2011 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
2013 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
2014 internal calls like pure functions for aliasing, even when they
2015 have other side-effects that prevent making them ECF_PURE.
2016 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
2017 (ubsan_expand_vptr_ifn): New function.
2019 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
2021 PR rtl-optimization/64110
2022 * stmt.c (parse_output_constraint): Process '^' and '$'.
2023 (parse_input_constraint): Ditto.
2024 * lra-constraints.c (process_alt_operands): Process the new
2026 * ira-costs.c (record_reg_classes): Process the new constraint
2028 * genoutput.c (indep_constraints): Add '^' and '$'.
2029 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
2030 * doc/md.texi: Add description of the new constraints.
2032 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
2033 Bernd Schmidt <bernds@codesourcery.com>
2034 Cesar Philippidis <cesar@codesourcery.com>
2035 James Norris <jnorris@codesourcery.com>
2036 Tom de Vries <tom@codesourcery.com>
2037 Ilmir Usmanov <i.usmanov@samsung.com>
2038 Dmitry Bocharnikov <dmitry.b@samsung.com>
2039 Evgeny Gavrin <e.gavrin@samsung.com>
2040 Jakub Jelinek <jakub@redhat.com>
2042 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
2043 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
2044 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
2046 * builtins.c: Include "gomp-constants.h".
2047 (expand_builtin_acc_on_device): New function.
2048 (expand_builtin, is_inexpensive_builtin): Handle
2049 BUILT_IN_ACC_ON_DEVICE.
2050 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
2052 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
2054 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
2055 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
2056 i386/intelmic-offload.h.
2057 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
2058 to libgomp and its dependencies.
2059 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
2060 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
2061 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
2062 * config/ia64/hpux.h (LIB_SPEC): Likewise.
2063 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
2064 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
2065 * doc/generic.texi: Update for OpenACC changes.
2066 * doc/gimple.texi: Likewise.
2067 * doc/invoke.texi: Likewise.
2068 * doc/sourcebuild.texi: Likewise.
2069 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
2070 GF_OMP_FOR_KIND_OACC_LOOP.
2071 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
2072 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
2073 GF_OMP_TARGET_KIND_OACC_UPDATE,
2074 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
2076 * gimple.c: Update comments for OpenACC changes.
2077 * gimple.def: Likewise.
2078 * gimple.h: Likewise.
2079 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
2080 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
2081 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
2082 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
2083 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
2085 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
2086 * gimplify.c: Include "gomp-constants.h".
2087 Update comments for OpenACC changes.
2088 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
2089 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
2090 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
2091 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
2092 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
2093 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
2094 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
2095 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
2096 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
2098 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
2099 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
2100 OMP_CLAUSE_SET_MAP_KIND.
2101 (gimplify_oacc_cache): New function.
2102 (gimplify_omp_for): Handle OACC_LOOP.
2103 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
2105 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
2106 OACC_EXIT_DATA, OACC_UPDATE.
2107 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
2108 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
2109 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
2110 (gimplify_body): Consider flag_openacc next to flag_openmp.
2111 * lto-streamer-out.c: Include "gomp-constants.h".
2112 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
2113 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
2114 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
2115 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
2116 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
2117 (BUILT_IN_ACC_ON_DEVICE): New builtins.
2118 * omp-low.c: Include "gomp-constants.h".
2119 Update comments for OpenACC changes.
2120 (struct omp_context): Add reduction_map, gwv_below, gwv_this
2122 (extract_omp_for_data, use_pointer_for_field, install_var_field)
2123 (new_omp_context, delete_omp_context, scan_sharing_clauses)
2124 (create_omp_child_function, scan_omp_for, scan_omp_target)
2125 (check_omp_nesting_restrictions, lower_reduction_clauses)
2126 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
2127 Update for OpenACC changes.
2128 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
2129 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
2130 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
2131 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
2132 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
2133 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
2135 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
2136 Handle GF_OMP_FOR_KIND_OACC_LOOP.
2137 (expand_omp_target, lower_omp_target): Handle
2138 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
2139 GF_OMP_TARGET_KIND_OACC_UPDATE,
2140 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
2141 GF_OMP_TARGET_KIND_OACC_DATA.
2142 (pass_expand_omp::execute, execute_lower_omp)
2143 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
2145 (offload_symbol_decl): New variable.
2146 (oacc_get_reduction_array_id, oacc_max_threads)
2147 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
2148 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
2149 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
2150 (oacc_gimple_assign, oacc_initialize_reduction_data)
2151 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
2153 (is_targetreg_ctx): Remove function.
2154 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
2155 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
2156 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
2157 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
2158 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
2159 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
2160 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
2161 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
2162 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
2163 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
2164 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
2165 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
2166 * tree-core.h: Update comments for OpenACC changes.
2167 (enum omp_clause_map_kind): Remove.
2168 (struct tree_omp_clause): Change type of map_kind member from enum
2169 omp_clause_map_kind to unsigned char.
2170 * tree-inline.c: Update comments for OpenACC changes.
2171 * tree-nested.c: Likewise. Include "gomp-constants.h".
2172 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
2173 (convert_tramp_reference_stmt, convert_gimple_call): Update for
2174 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
2175 OMP_CLAUSE_SET_MAP_KIND.
2176 * tree-pretty-print.c: Include "gomp-constants.h".
2177 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
2178 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
2179 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
2180 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
2181 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
2182 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
2183 instead of OMP_CLAUSE_MAP_*.
2184 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
2185 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
2186 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
2187 * tree-streamer-in.c: Include "gomp-constants.h".
2188 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
2189 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
2190 * tree-streamer-out.c: Include "gomp-constants.h".
2191 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
2193 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
2194 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
2195 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
2196 * tree.c (omp_clause_num_ops): Update accordingly.
2197 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
2199 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
2200 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
2201 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
2202 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
2203 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
2204 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
2205 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
2206 (OMP_CLAUSE_SET_MAP_KIND): New macro.
2207 * varpool.c (varpool_node::get_create): Consider flag_openacc next
2209 * config/i386/intelmic-offload.h: New file.
2210 * config/nvptx/offload.h: Likewise.
2212 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2214 * explow.h: Remove duplicate contents.
2215 * dojump.h: Likewise.
2217 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
2219 * arm.c (arm_xgene_tune): Add default initializer for instruction
2222 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
2226 * ipa.c (symbol_table::remove_unreachable_nodes):
2227 Do not put abstract origins into boundary.
2229 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
2231 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
2232 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
2234 2015-01-15 Steve Ellcey <sellcey@mips.com>
2236 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
2237 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
2238 builtins.def, and chkp-builtins.def.
2240 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
2242 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
2245 2015-01-15 Richard Biener <rguenther@suse.de>
2247 PR tree-optimization/61743
2248 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
2249 information on PHIs for some simple cases.
2251 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2253 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
2255 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
2256 * config/arm/arm-cores.def (xgene1): New entry.
2257 * config/arm/arm-tables.opt: Regenerate.
2258 * config/arm/arm-tune.md: Regenerate.
2259 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
2261 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
2263 * tree-if-conv.c: Include hash-map.h.
2264 (aggressive_if_conv): New variable.
2265 (fold_build_cond_expr): Add simplification of non-zero condition.
2266 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
2267 destination block is not always executed.
2268 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
2269 than two predecessors if AGGRESSIVE_IF_CONV is true.
2270 (if_convertible_stmt_p): Fix commentary.
2271 (all_preds_critical_p): New function.
2272 (has_pred_critical_p): New function.
2273 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
2274 BB can have more than two predecessors and all incoming edges can be
2276 (predicate_bbs): Skip predication for loop exit block, use build2_loc
2277 to compute predicate for true edge.
2278 (find_phi_replacement_condition): Delete this function.
2279 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
2280 Allow interchange PHI arguments if EXTENDED is false.
2281 Change check that block containing reduction statement candidate
2282 is predecessor of phi-block since phi may have more than two arguments.
2283 (phi_args_hash_traits): New helper structure.
2284 (struct phi_args_hash_traits): New type.
2285 (phi_args_hash_traits::hash): New function.
2286 (phi_args_hash_traits::equal_keys): New function.
2287 (gen_phi_arg_condition): New function.
2288 (predicate_scalar_phi): Add handling of phi nodes with more than two
2289 arguments, delete COND and TRUE_BB arguments, insert body of
2290 find_phi_replacement_condition to predicate ordinary phi nodes.
2291 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
2292 delete call of find_phi_replacement_condition and invoke
2293 predicate_scalar_phi with two arguments.
2294 (insert_gimplified_predicates): Add assert that non-predicated block
2295 don't have statements to insert.
2296 (ifcvt_split_critical_edges): New function.
2297 (ifcvt_split_def_stmt): Likewise.
2298 (ifcvt_walk_pattern_tree): Likewise.
2299 (stmt_is_root_of_bool_pattern): Likewise.
2300 (ifcvt_repair_bool_pattern): Likewise.
2301 (ifcvt_local_dce): Likewise.
2302 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
2303 is copy of inner or outer loop force_vectorize field, invoke
2304 ifcvt_split_critical_edges, ifcvt_local_dce and
2305 ifcvt_repair_bool_pattern for aggressive if-conversion.
2307 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
2309 * config/aarch64/aarch64.md: Include xgene1.md.
2310 * config/aarch64/xgene1.md: New file.
2312 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2314 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
2315 xgene1 (APM XGene-1) core definition.
2316 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
2317 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
2318 * doc/invoke.texi: Document -mcpu=xgene1.
2320 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2322 * dojump.h: New header file.
2323 * explow.h: Likewise.
2324 * expr.h: Remove includes.
2325 Move expmed.c prototypes to expmed.h.
2326 Move dojump.c prototypes to dojump.h.
2327 Move alias.c prototypes to alias.h.
2328 Move explow.c prototypes to explow.h.
2329 Move calls.c prototypes to calls.h.
2330 Move emit-rtl.c prototypes to emit-rtl.h.
2331 Move varasm.c prototypes to varasm.h.
2332 Move stmt.c prototypes to stmt.h.
2333 (saved_pending_stack_adjust): Move to dojump.h.
2334 (adjust_address): Move to explow.h.
2335 (adjust_address_nv): Move to emit-rtl.h.
2336 (adjust_bitfield_address): Likewise.
2337 (adjust_bitfield_address_size): Likewise.
2338 (adjust_bitfield_address_nv): Likewise.
2339 (adjust_automodify_address_nv): Likewise.
2340 * explow.c (expr_size): Move to expr.c.
2341 (int_expr_size): Likewise.
2342 (tree_expr_size): Likewise.
2343 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2344 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2345 * genemit.c (main): Generate includes statistics.h, real.h,
2346 fixed-value.h, insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
2348 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h,
2349 function.h, statistics.h, real.h, fixed-value.h, expmed.h, dojump.h,
2350 explow.h, emit-rtl.h, stmt.h.
2351 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
2352 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
2353 * genemit.c (open_base_files): Generate includes flags.h, statistics.h,
2354 real.h, fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h,
2355 emit-rtl.h, varasm.h, stmt.h.
2356 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h,
2357 hash-set.h, vec.h, machmode.h, tm.h, hard-reg-set.h, input.h,
2358 function.h, rtl.h, flags.h, statistics.h, double-int.h, real.h,
2359 fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h, insn-config.h,
2360 expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
2361 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
2362 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
2363 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
2364 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
2365 tm.h tree.h varasm.h vec.h wide-int.h.
2366 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2367 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2368 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
2369 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
2370 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h
2371 emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h
2372 insn-config.h real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
2373 * loop-iv.c: Likewise.
2374 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h
2375 emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h real.h
2376 statistics.h stmt.h tree.h varasm.h wide-int.h.
2377 * lra-constraints.c: Likewise.
2378 * lra-eliminations.c: Likewise.
2379 * lra-lives.c: Likewise.
2380 * lra-remat.c: Likewise.
2381 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2382 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
2383 statistics.h stmt.h tree.h varasm.h wide-int.h.
2384 * hw-doloop.c: Likewise.
2385 * ira-color.c: Likewise.
2386 * ira-emit.c: Likewise.
2387 * loop-doloop.c: Likewise.
2388 * loop-invariant.c: Likewise.
2389 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2390 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
2391 statistics.h stmt.h tree.h varasm.h wide-int.h.
2392 * caller-save.c: Include alias.h calls.h dojump.h double-int.h
2393 emit-rtl.h explow.h expmed.h fixed-value.h inchash.h real.h
2394 statistics.h stmt.h tree.h varasm.h wide-int.h.
2395 * combine-stack-adj.c: Likewise.
2398 * ifcvt.c: Likewise.
2399 * ira-costs.c: Likewise.
2401 * lra-coalesce.c: Likewise.
2402 * lra-spills.c: Likewise.
2403 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2404 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
2405 stmt.h varasm.h wide-int.h.
2406 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2407 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2409 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
2410 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
2411 statistics.h stmt.h varasm.h wide-int.h.
2412 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
2413 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
2414 varasm.h wide-int.h.
2415 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
2416 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2417 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
2418 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
2419 statistics.h stmt.h.
2420 * config/tilepro/tilepro.c: Likewise.
2421 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
2422 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
2423 * config/pdp11/pdp11.c: Likewise.
2424 * config/xtensa/xtensa.c: Likewise.
2425 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
2426 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2428 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2429 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2430 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
2431 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2432 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2433 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
2434 * rtl-chkp.c: Likewise.
2435 * tree-chkp-opt.c: Likewise.
2436 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h
2437 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2438 hashtab.h insn-config.h real.h statistics.h stmt.h varasm.h.
2439 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2440 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2441 statistics.h stmt.h.
2442 * tree-vect-data-refs.c: Likewise.
2443 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
2444 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2445 rtl.h statistics.h stmt.h varasm.h.
2446 * internal-fn.c: Likewise.
2447 * ipa-icf-gimple.c: Likewise.
2448 * lto-section-out.c: Likewise.
2449 * tree-data-ref.c: Likewise.
2450 * tree-nested.c: Likewise.
2451 * tree-outof-ssa.c: Likewise.
2452 * tree-predcom.c: Likewise.
2453 * tree-pretty-print.c: Likewise.
2454 * tree-scalar-evolution.c: Likewise.
2455 * tree-ssa-strlen.c: Likewise.
2456 * tree-vect-loop.c: Likewise.
2457 * tree-vect-patterns.c: Likewise.
2458 * tree-vect-slp.c: Likewise.
2459 * tree-vect-stmts.c: Likewise.
2461 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2462 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
2464 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
2465 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2466 statistics.h stmt.h varasm.h.
2467 * loop-unroll.c: Likewise.
2468 * ubsan.c: Likewise.
2469 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
2470 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
2472 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2473 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
2474 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
2475 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2476 statistics.h stmt.h.
2477 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
2478 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2479 statistics.h stmt.h varasm.h.
2480 * gimple-match-head.c: Likewise.
2481 * lto-cgraph.c: Likewise.
2482 * lto-section-in.c: Likewise.
2483 * lto-streamer-in.c: Likewise.
2484 * lto-streamer-out.c: Likewise.
2485 * tree-affine.c: Likewise.
2486 * tree-cfg.c: Likewise.
2487 * tree-cfgcleanup.c: Likewise.
2488 * tree-if-conv.c: Likewise.
2489 * tree-into-ssa.c: Likewise.
2490 * tree-ssa-alias.c: Likewise.
2491 * tree-ssa-copyrename.c: Likewise.
2492 * tree-ssa-dse.c: Likewise.
2493 * tree-ssa-forwprop.c: Likewise.
2494 * tree-ssa-live.c: Likewise.
2495 * tree-ssa-math-opts.c: Likewise.
2496 * tree-ssa-pre.c: Likewise.
2497 * tree-ssa-sccvn.c: Likewise.
2498 * tree-tailcall.c: Likewise.
2499 * tree-vect-generic.c: Likewise.
2500 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2501 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
2502 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2503 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
2504 * varasm.c: Likewise.
2505 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2506 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
2508 * init-regs.c: Likewise.
2510 * omp-low.c: Likewise.
2511 * stack-ptr-mod.c: Likewise.
2512 * tree-ssa-reassoc.c: Likewise.
2513 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2514 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
2516 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2517 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
2518 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2519 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
2520 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2521 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
2522 * tree-ssa-phiopt.c: Likewise.
2523 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2524 fixed-value.h hashtab.h real.h statistics.h stmt.h.
2525 * config/fr30/fr30.c: Likewise.
2526 * config/frv/frv.c: Likewise.
2528 * final.c: Likewise.
2529 * optabs.c: Likewise.
2530 * passes.c: Likewise.
2531 * simplify-rtx.c: Likewise.
2533 * toplev.c: Likewise.
2534 * var-tracking.c: Likewise.
2535 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2536 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2537 * lower-subreg.c: Likewise.
2538 * postreload-gcse.c: Likewise.
2540 * reginfo.c: Likewise.
2541 * store-motion.c: Likewise.
2542 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2543 fixed-value.h hashtab.h real.h stmt.h varasm.h.
2544 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2545 fixed-value.h hashtab.h statistics.h stmt.h.
2546 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2547 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2548 * except.c: Likewise.
2549 * explow.c: Likewise.
2550 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2551 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
2553 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2554 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
2555 * tree-ssa-structalias.c: Likewise.
2556 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2557 fixed-value.h insn-config.h real.h statistics.h.
2558 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2559 fixed-value.h insn-config.h real.h statistics.h stmt.h.
2560 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2561 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2562 * cfgbuild.c: Likewise.
2563 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2564 fixed-value.h real.h rtl.h statistics.h stmt.h.
2565 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2566 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2567 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2568 fixed-value.h real.h statistics.h stmt.h.
2569 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2570 fixed-value.h real.h statistics.h stmt.h varasm.h.
2571 * cprop.c: Likewise.
2572 * modulo-sched.c: Likewise.
2573 * postreload.c: Likewise.
2574 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2575 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
2576 statistics.h stmt.h varasm.h.
2577 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
2578 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2579 rtl.h statistics.h stmt.h varasm.h.
2580 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
2581 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
2583 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2584 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
2586 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
2587 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
2589 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
2590 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2591 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2592 function.h real.h statistics.h stmt.h varasm.h.
2593 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2594 insn-config.h real.h statistics.h stmt.h.
2595 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2596 statistics.h stmt.h.
2597 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
2598 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
2599 statistics.h stmt.h varasm.h.
2600 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h
2601 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
2602 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2603 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
2604 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
2605 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2606 statistics.h stmt.h varasm.h.
2607 * ipa-polymorphic-call.c: Likewise.
2608 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h
2609 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2610 statistics.h stmt.h.
2611 * config/c6x/c6x.c: Likewise.
2612 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h
2613 explow.h expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2614 statistics.h stmt.h varasm.h.
2615 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h
2616 fixed-value.h hashtab.h insn-config.h real.h rtl.h statistics.h
2618 * ipa-split.c: Likewise.
2619 * tree-eh.c: Likewise.
2620 * tree-ssa-dce.c: Likewise.
2621 * tree-ssa-loop-niter.c: Likewise.
2622 * tree-vrp.c: Likewise.
2623 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
2624 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
2626 * config/nds32/nds32-fp-as-gp.c: Likewise.
2627 * config/nds32/nds32-intrinsic.c: Likewise.
2628 * config/nds32/nds32-isr.c: Likewise.
2629 * config/nds32/nds32-md-auxiliary.c: Likewise.
2630 * config/nds32/nds32-memory-manipulation.c: Likewise.
2631 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
2632 * config/nds32/nds32-predicates.c: Likewise.
2633 * config/nds32/nds32.c: Likewise.
2634 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
2635 fixed-value.h hashtab.h real.h statistics.h.
2636 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
2637 fixed-value.h hashtab.h real.h statistics.h stmt.h.
2638 * config/arm/arm.c: Likewise.
2639 * config/avr/avr.c: Likewise.
2640 * config/bfin/bfin.c: Likewise.
2641 * config/h8300/h8300.c: Likewise.
2642 * config/i386/i386.c: Likewise.
2643 * config/ia64/ia64.c: Likewise.
2644 * config/iq2000/iq2000.c: Likewise.
2645 * config/m32c/m32c.c: Likewise.
2646 * config/m32r/m32r.c: Likewise.
2647 * config/m68k/m68k.c: Likewise.
2648 * config/mcore/mcore.c: Likewise.
2649 * config/mep/mep.c: Likewise.
2650 * config/mips/mips.c: Likewise.
2651 * config/mn10300/mn10300.c: Likewise.
2652 * config/moxie/moxie.c: Likewise.
2653 * config/pa/pa.c: Likewise.
2654 * config/rl78/rl78.c: Likewise.
2655 * config/rx/rx.c: Likewise.
2656 * config/s390/s390.c: Likewise.
2657 * config/sh/sh.c: Likewise.
2658 * config/sparc/sparc.c: Likewise.
2659 * config/spu/spu.c: Likewise.
2660 * config/stormy16/stormy16.c: Likewise.
2661 * config/v850/v850.c: Likewise.
2662 * config/vax/vax.c: Likewise.
2663 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
2664 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2665 * config/msp430/msp430.c: Likewise.
2666 * predict.c: Likewise.
2667 * value-prof.c: Likewise.
2668 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
2669 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
2670 * config/microblaze/microblaze.c: Likewise.
2671 * config/nios2/nios2.c: Likewise.
2672 * config/rs6000/rs6000.c: Likewise.
2673 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2674 insn-config.h real.h rtl.h statistics.h stmt.h.
2675 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2676 insn-config.h real.h statistics.h stmt.h.
2677 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
2678 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2679 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
2680 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2681 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h
2682 fixed-value.h real.h statistics.h stmt.h.
2683 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
2684 fixed-value.h statistics.h stmt.h.
2685 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
2688 2015-01-15 Jakub Jelinek <jakub@redhat.com>
2690 * gengtype.c (create_user_defined_type): Workaround
2691 -Wmaybe-uninitialized false positives.
2692 * cse.c (fold_rtx): Likewise.
2693 * loop-invariant.c (gain_for_invariant): Likewise.
2695 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
2697 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
2698 set the memory attributes in all cases but clear MEM_EXPR if need be.
2700 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
2702 PR tree-optimization/64434
2703 * cfgexpand.c (reorder_operands): New function.
2704 (expand_gimple_basic_block): Insert call of reorder_operands if
2707 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
2709 * config/mips/micromips.md (*swp): Remove explicit parallel.
2710 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
2711 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
2712 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
2713 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
2714 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
2715 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
2716 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
2717 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
2718 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
2719 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
2720 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
2721 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
2722 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
2723 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
2724 (mips_wrdsp): Likewise.
2725 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
2727 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
2728 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
2729 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
2730 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
2731 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
2732 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
2733 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
2734 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
2735 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
2737 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2739 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
2740 (mips_print_operand): Support 'y' to print exact log2 in decimal
2742 * config/mips/mips.h (ISA_HAS_LSA): New define.
2743 (ISA_HAS_DLSA): Likewise.
2744 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
2745 * config/mips/predicates.md (const_immlsa_operand): New predicate.
2747 2015-01-15 Martin Liska <mliska@suse.cz>
2750 * optc-save-gen.awk: Add support for array types.
2752 2015-01-15 Richard Biener <rguenther@suse.de>
2755 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
2756 for MEM_REF access functions with the same base can never partially
2759 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
2761 * common.opt: New option -fstack-protector-explicit.
2762 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
2763 (stack_protect_decl_phase): Handle stack_protect attribute for
2764 explicit stack protection requests.
2765 (expand_used_vars): Similarly.
2766 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
2767 * doc/extend.texi: Add documentation for "stack_protect" attribute.
2768 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
2770 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
2773 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
2775 (sh_extending_set_of_reg): New struct.
2776 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
2777 sh_remove_reg_dead_or_unused_notes): New Declarations.
2778 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
2779 sh_find_extending_set_of_reg, sh_split_tst_subregs,
2780 sh_extending_set_of_reg::use_as_extended_reg): New functions.
2781 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
2782 convert to insn_and_split and use new function sh_split_tst_subregs.
2784 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
2786 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
2788 (Optimization Options): Move -fuse-ld documentation to...
2789 (Link Options): ...here.
2791 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2793 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
2795 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
2796 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
2797 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
2798 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
2799 instead of ZR for the memory operand of LL/SC.
2800 (compare_and_swap_12, sync_add<mode>): Likewise.
2801 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
2802 (sync_new_<optab>_12, sync_nand_12): Likewise.
2803 (sync_old_nand_12, sync_new_nand_12): Likewise.
2804 (sync_sub<mode>, sync_old_add<mode>): Likewise.
2805 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
2806 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
2807 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
2808 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
2809 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
2810 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
2811 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
2812 * doc/md.texi (ZC): Update description.
2814 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
2816 * builtins.c (expand_builtin_atomic_exchange): Remove error when
2817 memory model is CONSUME.
2818 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
2819 expand_builtin_atomic_store): Change invalid memory model errors to
2821 (expand_builtin_atomic_clear): Change invalid model errors to warnings
2822 and issue warning for CONSUME.
2824 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
2826 * lto-cgraph: Update function comments for
2827 lto_symtab_encoder_encode_*.
2829 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
2831 * Makefile.in (site.exp): Do not set ENABLE_LTO.
2833 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
2835 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
2836 * lto-cgraph.c (select_what_to_stream): Remove argument, use
2837 lto_stream_offload_p instead.
2838 * lto-streamer.h (select_what_to_stream): Remove argument.
2839 * passes.c (ipa_write_summaries): Likewise.
2840 * tree-pass.h (ipa_write_summaries): Likewise.
2842 2015-01-14 Richard Biener <rguenther@suse.de>
2844 PR tree-optimization/59354
2845 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
2846 groups larger than the slp group size as having gaps.
2848 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
2851 * builtins.c (get_memmodel): Promote consume to acquire always.
2853 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2856 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
2859 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2862 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
2864 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
2865 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
2866 AVX512VBMI, as it implies AVX512BW.
2868 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2871 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
2872 (vec_unpacks_hi_v16sf): Ditto.
2874 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2876 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
2879 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2881 * doc/invoke.texi (mapcs): Mention deprecation.
2882 (mapcs-frame): Likewise.
2884 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2887 * config/arm/arm.c (callee_saved_reg_p): Define.
2888 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
2889 register is callee saved instead of !call_used_regs[reg].
2890 (thumb1_compute_save_reg_mask): Likewise.
2892 2015-01-14 Hale Wang <hale.wang@arm.com>
2894 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
2897 2015-01-14 Richard Biener <rguenther@suse.de>
2900 * tree-inline.c (insert_debug_decl_map): Check destination
2901 function MAY_HAVE_DEBUG_STMTS.
2902 (insert_init_debug_bind): Likewise.
2903 (insert_init_stmt): Remove redundant check.
2904 (remap_gimple_stmt): Drop debug stmts if the destination
2905 function has var-tracking assignments disabled.
2907 2015-01-14 Martin Liska <mliska@suse.cz>
2909 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
2910 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
2912 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2915 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
2916 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
2918 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2920 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
2921 level from an ARCH; do not inject the default.
2922 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
2923 MIPS_ISA_LEVEL_SPEC.
2924 (MIPS_ISA_NAN2008_SPEC): Update comment.
2925 (BASE_DRIVER_SELF_SPECS): Likewise.
2926 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
2927 MIPS_DEFAULT_ISA_LEVEL_SPEC.
2928 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
2929 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
2930 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
2932 2015-01-14 Richard Biener <rguenther@suse.de>
2934 PR tree-optimization/64493
2935 PR tree-optimization/64495
2936 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
2937 assign the proper vectorized PHI to the inner loop exit PHIs.
2939 2015-01-14 Joey Ye <joey.ye@arm.com>
2941 * config/arm/arm.c (arm_compute_save_reg_mask):
2942 Do not save lr in case of tail call.
2943 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
2945 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
2947 * tree-vrp.c (check_array_ref): Emit more warnings
2948 for warn_array_bounds >= 2.
2949 * common.opt: New option -Warray-bounds=.
2950 * doc/invoke.texi: Document -Warray-bounds=.
2952 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
2954 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
2955 (mforbid-fp-as-gp): Remove.
2957 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
2958 (nds32_symbol_load_store_p): Remove.
2959 (nds32_fp_as_gp_check_available): Clean up implementation.
2960 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
2962 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
2963 fp-as-gp and ex9 cases.
2965 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2967 * tree-profile.c (init_ic_make_global_vars): Drop workaround
2968 for bintuils bug 14342.
2969 (init_ic_make_global_vars): Likewise.
2970 (gimple_init_edge_profiler): Likewise.
2971 (gimple_gen_ic_func_profiler): Likewise.
2973 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2975 * ipa-inline.c (inline_small_functions): Swap the operands in
2978 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2981 * ipa-inline-analysis.c (node_growth_cache): Remove.
2982 (initialize_growth_caches): Do not initialize it.
2983 (free_growth_caches): Do not free it.
2984 (do_estimate_growth): Rename to ...
2985 (estimate_growth): ... this one; drop growth cache code.
2986 (growth_likely_positive): Always go the heuristics way.
2987 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
2988 (reset_edge_caches): Do not reset node growth.
2989 (heap_edge_removal_hook): Do not maintain cache.
2990 (inline_small_functions): Likewise; strenghten sanity check.
2991 (ipa_inline): Do not maintain caches.
2992 * ipa-inline.h (node_growth_cache): Remove.
2993 (do_estimate_growth): Remove to ...
2994 (estimate_growth): this one; remove inline version.
2995 (reset_node_growth_cache): Remove.
2997 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
3000 * ipa-inline.c (inline_small_functions): Update callee keys after
3001 resolving speculation
3002 (inline_small_functions): Always check monotonicity of the queue.
3004 2015-01-13 Marek Polacek <polacek@redhat.com>
3007 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
3009 2015-01-13 Jakub Jelinek <jakub@redhat.com>
3011 PR rtl-optimization/64286
3012 * ree.c (combine_reaching_defs): Move part of comment earlier,
3013 remove !SCALAR_INT_MODE_P check.
3014 (add_removable_extension): Don't add vector mode
3015 extensions if all uses of the source register aren't the same
3018 2015-01-13 Renlin Li <renlin.li@arm.com>
3020 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
3021 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
3023 2015-01-13 Martin Liska <mliska@suse.cz>
3025 * ipa-icf.c (sem_function::equals_private): Call new functions
3026 cl_target_option_print_diff and cl_optimization_print_diff.
3027 * optc-save-gen.awk (cl_target_option_print_diff): New function.
3028 (cl_optimization_print_diff): Likewise.
3029 * opth-gen.awk: Likewise.
3031 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
3033 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
3034 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
3035 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
3036 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
3037 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
3038 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
3040 2015-01-13 Andrew Pinski <apinski@cavium.com>
3042 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
3043 instead of src mode.
3045 2015-01-13 Richard Biener <rguenther@suse.de>
3048 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
3051 2015-01-13 Andrew Pinski <apinski@cavium.com>
3053 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
3055 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
3057 2015-01-13 Jakub Jelinek <jakub@redhat.com>
3060 * cfgexpand.c (expand_computed_goto): Don't call
3061 convert_memory_address here.
3063 2015-01-13 Richard Biener <rguenther@suse.de>
3065 PR tree-optimization/64406
3066 * tree-loop-distibution.c (pass_loop_distribution::execute):
3067 Reset the SCEV hashtable if we distributed anything.
3069 2015-01-13 Richard Biener <rguenther@suse.de>
3071 PR tree-optimization/64404
3072 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
3073 SLP types for CSEd loads.
3075 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3077 PR tree-optimization/64436
3078 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
3079 merge of two symbolic numbers for a bitwise OR to ...
3080 (perform_symbolic_merge): This. Also fix computation of the range and
3081 end of the symbolic number corresponding to the result of a bitwise OR.
3083 2015-01-13 Richard Biener <rguenther@suse.de>
3085 PR tree-optimization/64568
3086 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
3087 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
3089 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3091 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
3092 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
3094 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3096 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
3097 target-specific symbol_ref flag.
3098 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
3099 resides in rodata section.
3100 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
3101 (nds32_encode_section_info): New function.
3103 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3105 * config/nds32/nds32.md (call): Use pseudo instruction bal which
3106 clobbers TA_REGNUM if large code model is specified.
3107 (call_register): Likewise.
3108 (call_immediate): Likewise.
3109 (call_value): Likewise.
3110 (call_value_register): Likewise.
3111 (call_value_immediate): Likewise.
3113 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3115 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
3116 (TARGET_CMODEL_MEDIUM): New macro.
3117 (TARGET_CMODEL_LARGE): New macro.
3118 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
3119 code model setting in assembly code.
3121 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3123 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
3124 Remove MASK_GP_DIRECT flag.
3125 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
3126 one of the multilib default options.
3127 * config/nds32/nds32.opt (mgp-direct): Remove.
3128 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
3129 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
3131 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
3133 * config/nds32/nds32.opt (mcmodel): Add new option.
3134 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
3135 to describe code model.
3137 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
3140 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
3142 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
3144 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
3145 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
3146 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
3147 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
3148 __builtin_sh_set_fpscr.
3150 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
3152 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
3153 after a funtion name just to indicate it is a function.
3154 ([-fsanitize-undefined-trap-on-error]): Likewise.
3155 ([-fdbg-cnt=]): Likewise.
3156 ([-mmemcpy]): Likewise.
3157 ([-mflush-func]): Likewise.
3158 ([-msynci]): Likewise.
3160 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
3162 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
3165 2015-01-12 Jakub Jelinek <jakub@redhat.com>
3167 PR tree-optimization/64563
3168 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
3169 instead of != VR_VARYING.
3172 * config/i386/i386.c (ix86_expand_prologue): Add
3173 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
3175 PR tree-optimization/64454
3176 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
3177 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
3178 for signed or [0, op1 - 1] for unsigned modulo.
3179 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
3180 even if op1 does not satisfy integer_pow2p.
3183 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
3185 2015-01-12 Jeff Law <law@redhat.com>
3188 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
3189 (trunchiqi2, truncsihi2): Similarly.
3191 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
3192 rather than calling F.
3194 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
3196 * tsan.c (instrument_expr): Use force_gimple_operand.
3197 Use may_be_nonaddressable_p instead of is_gimple_addressable.
3199 2015-01-12 Richard Biener <rguenther@suse.de>
3201 PR tree-optimization/64530
3202 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
3205 2015-01-12 Richard Biener <rguenther@suse.de>
3208 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
3211 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3213 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
3214 Cortex-A17 tuning parameters.
3215 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
3217 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3219 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
3220 * config/arm/arm.c (arm_macro_fusion_p): New function.
3221 (arm_macro_fusion_pair_p): Likewise.
3222 (TARGET_SCHED_MACRO_FUSION_P): Define.
3223 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
3224 (ARM_FUSE_NOTHING): Likewise.
3225 (ARM_FUSE_MOVW_MOVT): Likewise.
3226 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
3227 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
3228 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
3229 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
3230 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
3231 arm_cortex_a5_tune): Specify fuseable_ops value.
3233 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
3236 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
3237 test for PIE with copy reloc.
3238 * configure: Regenerated.
3240 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3242 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
3244 (arm_tls_descseq_addr): Likewise.
3245 (arm_gen_movmemqi): Likewise.
3246 (arm_expand_epilogue_apcs_frame): Likewise.
3247 (arm_expand_epilogue): Likewise.
3248 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
3251 2015-01-12 Martin Liska <mliska@suse.cz>
3254 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
3255 volatility for correct operands.
3257 2015-01-12 Martin Liska <mliska@suse.cz>
3259 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3260 that a function is not leaf.
3261 (sem_function::compare_polymorphic_p): Likewise.
3263 2015-01-12 Martin Liska <mliska@suse.cz>
3265 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3266 that a function is not leaf.
3267 (sem_function::compare_polymorphic_p): Likewise.
3269 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
3271 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
3272 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
3273 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
3274 fold-const.h, tree-check.h.
3276 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
3280 * ipa-inline.c (compute_uninlined_call_time,
3281 compute_inlined_call_time): Use counts for extra precision when
3283 (big_speedup_p): Fix formating.
3284 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
3285 (relative_time_benefit): Remove.
3286 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
3287 merge guessed and read profile paths.
3288 (inline_small_functions): Count only !optimize_size functions into
3289 initial size; be more lax about sanity check when profile is used;
3290 be sure to update inlined function profile when profile is read.
3292 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
3295 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
3296 cost when edge becomes direct.
3297 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
3298 is resolved or when introducing new speculation.
3300 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
3304 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
3305 '||' to fix typo issue.
3307 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
3308 accept and return NULL.
3310 2015-01-12 Martin Liska <mliska@suse.cz>
3312 * cgraph.c (cgraph_edge::remove_callee): Move function to header
3313 file for being inlined.
3314 (cgraph_set_edge_callee): Delete.
3315 (cgraph_edge::redirect_callee): Move function to header file
3317 (cgraph_edge::make_direct): Use new function.
3318 (cgraph_edge::dump_edge_flags): New function created from
3319 static dump_edge_flags function.
3320 (cgraph_node::dump): Use new function.
3321 (cgraph_edge::verify_count_and_frequency): New function created
3322 from verify_edge_count_and_frequency.
3323 (cgraph_edge::verify_corresponds_to_fndecl): New function created
3324 from verify_edge_corresponds_to_fndecl.
3325 (verify_edge_corresponds_to_fndecl): Delete.
3326 (cgraph_node::verify_node): Use new function.
3327 * cgraph.h (cgraph_edge::set_callee): New function.
3328 (cgraph_edge::dump_edge_flags): Likewise.
3329 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
3331 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
3333 * ipa-utils.c (estimate_function_body_sizes): Do not
3334 free node params when called late with early=true.
3336 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
3338 * doc/md.texi (Instruction Patterns): Rewrite text for
3340 (Example): Likewise.
3342 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
3344 * doc/invoke.texi (Option Summary): Break long lines.
3345 [(-fdiagnostics-color)]: Put long literal in @smallexample
3347 [(-fsanitize-recover)]: Likewise.
3348 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
3349 [(-ffast-math)]: Likewise.
3350 [(--param max-inline-insns-recursive)]: Likewise.
3351 [(--param max-inline-recursive-depth)]: Likewise.
3352 [(-mno-text-section-literals)]: Likewise.
3354 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
3356 * doc/install.texi: Update for libgomp being renamed from "GNU
3357 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
3359 * doc/sourcebuild.texi: Likewise.
3361 2015-01-10 Anthony Green <green@moxielogic.com>
3363 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
3364 mul.x availability for moxiebox configuration.
3366 2015-01-09 Anthony Green <green@moxielogic.com>
3368 * config/moxie/moxie.md: Tabify assembly output.
3370 2015-01-09 Anthony Green <green@moxielogic.com>
3372 * config/moxie/moxie.md (CC_REG): Correct register definition.
3374 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
3376 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
3377 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
3380 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3382 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
3384 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
3385 Jakub Jelinek <jakub@redhat.com>
3388 * lto-streamer.h (lto_stream_offload_p): New declaration.
3389 * lto-streamer.c (lto_stream_offload_p): New variable.
3390 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
3391 at the same time as section_name_prefix.
3392 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
3393 if lto_stream_offload_p.
3394 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
3395 stream TREE_TARGET_OPTION if lto_stream_offload_p.
3396 (write_ts_function_decl_tree_pointers): Don't
3397 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
3398 * tree-streamer-in.c (unpack_value_fields): Don't stream
3399 TREE_TARGET_OPTION in if ACCEL_COMPILER.
3400 (lto_input_ts_function_decl_tree_pointers): Don't stream
3401 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
3402 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
3403 instead of section_name_prefix string comparisons.
3405 2015-01-09 Jakub Jelinek <jakub@redhat.com>
3407 PR rtl-optimization/64536
3408 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
3411 2015-01-09 Michael Collison <michael.collison@linaro.org>
3413 PR tree-optimization/64322
3414 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
3415 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
3417 2015-01-09 Tom de Vries <tom@codesourcery.com>
3419 PR rtl-optimization/64539
3420 * regcprop.c (kill_clobbered_values): Factor out of ...
3421 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
3422 instead of note_stores with kill_clobbered_value.
3424 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3426 * ginclude/unwind-arm-common.h: Revert previous commit.
3428 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3430 * config.gcc (arm*-*-freebsd*): New configuration.
3431 * config/arm/freebsd.h: New file.
3432 * config.host: Add extra components for arm*-*-freebsd*.
3433 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
3434 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
3436 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3438 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
3440 * config/rs6000/t-rtems: Add e6500 multilibs.
3442 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3444 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
3447 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3449 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
3450 MULTILIB_EXCEPTIONS.
3452 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3454 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
3455 MULTILIB_EXCEPTIONS.
3457 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3459 * config/arm/t-rtems-eabi: Rename to...
3460 * config/arm/t-rtems: ...this.
3461 * config/arm/rtems-eabi.h: Rename to...
3462 * config/arm/rtems.h: ...this.
3463 * config.gcc (arm*-*-rtems*): Reflect changes above.
3465 2015-01-09 Richard Biener <rguenther@suse.de>
3467 PR tree-optimization/64410
3468 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
3470 (execute_update_addresses_taken): Deal with that.
3471 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
3472 loads/stores for complex variables.
3474 2015-01-09 Martin Liska <mliska@suse.cz>
3476 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
3478 (func_checker::compare_memory_operand): New function.
3479 (func_checker::compare_operand): Split case to newly
3481 (func_checker::compare_cst_or_decl): New function.
3482 (func_checker::compare_gimple_call): Identify
3484 (func_checker::compare_gimple_assign): Likewise.
3485 * ipa-icf-gimple.h: New function.
3487 2015-01-09 Martin Liska <mliska@suse.cz>
3490 * sreal.c (sreal::dump): Change unsigned format to signed for
3492 (sreal::to_double): Replace exp2 with scalbln.
3494 2015-01-09 Martin Liska <mliska@suse.cz>
3496 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
3497 * ipa-icf.c (sem_function::equals_private): Add support for target and
3498 (sem_item_optimizer::merge_classes): Remove redundant function
3499 optimization flags comparison.
3500 * tree.h (target_opts_for_fn): New function.
3502 2015-01-09 Tom de Vries <tom@codesourcery.com>
3504 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
3506 2015-01-09 Kito Cheng <kito@0xlab.org>
3508 PR rtl-optimization/64348
3509 * lra-constraints.c (split_reg): Fix caller-save store/restore
3510 instruction generation.
3512 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
3514 PR gcov-profile/61790
3515 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
3516 long long. Fallback to int64_t if host doesn't have long long and
3517 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
3519 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3521 PR tree-optimization/63989
3522 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
3524 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
3525 (get_stridx): If we don't have a record for certain SSA_NAME,
3526 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
3527 constant offset, call get_stridx_plus_constant.
3528 (get_stridx_plus_constant): New function.
3529 (zero_length_string): Don't use get_stridx here.
3533 * dse.c (struct insn_info): Mention frame_read set also
3534 before reload for tail calls on some targets.
3535 (scan_insn): Revert 2014-12-22 change. Set frame_read
3536 also before reload for tail calls if
3537 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
3538 instead of add_non_frame_wild_read for non-const/memset
3539 tail calls after reload.
3541 2015-01-08 Jason Merrill <jason@redhat.com>
3543 * ubsan.c (do_ubsan_in_current_function): New.
3544 (pass_ubsan::gate): Use it.
3545 * ubsan.h: Declare it.
3546 * convert.c (convert_to_integer): Use it.
3548 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3551 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
3552 compare_code when it is unconditionally overwritten afterwards.
3553 Use ix86_reverse_condition instead of reverse_condition. Don't
3554 change code if *reverse_condition* returned UNKNOWN and don't
3555 swap ct/cf and negate diff in that case.
3557 2015-01-08 Mike Stump <mikestump@comcast.net>
3559 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
3560 (pass_tsan_O0::gate): Likewise.
3561 * extend.texi (Function Attributes): Add no_sanitize_thread
3564 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
3566 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
3567 for registering builtins.
3568 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
3569 add -fopenmp to the argv_obstack used when invoking
3572 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
3573 add "-m32" or "-m64" to argv_obstack.
3574 (generate_host_descr_file): Likewise, when invoking host_compiler.
3575 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
3578 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
3580 * config/sh/sh-mem.cc: Use constant as second operand when emitting
3583 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
3586 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
3587 constant load if constant operand fits into I08.
3589 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3592 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
3593 and TREE_THIS_VOLATILE for MEM_REFs.
3594 (build5_stat): Fix up initialization of TREE_READONLY and
3595 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
3597 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
3600 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
3601 of r for the second alternative of the destination operand.
3603 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
3606 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
3608 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
3610 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
3612 ([-fivar-visibility], [-fvisibility]): Likewise.
3614 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
3616 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
3617 the file where @code, @command, etc is more appropriate.
3619 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
3621 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
3622 of -mrecip= documentation.
3624 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
3627 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
3628 correct reload handler if -m32 -mpowerpc64 is used.
3630 2015-01-06 Tom de Vries <tom@codesourcery.com>
3632 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
3634 2015-01-08 Christian Bruel <christian.bruel@st.com>
3637 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
3639 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3641 PR tree-optimization/63259
3642 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
3643 if optab exists for 16bit byteswap.
3645 2015-01-06 Jakub Jelinek <jakub@redhat.com>
3647 * opts.c (common_handle_option): Add support for
3648 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
3649 * doc/invoke.texi: Document -fno-sanitize=all,
3650 -f{,no-}sanitize-recover=all. Document that
3651 -fsanitize=float-cast-overflow is not enabled
3652 by -fsanitize=undefined. Fix up documentation
3653 of -f{,no-}sanitize-recover.
3655 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3657 * config.gcc: Add Visium support.
3658 * configure.ac: Likewise.
3659 * configure: Regenerate.
3660 * doc/extend.texi (interrupt attribute): Add Visium.
3661 * doc/invoke.texi: Document Visium options.
3662 * doc/install.texi: Document Visium target.
3663 * doc/md.texi: Document Visium constraints.
3664 * common/config/visium: New directory.
3665 * config/visium: Likewise.
3667 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
3669 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
3670 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
3672 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
3674 * combine.c (combine_validate_cost): Do not count the cost of a
3675 split I2 twice. Do not display it twice in the dump, either.
3677 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
3679 Revert parts of r219199.
3680 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
3682 ([-Wtraditional]): Restore markup on <limits.h>.
3684 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
3687 * doc/invoke.texi: Document -Wsuggest-override.
3689 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
3691 PR rtl-optimization/64287
3692 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
3693 (process_options): Disable flag_ipa_ra if profiling.
3695 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
3697 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
3699 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
3701 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
3702 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
3703 put under #if TARGET_LOOPS guard.
3705 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
3707 * config/i386/i386.c (output_387_binary_op): Use std::swap.
3709 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
3711 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
3712 * rtl.h (refers_to_regno_p): Add overload.
3714 * bt-load.c: Likewise.
3715 * combine.c: Likewise.
3716 * df-scan.c: Likewise.
3717 * sched-deps.c: Likewise.
3718 * config/s390/s390.c: Likewise.
3719 * config/m32r/m32r.c: Likewise.
3720 * config/rs6000/spe.md: Likewise.
3721 * config/rs6000/rs6000.c: Likewise.
3722 * config/pa/pa.c: Likewise.
3723 * config/stormy16/stormy16.c: Likewise.
3724 * config/cris/cris.c: Likewise.
3725 * config/arc/arc.md: Likewise.
3726 * config/arc/arc.c: Likewise.
3727 * config/sh/sh.md: Likewise.
3728 * config/sh/sh.c: Likewise.
3729 * config/frv/frv.c: Likewise.
3731 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3734 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
3735 call as cleanup of the whole body.
3736 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
3737 * tsan.c (replace_func_exit): New function.
3738 (instrument_func_exit): Moved earlier.
3739 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
3740 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
3742 (tsan_pass): Don't call instrument_func_exit.
3743 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
3744 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
3748 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
3749 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
3750 it to libubsan handler instead of EXPR. Fold comparisons earlier,
3751 if the result is integer_zerop, return NULL_TREE.
3752 * convert.c (convert_to_integer): Pass expr as ARG.
3754 PR tree-optimization/64465
3755 * tree-inline.c (redirect_all_calls): During inlining
3756 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
3757 changed the stmt to a non-throwing call.
3759 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
3761 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
3762 etc markup throughout the file.
3764 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
3766 Enable experimental TSAN support for Ada.
3767 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
3769 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3771 PR tree-optimization/64494
3772 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
3773 clear SSA_NAME_ANTI_RANGE_P flag.
3775 2015-01-05 Marek Polacek <polacek@redhat.com>
3777 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
3779 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3781 Update copyright years.
3783 * gcc.c (process_command): Update copyright notice dates.
3784 * gcov-dump.c: Ditto.
3786 * doc/cpp.texi: Bump @copying's copyright year.
3787 * doc/cppinternals.texi: Ditto.
3788 * doc/gcc.texi: Ditto.
3789 * doc/gccint.texi: Ditto.
3790 * doc/gcov.texi: Ditto.
3791 * doc/install.texi: Ditto.
3792 * doc/invoke.texi: Ditto.
3794 * auto-profile.c, auto-profile.h: Fix up Copyright line.
3796 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
3798 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
3800 ([-fvtable-verify], [-fvtv-debug]): Likewise.
3801 ([-Wabi]): Likewise.
3802 ([-fmessage-length]): Likewise.
3803 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
3804 ([-Wno-discarded-qualifiers]): Likewise.
3805 ([-Wnodiscarded-array-qualifiers]): Likewise.
3806 ([-Wno-virtual-move-assign]): Likewise.
3807 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
3808 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
3809 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
3810 ([-fsanitize-undefined-trap-on-error]): Likewise.
3811 ([-floop-interchange]): Likewise.
3812 ([-ftree-coalesce-inlined-vars]): Likewise.
3813 ([-fvect-cost-model]): Likewise.
3814 ([-flto]): Likewise.
3815 ([--param]): Likewise.
3816 (Spec Files): Likewise.
3817 ([-mstrict-align]): Likewise.
3818 ([-mfix-cortex-a53-835769]): Likewise.
3819 ([-march], [-mtune]): Likewise.
3820 ([-mpic-register]): Likewise.
3821 ([-munaligned-access]): Likewise.
3822 ([-msp8]): Likewise.
3823 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
3824 (AVR Built-in Macros): Likewise.
3825 ([-mpreferred-stack-boundary]): Likewise.
3826 ([-mtune-crtl]): Likewise.
3827 ([-mashf]): Likewise.
3828 ([-mmcu=]): Likewise.
3829 ([-minrt]): Likewise.
3830 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
3831 ([-mupper-regs]): Likewise.
3832 ([-matomic-model]): Likewise.
3833 ([-mdiv]): Likewise.
3834 ([-mzdcbranch]): Likewise.
3835 ([-mdisable-callt]): Likewise.
3836 ([-msoft-float]): Likewise.
3837 ([-m8byte-align]): Likewise.
3838 ([-fstack-reuse]): Likewise.
3840 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3842 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
3843 Fix markup, light copy-editing.
3844 ([-fauto-profile]): Rewrite to fix formatting and content
3847 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3849 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
3850 Copy-edit description.
3851 ([-fisolate-erroneous-paths-attribute]): Likewise.
3852 * common.opt (fisolate-erroneous-paths-dereference):
3853 Copy-edit description.
3854 (fisolate-erroneous-paths-attribute): Likewise.
3856 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3858 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
3861 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3863 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
3864 ([-fvtv-debug]): Likewise.
3865 ([-Wc++-compat]): Likewise.
3866 ([-Wc++11-compat]): Likewise.
3867 ([-Wc++14-compat]): Likewise.
3868 ([-Wno-sized-deallocation]): Likewise.
3869 ([-femit-class-debug-always]): Likewise.
3870 ([-femit-struct-debug-detailed]): Likewise.
3871 ([-fno-keep-inline-dllexport]): Likewise.
3872 ([-fira-algorithm]): Likewise.
3873 ([-fira-region]): Likewise.
3874 ([-flra-remat]): Likewise.
3875 ([-fipa-ra]): Likewise.
3876 ([-fhoist-adjacent-loads]): Likewise.
3877 ([-fisolate-erroneous-paths-dereference]): Likewise.
3878 ([-fisolate-erroneous-paths-attribute]): Likewise.
3879 ([-ftree-switch-conversion]): Likewise.
3880 ([-ftree-tail-merge]): Likewise.
3881 ([-ftree-loop-if-convert]): Likewise.
3882 ([-ftree-loop-if-convert-stores]): Likewise.
3883 ([-ftree-loop-distribution]): Likewise.
3884 ([-ftree-loop-distribute-patterns]): Likewise.
3885 ([-flto-compression-level]): Likewise.
3886 ([-flto-report]): Likewise.
3887 ([-flto-report-wpa]): Likewise.
3888 ([-fuse-linker-plugin]): Likewise.
3889 ([-mfix-cortex-a53-835769]): Likewise.
3890 ([-mno-fix-cortex-a53-835769]): Likewise.
3891 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
3892 explicit listing; add a note to the discussion indicating they
3893 exist. Reorder table to group similar options. Add missing
3894 @opindex entries. Add @need commands throughout the table to
3895 allow it to be split across multiple pages.
3896 ([-m8bit-idiv]): Fix @opindex.
3897 ([-mavx256-split-unaligned-load]): Likewise.
3898 ([-mavx256-split-unaligned-store]): Likewise.
3899 ([-mstack-protector-guard]): Likewise.
3900 ([-mcpu=]): Likewise.
3901 ([-mcpu]): Likewise.
3902 ([-mpointer-size=]): Likewise.
3904 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
3906 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
3907 instead of `m' constraint. Likewise for unnamed movb comparison
3908 patterns using reg_before_reload_operand predicate.
3909 * config/pa/predicates.md (reg_before_reload_operand): Tighten
3910 predicate to reject register index and LO_SUM DLT memory forms
3913 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3915 * doc/invoke.texi (Option Summary): Fix spelling of
3916 -fdevirtualize-at-ltrans.
3917 ([-fdevirtualize]): Fix markup.
3918 ([-fdevirtualize-speculatively]): Fix typo.
3919 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
3921 * common.opt (fdevirtualize-at-ltrans): Likewise.
3922 * ipa-devirt.c: Fix typos in comments throughout the file.
3923 (ipa_devirt): Fix typos in format strings for dump output.
3925 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3927 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
3928 discussion of defaults, light copy-editing.
3930 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3932 * tsan.c (instrument_expr): corrected previous checkin.
3934 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3936 Instrument bit field and unaligned accesses for TSAN.
3937 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
3938 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
3939 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
3940 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
3941 unaligned memory regions.
3943 2015-01-01 Anthony Green <green@moxielogic.com>
3945 * config/moxie/predicates.md (moxie_general_movsrc_operand):
3946 Restrict move source register offsets to 16 bits.
3948 Copyright (C) 2015 Free Software Foundation, Inc.
3950 Copying and distribution of this file, with or without modification,
3951 are permitted in any medium without royalty provided the copyright
3952 notice and this notice are preserved.