PR target/65153
[official-gcc.git] / gcc / ChangeLog
blob843716d5b4dffcd052fa5efb67326814395cae95
1 2015-02-23  Kaz Kojima  <kkojima@gcc.gnu.org>
3         PR target/65153
4         * config/sh/sh.md (movsicc_true+3): Remove peephole.
5         * config/sh/sh-protos.h (replace_n_hard_rtx): Don't declare.
6         * config/sh/sh.c (replace_n_hard_rtx): Remove.
8 2015-02-23  Richard Sandiford  <richard.sandiford@arm.com>
10         PR fortran/63427
11         * wide-int.cc (wi::from_mpz): Cope with unwrapped values that are
12         too big for a wide_int.  Implement missing wrapping operation.
14 2015-02-23  Oleg Endo  <olegendo@gcc.gnu.org>
16         PR target/65163
17         * config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
18         instead of const_int 4294901760.
20 2015-02-23  Georg-Johann Lay  <avr@gjlay.de>
22         * config/avr/t-avr: Fix typo in comment.
24 2015-02-21  Richard Sandiford  <richard.sandiford@arm.com>
26         * doc/rtl.texi (fma): Clarify documentation.
28 2015-02-20  Aldy Hernandez  <aldyh@redhat.com>
30         PR debug/58123
31         * gimplify.c (gimplify_expr): Prefer location of TRY_FINALLY_EXPR
32         over input_location.
34 2015-02-20  Bernd Schmidt  <bernds@codesourcery.com>
36         * tree-streamer-in.c (unpack_ts_decl_common_value_fields,
37         unpack_ts_type_common_value_fields): If ACCEL_COMPILER,
38         restrict alignments to absolute_biggest_alignment.
39         * config/i386/i386.c (TARGET_ABSOLUTE_BIGGEST_ALIGNMENT):
40         Define.
41         * doc/tm.texi.in (TARGET_ABSOLUTE_BIGGEST_ALIGNMENT): Add.
42         * doc/tm.texi: Regenerate.
43         * target.def (absolute_biggest_alignment): New DEFHOOKPOD.
45 2015-02-20  Vladimir Makarov  <vmakarov@redhat.com>
47         PR target/64172
48         * ira-color.c (color_pass): Prevent splitting multi-register
49         pseudos.
51 2015-02-20  Richard Biener  <rguenther@suse.de>
53         PR tree-optimization/65136
54         * tree-ssa-propagate.c: Include cfgloop.h.
55         (replace_phi_args_in): Avoid replacing loop latch edge PHI
56         arguments with constants.
58 2015-02-20  Jakub Jelinek  <jakub@redhat.com>
59             Martin Liska  <mliska@suse.cz>
61         PR target/63892
62         * ipa-icf.c (sem_function::merge): If DECL_COMDAT_GROUP (alias->decl),
63         don't try to create_thunk if stdarg_p.  If
64         !sem_item::target_supports_symbol_aliases_p (), similarly, and try to
65         redirect_callers if possible.
66         (sem_item_optimizer::execute): Call unregister_hooks here...
67         (ipa_icf_driver): ... instead of here.
69 2015-02-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
71         * config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
72         Mark operand 0 as earlyclobber in 2nd alternative.
73         (1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
74         Write negated shift amount into QI lowpart operand 0 and use it
75         in the shift step.
76         (2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.
78 2015-02-20  Bernd Schmidt  <bernds@codesourcery.com>
80         * cgraph.h (clone_function_name_1): Declare.
81         * cgraphclones.c (clone_function_name_1): New function.
82         (clone_function_name): Use it.
83         * lto-partition.c: Include "stringpool.h".
84         (must_not_rename, maybe_rewrite_identifier,
85         validize_symbol_for_target): New static functions.
86         (privatize_symbol_name): Use must_not_rename.
87         (promote_symbol): Call validize_symbol_for_target.
88         (lto_promote_cross_file_statics): Likewise.
89         (lto_promote_statics_nonwpa): Likewise.
91 2015-02-20  Georg-Johann Lay  <avr@gjlay.de>
93         PR target/64452
94         * config/avr/avr.md (pushhi_insn): New insn.
95         (push<mode>1): Push virtual regs in one chunk using pushhi1_insn.
97 2015-02-20  Bernd Schmidt  <bernds@codesourcery.com>
98             Jakub Jelinek  <jakub@redhat.com>
100         * tree-streamer.c (preload_common_nodes): Don't preload
101         TI_VA_LIST* for offloading.
102         * tree-stdarg.c (pass_stdarg::gate): Disable for ACCEL_COMPILER
103         in_lto_p.
105 2015-02-19  John David Anglin  <danlgin@gcc.gnu.org>
107         * config/pa/pa.c (pa_emit_move_sequence): Always force
108         (const (plus (symbol) (const_int))) to const mem.  Put REG_EQUAL
109         note on insn.
111         * config/pa/pa.c (pa_reloc_rw_mask): New function.
112         (TARGET_ASM_RELOC_RW_MASK): Define.
113         (pa_cannot_force_const_mem): Revert previous change.
115 2015-02-19  Martin Jambor  <mjmabor@suse.cz>
116             Jan Hubicka  <hubicka@ucw.cz>
118         PR ipa/65028
119         * ipa-cp.c (propagate_alignment_accross_jump_function): Fix propagation
120         across jump functions.
122 2015-02-19  Uros Bizjak  <ubizjak@gmail.com>
124         * config/alpha/alpha.c (alpha_in_small_data_p): Reject common symbols.
126 2015-02-19  Sandra Loosemore  <sandra@codesourcery.com>
128         * doc/extend.texi (x86 transactional memory intrinsics): Copy-edit.
130 2015-02-19  Richard Henderson  <rth@redhat.com>
132         PR middle-end/65074
133         * varasm.c (default_binds_local_p_2): Don't test node->definition;
134         test DECL_EXTERNAL independent of symtab_node.
136 2015-02-19  Jakub Jelinek  <jakub@redhat.com>
138         PR lto/65012
139         * varpool.c (varpool_node::get_constructor): Return early
140         if this->lto_file_data is NULL.
142 2015-02-19  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
144         * haifa-sched.c (enum rfs_decision, rfs_str): Remove RFS_DEBUG.
145         (rank_for_schedule_debug): Update.
146         (ready_sort): Make static.  Move sorting logic to ...
147         (ready_sort_debug, ready_sort_real): New static functions.
148         (schedule_block): Sort both debug insns and real insns in preparation
149         for ready list trimming.  Improve debug output.
150         * sched-int.h (ready_sort): Remove global declaration.
152 2015-02-18  Trevor Saunders  <tsaunders@mozilla.com>
154         * ipa-icf.c (sem_function::equals_private): Adjust.
155         (sem_function::bb_dict_test): Take a vec<int> * instead of
156         auto_vec<int>.
157         * ipa-icf.h (bb_dict_test): Likewise.
159 2015-02-18  Jakub Jelinek  <jakub@redhat.com>
161         PR gcov-profile/64634
162         * tree-eh.c (frob_into_branch_around): Fix up typos
163         in function comment.
164         (lower_catch): Put eh_seq resulting from EH lowering of
165         the cleanup sequence after the cleanup rather than before
166         it.
168 2015-02-18  Tom de Vries  <tom@codesourcery.com>
170         * common.opt (fstdarg-opt): New option.
171         * tree-stdarg.c (pass_stdarg::gate): Use flag_stdarg_opt.
172         * doc/invoke.texi (@item Optimization Options): Add -fstdarg-opt.
173         (@item -fstdarg-opt): New item.
175 2015-02-18  H.J. Lu  <hongjiu.lu@intel.com>
177         PR target/65064
178         * config/ia64/predicates.md (sdata_symbolic_operand): Return false
179         for common symbols.
181 2015-02-18  Jakub Jelinek  <jakub@redhat.com>
183         * config/i386/t-intelmic (mkoffload.o): Remove dependency on
184         insn-modes.h.
185         (ALL_HOST_OBJS): Add mkoffload.o.
186         * config/nvptx/t-nvptx (ALL_HOST_OBJS): Likewise.
188 2015-02-18  Jan Hubicka  <hubicka@ucw.cz>
190         * ipa-devirt.c (odr_subtypes_equivalent_p): Fix formating.
191         (compare_virtual_tables): Be smarter about skipping typeinfos;
192         do sane output on virtual table table mismatch.
193         (warn_odr): Be ready for forward declarations of enums;
194         output sane info on base mismatch and virtual table mismatch.
195         (add_type_duplicate): Fix code choosing prevailing type; do not ICE
196         when only one type is polymorphic.
197         (get_odr_type): Fix hashtable corruption.
198         (dump_odr_type): Dump mangled names.
200 2015-02-18  Richard Biener  <rguenther@suse.de>
202         PR tree-optimization/65063
203         * tree-predcom.c (determine_unroll_factor): Return 1 if we
204         have replaced looparound PHIs.
206 2015-02-18  Martin Liska  <mliska@suse.cz>
208         * lto-streamer.c (lto_streamer_init): Encapsulate
209         streamer_check_handled_ts_structures with checking macro.
211 2015-02-18  Jakub Jelinek  <jakub@redhat.com>
213         PR ipa/65087
214         * cgraphclones.c (cgraph_node::create_virtual_clone): Only copy
215         section if !implicit_section.
216         (cgraph_node::create_version_clone_with_body): Likewise.
217         * trans-mem.c (ipa_tm_create_version): Likewise.
219 2015-02-18  Richard Biener  <rguenther@suse.de>
221         PR tree-optimization/62217
222         * tree-ssa-dom.c (cprop_operand): Avoid propagating copies
223         into BIVs.
225 2015-02-18  Marek Polacek  <polacek@redhat.com>
227         PR sanitizer/65081
228         * ubsan.c (OBJSZ_MAX_OFFSET): Define.
229         (ubsan_expand_objsize_ifn): Don't emit run-time check if the offset
230         is in range [-16K, -1].  Don't issue run-time error if
231         (ptr > ptr + offset).
233 2015-02-18  Thomas Schwinge  <thomas@codesourcery.com>
235         * doc/install.texi (nvptx-*-none): New section.
236         * doc/invoke.texi (Nvidia PTX Options): Likewise.
237         * config/nvptx/nvptx.opt: Update.
239         * config/nvptx/mkoffload.c (parse_env_var, free_array_of_ptrs)
240         (access_check): New functions, copied from
241         config/i386/intelmic-mkoffload.c.
242         (main): For non-installed testing, look in all COMPILER_PATHs for
243         GCC_INSTALL_NAME.
245         * config/nvptx/nvptx.h (GOMP_SELF_SPECS): Define macro.
247 2015-02-18  Andrew Pinski  <apinski@cavium.com>
248             Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
250         * config/aarch64/aarch64.c (*aarch64_load_symref_appropriately):
251         Check whether the destination of SYMBOL_SMALL_TPREL is Pmode.
253 2015-02-17  Jan Hubicka  <hubicka@ucw.cz>
255         * ipa-visibility.c (function_and_variable_visibility): Only
256         check locality if node is not already local.
257         * ipa-inline.c (want_inline_function_to_all_callers_p): Use
258         call_for_symbol_and_aliases instead of
259         call_for_symbol_thunks_and_aliases.
260         (ipa_inline): Likewise.
261         * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
262         first walk aliases.
263         * ipa.c (symbol_table::remove_unreachable_nodes): Use
264         call_for_symbol_and_aliases.
265         * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
266         (ipa_propagate_frequency_1): Use it; use opt_for_fn
267         (ipa_propagate_frequency): Update.
268         (ipa_profile): Add opt_for_fn gueards.
270 2015-02-17  Oleg Endo  <olegendo@gcc.gnu.org>
272         * config/sh/sh.opt (mcbranch-force-delay-slot): New option.
273         * doc/invoke.texi (SH options): Document it.
274         * config/sh/sh.c (sh_insn_length_adjustment): Check
275         TARGET_CBRANCH_FORCE_DELAY_SLOT instead of sh_cpu_attr == CPU_SH2E.
277 2015-02-17  H.J. Lu  <hongjiu.lu@intel.com>
279         * common.opt (fipa-cp-alignment): New.
280         * ipa-cp.c (ipcp_store_alignment_results): Check
281         flag_ipa_cp_alignment.
282         * opts.c (default_options_table): Enable -fipa-cp-alignment for
283         -O2.
284         (enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
285         * doc/invoke.texi: Document -fipa-cp-alignment.
287 2015-02-17  Oleg Endo  <olegendo@gcc.gnu.org>
289         PR target/64793
290         * config/sh/sh.md (cbranch define_delay): Set annulled true branch insn
291         to nil.  Adjust comments.
293 2015-02-17  Jan Hubicka  <hubicka@ucw.cz>
295         * ipa-visibility.c (function_and_variable_visibility): Only
296         check locality if node is not already local.
297         * ipa-inline.c (want_inline_function_to_all_callers_p): Use
298         call_for_symbol_and_aliases instead of
299         call_for_symbol_thunks_and_aliases.
300         (ipa_inline): Likewise.
301         * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
302         first walk aliases.
303         * ipa.c (symbol_table::remove_unreachable_nodes): Use
304         call_for_symbol_and_aliases.
305         * ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
306         (ipa_propagate_frequency_1): Use it; use opt_for_fn
307         (ipa_propagate_frequency): Update.
308         (ipa_profile): Add opt_for_fn guards.
310 2015-02-17  Thomas Schwinge  <thomas@codesourcery.com>
312         * config/nvptx/mkoffload.c (parse_file): Fix logic error in
313         skipping of "strange" tokens.
315 2015-02-17  Jeff Law  <law@redhat.com>
317         * tree-vrp.c (identify_jump_threads): Use last_stmt.  Remove
318         obsolete comment.
320 2015-02-17  James Greenhalgh  <james.greenhalgh@arm.com>
322         * haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P
323         as forcing a HARD_DEP between instructions, thereby
324         disallowing rewriting to break dependencies.
326 2015-02-16  Jan Hubicka  <hubicka@ucw.cz>
328         * symtab.c (symtab_node::verify_base): Verify body_removed->!definiton
329         * lto-cgraph.c (lto_output_varpool_node): Do not keep definition of
330         variables in boundary that have no inlitalizer encoded and are
331         not aliases.
332         * varasm.c (default_binds_local_p_2): External definitions do not
333         count as definitions here.
335 2015-02-16  Jeff Law  <law@redhat.com>
337         PR tree-optimization/64823
338         * tree-vrp.c (identify_jump_threads): Handle blocks with no real
339         statements.
340         * tree-ssa-threadedge.c (potentially_threadable_block): Allow
341         threading through blocks with PHIs, but no statements.
342         (thread_through_normal_block): Distinguish between blocks where
343         we did not process all the statements and blocks with no statements.
345 2015-02-16  Jakub Jelinek  <jakub@redhat.com>
346             James Greenhalgh  <james.greenhalgh@arm.com>
348         PR ipa/64963
349         * cgraphclones.c (cgraph_node::create_virtual_clone): Copy
350         section if not linkonce.  Fix up formatting.
351         (cgraph_node::create_version_clone_with_body): Copy section.
352         * trans-mem.c (ipa_tm_create_version): Likewise.
354 2015-02-16  Richard Biener  <rguenther@suse.de>
356         PR tree-optimization/65077
357         * tree-ssa-structalias.c (get_constraint_for_1): Handle
358         IMAGPART_EXPR, REALPART_EXPR and BIT_FIELD_REF.
359         (find_func_aliases): Allow float values to carry pointers again.
361 2015-02-16  James Greenhalgh  <james.greenhalgh@arm.com>
363         * doc/install.texi (Specific): Reorder targets list to put
364         aarch64 in alphabetical order.  Add a link to aarch64*-*-*
365         from the top menu.
367 2015-02-16  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
368             David Edelsohn  <dje.gcc@gmail.com>
370         PR target/65058
371         * config/rs6000/rs6000.c (rs6000_output_symbol_ref): Append storage
372         mapping class to external variable or function reference.
373         * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Do not append storage
374         mapping class.
376 2015-02-16  David Eelsohn  <dje.gcc@gmail.com>
378         PR target/53348
379         * config/rs6000/rs6000.c (rs6000_declare_alias): Only use
380         ASM_WEAKEN_DECL if defined.
382 2015-02-16  Richard Biener  <rguenther@suse.de>
384         PR lto/65015
385         * varasm.c (default_file_start): For LTO produced units
386         emit <artificial> as file directive.
388 2015-02-16  Richard Biener  <rguenther@suse.de>
390         PR tree-optimization/63593
391         * tree-predcom.c (execute_pred_commoning_chain): Delay removing
392         stmts and releasing SSA names until...
393         (execute_pred_commoning): ... after processing all chains.
395 2015-02-16  Jan Hubicka  <hubicka@ucw.cz>
397         PR ipa/65059
398         * ipa-comdats.c (ipa_comdats): Do not categorize thunks to
399         external functions.
401 2015-02-15  Sandra Loosemore  <sandra@codesourcery.com>
403         * doc/bugreport.texi: Adjust section titles throughout the file
404         to use "Title Case".
405         * doc/extend.texi: Likewise.
406         * doc/gcov.texi: Likewise.
407         * doc/implement-c.texi: Likewise.
408         * doc/implement-cxx.texi: Likewise.
409         * doc/invoke.texi: Likewise.
410         * doc/objc.texi: Likewise.
411         * doc/standards.texi: Likewise.
412         * doc/trouble.texi: Likewise.
414 2015-02-15  Jan Hubicka  <hubicka@ucw.cz>
416         * cgraph.h (symtab_node::has_aliases_p): Simplify.
417         (symtab_node::call_for_symbol_and_aliases): Use has_aliases_p
418         * tree.c (lookup_binfo_at_offset): Make static.
419         (get_binfo_at_offset): Do not shadow offset; add explanatory
420         comment.
422 2015-02-15  John David Anglin  <danglin@gcc.gnu.org>
424         * config/pa/pa.c (pa_secondary_reload): Request a secondary reload
425         for all floading point loads and stores except those using a register
426         index address.
427         * config/pa/pa.md: Add new patterns to load a lo_sum DLT operand
428         to a register.
430 2015-02-14  Jan Hubicka  <hubicka@ucw.cz>
432         * ipa-inline-analysis.c (growth_data): Add uninlinable field.
433         (do_estimate_growth_1): Record if any uninlinable edge was seen.
434         (estimate_growth): Handle uninlinable edges correctly.
435         (check_callers): New.
436         (growth_likely_positive): Handle aliases correctly.
438 2015-02-14  Jan Hubicka  <hubicka@ucw.cz>
440         * ipa-chkp.c: Use iterate_direct_aliases.
441         * symtab.c (resolution_used_from_other_file_p): Move inline.
442         (symtab_node::create_reference): Fix formating.
443         (symtab_node::has_aliases_p): Move inline; use iterate_direct_aliases.
444         (symtab_node::iterate_reference): Move inline.
445         (symtab_node::iterate_referring): Move inline.
446         (symtab_node::iterate_direct_aliases): Move inline.
447         (symtab_node::used_from_object_file_p_worker): Inline into ...
448         (symtab_node::used_from_object_file_p): ... this one; move inline.
449         (symtab_node::call_for_symbol_and_aliases): Move inline;
450         use iterate_direct_aliases.
451         (symtab_node::call_for_symbol_and_aliases_1): New method.
452         (cgraph_node::call_for_symbol_and_aliases): Move inline;
453         use iterate_direct_aliases.
454         (cgraph_node::call_for_symbol_and_aliases_1): New method.
455         (varpool_node::call_for_node_and_aliases): Rename to ...
456         (varpool_node::call_for_symbol_and_aliases): ... this one; Move inline;
457         use iterate_direct_aliases.
458         (varpool_node::call_for_symbol_and_aliases_1): New method.
459         * ipa.c (ipa_single_use): Use iterate_direct_aliases.
460         (ipa_discover_readonly_nonaddressable_var): Update.
461         * ipa-devirt.c: Fix formating.
462         * cgraph.c (cgraph_node::can_remove_if_no_direct_calls_and_refs_p):
463         Move inline.
464         (cgraph_node::call_for_symbol_and_aliases): Move inline.
465         (cgraph_node::call_for_symbol_and_aliases_1): New function..
466         * cgraph.h (used_from_object_file_p_worker): Remove.
467         (resolution_used_from_other_file_p): Move inline.
468         (symtab_node::has_aliases_p): Move inline; use iterate_direct_aliases.
469         (symtab_node::iterate_reference): Move inline.
470         (symtab_node::iterate_referring): Move inline.
471         (symtab_node::iterate_direct_aliases): Move inline.
472         (symtab_node::used_from_object_file_p_worker): Inline into ...
473         (symtab_node::used_from_object_file_p): Move inline.
474         * tree-emutls.c (ipa_lower_emutls): Update.
475         * varpool.c (varpool_node::call_for_symbol_and_aliases_1): New method.
476         (varpool_node::call_for_node_and_aliases): Remove.
478 2015-02-14  Jakub Jelinek  <jakub@redhat.com>
480         PR tree-optimization/62209
481         * tree-ssa-reassoc.c (update_range_test): If stmt is a PHI and
482         op == range->exp, insert seq and gimplified code after labels
483         instead of after the phi.
485 2015-02-13  Jeff Law  <law@redhat.com>
487         PR bootstrap/65060
488         Revert my change for tree-optimization/64823.
490 2015-02-13  Jakub Jelinek  <jakub@redhat.com>
492         PR tree-optimization/65053
493         * tree-ssa-phiopt.c (value_replacement): When moving assign before
494         cond, either reset VR on lhs or set it to phi result VR.
496 2015-02-13  Jeff Law  <law@redhat.com>
498         PR tree-optimization/64823
499         * tree-vrp.c (identify_jump_threads): Handle blocks with no statements.
500         * tree-ssa-threadedge.c (potentially_threadable_block): Allow
501         threading through blocks with PHIs, but no statements.
502         (thread_through_normal_block): Distinguish between blocks where
503         we did not process all the statements and blocks with no statements.
505         PR rtl-optimization/47477
506         * match.pd (convert (plus/minus (convert @0) (convert @1): New
507         simplifier to narrow arithmetic.
509 2015-02-13  Jan Hubicka  <hubicka@ucw.cz>
511         PR ipa/65028
512         * ipa-prop.c (update_indirect_edges_after_inlining): Do not drop
513         polymorphic call info when type is not known to be preserved.
515 2015-02-13  Maritn Jambor  <mjambor@suse.cz>
517         PR ipa/65028
518         * ipa-inline-transform.c (mark_all_inlined_calls_cdtor): New function.
519         (inline_call): Use it.
521 2015-02-13  Thomas Schwinge  <thomas@codesourcery.com>
523         * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to
524         GOMP_DEVICE_NVIDIA_PTX.
526 2015-02-13  Jakub Jelinek  <jakub@redhat.com>
528         PR ipa/65034
529         * stmt.c (emit_case_nodes): Use void_type_node instead of
530         NULL_TREE as LABEL_DECL type.
532 2015-02-13  John David Anglin  <danglin@gcc.gnu.org>
534         * config/pa/constraints.md: Change "Q" and "T" constraints to memory
535         constraints.
536         * config/pa/pa.c (pa_cannot_force_const_mem): Don't allow constant
537         symbolic references to data to be forced to constant memory on the
538         SOM target.
540 2015-02-13  Ilya Enkovich  <ilya.enkovich@intel.com>
542         PR tree-optimization/65002
543         * tree-cfg.c (pass_data_fixup_cfg): Don't update
544         SSA on start.
545         * tree-sra.c (some_callers_have_no_vuse_p): New.
546         (ipa_early_sra): Reject functions whose callers
547         assume function is read only.
549 2015-02-13  Richard Biener  <rguenther@suse.de>
551         PR lto/65015
552         * dwarf2out.c (dwarf2out_finish): Use <artificial> as DW_AT_name
553         for LTO produced CUs.
555 2015-02-13  Bin Cheng  <bin.cheng@arm.com>
557         PR tree-optimization/64705
558         * tree-ssa-loop-niter.h (expand_simple_operations): New parameter.
559         * tree-ssa-loop-niter.c (expand_simple_operations): New parameter.
560         * tree-ssa-loop-ivopts.c (extract_single_var_from_expr): New.
561         (find_bivs, find_givs_in_stmt_scev): Pass new argument to
562         expand_simple_operations.
564 2015-02-13  H.J. Lu  <hongjiu.lu@intel.com>
565             Richard Henderson  <rth@redhat.com>
567         PR rtl/32219
568         * cgraphunit.c (cgraph_node::finalize_function): Set definition
569         before notice_global_symbol.
570         (varpool_node::finalize_decl): Likewise.
571         * varasm.c (default_binds_local_p_2): Rename from
572         default_binds_local_p_1, add weak_dominate argument.  Use direct
573         returns instead of assigning to local variable.  Unify varpool and
574         cgraph paths via symtab_node.  Reject undef weak variables before
575         testing visibility.  Reorder tests for simplicity.
576         (default_binds_local_p): Use default_binds_local_p_2.
577         (default_binds_local_p_1): Likewise.
578         (decl_binds_to_current_def_p): Unify varpool and cgraph paths
579         via symtab_node.
580         (default_elf_asm_output_external): Emit visibility when specified.
582 2015-02-13  Alan Modra  <amodra@gmail.com>
584         * config/rs6000/rs6000.c (rs6000_emit_epilogue): Fix typo in
585         code setting up r11 for out-of-line fp restore.
587 2015-02-13  Eric Botcazou  <ebotcazou@adacore.com>
589         * config/visium/visium.opt (msv-mode): Add RejectNegative and Report.
590         (muser-mode): Likewise.
592 2015-02-13  Alan Modra  <amodra@gmail.com>
594         * config/rs6000/rs6000.c (rs6000_emit_epilogue): Use addsi3_carry
595         or adddi3_carry when restoring frame_reg_rtx from r0 after restvr.
597 2015-02-12  David Howells  <dhowells@redhat.com>
599         * tree-sra.c (dump_dereferences_table): Avoid -Wformat-security
600         warning.
601         * tree-ssa-uninit.c (dump_predicates): Likewise.
602         * opts.c (print_filtered_help): Likewise.
604 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
606         * dwarf2out.c (output_die): Use "%s", name instead of name to
607         avoid -Wformat-security warning.
609         * dwarf2asm.c (dw2_asm_output_vms_delta): Only define
610         if ASM_OUTPUT_DWARF_VMS_DELTA is defined.
611         * dwarf2out.c (output_die): Use dw2_asm_output_vms_delta
612         only if ASM_OUTPUT_DWARF_VMS_DELTA is defined.
614 2015-02-12  Jason Merrill  <jason@redhat.com>
616         * common.opt (-flifetime-dse): New.
618 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
620         PR sanitizer/65019
621         * ubsan.c (ubsan_expand_objsize_ifn): Always return true.
623         PR tree-optimization/65014
624         * fold-const.c (fold_binary_loc): When creating {L,R}ROTATE_EXPR,
625         use original second operand of arg0 or arg1 instead of
626         that adjusted by STRIP_NOPS.
628 2015-02-11  Jeff Law  <law@redhat.com>
630         PR target/63347
631         * haifa-sched.c (prune_ready_list): If we have a SCHED_GROUP_P insn
632         that needs to be queued, just queue it for a single cycle.
634 2015-02-11  Jan Hubicka  <hubicka@ucw.cz>
636         * ipa.c (symbol_table::remove_unreachable_nodes): Avoid releasing
637         bodies of thunks; comment on why.
638         * symtab.c (symtab_node::get_partitioning_class): Aliases of extern
639         symbols are extern.
641 2015-02-11  Richard Henderson  <rth@redhat.com>
643         PR sanitize/65000
644         * tree-eh.c (mark_reachable_handlers): Mark source and destination
645         regions of __builtin_eh_copy_values.
647 2015-02-11  Jakub Jelinek  <jakub@redhat.com>
649         PR middle-end/65003
650         * varasm.c (place_block_symbol): Assert that DECL_RTL of the
651         ultimate alias is MEM with SYMBOL_REF satisfying
652         SYMBOL_REF_HAS_BLOCK_INFO_P as its operand.  Don't pass the MEM
653         to place_block_symbol, but instead pass the SYMBOL_REF operand of it.
655 2015-02-11  Thomas Schwinge  <thomas@codesourcery.com>
657         * config/nvptx/mkoffload.c: Include "diagnostic.h" instead of
658         "diagnostic-core.h".
659         (main): Initialize progname, and call diagnostic_initialize.
661         * config/nvptx/mkoffload.c (process): Refer to __OFFLOAD_TABLE__
662         instead of __OPENMP_TARGET__.
664         * config/nvptx/mkoffload.c: Include "gomp-constants.h".
665         (process): Use its GOMP_DEVICE_NVIDIA_PTX instead of (wrongly)
666         hard-coding PTX_ID.
668 2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
670         * doc/sourcebuild.texi (pie_enabled): Document.
672 2015-02-11  Martin Liska  <mliska@suse.cz>
674         PR ipa/64813
675         * cgraphunit.c (cgraph_node::expand_thunk): Do not create
676         a return value for call to a function that is noreturn.
678 2015-02-11  Richard Biener  <rguenther@suse.de>
680         PR lto/65015
681         * dwarf2out.c (gen_producer_string): Drop -fltrans-output-list
682         and -fresolution.
684 2015-02-11  Andrew Pinski  <apinski@cavium.com>
686         PR target/64893
687         * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins):
688         Change the first argument type to size_type_node and add another
689         size_type_node.
690         (aarch64_simd_expand_builtin): Handle the new argument to
691         AARCH64_SIMD_BUILTIN_LANE_CHECK and don't ICE but rather
692         print an out when the first two arguments are not
693         nonzero integer constants.
694         * config/aarch64/arm_neon.h (__AARCH64_LANE_CHECK):
695         Pass the sizeof directly to __builtin_aarch64_im_lane_boundsi.
697 2015-02-11  Jakub Jelinek  <jakub@redhat.com>
699         PR target/61925
700         * config/i386/i386.c (ix86_reset_to_default_globals): Removed.
701         (ix86_reset_previous_fndecl): Restore it here, unconditionally.
702         (ix86_set_current_function): Rewritten.
703         (ix86_add_new_builtins): Temporarily clear current_target_pragma
704         when creating builtin fndecls.
706 2015-02-10  Jan Hubicka  <hubicka@ucw.cz>
708         PR ipa/65005
709         * ipa-visibility.c (cgraph_node::non_local_p): Turn into static
710         function.
711         * symtab.c (symtab_node::verify_base): Remove check that non-definitions
712         have no comdat group.
713         * lto-cgraph.c (lto_output_node): Always output thunk and alias info.
714         (lto_output_varpool_node): Always output alias info.
715         (output_refs): Output refs of boundary aliases, too.
716         (compute_ltrans_boundary): Add alias and thunk target into boundaries.
717         (output_symtab): Output call eges in thunks in boundary.
718         (get_alias_symbol): Remove.
719         (input_node, input_varpool_node): Do not special case weakrefs.
720         * ipa.c (symbol_table::remove_unreachable_nodes): Do not remove
721         alias and thunks targets in the boundary; do not take removed symbols
722         from their comdat groups.
723         * cgraph.c (cgraph_node::local_info): Look through aliases and thunks.
724         (cgraph_node::global_info): Remove.
725         (cgraph_node::rtl_info): Look through aliases and thunks.
726         * cgrpah.h (global_info): Remove.
727         (non_local_p): Remove.
729 2015-02-10  David Wohlferd  <dw@LimeGreenSocks.com>
730             Sandra Loosemore  <sandra@codesourcery.com>
732         * doc/invoke.texi (x86 Options [-masm=dialect]): Add cross-references
733         to inline asm.  List dialects in proper order.
735 2015-02-10  David Wohlferd  <dw@LimeGreenSocks.com>
736             Sandra Loosemore  <sandra@codesourcery.com>
738         * doc/extend.texi (Loop-Specific Pragmas): Fix grammar error.
740 2015-02-10  David Wohlferd  <dw@LimeGreenSocks.com>
742         * doc/extend.texi (Symbol-Renaming Pragmas): Restore (slightly
743         modified) reference to Solaris.
745 2015-02-10  Sandra Loosemore  <sandra@codesourcery.com>
747         * doc/extend.texi (Extended Asm): Fix typos.
749 2015-02-10  Jakub Jelinek  <jakub@redhat.com>
751         PR sanitizer/65004
752         * ubsan.c (ubsan_expand_vptr_ifn): Always return true.
754 2015-02-10  Oleg Endo  <olegendo@gcc.gnu.org>
756         PR target/64661
757         * config/sh/sh-protos.h (TARGET_ATOMIC_ANY, TARGET_ATOMIC_STRICT,
758         TARGET_ATOMIC_SOFT_GUSA, TARGET_ATOMIC_HARD_LLCS,
759         TARGET_ATOMIC_SOFT_TCB, TARGET_ATOMIC_SOFT_IMASK): Add parentheses.
760         * config/sh/constraints.md (Ara, Add): New constraints.
761         * config/sh/sync.md (atomic_mem_operand_0, atomic_mem_operand_1): New
762         predicates.
763         (atomic_compare_and_swap<mode>, atomic_exchange<mode>): Use
764         atomic_mem_operand_0.  Don't use force_reg on the memory address.
765         (atomic_compare_and_swapsi_hard): Use atomic_mem_operand_0 predicate and
766         Sra constraint.  Convert to insn_and_split.  Add workaround for
767         PR 64974.
768         (atomic_compare_and_swap<mode>_hard): Copy to
769         atomic_compare_and_swap<mode>_hard_1.  Convert to insn_and_split.
770         Use atomic_mem_operand_0 predicate.
771         (atomic_compare_and_swap<mode>_soft_gusa,
772         atomic_exchange<mode>_soft_gusa): Use atomic_mem_operand_0 predicate and
773         AraAdd constraints.
774         (atomic_compare_and_swap<mode>_soft_tcb,
775         atomic_compare_and_swap<mode>_soft_imask,
776         atomic_exchange<mode>_soft_tcb, atomic_exchange<mode>_soft_imask): Use
777         atomic_mem_operand_0 predicate and SraSdd constraints.
778         (atomic_exchangesi_hard) Use atomic_mem_operand_0 predicate and Sra
779         constraint.
780         (atomic_exchange<mode>_hard): Copy to atomic_exchange<mode>_hard_1.
781         Convert to insn_and_split.  Use atomic_mem_operand_0 predicate.
782         (atomic_fetch_<fetchop_name><mode>, atomic_fetch_nand<mode>,
783         atomic_<fetchop_name>_fetch<mode>): Use atomic_mem_operand_1.  Don't use
784         force_reg on the memory address.
785         (atomic_fetch_<fetchop_name>si_hard, atomic_fetch_notsi_hard,
786         atomic_fetch_nandsi_hard, atomic_<fetchop_name>_fetchsi_hard,
787         atomic_not_fetchsi_hard, atomic_nand_fetchsi_hard): Use
788         atomic_mem_operand_1 predicate and Sra constraint.
789         (atomic_fetch_<fetchop_name><mode>_hard): Copy to
790         atomic_fetch_<fetchop_name><mode>_hard_1.  Convert to insn_and_split.
791         Use atomic_mem_operand_1 predicate.
792         (atomic_<fetchop_name><mode>_hard): Copy to
793         atomic_<fetchop_name><mode>_hard_1.  Convert to insn_and_split.
794         Use atomic_mem_operand_1 predicate.
795         (atomic_fetch_nand<mode>_hard): Copy to atomic_fetch_nand<mode>_hard_1.
796         Convert to insn_and_split.  Use atomic_mem_operand_1 predicate.
797         (atomic_nand<mode>_hard): Copy to atomic_nand<mode>_hard_1.  Convert to
798         insn_and_split.  Use atomic_mem_operand_1 predicate.
799         (atomic_<fetchop_name>_fetch<mode>_hard): Copy to
800         atomic_<fetchop_name>_fetch<mode>_hard_1.  Convert to insn_and_split.
801         Use atomic_mem_operand_1 predicate.
802         (atomic_nand_fetch<mode>_hard): Copy to atomic_nand_fetch<mode>_hard_1.
803         Convert to insn_and_split.  Use atomic_mem_operand_1 predicate.
804         (atomic_fetch_not<mode>_hard, atomic_not_fetch<mode>_hard): Replace mems
805         in generated insn with original mem operand before emitting the insn.
806         (atomic_fetch_<fetchop_name><mode>_soft_gusa,
807         atomic_fetch_not<mode>_soft_gusa, atomic_fetch_nand<mode>_soft_gusa,
808         atomic_<fetchop_name>_fetch<mode>_soft_gusa,
809         atomic_not_fetch<mode>_soft_gusa, atomic_nand_fetch<mode>_soft_gusa):
810         Use atomic_mem_operand_1 predicate and AraAdd constraints.
811         (atomic_fetch_<fetchop_name><mode>_soft_tcb,
812         atomic_<fetchop_name><mode>_soft_tcb, atomic_fetch_not<mode>_soft_tcb,
813         atomic_not<mode>_soft_tcb, atomic_fetch_<fetchop_name><mode>_soft_imask,
814         atomic_fetch_not<mode>_soft_imask, atomic_fetch_nand<mode>_soft_tcb,
815         atomic_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask,
816         atomic_<fetchop_name>_fetch<mode>_soft_tcb,
817         atomic_not_fetch<mode>_soft_tcb,
818         atomic_<fetchop_name>_fetch<mode>_soft_imask,
819         atomic_not_fetch<mode>_soft_imask, atomic_nand_fetch<mode>,
820         atomic_nand_fetch<mode>_soft_tcb, atomic_nand_fetch<mode>_soft_imask):
821         Use atomic_mem_operand_1 predicate and SraSdd constraints.
823 2015-02-10  Uros Bizjak  <ubizjak@gmail.com>
825         * config/alpha/alpha.md (reload_out<mode>_aligned): Make operands 2
826         and 3 earlyclobber operands.
828 2015-02-10  Jan Hubicka  <hubicka@ucw.cz>
830         * common.opt (fstack-reuse): Mark as optimization.
832 2015-02-10  Jan Hubicka  <hubicka@ucw.cz>
834         PR ipa/64982
835         * cgraphunit.c (cgraph_node::expand_thunk): Look for stdarg thunks.
837 2015-02-10  Trevor Saunders  <tsaunders@mozilla.com>
839         PR tree-optimization/64326
840         * cfghooks.c (make_forwarder_block): Cap frequency of created block.
842 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
844         PR gcov-profile/61889
845         * gcov-tool.c: Remove wrong #if !defined(_WIN32)
847 2015-02-10  Richard Biener  <rguenther@suse.de>
849         PR tree-optimization/64995
850         * tree-ssa-sccvn.c (set_ssa_val_to): Assert that the
851         value we use is final.
852         (visit_reference_op_store): Always valueize op.
853         (visit_use): Properly valueize vuses.
855 2015-02-10  Richard Biener  <rguenther@suse.de>
857         PR tree-optimization/64909
858         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Properly
859         pass a scalar-stmt count estimate to the cost model.
860         * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.
862 2015-02-10  Alexander Monakov  <amonakov@ispras.ru>
864         * doc/invoke.texi (-fvar-tracking-assignments): Clarify that VTA is
865         enabled by default together with var-tracking.
867 2015-02-10  Nick Clifton  <nickc@redhat.com>
869         * config/rl78/rl78.c: Remove DIV attribute code accidentally
870         included in previous rl78 commit.
872 2015-02-10  Richard Biener  <rguenther@suse.de>
874         * tree-streamer.h (streamer_read_tree_bitfields): Adjust.
875         * tree-streamer-in.c (streamer_read_tree_bitfields): Do not
876         return the bitpack.
878 2015-02-09  Trevor Saunders  <tsaunders@mozilla.com>
880         PR gcov-profile/61889
881         * config.in: regenerate.
882         * configure.in: Likewise.
883         * configure.ac: Check for ftw.h.
884         * gcov-tool.c: Check for ftw.h before using nftw.
886 2015-02-09  Trevor Saunders  <tsaunders@mozilla.com>
888         PR lto/64076
889         * ipa-visibility.c (update_visibility_by_resolution_info): Only
890         assert when not in lto mode.
892 2015-02-09  Zhouyi Zhou   <yizhouzhou@ict.ac.cn>
894         * ira-color.c (setup_left_conflict_sizes_p): Simplify
895         initialization/assignment of conflict_size.
897 2015-02-09  Jan Hubicka  <hubicka@ucw.cz>
899         PR ipa/64978
900         * ipa-cp.c (gather_caller_stats): Skip thunks.
901         (propagate_constants_topo): Skip aliases.
903 2015-02-09  Kaz Kojima  <kkojima@gcc.gnu.org>
905         PR target/64761
906         * config/sh/sh.c (sh_option_override): Don't change
907         -freorder-blocks-and-partition to -freorder-blocks even when
908         unwinding is enabled.
909         (sh_can_follow_jump): Return false if the followee jump is
910         a crossing jump when -freorder-blocks-and-partition is specified.
911         * config/sh/sh.md (*jump_compact_crossing): New insn.
913 2015-02-09  Joern Rennecke  <joern.rennecke@embecosm.com>
914             Kaz Kojima  <kkojima@gcc.gnu.org>
916         PR target/64761
917         * config/sh/sh-protos.h (sh_can_redirect_branch): Don't declare.
918         * config/sh/sh.c (TARGET_CAN_FOLLOW_JUMP): Redefine.
919         (sh_can_redirect_branch): Rename to ...
920         (sh_can_follow_jump): ... this.  Constify argument types.
921         * config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): Don't define.
922         * doc/tm.texi.in (MD_CAN_REDIRECT_BRANCH): Remove documentation.
923         * reorg.c (steal_delay_list_from_target): Use targetm.can_follow_jump.
924         * doc/tm.texi: Regenerate.
926 2015-02-09  Jakub Jelinek  <jakub@redhat.com>
928         PR sanitizer/64981
929         * builtins.c (expand_builtin): Call targetm.expand_builtin
930         for BUILT_IN_MD builtins regardless of asan_intercepted_p.
932 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
934         PR ipa/61548
935         * tree-emutls.c (ipa_lower_emutls): Avoid duplicates in TLS_VARS.
937 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
939         PR ipa/63566
940         * ipa-icf.c (set_local): New function.
941         (sem_function::merge): Use it.
943 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
945         * ipa-devirt.c (odr_types_equivalent_p): Fix formating.
946         (add_type_duplicate): Fix comparison of BINFOs.
948 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
950         * ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
951         on getting VOID pointer.
953 2015-02-09  Jakub Jelinek  <jakub@redhat.com>
955         PR target/64979
956         * tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
957         va_list escapes.
959 2015-02-09  Richard Biener  <rguenther@suse.de>
961         * genmatch.c (replace_id): Copy expr_type.
963 2015-02-09  Richard Biener  <rguenther@suse.de>
965         * tree-streamer.h (streamer_pack_tree_bitfields): Remove.
966         (streamer_write_tree_bitfields): Declare.
967         * tree-streamer-in.c (unpack_ts_base_value_fields): Inline,
968         properly unpack padding.
969         (unpack_value_fields): Inline ...
970         (streamer_read_tree_bitfields): ... here.
971         * tree-streamer-out.c (pack_ts_base_value_fields): Inline
972         and properly add padding bits.
973         (streamer_pack_tree_bitfields): Fold into ...
974         (streamer_write_tree_bitfields): ... this new function,
975         exposing the bitpack object.
976         * lto-streamer-out.c (lto_write_tree_1): Call
977         streamer_write_tree_bitfields.
979 2015-02-09  Richard Biener  <rguenther@suse.de>
981         PR tree-optimization/54000
982         * tree-ssa-looo-ivopts.c: Include tree-vectorizer.h.
983         (struct ivopts_data): Add loop_loc member.
984         (tree_ssa_iv_optimize_loop): Dump loop location.
985         (create_new_ivs): Likewise, also dump number of IVs generated.
987 2015-02-09  Martin Liska  <mliska@suse.cz>
989         * ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
990         just if not yet registered.
991         (ipa_icf_generate_summary): Register callgraph hooks.
993 2015-02-08  Andrew Pinski  <apinski@cavium.com>
995         * config/aarch64/aarch64.c (gty_dummy): Delete.
997 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
999         PR ipa/63566
1000         * ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
1001         (cgraph_node::local_p): Remove thunk related FIXME.
1003 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
1005         PR ipa/63566
1006         * i386.c (ix86_function_regparm): Look through aliases to see if callee
1007         is local and optimized.
1008         (ix86_function_sseregparm): Likewise; also use target's SSE math
1009         settings; error out instead of silently generating wrong code
1010         on mismatches.
1011         (init_cumulative_args): Look through aliases.
1013 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
1015         PR ipa/63566
1016         * ipa-split.c (execute_split_functions): Split if function has aliases.
1018 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
1020         PR ipa/63566
1021         * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
1022         aliases before trying to expand it.
1023         (cgraph_node::expand_thunk): Fix formating.
1025 2015-02-07  Sandra Loosemore  <sandra@codesourcery.com>
1027         * doc/extend.texi (Function Attributes [naked]): Copy-edit.
1028         (Using Assembly Language with C): Expand introduction.
1029         (Basic Asm): Copy-edit.  Add more information about uses of
1030         basic asm.
1031         (Extended Asm): Copy-edit.  Document new escape syntax and
1032         %l[label] syntax.
1033         (Global Reg Vars): Copy-edit.
1034         (Local Reg Vars): Likewise.
1036 2015-02-06  David Edelsohn  <dje.gcc@gmail.com>
1038         PR debug/2714
1039         PR bootstrap/64256
1040         * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
1041         (DBX_CONTIN_CHAR): Define.
1043 2015-02-06  Sebastian Pop  <s.pop@samsung.com>
1044             Brian Rzycki  <b.rzycki@samsung.com>
1046         PR tree-optimization/64878
1047         * tree-ssa-threadedge.c: Include tree-ssa-loop.h.
1048         (fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi.
1049         Stop recursion at loop phi nodes after having visited a loop phi node.
1051 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
1053         * toplev.c (process_options): Change flag_ipa_ra before creating
1054         optimization_{default,current}_node.
1056         PR ipa/64896
1057         * cgraphunit.c (cgraph_node::expand_thunk): If
1058         restype is not is_gimple_reg_type nor the thunk_fndecl
1059         returns aggregate_value_p, set restmp to a temporary variable
1060         instead of resdecl.
1062 2015-02-06  Vladimir Makarov  <vmakarov@redhat.com>
1064         * lra.c (lra_emit_add): Fix a typo in using disp instead of base.
1066 2015-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
1068         PR target/64205
1069         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
1070         add a general secondary reload handler for SDmode, unless we have
1071         both read/write support for SDmode.
1073 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
1075         PR middle-end/64937
1076         * dwarf2out.c (set_block_abstract_flags, set_decl_abstract_flags):
1077         Replace setting argument with abstract_vec, always set BLOCK_ABSTRACT
1078         or DECL_ABSTRACT_P flags to 1 rather than to setting, and if it wasn't
1079         1 before, push it to abstract_vec.
1080         (dwarf2out_abstract_function): Adjust caller.  Don't call
1081         set_decl_abstract_flags second time, instead clear BLOCK_ABSTRACT or
1082         DECL_ABSTRACT_P flags for all abstract_vec elts.
1084 2015-02-06  Renlin Li  <renlin.li@arm.com>
1086         * tree-ssa-forwprop.c (execute): Keep location info while rewrite
1087         complex gimple.
1088         * tree-ssa.c (execute_update_addresses_taken): Likewise.
1090 2015-02-06  Jeff Law  <law@redhat.com>
1092         PR target/64889
1093         * config/h8300/h8300.c (push): New argument "in_prologue".
1094         Pass "in_prologue" along to "F".
1095         (h8300_push_pop): Corresponding changes.
1096         (h8300_expand_prologue): Likewise.
1097         (h8300_swap_into_er6): Likewise.  Do not set RTX_FRAME_RELATED_P.
1099 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
1101         PR rtl-optimization/64957
1102         PR debug/64817
1103         * simplify-rtx.c (simplify_binary_operation_1): Use ~cval for
1104         IOR rather than for AND.
1106 2015-02-06  Eric Botcazou  <ebotcazou@adacore.com>
1108         PR target/62631
1109         * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Use the mininum of costs
1110         of shift-add and (add + shift) operations.  Rename local variable.
1112 2015-02-05  Jeff Law  <law@redhat.com>
1114         PR target/17306
1115         * config/h8300/constraints.md (U): Correctly dectect
1116         "eightbit_data" memory addresses.
1117         * config/h8300/h8300.c (eightbit_constant_address_p): Also
1118         handle (const (plus (symbol_ref (x)))) where x is declared
1119         as an 8-bit data memory address.
1120         * config/h8300/h8300.md (call, call_value): Correctly detect
1121         "funcvec" functions.
1123         PR target/43264
1124         * config/h8300/h8300.c (get_shift_alg): Fix ASHIFTRT by
1125         24 to 28 bits for the H8/300.
1127 2015-02-06  Alan Modra  <amodra@gmail.com>
1129         PR target/64876
1130         * config/rs6000/rs6000.c (chain_already_loaded): New function.
1131         (rs6000_call_aix): Use it.
1133 2015-02-05  Jan Hubicka <hubicka@ucw.cz>
1135         * ipa-cp.c (ipa_value_from_jfunc, ipa_context_from_jfunc): Add bounds
1136         check.
1138 2015-02-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1140         * config/h8300/constraints.md ("U" constraint): Use strict
1141         variant of REG_OK_FOR_BASE_P after reload has started.
1143 2015-02-04  Mantas Mikaitis  <mantas.mikaitis@arm.com>
1145         * config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
1146         define to zero if !TARGET_NEON.
1147         (TARGET_ARM_FP): Added !TARGET_SOFT_FLOAT into conditional definition.
1149 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1150             Trevor Saunders  <tsaunders@mozilla.com>
1152         PR ipa/61548
1153         * tree-emultls.c (new_emutls_decl): Resolve alias after creating it.
1155 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1157         PR ipa/61548
1158         * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering issue
1159         when removing varpool nodes.
1161 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1163         PR ipa/61548
1164         * varpool.c (varpool_node::remove): Fix order of variables.
1166 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1168         PR ipa/64686
1169         * ipa-inline.c (inline_small_functions): Fix ordering issue between
1170         speculation resolution and key updates.
1172 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1174         * ipa-prop.c (update_indirect_edges_after_inlining): By more careful
1175         about not letting any speculative edges unupdated.
1177 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1179         PR gcov/64123
1180         * gcov-io.c (gcov_var): Export.
1182 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1184         PR middle-end/64922
1185         * ipa-prop.c (update_indirect_edges_after_inlining): Correctly update
1186         edges that become speculative.
1188 2015-02-04  Jakub Jelinek  <jakub@redhat.com>
1190         * dwarf2out.c (is_fortran): Also return true for DW_LANG_Fortran03
1191         or DW_LANG_Fortran08.
1192         (lower_bound_default): Return 1 for DW_LANG_Fortran03 or
1193         DW_LANG_Fortran08.
1194         (gen_compile_unit_die): Handle "GNU Fortran2003" and
1195         "GNU Fortran2008" language strings.
1196         * dbxout.c (get_lang_number): Use lang_GNU_Fortran.
1197         * langhooks.h (lang_GNU_Fortran): New prototype.
1198         * langhooks.c (lang_GNU_Fortran): New function.
1199         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
1200         lang_GNU_Fortran.
1202 2015-02-04  Eric Botcazou  <ebotcazou@adacore.com>
1204         * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P): Fix off-by-one error.
1205         (RTX_OK_FOR_OLO10_P): Likewise.
1207 2015-02-04  Eric Botcazou  <ebotcazou@adacore.com>
1209         * tree-ssa-loop-ivopts.c (get_address_cost): Use right mode for offset.
1211 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
1213         PR middle-end/64922
1214         * gimple.c: Include gimple-ssa.h.
1215         (maybe_remove_unused_call_args): New function.
1216         * gimple.h (maybe_remove_unused_call_args): Declare.
1217         * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Use it.
1218         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
1219         * gimple-fold.c (gimple_fold_call): Likewise.
1221 2015-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1223         PR rtl-optimization/64905
1224         * lra-eliminations.c (setup_can_eliminate): Clear hard frame
1225         pointer alignment if it isn't needed.
1227 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
1229         * config/aarch64/aarch64-cores.def: Add cortex-a72 and
1230         cortex-a72.cortex-a53.
1231         * config/aarch64/aarch64-tune.md: Regenerate.
1232         * doc/invoke.texi (AArch64 Options/-mtune): Add "cortex-a72".
1234 2015-02-04  Nick Clifton  <nickc@redhat.com>
1236         * config/rl78/rl78.c (rl78_note_reg_set): Note the use of REGs
1237         inside a MEM.
1239 2015-02-04  Jakub Jelinek  <jakub@redhat.com>
1241         * builtins.def (DEF_BUILTIN_CHKP): Define if not defined.
1242         (DEF_LIB_BUILTIN_CHKP, DEF_EXT_LIB_BUILTIN_CHKP): Redefine.
1243         (DEF_CHKP_BUILTIN): Define using DEF_BUILTIN_CHKP instead
1244         of DEF_BUILTIN.
1245         (BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMSET, BUILT_IN_STRCAT,
1246         BUILT_IN_STRCHR, BUILT_IN_STRCPY, BUILT_IN_STRLEN): Use
1247         DEF_LIB_BUILTIN_CHKP macro instead of DEF_LIB_BUILTIN.
1248         (BUILT_IN_MEMCPY_CHK, BUILT_IN_MEMMOVE_CHK, BUILT_IN_MEMPCPY_CHK,
1249         BUILT_IN_MEMPCPY, BUILT_IN_MEMSET_CHK, BUILT_IN_STPCPY_CHK,
1250         BUILT_IN_STPCPY, BUILT_IN_STRCAT_CHK, BUILT_IN_STRCPY_CHK): Use
1251         DEF_EXT_LIB_BUILTIN_CHKP macro instead of DEF_EXT_LIB_BUILTIN.
1252         * tree-core.h (enum built_in_function): In between
1253         BEGIN_CHKP_BUILTINS and END_CHKP_BUILTINS only define enum values
1254         for builtins that use DEF_BUILTIN_CHKP macro.
1256 2015-02-04  Alexandre Oliva <aoliva@redhat.com>
1258         PR debug/64817
1259         * cfgexpand.c (expand_debug_expr): Compute unsignedp from
1260         operands for tcc_comparison exprs.  Fix typos.
1262         PR debug/64817
1263         * simplify-rtx.c (simplify_binary_operation_1): Simplify one
1264         of two XORs that have an intervening AND or IOR.
1266         PR debug/64817
1267         * simplify-rtx.c (simplify_binary_operation_1): Rewrite
1268         simplification of XOR of AND to not allocate new rtx before
1269         committing to a simplification.
1271 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1273         * config/aarch64/aarch64-ldpstp.md: Use std::swap instead of
1274         manual swaps in all peepholes.
1276 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1278         * config/aarch64/aarch64.c (aarch64_evpc_ext): Use std::swap instead
1279         of manual swapping implementation.
1280         (aarch64_expand_vec_perm_const_1): Likewise.
1282 2015-02-04  James Greenhalgh <james.greenhalgh@arm.com>
1284         * config/aarch64/aarch64.c (NAMED_PARAM): Delete it.
1285         (generic_addrcost_table): Remove NAMED_PARAM.
1286         (cortexa57_addrcost_table): Likewise.
1287         (xgene1_addrcost_table): Likewise.
1288         (generic_regmove_table): Likewise.
1289         (cortexa53_regmove_table): Likewise.
1290         (xgene1_regmove_table): Likewise.
1291         (generic_vector_table): Likewise.
1292         (cortexa57_vector_table): Likewise.
1293         (xgene1_vector_table): Likewise.
1294         (generic_tunings): Likewise.
1295         (cortexa53_tunings): Likewise.
1296         (cortexa57_tunings): Likewise.
1297         (xgene1_tunings): Likewise.
1299 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
1301         * config/arm/arm-cores.def: Add cortex-a72 and
1302         cortex-a72.cortex-a53.
1303         * config/arm/bpabi.h (BE8_LINK_SPEC): Likewise.
1304         * config/arm/t-aprofile (MULTILIB_MATCHES): Likewise.
1305         * config/arm/arm-tune.md: Regenerate.
1306         * config/arm/arm-tables.opt: Add entries for "cortex-a72" and
1307         "cortex-a72.cortex-a53".
1308         * doc/invoke.texi (ARM Options/-mtune): Likewise.
1310 2015-02-04  Nick Clifton  <nickc@redhat.com>
1312         PR target/64408
1313         * config/fr30/predicates.md (di_operand): Add SUBREG to the list
1314         of accepted codes.
1315         (nonimmediate_di_operand): Likewise.
1317         * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
1318         prefixes of known F5 using MSP430 MCUs.
1320 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1322         * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF.
1323         * config/aarch64/arm_neon.h (vsqrt_f64): Use __builtin_aarch64_sqrtdf
1324         instead of __builtin_sqrt.
1326 2015-02-04  Ilya Enkovich  <ilya.enkovich@intel.com>
1328         * varasm.c (do_assemble_alias): Follow transparent alias
1329         chain for target.
1330         (default_assemble_visibility): Follow transparent alias
1331         chain for decl name.
1333 2015-02-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1335         PR middle-end/62103
1336         * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use TYPE_PRECISION
1337         to compute size of referenced value in the constant case.
1339 2015-02-03  Jakub Jelinek  <jakub@redhat.com>
1341         PR rtl-optimization/64756
1342         * cse.c (invalidate_dest): New function.
1343         (cse_insn): Use it.  If dest != SET_DEST (sets[i].rtl) and
1344         HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record,
1345         invalidate and do not record it.
1347 2015-02-03  Oleg Endo  <olegendo@gcc.gnu.org>
1349         PR target/64660
1350         * config/sh/sync.md (atomic_<fetchop_name><mode>_hard,
1351         atomic_not<mode>_hard, atomic_<fetchop_name><mode>_soft_tcb,
1352         atomic_not<mode>_soft_tcb, atomic_nand<mode>_hard,
1353         atomic_nand<mode>_soft_tcb): New insns.
1354         (atomic_fetch_<fetchop_name>si_hard): Convert to insn_and_split.
1355         Split into atomic_<fetchop_name>_fetchsi_hard if operands[0] is unused.
1356         (define_insn "atomic_fetch_notsi_hard): Convert to insn_and_split.
1357         Split into atomic_not_fetchsi_hard if operands[0] is unused.
1358         (atomic_fetch_<fetchop_name><mode>_hard): Convert to insn_and_split.
1359         Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
1360         (atomic_fetch_not<mode>_hard): Convert to insn_and_split.  Split into
1361         atomic_not<mode>_hard if operands[0] is unused.
1362         (atomic_fetch_<fetchop_name><mode>_soft_gusa): Convert to
1363         insn_and_split.  Split into atomic_<fetchop_name>_fetch<mode>_soft_gusa
1364         if operands[0] is unused.
1365         (atomic_fetch_not<mode>_soft_gusa): Convert to insn_and_split.  Split
1366         into atomic_not_fetch<mode>_soft_gusa if operands[0] is unused.
1367         (atomic_fetch_<fetchop_name><mode>_soft_tcb): Convert to insn_and_split.
1368         Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
1369         unused.
1370         (atomic_fetch_not<mode>_soft_tcb): Convert to insn_and_split.  Split
1371         into atomic_not<mode>_soft_tcb if operands[0] is unused.
1372         (atomic_fetch_<fetchop_name><mode>_soft_imask): Convert to
1373         insn_and_split.  Split into atomic_<fetchop_name>_fetch<mode>_soft_imask
1374         if operands[0] is unused.
1375         (atomic_fetch_not<mode>_soft_imask): Convert to insn_and_split.  Split
1376         into atomic_not_fetch<mode>_soft_imask is operands[0] is unused.
1377         (atomic_fetch_nandsi_hard): Convert to insn_and_split.  Split into
1378         atomic_nand_fetchsi_hard if operands[0] is unused.
1379         (atomic_fetch_nand<mode>_hard): Convert to insn_and_split.  Split into
1380         atomic_nand<mode>_hard if operands[0] is unused.
1381         (atomic_fetch_nand<mode>_soft_gusa): Convert to insn_and_split.  Split
1382         into atomic_nand_fetch<mode>_soft_gusa if operands[0] is unused.
1383         (atomic_fetch_nand<mode>_soft_tcb): Convert to insn_and_split.  Split
1384         into atomic_nand<mode>_soft_tcb if operands[0] is unused.
1385         (atomic_fetch_nand<mode>_soft_imask): Convert to insn_and_split.  Split
1386         into atomic_nand_fetch<mode>_soft_imask if operands[0] is unused.
1387         (atomic_<fetchop_name>_fetch<mode>_hard): Convert to insn_and_split.
1388         Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
1389         (atomic_not_fetch<mode>_hard): Convert to insn_and_split.  Split into
1390         atomic_not<mode>_hard if operands[0] is unused.
1391         (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Convert to insn_and_split.
1392         Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
1393         unused.
1394         (atomic_not_fetch<mode>_soft_tcb): Convert to insn_and_split.  Split
1395         into atomic_not<mode>_soft_tcb if operands[0] is unused.
1396         (atomic_nand_fetch<mode>_hard): Convert to insn_and_split.  Split into
1397         atomic_nand<mode>_hard if operands[0] is unused.
1398         (atomic_nand_fetch<mode>_soft_tcb): Convert to insn_and_split.  Split
1399         into atomic_nand<mode>_soft_tcb if operands[0] is unused.
1401 2015-02-03  David Malcolm  <dmalcolm@redhat.com>
1403         PR jit/64810
1404         * Makefile.in (GCC_OBJS): Add gcc-main.o.
1405         * gcc-main.c: New file, containing "main" taken from gcc.c.
1406         * gcc.c (do_self_spec): Free decoded_options.
1407         (class driver): Move declaration to gcc.h.
1408         (main): Move declaration and implementation to new file
1409         gcc-main.c.
1410         (driver_get_configure_time_options): New function.
1411         * gcc.h (class driver): Move this declaration here, from
1412         gcc.c.
1413         (driver_get_configure_time_options): New declaration.
1415 2015-02-03  Jan Hubicka  <hubicka@ucw.cz>
1417         * ipa-inline-analysis.c (simple_edge_hints): Fix check for
1418         cross-module inlining.
1419         * cgraph.h (cgraph_node): Add flag merged.
1420         * ipa-icf.c (sem_function::merge): Maintain it.
1422 2015-02-03  Richard Sandiford  <richard.sandiford@arm.com>
1424         * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
1425         instead of OBJECT_P.
1427 2015-02-03  Eric Botcazou  <ebotcazou@adacore.com>
1429         PR target/62631
1430         * config/sparc/sparc.h (TARGET_HARD_MUL): Remove TARGET_V8PLUS.
1431         (TARGET_HARD_MUL32): Rewrite based on TARGET_HARD_MUL.
1432         * config/sparc/sparc.c (sparc_rtx_costs) <MULT>: Return costs based on
1433         int_mulX for integers in 64-bit mode if TARGET_HARD_MUL is not set.
1435 2015-02-03  Jakub Jelinek  <jakub@redhat.com>
1437         PR other/63504
1438         * combine.c (reg_n_sets_max): New variable.
1439         (can_change_dest_mode, reg_nonzero_bits_for_combine,
1440         reg_num_sign_bit_copies_for_combine, get_last_value_validate,
1441         get_last_value): Use REG_N_SETS only on pseudos < reg_n_sets_max.
1442         (try_combine): Use INC_REG_N_SETS only on pseudos < reg_n_sets_max.
1443         (rest_of_handle_combine): Initialize reg_n_sets_max.
1445 2015-02-02  Jan Hubicka  <hubicka@ucw.cz>
1447         * ipa-inline.c (early_inliner): Skip inlining only in always_inlined;
1448         if some always_inline was inlined, apply changes before inlining
1449         heuristically.
1451 2015-02-02  David Malcolm  <dmalcolm@redhat.com>
1453         PR jit/64810
1454         * config/arm/arm.c (arm_option_override): Set
1455         arm_selected_arch/cpu/tune to NULL on entry.
1457 2015-02-02  Tejas Belagod  <tejas.belagod@arm.com>
1458             Andrew Pinski  <pinskia@gcc.gnu.org>
1459             Jakub Jelinek  <jakub@gcc.gnu.org>
1461         PR target/64231
1462         * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix large
1463         integer typing for small model. Use IN_RANGE.
1465 2015-02-02  Richard Biener  <rguenther@suse.de>
1467         * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
1468         * tree-vrp.c (vrp_valueize_1): Likewise.
1470 2015-02-02  Alan Modra  <amodra@gmail.com>
1472         * config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
1473         than mem for toc_restore.
1474         * config/rs6000/rs6000.md (UNSPEC_TOCSLOT): Define.
1475         (call_indirect_aix, call_value_indirect_aix): Adjust to suit.
1476         (call_indirect_elfv2, call_value_indirect_elfv2): Likewise.
1478 2015-02-01  David Edelsohn  <dje.gcc@gmail.com>
1480         PR target/64047
1481         * config/rs6000/rs6000.c (rs6000_set_current_function): Handle
1482         explicit default options.
1484 2015-02-01  Jan Hubicka  <hubicka@ucw.cz>
1486         PR ipa/64872
1487         * ipa-utils.c (ipa_merge_profiles): Add release argument.
1488         * ipa-icf.c (sem_function::merge): Do not release body when merging.
1489         * ipa-utils.h (ipa_merge_profiles): Update prototype.
1491 2015-02-01  Jakub Jelinek  <jakub@redhat.com>
1493         PR debug/64817
1494         * cfgexpand.c (deep_ter_debug_map): New variable.
1495         (avoid_deep_ter_for_debug): New function.
1496         (expand_debug_expr): If TERed SSA_NAME is in
1497         deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL
1498         instead of trying to expand SSA_NAME's def stmt.
1499         (expand_debug_locations): When expanding debug bind
1500         of a DEBUG_EXPR_DECL to corresponding SSA_NAME,
1501         temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's
1502         value.
1503         (pass_expand::execute): Call avoid_deep_ter_for_debug on
1504         all debug bind stmts.  Delete deep_ter_debug_map after
1505         expand_debug_location if non-NULL and clear it.
1507 2015-02-01  Oleg Endo  <olegendo@gcc.gnu.org>
1509         PR target/64851
1510         * config/sh/sync.md (atomic_fetch_notsi_hard,
1511         atomic_fetch_not<mode>_hard, atomic_fetch_not<mode>_soft_gusa,
1512         atomic_fetch_not<mode>_soft_tcb, atomic_fetch_not<mode>_soft_imask,
1513         atomic_not_fetchsi_hard, atomic_not_fetch<mode>_hard,
1514         atomic_not_fetch<mode>_soft_gusa, atomic_not_fetch<mode>_soft_tcb,
1515         atomic_not_fetch<mode>_soft_imask): New insns.
1517 2015-02-01  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1519         * haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
1520         (rank_for_schedule_debug): Split from ...
1521         (rank_for_schedule): ... this.
1522         (ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
1523         * sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.
1525 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1527         * doc/md.texi (Machine Constraints): Alphabetize table by target.
1528         * doc/extend.texi (x86 Variable Attributes): Move section to
1529         correct alphabetization after renaming.
1530         (x86 Type Attributes): Likewise.
1531         (Target Builtins): Re-alphabetize menu.
1532         (x86 Built-in Functions): Move section to correct alphabetization
1533         after renaming.
1534         (x86 transactional memory intrinsics): Likewise.
1535         * doc/invoke.texi (Option Summary): Re-alphabetize x86 Options
1536         and x86 Windows Options in table and menu.
1537         (x86 Options): Move section to correct alphabetization after
1538         renaming.
1539         (x86 Windows Options): Likewise.
1541 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1543         * doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
1544         preferred names of the architecture and its 32- and 64-bit
1545         variants.
1546         * doc/invoke.texi: Likewise.
1547         * doc/md.texi: Likewise.
1549 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
1551         PR target/64882
1552         * config/i386/predicates.md (address_no_seg_operand): Reject
1553         non-CONST_INT_P operands in invalid mode.
1555 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
1557         * config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
1558         address_operand 0.  Rename from *prefetch_prefetchwt1_<mode>.
1559         * config/i386/predicates.md (address_no_seg_operand): Call
1560         address_operand with VOIDmode.
1561         (vsib_address_operand): Ditto.
1562         (address_mpx_no_base_operand): Ditto.
1563         (address_mpx_no_index_operand): Ditto.
1565 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
1567         PR target/64688
1568         * lra-constraints.c (original_subreg_reg_mode): New.
1569         (simplify_operand_subreg): Try to simplify subreg of const.  Use
1570         original_subreg_reg_mode for it.
1571         (swap_operands): Update original_subreg_reg_mode.
1572         (curr_insn_transform): Set up original_subreg_reg_mode.
1574 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
1576         PR target/64617
1577         * lra-constraints.c (prohibited_class_reg_set_mode_p): New
1578         function.
1579         (process_alt_operands): Use it.
1580         (curr_insn_transform): Check the optional reload pseudo class is
1581         ok for the mode.
1583 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
1585         * diagnostic.c (fatal_error (const char *, ...)): Remove function.
1586         * diagnostic-core.h (fatal_error (const char *, ...)): Remove
1587         prototype.
1588         * toplev.h (init_asm_output): Update comment on use of
1589         UNKNOWN_LOCATION with fatal_error.
1590         * cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
1591         config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
1592         config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
1593         config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
1594         config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
1595         config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
1596         config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
1597         ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
1598         lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
1599         lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
1600         tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
1601         fatal_error changed to pass input_location as first argument.
1603 2015-01-30  Martin Liska  <mliska@suse.cz>
1605         * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
1606         in #pragma GCC diagnostic guards.
1608 2015-01-30  Richard Biener  <rguenther@suse.de>
1610         PR tree-optimization/64829
1611         * tree-vect-patterns.c (vect_handle_widen_op_by_const): Do
1612         not add a widening conversion pattern but hand off extra
1613         widenings to callers.
1614         (vect_recog_widen_mult_pattern): Handle extra widening produced
1615         by vect_handle_widen_op_by_const.
1616         (vect_recog_widen_shift_pattern): Likewise.
1617         (vect_pattern_recog_1): Remove excess vertical space in dumping.
1618         * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
1619         (vect_init_vector_1): Likewise.
1620         (vect_get_vec_def_for_operand): Likewise.
1621         (vect_finish_stmt_generation): Likewise.
1622         (vectorizable_load): Likewise.
1623         (vect_analyze_stmt): Likewise.
1624         (vect_is_simple_use): Likewise.
1626 2015-01-29  Jeff Law  <law@redhat.com>
1628         * combine.c (try_combine): Fix typo in comment.
1630 2015-01-29  Segher Boessenkool  <segher@kernel.crashing.org>
1632         PR target/64580
1633         * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
1634         (rs6000_stack_info): Add assert.
1635         (rs6000_output_savres_externs): New function, split off from...
1636         (rs6000_output_function_prologue): ... here.  Do not call it for
1637         thunks.
1639 2015-01-29  Jeff Law  <law@redhat.com>
1641         PR target/15184
1642         * combine.c (try_combine): If I0 is a memory load and I3 a store
1643         to a related address, increase the "goodness" of doing a 4-insn
1644         combination with I0-I3.
1645         (make_field_assignment): Handle SUBREGs in the ior+and case.
1647 2015-01-29  Yuri Rumyantsev  <ysrumyan@gmail.com>
1649         PR tree-optimization/64746
1650         * tree-if-conv.c (mask_exists): New function.
1651         (predicate_mem_writes): Save created mask with given size for further
1652         use.
1653         (stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
1654         (ifcvt_repair_bool_pattern): Collect all statements that are root
1655         of bool pattern and use iterative algorithm to remove multiple uses
1656         of predicates, display number of required iterations.
1658 2015-01-29  Richard Biener  <rguenther@suse.de>
1660         PR tree-optimization/64853
1661         * tree-vrp.c (vrp_valueize_1): Do not return anything if the
1662         stmt will get simulated again.
1663         * tree-ssa-ccp.c (valueize_op_1): Likewise.
1665 2015-01-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1667         * config/arm/arm.c (arm_emit_multi_reg_pop): Simplify definition of
1668         return_in_pc.  Remove redundant assignments.
1669         (thumb2_emit_ldrd_pop): Simplify definition of return_in_pc.
1670         (arm_expand_epilogue): Don't compare boolean with true in if condition.
1672 2015-01-29  Uros Bizjak  <ubizjak@gmail.com>
1674         * config/i386/i386.c (ix86_mode_after): Make static.
1676 2015-01-29  Richard Biener  <rguenther@suse.de>
1678         PR tree-optimization/64844
1679         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Always
1680         dump cost model analysis.
1681         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
1682         Do not register adjusted load/store costs here.
1684 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
1685             Uros Bizjak  <ubizjak@gmail.com>
1687         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
1688         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
1689         using x86_use_pseudo_pic_reg.
1690         * config/i386/i386.c (ix86_conditional_register_usage): Remove
1691         support for fixed PIC register.
1692         (ix86_use_pseudo_pic_reg): Not static any more.
1694 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
1696         PR middle-end/64805
1697         * ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
1698         to avoid error in cgraph node verification.
1700 2015-01-29  Marek Polacek  <polacek@redhat.com>
1702         * doc/standards.texi: Reflect that the default for C is gnu11.
1704 2015-01-29  Kaz Kojima  <kkojima@gcc.gnu.org>
1706         PR target/64761
1707         * reorg.c (switch_text_sections_between_p): New function.
1708         (relax_delay_slots): Call it when testing if the jump insn
1709         is removable.  Use targetm.can_follow_jump when testing if
1710         the conditional branch can follow an unconditional jump.
1712 2015-01-27  Caroline Tice  <cmtice@google.com>
1714         Committing VTV Cywin/Ming patch for Patrick Wollgast
1715         * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
1716         if -fvtable-verify=preinit/std is used.
1717         * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
1718         * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
1719         * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
1720         if -fvtable-verify=preinit/std is used.
1721         * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
1722         * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
1723         if -fvtable-verify=preinit/std is used.
1724         * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
1725         * config/i386/mingw32.h (LIB_SPEC): Likewise.
1726         * varasm.c (assemble_variable): Add code to properly set the comdat
1727         section and name for the .vtable_map_vars section in case the
1728         target is PE or COFF.
1730 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
1732         PR ipa/64801
1733         * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
1734         make sane BB profile.
1735         (cgraph_node::expand_thunk): Make sane BB profile.
1736         (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
1737         * cgraph.h (init_lowered_empty_function): Update prototype.
1738         * config/i386/i386.c (make_resolver_func): Update call.
1739         * predict.c (gate): Disable branch prediction pass if
1740         profile is already there.
1742 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
1744         * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
1745         * opth-gen.awk: Likewise.
1746         * common.opt: Mark flag_fp_contract_mode as Optimization.
1748 2015-01-29  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1750         * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
1751         * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
1753 2015-01-28  Oleg Endo  <olegendo@gcc.gnu.org>
1755         PR target/64659
1756         * config/sh/predicates.md (atomic_arith_operand,
1757         atomic_logical_operand): Remove.
1758         * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
1759         (atomic_arith_operand_0): New predicate.
1760         (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
1761         Use atomic_arith_operand_0 for input values.
1762         (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
1763         atomic_compare_and_swap<mode>_soft_gusa,
1764         atomic_compare_and_swap<mode>_soft_tcb,
1765         atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
1766         arith_reg_operand instead of register_operand.
1767         (atomic_exchange<mode>): Use arith_reg_dest for output value.  Use
1768         atomic_arith_operand_0 for newval input.
1769         (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
1770         atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
1771         atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
1772         arith_reg_operand instead of register_operand.
1773         (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
1774         fetchop_predicate_1, fetchop_constraint_1_llcs,
1775         fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
1776         fetchop_constraint_1_imask): New code iterator attributes.
1777         (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
1778         register_operand.  Use fetchop_predicate_1.
1779         (atomic_fetch_<fetchop_name>si_hard,
1780         atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
1781         register_operand.  Use fetchop_predicate_1, fetchop_constraint_1_llcs.
1782         (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
1783         and arith_reg_operand instead of register_operand.  Use
1784         fetchop_predicate_1, fetchop_constraint_1_gusa.
1785         (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
1786         and arith_reg_operand instead of register_operand.  Use
1787         fetchop_predicate_1, fetchop_constraint_1_tcb.  Adjust asm sequence
1788         to allow R0 usage.
1789         (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
1790         and arith_reg_operand instead of register_operand.  Use
1791         fetchop_predicate_1, fetchop_constraint_1_imask.  Adjust asm sequence
1792         to allow R0 usage.
1793         (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
1794         register_operand.  Use atomic_logical_operand_1.
1795         (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
1796         atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
1797         arith_reg_operand instead of register_operand.
1798         (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
1799         Use arith_reg_dest and arith_reg_operand instead of register_operand.
1800         Use logical_operand and rK08.  Adjust asm sequence to allow R0 usage.
1801         (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
1802         register_operand.  Use fetchop_predicate_1.
1803         (atomic_<fetchop_name>_fetchsi_hard,
1804         atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
1805         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
1806         fetchop_constraint_1_llcs.
1807         (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
1808         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
1809         fetchop_constraint_1_gusa.
1810         (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
1811         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
1812         fetchop_constraint_1_tcb.  Adjust asm sequence to allow R0 usage.
1813         (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
1814         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
1815         fetchop_constraint_1_imask.  Adjust asm sequence to allow R0 usage.
1816         (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
1817         register_operand.  Use atomic_logical_operand_1.
1818         (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
1819         atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
1820         arith_reg_operand instead of register_operand.
1821         (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
1822         arith_reg_operand instead of register_operand.  Use logical_operand
1823         and K08.  Adjust asm sequence to allow R0 usage.
1824         (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
1825         arith_reg_operand instead of register_operand.  Use logical_operand
1826         and K08.
1828 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
1830         PR other/63504
1831         * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
1832         Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
1833         (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
1834         only get_full_len HOST_WIDE_INTs from get_val () array rather than
1835         all bits in *val_wide.
1837 2015-01-28  Jan Hubicka  <hubicka@ucw.cz>
1839         * varpool.c (tls_model_names): Fix names.
1840         (varpool_node::dump): Dump tls- prefix for tls models.
1842 2015-01-28  Thomas Schwinge  <thomas@codesourcery.com>
1843             Bernd Schmidt  <bernds@codesourcery.com>
1844             Nathan Sidwell  <nathan@codesourcery.com>
1846         * config/nvptx/mkoffload.c: New file.
1847         * config/nvptx/t-nvptx: Add build rules for it.
1848         * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
1849         (extra_programs): Add mkoffload.
1850         * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
1851         function.
1852         (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
1854 2015-01-28  Yuri Rumyantsev  <ysrumyan@gmail.com>
1856         PR middle-end/64809
1857         * cfgexpand.c (reorder_operands): Skip debug gimples.
1859 2015-01-28  Ilya Enkovich  <ilya.enkovich@intel.com>
1861         PR tree-optimization/64277
1862         * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
1863         range info when possible to refine estimation.
1865 2015-01-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1867         PR tree-optimization/64718
1868         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
1869         be a 16bit unsigned integer when n->range is 16.
1870         (bswap_replace): Convert src to that type if necessary for all bswap
1871         sizes.  Fix rotation right notation in nearby comment.  Use bswap_type
1872         set in pass_optimize_bswap::execute ().
1874 2015-01-28  James Greenhalgh  <james.greenhalgh@arm.com>
1876         * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
1877         * config/aarch64/aarch64-simd-builtins.def (abs): Split by
1878         integer and floating point variants.
1879         * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
1881 2015-01-28  Robert Suchanek  <robert.suchanek@imgtec.com>
1883         * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
1884         for all vector modes.
1886 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
1888         PR bootstrap/64612
1889         * doc/sourcebuild.texi (comdat_group): Document.
1891 2015-01-28  Terry Guo  <terry.guo@arm.com>
1893         * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
1895 2015-01-27  David Malcolm  <dmalcolm@redhat.com>
1897         * toplev.c (print_version): Add param "show_global_state", and
1898         only print GGC and plugin information if it is true.
1899         (init_asm_output): Pass in "true" for the new param when calling
1900         print_version.
1901         (process_options): Likewise.
1902         (toplev::main): Likewise.
1903         * toplev.h (print_version): Add new param to decl.
1905 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
1907         PR ipa/60871
1908         PR ipa/64139
1909         * tree.c (lookup_binfo_at_offset): New function.
1910         (get_binfo_at_offset): Use it.
1912 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
1914         PR ipa/64282
1915         * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
1916         on vtable being vtable.
1918 2015-01-27  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1920         * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
1921         * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
1922         -mhotpatch= option.
1923         * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
1924         -mno-hotpatch options.  Change syntax of -mhotpatch= option.
1925         * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
1926         Renamed.
1927         (s390_hotpatch_trampoline_halfwords_max): Renamed.
1928         (s390_hotpatch_hw_max): New name.
1929         (s390_hotpatch_trampoline_halfwords): Renamed.
1930         (s390_hotpatch_hw_before_label): New name.
1931         (get_hotpatch_attribute): Removed.
1932         (s390_hotpatch_hw_after_label): New name.
1933         (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
1934         attribute.
1935         (s390_attribute_table): Ditto.
1936         (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
1937         (s390_function_num_hotpatch_hw): New name.
1938         Remove special handling of inline functions and hotpatching.
1939         Return number of nops before and after the function label.
1940         (s390_can_inline_p): Removed.
1941         (s390_asm_output_function_label): Emit a configurable number of nops
1942         after the function label.
1943         (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
1944         (TARGET_CAN_INLINE_P) Removed.
1945         (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
1947 2015-01-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1948             Jiong Wang  <jiong.wang@arm.com>
1950         * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
1951         of scratch reg.
1952         (cb<optab><mode>1): Likewise.
1953         * config/aarch64/iterators.md (bcond): New define_code_attr.
1955 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1957         * config/s390/s390.c (s390_memory_move_cost): Increase costs for
1958         memory accesses.
1960 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1962         * config/s390/s390.c (s390_register_move_cost): Increase costs for
1963         FPR->GPR moves.
1965 2015-01-27  Richard Biener  <rguenther@suse.de>
1967         * tree-vrp.c (update_value_range): Intersect the range with
1968         old recorded SSA name range information.
1970 2015-01-27  Nick Clifton  <nickc@redhat.com>
1972         * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
1973         BC, DE and HL registers directly, not via AX.
1974         When decrementing the stack pointer by a large amount, transfer SP
1975         into AX and perform the subtraction there.
1976         (rl78_expand_epilogue): Perform the inverse of the above
1977         enhancements.
1979 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1981         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
1983 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
1984             Yury Gribov  <y.gribov@samsung.com>
1986         PR ubsan/64741
1987         * ubsan.c (ubsan_source_location): Refactor code.
1988         (ubsan_type_descriptor): Update type size. Refactor code.
1990 2015-01-27  Richard Biener  <rguenther@suse.de>
1992         PR tree-optimization/56273
1993         PR tree-optimization/59124
1994         PR tree-optimization/64277
1995         * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
1996         from the first VRP pass.
1998 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
2000         PR ipa/64776
2001         * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
2002         handle the first argument in the same loop as all the other arguments.
2004         PR rtl-optimization/61058
2005         * jump.c (cleanup_barriers): Update basic block boundaries
2006         if BLOCK_FOR_INSN is non-NULL on PREV.
2008 2015-01-27  Ilya Enkovich  <ilya.enkovich@intel.com>
2010         * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
2011         bounds narrowing, already instrumented calls and calls to
2012         not instrumentable functions.
2014 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
2016         PR tree-optimization/64807
2017         * wide-int.cc (wi::divmod_internal): Clear
2018         b_dividend[dividend_blocks_needed].
2020 2015-01-26  DJ Delorie  <dj@redhat.com>
2022         * config/rl78/rl78.c (move_elim_pass): Don't optimize away
2023         volatile memory references.
2025 2015-01-26  Oleg Endo  <olegendo@gcc.gnu.org>
2027         PR target/49263
2028         * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
2029         remove_insn.
2030         * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
2031         shifts if it already fits into K08.
2033 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
2035         PR ipa/64730
2036         * ipa-inline.c (inline_small_functions): Print "unknown" even
2037         if edge->call_stmt is non-NULL, but has builtins or unknown
2038         location.
2040         PR middle-end/64421
2041         * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
2042         with asterisk, skip the first character.
2044 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
2046         PR target/64806
2047         * config/i386/i386 (feature_priority): Revert the last P_POPCNT
2048         order change.
2050 2015-01-26  Uros Bizjak  <ubizjak@gmail.com>
2052         PR target/64795
2053         * config/i386/i386.md (*movdi_internal): Also check operand 0
2054         to determine TYPE_LEA operand.
2055         (*movsi_internal): Ditto.
2057 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
2059         * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
2060         OPTION_MASK_QUAD_MEMORY_ATOMIC.
2062 2015-01-26  Renlin Li  <renlin.li@arm.com>
2064         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
2065         the comment.
2066         * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
2067         for higher part.
2069 2015-01-26  Richard Biener  <rguenther@suse.de>
2071         PR middle-end/64764
2072         * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
2073         combining two BIT_AND_EXPR predicates.
2075 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
2077         PR bootstrap/64754
2078         * tree-ssa-structalias.c (new_var_info): Initialize ruid.
2080 2015-01-26  Terry Guo  <terry.guo@arm.com>
2082         * config/arm/arm.c (arm_file_start): Update the assignment of
2083         Tag_ABI_HardFP_use.
2085 2015-01-25  James Greenhalgh  <james.greenhalgh@arm.com>
2087         * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
2088         pipeline model.
2089         config/arm/arm.md: Include the new Cortex-A57 model.
2090         (generic_sched): Don't use generic_sched when tuning for
2091         Cortex-A57.
2093 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2094             Uros Bizjak  <ubizjak@gmail.com>
2096         * config/i386/i386.c (get_builtin_code_for_version): Add
2097         support for BMI and BMI2 multiversion functions.
2099 2015-01-25  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2101         * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
2102         (extract_bit_field): Likewise.
2103         (extract_low_bits): Likewise.
2104         (expand_mult): Likewise.
2105         (expand_mult_highpart_adjust): Likewise.
2107 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2109         * config/i386/driver-i386.c (host_detect_local_cpu): Check new
2110         Silvermont, Haswell, Broadwell and Knights Landing model numbers.
2111         * config/i386/i386.c (processor_model): Add
2112         M_INTEL_COREI7_BROADWELL.
2113         (arch_names_table): Add "broadwell".
2115 2015-01-24  Oleg Endo  <olegendo@gcc.gnu.org>
2117         PR target/49263
2118         PR target/53987
2119         PR target/64345
2120         PR target/59533
2121         PR target/52933
2122         PR target/54236
2123         PR target/51244
2124         * config/sh/sh-protos.h
2125         (sh_extending_set_of_reg::can_use_as_unextended_reg,
2126         sh_extending_set_of_reg::use_as_unextended_reg,
2127         sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
2128         sh_is_movrt_insn, sh_insn_operands_modified_between_p,
2129         sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
2130         sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
2131         (sh_treg_insns): New class.
2132         * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
2133         (scope_counter): New class.
2134         (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
2135         sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
2136         sh_extending_set_of_reg::can_use_as_unextended_reg,
2137         sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
2138         sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
2139         sh_split_treg_set_expr): New functions.
2140         (addsubcosts): Handle treg_set_expr.
2141         (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
2142         (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
2143         (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
2144         (sh_insn_operands_modified_between_p): Make non-static.
2145         * config/sh/predicates.md (zero_extend_movu_operand): Allow
2146         simple_mem_operand in addition to displacement_mem_operand.
2147         (zero_extend_operand): Don't allow zero_extend_movu_operand.
2148         (treg_set_expr, treg_set_expr_not_const01,
2149         arith_reg_or_treg_set_expr): New predicates.
2150         * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
2151         arith_or_int_operand instead of logical_operand.  Convert to
2152         insn_and_split.  Try to optimize constant operand in splitter.
2153         (tsthi_t, tstqi_t): Fold into *tst<mode>_t.  Convert to insn_and_split.
2154         (*tstqi_t_zero): Delete.
2155         (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
2156         (tstsi_t_and_not): Delete.
2157         (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
2158         Convert to insn_and_split.
2159         (unnamed split, tstsi_t_zero_extract_xor,
2160         tstsi_t_zero_extract_subreg_xor_little,
2161         tstsi_t_zero_extract_subreg_xor_big): Delete.
2162         (*tstsi_t_shift_mask): New insn_and_split.
2163         (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
2164         to recombine with surrounding insns when splitting.
2165         (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
2166         (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
2167         (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
2168         *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
2169         (*cbranch_div0s: Delete.
2170         (*addc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
2171         Try to recombine with surrounding insns when splitting.  Add operand
2172         order variants.
2173         (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
2174         (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
2175         *addc_r_r_msb, *addc_2r_msb): Delete.
2176         (*addc_2r_lsb): Rename to *addc_2r_t.  Use treg_set_expr.  Add operand
2177         order variant.
2178         (*addc_negreg_t): New insn_and_split.
2179         (*subc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
2180         Try to recombine with surrounding insns when splitting.
2181         Add operand order variants.
2182         (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
2183         insn_and_split patterns.
2184         (*rotcr): Use arith_reg_or_treg_set_expr.  Try to recombine with
2185         surrounding insns when splitting.
2186         (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
2187         (*rotcl): Likewise.  Add zero_extract variant.
2188         (*ashrsi2_31): New insn_and_split.
2189         (*negc): Convert to insn_and_split.  Use treg_set_expr.
2190         (*zero_extend<mode>si2_disp_mem): Update comment.
2191         (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
2192         condition.
2193         (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr.  Try to recombine
2194         with surrounding insns when splitting.
2195         (any_treg_expr_to_reg): New insn_and_split.
2196         (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
2197         *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
2198         *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
2199         *zero_extract_2): New single bit zero extract patterns.
2200         (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
2201         (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
2202         *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
2203         *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
2204         set destination.
2205         (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
2206         register_operand for set source.
2208 2015-01-23  Jan Hubicka  <hubicka@ucw.cz>
2210         * i386.opt (prefetch_sse): New targetsave.
2211         * i386.c (ix86_function_specific_save): Save prefetch_sse.
2212         (ix86_function_specific_restore): Restore prefetch_sse and initialize
2213         ix86_cost/ix86_tune_cost.
2215 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
2217         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
2218         Support the JIT by using 0 as the language type.
2220 2015-01-23  Vladimir Makarov  <vmakarov@redhat.com>
2222         PR target/64317
2223         * lra-lives.c (make_hard_regno_born): Add parameter.  Don't make
2224         REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
2225         (mark_regno_live, process_bb_lives): Pass new parameter value to
2226         make_hard_regno_born.
2228 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
2230         PR rtl-optimization/63637
2231         PR rtl-optimization/60663
2232         * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
2233         if elt->cost is MAX_COST for ASM_OPERANDS.
2234         (find_sets_in_insn): Fix up comment typo.
2235         (cse_insn): Don't set src_volatile for all non-volatile
2236         ASM_OPERANDS in PARALLELs, but just those with multiple outputs
2237         or with "memory" clobber.  Set elt->cost to MAX_COST
2238         for ASM_OPERANDS in PARALLEL.  Set src_elt->cost to MAX_COST
2239         if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
2241 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2243         * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
2244         alternative 1.
2246 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2248         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
2249         libgcc/config/i386/elf-lib.h.
2251 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
2253         PR driver/64737
2254         * gcc.c (print_configuration): Don't print a blank line at the end
2255         here...
2256         (run_attempt): ... but here unstead.
2258         PR middle-end/64734
2259         * omp-low.c (scan_sharing_clauses): Don't ignore
2260         OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
2261         on target data/update constructs.
2263 2015-01-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2265         PR target/50928
2266         * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
2267         (DEBUG_RELOAD): Removed define.
2268         (m32c_limit_reload_class): Enable traces with if DEBUG0.
2269         (m32c_function_arg): Added a type cast.
2270         (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
2271         * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
2272         * config/m32c/bitops.md (andqi3_16): Likewise.
2273         * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
2274         (push_a01_l): Likewise.
2276 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
2278         PR jit/64721
2279         * main.c (main): Construct toplev instances with init_signals=true.
2280         * toplev.c (general_init): Add param "init_signals", and use it to
2281         conditionalize the calls to signal and host_hooks.extra_signals.
2282         (toplev::toplev): Add param "init_signals".
2283         (toplev::main): When invoking general_init, pass m_init_signals
2284         to control whether signal-handlers are installed.
2285         * toplev.h (toplev::toplev): Add param "init_signals".
2286         (toplev::m_init_signals): New field.
2288 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
2290         PR jit/64722
2291         * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
2292         NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
2293         latter may be affected by the former (e.g. on i686).
2295 2015-01-23  Martin Liska  <mliska@suse.cz>
2297         * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
2298         false positive during profiledbootstrap.
2300 2015-01-23  Tom de Vries  <tom@codesourcery.com>
2302         PR libgomp/64672
2303         * lto-opts.c (lto_write_options): Output non-explicit conservative
2304         -fno-openacc.
2305         * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
2306         (append_compiler_options): Pass -fopenacc through.
2308 2015-01-23  Tom de Vries  <tom@codesourcery.com>
2310         PR libgomp/64707
2311         * lto-opts.c (lto_write_options): Output non-explicit conservative
2312         -fno-openmp.
2313         * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
2314         (append_compiler_options): Pass -fopenmp through.
2316 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
2318         PR debug/64511
2319         * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
2320         GTY markup.
2322         * diagnostic-core.h (internal_error_no_backtrace): New prototype.
2323         * diagnostic.def (DK_ICE_NOBT): New kind.
2324         * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
2325         like DK_ICE, but never print backtrace.
2326         (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
2327         (internal_error_no_backtrace): New function.
2328         * gcc.c (execute): Use internal_error_no_backtrace instead of
2329         internal_error.
2331 2015-01-22  Jeff Law  <law@redhat.com>
2333         PR target/52076
2334         * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
2335         improve code density for small immediate to memory case.
2336         (insv): Better handle bitfield assignments when the field is
2337         being set to all ones.
2338         * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
2339         operand predicate.
2341 2015-01-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2342             Jakub Jelinek  <jakub@redhat.com>
2344         * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
2345         for !TARGET_LIBC_PROVIDES_SSP version and
2346         -fstack-protector-{all,strong,explicit} otherwise.
2347         * config/freebsd.h (LINK_SSP_SPEC): Handle
2348         -fstack-protector-{strong,explicit}.
2350 2015-01-22  Jan Hubicka  <hubicka@ucw.cz>
2351             H.J. Lu  <hongjiu.lu@intel.com>
2353         PR ipa/64694
2354         * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
2355         heap.
2357 2015-01-22  Wei Mi  <wmi@google.com>
2359         PR rtl-optimization/64557
2360         * dse.c (record_store): Call get_addr for mem_addr.
2361         (check_mem_read_rtx): Likewise.
2363 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
2365         * fold-const.c (const_binop): Add early return for non-tcc_binary.
2367 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2369         * toplev.c (init_local_tick): Process the failure when read
2370         fails for random_seed.
2372         * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
2373         'pretty_name' to avoid memory overflow.
2375 2015-01-22  Richard Biener  <rguenther@suse.de>
2377         PR middle-end/64728
2378         * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
2379         abnormal coalescing on undefined SSA names.
2381 2015-22-01  Uros Bizjak  <ubizjak@gmail.com>
2383         PR target/64688
2384         PR target/64477
2385         * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
2386         for alternative 3.
2387         (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
2389 2015-01-22  Trevor Saunders  <tsaunders@mozilla.com>
2391         PR middle-end/63325
2392         * fold-const.c (fold_checksum_tree): Don't include value of
2393         expr->decl_with_vis.symtab_node in the checksum.
2395 2015-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2397         * config/s390/s390.md (atomic code attribute): Fix typo "ior" -> "or".
2399 2015-01-22  Max Ostapenko  <m.ostapenko@partner.samsung.com>
2401         PR driver/64690
2402         * gcc.c (insert_comments): New function.
2403         (try_generate_repro): Call it.
2404         (append_text): Removed.
2406 2015-01-22  Richard Biener  <rguenther@suse.de>
2408         * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
2409         with IL incompatible options.  Properly honor user optimize
2410         attributes.
2412 2015-01-21  Segher Boessenkool  <segher@kernel.crashing.org>
2414         PR rtl-optimization/64682
2415         * combine.c (distribute_notes): When moving a death note for
2416         a register that is set in the new I2, make sure to put it
2417         before that new I2.
2419 2015-01-21  David Edelsohn  <dje.gcc@gmail.com>
2421         * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
2422         not TARGET_DEFAULT.
2424 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
2426         PR debug/64511
2427         * simplify-rtx.c (simplify_relational_operation_1): Don't try to
2428         optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
2429         into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
2431         PR sanitizer/64706
2432         * doc/invoke.texi (-fsanitize=vptr): Document.
2434         PR rtl-optimization/62078
2435         * dse.c: Include cfgcleanup.h.
2436         (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
2437         anything call purge_all_dead_edges and cleanup_cfg at the end
2438         of the pass.
2440 2015-01-21  Jan Hubicka  <hubicka@ucw.cz>
2442         * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
2443         edges.
2445 2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2447         * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
2448         decl attribute.
2450 2015-01-21  David Sherwood  <david.sherwood@arm.com>
2451             Tejas Belagod <Tejas.Belagod@arm.com>
2453         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
2454         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
2455         * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
2456         Removed.
2458 2015-01-21  David Sherwood  <david.sherwood@arm.com>
2459             Tejas Belagod <Tejas.Belagod@arm.com>
2461         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
2462         (aarch64_reverse_mask): New decls.
2463         * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
2464         (insn_count): New mode_attr.
2465         * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
2466         (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
2467         (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
2468         (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
2469         (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
2470         (aarch64_simd_st4): New patterns.
2471         * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
2472         (aarch64_reverse_mask): New functions.
2474 2015-01-21  Richard Sandiford  <richard.sandiford@arm.com>
2476         * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
2477         Declare.
2478         * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
2479         addressing modes for BE.
2480         (aarch64_print_operand): Add 'R' specifier.
2481         (aarch64_simd_disambiguate_copy): Delete.
2482         (aarch64_simd_emit_reg_reg_move): New function.
2483         * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
2484         in define_splits for structural moves.
2485         (mov<mode>): Use less restrictive predicates.
2486         (*aarch64_mov<mode>): Simplify and only allow for LE.
2487         (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
2489 2015-01-21  Alan Hayward  <alan.hayward@arm.com>
2491         * rtlanal.c (subreg_get_info): Exit early for simple and common cases.
2493 2015-01-21  Richard Henderson  <rth@redhat.com>
2495         PR target/64669
2496         * ccmp.c (used_in_cond_stmt_p): Remove.
2497         (expand_ccmp_expr): Don't use it.
2499 2015-01-21  Nick Clifton  <nickc@redhat.com>
2501         * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
2502         PARALLELs.
2504 2015-01-21  Richard Biener  <rguenther@suse.de>
2506         PR middle-end/64313
2507         * tree-core.h (builtin_info, builtin_info_type): Turn from
2508         an object with two arrays into an array of an object with
2509         decl and two flags, implicit_p and declared_p.
2510         * tree.h (builtin_decl_explicit, builtin_decl_implicit,
2511         set_builtin_decl, set_builtin_decl_implicit_p,
2512         builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
2513         (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
2514         * builtins.c (builtin_info): Adjust.
2515         * gimplify.c (gimplify_addr_expr): References to builtins
2516         that have been declared by the user makes them eligible for
2517         use by the compiler.  Call set_builtin_decl_implicit_p on them.
2519 2015-01-20  Jeff Law  <law@redhat.com>
2521         PR target/59946
2522         * config/m68k/m68k.md (Comparison expanders and patterns): Do not
2523         allow pc-relative addresses in operand predicates or constraints.
2525 2015-01-21  Bin Cheng  <bin.cheng@arm.com>
2527         * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
2528         neon on aarch32 processors for stringops.
2530 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2532         PR ipa/63576
2533         * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
2535 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2537         PR lto/45375
2538         * ipa-inline.c: Include lto-streamer.h
2539         (report_inline_failed_reason): Output source file differences and
2540         flags on optimization/target node mismatch.
2541         (can_inline_edge_p): Consider caller to be the outer inline function;
2542         be less restrictive about matching opimize and optimize_size attributes.
2543         (inline_account_function_p): Break out from ...
2544         (inline_small_functions): ... here.
2545         * ipa-inline-transform.c (clone_inlined_nodes): Use
2546         inline_account_function_p.
2547         (inline_call): Use optimize attribution; use inline_account_function_p.
2548         (inline_transform): Use opt_for_fn.
2549         * ipa-inline.h (inline_account_function_p): Declare.
2551 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
2553         PR debug/64663
2554         * dwarf2out.c (decl_piece_node): Don't put bitsize into
2555         mode if bitsize <= 0.
2556         (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
2557         dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
2558         sizes and positions.
2560 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2562         * config/nios2/nios2.c (nios2_asm_file_end): Implement
2563         TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
2564         needed.
2565         (TARGET_ASM_FILE_END): Define.
2567 2015-01-20  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
2569         * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
2570         (struct tune_params): Use the enum.
2571         * arm.c (arm_*_tune): Update.
2572         (arm_option_override): Update.
2574 2015-01-20  Richard Biener  <rguenther@suse.de>
2576         PR ipa/64684
2577         * ipa-reference.c (add_static_var): Inline ...
2578         (analyze_function): ... here after splitting out from ...
2579         (is_proper_for_analysis): ... this.
2581 2015-01-20  Matthew Wahab  <matthew.wahab@arm.com>
2583         PR target/64149
2584         * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
2585         * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
2586         replace the conditional with it's true branch.
2587         * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
2588         (arm_lra_p): Remove.
2590 2015-01-20  Eric Botcazou  <ebotcazou@adacore.com>
2592         * config/visium/visium.h (LIB_SPEC): Adjust in default case.
2594 2015-01-20  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2596         * config/tilegx/mul-tables.c: Move symtab.h include after
2597         coretypes.h include.
2598         * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h,
2599         vec.h, machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h,
2600         flags.h, statistics.h, double-int.h, real.h, fixed-value.h, alias.h,
2601         wide-int.h, inchash.h, tree.h, insn-config.h, expmed.h, dojump.h,
2602         explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
2604 2015-01-20  Igor Zamyatin  <igor.zamyatin@intel.com>
2606         PR bootstrap/64676
2607         Revert:
2608         2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
2610         PR rtl-optimization/64081
2611         * loop-iv.c (def_pred_latch_p): New function.
2612         (latch_dominating_def): Allow specific cases with non-single
2613         definitions.
2614         (iv_get_reaching_def): Likewise.
2615         (check_complex_exit_p): New function.
2616         (check_simple_exit): Use check_complex_exit_p to allow certain cases
2617         with exits not executing on any iteration.
2619 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2621         PR lto/45375
2622         * i386.c (ix86_option_override_internal): Use ix86_tune_cost
2623         to set branch cost.
2625 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2627         PR lto/45375
2628         * i386.c (gate): Check flag_expensive_optimizations and
2629         optimize_size.
2630         (ix86_option_override_internal): Drop optimize_size condition
2631         on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
2632         MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
2633         MASK_PREFER_AVX128.
2634         (ix86_avx256_split_vector_move_misalign,
2635         ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
2636         * sse.md (all uses of TARGET_PREFER_AVX128): Add
2637         optimize_insn_for_speed_p check.
2639 2015-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2641         * config/mips/mips.h (FP_ASM_SPEC): New define.
2642         (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
2643         instead.
2645 2015-01-19  Oleg Endo  <olegendo@gcc.gnu.org>
2647         PR target/53988
2648         * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
2649         nullptr for insn when reaching the first insn.
2650         * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
2651         (sh_insn_operands_modified_between_p): Add nullptr check.
2652         (sh_find_extending_set_of_reg): Fix log message.  Don't accept
2653         sign extending mem load if the insn contains any UNSPEC or
2654         UNSPEC_VOLATILE.
2656 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2658         * params.def (inline-unit-growth): Drop to 15%.
2659         * invoke.texi (inline-unit-growth): Document change.
2661 2015-01-19  Martin Liska  <mliska@suse.cz>
2663         PR ipa/64668
2664         * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
2665         function for second argument of OBJ_TYPE_REF.
2667 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2669         PR ipa/64218
2670         * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
2671         whether function is an alias.
2673 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
2675         * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
2676         cases.
2678 2015-01-19  Vladimir Makarov  <vmakarov@redhat.com>
2680         PR rtl-optimization/64671
2681         * lra-remat.c (operand_to_remat): Don't consider jump and call
2682         insns.
2684 2015-01-19  David Edelsohn  <dje.gcc@gmail.com>
2686         * config/rs6000/default64.h: Include rs6000-cpus.def.
2687         (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
2688         (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
2689         * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
2690         and POWER8.
2691         * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
2692         POWER8.
2693         * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
2694         pseudo-op to specify assembler dialect.
2696 2015-01-19  Martin Liska  <mliska@suse.cz>
2698         PR ipa/64664
2699         * ipa-icf.c (sem_item_optimizer::filter_removed_items):
2700         Handle safe potentially removed nodes during filtering.
2702 2015-01-19  Martin Liska  <mliska@suse.cz>
2704         * doc/extend.texi (no_icf): Add new attribute description.
2705         * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
2706         where the pass attempts to merge a function with no_icf attribute.
2708 2015-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2710         PR target/64532
2711         * doc/md.texi (ARM Options): Document register constraints.
2713 2015-01-19  Jiong Wang  <jiong.wang@arm.com>
2714             Andrew Pinski  <apinski@cavium.com>
2716         PR target/64304
2717         * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
2718         (ashl<mode>3): Don't expand if operands[2] is not constant.
2720 2015-01-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2722         PR target/64448
2723         * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
2724         Match xor-and-xor RTL pattern.
2726 2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
2728         PR rtl-optimization/64081
2729         * loop-iv.c (def_pred_latch_p): New function.
2730         (latch_dominating_def): Allow specific cases with non-single
2731         definitions.
2732         (iv_get_reaching_def): Likewise.
2733         (check_complex_exit_p): New function.
2734         (check_simple_exit): Use check_complex_exit_p to allow certain cases
2735         with exits not executing on any iteration.
2737 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
2739         * common.opt (fgraphite): Fix a typo.
2741 2015-01-19  Felix Yang  <felix.yang@huawei.com>
2743         * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
2744         pattern.
2745         * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
2746         uminp, smax_nanp, smin_nanp): New builtins.
2747         * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
2748         vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
2749         vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
2750         vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
2751         vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
2752         vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
2753         vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
2754         vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
2755         vpminnms_f32): Rewrite using builtin functions.
2757 2015-01-19  Thomas Schwinge  <thomas@codesourcery.com>
2759         PR libgomp/64625
2760         * omp-low.c (offload_symbol_decl): Remove variable.
2761         (get_offload_symbol_decl): Remove function.
2762         (expand_omp_target): For BUILT_IN_GOMP_TARGET,
2763         BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
2764         instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
2765         BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
2766         BUILT_IN_GOACC_UPDATE don't pass it at all.
2768 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
2770         * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
2771         callers.
2773 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
2775         * ipa-chkp.c (chkp_produce_thunks): Add early param
2776         to split thunks production into two passes.  Keep
2777         'always_inline' function bodies after the first pass.
2778         (pass_data_ipa_chkp_early_produce_thunks): New.
2779         (pass_ipa_chkp_early_produce_thunks): New.
2780         (pass_ipa_chkp_produce_thunks::execute): Adjust to new
2781         chkp_produce_thunks signature.
2782         (make_pass_ipa_chkp_early_produce_thunks): New.
2783         * passes.def (pass_ipa_chkp_early_produce_thunks): New.
2784         (pass_ipa_chkp_produce_thunks): Move after local optimizations.
2785         * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
2787 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
2789         * cgraph.c (cgraph_node::dump): Dump profile flags.
2791 2015-01-18  Oleg Endo  <olegendo@gcc.gnu.org>
2793         PR target/64652
2794         * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
2795         reg appear first in the parallel.
2797 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
2799         * ipa-reference.c (set_reference_optimization_summary,
2800         ipa_reference_get_not_written_global): Do nothing if ipa-reference is
2801         disabled.
2802         (ignore_module_statics): New static var.
2803         (propagate_bits): If ipa-reference is disabled, do not look into local
2804         properties.
2805         (analyze_function): Disable analysis when ipa_reference is disabled.
2806         (generate_summary): Do not dump when reference is disabled;
2807         collect vars accessed from functions with ipa-reference disabled.
2808         (get_read_write_all_from_node): When ipa-reference is disabled, use the
2809         node flags.
2810         (gate): Enable for LTO.
2811         (ignore_edge_p): New function.
2812         (propagate): Skip functions w/o ipa-reference analysis.
2813         * optc-save-gen.awk: Handle optimize_debug correctly.
2814         * opth-gen.awk: Likewise.
2815         * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
2816         fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
2817         fira-share-save-slots, fira-share-spill-slots,
2818         fmodulo-sched-allow-regmoves, fpartial-inlining,
2819         sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
2820         ftracer, ftree-parallelize-loops, fassociative-math,
2821         freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
2822         Optimization
2823         (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
2824         ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
2825         Optimization.
2826         * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
2827         Fix for IPA.
2829 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
2831         PR ipa/64378
2832         * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
2833         flag correctly.
2834         * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
2836 2015-01-18  Sandra Loosemore  <sandra@codesourcery.com>
2838         * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
2839         Remove duplicate option listings.
2841 2015-01-18  Felix Yang  <felix.yang@huawei.com>
2843         * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
2844         (autofdo_source_profile::get_callsite_total_count,
2845         function_instance::get_function_instance_by_decl,
2846         string_table::get_index, string_table::get_index_by_decl,
2847         afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
2848         Fix comment typos. Reformatting and minor code rearrangement.
2850 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
2852         * config/rs6000/rs6000.md (probe_stack): Delete.
2853         (probe_stack_address): New.
2855 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
2857         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
2858         to test for 32-bit ABIs, not !TARGET_POWERPC64.
2860 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
2862         * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
2863         (rs6000_function_value): Use it.  Handle SCmode and TCmode as well,
2864         for TARGET_32BIT && TARGET_POWERPC64.  Fix another BITS_PER_WORD
2865         snafu.
2866         (rs6000_libcall_value): Use the new function.
2868 2015-01-17  Sandra Loosemore  <sandra@codesourcery.com>
2870         * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
2872 2015-01-17  Eric Botcazou  <ebotcazou@adacore.com>
2874         * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
2875         implement a more precise life analysis for it during backward scan.
2877 2015-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
2879         * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
2881 2015-01-17  Bernd Schmidt  <bernds@codesourcery.com>
2883         PR rtl-optimization/52773
2884         * calls.c (emit_library_call_value): When pushing arguments use
2885         stack_pointer_rtx rather than virtual_outgoing_args_rtx in
2886         CALL_INSN_FUNCTION_USAGE.  Only emit one of use of the magic
2887         stack pointer reference into CALL_INSN_FUNCTION_USAGE.
2889 2015-01-17  Jeff Law  <law@redhat.com>
2891         PR rtl-optimization/32790
2892         * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
2893         not ZERO_EXTEND in SET_DESTs.
2895 2015-01-17  Alan Modra  <amodra@gmail.com>
2897         * cprop.c (do_local_cprop): Revert last change.
2899 2015-01-16  DJ Delorie  <dj@redhat.com>
2900             Nick Clifton  <nickc@redhat.com>
2902         * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
2903         (addhi3_real): Likewise.  Fix [HL+0] syntax.
2904         (subqi3_real): Likewise.
2905         (subhi3_real): Likewise.
2906         (cbranchqi4_real): Likewise.  Allow saddr,#imm.
2907         (cbranchhi4_real): Likewise.
2908         (cbranchhi4_real_inverted): Likewise.
2909         (cbranchsi4_real_lt): Likewise.
2910         (cbranchsi4_real_ge): Likewise.
2911         (cbranchsi4_real_ge): Likewise.
2912         * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
2913         (sub<mode>3_virt): Likewise.
2914         (cbranchqi4_virt): Likewise.
2915         (cbranchhi4_virt): Likewise.
2916         * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
2917         always use '[reg+imm]' even when imm is zero.
2918         * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
2919         (rl78_general_operand): New.
2920         (rl78_nonimmediate_operand): New.
2921         (rl78_nonfar_operand): Use them.
2922         (rl78_nonfar_nonimm_operand): Likewise.
2923         (rl78_stack_based_mem): Fix.
2924         * config/rl78/constraints.md (Ibqi): New.
2925         (IBqi): New.
2926         (Wsa): New.
2927         (Wsf): New.
2928         (Cs1): Fix.
2929         * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
2930         (iorqi3): Likewise.
2931         (xorqi3): Likewise.
2932         * config/rl78/rl78-protos.h (rl78_sfr_p): New.
2934         * config/rl78/constrains (Qs8): New constraint.
2935         * config/rl78/rl78.c (rl78_flags_already_set): New function.
2936         * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
2937         * config/rl78/rl78-real.md (update_Z): New attribute.
2938         Update patterns to set it.
2939         (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
2940         shorter compare and branch sequence can be used.
2941         (cbranchhi4_real): Likewise.
2942         (cbranchhi4_real_inverted): Likewise.
2944         * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
2945         * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
2946         address space.
2947         * config/rl78/rl78.c (rl78_get_name_encoding): New.
2948         (rl78_option_override): Allow -mes0 only if C.
2949         (characterize_address): Support subregs of symbol_refs.
2950         (rl78_addr_space_address_mode): Move.  Add __near.
2951         (rl78_far_p): Likewise.
2952         (rl78_addr_space_pointer_mode): Likewise.
2953         (rl78_as_legitimate_address): Likewise.
2954         (rl78_addr_space_subset_p): Likewise.
2955         (rl78_addr_space_convert): Likewise.
2956         (rl78_print_operand_1): Support 16-bit addressing of 32-bit
2957         symbols with -mes0.
2958         (transcode_memory_rtx): Don't copy ES if -mes0.  Allow symbol[BC]
2959         addressing.
2960         (rl78_alloc_physical_registers_op1): Change logic to prefer
2961         symbol[BC] addressing.
2962         (frodata_section): New.
2963         (rl78_asm_init_sections): Initialize it.
2964         (rl78_select_section): Put __far readonly symbols in .frodata.
2965         (rl78_make_type_far): New.
2966         (rl78_insert_attributes): Force all readonly symbols to be
2967         __far when -mes0.
2968         (rl78_asm_out_integer): New.
2969         * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
2970         * config/rl78/rl78.opt (-mes0): New.
2972         * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
2973         (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
2974         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
2975         * config/rl78/rl78-protos.h (rl78_output_labelref): New.
2976         (rl78_saddr_p): New.
2977         (rl78_output_aligned_common): New.
2978         * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
2979         (rl78_handle_saddr_attribute): New.
2980         (rl78_handle_naked_attribute): New.
2981         (rl78_attribute_table): Add saddr.
2982         (rl78_print_operand_1): Don't print '!' on saddr operands.
2983         (rl78_print_operand_1): Strip encodings.
2984         (rl78_sfr_p): New.
2985         (rl78_strip_name_encoding): New.
2986         (rl78_attrlist_to_encoding): New.
2987         (rl78_encode_section_info): New.
2988         (rl78_asm_init_sections): New.
2989         (rl78_select_section): New.
2990         (rl78_output_labelref): New.
2991         (rl78_output_aligned_common): New.
2992         (rl78_asm_out_integer): New.
2993         (rl78_asm_ctor_dtor): New.
2994         (rl78_asm_constructor): New.
2995         (rl78_asm_destructor): New.
2997         * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
2998         * config/rl78/rl78.c (rl78_expand_epilogue): Update.
2999         (transcode_memory_rtx): Update.
3000         (rl78_expand_epilogue): Use A_REG instead of 0.
3002 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
3004         * config/arm/arm-protos.h (struct tune_params): New field
3005         sched_autopref_queue_depth.
3006         * config/arm/arm.c (sched-int.h): Include header.
3007         (arm_first_cycle_multipass_dfa_lookahead_guard,)
3008         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
3009         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
3010         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
3011         (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
3012         (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
3013         (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
3014         (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
3015         Specify sched_autopref_queue_depth value.  Enabled for A15 and A57.
3016         * config/arm/t-arm (arm.o): Update.
3017         * haifa-sched.c (update_insn_after_change): Update.
3018         (rank_for_schedule): Use auto-prefetcher model, if requested.
3019         (autopref_multipass_init): New static function.
3020         (autopref_rank_for_schedule): New rank_for_schedule heuristic.
3021         (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
3022         variable for debug dumps.
3023         (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
3024         (autopref_multipass_dfa_lookahead_guard): New global function that
3025         implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
3026         (init_h_i_d): Update.
3027         * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
3028         * sched-int.h (enum autopref_multipass_data_status): New const enum.
3029         (autopref_multipass_data_): Structure for auto-prefetcher data.
3030         (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
3031         (struct _haifa_insn_data:autopref_multipass_data): New field.
3032         (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
3033         (autopref_multipass_dfa_lookahead_guard): Declare.
3035 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
3037         * rtlanal.c (get_base_term): Handle SCRATCH.
3039 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
3041         * config/aarch64/aarch64.c
3042         (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
3043         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
3044         * config/arm/arm.c
3045         (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
3046         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
3048 2015-01-17  Alan Modra  <amodra@gmail.com>
3050         * cprop.c (do_local_cprop): Disallow replacement of fixed
3051         hard registers.
3053 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3055         PR target/62066
3056         * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
3057         early return 0.
3059 2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3061         * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
3062         * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
3064 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3066         * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
3067         * config/arm/thumb1.md: ... Here.
3069 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
3071         * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
3072         TImode for TARGET_32BIT.
3074 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
3076         * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
3077         TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
3078         as ...
3079         (rs6000_abi_word_mode): New function.
3081 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
3083         * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
3084         instead of UNITS_PER_WORD to describe the size of stack slots.
3086 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
3088         * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
3089         as rs6000_promote_function_mode.  Move comment to there.
3090         (rs6000_promote_function_mode): New function.
3092 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
3094         * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
3095         -mpowerpc64 is active.
3097 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
3099         PR middle-end/64353
3100         * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
3101         virtuals on start.
3103 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
3105         * config/arm/cortex-a57.md: Remove duplicate of file accidentally
3106         introduced in revision 219724.
3108 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3109             Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3111         PR target/64263
3112         * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
3113         destination is not a GP reg.
3114         (*movdi_aarch64): Likewise.
3116 2015-01-16  David Edelsohn  <dje.gcc@gmail.com>
3118         PR target/64623
3119         * config/rs6000/default64.h: Revert ISA change.
3121 2015-01-16  Richard Biener  <rguenther@suse.de>
3123         PR middle-end/64614
3124         * tree-ssa-uninit.c: Include tree-cfg.h.
3125         (MAX_SWITCH_CASES): New define.
3126         (convert_control_dep_chain_into_preds): Handle switch statements.
3127         (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
3128         (normalize_one_pred_1): Do not split bit-manipulations.
3129         Record (x & CST).
3131 2015-01-16  Richard Biener  <rguenther@suse.de>
3133         PR tree-optimization/64568
3134         * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
3135         complex load rewriting for TARGET_MEM_REFs.
3137 2015-01-16  Uros Bizjak  <ubizjak@gmail.com>
3139         * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
3141 2015-01-16  Matthew Wahab  <matthew.wahab@arm.com>
3143         PR target/64149
3144         * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
3145         variable.
3146         * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
3147         (aarch64_lra_p): Remove.
3149 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
3151         PR target/64363
3152         * ipa-chkp.h (chkp_instrumentable_p): New.
3153         * ipa-chkp.c: Include tree-inline.h.
3154         (chkp_instrumentable_p): New.
3155         (chkp_maybe_create_clone): Use chkp_instrumentable_p.
3156         Fix processing of not instrumentable functions.
3157         (chkp_versioning): Use chkp_instrumentable_p. Warn about
3158         not instrumentable functions.
3159         * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
3160         chkp_instrumentable_p.
3161         * tree-inline.h (copy_forbidden): New.
3162         * tree-inline.c (copy_forbidden): Not static anymore.
3164 2015-01-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3166         * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
3167         ptr1, ptr2 unused.
3169 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
3171         * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
3172         type OP_OUT to OP_INOUT.
3174 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
3176         * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
3177         (high x) y) to y if x and y have the same base.
3179 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
3181         * config/arm/cortex-a57.md: New.
3182         * config/aarch64/aarch64.md: Include it.
3183         * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
3184         * config/aarch64/aarch64-tune.md: Regenerate.
3186 2015-01-16  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3188         PR target/64015
3189         * ccmp.c (expand_ccmp_next): New function.
3190         (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
3191         and compare insn sequence.
3192         * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
3193         aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
3194         (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
3195         * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
3196         (*ccmp_ior): Changed to ccmp_ior<mode>.
3197         (cmp<mode>): New pattern.
3198         * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
3199         parameters.
3200         * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
3202 2015-01-16  Ilya Tocar  <ilya.tocar@intel.com>
3204         * config/i386/avx2intrin.h (_mm256_bslli_epi128,
3205         _mm256_bsrli_epi128): New.
3206         * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
3208 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
3210         * expmed.c (store_bit_field_using_insv): Improve warning message.
3211         Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
3213 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
3215         PR rtl-optimization/64011
3216         * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
3217         there is partial overflow.
3219 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
3221         * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
3222         prototype.
3223         (nds32_expand_epilogue_v3pop): Likewise.
3224         * config/nds32/nds32.md (sibcall): Define this for sibling call
3225         optimization.
3226         (sibcall_register): Likewise.
3227         (sibcall_immediate): Likewise.
3228         (sibcall_value): Likewise.
3229         (sibcall_value_register): Likewise.
3230         (sibcall_value_immediate): Likewise.
3231         (sibcall_epilogue): Likewise.
3232         (epilogue): Pass false to indicate this is not a sibcall epilogue.
3233         * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
3234         (nds32_expand_epilogue_v3pop): Likewise.
3236 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
3238         * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
3239         * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
3240         (return_internal): New.
3241         (return): Define this named pattern.
3242         (simple_return): Define this named pattern.
3243         * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
3244         pattern instead of unspec_volatile_func_return.
3245         (nds32_expand_epilogue_v3pop): Likewise.
3246         (nds32_can_use_return_insn): New function.
3248 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
3250         * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
3251         * config/nds32/nds32.md (pop25return): New.
3252         * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
3253         pop25return pattern.
3255 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
3257         * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
3258         -mforbid-fp-as-gp, and -mex9 options.
3260 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
3262         * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
3263         remove -mgp-direct option.
3265 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
3267         * doc/invoke.texi (--param early-inlining-insns): Update default value.
3268         * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
3270 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
3272         * ipa-inline.c (inline_small_functions): Work around hints
3273         cache issue.
3275 2015-01-15  Sandra Loosemore  <sandra@codesourcery.com>
3277         PR target/59710
3278         * doc/invoke.texi (Option Summary): Document new Nios II
3279         -mgpopt= syntax.
3280         (Nios II Options): Likewise.
3281         * config/nios2/nios2.opt: Add -mgpopt= option support.
3282         Modify existing -mgpopt and -mno-gpopt options to be aliases.
3283         * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
3284         * config/nios2/nios2.c (nios2_option_override): Adjust
3285         -mgpopt defaulting.
3286         (nios2_in_small_data_p): Return true for explicit small data
3287         sections even with -G0.
3288         (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
3289         option choices.
3291 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
3293         PR ipa/64612
3294         * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
3295         of comdat locals.
3296         (inline_call): Fix removal of aliases.
3298 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
3300         * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
3301         include SANITIZE_VPTR in SANITIZE_UNDEFINED.
3302         * opts.c (common_handle_option): Add -fsanitize=vptr.
3303         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
3304         BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
3305         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
3306         UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
3307         (ubsan_expand_vptr_ifn): New prototype.
3308         * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
3309         expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
3310         expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
3311         expand_LOOP_VECTORIZED): Make argument nameless, remove
3312         ATTRIBUTE_UNUSED.
3313         (expand_UBSAN_VPTR): New function.
3314         * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
3315         in fn spec.
3316         (UBSAN_VPTR): New internal function.
3317         * sanopt.c (tree_map_traits): Renamed to ...
3318         (sanopt_tree_map_traits): ... this.
3319         (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
3320         (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
3321         to sanopt_tree_map_traits renaming.  Add vptr_check_map field.
3322         (maybe_optimize_ubsan_vptr_ifn): New function.
3323         (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
3324         (pass_sanopt::execute): Likewise.  Call sanopt_optimize even for
3325         -fsanitize=vptr.
3326         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
3327         internal calls like pure functions for aliasing, even when they
3328         have other side-effects that prevent making them ECF_PURE.
3329         * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
3330         (ubsan_expand_vptr_ifn): New function.
3332 2015-01-15  Vladimir Makarov  <vmakarov@redhat.com>
3334         PR rtl-optimization/64110
3335         * stmt.c (parse_output_constraint): Process '^' and '$'.
3336         (parse_input_constraint): Ditto.
3337         * lra-constraints.c (process_alt_operands): Process the new
3338         constraints.
3339         * ira-costs.c (record_reg_classes): Process the new constraint
3340         '^'.
3341         * genoutput.c (indep_constraints): Add '^' and '$'.
3342         * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
3343         * doc/md.texi: Add description of the new constraints.
3345 2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
3346             Bernd Schmidt  <bernds@codesourcery.com>
3347             Cesar Philippidis  <cesar@codesourcery.com>
3348             James Norris  <jnorris@codesourcery.com>
3349             Tom de Vries  <tom@codesourcery.com>
3350             Ilmir Usmanov  <i.usmanov@samsung.com>
3351             Dmitry Bocharnikov  <dmitry.b@samsung.com>
3352             Evgeny Gavrin  <e.gavrin@samsung.com>
3353             Jakub Jelinek  <jakub@redhat.com>
3355         * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
3356         (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
3357         (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
3358         New function types.
3359         * builtins.c: Include "gomp-constants.h".
3360         (expand_builtin_acc_on_device): New function.
3361         (expand_builtin, is_inexpensive_builtin): Handle
3362         BUILT_IN_ACC_ON_DEVICE.
3363         * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
3364         New macros.
3365         * cgraph.c (cgraph_node::create): Consider flag_openacc next to
3366         flag_openmp.
3367         * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
3368         <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
3369         i386/intelmic-offload.h.
3370         * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
3371         to libgomp and its dependencies.
3372         * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
3373         * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
3374         * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
3375         * config/ia64/hpux.h (LIB_SPEC): Likewise.
3376         * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
3377         * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
3378         * doc/generic.texi: Update for OpenACC changes.
3379         * doc/gimple.texi: Likewise.
3380         * doc/invoke.texi: Likewise.
3381         * doc/sourcebuild.texi: Likewise.
3382         * gimple-pretty-print.c (dump_gimple_omp_for): Handle
3383         GF_OMP_FOR_KIND_OACC_LOOP.
3384         (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
3385         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
3386         GF_OMP_TARGET_KIND_OACC_UPDATE,
3387         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
3388         Dump more data.
3389         * gimple.c: Update comments for OpenACC changes.
3390         * gimple.def: Likewise.
3391         * gimple.h: Likewise.
3392         (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
3393         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
3394         GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
3395         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
3396         (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
3397         appropriate place.
3398         (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
3399         * gimplify.c: Include "gomp-constants.h".
3400         Update comments for OpenACC changes.
3401         (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
3402         OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
3403         OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
3404         (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
3405         OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
3406         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
3407         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
3408         OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
3409         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
3410         OMP_CLAUSE_SEQ.
3411         (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
3412         GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
3413         OMP_CLAUSE_SET_MAP_KIND.
3414         (gimplify_oacc_cache): New function.
3415         (gimplify_omp_for): Handle OACC_LOOP.
3416         (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
3417         OACC_DATA.
3418         (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
3419         OACC_EXIT_DATA, OACC_UPDATE.
3420         (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
3421         OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
3422         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
3423         (gimplify_body): Consider flag_openacc next to flag_openmp.
3424         * lto-streamer-out.c: Include "gomp-constants.h".
3425         * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
3426         (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
3427         (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
3428         (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
3429         (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
3430         (BUILT_IN_ACC_ON_DEVICE): New builtins.
3431         * omp-low.c: Include "gomp-constants.h".
3432         Update comments for OpenACC changes.
3433         (struct omp_context): Add reduction_map, gwv_below, gwv_this
3434         members.
3435         (extract_omp_for_data, use_pointer_for_field, install_var_field)
3436         (new_omp_context, delete_omp_context, scan_sharing_clauses)
3437         (create_omp_child_function, scan_omp_for, scan_omp_target)
3438         (check_omp_nesting_restrictions, lower_reduction_clauses)
3439         (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
3440         Update for OpenACC changes.
3441         (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
3442         OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
3443         OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
3444         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
3445         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
3446         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ.  Use GOMP_MAP_* instead of
3447         OMP_CLAUSE_MAP_*.
3448         (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
3449         Handle GF_OMP_FOR_KIND_OACC_LOOP.
3450         (expand_omp_target, lower_omp_target): Handle
3451         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
3452         GF_OMP_TARGET_KIND_OACC_UPDATE,
3453         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
3454         GF_OMP_TARGET_KIND_OACC_DATA.
3455         (pass_expand_omp::execute, execute_lower_omp)
3456         (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
3457         flag_openmp.
3458         (offload_symbol_decl): New variable.
3459         (oacc_get_reduction_array_id, oacc_max_threads)
3460         (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
3461         (maybe_lookup_oacc_reduction, enclosing_target_ctx)
3462         (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
3463         (oacc_gimple_assign, oacc_initialize_reduction_data)
3464         (oacc_finalize_reduction_data, oacc_process_reduction_data): New
3465         functions.
3466         (is_targetreg_ctx): Remove function.
3467         * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
3468         OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
3469         OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
3470         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
3471         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
3472         OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
3473         * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
3474         * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
3475         (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
3476         (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
3477         (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
3478         (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
3479         * tree-core.h: Update comments for OpenACC changes.
3480         (enum omp_clause_map_kind): Remove.
3481         (struct tree_omp_clause): Change type of map_kind member from enum
3482         omp_clause_map_kind to unsigned char.
3483         * tree-inline.c: Update comments for OpenACC changes.
3484         * tree-nested.c: Likewise.  Include "gomp-constants.h".
3485         (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
3486         (convert_tramp_reference_stmt, convert_gimple_call): Update for
3487         OpenACC changes.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
3488         OMP_CLAUSE_SET_MAP_KIND.
3489         * tree-pretty-print.c: Include "gomp-constants.h".
3490         (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
3491         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
3492         OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
3493         OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
3494         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
3495         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT.  Use GOMP_MAP_*
3496         instead of OMP_CLAUSE_MAP_*.
3497         (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
3498         OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
3499         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
3500         * tree-streamer-in.c: Include "gomp-constants.h".
3501         (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
3502         OMP_CLAUSE_MAP_*.  Use OMP_CLAUSE_SET_MAP_KIND.
3503         * tree-streamer-out.c: Include "gomp-constants.h".
3504         (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
3505         OMP_CLAUSE_MAP_*.
3506         * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
3507         (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
3508         (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
3509         * tree.c (omp_clause_num_ops): Update accordingly.
3510         * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
3511         Likewise.
3512         (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
3513         (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
3514         (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
3515         (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
3516         (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
3517         (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
3518         * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
3519         (OMP_CLAUSE_SET_MAP_KIND): New macro.
3520         * varpool.c (varpool_node::get_create): Consider flag_openacc next
3521         to flag_openmp.
3522         * config/i386/intelmic-offload.h: New file.
3523         * config/nvptx/offload.h: Likewise.
3525 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
3527         * explow.h: Remove duplicate contents.
3528         * dojump.h: Likewise.
3530 2015-01-15  Richard Earnshaw  <rearnsha@arm.com>
3532         * arm.c (arm_xgene_tune): Add default initializer for instruction
3533         fusion.
3535 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
3537         PR ipa/64068
3538         PR ipa/64559
3539         * ipa.c (symbol_table::remove_unreachable_nodes):
3540         Do not put abstract origins into boundary.
3542 2015-01-15  Evgeny Stupachenko  <evstupac@gmail.com>
3544         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
3545         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
3547 2015-01-15  Steve Ellcey  <sellcey@mips.com>
3549         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
3550         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
3551         builtins.def, and chkp-builtins.def.
3553 2015-01-15  David Edelsohn  <dje.gcc@gmail.com>
3555         * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
3556         ISA 2.7 (POWER8).
3558 2015-01-15  Richard Biener  <rguenther@suse.de>
3560         PR tree-optimization/61743
3561         * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
3562         information on PHIs for some simple cases.
3564 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
3566         * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
3567         Include xgene1.md.
3568         * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
3569         * config/arm/arm-cores.def (xgene1): New entry.
3570         * config/arm/arm-tables.opt: Regenerate.
3571         * config/arm/arm-tune.md: Regenerate.
3572         * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
3574 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
3576         * tree-if-conv.c: Include hash-map.h.
3577         (aggressive_if_conv): New variable.
3578         (fold_build_cond_expr): Add simplification of non-zero condition.
3579         (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
3580         destination block is not always executed.
3581         (if_convertible_phi_p): Fix commentary, allow phi nodes have more
3582         than two predecessors if AGGRESSIVE_IF_CONV is true.
3583         (if_convertible_stmt_p): Fix commentary.
3584         (all_preds_critical_p): New function.
3585         (has_pred_critical_p): New function.
3586         (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
3587         BB can have more than two predecessors and all incoming edges can be
3588         critical.
3589         (predicate_bbs): Skip predication for loop exit block, use build2_loc
3590         to compute predicate for true edge.
3591         (find_phi_replacement_condition): Delete this function.
3592         (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
3593         Allow interchange PHI arguments if EXTENDED is false.
3594         Change check that block containing reduction statement candidate
3595         is predecessor of phi-block since phi may have more than two arguments.
3596         (phi_args_hash_traits): New helper structure.
3597         (struct phi_args_hash_traits): New type.
3598         (phi_args_hash_traits::hash): New function.
3599         (phi_args_hash_traits::equal_keys): New function.
3600         (gen_phi_arg_condition): New function.
3601         (predicate_scalar_phi): Add handling of phi nodes with more than two
3602         arguments, delete COND and TRUE_BB arguments, insert body of
3603         find_phi_replacement_condition to predicate ordinary phi nodes.
3604         (predicate_all_scalar_phis): Skip blocks with the only predecessor,
3605         delete call of find_phi_replacement_condition and invoke
3606         predicate_scalar_phi with two arguments.
3607         (insert_gimplified_predicates): Add assert that non-predicated block
3608         don't have statements to insert.
3609         (ifcvt_split_critical_edges): New function.
3610         (ifcvt_split_def_stmt): Likewise.
3611         (ifcvt_walk_pattern_tree): Likewise.
3612         (stmt_is_root_of_bool_pattern): Likewise.
3613         (ifcvt_repair_bool_pattern): Likewise.
3614         (ifcvt_local_dce): Likewise.
3615         (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
3616         is copy of inner or outer loop force_vectorize field, invoke
3617         ifcvt_split_critical_edges, ifcvt_local_dce and
3618         ifcvt_repair_bool_pattern for aggressive if-conversion.
3620 2015-01-15  Philipp Tomsich  <ptomsich@theobroma-systems.com>
3622         * config/aarch64/aarch64.md: Include xgene1.md.
3623         * config/aarch64/xgene1.md: New file.
3625 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
3627         * config/aarch64/aarch64-cores.def (xgene1): Update/add the
3628         xgene1 (APM XGene-1) core definition.
3629         * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
3630         * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
3631         * doc/invoke.texi: Document -mcpu=xgene1.
3633 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
3635         * dojump.h: New header file.
3636         * explow.h: Likewise.
3637         * expr.h: Remove includes.
3638         Move expmed.c prototypes to expmed.h.
3639         Move dojump.c prototypes to dojump.h.
3640         Move alias.c prototypes to alias.h.
3641         Move explow.c prototypes to explow.h.
3642         Move calls.c prototypes to calls.h.
3643         Move emit-rtl.c prototypes to emit-rtl.h.
3644         Move varasm.c prototypes to varasm.h.
3645         Move stmt.c prototypes to stmt.h.
3646         (saved_pending_stack_adjust): Move to dojump.h.
3647         (adjust_address): Move to explow.h.
3648         (adjust_address_nv): Move to emit-rtl.h.
3649         (adjust_bitfield_address): Likewise.
3650         (adjust_bitfield_address_size): Likewise.
3651         (adjust_bitfield_address_nv): Likewise.
3652         (adjust_automodify_address_nv): Likewise.
3653         * explow.c (expr_size): Move to expr.c.
3654         (int_expr_size): Likewise.
3655         (tree_expr_size): Likewise.
3656         Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3657         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
3658         * genemit.c (main): Generate includes statistics.h, real.h,
3659         fixed-value.h, insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
3660         stmt.h.
3661         * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h,
3662         function.h, statistics.h, real.h, fixed-value.h, expmed.h, dojump.h,
3663         explow.h, emit-rtl.h, stmt.h.
3664         * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
3665         fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
3666         * genemit.c (open_base_files): Generate includes flags.h, statistics.h,
3667         real.h, fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h,
3668         emit-rtl.h, varasm.h, stmt.h.
3669         * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h,
3670         hash-set.h, vec.h, machmode.h, tm.h, hard-reg-set.h, input.h,
3671         function.h, rtl.h, flags.h, statistics.h, double-int.h, real.h,
3672         fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h, insn-config.h,
3673         expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
3674         * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
3675         double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
3676         function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
3677         insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
3678         tm.h tree.h varasm.h vec.h wide-int.h.
3679         * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
3680         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
3681         hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
3682         real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
3683         * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h
3684         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h
3685         insn-config.h real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
3686         * loop-iv.c: Likewise.
3687         * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h
3688         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h real.h
3689         statistics.h stmt.h tree.h varasm.h wide-int.h.
3690         * lra-constraints.c: Likewise.
3691         * lra-eliminations.c: Likewise.
3692         * lra-lives.c: Likewise.
3693         * lra-remat.c: Likewise.
3694         * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
3695         explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
3696         statistics.h stmt.h tree.h varasm.h wide-int.h.
3697         * hw-doloop.c: Likewise.
3698         * ira-color.c: Likewise.
3699         * ira-emit.c: Likewise.
3700         * loop-doloop.c: Likewise.
3701         * loop-invariant.c: Likewise.
3702         * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
3703         explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
3704         statistics.h stmt.h tree.h varasm.h wide-int.h.
3705         * caller-save.c: Include alias.h calls.h dojump.h double-int.h
3706         emit-rtl.h explow.h expmed.h fixed-value.h inchash.h real.h
3707         statistics.h stmt.h tree.h varasm.h wide-int.h.
3708         * combine-stack-adj.c: Likewise.
3709         * cse.c: Likewise.
3710         * ddg.c: Likewise.
3711         * ifcvt.c: Likewise.
3712         * ira-costs.c: Likewise.
3713         * jump.c: Likewise.
3714         * lra-coalesce.c: Likewise.
3715         * lra-spills.c: Likewise.
3716         * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
3717         explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
3718         stmt.h varasm.h wide-int.h.
3719         * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
3720         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
3721         varasm.h.
3722         * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
3723         double-int.h explow.h expmed.h fixed-value.h flags.h real.h
3724         statistics.h stmt.h varasm.h wide-int.h.
3725         * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
3726         expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
3727         varasm.h wide-int.h.
3728         * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
3729         expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
3730         * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
3731         emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
3732         statistics.h stmt.h.
3733         * config/tilepro/tilepro.c: Likewise.
3734         * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
3735         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
3736         * config/pdp11/pdp11.c: Likewise.
3737         * config/xtensa/xtensa.c: Likewise.
3738         * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
3739         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
3740         varasm.h.
3741         * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3742         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
3743         insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
3744         * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3745         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
3746         insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
3747         * rtl-chkp.c: Likewise.
3748         * tree-chkp-opt.c: Likewise.
3749         * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h
3750         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
3751         hashtab.h insn-config.h real.h statistics.h stmt.h varasm.h.
3752         * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3753         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
3754         statistics.h stmt.h.
3755         * tree-vect-data-refs.c: Likewise.
3756         * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
3757         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3758         rtl.h statistics.h stmt.h varasm.h.
3759         * internal-fn.c: Likewise.
3760         * ipa-icf-gimple.c: Likewise.
3761         * lto-section-out.c: Likewise.
3762         * tree-data-ref.c: Likewise.
3763         * tree-nested.c: Likewise.
3764         * tree-outof-ssa.c: Likewise.
3765         * tree-predcom.c: Likewise.
3766         * tree-pretty-print.c: Likewise.
3767         * tree-scalar-evolution.c: Likewise.
3768         * tree-ssa-strlen.c: Likewise.
3769         * tree-vect-loop.c: Likewise.
3770         * tree-vect-patterns.c: Likewise.
3771         * tree-vect-slp.c: Likewise.
3772         * tree-vect-stmts.c: Likewise.
3773         * tsan.c: Likewise.
3774         * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3775         fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
3776         stmt.h.
3777         * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
3778         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3779         statistics.h stmt.h varasm.h.
3780         * loop-unroll.c: Likewise.
3781         * ubsan.c: Likewise.
3782         * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
3783         expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
3784         stmt.h varasm.h.
3785         * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3786         fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
3787         * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
3788         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
3789         statistics.h stmt.h.
3790         * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
3791         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
3792         statistics.h stmt.h varasm.h.
3793         * gimple-match-head.c: Likewise.
3794         * lto-cgraph.c: Likewise.
3795         * lto-section-in.c: Likewise.
3796         * lto-streamer-in.c: Likewise.
3797         * lto-streamer-out.c: Likewise.
3798         * tree-affine.c: Likewise.
3799         * tree-cfg.c: Likewise.
3800         * tree-cfgcleanup.c: Likewise.
3801         * tree-if-conv.c: Likewise.
3802         * tree-into-ssa.c: Likewise.
3803         * tree-ssa-alias.c: Likewise.
3804         * tree-ssa-copyrename.c: Likewise.
3805         * tree-ssa-dse.c: Likewise.
3806         * tree-ssa-forwprop.c: Likewise.
3807         * tree-ssa-live.c: Likewise.
3808         * tree-ssa-math-opts.c: Likewise.
3809         * tree-ssa-pre.c: Likewise.
3810         * tree-ssa-sccvn.c: Likewise.
3811         * tree-tailcall.c: Likewise.
3812         * tree-vect-generic.c: Likewise.
3813         * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3814         fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
3815         * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3816         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
3817         * varasm.c: Likewise.
3818         * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3819         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
3820         varasm.h.
3821         * init-regs.c: Likewise.
3822         * ira.c: Likewise.
3823         * omp-low.c: Likewise.
3824         * stack-ptr-mod.c: Likewise.
3825         * tree-ssa-reassoc.c: Likewise.
3826         * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3827         fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
3828         varasm.h.
3829         * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3830         fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
3831         * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3832         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
3833         * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3834         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
3835         * tree-ssa-phiopt.c: Likewise.
3836         * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3837         fixed-value.h hashtab.h real.h statistics.h stmt.h.
3838         * config/fr30/fr30.c: Likewise.
3839         * config/frv/frv.c: Likewise.
3840         * expr.c: Likewise.
3841         * final.c: Likewise.
3842         * optabs.c: Likewise.
3843         * passes.c: Likewise.
3844         * simplify-rtx.c: Likewise.
3845         * stmt.c: Likewise.
3846         * toplev.c: Likewise.
3847         * var-tracking.c: Likewise.
3848         * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3849         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
3850         * lower-subreg.c: Likewise.
3851         * postreload-gcse.c: Likewise.
3852         * ree.c: Likewise.
3853         * reginfo.c: Likewise.
3854         * store-motion.c: Likewise.
3855         * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3856         fixed-value.h hashtab.h real.h stmt.h varasm.h.
3857         * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3858         fixed-value.h hashtab.h statistics.h stmt.h.
3859         * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3860         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
3861         * except.c: Likewise.
3862         * explow.c: Likewise.
3863         * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3864         fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
3865         varasm.h.
3866         * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3867         fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
3868         * tree-ssa-structalias.c: Likewise.
3869         * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3870         fixed-value.h insn-config.h real.h statistics.h.
3871         * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3872         fixed-value.h insn-config.h real.h statistics.h stmt.h.
3873         * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3874         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
3875         * cfgbuild.c: Likewise.
3876         * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3877         fixed-value.h real.h rtl.h statistics.h stmt.h.
3878         * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3879         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
3880         * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3881         fixed-value.h real.h statistics.h stmt.h.
3882         * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
3883         fixed-value.h real.h statistics.h stmt.h varasm.h.
3884         * cprop.c: Likewise.
3885         * modulo-sched.c: Likewise.
3886         * postreload.c: Likewise.
3887         * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
3888         flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
3889         statistics.h stmt.h varasm.h.
3890         * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
3891         explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3892         rtl.h statistics.h stmt.h varasm.h.
3893         * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
3894         fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
3895         varasm.h.
3896         * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
3897         function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
3898         varasm.h.
3899         * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
3900         fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
3901         varasm.h.
3902         * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
3903         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
3904         * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
3905         function.h real.h statistics.h stmt.h varasm.h.
3906         * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
3907         insn-config.h real.h statistics.h stmt.h.
3908         * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
3909         statistics.h stmt.h.
3910         * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
3911         fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
3912         statistics.h stmt.h varasm.h.
3913         * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h
3914         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
3915         * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
3916         flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
3917         * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
3918         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
3919         statistics.h stmt.h varasm.h.
3920         * ipa-polymorphic-call.c: Likewise.
3921         * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h
3922         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3923         statistics.h stmt.h.
3924         * config/c6x/c6x.c: Likewise.
3925         * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h
3926         explow.h expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3927         statistics.h stmt.h varasm.h.
3928         * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h
3929         fixed-value.h hashtab.h insn-config.h real.h rtl.h statistics.h
3930         stmt.h varasm.h.
3931         * ipa-split.c: Likewise.
3932         * tree-eh.c: Likewise.
3933         * tree-ssa-dce.c: Likewise.
3934         * tree-ssa-loop-niter.c: Likewise.
3935         * tree-vrp.c: Likewise.
3936         * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
3937         expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
3938         stmt.h.
3939         * config/nds32/nds32-fp-as-gp.c: Likewise.
3940         * config/nds32/nds32-intrinsic.c: Likewise.
3941         * config/nds32/nds32-isr.c: Likewise.
3942         * config/nds32/nds32-md-auxiliary.c: Likewise.
3943         * config/nds32/nds32-memory-manipulation.c: Likewise.
3944         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
3945         * config/nds32/nds32-predicates.c: Likewise.
3946         * config/nds32/nds32.c: Likewise.
3947         * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
3948         fixed-value.h hashtab.h real.h statistics.h.
3949         * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
3950         fixed-value.h hashtab.h real.h statistics.h stmt.h.
3951         * config/arm/arm.c: Likewise.
3952         * config/avr/avr.c: Likewise.
3953         * config/bfin/bfin.c: Likewise.
3954         * config/h8300/h8300.c: Likewise.
3955         * config/i386/i386.c: Likewise.
3956         * config/ia64/ia64.c: Likewise.
3957         * config/iq2000/iq2000.c: Likewise.
3958         * config/m32c/m32c.c: Likewise.
3959         * config/m32r/m32r.c: Likewise.
3960         * config/m68k/m68k.c: Likewise.
3961         * config/mcore/mcore.c: Likewise.
3962         * config/mep/mep.c: Likewise.
3963         * config/mips/mips.c: Likewise.
3964         * config/mn10300/mn10300.c: Likewise.
3965         * config/moxie/moxie.c: Likewise.
3966         * config/pa/pa.c: Likewise.
3967         * config/rl78/rl78.c: Likewise.
3968         * config/rx/rx.c: Likewise.
3969         * config/s390/s390.c: Likewise.
3970         * config/sh/sh.c: Likewise.
3971         * config/sparc/sparc.c: Likewise.
3972         * config/spu/spu.c: Likewise.
3973         * config/stormy16/stormy16.c: Likewise.
3974         * config/v850/v850.c: Likewise.
3975         * config/vax/vax.c: Likewise.
3976         * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
3977         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
3978         * config/msp430/msp430.c: Likewise.
3979         * predict.c: Likewise.
3980         * value-prof.c: Likewise.
3981         * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
3982         expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
3983         * config/microblaze/microblaze.c: Likewise.
3984         * config/nios2/nios2.c: Likewise.
3985         * config/rs6000/rs6000.c: Likewise.
3986         * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
3987         insn-config.h real.h rtl.h statistics.h stmt.h.
3988         * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
3989         insn-config.h real.h statistics.h stmt.h.
3990         * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
3991         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
3992         * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
3993         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
3994         * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h
3995         fixed-value.h real.h statistics.h stmt.h.
3996         * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
3997         fixed-value.h statistics.h stmt.h.
3998         * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
3999         stmt.h.
4001 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
4003         * gengtype.c (create_user_defined_type): Workaround
4004         -Wmaybe-uninitialized false positives.
4005         * cse.c (fold_rtx): Likewise.
4006         * loop-invariant.c (gain_for_invariant): Likewise.
4008 2015-01-15  Eric Botcazou  <ebotcazou@adacore.com>
4010         * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
4011         set the memory attributes in all cases but clear MEM_EXPR if need be.
4013 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
4015         PR tree-optimization/64434
4016         * cfgexpand.c (reorder_operands): New function.
4017         (expand_gimple_basic_block): Insert call of reorder_operands if
4018         optimized is true.
4020 2015-01-15  Matthew Fortune  <matthew.fortune@imgtec.com>
4022         * config/mips/micromips.md (*swp): Remove explicit parallel.
4023         (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
4024         * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
4025         (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
4026         (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
4027         (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
4028         (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
4029         (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
4030         (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
4031         (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
4032         (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
4033         (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
4034         (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
4035         (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
4036         (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
4037         (mips_wrdsp): Likewise.
4038         * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
4039         parallel.
4040         (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
4041         (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
4042         (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
4043         (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
4044         (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
4045         (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
4046         * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
4047         (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
4048         (ssmaddsqdq4, ssmsubsqdq4): Likewise.
4050 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
4052         * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
4053         (mips_print_operand): Support 'y' to print exact log2 in decimal
4054         of a const_int.
4055         * config/mips/mips.h (ISA_HAS_LSA): New define.
4056         (ISA_HAS_DLSA): Likewise.
4057         * config/mips/mips.md (<GPR:d>lsa): New define_insn.
4058         * config/mips/predicates.md (const_immlsa_operand): New predicate.
4060 2015-01-15  Martin Liska  <mliska@suse.cz>
4062         PR target/64377
4063         * optc-save-gen.awk: Add support for array types.
4065 2015-01-15  Richard Biener  <rguenther@suse.de>
4067         PR middle-end/64365
4068         * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
4069         for MEM_REF access functions with the same base can never partially
4070         overlap.
4072 2015-01-14  Marcos Diaz <marcos.diaz@tallertechnologies.com>
4074         * common.opt: New option -fstack-protector-explicit.
4075         * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
4076         (stack_protect_decl_phase): Handle stack_protect attribute for
4077         explicit stack protection requests.
4078         (expand_used_vars): Similarly.
4079         * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
4080         * doc/extend.texi: Add documentation for "stack_protect" attribute.
4081         * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
4083 2015-01-14  Oleg Endo  <olegendo@gcc.gnu.org>
4085         PR target/53988
4086         * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
4087         reg-reg copies.
4088         (sh_extending_set_of_reg): New struct.
4089         (sh_find_extending_set_of_reg, sh_split_tst_subregs,
4090         sh_remove_reg_dead_or_unused_notes): New Declarations.
4091         * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
4092         sh_find_extending_set_of_reg, sh_split_tst_subregs,
4093         sh_extending_set_of_reg::use_as_extended_reg): New functions.
4094         * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
4095         convert to insn_and_split and use new function sh_split_tst_subregs.
4097 2015-01-14  Sandra Loosemore  <sandra@codesourcery.com>
4099         * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
4100         option.
4101         (Optimization Options): Move -fuse-ld documentation to...
4102         (Link Options): ...here.
4104 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
4106         * config/mips/constraints.md (ZC): Add support for R6 LL/SC
4107         offsets.
4108         (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
4109         * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
4110         (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
4111         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
4112         instead of ZR for the memory operand of LL/SC.
4113         (compare_and_swap_12, sync_add<mode>): Likewise.
4114         (sync_<optab>_12, sync_old_<optab>_12): Likewise.
4115         (sync_new_<optab>_12, sync_nand_12): Likewise.
4116         (sync_old_nand_12, sync_new_nand_12): Likewise.
4117         (sync_sub<mode>, sync_old_add<mode>): Likewise.
4118         (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
4119         (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
4120         (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
4121         (sync_nand<mode>, sync_old_nand<mode>): Likewise.
4122         (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
4123         (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
4124         (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
4125         * doc/md.texi (ZC): Update description.
4127 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
4129         * builtins.c (expand_builtin_atomic_exchange): Remove error when
4130         memory model is CONSUME.
4131         (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
4132         expand_builtin_atomic_store): Change invalid memory model errors to
4133         warnings.
4134         (expand_builtin_atomic_clear): Change invalid model errors to warnings
4135         and issue warning for CONSUME.
4137 2015-01-14  Aldy Hernandez  <aldyh@redhat.com>
4139         * lto-cgraph: Update function comments for
4140         lto_symtab_encoder_encode_*.
4142 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
4144         * Makefile.in (site.exp): Do not set ENABLE_LTO.
4146 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
4148         * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
4149         * lto-cgraph.c (select_what_to_stream): Remove argument, use
4150         lto_stream_offload_p instead.
4151         * lto-streamer.h (select_what_to_stream): Remove argument.
4152         * passes.c (ipa_write_summaries): Likewise.
4153         * tree-pass.h (ipa_write_summaries): Likewise.
4155 2015-01-14  Richard Biener  <rguenther@suse.de>
4157         PR tree-optimization/59354
4158         * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
4159         groups larger than the slp group size as having gaps.
4161 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
4163         PR middle-end/59448
4164         * builtins.c (get_memmodel): Promote consume to acquire always.
4166 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
4168         PR target/64386
4169         * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
4170         V32HImode.
4172 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
4174         PR target/64393
4175         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
4176         Enable AVX512BW.
4177         (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
4178         * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
4179         AVX512VBMI, as it implies AVX512BW.
4181 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
4183         PR target/64387
4184         * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
4185         (vec_unpacks_hi_v16sf): Ditto.
4187 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4189         * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
4190         is not available.
4192 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4194         * doc/invoke.texi (mapcs): Mention deprecation.
4195         (mapcs-frame): Likewise.
4197 2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4199         PR target/64453
4200         * config/arm/arm.c (callee_saved_reg_p): Define.
4201         (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
4202         register is callee saved instead of !call_used_regs[reg].
4203         (thumb1_compute_save_reg_mask): Likewise.
4205 2015-01-14  Hale Wang  <hale.wang@arm.com>
4207         * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
4208         Cortex-M7.
4210 2015-01-14  Richard Biener  <rguenther@suse.de>
4212         PR lto/64415
4213         * tree-inline.c (insert_debug_decl_map): Check destination
4214         function MAY_HAVE_DEBUG_STMTS.
4215         (insert_init_debug_bind): Likewise.
4216         (insert_init_stmt): Remove redundant check.
4217         (remap_gimple_stmt): Drop debug stmts if the destination
4218         function has var-tracking assignments disabled.
4220 2015-01-14  Martin Liska  <mliska@suse.cz>
4222         * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
4223         IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
4225 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4227         PR target/64460
4228         * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
4229         (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
4231 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
4233         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
4234         level from an ARCH; do not inject the default.
4235         (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
4236         MIPS_ISA_LEVEL_SPEC.
4237         (MIPS_ISA_NAN2008_SPEC): Update comment.
4238         (BASE_DRIVER_SELF_SPECS): Likewise.
4239         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
4240         MIPS_DEFAULT_ISA_LEVEL_SPEC.
4241         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
4242         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
4243         * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
4245 2015-01-14  Richard Biener  <rguenther@suse.de>
4247         PR tree-optimization/64493
4248         PR tree-optimization/64495
4249         * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
4250         assign the proper vectorized PHI to the inner loop exit PHIs.
4252 2015-01-14  Joey Ye  <joey.ye@arm.com>
4254         * config/arm/arm.c (arm_compute_save_reg_mask):
4255         Do not save lr in case of tail call.
4256         * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
4258 2015-01-14  Martin Uecker <uecker@eecs.berkeley.edu>
4260         * tree-vrp.c (check_array_ref): Emit more warnings
4261         for warn_array_bounds >= 2.
4262         * common.opt: New option -Warray-bounds=.
4263         * doc/invoke.texi: Document -Warray-bounds=.
4265 2015-01-14  Chung-Ju Wu  <jasonwucj@gmail.com>
4267         * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
4268         (mforbid-fp-as-gp): Remove.
4269         (mex9): Remove.
4270         * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
4271         (nds32_symbol_load_store_p): Remove.
4272         (nds32_fp_as_gp_check_available): Clean up implementation.
4273         * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
4274         cases.
4275         * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
4276         fp-as-gp and ex9 cases.
4278 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
4280         * tree-profile.c (init_ic_make_global_vars): Drop workaround
4281         for bintuils bug 14342.
4282         (init_ic_make_global_vars): Likewise.
4283         (gimple_init_edge_profiler): Likewise.
4284         (gimple_gen_ic_func_profiler): Likewise.
4286 2015-01-13  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
4288         * ipa-inline.c (inline_small_functions): Swap the operands in
4289         enum.
4291 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
4293         PR ipa/64481
4294         * ipa-inline-analysis.c (node_growth_cache): Remove.
4295         (initialize_growth_caches): Do not initialize it.
4296         (free_growth_caches): Do not free it.
4297         (do_estimate_growth): Rename to ...
4298         (estimate_growth): ... this one; drop growth cache code.
4299         (growth_likely_positive): Always go the heuristics way.
4300         * ipa-inline.c (can_inline_edge_p): Walk through aliases.
4301         (reset_edge_caches): Do not reset node growth.
4302         (heap_edge_removal_hook): Do not maintain cache.
4303         (inline_small_functions): Likewise; strenghten sanity check.
4304         (ipa_inline): Do not maintain caches.
4305         * ipa-inline.h (node_growth_cache): Remove.
4306         (do_estimate_growth): Remove to ...
4307         (estimate_growth): this one; remove inline version.
4308         (reset_node_growth_cache): Remove.
4310 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
4312         PR ipa/64565
4313         * ipa-inline.c (inline_small_functions): Update callee keys after
4314         resolving speculation
4315         (inline_small_functions): Always check monotonicity of the queue.
4317 2015-01-13  Marek Polacek  <polacek@redhat.com>
4319         PR middle-end/64391
4320         * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
4322 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
4324         PR rtl-optimization/64286
4325         * ree.c (combine_reaching_defs): Move part of comment earlier,
4326         remove !SCALAR_INT_MODE_P check.
4327         (add_removable_extension): Don't add vector mode
4328         extensions if all uses of the source register aren't the same
4329         vector extensions.
4331 2015-01-13  Renlin Li  <renlin.li@arm.com>
4333         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
4334         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
4336 2015-01-13  Martin Liska  <mliska@suse.cz>
4338         * ipa-icf.c (sem_function::equals_private): Call new functions
4339         cl_target_option_print_diff and cl_optimization_print_diff.
4340         * optc-save-gen.awk (cl_target_option_print_diff): New function.
4341         (cl_optimization_print_diff): Likewise.
4342         * opth-gen.awk: Likewise.
4344 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
4346         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
4347         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
4348         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
4349         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
4350         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
4351         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
4353 2015-01-13  Andrew Pinski   <apinski@cavium.com>
4355         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
4356         instead of src mode.
4358 2015-01-13  Richard Biener  <rguenther@suse.de>
4360         PR lto/64373
4361         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
4362         DECL_CONTEXT.
4364 2015-01-13  Andrew Pinski   <apinski@cavium.com>
4366         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
4367         volatile mems.
4368         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
4370 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
4372         PR middle-end/63974
4373         * cfgexpand.c (expand_computed_goto): Don't call
4374         convert_memory_address here.
4376 2015-01-13  Richard Biener  <rguenther@suse.de>
4378         PR tree-optimization/64406
4379         * tree-loop-distibution.c (pass_loop_distribution::execute):
4380         Reset the SCEV hashtable if we distributed anything.
4382 2015-01-13  Richard Biener  <rguenther@suse.de>
4384         PR tree-optimization/64404
4385         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
4386         SLP types for CSEd loads.
4388 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4390         PR tree-optimization/64436
4391         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
4392         merge of two symbolic numbers for a bitwise OR to ...
4393         (perform_symbolic_merge): This. Also fix computation of the range and
4394         end of the symbolic number corresponding to the result of a bitwise OR.
4396 2015-01-13  Richard Biener  <rguenther@suse.de>
4398         PR tree-optimization/64568
4399         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
4400         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
4402 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4404         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
4405         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
4407 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4409         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
4410         target-specific symbol_ref flag.
4411         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
4412         resides in rodata section.
4413         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
4414         (nds32_encode_section_info): New function.
4416 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4418         * config/nds32/nds32.md (call): Use pseudo instruction bal which
4419         clobbers TA_REGNUM if large code model is specified.
4420         (call_register): Likewise.
4421         (call_immediate): Likewise.
4422         (call_value): Likewise.
4423         (call_value_register): Likewise.
4424         (call_value_immediate): Likewise.
4426 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4428         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
4429         (TARGET_CMODEL_MEDIUM): New macro.
4430         (TARGET_CMODEL_LARGE): New macro.
4431         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
4432         code model setting in assembly code.
4434 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4436         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
4437         Remove MASK_GP_DIRECT flag.
4438         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
4439         one of the multilib default options.
4440         * config/nds32/nds32.opt (mgp-direct): Remove.
4441         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
4442         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
4444 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
4446         * config/nds32/nds32.opt (mcmodel): Add new option.
4447         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
4448         to describe code model.
4450 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
4452         PR target/64479
4453         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
4455 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
4457         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
4458         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
4459         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
4460         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
4461         __builtin_sh_set_fpscr.
4463 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
4465         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
4466         after a funtion name just to indicate it is a function.
4467         ([-fsanitize-undefined-trap-on-error]): Likewise.
4468         ([-fdbg-cnt=]): Likewise.
4469         ([-mmemcpy]): Likewise.
4470         ([-mflush-func]): Likewise.
4471         ([-msynci]): Likewise.
4473 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
4475         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
4476         example.
4478 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
4480         PR tree-optimization/64563
4481         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
4482         instead of != VR_VARYING.
4484         PR target/64513
4485         * config/i386/i386.c (ix86_expand_prologue): Add
4486         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
4488         PR tree-optimization/64454
4489         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
4490         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
4491         for signed or [0, op1 - 1] for unsigned modulo.
4492         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
4493         even if op1 does not satisfy integer_pow2p.
4495         PR other/64370
4496         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
4498 2015-01-12  Jeff Law  <law@redhat.com>
4500         PR target/64461
4501         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
4502         (trunchiqi2, truncsihi2): Similarly.
4504         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
4505         rather than calling F.
4507 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4509         * tsan.c (instrument_expr): Use force_gimple_operand.
4510         Use may_be_nonaddressable_p instead of is_gimple_addressable.
4512 2015-01-12  Richard Biener  <rguenther@suse.de>
4514         PR tree-optimization/64530
4515         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
4516         back dr1.
4518 2015-01-12  Richard Biener  <rguenther@suse.de>
4520         PR middle-end/64357
4521         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
4522         latches properly.
4524 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4526         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
4527         Cortex-A17 tuning parameters.
4528         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
4530 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4532         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
4533         * config/arm/arm.c (arm_macro_fusion_p): New function.
4534         (arm_macro_fusion_pair_p): Likewise.
4535         (TARGET_SCHED_MACRO_FUSION_P): Define.
4536         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
4537         (ARM_FUSE_NOTHING): Likewise.
4538         (ARM_FUSE_MOVW_MOVT): Likewise.
4539         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
4540         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
4541         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
4542         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
4543         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
4544         arm_cortex_a5_tune): Specify fuseable_ops value.
4546 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
4548         PR bootstrap/64561
4549         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
4550         test for PIE with copy reloc.
4551         * configure: Regenerated.
4553 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4555         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
4556         in gen_rtx_REG.
4557         (arm_tls_descseq_addr): Likewise.
4558         (arm_gen_movmemqi): Likewise.
4559         (arm_expand_epilogue_apcs_frame): Likewise.
4560         (arm_expand_epilogue): Likewise.
4561         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
4562         in gen_rtx_REG.
4564 2015-01-12  Martin Liska  <mliska@suse.cz>
4566         PR ipa/64550
4567         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
4568         volatility for correct operands.
4570 2015-01-12  Martin Liska  <mliska@suse.cz>
4572         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
4573         that a function is not leaf.
4574         (sem_function::compare_polymorphic_p): Likewise.
4576 2015-01-12  Martin Liska  <mliska@suse.cz>
4578         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
4579         that a function is not leaf.
4580         (sem_function::compare_polymorphic_p): Likewise.
4582 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
4584         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
4585         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
4586         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
4587         fold-const.h, tree-check.h.
4589 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
4591         PR ipa/63967
4592         PR ipa/64425
4593         * ipa-inline.c (compute_uninlined_call_time,
4594         compute_inlined_call_time): Use counts for extra precision when
4595         needed possible.
4596         (big_speedup_p): Fix formating.
4597         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
4598         (relative_time_benefit): Remove.
4599         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
4600         merge guessed and read profile paths.
4601         (inline_small_functions): Count only !optimize_size functions into
4602         initial size; be more lax about sanity check when profile is used;
4603         be sure to update inlined function profile when profile is read.
4605 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
4607         PR ipa/63470
4608         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
4609         cost when edge becomes direct.
4610         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
4611         is resolved or when introducing new speculation.
4613 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
4615         PR ipa/64551
4616         PR ipa/64552
4617         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
4618         '||' to fix typo issue.
4620         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
4621         accept and return NULL.
4623 2015-01-12  Martin Liska  <mliska@suse.cz>
4625         * cgraph.c (cgraph_edge::remove_callee): Move function to header
4626         file for being inlined.
4627         (cgraph_set_edge_callee): Delete.
4628         (cgraph_edge::redirect_callee): Move function to header file
4629         for being inlined.
4630         (cgraph_edge::make_direct): Use new function.
4631         (cgraph_edge::dump_edge_flags): New function created from
4632         static dump_edge_flags function.
4633         (cgraph_node::dump): Use new function.
4634         (cgraph_edge::verify_count_and_frequency): New function created
4635         from verify_edge_count_and_frequency.
4636         (cgraph_edge::verify_corresponds_to_fndecl): New function created
4637         from verify_edge_corresponds_to_fndecl.
4638         (verify_edge_corresponds_to_fndecl): Delete.
4639         (cgraph_node::verify_node): Use new function.
4640         * cgraph.h (cgraph_edge::set_callee): New function.
4641         (cgraph_edge::dump_edge_flags): Likewise.
4642         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
4644 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
4646         * ipa-utils.c (estimate_function_body_sizes): Do not
4647         free node params when called late with early=true.
4649 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
4651         * doc/md.texi (Instruction Patterns): Rewrite text for
4652         clarity.
4653         (Example): Likewise.
4655 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
4657         * doc/invoke.texi (Option Summary): Break long lines.
4658         [(-fdiagnostics-color)]: Put long literal in @smallexample
4659         instead of inline.
4660         [(-fsanitize-recover)]: Likewise.
4661         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
4662         [(-ffast-math)]: Likewise.
4663         [(--param max-inline-insns-recursive)]: Likewise.
4664         [(--param max-inline-recursive-depth)]: Likewise.
4665         [(-mno-text-section-literals)]: Likewise.
4667 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
4669         * doc/install.texi: Update for libgomp being renamed from "GNU
4670         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
4671         Runtime Library".
4672         * doc/sourcebuild.texi: Likewise.
4674 2015-01-10  Anthony Green  <green@moxielogic.com>
4676         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
4677         mul.x availability for moxiebox configuration.
4679 2015-01-09  Anthony Green  <green@moxielogic.com>
4681         * config/moxie/moxie.md: Tabify assembly output.
4683 2015-01-09  Anthony Green  <green@moxielogic.com>
4685         * config/moxie/moxie.md (CC_REG): Correct register definition.
4687 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
4689         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
4690         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
4691         of log files.
4693 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4695         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
4697 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
4698             Jakub Jelinek  <jakub@redhat.com>
4700         PR middle-end/64412
4701         * lto-streamer.h (lto_stream_offload_p): New declaration.
4702         * lto-streamer.c (lto_stream_offload_p): New variable.
4703         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
4704         at the same time as section_name_prefix.
4705         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
4706         if lto_stream_offload_p.
4707         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
4708         stream TREE_TARGET_OPTION if lto_stream_offload_p.
4709         (write_ts_function_decl_tree_pointers): Don't
4710         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
4711         * tree-streamer-in.c (unpack_value_fields): Don't stream
4712         TREE_TARGET_OPTION in if ACCEL_COMPILER.
4713         (lto_input_ts_function_decl_tree_pointers): Don't stream
4714         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
4715         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
4716         instead of section_name_prefix string comparisons.
4718 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
4720         PR rtl-optimization/64536
4721         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
4722         tablejumps.
4724 2015-01-09  Michael Collison  <michael.collison@linaro.org>
4726         PR tree-optimization/64322
4727         * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
4728         range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
4730 2015-01-09  Tom de Vries  <tom@codesourcery.com>
4732         PR rtl-optimization/64539
4733         * regcprop.c (kill_clobbered_values): Factor out of ...
4734         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
4735         instead of note_stores with kill_clobbered_value.
4737 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4739          * ginclude/unwind-arm-common.h: Revert previous commit.
4741 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4743         * config.gcc (arm*-*-freebsd*): New configuration.
4744         * config/arm/freebsd.h: New file.
4745         * config.host: Add extra components for arm*-*-freebsd*.
4746         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
4747         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
4749 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4751         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
4752         for -mcpu=e6500.
4753         * config/rs6000/t-rtems: Add e6500 multilibs.
4755 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4757         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
4758         MPC8540.
4760 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4762         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
4763         MULTILIB_EXCEPTIONS.
4765 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4767         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
4768         MULTILIB_EXCEPTIONS.
4770 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4772         * config/arm/t-rtems-eabi: Rename to...
4773         * config/arm/t-rtems: ...this.
4774         * config/arm/rtems-eabi.h: Rename to...
4775         * config/arm/rtems.h: ...this.
4776         * config.gcc (arm*-*-rtems*): Reflect changes above.
4778 2015-01-09  Richard Biener  <rguenther@suse.de>
4780         PR tree-optimization/64410
4781         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
4782         on the LHS.
4783         (execute_update_addresses_taken): Deal with that.
4784         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
4785         loads/stores for complex variables.
4787 2015-01-09  Martin Liska  <mliska@suse.cz>
4789         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
4790         name comparison.
4791         (func_checker::compare_memory_operand): New function.
4792         (func_checker::compare_operand): Split case to newly
4793         added functions.
4794         (func_checker::compare_cst_or_decl): New function.
4795         (func_checker::compare_gimple_call): Identify
4796         memory operands.
4797         (func_checker::compare_gimple_assign): Likewise.
4798         * ipa-icf-gimple.h: New function.
4800 2015-01-09  Martin Liska  <mliska@suse.cz>
4802         PR ipa/64503
4803         * sreal.c (sreal::dump): Change unsigned format to signed for
4804         m_exp value.
4805         (sreal::to_double): Replace exp2 with scalbln.
4807 2015-01-09  Martin Liska  <mliska@suse.cz>
4809         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
4810         * ipa-icf.c (sem_function::equals_private): Add support for target and
4811         (sem_item_optimizer::merge_classes): Remove redundant function
4812         optimization flags comparison.
4813         * tree.h (target_opts_for_fn): New function.
4815 2015-01-09  Tom de Vries  <tom@codesourcery.com>
4817         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
4819 2015-01-09  Kito Cheng  <kito@0xlab.org>
4821         PR rtl-optimization/64348
4822         * lra-constraints.c (split_reg): Fix caller-save store/restore
4823         instruction generation.
4825 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
4827         PR gcov-profile/61790
4828         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
4829         long long.  Fallback to int64_t if host doesn't have long long and
4830         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
4832 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
4834         PR tree-optimization/63989
4835         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
4836         from 1000 to 10000.
4837         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
4838         (get_stridx): If we don't have a record for certain SSA_NAME,
4839         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
4840         constant offset, call get_stridx_plus_constant.
4841         (get_stridx_plus_constant): New function.
4842         (zero_length_string): Don't use get_stridx here.
4844         PR target/55023
4845         PR middle-end/64388
4846         * dse.c (struct insn_info): Mention frame_read set also
4847         before reload for tail calls on some targets.
4848         (scan_insn): Revert 2014-12-22 change.  Set frame_read
4849         also before reload for tail calls if
4850         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
4851         instead of add_non_frame_wild_read for non-const/memset
4852         tail calls after reload.
4854 2015-01-08  Jason Merrill  <jason@redhat.com>
4856         * ubsan.c (do_ubsan_in_current_function): New.
4857         (pass_ubsan::gate): Use it.
4858         * ubsan.h: Declare it.
4859         * convert.c (convert_to_integer): Use it.
4861 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
4863         PR target/64338
4864         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
4865         compare_code when it is unconditionally overwritten afterwards.
4866         Use ix86_reverse_condition instead of reverse_condition.  Don't
4867         change code if *reverse_condition* returned UNKNOWN and don't
4868         swap ct/cf and negate diff in that case.
4870 2015-01-08  Mike Stump  <mikestump@comcast.net>
4872         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
4873         (pass_tsan_O0::gate): Likewise.
4874         * extend.texi (Function Attributes): Add no_sanitize_thread
4875         documentation.
4877 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
4879         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
4880         for registering builtins.
4881         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
4882         add -fopenmp to the argv_obstack used when invoking
4883         compile_for_target.
4885         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
4886         add "-m32" or "-m64" to argv_obstack.
4887         (generate_host_descr_file): Likewise, when invoking host_compiler.
4888         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
4889         ld.
4891 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
4893         * config/sh/sh-mem.cc: Use constant as second operand when emitting
4894         tstsi_t insns.
4896 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
4898         PR target/55212
4899         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
4900         constant load if constant operand fits into I08.
4902 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
4904         PR sanitizer/64336
4905         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
4906         and TREE_THIS_VOLATILE for MEM_REFs.
4907         (build5_stat): Fix up initialization of TREE_READONLY and
4908         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
4910 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
4912         PR target/64533
4913         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
4914         of r for the second alternative of the destination operand.
4916 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
4918         PR target/36557
4919         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
4921 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
4923         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
4924         keywords.
4925         ([-fivar-visibility], [-fvisibility]): Likewise.
4927 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
4929         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
4930         the file where @code, @command, etc is more appropriate.
4932 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
4934         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
4935         of -mrecip= documentation.
4937 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
4939         PR target/64505
4940         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
4941         correct reload handler if -m32 -mpowerpc64 is used.
4943 2015-01-06  Tom de Vries  <tom@codesourcery.com>
4945         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
4947 2015-01-08  Christian Bruel  <christian.bruel@st.com>
4949         PR target/64507
4950         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
4952 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4954         PR tree-optimization/63259
4955         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
4956         if optab exists for 16bit byteswap.
4958 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
4960         * opts.c (common_handle_option): Add support for
4961         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
4962         * doc/invoke.texi: Document -fno-sanitize=all,
4963         -f{,no-}sanitize-recover=all.  Document that
4964         -fsanitize=float-cast-overflow is not enabled
4965         by -fsanitize=undefined.  Fix up documentation
4966         of -f{,no-}sanitize-recover.
4968 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4970         * config.gcc: Add Visium support.
4971         * configure.ac: Likewise.
4972         * configure: Regenerate.
4973         * doc/extend.texi (interrupt attribute): Add Visium.
4974         * doc/invoke.texi: Document Visium options.
4975         * doc/install.texi: Document Visium target.
4976         * doc/md.texi: Document Visium constraints.
4977         * common/config/visium: New directory.
4978         * config/visium: Likewise.
4980 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
4982         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
4983         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
4985 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
4987         * combine.c (combine_validate_cost): Do not count the cost of a
4988         split I2 twice.  Do not display it twice in the dump, either.
4990 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
4992         Revert parts of r219199.
4993         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
4994         <inttypes.h>.
4995         ([-Wtraditional]): Restore markup on <limits.h>.
4997 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
4999         PR c++/31397
5000         * doc/invoke.texi: Document -Wsuggest-override.
5002 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
5004         PR rtl-optimization/64287
5005         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
5006         (process_options): Disable flag_ipa_ra if profiling.
5008 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
5010         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
5012 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
5014         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
5015         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
5016         put under #if TARGET_LOOPS guard.
5018 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
5020         * config/i386/i386.c (output_387_binary_op): Use std::swap.
5022 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
5024         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
5025         * rtl.h (refers_to_regno_p): Add overload.
5026         * cse.c: Use it.
5027         * bt-load.c: Likewise.
5028         * combine.c: Likewise.
5029         * df-scan.c: Likewise.
5030         * sched-deps.c: Likewise.
5031         * config/s390/s390.c: Likewise.
5032         * config/m32r/m32r.c: Likewise.
5033         * config/rs6000/spe.md: Likewise.
5034         * config/rs6000/rs6000.c: Likewise.
5035         * config/pa/pa.c: Likewise.
5036         * config/stormy16/stormy16.c: Likewise.
5037         * config/cris/cris.c: Likewise.
5038         * config/arc/arc.md: Likewise.
5039         * config/arc/arc.c: Likewise.
5040         * config/sh/sh.md: Likewise.
5041         * config/sh/sh.c: Likewise.
5042         * config/frv/frv.c: Likewise.
5044 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5046         PR sanitizer/64265
5047         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
5048         call as cleanup of the whole body.
5049         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
5050         * tsan.c (replace_func_exit): New function.
5051         (instrument_func_exit): Moved earlier.
5052         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
5053         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
5054         been found.
5055         (tsan_pass): Don't call instrument_func_exit.
5056         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
5057         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
5058         inlining.
5060         PR sanitizer/64344
5061         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
5062         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
5063         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
5064         if the result is integer_zerop, return NULL_TREE.
5065         * convert.c (convert_to_integer): Pass expr as ARG.
5067         PR tree-optimization/64465
5068         * tree-inline.c (redirect_all_calls): During inlining
5069         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
5070         changed the stmt to a non-throwing call.
5072 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
5074         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
5075         etc markup throughout the file.
5077 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5079         Enable experimental TSAN support for Ada.
5080         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
5082 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5084         PR tree-optimization/64494
5085         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
5086         clear SSA_NAME_ANTI_RANGE_P flag.
5088 2015-01-05  Marek Polacek  <polacek@redhat.com>
5090         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
5092 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5094         Update copyright years.
5096         * gcc.c (process_command): Update copyright notice dates.
5097         * gcov-dump.c: Ditto.
5098         * gcov.c: Ditto.
5099         * doc/cpp.texi: Bump @copying's copyright year.
5100         * doc/cppinternals.texi: Ditto.
5101         * doc/gcc.texi: Ditto.
5102         * doc/gccint.texi: Ditto.
5103         * doc/gcov.texi: Ditto.
5104         * doc/install.texi: Ditto.
5105         * doc/invoke.texi: Ditto.
5107         * auto-profile.c, auto-profile.h: Fix up Copyright line.
5109 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
5111         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
5112         verb tense, etc.
5113         ([-fvtable-verify], [-fvtv-debug]): Likewise.
5114         ([-Wabi]): Likewise.
5115         ([-fmessage-length]): Likewise.
5116         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
5117         ([-Wno-discarded-qualifiers]): Likewise.
5118         ([-Wnodiscarded-array-qualifiers]): Likewise.
5119         ([-Wno-virtual-move-assign]): Likewise.
5120         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
5121         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
5122         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
5123         ([-fsanitize-undefined-trap-on-error]): Likewise.
5124         ([-floop-interchange]): Likewise.
5125         ([-ftree-coalesce-inlined-vars]): Likewise.
5126         ([-fvect-cost-model]): Likewise.
5127         ([-flto]): Likewise.
5128         ([--param]): Likewise.
5129         (Spec Files): Likewise.
5130         ([-mstrict-align]): Likewise.
5131         ([-mfix-cortex-a53-835769]): Likewise.
5132         ([-march], [-mtune]): Likewise.
5133         ([-mpic-register]): Likewise.
5134         ([-munaligned-access]): Likewise.
5135         ([-msp8]): Likewise.
5136         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
5137         (AVR Built-in Macros): Likewise.
5138         ([-mpreferred-stack-boundary]): Likewise.
5139         ([-mtune-crtl]): Likewise.
5140         ([-mashf]): Likewise.
5141         ([-mmcu=]): Likewise.
5142         ([-minrt]): Likewise.
5143         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
5144         ([-mupper-regs]): Likewise.
5145         ([-matomic-model]): Likewise.
5146         ([-mdiv]): Likewise.
5147         ([-mzdcbranch]): Likewise.
5148         ([-mdisable-callt]): Likewise.
5149         ([-msoft-float]): Likewise.
5150         ([-m8byte-align]): Likewise.
5151         ([-fstack-reuse]): Likewise.
5153 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
5155         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
5156         Fix markup, light copy-editing.
5157         ([-fauto-profile]): Rewrite to fix formatting and content
5158         problems.
5160 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
5162         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
5163         Copy-edit description.
5164         ([-fisolate-erroneous-paths-attribute]): Likewise.
5165         * common.opt (fisolate-erroneous-paths-dereference):
5166         Copy-edit description.
5167         (fisolate-erroneous-paths-attribute): Likewise.
5169 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
5171         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
5172         tidy grammar.
5174 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
5176         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
5177         ([-fvtv-debug]): Likewise.
5178         ([-Wc++-compat]): Likewise.
5179         ([-Wc++11-compat]): Likewise.
5180         ([-Wc++14-compat]): Likewise.
5181         ([-Wno-sized-deallocation]): Likewise.
5182         ([-femit-class-debug-always]): Likewise.
5183         ([-femit-struct-debug-detailed]): Likewise.
5184         ([-fno-keep-inline-dllexport]): Likewise.
5185         ([-fira-algorithm]): Likewise.
5186         ([-fira-region]): Likewise.
5187         ([-flra-remat]): Likewise.
5188         ([-fipa-ra]): Likewise.
5189         ([-fhoist-adjacent-loads]): Likewise.
5190         ([-fisolate-erroneous-paths-dereference]): Likewise.
5191         ([-fisolate-erroneous-paths-attribute]): Likewise.
5192         ([-ftree-switch-conversion]): Likewise.
5193         ([-ftree-tail-merge]): Likewise.
5194         ([-ftree-loop-if-convert]): Likewise.
5195         ([-ftree-loop-if-convert-stores]): Likewise.
5196         ([-ftree-loop-distribution]): Likewise.
5197         ([-ftree-loop-distribute-patterns]): Likewise.
5198         ([-flto-compression-level]): Likewise.
5199         ([-flto-report]): Likewise.
5200         ([-flto-report-wpa]): Likewise.
5201         ([-fuse-linker-plugin]): Likewise.
5202         ([-mfix-cortex-a53-835769]): Likewise.
5203         ([-mno-fix-cortex-a53-835769]): Likewise.
5204         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
5205         explicit listing; add a note to the discussion indicating they
5206         exist.  Reorder table to group similar options.  Add missing
5207         @opindex entries.  Add @need commands throughout the table to
5208         allow it to be split across multiple pages.
5209         ([-m8bit-idiv]): Fix @opindex.
5210         ([-mavx256-split-unaligned-load]): Likewise.
5211         ([-mavx256-split-unaligned-store]): Likewise.
5212         ([-mstack-protector-guard]): Likewise.
5213         ([-mcpu=]): Likewise.
5214         ([-mcpu]): Likewise.
5215         ([-mpointer-size=]): Likewise.
5217 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
5219         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
5220         instead of `m' constraint.  Likewise for unnamed movb comparison
5221         patterns using reg_before_reload_operand predicate.
5222         * config/pa/predicates.md (reg_before_reload_operand): Tighten
5223         predicate to reject register index and LO_SUM DLT memory forms
5224         after reload.
5226 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
5228         * doc/invoke.texi (Option Summary): Fix spelling of
5229         -fdevirtualize-at-ltrans.
5230         ([-fdevirtualize]): Fix markup.
5231         ([-fdevirtualize-speculatively]): Fix typo.
5232         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
5233         implementor-speaky.
5234         * common.opt (fdevirtualize-at-ltrans): Likewise.
5235         * ipa-devirt.c: Fix typos in comments throughout the file.
5236         (ipa_devirt): Fix typos in format strings for dump output.
5238 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
5240         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
5241         discussion of defaults, light copy-editing.
5243 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5245         * tsan.c (instrument_expr): corrected previous checkin.
5247 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5249         Instrument bit field and unaligned accesses for TSAN.
5250         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
5251         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
5252         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
5253         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
5254         unaligned memory regions.
5256 2015-01-01  Anthony Green  <green@moxielogic.com>
5258         * config/moxie/predicates.md (moxie_general_movsrc_operand):
5259         Restrict move source register offsets to 16 bits.
5261 Copyright (C) 2015 Free Software Foundation, Inc.
5263 Copying and distribution of this file, with or without modification,
5264 are permitted in any medium without royalty provided the copyright
5265 notice and this notice are preserved.