gcc/
[official-gcc.git] / gcc / ChangeLog
blob9552d334c5c9d6d417cf44c2902b2307bdb1c2ca
1 2015-02-03  Richard Sandiford  <richard.sandiford@arm.com>
3         * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
4         instead of OBJECT_P.
6 2015-02-03  Eric Botcazou  <ebotcazou@adacore.com>
8         PR target/62631
9         * config/sparc/sparc.h (TARGET_HARD_MUL): Remove TARGET_V8PLUS.
10         (TARGET_HARD_MUL32): Rewrite based on TARGET_HARD_MUL.
11         * config/sparc/sparc.c (sparc_rtx_costs) <MULT>: Return costs based on
12         int_mulX for integers in 64-bit mode if TARGET_HARD_MUL is not set.
14 2015-02-03  Jakub Jelinek  <jakub@redhat.com>
16         PR other/63504
17         * combine.c (reg_n_sets_max): New variable.
18         (can_change_dest_mode, reg_nonzero_bits_for_combine,
19         reg_num_sign_bit_copies_for_combine, get_last_value_validate,
20         get_last_value): Use REG_N_SETS only on pseudos < reg_n_sets_max.
21         (try_combine): Use INC_REG_N_SETS only on pseudos < reg_n_sets_max.
22         (rest_of_handle_combine): Initialize reg_n_sets_max.
24 2015-02-02  Jan Hubicka  <hubicka@ucw.cz>
26         * ipa-inline.c (early_inliner): Skip inlining only in always_inlined;
27         if some always_inline was inlined, apply changes before inlining
28         heuristically.
30 2015-02-02  David Malcolm  <dmalcolm@redhat.com>
32         PR jit/64810
33         * config/arm/arm.c (arm_option_override): Set
34         arm_selected_arch/cpu/tune to NULL on entry.
36 2015-02-02  Tejas Belagod  <tejas.belagod@arm.com>
37             Andrew Pinski  <pinskia@gcc.gnu.org>
38             Jakub Jelinek  <jakub@gcc.gnu.org>
40         PR target/64231
41         * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix large
42         integer typing for small model. Use IN_RANGE.
44 2015-02-02  Richard Biener  <rguenther@suse.de>
46         * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
47         * tree-vrp.c (vrp_valueize_1): Likewise.
49 2015-02-02  Alan Modra  <amodra@gmail.com>
51         * config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
52         than mem for toc_restore.
53         * config/rs6000/rs6000.md (UNSPEC_TOCSLOT): Define.
54         (call_indirect_aix, call_value_indirect_aix): Adjust to suit.
55         (call_indirect_elfv2, call_value_indirect_elfv2): Likewise.
57 2015-02-01  David Edelsohn  <dje.gcc@gmail.com>
59         PR target/64047
60         * config/rs6000/rs6000.c (rs6000_set_current_function): Handle
61         explicit default options.
63 2015-02-01  Jan Hubicka  <hubicka@ucw.cz>
65         PR ipa/64872
66         * ipa-utils.c (ipa_merge_profiles): Add release argument.
67         * ipa-icf.c (sem_function::merge): Do not release body when merging.
68         * ipa-utils.h (ipa_merge_profiles): Update prototype.
70 2015-02-01  Jakub Jelinek  <jakub@redhat.com>
72         PR debug/64817
73         * cfgexpand.c (deep_ter_debug_map): New variable.
74         (avoid_deep_ter_for_debug): New function.
75         (expand_debug_expr): If TERed SSA_NAME is in
76         deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL
77         instead of trying to expand SSA_NAME's def stmt.
78         (expand_debug_locations): When expanding debug bind
79         of a DEBUG_EXPR_DECL to corresponding SSA_NAME,
80         temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's
81         value.
82         (pass_expand::execute): Call avoid_deep_ter_for_debug on
83         all debug bind stmts.  Delete deep_ter_debug_map after
84         expand_debug_location if non-NULL and clear it.
86 2015-02-01  Oleg Endo  <olegendo@gcc.gnu.org>
88         PR target/64851
89         * config/sh/sync.md (atomic_fetch_notsi_hard,
90         atomic_fetch_not<mode>_hard, atomic_fetch_not<mode>_soft_gusa,
91         atomic_fetch_not<mode>_soft_tcb, atomic_fetch_not<mode>_soft_imask,
92         atomic_not_fetchsi_hard, atomic_not_fetch<mode>_hard,
93         atomic_not_fetch<mode>_soft_gusa, atomic_not_fetch<mode>_soft_tcb,
94         atomic_not_fetch<mode>_soft_imask): New insns.
96 2015-02-01  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
98         * haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
99         (rank_for_schedule_debug): Split from ...
100         (rank_for_schedule): ... this.
101         (ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
102         * sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.
104 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
106         * doc/md.texi (Machine Constraints): Alphabetize table by target.
107         * doc/extend.texi (x86 Variable Attributes): Move section to
108         correct alphabetization after renaming.
109         (x86 Type Attributes): Likewise.
110         (Target Builtins): Re-alphabetize menu.
111         (x86 Built-in Functions): Move section to correct alphabetization
112         after renaming.
113         (x86 transactional memory intrinsics): Likewise.
114         * doc/invoke.texi (Option Summary): Re-alphabetize x86 Options
115         and x86 Windows Options in table and menu.
116         (x86 Options): Move section to correct alphabetization after
117         renaming.
118         (x86 Windows Options): Likewise.
120 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
122         * doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
123         preferred names of the architecture and its 32- and 64-bit
124         variants.
125         * doc/invoke.texi: Likewise.
126         * doc/md.texi: Likewise.
128 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
130         PR target/64882
131         * config/i386/predicates.md (address_no_seg_operand): Reject
132         non-CONST_INT_P operands in invalid mode.
134 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
136         * config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
137         address_operand 0.  Rename from *prefetch_prefetchwt1_<mode>.
138         * config/i386/predicates.md (address_no_seg_operand): Call
139         address_operand with VOIDmode.
140         (vsib_address_operand): Ditto.
141         (address_mpx_no_base_operand): Ditto.
142         (address_mpx_no_index_operand): Ditto.
144 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
146         PR target/64688
147         * lra-constraints.c (original_subreg_reg_mode): New.
148         (simplify_operand_subreg): Try to simplify subreg of const.  Use
149         original_subreg_reg_mode for it.
150         (swap_operands): Update original_subreg_reg_mode.
151         (curr_insn_transform): Set up original_subreg_reg_mode.
153 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
155         PR target/64617
156         * lra-constraints.c (prohibited_class_reg_set_mode_p): New
157         function.
158         (process_alt_operands): Use it.
159         (curr_insn_transform): Check the optional reload pseudo class is
160         ok for the mode.
162 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
164         * diagnostic.c (fatal_error (const char *, ...)): Remove function.
165         * diagnostic-core.h (fatal_error (const char *, ...)): Remove
166         prototype.
167         * toplev.h (init_asm_output): Update comment on use of
168         UNKNOWN_LOCATION with fatal_error.
169         * cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
170         config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
171         config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
172         config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
173         config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
174         config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
175         config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
176         ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
177         lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
178         lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
179         tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
180         fatal_error changed to pass input_location as first argument.
182 2015-01-30  Martin Liska  <mliska@suse.cz>
184         * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
185         in #pragma GCC diagnostic guards.
187 2015-01-30  Richard Biener  <rguenther@suse.de>
189         PR tree-optimization/64829
190         * tree-vect-patterns.c (vect_handle_widen_op_by_const): Do
191         not add a widening conversion pattern but hand off extra
192         widenings to callers.
193         (vect_recog_widen_mult_pattern): Handle extra widening produced
194         by vect_handle_widen_op_by_const.
195         (vect_recog_widen_shift_pattern): Likewise.
196         (vect_pattern_recog_1): Remove excess vertical space in dumping.
197         * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
198         (vect_init_vector_1): Likewise.
199         (vect_get_vec_def_for_operand): Likewise.
200         (vect_finish_stmt_generation): Likewise.
201         (vectorizable_load): Likewise.
202         (vect_analyze_stmt): Likewise.
203         (vect_is_simple_use): Likewise.
205 2015-01-29  Jeff Law  <law@redhat.com>
207         * combine.c (try_combine): Fix typo in comment.
209 2015-01-29  Segher Boessenkool  <segher@kernel.crashing.org>
211         PR target/64580
212         * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
213         (rs6000_stack_info): Add assert.
214         (rs6000_output_savres_externs): New function, split off from...
215         (rs6000_output_function_prologue): ... here.  Do not call it for
216         thunks.
218 2015-01-29  Jeff Law  <law@redhat.com>
220         PR target/15184
221         * combine.c (try_combine): If I0 is a memory load and I3 a store
222         to a related address, increase the "goodness" of doing a 4-insn
223         combination with I0-I3.
224         (make_field_assignment): Handle SUBREGs in the ior+and case.
226 2015-01-29  Yuri Rumyantsev  <ysrumyan@gmail.com>
228         PR tree-optimization/64746
229         * tree-if-conv.c (mask_exists): New function.
230         (predicate_mem_writes): Save created mask with given size for further
231         use.
232         (stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
233         (ifcvt_repair_bool_pattern): Collect all statements that are root
234         of bool pattern and use iterative algorithm to remove multiple uses
235         of predicates, display number of required iterations.
237 2015-01-29  Richard Biener  <rguenther@suse.de>
239         PR tree-optimization/64853
240         * tree-vrp.c (vrp_valueize_1): Do not return anything if the
241         stmt will get simulated again.
242         * tree-ssa-ccp.c (valueize_op_1): Likewise.
244 2015-01-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
246         * config/arm/arm.c (arm_emit_multi_reg_pop): Simplify definition of
247         return_in_pc.  Remove redundant assignments.
248         (thumb2_emit_ldrd_pop): Simplify definition of return_in_pc.
249         (arm_expand_epilogue): Don't compare boolean with true in if condition.
251 2015-01-29  Uros Bizjak  <ubizjak@gmail.com>
253         * config/i386/i386.c (ix86_mode_after): Make static.
255 2015-01-29  Richard Biener  <rguenther@suse.de>
257         PR tree-optimization/64844
258         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Always
259         dump cost model analysis.
260         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
261         Do not register adjusted load/store costs here.
263 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
264             Uros Bizjak  <ubizjak@gmail.com>
266         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
267         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
268         using x86_use_pseudo_pic_reg.
269         * config/i386/i386.c (ix86_conditional_register_usage): Remove
270         support for fixed PIC register.
271         (ix86_use_pseudo_pic_reg): Not static any more.
273 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
275         PR middle-end/64805
276         * ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
277         to avoid error in cgraph node verification.
279 2015-01-29  Marek Polacek  <polacek@redhat.com>
281         * doc/standards.texi: Reflect that the default for C is gnu11.
283 2015-01-29  Kaz Kojima  <kkojima@gcc.gnu.org>
285         PR target/64761
286         * reorg.c (switch_text_sections_between_p): New function.
287         (relax_delay_slots): Call it when testing if the jump insn
288         is removable.  Use targetm.can_follow_jump when testing if
289         the conditional branch can follow an unconditional jump.
291 2015-01-27  Caroline Tice  <cmtice@google.com>
293         Committing VTV Cywin/Ming patch for Patrick Wollgast
294         * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
295         if -fvtable-verify=preinit/std is used.
296         * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
297         * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
298         * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
299         if -fvtable-verify=preinit/std is used.
300         * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
301         * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
302         if -fvtable-verify=preinit/std is used.
303         * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
304         * config/i386/mingw32.h (LIB_SPEC): Likewise.
305         * varasm.c (assemble_variable): Add code to properly set the comdat
306         section and name for the .vtable_map_vars section in case the
307         target is PE or COFF.
309 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
311         PR ipa/64801
312         * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
313         make sane BB profile.
314         (cgraph_node::expand_thunk): Make sane BB profile.
315         (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
316         * cgraph.h (init_lowered_empty_function): Update prototype.
317         * config/i386/i386.c (make_resolver_func): Update call.
318         * predict.c (gate): Disable branch prediction pass if
319         profile is already there.
321 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
323         * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
324         * opth-gen.awk: Likewise.
325         * common.opt: Mark flag_fp_contract_mode as Optimization.
327 2015-01-29  Bernd Edlinger  <bernd.edlinger@hotmail.de>
329         * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
330         * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
332 2015-01-28  Oleg Endo  <olegendo@gcc.gnu.org>
334         PR target/64659
335         * config/sh/predicates.md (atomic_arith_operand,
336         atomic_logical_operand): Remove.
337         * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
338         (atomic_arith_operand_0): New predicate.
339         (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
340         Use atomic_arith_operand_0 for input values.
341         (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
342         atomic_compare_and_swap<mode>_soft_gusa,
343         atomic_compare_and_swap<mode>_soft_tcb,
344         atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
345         arith_reg_operand instead of register_operand.
346         (atomic_exchange<mode>): Use arith_reg_dest for output value.  Use
347         atomic_arith_operand_0 for newval input.
348         (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
349         atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
350         atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
351         arith_reg_operand instead of register_operand.
352         (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
353         fetchop_predicate_1, fetchop_constraint_1_llcs,
354         fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
355         fetchop_constraint_1_imask): New code iterator attributes.
356         (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
357         register_operand.  Use fetchop_predicate_1.
358         (atomic_fetch_<fetchop_name>si_hard,
359         atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
360         register_operand.  Use fetchop_predicate_1, fetchop_constraint_1_llcs.
361         (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
362         and arith_reg_operand instead of register_operand.  Use
363         fetchop_predicate_1, fetchop_constraint_1_gusa.
364         (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
365         and arith_reg_operand instead of register_operand.  Use
366         fetchop_predicate_1, fetchop_constraint_1_tcb.  Adjust asm sequence
367         to allow R0 usage.
368         (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
369         and arith_reg_operand instead of register_operand.  Use
370         fetchop_predicate_1, fetchop_constraint_1_imask.  Adjust asm sequence
371         to allow R0 usage.
372         (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
373         register_operand.  Use atomic_logical_operand_1.
374         (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
375         atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
376         arith_reg_operand instead of register_operand.
377         (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
378         Use arith_reg_dest and arith_reg_operand instead of register_operand.
379         Use logical_operand and rK08.  Adjust asm sequence to allow R0 usage.
380         (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
381         register_operand.  Use fetchop_predicate_1.
382         (atomic_<fetchop_name>_fetchsi_hard,
383         atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
384         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
385         fetchop_constraint_1_llcs.
386         (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
387         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
388         fetchop_constraint_1_gusa.
389         (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
390         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
391         fetchop_constraint_1_tcb.  Adjust asm sequence to allow R0 usage.
392         (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
393         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
394         fetchop_constraint_1_imask.  Adjust asm sequence to allow R0 usage.
395         (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
396         register_operand.  Use atomic_logical_operand_1.
397         (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
398         atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
399         arith_reg_operand instead of register_operand.
400         (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
401         arith_reg_operand instead of register_operand.  Use logical_operand
402         and K08.  Adjust asm sequence to allow R0 usage.
403         (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
404         arith_reg_operand instead of register_operand.  Use logical_operand
405         and K08.
407 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
409         PR other/63504
410         * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
411         Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
412         (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
413         only get_full_len HOST_WIDE_INTs from get_val () array rather than
414         all bits in *val_wide.
416 2015-01-28  Jan Hubicka  <hubicka@ucw.cz>
418         * varpool.c (tls_model_names): Fix names.
419         (varpool_node::dump): Dump tls- prefix for tls models.
421 2015-01-28  Thomas Schwinge  <thomas@codesourcery.com>
422             Bernd Schmidt  <bernds@codesourcery.com>
423             Nathan Sidwell  <nathan@codesourcery.com>
425         * config/nvptx/mkoffload.c: New file.
426         * config/nvptx/t-nvptx: Add build rules for it.
427         * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
428         (extra_programs): Add mkoffload.
429         * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
430         function.
431         (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
433 2015-01-28  Yuri Rumyantsev  <ysrumyan@gmail.com>
435         PR middle-end/64809
436         * cfgexpand.c (reorder_operands): Skip debug gimples.
438 2015-01-28  Ilya Enkovich  <ilya.enkovich@intel.com>
440         PR tree-optimization/64277
441         * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
442         range info when possible to refine estimation.
444 2015-01-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>
446         PR tree-optimization/64718
447         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
448         be a 16bit unsigned integer when n->range is 16.
449         (bswap_replace): Convert src to that type if necessary for all bswap
450         sizes.  Fix rotation right notation in nearby comment.  Use bswap_type
451         set in pass_optimize_bswap::execute ().
453 2015-01-28  James Greenhalgh  <james.greenhalgh@arm.com>
455         * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
456         * config/aarch64/aarch64-simd-builtins.def (abs): Split by
457         integer and floating point variants.
458         * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
460 2015-01-28  Robert Suchanek  <robert.suchanek@imgtec.com>
462         * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
463         for all vector modes.
465 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
467         PR bootstrap/64612
468         * doc/sourcebuild.texi (comdat_group): Document.
470 2015-01-28  Terry Guo  <terry.guo@arm.com>
472         * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
474 2015-01-27  David Malcolm  <dmalcolm@redhat.com>
476         * toplev.c (print_version): Add param "show_global_state", and
477         only print GGC and plugin information if it is true.
478         (init_asm_output): Pass in "true" for the new param when calling
479         print_version.
480         (process_options): Likewise.
481         (toplev::main): Likewise.
482         * toplev.h (print_version): Add new param to decl.
484 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
486         PR ipa/60871
487         PR ipa/64139
488         * tree.c (lookup_binfo_at_offset): New function.
489         (get_binfo_at_offset): Use it.
491 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
493         PR ipa/64282
494         * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
495         on vtable being vtable.
497 2015-01-27  Dominik Vogt  <vogt@linux.vnet.ibm.com>
499         * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
500         * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
501         -mhotpatch= option.
502         * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
503         -mno-hotpatch options.  Change syntax of -mhotpatch= option.
504         * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
505         Renamed.
506         (s390_hotpatch_trampoline_halfwords_max): Renamed.
507         (s390_hotpatch_hw_max): New name.
508         (s390_hotpatch_trampoline_halfwords): Renamed.
509         (s390_hotpatch_hw_before_label): New name.
510         (get_hotpatch_attribute): Removed.
511         (s390_hotpatch_hw_after_label): New name.
512         (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
513         attribute.
514         (s390_attribute_table): Ditto.
515         (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
516         (s390_function_num_hotpatch_hw): New name.
517         Remove special handling of inline functions and hotpatching.
518         Return number of nops before and after the function label.
519         (s390_can_inline_p): Removed.
520         (s390_asm_output_function_label): Emit a configurable number of nops
521         after the function label.
522         (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
523         (TARGET_CAN_INLINE_P) Removed.
524         (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
526 2015-01-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
527             Jiong Wang  <jiong.wang@arm.com>
529         * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
530         of scratch reg.
531         (cb<optab><mode>1): Likewise.
532         * config/aarch64/iterators.md (bcond): New define_code_attr.
534 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
536         * config/s390/s390.c (s390_memory_move_cost): Increase costs for
537         memory accesses.
539 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
541         * config/s390/s390.c (s390_register_move_cost): Increase costs for
542         FPR->GPR moves.
544 2015-01-27  Richard Biener  <rguenther@suse.de>
546         * tree-vrp.c (update_value_range): Intersect the range with
547         old recorded SSA name range information.
549 2015-01-27  Nick Clifton  <nickc@redhat.com>
551         * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
552         BC, DE and HL registers directly, not via AX.
553         When decrementing the stack pointer by a large amount, transfer SP
554         into AX and perform the subtraction there.
555         (rl78_expand_epilogue): Perform the inverse of the above
556         enhancements.
558 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
560         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
562 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
563             Yury Gribov  <y.gribov@samsung.com>
565         PR ubsan/64741
566         * ubsan.c (ubsan_source_location): Refactor code.
567         (ubsan_type_descriptor): Update type size. Refactor code.
569 2015-01-27  Richard Biener  <rguenther@suse.de>
571         PR tree-optimization/56273
572         PR tree-optimization/59124
573         PR tree-optimization/64277
574         * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
575         from the first VRP pass.
577 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
579         PR ipa/64776
580         * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
581         handle the first argument in the same loop as all the other arguments.
583         PR rtl-optimization/61058
584         * jump.c (cleanup_barriers): Update basic block boundaries
585         if BLOCK_FOR_INSN is non-NULL on PREV.
587 2015-01-27  Ilya Enkovich  <ilya.enkovich@intel.com>
589         * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
590         bounds narrowing, already instrumented calls and calls to
591         not instrumentable functions.
593 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
595         PR tree-optimization/64807
596         * wide-int.cc (wi::divmod_internal): Clear
597         b_dividend[dividend_blocks_needed].
599 2015-01-26  DJ Delorie  <dj@redhat.com>
601         * config/rl78/rl78.c (move_elim_pass): Don't optimize away
602         volatile memory references.
604 2015-01-26  Oleg Endo  <olegendo@gcc.gnu.org>
606         PR target/49263
607         * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
608         remove_insn.
609         * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
610         shifts if it already fits into K08.
612 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
614         PR ipa/64730
615         * ipa-inline.c (inline_small_functions): Print "unknown" even
616         if edge->call_stmt is non-NULL, but has builtins or unknown
617         location.
619         PR middle-end/64421
620         * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
621         with asterisk, skip the first character.
623 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
625         PR target/64806
626         * config/i386/i386 (feature_priority): Revert the last P_POPCNT
627         order change.
629 2015-01-26  Uros Bizjak  <ubizjak@gmail.com>
631         PR target/64795
632         * config/i386/i386.md (*movdi_internal): Also check operand 0
633         to determine TYPE_LEA operand.
634         (*movsi_internal): Ditto.
636 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
638         * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
639         OPTION_MASK_QUAD_MEMORY_ATOMIC.
641 2015-01-26  Renlin Li  <renlin.li@arm.com>
643         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
644         the comment.
645         * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
646         for higher part.
648 2015-01-26  Richard Biener  <rguenther@suse.de>
650         PR middle-end/64764
651         * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
652         combining two BIT_AND_EXPR predicates.
654 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
656         PR bootstrap/64754
657         * tree-ssa-structalias.c (new_var_info): Initialize ruid.
659 2015-01-26  Terry Guo  <terry.guo@arm.com>
661         * config/arm/arm.c (arm_file_start): Update the assignment of
662         Tag_ABI_HardFP_use.
664 2015-01-25  James Greenhalgh  <james.greenhalgh@arm.com>
666         * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
667         pipeline model.
668         config/arm/arm.md: Include the new Cortex-A57 model.
669         (generic_sched): Don't use generic_sched when tuning for
670         Cortex-A57.
672 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
673             Uros Bizjak  <ubizjak@gmail.com>
675         * config/i386/i386.c (get_builtin_code_for_version): Add
676         support for BMI and BMI2 multiversion functions.
678 2015-01-25  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
680         * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
681         (extract_bit_field): Likewise.
682         (extract_low_bits): Likewise.
683         (expand_mult): Likewise.
684         (expand_mult_highpart_adjust): Likewise.
686 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
688         * config/i386/driver-i386.c (host_detect_local_cpu): Check new
689         Silvermont, Haswell, Broadwell and Knights Landing model numbers.
690         * config/i386/i386.c (processor_model): Add
691         M_INTEL_COREI7_BROADWELL.
692         (arch_names_table): Add "broadwell".
694 2015-01-24  Oleg Endo  <olegendo@gcc.gnu.org>
696         PR target/49263
697         PR target/53987
698         PR target/64345
699         PR target/59533
700         PR target/52933
701         PR target/54236
702         PR target/51244
703         * config/sh/sh-protos.h
704         (sh_extending_set_of_reg::can_use_as_unextended_reg,
705         sh_extending_set_of_reg::use_as_unextended_reg,
706         sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
707         sh_is_movrt_insn, sh_insn_operands_modified_between_p,
708         sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
709         sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
710         (sh_treg_insns): New class.
711         * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
712         (scope_counter): New class.
713         (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
714         sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
715         sh_extending_set_of_reg::can_use_as_unextended_reg,
716         sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
717         sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
718         sh_split_treg_set_expr): New functions.
719         (addsubcosts): Handle treg_set_expr.
720         (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
721         (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
722         (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
723         (sh_insn_operands_modified_between_p): Make non-static.
724         * config/sh/predicates.md (zero_extend_movu_operand): Allow
725         simple_mem_operand in addition to displacement_mem_operand.
726         (zero_extend_operand): Don't allow zero_extend_movu_operand.
727         (treg_set_expr, treg_set_expr_not_const01,
728         arith_reg_or_treg_set_expr): New predicates.
729         * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
730         arith_or_int_operand instead of logical_operand.  Convert to
731         insn_and_split.  Try to optimize constant operand in splitter.
732         (tsthi_t, tstqi_t): Fold into *tst<mode>_t.  Convert to insn_and_split.
733         (*tstqi_t_zero): Delete.
734         (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
735         (tstsi_t_and_not): Delete.
736         (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
737         Convert to insn_and_split.
738         (unnamed split, tstsi_t_zero_extract_xor,
739         tstsi_t_zero_extract_subreg_xor_little,
740         tstsi_t_zero_extract_subreg_xor_big): Delete.
741         (*tstsi_t_shift_mask): New insn_and_split.
742         (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
743         to recombine with surrounding insns when splitting.
744         (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
745         (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
746         (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
747         *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
748         (*cbranch_div0s: Delete.
749         (*addc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
750         Try to recombine with surrounding insns when splitting.  Add operand
751         order variants.
752         (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
753         (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
754         *addc_r_r_msb, *addc_2r_msb): Delete.
755         (*addc_2r_lsb): Rename to *addc_2r_t.  Use treg_set_expr.  Add operand
756         order variant.
757         (*addc_negreg_t): New insn_and_split.
758         (*subc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
759         Try to recombine with surrounding insns when splitting.
760         Add operand order variants.
761         (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
762         insn_and_split patterns.
763         (*rotcr): Use arith_reg_or_treg_set_expr.  Try to recombine with
764         surrounding insns when splitting.
765         (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
766         (*rotcl): Likewise.  Add zero_extract variant.
767         (*ashrsi2_31): New insn_and_split.
768         (*negc): Convert to insn_and_split.  Use treg_set_expr.
769         (*zero_extend<mode>si2_disp_mem): Update comment.
770         (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
771         condition.
772         (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr.  Try to recombine
773         with surrounding insns when splitting.
774         (any_treg_expr_to_reg): New insn_and_split.
775         (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
776         *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
777         *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
778         *zero_extract_2): New single bit zero extract patterns.
779         (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
780         (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
781         *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
782         *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
783         set destination.
784         (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
785         register_operand for set source.
787 2015-01-23  Jan Hubicka  <hubicka@ucw.cz>
789         * i386.opt (prefetch_sse): New targetsave.
790         * i386.c (ix86_function_specific_save): Save prefetch_sse.
791         (ix86_function_specific_restore): Restore prefetch_sse and initialize
792         ix86_cost/ix86_tune_cost.
794 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
796         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
797         Support the JIT by using 0 as the language type.
799 2015-01-23  Vladimir Makarov  <vmakarov@redhat.com>
801         PR target/64317
802         * lra-lives.c (make_hard_regno_born): Add parameter.  Don't make
803         REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
804         (mark_regno_live, process_bb_lives): Pass new parameter value to
805         make_hard_regno_born.
807 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
809         PR rtl-optimization/63637
810         PR rtl-optimization/60663
811         * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
812         if elt->cost is MAX_COST for ASM_OPERANDS.
813         (find_sets_in_insn): Fix up comment typo.
814         (cse_insn): Don't set src_volatile for all non-volatile
815         ASM_OPERANDS in PARALLELs, but just those with multiple outputs
816         or with "memory" clobber.  Set elt->cost to MAX_COST
817         for ASM_OPERANDS in PARALLEL.  Set src_elt->cost to MAX_COST
818         if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
820 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
822         * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
823         alternative 1.
825 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
827         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
828         libgcc/config/i386/elf-lib.h.
830 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
832         PR driver/64737
833         * gcc.c (print_configuration): Don't print a blank line at the end
834         here...
835         (run_attempt): ... but here unstead.
837         PR middle-end/64734
838         * omp-low.c (scan_sharing_clauses): Don't ignore
839         OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
840         on target data/update constructs.
842 2015-01-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
844         PR target/50928
845         * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
846         (DEBUG_RELOAD): Removed define.
847         (m32c_limit_reload_class): Enable traces with if DEBUG0.
848         (m32c_function_arg): Added a type cast.
849         (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
850         * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
851         * config/m32c/bitops.md (andqi3_16): Likewise.
852         * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
853         (push_a01_l): Likewise.
855 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
857         PR jit/64721
858         * main.c (main): Construct toplev instances with init_signals=true.
859         * toplev.c (general_init): Add param "init_signals", and use it to
860         conditionalize the calls to signal and host_hooks.extra_signals.
861         (toplev::toplev): Add param "init_signals".
862         (toplev::main): When invoking general_init, pass m_init_signals
863         to control whether signal-handlers are installed.
864         * toplev.h (toplev::toplev): Add param "init_signals".
865         (toplev::m_init_signals): New field.
867 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
869         PR jit/64722
870         * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
871         NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
872         latter may be affected by the former (e.g. on i686).
874 2015-01-23  Martin Liska  <mliska@suse.cz>
876         * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
877         false positive during profiledbootstrap.
879 2015-01-23  Tom de Vries  <tom@codesourcery.com>
881         PR libgomp/64672
882         * lto-opts.c (lto_write_options): Output non-explicit conservative
883         -fno-openacc.
884         * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
885         (append_compiler_options): Pass -fopenacc through.
887 2015-01-23  Tom de Vries  <tom@codesourcery.com>
889         PR libgomp/64707
890         * lto-opts.c (lto_write_options): Output non-explicit conservative
891         -fno-openmp.
892         * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
893         (append_compiler_options): Pass -fopenmp through.
895 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
897         PR debug/64511
898         * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
899         GTY markup.
901         * diagnostic-core.h (internal_error_no_backtrace): New prototype.
902         * diagnostic.def (DK_ICE_NOBT): New kind.
903         * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
904         like DK_ICE, but never print backtrace.
905         (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
906         (internal_error_no_backtrace): New function.
907         * gcc.c (execute): Use internal_error_no_backtrace instead of
908         internal_error.
910 2015-01-22  Jeff Law  <law@redhat.com>
912         PR target/52076
913         * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
914         improve code density for small immediate to memory case.
915         (insv): Better handle bitfield assignments when the field is
916         being set to all ones.
917         * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
918         operand predicate.
920 2015-01-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
921             Jakub Jelinek  <jakub@redhat.com>
923         * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
924         for !TARGET_LIBC_PROVIDES_SSP version and
925         -fstack-protector-{all,strong,explicit} otherwise.
926         * config/freebsd.h (LINK_SSP_SPEC): Handle
927         -fstack-protector-{strong,explicit}.
929 2015-01-22  Jan Hubicka  <hubicka@ucw.cz>
930             H.J. Lu  <hongjiu.lu@intel.com>
932         PR ipa/64694
933         * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
934         heap.
936 2015-01-22  Wei Mi  <wmi@google.com>
938         PR rtl-optimization/64557
939         * dse.c (record_store): Call get_addr for mem_addr.
940         (check_mem_read_rtx): Likewise.
942 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
944         * fold-const.c (const_binop): Add early return for non-tcc_binary.
946 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
948         * toplev.c (init_local_tick): Process the failure when read
949         fails for random_seed.
951         * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
952         'pretty_name' to avoid memory overflow.
954 2015-01-22  Richard Biener  <rguenther@suse.de>
956         PR middle-end/64728
957         * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
958         abnormal coalescing on undefined SSA names.
960 2015-22-01  Uros Bizjak  <ubizjak@gmail.com>
962         PR target/64688
963         PR target/64477
964         * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
965         for alternative 3.
966         (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
968 2015-01-22  Trevor Saunders  <tsaunders@mozilla.com>
970         PR middle-end/63325
971         * fold-const.c (fold_checksum_tree): Don't include value of
972         expr->decl_with_vis.symtab_node in the checksum.
974 2015-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
976         * config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
977         "or".
979 2015-01-22  Max Ostapenko  <m.ostapenko@partner.samsung.com>
981         PR driver/64690
982         * gcc.c (insert_comments): New function.
983         (try_generate_repro): Call it.
984         (append_text): Removed.
986 2015-01-22  Richard Biener  <rguenther@suse.de>
988         * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
989         with IL incompatible options.  Properly honor user optimize
990         attributes.
992 2015-01-21  Segher Boessenkool  <segher@kernel.crashing.org>
994         PR rtl-optimization/64682
995         * combine.c (distribute_notes): When moving a death note for
996         a register that is set in the new I2, make sure to put it
997         before that new I2.
999 2015-01-21  David Edelsohn  <dje.gcc@gmail.com>
1001         * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
1002         not TARGET_DEFAULT.
1004 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1006         PR debug/64511
1007         * simplify-rtx.c (simplify_relational_operation_1): Don't try to
1008         optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
1009         into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
1011         PR sanitizer/64706
1012         * doc/invoke.texi (-fsanitize=vptr): Document.
1014         PR rtl-optimization/62078
1015         * dse.c: Include cfgcleanup.h.
1016         (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
1017         anything call purge_all_dead_edges and cleanup_cfg at the end
1018         of the pass.
1020 2015-01-21  Jan Hubicka  <hubicka@ucw.cz>
1022         * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
1023         edges.
1025 2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1027         * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
1028         decl attribute.
1030 2015-01-21  David Sherwood  <david.sherwood@arm.com>
1031             Tejas Belagod <Tejas.Belagod@arm.com>
1033         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
1034         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
1035         * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
1036         Removed.
1038 2015-01-21  David Sherwood  <david.sherwood@arm.com>
1039             Tejas Belagod <Tejas.Belagod@arm.com>
1041         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
1042         (aarch64_reverse_mask): New decls.
1043         * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
1044         (insn_count): New mode_attr.
1045         * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
1046         (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
1047         (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
1048         (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
1049         (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
1050         (aarch64_simd_st4): New patterns.
1051         * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
1052         (aarch64_reverse_mask): New functions.
1054 2015-01-21  Richard Sandiford  <richard.sandiford@arm.com>
1056         * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
1057         Declare.
1058         * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
1059         addressing modes for BE.
1060         (aarch64_print_operand): Add 'R' specifier.
1061         (aarch64_simd_disambiguate_copy): Delete.
1062         (aarch64_simd_emit_reg_reg_move): New function.
1063         * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
1064         in define_splits for structural moves.
1065         (mov<mode>): Use less restrictive predicates.
1066         (*aarch64_mov<mode>): Simplify and only allow for LE.
1067         (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
1069 2015-01-21  Alan Hayward  <alan.hayward@arm.com>
1071         * rtlanal.c (subreg_get_info): Exit early for simple and common cases.
1073 2015-01-21  Richard Henderson  <rth@redhat.com>
1075         PR target/64669
1076         * ccmp.c (used_in_cond_stmt_p): Remove.
1077         (expand_ccmp_expr): Don't use it.
1079 2015-01-21  Nick Clifton  <nickc@redhat.com>
1081         * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
1082         PARALLELs.
1084 2015-01-21  Richard Biener  <rguenther@suse.de>
1086         PR middle-end/64313
1087         * tree-core.h (builtin_info, builtin_info_type): Turn from
1088         an object with two arrays into an array of an object with
1089         decl and two flags, implicit_p and declared_p.
1090         * tree.h (builtin_decl_explicit, builtin_decl_implicit,
1091         set_builtin_decl, set_builtin_decl_implicit_p,
1092         builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
1093         (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
1094         * builtins.c (builtin_info): Adjust.
1095         * gimplify.c (gimplify_addr_expr): References to builtins
1096         that have been declared by the user makes them eligible for
1097         use by the compiler.  Call set_builtin_decl_implicit_p on them.
1099 2015-01-20  Jeff Law  <law@redhat.com>
1101         PR target/59946
1102         * config/m68k/m68k.md (Comparison expanders and patterns): Do not
1103         allow pc-relative addresses in operand predicates or constraints.
1105 2015-01-21  Bin Cheng  <bin.cheng@arm.com>
1107         * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
1108         neon on aarch32 processors for stringops.
1110 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1112         PR ipa/63576
1113         * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
1115 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1117         PR lto/45375
1118         * ipa-inline.c: Include lto-streamer.h
1119         (report_inline_failed_reason): Output source file differences and
1120         flags on optimization/target node mismatch.
1121         (can_inline_edge_p): Consider caller to be the outer inline function;
1122         be less restrictive about matching opimize and optimize_size attributes.
1123         (inline_account_function_p): Break out from ...
1124         (inline_small_functions): ... here.
1125         * ipa-inline-transform.c (clone_inlined_nodes): Use
1126         inline_account_function_p.
1127         (inline_call): Use optimize attribution; use inline_account_function_p.
1128         (inline_transform): Use opt_for_fn.
1129         * ipa-inline.h (inline_account_function_p): Declare.
1131 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1133         PR debug/64663
1134         * dwarf2out.c (decl_piece_node): Don't put bitsize into
1135         mode if bitsize <= 0.
1136         (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
1137         dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
1138         sizes and positions.
1140 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1142         * config/nios2/nios2.c (nios2_asm_file_end): Implement
1143         TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
1144         needed.
1145         (TARGET_ASM_FILE_END): Define.
1147 2015-01-20  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1149         * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
1150         (struct tune_params): Use the enum.
1151         * arm.c (arm_*_tune): Update.
1152         (arm_option_override): Update.
1154 2015-01-20  Richard Biener  <rguenther@suse.de>
1156         PR ipa/64684
1157         * ipa-reference.c (add_static_var): Inline ...
1158         (analyze_function): ... here after splitting out from ...
1159         (is_proper_for_analysis): ... this.
1161 2015-01-20  Matthew Wahab  <matthew.wahab@arm.com>
1163         PR target/64149
1164         * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
1165         * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
1166         replace the conditional with it's true branch.
1167         * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
1168         (arm_lra_p): Remove.
1170 2015-01-20  Eric Botcazou  <ebotcazou@adacore.com>
1172         * config/visium/visium.h (LIB_SPEC): Adjust in default case.
1174 2015-01-20  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1176         * config/tilegx/mul-tables.c: Move symtab.h include after
1177         coretypes.h include.
1178         * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h,
1179         vec.h, machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h,
1180         flags.h, statistics.h, double-int.h, real.h, fixed-value.h, alias.h,
1181         wide-int.h, inchash.h, tree.h, insn-config.h, expmed.h, dojump.h,
1182         explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1184 2015-01-20  Igor Zamyatin  <igor.zamyatin@intel.com>
1186         PR bootstrap/64676
1187         Revert:
1188         2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
1190         PR rtl-optimization/64081
1191         * loop-iv.c (def_pred_latch_p): New function.
1192         (latch_dominating_def): Allow specific cases with non-single
1193         definitions.
1194         (iv_get_reaching_def): Likewise.
1195         (check_complex_exit_p): New function.
1196         (check_simple_exit): Use check_complex_exit_p to allow certain cases
1197         with exits not executing on any iteration.
1199 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1201         PR lto/45375
1202         * i386.c (ix86_option_override_internal): Use ix86_tune_cost
1203         to set branch cost.
1205 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1207         PR lto/45375
1208         * i386.c (gate): Check flag_expensive_optimizations and
1209         optimize_size.
1210         (ix86_option_override_internal): Drop optimize_size condition
1211         on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
1212         MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
1213         MASK_PREFER_AVX128.
1214         (ix86_avx256_split_vector_move_misalign,
1215         ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
1216         * sse.md (all uses of TARGET_PREFER_AVX128): Add
1217         optimize_insn_for_speed_p check.
1219 2015-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1221         * config/mips/mips.h (FP_ASM_SPEC): New define.
1222         (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
1223         instead.
1225 2015-01-19  Oleg Endo  <olegendo@gcc.gnu.org>
1227         PR target/53988
1228         * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
1229         nullptr for insn when reaching the first insn.
1230         * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
1231         (sh_insn_operands_modified_between_p): Add nullptr check.
1232         (sh_find_extending_set_of_reg): Fix log message.  Don't accept
1233         sign extending mem load if the insn contains any UNSPEC or
1234         UNSPEC_VOLATILE.
1236 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1238         * params.def (inline-unit-growth): Drop to 15%.
1239         * invoke.texi (inline-unit-growth): Document change.
1241 2015-01-19  Martin Liska  <mliska@suse.cz>
1243         PR ipa/64668
1244         * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
1245         function for second argument of OBJ_TYPE_REF.
1247 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1249         PR ipa/64218
1250         * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
1251         whether function is an alias.
1253 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1255         * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
1256         cases.
1258 2015-01-19  Vladimir Makarov  <vmakarov@redhat.com>
1260         PR rtl-optimization/64671
1261         * lra-remat.c (operand_to_remat): Don't consider jump and call
1262         insns.
1264 2015-01-19  David Edelsohn  <dje.gcc@gmail.com>
1266         * config/rs6000/default64.h: Include rs6000-cpus.def.
1267         (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
1268         (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
1269         * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
1270         and POWER8.
1271         * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
1272         POWER8.
1273         * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
1274         pseudo-op to specify assembler dialect.
1276 2015-01-19  Martin Liska  <mliska@suse.cz>
1278         PR ipa/64664
1279         * ipa-icf.c (sem_item_optimizer::filter_removed_items):
1280         Handle safe potentially removed nodes during filtering.
1282 2015-01-19  Martin Liska  <mliska@suse.cz>
1284         * doc/extend.texi (no_icf): Add new attribute description.
1285         * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
1286         where the pass attempts to merge a function with no_icf attribute.
1288 2015-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1290         PR target/64532
1291         * doc/md.texi (ARM Options): Document register constraints.
1293 2015-01-19  Jiong Wang  <jiong.wang@arm.com>
1294             Andrew Pinski  <apinski@cavium.com>
1296         PR target/64304
1297         * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
1298         (ashl<mode>3): Don't expand if operands[2] is not constant.
1300 2015-01-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1302         PR target/64448
1303         * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
1304         Match xor-and-xor RTL pattern.
1306 2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
1308         PR rtl-optimization/64081
1309         * loop-iv.c (def_pred_latch_p): New function.
1310         (latch_dominating_def): Allow specific cases with non-single
1311         definitions.
1312         (iv_get_reaching_def): Likewise.
1313         (check_complex_exit_p): New function.
1314         (check_simple_exit): Use check_complex_exit_p to allow certain cases
1315         with exits not executing on any iteration.
1317 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1319         * common.opt (fgraphite): Fix a typo.
1321 2015-01-19  Felix Yang  <felix.yang@huawei.com>
1323         * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
1324         pattern.
1325         * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
1326         uminp, smax_nanp, smin_nanp): New builtins.
1327         * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
1328         vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
1329         vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
1330         vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
1331         vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
1332         vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
1333         vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
1334         vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
1335         vpminnms_f32): Rewrite using builtin functions.
1337 2015-01-19  Thomas Schwinge  <thomas@codesourcery.com>
1339         PR libgomp/64625
1340         * omp-low.c (offload_symbol_decl): Remove variable.
1341         (get_offload_symbol_decl): Remove function.
1342         (expand_omp_target): For BUILT_IN_GOMP_TARGET,
1343         BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
1344         instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
1345         BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
1346         BUILT_IN_GOACC_UPDATE don't pass it at all.
1348 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
1350         * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
1351         callers.
1353 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
1355         * ipa-chkp.c (chkp_produce_thunks): Add early param
1356         to split thunks production into two passes.  Keep
1357         'always_inline' function bodies after the first pass.
1358         (pass_data_ipa_chkp_early_produce_thunks): New.
1359         (pass_ipa_chkp_early_produce_thunks): New.
1360         (pass_ipa_chkp_produce_thunks::execute): Adjust to new
1361         chkp_produce_thunks signature.
1362         (make_pass_ipa_chkp_early_produce_thunks): New.
1363         * passes.def (pass_ipa_chkp_early_produce_thunks): New.
1364         (pass_ipa_chkp_produce_thunks): Move after local optimizations.
1365         * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
1367 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1369         * cgraph.c (cgraph_node::dump): Dump profile flags.
1371 2015-01-18  Oleg Endo  <olegendo@gcc.gnu.org>
1373         PR target/64652
1374         * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
1375         reg appear first in the parallel.
1377 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1379         * ipa-reference.c (set_reference_optimization_summary,
1380         ipa_reference_get_not_written_global): Do nothing if ipa-reference is
1381         disabled.
1382         (ignore_module_statics): New static var.
1383         (propagate_bits): If ipa-reference is disabled, do not look into local
1384         properties.
1385         (analyze_function): Disable analysis when ipa_reference is disabled.
1386         (generate_summary): Do not dump when reference is disabled;
1387         collect vars accessed from functions with ipa-reference disabled.
1388         (get_read_write_all_from_node): When ipa-reference is disabled, use the
1389         node flags.
1390         (gate): Enable for LTO.
1391         (ignore_edge_p): New function.
1392         (propagate): Skip functions w/o ipa-reference analysis.
1393         * optc-save-gen.awk: Handle optimize_debug correctly.
1394         * opth-gen.awk: Likewise.
1395         * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
1396         fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
1397         fira-share-save-slots, fira-share-spill-slots,
1398         fmodulo-sched-allow-regmoves, fpartial-inlining,
1399         sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
1400         ftracer, ftree-parallelize-loops, fassociative-math,
1401         freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
1402         Optimization
1403         (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
1404         ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
1405         Optimization.
1406         * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
1407         Fix for IPA.
1409 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1411         PR ipa/64378
1412         * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
1413         flag correctly.
1414         * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
1416 2015-01-18  Sandra Loosemore  <sandra@codesourcery.com>
1418         * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
1419         Remove duplicate option listings.
1421 2015-01-18  Felix Yang  <felix.yang@huawei.com>
1423         * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
1424         (autofdo_source_profile::get_callsite_total_count,
1425         function_instance::get_function_instance_by_decl,
1426         string_table::get_index, string_table::get_index_by_decl,
1427         afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
1428         Fix comment typos. Reformatting and minor code rearrangement.
1430 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1432         * config/rs6000/rs6000.md (probe_stack): Delete.
1433         (probe_stack_address): New.
1435 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1437         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
1438         to test for 32-bit ABIs, not !TARGET_POWERPC64.
1440 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1442         * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
1443         (rs6000_function_value): Use it.  Handle SCmode and TCmode as well,
1444         for TARGET_32BIT && TARGET_POWERPC64.  Fix another BITS_PER_WORD
1445         snafu.
1446         (rs6000_libcall_value): Use the new function.
1448 2015-01-17  Sandra Loosemore  <sandra@codesourcery.com>
1450         * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
1452 2015-01-17  Eric Botcazou  <ebotcazou@adacore.com>
1454         * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
1455         implement a more precise life analysis for it during backward scan.
1457 2015-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1459         * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
1461 2015-01-17  Bernd Schmidt  <bernds@codesourcery.com>
1463         PR rtl-optimization/52773
1464         * calls.c (emit_library_call_value): When pushing arguments use
1465         stack_pointer_rtx rather than virtual_outgoing_args_rtx in
1466         CALL_INSN_FUNCTION_USAGE.  Only emit one of use of the magic
1467         stack pointer reference into CALL_INSN_FUNCTION_USAGE.
1469 2015-01-17  Jeff Law  <law@redhat.com>
1471         PR rtl-optimization/32790
1472         * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
1473         not ZERO_EXTEND in SET_DESTs.
1475 2015-01-17  Alan Modra  <amodra@gmail.com>
1477         * cprop.c (do_local_cprop): Revert last change.
1479 2015-01-16  DJ Delorie  <dj@redhat.com>
1480             Nick Clifton  <nickc@redhat.com>
1482         * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
1483         (addhi3_real): Likewise.  Fix [HL+0] syntax.
1484         (subqi3_real): Likewise.
1485         (subhi3_real): Likewise.
1486         (cbranchqi4_real): Likewise.  Allow saddr,#imm.
1487         (cbranchhi4_real): Likewise.
1488         (cbranchhi4_real_inverted): Likewise.
1489         (cbranchsi4_real_lt): Likewise.
1490         (cbranchsi4_real_ge): Likewise.
1491         (cbranchsi4_real_ge): Likewise.
1492         * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
1493         (sub<mode>3_virt): Likewise.
1494         (cbranchqi4_virt): Likewise.
1495         (cbranchhi4_virt): Likewise.
1496         * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
1497         always use '[reg+imm]' even when imm is zero.
1498         * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
1499         (rl78_general_operand): New.
1500         (rl78_nonimmediate_operand): New.
1501         (rl78_nonfar_operand): Use them.
1502         (rl78_nonfar_nonimm_operand): Likewise.
1503         (rl78_stack_based_mem): Fix.
1504         * config/rl78/constraints.md (Ibqi): New.
1505         (IBqi): New.
1506         (Wsa): New.
1507         (Wsf): New.
1508         (Cs1): Fix.
1509         * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
1510         (iorqi3): Likewise.
1511         (xorqi3): Likewise.
1512         * config/rl78/rl78-protos.h (rl78_sfr_p): New.
1514         * config/rl78/constrains (Qs8): New constraint.
1515         * config/rl78/rl78.c (rl78_flags_already_set): New function.
1516         * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
1517         * config/rl78/rl78-real.md (update_Z): New attribute.
1518         Update patterns to set it.
1519         (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
1520         shorter compare and branch sequence can be used.
1521         (cbranchhi4_real): Likewise.
1522         (cbranchhi4_real_inverted): Likewise.
1524         * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
1525         * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
1526         address space.
1527         * config/rl78/rl78.c (rl78_get_name_encoding): New.
1528         (rl78_option_override): Allow -mes0 only if C.
1529         (characterize_address): Support subregs of symbol_refs.
1530         (rl78_addr_space_address_mode): Move.  Add __near.
1531         (rl78_far_p): Likewise.
1532         (rl78_addr_space_pointer_mode): Likewise.
1533         (rl78_as_legitimate_address): Likewise.
1534         (rl78_addr_space_subset_p): Likewise.
1535         (rl78_addr_space_convert): Likewise.
1536         (rl78_print_operand_1): Support 16-bit addressing of 32-bit
1537         symbols with -mes0.
1538         (transcode_memory_rtx): Don't copy ES if -mes0.  Allow symbol[BC]
1539         addressing.
1540         (rl78_alloc_physical_registers_op1): Change logic to prefer
1541         symbol[BC] addressing.
1542         (frodata_section): New.
1543         (rl78_asm_init_sections): Initialize it.
1544         (rl78_select_section): Put __far readonly symbols in .frodata.
1545         (rl78_make_type_far): New.
1546         (rl78_insert_attributes): Force all readonly symbols to be
1547         __far when -mes0.
1548         (rl78_asm_out_integer): New.
1549         * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
1550         * config/rl78/rl78.opt (-mes0): New.
1552         * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
1553         (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
1554         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
1555         * config/rl78/rl78-protos.h (rl78_output_labelref): New.
1556         (rl78_saddr_p): New.
1557         (rl78_output_aligned_common): New.
1558         * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
1559         (rl78_handle_saddr_attribute): New.
1560         (rl78_handle_naked_attribute): New.
1561         (rl78_attribute_table): Add saddr.
1562         (rl78_print_operand_1): Don't print '!' on saddr operands.
1563         (rl78_print_operand_1): Strip encodings.
1564         (rl78_sfr_p): New.
1565         (rl78_strip_name_encoding): New.
1566         (rl78_attrlist_to_encoding): New.
1567         (rl78_encode_section_info): New.
1568         (rl78_asm_init_sections): New.
1569         (rl78_select_section): New.
1570         (rl78_output_labelref): New.
1571         (rl78_output_aligned_common): New.
1572         (rl78_asm_out_integer): New.
1573         (rl78_asm_ctor_dtor): New.
1574         (rl78_asm_constructor): New.
1575         (rl78_asm_destructor): New.
1577         * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
1578         * config/rl78/rl78.c (rl78_expand_epilogue): Update.
1579         (transcode_memory_rtx): Update.
1580         (rl78_expand_epilogue): Use A_REG instead of 0.
1582 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1584         * config/arm/arm-protos.h (struct tune_params): New field
1585         sched_autopref_queue_depth.
1586         * config/arm/arm.c (sched-int.h): Include header.
1587         (arm_first_cycle_multipass_dfa_lookahead_guard,)
1588         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
1589         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
1590         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
1591         (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
1592         (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
1593         (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
1594         (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
1595         Specify sched_autopref_queue_depth value.  Enabled for A15 and A57.
1596         * config/arm/t-arm (arm.o): Update.
1597         * haifa-sched.c (update_insn_after_change): Update.
1598         (rank_for_schedule): Use auto-prefetcher model, if requested.
1599         (autopref_multipass_init): New static function.
1600         (autopref_rank_for_schedule): New rank_for_schedule heuristic.
1601         (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
1602         variable for debug dumps.
1603         (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
1604         (autopref_multipass_dfa_lookahead_guard): New global function that
1605         implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
1606         (init_h_i_d): Update.
1607         * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
1608         * sched-int.h (enum autopref_multipass_data_status): New const enum.
1609         (autopref_multipass_data_): Structure for auto-prefetcher data.
1610         (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
1611         (struct _haifa_insn_data:autopref_multipass_data): New field.
1612         (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
1613         (autopref_multipass_dfa_lookahead_guard): Declare.
1615 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1617         * rtlanal.c (get_base_term): Handle SCRATCH.
1619 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1621         * config/aarch64/aarch64.c
1622         (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
1623         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1624         * config/arm/arm.c
1625         (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
1626         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1628 2015-01-17  Alan Modra  <amodra@gmail.com>
1630         * cprop.c (do_local_cprop): Disallow replacement of fixed
1631         hard registers.
1633 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1635         PR target/62066
1636         * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
1637         early return 0.
1639 2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1641         * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
1642         * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
1644 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1646         * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
1647         * config/arm/thumb1.md: ... Here.
1649 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
1651         * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
1652         TImode for TARGET_32BIT.
1654 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
1656         * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
1657         TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
1658         as ...
1659         (rs6000_abi_word_mode): New function.
1661 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
1663         * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
1664         instead of UNITS_PER_WORD to describe the size of stack slots.
1666 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
1668         * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
1669         as rs6000_promote_function_mode.  Move comment to there.
1670         (rs6000_promote_function_mode): New function.
1672 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
1674         * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
1675         -mpowerpc64 is active.
1677 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
1679         PR middle-end/64353
1680         * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
1681         virtuals on start.
1683 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
1685         * config/arm/cortex-a57.md: Remove duplicate of file accidentally
1686         introduced in revision 219724.
1688 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1689             Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1691         PR target/64263
1692         * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
1693         destination is not a GP reg.
1694         (*movdi_aarch64): Likewise.
1696 2015-01-16  David Edelsohn  <dje.gcc@gmail.com>
1698         PR target/64623
1699         * config/rs6000/default64.h: Revert ISA change.
1701 2015-01-16  Richard Biener  <rguenther@suse.de>
1703         PR middle-end/64614
1704         * tree-ssa-uninit.c: Include tree-cfg.h.
1705         (MAX_SWITCH_CASES): New define.
1706         (convert_control_dep_chain_into_preds): Handle switch statements.
1707         (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
1708         (normalize_one_pred_1): Do not split bit-manipulations.
1709         Record (x & CST).
1711 2015-01-16  Richard Biener  <rguenther@suse.de>
1713         PR tree-optimization/64568
1714         * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
1715         complex load rewriting for TARGET_MEM_REFs.
1717 2015-01-16  Uros Bizjak  <ubizjak@gmail.com>
1719         * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
1721 2015-01-16  Matthew Wahab  <matthew.wahab@arm.com>
1723         PR target/64149
1724         * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
1725         variable.
1726         * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
1727         (aarch64_lra_p): Remove.
1729 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
1731         PR target/64363
1732         * ipa-chkp.h (chkp_instrumentable_p): New.
1733         * ipa-chkp.c: Include tree-inline.h.
1734         (chkp_instrumentable_p): New.
1735         (chkp_maybe_create_clone): Use chkp_instrumentable_p.
1736         Fix processing of not instrumentable functions.
1737         (chkp_versioning): Use chkp_instrumentable_p. Warn about
1738         not instrumentable functions.
1739         * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
1740         chkp_instrumentable_p.
1741         * tree-inline.h (copy_forbidden): New.
1742         * tree-inline.c (copy_forbidden): Not static anymore.
1744 2015-01-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1746         * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
1747         ptr1, ptr2 unused.
1749 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
1751         * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
1752         type OP_OUT to OP_INOUT.
1754 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
1756         * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
1757         (high x) y) to y if x and y have the same base.
1759 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
1761         * config/arm/cortex-a57.md: New.
1762         * config/aarch64/aarch64.md: Include it.
1763         * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
1764         * config/aarch64/aarch64-tune.md: Regenerate.
1766 2015-01-16  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1768         PR target/64015
1769         * ccmp.c (expand_ccmp_next): New function.
1770         (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
1771         and compare insn sequence.
1772         * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
1773         aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
1774         (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
1775         * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
1776         (*ccmp_ior): Changed to ccmp_ior<mode>.
1777         (cmp<mode>): New pattern.
1778         * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
1779         parameters.
1780         * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
1782 2015-01-16  Ilya Tocar  <ilya.tocar@intel.com>
1784         * config/i386/avx2intrin.h (_mm256_bslli_epi128,
1785         _mm256_bsrli_epi128): New.
1786         * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
1788 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
1790         * expmed.c (store_bit_field_using_insv): Improve warning message.
1791         Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
1793 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
1795         PR rtl-optimization/64011
1796         * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
1797         there is partial overflow.
1799 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
1801         * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
1802         prototype.
1803         (nds32_expand_epilogue_v3pop): Likewise.
1804         * config/nds32/nds32.md (sibcall): Define this for sibling call
1805         optimization.
1806         (sibcall_register): Likewise.
1807         (sibcall_immediate): Likewise.
1808         (sibcall_value): Likewise.
1809         (sibcall_value_register): Likewise.
1810         (sibcall_value_immediate): Likewise.
1811         (sibcall_epilogue): Likewise.
1812         (epilogue): Pass false to indicate this is not a sibcall epilogue.
1813         * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
1814         (nds32_expand_epilogue_v3pop): Likewise.
1816 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
1818         * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
1819         * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
1820         (return_internal): New.
1821         (return): Define this named pattern.
1822         (simple_return): Define this named pattern.
1823         * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
1824         pattern instead of unspec_volatile_func_return.
1825         (nds32_expand_epilogue_v3pop): Likewise.
1826         (nds32_can_use_return_insn): New function.
1828 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
1830         * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
1831         * config/nds32/nds32.md (pop25return): New.
1832         * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
1833         pop25return pattern.
1835 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
1837         * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
1838         -mforbid-fp-as-gp, and -mex9 options.
1840 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
1842         * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
1843         remove -mgp-direct option.
1845 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
1847         * doc/invoke.texi (--param early-inlining-insns): Update default value.
1848         * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
1850 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
1852         * ipa-inline.c (inline_small_functions): Work around hints
1853         cache issue.
1855 2015-01-15  Sandra Loosemore  <sandra@codesourcery.com>
1857         PR target/59710
1858         * doc/invoke.texi (Option Summary): Document new Nios II
1859         -mgpopt= syntax.
1860         (Nios II Options): Likewise.
1861         * config/nios2/nios2.opt: Add -mgpopt= option support.
1862         Modify existing -mgpopt and -mno-gpopt options to be aliases.
1863         * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
1864         * config/nios2/nios2.c (nios2_option_override): Adjust
1865         -mgpopt defaulting.
1866         (nios2_in_small_data_p): Return true for explicit small data
1867         sections even with -G0.
1868         (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
1869         option choices.
1871 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
1873         PR ipa/64612
1874         * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
1875         of comdat locals.
1876         (inline_call): Fix removal of aliases.
1878 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
1880         * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
1881         include SANITIZE_VPTR in SANITIZE_UNDEFINED.
1882         * opts.c (common_handle_option): Add -fsanitize=vptr.
1883         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
1884         BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
1885         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
1886         UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
1887         (ubsan_expand_vptr_ifn): New prototype.
1888         * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
1889         expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
1890         expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
1891         expand_LOOP_VECTORIZED): Make argument nameless, remove
1892         ATTRIBUTE_UNUSED.
1893         (expand_UBSAN_VPTR): New function.
1894         * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
1895         in fn spec.
1896         (UBSAN_VPTR): New internal function.
1897         * sanopt.c (tree_map_traits): Renamed to ...
1898         (sanopt_tree_map_traits): ... this.
1899         (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
1900         (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
1901         to sanopt_tree_map_traits renaming.  Add vptr_check_map field.
1902         (maybe_optimize_ubsan_vptr_ifn): New function.
1903         (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
1904         (pass_sanopt::execute): Likewise.  Call sanopt_optimize even for
1905         -fsanitize=vptr.
1906         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
1907         internal calls like pure functions for aliasing, even when they
1908         have other side-effects that prevent making them ECF_PURE.
1909         * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
1910         (ubsan_expand_vptr_ifn): New function.
1912 2015-01-15  Vladimir Makarov  <vmakarov@redhat.com>
1914         PR rtl-optimization/64110
1915         * stmt.c (parse_output_constraint): Process '^' and '$'.
1916         (parse_input_constraint): Ditto.
1917         * lra-constraints.c (process_alt_operands): Process the new
1918         constraints.
1919         * ira-costs.c (record_reg_classes): Process the new constraint
1920         '^'.
1921         * genoutput.c (indep_constraints): Add '^' and '$'.
1922         * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
1923         * doc/md.texi: Add description of the new constraints.
1925 2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
1926             Bernd Schmidt  <bernds@codesourcery.com>
1927             Cesar Philippidis  <cesar@codesourcery.com>
1928             James Norris  <jnorris@codesourcery.com>
1929             Tom de Vries  <tom@codesourcery.com>
1930             Ilmir Usmanov  <i.usmanov@samsung.com>
1931             Dmitry Bocharnikov  <dmitry.b@samsung.com>
1932             Evgeny Gavrin  <e.gavrin@samsung.com>
1933             Jakub Jelinek  <jakub@redhat.com>
1935         * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
1936         (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
1937         (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
1938         New function types.
1939         * builtins.c: Include "gomp-constants.h".
1940         (expand_builtin_acc_on_device): New function.
1941         (expand_builtin, is_inexpensive_builtin): Handle
1942         BUILT_IN_ACC_ON_DEVICE.
1943         * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
1944         New macros.
1945         * cgraph.c (cgraph_node::create): Consider flag_openacc next to
1946         flag_openmp.
1947         * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
1948         <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
1949         i386/intelmic-offload.h.
1950         * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
1951         to libgomp and its dependencies.
1952         * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
1953         * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
1954         * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
1955         * config/ia64/hpux.h (LIB_SPEC): Likewise.
1956         * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1957         * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
1958         * doc/generic.texi: Update for OpenACC changes.
1959         * doc/gimple.texi: Likewise.
1960         * doc/invoke.texi: Likewise.
1961         * doc/sourcebuild.texi: Likewise.
1962         * gimple-pretty-print.c (dump_gimple_omp_for): Handle
1963         GF_OMP_FOR_KIND_OACC_LOOP.
1964         (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
1965         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
1966         GF_OMP_TARGET_KIND_OACC_UPDATE,
1967         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1968         Dump more data.
1969         * gimple.c: Update comments for OpenACC changes.
1970         * gimple.def: Likewise.
1971         * gimple.h: Likewise.
1972         (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
1973         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1974         GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
1975         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1976         (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
1977         appropriate place.
1978         (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
1979         * gimplify.c: Include "gomp-constants.h".
1980         Update comments for OpenACC changes.
1981         (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
1982         OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
1983         OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1984         (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
1985         OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1986         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1987         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
1988         OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1989         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
1990         OMP_CLAUSE_SEQ.
1991         (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
1992         GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
1993         OMP_CLAUSE_SET_MAP_KIND.
1994         (gimplify_oacc_cache): New function.
1995         (gimplify_omp_for): Handle OACC_LOOP.
1996         (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
1997         OACC_DATA.
1998         (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
1999         OACC_EXIT_DATA, OACC_UPDATE.
2000         (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
2001         OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
2002         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
2003         (gimplify_body): Consider flag_openacc next to flag_openmp.
2004         * lto-streamer-out.c: Include "gomp-constants.h".
2005         * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
2006         (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
2007         (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
2008         (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
2009         (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
2010         (BUILT_IN_ACC_ON_DEVICE): New builtins.
2011         * omp-low.c: Include "gomp-constants.h".
2012         Update comments for OpenACC changes.
2013         (struct omp_context): Add reduction_map, gwv_below, gwv_this
2014         members.
2015         (extract_omp_for_data, use_pointer_for_field, install_var_field)
2016         (new_omp_context, delete_omp_context, scan_sharing_clauses)
2017         (create_omp_child_function, scan_omp_for, scan_omp_target)
2018         (check_omp_nesting_restrictions, lower_reduction_clauses)
2019         (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
2020         Update for OpenACC changes.
2021         (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
2022         OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
2023         OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
2024         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
2025         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
2026         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ.  Use GOMP_MAP_* instead of
2027         OMP_CLAUSE_MAP_*.
2028         (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
2029         Handle GF_OMP_FOR_KIND_OACC_LOOP.
2030         (expand_omp_target, lower_omp_target): Handle
2031         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
2032         GF_OMP_TARGET_KIND_OACC_UPDATE,
2033         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
2034         GF_OMP_TARGET_KIND_OACC_DATA.
2035         (pass_expand_omp::execute, execute_lower_omp)
2036         (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
2037         flag_openmp.
2038         (offload_symbol_decl): New variable.
2039         (oacc_get_reduction_array_id, oacc_max_threads)
2040         (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
2041         (maybe_lookup_oacc_reduction, enclosing_target_ctx)
2042         (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
2043         (oacc_gimple_assign, oacc_initialize_reduction_data)
2044         (oacc_finalize_reduction_data, oacc_process_reduction_data): New
2045         functions.
2046         (is_targetreg_ctx): Remove function.
2047         * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
2048         OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
2049         OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
2050         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
2051         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
2052         OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
2053         * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
2054         * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
2055         (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
2056         (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
2057         (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
2058         (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
2059         * tree-core.h: Update comments for OpenACC changes.
2060         (enum omp_clause_map_kind): Remove.
2061         (struct tree_omp_clause): Change type of map_kind member from enum
2062         omp_clause_map_kind to unsigned char.
2063         * tree-inline.c: Update comments for OpenACC changes.
2064         * tree-nested.c: Likewise.  Include "gomp-constants.h".
2065         (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
2066         (convert_tramp_reference_stmt, convert_gimple_call): Update for
2067         OpenACC changes.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
2068         OMP_CLAUSE_SET_MAP_KIND.
2069         * tree-pretty-print.c: Include "gomp-constants.h".
2070         (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
2071         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
2072         OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
2073         OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
2074         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
2075         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT.  Use GOMP_MAP_*
2076         instead of OMP_CLAUSE_MAP_*.
2077         (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
2078         OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
2079         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
2080         * tree-streamer-in.c: Include "gomp-constants.h".
2081         (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
2082         OMP_CLAUSE_MAP_*.  Use OMP_CLAUSE_SET_MAP_KIND.
2083         * tree-streamer-out.c: Include "gomp-constants.h".
2084         (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
2085         OMP_CLAUSE_MAP_*.
2086         * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
2087         (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
2088         (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
2089         * tree.c (omp_clause_num_ops): Update accordingly.
2090         * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
2091         Likewise.
2092         (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
2093         (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
2094         (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
2095         (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
2096         (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
2097         (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
2098         * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
2099         (OMP_CLAUSE_SET_MAP_KIND): New macro.
2100         * varpool.c (varpool_node::get_create): Consider flag_openacc next
2101         to flag_openmp.
2102         * config/i386/intelmic-offload.h: New file.
2103         * config/nvptx/offload.h: Likewise.
2105 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2107         * explow.h: Remove duplicate contents.
2108         * dojump.h: Likewise.
2110 2015-01-15  Richard Earnshaw  <rearnsha@arm.com>
2112         * arm.c (arm_xgene_tune): Add default initializer for instruction
2113         fusion.
2115 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
2117         PR ipa/64068
2118         PR ipa/64559
2119         * ipa.c (symbol_table::remove_unreachable_nodes):
2120         Do not put abstract origins into boundary.
2122 2015-01-15  Evgeny Stupachenko  <evstupac@gmail.com>
2124         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
2125         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
2127 2015-01-15  Steve Ellcey  <sellcey@mips.com>
2129         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
2130         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
2131         builtins.def, and chkp-builtins.def.
2133 2015-01-15  David Edelsohn  <dje.gcc@gmail.com>
2135         * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
2136         ISA 2.7 (POWER8).
2138 2015-01-15  Richard Biener  <rguenther@suse.de>
2140         PR tree-optimization/61743
2141         * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
2142         information on PHIs for some simple cases.
2144 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2146         * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
2147         Include xgene1.md.
2148         * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
2149         * config/arm/arm-cores.def (xgene1): New entry.
2150         * config/arm/arm-tables.opt: Regenerate.
2151         * config/arm/arm-tune.md: Regenerate.
2152         * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
2154 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
2156         * tree-if-conv.c: Include hash-map.h.
2157         (aggressive_if_conv): New variable.
2158         (fold_build_cond_expr): Add simplification of non-zero condition.
2159         (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
2160         destination block is not always executed.
2161         (if_convertible_phi_p): Fix commentary, allow phi nodes have more
2162         than two predecessors if AGGRESSIVE_IF_CONV is true.
2163         (if_convertible_stmt_p): Fix commentary.
2164         (all_preds_critical_p): New function.
2165         (has_pred_critical_p): New function.
2166         (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
2167         BB can have more than two predecessors and all incoming edges can be
2168         critical.
2169         (predicate_bbs): Skip predication for loop exit block, use build2_loc
2170         to compute predicate for true edge.
2171         (find_phi_replacement_condition): Delete this function.
2172         (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
2173         Allow interchange PHI arguments if EXTENDED is false.
2174         Change check that block containing reduction statement candidate
2175         is predecessor of phi-block since phi may have more than two arguments.
2176         (phi_args_hash_traits): New helper structure.
2177         (struct phi_args_hash_traits): New type.
2178         (phi_args_hash_traits::hash): New function.
2179         (phi_args_hash_traits::equal_keys): New function.
2180         (gen_phi_arg_condition): New function.
2181         (predicate_scalar_phi): Add handling of phi nodes with more than two
2182         arguments, delete COND and TRUE_BB arguments, insert body of
2183         find_phi_replacement_condition to predicate ordinary phi nodes.
2184         (predicate_all_scalar_phis): Skip blocks with the only predecessor,
2185         delete call of find_phi_replacement_condition and invoke
2186         predicate_scalar_phi with two arguments.
2187         (insert_gimplified_predicates): Add assert that non-predicated block
2188         don't have statements to insert.
2189         (ifcvt_split_critical_edges): New function.
2190         (ifcvt_split_def_stmt): Likewise.
2191         (ifcvt_walk_pattern_tree): Likewise.
2192         (stmt_is_root_of_bool_pattern): Likewise.
2193         (ifcvt_repair_bool_pattern): Likewise.
2194         (ifcvt_local_dce): Likewise.
2195         (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
2196         is copy of inner or outer loop force_vectorize field, invoke
2197         ifcvt_split_critical_edges, ifcvt_local_dce and
2198         ifcvt_repair_bool_pattern for aggressive if-conversion.
2200 2015-01-15  Philipp Tomsich  <ptomsich@theobroma-systems.com>
2202         * config/aarch64/aarch64.md: Include xgene1.md.
2203         * config/aarch64/xgene1.md: New file.
2205 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2207         * config/aarch64/aarch64-cores.def (xgene1): Update/add the
2208         xgene1 (APM XGene-1) core definition.
2209         * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
2210         * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
2211         * doc/invoke.texi: Document -mcpu=xgene1.
2213 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2215         * dojump.h: New header file.
2216         * explow.h: Likewise.
2217         * expr.h: Remove includes.
2218         Move expmed.c prototypes to expmed.h.
2219         Move dojump.c prototypes to dojump.h.
2220         Move alias.c prototypes to alias.h.
2221         Move explow.c prototypes to explow.h.
2222         Move calls.c prototypes to calls.h.
2223         Move emit-rtl.c prototypes to emit-rtl.h.
2224         Move varasm.c prototypes to varasm.h.
2225         Move stmt.c prototypes to stmt.h.
2226         (saved_pending_stack_adjust): Move to dojump.h.
2227         (adjust_address): Move to explow.h.
2228         (adjust_address_nv): Move to emit-rtl.h.
2229         (adjust_bitfield_address): Likewise.
2230         (adjust_bitfield_address_size): Likewise.
2231         (adjust_bitfield_address_nv): Likewise.
2232         (adjust_automodify_address_nv): Likewise.
2233         * explow.c (expr_size): Move to expr.c.
2234         (int_expr_size): Likewise.
2235         (tree_expr_size): Likewise.
2236         Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2237         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2238         * genemit.c (main): Generate includes statistics.h, real.h,
2239         fixed-value.h, insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
2240         stmt.h.
2241         * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h,
2242         function.h, statistics.h, real.h, fixed-value.h, expmed.h, dojump.h,
2243         explow.h, emit-rtl.h, stmt.h.
2244         * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
2245         fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
2246         * genemit.c (open_base_files): Generate includes flags.h, statistics.h,
2247         real.h, fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h,
2248         emit-rtl.h, varasm.h, stmt.h.
2249         * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h,
2250         hash-set.h, vec.h, machmode.h, tm.h, hard-reg-set.h, input.h,
2251         function.h, rtl.h, flags.h, statistics.h, double-int.h, real.h,
2252         fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h, insn-config.h,
2253         expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
2254         * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
2255         double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
2256         function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
2257         insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
2258         tm.h tree.h varasm.h vec.h wide-int.h.
2259         * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2260         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2261         hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
2262         real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
2263         * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h
2264         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h
2265         insn-config.h real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
2266         * loop-iv.c: Likewise.
2267         * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h
2268         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h real.h
2269         statistics.h stmt.h tree.h varasm.h wide-int.h.
2270         * lra-constraints.c: Likewise.
2271         * lra-eliminations.c: Likewise.
2272         * lra-lives.c: Likewise.
2273         * lra-remat.c: Likewise.
2274         * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2275         explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
2276         statistics.h stmt.h tree.h varasm.h wide-int.h.
2277         * hw-doloop.c: Likewise.
2278         * ira-color.c: Likewise.
2279         * ira-emit.c: Likewise.
2280         * loop-doloop.c: Likewise.
2281         * loop-invariant.c: Likewise.
2282         * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2283         explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
2284         statistics.h stmt.h tree.h varasm.h wide-int.h.
2285         * caller-save.c: Include alias.h calls.h dojump.h double-int.h
2286         emit-rtl.h explow.h expmed.h fixed-value.h inchash.h real.h
2287         statistics.h stmt.h tree.h varasm.h wide-int.h.
2288         * combine-stack-adj.c: Likewise.
2289         * cse.c: Likewise.
2290         * ddg.c: Likewise.
2291         * ifcvt.c: Likewise.
2292         * ira-costs.c: Likewise.
2293         * jump.c: Likewise.
2294         * lra-coalesce.c: Likewise.
2295         * lra-spills.c: Likewise.
2296         * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2297         explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
2298         stmt.h varasm.h wide-int.h.
2299         * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2300         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2301         varasm.h.
2302         * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
2303         double-int.h explow.h expmed.h fixed-value.h flags.h real.h
2304         statistics.h stmt.h varasm.h wide-int.h.
2305         * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
2306         expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
2307         varasm.h wide-int.h.
2308         * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
2309         expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2310         * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
2311         emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
2312         statistics.h stmt.h.
2313         * config/tilepro/tilepro.c: Likewise.
2314         * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
2315         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
2316         * config/pdp11/pdp11.c: Likewise.
2317         * config/xtensa/xtensa.c: Likewise.
2318         * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
2319         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2320         varasm.h.
2321         * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2322         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2323         insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
2324         * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2325         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2326         insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
2327         * rtl-chkp.c: Likewise.
2328         * tree-chkp-opt.c: Likewise.
2329         * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h
2330         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2331         hashtab.h insn-config.h real.h statistics.h stmt.h varasm.h.
2332         * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2333         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2334         statistics.h stmt.h.
2335         * tree-vect-data-refs.c: Likewise.
2336         * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
2337         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2338         rtl.h statistics.h stmt.h varasm.h.
2339         * internal-fn.c: Likewise.
2340         * ipa-icf-gimple.c: Likewise.
2341         * lto-section-out.c: Likewise.
2342         * tree-data-ref.c: Likewise.
2343         * tree-nested.c: Likewise.
2344         * tree-outof-ssa.c: Likewise.
2345         * tree-predcom.c: Likewise.
2346         * tree-pretty-print.c: Likewise.
2347         * tree-scalar-evolution.c: Likewise.
2348         * tree-ssa-strlen.c: Likewise.
2349         * tree-vect-loop.c: Likewise.
2350         * tree-vect-patterns.c: Likewise.
2351         * tree-vect-slp.c: Likewise.
2352         * tree-vect-stmts.c: Likewise.
2353         * tsan.c: Likewise.
2354         * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2355         fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
2356         stmt.h.
2357         * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
2358         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2359         statistics.h stmt.h varasm.h.
2360         * loop-unroll.c: Likewise.
2361         * ubsan.c: Likewise.
2362         * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
2363         expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
2364         stmt.h varasm.h.
2365         * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2366         fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
2367         * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
2368         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2369         statistics.h stmt.h.
2370         * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
2371         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2372         statistics.h stmt.h varasm.h.
2373         * gimple-match-head.c: Likewise.
2374         * lto-cgraph.c: Likewise.
2375         * lto-section-in.c: Likewise.
2376         * lto-streamer-in.c: Likewise.
2377         * lto-streamer-out.c: Likewise.
2378         * tree-affine.c: Likewise.
2379         * tree-cfg.c: Likewise.
2380         * tree-cfgcleanup.c: Likewise.
2381         * tree-if-conv.c: Likewise.
2382         * tree-into-ssa.c: Likewise.
2383         * tree-ssa-alias.c: Likewise.
2384         * tree-ssa-copyrename.c: Likewise.
2385         * tree-ssa-dse.c: Likewise.
2386         * tree-ssa-forwprop.c: Likewise.
2387         * tree-ssa-live.c: Likewise.
2388         * tree-ssa-math-opts.c: Likewise.
2389         * tree-ssa-pre.c: Likewise.
2390         * tree-ssa-sccvn.c: Likewise.
2391         * tree-tailcall.c: Likewise.
2392         * tree-vect-generic.c: Likewise.
2393         * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2394         fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
2395         * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2396         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
2397         * varasm.c: Likewise.
2398         * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2399         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
2400         varasm.h.
2401         * init-regs.c: Likewise.
2402         * ira.c: Likewise.
2403         * omp-low.c: Likewise.
2404         * stack-ptr-mod.c: Likewise.
2405         * tree-ssa-reassoc.c: Likewise.
2406         * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2407         fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
2408         varasm.h.
2409         * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2410         fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
2411         * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2412         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
2413         * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2414         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
2415         * tree-ssa-phiopt.c: Likewise.
2416         * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2417         fixed-value.h hashtab.h real.h statistics.h stmt.h.
2418         * config/fr30/fr30.c: Likewise.
2419         * config/frv/frv.c: Likewise.
2420         * expr.c: Likewise.
2421         * final.c: Likewise.
2422         * optabs.c: Likewise.
2423         * passes.c: Likewise.
2424         * simplify-rtx.c: Likewise.
2425         * stmt.c: Likewise.
2426         * toplev.c: Likewise.
2427         * var-tracking.c: Likewise.
2428         * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2429         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2430         * lower-subreg.c: Likewise.
2431         * postreload-gcse.c: Likewise.
2432         * ree.c: Likewise.
2433         * reginfo.c: Likewise.
2434         * store-motion.c: Likewise.
2435         * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2436         fixed-value.h hashtab.h real.h stmt.h varasm.h.
2437         * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2438         fixed-value.h hashtab.h statistics.h stmt.h.
2439         * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2440         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2441         * except.c: Likewise.
2442         * explow.c: Likewise.
2443         * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2444         fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
2445         varasm.h.
2446         * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2447         fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
2448         * tree-ssa-structalias.c: Likewise.
2449         * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2450         fixed-value.h insn-config.h real.h statistics.h.
2451         * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2452         fixed-value.h insn-config.h real.h statistics.h stmt.h.
2453         * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2454         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2455         * cfgbuild.c: Likewise.
2456         * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2457         fixed-value.h real.h rtl.h statistics.h stmt.h.
2458         * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2459         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2460         * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2461         fixed-value.h real.h statistics.h stmt.h.
2462         * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2463         fixed-value.h real.h statistics.h stmt.h varasm.h.
2464         * cprop.c: Likewise.
2465         * modulo-sched.c: Likewise.
2466         * postreload.c: Likewise.
2467         * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2468         flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
2469         statistics.h stmt.h varasm.h.
2470         * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
2471         explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2472         rtl.h statistics.h stmt.h varasm.h.
2473         * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
2474         fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
2475         varasm.h.
2476         * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2477         function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
2478         varasm.h.
2479         * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
2480         fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
2481         varasm.h.
2482         * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
2483         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2484         * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2485         function.h real.h statistics.h stmt.h varasm.h.
2486         * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2487         insn-config.h real.h statistics.h stmt.h.
2488         * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2489         statistics.h stmt.h.
2490         * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
2491         fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
2492         statistics.h stmt.h varasm.h.
2493         * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h
2494         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
2495         * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2496         flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
2497         * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
2498         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2499         statistics.h stmt.h varasm.h.
2500         * ipa-polymorphic-call.c: Likewise.
2501         * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h
2502         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2503         statistics.h stmt.h.
2504         * config/c6x/c6x.c: Likewise.
2505         * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h
2506         explow.h expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2507         statistics.h stmt.h varasm.h.
2508         * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h
2509         fixed-value.h hashtab.h insn-config.h real.h rtl.h statistics.h
2510         stmt.h varasm.h.
2511         * ipa-split.c: Likewise.
2512         * tree-eh.c: Likewise.
2513         * tree-ssa-dce.c: Likewise.
2514         * tree-ssa-loop-niter.c: Likewise.
2515         * tree-vrp.c: Likewise.
2516         * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
2517         expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
2518         stmt.h.
2519         * config/nds32/nds32-fp-as-gp.c: Likewise.
2520         * config/nds32/nds32-intrinsic.c: Likewise.
2521         * config/nds32/nds32-isr.c: Likewise.
2522         * config/nds32/nds32-md-auxiliary.c: Likewise.
2523         * config/nds32/nds32-memory-manipulation.c: Likewise.
2524         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
2525         * config/nds32/nds32-predicates.c: Likewise.
2526         * config/nds32/nds32.c: Likewise.
2527         * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
2528         fixed-value.h hashtab.h real.h statistics.h.
2529         * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
2530         fixed-value.h hashtab.h real.h statistics.h stmt.h.
2531         * config/arm/arm.c: Likewise.
2532         * config/avr/avr.c: Likewise.
2533         * config/bfin/bfin.c: Likewise.
2534         * config/h8300/h8300.c: Likewise.
2535         * config/i386/i386.c: Likewise.
2536         * config/ia64/ia64.c: Likewise.
2537         * config/iq2000/iq2000.c: Likewise.
2538         * config/m32c/m32c.c: Likewise.
2539         * config/m32r/m32r.c: Likewise.
2540         * config/m68k/m68k.c: Likewise.
2541         * config/mcore/mcore.c: Likewise.
2542         * config/mep/mep.c: Likewise.
2543         * config/mips/mips.c: Likewise.
2544         * config/mn10300/mn10300.c: Likewise.
2545         * config/moxie/moxie.c: Likewise.
2546         * config/pa/pa.c: Likewise.
2547         * config/rl78/rl78.c: Likewise.
2548         * config/rx/rx.c: Likewise.
2549         * config/s390/s390.c: Likewise.
2550         * config/sh/sh.c: Likewise.
2551         * config/sparc/sparc.c: Likewise.
2552         * config/spu/spu.c: Likewise.
2553         * config/stormy16/stormy16.c: Likewise.
2554         * config/v850/v850.c: Likewise.
2555         * config/vax/vax.c: Likewise.
2556         * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
2557         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2558         * config/msp430/msp430.c: Likewise.
2559         * predict.c: Likewise.
2560         * value-prof.c: Likewise.
2561         * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
2562         expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
2563         * config/microblaze/microblaze.c: Likewise.
2564         * config/nios2/nios2.c: Likewise.
2565         * config/rs6000/rs6000.c: Likewise.
2566         * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2567         insn-config.h real.h rtl.h statistics.h stmt.h.
2568         * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2569         insn-config.h real.h statistics.h stmt.h.
2570         * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
2571         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2572         * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
2573         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2574         * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h
2575         fixed-value.h real.h statistics.h stmt.h.
2576         * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
2577         fixed-value.h statistics.h stmt.h.
2578         * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
2579         stmt.h.
2581 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
2583         * gengtype.c (create_user_defined_type): Workaround
2584         -Wmaybe-uninitialized false positives.
2585         * cse.c (fold_rtx): Likewise.
2586         * loop-invariant.c (gain_for_invariant): Likewise.
2588 2015-01-15  Eric Botcazou  <ebotcazou@adacore.com>
2590         * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
2591         set the memory attributes in all cases but clear MEM_EXPR if need be.
2593 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
2595         PR tree-optimization/64434
2596         * cfgexpand.c (reorder_operands): New function.
2597         (expand_gimple_basic_block): Insert call of reorder_operands if
2598         optimized is true.
2600 2015-01-15  Matthew Fortune  <matthew.fortune@imgtec.com>
2602         * config/mips/micromips.md (*swp): Remove explicit parallel.
2603         (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
2604         * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
2605         (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
2606         (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
2607         (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
2608         (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
2609         (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
2610         (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
2611         (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
2612         (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
2613         (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
2614         (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
2615         (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
2616         (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
2617         (mips_wrdsp): Likewise.
2618         * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
2619         parallel.
2620         (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
2621         (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
2622         (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
2623         (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
2624         (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
2625         (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
2626         * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
2627         (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
2628         (ssmaddsqdq4, ssmsubsqdq4): Likewise.
2630 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
2632         * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
2633         (mips_print_operand): Support 'y' to print exact log2 in decimal
2634         of a const_int.
2635         * config/mips/mips.h (ISA_HAS_LSA): New define.
2636         (ISA_HAS_DLSA): Likewise.
2637         * config/mips/mips.md (<GPR:d>lsa): New define_insn.
2638         * config/mips/predicates.md (const_immlsa_operand): New predicate.
2640 2015-01-15  Martin Liska  <mliska@suse.cz>
2642         PR target/64377
2643         * optc-save-gen.awk: Add support for array types.
2645 2015-01-15  Richard Biener  <rguenther@suse.de>
2647         PR middle-end/64365
2648         * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
2649         for MEM_REF access functions with the same base can never partially
2650         overlap.
2652 2015-01-14  Marcos Diaz <marcos.diaz@tallertechnologies.com>
2654         * common.opt: New option -fstack-protector-explicit.
2655         * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
2656         (stack_protect_decl_phase): Handle stack_protect attribute for
2657         explicit stack protection requests.
2658         (expand_used_vars): Similarly.
2659         * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
2660         * doc/extend.texi: Add documentation for "stack_protect" attribute.
2661         * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
2663 2015-01-14  Oleg Endo  <olegendo@gcc.gnu.org>
2665         PR target/53988
2666         * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
2667         reg-reg copies.
2668         (sh_extending_set_of_reg): New struct.
2669         (sh_find_extending_set_of_reg, sh_split_tst_subregs,
2670         sh_remove_reg_dead_or_unused_notes): New Declarations.
2671         * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
2672         sh_find_extending_set_of_reg, sh_split_tst_subregs,
2673         sh_extending_set_of_reg::use_as_extended_reg): New functions.
2674         * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
2675         convert to insn_and_split and use new function sh_split_tst_subregs.
2677 2015-01-14  Sandra Loosemore  <sandra@codesourcery.com>
2679         * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
2680         option.
2681         (Optimization Options): Move -fuse-ld documentation to...
2682         (Link Options): ...here.
2684 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
2686         * config/mips/constraints.md (ZC): Add support for R6 LL/SC
2687         offsets.
2688         (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
2689         * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
2690         (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
2691         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
2692         instead of ZR for the memory operand of LL/SC.
2693         (compare_and_swap_12, sync_add<mode>): Likewise.
2694         (sync_<optab>_12, sync_old_<optab>_12): Likewise.
2695         (sync_new_<optab>_12, sync_nand_12): Likewise.
2696         (sync_old_nand_12, sync_new_nand_12): Likewise.
2697         (sync_sub<mode>, sync_old_add<mode>): Likewise.
2698         (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
2699         (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
2700         (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
2701         (sync_nand<mode>, sync_old_nand<mode>): Likewise.
2702         (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
2703         (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
2704         (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
2705         * doc/md.texi (ZC): Update description.
2707 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
2709         * builtins.c (expand_builtin_atomic_exchange): Remove error when
2710         memory model is CONSUME.
2711         (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
2712         expand_builtin_atomic_store): Change invalid memory model errors to
2713         warnings.
2714         (expand_builtin_atomic_clear): Change invalid model errors to warnings
2715         and issue warning for CONSUME.
2717 2015-01-14  Aldy Hernandez  <aldyh@redhat.com>
2719         * lto-cgraph: Update function comments for
2720         lto_symtab_encoder_encode_*.
2722 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
2724         * Makefile.in (site.exp): Do not set ENABLE_LTO.
2726 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
2728         * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
2729         * lto-cgraph.c (select_what_to_stream): Remove argument, use
2730         lto_stream_offload_p instead.
2731         * lto-streamer.h (select_what_to_stream): Remove argument.
2732         * passes.c (ipa_write_summaries): Likewise.
2733         * tree-pass.h (ipa_write_summaries): Likewise.
2735 2015-01-14  Richard Biener  <rguenther@suse.de>
2737         PR tree-optimization/59354
2738         * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
2739         groups larger than the slp group size as having gaps.
2741 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
2743         PR middle-end/59448
2744         * builtins.c (get_memmodel): Promote consume to acquire always.
2746 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
2748         PR target/64386
2749         * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
2750         V32HImode.
2752 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
2754         PR target/64393
2755         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
2756         Enable AVX512BW.
2757         (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
2758         * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
2759         AVX512VBMI, as it implies AVX512BW.
2761 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
2763         PR target/64387
2764         * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
2765         (vec_unpacks_hi_v16sf): Ditto.
2767 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2769         * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
2770         is not available.
2772 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2774         * doc/invoke.texi (mapcs): Mention deprecation.
2775         (mapcs-frame): Likewise.
2777 2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2779         PR target/64453
2780         * config/arm/arm.c (callee_saved_reg_p): Define.
2781         (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
2782         register is callee saved instead of !call_used_regs[reg].
2783         (thumb1_compute_save_reg_mask): Likewise.
2785 2015-01-14  Hale Wang  <hale.wang@arm.com>
2787         * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
2788         Cortex-M7.
2790 2015-01-14  Richard Biener  <rguenther@suse.de>
2792         PR lto/64415
2793         * tree-inline.c (insert_debug_decl_map): Check destination
2794         function MAY_HAVE_DEBUG_STMTS.
2795         (insert_init_debug_bind): Likewise.
2796         (insert_init_stmt): Remove redundant check.
2797         (remap_gimple_stmt): Drop debug stmts if the destination
2798         function has var-tracking assignments disabled.
2800 2015-01-14  Martin Liska  <mliska@suse.cz>
2802         * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
2803         IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
2805 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2807         PR target/64460
2808         * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
2809         (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
2811 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
2813         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
2814         level from an ARCH; do not inject the default.
2815         (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
2816         MIPS_ISA_LEVEL_SPEC.
2817         (MIPS_ISA_NAN2008_SPEC): Update comment.
2818         (BASE_DRIVER_SELF_SPECS): Likewise.
2819         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
2820         MIPS_DEFAULT_ISA_LEVEL_SPEC.
2821         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
2822         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
2823         * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
2825 2015-01-14  Richard Biener  <rguenther@suse.de>
2827         PR tree-optimization/64493
2828         PR tree-optimization/64495
2829         * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
2830         assign the proper vectorized PHI to the inner loop exit PHIs.
2832 2015-01-14  Joey Ye  <joey.ye@arm.com>
2834         * config/arm/arm.c (arm_compute_save_reg_mask):
2835         Do not save lr in case of tail call.
2836         * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
2838 2015-01-14  Martin Uecker <uecker@eecs.berkeley.edu>
2840         * tree-vrp.c (check_array_ref): Emit more warnings
2841         for warn_array_bounds >= 2.
2842         * common.opt: New option -Warray-bounds=.
2843         * doc/invoke.texi: Document -Warray-bounds=.
2845 2015-01-14  Chung-Ju Wu  <jasonwucj@gmail.com>
2847         * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
2848         (mforbid-fp-as-gp): Remove.
2849         (mex9): Remove.
2850         * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
2851         (nds32_symbol_load_store_p): Remove.
2852         (nds32_fp_as_gp_check_available): Clean up implementation.
2853         * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
2854         cases.
2855         * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
2856         fp-as-gp and ex9 cases.
2858 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
2860         * tree-profile.c (init_ic_make_global_vars): Drop workaround
2861         for bintuils bug 14342.
2862         (init_ic_make_global_vars): Likewise.
2863         (gimple_init_edge_profiler): Likewise.
2864         (gimple_gen_ic_func_profiler): Likewise.
2866 2015-01-13  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
2868         * ipa-inline.c (inline_small_functions): Swap the operands in
2869         enum.
2871 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
2873         PR ipa/64481
2874         * ipa-inline-analysis.c (node_growth_cache): Remove.
2875         (initialize_growth_caches): Do not initialize it.
2876         (free_growth_caches): Do not free it.
2877         (do_estimate_growth): Rename to ...
2878         (estimate_growth): ... this one; drop growth cache code.
2879         (growth_likely_positive): Always go the heuristics way.
2880         * ipa-inline.c (can_inline_edge_p): Walk through aliases.
2881         (reset_edge_caches): Do not reset node growth.
2882         (heap_edge_removal_hook): Do not maintain cache.
2883         (inline_small_functions): Likewise; strenghten sanity check.
2884         (ipa_inline): Do not maintain caches.
2885         * ipa-inline.h (node_growth_cache): Remove.
2886         (do_estimate_growth): Remove to ...
2887         (estimate_growth): this one; remove inline version.
2888         (reset_node_growth_cache): Remove.
2890 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
2892         PR ipa/64565
2893         * ipa-inline.c (inline_small_functions): Update callee keys after
2894         resolving speculation
2895         (inline_small_functions): Always check monotonicity of the queue.
2897 2015-01-13  Marek Polacek  <polacek@redhat.com>
2899         PR middle-end/64391
2900         * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
2902 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
2904         PR rtl-optimization/64286
2905         * ree.c (combine_reaching_defs): Move part of comment earlier,
2906         remove !SCALAR_INT_MODE_P check.
2907         (add_removable_extension): Don't add vector mode
2908         extensions if all uses of the source register aren't the same
2909         vector extensions.
2911 2015-01-13  Renlin Li  <renlin.li@arm.com>
2913         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
2914         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
2916 2015-01-13  Martin Liska  <mliska@suse.cz>
2918         * ipa-icf.c (sem_function::equals_private): Call new functions
2919         cl_target_option_print_diff and cl_optimization_print_diff.
2920         * optc-save-gen.awk (cl_target_option_print_diff): New function.
2921         (cl_optimization_print_diff): Likewise.
2922         * opth-gen.awk: Likewise.
2924 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
2926         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
2927         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
2928         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
2929         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
2930         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
2931         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
2933 2015-01-13  Andrew Pinski   <apinski@cavium.com>
2935         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
2936         instead of src mode.
2938 2015-01-13  Richard Biener  <rguenther@suse.de>
2940         PR lto/64373
2941         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
2942         DECL_CONTEXT.
2944 2015-01-13  Andrew Pinski   <apinski@cavium.com>
2946         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
2947         volatile mems.
2948         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
2950 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
2952         PR middle-end/63974
2953         * cfgexpand.c (expand_computed_goto): Don't call
2954         convert_memory_address here.
2956 2015-01-13  Richard Biener  <rguenther@suse.de>
2958         PR tree-optimization/64406
2959         * tree-loop-distibution.c (pass_loop_distribution::execute):
2960         Reset the SCEV hashtable if we distributed anything.
2962 2015-01-13  Richard Biener  <rguenther@suse.de>
2964         PR tree-optimization/64404
2965         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
2966         SLP types for CSEd loads.
2968 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2970         PR tree-optimization/64436
2971         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
2972         merge of two symbolic numbers for a bitwise OR to ...
2973         (perform_symbolic_merge): This. Also fix computation of the range and
2974         end of the symbolic number corresponding to the result of a bitwise OR.
2976 2015-01-13  Richard Biener  <rguenther@suse.de>
2978         PR tree-optimization/64568
2979         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
2980         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
2982 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2984         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
2985         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
2987 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2989         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
2990         target-specific symbol_ref flag.
2991         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
2992         resides in rodata section.
2993         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
2994         (nds32_encode_section_info): New function.
2996 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2998         * config/nds32/nds32.md (call): Use pseudo instruction bal which
2999         clobbers TA_REGNUM if large code model is specified.
3000         (call_register): Likewise.
3001         (call_immediate): Likewise.
3002         (call_value): Likewise.
3003         (call_value_register): Likewise.
3004         (call_value_immediate): Likewise.
3006 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3008         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
3009         (TARGET_CMODEL_MEDIUM): New macro.
3010         (TARGET_CMODEL_LARGE): New macro.
3011         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
3012         code model setting in assembly code.
3014 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3016         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
3017         Remove MASK_GP_DIRECT flag.
3018         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
3019         one of the multilib default options.
3020         * config/nds32/nds32.opt (mgp-direct): Remove.
3021         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
3022         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
3024 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3026         * config/nds32/nds32.opt (mcmodel): Add new option.
3027         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
3028         to describe code model.
3030 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
3032         PR target/64479
3033         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
3035 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3037         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
3038         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
3039         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
3040         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
3041         __builtin_sh_set_fpscr.
3043 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
3045         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
3046         after a funtion name just to indicate it is a function.
3047         ([-fsanitize-undefined-trap-on-error]): Likewise.
3048         ([-fdbg-cnt=]): Likewise.
3049         ([-mmemcpy]): Likewise.
3050         ([-mflush-func]): Likewise.
3051         ([-msynci]): Likewise.
3053 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
3055         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
3056         example.
3058 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
3060         PR tree-optimization/64563
3061         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
3062         instead of != VR_VARYING.
3064         PR target/64513
3065         * config/i386/i386.c (ix86_expand_prologue): Add
3066         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
3068         PR tree-optimization/64454
3069         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
3070         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
3071         for signed or [0, op1 - 1] for unsigned modulo.
3072         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
3073         even if op1 does not satisfy integer_pow2p.
3075         PR other/64370
3076         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
3078 2015-01-12  Jeff Law  <law@redhat.com>
3080         PR target/64461
3081         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
3082         (trunchiqi2, truncsihi2): Similarly.
3084         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
3085         rather than calling F.
3087 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3089         * tsan.c (instrument_expr): Use force_gimple_operand.
3090         Use may_be_nonaddressable_p instead of is_gimple_addressable.
3092 2015-01-12  Richard Biener  <rguenther@suse.de>
3094         PR tree-optimization/64530
3095         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
3096         back dr1.
3098 2015-01-12  Richard Biener  <rguenther@suse.de>
3100         PR middle-end/64357
3101         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
3102         latches properly.
3104 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3106         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
3107         Cortex-A17 tuning parameters.
3108         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
3110 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3112         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
3113         * config/arm/arm.c (arm_macro_fusion_p): New function.
3114         (arm_macro_fusion_pair_p): Likewise.
3115         (TARGET_SCHED_MACRO_FUSION_P): Define.
3116         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
3117         (ARM_FUSE_NOTHING): Likewise.
3118         (ARM_FUSE_MOVW_MOVT): Likewise.
3119         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
3120         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
3121         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
3122         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
3123         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
3124         arm_cortex_a5_tune): Specify fuseable_ops value.
3126 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
3128         PR bootstrap/64561
3129         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
3130         test for PIE with copy reloc.
3131         * configure: Regenerated.
3133 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3135         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
3136         in gen_rtx_REG.
3137         (arm_tls_descseq_addr): Likewise.
3138         (arm_gen_movmemqi): Likewise.
3139         (arm_expand_epilogue_apcs_frame): Likewise.
3140         (arm_expand_epilogue): Likewise.
3141         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
3142         in gen_rtx_REG.
3144 2015-01-12  Martin Liska  <mliska@suse.cz>
3146         PR ipa/64550
3147         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
3148         volatility for correct operands.
3150 2015-01-12  Martin Liska  <mliska@suse.cz>
3152         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3153         that a function is not leaf.
3154         (sem_function::compare_polymorphic_p): Likewise.
3156 2015-01-12  Martin Liska  <mliska@suse.cz>
3158         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3159         that a function is not leaf.
3160         (sem_function::compare_polymorphic_p): Likewise.
3162 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
3164         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
3165         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
3166         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
3167         fold-const.h, tree-check.h.
3169 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
3171         PR ipa/63967
3172         PR ipa/64425
3173         * ipa-inline.c (compute_uninlined_call_time,
3174         compute_inlined_call_time): Use counts for extra precision when
3175         needed possible.
3176         (big_speedup_p): Fix formating.
3177         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
3178         (relative_time_benefit): Remove.
3179         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
3180         merge guessed and read profile paths.
3181         (inline_small_functions): Count only !optimize_size functions into
3182         initial size; be more lax about sanity check when profile is used;
3183         be sure to update inlined function profile when profile is read.
3185 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
3187         PR ipa/63470
3188         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
3189         cost when edge becomes direct.
3190         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
3191         is resolved or when introducing new speculation.
3193 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
3195         PR ipa/64551
3196         PR ipa/64552
3197         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
3198         '||' to fix typo issue.
3200         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
3201         accept and return NULL.
3203 2015-01-12  Martin Liska  <mliska@suse.cz>
3205         * cgraph.c (cgraph_edge::remove_callee): Move function to header
3206         file for being inlined.
3207         (cgraph_set_edge_callee): Delete.
3208         (cgraph_edge::redirect_callee): Move function to header file
3209         for being inlined.
3210         (cgraph_edge::make_direct): Use new function.
3211         (cgraph_edge::dump_edge_flags): New function created from
3212         static dump_edge_flags function.
3213         (cgraph_node::dump): Use new function.
3214         (cgraph_edge::verify_count_and_frequency): New function created
3215         from verify_edge_count_and_frequency.
3216         (cgraph_edge::verify_corresponds_to_fndecl): New function created
3217         from verify_edge_corresponds_to_fndecl.
3218         (verify_edge_corresponds_to_fndecl): Delete.
3219         (cgraph_node::verify_node): Use new function.
3220         * cgraph.h (cgraph_edge::set_callee): New function.
3221         (cgraph_edge::dump_edge_flags): Likewise.
3222         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
3224 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
3226         * ipa-utils.c (estimate_function_body_sizes): Do not
3227         free node params when called late with early=true.
3229 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
3231         * doc/md.texi (Instruction Patterns): Rewrite text for
3232         clarity.
3233         (Example): Likewise.
3235 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
3237         * doc/invoke.texi (Option Summary): Break long lines.
3238         [(-fdiagnostics-color)]: Put long literal in @smallexample
3239         instead of inline.
3240         [(-fsanitize-recover)]: Likewise.
3241         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
3242         [(-ffast-math)]: Likewise.
3243         [(--param max-inline-insns-recursive)]: Likewise.
3244         [(--param max-inline-recursive-depth)]: Likewise.
3245         [(-mno-text-section-literals)]: Likewise.
3247 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
3249         * doc/install.texi: Update for libgomp being renamed from "GNU
3250         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
3251         Runtime Library".
3252         * doc/sourcebuild.texi: Likewise.
3254 2015-01-10  Anthony Green  <green@moxielogic.com>
3256         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
3257         mul.x availability for moxiebox configuration.
3259 2015-01-09  Anthony Green  <green@moxielogic.com>
3261         * config/moxie/moxie.md: Tabify assembly output.
3263 2015-01-09  Anthony Green  <green@moxielogic.com>
3265         * config/moxie/moxie.md (CC_REG): Correct register definition.
3267 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3269         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
3270         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
3271         of log files.
3273 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3275         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
3277 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
3278             Jakub Jelinek  <jakub@redhat.com>
3280         PR middle-end/64412
3281         * lto-streamer.h (lto_stream_offload_p): New declaration.
3282         * lto-streamer.c (lto_stream_offload_p): New variable.
3283         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
3284         at the same time as section_name_prefix.
3285         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
3286         if lto_stream_offload_p.
3287         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
3288         stream TREE_TARGET_OPTION if lto_stream_offload_p.
3289         (write_ts_function_decl_tree_pointers): Don't
3290         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
3291         * tree-streamer-in.c (unpack_value_fields): Don't stream
3292         TREE_TARGET_OPTION in if ACCEL_COMPILER.
3293         (lto_input_ts_function_decl_tree_pointers): Don't stream
3294         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
3295         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
3296         instead of section_name_prefix string comparisons.
3298 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
3300         PR rtl-optimization/64536
3301         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
3302         tablejumps.
3304 2015-01-09  Michael Collison  <michael.collison@linaro.org>
3306         PR tree-optimization/64322
3307         * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
3308         range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
3310 2015-01-09  Tom de Vries  <tom@codesourcery.com>
3312         PR rtl-optimization/64539
3313         * regcprop.c (kill_clobbered_values): Factor out of ...
3314         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
3315         instead of note_stores with kill_clobbered_value.
3317 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3319          * ginclude/unwind-arm-common.h: Revert previous commit.
3321 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3323         * config.gcc (arm*-*-freebsd*): New configuration.
3324         * config/arm/freebsd.h: New file.
3325         * config.host: Add extra components for arm*-*-freebsd*.
3326         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
3327         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
3329 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3331         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
3332         for -mcpu=e6500.
3333         * config/rs6000/t-rtems: Add e6500 multilibs.
3335 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3337         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
3338         MPC8540.
3340 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3342         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
3343         MULTILIB_EXCEPTIONS.
3345 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3347         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
3348         MULTILIB_EXCEPTIONS.
3350 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3352         * config/arm/t-rtems-eabi: Rename to...
3353         * config/arm/t-rtems: ...this.
3354         * config/arm/rtems-eabi.h: Rename to...
3355         * config/arm/rtems.h: ...this.
3356         * config.gcc (arm*-*-rtems*): Reflect changes above.
3358 2015-01-09  Richard Biener  <rguenther@suse.de>
3360         PR tree-optimization/64410
3361         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
3362         on the LHS.
3363         (execute_update_addresses_taken): Deal with that.
3364         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
3365         loads/stores for complex variables.
3367 2015-01-09  Martin Liska  <mliska@suse.cz>
3369         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
3370         name comparison.
3371         (func_checker::compare_memory_operand): New function.
3372         (func_checker::compare_operand): Split case to newly
3373         added functions.
3374         (func_checker::compare_cst_or_decl): New function.
3375         (func_checker::compare_gimple_call): Identify
3376         memory operands.
3377         (func_checker::compare_gimple_assign): Likewise.
3378         * ipa-icf-gimple.h: New function.
3380 2015-01-09  Martin Liska  <mliska@suse.cz>
3382         PR ipa/64503
3383         * sreal.c (sreal::dump): Change unsigned format to signed for
3384         m_exp value.
3385         (sreal::to_double): Replace exp2 with scalbln.
3387 2015-01-09  Martin Liska  <mliska@suse.cz>
3389         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
3390         * ipa-icf.c (sem_function::equals_private): Add support for target and
3391         (sem_item_optimizer::merge_classes): Remove redundant function
3392         optimization flags comparison.
3393         * tree.h (target_opts_for_fn): New function.
3395 2015-01-09  Tom de Vries  <tom@codesourcery.com>
3397         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
3399 2015-01-09  Kito Cheng  <kito@0xlab.org>
3401         PR rtl-optimization/64348
3402         * lra-constraints.c (split_reg): Fix caller-save store/restore
3403         instruction generation.
3405 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
3407         PR gcov-profile/61790
3408         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
3409         long long.  Fallback to int64_t if host doesn't have long long and
3410         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
3412 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3414         PR tree-optimization/63989
3415         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
3416         from 1000 to 10000.
3417         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
3418         (get_stridx): If we don't have a record for certain SSA_NAME,
3419         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
3420         constant offset, call get_stridx_plus_constant.
3421         (get_stridx_plus_constant): New function.
3422         (zero_length_string): Don't use get_stridx here.
3424         PR target/55023
3425         PR middle-end/64388
3426         * dse.c (struct insn_info): Mention frame_read set also
3427         before reload for tail calls on some targets.
3428         (scan_insn): Revert 2014-12-22 change.  Set frame_read
3429         also before reload for tail calls if
3430         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
3431         instead of add_non_frame_wild_read for non-const/memset
3432         tail calls after reload.
3434 2015-01-08  Jason Merrill  <jason@redhat.com>
3436         * ubsan.c (do_ubsan_in_current_function): New.
3437         (pass_ubsan::gate): Use it.
3438         * ubsan.h: Declare it.
3439         * convert.c (convert_to_integer): Use it.
3441 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3443         PR target/64338
3444         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
3445         compare_code when it is unconditionally overwritten afterwards.
3446         Use ix86_reverse_condition instead of reverse_condition.  Don't
3447         change code if *reverse_condition* returned UNKNOWN and don't
3448         swap ct/cf and negate diff in that case.
3450 2015-01-08  Mike Stump  <mikestump@comcast.net>
3452         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
3453         (pass_tsan_O0::gate): Likewise.
3454         * extend.texi (Function Attributes): Add no_sanitize_thread
3455         documentation.
3457 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
3459         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
3460         for registering builtins.
3461         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
3462         add -fopenmp to the argv_obstack used when invoking
3463         compile_for_target.
3465         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
3466         add "-m32" or "-m64" to argv_obstack.
3467         (generate_host_descr_file): Likewise, when invoking host_compiler.
3468         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
3469         ld.
3471 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
3473         * config/sh/sh-mem.cc: Use constant as second operand when emitting
3474         tstsi_t insns.
3476 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
3478         PR target/55212
3479         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
3480         constant load if constant operand fits into I08.
3482 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3484         PR sanitizer/64336
3485         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
3486         and TREE_THIS_VOLATILE for MEM_REFs.
3487         (build5_stat): Fix up initialization of TREE_READONLY and
3488         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
3490 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
3492         PR target/64533
3493         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
3494         of r for the second alternative of the destination operand.
3496 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
3498         PR target/36557
3499         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
3501 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
3503         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
3504         keywords.
3505         ([-fivar-visibility], [-fvisibility]): Likewise.
3507 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
3509         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
3510         the file where @code, @command, etc is more appropriate.
3512 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
3514         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
3515         of -mrecip= documentation.
3517 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
3519         PR target/64505
3520         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
3521         correct reload handler if -m32 -mpowerpc64 is used.
3523 2015-01-06  Tom de Vries  <tom@codesourcery.com>
3525         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
3527 2015-01-08  Christian Bruel  <christian.bruel@st.com>
3529         PR target/64507
3530         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
3532 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3534         PR tree-optimization/63259
3535         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
3536         if optab exists for 16bit byteswap.
3538 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
3540         * opts.c (common_handle_option): Add support for
3541         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
3542         * doc/invoke.texi: Document -fno-sanitize=all,
3543         -f{,no-}sanitize-recover=all.  Document that
3544         -fsanitize=float-cast-overflow is not enabled
3545         by -fsanitize=undefined.  Fix up documentation
3546         of -f{,no-}sanitize-recover.
3548 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
3550         * config.gcc: Add Visium support.
3551         * configure.ac: Likewise.
3552         * configure: Regenerate.
3553         * doc/extend.texi (interrupt attribute): Add Visium.
3554         * doc/invoke.texi: Document Visium options.
3555         * doc/install.texi: Document Visium target.
3556         * doc/md.texi: Document Visium constraints.
3557         * common/config/visium: New directory.
3558         * config/visium: Likewise.
3560 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
3562         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
3563         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
3565 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
3567         * combine.c (combine_validate_cost): Do not count the cost of a
3568         split I2 twice.  Do not display it twice in the dump, either.
3570 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
3572         Revert parts of r219199.
3573         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
3574         <inttypes.h>.
3575         ([-Wtraditional]): Restore markup on <limits.h>.
3577 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
3579         PR c++/31397
3580         * doc/invoke.texi: Document -Wsuggest-override.
3582 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
3584         PR rtl-optimization/64287
3585         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
3586         (process_options): Disable flag_ipa_ra if profiling.
3588 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
3590         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
3592 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
3594         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
3595         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
3596         put under #if TARGET_LOOPS guard.
3598 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
3600         * config/i386/i386.c (output_387_binary_op): Use std::swap.
3602 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
3604         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
3605         * rtl.h (refers_to_regno_p): Add overload.
3606         * cse.c: Use it.
3607         * bt-load.c: Likewise.
3608         * combine.c: Likewise.
3609         * df-scan.c: Likewise.
3610         * sched-deps.c: Likewise.
3611         * config/s390/s390.c: Likewise.
3612         * config/m32r/m32r.c: Likewise.
3613         * config/rs6000/spe.md: Likewise.
3614         * config/rs6000/rs6000.c: Likewise.
3615         * config/pa/pa.c: Likewise.
3616         * config/stormy16/stormy16.c: Likewise.
3617         * config/cris/cris.c: Likewise.
3618         * config/arc/arc.md: Likewise.
3619         * config/arc/arc.c: Likewise.
3620         * config/sh/sh.md: Likewise.
3621         * config/sh/sh.c: Likewise.
3622         * config/frv/frv.c: Likewise.
3624 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3626         PR sanitizer/64265
3627         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
3628         call as cleanup of the whole body.
3629         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
3630         * tsan.c (replace_func_exit): New function.
3631         (instrument_func_exit): Moved earlier.
3632         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
3633         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
3634         been found.
3635         (tsan_pass): Don't call instrument_func_exit.
3636         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
3637         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
3638         inlining.
3640         PR sanitizer/64344
3641         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
3642         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
3643         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
3644         if the result is integer_zerop, return NULL_TREE.
3645         * convert.c (convert_to_integer): Pass expr as ARG.
3647         PR tree-optimization/64465
3648         * tree-inline.c (redirect_all_calls): During inlining
3649         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
3650         changed the stmt to a non-throwing call.
3652 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
3654         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
3655         etc markup throughout the file.
3657 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3659         Enable experimental TSAN support for Ada.
3660         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
3662 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3664         PR tree-optimization/64494
3665         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
3666         clear SSA_NAME_ANTI_RANGE_P flag.
3668 2015-01-05  Marek Polacek  <polacek@redhat.com>
3670         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
3672 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3674         Update copyright years.
3676         * gcc.c (process_command): Update copyright notice dates.
3677         * gcov-dump.c: Ditto.
3678         * gcov.c: Ditto.
3679         * doc/cpp.texi: Bump @copying's copyright year.
3680         * doc/cppinternals.texi: Ditto.
3681         * doc/gcc.texi: Ditto.
3682         * doc/gccint.texi: Ditto.
3683         * doc/gcov.texi: Ditto.
3684         * doc/install.texi: Ditto.
3685         * doc/invoke.texi: Ditto.
3687         * auto-profile.c, auto-profile.h: Fix up Copyright line.
3689 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
3691         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
3692         verb tense, etc.
3693         ([-fvtable-verify], [-fvtv-debug]): Likewise.
3694         ([-Wabi]): Likewise.
3695         ([-fmessage-length]): Likewise.
3696         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
3697         ([-Wno-discarded-qualifiers]): Likewise.
3698         ([-Wnodiscarded-array-qualifiers]): Likewise.
3699         ([-Wno-virtual-move-assign]): Likewise.
3700         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
3701         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
3702         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
3703         ([-fsanitize-undefined-trap-on-error]): Likewise.
3704         ([-floop-interchange]): Likewise.
3705         ([-ftree-coalesce-inlined-vars]): Likewise.
3706         ([-fvect-cost-model]): Likewise.
3707         ([-flto]): Likewise.
3708         ([--param]): Likewise.
3709         (Spec Files): Likewise.
3710         ([-mstrict-align]): Likewise.
3711         ([-mfix-cortex-a53-835769]): Likewise.
3712         ([-march], [-mtune]): Likewise.
3713         ([-mpic-register]): Likewise.
3714         ([-munaligned-access]): Likewise.
3715         ([-msp8]): Likewise.
3716         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
3717         (AVR Built-in Macros): Likewise.
3718         ([-mpreferred-stack-boundary]): Likewise.
3719         ([-mtune-crtl]): Likewise.
3720         ([-mashf]): Likewise.
3721         ([-mmcu=]): Likewise.
3722         ([-minrt]): Likewise.
3723         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
3724         ([-mupper-regs]): Likewise.
3725         ([-matomic-model]): Likewise.
3726         ([-mdiv]): Likewise.
3727         ([-mzdcbranch]): Likewise.
3728         ([-mdisable-callt]): Likewise.
3729         ([-msoft-float]): Likewise.
3730         ([-m8byte-align]): Likewise.
3731         ([-fstack-reuse]): Likewise.
3733 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
3735         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
3736         Fix markup, light copy-editing.
3737         ([-fauto-profile]): Rewrite to fix formatting and content
3738         problems.
3740 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
3742         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
3743         Copy-edit description.
3744         ([-fisolate-erroneous-paths-attribute]): Likewise.
3745         * common.opt (fisolate-erroneous-paths-dereference):
3746         Copy-edit description.
3747         (fisolate-erroneous-paths-attribute): Likewise.
3749 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
3751         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
3752         tidy grammar.
3754 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
3756         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
3757         ([-fvtv-debug]): Likewise.
3758         ([-Wc++-compat]): Likewise.
3759         ([-Wc++11-compat]): Likewise.
3760         ([-Wc++14-compat]): Likewise.
3761         ([-Wno-sized-deallocation]): Likewise.
3762         ([-femit-class-debug-always]): Likewise.
3763         ([-femit-struct-debug-detailed]): Likewise.
3764         ([-fno-keep-inline-dllexport]): Likewise.
3765         ([-fira-algorithm]): Likewise.
3766         ([-fira-region]): Likewise.
3767         ([-flra-remat]): Likewise.
3768         ([-fipa-ra]): Likewise.
3769         ([-fhoist-adjacent-loads]): Likewise.
3770         ([-fisolate-erroneous-paths-dereference]): Likewise.
3771         ([-fisolate-erroneous-paths-attribute]): Likewise.
3772         ([-ftree-switch-conversion]): Likewise.
3773         ([-ftree-tail-merge]): Likewise.
3774         ([-ftree-loop-if-convert]): Likewise.
3775         ([-ftree-loop-if-convert-stores]): Likewise.
3776         ([-ftree-loop-distribution]): Likewise.
3777         ([-ftree-loop-distribute-patterns]): Likewise.
3778         ([-flto-compression-level]): Likewise.
3779         ([-flto-report]): Likewise.
3780         ([-flto-report-wpa]): Likewise.
3781         ([-fuse-linker-plugin]): Likewise.
3782         ([-mfix-cortex-a53-835769]): Likewise.
3783         ([-mno-fix-cortex-a53-835769]): Likewise.
3784         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
3785         explicit listing; add a note to the discussion indicating they
3786         exist.  Reorder table to group similar options.  Add missing
3787         @opindex entries.  Add @need commands throughout the table to
3788         allow it to be split across multiple pages.
3789         ([-m8bit-idiv]): Fix @opindex.
3790         ([-mavx256-split-unaligned-load]): Likewise.
3791         ([-mavx256-split-unaligned-store]): Likewise.
3792         ([-mstack-protector-guard]): Likewise.
3793         ([-mcpu=]): Likewise.
3794         ([-mcpu]): Likewise.
3795         ([-mpointer-size=]): Likewise.
3797 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
3799         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
3800         instead of `m' constraint.  Likewise for unnamed movb comparison
3801         patterns using reg_before_reload_operand predicate.
3802         * config/pa/predicates.md (reg_before_reload_operand): Tighten
3803         predicate to reject register index and LO_SUM DLT memory forms
3804         after reload.
3806 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
3808         * doc/invoke.texi (Option Summary): Fix spelling of
3809         -fdevirtualize-at-ltrans.
3810         ([-fdevirtualize]): Fix markup.
3811         ([-fdevirtualize-speculatively]): Fix typo.
3812         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
3813         implementor-speaky.
3814         * common.opt (fdevirtualize-at-ltrans): Likewise.
3815         * ipa-devirt.c: Fix typos in comments throughout the file.
3816         (ipa_devirt): Fix typos in format strings for dump output.
3818 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
3820         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
3821         discussion of defaults, light copy-editing.
3823 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3825         * tsan.c (instrument_expr): corrected previous checkin.
3827 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3829         Instrument bit field and unaligned accesses for TSAN.
3830         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
3831         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
3832         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
3833         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
3834         unaligned memory regions.
3836 2015-01-01  Anthony Green  <green@moxielogic.com>
3838         * config/moxie/predicates.md (moxie_general_movsrc_operand):
3839         Restrict move source register offsets to 16 bits.
3841 Copyright (C) 2015 Free Software Foundation, Inc.
3843 Copying and distribution of this file, with or without modification,
3844 are permitted in any medium without royalty provided the copyright
3845 notice and this notice are preserved.