PR bootstrap/63703
[official-gcc.git] / gcc / ChangeLog
blob01cf1aec5cc6f1d09acf5fddd3ba172c5b01b748
1 2014-11-25  Rohit  <rohitarulraj@freescale.com>
3         PR bootstrap/63703
4         * config/rs6000/darwin.h (REGISTER_NAMES): Update based on 32 newly
5         added GCC hard register numbers for SPE high registers.
7 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
9         * bt-load.c (migrate_btr_defs): Get the key of a heap entry
10         before removing it, not after.
12 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
14         * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Remove
15         PATTERN call.
17 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
19         * config/rs6000/sysv4.h (ASM_OUTPUT_REG_POP): Use addi instead
20         of addic.
22 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
24         * config/rs6000/rs6000.md (iorxor, IORXOR): Delete code_attrs.
25         (rest of file): Replace those with code resp. CODE.
27 2014-11-25  Tom de Vries  <tom@codesourcery.com>
29         * tree-cfg.c (verify_sese): New function.
30         (move_sese_region_to_fn): Call verify_sese.
31         * tree-cfg.h (verify_sese): Declare.
33 2014-11-25  Richard Biener  <rguenther@suse.de>
35         PR lto/64065
36         * lto-streamer-out.c (output_struct_function_base): Stream
37         last_clique field.
38         * lto-streamer-in.c (input_struct_function_base): Likewise.
40 2014-11-25  Martin Liska  <mliska@suse.cz>
42         PR bootstrap/64050
43         PR ipa/64060
44         * sreal.c (sreal::operator+): Addition fixed.
45         (sreal::signedless_plus): Negative numbers are
46         handled correctly.
47         (sreal::operator-): Subtraction is fixed.
48         (sreal::signedless_minus): Negative numbers are
49         handled correctly.
50         * sreal.h (sreal::operator<): Equal negative numbers
51         are compared correctly.
52         (sreal::shift): New checking asserts are introduced.
53         Operation is fixed.
55 2014-11-25  Richard Biener  <rguenther@suse.de>
57         PR tree-optimization/61927
58         * tree-vect-loop.c (vect_analyze_loop_2): Revert ordering
59         of group and pattern analysis to the one in GCC 4.8.
61 2014-11-25  Ilya Tocar  <ilya.tocar@intel.com>
62             Jakub Jelinek  <jakub@redhat.com>
64         * gcc.c (handle_foffload_option): Remove unnecessary calls to strchr,
65         strlen, strncpy.
66         * lto-wrapper.c (append_offload_options): Likewise.
68 2014-11-25  Eric Botcazou  <ebotcazou@adacore.com>
70         * config/rs6000/rs6000.c (rs6000_call_aix): For the AIX ABI, do not
71         load the static chain if the call was originally direct.
73 2014-11-25  Jan Hubicka  <hubicka@ucw.cz>
75         PR ipa/64059
76         * ipa-prop.c (ipa_analyze_call_uses): Don't call get_dynamic_type when
77         devirtualization is disabled.
79 2014-11-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
81         PR target/63965
82         * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Do not set
83         Altivec & -16 mask if the type is not valid for Altivec registers.
84         (rs6000_secondary_reload_memory): Add support for ((reg + const) +
85         reg) that occurs during push_reload processing.
87         * config/rs6000/altivec.md (altivec_mov<mode>): Add instruction
88         alternative for moving constant vectors which are easy altivec
89         constants to GPRs.  Set the length attribute each of the
90         alternatives.
92         * config/rs6000/rs6000-cpus.def: Undo November 21st changes, a
93         work in progress patch was committed instead of the fixes for
94         63965.
95         * config/rs6000/rs6000.c: Likewise.
97 2014-11-22  Jan Hubicka  <hubicka@ucw.cz>
99         PR ipa/63671
100         * ipa-inline-transform.c (can_remove_node_now_p_1): Handle alises
101         and -fno-devirtualize more carefully.
102         (can_remove_node_now_p): Update.
104 2014-11-24  Andrew Pinski  <apinski@cavium.com>
106         PR rtl-opt/63972
107         * shrink-wrap.c (move_insn_for_shrink_wrap): Allow LO_SUM also.
109 2014-11-24  Alan Lawrence  <alan.lawrence@arm.com>
111         * config/aarch64/aarch64-simd.md (vec_shr<mode>): New.
113 2014-11-24  Alan Lawrence  <alan.lawrence@arm.com>
115         * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args):
116         Refactor by combining switch statements and make arrays into scalars.
118 2014-11-24  David Edelsohn  <dje.gcc@gmail.com>
120         PR c++/58561
121         * dbxout.c: Include stringpool.h
122         (dbxout_type) [default]: Ignore auto type.
124 2014-11-24  Richard Biener  <rguenther@suse.de>
126         PR tree-optimization/63679
127         * tree-ssa-sccvn.c: Include ipa-ref.h, plugin-api.h and cgraph.h.
128         (copy_reference_ops_from_ref): Fix non-constant ADDR_EXPR case
129         to properly leave off at -1.
130         (fully_constant_vn_reference_p): Generalize folding from
131         constant initializers.
132         (vn_reference_lookup_3): When looking through aggregate copies
133         handle offsetted reads and try simplifying the result to
134         a constant.
135         * gimple-fold.h (fold_ctor_reference): Export.
136         * gimple-fold.c (fold_ctor_reference): Likewise.
138 2014-11-24  Petr Murzin  <petr.murzin@intel.com>
140         * simplify-rtx.c (simplify_ternary_operation): Simplify
141         vec_merge (vec_duplicate (vec_select)).
143 2014-11-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
145         * config/aarch64/aarch64.c (AARCH64_FUSE_ADRP_LDR): Define.
146         (cortexa53_tunings): Specify AARCH64_FUSE_ADRP_LDR in fuseable_ops.
147         (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_LDR.
149 2014-11-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
151         * config/aarch64/aarch64.c (AARCH64_FUSE_MOVK_MOVK): Define.
152         (cortexa53_tunings): Specify AARCH64_FUSE_MOVK_MOVK in fuseable_ops.
153         (cortexa57_tunings): Likewise.
154         (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_MOVK_MOVK.
156 2014-11-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
158         * sched-deps.c (sched_macro_fuse_insns): Do not check modified_in_p
159         in the not conditional jump case.
160         * doc/tm.texi (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
161         * target.def (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
163 2014-11-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
165         * config/aarch64/aarch64.c: Include tm-constrs.h
166         (AARCH64_FUSE_ADRP_ADD): Define.
167         (cortexa57_tunings): Add AARCH64_FUSE_ADRP_ADD to fuseable_ops.
168         (cortexa53_tunings): Likewise.
169         (aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_ADD.
171 2014-11-24  Martin Liska  <mliska@suse.cz>
173         * ipa-inline.c (edge_badness): long is replaced by sreal
174         as fibonacci_heap template type.
175         (update_edge_key): Likewise.
176         (inline_small_functions): Likewise.
178 2014-11-24  Martin Liska  <mliska@suse.cz>
180         * predict.c (propagate_freq): More elegant sreal API is used.
181         (estimate_bb_frequencies): Precomputed constants replaced by integer
182         constants.
183         * sreal.c (sreal::normalize): New function.
184         (sreal::to_int): Likewise.
185         (sreal::operator+): Likewise.
186         (sreal::operator-): Likewise.
187         (sreal::signedless_plus): Likewise.
188         (sreal::signedless_minus): Likewise.
189         (sreal::operator/): Negative number support is added.
190         * sreal.h: Definition of new functions added.
191         (inline sreal operator<<): New function.
192         (inline sreal operator>>): Likewise.
194 2014-11-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
196         * config/aarch64/aarch64-protos.h (struct tune_params): Add
197         fuseable_ops field.
198         * config/aarch64/aarch64.c (generic_tunings): Specify fuseable_ops.
199         (cortexa53_tunings): Likewise.
200         (cortexa57_tunings): Likewise.
201         (thunderx_tunings): Likewise.
202         (aarch64_macro_fusion_p): New function.
203         (aarch_macro_fusion_pair_p): Likewise.
204         (TARGET_SCHED_MACRO_FUSION_P): Define.
205         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
206         (AARCH64_FUSE_MOV_MOVK): Likewise.
207         (AARCH64_FUSE_NOTHING): Likewise.
209 2014-11-24  Martin Liska  <mliska@suse.cz>
211         PR lto/63968
212         * bb-reorder.c (find_traces_1_round): decreate_key is replaced
213         with replace_key method.
214         * fibonacci_heap.h (fibonacci_heap::insert): New argument.
215         (fibonacci_heap::replace_key_data): Likewise.
216         (fibonacci_heap::replace_key): New method that can even increment key,
217         this operation costs O(log N).
218         (fibonacci_heap::extract_min): New argument.
219         (fibonacci_heap::delete_node): Likewise.
221 2014-11-24  Richard Biener  <rguenther@suse.de>
223         PR tree-optimization/55334
224         * function.h (struct function): Add last_clique member.
225         * tree-inline.c (remap_dependence_clique): New function.
226         (remap_gimple_op_r): Remap dependence cliques in MEM_REFs.
227         (copy_tree_body_r): Likewise.
228         (copy_cfg_body): Free dependence map.
229         (copy_gimple_seq_and_replace_locals): Likewise.
230         * tree-pretty-print.c (dump_generic_node): Dump
231         dependence info.
232         * tree-ssa-alias.c (refs_may_alias_p_1): Use dependence info
233         to answer alias query.
234         * tree-ssa-structalias.c: Include tree-phinodes.h, ssa-iterators.h,
235         tree-pretty-print.h and gimple-walk.h.
236         (struct variable_info): Add is_restrict_var flag and ruid
237         member.
238         (new_var_info): Initialize is_restrict_var.
239         (make_constraint_from_restrict): Likewise.
240         (create_variable_info_for): Exclude restricts from global vars
241         from new handling.
242         (intra_create_variable_infos): But not those from parameters.
243         (visit_loadstore): New function.
244         (maybe_set_dependence_info): Likewise.
245         (compute_dependence_clique): Likewise.
246         (compute_may_aliases): Call compute_dependence_clique.
247         * tree-data-ref.c (dr_analyze_indices): Copy dependence info
248         to fake MEM_REF.
249         (dr_may_alias_p): Use recorded dependence info to answer
250         alias query.
251         * tree-core.h (struct tree_base): Add clique, base struct in
252         union.
253         * tree.h (MR_DEPENDENCE_CLIQUE): New macro.
254         (MR_DEPENDENCE_BASE): Likewise.
255         * tree-inline.h (dependence_hasher): New hash-map kind.
256         (struct copy_body_data): Add dependence_map pointer.
257         * gimple-fold.c (maybe_canonicalize_mem_ref_addr): Avoid
258         throwing away dependence info.
259         * tree-streamer-in.c (unpack_value_fields): Stream dependence info.
260         * tree-streamer-out.c (streamer_pack_tree_bitfields): Likewise.
262 2014-11-23  Oleg Endo  <olegendo@gcc.gnu.org>
264         PR target/53976
265         * config/sh/sh_optimize_sett_clrt.cc
266         (sh_optimize_sett_clrt::find_last_ccreg_values): Return bool instead
267         of void.  Abort at complex edges.
268         (sh_optimize_sett_clrt::execute): Do nothing if find_last_ccreg_values
269         returned false.
271 2014-11-22  John David Anglin  <danglin@gcc.gnu.org>
273         PR other/63694
274         * configure.ac: Check for strtol, strtoul, strtoll and strtoull
275         declarations.
276         * configure: Regenerated.
277         * config.in: Regenerated.
279 2014-11-22  Jan Hubicka  <hubicka@ucw.cz>
281         * ipa.c (symbol_table::remove_unreachable_nodes): Mark all inline
282         clones as having abstract origin used.
283         * ipa-inline-transform.c (can_remove_node_now_p_1): Drop abstract
284         origin check.
285         (clone_inlined_nodes): Copy abstract originflag.
286         * lto-cgraph.c (compute_ltrans_boundary): Use get_create to get
287         abstract origin node.
289 2014-11-22  Uros Bizjak  <ubizjak@gmail.com>
291         * params.def (PARAM_MAX_COMPLETELY_PEELED_INSNS): Increase to 200.
292         * config/i386/i386.c (ix86_option_override_internal): Do not increase
293         PARAM_MAX_COMPLETELY_PEELED_INSNS.
295 2014-11-22  Oleg Endo  <olegendo@gcc.gnu.org>
297         PR target/63783
298         PR target/51244
299         * config/sh/sh_treg_combine.cc (sh_treg_combine::make_not_reg_insn):
300         Do not emit bitwise not insn.  Emit logical not insn sequence instead.
301         Adjust related comments throughout the file.
303 2014-11-22  Oleg Endo  <olegendo@gcc.gnu.org>
305         PR target/63986
306         PR target/51244
307         * config/sh/sh.c (sh_is_logical_t_store_expr,
308         sh_try_omit_signzero_extend): Use rtx_insn* for insn argument.
309         (sh_split_movrt_negc_to_movt_xor): New function.
310         (sh_find_set_of_reg): Move to ...
311         * config/sh/sh-protos.h (sh_find_set_of_reg): ... here and convert
312         to template function.
313         (set_of_reg): Use rtx_insn* for insn member.
314         (sh_is_logical_t_store_expr, sh_try_omit_signzero_extend): Use
315         rtx_insn* for insn argument.
316         * config/sh/sh.md (movrt_negc, *movrt_negc): Split into movt-xor
317         sequence using new sh_split_movrt_negc_to_movt_xor function.
318         (movrt_xor): Allow also for SH2A.
319         (*movt_movrt): Delete insns and splits.
321 2014-11-22  Marc Glisse  <marc.glisse@inria.fr>
323         PR tree-optimization/60770
324         * tree-sra.c (clobber_subtree): New function.
325         (sra_modify_constructor_assign): Call it.
327 2014-11-21  Vladimir Makarov  <vmakarov@redhat.com>
329         PR target/63897
330         * lra-lives.c (mark_regno_live, mark_regno_dead): Remove last
331         argument.
332         (process_bb_lives): Rename dead_insn_p on remove_p
333         and global_live_info_p on dead_insn_p.  Calculate local live info
334         unconditionally.  Remove last argument in calls mark_regno_live and
335         mark_regno_dead.  Reorganize body of EXECUTE_IF_SET_IN_BITMAP.
336         (lra_create_live_ranges): Rename to lra_create_live_ranges_1.
337         Return bool.  Rename global_live_info_p on dead_insn_p.  Return
338         flag of live info change.
339         (lra_create_live_ranges): New.
341 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
343         PR target/63848
344         PR target/63975
345         * internal-fn.c (expand_arith_overflow_result_store,
346         expand_addsub_overflow, expand_neg_overflow, expand_mul_overflow): Use
347         do_compare_rtx_and_jump instead of emit_cmp_and_jump_insns everywhere,
348         adjust arguments to those functions.  Use unsignedp = true for
349         EQ, NE, GEU, LEU, LTU and GTU comparisons.
351         PR tree-optimization/64006
352         * tree-vrp.c (stmt_interesting_for_vrp): Return true
353         for {ADD,SUB,MUL}_OVERFLOW internal calls.
354         (vrp_visit_assignment_or_call): For {ADD,SUB,MUL}_OVERFLOW
355         internal calls, check if any REALPART_EXPR/IMAGPART_EXPR
356         immediate uses would change their value ranges and return
357         SSA_PROP_INTERESTING if so, or SSA_PROP_NOT_INTERESTING
358         if there are some REALPART_EXPR/IMAGPART_EXPR immediate uses
359         interesting for vrp.
361 2014-11-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
363         PR target/63965
364         * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Do not set
365         Altivec & -16 mask if the type is not valid for Altivec registers.
366         (rs6000_secondary_reload_memory): Add support for ((reg + const) +
367         reg) that occurs during push_reload processing.
369         * config/rs6000/altivec.md (altivec_mov<mode>): Add instruction
370         alternative for moving constant vectors which are easy altivec
371         constants to GPRs.  Set the length attribute each of the
372         alternatives.
374 2014-11-21  Matthew Fortune  <matthew.fortune@imgtec.com>
376         * configure.ac: When checking for MIPS .module support ensure that
377         o32 FPXX is supported to avoid a second configure check.
378         * configure: Regenerate.
380 2014-11-21  Jiong Wang  <jiong.wang@arm.com>
382         * config/aarch64/iterators.md (VS): New mode iterator.
383         (vsi2qi): New mode attribute.
384         (VSI2QI): Likewise.
385         * config/aarch64/aarch64-simd-builtins.def: New entry for ctz.
386         * config/aarch64/aarch64-simd.md (ctz<mode>2): New pattern for ctz.
387         * config/aarch64/aarch64-builtins.c
388         (aarch64_builtin_vectorized_function): Support BUILT_IN_CTZ.
390 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
392         PR bootstrap/63784
393         * configure: Regenerated.
395 2014-11-21  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
397         * config/aarch64/arm_neon.h (vsqrt_f64): New intrinsic.
399 2014-11-21  Ilya Tocar  <ilya.tocar@intel.com>
401         * common/config/i386/i386-common.c (OPTION_MASK_ISA_PCOMMIT_UNSET,
402         OPTION_MASK_ISA_PCOMMIT_SET): New.
403         (ix86_handle_option): Handle OPT_mpcommit.
404         * config.gcc: Add pcommitintrin.h
405         * config/i386/pcommitintrin.h: New file.
406         * config/i386/cpuid.h (bit_PCOMMIT): Define.
407         * config/i386/driver-i386.c (host_detect_local_cpu): Detect pcommit.
408         * config/i386/i386-c.c (ix86_target_macros_internal): Define
409         __PCOMMIT__.
410         * config/i386/i386.c (ix86_target_string): Add -mpcommit.
411         (PTA_PCOMMIT): Define.
412         (ix86_option_override_internal): Handle new option.
413         (ix86_valid_target_attribute_inner_p): Add pcommit.
414         (ix86_builtins): Add IX86_BUILTIN_PCOMMIT.
415         (bdesc_special_args): Add __builtin_ia32_pcommit.
416         * config/i386/i386.h (TARGET_PCOMMIT, TARGET_PCOMMIT_P): Define.
417         * config/i386/i386.md (unspecv): Add UNSPECV_PCOMMIT.
418         (pcommit): New instruction.
419         * config/i386/i386.opt: Add mpcommit.
420         * config/i386/x86intrin.h: Include pcommitintrin.h.
422 2014-11-20  Mark Wielaard  <mjw@redhat.com>
424         PR debug/38757
425         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use lang_GNU_C.
426         * config/darwin.c (darwin_file_end): Use lang_GNU_CXX.
427         (darwin_override_options): Likewise.
428         * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p):
429         Likewise.
430         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
431         Likewise.
432         * dbxout.c (get_lang_number): Likewise.
433         (dbxout_type): Likewise.
434         (dbxout_symbol_location): Likewise.
435         * dwarf2out.c (add_prototyped_attribute): Add DW_AT_prototype
436         also for DW_LANG_{C,C99,ObjC}.
437         (highest_c_language): New function.
438         (gen_compile_unit_die): Call highest_c_language to merge LTO
439         TRANSLATION_UNIT_LANGUAGE. Use strncmp language_string to
440         determine if DW_LANG_C99 or DW_LANG_C89 should be returned.
441         * fold-const.c (fold_cond_expr_with_comparison): Use lang_GNU_CXX.
442         * langhooks.h (struct lang_hooks): Add version comment to name.
443         (lang_GNU_C): New function declaration.
444         (lang_GNU_CXX): Likewise.
445         * langhooks.c (lang_GNU_C): New function.
446         (lang_GNU_CXX): Likewise.
447         * vmsdbgout.c (vmsdbgout_init): Use lang_GNU_C and lang_GNU_CXX.
449 2014-11-21  Ilya Tocar  <ilya.tocar@intel.com>
451         * common/config/i386/i386-common.c (OPTION_MASK_ISA_CLWB_UNSET,
452         OPTION_MASK_ISA_CLWB_SET): New.
453         (ix86_handle_option): Handle OPT_mclwb.
454         * config.gcc: Add clwbintrin.h.
455         * config/i386/clwbintrin.h: New file.
456         * config/i386/cpuid.h (bit_CLWB): Define.
457         * config/i386/driver-i386.c (host_detect_local_cpu): Detect clwb.
458         * config/i386/i386-c.c (ix86_target_macros_internal): Define
459         __CLWB__.
460         * config/i386/i386.c (ix86_target_string): Add -mclwb.
461         (PTA_CLWB): Define.
462         (ix86_option_override_internal): Handle new option.
463         (ix86_valid_target_attribute_inner_p): Add clwb.
464         (ix86_builtins): Add IX86_BUILTIN_CLWB.
465         (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clwb.
466         (ix86_expand_builtin): Handle IX86_BUILTIN_CLWB.
467         * config/i386/i386.h (TARGET_CLWB, TARGET_CLWB_P): Define.
468         * config/i386/i386.md (unspecv): Add UNSPECV_CLWB.
469         (clwb): New instruction.
470         * config/i386/i386.opt: Add mclwb.
471         * config/i386/x86intrin.h: Include clwbintrin.h.
473 2014-11-21  Ilya Tocar  <ilya.tocar@intel.com>
475         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET
476         OPTION_MASK_ISA_AVX512VBMI_UNSET): New.
477         (ix86_handle_option): Handle OPT_mavx512vbmi.
478         * config.gcc: Add avx512vbmiintrin.h, avx512vbmivlintrin.h.
479         * config/i386/avx512vbmiintrin.h: New file.
480         * config/i386/avx512vbmivlintrin.h: Ditto.
481         * config/i386/cpuid.h (bit_AVX512VBMI): New.
482         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vbmi.
483         * config/i386/i386-c.c (ix86_target_macros_internal): Define
484         __AVX512VBMI__.
485         * config/i386/i386.c (ix86_target_string): Add -mavx512vbmi.
486         (PTA_AVX512VBMI): Define.
487         (ix86_option_override_internal): Handle new options.
488         (ix86_valid_target_attribute_inner_p): Add avx512vbmi,
489         (ix86_builtins): Add IX86_BUILTIN_VPMULTISHIFTQB512,
490         IX86_BUILTIN_VPMULTISHIFTQB256, IX86_BUILTIN_VPMULTISHIFTQB128,
491         IX86_BUILTIN_VPERMVARQI512_MASK, IX86_BUILTIN_VPERMT2VARQI512,
492         IX86_BUILTIN_VPERMT2VARQI512_MASKZ, IX86_BUILTIN_VPERMI2VARQI512,
493         IX86_BUILTIN_VPERMVARQI256_MASK, IX86_BUILTIN_VPERMVARQI128_MASK,
494         IX86_BUILTIN_VPERMT2VARQI256, IX86_BUILTIN_VPERMT2VARQI256_MASKZ,
495         IX86_BUILTIN_VPERMT2VARQI128, IX86_BUILTIN_VPERMI2VARQI256,
496         IX86_BUILTIN_VPERMI2VARQI128.
497         (bdesc_special_args): Add __builtin_ia32_vpmultishiftqb512_mask,
498         __builtin_ia32_vpmultishiftqb256_mask,
499         __builtin_ia32_vpmultishiftqb128_mask,
500         __builtin_ia32_permvarqi512_mask, __builtin_ia32_vpermt2varqi512_mask,
501         __builtin_ia32_vpermt2varqi512_maskz,
502         __builtin_ia32_vpermi2varqi512_mask, __builtin_ia32_permvarqi256_mask,
503         __builtin_ia32_permvarqi128_mask, __builtin_ia32_vpermt2varqi256_mask,
504         __builtin_ia32_vpermt2varqi256_maskz,
505         __builtin_ia32_vpermt2varqi128_mask,
506         __builtin_ia32_vpermt2varqi128_maskz,
507         __builtin_ia32_vpermi2varqi256_mask,
508         __builtin_ia32_vpermi2varqi128_mask.
509         (ix86_hard_regno_mode_ok): Allow big masks for AVX512VBMI.
510         * config/i386/i386.h (TARGET_AVX512VBMI, TARGET_AVX512VBMI_P): Define.
511         * config/i386/i386.opt: Add mavx512vbmi.
512         * config/i386/immintrin.h: Include avx512vbmiintrin.h,
513         avx512vbmivlintrin.h.
514         * config/i386/sse.md (unspec): Add UNSPEC_VPMULTISHIFT.
515         (VI1_AVX512VL): New iterator.
516         (<avx512>_permvar<mode><mask_name>): Use it.
517         (<avx512>_vpermi2var<mode>3_maskz): Ditto.
518         (<avx512>_vpermi2var<mode>3<sd_maskz_name>): Ditto.
519         (<avx512>_vpermi2var<mode>3_mask): Ditto.
520         (<avx512>_vpermt2var<mode>3_maskz): Ditto.
521         (<avx512>_vpermt2var<mode>3<sd_maskz_name>): Ditto.
522         (<avx512>_vpermt2var<mode>3_mask): Ditto.
523         (vpmultishiftqb<mode><mask_name>): Ditto.
525 2014-11-21  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
527         PR rtl-optimization/63952
528         * optabs.c (prepare_cmp_insn): Do not call can_compare_p for CCmode.
529         * config/s390/s390.md ("cbranchcc4"): Accept any s390_comparison.
530         Remove incorrect TARGET_HARD_FLOAT check and no-op expander code.
532 2014-11-21  Ilya Tocar  <ilya.tocar@intel.com>
534         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512IFMA_SET,
535         OPTION_MASK_ISA_AVX512IFMA_UNSET): New.
536         (ix86_handle_option): Handle OPT_mavx512ifma.
537         * config.gcc: Add avx512ifmaintrin.h, avx512ifmavlintrin.h.
538         * config/i386/avx512ifmaintrin.h: New file.
539         * config/i386/avx512ifmaivlntrin.h: Ditto.
540         * config/i386/cpuid.h (bit_AVX512IFMA): New.
541         * config/i386/driver-i386.c (host_detect_local_cpu): Detect
542         avx512ifma.
543         * config/i386/i386-c.c (ix86_target_macros_internal): Define
544         __AVX512IFMA__.
545         * config/i386/i386.c (ix86_target_string): Add -mavx512ifma.
546         (PTA_AVX512IFMA): Define.
547         (ix86_option_override_internal): Handle new options.
548         (ix86_valid_target_attribute_inner_p): Add avx512ifma.
549         (ix86_builtins): Add IX86_BUILTIN_VPMADD52LUQ512,
550         IX86_BUILTIN_VPMADD52HUQ512, IX86_BUILTIN_VPMADD52LUQ256,
551         IX86_BUILTIN_VPMADD52HUQ256, IX86_BUILTIN_VPMADD52LUQ128,
552         IX86_BUILTIN_VPMADD52HUQ128, IX86_BUILTIN_VPMADD52LUQ512_MASKZ,
553         IX86_BUILTIN_VPMADD52HUQ512_MASKZ, IX86_BUILTIN_VPMADD52LUQ256_MASKZ,
554         IX86_BUILTIN_VPMADD52HUQ256_MASKZ, IX86_BUILTIN_VPMADD52LUQ128_MASKZ,
555         IX86_BUILTIN_VPMADD52HUQ128_MASKZ.
556         (bdesc_special_args): Add __builtin_ia32_vpmadd52luq512_mask,
557         __builtin_ia32_vpmadd52luq512_maskz,
558         __builtin_ia32_vpmadd52huq512_mask,
559         __builtin_ia32_vpmadd52huq512_maskx,
560         __builtin_ia32_vpmadd52luq256_mask,
561         __builtin_ia32_vpmadd52luq256_maskz,
562         __builtin_ia32_vpmadd52huq256_mask,
563         __builtin_ia32_vpmadd52huq256_maskz,
564         __builtin_ia32_vpmadd52luq128_mask,
565         __builtin_ia32_vpmadd52luq128_maskz,
566         __builtin_ia32_vpmadd52huq128_mask,
567         __builtin_ia32_vpmadd52huq128_maskz,
568         * config/i386/i386.h (TARGET_AVX512IFMA, TARGET_AVX512IFMA_P): Define.
569         * config/i386/i386.opt: Add mavx512ifma.
570         * config/i386/immintrin.h: Include avx512ifmaintrin.h,
571         avx512ifmavlintrin.h.
572         * config/i386/sse.md (unspec): Add UNSPEC_VPMADD52LUQ,
573         UNSPEC_VPMADD52HUQ.
574         (VPMADD52): New iterator.
575         (vpmadd52type): New attribute.
576         (vpamdd52huq<mode>_maskz): New.
577         (vpamdd52luq<mode>_maskz): Ditto.
578         (vpamdd52<vpmadd52type><mode><sd_maskz_name>): Ditto.
579         (vpamdd52<vpmadd52type><mode>_mask): Ditto.
581 2014-11-21  Alan Lawrence  <alan.lawrence@arm.com>
583         Revert:
584         2014-09-22  Alan Lawrence  <alan.lawrence@arm.com>
585         * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
587 2014-11-21  Andrew Bennett  <andrew.bennett@imgtec.com>
589         * config/mips/mips.c (mips_process_sync_loop): Place a 
590         nop in the delay slot of the branch likely instruction.
591         (mips_output_sync_loop): Ensure mips_branch_likely is 
592         set before calling mips_output_sync_loop.
593         (mips_sync_loop_insns): Likewise.
595 2014-11-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
597         PR/target 63673
598         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Allow
599         the base pointer of vec_vsx_ld and vec_vsx_st to take a pointer to
600         double.
602 2014-11-21  Georg-Johann Lay  <avr@gjlay.de>
604         Forward-port from 2014-10-30 4_9-branch r216934
606         PR target/63633
607         * config/avr/avr-protos.h (regmask): New inline function.
608         (avr_fix_inputs, avr_emit3_fix_outputs): New protos.
609         * config/avr/avr.c (avr_fix_operands, avr_move_fixed_operands)
610         (avr_fix_inputs, avr_emit3_fix_outputs): New functions.
611         * config/avr/avr-fixed.md (mulqq3_nomul, muluqq3_nomul)
612         (mul<ALL2QA>3, mul<ALL4A>3, <usdiv><ALL1Q>3, <usdiv><ALL2QA>3)
613         (<usdiv><ALL4A>3, round<ALL124QA>3): Fix input operands.
614         * config/avr/avr-dimode.md (add<ALL8>3, sub<ALL8>3)
615         (<ss_addsub><ALL8S>3, <us_addsub><ALL8U>3, cbranch<ALL8>4)
616         (<di_shifts><ALL8>3, <any_extend>mulsidi3): Fix input operands.
617         * config/avr/avr.md (mulqi3_call, mulhi3_call, mulsi3, mulpsi3)
618         (mulu<QIHI>si3, muls<QIHI>si3, mulohisi3, <any_extend>mulhisi3)
619         (usmulhisi3, <any_extend>mulhi3_highpart, mulsqipsi3)
620         (fmul, fmuls, fmulsu): Fix operands.  Turn insn into expander as
621         needed.
623 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
625         PR target/61137
626         * config/ia64/ia64.c (ia64_attribute_takes_identifier_p): New function.
627         (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Redefine to it.
629 2014-11-21  James Greenhalgh  <james.greenhalgh@arm.com>
631         * config/aarch64/aarch64-simd.md
632         (aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>): Add a tab between
633         output mnemonic and operands.
634         (aarch64_simd_vec_unpack<su>_lo_<mode>): Likewise.
635         (aarch64_simd_vec_unpack<su>_hi_<mode>): Likewise.
637 2014-11-21  Evgeny Stupachenko  <evstupac@gmail.com>
639         * config/i386/i386.c (ix86_option_override_internal): Increase
640         PARAM_MAX_COMPLETELY_PEELED_INSNS.
642 2014-11-21  Evgeny Stupachenko  <evstupac@gmail.com>
644         PR target/60451
645         * config/i386/i386.c (expand_vec_perm_even_odd_pack): New.
646         (expand_vec_perm_even_odd_1): Add new expand for V8HI mode,
647         replace for V16QI, V16HI and V32QI modes.
648         (ix86_expand_vec_perm_const_1): Add new expand.
650 2014-11-21  Nick Clifton  <nickc@redhat.com>
652         * config/rl78/rl78-real.md (movqi_from_es): New pattern.
653         * config/rl78/rl78.c (struct machine_function): Add uses_es field.
654         (rl78_expand_prologue): Save the ES register in interrupt handlers
655         that use it.
656         (rl78_expand_epilogue): Restore the ES register if necessary.
657         (rl78_start_function): Mention if the function uses the ES
658         register.
659         (rl78_lo16): Record the use of the ES register.
660         (transcode_memory_rtx): Likewise.
662 2014-11-21  Jakub Jelinek  <jakub@redhat.com>
664         PR tree-optimization/61773
665         * tree-ssa-strlen.c (get_string_length): Don't assert
666         stpcpy has been prototyped if si->stmt is BUILT_IN_MALLOC.
668         PR target/63910
669         * simplify-rtx.c (simplify_immed_subreg): Return NULL for integer
670         modes wider than MAX_BITSIZE_MODE_ANY_INT.  If not using
671         CONST_WIDE_INT, make sure r fits into CONST_DOUBLE.
673 2014-11-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
675         * config/rs6000/rs6000.c (includes_rldic_lshift_p): Use
676         HOST_WIDE_INT_M1U instead of ~0.
677         (includes_rldicr_lshift_p): Likewise.
679 2014-11-21  Chung-Ju Wu  <jasonwucj@gmail.com>
681         * config/nds32/nds32.c (nds32_legitimate_address_p): For LO_SUM,
682         we need to look into its operand to determine if it is a valid
683         address.
685 2014-11-21  Chung-Ju Wu  <jasonwucj@gmail.com>
687         * config/nds32/nds32.c (nds32_emit_stack_push_multiple): Add new
688         vaarg_p argument and create correct CFI info.
689         (nds32_expand_prologue): Pass true or false to
690         nds32_emit_stack_push_multiple function.
692 2014-11-21  Chung-Ju Wu  <jasonwucj@gmail.com>
694         * config/nds32/nds32.c (nds32_expand_prologue): Set fp_adjust_insn
695         as RTX_FRAME_RELATED_P rtx.
697 2014-11-21  Chung-Ju Wu  <jasonwucj@gmail.com>
699         * config/nds32/nds32.opt (march): Add help message.
701 2014-11-20  Patrick Palka  <ppalka@gcc.gnu.org>
703         * tree-vrp.c (test_for_singularity): New parameter
704         strict_overflow_p.  Set *strict_overflow_p to true if signed
705         overflow must be undefined for the return value to satisfy the
706         conditional.
707         (simplify_cond_using_ranges): Don't perform the simplification
708         if it violates overflow rules.
710 2014-11-20  Marek Polacek  <polacek@redhat.com>
712         * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Fix typo.
714 2014-11-20  Andrew Stubbs  <ams@codesourcery.com>
716         * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop
717         condition would be removed due to undefined behaviour.
719 2014-11-20  Andrew Pinski  <apinski@cavium.com>
721         PR ipa/63981
722         PR ipa/63982
723         * ipa-polymorphic-call.c (possible_placement_new):
724         Use POINTER_SIZE instead of GET_MODE_BITSIZE (Pmode).
725         (ipa_polymorphic_call_context::restrict_to_inner_class): Likewise.
726         (extr_type_from_vtbl_ptr_store): Likewise.
728 2014-11-20  Markus Trippelsdorf  <markus@trippelsdorf.de>
730         * config/rs6000/constraints.md: Avoid signed integer overflows.
731         * config/rs6000/predicates.md: Likewise.
732         * config/rs6000/rs6000.c (num_insns_constant_wide): Likewise.
733         (includes_rldic_lshift_p): Likewise.
734         (includes_rldicr_lshift_p): Likewise. 
735         * emit-rtl.c (const_wide_int_htab_hash): Likewise.
736         * loop-iv.c (determine_max_iter): Likewise.
737         (iv_number_of_iterations): Likewise.
738         * tree-ssa-loop-ivopts.c (get_computation_cost_at): Likewise.
739         * varasm.c (get_section_anchor): Likewise.
741 2014-11-20  Charles Baylis  <charles.baylis@linaro.org>
743         PR target/63870
744         * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Pass
745         expression to aarch64_simd_lane_bounds.
746         * config/aarch64/aarch64-protos.h (aarch64_simd_lane_bounds): Update
747         prototype.
748         * config/aarch64/aarch64-simd.md: (aarch64_combinez<mode>): Update
749         call to aarch64_simd_lane_bounds.
750         (aarch64_get_lanedi): Likewise.
751         (aarch64_ld2_lane<mode>): Likewise.
752         (aarch64_ld3_lane<mode>): Likewise.
753         (aarch64_ld4_lane<mode>): Likewise.
754         (aarch64_im_lane_boundsi): Likewise.
755         * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Add exp
756         parameter. Report calling function in error message if exp is non-NULL.
758 2014-11-20  Segher Boessenkool  <segher@kernel.crashing.org>
760         PR target/60111
761         * config/sh/sh.c: Use signed char for signed field.
763 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
765         * cfgexpand.c, gimple-ssa.h, trans-mem.c: Replace htab with
766         hash_table.
768 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
770         * ipa-utils.c, lto-section-in.c, lto-streamer.h,
771         tree-scalar-evolution.c: Replace htab with hash_table.
773 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
775         * lto-section-in.c (lto_delete_in_decl_state): Adjust.
776         (lto_free_function_in_decl_state): Likewise.
777         * lto-streamer-out.c (copy_function_or_variable): Likewise.
778         * lto-streamer.h (lto_file_decl_data_get_ ## name): Likewise.
779         (lto_file_decl_data_num_ ## name ## s): Likewise.
780         (struct lto_tree_ref_table): Remove.
781         (struct lto_in_decl_state): Replace lto_tree_ref_table with vec<tree>.
783 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
785         * hash-map.h (hash_map::iterator): New class.
786         (hash_map::begin): New method.
787         (hash_map::end): Likewise.
788         * alias.c, config/alpha/alpha.c, dwarf2asm.c, omp-low.c, tree.h:
789         replace splay_tree with hash_map.
791 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
793         * hash-table.h (hash_table::hash_table): Call alloc_entries.
794         (hash_table::alloc_entries): new method.
795         (hash_table::expand): Call alloc_entries.
796         (hash_table::empty): Likewise.
798 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
800         * config/i386/i386.c, function.c, trans-mem.c, tree-core.h,
801         tree.c, tree.h, ubsan.c, varasm.c: Use hash_table instead of htab.
803 2014-11-20  Trevor Saunders  <tsaunders@mozilla.com>
805         * doc/gty.texi: Document the new cache gty attribute.
806         * gengtype.c (finish_cache_funcs): New function.
807         (write_roots): Call gt_clear_cache on global variables with the cache
808         gty attribute.
809         * ggc-common.c (ggc_mark_roots): Call gt_clear_caches.
810         * ggc.h (gt_clear_caches): New declaration.
811         * hash-table.h (struct ggc_cache_hasher): New hasher for caches in gc
812         memory.
813         (gt_cleare_cache): New function.
814         * emit-rtl.c, rtl.h, tree.c: Use hash_table instead of htab.
816 2014-11-20  Segher Boessenkool  <segher@kernel.crashing.org>
818         * combine.c (try_combine): Prefer to delete dead SETs inside
819         a PARALLEL over keeping them.
821 2014-11-20  Segher Boessenkool  <segher@kernel.crashing.org>
823         * combine.c (combine_validate_cost): Always print the insn costs
824         to the dump file.
826 2014-11-20  Richard Henderson <rth@redhat.com>
828         PR target/63977
829         * config/i386/i386.c (ix86_static_chain): Reinstate the check
830         for DECL_STATIC_CHAIN.
832 2014-11-20  Tejas Belagod  <tejas.belagod@arm.com>
834         * config/aarch64/aarch64-protos.h (aarch64_classify_symbol):
835         Fixup prototype.
836         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate,
837         aarch64_cannot_force_const_mem, aarch64_classify_address,
838         aarch64_classify_symbolic_expression): Fixup call to
839         aarch64_classify_symbol.
840         (aarch64_classify_symbol): Add range-checking for
841         symbol + offset addressing for tiny and small models.
843 2014-11-20  Richard Biener  <rguenther@suse.de>
845         PR middle-end/63962
846         * match.pd ((p +p off1) +p off2 -> (p +p (off1 + off2))):
847         Guard with single-use operand 0.
849 2014-11-20   Richard Biener  <rguenther@suse.de>
851         PR tree-optimization/63677
852         * tree-ssa-dom.c: Include gimplify.h for unshare_expr.
853         (avail_exprs_stack): Make a vector of pairs.
854         (struct hash_expr_elt): Replace stmt member with vop member.
855         (expr_elt_hasher::equal): Simplify.
856         (initialize_hash_element): Adjust.
857         (initialize_hash_element_from_expr): Likewise.
858         (dom_opt_dom_walker::thread_across_edge): Likewise.
859         (record_cond): Likewise.
860         (dom_opt_dom_walker::before_dom_children): Likewise.
861         (print_expr_hash_elt): Likewise.
862         (remove_local_expressions_from_table): Restore previous state
863         if requested.
864         (record_equivalences_from_stmt): Record &x + CST as constant
865         &MEM[&x, CST] for further propagation.
866         (vuse_eq): New function.
867         (lookup_avail_expr): For loads use the alias oracle to see
868         whether a candidate from the expr hash is usable.
869         (avail_expr_hash): Do not hash VUSEs.
871 2014-11-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
873         PR target/59593
874         * config/arm/arm.md (*movhi_insn): Use right formatting
875         for immediate.
877 2014-11-20  Igor Zamyatin  <igor.zamyatin@intel.com>
879         PR sanitizer/63845
880         * function.c (assign_parms): Move init of pic_offset_table_rtx
881         from here to...
882         * cfgexpand.c (expand_used_vars): ...here.
884 2014-11-19  Jan Hubicka  <hubicka@ucw.cz>
886         * tree.c (free_lang_data_in_type): If BINFO has no important
887         information in it, set it to NULL.
888         (get_binfo_at_offset): Do not walk fields, only bases.
889         * ipa-utils.h (polymorphic_type_binfo_p): Be ready for BINFO_TYPE
890         to be NULL.
891         * ipa-polymorphic-call.c (record_known_type): Likewise.
893 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
895         PR jit/63854
896         * ipa-icf.c (sem_item_optimizer::~sem_item_optimizer): Free each
897         congruence_class_group *.
899 2014-11-19  Uros Bizjak  <ubizjak@gmail.com>
901         PR target/63947
902         * config/i386/i386.c (put_condition_code) <case LTU, case GEU>:
903         Output "b" and "nb" suffix for FP mode.
905 2014-11-19  Jan Hubicka  <hubicka@ucw.cz>
907         PR bootstrap/63963
908         * tree-streamer-out.c (write_ts_function_decl_tree_pointers): Stream out
909         DECL_FUNCTION_SPECIFIC_TARGET
910         * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): Stream in
911         DECL_FUNCTION_SPECIFIC_TARGET.
913 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
915         PR jit/63854
916         * pass_manager.h (GCC_PASS_LISTS): Add all_late_ipa_passes.
918 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
920         PR jit/63854
921         * lra.c (lra): After creating live ranges in preparation for call
922         to lra_inheritance, set live_p to true.
924 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
926         PR jit/63854
927         * tree-ssa-threadedge.c (thread_across_edge): Don't just release
928         "path", delete it.
929         * tree-ssa-threadupdate.c (delete_jump_thread_path): Likewise.
931 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
933         PR jit/63854
934         * tree-ssa-pre.c (do_regular_insertion): Convert "avail" from
935         vec<> to auto_vec<> to fix a leak.
937 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
939         PR jit/63854
940         * dwarf2out.c (dwarf2out_c_finalize): Free producer_string.
942 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
944         PR jit/63854
945         * ira-costs.c (ira_costs_c_finalize): New function.
946         * ira.h (ira_costs_c_finalize): New prototype.
947         * toplev.c (toplev::finalize): Call ira_costs_c_finalize.
949 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
951         PR jit/63854
952         * ipa-reference.c (ipa_reference_c_finalize): Release
953         optimization_summary_obstack.
955 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
957         PR jit/63854
958         * toplev.c (toplev::finalize): Free opts_obstack.
960 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
962         PR jit/63854
963         * toplev.c (toplev::finalize): Clean up save_decoded_options.
965 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
967         PR jit/63854
968         * bb-reorder.c
969         (find_rarely_executed_basic_blocks_and_crossing_edges): Convert
970         local bbs_in_hot_partition from vec<> to auto_vec<>.
972 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
974         PR jit/63854
975         * config/alpha/alpha.c (alpha_option_override): Remove static from
976         "handle_trap_shadows_info" and "align_insns_info".
977         * config/i386/i386.c (ix86_option_override): Likewise for
978         "insert_vzeroupper_info".
979         * config/rl78/rl78.c (rl78_asm_file_start): Likewise for
980         "rl78_devirt_info" and "rl78_move_elim_info".
981         * config/rs6000/rs6000.c (rs6000_option_override): Likewise for
982         "analyze_swaps_info".
983         * context.c (gcc::context::~context): New.
984         * context.h (gcc::context::~context): New.
985         * dumpfile.c (dump_files): Add "false" initializers for new field
986         "owns_strings".
987         (gcc::dump_manager::~dump_manager): New.
988         (gcc::dump_manager::dump_register): Add param "take_ownership".
989         * dumpfile.h (struct dump_file_info): Add field "owns_strings".
990         (gcc::dump_manager::~dump_manager): New.
991         (gcc::dump_manager::dump_register): Add param "take_ownership".
992         * pass_manager.h (gcc::pass_manager::operator delete): New.
993         (gcc::pass_manager::~pass_manager): New.
994         * passes.c (pass_manager::register_one_dump_file): Pass "true" to
995         new "owns_strings" argument to dump_register.
996         (pass_manager::operator delete): New.
997         (delete_pass_tree): New function.
998         (pass_manager::~pass_manager): New.
999         * statistics.c (statistics_early_init): Pass "false" to
1000         new "owns_strings" argument to dump_register.
1001         * toplev.c (toplev::finalize): Clean up the context and thus the
1002         things it owns.
1004 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
1006         PR jit/63854
1007         * reginfo.c (finish_subregs_of_mode): Replace obstack_finish with
1008         obstack_free when cleaning up valid_mode_changes_obstack.
1010 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
1012         PR jit/63854
1013         * opts.c (finalize_options_struct): New.
1014         * opts.h (finalize_options_struct): New.
1015         * toplev.c (toplev::finalize): Call finalize_options_struct
1016         on global_options and global_options_set.
1018 2014-11-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1019             Jakub Jelinek  <jakub@redhat.com>
1021         PR driver/36312
1022         PR driver/63837
1023         * gcc.c (process_command): Don't check for input/output
1024         filename equality if output is HOST_BIT_BUCKET.
1025         * toplev.c (init_asm_output): Likewise.
1027 2014-11-19  David Malcolm  <dmalcolm@redhat.com>
1029         Merger of git branch "gimple-classes-v2-option-3".
1031         * ChangeLog.gimple-classes: New.
1033         * coretypes.h (struct gcond): Add forward decl.
1034         (struct gdebug): Likewise.
1035         (struct ggoto): Likewise.
1036         (struct glabel): Likewise.
1037         (struct gswitch): Likewise.
1038         (struct gassign): Likewise.
1039         (struct gasm): Likewise.
1040         (struct gcall): Likewise.
1041         (struct gtransaction): Likewise.
1042         (struct greturn): Likewise.
1043         (struct gbind): Likewise.
1044         (struct gcatch): Likewise.
1045         (struct geh_filter): Likewise.
1046         (struct geh_mnt): Likewise.
1047         (struct geh_else): Likewise.
1048         (struct gresx): Likewise.
1049         (struct geh_dispatch): Likewise.
1050         (struct gphi): Likewise.
1051         (struct gtry): Likewise.
1052         (struct gomp_atomic_load): Likewise.
1053         (struct gomp_atomic_store): Likewise.
1054         (struct gomp_continue): Likewise.
1055         (struct gomp_critical): Likewise.
1056         (struct gomp_for): Likewise.
1057         (struct gomp_parallel): Likewise.
1058         (struct gomp_task): Likewise.
1059         (struct gomp_sections): Likewise.
1060         (struct gomp_single): Likewise.
1061         (struct gomp_target): Likewise.
1062         (struct gomp_teams): Likewise.
1064         * doc/gimple.texi (Class hierarchy of GIMPLE statements): Update
1065         for renaming of gimple subclasses.
1067         * gdbhooks.py: Update.
1069         * gimple-iterator.c (gsi_for_phi): New.
1070         (gsi_start_phis): Strengthen return type from gimple_stmt_iterator
1071         to gphi_iterator.
1072         * gimple-iterator.h (struct gphi_iterator): New subclass of
1073         gimple_stmt_iterator.
1074         (gsi_for_phi): New prototype.
1075         (gsi_start_phis): Strengthen return type from gimple_stmt_iterator
1076         to gphi_iterator.
1077         (gsi_next_nonvirtual_phi): Strengthen param from
1078         gimple_stmt_iterator * to gphi_iterator *, and local "phi" from
1079         gimple to gphi *.
1081         * gsstruct.def: Update for renamings of classes.
1083         * gimple.c (gimple_build_return): Strengthen return type from
1084         gimple to greturn *.
1085         (gimple_call_reset_alias_info): Strengthen param to gcall *.
1086         (gimple_build_call_1): Strengthen return type from gimple to
1087         gcall *.
1088         (gimple_build_call_vec): Likewise.
1089         (gimple_build_call): Likewise.
1090         (gimple_build_call_valist): Likewise.
1091         (gimple_build_call_internal_1): Likewise.
1092         (gimple_build_call_internal): Likewise.
1093         (gimple_build_call_internal_vec): Likewise.
1094         (gimple_build_call_from_tree): Likewise.
1095         (gimple_build_assign_stat): Strengthen return type from gimple to
1096         gassign *.
1097         (gimple_build_assign_with_ops): Likewise.
1098         (gimple_build_assign_with_ops): Likewise.
1099         (gimple_build_cond): Strengthen return type from gimple to
1100         gcond *.
1101         (gimple_build_cond_from_tree): Likewise.
1102         (gimple_cond_set_condition_from_tree): Require a gcond *.
1103         (gimple_build_label): Strengthen return type from gimple to
1104         glabel *.
1105         (gimple_build_goto): Strengthen return type from gimple to
1106         ggoto *.
1107         (gimple_build_bind): Strengthen return type from gimple to
1108         gbind *.
1109         (gimple_build_asm_1): Strengthen return type from gimple to
1110         gasm *.
1111         (gimple_build_asm_vec): Likewise.
1112         (gimple_build_catch): Strengthen return type from gimple to
1113         gcatch *.
1114         (gimple_build_eh_filter): Strengthen return type from gimple to
1115         geh_filter *.
1116         (gimple_build_eh_must_not_throw): Strengthen return type from
1117         gimple to geh_mnt *.
1118         (gimple_build_eh_else): Strengthen return type from gimple to
1119         geh_else *.
1120         (gimple_build_try): Update for renaming of gimple_statement_try to
1121         gtry.
1122         (gimple_build_resx): Strengthen return type from gimple to
1123         gresx *.
1124         (gimple_build_switch_nlabels): Strengthen return type from gimple
1125         to gswitch *.
1126         (gimple_build_switch): Likewise.
1127         (gimple_build_eh_dispatch): Strengthen return type from gimple to
1128         geh_dispatch *.
1129         (gimple_build_debug_bind_stat): Strengthen return type from gimple
1130         to gdebug *.
1131         (gimple_build_debug_source_bind_stat): Strengthen return type from
1132         gimple to gdebug *.
1133         (gimple_build_omp_critical): Strengthen return type from gimple to
1134         gomp_critical *.
1135         (gimple_build_omp_for): Strengthen return type from gimple to
1136         gomp_for *.
1137         (gimple_build_omp_parallel): Strengthen return type from gimple to
1138         gomp_parallel *.
1139         (gimple_build_omp_task): Strengthen return type from gimple to
1140         gomp_task *.
1141         (gimple_build_omp_continue): Strengthen return type from gimple to
1142         gomp_continue *.
1143         (gimple_build_omp_sections): Strengthen return type from gimple to
1144         gomp_sections *.
1145         (gimple_build_omp_single): Strengthen return type from gimple to
1146         gomp_single *.
1147         (gimple_build_omp_target): Strengthen return type from gimple to
1148         gomp_target *.
1149         (gimple_build_omp_teams): Strengthen return type from gimple to
1150         gomp_teams *.
1151         (gimple_build_omp_atomic_load): Strengthen return type from gimple
1152         to gomp_atomic_load *.
1153         (gimple_build_omp_atomic_store): Strengthen return type from gimple
1154         to gomp_atomic_store *.
1155         (gimple_build_transaction): Strengthen return type from gimple
1156         to gtransaction *.
1157         (empty_stmt_p): Replace check for GIMPLE_BIND with a dyn_cast.
1158         (gimple_call_fnspec): Require a const gcall *.
1159         (gimple_call_arg_flags): Likewise.
1160         (gimple_call_return_flags): Likewise.
1161         (gimple_set_bb): Add a checked cast.
1162         (gimple_copy): Within the cases, add locals of the appropriate
1163         subclass and use in place of "stmt" and "copy" for typesafety.
1164         (gimple_has_side_effects): Add a checked cast.
1165         (gimple_could_trap_p_1): Likewise.
1166         (gimple_call_copy_skip_args): Require a gcall *, and return one.
1167         (gimple_asm_clobbers_memory_p): Require a const gasm *.
1168         (infer_nonnull_range): Replace a check for GIMPLE_RETURN with a
1169         dyn_cast, introducing local "return_stmt" and using ti in place
1170         of "stmt".
1172         * gimple.h (gimple_vec): Eliminate this typedef.
1173         (struct gimple_statement_call): Rename to...
1174         (struct gcall): ...this.
1175         (struct gimple_statement_bind): Rename to...
1176         (struct gbind): ...this.
1177         (struct gimple_statement_catch): Rename to...
1178         (struct gcatch): ...this.
1179         (struct gimple_statement_eh_filter): Rename to...
1180         (struct geh_filter): ...this.
1181         (struct gimple_statement_eh_else): Rename to...
1182         (struct geh_else): ...this.
1183         (struct gimple_statement_eh_mnt): Rename to...
1184         (struct geh_mnt): ...this.
1185         (struct gimple_statement_phi): Rename to...
1186         (struct gphi): ...this.
1187         (struct gimple_statement_resx): Rename to...
1188         (struct gresx): ...this.
1189         (struct gimple_statement_eh_dispatch): Rename to...
1190         (struct geh_dispatch): ...this.
1191         (struct gimple_statement_try): Rename to...
1192         (struct gtry): ...this.
1193         (struct gimple_statement_asm): Rename to...
1194         (struct gasm): ...this.
1195         (struct gimple_statement_omp_critical): Rename to...
1196         (struct gomp_critical): ...this.
1197         (struct gimple_statement_omp_for): Rename to...
1198         (struct gomp_for): ...this.
1199         (struct gimple_statement_omp_parallel): Rename to...
1200         (struct gomp_parallel): ...this.
1201         (struct gimple_statement_omp_target): Rename to...
1202         (struct gomp_target): ...this.
1203         (struct gimple_statement_omp_task): Rename to...
1204         (struct gomp_task): ...this.
1205         (struct gimple_statement_omp_sections): Rename to...
1206         (struct gomp_sections): ...this.
1207         (struct gimple_statement_omp_continue): Rename to...
1208         (struct gomp_continue): ...this.
1209         (struct gimple_statement_omp_single): Rename to...
1210         (struct gomp_single): ...this.
1211         (struct gimple_statement_omp_teams): Rename to...
1212         (struct gomp_teams): ...this.
1213         (struct gimple_statement_omp_atomic_load): Rename to...
1214         (struct gomp_atomic_load): ...this.
1215         (struct gimple_statement_omp_atomic_store :): Rename to...
1216         (struct gomp_atomic_store :): ...this.
1217         (struct gimple_statement_transaction): Rename to...
1218         (struct gtransaction): ...this.
1219         (struct gcond): New subclass.
1220         (struct gdebug): New subclass.
1221         (struct ggoto): New subclass.
1222         (struct glabel): New subclass.
1223         (struct gswitch): New subclass.
1224         (struct gassign): New subclass.
1225         (struct greturn): New subclass.
1226         (is_a_helper <gimple_statement_asm *>::test): Rename to...
1227         (is_a_helper <gasm *>::test): ...this.
1228         (is_a_helper <gimple_statement_bind *>::test): Rename to...
1229         (is_a_helper <gbind *>::test): ...this.
1230         (is_a_helper <gassign *>::test): New.
1231         (is_a_helper <gimple_statement_call *>::test): Rename to...
1232         (is_a_helper <gcall *>::test): ...this.
1233         (is_a_helper <gimple_statement_catch *>::test): Rename to...
1234         (is_a_helper <gcatch *>::test): ...this.
1235         (is_a_helper <gimple_statement_resx *>::test): Rename to...
1236         (is_a_helper <gresx *>::test): ...this.
1237         (is_a_helper <gcond *>::test): New.
1238         (is_a_helper <gdebug *>::test): New.
1239         (is_a_helper <ggoto *>::test): New.
1240         (is_a_helper <glabel *>::test): New.
1241         (is_a_helper <gimple_statement_eh_dispatch *>::test): Rename to...
1242         (is_a_helper <geh_dispatch *>::test): ...this.
1243         (is_a_helper <gimple_statement_eh_else *>::test): Rename to...
1244         (is_a_helper <geh_else *>::test): ...this.
1245         (is_a_helper <gimple_statement_eh_filter *>::test): Rename to...
1246         (is_a_helper <geh_filter *>::test): ...this.
1247         (is_a_helper <gimple_statement_eh_mnt *>::test): Rename to...
1248         (is_a_helper <geh_mnt *>::test): ...this.
1249         (is_a_helper <gimple_statement_omp_atomic_load *>::test): Rename to...
1250         (is_a_helper <gomp_atomic_load *>::test): ...this.
1251         (is_a_helper <gimple_statement_omp_atomic_store *>::test): Rename to...
1252         (is_a_helper <gomp_atomic_store *>::test): ...this.
1253         (is_a_helper <gimple_statement_omp_continue *>::test): Rename to...
1254         (is_a_helper <gomp_continue *>::test): ...this.
1255         (is_a_helper <gimple_statement_omp_critical *>::test): Rename to...
1256         (is_a_helper <gomp_critical *>::test): ...this.
1257         (is_a_helper <gimple_statement_omp_for *>::test): Rename to...
1258         (is_a_helper <gomp_for *>::test): ...this.
1259         (is_a_helper <gimple_statement_omp_parallel *>::test): Rename to...
1260         (is_a_helper <gomp_parallel *>::test): ...this.
1261         (is_a_helper <gimple_statement_omp_target *>::test): Rename to...
1262         (is_a_helper <gomp_target *>::test): ...this.
1263         (is_a_helper <gimple_statement_omp_sections *>::test): Rename to...
1264         (is_a_helper <gomp_sections *>::test): ...this.
1265         (is_a_helper <gimple_statement_omp_single *>::test): Rename to...
1266         (is_a_helper <gomp_single *>::test): ...this.
1267         (is_a_helper <gimple_statement_omp_teams *>::test): Rename to...
1268         (is_a_helper <gomp_teams *>::test): ...this.
1269         (is_a_helper <gimple_statement_omp_task *>::test): Rename to...
1270         (is_a_helper <gomp_task *>::test): ...this.
1271         (is_a_helper <gimple_statement_phi *>::test): Rename to...
1272         (is_a_helper <gphi *>::test): ...this.
1273         (is_a_helper <gimple_statement_transaction *>::test): Rename to...
1274         (is_a_helper <gtransaction *>::test): ...this.
1275         (is_a_helper <greturn *>::test): New.
1276         (is_a_helper <gswitch *>::test): New.
1277         (is_a_helper <gimple_statement_try *>::test): Rename to...
1278         (is_a_helper <gtry *>::test): ...this.
1279         (is_a_helper <const gimple_statement_asm *>::test): Rename to...
1280         (is_a_helper <const gasm *>::test): ...this.
1281         (is_a_helper <const gimple_statement_bind *>::test): Rename to...
1282         (is_a_helper <const gbind *>::test): ...this.
1283         (is_a_helper <const gimple_statement_call *>::test): Rename to...
1284         (is_a_helper <const gcall *>::test): ...this.
1285         (is_a_helper <const gimple_statement_catch *>::test): Rename to...
1286         (is_a_helper <const gcatch *>::test): ...this.
1287         (is_a_helper <const gimple_statement_resx *>::test): Rename to...
1288         (is_a_helper <const gresx *>::test): ...this.
1289         (is_a_helper <const gimple_statement_eh_dispatch *>::test): Rename to...
1290         (is_a_helper <const geh_dispatch *>::test): ...this.
1291         (is_a_helper <const gimple_statement_eh_filter *>::test): Rename to...
1292         (is_a_helper <const geh_filter *>::test): ...this.
1293         (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
1294         Rename to...
1295         (is_a_helper <const gomp_atomic_load *>::test): ...this.
1296         (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
1297         Rename to...
1298         (is_a_helper <const gomp_atomic_store *>::test): ...this.
1299         (is_a_helper <const gimple_statement_omp_continue *>::test):
1300         Rename to...
1301         (is_a_helper <const gomp_continue *>::test): ...this.
1302         (is_a_helper <const gimple_statement_omp_critical *>::test):
1303         Rename to...
1304         (is_a_helper <const gomp_critical *>::test): ...this.
1305         (is_a_helper <const gimple_statement_omp_for *>::test): Rename to...
1306         (is_a_helper <const gomp_for *>::test): ...this.
1307         (is_a_helper <const gimple_statement_omp_parallel *>::test):
1308         Rename to...
1309         (is_a_helper <const gomp_parallel *>::test): ...this.
1310         (is_a_helper <const gimple_statement_omp_target *>::test): Rename to...
1311         (is_a_helper <const gomp_target *>::test): ...this.
1312         (is_a_helper <const gimple_statement_omp_sections *>::test):
1313         Rename to...
1314         (is_a_helper <const gomp_sections *>::test): ...this.
1315         (is_a_helper <const gimple_statement_omp_single *>::test): Rename to...
1316         (is_a_helper <const gomp_single *>::test): ...this.
1317         (is_a_helper <const gimple_statement_omp_teams *>::test): Rename to...
1318         (is_a_helper <const gomp_teams *>::test): ...this.
1319         (is_a_helper <const gimple_statement_omp_task *>::test): Rename to...
1320         (is_a_helper <const gomp_task *>::test): ...this.
1321         (is_a_helper <const gimple_statement_phi *>::test): Rename to...
1322         (is_a_helper <const gphi *>::test): ...this.
1323         (is_a_helper <const gimple_statement_transaction *>::test): Rename to...
1324         (is_a_helper <const gtransaction *>::test): ...this.
1325         (gimple_build_return): Strengthen return type to greturn *.
1326         (gimple_call_reset_alias_info): Require a gcall *.
1327         (gimple_build_call_vec): Return a gcall *.
1328         (gimple_build_call): Likewise.
1329         (gimple_build_call_valist): Likewise.
1330         (gimple_build_call_internal): Likewise.
1331         (gimple_build_call_internal_vec): Likewise.
1332         (gimple_build_call_from_tree): Likewise.
1333         (gimple_build_assign_stat): Return a gassign *.
1334         (gimple_build_assign_with_ops): Likewise.
1335         (gimple_build_cond): Return a gcond *.
1336         (gimple_build_cond_from_tree): Likewise.
1337         (gimple_cond_set_condition_from_tree): Require a gcond *.
1338         (gimple_build_label): Return a glabel *.
1339         (gimple_build_goto): Return a ggoto *.
1340         (gimple_build_bind): Return a gbind *.
1341         (gimple_build_asm_vec): Return a gasm *.
1342         (gimple_build_catch): Return a gcatch *.
1343         (gimple_build_eh_filter): Return a geh_filter *.
1344         (gimple_build_eh_must_not_throw): Return a geh_mnt *.
1345         (gimple_build_eh_else): Return a geh_else *.
1346         (gimple_build_try): Return a gtry *.
1347         (gimple_build_resx): Return a gresx *.
1348         (gimple_build_switch_nlabels): Return a gswitch *.
1349         (gimple_build_switch): Return a gswitch *.
1350         (gimple_build_eh_dispatch): Return a geh_dispatch *.
1351         (gimple_build_debug_bind_stat): Return a gdebug *.
1352         (gimple_build_debug_source_bind_stat): Return a gdebug *.
1353         (gimple_build_omp_critical): Return a gomp_critical *.
1354         (gimple_build_omp_for): Return a gomp_for *.
1355         (gimple_build_omp_parallel): Return a gomp_parallel *.
1356         (gimple_build_omp_task): Return a gomp_task *.
1357         (gimple_build_omp_continue): Return a gomp_continue *.
1358         (gimple_build_omp_sections): Return a gomp_sections *.
1359         (gimple_build_omp_single): Return a gomp_single *.
1360         (gimple_build_omp_target): Return a gomp_target *.
1361         (gimple_build_omp_teams): Return a gomp_teams *.
1362         (gimple_build_omp_atomic_load): Return a gomp_atomic_load *.
1363         (gimple_build_omp_atomic_store): Return a gomp_atomic_store *.
1364         (gimple_build_transaction): Return a gtransaction *.
1365         (gimple_call_arg_flags): Require a const gcall *.
1366         (gimple_call_return_flags): Likewise.
1367         (gimple_call_copy_skip_args): Require and return a gcall *.
1368         (gimple_asm_clobbers_memory_p): Require a const gasm *.
1369         (gimple_seq_first_stmt_as_a_bind): New.
1370         (gimple_assign_nontemporal_move_p): Require a const gassign *
1371         rather than a const_gimple.
1372         (gimple_call_internal_fn): Update for renaming to gcall.
1373         (gimple_call_fntype): Likewise.
1374         (gimple_call_set_fntype): Require a gcall * rather than a gimple.
1375         (gimple_call_set_fn): Likewise.
1376         (gimple_call_set_internal_fn): Likewise.
1377         (gimple_call_set_chain): Likewise.
1378         (gimple_call_set_tail): Likewise.
1379         (gimple_call_tail_p): Likewise.
1380         (gimple_call_set_return_slot_opt): Likewise.
1381         (gimple_call_return_slot_opt_p): Likewise.
1382         (gimple_call_set_from_thunk): Likewise.
1383         (gimple_call_from_thunk_p): Likewise.
1384         (gimple_call_set_va_arg_pack): Likewise.
1385         (gimple_call_va_arg_pack_p): Likewise.
1386         (gimple_call_set_nothrow): Likewise.
1387         (gimple_call_nothrow_p): Likewise.
1388         (gimple_call_set_alloca_for_var): Likewise.
1389         (gimple_call_alloca_for_var_p): Likewise.
1390         (gimple_call_use_set): Likewise.
1391         (gimple_call_clobber_set): Likewise.
1392         (gimple_call_return_type): Require a const gcall * rather than a
1393         const_gimple.
1394         (gimple_call_chain_ptr): Likewise.
1395         (gimple_call_copy_flags): Require a pair of gcall *.
1396         (gimple_cond_set_code): Require a gcond * rather than a gimple
1397         (gimple_cond_set_lhs): Likewise.
1398         (gimple_cond_set_rhs): Likewise.
1399         (gimple_cond_set_true_label): Likewise.
1400         (gimple_cond_set_false_label): Likewise.
1401         (gimple_cond_make_false): Likewise.
1402         (gimple_cond_make_true): Likewise.
1403         (gimple_cond_lhs_ptr): Require a const gcond * rather than a
1404         const_gimple.
1405         (gimple_cond_rhs_ptr): Likewise.
1406         (gimple_cond_true_label): Likewise.
1407         (gimple_cond_false_label): Likewise.
1408         (gimple_cond_true_p): Likewise.
1409         (gimple_cond_false_p): Likewise.
1410         (gimple_cond_set_condition): Likewise.
1411         (gimple_label_label): Require a const glabel *.
1412         (gimple_label_set_label): Require a glabel *.
1413         (gimple_goto_set_dest): Require a ggoto *.
1414         (gimple_bind_vars): Require a const gbind *.
1415         (gimple_bind_block): Likewise.
1416         (gimple_bind_set_vars): Require a gbind *.
1417         (gimple_bind_append_vars): Likewise.
1418         (gimple_bind_body_ptr): Likewise.
1419         (gimple_bind_body): Likewise.
1420         (gimple_bind_set_body): Likewise.
1421         (gimple_bind_add_stmt): Likewise.
1422         (gimple_bind_add_seq): Likewise.
1423         (gimple_bind_set_block): Likewise.
1424         (gimple_asm_ninputs): Require a const gasm *.
1425         (gimple_asm_noutputs): Likewise.
1426         (gimple_asm_nclobbers): Likewise.
1427         (gimple_asm_nlabels): Likewise.
1428         (gimple_asm_input_op): Likewise.
1429         (gimple_asm_input_op_ptr): Likewise.
1430         (gimple_asm_output_op): Likewise.
1431         (gimple_asm_output_op_ptr): Likewise.
1432         (gimple_asm_clobber_op): Likewise.
1433         (gimple_asm_label_op): Likewise.
1434         (gimple_asm_string): Likewise.
1435         (gimple_asm_volatile_p): Likewise.
1436         (gimple_asm_input_p): Likewise.
1437         (gimple_asm_set_input_op): Require a gasm *.
1438         (gimple_asm_set_output_op): Likewise.
1439         (gimple_asm_set_clobber_op): Likewise.
1440         (gimple_asm_set_label_op): Likewise.
1441         (gimple_asm_set_volatile): Likewise.
1442         (gimple_asm_set_input): Likewise.
1443         (gimple_catch_types): Require a const gcatch *.
1444         (gimple_catch_types_ptr): Require a gcatch *.
1445         (gimple_catch_handler_ptr): Likewise.
1446         (gimple_catch_handler): Likewise.
1447         (gimple_catch_set_types): Likewise.
1448         (gimple_catch_set_handler): Likewise.
1449         (gimple_eh_filter_types): Update for renaming of subclass to
1450         geh_filter.
1451         (gimple_eh_filter_types_ptr): Likewise.
1452         (gimple_eh_filter_failure_ptr): Likewise.
1453         (gimple_eh_filter_set_types): Require a geh_filter *.
1454         (gimple_eh_filter_set_failure): Likewise.
1455         (gimple_eh_must_not_throw_fndecl): Require a geh_mnt *.
1456         (gimple_eh_must_not_throw_set_fndecl): Likewise.
1457         (gimple_eh_else_n_body_ptr): Require a geh_else *.
1458         (gimple_eh_else_n_body): Likewise.
1459         (gimple_eh_else_e_body_ptr): Likewise.
1460         (gimple_eh_else_e_body): Likewise.
1461         (gimple_eh_else_set_n_body): Likewise.
1462         (gimple_eh_else_set_e_body): Likewise.
1463         (gimple_try_set_kind): Require a gtry *.
1464         (gimple_try_set_catch_is_cleanup): Likewise.
1465         (gimple_try_set_eval): Likewise.
1466         (gimple_try_set_cleanup): Likewise.
1467         (gimple_try_eval_ptr): Update for renaming of subclass to gtry.
1468         (gimple_try_cleanup_ptr): Likewise.
1469         (gimple_phi_capacity): Update for renaming of subclass to gphi.
1470         (gimple_phi_num_args): Likewise.
1471         (gimple_phi_result): Likewise.
1472         (gimple_phi_result_ptr): Likewise.
1473         (gimple_phi_arg): Likewise.
1474         (gimple_phi_set_result): Require a gphi *.
1475         (gimple_phi_set_arg): Likewise.
1476         (gimple_phi_arg_def_ptr): Likewise.
1477         (gimple_phi_arg_edge): Likewise.
1478         (gimple_phi_arg_location): Likewise.
1479         (gimple_phi_arg_location_from_edge): Likewise.
1480         (gimple_phi_arg_set_location): Likewise.
1481         (gimple_phi_arg_has_location): Likewise.
1482         (gimple_resx_region): Require a const gresx *.
1483         (gimple_resx_set_region): Require a gresx *.
1484         (gimple_eh_dispatch_region): Require a const geh_dispatch *.
1485         (gimple_eh_dispatch_set_region): Require a geh_dispatch *.
1486         (gimple_switch_num_labels): Require a const gswitch *.
1487         (gimple_switch_set_num_labels): Likewise.
1488         (gimple_switch_index): Likewise.
1489         (gimple_switch_index_ptr): Likewise.
1490         (gimple_switch_label): Likewise.
1491         (gimple_switch_default_label): Likewise.
1492         (gimple_switch_set_index): Require a gswitch *.
1493         (gimple_switch_set_label): Likewise.
1494         (gimple_switch_set_default_label): Likewise.
1495         (gimple_omp_critical_name): Require a const gomp_critical *.
1496         (gimple_omp_critical_name_ptr): Require a gomp_critical *.
1497         (gimple_omp_critical_set_name): Likewise.
1498         (gimple_omp_for_set_kind): Require a gomp_for *.
1499         (gimple_omp_for_set_combined_p): Likewise.
1500         (gimple_omp_for_set_combined_into_p): Likewise.
1501         (gimple_omp_for_clauses): Update for renaming of subclass to
1502         gomp_for.
1503         (gimple_omp_for_clauses_ptr): Likewise.
1504         (gimple_omp_for_set_clauses): Likewise.
1505         (gimple_omp_for_collapse): Likewise.
1506         (gimple_omp_for_index): Likewise.
1507         (gimple_omp_for_index_ptr): Likewise.
1508         (gimple_omp_for_set_index): Likewise.
1509         (gimple_omp_for_initial): Likewise.
1510         (gimple_omp_for_initial_ptr): Likewise.
1511         (gimple_omp_for_set_initial): Likewise.
1512         (gimple_omp_for_final): Likewise.
1513         (gimple_omp_for_final_ptr): Likewise.
1514         (gimple_omp_for_set_final): Likewise.
1515         (gimple_omp_for_incr): Likewise.
1516         (gimple_omp_for_incr_ptr): Likewise.
1517         (gimple_omp_for_set_incr): Likewise.
1518         (gimple_omp_for_pre_body): Likewise.
1519         (gimple_omp_for_set_pre_body): Likewise.
1520         (gimple_omp_parallel_clauses): Update for renaming of subclass to
1521         gomp_parallel.
1522         (gimple_omp_parallel_clauses_ptr): Require a gomp_parallel *.
1523         (gimple_omp_parallel_set_clauses): Likewise.
1524         (gimple_omp_parallel_child_fn_ptr): Likewise.
1525         (gimple_omp_parallel_set_child_fn): Likewise.
1526         (gimple_omp_parallel_data_arg_ptr): Likewise.
1527         (gimple_omp_parallel_set_data_arg): Likewise.
1528         (gimple_omp_parallel_child_fn): Require a const gomp_parallel *.
1529         (gimple_omp_parallel_data_arg): Likewise.
1530         (gimple_omp_task_clauses): Update for renaming of subclass to
1531         gomp_task.
1532         (gimple_omp_task_clauses_ptr): Likewise.
1533         (gimple_omp_task_set_clauses): Likewise.
1534         (gimple_omp_task_child_fn): Likewise.
1535         (gimple_omp_task_child_fn_ptr): Likewise.
1536         (gimple_omp_task_set_child_fn): Likewise.
1537         (gimple_omp_task_data_arg): Likewise.
1538         (gimple_omp_task_data_arg_ptr): Likewise.
1539         (gimple_omp_task_set_data_arg): Likewise.
1540         (gimple_omp_taskreg_clauses): Whitespace fixes.
1541         (gimple_omp_taskreg_clauses_ptr): Likewise.
1542         (gimple_omp_taskreg_set_clauses): Likewise.
1543         (gimple_omp_taskreg_child_fn): Likewise.
1544         (gimple_omp_taskreg_child_fn_ptr): Likewise.
1545         (gimple_omp_taskreg_set_child_fn): Likewise.
1546         (gimple_omp_taskreg_data_arg): Likewise.
1547         (gimple_omp_taskreg_data_arg_ptr): Likewise.
1548         (gimple_omp_taskreg_set_data_arg): Likewise.
1549         (gimple_omp_task_copy_fn): Update for renaming of subclass to
1550         gomp_task.
1551         (gimple_omp_task_copy_fn_ptr): Likewise.
1552         (gimple_omp_task_set_copy_fn): Likewise.
1553         (gimple_omp_task_arg_size): Likewise.
1554         (gimple_omp_task_arg_size_ptr): Likewise.
1555         (gimple_omp_task_set_arg_size): Likewise.
1556         (gimple_omp_task_arg_align): Likewise.
1557         (gimple_omp_task_arg_align_ptr): Likewise.
1558         (gimple_omp_task_set_arg_align): Likewise.
1559         (gimple_omp_single_clauses): Update for renaming of subclass to
1560         gomp_single.
1561         (gimple_omp_single_clauses_ptr): Likewise.
1562         (gimple_omp_single_set_clauses): Likewise.
1563         (gimple_omp_target_clauses): Update for renaming of subclass to
1564         gomp_target.
1565         (gimple_omp_target_clauses_ptr): Likewise.
1566         (gimple_omp_target_set_clauses): Require a gomp_target *.
1567         (gimple_omp_target_set_kind): Likewise.
1568         (gimple_omp_target_child_fn_ptr): Likewise.
1569         (gimple_omp_target_set_child_fn): Likewise.
1570         (gimple_omp_target_data_arg_ptr): Likewise.
1571         (gimple_omp_target_set_data_arg): Likewise.
1572         (gimple_omp_target_child_fn): Require a const gomp_target *.
1573         (gimple_omp_target_data_arg): Likewise.
1574         (gimple_omp_teams_clauses): Update for renaming of subclass to
1575         gomp_teams.
1576         (gimple_omp_teams_clauses_ptr): Likewise.
1577         (gimple_omp_teams_set_clauses): Require a gomp_teams *.
1578         (gimple_omp_sections_clauses): Update for renaming of subclass to
1579         gomp_sections.
1580         (gimple_omp_sections_clauses_ptr): Likewise.
1581         (gimple_omp_sections_set_clauses): Likewise.
1582         (gimple_omp_sections_control): Likewise.
1583         (gimple_omp_sections_control_ptr): Likewise.
1584         (gimple_omp_sections_set_control): Likewise.
1585         (gimple_omp_for_set_cond): Likewise.
1586         (gimple_omp_for_cond): Likewise.
1587         (gimple_omp_atomic_store_set_val): Require a gomp_atomic_store *.
1588         (gimple_omp_atomic_store_val_ptr): Likewise.
1589         (gimple_omp_atomic_load_set_lhs): Likewise.
1590         (gimple_omp_atomic_store_val): Require a const gomp_atomic_store *.
1591         (gimple_omp_atomic_load_lhs): Likewise.
1592         (gimple_omp_atomic_load_rhs): Likewise.
1593         (gimple_omp_atomic_load_lhs_ptr): Require a gomp_atomic_load *.
1594         (gimple_omp_atomic_load_set_rhs): Likewise.
1595         (gimple_omp_atomic_load_rhs_ptr): Likewise.
1596         (gimple_omp_continue_control_def): Require a const gomp_continue *.
1597         (gimple_omp_continue_control_use): Likewise.
1598         (gimple_omp_continue_control_def_ptr): Require a gomp_continue *.
1599         (gimple_omp_continue_set_control_def): Likewise.
1600         (gimple_omp_continue_control_use_ptr): Likewise.
1601         (gimple_omp_continue_set_control_use): Likewise.
1602         (gimple_transaction_body_ptr): Require a gtransaction *.
1603         (gimple_transaction_body): Likewise.
1604         (gimple_transaction_label_ptr): Likewise.
1605         (gimple_transaction_label): Require a const gtransaction *.
1606         (gimple_transaction_subcode): Likewise.
1607         (gimple_transaction_set_body): Require a gtransaction *.
1608         (gimple_transaction_set_label): Likewise.
1609         (gimple_transaction_set_subcode): Likewise.
1610         (gimple_return_retval_ptr): Require a const greturn *.
1611         (gimple_return_retval): Likewise.
1612         (gimple_return_set_retval): Require a greturn *.
1613         (gimple_expr_type): Introduce local "call_stmt" and use in place of
1614         "stmt" for typesafety.
1616         * asan.c: Use gimple subclasses.
1617         * auto-profile.c: Likewise.
1618         * builtins.c: Likewise.
1619         * builtins.h: Likewise.
1620         * cfgexpand.c: Likewise.
1621         * cfgloop.c: Likewise.
1622         * cfgloopmanip.c: Likewise.
1623         * cgraph.c: Likewise.
1624         * cgraph.h: Likewise.
1625         * cgraphbuild.c: Likewise.
1626         * cgraphclones.c: Likewise.
1627         * cgraphunit.c: Likewise.
1628         * expr.h: Likewise.
1629         * gimple-builder.c: Likewise.
1630         * gimple-builder.h: Likewise.
1631         * gimple-fold.c: Likewise.
1632         * gimple-low.c: Likewise.
1633         * gimple-pretty-print.c: Likewise.
1634         * gimple-ssa-isolate-paths.c: Likewise.
1635         * gimple-ssa-strength-reduction.c: Likewise.
1636         * gimple-streamer-in.c: Likewise.
1637         * gimple-streamer-out.c: Likewise.
1638         * gimple-walk.c: Likewise.
1639         * gimplify-me.c: Likewise.
1640         * gimplify.c: Likewise.
1641         * gimplify.h: Likewise.
1642         * graphite-scop-detection.c: Likewise.
1643         * graphite-sese-to-poly.c: Likewise.
1644         * internal-fn.c: Likewise.
1645         * internal-fn.def:: Likewise.
1646         * internal-fn.h: Likewise.
1647         * ipa-icf-gimple.c: Likewise.
1648         * ipa-icf-gimple.h: Likewise.
1649         * ipa-icf.c: Likewise.
1650         * ipa-inline-analysis.c: Likewise.
1651         * ipa-prop.c: Likewise.
1652         * ipa-prop.h: Likewise.
1653         * ipa-pure-const.c: Likewise.
1654         * ipa-split.c: Likewise.
1655         * lto-streamer-in.c: Likewise.
1656         * lto-streamer-out.c: Likewise.
1657         * omp-low.c: Likewise.
1658         * predict.c: Likewise.
1659         * sanopt.c: Likewise.
1660         * sese.c: Likewise.
1661         * ssa-iterators.h: Likewise.
1662         * stmt.c: Likewise.
1663         * trans-mem.c: Likewise.
1664         * tree-call-cdce.c: Likewise.
1665         * tree-cfg.c: Likewise.
1666         * tree-cfg.h: Likewise.
1667         * tree-cfgcleanup.c: Likewise.
1668         * tree-chkp.c: Likewise.
1669         * tree-chkp.h: Likewise.
1670         * tree-complex.c: Likewise.
1671         * tree-data-ref.c: Likewise.
1672         * tree-dfa.c: Likewise.
1673         * tree-eh.c: Likewise.
1674         * tree-eh.h: Likewise.
1675         * tree-emutls.c: Likewise.
1676         * tree-if-conv.c: Likewise.
1677         * tree-inline.c: Likewise.
1678         * tree-inline.h: Likewise.
1679         * tree-into-ssa.c: Likewise.
1680         * tree-into-ssa.h: Likewise.
1681         * tree-loop-distribution.c: Likewise.
1682         * tree-nrv.c: Likewise.
1683         * tree-object-size.c: Likewise.
1684         * tree-outof-ssa.c: Likewise.
1685         * tree-parloops.c: Likewise.
1686         * tree-phinodes.c: Likewise.
1687         * tree-phinodes.h: Likewise.
1688         * tree-predcom.c: Likewise.
1689         * tree-profile.c: Likewise.
1690         * tree-scalar-evolution.c: Likewise.
1691         * tree-scalar-evolution.h
1692         * tree-sra.cn_function):
1693         * tree-ssa-alias.c: Likewise.
1694         * tree-ssa-alias.h: Likewise.
1695         * tree-ssa-ccp.c: Likewise.
1696         * tree-ssa-coalesce.c: Likewise.
1697         * tree-ssa-copy.c: Likewise.
1698         * tree-ssa-copyrename.c: Likewise.
1699         * tree-ssa-dce.c: Likewise.
1700         * tree-ssa-dom.c: Likewise.
1701         * tree-ssa-forwprop.c: Likewise.
1702         * tree-ssa-ifcombine.c: Likewise.
1703         * tree-ssa-live.c: Likewise.
1704         * tree-ssa-loop-im.c: Likewise.
1705         * tree-ssa-loop-ivcanon.c: Likewise.
1706         * tree-ssa-loop-ivopts.c: Likewise.
1707         * tree-ssa-loop-manip.c: Likewise.
1708         * tree-ssa-loop-niter.c: Likewise.
1709         * tree-ssa-loop-prefetch.c: Likewise.
1710         * tree-ssa-loop-unswitch.c: Likewise.
1711         * tree-ssa-math-opts.c: Likewise.
1712         * tree-ssa-operands.c: Likewise.
1713         * tree-ssa-phiopt.c: Likewise.
1714         * tree-ssa-phiprop.c: Likewise.
1715         * tree-ssa-pre.c: Likewise.
1716         * tree-ssa-propagate.c: Likewise.
1717         * tree-ssa-propagate.h: Likewise.
1718         * tree-ssa-reassoc.c: Likewise.
1719         * tree-ssa-sccvn.c: Likewise.
1720         * tree-ssa-sccvn.h: Likewise.
1721         * tree-ssa-sink.c: Likewise.
1722         * tree-ssa-strlen.c
1723         * tree-ssa-structalias.c
1724         * tree-ssa-tail-merge.c: Likewise.
1725         * tree-ssa-ter.c: Likewise.
1726         * tree-ssa-threadedge.c: Likewise.
1727         * tree-ssa-threadedge.h: Likewise.
1728         * tree-ssa-threadupdate.c: Likewise.
1729         * tree-ssa-uncprop.c: Likewise.
1730         * tree-ssa-uninit.c: Likewise.
1731         * tree-ssa.c: Likewise.
1732         * tree-stdarg.c: Likewise.
1733         * tree-switch-conversion.c: Likewise.
1734         * tree-tailcall.c: Likewise.
1735         * tree-vect-data-refs.c: Likewise.
1736         * tree-vect-generic.c: Likewise.
1737         * tree-vect-loop-manip.c: Likewise.
1738         * tree-vect-loop.c: Likewise.
1739         * tree-vect-patterns.c: Likewise.
1740         * tree-vect-slp.c: Likewise.
1741         * tree-vect-stmts.c: Likewise.
1742         * tree-vectorizer.h: Likewise.
1743         * tree-vrp.c: Likewise.
1744         * tree.c: Likewise.
1745         * ubsan.c: Likewise.
1746         * value-prof.c: Likewise.
1747         * value-prof.h: Likewise.
1748         * vtable-verify.c: Likewise.
1750 2014-11-19  Markus Trippelsdorf  <markus@trippelsdorf.de>
1752         * config/rs6000/constraints.md: Avoid signed integer overflows.
1753         * config/rs6000/predicates.md: Likewise.
1755 2014-11-19  Renlin Li  <Renlin.Li@arm.com>
1757         PR target/63424
1758         * config/aarch64/aarch64-simd.md (<su><maxmin>v2di3): New.
1760 2014-11-19  Renlin Li  <Renlin.Li@arm.com>
1762         PR middle-end/63762
1763         * ira.c (ira): Update preferred class.
1765 2014-11-19  Jakub Jelinek  <jakub@redhat.com>
1767         * gimple.h (gimple_build_assign_with_ops): Add unary arg overload.
1768         (gimple_assign_set_rhs_with_ops_1): Renamed to ...
1769         (gimple_assign_set_rhs_with_ops): ... this.  Adjust binary arg
1770         inline overload to use it.  Add unary arg overload.
1771         * gimple.c (gimple_build_assign_with_ops): New unary arg overload.
1772         (gimple_assign_set_rhs_from_tree): Use
1773         gimple_assign_set_rhs_with_ops instead of
1774         gimple_assign_set_rhs_with_ops_1.
1775         (gimple_assign_set_rhs_with_ops_1): Renamed to ...
1776         (gimple_assign_set_rhs_with_ops): ... this.
1777         * ipa-split.c (split_function): Remove last NULL argument
1778         from gimple_build_assign_with_ops call.
1779         * tree-ssa-loop-im.c
1780         (move_computations_dom_walker::before_dom_children): Likewise.
1781         * tsan.c (instrument_builtin_call): Likewise.
1782         * tree-vect-stmts.c (vect_init_vector, vectorizable_mask_load_store,
1783         vectorizable_conversion, vectorizable_load): Likewise.
1784         * tree-vect-loop.c (vect_is_simple_reduction_1,
1785         get_initial_def_for_induction): Likewise.
1786         * tree-loop-distribution.c (generate_memset_builtin): Likewise.
1787         * tree-vect-patterns.c (vect_handle_widen_op_by_const,
1788         vect_recog_widen_mult_pattern, vect_operation_fits_smaller_type,
1789         vect_recog_over_widening_pattern, vect_recog_rotate_pattern,
1790         vect_recog_vector_vector_shift_pattern, vect_recog_divmod_pattern,
1791         vect_recog_mixed_size_cond_pattern, adjust_bool_pattern_cast,
1792         adjust_bool_pattern, vect_recog_bool_pattern): Likewise.
1793         * tree-ssa-phiopt.c (conditional_replacement, abs_replacement,
1794         neg_replacement): Likewise.
1795         * asan.c (build_shadow_mem_access, maybe_create_ssa_name,
1796         maybe_cast_to_ptrmode, asan_expand_check_ifn): Likewise.
1797         * tree-vect-slp.c (vect_get_constant_vectors): Likewise.
1798         * omp-low.c (lower_rec_input_clauses, expand_omp_for_generic,
1799         expand_omp_for_static_nochunk, expand_omp_for_static_chunk,
1800         simd_clone_adjust): Likewise.
1801         * tree-vect-loop-manip.c (vect_create_cond_for_align_checks): Likewise.
1802         * gimple-ssa-strength-reduction.c (introduce_cast_before_cand,
1803         replace_one_candidate): Likewise.
1804         * gimple-builder.c (build_type_cast): Likewise.
1805         * tree-ssa-forwprop.c (simplify_rotate): Likewise.
1806         (forward_propagate_addr_expr_1): Remove last NULL argument
1807         from gimple_assign_set_rhs_with_ops call.
1808         (simplify_vector_constructor): Use gimple_assign_set_rhs_with_ops
1809         instead of gimple_assign_set_rhs_with_ops_1.
1810         * tree-ssa-reassoc.c (maybe_optimize_range_tests): Remove last NULL
1811         argument from gimple_build_assign_with_ops call.
1812         (repropagate_negates): Remove last NULL argument from
1813         gimple_assign_set_rhs_with_ops call.
1814         * ubsan.c (ubsan_expand_null_ifn, ubsan_expand_objsize_ifn): Remove
1815         last NULL argument from gimple_build_assign_with_ops call.
1816         (instrument_bool_enum_load): Likewise.  Remove last NULL argument
1817         from gimple_assign_set_rhs_with_ops call.
1818         * tree-ssa-math-opts.c (build_and_insert_cast, convert_mult_to_fma):
1819         Remove last NULL argument from gimple_build_assign_with_ops call.
1820         (bswap_replace): Likewise.  Use gimple_assign_set_rhs_with_ops instead
1821         of gimple_assign_set_rhs_with_ops_1.
1822         (convert_plusminus_to_widen): Use gimple_assign_set_rhs_with_ops
1823         instead of gimple_assign_set_rhs_with_ops_1.
1824         * gimple-fold.c (replace_stmt_with_simplification): Likewise.
1825         (rewrite_to_defined_overflow, gimple_build): Remove last NULL argument
1826         from gimple_build_assign_with_ops call.
1827         * tree-ssa-strlen.c (handle_pointer_plus): Remove last NULL argument
1828         from gimple_assign_set_rhs_with_ops call.
1829         * tree-vrp.c (simplify_truth_ops_using_ranges,
1830         simplify_bit_ops_using_ranges): Remove last NULL argument from
1831         gimple_assign_set_rhs_with_ops call.
1832         (simplify_float_conversion_using_ranges,
1833         simplify_internal_call_using_ranges): Remove last NULL argument from
1834         gimple_build_assign_with_ops call.
1836 2014-11-19  Wilco Dijkstra  <wdijkstr@arm.com>
1838         PR target/61915
1839         * config/aarch64/aarch64.c (generic_regmove_cost): Increase FP move
1840         cost.
1842 2014-11-19  Marek Polacek  <polacek@redhat.com>
1844         PR sanitizer/63690
1845         * ubsan.c (instrument_object_size): Check for MEM_REF.
1847 2014-11-19  Ilya Verbin  <ilya.verbin@intel.com>
1849         PR regression/63868
1850         * cgraph.c (cgraph_node::create): Guard g->have_offload with
1851         ifdef ENABLE_OFFLOADING.
1852         * omp-low.c (create_omp_child_function): Likewise.
1853         (expand_omp_target): Guard node->mark_force_output and offload_funcs
1854         with ifdef ENABLE_OFFLOADING.
1855         * varpool.c (varpool_node::get_create): Guard g->have_offload and
1856         offload_vars with ifdef ENABLE_OFFLOADING.
1858 2014-11-19  Felix Yang  <felix.yang@huawei.com>
1859             Shanyao Chen  <chenshanyao@huawei.com>
1861         PR target/59593
1862         * config/arm/arm.md (define_attr "arch"): Add v6t2.
1863         (define_attr "arch_enabled"): Add test for the above.
1864         (*movhi_insn_arch4): Add new alternative.
1866 2014-11-19  Richard Henderson  <rth@redhat.com>
1868         * c-family/c-common.c (c_common_reswords): Add
1869         __builtin_call_with_static_chain.
1870         * c-family/c-common.h (RID_BUILTIN_CALL_WITH_STATIC_CHAIN): New.
1871         * c/c-parser.c (c_parser_postfix_expression): Handle it.
1872         * doc/extend.texi (__builtin_call_with_static_chain): Document it.
1874         * calls.c (prepare_call_address): Allow decl or type for first arg.
1875         (expand_call): Pass type to prepare_call_address if no decl.
1876         * gimple-fold.c (gimple_fold_call): Eliminate the static chain if
1877         the function doesn't use it; fold it otherwise.
1878         * gimplify.c (gimplify_call_expr): Gimplify the static chain.
1879         * tree-cfg.c (verify_gimple_call): Allow a static chain on indirect
1880         function calls.
1882         * targhooks.c (default_static_chain): Remove check for
1883         DECL_STATIC_CHAIN.
1884         * config/moxie/moxie.c (moxie_static_chain): Likewise.
1885         * config/i386/i386.c (ix86_static_chain): Allow decl or type
1886         as the first argument.
1887         * config/xtensa/xtensa.c (xtensa_static_chain): Change the name
1888         of the unused first parameter.
1889         * doc/tm.texi (TARGET_STATIC_CHAIN): Document the first parameter
1890         may be a type.
1891         * target.def (static_chain): Likewise.
1893 2014-11-19  Renlin Li  <renlin.li@arm.com>
1895     * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_FP_FAST,
1896         __ARM_FEATURE_FMA, __ARM_FP, __ARM_FEATURE_NUMERIC_MAXMIN, __ARM_NEON_FP.
1898 2014-11-19  Marek Polacek  <polacek@redhat.com>
1900         PR sanitizer/63879
1901         * fold-const.c (negate_expr_p) <case NEGATE_EXPR>: Return
1902         !TYPE_OVERFLOW_SANITIZED.
1903         (fold_negate_expr) <case INTEGER_CST>: Fold when overflow
1904         does not trap and when overflow wraps, or when SANITIZE_SI_OVERFLOW
1905         is 0.
1907 2014-11-19  Ilya Tocar  <ilya.tocar@intel.com>
1909         * collect2.c (main): Don't call fatal_error before
1910         diagnostic_initialize.
1911         * lto-wrapper.c (main): Likewise.
1913 2014-11-19  Tom de Vries  <tom@codesourcery.com>
1915         PR tree-optimization/62167
1916         * tree-ssa-tail-merge.c (stmt_local_def): Handle statements with vuse
1917         conservatively.
1918         (gimple_equal_p): Don't use vn_valueize to compare for lhs equality of
1919         assigns.
1921 2014-11-19  Jakub Jelinek  <jakub@redhat.com>
1923         PR tree-optimization/63915
1924         * tree-vect-stmts.c (vectorizable_simd_clone_call): Pass
1925         true instead of false as last argument to gsi_replace.
1927         PR sanitizer/63520
1928         * internal-fn.c (expand_ubsan_result_store): New function.
1929         (expand_addsub_overflow, expand_neg_overflow, expand_mul_overflow):
1930         Use it instead of just emit_move_insn.
1932 2014-11-19  Richard Biener  <rguenther@suse.de>
1934         PR tree-optimization/63844
1935         * omp-low.c (fixup_child_record_type): Use a restrict qualified
1936         referece type for the receiver parameter.
1938 2014-11-19  Jakub Jelinek  <jakub@redhat.com>
1940         PR sanitizer/63913
1941         * ubsan.c: Include tree-eh.h.
1942         (instrument_bool_enum_load): Handle loads that can throw.
1944         PR rtl-optimization/63843
1945         * simplify-rtx.c (simplify_binary_operation_1) <case ASHIFTRT>: For
1946         optimization of ashiftrt of subreg of lshiftrt, check that code
1947         is ASHIFTRT.
1949 2014-11-18  Andrew MacLeod  <amacleod@redhat.com>
1951         * attribs.c (decl_attributes): Remove always true condition,
1952         TREE_TYPE(x) will never compare equal to a TYPE_DECL.
1954 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
1956         PR target/63937
1957         * target.def (use_by_pieces_infrastructure_p): Take unsigned
1958         HOST_WIDE_INT as the size parameter.
1959         * targhooks.c (default_use_by_pieces_infrastructure_p): Likewise.
1960         * targhooks.h (default_use_by_pieces_infrastructure_p): Likewise.
1961         * config/arc/arc.c (arc_use_by_pieces_infrastructure_p)): Likewise.
1962         * config/mips/mips.c (mips_use_by_pieces_infrastructure_p)): Likewise.
1963         * config/s390/s390.c (s390_use_by_pieces_infrastructure_p)): Likewise.
1964         * config/sh/sh.c (sh_use_by_pieces_infrastructure_p)): Likewise.
1965         * config/aarch64/aarch64.c
1966         (aarch64_use_by_pieces_infrastructure_p)): Likewise.
1967         * doc/tm.texi: Regenerate.
1969 2014-11-18  Jan Hubicka  <hubicka@ucw.cz>
1971         * ipa-cp.c (ipcp_cloning_candidate_p): Use opt_for_fn.
1972         (ipa_value_from_jfunc, ipa_context_from_jfunc): Skip sanity check.
1973         (ipa_get_indirect_edge_target_1): Use opt_for_fn.
1974         (good_cloning_opportunity_p): Likewise.
1975         (ipa-cp gate): Enable ipa-cp with LTO.
1976         * ipa-profile.c (ipa_propagate_frequency): Use opt_for_fn.
1977         * ipa.c (symbol_table::remove_unreachable_nodes): Always build type
1978         inheritance.
1979         * ipa-inline-transform.c (inline_transform): Check if there are inlines
1980         to apply even at -O0.
1981         * cgraphunit.c (cgraph_node::finalize_function): Use opt_for_fn.
1982         (analyze_functions): Build type inheritance graph.
1983         * ipa-inline.c (can_inline_edge_p): Use opt_for_fn.
1984         (want_early_inline_function_p, want_inline_small_function_p):
1985         Likewise.
1986         (check_callers): Likewise.
1987         (edge_badness): Likewise.
1988         (inline_small_functions): Always be ready for indirect inlining
1989         to happend.
1990         (ipa_inline): Always use want_inline_function_to_all_callers_p.
1991         (early_inline_small_functions): Use opt_for_fn.
1992         * ipa-inline-analysis.c (estimate_function_body_sizes): use opt_for_fn.
1993         (estimate_function_body_sizes): Likewise.
1994         (compute_inline_parameters): Likewise.
1995         (estimate_edge_devirt_benefit): Likewise.
1996         (inline_analyze_function): Likewise.
1997         * ipa-devirt.c (ipa_devirt): Likewise.
1998         (gate): Use in_lto_p.
1999         * ipa-prop.c (ipa_func_spec_opts_forbid_analysis_p): Use opt_for_fn.
2000         (try_make_edge_direct_virtual_call): Likewise.
2001         (update_indirect_edges_after_inlining): Likewise.
2002         (ipa_free_all_structures_after_ipa_cp): Add in_lto_p check.
2003         * common.opt (findirect-inlining): Turn into optimization.
2004         * ipa-pure-const.c (add_new_function): Use opt_for_fn.
2005         (pure_const_generate_summary): Likewise.
2006         (gate_pure_const): Always enable with in_lto_p.
2008 2014-11-18  Maciej W. Rozycki  <macro@codesourcery.com>
2010         * config/mips/mips.md (compression): Add `micromips32' setting.
2011         (enabled, length): Handle it.
2012         (shift_compression): Replace `micromips' with `micromips32' in
2013         the `compression' attribute.
2014         (*add<mode>3, sub<mode>3): Likewise.
2016 2014-11-18  Maciej W. Rozycki  <macro@codesourcery.com>
2018         * gcc/config/mips/mips.md (*jump_absolute): Use a branch when in
2019         range, a jump otherwise.
2021 2014-11-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2023         * config/arm/cortex-a15-neon.md (cortex_a15_vfp_to_from_gp):
2024         Split into...
2025         (cortex_a15_gp_to_vfp): ...This.
2026         (cortex_a15_fp_to_gp): ...And this.
2027         Define and comment bypass from vfp operations to fp->gp moves.
2029 2014-11-18  Martin Liska  <mliska@suse.cz>
2031         * var-tracking.c (vt_find_locations): New fibonacci_node is used.
2033 2014-11-18  Martin Liska  <mliska@suse.cz>
2035         * bt-load.c (add_btr_def): New fibonacci_heap is used.
2036         (migrate_btr_defs): Likewise.
2038 2014-11-18  Martin Liska  <mliska@suse.cz>
2040         * tracer.c (tail_duplicate): New fibonacci_heap class is used.
2042 2014-11-18  Martin Liska  <mliska@suse.cz>
2044         * bb-reorder.c (mark_bb_visited): New fibonacci_heap is used.
2045         (find_traces): Likewise.
2046         (find_traces_1_round): Likewise.
2048 2014-11-18  Martin Liska  <mliska@suse.cz>
2050         * fibonacci_heap.h: New file.
2051         (fibonacci_heap::insert): Created from fibheap_insert.
2052         (fibonacci_heap::empty): Created from fibheap_empty.
2053         (fibonacci_heap::nodes): Created from fibheap_nodes.
2054         (fibonacci_heap::min_key): Created from fibheap_min_key.
2055         (fibonacci_heap::decrease_key): Created from fibheap_replace_key.
2056         (fibonacci_heap::replace_key_data): Created from fibheap_replace_key_data.
2057         (fibonacci_heap::extract_min): Created from fibheap_extract_min.
2058         (fibonacci_heap::min): Created from fibheap_min.
2059         (fibonacci_heap::replace_data): Created from fibheap_replace_data.
2060         (fibonacci_heap::delete_node): Created from fibheap_delete_node.
2061         (fibonacci_heap::union_with): Created from fibheap_union.
2062         * ipa-inline.c (update_edge_key): New heap API is used.
2063         (update_caller_keys): Likewise.
2064         (update_callee_keys): Likewise.
2065         (lookup_recursive_calls): Likewise.
2066         (recursive_inlining): Likewise.
2067         (add_new_edges_to_heap): Likewise.
2068         (heap_edge_removal_hook): Likewise.
2069         (inline_small_functions): Likewise.
2071 2014-11-18  Marek Polacek  <polacek@redhat.com>
2073         PR sanitizer/63866
2074         * asan.c (asan_global_struct): Create a TYPE_DECL for "__asan_global",
2075         put it into TYPE_NAME and TYPE_STUB_DECL.
2076         * ubsan.c (ubsan_type_descriptor_type): New variable.
2077         Function renamed to ...
2078         (ubsan_get_type_descriptor_type): ... this.  Cache
2079         return value in ubsan_type_descriptor_type variable.
2080         Create a TYPE_DECL for "__ubsan_type_descriptor", put it into
2081         TYPE_NAME and TYPE_STUB_DECL.
2082         (ubsan_get_source_location_type): Create a TYPE_DECL for
2083         "__ubsan_source_location", put it into TYPE_NAME and TYPE_STUB_DECL.
2084         (ubsan_type_descriptor, ubsan_create_data): Call
2085         ubsan_get_type_descriptor_type instead of ubsan_type_descriptor_type.
2086         Create a TYPE_DECL for name, put it into TYPE_NAME and TYPE_STUB_DECL.
2088 2014-11-18  Felix Yang  <felix.yang@huawei.com>
2090         * config/aarch64/aarch64.c (doloop_end): New pattern.
2091         * config/aarch64/aarch64.md (TARGET_CAN_USE_DOLOOP_P): Implement.
2093 2014-11-18  Jason Merrill  <jason@redhat.com>
2095         * tree.c (warn_deprecated_use): Show declaration with inform.
2097 2014-11-18  Richard Biener  <rguenther@suse.de>
2099         PR tree-optimization/63914
2100         * tree-ssa-ccp.c (canonicalize_value): Remove float value
2101         canonicalization.
2102         (valid_lattice_transition): Allow (partial) transition
2103         from NaN to non-NaN if !HONOR_NANS.
2104         (set_lattice_value): Check for valid lattice transitions
2105         only when checking is enabled.
2107 2014-11-18  Bernd Schmidt  <bernds@codesourcery.com>
2109         * config/nvptx/nvptx.c: Include <sstream> directly after "config.h".
2111 2014-11-18  Christophe Lyon  <christophe.lyon@linaro.org>
2113         * config/arm/neon-testgen.ml (emit_prologue): Handle new
2114         compile_test_optim argument.
2115         (emit_automatics): Rename to emit_variables. Support variable
2116         indentation of its output.
2117         (compile_test_optim): New function.
2118         (test_intrinsic): Call compile_test_optim.
2119         * config/arm/neon.ml (features): Add Compiler_optim.
2120         (ops): Add Compiler_optim feature to Vbic and Vorn.
2121         (type_in_crypto_only): Replace 'or' by '||'.
2122         (reinterp): Likewise.
2123         (reinterpq): Likewise.
2125 2014-11-18  Alan Lawrence  <alan.lawrence@arm.com>
2127         * config/aarch64/arm_neon.h (vld1_dup_f32, vld1_dup_f64, vld1_dup_p8,
2128         vld1_dup_p16, vld1_dup_s8, vld1_dup_s16, vld1_dup_s32, vld1_dup_s64,
2129         vld1_dup_u8, vld1_dup_u16, vld1_dup_u32, vld1_dup_u64, vld1q_dup_f32,
2130         vld1q_dup_f64, vld1q_dup_p8, vld1q_dup_p16, vld1q_dup_s8, vld1q_dup_s16,
2131         vld1q_dup_s32, vld1q_dup_s64, vld1q_dup_u8, vld1q_dup_u16,
2132         vld1q_dup_u32, vld1q_dup_u64): Replace inline asm with vdup_n_ and
2133         pointer dereference.
2135 2014-11-18  Marc Glisse  <marc.glisse@inria.fr>
2137         * tree.c (element_mode, integer_truep): New functions.
2138         * tree.h (element_mode, integer_truep): Declare them.
2139         * fold-const.c (negate_expr_p, fold_negate_expr, combine_comparisons,
2140         fold_cond_expr_with_comparison, fold_real_zero_addition_p,
2141         fold_comparison, fold_ternary_loc, tree_call_nonnegative_warnv_p,
2142         fold_strip_sign_ops): Use element_mode.
2143         (fold_binary_loc): Use element_mode and element_precision.
2144         * match.pd: Use integer_truep, element_mode, element_precision,
2145         VECTOR_TYPE_P and build_one_cst. Extend some transformations to
2146         vectors. Simplify A/-A.
2148 2014-11-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2150         * config/arm/arm.md (unaligned_loaddi): Use std::swap instead of
2151         manual swapping implementation.
2152         (movcond_addsi): Likewise.
2153         * config/arm/arm.c (arm_canonicalize_comparison): Likewise.
2154         (arm_select_dominance_cc_mode): Likewise.
2155         (arm_reload_out_hi): Likewise.
2156         (gen_operands_ldrd_strd): Likewise.
2157         (output_move_double): Likewise.
2158         (arm_print_operand_address): Likewise.
2159         (thumb_output_move_mem_multiple): Likewise.
2160         (SWAP_RTX): Delete.
2162 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2164         * config/arm/arm-builtins.c (CONVERT_QUALIFIERS): Delete.
2165         (COPYSIGNF_QUALIFIERS): Likewise.
2166         (CREATE_QUALIFIERS): Likewise.
2167         (DUP_QUALIFIERS): Likewise.
2168         (FLOAT_WIDEN_QUALIFIERS): Likewise.
2169         (FLOAT_NARROW_QUALIFIERS): Likewise.
2170         (REINTERP_QUALIFIERS): Likewise.
2171         (RINT_QUALIFIERS): Likewise.
2172         (SPLIT_QUALIFIERS): Likewise.
2173         (FIXCONV_QUALIFIERS): Likewise.
2174         (SCALARMUL_QUALIFIERS): Likewise.
2175         (SCALARMULL_QUALIFIERS): Likewise.
2176         (SCALARMULH_QUALIFIERS): Likewise.
2177         (SELECT_QUALIFIERS): Likewise.
2178         (VTBX_QUALIFIERS): Likewise.
2179         (SHIFTIMM_QUALIFIERS): Likewise.
2180         (SCALARMAC_QUALIFIERS): Likewise.
2181         (LANEMUL_QUALIFIERS): Likewise.
2182         (LANEMULH_QUALIFIERS): Likewise.
2183         (LANEMULL_QUALIFIERS): Likewise.
2184         (SHIFTACC_QUALIFIERS): Likewise.
2185         (SHIFTINSERT_QUALIFIERS): Likewise.
2186         (VTBL_QUALIFIERS): Likewise.
2187         (LOADSTRUCT_QUALIFIERS): Likewise.
2188         (LOADSTRUCTLANE_QUALIFIERS): Likewise.
2189         (STORESTRUCT_QUALIFIERS): Likewise.
2190         (STORESTRUCTLANE_QUALIFIERS): Likewise.
2191         (neon_builtin_type_mode): Delete.
2192         (v8qi_UP): Map to V8QImode.
2193         (v8qi_UP): Map to V8QImode.
2194         (v4hi_UP): Map to V4HImode.
2195         (v4hf_UP): Map to V4HFmode.
2196         (v2si_UP): Map to V2SImode.
2197         (v2sf_UP): Map to V2SFmode.
2198         (di_UP): Map to DImode.
2199         (v16qi_UP): Map to V16QImode.
2200         (v8hi_UP): Map to V8HImode.
2201         (v4si_UP): Map to V4SImode.
2202         (v4sf_UP): Map to V4SFmode.
2203         (v2di_UP): Map to V2DImode.
2204         (ti_UP): Map to TImode.
2205         (ei_UP): Map to EImode.
2206         (oi_UP): Map to OImode.
2207         (neon_itype): Delete.
2208         (neon_builtin_datum): Remove itype, make mode a machine_mode.
2209         (VAR1): Update accordingly.
2210         (arm_init_neon_builtins): Use machine_mode directly.
2211         (neon_dereference_pointer): Likewise.
2212         (arm_expand_neon_args): Use qualifiers to decide operand types.
2213         (arm_expand_neon_builtin): Likewise.
2214         * config/arm/arm_neon_builtins.def: Remap operation type for
2215         many builtins.
2217 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2219         * config/arm/arm-builtins.c (arm_scalar_builtin_types): New.
2220         (enum arm_simd_type): Likewise.
2221         (struct arm_simd_type_info): Likewise
2222         (arm_mangle_builtin_scalar_type): Likewise.
2223         (arm_mangle_builtin_vector_type): Likewise.
2224         (arm_mangle_builtin_type): Likewise.
2225         (arm_simd_builtin_std_type): Likewise.
2226         (arm_lookup_simd_builtin_type): Likewise.
2227         (arm_simd_builtin_type): Likewise.
2228         (arm_init_simd_builtin_types): Likewise.
2229         (arm_init_simd_builtin_scalar_types): Likewise.
2230         (arm_init_neon_builtins): Rewrite using qualifiers.
2231         * config/arm/arm-protos.h (arm_mangle_builtin_type): New.
2232         * config/arm/arm-simd-builtin-types.def: New file.
2233         * config/arm/t-arm (arm-builtins.o): Depend on it.
2234         * config/arm/arm.c (arm_mangle_type): Call arm_mangle_builtin_type.
2235         * config/arm/arm_neon.h (int8x8_t): Use new internal type.
2236         (int16x4_t): Likewise.
2237         (int32x2_t): Likewise.
2238         (float16x4_t): Likewise.
2239         (float32x2_t): Likewise.
2240         (poly8x8_t): Likewise.
2241         (poly16x4_t): Likewise.
2242         (uint8x8_t): Likewise.
2243         (uint16x4_t): Likewise.
2244         (uint32x2_t): Likewise.
2245         (int8x16_t): Likewise.
2246         (int16x8_t): Likewise.
2247         (int32x4_t): Likewise.
2248         (int64x2_t): Likewise.
2249         (float32x4_t): Likewise.
2250         (poly8x16_t): Likewise.
2251         (poly16x8_t): Likewise.
2252         (uint8x16_t): Likewise.
2253         (uint16x8_t): Likewise.
2254         (uint32x4_t): Likewise.
2255         (uint64x2_t): Likewise.
2257 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2259         * gcc/config/arm/arm-builtins.c (arm_type_qualifiers): New.
2260         (neon_itype): Add new types corresponding to the types used in
2261         qualifiers names.
2262         (arm_unop_qualifiers): New.
2263         (arm_bswap_qualifiers): Likewise.
2264         (arm_binop_qualifiers): Likewise.
2265         (arm_ternop_qualifiers): Likewise.
2266         (arm_getlane_qualifiers): Likewise.
2267         (arm_lanemac_qualifiers): Likewise.
2268         (arm_setlane_qualifiers): Likewise.
2269         (arm_combine_qualifiers): Likewise.
2270         (arm_load1_qualifiers): Likewise.
2271         (arm_load1_lane_qualifiers): Likewise.
2272         (arm_store1_qualifiers): Likewise.
2273         (arm_storestruct_lane_qualifiers): Likewise.
2274         (UNOP_QUALIFIERS): Likewise.
2275         (DUP_QUALIFIERS): Likewise.
2276         (SPLIT_QUALIFIERS): Likewise.
2277         (CONVERT_QUALIFIERS): Likewise.
2278         (FLOAT_WIDEN_QUALIFIERS): Likewise.
2279         (FLOAT_NARROW_QUALIFIERS): Likewise.
2280         (RINT_QUALIFIERS): Likewise.
2281         (COPYSIGNF_QUALIFIERS): Likewise.
2282         (CREATE_QUALIFIERS): Likewise.
2283         (REINTERP_QUALIFIERS): Likewise.
2284         (BSWAP_QUALIFIERS): Likewise.
2285         (BINOP_QUALIFIERS): Likewise.
2286         (FIXCONV_QUALIFIERS): Likewise.
2287         (SCALARMUL_QUALIFIERS): Likewise.
2288         (SCALARMULL_QUALIFIERS): Likewise.
2289         (SCALARMULH_QUALIFIERS): Likewise.
2290         (TERNOP_QUALIFIERS): Likewise.
2291         (SELECT_QUALIFIERS): Likewise.
2292         (VTBX_QUALIFIERS): Likewise.
2293         (GETLANE_QUALIFIERS): Likewise.
2294         (SHIFTIMM_QUALIFIERS): Likewise.
2295         (LANEMAC_QUALIFIERS): Likewise.
2296         (SCALARMAC_QUALIFIERS): Likewise.
2297         (SETLANE_QUALIFIERS): Likewise.
2298         (SHIFTINSERT_QUALIFIERS): Likewise.
2299         (SHIFTACC_QUALIFIERS): Likewise.
2300         (LANEMUL_QUALIFIERS): Likewise.
2301         (LANEMULL_QUALIFIERS): Likewise.
2302         (LANEMULH_QUALIFIERS): Likewise.
2303         (COMBINE_QUALIFIERS): Likewise.
2304         (VTBL_QUALIFIERS): Likewise.
2305         (LOAD1_QUALIFIERS): Likewise.
2306         (LOADSTRUCT_QUALIFIERS): Likewise.
2307         (LOAD1LANE_QUALIFIERS): Likewise.
2308         (LOADSTRUCTLANE_QUALIFIERS): Likewise.
2309         (STORE1_QUALIFIERS): Likewise.
2310         (STORESTRUCT_QUALIFIERS): Likewise.
2311         (STORE1LANE_QUALIFIERS): Likewise.
2312         (STORESTRUCTLANE_QUALIFIERS): Likewise.
2313         (neon_builtin_datum): Keep track of qualifiers.
2314         (VAR1): Likewise.
2316 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2318         * config/arm/arm-builtins.c (VAR1): Add a comma.
2319         (VAR2): Rewrite in terms of VAR1.
2320         (VAR3-10): Likewise.
2321         (arm_builtins): Remove leading comma before ARM_BUILTIN_MAX.
2322         * config/arm/arm_neon_builtins.def: Remove trailing commas.
2324 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2326         * config.gcc (extra_objs): Add arm-builtins.o for arm*-*-*.
2327         (target_gtfiles): Add config/arm/arm-builtins.c for arm*-*-*.
2328         * config/arm/arm-builtins.c: New.
2329         * config/arm/t-arm (arm_builtins.o): New.
2330         * config/arm/arm-protos.h (arm_expand_builtin): New.
2331         (arm_builtin_decl): Likewise.
2332         (arm_init_builtins): Likewise.
2333         (arm_atomic_assign_expand_fenv): Likewise.
2334         * config/arm/arm.c (arm_atomic_assign_expand_fenv): Remove prototype.
2335         (arm_init_builtins): Likewise.
2336         (arm_init_iwmmxt_builtins): Likewise
2337         (safe_vector_operand): Likewise
2338         (arm_expand_binop_builtin): Likewise
2339         (arm_expand_unop_builtin): Likewise
2340         (arm_expand_builtin): Likewise
2341         (arm_builtin_decl): Likewise
2342         (insn_flags): Remove static.
2343         (tune_flags): Likewise.
2344         (enum arm_builtins): Move to config/arm/arm-builtins.c.
2345         (arm_init_neon_builtins): Likewise.
2346         (struct builtin_description): Likewise.
2347         (arm_init_iwmmxt_builtins): Likewise.
2348         (arm_init_fp16_builtins): Likewise.
2349         (arm_init_crc32_builtins): Likewise.
2350         (arm_init_builtins): Likewise.
2351         (arm_builtin_decl): Likewise.
2352         (safe_vector_operand): Likewise.
2353         (arm_expand_ternop_builtin): Likewise.
2354         (arm_expand_binop_builtin): Likewise.
2355         (arm_expand_unop_builtin): Likewise.
2356         (neon_dereference_pointer): Likewise.
2357         (arm_expand_neon_args): Likewise.
2358         (arm_expand_neon_builtin): Likewise.
2359         (neon_split_vcombine): Likewise.
2360         (arm_expand_builtin): Likewise.
2361         (arm_builtin_vectorized_function): Likewise.
2362         (arm_atomic_assign_expand_fenv): Likewise.
2364 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2366         * config/arm/t-arm (arm.o): Include arm-protos.h in the recipe.
2367         * config/arm/arm.c (FL_CO_PROC): Move to arm-protos.h.
2368         (FL_ARCH3M): Likewise.
2369         (FL_MODE26): Likewise.
2370         (FL_MODE32): Likewise.
2371         (FL_ARCH4): Likewise.
2372         (FL_ARCH5): Likewise.
2373         (FL_THUMB): Likewise.
2374         (FL_LDSCHED): Likewise.
2375         (FL_STRONG): Likewise.
2376         (FL_ARCH5E): Likewise.
2377         (FL_XSCALE): Likewise.
2378         (FL_ARCH6): Likewise.
2379         (FL_VFPV2): Likewise.
2380         (FL_WBUF): Likewise.
2381         (FL_ARCH6K): Likewise.
2382         (FL_THUMB2): Likewise.
2383         (FL_NOTM): Likewise.
2384         (FL_THUMB_DIV): Likewise.
2385         (FL_VFPV3): Likewise.
2386         (FL_NEON): Likewise.
2387         (FL_ARCH7EM): Likewise.
2388         (FL_ARCH7): Likewise.
2389         (FL_ARM_DIV): Likewise.
2390         (FL_ARCH8): Likewise.
2391         (FL_CRC32): Likewise.
2392         (FL_SMALLMUL): Likewise.
2393         (FL_IWMMXT): Likewise.
2394         (FL_IWMMXT2): Likewise.
2395         (FL_TUNE): Likewise.
2396         (FL_FOR_ARCH2): Likewise.
2397         (FL_FOR_ARCH3): Likewise.
2398         (FL_FOR_ARCH3M): Likewise.
2399         (FL_FOR_ARCH4): Likewise.
2400         (FL_FOR_ARCH4T): Likewise.
2401         (FL_FOR_ARCH5): Likewise.
2402         (FL_FOR_ARCH5T): Likewise.
2403         (FL_FOR_ARCH5E): Likewise.
2404         (FL_FOR_ARCH5TE): Likewise.
2405         (FL_FOR_ARCH5TEJ): Likewise.
2406         (FL_FOR_ARCH6): Likewise.
2407         (FL_FOR_ARCH6J): Likewise.
2408         (FL_FOR_ARCH6K): Likewise.
2409         (FL_FOR_ARCH6Z): Likewise.
2410         (FL_FOR_ARCH6ZK): Likewise.
2411         (FL_FOR_ARCH6T2): Likewise.
2412         (FL_FOR_ARCH6M): Likewise.
2413         (FL_FOR_ARCH7): Likewise.
2414         (FL_FOR_ARCH7A): Likewise.
2415         (FL_FOR_ARCH7VE): Likewise.
2416         (FL_FOR_ARCH7R): Likewise.
2417         (FL_FOR_ARCH7M): Likewise.
2418         (FL_FOR_ARCH7EM): Likewise.
2419         (FL_FOR_ARCH8A): Likewise.
2420         * config/arm/arm-protos.h: Take definitions moved from arm.c.
2422 2014-11-18  James Greenhalgh  <james.greenhalgh@arm.com>
2424         * config/arm/arm.c (arm_expand_neon_builtin): Remove "Magic Word"
2425         parameter, rearrange switch statement accordingly.
2426         (arm_evpc_neon_vrev): Remove "Magic Word".
2427         * config/arm/unspecs.md (unspec): Split many UNSPECs to
2428         rounding, or signed/unsigned variants.
2429         * config/arm/neon.md (vcond<mode><mode>): Remove "Magic Word" code.
2430         (vcondu<mode><mode>): Likewise.
2431         (neon_vadd): Remove "Magic Word" operand.
2432         (neon_vaddl): Remove "Magic Word" operand, convert to use
2433         signed/unsigned iterator.
2434         (neon_vaddw): Likewise.
2435         (neon_vhadd): Likewise, also iterate over "rounding" forms.
2436         (neon_vqadd): Remove "Magic Word" operand, convert to use
2437         signed/unsigned iterator.
2438         (neon_v<r>addhn): Remove "Magic Word" operand, convert to iterate
2439         over "rounding" forms.
2440         (neon_vmul): Remove "Magic Word" operand, iterate over
2441         polynomial/float instruction forms.
2442         (neon_vmla): Remove "Magic Word" operand.
2443         (neon_vfma): Likewise.
2444         (neon_vfms): Likewise.
2445         (neon_vmls): Likewise.
2446         (neon_vmlal): Remove "Magic Word" operand, iterate over
2447         signed/unsigned forms.
2448         (neon_vmlsl): Likewise.
2449         (neon_vqdmulh): Remove "Magic Word" operand, iterate over "rounding"
2450         forms.
2451         (neon_vqdmlal): Remove "Magic Word" operand, iterate over
2452         signed/unsigned forms.
2453         (neon_vqdmlsl): Likewise.
2454         (neon_vmull): Likewise.
2455         (neon_vqdmull): Remove "Magic Word" operand.
2456         (neon_vsub): Remove "Magic Word" operand.
2457         (neon_vsubl): Remove "Magic Word" operand, convert to use
2458         signed/unsigned iterator.
2459         (neon_vsubw): Likewise.
2460         (neon_vhsub): Likewise.
2461         (neon_vqsub): Likewise.
2462         (neon_v<r>subhn): Remove "Magic Word" operand, convert to iterate
2463         over "rounding" forms.
2464         (neon_vceq): Remove "Magic Word" operand.
2465         (neon_vcge): Likewise.
2466         (neon_vcgeu): Likewise.
2467         (neon_vcgt): Likewise.
2468         (neon_vcgtu): Likewise.
2469         (neon_vcle): Likewise.
2470         (neon_vclt): Likewise.
2471         (neon_vcage): Likewise.
2472         (neon_vcagt): Likewise.
2473         (neon_vabd): Remove "Magic Word" operand, iterate over
2474         signed/unsigned forms, and split out...
2475         (neon_vabdf): ...this as new.
2476         (neon_vabdl): Remove "Magic Word" operand, iterate over
2477         signed/unsigned forms.
2478         (neon_vaba): Likewise.
2479         (neon_vmax): Remove "Magic Word" operand, iterate over
2480         signed/unsigned and max/min forms, and split out...
2481         (neon_v<maxmin>f): ...this as new.
2482         (neon_vmin): Delete.
2483         (neon_vpadd): Remove "Magic Word" operand.
2484         (neon_vpaddl): Remove "Magic Word" operand, iterate over
2485         signed/unsigned variants.
2486         (neon_vpadal): Likewise.
2487         (neon_vpmax): Remove "Magic Word" operand, iterate over
2488         signed/unsigned and max/min forms, and split out...
2489         (neon_vp<maxmin>f): ...this as new.
2490         (neon_vpmin): Delete.
2491         (neon_vrecps): Remove "Magic Word" operand.
2492         (neon_vrsqrts): Likewise.
2493         (neon_vabs): Likewise.
2494         (neon_vqabs): Likewise.
2495         (neon_vneg): Likewise.
2496         (neon_vqneg): Likewise.
2497         (neon_vcls): Likewise.
2498         (neon_vcnt): Likewise.
2499         (neon_vrecpe): Likewise.
2500         (neon_vrsqrte): Likewise.
2501         (neon_vmvn): Likewise.
2502         (neon_vget_lane): Likewise.
2503         (neon_vget_laneu): New.
2504         (neon_vget_lanedi): Remove "Magic Word" operand.
2505         (neon_vget_lanev2di): Likewise.
2506         (neon_vcvt): Remove "Magic Word" operand, iterate over
2507         signed/unsigned variants.
2508         (neon_vcvt_n): Likewise.
2509         (neon_vmovn): Remove "Magic Word" operand.
2510         (neon_vqmovn): Remove "Magic Word" operand, iterate over
2511         signed/unsigned variants.
2512         (neon_vmovun): Remove "Magic Word" operand.
2513         (neon_vmovl): Remove "Magic Word" operand, iterate over
2514         signed/unsigned variants.
2515         (neon_vmul_lane): Remove "Magic Word" operand.
2516         (neon_vmull_lane): Remove "Magic Word" operand, iterate over
2517         signed/unsigned variants.
2518         (neon_vqdmull_lane): Remove "Magic Word" operand.
2519         (neon_vqdmulh_lane): Remove "Magic Word" operand, iterate over
2520         rounding variants.
2521         (neon_vmla_lane): Remove "Magic Word" operand.
2522         (neon_vmlal_lane): Remove "Magic Word" operand, iterate over
2523         signed/unsigned variants.
2524         (neon_vqdmlal_lane): Remove "Magic Word" operand.
2525         (neon_vmls_lane): Likewise.
2526         (neon_vmlsl_lane): Remove "Magic Word" operand, iterate over
2527         signed/unsigned variants.
2528         (neon_vqdmlsl_lane): Remove "Magic Word" operand.
2529         (neon_vmul_n): Remove "Magic Word" operand.
2530         (neon_vmull_n): Rename to...
2531         (neon_vmulls_n): ...this, remove "Magic Word" operand.
2532         (neon_vmullu_n): New.
2533         (neon_vqdmull_n): Remove "Magic Word" operand.
2534         (neon_vqdmulh_n): Likewise.
2535         (neon_vqrdmulh_n): New.
2536         (neon_vmla_n): Remove "Magic Word" operand.
2537         (neon_vmls_n): Likewise.
2538         (neon_vmlal_n): Rename to...
2539         (neon_vmlals_n): ...this, remove "Magic Word" operand.
2540         (neon_vmlalu_n): New.
2541         (neon_vqdmlal_n): Remove "Magic Word" operand.
2542         (neon_vmlsl_n): Rename to...
2543         (neon_vmlsls_n): ...this, remove "Magic Word" operand.
2544         (neon_vmlslu_n): New.
2545         (neon_vqdmlsl_n): Remove "Magic Word" operand.
2546         (neon_vrev64): Remove "Magic Word" operand.
2547         (neon_vrev32): Likewise.
2548         (neon_vrev16): Likewise.
2549         (neon_vshl): Remove "Magic Word" operand, iterate over
2550         signed/unsigned and "rounding" forms.
2551         (neon_vqshl): Likewise.
2552         (neon_vshr_n): Likewise.
2553         (neon_vshrn_n): Remove "Magic Word" operand, iterate over
2554         "rounding" forms.
2555         (neon_vqshrn_n): Remove "Magic Word" operand, iterate over
2556         signed/unsigned and "rounding" forms.
2557         (neon_vqshrun_n): Remove "Magic Word" operand, iterate over
2558         "rounding" forms.
2559         (neon_vshl_n): Remove "Magic Word" operand.
2560         (neon_vqshl_n): Remove "Magic Word" operand, iterate over
2561         signed/unsigned variants.
2562         (neon_vqshlu_n): Remove "Magic Word" operand.
2563         (neon_vshll_n): Remove "Magic Word" operand, iterate over
2564         signed/unsigned variants.
2565         (neon_vsra_n): Remove "Magic Word" operand, iterate over
2566         signed/unsigned and "rounding" forms.
2567         * config/arm/iterators.md (VPF): New.
2568         (VADDL): Likewise.
2569         (VADDW): Likewise.
2570         (VHADD): Likewise.
2571         (VQADD): Likewise.
2572         (VADDHN): Likewise.
2573         (VMLAL): Likewise.
2574         (VMLAL_LANE): Likewise.
2575         (VLMSL): Likewise.
2576         (VMLSL_LANE): Likewise.
2577         (VQDMULH): Likewise,
2578         (VQDMULH_LANE): Likewise.
2579         (VMULL): Likewise.
2580         (VMULL_LANE): Likewise.
2581         (VSUBL): Likewise.
2582         (VSUBW): Likewise.
2583         (VHSUB): Likewise.
2584         (VQSUB): Likewise.
2585         (VSUBHN): Likewise.
2586         (VABD): Likewise.
2587         (VABDL): Likewise.
2588         (VMAXMIN): Likewise.
2589         (VMAXMINF): Likewise.
2590         (VPADDL): Likewise.
2591         (VPADAL): Likewise.
2592         (VPMAXMIN): Likewise.
2593         (VPMAXMINF): Likewise.
2594         (VCVT_US): Likewise.
2595         (VCVT_US_N): Likewise.
2596         (VQMOVN): Likewise.
2597         (VMOVL): Likewise.
2598         (VSHL): Likewise.
2599         (VQSHL): Likewise.
2600         (VSHR_N): Likewise.
2601         (VSHRN_N): Likewise.
2602         (VQSHRN_N): Likewise.
2603         (VQSHRUN_N): Likewise.
2604         (VQSHL_N): Likewise.
2605         (VSHLL_N): Likewise.
2606         (VSRA_N): Likewise.
2607         (pf): Likewise.
2608         (sup): Likewise.
2609         (r): Liekwise.
2610         (maxmin): Likewise.
2611         (shift_op): Likewise.
2612         * config/arm/arm_neon_builtins.def (vaddl): Split to...
2613         (vaddls): ...this and...
2614         (vaddlu): ...this.
2615         (vaddw): Split to...
2616         (vaddws): ...this and...
2617         (vaddwu): ...this.
2618         (vhadd): Split to...
2619         (vhadds): ...this and...
2620         (vhaddu): ...this and...
2621         (vrhadds): ...this and...
2622         (vrhaddu): ...this.
2623         (vqadd): Split to...
2624         (vqadds): ...this and...
2625         (vqaddu): ...this.
2626         (vaddhn): Split to itself and...
2627         (vraddhn): ...this.
2628         (vmul): Split to...
2629         (vmulf): ...this and...
2630         (vmulp): ...this.
2631         (vmlal): Split to...
2632         (vmlals): ...this and...
2633         (vmlalu): ...this.
2634         (vmlsl): Split to...
2635         (vmlsls): ...this and...
2636         (vmlslu): ...this.
2637         (vqdmulh): Split to itself and...
2638         (vqrdmulh): ...this.
2639         (vmull): Split to...
2640         (vmullp): ...this and...
2641         (vmulls): ...this and...
2642         (vmullu): ...this.
2643         (vmull_n): Split to...
2644         (vmulls_n): ...this and...
2645         (vmullu_n): ...this.
2646         (vmull_lane): Split to...
2647         (vmulls_lane): ...this and...
2648         (vmullu_lane): ...this.
2649         (vqdmulh_n): Split to itself and...
2650         (vqrdmulh_n): ...this.
2651         (vqdmulh_lane): Split to itself and...
2652         (vqrdmulh_lane): ...this.
2653         (vshl): Split to...
2654         (vshls): ...this and...
2655         (vshlu): ...this and...
2656         (vrshls): ...this and...
2657         (vrshlu): ...this.
2658         (vqshl): Split to...
2659         (vqshls): ...this and...
2660         (vqrshlu): ...this and...
2661         (vqrshls): ...this and...
2662         (vqrshlu): ...this.
2663         (vshr_n): Split to...
2664         (vshrs_n): ...this and...
2665         (vshru_n): ...this and...
2666         (vrshrs_n): ...this and...
2667         (vrshru_n): ...this.
2668         (vshrn_n): Split to itself and...
2669         (vrshrn_n): ...this.
2670         (vqshrn_n): Split to...
2671         (vqshrns_n): ...this and...
2672         (vqshrnu_n): ...this and...
2673         (vqrshrns_n): ...this and...
2674         (vqrshrnu_n): ...this.
2675         (vqshrun_n): Split to itself and...
2676         (vqrshrun_n): ...this.
2677         (vqshl_n): Split to...
2678         (vqshl_s_n): ...this and...
2679         (vqshl_u_n): ...this.
2680         (vshll_n): Split to...
2681         (vshlls_n): ...this and...
2682         (vshllu_n): ...this.
2683         (vsra_n): Split to...
2684         (vsras_n): ...this and...
2685         (vsrau_n): ...this and.
2686         (vrsras_n): ...this and...
2687         (vrsrau_n): ...this and.
2688         (vsubl): Split to...
2689         (vsubls): ...this and...
2690         (vsublu): ...this.
2691         (vsubw): Split to...
2692         (vsubws): ...this and...
2693         (vsubwu): ...this.
2694         (vqsub): Split to...
2695         (vqsubs): ...this and...
2696         (vqsubu): ...this.
2697         (vhsub): Split to...
2698         (vhsubs): ...this and...
2699         (vhsubu): ...this.
2700         (vsubhn): Split to itself and...
2701         (vrsubhn): ...this.
2702         (vabd): Split to...
2703         (vabds): ...this and...
2704         (vabdu): ...this and...
2705         (vabdf): ...this.
2706         (vabdl): Split to...
2707         (vabdls): ...this and...
2708         (vabdlu): ...this.
2709         (vaba): Split to...
2710         (vabas): ...this and...
2711         (vabau): ...this and...
2712         (vabal): Split to...
2713         (vabals): ...this and...
2714         (vabalu): ...this.
2715         (vmax): Split to...
2716         (vmaxs): ...this and...
2717         (vmaxu): ...this and...
2718         (vmaxf): ...this.
2719         (vmin): Split to...
2720         (vmins): ...this and...
2721         (vminu): ...this and...
2722         (vminf): ...this.
2723         (vpmax): Split to...
2724         (vpmaxs): ...this and...
2725         (vpmaxu): ...this and...
2726         (vpmaxf): ...this.
2727         (vpmin): Split to...
2728         (vpmins): ...this and...
2729         (vpminu): ...this and...
2730         (vpminf): ...this.
2731         (vpaddl): Split to...
2732         (vpaddls): ...this and...
2733         (vpaddlu): ...this.
2734         (vpadal): Split to...
2735         (vpadals): ...this and...
2736         (vpadalu): ...this.
2737         (vget_laneu): New.
2738         (vqmovn): Split to...
2739         (vqmovns): ...this and...
2740         (vqmovnu): ...this.
2741         (vmovl): Split to...
2742         (vmovls): ...this and...
2743         (vmovlu): ...this.
2744         (vmlal_lane): Split to...
2745         (vmlals_lane): ...this and...
2746         (vmlalu_lane): ...this.
2747         (vmlsl_lane): Split to...
2748         (vmlsls_lane): ...this and...
2749         (vmlslu_lane): ...this.
2750         (vmlal_n): Split to...
2751         (vmlals_n): ...this and...
2752         (vmlalu_n): ...this.
2753         (vmlsl_n): Split to...
2754         (vmlsls_n): ...this and...
2755         (vmlslu_n): ...this.
2756         (vext): Make type "SHIFTINSERT".
2757         (vcvt): Split to...
2758         (vcvts): ...this and...
2759         (vcvtu): ...this.
2760         (vcvt_n): Split to...
2761         (vcvts_n): ...this and...
2762         (vcvtu_n): ...this.
2763         * config/arm/arm_neon.h (vaddl_s8): Remove "Magic Word".
2764         (vaddl_s16): Likewise.
2765         (vaddl_s32): Likewise.
2766         (vaddl_u8): Likewise.
2767         (vaddl_u16): Likewise.
2768         (vaddl_u32): Likewise.
2769         (vaddw_s8): Likewise.
2770         (vaddw_s16): Likewise.
2771         (vaddw_s32): Likewise.
2772         (vaddw_u8): Likewise.
2773         (vaddw_u16): Likewise.
2774         (vaddw_u32): Likewise.
2775         (vhadd_s8): Likewise.
2776         (vhadd_s16): Likewise.
2777         (vhadd_s32): Likewise.
2778         (vhadd_u8): Likewise.
2779         (vhadd_u16): Likewise.
2780         (vhadd_u32): Likewise.
2781         (vhaddq_s8): Likewise.
2782         (vhaddq_s16): Likewise.
2783         (vhaddq_s32): Likewise.
2784         (vhaddq_u8): Likewise.
2785         (vhaddq_u16): Likewise.
2786         (vrhadd_s8): Likewise.
2787         (vrhadd_s16): Likewise.
2788         (vrhadd_s32): Likewise.
2789         (vrhadd_u8): Likewise.
2790         (vrhadd_u16): Likewise.
2791         (vrhadd_u32): Likewise.
2792         (vrhaddq_s8): Likewise.
2793         (vrhaddq_s16): Likewise.
2794         (vrhaddq_s32): Likewise.
2795         (vrhaddq_u8): Likewise.
2796         (vrhaddq_u16): Likewise.
2797         (vrhaddq_u32): Likewise.
2798         (vqadd_s8): Likewise.
2799         (vqadd_s16): Likewise.
2800         (vqadd_s32): Likewise.
2801         (vqadd_s64): Likewise.
2802         (vqadd_u8): Likewise.
2803         (vqadd_u16): Likewise.
2804         (vqadd_u32): Likewise.
2805         (vqadd_u64): Likewise.
2806         (vqaddq_s8): Likewise.
2807         (vqaddq_s16): Likewise.
2808         (vqaddq_s32): Likewise.
2809         (vqaddq_s64): Likewise.
2810         (vqaddq_u8): Likewise.
2811         (vqaddq_u16): Likewise.
2812         (vqaddq_u32): Likewise.
2813         (vqaddq_u64): Likewise.
2814         (vaddhn_s16): Likewise.
2815         (vaddhn_s32): Likewise.
2816         (vaddhn_s64): Likewise.
2817         (vaddhn_u16): Likewise.
2818         (vaddhn_u32): Likewise.
2819         (vaddhn_u64): Likewise.
2820         (vraddhn_s16): Likewise.
2821         (vraddhn_s32): Likewise.
2822         (vraddhn_s64): Likewise.
2823         (vraddhn_u16): Likewise.
2824         (vraddhn_u32): Likewise.
2825         (vraddhn_u64): Likewise.
2826         (vmul_p8): Likewise.
2827         (vmulq_p8): Likewise.
2828         (vqdmulh_s16): Likewise.
2829         (vqdmulh_s32): Likewise.
2830         (vqdmulhq_s16): Likewise.
2831         (vqdmulhq_s32): Likewise.
2832         (vqrdmulh_s16): Likewise.
2833         (vqrdmulh_s32): Likewise.
2834         (vqrdmulhq_s16): Likewise.
2835         (vqrdmulhq_s32): Likewise.
2836         (vmull_s8): Likewise.
2837         (vmull_s16): Likewise.
2838         (vmull_s32): Likewise.
2839         (vmull_u8): Likewise.
2840         (vmull_u16): Likewise.
2841         (vmull_u32): Likewise.
2842         (vmull_p8): Likewise.
2843         (vqdmull_s16): Likewise.
2844         (vqdmull_s32): Likewise.
2845         (vmla_s8): Likewise.
2846         (vmla_s16): Likewise.
2847         (vmla_s32): Likewise.
2848         (vmla_f32): Likewise.
2849         (vmla_u8): Likewise.
2850         (vmla_u16): Likewise.
2851         (vmla_u32): Likewise.
2852         (vmlaq_s8): Likewise.
2853         (vmlaq_s16): Likewise.
2854         (vmlaq_s32): Likewise.
2855         (vmlaq_f32): Likewise.
2856         (vmlaq_u8): Likewise.
2857         (vmlaq_u16): Likewise.
2858         (vmlaq_u32): Likewise.
2859         (vmlal_s8): Likewise.
2860         (vmlal_s16): Likewise.
2861         (vmlal_s32): Likewise.
2862         (vmlal_u8): Likewise.
2863         (vmlal_u16): Likewise.
2864         (vmlal_u32): Likewise.
2865         (vqdmlal_s16): Likewise.
2866         (vqdmlal_s32): Likewise.
2867         (vmls_s8): Likewise.
2868         (vmls_s16): Likewise.
2869         (vmls_s32): Likewise.
2870         (vmls_f32): Likewise.
2871         (vmls_u8): Likewise.
2872         (vmls_u16): Likewise.
2873         (vmls_u32): Likewise.
2874         (vmlsq_s8): Likewise.
2875         (vmlsq_s16): Likewise.
2876         (vmlsq_s32): Likewise.
2877         (vmlsq_f32): Likewise.
2878         (vmlsq_u8): Likewise.
2879         (vmlsq_u16): Likewise.
2880         (vmlsq_u32): Likewise.
2881         (vmlsl_s8): Likewise.
2882         (vmlsl_s16): Likewise.
2883         (vmlsl_s32): Likewise.
2884         (vmlsl_u8): Likewise.
2885         (vmlsl_u16): Likewise.
2886         (vmlsl_u32): Likewise.
2887         (vqdmlsl_s16): Likewise.
2888         (vqdmlsl_s32): Likewise.
2889         (vfma_f32): Likewise.
2890         (vfmaq_f32): Likewise.
2891         (vfms_f32): Likewise.
2892         (vfmsq_f32): Likewise.
2893         (vsubl_s8): Likewise.
2894         (vsubl_s16): Likewise.
2895         (vsubl_s32): Likewise.
2896         (vsubl_u8): Likewise.
2897         (vsubl_u16): Likewise.
2898         (vsubl_u32): Likewise.
2899         (vsubw_s8): Likewise.
2900         (vsubw_s16): Likewise.
2901         (vsubw_s32): Likewise.
2902         (vsubw_u8): Likewise.
2903         (vsubw_u16): Likewise.
2904         (vsubw_u32): Likewise.
2905         (vhsub_s8): Likewise.
2906         (vhsub_s16): Likewise.
2907         (vhsub_s32): Likewise.
2908         (vhsub_u8): Likewise.
2909         (vhsub_u16): Likewise.
2910         (vhsub_u32): Likewise.
2911         (vhsubq_s8): Likewise.
2912         (vhsubq_s16): Likewise.
2913         (vhsubq_s32): Likewise.
2914         (vhsubq_u8): Likewise.
2915         (vhsubq_u16): Likewise.
2916         (vhsubq_u32): Likewise.
2917         (vqsub_s8): Likewise.
2918         (vqsub_s16): Likewise.
2919         (vqsub_s32): Likewise.
2920         (vqsub_s64): Likewise.
2921         (vqsub_u8): Likewise.
2922         (vqsub_u16): Likewise.
2923         (vqsub_u32): Likewise.
2924         (vqsub_u64): Likewise.
2925         (vqsubq_s8): Likewise.
2926         (vqsubq_s16): Likewise.
2927         (vqsubq_s32): Likewise.
2928         (vqsubq_s64): Likewise.
2929         (vqsubq_u8): Likewise.
2930         (vqsubq_u16): Likewise.
2931         (vqsubq_u32): Likewise.
2932         (vqsubq_u64): Likewise.
2933         (vsubhn_s16): Likewise.
2934         (vsubhn_s32): Likewise.
2935         (vsubhn_s64): Likewise.
2936         (vsubhn_u16): Likewise.
2937         (vsubhn_u32): Likewise.
2938         (vsubhn_u64): Likewise.
2939         (vrsubhn_s16): Likewise.
2940         (vrsubhn_s32): Likewise.
2941         (vrsubhn_s64): Likewise.
2942         (vrsubhn_u16): Likewise.
2943         (vrsubhn_u32): Likewise.
2944         (vrsubhn_u64): Likewise.
2945         (vceq_s8): Likewise.
2946         (vceq_s16): Likewise.
2947         (vceq_s32): Likewise.
2948         (vceq_f32): Likewise.
2949         (vceq_u8): Likewise.
2950         (vceq_u16): Likewise.
2951         (vceq_u32): Likewise.
2952         (vceq_p8): Likewise.
2953         (vceqq_s8): Likewise.
2954         (vceqq_s16): Likewise.
2955         (vceqq_s32): Likewise.
2956         (vceqq_f32): Likewise.
2957         (vceqq_u8): Likewise.
2958         (vceqq_u16): Likewise.
2959         (vceqq_u32): Likewise.
2960         (vceqq_p8): Likewise.
2961         (vcge_s8): Likewise.
2962         (vcge_s16): Likewise.
2963         (vcge_s32): Likewise.
2964         (vcge_f32): Likewise.
2965         (vcge_u8): Likewise.
2966         (vcge_u16): Likewise.
2967         (vcge_u32): Likewise.
2968         (vcgeq_s8): Likewise.
2969         (vcgeq_s16): Likewise.
2970         (vcgeq_s32): Likewise.
2971         (vcgeq_f32): Likewise.
2972         (vcgeq_u8): Likewise.
2973         (vcgeq_u16): Likewise.
2974         (vcgeq_u32): Likewise.
2975         (vcle_s8): Likewise.
2976         (vcle_s16): Likewise.
2977         (vcle_s32): Likewise.
2978         (vcle_f32): Likewise.
2979         (vcle_u8): Likewise.
2980         (vcle_u16): Likewise.
2981         (vcle_u32): Likewise.
2982         (vcleq_s8): Likewise.
2983         (vcleq_s16): Likewise.
2984         (vcleq_s32): Likewise.
2985         (vcleq_f32): Likewise.
2986         (vcleq_u8): Likewise.
2987         (vcleq_u16): Likewise.
2988         (vcleq_u32): Likewise.
2989         (vcgt_s8): Likewise.
2990         (vcgt_s16): Likewise.
2991         (vcgt_s32): Likewise.
2992         (vcgt_f32): Likewise.
2993         (vcgt_u8): Likewise.
2994         (vcgt_u16): Likewise.
2995         (vcgt_u32): Likewise.
2996         (vcgtq_s8): Likewise.
2997         (vcgtq_s16): Likewise.
2998         (vcgtq_s32): Likewise.
2999         (vcgtq_f32): Likewise.
3000         (vcgtq_u8): Likewise.
3001         (vcgtq_u16): Likewise.
3002         (vcgtq_u32): Likewise.
3003         (vclt_s8): Likewise.
3004         (vclt_s16): Likewise.
3005         (vclt_s32): Likewise.
3006         (vclt_f32): Likewise.
3007         (vclt_u8): Likewise.
3008         (vclt_u16): Likewise.
3009         (vclt_u32): Likewise.
3010         (vcltq_s8): Likewise.
3011         (vcltq_s16): Likewise.
3012         (vcltq_s32): Likewise.
3013         (vcltq_f32): Likewise.
3014         (vcltq_u8): Likewise.
3015         (vcltq_u16): Likewise.
3016         (vcltq_u32): Likewise.
3017         (vcage_f32): Likewise.
3018         (vcageq_f32): Likewise.
3019         (vcale_f32): Likewise.
3020         (vcaleq_f32): Likewise.
3021         (vcagt_f32): Likewise.
3022         (vcagtq_f32): Likewise.
3023         (vcalt_f32): Likewise.
3024         (vcaltq_f32): Likewise.
3025         (vtst_s8): Likewise.
3026         (vtst_s16): Likewise.
3027         (vtst_s32): Likewise.
3028         (vtst_u8): Likewise.
3029         (vtst_u16): Likewise.
3030         (vtst_u32): Likewise.
3031         (vtst_p8): Likewise.
3032         (vtstq_s8): Likewise.
3033         (vtstq_s16): Likewise.
3034         (vtstq_s32): Likewise.
3035         (vtstq_u8): Likewise.
3036         (vtstq_u16): Likewise.
3037         (vtstq_u32): Likewise.
3038         (vtstq_p8): Likewise.
3039         (vabd_s8): Likewise.
3040         (vabd_s16): Likewise.
3041         (vabd_s32): Likewise.
3042         (vabd_f32): Likewise.
3043         (vabd_u8): Likewise.
3044         (vabd_u16): Likewise.
3045         (vabd_u32): Likewise.
3046         (vabdq_s8): Likewise.
3047         (vabdq_s16): Likewise.
3048         (vabdq_s32): Likewise.
3049         (vabdq_f32): Likewise.
3050         (vabdq_u8): Likewise.
3051         (vabdq_u16): Likewise.
3052         (vabdq_u32): Likewise.
3053         (vabdl_s8): Likewise.
3054         (vabdl_s16): Likewise.
3055         (vabdl_s32): Likewise.
3056         (vabdl_u8): Likewise.
3057         (vabdl_u16): Likewise.
3058         (vabdl_u32): Likewise.
3059         (vaba_s8): Likewise.
3060         (vaba_s16): Likewise.
3061         (vaba_s32): Likewise.
3062         (vaba_u8): Likewise.
3063         (vaba_u16): Likewise.
3064         (vaba_u32): Likewise.
3065         (vabaq_s8): Likewise.
3066         (vabaq_s16): Likewise.
3067         (vabaq_s32): Likewise.
3068         (vabaq_u8): Likewise.
3069         (vabaq_u16): Likewise.
3070         (vabaq_u32): Likewise.
3071         (vabal_s8): Likewise.
3072         (vabal_s16): Likewise.
3073         (vabal_s32): Likewise.
3074         (vabal_u8): Likewise.
3075         (vabal_u16): Likewise.
3076         (vabal_u32): Likewise.
3077         (vmax_s8): Likewise.
3078         (vmax_s16): Likewise.
3079         (vmax_s32): Likewise.
3080         (vmax_f32): Likewise.
3081         (vmax_u8): Likewise.
3082         (vmax_u16): Likewise.
3083         (vmax_u32): Likewise.
3084         (vmaxq_s8): Likewise.
3085         (vmaxq_s16): Likewise.
3086         (vmaxq_s32): Likewise.
3087         (vmaxq_f32): Likewise.
3088         (vmaxq_u8): Likewise.
3089         (vmaxq_u16): Likewise.
3090         (vmaxq_u32): Likewise.
3091         (vmin_s8): Likewise.
3092         (vmin_s16): Likewise.
3093         (vmin_s32): Likewise.
3094         (vmin_f32): Likewise.
3095         (vmin_u8): Likewise.
3096         (vmin_u16): Likewise.
3097         (vmin_u32): Likewise.
3098         (vminq_s8): Likewise.
3099         (vminq_s16): Likewise.
3100         (vminq_s32): Likewise.
3101         (vminq_f32): Likewise.
3102         (vminq_u8): Likewise.
3103         (vminq_u16): Likewise.
3104         (vminq_u32): Likewise.
3105         (vpadd_s8): Likewise.
3106         (vpadd_s16): Likewise.
3107         (vpadd_s32): Likewise.
3108         (vpadd_f32): Likewise.
3109         (vpadd_u8): Likewise.
3110         (vpadd_u16): Likewise.
3111         (vpadd_u32): Likewise.
3112         (vpaddl_s8): Likewise.
3113         (vpaddl_s16): Likewise.
3114         (vpaddl_s32): Likewise.
3115         (vpaddl_u8): Likewise.
3116         (vpaddl_u16): Likewise.
3117         (vpaddl_u32): Likewise.
3118         (vpaddlq_s8): Likewise.
3119         (vpaddlq_s16): Likewise.
3120         (vpaddlq_s32): Likewise.
3121         (vpaddlq_u8): Likewise.
3122         (vpaddlq_u16): Likewise.
3123         (vpaddlq_u32): Likewise.
3124         (vpadal_s8): Likewise.
3125         (vpadal_s16): Likewise.
3126         (vpadal_s32): Likewise.
3127         (vpadal_u8): Likewise.
3128         (vpadal_u16): Likewise.
3129         (vpadal_u32): Likewise.
3130         (vpadalq_s8): Likewise.
3131         (vpadalq_s16): Likewise.
3132         (vpadalq_s32): Likewise.
3133         (vpadalq_u8): Likewise.
3134         (vpadalq_u16): Likewise.
3135         (vpadalq_u32): Likewise.
3136         (vpmax_s8): Likewise.
3137         (vpmax_s16): Likewise.
3138         (vpmax_s32): Likewise.
3139         (vpmax_f32): Likewise.
3140         (vpmax_u8): Likewise.
3141         (vpmax_u16): Likewise.
3142         (vpmax_u32): Likewise.
3143         (vpmin_s8): Likewise.
3144         (vpmin_s16): Likewise.
3145         (vpmin_s32): Likewise.
3146         (vpmin_f32): Likewise.
3147         (vpmin_u8): Likewise.
3148         (vpmin_u16): Likewise.
3149         (vpmin_u32): Likewise.
3150         (vrecps_f32): Likewise.
3151         (vrecpsq_f32): Likewise.
3152         (vrsqrts_f32): Likewise.
3153         (vrsqrtsq_f32): Likewise.
3154         (vshl_s8): Likewise.
3155         (vshl_s16): Likewise.
3156         (vshl_s32): Likewise.
3157         (vshl_s64): Likewise.
3158         (vshl_u8): Likewise.
3159         (vshl_u16): Likewise.
3160         (vshl_u32): Likewise.
3161         (vshl_u64): Likewise.
3162         (vshlq_s8): Likewise.
3163         (vshlq_s16): Likewise.
3164         (vshlq_s32): Likewise.
3165         (vshlq_s64): Likewise.
3166         (vshlq_u8): Likewise.
3167         (vshlq_u16): Likewise.
3168         (vshlq_u32): Likewise.
3169         (vshlq_u64): Likewise.
3170         (vrshl_s8): Likewise.
3171         (vrshl_s16): Likewise.
3172         (vrshl_s32): Likewise.
3173         (vrshl_s64): Likewise.
3174         (vrshl_u8): Likewise.
3175         (vrshl_u16): Likewise.
3176         (vrshl_u32): Likewise.
3177         (vrshl_u64): Likewise.
3178         (vrshlq_s8): Likewise.
3179         (vrshlq_s16): Likewise.
3180         (vrshlq_s32): Likewise.
3181         (vrshlq_s64): Likewise.
3182         (vrshlq_u8): Likewise.
3183         (vrshlq_u16): Likewise.
3184         (vrshlq_u32): Likewise.
3185         (vrshlq_u64): Likewise.
3186         (vqshl_s8): Likewise.
3187         (vqshl_s16): Likewise.
3188         (vqshl_s32): Likewise.
3189         (vqshl_s64): Likewise.
3190         (vqshl_u8): Likewise.
3191         (vqshl_u16): Likewise.
3192         (vqshl_u32): Likewise.
3193         (vqshl_u64): Likewise.
3194         (vqshlq_s8): Likewise.
3195         (vqshlq_s16): Likewise.
3196         (vqshlq_s32): Likewise.
3197         (vqshlq_s64): Likewise.
3198         (vqshlq_u8): Likewise.
3199         (vqshlq_u16): Likewise.
3200         (vqshlq_u32): Likewise.
3201         (vqshlq_u64): Likewise.
3202         (vqrshl_s8): Likewise.
3203         (vqrshl_s16): Likewise.
3204         (vqrshl_s32): Likewise.
3205         (vqrshl_s64): Likewise.
3206         (vqrshl_u8): Likewise.
3207         (vqrshl_u16): Likewise.
3208         (vqrshl_u32): Likewise.
3209         (vqrshl_u64): Likewise.
3210         (vqrshlq_s8): Likewise.
3211         (vqrshlq_s16): Likewise.
3212         (vqrshlq_s32): Likewise.
3213         (vqrshlq_s64): Likewise.
3214         (vqrshlq_u8): Likewise.
3215         (vqrshlq_u16): Likewise.
3216         (vqrshlq_u32): Likewise.
3217         (vqrshlq_u64): Likewise.
3218         (vshr_n_s8): Likewise.
3219         (vshr_n_s16): Likewise.
3220         (vshr_n_s32): Likewise.
3221         (vshr_n_s64): Likewise.
3222         (vshr_n_u8): Likewise.
3223         (vshr_n_u16): Likewise.
3224         (vshr_n_u32): Likewise.
3225         (vshr_n_u64): Likewise.
3226         (vshrq_n_s8): Likewise.
3227         (vshrq_n_s16): Likewise.
3228         (vshrq_n_s32): Likewise.
3229         (vshrq_n_s64): Likewise.
3230         (vshrq_n_u8): Likewise.
3231         (vshrq_n_u16): Likewise.
3232         (vshrq_n_u32): Likewise.
3233         (vshrq_n_u64): Likewise.
3234         (vrshr_n_s8): Likewise.
3235         (vrshr_n_s16): Likewise.
3236         (vrshr_n_s32): Likewise.
3237         (vrshr_n_s64): Likewise.
3238         (vrshr_n_u8): Likewise.
3239         (vrshr_n_u16): Likewise.
3240         (vrshr_n_u32): Likewise.
3241         (vrshr_n_u64): Likewise.
3242         (vrshrq_n_s8): Likewise.
3243         (vrshrq_n_s16): Likewise.
3244         (vrshrq_n_s32): Likewise.
3245         (vrshrq_n_s64): Likewise.
3246         (vrshrq_n_u8): Likewise.
3247         (vrshrq_n_u16): Likewise.
3248         (vrshrq_n_u32): Likewise.
3249         (vrshrq_n_u64): Likewise.
3250         (vshrn_n_s16): Likewise.
3251         (vshrn_n_s32): Likewise.
3252         (vshrn_n_s64): Likewise.
3253         (vshrn_n_u16): Likewise.
3254         (vshrn_n_u32): Likewise.
3255         (vshrn_n_u64): Likewise.
3256         (vrshrn_n_s16): Likewise.
3257         (vrshrn_n_s32): Likewise.
3258         (vrshrn_n_s64): Likewise.
3259         (vrshrn_n_u16): Likewise.
3260         (vrshrn_n_u32): Likewise.
3261         (vrshrn_n_u64): Likewise.
3262         (vqshrn_n_s16): Likewise.
3263         (vqshrn_n_s32): Likewise.
3264         (vqshrn_n_s64): Likewise.
3265         (vqshrn_n_u16): Likewise.
3266         (vqshrn_n_u32): Likewise.
3267         (vqshrn_n_u64): Likewise.
3268         (vqrshrn_n_s16): Likewise.
3269         (vqrshrn_n_s32): Likewise.
3270         (vqrshrn_n_s64): Likewise.
3271         (vqrshrn_n_u16): Likewise.
3272         (vqrshrn_n_u32): Likewise.
3273         (vqrshrn_n_u64): Likewise.
3274         (vqshrun_n_s16): Likewise.
3275         (vqshrun_n_s32): Likewise.
3276         (vqshrun_n_s64): Likewise.
3277         (vqrshrun_n_s16): Likewise.
3278         (vqrshrun_n_s32): Likewise.
3279         (vqrshrun_n_s64): Likewise.
3280         (vshl_n_s8): Likewise.
3281         (vshl_n_s16): Likewise.
3282         (vshl_n_s32): Likewise.
3283         (vshl_n_s64): Likewise.
3284         (vshl_n_u8): Likewise.
3285         (vshl_n_u16): Likewise.
3286         (vshl_n_u32): Likewise.
3287         (vshl_n_u64): Likewise.
3288         (vshlq_n_s8): Likewise.
3289         (vshlq_n_s16): Likewise.
3290         (vshlq_n_s32): Likewise.
3291         (vshlq_n_s64): Likewise.
3292         (vshlq_n_u8): Likewise.
3293         (vshlq_n_u16): Likewise.
3294         (vshlq_n_u32): Likewise.
3295         (vshlq_n_u64): Likewise.
3296         (vqshl_n_s8): Likewise.
3297         (vqshl_n_s16): Likewise.
3298         (vqshl_n_s32): Likewise.
3299         (vqshl_n_s64): Likewise.
3300         (vqshl_n_u8): Likewise.
3301         (vqshl_n_u16): Likewise.
3302         (vqshl_n_u32): Likewise.
3303         (vqshl_n_u64): Likewise.
3304         (vqshlq_n_s8): Likewise.
3305         (vqshlq_n_s16): Likewise.
3306         (vqshlq_n_s32): Likewise.
3307         (vqshlq_n_s64): Likewise.
3308         (vqshlq_n_u8): Likewise.
3309         (vqshlq_n_u16): Likewise.
3310         (vqshlq_n_u32): Likewise.
3311         (vqshlq_n_u64): Likewise.
3312         (vqshlu_n_s8): Likewise.
3313         (vqshlu_n_s16): Likewise.
3314         (vqshlu_n_s32): Likewise.
3315         (vqshlu_n_s64): Likewise.
3316         (vqshluq_n_s8): Likewise.
3317         (vqshluq_n_s16): Likewise.
3318         (vqshluq_n_s32): Likewise.
3319         (vqshluq_n_s64): Likewise.
3320         (vshll_n_s8): Likewise.
3321         (vshll_n_s16): Likewise.
3322         (vshll_n_s32): Likewise.
3323         (vshll_n_u8): Likewise.
3324         (vshll_n_u16): Likewise.
3325         (vshll_n_u32): Likewise.
3326         (vsra_n_s8): Likewise.
3327         (vsra_n_s16): Likewise.
3328         (vsra_n_s32): Likewise.
3329         (vsra_n_s64): Likewise.
3330         (vsra_n_u8): Likewise.
3331         (vsra_n_u16): Likewise.
3332         (vsra_n_u32): Likewise.
3333         (vsra_n_u64): Likewise.
3334         (vsraq_n_s8): Likewise.
3335         (vsraq_n_s16): Likewise.
3336         (vsraq_n_s32): Likewise.
3337         (vsraq_n_s64): Likewise.
3338         (vsraq_n_u8): Likewise.
3339         (vsraq_n_u16): Likewise.
3340         (vsraq_n_u32): Likewise.
3341         (vsraq_n_u64): Likewise.
3342         (vrsra_n_s8): Likewise.
3343         (vrsra_n_s16): Likewise.
3344         (vrsra_n_s32): Likewise.
3345         (vrsra_n_s64): Likewise.
3346         (vrsra_n_u8): Likewise.
3347         (vrsra_n_u16): Likewise.
3348         (vrsra_n_u32): Likewise.
3349         (vrsra_n_u64): Likewise.
3350         (vrsraq_n_s8): Likewise.
3351         (vrsraq_n_s16): Likewise.
3352         (vrsraq_n_s32): Likewise.
3353         (vrsraq_n_s64): Likewise.
3354         (vrsraq_n_u8): Likewise.
3355         (vrsraq_n_u16): Likewise.
3356         (vrsraq_n_u32): Likewise.
3357         (vrsraq_n_u64): Likewise.
3358         (vabs_s8): Likewise.
3359         (vabs_s16): Likewise.
3360         (vabs_s32): Likewise.
3361         (vabs_f32): Likewise.
3362         (vabsq_s8): Likewise.
3363         (vabsq_s16): Likewise.
3364         (vabsq_s32): Likewise.
3365         (vabsq_f32): Likewise.
3366         (vqabs_s8): Likewise.
3367         (vqabs_s16): Likewise.
3368         (vqabs_s32): Likewise.
3369         (vqabsq_s8): Likewise.
3370         (vqabsq_s16): Likewise.
3371         (vqabsq_s32): Likewise.
3372         (vneg_s8): Likewise.
3373         (vneg_s16): Likewise.
3374         (vneg_s32): Likewise.
3375         (vneg_f32): Likewise.
3376         (vnegq_s8): Likewise.
3377         (vnegq_s16): Likewise.
3378         (vnegq_s32): Likewise.
3379         (vnegq_f32): Likewise.
3380         (vqneg_s8): Likewise.
3381         (vqneg_s16): Likewise.
3382         (vqneg_s32): Likewise.
3383         (vqnegq_s8): Likewise.
3384         (vqnegq_s16): Likewise.
3385         (vqnegq_s32): Likewise.
3386         (vmvn_s8): Likewise.
3387         (vmvn_s16): Likewise.
3388         (vmvn_s32): Likewise.
3389         (vmvn_u8): Likewise.
3390         (vmvn_u16): Likewise.
3391         (vmvn_u32): Likewise.
3392         (vmvn_p8): Likewise.
3393         (vmvnq_s8): Likewise.
3394         (vmvnq_s16): Likewise.
3395         (vmvnq_s32): Likewise.
3396         (vmvnq_u8): Likewise.
3397         (vmvnq_u16): Likewise.
3398         (vmvnq_u32): Likewise.
3399         (vmvnq_p8): Likewise.
3400         (vcls_s8): Likewise.
3401         (vcls_s16): Likewise.
3402         (vcls_s32): Likewise.
3403         (vclsq_s8): Likewise.
3404         (vclsq_s16): Likewise.
3405         (vclsq_s32): Likewise.
3406         (vclz_s8): Likewise.
3407         (vclz_s16): Likewise.
3408         (vclz_s32): Likewise.
3409         (vclz_u8): Likewise.
3410         (vclz_u16): Likewise.
3411         (vclz_u32): Likewise.
3412         (vclzq_s8): Likewise.
3413         (vclzq_s16): Likewise.
3414         (vclzq_s32): Likewise.
3415         (vclzq_u8): Likewise.
3416         (vclzq_u16): Likewise.
3417         (vclzq_u32): Likewise.
3418         (vcnt_s8): Likewise.
3419         (vcnt_u8): Likewise.
3420         (vcnt_p8): Likewise.
3421         (vcntq_s8): Likewise.
3422         (vcntq_u8): Likewise.
3423         (vcntq_p8): Likewise.
3424         (vrecpe_f32): Likewise.
3425         (vrecpe_u32): Likewise.
3426         (vrecpeq_f32): Likewise.
3427         (vrecpeq_u32): Likewise.
3428         (vrsqrte_f32): Likewise.
3429         (vrsqrte_u32): Likewise.
3430         (vrsqrteq_f32): Likewise.
3431         (vrsqrteq_u32): Likewise.
3432         (vget_lane_s8): Likewise.
3433         (vget_lane_s16): Likewise.
3434         (vget_lane_s32): Likewise.
3435         (vget_lane_f32): Likewise.
3436         (vget_lane_u8): Likewise.
3437         (vget_lane_u16): Likewise.
3438         (vget_lane_u32): Likewise.
3439         (vget_lane_p8): Likewise.
3440         (vget_lane_p16): Likewise.
3441         (vget_lane_s64): Likewise.
3442         (vget_lane_u64): Likewise.
3443         (vgetq_lane_s8): Likewise.
3444         (vgetq_lane_s16): Likewise.
3445         (vgetq_lane_s32): Likewise.
3446         (vgetq_lane_f32): Likewise.
3447         (vgetq_lane_u8): Likewise.
3448         (vgetq_lane_u16): Likewise.
3449         (vgetq_lane_u32): Likewise.
3450         (vgetq_lane_p8): Likewise.
3451         (vgetq_lane_p16): Likewise.
3452         (vgetq_lane_s64): Likewise.
3453         (vgetq_lane_u64): Likewise.
3454         (vcvt_s32_f32): Likewise.
3455         (vcvt_f32_s32): Likewise.
3456         (vcvt_f32_u32): Likewise.
3457         (vcvt_u32_f32): Likewise.
3458         (vcvtq_s32_f32): Likewise.
3459         (vcvtq_f32_s32): Likewise.
3460         (vcvtq_f32_u32): Likewise.
3461         (vcvtq_u32_f32): Likewise.
3462         (vcvt_n_s32_f32): Likewise.
3463         (vcvt_n_f32_s32): Likewise.
3464         (vcvt_n_f32_u32): Likewise.
3465         (vcvt_n_u32_f32): Likewise.
3466         (vcvtq_n_s32_f32): Likewise.
3467         (vcvtq_n_f32_s32): Likewise.
3468         (vcvtq_n_f32_u32): Likewise.
3469         (vcvtq_n_u32_f32): Likewise.
3470         (vmovn_s16): Likewise.
3471         (vmovn_s32): Likewise.
3472         (vmovn_s64): Likewise.
3473         (vmovn_u16): Likewise.
3474         (vmovn_u32): Likewise.
3475         (vmovn_u64): Likewise.
3476         (vqmovn_s16): Likewise.
3477         (vqmovn_s32): Likewise.
3478         (vqmovn_s64): Likewise.
3479         (vqmovn_u16): Likewise.
3480         (vqmovn_u32): Likewise.
3481         (vqmovn_u64): Likewise.
3482         (vqmovun_s16): Likewise.
3483         (vqmovun_s32): Likewise.
3484         (vqmovun_s64): Likewise.
3485         (vmovl_s8): Likewise.
3486         (vmovl_s16): Likewise.
3487         (vmovl_s32): Likewise.
3488         (vmovl_u8): Likewise.
3489         (vmovl_u16): Likewise.
3490         (vmovl_u32): Likewise.
3491         (vmul_lane_s16): Likewise.
3492         (vmul_lane_s32): Likewise.
3493         (vmul_lane_f32): Likewise.
3494         (vmul_lane_u16): Likewise.
3495         (vmul_lane_u32): Likewise.
3496         (vmulq_lane_s16): Likewise.
3497         (vmulq_lane_s32): Likewise.
3498         (vmulq_lane_f32): Likewise.
3499         (vmulq_lane_u16): Likewise.
3500         (vmulq_lane_u32): Likewise.
3501         (vmla_lane_s16): Likewise.
3502         (vmla_lane_s32): Likewise.
3503         (vmla_lane_f32): Likewise.
3504         (vmla_lane_u16): Likewise.
3505         (vmla_lane_u32): Likewise.
3506         (vmlaq_lane_s16): Likewise.
3507         (vmlaq_lane_s32): Likewise.
3508         (vmlaq_lane_f32): Likewise.
3509         (vmlaq_lane_u16): Likewise.
3510         (vmlaq_lane_u32): Likewise.
3511         (vmlal_lane_s16): Likewise.
3512         (vmlal_lane_s32): Likewise.
3513         (vmlal_lane_u16): Likewise.
3514         (vmlal_lane_u32): Likewise.
3515         (vqdmlal_lane_s16): Likewise.
3516         (vqdmlal_lane_s32): Likewise.
3517         (vmls_lane_s16): Likewise.
3518         (vmls_lane_s32): Likewise.
3519         (vmls_lane_f32): Likewise.
3520         (vmls_lane_u16): Likewise.
3521         (vmls_lane_u32): Likewise.
3522         (vmlsq_lane_s16): Likewise.
3523         (vmlsq_lane_s32): Likewise.
3524         (vmlsq_lane_f32): Likewise.
3525         (vmlsq_lane_u16): Likewise.
3526         (vmlsq_lane_u32): Likewise.
3527         (vmlsl_lane_s16): Likewise.
3528         (vmlsl_lane_s32): Likewise.
3529         (vmlsl_lane_u16): Likewise.
3530         (vmlsl_lane_u32): Likewise.
3531         (vqdmlsl_lane_s16): Likewise.
3532         (vqdmlsl_lane_s32): Likewise.
3533         (vmull_lane_s16): Likewise.
3534         (vmull_lane_s32): Likewise.
3535         (vmull_lane_u16): Likewise.
3536         (vmull_lane_u32): Likewise.
3537         (vqdmull_lane_s16): Likewise.
3538         (vqdmull_lane_s32): Likewise.
3539         (vqdmulhq_lane_s16): Likewise.
3540         (vqdmulhq_lane_s32): Likewise.
3541         (vqdmulh_lane_s16): Likewise.
3542         (vqdmulh_lane_s32): Likewise.
3543         (vqrdmulhq_lane_s16): Likewise.
3544         (vqrdmulhq_lane_s32): Likewise.
3545         (vqrdmulh_lane_s16): Likewise.
3546         (vqrdmulh_lane_s32): Likewise.
3547         (vmul_n_s16): Likewise.
3548         (vmul_n_s32): Likewise.
3549         (vmul_n_f32): Likewise.
3550         (vmul_n_u16): Likewise.
3551         (vmul_n_u32): Likewise.
3552         (vmulq_n_s16): Likewise.
3553         (vmulq_n_s32): Likewise.
3554         (vmulq_n_f32): Likewise.
3555         (vmulq_n_u16): Likewise.
3556         (vmulq_n_u32): Likewise.
3557         (vmull_n_s16): Likewise.
3558         (vmull_n_s32): Likewise.
3559         (vmull_n_u16): Likewise.
3560         (vmull_n_u32): Likewise.
3561         (vqdmull_n_s16): Likewise.
3562         (vqdmull_n_s32): Likewise.
3563         (vqdmulhq_n_s16): Likewise.
3564         (vqdmulhq_n_s32): Likewise.
3565         (vqdmulh_n_s16): Likewise.
3566         (vqdmulh_n_s32): Likewise.
3567         (vqrdmulhq_n_s16): Likewise.
3568         (vqrdmulhq_n_s32): Likewise.
3569         (vqrdmulh_n_s16): Likewise.
3570         (vqrdmulh_n_s32): Likewise.
3571         (vmla_n_s16): Likewise.
3572         (vmla_n_s32): Likewise.
3573         (vmla_n_f32): Likewise.
3574         (vmla_n_u16): Likewise.
3575         (vmla_n_u32): Likewise.
3576         (vmlaq_n_s16): Likewise.
3577         (vmlaq_n_s32): Likewise.
3578         (vmlaq_n_f32): Likewise.
3579         (vmlaq_n_u16): Likewise.
3580         (vmlaq_n_u32): Likewise.
3581         (vmlal_n_s16): Likewise.
3582         (vmlal_n_s32): Likewise.
3583         (vmlal_n_u16): Likewise.
3584         (vmlal_n_u32): Likewise.
3585         (vqdmlal_n_s16): Likewise.
3586         (vqdmlal_n_s32): Likewise.
3587         (vmls_n_s16): Likewise.
3588         (vmls_n_s32): Likewise.
3589         (vmls_n_f32): Likewise.
3590         (vmls_n_u16): Likewise.
3591         (vmls_n_u32): Likewise.
3592         (vmlsq_n_s16): Likewise.
3593         (vmlsq_n_s32): Likewise.
3594         (vmlsq_n_f32): Likewise.
3595         (vmlsq_n_u16): Likewise.
3596         (vmlsq_n_u32): Likewise.
3597         (vmlsl_n_s16): Likewise.
3598         (vmlsl_n_s32): Likewise.
3599         (vmlsl_n_u16): Likewise.
3600         (vmlsl_n_u32): Likewise.
3601         (vqdmlsl_n_s16): Likewise.
3602         (vqdmlsl_n_s32): Likewise.
3604 2014-11-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3606         * config/arm/arm.c (arm_new_rtx_costs, case PLUS, MINUS):
3607         Add cost of alu.arith in simple SImode case.
3609 2014-11-18  Jiong Wang  <jiong.wang@arm.com>
3611         * lra-eliminations.c (update_reg_eliminate): Relax gcc_assert for fixed
3612         registers.
3614 2014-11-18  Marat Zakirov  <m.zakirov@samsung.com>
3616         * opts.c (finish_options): Disable aggressive opts for sanitizer.  
3617         (common_handle_option): Move code to finish_options.  
3619 2014-11-18  Yury Gribov  <y.gribov@samsung.com>
3621         PR sanitizer/63802
3622         * stor-layout.c (min_align_of_type): Respect user alignment
3623         more.
3625 2014-11-18  Ilya Enkovich  <ilya.enkovich@intel.com>
3627         * passes.c (remove_cgraph_node_from_order): New.
3628         (do_per_function_toporder): Register cgraph removal
3629         hook.
3631 2014-11-17  Terry Guo  <terry.guo@arm.com>
3633         * config/arm/arm.c (arm_issue_rate): Return 2 for cortex-m7.
3634         * config/arm/arm.md (generic_sched): Exclude cortex-m7.
3635         (generic_vfp): Likewise.
3636         * config/arm/cortex-m7.md: Pipeline description for cortex-m7.
3638 2014-11-17  Vladimir Makarov  <vmakarov@redhat.com>
3640         PR rtl-optimization/63906
3641         * lra-remat.c (operand_to_remat): Check SP and
3642         frame_pointer_required.
3644 2014-11-17  Mircea Namolaru  <mircea.namolaru@inria.fr>
3646         * doc/invoke.texi (floop-unroll-and-jam): Document
3647         (loop-unroll-jam-size): Likewise.
3648         (loop-unroll-jam-depth): Likewise.
3649         * graphite-optimize-isl.c (getPrevectorMap_full): Modify comment.
3650         (getScheduleForBandList): Replaced unsafe union_map reuse.
3652 2014-11-17  Andrew Pinski  <apinski@cavium.com>
3654         * config/aarch64/thunderx.md: Remove copyright which should not
3655         have been there.
3657 2014-11-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
3658             Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3660         * config/rs6000/rs6000.c (RELOAD_REG_AND_M16): Add support for
3661         Altivec style vector loads that ignore the bottom 3 bits of the
3662         address.
3663         (rs6000_debug_addr_mask): New function to print the addr_mask
3664         values if debugging.
3665         (rs6000_debug_print_mode): Call rs6000_debug_addr_mask to print
3666         out addr_mask.
3667         (rs6000_setup_reg_addr_masks): Add support for Altivec style
3668         vector loads that ignore the bottom 3 bits of the address.  Allow
3669         pre-increment and pre-decrement on floating point, even if the
3670         -mupper-regs-{sf,df} options were used.
3671         (rs6000_init_hard_regno_mode_ok): Rework DFmode support if
3672         -mupper-regs-df.  Add support for -mupper-regs-sf.  Rearrange code
3673         placement for direct move support.
3674         (rs6000_option_override_internal): Add checks for -mupper-regs-df
3675         requiring -mvsx, and -mupper-regs-sf requiring -mpower8-vector.
3676         If -mupper-regs, set both -mupper-regs-sf and -mupper-regs-df,
3677         depending on the underlying cpu.
3678         (rs6000_secondary_reload_fail): Add ATTRIBUTE_NORETURN.
3679         (rs6000_secondary_reload_toc_costs): Helper function to identify
3680         costs of a TOC load for secondary reload support.
3681         (rs6000_secondary_reload_memory): Helper function for secondary
3682         reload, to determine if a particular memory operation is directly
3683         handled by the hardware, or if it needs support from secondary
3684         reload to create a valid address.
3685         (rs6000_secondary_reload): Rework code, to be clearer.  If the
3686         appropriate -mupper-regs-{sf,df} is used, use FPR registers to
3687         reload scalar values, since the FPR registers have D-form
3688         addressing. Move most of the code handling memory to the function
3689         rs6000_secondary_reload_memory, and use the reg_addr structure to
3690         determine what type of address modes are supported.  Print more
3691         debug information if -mdebug=addr.
3692         (rs6000_secondary_reload_inner): Rework entire function to be more
3693         general.  Use the reg_addr bits to determine what type of
3694         addressing is supported.
3695         (rs6000_preferred_reload_class): Rework.  Move constant handling
3696         into a single place.  Prefer using FLOAT_REGS for scalar floating
3697         point.
3698         (rs6000_secondary_reload_class): Use a FPR register to move a
3699         value from an Altivec register to a GPR, and vice versa.  Move VSX
3700         handling above traditional floating point.
3702         * config/rs6000/rs6000.md (mov<mode>_hardfloat, FMOVE32 case):
3703         Delete some spaces in the constraints.
3704         (DF->DF move peephole2): Disable if -mupper-regs-{sf,df} to
3705         allow using FPR registers to load/store an Altivec register for
3706         scalar floating point types.
3707         (SF->SF move peephole2): Likewise.
3708         (DFmode splitter): Add a define_split to move floating point
3709         constants to the constant pool before register allocation.
3710         Normally constants are put into the pool immediately, but
3711         -ffast-math delays putting them into the constant pool for the
3712         reciprocal approximation support.
3713         (SFmode splitter): Likewise.
3715         * config/rs6000/rs6000.opt (-mupper-regs-df): Make option public.
3716         (-mupper-regs-sf): Likewise.
3718         * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
3719         __UPPER_REGS_DF__ if -mupper-regs-df.  Define __UPPER_REGS_SF__ if
3720         -mupper-regs-sf.
3721         (-mupper-regs): New combination option that sets -mupper-regs-sf
3722         and -mupper-regs-df by default if the cpu supports the instructions.
3724         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
3725         -mupper-regs, -mupper-regs-sf, and -mupper-regs-df.
3727         * config/rs6000/predicates.md (memory_fp_constant): New predicate
3728         to return true if the operand is a floating point constant that
3729         must be put into the constant pool, before register allocation
3730         occurs.
3732         * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Enable
3733         -mupper-regs-df by default.
3734         (ISA_2_7_MASKS_SERVER): Enable -mupper-regs-sf by default.
3735         (POWERPC_MASKS): Add -mupper-regs-{sf,df} as options set by the
3736         various -mcpu=... options.
3737         (power7 cpu): Enable -mupper-regs-df by default.
3739         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
3740         -mupper-regs.
3742 2014-11-17  Zhouyi Zhou <yizhouzhou@ict.ac.cn>
3744         * ira-conflicts.c (build_conflict_bit_table): Add the current
3745         object to OBJECTS_LIVE after traversing OBJECTS_LIVE.
3747 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3749         * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
3750         (ipa_get_indirect_edge_target): Add SPECULATIVE argument.
3751         (devirtualization_time_bonus): Use it.
3752         (ipcp_discover_new_direct_edges): Likewise.
3753         * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Update.
3754         * ipa-prop.h (ipa_get_indirect_edge_target): Update prototype.
3756 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3758         * tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION
3759         to optimization_default_node.
3761 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3763         * cgraphunit.c (analyze_functions): Use opt_for_fn.
3764         * cgraph.h (cgraph_node::optimize_for_size_p): Likewise.
3766 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3768         * cgraph.c (symbol_table::create_edge): Use opt_for_fn.
3769         (cgraph_node::cannot_return_p): Likewise.
3770         (cgraph_edge::cannot_lead_to_return_p): Likewise.
3771         (cgraph_edge::maybe_hot_p): Likewise.
3773 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3775         * predict.c (maybe_hot_frequency_p): Use opt_for_fn.
3776         (optimize_function_for_size_p): Likewise.
3777         (probably_never_executed): Likewise; replace cfun by fun.
3779 2014-11-17  Alan Lawrence  <alan.lawrence@arm.com>
3781         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_set<mode>): Add
3782         variant reading from memory and assembling to ld1.
3784         * config/aarch64/arm_neon.h (vld1_lane_f32, vld1_lane_f64, vld1_lane_p8,
3785         vld1_lane_p16, vld1_lane_s8, vld1_lane_s16, vld1_lane_s32,
3786         vld1_lane_s64, vld1_lane_u8, vld1_lane_u16, vld1_lane_u32,
3787         vld1_lane_u64, vld1q_lane_f32, vld1q_lane_f64, vld1q_lane_p8,
3788         vld1q_lane_p16, vld1q_lane_s8, vld1q_lane_s16, vld1q_lane_s32,
3789         vld1q_lane_s64, vld1q_lane_u8, vld1q_lane_u16, vld1q_lane_u32,
3790         vld1q_lane_u64): Replace asm with vset_lane and pointer dereference.
3792 2014-11-17  Jason Merrill  <jason@redhat.com>
3794         * tree-inline.c (copy_fn): New.
3795         * tree-inline.h: Declare it.
3797 2014-11-17  Alan Lawrence  <alan.lawrence@arm.com>
3799         * config/aarch64/aarch64-builtins.c (TYPES_CREATE): Remove.
3800         * config/aarch64/aarch64-simd-builtins.def (create): Remove.
3801         * config/aarch64/aarch64-simd.md (aarch64_create<mode>): Remove.
3802         * config/aarch64/arm_neon.h (vcreate_f64, vreinterpret_f64_s64,
3803         vreinterpret_f64_u64): Replace __builtin_aarch64_createv1df with C casts.
3804         * config/aarch64/iterators.md (VD1): Remove.
3806 2014-11-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3808         * config/aarch64/aarch64-cores.def (cortex-a53): Remove
3809         AARCH64_FL_CRYPTO from feature flags.
3810         (cortex-a57): Likewise.
3811         (cortex-a57.cortex-a53): Likewise.
3813 2014-11-17  Jan Hubicka  <hubicka@ucw.cz>
3815         * tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
3816         DECL_FUNCTION_SPECIFIC_TARGET.
3817         * i386.c (ix86_set_current_function): Handle explicit default options.
3819 2014-11-17  Ilya Enkovich  <ilya.enkovich@intel.com>
3821         * builtins.c (expand_builtin_memcpy_with_bounds): Use target hook
3822         instead of BNDmode.
3823         (expand_builtin_mempcpy_with_bounds): Likewise.
3824         (expand_builtin_memset_with_bounds): Likewise.
3826 2014-11-17  Ilya Enkovich  <ilya.enkovich@intel.com>
3828         * tree-ssa-strlen.c: include ipa-chkp.h, cgraph.h,
3829         ipa-ref.h, plugin-api.h.
3830         (get_string_length): Handle calls with bounds.
3831         (adjust_last_stmt): Likewise.
3832         (handle_builtin_strchr): Likewise.
3833         (handle_builtin_strcpy): Likewise.
3834         (handle_builtin_memcpy): Likewise.
3835         (handle_builtin_strcat): Likewise.
3837 2014-11-17  Ilya Enkovich  <ilya.enkovich@intel.com>
3839         * tree-chkp-opt.c (chkp_get_nobnd_fndecl): New.
3840         (chkp_get_nochk_fndecl): New.
3841         (chkp_optimize_string_function_calls): New.
3842         (chkp_opt_execute): Call chkp_optimize_string_function_calls.
3843         * tree-cfg.h (insert_cond_bb): New.
3844         * tree-cfg.c (insert_cond_bb): New.
3846 2014-11-17  Ilya Enkovich  <ilya.enkovich@intel.com>
3848         * tree-core.h (built_in_class): Add builtin codes to be used
3849         by Pointer Bounds Checker for instrumented builtin functions.
3850         * tree-streamer-in.c: Include ipa-chkp.h.
3851         (streamer_get_builtin_tree): Created instrumented decl if
3852         required.
3853         * ipa-chkp.h (chkp_maybe_clone_builtin_fndecl): New.
3854         * ipa-chkp.c (chkp_build_instrumented_fndecl): Support builtin
3855         function decls.
3856         (chkp_maybe_clone_builtin_fndecl): New.
3857         (chkp_maybe_create_clone): Support builtin function decls.
3858         (chkp_versioning): Clone builtin functions.
3859         * tree-chkp.c (chkp_instrument_normal_builtin): New.
3860         (chkp_add_bounds_to_call_stmt): Support builtin functions.
3861         (chkp_replace_function_pointer): Likewise.
3862         * builtins.c (expand_builtin_memcpy_args): New.
3863         (expand_builtin_memcpy): Call expand_builtin_memcpy_args.
3864         (expand_builtin_memcpy_with_bounds): New.
3865         (expand_builtin_mempcpy_with_bounds): New.
3866         (expand_builtin_mempcpy_args): Add orig_exp arg. Support
3867         BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
3868         (expand_builtin_memset_with_bounds): New.
3869         (expand_builtin_memset_args): Support BUILT_IN_CHKP_MEMSET_NOBND_NOCHK.
3870         (expand_builtin_with_bounds): New.
3871         * builtins.h (expand_builtin_with_bounds): New.
3872         * expr.c (expand_expr_real_1): Support instrumented builtin calls.
3874 2014-11-17  Dodji Seketeli  <dodji@redhat.com>
3876         * gimple.h (gimple_set_visited, gimple_visited_p)
3877         (gimple_set_plf, gimple_plf, gimple_set_uid, gimple_uid): Add more
3878         comments to these accessors.
3880 2014-11-17  Georg-Johann Lay  <avr@gjlay.de>
3882         * config/avr/avr-log.c (avr_log_set_avr_log) [TARGET_ALL_DEBUG]:
3883         Set avr_log_details to "all".
3885 2014-11-17  Richard Biener  <rguenther@suse.de>
3887         PR middle-end/63898
3888         * match.pd: Guard X / CST -> X * CST' transform against
3889         zero CST.
3891 2014-11-17  Terry Guo  <terry.guo@arm.com>
3893         * config/arm/thumb1.md (*addsi3_cbranch_scratch): Updated to UAL
3894         format.
3896 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3898         * ifcvt.c (HAVE_cbranchcc4): Define.
3899         (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
3900         Use HAVE_cbranchcc4.
3902 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3904         * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
3905         aarch64_convert_mode, aarch64_gen_ccmp_first,
3906         aarch64_gen_ccmp_next): New functions.
3907         (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Define.
3909 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3911         * config/aarch64/aarch64-protos.h (aarch64_ccmp_mode_to_code): New.
3912         * aarch64.c (aarch64_nzcv_codes): New data.
3913         (aarch64_ccmp_mode_to_code): New.
3914         (aarch64_print_operand): Output nzcv.
3915         config/aarch64/aarch64.md (cbranchcc4, *ccmp_and, *ccmp_ior, cstorecc4):
3916         New patterns.
3917         (cstore<mode>4): Handle ccmp_cc_register.
3918         * config/aarch64/predicates.md (const0_operand): New.
3920 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3922         * config/aarch64/aarch64-modes.def: Define ccmp CC mode.
3923         * config/aarch64/aarch64.c (aarch64_get_condition_code_1): New function
3924         extacted from aarch64_get_condition_code.
3925         (aarch64_get_condition_code): Call aarch64_get_condition_code_1.
3926         config/aarch64/predicates.md (ccmp_cc_register): New predicate.
3928 014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3930         * config/aarch64/constraints.md (Usn, aarch64_ccmp_immediate,
3931         aarch64_ccmp_operand): New constraints.
3933 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3935         * Makefile.in: Add ccmp.o.
3936         * ccmp.c: New file.
3937         * ccmp.h: New file.
3938         * expr.c: include "ccmp.h"
3939         (expand_cond_expr_using_cmove): Handle VOIDmode.
3940         (expand_expr_real_1): Try to expand ccmp.
3942 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3944         * cfgexpand.c (expand_gimple_cond): Check ccmp.
3945         * expmed.c (emit_cstore): Make it global.
3946         * expmed.h: #include "insn-codes.h"
3947         (emit_cstore): New prototype.
3948         * expr.c (expand_operands): Make it global.
3949         * expr.h (expand_operands): New prototype.
3950         * optabs.c (get_rtx_code): Make it global.
3951         * optabs.h (get_rtx_code): New prototype.
3953 2014-11-17  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
3955         * target.def (gen_ccmp_first, gen_ccmp_first): Add two new hooks.
3956         * doc/tm.texi.in (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
3957         * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New.
3959 2014-11-16  Patrick Palka  <ppalka@gcc.gnu.org>
3961         PR middle-end/63790
3962         * tree-ssa-forwprop.c (forward_propagate_into_comparison_1):
3963         Always combine comparisons or conversions from booleans.
3965 2014-11-16  Jan Hubicka  <hubicka@ucw.cz>
3967         * ipa-polymorphic-call.c
3968         (ipa_polymorphic_call_context::speculation_consistent_p): Constify.
3969         (ipa_polymorphic_call_context::meet_speculation_with): New function.
3970         (ipa_polymorphic_call_context::combine_with): Handle types in construction
3971         better.
3972         (ipa_polymorphic_call_context::equal_to): Do not bother about useless
3973         speculation.
3974         (ipa_polymorphic_call_context::meet_with): New function.
3975         * cgraph.h (class ipa_polymorphic_call_context): Add
3976         meet_width, meet_speculation_with; constify speculation_consistent_p.
3977         * ipa-cp.c (ipa_context_from_jfunc): Handle speculation; combine with incomming
3978         context.
3979         (propagate_context_accross_jump_function): Likewise; be more cureful.
3980         about set_contains_variable.
3981         (ipa_get_indirect_edge_target_1): Fix handling of dynamic type changes.
3982         (find_more_scalar_values_for_callers_subset): Fix.
3983         (find_more_contexts_for_caller_subset): Perform meet operation.
3985 2014-11-16  Jan Hubicka  <hubicka@ucw.cz>
3987         * passes.c (execute_one_pass): Do not apply all transforms prior
3988         every simple IPA pass.
3989         * cgraphunit.c: Do not include fibheap.h
3990         (expand_thunk): Use get_untransformed_body.
3991         (cgraph_node::expand): Likewise.
3992         * tree-ssa-structalias.c (ipa_pta_execute): Skip inline clones.
3993         * cgraph.c (release_function_body): Do not push cfun when CFG is not there.
3994         (cgraph_node::get_untransformed_body): Break out from ...
3995         (cgraph_node::get_body): ... here; add code to apply all transforms.
3996         * cgraph.h (cgraph_node): Add get_untransformed_body.
3997         * ipa-icf.c (sem_function::init): Use get_untransformed_body.
3998         * cgraphclones.c (duplicate_thunk_for_node): Likewise.
3999         * tree-inline.c (expand_call_inline): LIkewise.
4000         * i386.c (ix86_reset_to_default_globals): Break out from ...
4001         (ix86_set_current_function): ... here;
4002         (ix86_reset_previous_fndecl): Use it.
4003         (ix86_simd_clone_adjust): Use ix86_reset_previous_fndecl.
4005 2014-11-16  Eric Botcazou  <ebotcazou@adacore.com>
4007         * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
4008         * doc/tm.texi: Regenerate.
4010 2014-11-16  Uros Bizjak  <ubizjak@gmail.com>
4012         * config/sh/sh.c: Do not include algorithm.
4013         (sh_emit_scc_to_t): Replace open-coded swap with std::swap
4014         to swap values.
4015         (sh_emit_compare_and_branch): Ditto.
4016         (sh_emit_compare_and_set): Ditto.
4017         * config/sh/sh.md (replacement peephole2): Ditto.
4018         (cstore4_media): Ditto.
4019         (*fmasf4): Ditto.
4021 2014-11-15  Vladimir Makarov  <vmakarov@redhat.com>
4023         * lra-remat.c (cand_transf_func): Process regno for
4024         rematerialization too.
4025         * lra.c (lra): Switch on rematerialization pass.
4027 2014-11-15  Vladimir Makarov  <vmakarov@redhat.com>
4029         * lra.c (lra): Switch off rematerialization pass.
4031 2014-11-15  Marc Glisse  <marc.glisse@inria.fr>
4033         * config/i386/xmmintrin.h (_mm_add_ps, _mm_sub_ps, _mm_mul_ps,
4034         _mm_div_ps, _mm_store_ss, _mm_cvtss_f32): Use vector extensions
4035         instead of builtins.
4036         * config/i386/emmintrin.h (__v2du, __v4su, __v8hu, __v16qu): New
4037         typedefs.
4038         (_mm_sqrt_sd): Fix comment.
4039         (_mm_add_epi8, _mm_add_epi16, _mm_add_epi32, _mm_add_epi64,
4040         _mm_sub_epi8, _mm_sub_epi16, _mm_sub_epi32, _mm_sub_epi64,
4041         _mm_mullo_epi16, _mm_cmpeq_epi8, _mm_cmpeq_epi16, _mm_cmpeq_epi32,
4042         _mm_cmplt_epi8, _mm_cmplt_epi16, _mm_cmplt_epi32, _mm_cmpgt_epi8,
4043         _mm_cmpgt_epi16, _mm_cmpgt_epi32, _mm_and_si128, _mm_or_si128,
4044         _mm_xor_si128, _mm_store_sd, _mm_cvtsd_f64, _mm_storeh_pd,
4045         _mm_cvtsi128_si64, _mm_cvtsi128_si64x, _mm_add_pd, _mm_sub_pd,
4046         _mm_mul_pd, _mm_div_pd, _mm_storel_epi64, _mm_movepi64_pi64):
4047         Use vector extensions instead of builtins.
4048         * config/i386/smmintrin.h (_mm_cmpeq_epi64, _mm_cmpgt_epi64,
4049         _mm_mullo_epi32): Likewise.
4050         * config/i386/avxintrin.h (__v4du, __v8su, __v16hu, __v32qu):
4051         New typedefs.
4052         (_mm256_add_pd, _mm256_add_ps, _mm256_div_pd, _mm256_div_ps,
4053         _mm256_mul_pd, _mm256_mul_ps, _mm256_sub_pd, _mm256_sub_ps):
4054         Use vector extensions instead of builtins.
4055         * config/i386/avx2intrin.h (_mm256_cmpeq_epi8, _mm256_cmpeq_epi16,
4056         _mm256_cmpeq_epi32, _mm256_cmpeq_epi64, _mm256_cmpgt_epi8,
4057         _mm256_cmpgt_epi16, _mm256_cmpgt_epi32, _mm256_cmpgt_epi64,
4058         _mm256_and_si256, _mm256_or_si256, _mm256_xor_si256, _mm256_add_epi8,
4059         _mm256_add_epi16, _mm256_add_epi32, _mm256_add_epi64,
4060         _mm256_mullo_epi16, _mm256_mullo_epi32, _mm256_sub_epi8,
4061         _mm256_sub_epi16, _mm256_sub_epi32, _mm256_sub_epi64): Likewise.
4062         * config/i386/avx512fintrin.h (__v8du, __v16su, __v32hu, __v64qu):
4063         New typedefs.
4064         (_mm512_or_si512, _mm512_or_epi32, _mm512_or_epi64, _mm512_xor_si512,
4065         _mm512_xor_epi32, _mm512_xor_epi64, _mm512_and_si512,
4066         _mm512_and_epi32, _mm512_and_epi64, _mm512_mullo_epi32,
4067         _mm512_add_epi64, _mm512_sub_epi64, _mm512_add_epi32,
4068         _mm512_sub_epi32, _mm512_add_pd, _mm512_add_ps, _mm512_sub_pd,
4069         _mm512_sub_ps, _mm512_mul_pd, _mm512_mul_ps, _mm512_div_pd,
4070         _mm512_div_ps): Use vector extensions instead of builtins.
4071         * config/i386/avx512bwintrin.h (_mm512_mullo_epi16, _mm512_add_epi8,
4072         _mm512_sub_epi8, _mm512_sub_epi16, _mm512_add_epi16): Likewise.
4073         * config/i386/avx512dqintrin.h (_mm512_mullo_epi64): Likewise.
4074         * config/i386/avx512vldqintrin.h (_mm256_mullo_epi64, _mm_mullo_epi64):
4075         Likewise.
4077 2014-11-15  Jan Hubicka <hubicka@ucw.cz>
4079         * lto-streamer-out.c (hash_tree): Use cl_optimization_hash.
4080         * lto-streamer.h (cl_optimization_stream_out, cl_optimization_stream_in): Declare.
4081         * optc-save-gen.awk: Generate cl_optimization LTO streaming and hashing routines.
4082         * opth-gen.awk: Add prototype of cl_optimization_hash.
4083         * tree-streamer-in.c (unpack_ts_optimization): Remove.
4084         (streamer_unpack_tree_bitfields): Use cl_optimization_stream_in.
4085         * tree-streamer-out.c (pack_ts_optimization): Remove.
4086         (streamer_pack_tree_bitfields): Use cl_optimization_stream_out.
4088 2014-11-15  Mircea Namolaru  <mircea.namolaru@inria.fr>
4090         * common.opt (flag_loop_unroll_and_jam): New flag.
4091         * params.def (PARAM_LOOP_UNROLL_JAM_SIZE): Parameter for unroll and
4092         jam flag.
4093         (PARAM_LOOP_UNROLL_JAM_DEPTH): Likewise.
4094         * graphite-poly.h (struct poly_bb:map_sepclass): New field
4095         * graphite-poly.c (new_poly_bb): Initialization for new field.
4096         (apply_poly_transforms): Support for unroll and jam flag.
4097         * graphite-isl-ast-to-gimple.c (generate_luj_sepclass): Compute the
4098         separation class.
4099         (generate_luj_sepclass_opt): Build the separation class option.
4100         (generate_luj_options): Set unroll and jam options.
4101         (set_options): Support for unroll and jam options.
4102         (scop_to_isl_ast): Likewise
4103         * graphite-optimize-isl.c (getPrevectorMap_full): New function for
4104         computing the separating class map.
4105         (optimize_isl): Support for the separating class map.
4106         (apply_schedule_map_to_scop): Likewise.
4107         (getScheduleMap): Likewise.
4108         (getScheduleForBand): Likewise.
4109         (getScheduleForBandList): Likewise.
4110         * graphite.c (gate_graphite_transforms): Add unroll and jam flag.
4111         * toplev.c (process_options) Likewise.
4113 2014-11-15  Eric Botcazou  <ebotcazou@adacore.com>
4115         * tree-cfg.c (replace_loop_annotate_in_block): New function extracted
4116         from...
4117         (replace_loop_annotate): ...here.  Call it on the header and on the
4118         latch block, if any.  Restore proper behavior of final cleanup.
4120 2014-11-15  Eric Botcazou  <ebotcazou@adacore.com>
4122         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add log message
4123         for max-completely-peeled-insns limit.
4125 2014-11-14  Jan Hubicka  <hubicka@ucw.cz>
4127         * ipa-prop.h (ipa_known_type_data): Remove.
4128         (ipa_binfo_from_known_type_jfunc): Remove.
4130 2014-11-14  Andrew Pinski  <apinski@cavium.com>
4132         * config/aarch64/aarch64-cores.def (thunderx): Change the scheduler
4133         over to thunderx.
4134         * config/aarch64/aarch64.md: Include thunderx.md.
4135         (generic_sched): Set to no for thunderx.
4136         * config/aarch64/thunderx.md: New file.
4138 2014-11-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
4140         * config/rs6000/predicates.md (easy_fp_constant): Delete redunant
4141         tests for 0.0.
4143         * config/rs6000/vector.md (VEC_R): Move secondary reload support
4144         insns to rs6000.md from vector.md.
4145         (reload_<VEC_R:mode>_<P:mptrsize>_store): Likewise.
4146         (reload_<VEC_R:mode>_<P:mptrsize>_load): Likewise.
4147         (vec_reload_and_plus_<mptrsize>): Likewise.
4149         * config/rs6000/rs6000.md (Fa): New mode attribute to give
4150         constraint for the Altivec registers for a type.
4151         (RELOAD): New mode iterator for all of the types that have
4152         secondary reload address support to load up a base register.
4153         (extendsfdf2_fpr): Use correct constraint.
4154         (copysign<mode>3_fcpsgn): For SFmode, use correct xscpsgndp
4155         instruction.
4156         (floatsi<mode>2_lfiwax): Add support for -mupper-regs-{sf,df}.
4157         Generate the non-VSX instruction if all registers were FPRs.  Do
4158         not use the patterns in vsx.md for scalar operations.
4159         (floatsi<mode>2_lfiwax_mem): Likewise.
4160         (floatunssi<mode>2_lfiwzx): Likewise.
4161         (floatunssi<mode>2_lfiwzx_mem): Likewise.
4162         (fix_trunc<mode>di2_fctidz): Likewise.
4163         (fixuns_trunc<mode>di2_fctiduz): Likewise.
4164         (fctiwz_<mode>): Likewise.
4165         (fctiwuz_<mode>): Likewise.
4166         (friz): Likewise.
4167         (floatdidf2_fpr): Likewise.
4168         (floatdidf2_mem): Likewise.
4169         (floatunsdidf2): Likewise.
4170         (floatunsdidf2_fcfidu): Likewise.
4171         (floatunsdidf2_mem): Likewise.
4172         (floatdisf2_fcfids): Likewise.
4173         (floatdisf2_mem): Likewise.
4174         (floatdisf2_internal1): Add explicit test for not FCFIDS to make
4175         it more obvious that the code is for pre-ISA 2.06 machines.
4176         (floatdisf2_internal2): Likewise.
4177         (floatunsdisf2_fcfidus): Add support for -mupper-regs-{sf,df}.
4178         Generate the non-VSX instruction if all registers were FPRs.  Do
4179         not use the patterns in vsx.md for scalar operations.
4180         (floatunsdisf2_mem): Likewise.
4181         (reload_<RELOAD:mode>_<P:mptrsize>_store): Move the reload
4182         handlers here from vector.md, and expand the types we generate
4183         reload handlers for.
4184         (reload_<RELOAD:mode>_<P:mptrsize>_load): Likewise.
4185         (vec_reload_and_plus_<mptrsize>): Likewise.
4187         * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Only provide the
4188         vector forms of the instructions.  Move VSX scalar forms to
4189         rs6000.md, and add support for -mupper-regs-sf.
4190         (vsx_floatuns<VSi><mode>2): Likewise.
4191         (vsx_fix_trunc<mode><VSi>2): Likewise.
4192         (vsx_fixuns_trunc<mode><VSi>2): Likewise.
4193         (vsx_float_fix_<mode>2): Delete DF version, rename to
4194         vsx_float_fix_v2df2.
4195         (vsx_float_fix_v2df2): Likewise.
4197 2014-11-14  Martin Jambor  <mjambor@suse.cz>
4199         * ipa-prop.h (jump_func_type): Removed value IPA_JF_KNOWN_TYPE.
4200         (ipa_pass_through_data): Removed field type_preserved.
4201         (ipa_ancestor_jf_data): removed fields type and type_preserved.
4202         (ipa_jump_func): Removed field known_type.
4203         (ipa_get_jf_known_type_offset): Removed.
4204         (ipa_get_jf_known_type_base_type): Likewise.
4205         (ipa_get_jf_known_type_component_type): Likewise.
4206         (ipa_get_jf_ancestor_type): Likewise.
4207         * ipa-cp.c (print_ipcp_constant_value): Removed BINFO handling.
4208         (ipa_get_jf_pass_through_result): Likewise.
4209         (ipa_get_jf_ancestor_result): Always build ptr_node_type accesses.
4210         (values_equal_for_ipcp_p): Removed BINFO handling.
4211         (ipa_get_indirect_edge_target_1): Updated comment.
4212         * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Removed handling
4213         of IPA_JF_KNOWN_TYPE jump functions.  Do not print removed fields.
4214         (ipa_set_jf_known_type): Removed.
4215         (ipa_set_jf_simple_pass_through): Do not set removed fields.  Update
4216         all callers.
4217         (ipa_set_jf_arith_pass_through): Likewise.
4218         (ipa_set_ancestor_jf): Likewise.
4219         (ipa_binfo_from_known_type_jfunc): Removed.
4220         (prop_type_change_info): Removed fields known_current_type and
4221         multiple_types_encountered.
4222         (extr_type_from_vtbl_ptr_store): Removed.
4223         (check_stmt_for_type_change): Do not attempt to identify changed type.
4224         (detect_type_change_from_memory_writes): Do not set the removed fields,
4225         always set jfunc to unknown.
4226         (compute_complex_assign_jump_func): Do not detect dynamic type change.
4227         (compute_complex_ancestor_jump_func): Likewise.
4228         (compute_known_type_jump_func): Removed.
4229         (ipa_compute_jump_functions_for_edge): Do not detect dynamic type
4230         change.  Do not comute known type jump functions.
4231         (combine_known_type_and_ancestor_jfs): Removed.
4232         (update_jump_functions_after_inlining): Removed handling of
4233         IPA_JF_KNOWN_TYPE jump functions.  Do not set removed fields.
4234         (ipa_write_jump_function): Do not stream removed fields or known type
4235         jump functions.
4236         (ipa_read_jump_function): Likewise.
4238 2014-11-14  Vladimir Makarov  <vmakarov@redhat.com>
4240         * lra-int.h (lra_create_live_ranges): Add parameter.
4241         * lra-lives.c (temp_bitmap): Move higher.
4242         (initiate_live_solver): Move temp_bitmap initialization into
4243         lra_live_ranges_init.
4244         (finish_live_solver): Move temp_bitmap clearing into
4245         live_ranges_finish.
4246         (process_bb_lives): Add parameter.  Use it to control live info
4247         update and dead insn elimination.  Pass it to mark_regno_live and
4248         mark_regno_dead.
4249         (lra_create_live_ranges): Add parameter.  Pass it to
4250         process_bb_lives.
4251         (lra_live_ranges_init, lra_live_ranges_finish): See changes in
4252         initiate_live_solver and finish_live_solver.
4253         * lra-remat.c (do_remat): Process insn non-operand hard regs too.
4254         Use temp_bitmap to update avail_cands.
4255         * lra.c (lra): Pass new parameter to lra_create_live_ranges.  Move
4256         check with lra_need_for_spill_p after live range pass.  Switch on
4257         rematerialization pass.
4259 2014-11-14  Martin Jambor  <mjambor@suse.cz>
4261         * ipa-prop.h (ipa_get_jf_pass_through_type_preserved): use
4262         agg_preserved flag instead.
4263         (ipa_get_jf_ancestor_type_preserved): Likewise.
4264         (ipa_node_params): Rename known_vals to known_csts, update all users.
4265         New field known_contexts.
4266         (ipa_get_indirect_edge_target): Update prototype.
4267         (ipcp_poly_ctx_values_pool): Declare.
4268         (ipa_context_from_jfunc): Likewise.
4269         * ipa-inline.h (estimate_ipcp_clone_size_and_time): Updated prototype.
4270         * cgraph.h (ipa_polymorphic_call_context): New method equal_to.  New
4271         parameter newline of method dump.
4272         * ipa-cp.c (ctxlat): New field.
4273         (ipcp_values_pool): Renamed to ipcp_cst_values_pool, updated all users.
4274         (ipcp_poly_ctx_values_pool):New variable.
4275         (ipa_get_poly_ctx_lat): New function.
4276         (print_ipcp_constant_value): New overloaded function for contexts.
4277         (print_all_lattices): Also print contexts.
4278         (ipa_topo_info): New field contexts;
4279         (set_all_contains_variable): Also set the flag in the context lattice.
4280         (initialize_node_lattices): Likewise for flag bottom.
4281         (ipa_get_jf_ancestor_result): Removed BINFO handling.
4282         (ipa_value_from_jfunc): Likewise.
4283         (ipa_context_from_jfunc): New function.
4284         (values_equal_for_ipcp_p): New overloaded function for contexts.
4285         (allocate_and_init_ipcp_value): Construct the value.
4286         (allocate_and_init_ipcp_value): New overloaded function for contexts.
4287         (propagate_scalar_accross_jump_function): Removed handling of
4288         KNOWN_TYPE jump functions.
4289         (propagate_context_accross_jump_function): New function.
4290         (propagate_constants_accross_call): Also propagate contexts.
4291         (ipa_get_indirect_edge_target_1): Work on contexts rather than BINFOs.
4292         (ipa_get_indirect_edge_target): Likewise.
4293         (devirtualization_time_bonus): Likewise.
4294         (gather_context_independent_values): Create and populate known_contexts
4295         vector rather than known_binfos.
4296         (perform_estimation_of_a_value): Work on contexts rather than BINFOs.
4297         (estimate_local_effects): Likewise.
4298         (add_all_node_vals_to_toposort): Also add contexts to teir topological
4299         sort.
4300         (ipcp_propagate_stage): Also propagate effects of contexts.
4301         (ipcp_discover_new_direct_edges): Receive and pass known_contexts to
4302         ipa_get_indirect_edge_target_1.
4303         (cgraph_edge_brings_value_p): New overloaded function for contexts.
4304         (create_specialized_node): Work on contexts rather than BINFOs.
4305         (find_more_contexts_for_caller_subset): New function.
4306         (known_contexts_useful_p): New function.
4307         (copy_useful_known_contexts): Likewise.
4308         (modify_known_vectors_with_val): Likewise.
4309         (ipcp_val_in_agg_replacements_p): Renamed to
4310         ipcp_val_agg_replacement_ok_p, return true for all offset indicating
4311         non-aggregate.
4312         (ipcp_val_agg_replacement_ok_p): New overloaded function for contexts.
4313         (decide_about_value): Work on contexts rather than BINFOs.
4314         (decide_whether_version_node): Likewise.
4315         (ipcp_driver): Initialize the new alloc pool.
4316         * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Prettify
4317         printing of edge contexts.
4318         (ipa_set_ancestor_jf): Replace assert with conditional setting of
4319         type_preserved to false.
4320         (update_jump_functions_after_inlining): Use access function instead of
4321         reading agg_preserved directly.  Store combined context in the ancestor
4322         case.
4323         (try_make_edge_direct_virtual_call): Work on contexts rather than
4324         BINFOs.
4325         (update_indirect_edges_after_inlining): Get context from
4326         ipa_context_from_jfunc.
4327         (ipa_free_node_params_substructures): Free also known_contexts.
4328         (ipa_free_all_structures_after_ipa_cp): Free the new alloc pool.
4329         (ipa_free_all_structures_after_iinln): Likewise.
4330         * ipa-inline-analysis.c (evaluate_properties_for_edge): Work on
4331         contexts rather than BINFOs.
4332         (estimate_edge_devirt_benefit): Likewise.
4333         (estimate_edge_size_and_time): Likewise.
4334         (estimate_calls_size_and_time): Likewise.
4335         (estimate_node_size_and_time): Likewise.
4336         (estimate_ipcp_clone_size_and_time): Likewise.
4337         (do_estimate_edge_time): Likewise.
4338         (do_estimate_edge_size): Likewise.
4339         (do_estimate_edge_hints): Likewise.
4340         * ipa-polymorphic-call.c (ipa_polymorphic_call_context::dump): New
4341         parameter newline, ouput newline only when it is set.
4342         (ipa_polymorphic_call_context::equal_to): New method.
4344 2014-11-14  Martin Jambor  <mjambor@suse.cz>
4346         * ipa-cp.c (ipcp_value_source): Converted to a template class.  All
4347         users converted to the same specialization as the using class/function
4348         or specialization on tree.
4349         (ipcp_value): Likewise.
4350         (ipcp_lattice): Likewise.
4351         (ipcp_agg_lattice): Now derived from tree specialization of
4352         ipcp_lattice.
4353         (values_topo): Moved to new class value_topo_info.
4354         (ipa_lat_is_single_const): Turned into ipcp_lattice::is_single_const.
4355         Updated all callers.
4356         (print_lattice): Turned into ipcp_lattice::print.  Updated all
4357         callers.
4358         (value_topo_info): New class template.
4359         (ipa_topo_info): New field constants.  New constructor.
4360         (build_toporder_info): Do not clear stack_top, only checkign assert
4361         it.
4362         (set_lattice_to_bottom): Turned into ipcp_lattice::set_to_bottom.
4363         Updated all callers.
4364         (set_lattice_contains_variable): Turned into
4365         ipcp_lattice::set_contains_variable.  Updated all callers.
4366         (add_value_source): Turned into ipcp_value::add_source.  Updated all
4367         callers.
4368         (allocate_and_init_ipcp_value): New function.
4369         (add_value_to_lattice): Turned into ipcp_lattice::add_value.  Last
4370         parameter got default a value.  Updated all callers.
4371         (add_scalar_value_to_lattice): Removed, users converted to using
4372         ipcp_lattice::add_value with default value of the last parameter.
4373         (add_val_to_toposort): Turned to value_topo_info::add_val.  Updated
4374         all callers.
4375         (propagate_effects): Made method of value_topo_info.
4376         (cgraph_edge_brings_value_p): Now a template function.
4377         (get_info_about_necessary_edges): Likewise.
4378         (gather_edges_for_value): Likewise.
4379         (perhaps_add_new_callers): Likewise.
4380         (decide_about_value): Likewise.
4381         * ipa-prop.h (ipcp_lattice): Remove fowrward declaration.
4383 2014-11-14  Jakub Jelinek  <jakub@redhat.com>
4385         * doc/install.texi (--with-diagnostics-color=): Document.
4387         * tree-ssa.dce.c (eliminate_unnecessary_stmts): Eliminate
4388         IFN_GOMP_SIMD_LANE without lhs as useless.
4390         * ipa-pure-const.c (struct funct_state_d): Add can_free field.
4391         (varying_state): Add true for can_free.
4392         (check_call): For builtin or internal !nonfreeing_call_p set
4393         local->can_free.
4394         (check_stmt): For asm volatile and asm with "memory" set
4395         local->can_free.
4396         (analyze_function): Clear local->can_free initially, continue
4397         calling check_stmt until all flags are computed, dump can_free
4398         flag.
4399         (pure_const_write_summary): Write can_free flag.
4400         (pure_const_read_summary): Read it back.
4401         (propagate_pure_const): Propagate also can_free flag, set
4402         w->nonfreeing_fn if it is false after propagation.
4403         * cgraph.h (cgraph_node): Add nonfreeing_fn member.
4404         * gimple.c: Include ipa-ref.h, lto-streamer.h and cgraph.h.
4405         (nonfreeing_call_p): Return cgraph nonfreeing_fn flag if set.
4406         Also return true for IFN_ABNORMAL_DISPATCHER.
4407         * cgraph.c (cgraph_node::dump): Dump nonfreeing_fn flag.
4408         * lto-cgraph.c (lto_output_node): Write nonfreeing_fn flag.
4409         (input_overwrite_node): Read it back.
4411 2014-11-14  Jakub Jelinek  <jakub@redhat.com>
4412             Marek Polacek  <polacek@redhat.com>
4414         * sanopt.c: Include tree-ssa-operands.h.
4415         (struct sanopt_info): Add has_freeing_call_p,
4416         has_freeing_call_computed_p, imm_dom_path_with_freeing_call_p,
4417         imm_dom_path_with_freeing_call_computed_p, freeing_call_events,
4418         being_visited_p fields.
4419         (struct sanopt_ctx): Add asan_check_map field.
4420         (imm_dom_path_with_freeing_call, maybe_optimize_ubsan_null_ifn,
4421         maybe_optimize_asan_check_ifn): New functions.
4422         (sanopt_optimize_walker): Use them, optimize even ASAN_CHECK
4423         internal calls.
4424         (pass_sanopt::execute): Call sanopt_optimize even for
4425         -fsanitize=address.
4426         * gimple.c (nonfreeing_call_p): Return true for non-ECF_LEAF
4427         internal calls.
4429 2014-11-14  Alan Lawrence  <alan.lawrence@arm.com>
4431         * tree-vect-loop.c (vect_create_epilog_for_reduction): Move code for
4432         'if (extract_scalar_result)' to the only place that it is true.
4434 2014-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4436         * config.gcc (default_gnu_indirect_function): Set to yes
4437         for i[34567]86-*-linux* and x86_64-*-linux* if not targeting
4438         Android nor uclibc.
4440 2014-11-14  Felix Yang  <felix.yang@huawei.com>
4441             Jiji Jiang  <jiangjiji@huawei.com>
4443         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): Use
4444         VALL mode iterator instead of VALLDI.
4447 2014-11-14  Jan Hubicka  <hubicka@ucw.cz>
4449         * optc-save-gen.awk: Output cl_target_option_eq,
4450         cl_target_option_hash, cl_target_option_stream_out,
4451         cl_target_option_stream_in functions.
4452         * opth-gen.awk: Output prototypes for
4453         cl_target_option_eq and cl_target_option_hash.
4454         * lto-streamer.h (cl_target_option_stream_out,
4455         cl_target_option_stream_in): Declare.
4456         * tree.c (cl_option_hash_hash): Use cl_target_option_hash.
4457         (cl_option_hash_eq): Use cl_target_option_eq.
4458         * tree-streamer-in.c (unpack_value_fields): Stream in
4459         TREE_TARGET_OPTION.
4460         * lto-streamer-out.c (DFS::DFS_write_tree_body): Follow
4461         DECL_FUNCTION_SPECIFIC_TARGET.
4462         (hash_tree): Hash TREE_TARGET_OPTION; visit
4463         DECL_FUNCTION_SPECIFIC_TARGET.
4464         * tree-streamer-out.c (streamer_pack_tree_bitfields): Skip
4465         TS_TARGET_OPTION.
4466         (streamer_write_tree_body): Output TS_TARGET_OPTION.
4468 2014-11-14  Richard Biener  <rguenther@suse.de>
4470         * gimple-fold.h (gimple_fold_stmt_to_constant_1): Add 2nd
4471         valueization hook defaulted to no_follow_ssa_edges.
4472         * gimple-fold.c (gimple_fold_stmt_to_constant_1): Pass
4473         2nd valueization hook to gimple_simplify.
4474         * tree-ssa-ccp.c (valueize_op_1): New function to be
4475         used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
4476         (ccp_fold): Adjust.
4477         * tree-vrp.c (vrp_valueize_1): New function to be
4478         used for gimple_simplify called via gimple_fold_stmt_to_constant_1.
4479         (vrp_visit_assignment_or_call): Adjust.
4481 2014-11-14  Marek Polacek  <polacek@redhat.com>
4483         * fold-const.c (fold_negate_expr): Don't fold INTEGER_CST if
4484         that overflows when SANITIZE_SI_OVERFLOW is on.  Guard -(-A)
4485         folding with TYPE_OVERFLOW_SANITIZED.
4487 2014-11-14  Marek Polacek  <polacek@redhat.com>
4489         PR sanitizer/63839
4490         * asan.c (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST,
4491         ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST): Define.
4492         * builtin-attrs.def (ATTR_COLD_CONST_NORETURN_NOTHROW_LEAF_LIST):
4493         Define.
4494         * builtins.c (fold_builtin_0): Don't include ubsan.h.  Don't
4495         instrument BUILT_IN_UNREACHABLE here.
4496         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_BUILTIN_UNREACHABLE): Make
4497         const.
4498         * sanopt.c (pass_sanopt::execute): Instrument BUILT_IN_UNREACHABLE.
4499         * tree-ssa-ccp.c (optimize_unreachable): Bail out if
4500         SANITIZE_UNREACHABLE.
4501         * ubsan.c (ubsan_instrument_unreachable): Rewrite for GIMPLE.
4502         * ubsan.h (ubsan_instrument_unreachable): Adjust declaration.
4504 2014-11-14  Alan Lawrence  <alan.lawrence@arm.com>
4506         * config/rs6000/vector.md (vec_shl_<mode>): Remove.
4507         (vec_shr_<mode>): Reverse shift if BYTES_BIG_ENDIAN.
4509 2014-11-14  Alan Lawrence  <alan.lawrence@arm.com>
4511         * optabs.c (shift_amt_for_vec_perm_mask): Remove code conditional on
4512         BYTES_BIG_ENDIAN.
4513         * tree-vect-loop.c (calc_vec_perm_mask_for_shift,
4514         vect_create_epilog_for_reduction): Likewise.
4515         * doc/md.texi (vec_shr_m): Clarify direction of shifting.
4517 2014-11-14  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4519         PR target/63724
4520         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Split out
4521         numerical immediate handling to...
4522         (aarch64_internal_mov_immediate): ...this. New.
4523         (aarch64_rtx_costs): Use aarch64_internal_mov_immediate.
4524         (aarch64_mov_operand_p): Relax predicate.
4525         * config/aarch64/aarch64.md (mov<mode>:GPI): Do not expand CONST_INTs.
4526         (*movsi_aarch64): Turn into define_insn_and_split and new alternative
4527         for 'n'.
4528         (*movdi_aarch64): Likewise.
4530 2014-11-14  Richard Biener  <rguenther@suse.de>
4532         * match.pd: Implement more binary patterns exercised by
4533         fold_stmt.
4534         * fold-const.c (sing_bit_p): Export.
4535         (exact_inverse): Likewise.
4536         (fold_binary_loc): Remove patterns here.
4537         (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
4538         * fold-const.h (sing_bit_p): Declare.
4539         (exact_inverse): Likewise.
4541 2014-11-14  Marek Polacek  <polacek@redhat.com>
4543         * tree.c (build_common_builtin_nodes): Remove doubled ECF_LEAF.
4545 2014-11-14  Richard Biener  <rguenther@suse.de>
4547         * genmatch.c (add_operator): Allow CONSTRUCTOR.
4548         (dt_node::gen_kids): Handle CONSTRUCTOR not as GENERIC.
4549         (parser::parse_op): Allow to iterate over predicates.
4551 2014-11-14  Jakub Jelinek  <jakub@redhat.com>
4553         * configure.ac (--with-diagnostics-color): New configure
4554         option, default to --with-diagnostics-color=auto.
4555         * toplev.c (process_options): Use DIAGNOSTICS_COLOR_DEFAULT
4556         to determine -fdiagnostics-color= option default.
4557         * doc/invoke.texi (-fdiagnostics-color=): Document new
4558         default.
4559         * configure: Regenerated.
4560         * config.in: Regenerated.
4562 2014-11-13  Teresa Johnson  <tejohnson@google.com>
4564         PR tree-optimization/63841
4565         * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
4567 2014-11-14  Bin Cheng  <bin.cheng@arm.com>
4569         * timevar.def (TV_SCHED_FUSION): New time var.
4570         * passes.def (pass_sched_fusion): New pass.
4571         * config/arm/arm.c (TARGET_SCHED_FUSION_PRIORITY): New.
4572         (extract_base_offset_in_addr, fusion_load_store): New.
4573         (arm_sched_fusion_priority): New.
4574         (arm_option_override): Disable scheduling fusion by default
4575         on non-armv7 processors or ldrd/strd isn't preferred.
4576         * sched-int.h (struct _haifa_insn_data): New field.
4577         (INSN_FUSION_PRIORITY, FUSION_MAX_PRIORITY, sched_fusion): New.
4578         * sched-rgn.c (rest_of_handle_sched_fusion): New.
4579         (pass_data_sched_fusion, pass_sched_fusion): New.
4580         (make_pass_sched_fusion): New.
4581         * haifa-sched.c (sched_fusion): New.
4582         (insn_cost): Handle sched_fusion.
4583         (priority): Handle sched_fusion by calling target hook.
4584         (enum rfs_decision): New enum value.
4585         (rfs_str): New element for RFS_FUSION.
4586         (rank_for_schedule): Support sched_fusion.
4587         (schedule_insn, max_issue, prune_ready_list): Handle sched_fusion.
4588         (schedule_block, fix_tick_ready): Handle sched_fusion.
4589         * common.opt (flag_schedule_fusion): New.
4590         * tree-pass.h (make_pass_sched_fusion): New.
4591         * target.def (fusion_priority): New.
4592         * doc/tm.texi.in (TARGET_SCHED_FUSION_PRIORITY): New.
4593         * doc/tm.texi: Regenerated.
4594         * doc/invoke.texi (-fschedule-fusion): New.
4596 2014-11-13  Rong Xu  <xur@google.com>
4598         PR debug/63581
4599         * cfgrtl.c (emit_barrier_after_bb): Append the barrier to the
4600         footer, instead of unconditionally overwritten.
4602 2014-11-14  Martin Jambor  <mjambor@suse.cz>
4604         * cgraph.h (clear_outer_type): Make public.  Fix comment.
4605         * ipa-devirt.c (possible_polymorphic_call_targets): Use
4606         clear_outer_type when resetting the context.
4608 2014-11-13  Dominique Dhumieres  <dominiq@lps.ens.fr>
4610         PR bootstrap/63853
4611         * gcc.c (handle_foffload_option): Replace strchrnul with strchr.
4612         * lto-wrapper.c (parse_env_var, append_offload_options): Likewise.
4614 2014-11-13  Alan Lawrence  <alan.lawrence@arm.com>
4616         * fold-const.c (const_binop): Remove code handling VEC_RSHIFT_EXPR.
4617         * tree-cfg.c (verify_gimple_assign_binary): Likewise.
4618         * tree-inline.c (estimate_operator_cost): Likewise.
4619         * tree-pretty-print.c (dump_generic_node, op_code_prio, op_symbol_code):
4620         Likewise.
4622         * tree-vect-generic.c (expand_vector_operations_1): Remove assertion
4623         against VEC_RSHIFT_EXPR.
4625         * optabs.h (expand_vec_shift_expr): Remove.
4626         * optabs.c (optab_for_tree_code): Remove case VEC_RSHIFT_EXPR.
4627         (expand_vec_shift_expr): Remove.
4628         * tree.def (VEC_RSHIFT_EXPR): Remove
4630 2014-11-13  Alan Lawrence  <alan.lawrence@arm.com>
4632         * optabs.c (can_vec_perm_p): Update comment, does not consider vec_shr.
4633         (shift_amt_for_vec_perm_mask): New.
4634         (expand_vec_perm_1): Use vec_shr_optab if second vector is const0_rtx
4635         and mask appropriate.
4637         * tree-vect-loop.c (calc_vec_perm_mask_for_shift): New.
4638         (have_whole_vector_shift): New.
4639         (vect_model_reduction_cost): Call have_whole_vector_shift instead of
4640         looking for vec_shr_optab.
4641         (vect_create_epilog_for_reduction): Likewise; also rename local variable
4642         have_whole_vector_shift to reduce_with_shift; output VEC_PERM_EXPRs
4643         instead of VEC_RSHIFT_EXPRs.
4645         * tree-vect-stmts.c (vect_gen_perm_mask_checked): Extend comment.
4647 2014-11-13  Alan Lawrence  <alan.lawrence@arm.com>
4649         * tree-vectorizer.h (vect_gen_perm_mask): Remove.
4650         (vect_gen_perm_mask_checked, vect_gen_perm_mask_any): New.
4652         tree_vec_data_refs.c (vect_permute_load_chain, vec_permute_store_chain,
4653         vec_shift_permute_load_chain): Replace vect_gen_perm_mask & assert
4654         with vect_gen_perm_mask_checked.
4656         * tree-vect-stmts.c (vectorizable_mask_load_store, vectorizable_load):
4657         Likewise.
4659         (vect_gen_perm_mask_checked): New.
4660         (vect_gen_perm_mask): Remove can_vec_perm_p check, rename to...
4661         (vect_gen_perm_mask_any): ...this.
4663         (perm_mask_for_reverse): Call can_vec_perm_p and
4664         vect_gen_perm_mask_checked.
4666 2014-11-13  Felix Yang  <felix.yang@huawei.com>
4668         * ipa-utils.h: Fix typo in comments.
4669         * ipa-profile.c: Likewise.
4670         * tree-ssa-loop-ivcanon.c: Fix typo in comments and debugging dumps.
4672 2014-11-13  Teresa Johnson  <tejohnson@google.com>
4674         PR tree-optimization/63841
4675         * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
4677 2014-11-13  Teresa Johnson  <tejohnson@google.com>
4679         PR tree-optimization/63841
4680         * tree.c (initializer_zerop): A clobber does not zero initialize.
4682 2014-11-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4684         * optabs.c (prepare_operand): Gracefully fail if the mode of X
4685         does not match the operand mode expected by the insn pattern.
4687 2014-11-13  Richard Biener  <rguenther@suse.de>
4689         * match.pd: Add tcc_comparison, inverted_tcc_comparison
4690         and inverted_tcc_comparison_with_nans operator lists.
4691         Use tcc_comparison in the truth_valued_p predicate definition.
4692         Restrict logical_inverted_value with bit_xor to integral types.
4693         Build a boolean true for simplifying x |^ !x because of
4694         vector types.  Implement patterns from forward_propagate_comparison
4695         * tree-ssa-forwprop.c (forward_propagate_comparison): Remove.
4696         (get_prop_dest_stmt): Likewise.
4697         (pass_forwprop::execute): Do not call it.
4698         * fold-const.c (fold_unary_loc): Remove the pattern here.
4700 2014-11-13  Ilya Verbin  <ilya.verbin@intel.com>
4701             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4703         * config.gcc (*-intelmic-* | *-intelmicemul-*): Add i386/t-intelmic to
4704         tmake_file.
4705         (i[34567]86-*-* | x86_64-*-*): Build mkoffload$(exeext) with the
4706         accelerator compiler.
4707         * config/i386/intelmic-mkoffload.c: New file.
4708         * config/i386/t-intelmic: Ditto.
4710 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4711             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4712             Ilya Verbin  <ilya.verbin@intel.com>
4714         * common.opt (foffload, foffload-abi): New options.
4715         * config/i386/i386.c (ix86_offload_options): New static function.
4716         (TARGET_OFFLOAD_OPTIONS): Define.
4717         * coretypes.h (enum offload_abi): New enum.
4718         * doc/tm.texi: Regenerate.
4719         * doc/tm.texi.in (TARGET_OFFLOAD_OPTIONS): Document.
4720         * gcc.c (offload_targets): New static variable.
4721         (handle_foffload_option): New static function.
4722         (driver_handle_option): Handle OPT_foffload_.
4723         (driver::maybe_putenv_OFFLOAD_TARGETS): Set OFFLOAD_TARGET_NAMES
4724         according to offload_targets.
4725         * hooks.c (hook_charptr_void_null): New hook.
4726         * hooks.h (hook_charptr_void_null): Declare.
4727         * lto-opts.c: Include lto-section-names.h.
4728         (lto_write_options): Append options from target offload_options hook and
4729         store them to offload_lto section.  Do not store target-specific,
4730         driver and diagnostic options in offload_lto section.
4731         * lto-wrapper.c (merge_and_complain): Handle OPT_foffload_ and
4732         OPT_foffload_abi_.
4733         (append_compiler_options, append_linker_options)
4734         (append_offload_options): New static functions.
4735         (compile_offload_image): Add new arguments with options.
4736         Call append_compiler_options and append_offload_options.
4737         (compile_images_for_offload_targets): Add new arguments with options.
4738         (find_and_merge_options): New static function.
4739         (run_gcc): Outline options handling into the new functions:
4740         find_and_merge_options, append_compiler_options, append_linker_options.
4741         * opts.c (common_handle_option): Don't handle OPT_foffload_.
4742         Forbid OPT_foffload_abi_ for non-offload compiler.
4743         * target.def (offload_options): New target hook.
4745 2014-11-13  Ilya Verbin  <ilya.verbin@intel.com>
4746             Bernd Schmidt  <bernds@codesourcery.com>
4747             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4748             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
4750         * gcc.c (spec_host_machine, accel_dir_suffix): New variables.
4751         (process_command): Tweak path construction for the possibility
4752         of being configured as an offload compiler.
4753         (driver::maybe_putenv_OFFLOAD_TARGETS): New function.
4754         (driver::main): Call maybe_putenv_OFFLOAD_TARGETS.
4755         (driver::set_up_specs): Tweak path construction for the possibility of
4756         being configured as an offload compiler.
4757         * lto-wrapper.c (OFFLOAD_TARGET_NAMES_ENV): Define.
4758         (offload_names, offloadbegin, offloadend): New static variables.
4759         (free_array_of_ptrs, parse_env_var, access_check, compile_offload_image)
4760         (compile_images_for_offload_targets, copy_file, find_offloadbeginend):
4761         New static functions.
4762         (run_gcc): Determine whether offload sections are present.  If so, run
4763         compile_images_for_offload_targets and return the names of new generated
4764         objects to linker.  If there are offload sections, but no LTO sections,
4765         then return the copies of input objects without link-time recompilation.
4767 2014-11-13  Richard Biener  <rguenther@suse.de>
4769         * genmatch.c (dt_node::gen_kids): Fix placement of break statement.
4771 2014-11-13  Ilya Verbin  <ilya.verbin@intel.com>
4772             Bernd Schmidt  <bernds@codesourcery.com>
4773             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4774             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
4776         * Makefile.in (GTFILES): Add omp-low.h to list of GC files.
4777         * cgraphunit.c: Include omp-low.h.
4778         * doc/tm.texi: Regenerate.
4779         * doc/tm.texi.in (TARGET_RECORD_OFFLOAD_SYMBOL): Document.
4780         * gengtype.c (open_base_files): Add omp-low.h to ifiles.
4781         * lto-cgraph.c (output_offload_tables): New function.
4782         (input_offload_tables): Likewise.
4783         * lto-section-in.c (lto_section_name): Add "offload_table".
4784         * lto-section-names.h (OFFLOAD_VAR_TABLE_SECTION_NAME): Define.
4785         (OFFLOAD_FUNC_TABLE_SECTION_NAME): Likewise.
4786         * lto-streamer-out.c (lto_output): Call output_offload_tables.
4787         * lto-streamer.h (lto_section_type): Add LTO_section_offload_table.
4788         (output_offload_tables, input_offload_tables): Declare.
4789         * omp-low.c: Include common/common-target.h and lto-section-names.h.
4790         (offload_funcs, offload_vars): New global <tree, va_gc> vectors.
4791         (expand_omp_target): Add child_fn into offload_funcs vector.
4792         (add_decls_addresses_to_decl_constructor): New function.
4793         (omp_finish_file): Likewise.
4794         * omp-low.h (omp_finish_file, offload_funcs, offload_vars): Declare.
4795         * target.def (record_offload_symbol): New DEFHOOK.
4796         * toplev.c: Include omp-low.h.
4797         (compile_file): Call omp_finish_file.
4798         * varpool.c: Include omp-low.h.
4799         (varpool_node::get_create): Add decl into offload_vars vector.
4801 2014-11-13  Ilya Verbin  <ilya.verbin@intel.com>
4802             Ilya Tocar  <ilya.tocar@intel.com>
4803             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4804             Bernd Schmidt  <bernds@codesourcery.com>
4806         * cgraph.c: Include context.h.
4807         (cgraph_node::create): Set node->offloadable and g->have_offload if
4808         decl have "omp declare target" attribute.
4809         * cgraph.h (symtab_node): Add need_lto_streaming and offloadable flags.
4810         * cgraphunit.c: Include lto-section-names.h.
4811         (ipa_passes): Call ipa_write_summaries if there is something to write to
4812         OFFLOAD_SECTION_NAME_PREFIX sections.
4813         (symbol_table::compile): Set flag_generate_lto if there is something to
4814         offload.
4815         Replace flag_lto with flag_generate_lto before lto_streamer_hooks_init.
4816         * context.c (gcc::context::context): Initialize have_offload with false.
4817         * context.h (class context): Add have_offload flag.
4818         * ipa-inline-analysis.c (inline_generate_summary): Do not exit under
4819         flag_generate_lto.
4820         (inline_free_summary): Always remove hooks.
4821         * lto-cgraph.c (referenced_from_other_partition_p): Ignore references
4822         from non-offloadable nodes while streaming a node into offload section.
4823         (reachable_from_other_partition_p): Likewise.
4824         (select_what_to_stream): New function.
4825         (compute_ltrans_boundary): Do not call
4826         lto_set_symtab_encoder_in_partition if the node should not be streamed.
4827         * lto-section-names.h (OFFLOAD_SECTION_NAME_PREFIX): Define.
4828         (section_name_prefix): Declare.
4829         * lto-streamer.c (section_name_prefix): New variable.
4830         (lto_get_section_name): Use section_name_prefix instead of
4831         LTO_SECTION_NAME_PREFIX.
4832         * lto-streamer.h (select_what_to_stream): Declare.
4833         * omp-low.c: Include context.h.
4834         (is_targetreg_ctx): New function.
4835         (scan_sharing_clauses): Use offloadable flag, instead of an attribute.
4836         (create_omp_child_function, check_omp_nesting_restrictions): Use new
4837         is_targetreg_ctx function.  Replace usage of "omp declare target"
4838         attribute with a cgraph_node flag offloadable.
4839         (expand_omp_target): Set mark_force_output for offloadable functions.
4840         (lower_omp_critical): Set offloadable flag for omp critical symbol.
4841         * passes.c (ipa_write_summaries): New argument offload_lto_mode.  Call
4842         select_what_to_stream.  Do not call lto_set_symtab_encoder_in_partition
4843         if the node should not be streamed out.
4844         * tree-pass.h (ipa_write_summaries): New bool argument.
4845         * varpool.c: Include context.h.
4846         (varpool_node::get_create): Set node->offloadable and g->have_offload if
4847         decl have "omp declare target" attribute.
4849 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4850             Thomas Schwinge  <thomas@codesourcery.com>
4851             Ilya Verbin  <ilya.verbin@intel.com>
4852             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4854         * Makefile.in (real_target_noncanonical, accel_dir_suffix)
4855         (enable_as_accelerator): New variables substituted by configure.
4856         (libsubdir, libexecsubdir, unlibsubdir): Tweak for the possibility of
4857         being configured as an offload compiler.
4858         (DRIVER_DEFINES): Pass new defines DEFAULT_REAL_TARGET_MACHINE and
4859         ACCEL_DIR_SUFFIX.
4860         (install-cpp, install-common, install_driver, install-gcc-ar): Do not
4861         install for the offload compiler.
4862         * config.in: Regenerate.
4863         * configure: Regenerate.
4864         * configure.ac (real_target_noncanonical, accel_dir_suffix)
4865         (enable_as_accelerator): Compute new variables.
4866         (ACCEL_COMPILER): Define if the compiler is built as the accel compiler.
4867         (OFFLOAD_TARGETS): List of target names suitable for offloading.
4868         (ENABLE_OFFLOADING): Define if list of offload targets is not empty.
4869         * doc/install.texi (Options specification): Document
4870         --enable-as-accelerator-for and --enable-offload-targets.
4872 2014-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4874         PR tree-optimization/63828
4875         * ipa-polymorphic-call.c (possible_placement_new): Check
4876         POINTER_SIZE, instead of BITS_PER_WORD, for pointer size.
4878 2014-11-13  Eric Botcazou  <ebotcazou@adacore.com>
4880         * doc/tm.texi.in (SELECT_CC_MODE): Update example.
4881         (REVERSIBLE_CC_MODE): Fix example.
4882         (REVERSE_CONDITION): Fix typo.
4883         * doc/tm.texi: Regenerate.
4885 2014-11-13  Tom de Vries  <tom@codesourcery.com>
4887         * omp-low.c (pass_data_expand_omp): Set properties_provided to
4888         PROP_gimple_eomp.
4889         (pass_expand_omp::gate): Remove function.  Move gate expression to ...
4890         (pass_expand_omp::execute): ... here, as new variable gate.  Add early
4891         exit if gate is false.
4892         (pass_data pass_data_expand_omp_ssa): New pass_data.
4893         (class pass_expand_omp_ssa): New pass.
4894         (make_pass_expand_omp_ssa): New function.
4895         * passes.def (pass_parallelize_loops): Use PUSH_INSERT_PASSES_WITHIN
4896         instead of NEXT_PASS.
4897         (pass_expand_omp_ssa): Add after pass_parallelize_loops.
4898         * tree-parloops.c (gen_parallel_loop): Remove call to omp_expand_local.
4899         (pass_parallelize_loops::execute): Don't do cleanups TODO_cleanup_cfg
4900         and TODO_rebuild_alias yet.  Add TODO_update_ssa.  Set
4901         cfun->omp_expand_needed.
4902         * tree-pass.h: Add define PROP_gimple_eomp.
4903         (make_pass_expand_omp_ssa): Declare.
4905 2014-11-13  Marek Polacek  <polacek@redhat.com>
4907         * tree.h (TYPE_OVERFLOW_SANITIZED): Define.
4908         * fold-const.c (fold_binary_loc): Use it.
4909         * match.pd: Likewise.
4911 2014-11-14  Kirill Yukhin  <kirill.yukhin@intel.com>
4913         * lra-lives.c (struct bb_data): Rename to ...
4914         (struct bb_data_pseudos): ... this.
4915         (initiate_live_solver): Update struct name.
4917 2014-11-13  Richard Biener  <rguenther@suse.de>
4919         * match.pd: Implement conditional expression patterns.
4920         * tree-ssa-forwprop.c (forward_propagate_into_cond): Remove
4921         them here.
4922         (combine_cond_exprs): Remove.
4923         (pass_forwprop::execute): Do not call combine_cond_exprs.
4924         * fold-const.c (fold_ternary_loc): Remove patterns here.
4925         (pedantic_omit_one_operand_loc): Remove.
4927 2014-12-13  Richard Biener  <rguenther@suse.de>
4929         PR middle-end/61559
4930         * match.pd: Implement bswap patterns for transforms checked by
4931         gcc.dg/builtin-bswap-8.c.
4933 2014-11-13  Vladimir Makarov  <vmakarov@redhat.com>
4935         * lra.c (lra): Switch off rematerialization pass.
4937 2014-11-12  Vladimir Makarov  <vmakarov@redhat.com>
4939         * common.opt (flra-remat): New.
4940         * opts.c (default_options_table): Add entry for flra_remat.
4941         * timevar_def (TV_LRA_REMAT): New.
4942         * doc/invoke.texi (-flra-remat): Add description of the new
4943         option.
4944         * doc/passes.texi (-flra-remat): Remove lra-equivs.c and
4945         lra-saves.c.  Add lra-remat.c.
4946         * Makefile.in (OBJS): Add lra-remat.o.
4947         * lra-remat.c: New file.
4948         * lra.c: Add info about the rematerialization pass in the top
4949         comment.
4950         (collect_non_operand_hard_regs, add_regs_to_insn_regno_info):
4951         Process unallocatable regs too.
4952         (lra_constraint_new_insn_uid_start): Remove.
4953         (lra): Add code for calling rematerialization sub-pass.
4954         * lra-int.h (lra_constraint_new_insn_uid_start): Remove.
4955         (lra_constrain_insn, lra_remat): New prototypes.
4956         (lra_eliminate_regs_1): Add parameter.
4957         * lra-lives.c (make_hard_regno_born, make_hard_regno_dead):
4958         Process unallocatable hard regs too.
4959         (process_bb_lives): Ditto.
4960         * lra-spills.c (remove_pseudos): Add argument to
4961         lra_eliminate_regs_1 call.
4962         * lra-eliminations.c (lra_eliminate_regs_1): Add parameter.  Use it
4963         for sp offset calculation.
4964         (lra_eliminate_regs): Add argument for lra_eliminate_regs_1 call.
4965         (eliminate_regs_in_insn): Add parameter.  Use it for sp offset
4966         calculation.
4967         (process_insn_for_elimination): Add argument for
4968         eliminate_regs_in_insn call.
4969         * lra-constraints.c (get_equiv_with_elimination):  Add argument
4970         for lra_eliminate_regs_1 call.
4971         (process_addr_reg): Add parameter.  Use it.
4972         (process_address_1): Ditto.  Add argument for process_addr_reg
4973         call.
4974         (process_address): Ditto.
4975         (curr_insn_transform): Add parameter.  Use it.  Add argument for
4976         process_address calls.
4977         (lra_constrain_insn): New function.
4978         (lra_constraints): Add argument for curr_insn_transform call.
4980 2014-11-13  Manuel López-Ibáñez  <manu@gcc.gnu.org>
4982         * opts-global.c (postpone_unknown_option_warning): Fix spelling.
4983         (print_ignored_options): Fix quoting.
4984         * opts.c (common_handle_option): Likewise.
4985         (set_debug_level): Likewise.
4986         * toplev.c (process_options): Likewise.
4988 2014-11-12  Jakub Jelinek  <jakub@redhat.com>
4990         PR ipa/63838
4991         * ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
4992         chain instead of node->indirect_calls.  Put !can_throw into
4993         conditions of all the loops.
4995 2014-11-12  H.J. Lu  <hongjiu.lu@intel.com>
4997         * config/i386/i386.c (x86_output_mi_thunk): Use gen_rtx_REG to
4998         set pic_offset_table_rtx.
5000 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5002         * common/config/mips/mips-common.c (mips_handle_option): Ensure
5003         that -mfp32, -mfp64 disable -mfpxx and -mfpxx disables -mfp64.
5004         * config.gcc (--with-fp-32): New option.
5005         (--with-odd-spreg-32): Likewise.
5006         * config.in (HAVE_AS_DOT_MODULE): New config define.
5007         * config/mips/mips-protos.h
5008         (mips_secondary_memory_needed): New prototype.
5009         (mips_hard_regno_caller_save_mode): Likewise.
5010         * config/mips/mips.c (mips_get_reg_raw_mode): New static prototype.
5011         (mips_get_arg_info): Assert that V2SFmode is only handled specially
5012         with TARGET_PAIRED_SINGLE_FLOAT.
5013         (mips_return_mode_in_fpr_p): Likewise.
5014         (mips16_call_stub_mode_suffix): Likewise.
5015         (mips_get_reg_raw_mode): New static function.
5016         (mips_return_fpr_pair): O32 return values span two registers.
5017         (mips16_build_call_stub): Likewise.
5018         (mips_function_value_regno_p): Support both FP return registers.
5019         (mips_output_64bit_xfer): Use mthc1 whenever TARGET_HAS_MXHC1.  Add
5020         specific cases for TARGET_FPXX to move via memory.
5021         (mips_dwarf_register_span): For TARGET_FPXX pretend that modes larger
5022         than UNITS_PER_FPREG 'span' one register.
5023         (mips_dwarf_frame_reg_mode): New static function.
5024         (mips_file_start): Switch to using .module instead of .gnu_attribute.
5025         No longer support FP ABI 4 (-mips32r2 -mfp64), replace with FP ABI 6.
5026         Add FP ABI 5 (-mfpxx) and FP ABI 7 (-mfp64 -mno-odd-spreg).
5027         (mips_save_reg, mips_restore_reg): Always represent DFmode frame
5028         slots with two CFI directives even for O32 FP64.
5029         (mips_for_each_saved_gpr_and_fpr): Account for fixed_regs when
5030         saving/restoring callee-saved registers.
5031         (mips_hard_regno_mode_ok_p): Implement O32 FP64A extension.
5032         (mips_secondary_memory_needed): New function.
5033         (mips_option_override): ABI check for TARGET_FLOATXX.  Disable
5034         odd-numbered single-precision registers when using TARGET_FLOATXX.
5035         Implement -modd-spreg and defaults.
5036         (mips_conditional_register_usage): Redefine O32 FP64 to match O32 FP32
5037         callee-saved behaviour.
5038         (mips_hard_regno_caller_save_mode): Implement.
5039         (TARGET_GET_RAW_RESULT_MODE): Define target hook.
5040         (TARGET_GET_RAW_ARG_MODE): Define target hook.
5041         (TARGET_DWARF_FRAME_REG_MODE): Define target hook.
5042         * config/mips/mips.h (TARGET_FLOAT32): New macro.
5043         (TARGET_O32_FP64A_ABI): Likewise.
5044         (TARGET_CPU_CPP_BUILTINS): TARGET_FPXX is __mips_fpr==0. Add
5045         _MIPS_SPFPSET builtin define.
5046         (MIPS_FPXX_OPTION_SPEC): New macro.
5047         (OPTION_DEFAULT_SPECS): Pass through --with-fp-32=* to -mfp and
5048         --with-odd-spreg-32=* to -m[no-]odd-spreg.
5049         (ISA_HAS_ODD_SPREG): New macro.
5050         (ISA_HAS_MXHC1): True for anything other than -mfp32.
5051         (ASM_SPEC): Pass through mfpxx, mfp64, -mno-odd-spreg and -modd-spreg.
5052         (MIN_FPRS_PER_FMT): Redefine in terms of TARGET_ODD_SPREG.
5053         (HARD_REGNO_CALLER_SAVE_MODE): Define.  Implement O32 FPXX extension
5054         (HARD_REGNO_CALL_PART_CLOBBERED): Likewise.
5055         (SECONDARY_MEMORY_NEEDED): Likewise.
5056         (FUNCTION_ARG_REGNO_P): Update for O32 FPXX and FP64 extensions.
5057         * config/mips/mips.md (define_attr enabled): Implement O32 FPXX and
5058         FP64A ABI extensions.
5059         (move_doubleword_fpr<mode>): Use ISA_HAS_MXHC1 instead of
5060         TARGET_FLOAT64.
5061         * config/mips/mips.opt (mfpxx): New target option.
5062         (modd-spreg): Likewise.
5063         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Infer FP ABI from arch.
5064         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise and remove
5065         fp64 sysroot.
5066         * config/mips/t-mti-elf: Remove fp64 multilib.
5067         * config/mips/t-mti-linux: Likewise.
5068         * configure.ac: Detect .module support.
5069         * configure: Regenerate.
5070         * doc/invoke.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg option.
5071         * doc/install.texi (--with-fp-32, --with-odd-spreg-32): Document new
5072         options.
5074 2014-11-12  H.J. Lu  <hongjiu.lu@intel.com>
5076         PR target/63815
5077         * config/i386/i386.c (ix86_init_large_pic_reg): New.  Extracted
5078         from ...
5079         (ix86_init_pic_reg): Here.  Use ix86_init_large_pic_reg.
5080         (x86_output_mi_thunk): Set PIC register to %r11.  Call
5081         ix86_init_large_pic_reg to initialize PIC register.
5083 2014-11-12  Kai Tietz  <ktietz@redhat.com>
5085         * sdbout.c (sdbout_symbol): Eliminate register only
5086         if decl isn't a global variable.
5088 2014-11-12  Alan Lawrence  <alan.lawrence@arm.com>
5090         * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display indices.
5092         * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers): Add
5093         qualifier_lane_index.
5094         (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): Rename to...
5095         (aarch64_types_quadop_lane_qualifiers, TYPES_QUADOP_LANE): ...these.
5096         (aarch64_types_ternop_lane_qualifiers, TYPES_TERNOP_LANE): New.
5098         (aarch64_types_getlane_qualifiers): Rename to...
5099         (aarch64_types_binop_imm_qualifiers): ...this.
5100         (TYPES_SHIFTIMM): Follow renaming.
5101         (TYPES_GETLANE): Rename to...
5102         (TYPE_GETREG): ...this.
5104         (aarch64_types_setlane_qualifiers): Rename to...
5105         (aarch64_type_ternop_imm_qualifiers): ...this.
5106         (TYPES_SHIFTINSERT, TYPES_SHIFTACC): Follow renaming.
5107         (TYPES_SETLANE): Follow renaming above, and rename self to...
5108         (TYPE_SETREG): ...this.
5110         (enum builtin_simd_arg): Add SIMD_ARG_LANE_INDEX.
5111         (aarch64_simd_expand_args): Add range check and endianness-flip.
5113         (aarch64_simd_expand_builtin): Add mapping for qualifier_lane_index.
5115         * config/aarch64/aarch64-simd.md
5116         (aarch64_sq<r>dmulh_lane<mode>_internal *2): Rename to...
5117         (aarch64_sq<r>dmulh_lane<mode>): ...this, and remove lane bounds check.
5118         (aarch64_sqdmulh_lane<mode> *2, aarch64_sqrdmulh_lane<mode> *2): Delete.
5120         (aarch64_sq<r>dmulh_laneq<mode>_internal): Rename to...
5121         (aarch64_sq<r>dmulh_lane<mode>): ...this.
5123         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal *2): Rename to...
5124         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>): ...this.
5126         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal *2): Rename to...
5127         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>): ...this.
5129         (aarch64_sqdmull_lane<mode>_internal *2): Rename to...
5130         (aarch64_sqdmull_lane<mode>): ...this.
5132         (aarch64_sqdmull_laneq<mode>_internal *2): Rename to...
5133         (aarch64_sqdmull_laneq<mode>): ...this.
5135         (aarch64_sqdmulh_laneq<mode>, aarch64_sqrdmulh_laneq<mode>,
5136         (aarch64_sqdmlal_lane<mode>, aarch64_sqdmlal_laneq<mode>,
5137         aarch64_sqdmlsl_lane<mode>, aarch64_sqdmlsl_laneq<mode>,
5138         aarch64_sqdmull_lane<mode>, aarch64_sqdmull_laneq<mode>): Delete.
5140         (aarch64_sqdmlal2_lane<mode>, aarch64_sqdmlal2_laneq<mode>,
5141         aarch64_sqdmlsl2_lane<mode>, aarch64_sqdmlsl2_laneq<mode>,
5142         aarch64_sqdmull2_lane<mode>, aarch64_sqdmull2_laneq<mode>): Remove
5143         bounds check and lane flip.
5145         * config/aarch64/aarch64-simd-builtins.def (be_checked_get_lane,
5146         get_dregoi, get_dregci, getdregxi, get_qregoi,get_qregci, get_qregxi,
5147         set_qregoi, set_qregci, set_qregxi): Change qualifiers to GETREG.
5149         (sqdmlal_lane, sqdmlsl_lane, sqdmlal_laneq, sqdmlsl_laneq,
5150         sqdmlal2_lane, sqdmlsl2_lane, sqdmlal2_laneq, sqdmlsl2_laneq): Follow
5151         renaming of TERNOP_LANE to QUADOP_LANE.
5153         (sqdmull_lane, sqdmull_laneq, sqdmull2_lane, sqdmull2_laneq,
5154         sqdmulh_lane, sqdmulh_laneq, sqrdmulh_lane, sqrdmulh_laneq): Set
5155         qualifiers to TERNOP_LANE.
5157 2014-11-12  Tobias Burnus  <burnus@net-b.de>
5159         * Makefile.in (CLOOGLIBS, CLOOGINC): Remove.
5160         * configure.ac: Ditto.
5161         * graphite-interchange.c: Remove HAVE_CLOOG block.
5162         * config.in: Regenerate.
5163         * configure: Regenerate.
5165 2014-11-12  Jiong Wang  <jiong.wang@arm.com>
5167         * config/aarch64/aarch64.h (CALL_USED_REGISTERS): Mark LR as
5168         caller-save.
5169         (EPILOGUE_USES): Guard the check by epilogue_completed.
5170         * config/aarch64/aarch64.c (aarch64_layout_frame): Explictly check for
5171         LR.
5172         (aarch64_can_eliminate): Check LR_REGNUM liveness.
5174 2014-11-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5176         * config/arm/arm.c (*<arith_shift_insn>_shiftsi): Fix typo.
5178 2014-11-12  Marek Polacek  <polacek@redhat.com>
5180         * fold-const.c (fold_binary_loc): Don't fold if the result
5181         is undefined.
5182         * match.pd (A + (-B) -> A - B, A - (-B) -> A + B,
5183         -(-A) -> A): Likewise.
5185 2014-11-12  Richard Biener  <rguenther@suse.de>
5187         Merge from match-and-simplify branch
5188         2014-11-04  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5190         * genmatch.c (user_id): Add new member is_oper_list.
5191         (user_id::user_id): Add new default argument.
5192         (parser::parse_operator_list): New function.
5193         (parser::parse_for): Allow operator-list.
5194         (parser::parse_pattern): Call parser::parse_operator_list.
5195         (parser::parse_operation): Reject operator-list.
5196         * match-builtin.pd: Define operator lists POWs, CBRTs and SQRTs.
5198         2014-10-31  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5200         * genmatch.c (parser::parse_c_expr): Mark user-defined ops as used.
5202         2014-10-30  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5204         * genmatch.c (parser::parse_op): Check if predicate is used in
5205         result operand.
5207         2014-10-29  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5209         * genmatch.c (parser::parse_for): Make sure to have a valid
5210         token to report errors at.
5212         2014-10-28  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5214         * genmatch.c (parser): Add new member parsing_match_operand.
5215         (parser::parse_operation): Check for conditional convert in result
5216         operand.
5217         (parser::parse_expr): Check for commutative operator in result operand.
5218         Check for :type in match operand.
5219         (parser::parse_simplify): Set/unset parsing_match_operand.
5220         (parser::parser): Initialize parsing_match_operand.
5222         2014-10-28  Richard Biener  <rguenther@suse.de>
5224         * genmatch.c (parser::parse_for): Properly check for already
5225         defined operators.
5227         2014-10-28  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5229         * genmatch.c (error_cb): Adjust for printing warnings.
5230         (warning_at): New function.
5231         (user_id): Add new member used.
5232         (get_operator): Mark user_id as used.
5233         (parse_for): Warn for unused operators.
5235 2014-11-12  Richard Biener  <rguenther@suse.de>
5237         * match.pd: Implement simple complex operations cancelling.
5238         * fold-const.c (fold_unary_loc): Remove them here.
5240 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5242         * cppbuiltin.c (define_builtin_macros_for_compilation_flags):
5243         Define __NO_MATH_ERRNO__ if -fno-math-errno.
5244         * doc/cpp.texi (__NO_MATH_ERRNO__): Document predefined macro.
5246 2014-11-12  Richard Biener  <rguenther@suse.de>
5248         * genmatch.c (::gen_transform): Add capture_info and
5249         expand_compares arguments.
5250         (struct expr): Add is_generic flag.
5251         (lower_cond): New functions lowering [VEC_]COND_EXPR
5252         conditions to a GENERIC and a GIMPLE variant.
5253         (lower): Call lower_cond.
5254         (cmp_operand): Also compare the is_generic flag.
5255         (capture_info::cinfo): Add cond_expr_cond_p flag.
5256         (capture_info::capture_info): Pass down whether the
5257         expression argument is a COND_EXPR condition.
5258         (capture_info::walk_match): Likewise, mark captures
5259         capturing COND_EXPR conditions with cond_expr_cond_p.
5260         (expr::gen_transform): Pass down whether we need to
5261         expand compares from COND_EXPR conditions.
5262         (capture::gen_transform): Expand compares substituted
5263         from COND_EXPR conditions into non-COND_EXPR conditions.
5264         (dt_operand::gen_gimple_expr): Handle explicitely marked
5265         GENERIC expressions as generic.
5266         (dt_simplify::gen): Pass whether we need to expand
5267         conditions to gen_transform.  Handle capture results
5268         which are from COND_EXPR conditions.
5269         (main): Pass gimple flag down to lower.
5271 2014-11-12  Jakub Jelinek  <jakub@redhat.com>
5273         PR c/59708
5274         * builtin-attrs.def (ATTR_NOTHROW_TYPEGENERIC_LEAF): New attribute.
5275         * builtins.c (fold_builtin_arith_overflow): New function.
5276         (fold_builtin_3): Use it.
5277         * builtins.def (BUILT_IN_ADD_OVERFLOW, BUILT_IN_SUB_OVERFLOW,
5278         BUILT_IN_MUL_OVERFLOW, BUILT_IN_SADD_OVERFLOW, BUILT_IN_SADDL_OVERFLOW,
5279         BUILT_IN_SADDLL_OVERFLOW, BUILT_IN_SSUB_OVERFLOW,
5280         BUILT_IN_SSUBL_OVERFLOW, BUILT_IN_SSUBLL_OVERFLOW,
5281         BUILT_IN_SMUL_OVERFLOW, BUILT_IN_SMULL_OVERFLOW,
5282         BUILT_IN_SMULLL_OVERFLOW, BUILT_IN_UADDL_OVERFLOW,
5283         BUILT_IN_UADDLL_OVERFLOW, BUILT_IN_USUB_OVERFLOW,
5284         BUILT_IN_USUBL_OVERFLOW, BUILT_IN_USUBLL_OVERFLOW,
5285         BUILT_IN_UMUL_OVERFLOW, BUILT_IN_UMULL_OVERFLOW,
5286         BUILT_IN_UMULLL_OVERFLOW): New built-in functions.
5287         * builtin-types.def (BT_PTR_UINT, BT_PTR_ULONG, BT_PTR_LONGLONG,
5288         BT_FN_BOOL_INT_INT_INTPTR, BT_FN_BOOL_LONG_LONG_LONGPTR,
5289         BT_FN_BOOL_LONGLONG_LONGLONG_LONGLONGPTR, BT_FN_BOOL_UINT_UINT_UINTPTR,
5290         BT_FN_BOOL_ULONG_ULONG_ULONGPTR,
5291         BT_FN_BOOL_ULONGLONG_ULONGLONG_ULONGLONGPTR, BT_FN_BOOL_VAR): New.
5292         * expr.c (write_complex_part): Remove prototype, no longer static.
5293         * expr.h (write_complex_part): New prototype.
5294         * function.c (aggregate_value_p): For internal functions return 0.
5295         * gimple-fold.c (arith_overflowed_p): New functions.
5296         (gimple_fold_call): Fold {ADD,SUB,MUL}_OVERFLOW internal calls.
5297         * gimple-fold.h (arith_overflowed_p): New prototype.
5298         * tree-ssa-dce.c: Include tree-ssa-propagate.h and gimple-fold.h.
5299         (find_non_realpart_uses, maybe_optimize_arith_overflow): New
5300         functions.
5301         (eliminate_unnecessary_stmts): Transform {ADD,SUB,MUL}_OVERFLOW
5302         into COMPLEX_CST/COMPLEX_EXPR if IMAGPART_EXPR of the result is
5303         never used.
5304         * gimplify.c (gimplify_call_expr): Handle gimplification of
5305         internal calls with lhs.
5306         * internal-fn.c (get_range_pos_neg, get_min_precision,
5307         expand_arith_overflow_result_store): New functions.
5308         (ubsan_expand_si_overflow_addsub_check): Renamed to ...
5309         (expand_addsub_overflow): ... this.  Add LOC, LHS, ARG0, ARG1,
5310         UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
5311         Handle ADD_OVERFLOW and SUB_OVERFLOW expansion.
5312         (ubsan_expand_si_overflow_neg_check): Renamed to ...
5313         (expand_neg_overflow): ... this.  Add LOC, LHS, ARG1, IS_UBSAN
5314         arguments, remove STMT argument.  Handle SUB_OVERFLOW with
5315         0 as first argument expansion.
5316         (ubsan_expand_si_overflow_mul_check): Renamed to ...
5317         (expand_mul_overflow): ... this.  Add LOC, LHS, ARG0, ARG1,
5318         UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
5319         Handle MUL_OVERFLOW expansion.
5320         (expand_UBSAN_CHECK_ADD): Use expand_addsub_overflow, prepare
5321         arguments for it.
5322         (expand_UBSAN_CHECK_SUB): Use expand_addsub_overflow or
5323         expand_neg_overflow, prepare arguments for it.
5324         (expand_UBSAN_CHECK_MUL): Use expand_mul_overflow, prepare arguments
5325         for it.
5326         (expand_arith_overflow, expand_ADD_OVERFLOW, expand_SUB_OVERFLOW,
5327         expand_MUL_OVERFLOW): New functions.
5328         * internal-fn.def (ADD_OVERFLOW, SUB_OVERFLOW, MUL_OVERFLOW): New
5329         internal functions.
5330         * tree-vrp.c (check_for_binary_op_overflow): New function.
5331         (extract_range_basic): Handle {REAL,IMAG}PART_EXPR if the operand
5332         is SSA_NAME set by {ADD,SUB,MUL}_OVERFLOW internal functions.
5333         (simplify_internal_call_using_ranges): Handle {ADD,SUB,MUL}_OVERFLOW
5334         internal functions.
5335         * optabs.def (umulv4_optab): New optab.
5336         * config/i386/i386.md (umulv<mode>4, <u>mulvqi4): New define_expands.
5337         (*umulv<mode>4, *<u>mulvqi4): New define_insns.
5338         * doc/extend.texi (Integer Overflow Builtins): Document
5339         __builtin_*_overflow.
5341 2014-11-12  Richard Biener  <rguenther@suse.de>
5343         * genmatch.c (capture_info::capture_info): Add missing
5344         COND_EXPR handling.
5345         (capture_info::walk_match): Fix COND_EXPR handling.
5346         (capture_info::walk_result): Likewise.
5348 2014-11-12  Richard Biener  <rguenther@suse.de>
5350         PR middle-end/63821
5351         * match.pd: Add missing conversion to the -(T)-X pattern.
5353 2014-11-12  Richard Biener  <rguenther@suse.de>
5355         PR bootstrap/63819
5356         * hash-table.h: Include ggc.h also for generator programs.
5357         * genmatch.c (ggc_internal_cleared_alloc): Properly define
5358         using MEM_STAT_DECL instead of CXX_MEM_STAT_INFO.
5360 2014-11-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5362         PR tree-optimization/63761
5363         * tree-ssa-math-opts.c (bswap_replace): Construct gsi from cur_stmt
5364         rather than taking it as a parameter. Add some comments to explain the
5365         gsi_move_before in case of load and why canonicalization of bswap into
5366         a rotation is only done for 16bit values.
5367         (pass_optimize_bswap::execute): Adapt for loop via gsi to make gsi
5368         refer to the statement just before cur_stmt. Ignore 16bit bswap that
5369         are already in canonical form. Adapt bswap_replace to removal of its
5370         gsi parameter.
5372 2014-11-12  Richard Sandiford  <richard.sandiford@arm.com>
5374         * rtl.h (rtx_function, for_each_rtx, for_each_rtx_in_insn): Delete.
5375         * rtlanal.c (non_rtx_starting_operands, for_each_rtx_1, for_each_rtx):
5376         (for_each_rtx_in_insn): Delete.
5377         (init_rtlanal): Remove initialization of non_rtx_starting_operands.
5378         * df-core.c: Remove reference to for_each_rtx in comment.
5380 2014-11-12  Tejas Belagod  <tejas.belagod@arm.com>
5382         * Makefile.in (TEXI_GCC_FILES): Remove arm-acle-intrinsics.texi,
5383         arm-neon-intrinsics.texi, aarch64-acle-intrinsics.texi.
5384         * doc/aarch64-acle-intrinsics.texi: Remove.
5385         * doc/arm-acle-intrinsics.texi: Remove.
5386         * doc/arm-neon-intrinsics.texi: Remove.
5387         * doc/extend.texi: Consolidate sections AArch64 intrinsics,
5388         ARM NEON Intrinsics, ARM ACLE Intrinsics into one ARM C Language
5389         Extension section. Add references to public ACLE specification.
5391 2014-11-11  Patrick Palka  <ppalka@gcc.gnu.org>
5393         * tree-vrp.c (register_edge_assert_for_2): Change return type to
5394         void and adjust accordingly.
5395         (register_edge_assert_for_1): Likewise.
5396         (register_edge_assert_for): Likewise.
5397         (find_conditional_asserts): Likewise.
5398         (find_switch_asserts): Likewise.
5399         (find_assert_locations_1): Likewise.
5400         (find_assert_locations): Likewise.
5401         (insert_range_insertions): Inspect the need_assert_for bitmap.
5403 2014-11-11  Andrew Pinski  <apinski@cavium.com>
5405         Bug target/61997
5406         * config.gcc (aarch64*-*-*): Set target_gtfiles to include
5407         aarch64-builtins.c.
5408         * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h
5409         at the end of the file.
5411 2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
5412             Manuel López-Ibáñez  <manu@gcc.gnu.org>
5414         PR driver/36312
5415         * diagnostic-core.h: Add prototype for fatal_error.
5416         * diagnostic.c (fatal_error): New function fatal_error.
5417         * gcc.c (store_arg): Remove have_o_argbuf_index.
5418         (process_command): Check if input and output files are the same.
5419         * toplev.c (init_asm_output): Check if input and output files are
5420         the same.
5422 2014-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5424         * reorg.c (fill_slots_from_thread): Do not copy frame-related insns.
5426 2014-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5428         PR target/61535
5429         * config/sparc/sparc.c (function_arg_vector_value): Deal with vectors
5430         smaller than 8 bytes.
5431         (sparc_function_arg_1): Tweak.
5432         (sparc_function_value_1): Tweak.
5434 2014-11-11  David Malcolm  <dmalcolm@redhat.com>
5436         * ChangeLog.jit: New.
5437         * Makefile.in (doc_build_sys): New variable, set to "sphinx" if
5438         sphinx is installed, falling back to "texinfo" otherwise.
5439         (FULL_DRIVER_NAME): New variable, adapted from the
5440         install-driver target.  New target, a symlink within the builddir,
5441         linked to "xgcc", for use when running the JIT library from the
5442         builddir.
5443         (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME.
5444         (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it
5445         out.
5446         * configure.ac (doc_build_sys): New variable, set to "sphinx" if
5447         sphinx is installed, falling back to "texinfo" otherwise.
5448         (GCC_DRIVER_NAME): Generate a gcc-driver-name.h file containing
5449         GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
5450         * configure: Regenerate.
5451         * doc/install.texi (--enable-host-shared): Specify that this is
5452         required when building libgccjit.
5453         (Tools/packages necessary for modifying GCC): Add Sphinx.
5454         * timevar.def (TV_JIT_REPLAY): New.
5455         (TV_ASSEMBLE): New.
5456         (TV_LINK): New.
5457         (TV_LOAD): New.
5459 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
5461         PR target/63610
5462         * configure: Regenerate.
5464 2014-11-11  James Greenhalgh  <james.greenhalgh@arm.com>
5466         * config/aarch64/aarch64-simd.md
5467         (aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
5468         (aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
5469         are punning between float vectors and integer vectors.
5471 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
5473         * config/alpha/alpha.c (alpha_emit_conditional_branch): Replace
5474         open-coded swap with std::swap to swap values.
5475         (alpha_emit_setcc): Ditto.
5476         (alpha_emit_conditional_move): Ditto.
5477         (alpha_split_tmode_pair): Ditto.
5479 2014-11-11  Evgeny Stupachenko  <evstupac@gmail.com>
5481         * tree-vect-data-refs.c (vect_shift_permute_load_chain): Extend shift
5482         permutations on power of 2 cases.
5484 2014-11-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
5486         * config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
5487         (CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).
5489 2014-11-11  Richard Biener  <rguenther@suse.de>
5491         * tree-core.h (pedantic_lvalues): Remove.
5492         * fold-const.c (pedantic_lvalues): Likewise.
5493         (pedantic_non_lvalue_loc): Remove conditional non_lvalue_loc call.
5495 2014-11-11  Martin Liska  <mliska@suse.cz>
5497         PR ipa/63622
5498         PR ipa/63795
5499         * ipa-icf.c (sem_function::merge): Add new target symbol alias
5500         support guard.
5501         (sem_variable::merge): Likewise.
5502         * ipa-icf.h (target_supports_symbol_aliases_p): New function.
5504 2014-11-11  Richard Biener  <rguenther@suse.de>
5506         * match.pd: Implement patterns from associate_plusminus
5507         and factor in differences from the fold-const.c implementation.
5508         * fold-const.c (fold_binary_loc): Remove patterns here.
5509         * tree-ssa-forwprop.c (associate_plusminus): Remove.
5510         (pass_forwprop::execute): Don't call it.
5511         * tree.c (tree_nop_conversion_p): New function, factored
5512         from tree_nop_conversion.
5513         * tree.h (tree_nop_conversion_p): Declare.
5515 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
5517         * system.h: Include algorithm and utility.
5518         * rtl.h: Do not include utility here.
5519         * wide-int.h: Ditto.
5520         * tree-vect-data-refs.c (swap): Remove template.
5521         (vect_prune_runtime_alias_test_list): Use std::swap instead of swap.
5523 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
5525         PR bootstrap/63699
5526         PR bootstrap/63750
5527         * system.h: Include <string> before "safe-ctype.h"
5528         * wide-int.h (wi::smin, wi::smax, wi::umin, wi::umax): Prefix
5529         calls to min/max with wi namespace.
5530         * ipa-chkp.c: Don't include <string>.
5532 2014-11-11  Terry Guo  <terry.guo@arm.com>
5534         * doc/invoke.texi (-masm-syntax-unified): Reword and fix typo.
5535         * config/arm/thumb1.md (*thumb_mulsi3): Use movs to move low
5536         registers.
5537         (*thumb1_movhf): Likewise.
5539 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
5541         * sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
5542         instead of INT64_MAX.
5544 2014-11-11  Tobias Burnus  <burnus@net-b.de>
5546         * doc/install.texi (Prerequisites): Remove CLooG.
5548 2014-11-10  Trevor Saunders  <tsaunders@mozilla.com>
5550         * ipa-inline.c (edge_badness): Adjust.
5551         (inline_small_functions): Likewise.
5552         * predict.c (propagate_freq): Likewise.
5553         (estimate_bb_frequencies): Likewise.
5554         * sreal.c (sreal::dump): Rename from dump_sreal.
5555         (debug): Adjust.
5556         (copy): Remove function.
5557         (sreal::shift_right): Rename from sreal_sift_right.
5558         (sreal::normalize): Rename from normalize.
5559         (sreal_init): Remove function.
5560         (sreal::to_int): Rename from sreal_to_int.
5561         (sreal_compare): Remove function.
5562         (sreal::operator+): Rename from sreal_add.
5563         (sreal::operator-): Rename from sreal_sub.
5564         (sreal::operator*): Rename from sreal_mul.
5565         (sreal::operator/): Rename from sreal_div.
5566         * sreal.h (class sreal): Adjust.
5567         (inline sreal &operator+=): New operator.
5568         (inline sreal &operator-=): Likewise.
5569         (inline sreal &operator/=): Likewise.
5570         (inline sreal &operator*=): Likewise.
5571         (inline bool operator!=): Likewise.
5572         (inline bool operator>): Likewise.
5573         (inline bool operator<=): Likewise.
5574         (inline bool operator>=): Likewise.
5576 2014-11-11  Bin Cheng  <bin.cheng@arm.com>
5578         * sched-deps.c (sched_analyze_1): Check pending list if it is not
5579         less than MAX_PENDING_LIST_LENGTH.
5580         (sched_analyze_2, sched_analyze_insn, deps_analyze_insn): Ditto.
5582 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
5584         * config/i386/i386.c (ix86_decompose_address): Replace open-coded
5585         swap with std::swap to swap values.
5586         (ix86_fixup_binary_operands): Ditto.
5587         (ix86_binary_operator_ok): Ditto.
5588         (ix86_prepare_fp_compare_args): Ditto.
5589         (ix86_expand_branch): Ditto.
5590         (ix86_expand_carry_flag_compare): Ditto.
5591         (ix86_expand_int_movcc): Ditto.
5592         (ix86_prepare_sse_fp_compare_args): Ditto.
5593         (ix86_expand_sse_fp_minmax): Ditto.
5594         (ix86_expand_int_vcond): Ditto.
5595         (ix86_split_long_move): Ditto.
5596         (ix86_expand_sse_comi): Ditto.
5597         (ix86_expand_sse_compare_and_jump): Ditto.
5598         (ix86_expand_sse_compare_mask): Ditto.
5599         * config/i386/i386.md (*add<mode>_1): Ditto.
5600         (addsi_1_zext): Ditto.
5601         (*addhi_1): Ditto.
5602         (*addqi_1): Ditto.
5603         (*add<mode>_2): Ditto.
5604         (*addsi_2_zext): Ditto.
5605         (*add<mode>_3): Ditto.
5606         (*addsi_3_zext): Ditto.
5607         (*add<mode>_5): Ditto.
5608         (absneg splitter): Ditto.
5610 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
5612         Revert:
5613         2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
5615         PR target/63620
5616         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
5617         * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
5618         * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
5619         be reloaded through memory.
5620         (*pushxf): Ditto.
5621         (*pushdf): Ditto.
5623 2014-11-11  Jakub Jelinek  <jakub@redhat.com>
5624             Martin Liska  <mliska@suse.cz>
5626         * ipa-icf-gimple.c (func_checker::compare_bb): Fix comment typo.
5627         (func_checker::compare_gimple_call): Compare gimple_call_fn,
5628         gimple_call_chain, gimple_call_fntype and call flags.
5630 2014-11-10  Vladimir Makarov  <vmakarov@redhat.com>
5632         PR rtl-optimization/63620
5633         PR rtl-optimization/63799
5634         * lra-lives.c (process_bb_lives): Do not delete EH_REGION, trapped
5635         and setting PIC pseudo insns.
5636         (lra_create_live_ranges): Fix the typo.
5638 2014-11-10  Patrick Palka  <ppalka@gcc.gnu.org>
5640         PR middle-end/63748
5641         * tree-ssa-propagate.c (may_propagate_copy): Allow propagating
5642         SSA copies whose source and destination names both occur in
5643         abnormal PHIs.
5645 2014-11-10 Roman Gareev  <gareevroman@gmail.com>
5647         * Makefile.in: Remove the compilation of graphite-clast-to-gimple.o.
5648         * common.opt: Remove using of fgraphite-code-generator flag.
5649         * flag-types.h: Likewise.
5650         * graphite.c: Remove using of CLooG.
5651         * graphite-blocking.c: Likewise.
5652         * graphite-dependences.c: Likewise.
5653         * graphite-poly.c: Likewise.
5654         * graphite-poly.h: Likewise.
5655         * graphite-scop-detection.c: Likewise.
5656         * graphite-sese-to-poly.c: Likewise.
5657         * graphite-clast-to-gimple.c: Removed.
5658         * graphite-clast-to-gimple.h: Likewise.
5659         * graphite-htab.h: Likewise.
5661 2014-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
5663         * doc/invoke.texi ([-Wshift-count-negative, -Wshift-count-overflow]):
5664         Add.
5666 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
5668         * config/frv/frv.c (frv_io_handle_use_1): Delete.
5669         (frv_io_handle_use): Use find_all_hard_regs.
5671 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
5673         * config/frv/frv.c (frv_registers_conflict_p_1): Take an rtx rather
5674         than an rtx *.  Take the regstate_t directly rather than via a void *.
5675         Return a bool rather than an int.  Iterate over all subrtxes here.
5676         (frv_registers_conflict_p): Update accordingly.
5678 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
5680         * config/frv/frv.c: Include rtl-iter.h.
5681         (frv_acc_group_1): Delete.
5682         (frv_acc_group): Use FOR_EACH_SUBRTX.
5684 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
5686         * config/frv/frv.c: Move include of rtl.h after hard-reg-set.h.
5687         (frv_clear_registers_used): Delete.
5688         (frv_ifcvt_modify_tests): Use find_all_hard_regs.
5690 2014-11-10  Jan Hubicka  <hubicka@ucw.cz>
5692         PR bootstrap/63573
5693         * calls.c (initialize_argument_information): When emitting thunk call
5694         use original memory placement of the argument.
5696 2014-11-10  Renlin Li  <renlin.li@arm.com>
5698         PR middle-end/61529
5699         * tree-ssa-threadupdate.c (compute_path_counts): Bound path_in_freq.
5701 2014-11-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5703         * expmed.c (expand_shift_1): Expand 8 bit rotate of 16 bit value to
5704         bswaphi if available.
5706 2014-11-10  Bernd Schmidt  <bernds@codesourcery.com>
5708         * config/nvptx/nvptx.c: New file.
5709         * config/nvptx/nvptx.h: New file.
5710         * config/nvptx/nvptx-protos.h: New file.
5711         * config/nvptx/nvptx.md: New file.
5712         * config/nvptx/t-nvptx: New file.
5713         * config/nvptx/nvptx.opt: New file.
5714         * common/config/nvptx/nvptx-common.c: New file.
5715         * config.gcc: Handle nvptx-*-*.
5717 2014-11-10  Richard Biener  <rguenther@suse.de>
5719         * tree-ssa-operands.c (finalize_ssa_uses): Properly put
5720         released operands on the free list.
5722 2014-11-10  Richard Biener  <rguenther@suse.de>
5724         * match.pd: Implement pattern from simplify_mult.
5725         * tree-ssa-forwprop.c (simplify_mult): Remove.
5726         (pass_forwprop::execute): Do not call simplify_mult.
5728 2014-11-10  Richard Biener  <rguenther@suse.de>
5730         PR tree-optimization/63800
5731         * tree-ssa-pre.c (eliminate_push_avail): Push in a way so
5732         we can restore the previous availability in after_dom_children.
5733         (eliminate_dom_walker::after_dom_children): Restore
5734         previous availability.
5736 2014-11-10  Richard Biener  <rguenther@suse.de>
5738         PR middle-end/63798
5739         * expr.c (expand_expr_real_2): When expanding FMA_EXPRs
5740         properly treat the embedded multiplication as commutative
5741         when looking for feeding negates.
5743 2014-11-10  Joern Rennecke  <joern.rennecke@embecosm.com>
5745         * config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
5747 2014-11-10  Martin Liska  <mliska@suse.cz>
5749         * gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
5750         for the test because of default char signedness
5751         on powerpc64 target.
5753 2014-11-10  Richard Biener  <rguenther@suse.de>
5755         * match.pd: Implement pattern from simplify_conversion_from_bitmask.
5756         * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): Remove.
5757         (pass_forwprop::execute): Do not call simplify_conversion_from_bitmask.
5759 2014-11-10  Richard Biener  <rguenther@suse.de>
5761         * match.pd: Move rest of the conversion combining patterns
5762         from tree-ssa-forwprop.c.
5763         * tree-ssa-forwprop.c (combine_conversions): Remove.
5764         (pass_forwprop::execute): Do not call it.
5766 2014-11-10  Eric Botcazou  <ebotcazou@adacore.com>
5768         * gimple-low.c (lower_function_body): Clear the location of the first
5769         inserted representative return if it also fills in for the fallthru.
5771 2014-11-10  Yuri Rumyantsev  <ysrumyan@gmail.com>
5773         * tree-if-conv.c (add_to_predicate_list): Check unconditionally
5774         that bb is always executed to early exit. Use predicate of
5775         cd-equivalent block for join blocks if it exists.
5776         (if_convertible_loop_p_1): Recompute POST_DOMINATOR tree.
5777         (tree_if_conversion): Free post-dominance information.
5779 2014-11-09  Jason Merrill  <jason@redhat.com>
5781         * config/i386/avx512vldqintrin.h (_mm256_broadcast_f32x2): __mmask8.
5782         * config/i386/avx512vlintrin.h (_mm256_mask_cvtepi32_storeu_epi16)
5783         (_mm_mask_cvtusepi32_storeu_epi16)
5784         (_mm_mask_cvtsepi64_storeu_epi32): Return void.
5786 2014-11-09  Joern Rennecke  <joern.rennecke@embecosm.com>
5788         * config/avr/predicates.md (low_io_address_operand): Fix typo.
5790 2014-11-09  Vladimir Makarov  <vmakarov@redhat.com>
5792         PR rtl-optimization/63620
5793         * lra-constraints.c (substitute_pseudo): Add prefix lra_ to the
5794         name.  Move to lra.c.  Make it external.
5795         (substitute_pseudo_within_insn): Ditto.
5796         (inherit_reload_reg, split_reg, remove_inheritance_pseudos): Use
5797         the new names.
5798         (undo_optional_reloads): Ditto.
5799         * lra-int.h (lra_dump_bitmap_with_title, lra_substitute_pseudo):
5800         New prototypes.
5801         (lra_substitute_pseudo_within_insn): Ditto.
5802         * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): New.
5803         (mark_regno_live): Add parameter.  Update bb_gen_pseudos.
5804         (mark_regno_dead): Add parameter.  Update bb_gen_pseudos and
5805         bb_killed_pseudos.
5806         (struct bb_data, bb_data_t, bb_data): New.
5807         (get_bb_data, get_bb_data_by_index): Ditto.
5808         (all_hard_regs_bitmap): New.
5809         (live_trans_fun, live_con_fun_0, live_con_fun_n, all_blocks): New.
5810         (initiate_live_solver, finish_live_solver): New.
5811         (process_bb_lives): Change return type.  Add code updating local
5812         live data and removing dead insns.  Pass new argument to
5813         mark_regno_live and mark_regno_dead.  Check changing bb pseudo
5814         life info.  Return the result.
5815         (lra_create_live_ranges): Add code to do global pseudo live
5816         analysis.
5817         (lra_live_ranges_init): Call initiate_live_solver.
5818         (lra_live_ranges_finish): Call finish_live_solver.
5819         * lra.c (lra_dump_bitmap_with_title): New.
5820         (lra_substitute_pseudo, lra_substitute_pseudo_within_insn): Move
5821         from lra-constraints.c.
5823 2014-11-09  Richard Biener  <rguenther@suse.de>
5825         * match.pd: Add patterns convering two conversions in a row
5826         from fold-const.c.
5827         * fold-const.c (fold_unary_loc): Remove them here.
5828         * tree-ssa-forwprop.c (combine_conversions): Likewise.
5829         * genmatch.c (dt_node::gen_kids): Check whether we may
5830         follow SSA use-def chains.
5832 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
5834         * config/aarch64/aarch64.c: Include rtl-iter.h.
5835         (aarch64_tls_operand_p_1): Delete.
5836         (aarch64_tls_operand_p): Use FOR_EACH_SUBRTX.
5838 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
5840         * config/arm/arm.c (arm_note_pic_base): Delete.
5841         (arm_cannot_copy_insn_p): Use FOR_EACH_SUBRTX.
5843 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
5845         * config/arm/arm.c: Include rtl-iter.h.
5846         (arm_tls_referenced_p_1): Delete.
5847         (arm_tls_referenced_p): Use FOR_EACH_SUBRTX.
5849 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
5851         * config/arm/aarch-common.c: Include rtl-iter.h.
5852         (search_term, arm_find_sub_rtx_with_search_term): Delete.
5853         (arm_find_sub_rtx_with_code): Use FOR_EACH_SUBRTX_VAR.
5854         (arm_get_set_operands): Pass the insn pattern rather than the
5855         insn itself.
5856         (arm_no_early_store_addr_dep): Likewise.
5858 2014-11-08  Eric Botcazou  <ebotcazou@adacore.com>
5860         * config/arm/arm.c (arm_set_return_address): Mark the store as frame
5861         related, if any.
5862         (thumb_set_return_address): Likewise.
5864 2014-11-07  Jeff Law  <law@redhat.com>
5866         PR tree-optimization/61515
5867         * tree-ssa-threadedge.c (invalidate_equivalences): Walk the unwinding
5868         stack rather than looking at every SSA_NAME's value.
5870 2014-11-07  Richard Biener  <rguenther@suse.de>
5872         PR tree-optimization/63605
5873         * fold-const.c (fold_binary_loc): Properly use element_precision
5874         for types that may not be scalar.
5876 2014-11-07  Evgeny Stupachenko  <evstupac@gmail.com>
5878         PR target/63534
5879         * config/i386/i386.md (builtin_setjmp_receiver): Use
5880         pic_offset_table_rtx for PIC register.
5881         (nonlocal_goto_receiver): Delete.
5883 2014-11-07  Daniel Hellstrom  <daniel@gaisler.com>
5885         * config.gcc (sparc-*-rtems*): Clean away unused t-elf.
5886         * config/sparc/t-rtems: Add leon3v7 and muser-mode multilibs.
5888 2014-11-07  Martin Liska  <mliska@suse.cz>
5890         PR ipa/63580
5891         * cgraphunit.c (cgraph_node::create_wrapper):
5892         TREE_ADDRESSABLE is set to false for a newly created thunk.
5894 2014-11-07  Martin Liska  <mliska@suse.cz>
5896         PR ipa/63747
5897         * ipa-icf-gimple.c (func_checker::compare_gimple_switch):
5898         Missing checking for CASE_LOW and CASE_HIGH added.
5900 2014-11-07  Martin Liska  <mliska@suse.cz>
5902         PR ipa/63595
5903         * cgraphunit.c (cgraph_node::expand_thunk): DECL_BY_REFERENCE
5904         is correctly handled for thunks created by IPA ICF.
5906 2014-11-07  Jiong Wang  <jiong.wang@arm.com>
5907 2014-11-07  Richard Biener  <rguenther@suse.de>
5909         PR tree-optimization/63676
5910         * gimple-fold.c (fold_gimple_assign): Do not fold node when
5911         TREE_CLOBBER_P be true.
5913 2014-11-07  Richard Biener  <rguenther@suse.de>
5915         PR middle-end/63770
5916         * match.pd: Guard conflicting GENERIC pattern properly.
5918 2014-11-07  Richard Biener  <rguenther@suse.de>
5920         * match.pd: Add patterns for POINTER_PLUS_EXPR association
5921         and special patterns from tree-ssa-forwprop.c
5922         * fold-const.c (fold_binary_loc): Remove them here.
5923         * tree-ssa-forwprop.c (to_purge): New global bitmap.
5924         (fwprop_set_lattice_val): New function.
5925         (fwprop_invalidate_lattice): Likewise.
5926         (remove_prop_source_from_use): Instead of purging dead EH
5927         edges record blocks to do that in to_purge.
5928         (tidy_after_forward_propagate_addr): Likewise.
5929         (forward_propagate_addr_expr): Invalidate the lattice for
5930         SSA names we release.
5931         (simplify_conversion_from_bitmask): Likewise.
5932         (simplify_builtin_call): Likewise.
5933         (associate_pointerplus_align): Remove.
5934         (associate_pointerplus_diff): Likewise.
5935         (associate_pointerplus): Likewise.
5936         (fold_all_stmts): Merge with ...
5937         (pass_forwprop::execute): ... the original loop over all
5938         basic-blocks.  Delay purging dead EH edges and invalidate
5939         the lattice for SSA names we release.
5941 2014-11-07  Terry Guo  <terry.guo@arm.com>
5943         * config/arm/arm.opt (masm-syntax-unified): New option.
5944         * doc/invoke.texi (-masm-syntax-unified): Document new option.
5945         * config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1.
5946         (ASM_APP_ON): Redefined.
5947         * config/arm/arm.c (arm_option_override): Thumb2 inline assembly
5948         code always use UAL syntax.
5949         (arm_output_mi_thunk): Use UAL syntax for Thumb1 target.
5950         * config/arm/thumb1.md: Likewise.
5952 2014-11-06  John David Anglin  <danglin@gcc.gnu.org>
5954         * config/pa/pa.md (trap): New insn.  Add "trap" to attribute type.
5955         Don't allow trap insn in in_branch_delay, in_nullified_branch_delay
5956         or in_call_delay.
5957         
5958 2014-11-06  Steve Ellcey  <sellcey@imgtec.com>
5960         * config.gcc (mips*-mti-linux*): Remove gnu_ld and gas assignments.
5961         Set default_mips_arch and default_mips_abi instead of tm_defines.
5962         (mips*-*-linux*): Set default_mips_arch and default_mips_abi instead
5963         of tm_defines.
5964         (mips*-*-*): Check with_arch and with_abi.  Set tm_defines.
5965         * config/mips/mips.h (STANDARD_STARTFILE_PREFIX_1): Set default
5966         based on MIPS_ABI_DEFAULT.
5967         (STANDARD_STARTFILE_PREFIX_2): Ditto.
5969 2014-11-06  Joseph Myers  <joseph@codesourcery.com>
5971         * doc/invoke.texi (-std=c99, -std=c11): Don't refer to corner
5972         cases of extended identifiers.
5974 2014-11-06  Eric Botcazou  <ebotcazou@adacore.com>
5976         * tree-cfgcleanup.c (fixup_noreturn_call): Do not perform DCE here.
5978 2014-11-06  DJ Delorie  <dj@redhat.com>
5980         * config/m32c/cond.md (movqicc_<code>_<mode>): Remove mode of
5981         conditional.
5982         (movhicc_<code>_<mode>): Likewise.
5983         * config/m32c/m32c.c (encode_pattern_1): Specialise PSImode
5984         subregs.
5985         (m32c_eh_return_data_regno): Change to using memregs to avoid
5986         tying up all the compute regs.
5987         (m32c_legitimate_address_p) Subregs are not valid addresses.
5989 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5991         * function.c (thread_prologue_and_epilogue_insns): No longer static.
5992         * function.h (thread_prologue_and_epilogue_insns): Declare.
5994         * target.def (assemble_undefined_decl): New hooks.
5995         * hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
5996         * hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
5997         * doc/tm.texi.in (TARGET_ASM_ASSEMBLE_UNDEFINED_DECL): Add.
5998         * doc/tm.texi: Regenerate.
5999         * output.h (assemble_undefined_decl): Declare.
6000         (get_fnname_from_decl): Declare.
6001         * varasm.c (assemble_undefined_decl): New function.
6002         (get_fnname_from_decl): New function.
6003         * final.c (rest_of_handle_final): Use it.
6004         * varpool.c (varpool_output_variables): Call assemble_undefined_decl
6005         for nodes without a definition.
6007         * target.def (call_args, end_call_args): New hooks.
6008         * hooks.c (hook_void_rtx_tree): New empty function.
6009         * hooks.h (hook_void_rtx_tree): Declare.
6010         * doc/tm.texi.in (TARGET_CALL_ARGS, TARGET_END_CALL_ARGS): Add.
6011         * doc/tm.texi: Regenerate.
6012         * calls.c (expand_call): Slightly rearrange the code.  Use the two new
6013         hooks.
6014         (expand_library_call_value_1): Use the two new hooks.
6016         * expr.c (use_reg_mode): Just return for pseudo registers.
6018         * combine.c (try_combine): Don't allow a call as one of the source
6019         insns.
6021         * target.def (decl_end): New hook.
6022         * varasm.c (assemble_variable_contents, assemble_constant_contents):
6023         Use it.
6024         * doc/tm.texi.in (TARGET_ASM_DECL_END): Add.
6025         * doc/tm.texi: Regenerate.
6027 2014-11-06  Renlin Li  <renlin.li@arm.com>
6029         * config/aarch64/aarch64.c (aarch64_architecture_version): New.
6030         (processor): New architecture_version field.
6031         (aarch64_override_options): Initialize aarch64_architecture_version.
6032         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_ARCH,
6033         __ARM_ARCH_PROFILE, aarch64_arch_name macro.
6035 2014-11-06  James Greenhalgh  <james.greenhalgh@arm.com>
6037         * params.def (sra-max-scalarization-size-Ospeed): New.
6038         (sra-max-scalarization-size-Osize): Likewise.
6039         * doc/invoke.texi (sra-max-scalarization-size-Ospeed): Document.
6040         (sra-max-scalarization-size-Osize): Likewise.
6041         * toplev.c (process_options): Set default values for new
6042         parameters.
6043         * tree-sra.c (analyze_all_variable_accesses): Use new parameters.
6044         * targhooks.c (get_move_ratio): Remove static designator.
6045         * target.h (get_move_ratio): Declare.
6047 2014-11-06  Marek Polacek  <polacek@redhat.com>
6049         * sanopt.c (sanopt_optimize_walker): Limit removal of the checks.
6050         Remove vector limit.
6052 2014-11-06  Richard Biener  <rguenther@suse.de>
6054         * match.pd: Implement bitwise binary and unary simplifications
6055         from tree-ssa-forwprop.c.
6056         * fold-const.c (fold_unary_loc): Remove them here.
6057         (fold_binary_loc): Likewise.
6058         * tree-ssa-forwprop.c (simplify_not_neg_expr): Remove.
6059         (truth_valued_ssa_name): Likewise.
6060         (lookup_logical_inverted_value): Likewise.
6061         (simplify_bitwise_binary_1): Likewise.
6062         (hoist_conversion_for_bitop_p): Likewise.
6063         (simplify_bitwise_binary_boolean): Likewise.
6064         (simplify_bitwise_binary): Likewise.
6065         (pass_forwprop::execute): Remove calls to simplify_not_neg_expr
6066         and simplify_bitwise_binary.
6067         * genmatch.c (dt_node::append_true_op): Use safe_as_a for parent.
6068         (decision_tree::insert): Also insert non-expressions.
6070 2014-11-06  Hale Wang  <hale.wang@arm.com>
6072         * config/arm/arm-cores.def: Add support for
6073         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
6074         cortex-m1.small-multiply.
6075         * config/arm/arm-tables.opt: Regenerate.
6076         * config/arm/arm-tune.md: Regenerate.
6077         * config/arm/arm.c: Update the rtx-costs for MUL.
6078         * config/arm/bpabi.h: Handle
6079         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
6080         cortex-m1.small-multiply.
6081         * doc/invoke.texi: Document
6082         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
6083         cortex-m1.small-multiply.
6085 2014-11-06  Hale Wang  <hale.wang@arm.com>
6087         * config/arm/arm.c: Add cortex-m7 tune.
6088         * config/arm/arm-cores.def: Use cortex-m7 tune.
6090 2014-11-05  Uros Bizjak  <ubizjak@gmail.com>
6092         PR target/63538
6093         * config/i386/i386.c (in_large_data_p): Reject automatic variables.
6094         (ix86_encode_section_info): Do not check for non-automatic varibles
6095         when setting SYMBOL_FLAG_FAR_ADDR flag.
6096         (x86_64_elf_select_section): Do not check ix86_cmodel here.
6097         (x86_64_elf_unique_section): Ditto.
6098         (x86_elf_aligned_common): Emit tab before .largecomm.
6100 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6102         PR preprocessor/9449
6103         * doc/cpp.texi (Character sets, Tokenization)
6104         (Implementation-defined behavior): Don't refer to UCNs in
6105         identifiers requiring -fextended-identifiers.
6106         * doc/cppopts.texi (-fextended-identifiers): Document as enabled
6107         by default for C99 and later and C++.
6108         * doc/invoke.texi (-std=c99, -std=c11): Don't refer to extended
6109         identifiers needing -fextended-identifiers.
6111 2014-11-05  Ilya Tocar  <ilya.tocar@intel.com>
6113         * config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd
6114         for 512-bit wide modes.
6115         (expand_vec_perm_1): Use correct versions of patterns.
6116         * config/i386/sse.md (avx512f_vec_dup<mode>_1): New.
6117         (vashr<mode>3<mask_name>): Split V8HImode and V16QImode.
6119 2014-11-05  Ilya Enkovich  <ilya.enkovich@intel.com>
6121         * ipa-chkp.c: New.
6122         * ipa-chkp.h: New.
6123         * tree-chkp.c: New.
6124         * tree-chkp.h: New.
6125         * tree-chkp-opt.c: New.
6126         * rtl-chkp.c: New.
6127         * rtl-chkp.h: New.
6128         * Makefile.in (OBJS): Add ipa-chkp.o, rtl-chkp.o, tree-chkp.o
6129         tree-chkp-opt.o.
6130         (GTFILES): Add tree-chkp.c.
6131         * mode-classes.def (MODE_POINTER_BOUNDS): New.
6132         * tree.def (POINTER_BOUNDS_TYPE): New.
6133         * genmodes.c (complete_mode): Support MODE_POINTER_BOUNDS.
6134         (POINTER_BOUNDS_MODE): New.
6135         (make_pointer_bounds_mode): New.
6136         * machmode.h (POINTER_BOUNDS_MODE_P): New.
6137         * stor-layout.c (int_mode_for_mode): Support MODE_POINTER_BOUNDS.
6138         (layout_type): Support POINTER_BOUNDS_TYPE.
6139         * tree-pretty-print.c (dump_generic_node): Support POINTER_BOUNDS_TYPE.
6140         * tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE.
6141         * tree.c (build_int_cst_wide): Support POINTER_BOUNDS_TYPE.
6142         (type_contains_placeholder_1): Likewise.
6143         (build_common_tree_nodes): Initialize
6144         pointer_bounds_type_node.
6145         * tree.h (POINTER_BOUNDS_TYPE_P): New.
6146         (pointer_bounds_type_node): New.
6147         (POINTER_BOUNDS_P): New.
6148         (BOUNDED_TYPE_P): New.
6149         (BOUNDED_P): New.
6150         (CALL_WITH_BOUNDS_P): New.
6151         * gimple.h (gf_mask): Add GF_CALL_WITH_BOUNDS.
6152         (gimple_call_with_bounds_p): New.
6153         (gimple_call_set_with_bounds): New.
6154         (gimple_return_retbnd): New.
6155         (gimple_return_set_retbnd): New
6156         * gimple.c (gimple_build_return): Increase number of ops
6157         for return statement.
6158         (gimple_build_call_from_tree): Propagate CALL_WITH_BOUNDS_P
6159         flag.
6160         * gimple-pretty-print.c (dump_gimple_return): Print second op.
6161         * rtl.h (CALL_EXPR_WITH_BOUNDS_P): New.
6162         * gimplify.c (gimplify_init_constructor): Avoid infinite
6163         loop during gimplification of bounds initializer.
6164         * calls.c: Include tree-chkp.h, rtl-chkp.h, bitmap.h.
6165         (special_function_p): Use original decl name when analyzing
6166         instrumentation clone.
6167         (arg_data): Add fields special_slot, pointer_arg and
6168         pointer_offset.
6169         (store_bounds): New.
6170         (emit_call_1): Propagate instrumentation flag for CALL.
6171         (initialize_argument_information): Compute pointer_arg,
6172         pointer_offset and special_slot for pointer bounds arguments.
6173         (finalize_must_preallocate): Preallocate when storing bounds
6174         in bounds table.
6175         (compute_argument_addresses): Skip pointer bounds.
6176         (expand_call): Store bounds into tables separately.  Return
6177         result joined with resulting bounds.
6178         * cfgexpand.c: Include tree-chkp.h, rtl-chkp.h.
6179         (expand_call_stmt): Propagate bounds flag for CALL_EXPR.
6180         (expand_return): Add returned bounds arg.  Handle returned bounds.
6181         (expand_gimple_stmt_1): Adjust to new expand_return signature.
6182         (gimple_expand_cfg): Reset rtx bounds map.
6183         * expr.c: Include tree-chkp.h, rtl-chkp.h.
6184         (expand_assignment): Handle returned bounds.
6185         (store_expr_with_bounds): New.  Replaces store_expr with new bounds
6186         target argument.  Handle bounds returned by calls.
6187         (store_expr): Now wraps store_expr_with_bounds.
6188         * expr.h (store_expr_with_bounds): New.
6189         * function.c: Include tree-chkp.h, rtl-chkp.h.
6190         (bounds_parm_data): New.
6191         (use_register_for_decl): Do not registerize decls used for bounds
6192         stores and loads.
6193         (assign_parms_augmented_arg_list): Add bounds of the result
6194         structure pointer as the second argument.
6195         (assign_parm_find_entry_rtl): Mark bounds are never passed on
6196         the stack.
6197         (assign_parm_is_stack_parm): Likewise.
6198         (assign_parm_load_bounds): New.
6199         (assign_bounds): New.
6200         (assign_parms): Load bounds and determine a location for
6201         returned bounds.
6202         (diddle_return_value_1): New.
6203         (diddle_return_value): Handle returned bounds.
6204         * function.h (rtl_data): Add field for returned bounds.
6205         * varasm.c: Include tree-chkp.h.
6206         (output_constant): Support POINTER_BOUNDS_TYPE.
6207         (output_constant_pool_2): Support MODE_POINTER_BOUNDS.
6208         (ultimate_transparent_alias_target): Move up.
6209         (make_decl_rtl): For instrumented function use
6210         name of the original decl.
6211         (assemble_start_function): Mark function as global
6212         in case it is instrumentation clone of the global
6213         function.
6214         (do_assemble_alias): Follow transparent alias chain
6215         for identifier.  Check if original alias is public.
6216         (maybe_assemble_visibility): Use visibility of the
6217         original function for instrumented version.
6218         (default_unique_section): Likewise.
6219         * emit-rtl.c (immed_double_const): Support MODE_POINTER_BOUNDS.
6220         (init_emit_once): Build pointer bounds zero constants.
6221         * explow.c (trunc_int_for_mode): Support MODE_POINTER_BOUNDS.
6222         * target.def (builtin_chkp_function): New.
6223         (chkp_bound_type): New.
6224         (chkp_bound_mode): New.
6225         (chkp_make_bounds_constant): New.
6226         (chkp_initialize_bounds): New.
6227         (load_bounds_for_arg): New.
6228         (store_bounds_for_arg): New.
6229         (load_returned_bounds): New.
6230         (store_returned_bounds): New.
6231         (chkp_function_value_bounds): New.
6232         (setup_incoming_vararg_bounds): New.
6233         (function_arg): Update hook description with new possible return
6234         value CONST_INT.
6235         * targhooks.h (default_load_bounds_for_arg): New.
6236         (default_store_bounds_for_arg): New.
6237         (default_load_returned_bounds): New.
6238         (default_store_returned_bounds): New.
6239         (default_chkp_bound_type): New.
6240         (default_chkp_bound_mode): New.
6241         (default_builtin_chkp_function): New.
6242         (default_chkp_function_value_bounds): New.
6243         (default_chkp_make_bounds_constant): New.
6244         (default_chkp_initialize_bounds): New.
6245         (default_setup_incoming_vararg_bounds): New.
6246         * targhooks.c (default_load_bounds_for_arg): New.
6247         (default_store_bounds_for_arg): New.
6248         (default_load_returned_bounds): New.
6249         (default_store_returned_bounds): New.
6250         (default_chkp_bound_type): New.
6251         (default_chkp_bound_mode); New.
6252         (default_builtin_chkp_function): New.
6253         (default_chkp_function_value_bounds): New.
6254         (default_chkp_make_bounds_constant): New.
6255         (default_chkp_initialize_bounds): New.
6256         (default_setup_incoming_vararg_bounds): New.
6257         * builtin-types.def (BT_BND): New.
6258         (BT_FN_PTR_CONST_PTR): New.
6259         (BT_FN_CONST_PTR_CONST_PTR): New.
6260         (BT_FN_BND_CONST_PTR): New.
6261         (BT_FN_CONST_PTR_BND): New.
6262         (BT_FN_PTR_CONST_PTR_SIZE): New.
6263         (BT_FN_PTR_CONST_PTR_CONST_PTR): New.
6264         (BT_FN_VOID_PTRPTR_CONST_PTR): New.
6265         (BT_FN_VOID_CONST_PTR_SIZE): New.
6266         (BT_FN_VOID_PTR_BND): New.
6267         (BT_FN_CONST_PTR_CONST_PTR_CONST_PTR): New.
6268         (BT_FN_BND_CONST_PTR_SIZE): New.
6269         (BT_FN_PTR_CONST_PTR_CONST_PTR_SIZE): New.
6270         (BT_FN_VOID_CONST_PTR_BND_CONST_PTR): New.
6271         * chkp-builtins.def: New.
6272         * builtins.def: include chkp-builtins.def.
6273         (DEF_CHKP_BUILTIN): New.
6274         * builtins.c: Include tree-chkp.h and rtl-chkp.h.
6275         (expand_builtin): Support BUILT_IN_CHKP_INIT_PTR_BOUNDS,
6276         BUILT_IN_CHKP_NULL_PTR_BOUNDS, BUILT_IN_CHKP_COPY_PTR_BOUNDS,
6277         BUILT_IN_CHKP_CHECK_PTR_LBOUNDS, BUILT_IN_CHKP_CHECK_PTR_UBOUNDS,
6278         BUILT_IN_CHKP_CHECK_PTR_BOUNDS, BUILT_IN_CHKP_SET_PTR_BOUNDS,
6279         BUILT_IN_CHKP_NARROW_PTR_BOUNDS, BUILT_IN_CHKP_STORE_PTR_BOUNDS,
6280         BUILT_IN_CHKP_GET_PTR_LBOUND, BUILT_IN_CHKP_GET_PTR_UBOUND,
6281         BUILT_IN_CHKP_BNDMK, BUILT_IN_CHKP_BNDSTX, BUILT_IN_CHKP_BNDCL,
6282         BUILT_IN_CHKP_BNDCU, BUILT_IN_CHKP_BNDLDX, BUILT_IN_CHKP_BNDRET,
6283         BUILT_IN_CHKP_INTERSECT, BUILT_IN_CHKP_NARROW,
6284         BUILT_IN_CHKP_EXTRACT_LOWER, BUILT_IN_CHKP_EXTRACT_UPPER.
6285         (std_expand_builtin_va_start): Init bounds for va_list.
6286         * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Add
6287         __CHKP__ macro when Pointer Bounds Checker is on.
6288         * params.def (PARAM_CHKP_MAX_CTOR_SIZE): New.
6289         * passes.def (pass_ipa_chkp_versioning): New.
6290         (pass_early_local_passes): Renamed to pass_build_ssa_passes.
6291         (pass_fixup_cfg): Moved to pass_chkp_instrumentation_passes.
6292         (pass_chkp_instrumentation_passes): New.
6293         (pass_ipa_chkp_produce_thunks): New.
6294         (pass_local_optimization_passes): New.
6295         (pass_chkp_opt): New.
6296         * tree-pass.h (make_pass_ipa_chkp_versioning): New.
6297         (make_pass_ipa_chkp_produce_thunks): New.
6298         (make_pass_chkp): New.
6299         (make_pass_chkp_opt): New.
6300         (make_pass_early_local_passes): Renamed to ...
6301         (make_pass_build_ssa_passes): This.
6302         (make_pass_chkp_instrumentation_passes): New.
6303         (make_pass_local_optimization_passes): New.
6304         * passes.c (pass_manager::execute_early_local_passes): Execute
6305         early passes in three steps.
6306         (execute_all_early_local_passes): Renamed to ...
6307         (execute_build_ssa_passes): This.
6308         (pass_data_early_local_passes): Renamed to ...
6309         (pass_data_build_ssa_passes): This.
6310         (pass_early_local_passes): Renamed to ...
6311         (pass_build_ssa_passes): This.
6312         (pass_data_chkp_instrumentation_passes): New.
6313         (pass_chkp_instrumentation_passes): New.
6314         (pass_data_local_optimization_passes): New.
6315         (pass_local_optimization_passes): New.
6316         (make_pass_early_local_passes): Renamed to ...
6317         (make_pass_build_ssa_passes): This.
6318         (make_pass_chkp_instrumentation_passes): New.
6319         (make_pass_local_optimization_passes): New.
6320         * c-family/c.opt (fcheck-pointer-bounds): New.
6321         (fchkp-check-incomplete-type): New.
6322         (fchkp-zero-input-bounds-for-main): New.
6323         (fchkp-first-field-has-own-bounds): New.
6324         (fchkp-narrow-bounds): New.
6325         (fchkp-narrow-to-innermost-array): New.
6326         (fchkp-optimize): New.
6327         (fchkp-use-fast-string-functions): New.
6328         (fchkp-use-nochk-string-functions): New.
6329         (fchkp-use-static-bounds): New.
6330         (fchkp-use-static-const-bounds): New.
6331         (fchkp-treat-zero-dynamic-size-as-infinite): New.
6332         (fchkp-check-read): New.
6333         (fchkp-check-write): New.
6334         (fchkp-store-bounds): New.
6335         (fchkp-instrument-calls): New.
6336         (fchkp-instrument-marked-only): New.
6337         (Wchkp): New.
6338         * c-family/c-common.c (handle_bnd_variable_size_attribute): New.
6339         (handle_bnd_legacy): New.
6340         (handle_bnd_instrument): New.
6341         (c_common_attribute_table): Add bnd_variable_size, bnd_legacy
6342         and bnd_instrument.  Fix documentation.
6343         (c_common_format_attribute_table): Likewsie.
6344         * toplev.c: include tree-chkp.h.
6345         (process_options): Check Pointer Bounds Checker is supported.
6346         (compile_file): Add chkp_finish_file call.
6347         * ipa-cp.c (initialize_node_lattices): Use cgraph_local_p
6348         to handle instrumentation clones properly.
6349         (propagate_constants_accross_call): Do not propagate
6350         through instrumentation thunks.
6351         * ipa-pure-const.c (propagate_pure_const): Support
6352         IPA_REF_CHKP.
6353         * ipa-inline.c (early_inliner): Check edge has summary allocated.
6354         * ipa-split.c: Include tree-chkp.h.
6355         (find_retbnd): New.
6356         (split_part_set_ssa_name_p): New.
6357         (consider_split): Do not split retbnd and retval
6358         producers.
6359         (insert_bndret_call_after): new.
6360         (split_function): Propagate Pointer Bounds Checker
6361         instrumentation marks and handle returned bounds.
6362         * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
6363         into bit field and add with_bounds field.
6364         * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
6365         with_bounds field for instrumented calls.
6366         * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
6367         CALL_WITH_BOUNDS_P flag for calls.
6368         * tree-ssa-ccp.c: Include tree-chkp.h.
6369         (insert_clobber_before_stack_restore): Handle
6370         BUILT_IN_CHKP_BNDRET calls.
6371         * tree-ssa-dce.c: Include tree-chkp.h.
6372         (propagate_necessity): For free call fed by alloc check
6373         bounds are also provided by the same alloc.
6374         (eliminate_unnecessary_stmts): Handle BUILT_IN_CHKP_BNDRET
6375         used by free calls.
6376         * tree-inline.c: Include tree-chkp.h.
6377         (declare_return_variable): Add arg holding
6378         returned bounds slot.  Create and initialize returned bounds var.
6379         (remap_gimple_stmt): Handle returned bounds.
6380         Return sequence of statements instead of a single statement.
6381         (insert_init_stmt): Add declaration.
6382         (remap_gimple_seq): Adjust to new remap_gimple_stmt signature.
6383         (copy_bb): Adjust to changed return type of remap_gimple_stmt.
6384         Properly handle bounds in va_arg_pack and va_arg_pack_len.
6385         (expand_call_inline): Handle returned bounds.  Add bounds copy
6386         for generated mem to mem assignments.
6387         * tree-inline.h (copy_body_data): Add fields retbnd and
6388         assign_stmts.
6389         * value-prof.c: Include tree-chkp.h.
6390         (gimple_ic): Support returned bounds.
6391         * ipa.c (cgraph_build_static_cdtor_1): Support contructors
6392         with "chkp ctor" and "bnd_legacy" attributes.
6393         (symtab_remove_unreachable_nodes): Keep initial values for
6394         pointer bounds to be used for checks eliminations.
6395         (process_references): Handle IPA_REF_CHKP.
6396         (walk_polymorphic_call_targets): Likewise.
6397         * ipa-visibility.c (cgraph_externally_visible_p): Mark
6398         instrumented 'main' as externally visible.
6399         (function_and_variable_visibility): Filter instrumentation
6400         thunks.
6401         * cgraph.h (cgraph_thunk_info): Add add_pointer_bounds_args
6402         field.
6403         (cgraph_node): Add instrumented_version, orig_decl and
6404         instrumentation_clone fields.
6405         (symtab_node::get_alias_target): Allow IPA_REF_CHKP reference.
6406         (varpool_node): Add need_bounds_init field.
6407         (cgraph_local_p): New.
6408         * cgraph.c: Include tree-chkp.h.
6409         (cgraph_node::remove): Fix instrumented_version
6410         of the referenced node if any.
6411         (cgraph_node::dump): Dump instrumentation_clone and
6412         instrumented_version fields.
6413         (cgraph_node::verify_node): Check correctness of IPA_REF_CHKP
6414         references and instrumentation thunks.
6415         (cgraph_can_remove_if_no_direct_calls_and_refs_p): Keep
6416         all not instrumented instrumentation clones alive.
6417         (cgraph_redirect_edge_call_stmt_to_callee): Support
6418         returned bounds.
6419         * cgraphbuild.c (rebuild_cgraph_edges): Rebuild IPA_REF_CHKP
6420         reference.
6421         (cgraph_rebuild_references): Likewise.
6422         * cgraphunit.c: Include tree-chkp.h.
6423         (assemble_thunks_and_aliases): Skip thunks calling instrumneted
6424         function version.
6425         (varpool_finalize_decl): Register statically initialized decls
6426         in Pointer Bounds Checker.
6427         (walk_polymorphic_call_targets): Do not mark generated call to
6428         __builtin_unreachable as with_bounds.
6429         (output_weakrefs): If there are both instrumented and original
6430         versions, output only one of them.
6431         (cgraph_node::expand_thunk): Set with_bounds flag
6432         for created call statement.
6433         * ipa-ref.h (ipa_ref_use): Add IPA_REF_CHKP.
6434         (ipa_ref): increase size of use field.
6435         * symtab.c (ipa_ref_use_name): Add element for IPA_REF_CHKP.
6436         * varpool.c (dump_varpool_node): Dump need_bounds_init field.
6437         (ctor_for_folding): Do not fold constant bounds vars.
6438         * lto-streamer.h (LTO_minor_version): Change minor version from
6439         0 to 1.
6440         * lto-cgraph.c (compute_ltrans_boundary): Keep initial values for
6441         pointer bounds.
6442         (lto_output_node): Output instrumentation_clone,
6443         thunk.add_pointer_bounds_args and orig_decl field.
6444         (lto_output_ref): Adjust to new ipa_ref::use field size.
6445         (input_overwrite_node): Read instrumentation_clone field.
6446         (input_node): Read thunk.add_pointer_bounds_args and orig_decl
6447         fields.
6448         (input_ref): Adjust to new ipa_ref::use field size.
6449         (input_cgraph_1): Compute instrumented_version fields and restore
6450         IDENTIFIER_TRANSPARENT_ALIAS chains.
6451         (lto_output_varpool_node): Output
6452         need_bounds_init value.
6453         (input_varpool_node): Read need_bounds_init value.
6454         * lto-partition.c (add_symbol_to_partition_1): Keep original
6455         and instrumented versions together.
6456         (privatize_symbol_name): Restore transparent alias chain if required.
6457         (add_references_to_partition): Add references to pointer bounds vars.
6458         * dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
6459         * dwarf2out.c (gen_subprogram_die): Ignore bound args.
6460         (gen_type_die_with_usage): Skip pointer bounds.
6461         (dwarf2out_global_decl): Likewise.
6462         (is_base_type): Support POINTER_BOUNDS_TYPE.
6463         (gen_formal_types_die): Skip pointer bounds.
6464         (gen_decl_die): Likewise.
6465         * var-tracking.c (vt_add_function_parameters): Skip
6466         bounds parameters.
6467         * ipa-icf.c (sem_function::merge): Do not merge when instrumentation
6468         thunk still exists.
6469         (sem_variable::merge): Reset need_bounds_init flag.
6470         * doc/extend.texi: Document Pointer Bounds Checker built-in functions
6471         and attributes.
6472         * doc/tm.texi.in (TARGET_LOAD_BOUNDS_FOR_ARG): New.
6473         (TARGET_STORE_BOUNDS_FOR_ARG): New.
6474         (TARGET_LOAD_RETURNED_BOUNDS): New.
6475         (TARGET_STORE_RETURNED_BOUNDS): New.
6476         (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
6477         (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
6478         (TARGET_BUILTIN_CHKP_FUNCTION): New.
6479         (TARGET_CHKP_BOUND_TYPE): New.
6480         (TARGET_CHKP_BOUND_MODE): New.
6481         (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
6482         (TARGET_CHKP_INITIALIZE_BOUNDS): New.
6483         * doc/tm.texi: Regenerated.
6484         * doc/rtl.texi (MODE_POINTER_BOUNDS): New.
6485         (BND32mode): New.
6486         (BND64mode): New.
6487         * doc/invoke.texi (-mmpx): New.
6488         (-mno-mpx): New.
6489         (chkp-max-ctor-size): New.
6490         * config/i386/constraints.md (w): New.
6491         (Ti): New.
6492         (Tb): New.
6493         * config/i386/i386-c.c (ix86_target_macros_internal): Add __MPX__.
6494         * config/i386/i386-modes.def (BND32): New.
6495         (BND64): New.
6496         * config/i386/i386-protos.h (ix86_bnd_prefixed_insn_p): New.
6497         * config/i386/i386.c: Include tree-chkp.h, rtl-chkp.h, tree-iterator.h.
6498         (regclass_map): Add bound registers.
6499         (dbx_register_map): Likewise.
6500         (dbx64_register_map): Likewise.
6501         (svr4_dbx_register_map): Likewise.
6502         (isa_opts): Add -mmpx.
6503         (PTA_MPX): New.
6504         (ix86_option_override_internal): Support MPX ISA.
6505         (ix86_conditional_register_usage): Support bound registers.
6506         (ix86_code_end): Add MPX bnd prefix.
6507         (output_set_got): Likewise.
6508         (print_reg): Avoid prefixes for bound registers.
6509         (ix86_print_operand): Add '!' (MPX bnd) print prefix support.
6510         (ix86_print_operand_punct_valid_p): Likewise.
6511         (ix86_print_operand_address): Support UNSPEC_BNDMK_ADDR and
6512         UNSPEC_BNDLDX_ADDR.
6513         (ix86_output_call_insn): Add MPX bnd prefix to branch instructions.
6514         (ix86_class_likely_spilled_p): Add bound regs support.
6515         (ix86_hard_regno_mode_ok): Likewise.
6516         (x86_order_regs_for_local_alloc): Likewise.
6517         (ix86_bnd_prefixed_insn_p): New.
6518         (ix86_builtins): Add
6519         IX86_BUILTIN_BNDMK, IX86_BUILTIN_BNDSTX,
6520         IX86_BUILTIN_BNDLDX, IX86_BUILTIN_BNDCL,
6521         IX86_BUILTIN_BNDCU, IX86_BUILTIN_BNDRET,
6522         IX86_BUILTIN_BNDNARROW, IX86_BUILTIN_BNDINT,
6523         IX86_BUILTIN_SIZEOF, IX86_BUILTIN_BNDLOWER,
6524         IX86_BUILTIN_BNDUPPER.
6525         (builtin_isa): Add leaf_p and nothrow_p fields.
6526         (def_builtin): Initialize leaf_p and nothrow_p.
6527         (ix86_add_new_builtins): Handle leaf_p and nothrow_p
6528         flags.
6529         (bdesc_mpx): New.
6530         (bdesc_mpx_const): New.
6531         (ix86_init_mpx_builtins): New.
6532         (ix86_init_builtins): Call ix86_init_mpx_builtins.
6533         (ix86_emit_cmove): New.
6534         (ix86_emit_move_max): New.
6535         (ix86_expand_builtin): Expand IX86_BUILTIN_BNDMK,
6536         IX86_BUILTIN_BNDSTX, IX86_BUILTIN_BNDLDX,
6537         IX86_BUILTIN_BNDCL, IX86_BUILTIN_BNDCU,
6538         IX86_BUILTIN_BNDRET, IX86_BUILTIN_BNDNARROW,
6539         IX86_BUILTIN_BNDINT, IX86_BUILTIN_SIZEOF,
6540         IX86_BUILTIN_BNDLOWER, IX86_BUILTIN_BNDUPPER.
6541         (ix86_function_value_bounds): New.
6542         (ix86_builtin_mpx_function): New.
6543         (ix86_get_arg_address_for_bt): New.
6544         (ix86_load_bounds): New.
6545         (ix86_store_bounds): New.
6546         (ix86_load_returned_bounds): New.
6547         (ix86_store_returned_bounds): New.
6548         (ix86_mpx_bound_mode): New.
6549         (ix86_make_bounds_constant): New.
6550         (ix86_initialize_bounds):
6551         (TARGET_LOAD_BOUNDS_FOR_ARG): New.
6552         (TARGET_STORE_BOUNDS_FOR_ARG): New.
6553         (TARGET_LOAD_RETURNED_BOUNDS): New.
6554         (TARGET_STORE_RETURNED_BOUNDS): New.
6555         (TARGET_CHKP_BOUND_MODE): New.
6556         (TARGET_BUILTIN_CHKP_FUNCTION): New.
6557         (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
6558         (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
6559         (TARGET_CHKP_INITIALIZE_BOUNDS): New.
6560         (ix86_option_override_internal): Do not
6561         support x32 with MPX.
6562         (init_cumulative_args): Init stdarg, bnd_regno, bnds_in_bt
6563         and force_bnd_pass.
6564         (function_arg_advance_32): Return number of used integer
6565         registers.
6566         (function_arg_advance_64): Likewise.
6567         (function_arg_advance_ms_64): Likewise.
6568         (ix86_function_arg_advance): Handle pointer bounds.
6569         (ix86_function_arg): Likewise.
6570         (ix86_function_value_regno_p): Mark fisrt bounds registers as
6571         possible function value.
6572         (ix86_function_value_1): Handle pointer bounds type/mode
6573         (ix86_return_in_memory): Likewise.
6574         (ix86_print_operand): Analyse insn to decide abounf "bnd" prefix.
6575         (ix86_expand_call): Generate returned bounds.
6576         (ix86_setup_incoming_vararg_bounds): New.
6577         (ix86_va_start): Initialize bounds for pointers in va_list.
6578         (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
6579         * config/i386/i386.h (TARGET_MPX): New.
6580         (TARGET_MPX_P): New.
6581         (FIRST_PSEUDO_REGISTER): Fix to new value.
6582         (FIXED_REGISTERS): Add bound registers.
6583         (CALL_USED_REGISTERS): Likewise.
6584         (REG_ALLOC_ORDER): Likewise.
6585         (HARD_REGNO_NREGS): Likewise.
6586         (VALID_BND_REG_MODE): New.
6587         (FIRST_BND_REG): New.
6588         (LAST_BND_REG): New.
6589         (reg_class): Add BND_REGS.
6590         (REG_CLASS_NAMES): Likewise.
6591         (REG_CLASS_CONTENTS): Likewise.
6592         (BND_REGNO_P): New.
6593         (ANY_BND_REG_P): New.
6594         (BNDmode): New.
6595         (HI_REGISTER_NAMES): Add bound registers.
6596         (ix86_args): Add bnd_regno, bnds_in_bt, force_bnd_pass and
6597         stdarg fields.
6598         * config/i386/i386.md (UNSPEC_BNDMK): New.
6599         (UNSPEC_BNDMK_ADDR): New.
6600         (UNSPEC_BNDSTX): New.
6601         (UNSPEC_BNDLDX): New.
6602         (UNSPEC_BNDLDX_ADDR): New.
6603         (UNSPEC_BNDCL): New.
6604         (UNSPEC_BNDCU): New.
6605         (UNSPEC_BNDCN): New.
6606         (UNSPEC_MPX_FENCE): New.
6607         (UNSPEC_SIZEOF): New.
6608         (BND0_REG): New.
6609         (BND1_REG): New.
6610         (type): Add mpxmov, mpxmk, mpxchk, mpxld, mpxst.
6611         (length_immediate): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
6612         (prefix_rep): Check for bnd prefix.
6613         (prefix_0f): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
6614         (length_nobnd): New.
6615         (length): Use length_nobnd when specified.
6616         (memory): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
6617         (BND): New.
6618         (bnd_ptr): New.
6619         (BNDCHECK): New.
6620         (bndcheck): New.
6621         (*jcc_1): Add MPX bnd prefix.
6622         (*jcc_2): Likewise.
6623         (jump): Likewise.
6624         (*indirect_jump): Likewise.
6625         (*tablejump_1): Likewise.
6626         (simple_return_internal): Likewise.
6627         (simple_return_internal_long): Likewise.
6628         (simple_return_pop_internal): Likewise.
6629         (simple_return_indirect_internal): Likewise.
6630         (<mode>_mk): New.
6631         (*<mode>_mk): New.
6632         (mov<mode>): New.
6633         (*mov<mode>_internal_mpx): New.
6634         (<mode>_<bndcheck>): New.
6635         (*<mode>_<bndcheck>): New.
6636         (<mode>_ldx): New.
6637         (*<mode>_ldx): New.
6638         (<mode>_stx): New.
6639         (*<mode>_stx): New.
6640         move_size_reloc_<mode>): New.
6641         * config/i386/predicates.md (address_mpx_no_base_operand): New.
6642         (address_mpx_no_index_operand): New.
6643         (bnd_mem_operator): New.
6644         (symbol_operand): New.
6645         (x86_64_immediate_size_operand): New.
6646         * config/i386/i386.opt (mmpx): New.
6647         * config/i386/i386-builtin-types.def (BND): New.
6648         (ULONG): New.
6649         (BND_FTYPE_PCVOID_ULONG): New.
6650         (VOID_FTYPE_BND_PCVOID): New.
6651         (VOID_FTYPE_PCVOID_PCVOID_BND): New.
6652         (BND_FTYPE_PCVOID_PCVOID): New.
6653         (BND_FTYPE_PCVOID): New.
6654         (BND_FTYPE_BND_BND): New.
6655         (PVOID_FTYPE_PVOID_PVOID_ULONG): New.
6656         (PVOID_FTYPE_PCVOID_BND_ULONG): New.
6657         (ULONG_FTYPE_VOID): New.
6658         (PVOID_FTYPE_BND): New.
6660 2014-11-05  Bernd Schmidt  <bernds@codesourcery.com>
6662         * passes.def (pass_compute_alignments, pass_duplicate_computed_gotos,
6663         pass_variable_tracking, pass_free_cfg, pass_machine_reorg,
6664         pass_cleanup_barriers, pass_delay_slots,
6665         pass_split_for_shorten_branches, pass_convert_to_eh_region_ranges,
6666         pass_shorten_branches, pass_est_nothrow_function_flags,
6667         pass_dwarf2_frame, pass_final): Move outside of pass_postreload and
6668         into pass_late_compilation.
6669         (pass_late_compilation): Add.
6670         * passes.c (pass_data_late_compilation, pass_late_compilation,
6671         make_pass_late_compilation): New.
6672         * timevar.def (TV_LATE_COMPILATION): New.
6674         * target.def (omit_struct_return_reg): New data hook.
6675         * doc/tm.texi.in: Add @hook TARGET_OMIT_STRUCT_RETURN_REG.
6676         * doc/tm.texi: Regenerate.
6677         * function.c (expand_function_end): Use it.
6679         * target.def (no_register_allocation): New data hook.
6680         * doc/tm.texi.in: Add @hook TARGET_NO_REGISTER_ALLOCATION.
6681         * doc/tm.texi: Regenerate.
6682         * ira.c (gate_ira): New function.
6683         (pass_data_ira): Set has_gate.
6684         (pass_ira): Add a gate function.
6685         (pass_data_reload): Likewise.
6686         (pass_reload): Add a gate function.
6687         (pass_ira): Use it.
6688         * reload1.c (eliminate_regs): If reg_eliminate_is NULL, assert that
6689         no register allocation happens on the target and return.
6690         * final.c (alter_subreg): Ensure register is not a pseudo before
6691         calling simplify_subreg.
6692         (output_operand): Assert that x isn't a pseudo only if doing
6693         register allocation.
6695         * dbxout.c (dbxout_symbol): Don't call eliminate_regs on decls for
6696         global vars.
6698         * optabs.c (emit_indirect_jump): Test HAVE_indirect_jump and emit a
6699         sorry if necessary.
6701 2014-11-05  Alex Velenko  <Alex.Velenko@arm.com>
6703         * simplify-rtx.c (simplify_binary_operation_1): Div check added.
6704         * rtl.h (SUBREG_P): New macro added.
6706 2014-11-05  Tejas Belagod  <tejas.belagod@arm.com>
6708         * config/aarch64/aarch64-builtins.c
6709         (aarch64_build_scalar_type): Remove.
6710         (aarch64_scalar_builtin_types, aarch64_simd_type,
6711         aarch64_simd_type, aarch64_mangle_builtin_scalar_type,
6712         aarch64_mangle_builtin_vector_type,
6713         aarch64_mangle_builtin_type, aarch64_simd_builtin_std_type,
6714         aarch64_lookup_simd_builtin_type, aarch64_simd_builtin_type,
6715         aarch64_init_simd_builtin_types,
6716         aarch64_init_simd_builtin_scalar_types): New.
6717         (aarch64_init_simd_builtins): Refactor.
6718         (aarch64_init_crc32_builtins): Fixup with qualifier.
6719         * config/aarch64/aarch64-protos.h
6720         (aarch64_mangle_builtin_type): Export.
6721         * config/aarch64/aarch64-simd-builtin-types.def: New.
6722         * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Remove.
6723         (aarch64_mangle_type): Refactor.
6724         * config/aarch64/arm_neon.h: Declare vector types based on
6725         internal types.
6726         * config/aarch64/t-aarch64: Update dependency.
6728 2014-11-04  Pat Haugen  <pthaugen@us.ibm.com>
6730         * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
6731         atomic_update_decl): Guard declaration with #ifdef.
6733 2014-11-04  Marek Polacek  <polacek@redhat.com>
6735         * sanopt.c (sanopt_optimize_walker): Remove unused variables.
6737 2014-11-04  Marek Polacek  <polacek@redhat.com>
6739         * Makefile.in (OBJS): Add sanopt.o.
6740         (GTFILES): Add sanopt.c.
6741         * asan.h (asan_expand_check_ifn): Declare.
6742         * asan.c (asan_expand_check_ifn): No longer static.
6743         (class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
6744         * sanopt.c: ...here.  New file.
6746 2014-11-04  Jiong Wang  <jiong.wang@arm.com>
6747 2014-11-04  Wilco Dijkstra  <wilco.dijkstra@arm.com>
6749         PR target/63293
6750         * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before
6751         stack adjustment.
6753 2014-11-04  Bernd Schmidt  <bernds@codesourcery.com>
6755         * combine.c (combine_simplify_rtx): In STORE_FLAG_VALUE == -1 case,
6756         also verify that mode is equal to the mode of op0.
6758         * bb-reorder.c (get_uncond_jump_length): Avoid using delete_insn,
6759         emit into a sequence instead.
6761 2014-11-04  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
6763         * config/sh/sh.c (emit_fpu_switch): Drop unused automatic variable.
6765 2014-11-04  Alan Lawrence  <alan.lawrence@arm.com>
6767         config/arm/neon.md (reduc_smin_<mode> *2): Rename to...
6768         (reduc_smin_scal_<mode> *2): ...this; extract scalar result.
6769         (reduc_smax_<mode> *2): Rename to...
6770         (reduc_smax_scal_<mode> *2): ...this; extract scalar result.
6771         (reduc_umin_<mode> *2): Rename to...
6772         (reduc_umin_scal_<mode> *2): ...this; extract scalar result.
6773         (reduc_umax_<mode> *2): Rename to...
6774         (reduc_umax_scal_<mode> *2): ...this; extract scalar result.
6776 2014-11-04  Alan Lawrence  <alan.lawrence@arm.com>
6778         config/arm/neon.md (reduc_plus_*): Rename to...
6779         (reduc_plus_scal_*): ...this; reduce to temp and extract scalar result.
6781 2014-11-04  Michael Collison <michael.collison@linaro.org>
6783         * config/aarch64/iterators.md (lconst_atomic): New mode attribute
6784         to support constraints for CONST_INT in atomic operations.
6785         * config/aarch64/atomics.md
6786         (atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
6787         (atomic_nand<mode>): Likewise.
6788         (atomic_fetch_<atomic_optab><mode>): Likewise.
6789         (atomic_fetch_nand<mode>): Likewise.
6790         (atomic_<atomic_optab>_fetch<mode>): Likewise.
6791         (atomic_nand_fetch<mode>): Likewise.
6793 2014-11-04  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6795         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in definition
6796         of __ARM_FEATURE_IDIV.
6798 2014-11-04  Marek Polacek  <polacek@redhat.com>
6800         * ubsan.c (instrument_object_size): Optimize [x & CST] array accesses.
6802 2014-11-03  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
6804         * config/rx/rx.c (rx_handle_func_attribute): Mark unused argument.
6806 2014-11-04  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6808         Revert:
6809         2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6810         * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
6811         Allow CC mode if HAVE_cbranchcc4.
6813 2014-11-03  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6815         * godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support
6816         with -fdump-go-spec.  Anonymous substructures are now flattened and
6817         replaced by their fields (record) or the first named, non-bitfield
6818         field (union).
6820 2014-11-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
6822         * input.c (expand_location_to_spelling_point): Fix typo.
6823         (expansion_point_location_if_in_system_header): Fix comment.
6825 2014-11-03  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
6827         * config/avr/gen-avr-mmcu-specs.c: Remove unnecessary format specifier.
6829 2014-11-03  Richard Biener  <rguenther@suse.de>
6831         * tree-eh.c (operation_could_trap_helper_p): Handle conversions
6832         like ordinary operations.
6833         * gimplify.c (gimplify_conversion): Gimplify CONVERT_EXPR
6834         as NOP_EXPR.
6836 2014-11-03  Joseph Myers  <joseph@codesourcery.com>
6838         * configure.ac (TARGET_GLIBC_MAJOR, TARGET_GLIBC_MINOR): Define
6839         macros.
6840         * configure, config.h.in: Regenerate.
6841         * config/rs6000/linux.h [TARGET_GLIBC_MAJOR > 2 ||
6842         (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
6843         (RS6000_GLIBC_ATOMIC_FENV): New macro.
6844         * config/rs6000/linux64.h [TARGET_GLIBC_MAJOR > 2 ||
6845         (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
6846         (RS6000_GLIBC_ATOMIC_FENV): New macro.
6847         * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl)
6848         (atomic_update_decl): New static variables.
6849         (rs6000_atomic_assign_expand_fenv) [RS6000_GLIBC_ATOMIC_FENV]:
6850         Generate calls to __atomic_feholdexcept, __atomic_feclearexcept
6851         and __atomic_feupdateenv for soft-float and no-FPRs.
6853 2014-11-03  Richard Biener  <rguenther@suse.de>
6855         * match.pd: Add two abs patterns.  Announce tree_expr_nonnegative_p.
6856         Also drop bogus FLOAT_EXPR and FIX_TRUNC_EXPR.
6857         * fold-const.c (fold_unary_loc): Remove them here.
6858         (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
6859         * gimple-fold.c (fold_gimple_assign): Remove now obsolete
6860         GIMPLE_UNARY_RHS case.
6861         (gimple_fold_stmt_to_constant_1): Likewise.
6862         (replace_stmt_with_simplification): Fix inverted comparison.
6864 2014-11-03  Marc Glisse  <marc.glisse@inria.fr>
6866         PR tree-optimization/60770
6867         * tree-into-ssa.c (rewrite_update_stmt): Return whether the
6868         statement should be removed.
6869         (maybe_register_def): Likewise. Replace clobbers with default
6870         definitions.
6871         (rewrite_dom_walker::before_dom_children): Remove statement if
6872         rewrite_update_stmt says so.
6873         * tree-ssa-live.c: Include tree-ssa.h.
6874         (set_var_live_on_entry): Do not mark undefined variables as live.
6875         (verify_live_on_entry): Do not check undefined variables.
6876         * tree-ssa.h (ssa_undefined_value_p): New parameter for the case
6877         of partially undefined variables.
6878         * tree-ssa.c (ssa_undefined_value_p): Likewise.
6879         (execute_update_addresses_taken): Do not drop clobbers.
6881 2014-11-03  Marc Glisse  <marc.glisse@inria.fr>
6883         PR tree-optimization/63666
6884         * fold-const.c: Include "optabs.h".
6885         (fold_ternary_loc) <VEC_PERM_EXPR>: Avoid canonicalizing a
6886         can_vec_perm_p permutation to one that is not.
6888 2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6890         * ifcvt.c (noce_try_store_flag_mask): Check rtx cost.
6892 2014-11-03  Andrew Pinski  <apinski@cavium.com>
6894         * config/mips/mips-cpus.def (octeon3): New cpu.
6895         * config/mips/mips.c (mips_rtx_cost_data): Add octeon3.
6896         (mips_print_operand <case 'T', case 't'>): Fix a bug as the mode
6897         of the comparison no longer matches mode of the operands.
6898         (mips_issue_rate): Handle PROCESSOR_OCTEON3.
6899         * config/mips/mips.h (TARGET_OCTEON):  Add Octeon3.
6900         (TARGET_OCTEON2): Likewise.
6901         (TUNE_OCTEON): Add Octeon3.
6902         * config/mips/mips.md (processor): Add octeon3.
6903         * config/mips/octeon.md (octeon_fpu): New automaton and cpu_unit.
6904         (octeon_arith): Add octeon3.
6905         (octeon_condmove): Remove.
6906         (octeon_condmove_o1): New reservation.
6907         (octeon_condmove_o2): New reservation.
6908         (octeon_condmove_o3_int_on_cc): New reservation.
6909         (octeon_load_o2): Add octeon3.
6910         (octeon_cop_o2): Likewise.
6911         (octeon_store): Likewise.
6912         (octeon_brj_o2): Likewise.
6913         (octeon_imul3_o2): Likewise.
6914         (octeon_imul_o2): Likewise.
6915         (octeon_mfhilo_o2): Likewise.
6916         (octeon_imadd_o2): Likewise.
6917         (octeon_idiv_o2_si): Likewise.
6918         (octeon_idiv_o2_di): Likewise.
6919         (octeon_fpu): Add to the automaton.
6920         (octeon_fpu): New cpu unit.
6921         (octeon_condmove_o2): Check for non floating point modes.
6922         (octeon_load_o2): Add prefetchx.
6923         (octeon_cop_o2): Don't check for octeon3.
6924         (octeon3_faddsubcvt): New reservation.
6925         (octeon3_fmul): Likewise.
6926         (octeon3_fmadd): Likewise.
6927         (octeon3_div_sf): Likewise.
6928         (octeon3_div_df): Likewise.
6929         (octeon3_sqrt_sf): Likewise.
6930         (octeon3_sqrt_df): Likewise.
6931         (octeon3_rsqrt_sf): Likewise.
6932         (octeon3_rsqrt_df): Likewise.
6933         (octeon3_fabsnegmov): Likewise.
6934         (octeon_fcond): Likewise.
6935         (octeon_fcondmov): Likewise.
6936         (octeon_fpmtc1): Likewise.
6937         (octeon_fpmfc1): Likewise.
6938         (octeon_fpload): Likewise.
6939         (octeon_fpstore): Likewise.
6940         * config/mips/mips-tables.opt: Regenerate.
6941         * doc/invoke.texi (-march=@var{arch}): Add octeon3.
6943 2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6945         * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
6946         Allow CC mode if HAVE_cbranchcc4.
6948 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
6950         * config/arc/arc.c (write_ext_corereg_1): Delete.
6951         (arc_write_ext_corereg): Use FOR_EACH_SUBRTX.
6953 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
6955         * config/arc/arc.c (arc600_corereg_hazard_1): Delete.
6956         (arc600_corereg_hazard): Use FOR_EACH_SUBRTX.
6958 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
6960         * config/arc/arc.c (arc_rewrite_small_data_p): Constify argument.
6961         (small_data_pattern_1): Delete.
6962         (small_data_pattern): Use FOR_EACH_SUBRTX.
6964 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
6966         * config/arc/arc.c: Include rtl-iter.h.
6967         (arc_rewrite_small_data_1): Delete.
6968         (arc_rewrite_small_data): Use FOR_EACH_SUBRTX_PTR.
6970 2014-11-02  Michael Collison  <michael.collison@linaro.org>
6972         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
6973         to support vector modes.
6974         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
6976 2014-11-01  Andrew MacLeod  <amacleod@redhat,com>
6978         * optabs.h: Flatten insn-codes.h to source files.  Move some prototypes
6979         and structs to genopinit.c.  Adjust protyoptypes to match optabs.c.
6980         * genopinit.c (main): Emit prototypes and structs into insn-opinit.h.
6981         * optabs.c: (gen_move_insn): Move to expr.c.
6982         * expr.h: Move protypes and enums to optabs.h.
6983         * expr.c: (gen_move_insn): Relocate from optabs.c.
6984         * genemit.c (main): Include insn-codes.h.
6985         * gengtype.c (open_base_files): Include insn-codes.h.
6986         * asan.c: Include insn-codes.h.
6987         * bb-reorder.c: Ditto.
6988         * builtins.c: Ditto.
6989         * calls.c: Ditto.
6990         * cfgexpand.c: Ditto.
6991         * cilk-common.c: Ditto.
6992         * combine.c: Ditto.
6993         * dojump.c: Ditto.
6994         * dse.c: Ditto.
6995         * except.c: Ditto.
6996         * explow.c: Ditto.
6997         * expmed.c: Ditto.
6998         * function.c: Ditto.
6999         * ifcvt.c: Ditto.
7000         * internal-fn.c: Ditto.
7001         * loop-unroll.c: Ditto.
7002         * lra.c: Ditto.
7003         * modulo-sched.c: Ditto.
7004         * omp-low.c: Ditto.
7005         * postreload.c: Ditto.
7006         * ree.c: Ditto.
7007         * reload.c: Ditto.
7008         * reload1.c: Ditto.
7009         * shrink-wrap.c: Ditto.
7010         * simplify-rtx.c: Ditto.
7011         * stmt.c: Ditto.
7012         * target-globals.c: Ditto.
7013         * targhooks.c: Ditto.
7014         * toplev.c: Ditto.
7015         * tree-if-conv.c: Ditto.
7016         * tree-ssa-forwprop.c: Ditto.
7017         * tree-ssa-loop-prefetch.c: Ditto.
7018         * tree-ssa-math-opts.c: Ditto.
7019         * tree-ssa-phiopt.c: Ditto.
7020         * tree-ssa-reassoc.c: Ditto.
7021         * tree-switch-conversion.c: Ditto.
7022         * tree-vect-data-refs.c: Ditto.
7023         * tree-vect-generic.c: Ditto.
7024         * tree-vect-loop.c: Ditto.
7025         * tree-vect-patterns.c: Ditto.
7026         * tree-vect-slp.c: Ditto.
7027         * tree-vect-stmts.c: Ditto.
7028         * tree-vrp.c: Ditto.
7029         * value-prof.c: Ditto.
7030         * config/aarch64/aarch64-builtins.c: Ditto.
7031         * config/alpha/alpha.c: Ditto.
7032         * config/arm/arm.c: Ditto.
7033         * config/cris/cris.c: Ditto.
7034         * config/epiphany/epiphany.c: Ditto.
7035         * config/frv/frv.c: Ditto.
7036         * config/h8300/h8300.c: Ditto.
7037         * config/ia64/ia64.c: Ditto.
7038         * config/iq2000/iq2000.c: Ditto.
7039         * config/m32c/m32c.c: Ditto.
7040         * config/mep/mep.c: Ditto.
7041         * config/microblaze/microblaze.c: Ditto.
7042         * config/mips/mips.c: Ditto.
7043         * config/mn10300/mn10300.c: Ditto.
7044         * config/moxie/moxie.c: Ditto.
7045         * config/msp430/msp430.c: Ditto.
7046         * config/nios2/nios2.c: Ditto.
7047         * config/pa/pa.c: Ditto.
7048         * config/rl78/rl78.c: Ditto.
7049         * config/rs6000/rs6000.c: Ditto.
7050         * config/rx/rx.c: Ditto.
7051         * config/s390/s390.c: Ditto.
7052         * config/sh/sh.c: Ditto.
7053         * config/sh/sh_treg_combine.cc: Ditto.
7054         * config/spu/spu.c: Ditto.
7055         * config/stormy16/stormy16.c: Ditto.
7056         * config/tilegx/mul-tables.c: Ditto.
7057         * config/tilegx/tilegx.c: Ditto.
7058         * config/tilepro/mul-tables.c: Ditto.
7059         * config/tilepro/tilepro.c: Ditto.
7060         * config/vax/vax.c: Ditto.
7062 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7064         * doc/tm.texi.in (MOVE_BY_PIECES_P): Remove.
7065         (CLEAR_BY_PIECES_P): Likewise.
7066         (SET_BY_PIECES_P): Likewise.
7067         (STORE_BY_PIECES_P): Likewise.
7068         * doc/tm.texi: Regenerate.
7069         * system.h: Poison MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P,
7070         SET_BY_PIECES_P, STORE_BY_PIECES_P.
7071         * expr.c (MOVE_BY_PIECES_P): Remove.
7072         (CLEAR_BY_PIECES_P): Likewise.
7073         (SET_BY_PIECES_P): Likewise.
7074         (STORE_BY_PIECES_P): Likewise.
7075         (can_move_by_pieces): Rewrite in terms of
7076         targetm.use_by_pieces_infrastructure_p.
7077         (emit_block_move_hints): Likewise.
7078         (can_store_by_pieces): Likewise.
7079         (store_by_pieces): Likewise.
7080         (clear_storage_hints): Likewise.
7081         (emit_push_insn): Likewise.
7082         (expand_constructor): Likewise.
7084 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7086         * config/aarch64/aarch64.c
7087         (aarch64_use_by_pieces_infrastructre_p): New.
7088         (TARGET_USE_BY_PIECES_INFRASTRUCTURE): Likewise.
7089         * config/aarch64/aarch64.h (STORE_BY_PIECES_P): Delete.
7091 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7093         * config/mips/mips.h (MOVE_BY_PIECES_P): Remove.
7094         (STORE_BY_PIECES_P): Likewise.
7095         * config/mips/mips.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
7096         (mips_move_by_pieces_p): Rename to...
7097         (mips_use_by_pieces_infrastructure_p): ...this, use new hook
7098         parameters, use the default hook implementation as a
7099         fall-back.
7101 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7103         * config/sh/sh.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
7104         (sh_use_by_pieces_infrastructure_p): Likewise.
7105         * config/sh/sh.h (MOVE_BY_PIECES_P): Remove.
7106         (STORE_BY_PIECES_P): Likewise.
7107         (SET_BY_PIECES_P): Likewise.
7109 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7111         * config/arc/arc.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
7112         (arc_use_by_pieces_infrastructure_p): Likewise.
7113         * confir/arc/arc.h (MOVE_BY_PIECES_P): Delete.
7114         (CAN_MOVE_BY_PIECES): Likewise.
7116 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7118         * config/s390/s390.c (s390_use_by_pieces_infrastructure_p): New.
7119         (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): Likewise.
7120         * config/s390/s390.h (MOVE_BY_PIECES_P): Remove.
7121         (CLEAR_BY_PIECES): Likewise.
7122         (SET_BY_PIECES): Likewise.
7123         (STORE_BY_PIECES): Likewise.
7125 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
7127         * target.def (use_by_pieces_infrastructure_p): New.
7128         * doc/tm.texi.in (MOVE_BY_PIECES_P): Describe that this macro
7129         is deprecated.
7130         (STORE_BY_PIECES_P): Likewise.
7131         (CLEAR_BY_PIECES_P): Likewise.
7132         (SET_BY_PIECES_P): Likewise.
7133         (TARGET_MOVE_BY_PIECES_PROFITABLE_P): Add hook.
7134         * doc/tm.texi: Regenerate.
7135         * expr.c (MOVE_BY_PIECES_P): Rewrite in terms of
7136         TARGET_USE_BY_PIECES_INFRASTRUCTURE_P.
7137         (STORE_BY_PIECES_P): Likewise.
7138         (CLEAR_BY_PIECES_P): Likewise.
7139         (SET_BY_PIECES_P): Likewise.
7140         (STORE_MAX_PIECES): Move to...
7141         * defaults.h (STORE_MAX_PIECES): ...here.
7142         * targhooks.c (get_move_ratio): New.
7143         (default_use_by_pieces_infrastructure_p): Likewise.
7144         * targhooks.h (default_use_by_pieces_infrastructure_p): New.
7145         * target.h (by_pieces_operation): New.
7147 2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
7149         PR target/63702
7150         * config/i386/i386.c (ix86_expand_args_builtin): Remove extra
7151         assignment to 'nargs' variable.
7153 2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
7155         PR target/63620
7156         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
7157         * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
7158         * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
7159         be reloaded through memory.
7160         (*pushxf): Ditto.
7161         (*pushdf): Ditto.
7163 2014-10-31  Jakub Jelinek  <jakub@redhat.com>
7165         PR rtl-optimization/63659
7166         * ree.c (update_reg_equal_equiv_notes): New function.
7167         (combine_set_extension, transform_ifelse): Use it.
7169 2014-10-31  Jeff Law  <law@redhat.com>
7171         * doc/contrib.texi: Add contribution notes for Balaji Iyer (Cilk+)
7172         and Jonny Grant (collect2).
7174 2014-10-31  Richard Biener  <rguenther@suse.de>
7176         * builtins.c (fold_builtin_atomic_always_lock_free): Use
7177         CONVERT_EXPR_P, CONVERT_EXPR_CODE_P and CASE_CONVERT where
7178         approprate.
7179         (fold_builtin_expect): Likewise.
7180         (integer_valued_real_p): Likewise.
7181         * cfgexpand.c (expand_debug_expr): Likewise.
7182         * ipa-inline-analysis.c (eliminated_by_inlining_prob): Likewise.
7183         (find_foldable_builtin_expect): Likewise.
7184         * trans-mem.c (thread_private_new_memory): Likewise.
7185         * tree-affine.c (aff_combination_expand): Likewise.
7186         * tree-data-ref.c (initialize_matrix_A): Likewise.
7187         * tree-inline.c (copy_bb): Likewise.
7188         * tree-pretty-print.c (dump_function_name): Likewise.
7189         (print_call_name): Likewise.
7190         * tree-ssa-forwprop.c (constant_pointer_difference): Likewise.
7191         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise.
7192         * tree-vect-generic.c (expand_vector_operations_1): Likewise.
7193         * tree-vect-patterns.c (vect_handle_widen_op_by_const): Likewise.
7194         (vect_recog_widen_mult_pattern): Likewise.
7195         (vect_operation_fits_smaller_type): Likewise.
7196         * tree-vrp.c (find_assert_locations_1): Likewise.
7197         * tree-ssa-dom.c (initialize_hash_element): Canonicalize
7198         converts to NOP_EXPR.
7200 2014-10-31  Richard Biener  <rguenther@suse.de>
7202         * genmatch.c (expr::gen_transform): Use NOP_EXPRs instead of
7203         CONVERT_EXPRs in generated code.
7204         (dt_simplify::gen): Likewise.
7206 2014-10-31  Evgeny Stupachenko  <evstupac@gmail.com>
7208         PR target/63534
7209         * config/i386/i386.c (ix86_init_pic_reg): Emit SET_GOT to
7210         REAL_PIC_OFFSET_TABLE_REGNUM for mcount profiling.
7211         (ix86_save_reg): Save REAL_PIC_OFFSET_TABLE_REGNUM when profiling
7212         using mcount in 32bit PIC mode.
7213         (ix86_elim_entry_set_got): New.
7214         (ix86_expand_prologue): For the mcount profiling emit new SET_GOT
7215         in PROLOGUE, delete initial if possible.
7217 2014-10-31  Eric Botcazou  <ebotcazou@adacore.com>
7219         * ipa-inline.c (want_inline_small_function_p): Fix typo and formatting.
7220         (want_inline_function_to_all_callers_p): Fix formatting and simplify.
7222 2014-10-31  Thomas Preud'homme  <thomas.preudhomme@arm.com>
7224         PR tree-optimization/63259
7225         * tree-ssa-math-opts.c (bswap_replace): Replace expression by a
7226         rotation left if it is a 16 bit byte swap.
7227         (pass_optimize_bswap::execute): Also consider bswap in LROTATE_EXPR
7228         and RROTATE_EXPR statements if it is a byte rotation.
7230 2014-10-31  Jakub Jelinek  <jakub@redhat.com>
7232         PR sanitizer/63697
7233         * tree-vrp.c (simplify_internal_call_using_ranges): For subcode ==
7234         MINUS_EXPR, check overflow on vr0.min - vr1.max and vr0.max - vr1.min
7235         instead of vr0.min - vr1.min and vr0.max - vr1.max.
7237 2014-10-31  Max Ostapenko  <m.ostapenko@partner.samsung.com>
7239         PR ipa/63696
7240         * ipa-icf.c (sem_function::~sem_function): Change free to delete to avoid
7241         alloc-dealloc mismatch with new, called in ipa_icf::sem_function::init.
7243 2014-10-30  Felix Yang  <felix.yang@huawei.com>
7245         * config/xtensa/xtensa.h (TARGET_LOOPS): New Macro.
7246         * config/xtensa/xtensa.c: Include dumpfile.h and hw-doloop.h.
7247         (xtensa_reorg, xtensa_reorg_loops): New.
7248         (xtensa_can_use_doloop_p, xtensa_invalid_within_doloop): New.
7249         (hwloop_optimize, hwloop_fail, hwloop_pattern_reg): New.
7250         (xtensa_emit_loop_end): Emit the zero-overhead loop end label.
7251         (xtensa_doloop_hooks): Define.
7252         * config/xtensa/xtensa.md (doloop_end, loop_end): New
7253         (zero_cost_loop_start): Rewritten.
7254         (zero_cost_loop_end): Likewise.
7256 2014-10-30  Steve Ellcey  <sellcey@imgtec.com>
7258         * config.gcc (mips*-*-linux*): Combine 32 and 64 bit cases.
7260 2014-10-30  Richard Biener  <rguenther@suse.de>
7262         * genmatch.c: Remove <map>, <utility> and <string> includes.
7263         Include ggc.h and hash-map.h.
7264         (ggc_internal_cleared_alloc): Provide stub definition.
7265         (ggc_free): Likewise.
7266         (struct capture_id_map_hasher): New traits for hash_map.
7267         (cid_map_t): New typedef.
7268         (everywhere else): Replace std::map use with cid_map_t.
7269         * hash-map.h (hash_map::elements): New member function.
7270         * Makefile.in (build/genmatch.o): Add $(HASH_TABLE_H),
7271         hash-map.h and $(GGC_H) as dependency.
7273 2014-10-30  Richard Biener  <rguenther@suse.de>
7275         * genmatch.c (capture_info::walk_c_expr): Ignore capture
7276         uses inside TREE_TYPE ().
7277         * gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
7278         (find_candidates_dom_walker::before_dom_children): Likewise.
7279         (replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
7280         (replace_profitable_candidates): Likewise.
7281         * tree-ssa-dom.c (initialize_hash_element): Canonicalize
7282         CONVERT_EXPR_CODE_P to CONVERT_EXPR.
7283         * convert.c (convert_to_integer): Use CASE_CONVERT.
7285 2014-10-30  Richard Biener  <rguenther@suse.de>
7287         * match.pd: Implement more patterns that simplify to a single value.
7288         * fold-const.c (fold_binary_loc): Remove them here.
7289         * tree-ssa-forwprop.c (simplify_bitwise_binary): Likewise.
7290         (fwprop_ssa_val): Remove restriction on single uses.
7292 2014-10-30  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
7294         * config/avr/driver-avr.c (avr_set_current_device): Remove.
7296 2014-10-30  Martin Liska  <mliska@suse.cz>
7298         PR ipa/63574
7299         PR ipa/63664
7300         * ipa-icf-gimple.c (func_checker::parse_labels): Missing comment added.
7301         (func_checker::compare_gimple_label): Simlified comparison introduced.
7302         * ipa-icf-gimple.h: Missing comment added.
7304 2014-10-30  Jeff Law  <law@redhat.com>
7306         * config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
7307         argument from rtx to rtx_insn *.
7308         (compute_movmem_length, compute_clrmem_length): Likewise.
7309         (copy_fp_args, length_fp_args): Likewise.
7310         * config/pa/pa.c (legitimize_pic_address): Promote local variable
7311         "insn" from rtx to rtx_insn *.
7312         (legitimize_tls_address, pa_emit_move_sequence): Likewise.
7313         (pa_output_block_move, store_reg, store_reg_modify): Likewise.
7314         (set_reg_plus_d, pa_expand_prologue, hppa_profile_hook): Likewise.
7315         (branch_to_delay_slot_p, branch_needs_nop_p, use_skip_p): Likewise.
7316         (pa_output_arg_descriptor): Strengthen argument to an rtx_insn *.
7317         (compute_movmem_length, compute_clrmem_length): Likewise.
7318         (copy_fp-args, length_fp_args): Likewise.
7320 2014-10-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7322         * config/arm/arm.h (MACHMODE): Treat machine_mode as a
7323         scalar typedef.
7324         (CUMULATIVE_ARGS): Guard against target includes.
7325         (machine_function): Likewise.
7327 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7329         * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
7330         recog state after aarch64_prev_real_insn call.
7332 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7334         * config/aarch64/aarch64.h (MACHMODE): Add 'enum' to machine_mode.
7336 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7338         * config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
7339         (struct machine_function): Gate definition on
7340         !defined(USED_FOR_TARGET).
7342 2014-10-29  DJ Delorie  <dj@redhat.com>
7344         * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.
7346 2014-10-29  Martin Liska  <mliska@suse.cz>
7348         PR ipa/63587
7349         * cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put
7350         to local declarations.
7351         * function.c (add_local_decl): Implementation moved from header
7352         file, assert introduced for tree type.
7353         * function.h: Likewise.
7355 2014-10-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7357         * godump.c (go_format_type): Represent "float _Complex" and
7358         "double _Complex" as complex64 or complex128 in Go, as appropriate.
7360 2014-10-29  Richard Biener  <rguenther@suse.de>
7362         * match.pd: Implement a first set of conversion patterns.
7363         * fold-const.c (fold_unary_loc): Remove them here.
7364         * tree-ssa-forwprop.c (simplify_vce): Remove.
7365         (pass_forwprop::execute): Do not call simplify_vce.
7367 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
7369         * addresses.h, alias.c, asan.c, auto-inc-dec.c, bt-load.c, builtins.c,
7370         builtins.h, caller-save.c, calls.c, calls.h, cfgexpand.c, cfgloop.h,
7371         cfgrtl.c, combine.c, compare-elim.c, config/aarch64/aarch64-builtins.c,
7372         config/aarch64/aarch64-protos.h, config/aarch64/aarch64-simd.md,
7373         config/aarch64/aarch64.c, config/aarch64/aarch64.h,
7374         config/aarch64/aarch64.md, config/alpha/alpha-protos.h,
7375         config/alpha/alpha.c, config/arc/arc-protos.h, config/arc/arc.c,
7376         config/arc/arc.h, config/arc/predicates.md,
7377         config/arm/aarch-common-protos.h, config/arm/aarch-common.c,
7378         config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
7379         config/arm/arm.md, config/arm/neon.md, config/arm/thumb2.md,
7380         config/avr/avr-log.c, config/avr/avr-protos.h, config/avr/avr.c,
7381         config/avr/avr.md, config/bfin/bfin-protos.h, config/bfin/bfin.c,
7382         config/c6x/c6x-protos.h, config/c6x/c6x.c, config/c6x/c6x.md,
7383         config/cr16/cr16-protos.h, config/cr16/cr16.c,
7384         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.md,
7385         config/darwin-protos.h, config/darwin.c,
7386         config/epiphany/epiphany-protos.h, config/epiphany/epiphany.c,
7387         config/epiphany/epiphany.md, config/fr30/fr30.c,
7388         config/frv/frv-protos.h, config/frv/frv.c, config/frv/predicates.md,
7389         config/h8300/h8300-protos.h, config/h8300/h8300.c,
7390         config/i386/i386-builtin-types.awk, config/i386/i386-protos.h,
7391         config/i386/i386.c, config/i386/i386.md, config/i386/predicates.md,
7392         config/i386/sse.md, config/i386/sync.md, config/ia64/ia64-protos.h,
7393         config/ia64/ia64.c, config/iq2000/iq2000-protos.h,
7394         config/iq2000/iq2000.c, config/iq2000/iq2000.md,
7395         config/lm32/lm32-protos.h, config/lm32/lm32.c,
7396         config/m32c/m32c-protos.h, config/m32c/m32c.c,
7397         config/m32r/m32r-protos.h, config/m32r/m32r.c,
7398         config/m68k/m68k-protos.h, config/m68k/m68k.c,
7399         config/mcore/mcore-protos.h, config/mcore/mcore.c,
7400         config/mcore/mcore.md, config/mep/mep-protos.h, config/mep/mep.c,
7401         config/microblaze/microblaze-protos.h, config/microblaze/microblaze.c,
7402         config/mips/mips-protos.h, config/mips/mips.c,
7403         config/mmix/mmix-protos.h, config/mmix/mmix.c,
7404         config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
7405         config/moxie/moxie.c, config/msp430/msp430-protos.h,
7406         config/msp430/msp430.c, config/nds32/nds32-cost.c,
7407         config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
7408         config/nds32/nds32-protos.h, config/nds32/nds32.c,
7409         config/nios2/nios2-protos.h, config/nios2/nios2.c,
7410         config/pa/pa-protos.h, config/pa/pa.c, config/pdp11/pdp11-protos.h,
7411         config/pdp11/pdp11.c, config/rl78/rl78-protos.h, config/rl78/rl78.c,
7412         config/rs6000/altivec.md, config/rs6000/rs6000-c.c,
7413         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
7414         config/rs6000/rs6000.h, config/rx/rx-protos.h, config/rx/rx.c,
7415         config/s390/predicates.md, config/s390/s390-protos.h,
7416         config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
7417         config/sh/predicates.md, config/sh/sh-protos.h, config/sh/sh.c,
7418         config/sh/sh.md, config/sparc/predicates.md,
7419         config/sparc/sparc-protos.h, config/sparc/sparc.c,
7420         config/sparc/sparc.md, config/spu/spu-protos.h, config/spu/spu.c,
7421         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
7422         config/tilegx/tilegx-protos.h, config/tilegx/tilegx.c,
7423         config/tilegx/tilegx.md, config/tilepro/tilepro-protos.h,
7424         config/tilepro/tilepro.c, config/v850/v850-protos.h,
7425         config/v850/v850.c, config/v850/v850.md, config/vax/vax-protos.h,
7426         config/vax/vax.c, config/vms/vms-c.c, config/xtensa/xtensa-protos.h,
7427         config/xtensa/xtensa.c, coverage.c, cprop.c, cse.c, cselib.c, cselib.h,
7428         dbxout.c, ddg.c, df-problems.c, dfp.c, dfp.h, doc/md.texi,
7429         doc/rtl.texi, doc/tm.texi, doc/tm.texi.in, dojump.c, dse.c,
7430         dwarf2cfi.c, dwarf2out.c, dwarf2out.h, emit-rtl.c, emit-rtl.h,
7431         except.c, explow.c, expmed.c, expmed.h, expr.c, expr.h, final.c,
7432         fixed-value.c, fixed-value.h, fold-const.c, function.c, function.h,
7433         fwprop.c, gcse.c, gengenrtl.c, genmodes.c, genopinit.c, genoutput.c,
7434         genpreds.c, genrecog.c, gensupport.c, gimple-ssa-strength-reduction.c,
7435         graphite-clast-to-gimple.c, haifa-sched.c, hooks.c, hooks.h, ifcvt.c,
7436         internal-fn.c, ira-build.c, ira-color.c, ira-conflicts.c, ira-costs.c,
7437         ira-emit.c, ira-int.h, ira-lives.c, ira.c, ira.h, jump.c, langhooks.h,
7438         libfuncs.h, lists.c, loop-doloop.c, loop-invariant.c, loop-iv.c,
7439         loop-unroll.c, lower-subreg.c, lower-subreg.h, lra-assigns.c,
7440         lra-constraints.c, lra-eliminations.c, lra-int.h, lra-lives.c,
7441         lra-spills.c, lra.c, lra.h, machmode.h, omp-low.c, optabs.c, optabs.h,
7442         output.h, postreload.c, print-tree.c, read-rtl.c, real.c, real.h,
7443         recog.c, recog.h, ree.c, reg-stack.c, regcprop.c, reginfo.c,
7444         regrename.c, regs.h, reload.c, reload.h, reload1.c, rtl.c, rtl.h,
7445         rtlanal.c, rtlhash.c, rtlhooks-def.h, rtlhooks.c, sched-deps.c,
7446         sel-sched-dump.c, sel-sched-ir.c, sel-sched-ir.h, sel-sched.c,
7447         simplify-rtx.c, stmt.c, stor-layout.c, stor-layout.h, target.def,
7448         targhooks.c, targhooks.h, tree-affine.c, tree-call-cdce.c,
7449         tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-if-conv.c,
7450         tree-inline.c, tree-outof-ssa.c, tree-scalar-evolution.c,
7451         tree-ssa-address.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c,
7452         tree-ssa-loop-ivopts.h, tree-ssa-loop-manip.c,
7453         tree-ssa-loop-prefetch.c, tree-ssa-math-opts.c, tree-ssa-reassoc.c,
7454         tree-ssa-sccvn.c, tree-streamer-in.c, tree-switch-conversion.c,
7455         tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop.c,
7456         tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
7457         tree-vrp.c, tree.c, tree.h, tsan.c, ubsan.c, valtrack.c,
7458         var-tracking.c, varasm.c: Remove redundant enum from
7459         machine_mode.
7460         * gengtype.c (main): Treat machine_mode as a scalar typedef.
7461         * genmodes.c (emit_insn_modes_h): Hide inline functions if
7462         USED_FOR_TARGET.
7464 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
7466         PR rtl-optimization/63340 (part 2)
7467         * rtl.h (invalid_mode_change_p): Delete.
7468         (valid_mode_changes_for_regno): New function.
7469         * reginfo.c (invalid_mode_change_p): Delete.
7470         (valid_mode_changes_for_regno): New function.
7471         * ira-costs.c (setup_regno_cost_classes_by_aclass): Restrict the
7472         classes to registers that are allowed by valid_mode_changes_for_regno.
7473         (setup_regno_cost_classes_by_mode): Likewise.
7474         (print_allocno_costs): Remove invalid_mode_change_p test.
7475         (print_pseudo_costs, find_costs_and_classes): Likewise.
7477 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
7479         PR rtl-optimization/63340 (part 1)
7480         * ira-costs.c (all_cost_classes): New variable.
7481         (complete_cost_classes): New function, split out from...
7482         (setup_cost_classes): ...here.
7483         (initiate_regno_cost_classes): Set up all_cost_classes.
7484         (restrict_cost_classes): New function.
7485         (setup_regno_cost_classes_by_aclass): Restrict the cost classes to
7486         registers that are valid for the register's mode.
7487         (setup_regno_cost_classes_by_mode): Model the mode cache as a
7488         restriction of all_cost_classes to a particular mode.
7489         (print_allocno_costs): Remove contains_reg_of_mode check.
7490         (print_pseudo_costs, find_costs_and_classes): Likewise.
7492 2014-10-29  Richard Biener  <rguenther@suse.de>
7494         PR tree-optimization/63666
7495         * tree-vect-slp.c (vect_get_mask_element): Properly handle
7496         accessing out-of-bound elements.
7498 2014-10-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7499             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7500             Anna Tikhonova  <anna.tikhonova@intel.com>
7501             Ilya Tocar  <ilya.tocar@intel.com>
7502             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7503             Ilya Verbin  <ilya.verbin@intel.com>
7504             Kirill Yukhin  <kirill.yukhin@intel.com>
7505             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7507         * config/i386/i386.md
7508         (movhi_internal): Always detect maskmov.
7509         (movqi_internal): Fix target check.
7511 2014-10-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7512             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7513             Anna Tikhonova  <anna.tikhonova@intel.com>
7514             Ilya Tocar  <ilya.tocar@intel.com>
7515             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7516             Ilya Verbin  <ilya.verbin@intel.com>
7517             Kirill Yukhin  <kirill.yukhin@intel.com>
7518             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7520         * config/i386/avx512bwintrin.h: Add new intrinsics.
7521         * config/i386/avx512vlbwintrin.h: Ditto.
7522         * config/i386/avx512vlintrin.h: Ditto.
7524 2014-10-28  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7526         * godump.c (precision_to_units): New helper function.
7527         (go_append_artificial_name): Ditto.
7528         (go_append_decl_name): Ditto.
7529         (go_append_bitfield): Ditto.
7530         (go_get_uinttype_for_precision): Ditto.
7531         (go_append_padding): Ditto.
7532         (go_force_record_alignment): Ditto.
7533         (go_format_type): Represent unions with an array of uints of the size
7534         of the alignment in go.  This fixes the 'random' size of the union's
7535         representation using just the first field.
7536         (go_format_type): Add argument that indicates whether a record is
7537         nested (used for generation of artificial go names).
7538         (go_output_fndecl): Adapt to new go_format_type signature.
7539         (go_output_typedef): Ditto.
7540         (go_output_var): Ditto.
7541         (go_output_var): Prefer to output type as alias (typedef).
7542         (go_format_type): Bitfields in records are simulated as arrays of bytes
7543         in go.
7545         * godump.c (go_format_type): Fix handling of arrays with zero elements.
7547 2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
7549         * cgraph.h: Flatten.  Remove all include files.
7550         (symbol_table::initialize): Move to cgraph.c.
7551         * cgraph.c: Adjust include files.
7552         (symbol_table::initialize): Relocate from cgraph.h.
7553         * gengtype.c (open_base_files): Adjust include files.
7554         * gccplugin.h: Add hash-map.h, is-a.h, plugin-api.h, and ipa-ref.h to
7555         included files.
7556         * ipa-inline.h: Remove all include files.
7557         * ipa-prop.h: Ditto.
7558         * ipa-reference.h: Ditto.
7559         * ipa-utils.h: Ditto:
7560         * lto-streamer.h: Remove cgraph.h from include list.
7561         * asan.c: Adjust include files.
7562         * auto-profile.c: Ditto.
7563         * bb-reorder.c: Ditto.
7564         * calls.c: Ditto.
7565         * cfgexpand.c: Ditto.
7566         * cgraphbuild.c: Ditto.
7567         * cgraphclones.c: Ditto.
7568         * cgraphunit.c: Ditto.
7569         * combine.c: Ditto.
7570         * coverage.c: Ditto.
7571         * data-streamer.c: Ditto.
7572         * data-streamer-in.c: Ditto.
7573         * data-streamer-out.c: Ditto.
7574         * dbxout.c: Ditto.
7575         * dwarf2out.c: Ditto.
7576         * except.c: Ditto.
7577         * expr.c: Ditto.
7578         * final.c: Ditto.
7579         * fold-const.c: Ditto.
7580         * ggc-page.c: Ditto.
7581         * gimple-fold.c: Ditto.
7582         * gimple-iterator.c: Ditto.
7583         * gimple-pretty-print.c: Ditto.
7584         * gimple-streamer-in.c: Ditto.
7585         * gimple-streamer-out.c: Ditto.
7586         * gimplify.c: Ditto.
7587         * ipa.c: Ditto.
7588         * ipa-comdats.c: Ditto.
7589         * ipa-cp.c: Ditto.
7590         * ipa-devirt.c: Ditto.
7591         * ipa-icf.c: Ditto.
7592         * ipa-icf-gimple.c: Ditto.
7593         * ipa-inline-analysis.c: Ditto.
7594         * ipa-inline.c: Ditto.
7595         * ipa-inline-transform.c: Ditto.
7596         * ipa-polymorphic-call.c: Ditto.
7597         * ipa-profile.c: Ditto.
7598         * ipa-prop.c: Ditto.
7599         * ipa-pure-const.c: Ditto.
7600         * ipa-ref.c: Ditto.
7601         * ipa-reference.c: Ditto.
7602         * ipa-split.c: Ditto.
7603         * ipa-utils.c: Ditto.
7604         * ipa-visibility.c: Ditto.
7605         * langhooks.c: Ditto.
7606         * lto-cgraph.c: Ditto.
7607         * lto-compress.c: Ditto.
7608         * lto-opts.c: Ditto.
7609         * lto-section-in.c: Ditto.
7610         * lto-section-out.c: Ditto.
7611         * lto-streamer.c: Ditto.
7612         * lto-streamer-in.c: Ditto.
7613         * lto-streamer-out.c: Ditto.
7614         * omp-low.c: Ditto.
7615         * opts-global.c: Ditto.
7616         * passes.c: Ditto.
7617         * predict.c: Ditto.
7618         * print-tree.c: Ditto.
7619         * profile.c: Ditto.
7620         * ree.c: Ditto.
7621         * stor-layout.c: Ditto.
7622         * symtab.c: Ditto.
7623         * toplev.c: Ditto.
7624         * trans-mem.c: Ditto.
7625         * tree.c: Ditto.
7626         * tree-cfg.c: Ditto.
7627         * tree-eh.c: Ditto.
7628         * tree-emutls.c: Ditto.
7629         * tree-inline.c: Ditto.
7630         * tree-nested.c: Ditto.
7631         * tree-pretty-print.c: Ditto.
7632         * tree-profile.c: Ditto.
7633         * tree-sra.c: Ditto.
7634         * tree-ssa-alias.c: Ditto.
7635         * tree-ssa-loop-ivcanon.c: Ditto.
7636         * tree-ssa-loop-ivopts.c: Ditto.
7637         * tree-ssa-pre.c: Ditto.
7638         * tree-ssa-structalias.c: Ditto.
7639         * tree-streamer.c: Ditto.
7640         * tree-streamer-in.c: Ditto.
7641         * tree-streamer-out.c: Ditto.
7642         * tree-switch-conversion.c: Ditto.
7643         * tree-tailcall.c: Ditto.
7644         * tree-vect-data-refs.c: Ditto.
7645         * tree-vectorizer.c: Ditto.
7646         * tree-vect-stmts.c: Ditto.
7647         * tsan.c: Ditto.
7648         * ubsan.c: Ditto.
7649         * value-prof.c: Ditto.
7650         * varasm.c: Ditto.
7651         * varpool.c: Ditto.
7652         * config/arm/arm.c: Ditto.
7653         * config/bfin/bfin.c: Ditto.
7654         * config/c6x/c6x.c: Ditto.
7655         * config/cris/cris.c: Ditto.
7656         * config/darwin.c: Ditto.
7657         * config/darwin-c.c: Ditto.
7658         * config/i386/i386.c: Ditto.
7659         * config/i386/winnt.c: Ditto.
7660         * config/microblaze/microblaze.c: Ditto.
7661         * config/mips/mips.c: Ditto.
7662         * config/rs6000/rs6000.c: Ditto.
7663         * config/rx/rx.c: Ditto.
7665 2014-10-28  Richard Biener  <rguenther@suse.de>
7667         * gimple-fold.h (follow_single_use_edges): Declare.
7668         * gimple-fold.c (follow_single_use_edges): New function.
7669         (gimple_fold_stmt_to_constant_1): Dispatch to gimple_simplify.
7670         * tree-ssa-propagate.c
7671         (substitute_and_fold_dom_walker::before_dom_children): Allow
7672         following single-use edges when folding stmts we propagated into.
7674 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7675             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7676             Anna Tikhonova  <anna.tikhonova@intel.com>
7677             Ilya Tocar  <ilya.tocar@intel.com>
7678             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7679             Ilya Verbin  <ilya.verbin@intel.com>
7680             Kirill Yukhin  <kirill.yukhin@intel.com>
7681             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7683         * config/i386/avx512bwintrin.h: New.
7684         * config/i386/avx512dqintrin.h: Ditto.
7685         * config/i386/avx512vlbwintrin.h: Ditto.
7686         * config/i386/avx512vldqintrin.h: Ditto.
7687         * config/i386/avx512vlintrin.h: Ditto.
7688         * config/i386/immintrin.h: Include avx512vlintrin.h, avx512bwintrin.h,
7689         avx512dqintrin.h, avx512vlbwintrin.h, avx512vldqintrin.h.
7691 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7692             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7693             Anna Tikhonova  <anna.tikhonova@intel.com>
7694             Ilya Tocar  <ilya.tocar@intel.com>
7695             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7696             Ilya Verbin  <ilya.verbin@intel.com>
7697             Kirill Yukhin  <kirill.yukhin@intel.com>
7698             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7700         * config/i386/i386.c
7701         (ix86_expand_args_builtin): Handle avx_vpermilv4df_mask,
7702         avx_shufpd256_mask, avx_vpermilv2df_mask.
7704 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7705             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7706             Anna Tikhonova  <anna.tikhonova@intel.com>
7707             Ilya Tocar  <ilya.tocar@intel.com>
7708             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7709             Ilya Verbin  <ilya.verbin@intel.com>
7710             Kirill Yukhin  <kirill.yukhin@intel.com>
7711             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7713         * config/i386/i386.c
7714         (ix86_init_mmx_sse_builtins):
7715         Define __builtin_ia32_gather3siv2df, __builtin_ia32_gather3siv4df,
7716         __builtin_ia32_gather3div2df, __builtin_ia32_gather3div4df,
7717         __builtin_ia32_gather3siv4sf, __builtin_ia32_gather3siv8sf,
7718         __builtin_ia32_gather3div4sf, __builtin_ia32_gather3div8sf,
7719         __builtin_ia32_gather3siv2di, __builtin_ia32_gather3siv4di,
7720         __builtin_ia32_gather3div2di, __builtin_ia32_gather3div4di,
7721         __builtin_ia32_gather3siv4si, __builtin_ia32_gather3siv8si,
7722         __builtin_ia32_gather3div4si, __builtin_ia32_gather3div8si,
7723         __builtin_ia32_gather3altsiv4df, __builtin_ia32_gather3altdiv8sf,
7724         __builtin_ia32_gather3altsiv4di, __builtin_ia32_gather3altdiv8si,
7725         __builtin_ia32_scattersiv8sf, __builtin_ia32_scattersiv4sf,
7726         __builtin_ia32_scattersiv4df, __builtin_ia32_scattersiv2df,
7727         __builtin_ia32_scatterdiv8sf, __builtin_ia32_scatterdiv4sf,
7728         __builtin_ia32_scatterdiv4df, __builtin_ia32_scatterdiv2df,
7729         __builtin_ia32_scattersiv8si, __builtin_ia32_scattersiv4si,
7730         __builtin_ia32_scattersiv4di, __builtin_ia32_scattersiv2di,
7731         __builtin_ia32_scatterdiv8si, __builtin_ia32_scatterdiv4si,
7732         __builtin_ia32_scatterdiv4di, __builtin_ia32_scatterdiv2di.
7734 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7735             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7736             Anna Tikhonova  <anna.tikhonova@intel.com>
7737             Ilya Tocar  <ilya.tocar@intel.com>
7738             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7739             Ilya Verbin  <ilya.verbin@intel.com>
7740             Kirill Yukhin  <kirill.yukhin@intel.com>
7741             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7743         * config/i386/i386.c
7744         (ix86_builtins): Add IX86_BUILTIN_GATHER3ALTSIV4DF,
7745         IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTSIV4DI,
7746         IX86_BUILTIN_GATHER3ALTDIV8SI.
7747         (ix86_expand_builtin):
7748         Handle IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTDIV8SI,
7749         IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV4DI,
7750         IX86_BUILTIN_SCATTERDIV2DF, IX86_BUILTIN_SCATTERDIV4DF,
7751         IX86_BUILTIN_GATHER3ALTSIV4DI, IX86_BUILTIN_GATHER3ALTSIV4DF,
7752         IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
7753         IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3DIV8SI,
7754         IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV4DI,
7755         IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3SIV8SF,
7756         IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
7757         IX86_BUILTIN_GATHER3DIV2DI, IX86_BUILTIN_GATHER3DIV4DI,
7758         IX86_BUILTIN_SCATTERDIV4SF, IX86_BUILTIN_SCATTERSIV2DI,
7759         IX86_BUILTIN_GATHER3SIV2DI, IX86_BUILTIN_GATHER3SIV4SI,
7760         IX86_BUILTIN_GATHER3SIV4SF, IX86_BUILTIN_GATHER3SIV2DF,
7761         IX86_BUILTIN_SCATTERSIV2DF, IX86_BUILTIN_SCATTERDIV4SI,
7762         IX86_BUILTIN_SCATTERSIV4SF, IX86_BUILTIN_SCATTERSIV4SI,
7763         IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
7764         IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV8SF,
7765         IX86_BUILTIN_GATHER3DIV4SF, IX86_BUILTIN_SCATTERDIV8SF.
7766         (ix86_vectorize_builtin_gather): Update V2DFmode, V4DFmode, V2DImode,
7767         V4DImode, V4SFmode, V8SFmode, V4SImode, V8SImode.
7769 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
7770             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
7771             Anna Tikhonova  <anna.tikhonova@intel.com>
7772             Ilya Tocar  <ilya.tocar@intel.com>
7773             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7774             Ilya Verbin  <ilya.verbin@intel.com>
7775             Kirill Yukhin  <kirill.yukhin@intel.com>
7776             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
7778         * config/i386/i386-builtin-types.def
7779         (SHORT): New.
7780         (V32HI): Ditto.
7781         (V12QI): Ditto.
7782         (V14QI): Ditto.
7783         (V32SI): Ditto.
7784         (V8UDI): Ditto.
7785         (V16USI): Ditto.
7786         (V32UHI): Ditto.
7787         (PSHORT): Ditto.
7788         (PV32QI): Ditto.
7789         (PV32HI): Ditto.
7790         (PV64QI): Ditto.
7791         (PCV8HI): Ditto.
7792         (PCV16QI): Ditto.
7793         (PCV16HI): Ditto.
7794         (PCV32QI): Ditto.
7795         (PCV32HI): Ditto.
7796         (PCV64QI): Ditto.
7797         (V4SF_FTYPE_V2DF_V4SF_QI): Ditto.
7798         (V4SF_FTYPE_V4DF_V4SF_QI): Ditto.
7799         (V4SF_FTYPE_V8HI_V4SF_QI): Ditto.
7800         (V8SF_FTYPE_V8HI_V8SF_QI): Ditto.
7801         (V16SF_FTYPE_V16HI): Ditto.
7802         (V16SF_FTYPE_V16HI_V16SF_HI): Ditto.
7803         (V16SF_FTYPE_V16SI): Ditto.
7804         (V4DI_FTYPE_V4DI): Ditto.
7805         (V16SI_FTYPE_V16SF): Ditto.
7806         (V8DI_FTYPE_PV2DI): Ditto.
7807         (V8DF_FTYPE_PV2DF): Ditto.
7808         (V4DI_FTYPE_PV2DI): Ditto.
7809         (V4DF_FTYPE_PV2DF): Ditto.
7810         (V16SI_FTYPE_PV2SI): Ditto.
7811         (V16SF_FTYPE_PV2SF): Ditto.
7812         (V8SF_FTYPE_FLOAT): Ditto.
7813         (V4SF_FTYPE_FLOAT): Ditto.
7814         (V4DF_FTYPE_DOUBLE): Ditto.
7815         (V8SF_FTYPE_PV4SF): Ditto.
7816         (V8SI_FTYPE_PV4SI): Ditto.
7817         (V4SI_FTYPE_PV2SI): Ditto.
7818         (V8SF_FTYPE_PV2SF): Ditto.
7819         (V8SI_FTYPE_PV2SI): Ditto.
7820         (V16SF_FTYPE_PV8SF): Ditto.
7821         (V16SI_FTYPE_PV8SI): Ditto.
7822         (V8DI_FTYPE_V8SF): Ditto.
7823         (V4DI_FTYPE_V4SF): Ditto.
7824         (V2DI_FTYPE_V4SF): Ditto.
7825         (V64QI_FTYPE_QI): Ditto.
7826         (V32HI_FTYPE_HI): Ditto.
7827         (V16UHI_FTYPE_V16UHI): Ditto.
7828         (V32UHI_FTYPE_V32UHI): Ditto.
7829         (V2UDI_FTYPE_V2UDI): Ditto.
7830         (V4UDI_FTYPE_V4UDI): Ditto.
7831         (V8UDI_FTYPE_V8UDI): Ditto.
7832         (V4USI_FTYPE_V4USI): Ditto.
7833         (V16USI_FTYPE_V16USI): Ditto.
7834         (V2DF_FTYPE_V4DF_INT_V2DF_QI): Ditto.
7835         (V2DF_FTYPE_V8DF_INT): Ditto.
7836         (V2DF_FTYPE_V8DF_INT_V2DF_QI): Ditto.
7837         (V2DI_FTYPE_V2DI_INT_V2DI_QI): Ditto.
7838         (V8DF_FTYPE_V8DF_INT): Ditto.
7839         (V4SF_FTYPE_V8SF_INT_V4SF_QI): Ditto.
7840         (V4SI_FTYPE_V2DF_V4SI_QI): Ditto.
7841         (V4SI_FTYPE_V4SI_INT_V4SI_QI): Ditto.
7842         (V4SI_FTYPE_V8HI_V8HI_V4SI_QI): Ditto.
7843         (V4SI_FTYPE_V8SI_INT_V4SI_QI): Ditto.
7844         (V8HI_FTYPE_V16QI_V16QI_V8HI_QI): Ditto.
7845         (V8DI_FTYPE_V8DI_INT): Ditto.
7846         (V8HI_FTYPE_V8SF_INT_V8HI_QI): Ditto.
7847         (V8HI_FTYPE_V4SF_INT_V8HI_QI): Ditto.
7848         (V8SF_FTYPE_V16SF_INT): Ditto.
7849         (V8SF_FTYPE_V16SF_INT_V8SF_QI): Ditto.
7850         (V64QI_FTYPE_V32HI_V32HI): Ditto.
7851         (V32HI_FTYPE_V16SI_V16SI): Ditto.
7852         (V8DF_FTYPE_V8DF_V2DF_INT): Ditto.
7853         (V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI): Ditto.
7854         (V8DF_FTYPE_V8DF_V8DF_INT): Ditto.
7855         (V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT): Ditto.
7856         (V8DF_FTYPE_V8DF_V8DF_V8DI_INT): Ditto.
7857         (V8DF_FTYPE_V8DF_V8DF_V8DI_INT_QI): Ditto.
7858         (V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI): Ditto.
7859         (V2DF_FTYPE_V2DF_V2DF_V2DI_INT_QI): Ditto.
7860         (V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT): Ditto.
7861         (V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI): Ditto.
7862         (V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI): Ditto.
7863         (V32HI_FTYPE_V64QI_V64QI): Ditto.
7864         (V16HI_FTYPE_V32QI_V32QI_V16HI_HI): Ditto.
7865         (V32HI_FTYPE_V64QI_V64QI_V32HI_SI): Ditto.
7866         (V32HI_FTYPE_V32HI_V32HI): Ditto.
7867         (V32HI_FTYPE_V32HI_INT): Ditto.
7868         (V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI): Ditto.
7869         (V16SI_FTYPE_V32HI_V32HI): Ditto.
7870         (V8SI_FTYPE_V16HI_V16HI_V8SI_QI): Ditto.
7871         (V16SI_FTYPE_V32HI_V32HI_V16SI_HI): Ditto.
7872         (V8SI_FTYPE_V8SI_INT_V8SI_QI): Ditto.
7873         (V8SI_FTYPE_V16SI_INT): Ditto.
7874         (V8SI_FTYPE_V16SI_INT_V8SI_QI): Ditto.
7875         (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
7876         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
7877         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
7878         (V8DI_FTYPE_V8DI_V4DI_INT): Ditto.
7879         (V8DI_FTYPE_V8DI_V2DI_INT): Ditto.
7880         (V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI): Ditto.
7881         (V8DI_FTYPE_V16SI_V16SI): Ditto.
7882         (V8DI_FTYPE_V64QI_V64QI): Ditto.
7883         (V4DI_FTYPE_V4DI_INT_V4DI_QI): Ditto.
7884         (V2DI_FTYPE_V4DI_INT_V2DI_QI): Ditto.
7885         (V2DI_FTYPE_V8DI_INT): Ditto.
7886         (V2DI_FTYPE_V8DI_INT_V2DI_QI): Ditto.
7887         (QI_FTYPE_QI): Ditto.
7888         (SI_FTYPE_SI): Ditto.
7889         (DI_FTYPE_DI): Ditto.
7890         (HI_FTYPE_V16QI): Ditto.
7891         (SI_FTYPE_V32QI): Ditto.
7892         (DI_FTYPE_V64QI): Ditto.
7893         (QI_FTYPE_V8HI): Ditto.
7894         (HI_FTYPE_V16HI): Ditto.
7895         (SI_FTYPE_V32HI): Ditto.
7896         (QI_FTYPE_V4SI): Ditto.
7897         (QI_FTYPE_V8SI): Ditto.
7898         (HI_FTYPE_V16SI): Ditto.
7899         (QI_FTYPE_V2DI): Ditto.
7900         (QI_FTYPE_V4DI): Ditto.
7901         (QI_FTYPE_V8DI): Ditto.
7902         (V16QI_FTYPE_HI): Ditto.
7903         (V32QI_FTYPE_SI): Ditto.
7904         (V64QI_FTYPE_DI): Ditto.
7905         (V8HI_FTYPE_QI): Ditto.
7906         (V16HI_FTYPE_HI): Ditto.
7907         (V32HI_FTYPE_SI): Ditto.
7908         (V4SI_FTYPE_QI): Ditto.
7909         (V4SI_FTYPE_HI): Ditto.
7910         (V8SI_FTYPE_QI): Ditto.
7911         (V8SI_FTYPE_HI): Ditto.
7912         (V2DI_FTYPE_QI): Ditto.
7913         (V4DI_FTYPE_QI): Ditto.
7914         (QI_FTYPE_QI_QI): Ditto.
7915         (SI_FTYPE_SI_SI): Ditto.
7916         (DI_FTYPE_DI_DI): Ditto.
7917         (QI_FTYPE_QI_INT): Ditto.
7918         (SI_FTYPE_SI_INT): Ditto.
7919         (DI_FTYPE_DI_INT): Ditto.
7920         (HI_FTYPE_V16QI_V16QI): Ditto.
7921         (HI_FTYPE_V16QI_V16QI_HI): Ditto.
7922         (HI_FTYPE_V16QI_V16QI_INT_HI): Ditto.
7923         (SI_FTYPE_V32QI_V32QI): Ditto.
7924         (SI_FTYPE_V32QI_V32QI_SI): Ditto.
7925         (SI_FTYPE_V32QI_V32QI_INT_SI): Ditto.
7926         (DI_FTYPE_V64QI_V64QI): Ditto.
7927         (DI_FTYPE_V64QI_V64QI_DI): Ditto.
7928         (DI_FTYPE_V64QI_V64QI_INT_DI): Ditto.
7929         (QI_FTYPE_V8HI_V8HI): Ditto.
7930         (QI_FTYPE_V8HI_V8HI_QI): Ditto.
7931         (QI_FTYPE_V8HI_V8HI_INT_QI): Ditto.
7932         (HI_FTYPE_V16HI_V16HI): Ditto.
7933         (HI_FTYPE_V16HI_V16HI_HI): Ditto.
7934         (HI_FTYPE_V16HI_V16HI_INT_HI): Ditto.
7935         (SI_FTYPE_V32HI_V32HI): Ditto.
7936         (SI_FTYPE_V32HI_V32HI_SI): Ditto.
7937         (SI_FTYPE_V32HI_V32HI_INT_SI): Ditto.
7938         (QI_FTYPE_V4SI_V4SI): Ditto.
7939         (QI_FTYPE_V4SI_V4SI_QI): Ditto.
7940         (QI_FTYPE_V4SI_V4SI_INT_QI): Ditto.
7941         (QI_FTYPE_V8SI_V8SI): Ditto.
7942         (QI_FTYPE_V8SI_V8SI_QI): Ditto.
7943         (QI_FTYPE_V8SI_V8SI_INT_QI): Ditto.
7944         (QI_FTYPE_V2DI_V2DI): Ditto.
7945         (QI_FTYPE_V2DI_V2DI_QI): Ditto.
7946         (QI_FTYPE_V2DI_V2DI_INT_QI): Ditto.
7947         (QI_FTYPE_V4DI_V4DI): Ditto.
7948         (QI_FTYPE_V4DI_V4DI_QI): Ditto.
7949         (QI_FTYPE_V4DI_V4DI_INT_QI): Ditto.
7950         (V32HI_FTYPE_V32HI_V32HI_V32HI): Ditto.
7951         (V4DF_FTYPE_V4DF_V4DI_INT): Ditto.
7952         (V2DF_FTYPE_V2DI_V2DF_V2DF_QI): Ditto.
7953         (V2DF_FTYPE_V2DF_V2DI_V2DF_QI): Ditto.
7954         (V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI): Ditto.
7955         (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
7956         (V4SF_FTYPE_V4SI_V4SF_V4SF_QI): Ditto.
7957         (V4SF_FTYPE_V4SF_V4SI_V4SF_QI): Ditto.
7958         (V4SF_FTYPE_V4SF_V4SF_V4SF_QI): Ditto.
7959         (V4SF_FTYPE_V4SF_V2DF_V4SF_QI): Ditto.
7960         (V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI): Ditto.
7961         (V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI): Ditto.
7962         (V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI): Ditto.
7963         (V2DF_FTYPE_V2DF_V2DF_QI): Ditto.
7964         (V2DF_FTYPE_V4SF_V2DF_QI): Ditto.
7965         (V2DF_FTYPE_V4SI_V2DF_QI): Ditto.
7966         (V4DF_FTYPE_V4DF_V4DF_QI): Ditto.
7967         (V4DF_FTYPE_V4SF_V4DF_QI): Ditto.
7968         (V4DF_FTYPE_V4SI_V4DF_QI): Ditto.
7969         (V2DI_FTYPE_V4SI_V2DI_QI): Ditto.
7970         (V2DI_FTYPE_V8HI_V2DI_QI): Ditto.
7971         (V8DI_FTYPE_V8DF_V8DI_QI): Ditto.
7972         (V4DI_FTYPE_V4DF_V4DI_QI): Ditto.
7973         (V2DI_FTYPE_V2DF_V2DI_QI): Ditto.
7974         (V2DI_FTYPE_V2DI_V2DI_V2DI_QI): Ditto.
7975         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI): Ditto.
7976         (V4DI_FTYPE_V4DI_V4DI_V4DI_QI): Ditto.
7977         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI): Ditto.
7978         (V2DI_FTYPE_V16QI_V2DI_QI): Ditto.
7979         (V4DI_FTYPE_V16QI_V4DI_QI): Ditto.
7980         (V4DI_FTYPE_V4DI_V4DI_QI): Ditto.
7981         (V4DI_FTYPE_V4SI_V4DI_QI): Ditto.
7982         (V4DI_FTYPE_V8HI_V4DI_QI): Ditto.
7983         (V4DF_FTYPE_V4DI_V4DF_V4DF_QI): Ditto.
7984         (V4DF_FTYPE_V4DF_V4DI_V4DF_QI): Ditto.
7985         (V4DF_FTYPE_V4DF_V4DF_V4DF_QI): Ditto.
7986         (V16QI_FTYPE_V16QI_V16QI_V16QI_HI): Ditto.
7987         (V16HI_FTYPE_V16HI_V16HI_V16HI_HI): Ditto.
7988         (V32HI_FTYPE_V32HI_V32HI_V32HI_SI): Ditto.
7989         (V64QI_FTYPE_V64QI_V64QI_V64QI_DI): Ditto.
7990         (V32QI_FTYPE_V32QI_V32QI_V32QI_SI): Ditto.
7991         (V8HI_FTYPE_V8HI_V8HI_V8HI_QI): Ditto.
7992         (V4SF_FTYPE_V4SF_V4SF_QI): Ditto.
7993         (V4SF_FTYPE_V4SI_V4SF_QI): Ditto.
7994         (V8SF_FTYPE_V8SF_V8SF_QI): Ditto.
7995         (V8SF_FTYPE_V8SI_V8SF_QI): Ditto.
7996         (V4SI_FTYPE_V16QI_V4SI_QI): Ditto.
7997         (V4SI_FTYPE_V8HI_V4SI_QI): Ditto.
7998         (V8SI_FTYPE_V8SI_V8SI_QI): Ditto.
7999         (V8SI_FTYPE_V8HI_V8SI_QI): Ditto.
8000         (V8SI_FTYPE_V16QI_V8SI_QI): Ditto.
8001         (V4SI_FTYPE_V4SI_V4SI_V4SI_QI): Ditto.
8002         (V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI): Ditto.
8003         (V8SF_FTYPE_V8SF_V8SF_V8SF_QI): Ditto.
8004         (V8SF_FTYPE_V8SI_V8SF_V8SF_QI): Ditto.
8005         (V8SF_FTYPE_V8SF_V8SI_V8SF_QI): Ditto.
8006         (V8SI_FTYPE_V8SI_V8SI_V8SI_QI): Ditto.
8007         (V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI): Ditto.
8008         (V16SF_FTYPE_V8SF_V16SF_HI): Ditto.
8009         (V16SI_FTYPE_V8SI_V16SI_HI): Ditto.
8010         (V4SI_FTYPE_V4DF_V4SI_QI): Ditto.
8011         (V8DI_FTYPE_PCCHAR_V8DI_QI): Ditto.
8012         (V8SF_FTYPE_PCFLOAT_V8SF_QI): Ditto.
8013         (V4SF_FTYPE_PCFLOAT_V4SF_QI): Ditto.
8014         (V4DF_FTYPE_PCDOUBLE_V4DF_QI): Ditto.
8015         (V2DF_FTYPE_PCDOUBLE_V2DF_QI): Ditto.
8016         (V8SI_FTYPE_PCCHAR_V8SI_QI): Ditto.
8017         (V4SI_FTYPE_PCCHAR_V4SI_QI): Ditto.
8018         (V4DI_FTYPE_PCCHAR_V4DI_QI): Ditto.
8019         (V2DI_FTYPE_PCCHAR_V2DI_QI): Ditto.
8020         (V16QI_FTYPE_V16SI_V16QI_HI): Ditto.
8021         (V16QI_FTYPE_V8DI_V16QI_QI): Ditto.
8022         (V32HI_FTYPE_V32HI_V32HI_SI): Ditto.
8023         (V32HI_FTYPE_V64QI_V64QI_INT): Ditto.
8024         (V32HI_FTYPE_V32QI_V32HI_SI): Ditto.
8025         (V16HI_FTYPE_V16HI_V16HI_HI): Ditto.
8026         (V16HI_FTYPE_V32QI_V32QI_INT): Ditto.
8027         (V16HI_FTYPE_V16QI_V16HI_HI): Ditto.
8028         (V8HI_FTYPE_V16QI_V8HI_QI): Ditto.
8029         (V8HI_FTYPE_V16QI_V16QI_INT): Ditto.
8030         (V8SF_FTYPE_V4SF_V8SF_QI): Ditto.
8031         (V4DF_FTYPE_V2DF_V4DF_QI): Ditto.
8032         (V8SI_FTYPE_V4SI_V8SI_QI): Ditto.
8033         (V8SI_FTYPE_SI_V8SI_QI): Ditto.
8034         (V4SI_FTYPE_V4SI_V4SI_QI): Ditto.
8035         (V4SI_FTYPE_SI_V4SI_QI): Ditto.
8036         (V4DI_FTYPE_V2DI_V4DI_QI): Ditto.
8037         (V4DI_FTYPE_DI_V4DI_QI): Ditto.
8038         (V2DI_FTYPE_V2DI_V2DI_QI): Ditto.
8039         (V2DI_FTYPE_DI_V2DI_QI): Ditto.
8040         (V64QI_FTYPE_V64QI_V64QI_DI): Ditto.
8041         (V64QI_FTYPE_V16QI_V64QI_DI): Ditto.
8042         (V64QI_FTYPE_QI_V64QI_DI): Ditto.
8043         (V32QI_FTYPE_V32QI_V32QI_SI): Ditto.
8044         (V32QI_FTYPE_V16QI_V32QI_SI): Ditto.
8045         (V32QI_FTYPE_QI_V32QI_SI): Ditto.
8046         (V16QI_FTYPE_V16QI_V16QI_HI): Ditto.
8047         (V16QI_FTYPE_QI_V16QI_HI): Ditto.
8048         (V32HI_FTYPE_V8HI_V32HI_SI): Ditto.
8049         (V32HI_FTYPE_HI_V32HI_SI): Ditto.
8050         (V16HI_FTYPE_V8HI_V16HI_HI): Ditto.
8051         (V16HI_FTYPE_HI_V16HI_HI): Ditto.
8052         (V8HI_FTYPE_V8HI_V8HI_QI): Ditto.
8053         (V8HI_FTYPE_HI_V8HI_QI): Ditto.
8054         (V64QI_FTYPE_PCV64QI_V64QI_DI): Ditto.
8055         (V32HI_FTYPE_PCV32HI_V32HI_SI): Ditto.
8056         (V32QI_FTYPE_PCV32QI_V32QI_SI): Ditto.
8057         (V16SF_FTYPE_PCV8SF_V16SF_HI): Ditto.
8058         (V16SI_FTYPE_PCV8SI_V16SI_HI): Ditto.
8059         (V16HI_FTYPE_PCV16HI_V16HI_HI): Ditto.
8060         (V16QI_FTYPE_PCV16QI_V16QI_HI): Ditto.
8061         (V8DF_FTYPE_PCV2DF_V8DF_QI): Ditto.
8062         (V8SF_FTYPE_PCV8SF_V8SF_QI): Ditto.
8063         (V8SF_FTYPE_PCV4SF_V8SF_QI): Ditto.
8064         (V8DI_FTYPE_PCV2DI_V8DI_QI): Ditto.
8065         (V8SI_FTYPE_PCV8SI_V8SI_QI): Ditto.
8066         (V8SI_FTYPE_PCV4SI_V8SI_QI): Ditto.
8067         (V8HI_FTYPE_PCV8HI_V8HI_QI): Ditto.
8068         (V4DF_FTYPE_PCV2DF_V4DF_QI): Ditto.
8069         (V4DF_FTYPE_PCV4DF_V4DF_QI): Ditto.
8070         (V4SF_FTYPE_PCV4SF_V4SF_QI): Ditto.
8071         (V4DI_FTYPE_PCV4DI_V4DI_QI): Ditto.
8072         (V4DI_FTYPE_PCV2DI_V4DI_QI): Ditto.
8073         (V4SI_FTYPE_PCV4SI_V4SI_QI): Ditto.
8074         (V2DF_FTYPE_PCV2DF_V2DF_QI): Ditto.
8075         (V2DI_FTYPE_PCV2DI_V2DI_QI): Ditto.
8076         (V16QI_FTYPE_V8HI_V16QI_QI): Ditto.
8077         (V16QI_FTYPE_V16HI_V16QI_HI): Ditto.
8078         (V16QI_FTYPE_V4SI_V16QI_QI): Ditto.
8079         (V16QI_FTYPE_V8SI_V16QI_QI): Ditto.
8080         (V8HI_FTYPE_V4SI_V8HI_QI): Ditto.
8081         (V8HI_FTYPE_V8SI_V8HI_QI): Ditto.
8082         (V16QI_FTYPE_V2DI_V16QI_QI): Ditto.
8083         (V16QI_FTYPE_V4DI_V16QI_QI): Ditto.
8084         (V8HI_FTYPE_V2DI_V8HI_QI): Ditto.
8085         (V8HI_FTYPE_V4DI_V8HI_QI): Ditto.
8086         (V4SI_FTYPE_V2DI_V4SI_QI): Ditto.
8087         (V4SI_FTYPE_V4DI_V4SI_QI): Ditto.
8088         (V32QI_FTYPE_V32HI_V32QI_SI): Ditto.
8089         (V2DF_FTYPE_V2DF_INT_V2DF_QI): Ditto.
8090         (V4DF_FTYPE_V4DF_INT_V4DF_QI): Ditto.
8091         (V4SF_FTYPE_V4SF_INT_V4SF_QI): Ditto.
8092         (V8SF_FTYPE_V8SF_INT_V8SF_QI): Ditto.
8093         (V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI): Ditto.
8094         (V2DF_FTYPE_V2DF_V2DF_INT_V2DF_QI): Ditto.
8095         (V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI): Ditto.
8096         (V4SF_FTYPE_V4SF_V4SF_INT_V4SF_QI): Ditto.
8097         (VOID_FTYPE_PV8HI_V4DI_QI): Ditto.
8098         (VOID_FTYPE_PV8HI_V2DI_QI): Ditto.
8099         (VOID_FTYPE_PV4SI_V4DI_QI): Ditto.
8100         (VOID_FTYPE_PV4SI_V2DI_QI): Ditto.
8101         (VOID_FTYPE_PV8HI_V8SI_QI): Ditto.
8102         (VOID_FTYPE_PV8HI_V4SI_QI): Ditto.
8103         (VOID_FTYPE_PV4DF_V4DF_QI): Ditto.
8104         (VOID_FTYPE_PV2DF_V2DF_QI): Ditto.
8105         (VOID_FTYPE_PV8SF_V8SF_QI): Ditto.
8106         (VOID_FTYPE_PV4SF_V4SF_QI): Ditto.
8107         (VOID_FTYPE_PV4DI_V4DI_QI): Ditto.
8108         (VOID_FTYPE_PV2DI_V2DI_QI): Ditto.
8109         (VOID_FTYPE_PV16QI_V8SI_QI): Ditto.
8110         (VOID_FTYPE_PV16QI_V4SI_QI): Ditto.
8111         (VOID_FTYPE_PV16QI_V4DI_QI): Ditto.
8112         (VOID_FTYPE_PV16QI_V2DI_QI): Ditto.
8113         (VOID_FTYPE_PV8SI_V8SI_QI): Ditto.
8114         (VOID_FTYPE_PV4SI_V4SI_QI): Ditto.
8115         (VOID_FTYPE_PV32HI_V32HI_SI): Ditto.
8116         (VOID_FTYPE_PV16HI_V16HI_HI): Ditto.
8117         (VOID_FTYPE_PV8HI_V8HI_QI): Ditto.
8118         (VOID_FTYPE_PV64QI_V64QI_DI): Ditto.
8119         (VOID_FTYPE_PV32QI_V32QI_SI): Ditto.
8120         (VOID_FTYPE_PV16QI_V16QI_HI): Ditto.
8121         (V8SI_FTYPE_V8SF_V8SI_QI): Ditto.
8122         (V4SI_FTYPE_V4SF_V4SI_QI): Ditto.
8123         (V8DI_FTYPE_V8SF_V8DI_QI): Ditto.
8124         (V4DI_FTYPE_V4SF_V4DI_QI): Ditto.
8125         (V2DI_FTYPE_V4SF_V2DI_QI): Ditto.
8126         (V8SF_FTYPE_V8DI_V8SF_QI): Ditto.
8127         (V4SF_FTYPE_V4DI_V4SF_QI): Ditto.
8128         (V4SF_FTYPE_V2DI_V4SF_QI): Ditto.
8129         (V8DF_FTYPE_V8DI_V8DF_QI): Ditto.
8130         (V4DF_FTYPE_V4DI_V4DF_QI): Ditto.
8131         (V2DF_FTYPE_V2DI_V2DF_QI): Ditto.
8132         (V32HI_FTYPE_V32HI_INT_V32HI_SI): Ditto.
8133         (V32HI_FTYPE_V32HI_V8HI_V32HI_SI): Ditto.
8134         (V16HI_FTYPE_V16HI_INT_V16HI_HI): Ditto.
8135         (V16HI_FTYPE_V16HI_V8HI_V16HI_HI): Ditto.
8136         (V8HI_FTYPE_V8HI_INT_V8HI_QI): Ditto.
8137         (V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI): Ditto.
8138         (V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI): Ditto.
8139         (V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI): Ditto.
8140         (V64QI_FTYPE_V32HI_V32HI_V64QI_DI): Ditto.
8141         (V32QI_FTYPE_V16HI_V16HI_V32QI_SI): Ditto.
8142         (V16QI_FTYPE_V8HI_V8HI_V16QI_HI): Ditto.
8143         (V32HI_FTYPE_V16SI_V16SI_V32HI_SI): Ditto.
8144         (V16HI_FTYPE_V8SI_V8SI_V16HI_HI): Ditto.
8145         (V8HI_FTYPE_V4SI_V4SI_V8HI_QI): Ditto.
8146         (V8DI_FTYPE_V16SI_V16SI_V8DI_QI): Ditto.
8147         (V4DI_FTYPE_V8SI_V8SI_V4DI_QI): Ditto.
8148         (V2DI_FTYPE_V4SI_V4SI_V2DI_QI): Ditto.
8149         (V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI): Ditto.
8150         (V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI): Ditto.
8151         (V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI): Ditto.
8152         (V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI): Ditto.
8153         (V2DF_FTYPE_V2DF_V2DI_V2DF): Ditto.
8154         (V4DF_FTYPE_V4DF_V4DI_V4DF): Ditto.
8155         (V4SF_FTYPE_V4SF_V4SI_V4SF): Ditto.
8156         (V8SF_FTYPE_V8SF_V8SI_V8SF): Ditto.
8157         (V8SI_FTYPE_V8SI_V4SI_V8SI_QI): Ditto.
8158         (V4DI_FTYPE_V4DI_V2DI_V4DI_QI): Ditto.
8159         (QI_FTYPE_V8DF_INT): Ditto.
8160         (QI_FTYPE_V4DF_INT): Ditto.
8161         (QI_FTYPE_V4DF_V4DF_INT_QI): Ditto.
8162         (QI_FTYPE_V2DF_INT): Ditto.
8163         (HI_FTYPE_V16SF_INT): Ditto.
8164         (QI_FTYPE_V8SF_INT): Ditto.
8165         (QI_FTYPE_V8SF_V8SF_INT_QI): Ditto.
8166         (QI_FTYPE_V4SF_INT): Ditto.
8167         (QI_FTYPE_V8DF_INT_QI): Ditto.
8168         (QI_FTYPE_V4DF_INT_QI): Ditto.
8169         (QI_FTYPE_V2DF_INT_QI): Ditto.
8170         (HI_FTYPE_V16SF_INT_HI): Ditto.
8171         (QI_FTYPE_V8SF_INT_QI): Ditto.
8172         (QI_FTYPE_V4SF_INT_QI): Ditto.
8173         (V8DI_FTYPE_V8DF_V8DI_QI_INT): Ditto.
8174         (V8DI_FTYPE_V8SF_V8DI_QI_INT): Ditto.
8175         (V8DF_FTYPE_V8DI_V8DF_QI_INT): Ditto.
8176         (V8SF_FTYPE_V8DI_V8SF_QI_INT): Ditto.
8177         (V2DF_FTYPE_V2DF_PCDOUBLE_V4SI_QI_INT): Ditto.
8178         (V4DF_FTYPE_V4DF_PCDOUBLE_V4SI_QI_INT): Ditto.
8179         (V4DF_FTYPE_V4DF_PCDOUBLE_V8SI_QI_INT): Ditto.
8180         (V2DF_FTYPE_V2DF_PCDOUBLE_V2DI_QI_INT): Ditto.
8181         (V4DF_FTYPE_V4DF_PCDOUBLE_V4DI_QI_INT): Ditto.
8182         (V4SF_FTYPE_V4SF_PCFLOAT_V4SI_QI_INT): Ditto.
8183         (V8SF_FTYPE_V8SF_PCFLOAT_V8SI_QI_INT): Ditto.
8184         (V4SF_FTYPE_V4SF_PCFLOAT_V2DI_QI_INT): Ditto.
8185         (V4SF_FTYPE_V4SF_PCFLOAT_V4DI_QI_INT): Ditto.
8186         (V8SF_FTYPE_V8SF_PCFLOAT_V4DI_QI_INT): Ditto.
8187         (V2DI_FTYPE_V2DI_PCINT64_V4SI_QI_INT): Ditto.
8188         (V4DI_FTYPE_V4DI_PCINT64_V4SI_QI_INT): Ditto.
8189         (V4DI_FTYPE_V4DI_PCINT64_V8SI_QI_INT): Ditto.
8190         (V2DI_FTYPE_V2DI_PCINT64_V2DI_QI_INT): Ditto.
8191         (V4DI_FTYPE_V4DI_PCINT64_V4DI_QI_INT): Ditto.
8192         (V4SI_FTYPE_V4SI_PCINT_V4SI_QI_INT): Ditto.
8193         (V8SI_FTYPE_V8SI_PCINT_V8SI_QI_INT): Ditto.
8194         (V4SI_FTYPE_V4SI_PCINT_V2DI_QI_INT): Ditto.
8195         (V4SI_FTYPE_V4SI_PCINT_V4DI_QI_INT): Ditto.
8196         (V8SI_FTYPE_V8SI_PCINT_V4DI_QI_INT): Ditto.
8197         (VOID_FTYPE_PFLOAT_QI_V8SI_V8SF_INT): Ditto.
8198         (VOID_FTYPE_PFLOAT_QI_V4SI_V4SF_INT): Ditto.
8199         (VOID_FTYPE_PDOUBLE_QI_V4SI_V4DF_INT): Ditto.
8200         (VOID_FTYPE_PDOUBLE_QI_V4SI_V2DF_INT): Ditto.
8201         (VOID_FTYPE_PFLOAT_QI_V4DI_V4SF_INT): Ditto.
8202         (VOID_FTYPE_PFLOAT_QI_V2DI_V4SF_INT): Ditto.
8203         (VOID_FTYPE_PDOUBLE_QI_V4DI_V4DF_INT): Ditto.
8204         (VOID_FTYPE_PDOUBLE_QI_V2DI_V2DF_INT): Ditto.
8205         (VOID_FTYPE_PINT_QI_V8SI_V8SI_INT): Ditto.
8206         (VOID_FTYPE_PINT_QI_V4SI_V4SI_INT): Ditto.
8207         (VOID_FTYPE_PLONGLONG_QI_V4SI_V4DI_INT): Ditto.
8208         (VOID_FTYPE_PLONGLONG_QI_V4SI_V2DI_INT): Ditto.
8209         (VOID_FTYPE_PINT_QI_V4DI_V4SI_INT): Ditto.
8210         (VOID_FTYPE_PINT_QI_V2DI_V4SI_INT): Ditto.
8211         (VOID_FTYPE_PLONGLONG_QI_V4DI_V4DI_INT): Ditto.
8212         (VOID_FTYPE_PLONGLONG_QI_V2DI_V2DI_INT): Ditto.
8213         (V8DI_FTYPE_V8DI_INT): Ditto.
8214         (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
8215         (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
8216         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
8217         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
8218         (V2DF_FTYPE_ V2DF_ V2DF_ V2DI_ INT_ QI): Remove.
8219         (V4SF_FTYPE_ V4SF_ V2DF_ V4SF_ QI): Ditto.
8220         (V4SF_FTYPE_ V4SF_ V4SF_ V4SF_ QI): Ditto.
8221         (V2DF_FTYPE_ PCDOUBLE_ V2DF_ QI): Ditto.
8222         (V4SF_FTYPE_ PCFLOAT_ V4SF_ QI): Ditto.
8223         (V16QI_FTYPE_ V16SI_ V16QI_ HI): Ditto.
8224         (V16QI_FTYPE_ V8DI_ V16QI_ QI): Ditto.
8225         (V4SF_FTYPE_ V4SF_ V4SF_ INT_ V4SF_ QI): Ditto.
8226         (V2DF_FTYPE_ V2DF_ V2DF_ INT_ V2DF_ QI): Ditto.
8227         (V8DI_FTYPE_ V16SI_ V16SI_ V8DI_ QI): Ditto.
8228         * config/i386/i386.c (ix86_builtins):
8229         Add IX86_BUILTIN_PMOVUSQD256_MEM, IX86_BUILTIN_PMOVUSQD128_MEM,
8230         IX86_BUILTIN_PMOVSQD256_MEM, IX86_BUILTIN_PMOVSQD128_MEM,
8231         IX86_BUILTIN_PMOVQD256_MEM, IX86_BUILTIN_PMOVQD128_MEM,
8232         IX86_BUILTIN_PMOVUSQW256_MEM, IX86_BUILTIN_PMOVUSQW128_MEM,
8233         IX86_BUILTIN_PMOVSQW256_MEM, IX86_BUILTIN_PMOVSQW128_MEM,
8234         IX86_BUILTIN_PMOVQW256_MEM, IX86_BUILTIN_PMOVQW128_MEM,
8235         IX86_BUILTIN_PMOVUSQB256_MEM, IX86_BUILTIN_PMOVUSQB128_MEM,
8236         IX86_BUILTIN_PMOVSQB256_MEM, IX86_BUILTIN_PMOVSQB128_MEM,
8237         IX86_BUILTIN_PMOVQB256_MEM, IX86_BUILTIN_PMOVQB128_MEM,
8238         IX86_BUILTIN_PMOVUSDW256_MEM, IX86_BUILTIN_PMOVUSDW128_MEM,
8239         IX86_BUILTIN_PMOVSDW256_MEM, IX86_BUILTIN_PMOVSDW128_MEM,
8240         IX86_BUILTIN_PMOVDW256_MEM, IX86_BUILTIN_PMOVDW128_MEM,
8241         IX86_BUILTIN_PMOVUSDB256_MEM, IX86_BUILTIN_PMOVUSDB128_MEM,
8242         IX86_BUILTIN_PMOVSDB256_MEM, IX86_BUILTIN_PMOVSDB128_MEM,
8243         IX86_BUILTIN_PMOVDB256_MEM, IX86_BUILTIN_PMOVDB128_MEM,
8244         IX86_BUILTIN_MOVDQA64LOAD256_MASK, IX86_BUILTIN_MOVDQA64LOAD128_MASK,
8245         IX86_BUILTIN_MOVDQA32LOAD256_MASK, IX86_BUILTIN_MOVDQA32LOAD128_MASK,
8246         IX86_BUILTIN_MOVDQA64STORE256_MASK, IX86_BUILTIN_MOVDQA64STORE128_MASK,
8247         IX86_BUILTIN_MOVDQA32STORE256_MASK, IX86_BUILTIN_MOVDQA32STORE128_MASK,
8248         IX86_BUILTIN_LOADAPD256_MASK, IX86_BUILTIN_LOADAPD128_MASK,
8249         IX86_BUILTIN_LOADAPS256_MASK, IX86_BUILTIN_LOADAPS128_MASK,
8250         IX86_BUILTIN_STOREAPD256_MASK, IX86_BUILTIN_STOREAPD128_MASK,
8251         IX86_BUILTIN_STOREAPS256_MASK, IX86_BUILTIN_STOREAPS128_MASK,
8252         IX86_BUILTIN_LOADUPD256_MASK, IX86_BUILTIN_LOADUPD128_MASK,
8253         IX86_BUILTIN_LOADUPS256_MASK, IX86_BUILTIN_LOADUPS128_MASK,
8254         IX86_BUILTIN_STOREUPD256_MASK, IX86_BUILTIN_STOREUPD128_MASK,
8255         IX86_BUILTIN_STOREUPS256_MASK, IX86_BUILTIN_STOREUPS128_MASK,
8256         IX86_BUILTIN_LOADDQUDI256_MASK, IX86_BUILTIN_LOADDQUDI128_MASK,
8257         IX86_BUILTIN_LOADDQUSI256_MASK, IX86_BUILTIN_LOADDQUSI128_MASK,
8258         IX86_BUILTIN_LOADDQUHI256_MASK, IX86_BUILTIN_LOADDQUHI128_MASK,
8259         IX86_BUILTIN_LOADDQUQI256_MASK, IX86_BUILTIN_LOADDQUQI128_MASK,
8260         IX86_BUILTIN_STOREDQUDI256_MASK, IX86_BUILTIN_STOREDQUDI128_MASK,
8261         IX86_BUILTIN_STOREDQUSI256_MASK, IX86_BUILTIN_STOREDQUSI128_MASK,
8262         IX86_BUILTIN_STOREDQUHI256_MASK, IX86_BUILTIN_STOREDQUHI128_MASK,
8263         IX86_BUILTIN_STOREDQUQI256_MASK, IX86_BUILTIN_STOREDQUQI128_MASK,
8264         IX86_BUILTIN_COMPRESSPDSTORE256, IX86_BUILTIN_COMPRESSPDSTORE128,
8265         IX86_BUILTIN_COMPRESSPSSTORE256, IX86_BUILTIN_COMPRESSPSSTORE128,
8266         IX86_BUILTIN_PCOMPRESSQSTORE256, IX86_BUILTIN_PCOMPRESSQSTORE128,
8267         IX86_BUILTIN_PCOMPRESSDSTORE256, IX86_BUILTIN_PCOMPRESSDSTORE128,
8268         IX86_BUILTIN_EXPANDPDLOAD256, IX86_BUILTIN_EXPANDPDLOAD128,
8269         IX86_BUILTIN_EXPANDPSLOAD256, IX86_BUILTIN_EXPANDPSLOAD128,
8270         IX86_BUILTIN_PEXPANDQLOAD256, IX86_BUILTIN_PEXPANDQLOAD128,
8271         IX86_BUILTIN_PEXPANDDLOAD256, IX86_BUILTIN_PEXPANDDLOAD128,
8272         IX86_BUILTIN_EXPANDPDLOAD256Z, IX86_BUILTIN_EXPANDPDLOAD128Z,
8273         IX86_BUILTIN_EXPANDPSLOAD256Z, IX86_BUILTIN_EXPANDPSLOAD128Z,
8274         IX86_BUILTIN_PEXPANDQLOAD256Z, IX86_BUILTIN_PEXPANDQLOAD128Z,
8275         IX86_BUILTIN_PEXPANDDLOAD256Z, IX86_BUILTIN_PEXPANDDLOAD128Z,
8276         IX86_BUILTIN_PALIGNR256_MASK, IX86_BUILTIN_PALIGNR128_MASK,
8277         IX86_BUILTIN_MOVDQA64_256_MASK, IX86_BUILTIN_MOVDQA64_128_MASK,
8278         IX86_BUILTIN_MOVDQA32_256_MASK, IX86_BUILTIN_MOVDQA32_128_MASK,
8279         IX86_BUILTIN_MOVAPD256_MASK, IX86_BUILTIN_MOVAPD128_MASK,
8280         IX86_BUILTIN_MOVAPS256_MASK, IX86_BUILTIN_MOVAPS128_MASK,
8281         IX86_BUILTIN_MOVDQUHI256_MASK, IX86_BUILTIN_MOVDQUHI128_MASK,
8282         IX86_BUILTIN_MOVDQUQI256_MASK, IX86_BUILTIN_MOVDQUQI128_MASK,
8283         IX86_BUILTIN_MINPS128_MASK, IX86_BUILTIN_MAXPS128_MASK,
8284         IX86_BUILTIN_MINPD128_MASK, IX86_BUILTIN_MAXPD128_MASK,
8285         IX86_BUILTIN_MAXPD256_MASK, IX86_BUILTIN_MAXPS256_MASK,
8286         IX86_BUILTIN_MINPD256_MASK, IX86_BUILTIN_MINPS256_MASK,
8287         IX86_BUILTIN_MULPS128_MASK, IX86_BUILTIN_DIVPS128_MASK,
8288         IX86_BUILTIN_MULPD128_MASK, IX86_BUILTIN_DIVPD128_MASK,
8289         IX86_BUILTIN_DIVPD256_MASK, IX86_BUILTIN_DIVPS256_MASK,
8290         IX86_BUILTIN_MULPD256_MASK, IX86_BUILTIN_MULPS256_MASK,
8291         IX86_BUILTIN_ADDPD128_MASK, IX86_BUILTIN_ADDPD256_MASK,
8292         IX86_BUILTIN_ADDPS128_MASK, IX86_BUILTIN_ADDPS256_MASK,
8293         IX86_BUILTIN_SUBPD128_MASK, IX86_BUILTIN_SUBPD256_MASK,
8294         IX86_BUILTIN_SUBPS128_MASK, IX86_BUILTIN_SUBPS256_MASK,
8295         IX86_BUILTIN_XORPD256_MASK, IX86_BUILTIN_XORPD128_MASK,
8296         IX86_BUILTIN_XORPS256_MASK, IX86_BUILTIN_XORPS128_MASK,
8297         IX86_BUILTIN_ORPD256_MASK, IX86_BUILTIN_ORPD128_MASK,
8298         IX86_BUILTIN_ORPS256_MASK, IX86_BUILTIN_ORPS128_MASK,
8299         IX86_BUILTIN_BROADCASTF32x2_256, IX86_BUILTIN_BROADCASTI32x2_256,
8300         IX86_BUILTIN_BROADCASTI32x2_128, IX86_BUILTIN_BROADCASTF64X2_256,
8301         IX86_BUILTIN_BROADCASTI64X2_256, IX86_BUILTIN_BROADCASTF32X4_256,
8302         IX86_BUILTIN_BROADCASTI32X4_256, IX86_BUILTIN_EXTRACTF32X4_256,
8303         IX86_BUILTIN_EXTRACTI32X4_256, IX86_BUILTIN_DBPSADBW256,
8304         IX86_BUILTIN_DBPSADBW128, IX86_BUILTIN_CVTTPD2QQ256,
8305         IX86_BUILTIN_CVTTPD2QQ128, IX86_BUILTIN_CVTTPD2UQQ256,
8306         IX86_BUILTIN_CVTTPD2UQQ128, IX86_BUILTIN_CVTPD2QQ256,
8307         IX86_BUILTIN_CVTPD2QQ128, IX86_BUILTIN_CVTPD2UQQ256,
8308         IX86_BUILTIN_CVTPD2UQQ128, IX86_BUILTIN_CVTPD2UDQ256_MASK,
8309         IX86_BUILTIN_CVTPD2UDQ128_MASK, IX86_BUILTIN_CVTTPS2QQ256,
8310         IX86_BUILTIN_CVTTPS2QQ128, IX86_BUILTIN_CVTTPS2UQQ256,
8311         IX86_BUILTIN_CVTTPS2UQQ128, IX86_BUILTIN_CVTTPS2DQ256_MASK,
8312         IX86_BUILTIN_CVTTPS2DQ128_MASK, IX86_BUILTIN_CVTTPS2UDQ256,
8313         IX86_BUILTIN_CVTTPS2UDQ128, IX86_BUILTIN_CVTTPD2DQ256_MASK,
8314         IX86_BUILTIN_CVTTPD2DQ128_MASK, IX86_BUILTIN_CVTTPD2UDQ256_MASK,
8315         IX86_BUILTIN_CVTTPD2UDQ128_MASK, IX86_BUILTIN_CVTPD2DQ256_MASK,
8316         IX86_BUILTIN_CVTPD2DQ128_MASK, IX86_BUILTIN_CVTDQ2PD256_MASK,
8317         IX86_BUILTIN_CVTDQ2PD128_MASK, IX86_BUILTIN_CVTUDQ2PD256_MASK,
8318         IX86_BUILTIN_CVTUDQ2PD128_MASK, IX86_BUILTIN_CVTDQ2PS256_MASK,
8319         IX86_BUILTIN_CVTDQ2PS128_MASK, IX86_BUILTIN_CVTUDQ2PS256_MASK,
8320         IX86_BUILTIN_CVTUDQ2PS128_MASK, IX86_BUILTIN_CVTPS2PD256_MASK,
8321         IX86_BUILTIN_CVTPS2PD128_MASK, IX86_BUILTIN_PBROADCASTB256_MASK,
8322         IX86_BUILTIN_PBROADCASTB256_GPR_MASK, IX86_BUILTIN_PBROADCASTB128_MASK,
8323         IX86_BUILTIN_PBROADCASTB128_GPR_MASK, IX86_BUILTIN_PBROADCASTW256_MASK,
8324         IX86_BUILTIN_PBROADCASTW256_GPR_MASK, IX86_BUILTIN_PBROADCASTW128_MASK,
8325         IX86_BUILTIN_PBROADCASTW128_GPR_MASK, IX86_BUILTIN_PBROADCASTD256_MASK,
8326         IX86_BUILTIN_PBROADCASTD256_GPR_MASK, IX86_BUILTIN_PBROADCASTD128_MASK,
8327         IX86_BUILTIN_PBROADCASTD128_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MASK,
8328         IX86_BUILTIN_PBROADCASTQ256_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MEM_MASK,
8329         IX86_BUILTIN_PBROADCASTQ128_MASK, IX86_BUILTIN_PBROADCASTQ128_GPR_MASK,
8330         IX86_BUILTIN_PBROADCASTQ128_MEM_MASK, IX86_BUILTIN_BROADCASTSS256,
8331         IX86_BUILTIN_BROADCASTSS128, IX86_BUILTIN_BROADCASTSD256,
8332         IX86_BUILTIN_EXTRACTF64X2_256, IX86_BUILTIN_EXTRACTI64X2_256,
8333         IX86_BUILTIN_INSERTF32X4_256, IX86_BUILTIN_INSERTI32X4_256,
8334         IX86_BUILTIN_PMOVSXBW256_MASK, IX86_BUILTIN_PMOVSXBW128_MASK,
8335         IX86_BUILTIN_PMOVSXBD256_MASK, IX86_BUILTIN_PMOVSXBD128_MASK,
8336         IX86_BUILTIN_PMOVSXBQ256_MASK, IX86_BUILTIN_PMOVSXBQ128_MASK,
8337         IX86_BUILTIN_PMOVSXWD256_MASK, IX86_BUILTIN_PMOVSXWD128_MASK,
8338         IX86_BUILTIN_PMOVSXWQ256_MASK, IX86_BUILTIN_PMOVSXWQ128_MASK,
8339         IX86_BUILTIN_PMOVSXDQ256_MASK, IX86_BUILTIN_PMOVSXDQ128_MASK,
8340         IX86_BUILTIN_PMOVZXBW256_MASK, IX86_BUILTIN_PMOVZXBW128_MASK,
8341         IX86_BUILTIN_PMOVZXBD256_MASK, IX86_BUILTIN_PMOVZXBD128_MASK,
8342         IX86_BUILTIN_PMOVZXBQ256_MASK, IX86_BUILTIN_PMOVZXBQ128_MASK,
8343         IX86_BUILTIN_PMOVZXWD256_MASK, IX86_BUILTIN_PMOVZXWD128_MASK,
8344         IX86_BUILTIN_PMOVZXWQ256_MASK, IX86_BUILTIN_PMOVZXWQ128_MASK,
8345         IX86_BUILTIN_PMOVZXDQ256_MASK, IX86_BUILTIN_PMOVZXDQ128_MASK,
8346         IX86_BUILTIN_REDUCEPD256_MASK, IX86_BUILTIN_REDUCEPD128_MASK,
8347         IX86_BUILTIN_REDUCEPS256_MASK, IX86_BUILTIN_REDUCEPS128_MASK,
8348         IX86_BUILTIN_REDUCESD_MASK, IX86_BUILTIN_REDUCESS_MASK,
8349         IX86_BUILTIN_VPERMVARHI256_MASK, IX86_BUILTIN_VPERMVARHI128_MASK,
8350         IX86_BUILTIN_VPERMT2VARHI256, IX86_BUILTIN_VPERMT2VARHI256_MASKZ,
8351         IX86_BUILTIN_VPERMT2VARHI128, IX86_BUILTIN_VPERMT2VARHI128_MASKZ,
8352         IX86_BUILTIN_VPERMI2VARHI256, IX86_BUILTIN_VPERMI2VARHI128,
8353         IX86_BUILTIN_RCP14PD256, IX86_BUILTIN_RCP14PD128,
8354         IX86_BUILTIN_RCP14PS256, IX86_BUILTIN_RCP14PS128,
8355         IX86_BUILTIN_RSQRT14PD256_MASK, IX86_BUILTIN_RSQRT14PD128_MASK,
8356         IX86_BUILTIN_RSQRT14PS256_MASK, IX86_BUILTIN_RSQRT14PS128_MASK,
8357         IX86_BUILTIN_SQRTPD256_MASK, IX86_BUILTIN_SQRTPD128_MASK,
8358         IX86_BUILTIN_SQRTPS256_MASK, IX86_BUILTIN_SQRTPS128_MASK,
8359         IX86_BUILTIN_PADDB128_MASK, IX86_BUILTIN_PADDW128_MASK,
8360         IX86_BUILTIN_PADDD128_MASK, IX86_BUILTIN_PADDQ128_MASK,
8361         IX86_BUILTIN_PSUBB128_MASK, IX86_BUILTIN_PSUBW128_MASK,
8362         IX86_BUILTIN_PSUBD128_MASK, IX86_BUILTIN_PSUBQ128_MASK,
8363         IX86_BUILTIN_PADDSB128_MASK, IX86_BUILTIN_PADDSW128_MASK,
8364         IX86_BUILTIN_PSUBSB128_MASK, IX86_BUILTIN_PSUBSW128_MASK,
8365         IX86_BUILTIN_PADDUSB128_MASK, IX86_BUILTIN_PADDUSW128_MASK,
8366         IX86_BUILTIN_PSUBUSB128_MASK, IX86_BUILTIN_PSUBUSW128_MASK,
8367         IX86_BUILTIN_PADDB256_MASK, IX86_BUILTIN_PADDW256_MASK,
8368         IX86_BUILTIN_PADDD256_MASK, IX86_BUILTIN_PADDQ256_MASK,
8369         IX86_BUILTIN_PADDSB256_MASK, IX86_BUILTIN_PADDSW256_MASK,
8370         IX86_BUILTIN_PADDUSB256_MASK, IX86_BUILTIN_PADDUSW256_MASK,
8371         IX86_BUILTIN_PSUBB256_MASK, IX86_BUILTIN_PSUBW256_MASK,
8372         IX86_BUILTIN_PSUBD256_MASK, IX86_BUILTIN_PSUBQ256_MASK,
8373         IX86_BUILTIN_PSUBSB256_MASK, IX86_BUILTIN_PSUBSW256_MASK,
8374         IX86_BUILTIN_PSUBUSB256_MASK, IX86_BUILTIN_PSUBUSW256_MASK,
8375         IX86_BUILTIN_SHUF_F64x2_256, IX86_BUILTIN_SHUF_I64x2_256,
8376         IX86_BUILTIN_SHUF_I32x4_256, IX86_BUILTIN_SHUF_F32x4_256,
8377         IX86_BUILTIN_PMOVWB128, IX86_BUILTIN_PMOVWB256,
8378         IX86_BUILTIN_PMOVSWB128, IX86_BUILTIN_PMOVSWB256,
8379         IX86_BUILTIN_PMOVUSWB128, IX86_BUILTIN_PMOVUSWB256,
8380         IX86_BUILTIN_PMOVDB128, IX86_BUILTIN_PMOVDB256,
8381         IX86_BUILTIN_PMOVSDB128, IX86_BUILTIN_PMOVSDB256,
8382         IX86_BUILTIN_PMOVUSDB128, IX86_BUILTIN_PMOVUSDB256,
8383         IX86_BUILTIN_PMOVDW128, IX86_BUILTIN_PMOVDW256,
8384         IX86_BUILTIN_PMOVSDW128, IX86_BUILTIN_PMOVSDW256,
8385         IX86_BUILTIN_PMOVUSDW128, IX86_BUILTIN_PMOVUSDW256,
8386         IX86_BUILTIN_PMOVQB128, IX86_BUILTIN_PMOVQB256,
8387         IX86_BUILTIN_PMOVSQB128, IX86_BUILTIN_PMOVSQB256,
8388         IX86_BUILTIN_PMOVUSQB128, IX86_BUILTIN_PMOVUSQB256,
8389         IX86_BUILTIN_PMOVQW128, IX86_BUILTIN_PMOVQW256,
8390         IX86_BUILTIN_PMOVSQW128, IX86_BUILTIN_PMOVSQW256,
8391         IX86_BUILTIN_PMOVUSQW128, IX86_BUILTIN_PMOVUSQW256,
8392         IX86_BUILTIN_PMOVQD128, IX86_BUILTIN_PMOVQD256,
8393         IX86_BUILTIN_PMOVSQD128, IX86_BUILTIN_PMOVSQD256,
8394         IX86_BUILTIN_PMOVUSQD128, IX86_BUILTIN_PMOVUSQD256,
8395         IX86_BUILTIN_RANGEPD256, IX86_BUILTIN_RANGEPD128,
8396         IX86_BUILTIN_RANGEPS256, IX86_BUILTIN_RANGEPS128,
8397         IX86_BUILTIN_GETEXPPS256, IX86_BUILTIN_GETEXPPD256,
8398         IX86_BUILTIN_GETEXPPS128, IX86_BUILTIN_GETEXPPD128,
8399         IX86_BUILTIN_FIXUPIMMPD256_MASK, IX86_BUILTIN_FIXUPIMMPD256_MASKZ,
8400         IX86_BUILTIN_FIXUPIMMPS256_MASK, IX86_BUILTIN_FIXUPIMMPS256_MASKZ,
8401         IX86_BUILTIN_FIXUPIMMPD128_MASK, IX86_BUILTIN_FIXUPIMMPD128_MASKZ,
8402         IX86_BUILTIN_FIXUPIMMPS128_MASK, IX86_BUILTIN_FIXUPIMMPS128_MASKZ,
8403         IX86_BUILTIN_PABSQ256, IX86_BUILTIN_PABSQ128,
8404         IX86_BUILTIN_PABSD256_MASK, IX86_BUILTIN_PABSD128_MASK,
8405         IX86_BUILTIN_PMULHRSW256_MASK, IX86_BUILTIN_PMULHRSW128_MASK,
8406         IX86_BUILTIN_PMULHUW128_MASK, IX86_BUILTIN_PMULHUW256_MASK,
8407         IX86_BUILTIN_PMULHW256_MASK, IX86_BUILTIN_PMULHW128_MASK,
8408         IX86_BUILTIN_PMULLW256_MASK, IX86_BUILTIN_PMULLW128_MASK,
8409         IX86_BUILTIN_PMULLQ256, IX86_BUILTIN_PMULLQ128,
8410         IX86_BUILTIN_ANDPD256_MASK, IX86_BUILTIN_ANDPD128_MASK,
8411         IX86_BUILTIN_ANDPS256_MASK, IX86_BUILTIN_ANDPS128_MASK,
8412         IX86_BUILTIN_ANDNPD256_MASK, IX86_BUILTIN_ANDNPD128_MASK,
8413         IX86_BUILTIN_ANDNPS256_MASK, IX86_BUILTIN_ANDNPS128_MASK,
8414         IX86_BUILTIN_PSLLWI128_MASK, IX86_BUILTIN_PSLLDI128_MASK,
8415         IX86_BUILTIN_PSLLQI128_MASK, IX86_BUILTIN_PSLLW128_MASK,
8416         IX86_BUILTIN_PSLLD128_MASK, IX86_BUILTIN_PSLLQ128_MASK,
8417         IX86_BUILTIN_PSLLWI256_MASK , IX86_BUILTIN_PSLLW256_MASK,
8418         IX86_BUILTIN_PSLLDI256_MASK, IX86_BUILTIN_PSLLD256_MASK,
8419         IX86_BUILTIN_PSLLQI256_MASK, IX86_BUILTIN_PSLLQ256_MASK,
8420         IX86_BUILTIN_PSRADI128_MASK, IX86_BUILTIN_PSRAD128_MASK,
8421         IX86_BUILTIN_PSRADI256_MASK, IX86_BUILTIN_PSRAD256_MASK,
8422         IX86_BUILTIN_PSRAQI128_MASK, IX86_BUILTIN_PSRAQ128_MASK,
8423         IX86_BUILTIN_PSRAQI256_MASK, IX86_BUILTIN_PSRAQ256_MASK,
8424         IX86_BUILTIN_PANDD256, IX86_BUILTIN_PANDD128,
8425         IX86_BUILTIN_PSRLDI128_MASK, IX86_BUILTIN_PSRLD128_MASK,
8426         IX86_BUILTIN_PSRLDI256_MASK, IX86_BUILTIN_PSRLD256_MASK,
8427         IX86_BUILTIN_PSRLQI128_MASK, IX86_BUILTIN_PSRLQ128_MASK,
8428         IX86_BUILTIN_PSRLQI256_MASK, IX86_BUILTIN_PSRLQ256_MASK,
8429         IX86_BUILTIN_PANDQ256, IX86_BUILTIN_PANDQ128,
8430         IX86_BUILTIN_PANDND256, IX86_BUILTIN_PANDND128,
8431         IX86_BUILTIN_PANDNQ256, IX86_BUILTIN_PANDNQ128,
8432         IX86_BUILTIN_PORD256, IX86_BUILTIN_PORD128,
8433         IX86_BUILTIN_PORQ256, IX86_BUILTIN_PORQ128,
8434         IX86_BUILTIN_PXORD256, IX86_BUILTIN_PXORD128,
8435         IX86_BUILTIN_PXORQ256, IX86_BUILTIN_PXORQ128,
8436         IX86_BUILTIN_PACKSSWB256_MASK, IX86_BUILTIN_PACKSSWB128_MASK,
8437         IX86_BUILTIN_PACKUSWB256_MASK, IX86_BUILTIN_PACKUSWB128_MASK,
8438         IX86_BUILTIN_RNDSCALEPS256, IX86_BUILTIN_RNDSCALEPD256,
8439         IX86_BUILTIN_RNDSCALEPS128, IX86_BUILTIN_RNDSCALEPD128,
8440         IX86_BUILTIN_VTERNLOGQ256_MASK, IX86_BUILTIN_VTERNLOGQ256_MASKZ,
8441         IX86_BUILTIN_VTERNLOGD256_MASK, IX86_BUILTIN_VTERNLOGD256_MASKZ,
8442         IX86_BUILTIN_VTERNLOGQ128_MASK, IX86_BUILTIN_VTERNLOGQ128_MASKZ,
8443         IX86_BUILTIN_VTERNLOGD128_MASK, IX86_BUILTIN_VTERNLOGD128_MASKZ,
8444         IX86_BUILTIN_SCALEFPD256, IX86_BUILTIN_SCALEFPS256,
8445         IX86_BUILTIN_SCALEFPD128, IX86_BUILTIN_SCALEFPS128,
8446         IX86_BUILTIN_VFMADDPD256_MASK, IX86_BUILTIN_VFMADDPD256_MASK3,
8447         IX86_BUILTIN_VFMADDPD256_MASKZ, IX86_BUILTIN_VFMADDPD128_MASK,
8448         IX86_BUILTIN_VFMADDPD128_MASK3, IX86_BUILTIN_VFMADDPD128_MASKZ,
8449         IX86_BUILTIN_VFMADDPS256_MASK, IX86_BUILTIN_VFMADDPS256_MASK3,
8450         IX86_BUILTIN_VFMADDPS256_MASKZ, IX86_BUILTIN_VFMADDPS128_MASK,
8451         IX86_BUILTIN_VFMADDPS128_MASK3, IX86_BUILTIN_VFMADDPS128_MASKZ,
8452         IX86_BUILTIN_VFMSUBPD256_MASK3, IX86_BUILTIN_VFMSUBPD128_MASK3,
8453         IX86_BUILTIN_VFMSUBPS256_MASK3, IX86_BUILTIN_VFMSUBPS128_MASK3,
8454         IX86_BUILTIN_VFNMADDPD256_MASK, IX86_BUILTIN_VFNMADDPD128_MASK,
8455         IX86_BUILTIN_VFNMADDPS256_MASK, IX86_BUILTIN_VFNMADDPS128_MASK,
8456         IX86_BUILTIN_VFNMSUBPD256_MASK, IX86_BUILTIN_VFNMSUBPD256_MASK3,
8457         IX86_BUILTIN_VFNMSUBPD128_MASK, IX86_BUILTIN_VFNMSUBPD128_MASK3,
8458         IX86_BUILTIN_VFNMSUBPS256_MASK, IX86_BUILTIN_VFNMSUBPS256_MASK3,
8459         IX86_BUILTIN_VFNMSUBPS128_MASK, IX86_BUILTIN_VFNMSUBPS128_MASK3,
8460         IX86_BUILTIN_VFMADDSUBPD256_MASK, IX86_BUILTIN_VFMADDSUBPD256_MASK3,
8461         IX86_BUILTIN_VFMADDSUBPD256_MASKZ, IX86_BUILTIN_VFMADDSUBPD128_MASK,
8462         IX86_BUILTIN_VFMADDSUBPD128_MASK3, IX86_BUILTIN_VFMADDSUBPD128_MASKZ,
8463         IX86_BUILTIN_VFMADDSUBPS256_MASK, IX86_BUILTIN_VFMADDSUBPS256_MASK3,
8464         IX86_BUILTIN_VFMADDSUBPS256_MASKZ, IX86_BUILTIN_VFMADDSUBPS128_MASK,
8465         IX86_BUILTIN_VFMADDSUBPS128_MASK3, IX86_BUILTIN_VFMADDSUBPS128_MASKZ,
8466         IX86_BUILTIN_VFMSUBADDPD256_MASK3, IX86_BUILTIN_VFMSUBADDPD128_MASK3,
8467         IX86_BUILTIN_VFMSUBADDPS256_MASK3, IX86_BUILTIN_VFMSUBADDPS128_MASK3,
8468         IX86_BUILTIN_INSERTF64X2_256, IX86_BUILTIN_INSERTI64X2_256,
8469         IX86_BUILTIN_PSRAVV16HI, IX86_BUILTIN_PSRAVV8HI,
8470         IX86_BUILTIN_PMADDUBSW256_MASK, IX86_BUILTIN_PMADDUBSW128_MASK,
8471         IX86_BUILTIN_PMADDWD256_MASK, IX86_BUILTIN_PMADDWD128_MASK,
8472         IX86_BUILTIN_PSRLVV16HI, IX86_BUILTIN_PSRLVV8HI,
8473         IX86_BUILTIN_CVTPS2DQ256_MASK, IX86_BUILTIN_CVTPS2DQ128_MASK,
8474         IX86_BUILTIN_CVTPS2UDQ256, IX86_BUILTIN_CVTPS2UDQ128,
8475         IX86_BUILTIN_CVTPS2QQ256, IX86_BUILTIN_CVTPS2QQ128,
8476         IX86_BUILTIN_CVTPS2UQQ256, IX86_BUILTIN_CVTPS2UQQ128,
8477         IX86_BUILTIN_GETMANTPS256, IX86_BUILTIN_GETMANTPS128,
8478         IX86_BUILTIN_GETMANTPD256, IX86_BUILTIN_GETMANTPD128,
8479         IX86_BUILTIN_MOVDDUP256_MASK, IX86_BUILTIN_MOVDDUP128_MASK,
8480         IX86_BUILTIN_MOVSHDUP256_MASK, IX86_BUILTIN_MOVSHDUP128_MASK,
8481         IX86_BUILTIN_MOVSLDUP256_MASK, IX86_BUILTIN_MOVSLDUP128_MASK,
8482         IX86_BUILTIN_CVTQQ2PS256, IX86_BUILTIN_CVTQQ2PS128,
8483         IX86_BUILTIN_CVTUQQ2PS256, IX86_BUILTIN_CVTUQQ2PS128,
8484         IX86_BUILTIN_CVTQQ2PD256, IX86_BUILTIN_CVTQQ2PD128,
8485         IX86_BUILTIN_CVTUQQ2PD256, IX86_BUILTIN_CVTUQQ2PD128,
8486         IX86_BUILTIN_VPERMT2VARQ256, IX86_BUILTIN_VPERMT2VARQ256_MASKZ,
8487         IX86_BUILTIN_VPERMT2VARD256, IX86_BUILTIN_VPERMT2VARD256_MASKZ,
8488         IX86_BUILTIN_VPERMI2VARQ256, IX86_BUILTIN_VPERMI2VARD256,
8489         IX86_BUILTIN_VPERMT2VARPD256, IX86_BUILTIN_VPERMT2VARPD256_MASKZ,
8490         IX86_BUILTIN_VPERMT2VARPS256, IX86_BUILTIN_VPERMT2VARPS256_MASKZ,
8491         IX86_BUILTIN_VPERMI2VARPD256, IX86_BUILTIN_VPERMI2VARPS256,
8492         IX86_BUILTIN_VPERMT2VARQ128, IX86_BUILTIN_VPERMT2VARQ128_MASKZ,
8493         IX86_BUILTIN_VPERMT2VARD128, IX86_BUILTIN_VPERMT2VARD128_MASKZ,
8494         IX86_BUILTIN_VPERMI2VARQ128, IX86_BUILTIN_VPERMI2VARD128,
8495         IX86_BUILTIN_VPERMT2VARPD128, IX86_BUILTIN_VPERMT2VARPD128_MASKZ,
8496         IX86_BUILTIN_VPERMT2VARPS128, IX86_BUILTIN_VPERMT2VARPS128_MASKZ,
8497         IX86_BUILTIN_VPERMI2VARPD128, IX86_BUILTIN_VPERMI2VARPS128,
8498         IX86_BUILTIN_PSHUFB256_MASK, IX86_BUILTIN_PSHUFB128_MASK,
8499         IX86_BUILTIN_PSHUFHW256_MASK, IX86_BUILTIN_PSHUFHW128_MASK,
8500         IX86_BUILTIN_PSHUFLW256_MASK, IX86_BUILTIN_PSHUFLW128_MASK,
8501         IX86_BUILTIN_PSHUFD256_MASK, IX86_BUILTIN_PSHUFD128_MASK,
8502         IX86_BUILTIN_SHUFPD256_MASK, IX86_BUILTIN_SHUFPD128_MASK,
8503         IX86_BUILTIN_SHUFPS256_MASK, IX86_BUILTIN_SHUFPS128_MASK,
8504         IX86_BUILTIN_PROLVQ256, IX86_BUILTIN_PROLVQ128,
8505         IX86_BUILTIN_PROLQ256, IX86_BUILTIN_PROLQ128,
8506         IX86_BUILTIN_PRORVQ256, IX86_BUILTIN_PRORVQ128,
8507         IX86_BUILTIN_PRORQ256, IX86_BUILTIN_PRORQ128,
8508         IX86_BUILTIN_PSRAVQ128, IX86_BUILTIN_PSRAVQ256,
8509         IX86_BUILTIN_PSLLVV4DI_MASK, IX86_BUILTIN_PSLLVV2DI_MASK,
8510         IX86_BUILTIN_PSLLVV8SI_MASK, IX86_BUILTIN_PSLLVV4SI_MASK,
8511         IX86_BUILTIN_PSRAVV8SI_MASK, IX86_BUILTIN_PSRAVV4SI_MASK,
8512         IX86_BUILTIN_PSRLVV4DI_MASK, IX86_BUILTIN_PSRLVV2DI_MASK,
8513         IX86_BUILTIN_PSRLVV8SI_MASK, IX86_BUILTIN_PSRLVV4SI_MASK,
8514         IX86_BUILTIN_PSRAWI256_MASK, IX86_BUILTIN_PSRAW256_MASK,
8515         IX86_BUILTIN_PSRAWI128_MASK, IX86_BUILTIN_PSRAW128_MASK,
8516         IX86_BUILTIN_PSRLWI256_MASK, IX86_BUILTIN_PSRLW256_MASK,
8517         IX86_BUILTIN_PSRLWI128_MASK, IX86_BUILTIN_PSRLW128_MASK,
8518         IX86_BUILTIN_PRORVD256, IX86_BUILTIN_PROLVD256,
8519         IX86_BUILTIN_PRORD256, IX86_BUILTIN_PROLD256,
8520         IX86_BUILTIN_PRORVD128, IX86_BUILTIN_PROLVD128,
8521         IX86_BUILTIN_PRORD128, IX86_BUILTIN_PROLD128,
8522         IX86_BUILTIN_FPCLASSPD256, IX86_BUILTIN_FPCLASSPD128,
8523         IX86_BUILTIN_FPCLASSSD, IX86_BUILTIN_FPCLASSPS256,
8524         IX86_BUILTIN_FPCLASSPS128, IX86_BUILTIN_FPCLASSSS,
8525         IX86_BUILTIN_CVTB2MASK128, IX86_BUILTIN_CVTB2MASK256,
8526         IX86_BUILTIN_CVTW2MASK128, IX86_BUILTIN_CVTW2MASK256,
8527         IX86_BUILTIN_CVTD2MASK128, IX86_BUILTIN_CVTD2MASK256,
8528         IX86_BUILTIN_CVTQ2MASK128, IX86_BUILTIN_CVTQ2MASK256,
8529         IX86_BUILTIN_CVTMASK2B128, IX86_BUILTIN_CVTMASK2B256,
8530         IX86_BUILTIN_CVTMASK2W128, IX86_BUILTIN_CVTMASK2W256,
8531         IX86_BUILTIN_CVTMASK2D128, IX86_BUILTIN_CVTMASK2D256,
8532         IX86_BUILTIN_CVTMASK2Q128, IX86_BUILTIN_CVTMASK2Q256,
8533         IX86_BUILTIN_PCMPEQB128_MASK, IX86_BUILTIN_PCMPEQB256_MASK,
8534         IX86_BUILTIN_PCMPEQW128_MASK, IX86_BUILTIN_PCMPEQW256_MASK,
8535         IX86_BUILTIN_PCMPEQD128_MASK, IX86_BUILTIN_PCMPEQD256_MASK,
8536         IX86_BUILTIN_PCMPEQQ128_MASK, IX86_BUILTIN_PCMPEQQ256_MASK,
8537         IX86_BUILTIN_PCMPGTB128_MASK, IX86_BUILTIN_PCMPGTB256_MASK,
8538         IX86_BUILTIN_PCMPGTW128_MASK, IX86_BUILTIN_PCMPGTW256_MASK,
8539         IX86_BUILTIN_PCMPGTD128_MASK, IX86_BUILTIN_PCMPGTD256_MASK,
8540         IX86_BUILTIN_PCMPGTQ128_MASK, IX86_BUILTIN_PCMPGTQ256_MASK,
8541         IX86_BUILTIN_PTESTMB128, IX86_BUILTIN_PTESTMB256,
8542         IX86_BUILTIN_PTESTMW128, IX86_BUILTIN_PTESTMW256,
8543         IX86_BUILTIN_PTESTMD128, IX86_BUILTIN_PTESTMD256,
8544         IX86_BUILTIN_PTESTMQ128, IX86_BUILTIN_PTESTMQ256,
8545         IX86_BUILTIN_PTESTNMB128, IX86_BUILTIN_PTESTNMB256,
8546         IX86_BUILTIN_PTESTNMW128, IX86_BUILTIN_PTESTNMW256,
8547         IX86_BUILTIN_PTESTNMD128, IX86_BUILTIN_PTESTNMD256,
8548         IX86_BUILTIN_PTESTNMQ128, IX86_BUILTIN_PTESTNMQ256,
8549         IX86_BUILTIN_PBROADCASTMB128, IX86_BUILTIN_PBROADCASTMB256,
8550         IX86_BUILTIN_PBROADCASTMW128, IX86_BUILTIN_PBROADCASTMW256,
8551         IX86_BUILTIN_COMPRESSPD256, IX86_BUILTIN_COMPRESSPD128,
8552         IX86_BUILTIN_COMPRESSPS256, IX86_BUILTIN_COMPRESSPS128,
8553         IX86_BUILTIN_PCOMPRESSQ256, IX86_BUILTIN_PCOMPRESSQ128,
8554         IX86_BUILTIN_PCOMPRESSD256, IX86_BUILTIN_PCOMPRESSD128,
8555         IX86_BUILTIN_EXPANDPD256, IX86_BUILTIN_EXPANDPD128,
8556         IX86_BUILTIN_EXPANDPS256, IX86_BUILTIN_EXPANDPS128,
8557         IX86_BUILTIN_PEXPANDQ256, IX86_BUILTIN_PEXPANDQ128,
8558         IX86_BUILTIN_PEXPANDD256, IX86_BUILTIN_PEXPANDD128,
8559         IX86_BUILTIN_EXPANDPD256Z, IX86_BUILTIN_EXPANDPD128Z,
8560         IX86_BUILTIN_EXPANDPS256Z, IX86_BUILTIN_EXPANDPS128Z,
8561         IX86_BUILTIN_PEXPANDQ256Z, IX86_BUILTIN_PEXPANDQ128Z,
8562         IX86_BUILTIN_PEXPANDD256Z, IX86_BUILTIN_PEXPANDD128Z,
8563         IX86_BUILTIN_PMAXSD256_MASK, IX86_BUILTIN_PMINSD256_MASK,
8564         IX86_BUILTIN_PMAXUD256_MASK, IX86_BUILTIN_PMINUD256_MASK,
8565         IX86_BUILTIN_PMAXSD128_MASK, IX86_BUILTIN_PMINSD128_MASK,
8566         IX86_BUILTIN_PMAXUD128_MASK, IX86_BUILTIN_PMINUD128_MASK,
8567         IX86_BUILTIN_PMAXSQ256_MASK, IX86_BUILTIN_PMINSQ256_MASK,
8568         IX86_BUILTIN_PMAXUQ256_MASK, IX86_BUILTIN_PMINUQ256_MASK,
8569         IX86_BUILTIN_PMAXSQ128_MASK, IX86_BUILTIN_PMINSQ128_MASK,
8570         IX86_BUILTIN_PMAXUQ128_MASK, IX86_BUILTIN_PMINUQ128_MASK,
8571         IX86_BUILTIN_PMINSB256_MASK, IX86_BUILTIN_PMINUB256_MASK,
8572         IX86_BUILTIN_PMAXSB256_MASK, IX86_BUILTIN_PMAXUB256_MASK,
8573         IX86_BUILTIN_PMINSB128_MASK, IX86_BUILTIN_PMINUB128_MASK,
8574         IX86_BUILTIN_PMAXSB128_MASK, IX86_BUILTIN_PMAXUB128_MASK,
8575         IX86_BUILTIN_PMINSW256_MASK, IX86_BUILTIN_PMINUW256_MASK,
8576         IX86_BUILTIN_PMAXSW256_MASK, IX86_BUILTIN_PMAXUW256_MASK,
8577         IX86_BUILTIN_PMINSW128_MASK, IX86_BUILTIN_PMINUW128_MASK,
8578         IX86_BUILTIN_PMAXSW128_MASK, IX86_BUILTIN_PMAXUW128_MASK,
8579         IX86_BUILTIN_VPCONFLICTQ256, IX86_BUILTIN_VPCONFLICTD256,
8580         IX86_BUILTIN_VPCLZCNTQ256, IX86_BUILTIN_VPCLZCNTD256,
8581         IX86_BUILTIN_UNPCKHPD256_MASK, IX86_BUILTIN_UNPCKHPD128_MASK,
8582         IX86_BUILTIN_UNPCKHPS256_MASK, IX86_BUILTIN_UNPCKHPS128_MASK,
8583         IX86_BUILTIN_UNPCKLPD256_MASK, IX86_BUILTIN_UNPCKLPD128_MASK,
8584         IX86_BUILTIN_UNPCKLPS256_MASK, IX86_BUILTIN_VPCONFLICTQ128,
8585         IX86_BUILTIN_VPCONFLICTD128, IX86_BUILTIN_VPCLZCNTQ128,
8586         IX86_BUILTIN_VPCLZCNTD128, IX86_BUILTIN_UNPCKLPS128_MASK,
8587         IX86_BUILTIN_ALIGND256, IX86_BUILTIN_ALIGNQ256,
8588         IX86_BUILTIN_ALIGND128, IX86_BUILTIN_ALIGNQ128,
8589         IX86_BUILTIN_CVTPS2PH256_MASK, IX86_BUILTIN_CVTPS2PH_MASK,
8590         IX86_BUILTIN_CVTPH2PS_MASK, IX86_BUILTIN_CVTPH2PS256_MASK,
8591         IX86_BUILTIN_PUNPCKHDQ128_MASK, IX86_BUILTIN_PUNPCKHDQ256_MASK,
8592         IX86_BUILTIN_PUNPCKHQDQ128_MASK, IX86_BUILTIN_PUNPCKHQDQ256_MASK,
8593         IX86_BUILTIN_PUNPCKLDQ128_MASK, IX86_BUILTIN_PUNPCKLDQ256_MASK,
8594         IX86_BUILTIN_PUNPCKLQDQ128_MASK, IX86_BUILTIN_PUNPCKLQDQ256_MASK,
8595         IX86_BUILTIN_PUNPCKHBW128_MASK, IX86_BUILTIN_PUNPCKHBW256_MASK,
8596         IX86_BUILTIN_PUNPCKHWD128_MASK, IX86_BUILTIN_PUNPCKHWD256_MASK,
8597         IX86_BUILTIN_PUNPCKLBW128_MASK, IX86_BUILTIN_PUNPCKLBW256_MASK,
8598         IX86_BUILTIN_PUNPCKLWD128_MASK, IX86_BUILTIN_PUNPCKLWD256_MASK,
8599         IX86_BUILTIN_PSLLVV16HI, IX86_BUILTIN_PSLLVV8HI,
8600         IX86_BUILTIN_PACKSSDW256_MASK, IX86_BUILTIN_PACKSSDW128_MASK,
8601         IX86_BUILTIN_PACKUSDW256_MASK, IX86_BUILTIN_PACKUSDW128_MASK,
8602         IX86_BUILTIN_PAVGB256_MASK, IX86_BUILTIN_PAVGW256_MASK,
8603         IX86_BUILTIN_PAVGB128_MASK, IX86_BUILTIN_PAVGW128_MASK,
8604         IX86_BUILTIN_VPERMVARSF256_MASK, IX86_BUILTIN_VPERMVARDF256_MASK,
8605         IX86_BUILTIN_VPERMDF256_MASK, IX86_BUILTIN_PABSB256_MASK,
8606         IX86_BUILTIN_PABSB128_MASK, IX86_BUILTIN_PABSW256_MASK,
8607         IX86_BUILTIN_PABSW128_MASK, IX86_BUILTIN_VPERMILVARPD_MASK,
8608         IX86_BUILTIN_VPERMILVARPS_MASK, IX86_BUILTIN_VPERMILVARPD256_MASK,
8609         IX86_BUILTIN_VPERMILVARPS256_MASK, IX86_BUILTIN_VPERMILPD_MASK,
8610         IX86_BUILTIN_VPERMILPS_MASK, IX86_BUILTIN_VPERMILPD256_MASK,
8611         IX86_BUILTIN_VPERMILPS256_MASK, IX86_BUILTIN_BLENDMQ256,
8612         IX86_BUILTIN_BLENDMD256, IX86_BUILTIN_BLENDMPD256,
8613         IX86_BUILTIN_BLENDMPS256, IX86_BUILTIN_BLENDMQ128,
8614         IX86_BUILTIN_BLENDMD128, IX86_BUILTIN_BLENDMPD128,
8615         IX86_BUILTIN_BLENDMPS128, IX86_BUILTIN_BLENDMW256,
8616         IX86_BUILTIN_BLENDMB256, IX86_BUILTIN_BLENDMW128,
8617         IX86_BUILTIN_BLENDMB128, IX86_BUILTIN_PMULLD256_MASK,
8618         IX86_BUILTIN_PMULLD128_MASK, IX86_BUILTIN_PMULUDQ256_MASK,
8619         IX86_BUILTIN_PMULDQ256_MASK, IX86_BUILTIN_PMULDQ128_MASK,
8620         IX86_BUILTIN_PMULUDQ128_MASK, IX86_BUILTIN_CVTPD2PS256_MASK,
8621         IX86_BUILTIN_CVTPD2PS_MASK, IX86_BUILTIN_VPERMVARSI256_MASK,
8622         IX86_BUILTIN_VPERMVARDI256_MASK, IX86_BUILTIN_VPERMDI256_MASK,
8623         IX86_BUILTIN_CMPQ256, IX86_BUILTIN_CMPD256,
8624         IX86_BUILTIN_UCMPQ256, IX86_BUILTIN_UCMPD256,
8625         IX86_BUILTIN_CMPB256, IX86_BUILTIN_CMPW256,
8626         IX86_BUILTIN_UCMPB256, IX86_BUILTIN_UCMPW256,
8627         IX86_BUILTIN_CMPPD256_MASK, IX86_BUILTIN_CMPPS256_MASK,
8628         IX86_BUILTIN_CMPQ128, IX86_BUILTIN_CMPD128,
8629         IX86_BUILTIN_UCMPQ128, IX86_BUILTIN_UCMPD128,
8630         IX86_BUILTIN_CMPB128, IX86_BUILTIN_CMPW128,
8631         IX86_BUILTIN_UCMPB128, IX86_BUILTIN_UCMPW128,
8632         IX86_BUILTIN_CMPPD128_MASK, IX86_BUILTIN_CMPPS128_MASK,
8633         IX86_BUILTIN_GATHER3SIV8SF, IX86_BUILTIN_GATHER3SIV4SF,
8634         IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV2DF,
8635         IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3DIV4SF,
8636         IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
8637         IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3SIV4SI,
8638         IX86_BUILTIN_GATHER3SIV4DI, IX86_BUILTIN_GATHER3SIV2DI,
8639         IX86_BUILTIN_GATHER3DIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
8640         IX86_BUILTIN_GATHER3DIV4DI, IX86_BUILTIN_GATHER3DIV2DI,
8641         IX86_BUILTIN_SCATTERSIV8SF, IX86_BUILTIN_SCATTERSIV4SF,
8642         IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV2DF,
8643         IX86_BUILTIN_SCATTERDIV8SF, IX86_BUILTIN_SCATTERDIV4SF,
8644         IX86_BUILTIN_SCATTERDIV4DF, IX86_BUILTIN_SCATTERDIV2DF,
8645         IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV4SI,
8646         IX86_BUILTIN_SCATTERSIV4DI, IX86_BUILTIN_SCATTERSIV2DI,
8647         IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_SCATTERDIV4SI,
8648         IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
8649         IX86_BUILTIN_RANGESD128, IX86_BUILTIN_RANGESS128,
8650         IX86_BUILTIN_KUNPCKWD, IX86_BUILTIN_KUNPCKDQ,
8651         IX86_BUILTIN_BROADCASTF32x2_512, IX86_BUILTIN_BROADCASTI32x2_512,
8652         IX86_BUILTIN_BROADCASTF64X2_512, IX86_BUILTIN_BROADCASTI64X2_512,
8653         IX86_BUILTIN_BROADCASTF32X8_512, IX86_BUILTIN_BROADCASTI32X8_512,
8654         IX86_BUILTIN_EXTRACTF64X2_512, IX86_BUILTIN_EXTRACTF32X8,
8655         IX86_BUILTIN_EXTRACTI64X2_512, IX86_BUILTIN_EXTRACTI32X8,
8656         IX86_BUILTIN_REDUCEPD512_MASK, IX86_BUILTIN_REDUCEPS512_MASK,
8657         IX86_BUILTIN_PMULLQ512, IX86_BUILTIN_XORPD512,
8658         IX86_BUILTIN_XORPS512, IX86_BUILTIN_ORPD512,
8659         IX86_BUILTIN_ORPS512, IX86_BUILTIN_ANDPD512,
8660         IX86_BUILTIN_ANDPS512, IX86_BUILTIN_ANDNPD512,
8661         IX86_BUILTIN_ANDNPS512, IX86_BUILTIN_INSERTF32X8,
8662         IX86_BUILTIN_INSERTI32X8, IX86_BUILTIN_INSERTF64X2_512,
8663         IX86_BUILTIN_INSERTI64X2_512, IX86_BUILTIN_FPCLASSPD512,
8664         IX86_BUILTIN_FPCLASSPS512, IX86_BUILTIN_CVTD2MASK512,
8665         IX86_BUILTIN_CVTQ2MASK512, IX86_BUILTIN_CVTMASK2D512,
8666         IX86_BUILTIN_CVTMASK2Q512, IX86_BUILTIN_CVTPD2QQ512,
8667         IX86_BUILTIN_CVTPS2QQ512, IX86_BUILTIN_CVTPD2UQQ512,
8668         IX86_BUILTIN_CVTPS2UQQ512, IX86_BUILTIN_CVTQQ2PS512,
8669         IX86_BUILTIN_CVTUQQ2PS512, IX86_BUILTIN_CVTQQ2PD512,
8670         IX86_BUILTIN_CVTUQQ2PD512, IX86_BUILTIN_CVTTPS2QQ512,
8671         IX86_BUILTIN_CVTTPS2UQQ512, IX86_BUILTIN_CVTTPD2QQ512,
8672         IX86_BUILTIN_CVTTPD2UQQ512, IX86_BUILTIN_RANGEPS512,
8673         IX86_BUILTIN_RANGEPD512, IX86_BUILTIN_PACKUSDW512,
8674         IX86_BUILTIN_PACKSSDW512, IX86_BUILTIN_LOADDQUHI512_MASK,
8675         IX86_BUILTIN_LOADDQUQI512_MASK, IX86_BUILTIN_PSLLDQ512,
8676         IX86_BUILTIN_PSRLDQ512, IX86_BUILTIN_STOREDQUHI512_MASK,
8677         IX86_BUILTIN_STOREDQUQI512_MASK, IX86_BUILTIN_PALIGNR512,
8678         IX86_BUILTIN_PALIGNR512_MASK, IX86_BUILTIN_MOVDQUHI512_MASK,
8679         IX86_BUILTIN_MOVDQUQI512_MASK, IX86_BUILTIN_PSADBW512,
8680         IX86_BUILTIN_DBPSADBW512, IX86_BUILTIN_PBROADCASTB512,
8681         IX86_BUILTIN_PBROADCASTB512_GPR, IX86_BUILTIN_PBROADCASTW512,
8682         IX86_BUILTIN_PBROADCASTW512_GPR, IX86_BUILTIN_PMOVSXBW512_MASK,
8683         IX86_BUILTIN_PMOVZXBW512_MASK, IX86_BUILTIN_VPERMVARHI512_MASK,
8684         IX86_BUILTIN_VPERMT2VARHI512, IX86_BUILTIN_VPERMT2VARHI512_MASKZ,
8685         IX86_BUILTIN_VPERMI2VARHI512, IX86_BUILTIN_PAVGB512,
8686         IX86_BUILTIN_PAVGW512, IX86_BUILTIN_PADDB512,
8687         IX86_BUILTIN_PSUBB512, IX86_BUILTIN_PSUBSB512,
8688         IX86_BUILTIN_PADDSB512, IX86_BUILTIN_PSUBUSB512,
8689         IX86_BUILTIN_PADDUSB512, IX86_BUILTIN_PSUBW512,
8690         IX86_BUILTIN_PADDW512, IX86_BUILTIN_PSUBSW512,
8691         IX86_BUILTIN_PADDSW512, IX86_BUILTIN_PSUBUSW512,
8692         IX86_BUILTIN_PADDUSW512, IX86_BUILTIN_PMAXUW512,
8693         IX86_BUILTIN_PMAXSW512, IX86_BUILTIN_PMINUW512,
8694         IX86_BUILTIN_PMINSW512, IX86_BUILTIN_PMAXUB512,
8695         IX86_BUILTIN_PMAXSB512, IX86_BUILTIN_PMINUB512,
8696         IX86_BUILTIN_PMINSB512, IX86_BUILTIN_PMOVWB512,
8697         IX86_BUILTIN_PMOVSWB512, IX86_BUILTIN_PMOVUSWB512,
8698         IX86_BUILTIN_PMULHRSW512_MASK, IX86_BUILTIN_PMULHUW512_MASK,
8699         IX86_BUILTIN_PMULHW512_MASK, IX86_BUILTIN_PMULLW512_MASK,
8700         IX86_BUILTIN_PSLLWI512_MASK, IX86_BUILTIN_PSLLW512_MASK,
8701         IX86_BUILTIN_PACKSSWB512, IX86_BUILTIN_PACKUSWB512,
8702         IX86_BUILTIN_PSRAVV32HI, IX86_BUILTIN_PMADDUBSW512_MASK,
8703         IX86_BUILTIN_PMADDWD512_MASK, IX86_BUILTIN_PSRLVV32HI,
8704         IX86_BUILTIN_PUNPCKHBW512, IX86_BUILTIN_PUNPCKHWD512,
8705         IX86_BUILTIN_PUNPCKLBW512, IX86_BUILTIN_PUNPCKLWD512,
8706         IX86_BUILTIN_PSHUFB512, IX86_BUILTIN_PSHUFHW512,
8707         IX86_BUILTIN_PSHUFLW512, IX86_BUILTIN_PSRAWI512,
8708         IX86_BUILTIN_PSRAW512, IX86_BUILTIN_PSRLWI512,
8709         IX86_BUILTIN_PSRLW512, IX86_BUILTIN_CVTB2MASK512,
8710         IX86_BUILTIN_CVTW2MASK512, IX86_BUILTIN_CVTMASK2B512,
8711         IX86_BUILTIN_CVTMASK2W512, IX86_BUILTIN_PCMPEQB512_MASK,
8712         IX86_BUILTIN_PCMPEQW512_MASK, IX86_BUILTIN_PCMPGTB512_MASK,
8713         IX86_BUILTIN_PCMPGTW512_MASK, IX86_BUILTIN_PTESTMB512,
8714         IX86_BUILTIN_PTESTMW512, IX86_BUILTIN_PTESTNMB512,
8715         IX86_BUILTIN_PTESTNMW512, IX86_BUILTIN_PSLLVV32HI,
8716         IX86_BUILTIN_PABSB512, IX86_BUILTIN_PABSW512,
8717         IX86_BUILTIN_BLENDMW512, IX86_BUILTIN_BLENDMB512,
8718         IX86_BUILTIN_CMPB512, IX86_BUILTIN_CMPW512,
8719         IX86_BUILTIN_UCMPB512, IX86_BUILTIN_UCMPW512.
8720         (bdesc_special_args):
8721         Add __builtin_ia32_loaddquhi512_mask, __builtin_ia32_loaddquqi512_mask,
8722         __builtin_ia32_storedquhi512_mask, __builtin_ia32_storedquqi512_mask,
8723         __builtin_ia32_loaddquhi256_mask, __builtin_ia32_loaddquhi128_mask,
8724         __builtin_ia32_loaddquqi256_mask, __builtin_ia32_loaddquqi128_mask,
8725         __builtin_ia32_movdqa64load256_mask, __builtin_ia32_movdqa64load128_mask,
8726         __builtin_ia32_movdqa32load256_mask, __builtin_ia32_movdqa32load128_mask,
8727         __builtin_ia32_movdqa64store256_mask, __builtin_ia32_movdqa64store128_mask,
8728         __builtin_ia32_movdqa32store256_mask, __builtin_ia32_movdqa32store128_mask,
8729         __builtin_ia32_loadapd256_mask, __builtin_ia32_loadapd128_mask,
8730         __builtin_ia32_loadaps256_mask, __builtin_ia32_loadaps128_mask,
8731         __builtin_ia32_storeapd256_mask, __builtin_ia32_storeapd128_mask,
8732         __builtin_ia32_storeaps256_mask, __builtin_ia32_storeaps128_mask,
8733         __builtin_ia32_loadupd256_mask, __builtin_ia32_loadupd128_mask,
8734         __builtin_ia32_loadups256_mask, __builtin_ia32_loadups128_mask,
8735         __builtin_ia32_storeupd256_mask, __builtin_ia32_storeupd128_mask,
8736         __builtin_ia32_storeups256_mask, __builtin_ia32_storeups128_mask,
8737         __builtin_ia32_loaddqudi256_mask, __builtin_ia32_loaddqudi128_mask,
8738         __builtin_ia32_loaddqusi256_mask, __builtin_ia32_loaddqusi128_mask,
8739         __builtin_ia32_storedqudi256_mask, __builtin_ia32_storedqudi128_mask,
8740         __builtin_ia32_storedqusi256_mask, __builtin_ia32_storedqusi128_mask,
8741         __builtin_ia32_storedquhi256_mask, __builtin_ia32_storedquhi128_mask,
8742         __builtin_ia32_storedquqi256_mask, __builtin_ia32_storedquqi128_mask,
8743         __builtin_ia32_compressstoredf256_mask, __builtin_ia32_compressstoredf128_mask,
8744         __builtin_ia32_compressstoresf256_mask, __builtin_ia32_compressstoresf128_mask,
8745         __builtin_ia32_compressstoredi256_mask, __builtin_ia32_compressstoredi128_mask,
8746         __builtin_ia32_compressstoresi256_mask, __builtin_ia32_compressstoresi128_mask,
8747         __builtin_ia32_expandloaddf256_mask, __builtin_ia32_expandloaddf128_mask,
8748         __builtin_ia32_expandloadsf256_mask, __builtin_ia32_expandloadsf128_mask,
8749         __builtin_ia32_expandloaddi256_mask, __builtin_ia32_expandloaddi128_mask,
8750         __builtin_ia32_expandloadsi256_mask, __builtin_ia32_expandloadsi128_mask,
8751         __builtin_ia32_expandloaddf256_maskz, __builtin_ia32_expandloaddf128_maskz,
8752         __builtin_ia32_expandloadsf256_maskz, __builtin_ia32_expandloadsf128_maskz,
8753         __builtin_ia32_expandloaddi256_maskz, __builtin_ia32_expandloaddi128_maskz,
8754         __builtin_ia32_expandloadsi256_maskz, __builtin_ia32_expandloadsi128_maskz,
8755         __builtin_ia32_pmovqd256mem_mask, __builtin_ia32_pmovqd128mem_mask,
8756         __builtin_ia32_pmovsqd256mem_mask, __builtin_ia32_pmovsqd128mem_mask,
8757         __builtin_ia32_pmovusqd256mem_mask, __builtin_ia32_pmovusqd128mem_mask,
8758         __builtin_ia32_pmovqw256mem_mask, __builtin_ia32_pmovqw128mem_mask,
8759         __builtin_ia32_pmovsqw256mem_mask, __builtin_ia32_pmovsqw128mem_mask,
8760         __builtin_ia32_pmovusqw256mem_mask, __builtin_ia32_pmovusqw128mem_mask,
8761         __builtin_ia32_pmovqb256mem_mask, __builtin_ia32_pmovqb128mem_mask,
8762         __builtin_ia32_pmovsqb256mem_mask, __builtin_ia32_pmovsqb128mem_mask,
8763         __builtin_ia32_pmovusqb256mem_mask, __builtin_ia32_pmovusqb128mem_mask,
8764         __builtin_ia32_pmovdb256mem_mask, __builtin_ia32_pmovdb128mem_mask,
8765         __builtin_ia32_pmovsdb256mem_mask, __builtin_ia32_pmovsdb128mem_mask,
8766         __builtin_ia32_pmovusdb256mem_mask, __builtin_ia32_pmovusdb128mem_mask,
8767         __builtin_ia32_pmovdw256mem_mask, __builtin_ia32_pmovdw128mem_mask,
8768         __builtin_ia32_pmovsdw256mem_mask, __builtin_ia32_pmovsdw128mem_mask,
8769         __builtin_ia32_pmovusdw256mem_mask, __builtin_ia32_pmovusdw128mem_mask,
8770         __builtin_ia32_palignr256_mask, __builtin_ia32_palignr128_mask,
8771         __builtin_ia32_movdqa64_256_mask, __builtin_ia32_movdqa64_128_mask,
8772         __builtin_ia32_movdqa32_256_mask, __builtin_ia32_movdqa32_128_mask,
8773         __builtin_ia32_movapd256_mask, __builtin_ia32_movapd128_mask,
8774         __builtin_ia32_movaps256_mask, __builtin_ia32_movaps128_mask,
8775         __builtin_ia32_movdquhi256_mask, __builtin_ia32_movdquhi128_mask,
8776         __builtin_ia32_movdquqi256_mask, __builtin_ia32_movdquqi128_mask,
8777         __builtin_ia32_minps_mask, __builtin_ia32_maxps_mask,
8778         __builtin_ia32_minpd_mask, __builtin_ia32_maxpd_mask,
8779         __builtin_ia32_maxpd256_mask, __builtin_ia32_maxps256_mask,
8780         __builtin_ia32_minpd256_mask, __builtin_ia32_minps256_mask,
8781         __builtin_ia32_mulps_mask, __builtin_ia32_divps_mask,
8782         __builtin_ia32_mulpd_mask, __builtin_ia32_divpd_mask,
8783         __builtin_ia32_divpd256_mask, __builtin_ia32_divps256_mask,
8784         __builtin_ia32_mulpd256_mask, __builtin_ia32_mulps256_mask,
8785         __builtin_ia32_addpd128_mask, __builtin_ia32_addpd256_mask,
8786         __builtin_ia32_addps128_mask, __builtin_ia32_addps256_mask,
8787         __builtin_ia32_subpd128_mask, __builtin_ia32_subpd256_mask,
8788         __builtin_ia32_subps128_mask, __builtin_ia32_subps256_mask,
8789         __builtin_ia32_xorpd256_mask, __builtin_ia32_xorpd128_mask,
8790         __builtin_ia32_xorps256_mask, __builtin_ia32_xorps128_mask,
8791         __builtin_ia32_orpd256_mask, __builtin_ia32_orpd128_mask,
8792         __builtin_ia32_orps256_mask, __builtin_ia32_orps128_mask,
8793         __builtin_ia32_broadcastf32x2_256_mask, __builtin_ia32_broadcasti32x2_256_mask,
8794         __builtin_ia32_broadcasti32x2_128_mask, __builtin_ia32_broadcastf64x2_256_mask,
8795         __builtin_ia32_broadcasti64x2_256_mask, __builtin_ia32_broadcastf32x4_256_mask,
8796         __builtin_ia32_broadcasti32x4_256_mask, __builtin_ia32_extractf32x4_256_mask,
8797         __builtin_ia32_extracti32x4_256_mask, __builtin_ia32_dbpsadbw256_mask,
8798         __builtin_ia32_dbpsadbw128_mask, __builtin_ia32_cvttpd2qq256_mask,
8799         __builtin_ia32_cvttpd2qq128_mask, __builtin_ia32_cvttpd2uqq256_mask,
8800         __builtin_ia32_cvttpd2uqq128_mask, __builtin_ia32_cvtpd2qq256_mask,
8801         __builtin_ia32_cvtpd2qq128_mask, __builtin_ia32_cvtpd2uqq256_mask,
8802         __builtin_ia32_cvtpd2uqq128_mask, __builtin_ia32_cvtpd2udq256_mask,
8803         __builtin_ia32_cvtpd2udq128_mask, __builtin_ia32_cvttps2qq256_mask,
8804         __builtin_ia32_cvttps2qq128_mask, __builtin_ia32_cvttps2uqq256_mask,
8805         __builtin_ia32_cvttps2uqq128_mask, __builtin_ia32_cvttps2dq256_mask,
8806         __builtin_ia32_cvttps2dq128_mask, __builtin_ia32_cvttps2udq256_mask,
8807         __builtin_ia32_cvttps2udq128_mask, __builtin_ia32_cvttpd2dq256_mask,
8808         __builtin_ia32_cvttpd2dq128_mask, __builtin_ia32_cvttpd2udq256_mask,
8809         __builtin_ia32_cvttpd2udq128_mask, __builtin_ia32_cvtpd2dq256_mask,
8810         __builtin_ia32_cvtpd2dq128_mask, __builtin_ia32_cvtdq2pd256_mask,
8811         __builtin_ia32_cvtdq2pd128_mask, __builtin_ia32_cvtudq2pd256_mask,
8812         __builtin_ia32_cvtudq2pd128_mask, __builtin_ia32_cvtdq2ps256_mask,
8813         __builtin_ia32_cvtdq2ps128_mask, __builtin_ia32_cvtudq2ps256_mask,
8814         __builtin_ia32_cvtudq2ps128_mask, __builtin_ia32_cvtps2pd256_mask,
8815         __builtin_ia32_cvtps2pd128_mask, __builtin_ia32_pbroadcastb256_mask,
8816         __builtin_ia32_pbroadcastb256_gpr_mask, __builtin_ia32_pbroadcastb128_mask,
8817         __builtin_ia32_pbroadcastb128_gpr_mask, __builtin_ia32_pbroadcastw256_mask,
8818         __builtin_ia32_pbroadcastw256_gpr_mask, __builtin_ia32_pbroadcastw128_mask,
8819         __builtin_ia32_pbroadcastw128_gpr_mask, __builtin_ia32_pbroadcastd256_mask,
8820         __builtin_ia32_pbroadcastd256_gpr_mask, __builtin_ia32_pbroadcastd128_mask,
8821         __builtin_ia32_pbroadcastd128_gpr_mask, __builtin_ia32_pbroadcastq256_mask,
8822         __builtin_ia32_pbroadcastq256_gpr_mask, __builtin_ia32_pbroadcastq256_mem_mask,
8823         __builtin_ia32_pbroadcastq128_mask, __builtin_ia32_pbroadcastq128_gpr_mask,
8824         __builtin_ia32_pbroadcastq128_mem_mask, __builtin_ia32_broadcastss256_mask,
8825         __builtin_ia32_broadcastss128_mask, __builtin_ia32_broadcastsd256_mask,
8826         __builtin_ia32_extractf64x2_256_mask, __builtin_ia32_extracti64x2_256_mask,
8827         __builtin_ia32_insertf32x4_256_mask, __builtin_ia32_inserti32x4_256_mask,
8828         __builtin_ia32_pmovsxbw256_mask, __builtin_ia32_pmovsxbw128_mask,
8829         __builtin_ia32_pmovsxbd256_mask, __builtin_ia32_pmovsxbd128_mask,
8830         __builtin_ia32_pmovsxbq256_mask, __builtin_ia32_pmovsxbq128_mask,
8831         __builtin_ia32_pmovsxwd256_mask, __builtin_ia32_pmovsxwd128_mask,
8832         __builtin_ia32_pmovsxwq256_mask, __builtin_ia32_pmovsxwq128_mask,
8833         __builtin_ia32_pmovsxdq256_mask, __builtin_ia32_pmovsxdq128_mask,
8834         __builtin_ia32_pmovzxbw256_mask, __builtin_ia32_pmovzxbw128_mask,
8835         __builtin_ia32_pmovzxbd256_mask, __builtin_ia32_pmovzxbd128_mask,
8836         __builtin_ia32_pmovzxbq256_mask, __builtin_ia32_pmovzxbq128_mask,
8837         __builtin_ia32_pmovzxwd256_mask, __builtin_ia32_pmovzxwd128_mask,
8838         __builtin_ia32_pmovzxwq256_mask, __builtin_ia32_pmovzxwq128_mask,
8839         __builtin_ia32_pmovzxdq256_mask, __builtin_ia32_pmovzxdq128_mask,
8840         __builtin_ia32_reducepd256_mask, __builtin_ia32_reducepd128_mask,
8841         __builtin_ia32_reduceps256_mask, __builtin_ia32_reduceps128_mask,
8842         __builtin_ia32_reducesd, __builtin_ia32_reducess,
8843         __builtin_ia32_permvarhi256_mask, __builtin_ia32_permvarhi128_mask,
8844         __builtin_ia32_vpermt2varhi256_mask, __builtin_ia32_vpermt2varhi256_maskz,
8845         __builtin_ia32_vpermt2varhi128_mask, __builtin_ia32_vpermt2varhi128_maskz,
8846         __builtin_ia32_vpermi2varhi256_mask, __builtin_ia32_vpermi2varhi128_mask,
8847         __builtin_ia32_rcp14pd256_mask, __builtin_ia32_rcp14pd128_mask,
8848         __builtin_ia32_rcp14ps256_mask, __builtin_ia32_rcp14ps128_mask,
8849         __builtin_ia32_rsqrt14pd256_mask, __builtin_ia32_rsqrt14pd128_mask,
8850         __builtin_ia32_rsqrt14ps256_mask, __builtin_ia32_rsqrt14ps128_mask,
8851         __builtin_ia32_sqrtpd256_mask, __builtin_ia32_sqrtpd128_mask,
8852         __builtin_ia32_sqrtps256_mask, __builtin_ia32_sqrtps128_mask,
8853         __builtin_ia32_paddb128_mask, __builtin_ia32_paddw128_mask,
8854         __builtin_ia32_paddd128_mask, __builtin_ia32_paddq128_mask,
8855         __builtin_ia32_psubb128_mask, __builtin_ia32_psubw128_mask,
8856         __builtin_ia32_psubd128_mask, __builtin_ia32_psubq128_mask,
8857         __builtin_ia32_paddsb128_mask, __builtin_ia32_paddsw128_mask,
8858         __builtin_ia32_psubsb128_mask, __builtin_ia32_psubsw128_mask,
8859         __builtin_ia32_paddusb128_mask, __builtin_ia32_paddusw128_mask,
8860         __builtin_ia32_psubusb128_mask, __builtin_ia32_psubusw128_mask,
8861         __builtin_ia32_paddb256_mask, __builtin_ia32_paddw256_mask,
8862         __builtin_ia32_paddd256_mask, __builtin_ia32_paddq256_mask,
8863         __builtin_ia32_paddsb256_mask, __builtin_ia32_paddsw256_mask,
8864         __builtin_ia32_paddusb256_mask, __builtin_ia32_paddusw256_mask,
8865         __builtin_ia32_psubb256_mask, __builtin_ia32_psubw256_mask,
8866         __builtin_ia32_psubd256_mask, __builtin_ia32_psubq256_mask,
8867         __builtin_ia32_psubsb256_mask, __builtin_ia32_psubsw256_mask,
8868         __builtin_ia32_psubusb256_mask, __builtin_ia32_psubusw256_mask,
8869         __builtin_ia32_shuf_f64x2_256_mask, __builtin_ia32_shuf_i64x2_256_mask,
8870         __builtin_ia32_shuf_i32x4_256_mask, __builtin_ia32_shuf_f32x4_256_mask,
8871         __builtin_ia32_pmovwb128_mask, __builtin_ia32_pmovwb256_mask,
8872         __builtin_ia32_pmovswb128_mask, __builtin_ia32_pmovswb256_mask,
8873         __builtin_ia32_pmovuswb128_mask, __builtin_ia32_pmovuswb256_mask,
8874         __builtin_ia32_pmovdb128_mask, __builtin_ia32_pmovdb256_mask,
8875         __builtin_ia32_pmovsdb128_mask, __builtin_ia32_pmovsdb256_mask,
8876         __builtin_ia32_pmovusdb128_mask, __builtin_ia32_pmovusdb256_mask,
8877         __builtin_ia32_pmovdw128_mask, __builtin_ia32_pmovdw256_mask,
8878         __builtin_ia32_pmovsdw128_mask, __builtin_ia32_pmovsdw256_mask,
8879         __builtin_ia32_pmovusdw128_mask, __builtin_ia32_pmovusdw256_mask,
8880         __builtin_ia32_pmovqb128_mask, __builtin_ia32_pmovqb256_mask,
8881         __builtin_ia32_pmovsqb128_mask, __builtin_ia32_pmovsqb256_mask,
8882         __builtin_ia32_pmovusqb128_mask, __builtin_ia32_pmovusqb256_mask,
8883         __builtin_ia32_pmovqw128_mask, __builtin_ia32_pmovqw256_mask,
8884         __builtin_ia32_pmovsqw128_mask, __builtin_ia32_pmovsqw256_mask,
8885         __builtin_ia32_pmovusqw128_mask, __builtin_ia32_pmovusqw256_mask,
8886         __builtin_ia32_pmovqd128_mask, __builtin_ia32_pmovqd256_mask,
8887         __builtin_ia32_pmovsqd128_mask, __builtin_ia32_pmovsqd256_mask,
8888         __builtin_ia32_pmovusqd128_mask, __builtin_ia32_pmovusqd256_mask,
8889         __builtin_ia32_rangepd256_mask, __builtin_ia32_rangepd128_mask,
8890         __builtin_ia32_rangeps256_mask, __builtin_ia32_rangeps128_mask,
8891         __builtin_ia32_getexpps256_mask, __builtin_ia32_getexppd256_mask,
8892         __builtin_ia32_getexpps128_mask, __builtin_ia32_getexppd128_mask,
8893         __builtin_ia32_fixupimmpd256, __builtin_ia32_fixupimmpd256_mask,
8894         __builtin_ia32_fixupimmpd256_maskz, __builtin_ia32_fixupimmps256,
8895         __builtin_ia32_fixupimmps256_mask, __builtin_ia32_fixupimmps256_maskz,
8896         __builtin_ia32_fixupimmpd128, __builtin_ia32_fixupimmpd128_mask,
8897         __builtin_ia32_fixupimmpd128_maskz, __builtin_ia32_fixupimmps128,
8898         __builtin_ia32_fixupimmps128_mask, __builtin_ia32_fixupimmps128_maskz,
8899         __builtin_ia32_pabsq256_mask, __builtin_ia32_pabsq128_mask,
8900         __builtin_ia32_pabsd256_mask, __builtin_ia32_pabsd128_mask,
8901         __builtin_ia32_pmulhrsw256_mask, __builtin_ia32_pmulhrsw128_mask,
8902         __builtin_ia32_pmulhuw128_mask, __builtin_ia32_pmulhuw256_mask,
8903         __builtin_ia32_pmulhw256_mask, __builtin_ia32_pmulhw128_mask,
8904         __builtin_ia32_pmullw256_mask, __builtin_ia32_pmullw128_mask,
8905         __builtin_ia32_pmullq256_mask, __builtin_ia32_pmullq128_mask,
8906         __builtin_ia32_andpd256_mask, __builtin_ia32_andpd128_mask,
8907         __builtin_ia32_andps256_mask, __builtin_ia32_andps128_mask,
8908         __builtin_ia32_andnpd256_mask, __builtin_ia32_andnpd128_mask,
8909         __builtin_ia32_andnps256_mask, __builtin_ia32_andnps128_mask,
8910         __builtin_ia32_psllwi128_mask, __builtin_ia32_pslldi128_mask,
8911         __builtin_ia32_psllqi128_mask, __builtin_ia32_psllw128_mask,
8912         __builtin_ia32_pslld128_mask, __builtin_ia32_psllq128_mask,
8913         __builtin_ia32_psllwi256_mask, __builtin_ia32_psllw256_mask,
8914         __builtin_ia32_pslldi256_mask, __builtin_ia32_pslld256_mask,
8915         __builtin_ia32_psllqi256_mask, __builtin_ia32_psllq256_mask,
8916         __builtin_ia32_psradi128_mask, __builtin_ia32_psrad128_mask,
8917         __builtin_ia32_psradi256_mask, __builtin_ia32_psrad256_mask,
8918         __builtin_ia32_psraqi128_mask, __builtin_ia32_psraq128_mask,
8919         __builtin_ia32_psraqi256_mask, __builtin_ia32_psraq256_mask,
8920         __builtin_ia32_pandd256_mask, __builtin_ia32_pandd128_mask,
8921         __builtin_ia32_psrldi128_mask, __builtin_ia32_psrld128_mask,
8922         __builtin_ia32_psrldi256_mask, __builtin_ia32_psrld256_mask,
8923         __builtin_ia32_psrlqi128_mask, __builtin_ia32_psrlq128_mask,
8924         __builtin_ia32_psrlqi256_mask, __builtin_ia32_psrlq256_mask,
8925         __builtin_ia32_pandq256_mask, __builtin_ia32_pandq128_mask,
8926         __builtin_ia32_pandnd256_mask, __builtin_ia32_pandnd128_mask,
8927         __builtin_ia32_pandnq256_mask, __builtin_ia32_pandnq128_mask,
8928         __builtin_ia32_pord256_mask, __builtin_ia32_pord128_mask,
8929         __builtin_ia32_porq256_mask, __builtin_ia32_porq128_mask,
8930         __builtin_ia32_pxord256_mask, __builtin_ia32_pxord128_mask,
8931         __builtin_ia32_pxorq256_mask, __builtin_ia32_pxorq128_mask,
8932         __builtin_ia32_packsswb256_mask, __builtin_ia32_packsswb128_mask,
8933         __builtin_ia32_packuswb256_mask, __builtin_ia32_packuswb128_mask,
8934         __builtin_ia32_rndscaleps_256_mask, __builtin_ia32_rndscalepd_256_mask,
8935         __builtin_ia32_rndscaleps_128_mask, __builtin_ia32_rndscalepd_128_mask,
8936         __builtin_ia32_pternlogq256_mask, __builtin_ia32_pternlogq256_maskz,
8937         __builtin_ia32_pternlogd256_mask, __builtin_ia32_pternlogd256_maskz,
8938         __builtin_ia32_pternlogq128_mask, __builtin_ia32_pternlogq128_maskz,
8939         __builtin_ia32_pternlogd128_mask, __builtin_ia32_pternlogd128_maskz,
8940         __builtin_ia32_scalefpd256_mask, __builtin_ia32_scalefps256_mask,
8941         __builtin_ia32_scalefpd128_mask, __builtin_ia32_scalefps128_mask,
8942         __builtin_ia32_vfmaddpd256_mask, __builtin_ia32_vfmaddpd256_mask3,
8943         __builtin_ia32_vfmaddpd256_maskz, __builtin_ia32_vfmaddpd128_mask,
8944         __builtin_ia32_vfmaddpd128_mask3, __builtin_ia32_vfmaddpd128_maskz,
8945         __builtin_ia32_vfmaddps256_mask, __builtin_ia32_vfmaddps256_mask3,
8946         __builtin_ia32_vfmaddps256_maskz, __builtin_ia32_vfmaddps128_mask,
8947         __builtin_ia32_vfmaddps128_mask3, __builtin_ia32_vfmaddps128_maskz,
8948         __builtin_ia32_vfmsubpd256_mask3, __builtin_ia32_vfmsubpd128_mask3,
8949         __builtin_ia32_vfmsubps256_mask3, __builtin_ia32_vfmsubps128_mask3,
8950         __builtin_ia32_vfnmaddpd256_mask, __builtin_ia32_vfnmaddpd128_mask,
8951         __builtin_ia32_vfnmaddps256_mask, __builtin_ia32_vfnmaddps128_mask,
8952         __builtin_ia32_vfnmsubpd256_mask, __builtin_ia32_vfnmsubpd256_mask3,
8953         __builtin_ia32_vfnmsubpd128_mask, __builtin_ia32_vfnmsubpd128_mask3,
8954         __builtin_ia32_vfnmsubps256_mask, __builtin_ia32_vfnmsubps256_mask3,
8955         __builtin_ia32_vfnmsubps128_mask, __builtin_ia32_vfnmsubps128_mask3,
8956         __builtin_ia32_vfmaddsubpd256_mask, __builtin_ia32_vfmaddsubpd256_mask3,
8957         __builtin_ia32_vfmaddsubpd256_maskz, __builtin_ia32_vfmaddsubpd128_mask,
8958         __builtin_ia32_vfmaddsubpd128_mask3, __builtin_ia32_vfmaddsubpd128_maskz,
8959         __builtin_ia32_vfmaddsubps256_mask, __builtin_ia32_vfmaddsubps256_mask3,
8960         __builtin_ia32_vfmaddsubps256_maskz, __builtin_ia32_vfmaddsubps128_mask,
8961         __builtin_ia32_vfmaddsubps128_mask3, __builtin_ia32_vfmaddsubps128_maskz,
8962         __builtin_ia32_vfmsubaddpd256_mask3, __builtin_ia32_vfmsubaddpd128_mask3,
8963         __builtin_ia32_vfmsubaddps256_mask3, __builtin_ia32_vfmsubaddps128_mask3,
8964         __builtin_ia32_insertf64x2_256_mask, __builtin_ia32_inserti64x2_256_mask,
8965         __builtin_ia32_psrav16hi_mask, __builtin_ia32_psrav8hi_mask,
8966         __builtin_ia32_pmaddubsw256_mask, __builtin_ia32_pmaddubsw128_mask,
8967         __builtin_ia32_pmaddwd256_mask, __builtin_ia32_pmaddwd128_mask,
8968         __builtin_ia32_psrlv16hi_mask, __builtin_ia32_psrlv8hi_mask,
8969         __builtin_ia32_cvtps2dq256_mask, __builtin_ia32_cvtps2dq128_mask,
8970         __builtin_ia32_cvtps2udq256_mask, __builtin_ia32_cvtps2udq128_mask,
8971         __builtin_ia32_cvtps2qq256_mask, __builtin_ia32_cvtps2qq128_mask,
8972         __builtin_ia32_cvtps2uqq256_mask, __builtin_ia32_cvtps2uqq128_mask,
8973         __builtin_ia32_getmantps256_mask, __builtin_ia32_getmantps128_mask,
8974         __builtin_ia32_getmantpd256_mask, __builtin_ia32_getmantpd128_mask,
8975         __builtin_ia32_movddup256_mask, __builtin_ia32_movddup128_mask,
8976         __builtin_ia32_movshdup256_mask, __builtin_ia32_movshdup128_mask,
8977         __builtin_ia32_movsldup256_mask, __builtin_ia32_movsldup128_mask,
8978         __builtin_ia32_cvtqq2ps256_mask, __builtin_ia32_cvtqq2ps128_mask,
8979         __builtin_ia32_cvtuqq2ps256_mask, __builtin_ia32_cvtuqq2ps128_mask,
8980         __builtin_ia32_cvtqq2pd256_mask, __builtin_ia32_cvtqq2pd128_mask,
8981         __builtin_ia32_cvtuqq2pd256_mask, __builtin_ia32_cvtuqq2pd128_mask,
8982         __builtin_ia32_vpermt2varq256_mask, __builtin_ia32_vpermt2varq256_maskz,
8983         __builtin_ia32_vpermt2vard256_mask, __builtin_ia32_vpermt2vard256_maskz,
8984         __builtin_ia32_vpermi2varq256_mask, __builtin_ia32_vpermi2vard256_mask,
8985         __builtin_ia32_vpermt2varpd256_mask, __builtin_ia32_vpermt2varpd256_maskz,
8986         __builtin_ia32_vpermt2varps256_mask, __builtin_ia32_vpermt2varps256_maskz,
8987         __builtin_ia32_vpermi2varpd256_mask, __builtin_ia32_vpermi2varps256_mask,
8988         __builtin_ia32_vpermt2varq128_mask, __builtin_ia32_vpermt2varq128_maskz,
8989         __builtin_ia32_vpermt2vard128_mask, __builtin_ia32_vpermt2vard128_maskz,
8990         __builtin_ia32_vpermi2varq128_mask, __builtin_ia32_vpermi2vard128_mask,
8991         __builtin_ia32_vpermt2varpd128_mask, __builtin_ia32_vpermt2varpd128_maskz,
8992         __builtin_ia32_vpermt2varps128_mask, __builtin_ia32_vpermt2varps128_maskz,
8993         __builtin_ia32_vpermi2varpd128_mask, __builtin_ia32_vpermi2varps128_mask,
8994         __builtin_ia32_pshufb256_mask, __builtin_ia32_pshufb128_mask,
8995         __builtin_ia32_pshufhw256_mask, __builtin_ia32_pshufhw128_mask,
8996         __builtin_ia32_pshuflw256_mask, __builtin_ia32_pshuflw128_mask,
8997         __builtin_ia32_pshufd256_mask, __builtin_ia32_pshufd128_mask,
8998         __builtin_ia32_shufpd256_mask, __builtin_ia32_shufpd128_mask,
8999         __builtin_ia32_shufps256_mask, __builtin_ia32_shufps128_mask,
9000         __builtin_ia32_prolvq256_mask, __builtin_ia32_prolvq128_mask,
9001         __builtin_ia32_prolq256_mask, __builtin_ia32_prolq128_mask,
9002         __builtin_ia32_prorvq256_mask, __builtin_ia32_prorvq128_mask,
9003         __builtin_ia32_prorq256_mask, __builtin_ia32_prorq128_mask,
9004         __builtin_ia32_psravq128_mask, __builtin_ia32_psravq256_mask,
9005         __builtin_ia32_psllv4di_mask, __builtin_ia32_psllv2di_mask,
9006         __builtin_ia32_psllv8si_mask, __builtin_ia32_psllv4si_mask,
9007         __builtin_ia32_psrav8si_mask, __builtin_ia32_psrav4si_mask,
9008         __builtin_ia32_psrlv4di_mask, __builtin_ia32_psrlv2di_mask,
9009         __builtin_ia32_psrlv8si_mask, __builtin_ia32_psrlv4si_mask,
9010         __builtin_ia32_psrawi256_mask, __builtin_ia32_psraw256_mask,
9011         __builtin_ia32_psrawi128_mask, __builtin_ia32_psraw128_mask,
9012         __builtin_ia32_psrlwi256_mask, __builtin_ia32_psrlw256_mask,
9013         __builtin_ia32_psrlwi128_mask, __builtin_ia32_psrlw128_mask,
9014         __builtin_ia32_prorvd256_mask, __builtin_ia32_prolvd256_mask,
9015         __builtin_ia32_prord256_mask, __builtin_ia32_prold256_mask,
9016         __builtin_ia32_prorvd128_mask, __builtin_ia32_prolvd128_mask,
9017         __builtin_ia32_prord128_mask, __builtin_ia32_prold128_mask,
9018         __builtin_ia32_fpclasspd256_mask, __builtin_ia32_fpclasspd128_mask,
9019         __builtin_ia32_fpclasssd, __builtin_ia32_fpclassps256_mask,
9020         __builtin_ia32_fpclassps128_mask, __builtin_ia32_fpclassss,
9021         __builtin_ia32_cvtb2mask128, __builtin_ia32_cvtb2mask256,
9022         __builtin_ia32_cvtw2mask128, __builtin_ia32_cvtw2mask256,
9023         __builtin_ia32_cvtd2mask128, __builtin_ia32_cvtd2mask256,
9024         __builtin_ia32_cvtq2mask128, __builtin_ia32_cvtq2mask256,
9025         __builtin_ia32_cvtmask2b128, __builtin_ia32_cvtmask2b256,
9026         __builtin_ia32_cvtmask2w128, __builtin_ia32_cvtmask2w256,
9027         __builtin_ia32_cvtmask2d128, __builtin_ia32_cvtmask2d256,
9028         __builtin_ia32_cvtmask2q128, __builtin_ia32_cvtmask2q256,
9029         __builtin_ia32_pcmpeqb128_mask, __builtin_ia32_pcmpeqb256_mask,
9030         __builtin_ia32_pcmpeqw128_mask, __builtin_ia32_pcmpeqw256_mask,
9031         __builtin_ia32_pcmpeqd128_mask, __builtin_ia32_pcmpeqd256_mask,
9032         __builtin_ia32_pcmpeqq128_mask, __builtin_ia32_pcmpeqq256_mask,
9033         __builtin_ia32_pcmpgtb128_mask, __builtin_ia32_pcmpgtb256_mask,
9034         __builtin_ia32_pcmpgtw128_mask, __builtin_ia32_pcmpgtw256_mask,
9035         __builtin_ia32_pcmpgtd128_mask, __builtin_ia32_pcmpgtd256_mask,
9036         __builtin_ia32_pcmpgtq128_mask, __builtin_ia32_pcmpgtq256_mask,
9037         __builtin_ia32_ptestmb128, __builtin_ia32_ptestmb256,
9038         __builtin_ia32_ptestmw128, __builtin_ia32_ptestmw256,
9039         __builtin_ia32_ptestmd128, __builtin_ia32_ptestmd256,
9040         __builtin_ia32_ptestmq128, __builtin_ia32_ptestmq256,
9041         __builtin_ia32_ptestnmb128, __builtin_ia32_ptestnmb256,
9042         __builtin_ia32_ptestnmw128, __builtin_ia32_ptestnmw256,
9043         __builtin_ia32_ptestnmd128, __builtin_ia32_ptestnmd256,
9044         __builtin_ia32_ptestnmq128, __builtin_ia32_ptestnmq256,
9045         __builtin_ia32_broadcastmb128, __builtin_ia32_broadcastmb256,
9046         __builtin_ia32_broadcastmw128, __builtin_ia32_broadcastmw256,
9047         __builtin_ia32_compressdf256_mask, __builtin_ia32_compressdf128_mask,
9048         __builtin_ia32_compresssf256_mask, __builtin_ia32_compresssf128_mask,
9049         __builtin_ia32_compressdi256_mask, __builtin_ia32_compressdi128_mask,
9050         __builtin_ia32_compresssi256_mask, __builtin_ia32_compresssi128_mask,
9051         __builtin_ia32_expanddf256_mask, __builtin_ia32_expanddf128_mask,
9052         __builtin_ia32_expandsf256_mask, __builtin_ia32_expandsf128_mask,
9053         __builtin_ia32_expanddi256_mask, __builtin_ia32_expanddi128_mask,
9054         __builtin_ia32_expandsi256_mask, __builtin_ia32_expandsi128_mask,
9055         __builtin_ia32_expanddf256_maskz, __builtin_ia32_expanddf128_maskz,
9056         __builtin_ia32_expandsf256_maskz, __builtin_ia32_expandsf128_maskz,
9057         __builtin_ia32_expanddi256_maskz, __builtin_ia32_expanddi128_maskz,
9058         __builtin_ia32_expandsi256_maskz, __builtin_ia32_expandsi128_maskz,
9059         __builtin_ia32_pmaxsd256_mask, __builtin_ia32_pminsd256_mask,
9060         __builtin_ia32_pmaxud256_mask, __builtin_ia32_pminud256_mask,
9061         __builtin_ia32_pmaxsd128_mask, __builtin_ia32_pminsd128_mask,
9062         __builtin_ia32_pmaxud128_mask, __builtin_ia32_pminud128_mask,
9063         __builtin_ia32_pmaxsq256_mask, __builtin_ia32_pminsq256_mask,
9064         __builtin_ia32_pmaxuq256_mask, __builtin_ia32_pminuq256_mask,
9065         __builtin_ia32_pmaxsq128_mask, __builtin_ia32_pminsq128_mask,
9066         __builtin_ia32_pmaxuq128_mask, __builtin_ia32_pminuq128_mask,
9067         __builtin_ia32_pminsb256_mask, __builtin_ia32_pminub256_mask,
9068         __builtin_ia32_pmaxsb256_mask, __builtin_ia32_pmaxub256_mask,
9069         __builtin_ia32_pminsb128_mask, __builtin_ia32_pminub128_mask,
9070         __builtin_ia32_pmaxsb128_mask, __builtin_ia32_pmaxub128_mask,
9071         __builtin_ia32_pminsw256_mask, __builtin_ia32_pminuw256_mask,
9072         __builtin_ia32_pmaxsw256_mask, __builtin_ia32_pmaxuw256_mask,
9073         __builtin_ia32_pminsw128_mask, __builtin_ia32_pminuw128_mask,
9074         __builtin_ia32_pmaxsw128_mask, __builtin_ia32_pmaxuw128_mask,
9075         __builtin_ia32_vpconflictdi_256_mask, __builtin_ia32_vpconflictsi_256_mask,
9076         __builtin_ia32_vplzcntq_256_mask, __builtin_ia32_vplzcntd_256_mask,
9077         __builtin_ia32_unpckhpd256_mask, __builtin_ia32_unpckhpd128_mask,
9078         __builtin_ia32_unpckhps256_mask, __builtin_ia32_unpckhps128_mask,
9079         __builtin_ia32_unpcklpd256_mask, __builtin_ia32_unpcklpd128_mask,
9080         __builtin_ia32_unpcklps256_mask, __builtin_ia32_vpconflictdi_128_mask,
9081         __builtin_ia32_vpconflictsi_128_mask, __builtin_ia32_vplzcntq_128_mask,
9082         __builtin_ia32_vplzcntd_128_mask, __builtin_ia32_unpcklps128_mask,
9083         __builtin_ia32_alignd256_mask, __builtin_ia32_alignq256_mask,
9084         __builtin_ia32_alignd128_mask, __builtin_ia32_alignq128_mask,
9085         __builtin_ia32_vcvtps2ph256_mask, __builtin_ia32_vcvtps2ph_mask,
9086         __builtin_ia32_vcvtph2ps_mask, __builtin_ia32_vcvtph2ps256_mask,
9087         __builtin_ia32_punpckhdq128_mask, __builtin_ia32_punpckhdq256_mask,
9088         __builtin_ia32_punpckhqdq128_mask, __builtin_ia32_punpckhqdq256_mask,
9089         __builtin_ia32_punpckldq128_mask, __builtin_ia32_punpckldq256_mask,
9090         __builtin_ia32_punpcklqdq128_mask, __builtin_ia32_punpcklqdq256_mask,
9091         __builtin_ia32_punpckhbw128_mask, __builtin_ia32_punpckhbw256_mask,
9092         __builtin_ia32_punpckhwd128_mask, __builtin_ia32_punpckhwd256_mask,
9093         __builtin_ia32_punpcklbw128_mask, __builtin_ia32_punpcklbw256_mask,
9094         __builtin_ia32_punpcklwd128_mask, __builtin_ia32_punpcklwd256_mask,
9095         __builtin_ia32_psllv16hi_mask, __builtin_ia32_psllv8hi_mask,
9096         __builtin_ia32_packssdw256_mask, __builtin_ia32_packssdw128_mask,
9097         __builtin_ia32_packusdw256_mask, __builtin_ia32_packusdw128_mask,
9098         __builtin_ia32_pavgb256_mask, __builtin_ia32_pavgw256_mask,
9099         __builtin_ia32_pavgb128_mask, __builtin_ia32_pavgw128_mask,
9100         __builtin_ia32_permvarsf256_mask, __builtin_ia32_permvardf256_mask,
9101         __builtin_ia32_permdf256_mask, __builtin_ia32_pabsb256_mask,
9102         __builtin_ia32_pabsb128_mask, __builtin_ia32_pabsw256_mask,
9103         __builtin_ia32_pabsw128_mask, __builtin_ia32_vpermilvarpd_mask,
9104         __builtin_ia32_vpermilvarps_mask, __builtin_ia32_vpermilvarpd256_mask,
9105         __builtin_ia32_vpermilvarps256_mask, __builtin_ia32_vpermilpd_mask,
9106         __builtin_ia32_vpermilps_mask, __builtin_ia32_vpermilpd256_mask,
9107         __builtin_ia32_vpermilps256_mask, __builtin_ia32_blendmq_256_mask,
9108         __builtin_ia32_blendmd_256_mask, __builtin_ia32_blendmpd_256_mask,
9109         __builtin_ia32_blendmps_256_mask, __builtin_ia32_blendmq_128_mask,
9110         __builtin_ia32_blendmd_128_mask, __builtin_ia32_blendmpd_128_mask,
9111         __builtin_ia32_blendmps_128_mask, __builtin_ia32_blendmw_256_mask,
9112         __builtin_ia32_blendmb_256_mask, __builtin_ia32_blendmw_128_mask,
9113         __builtin_ia32_blendmb_128_mask, __builtin_ia32_pmulld256_mask,
9114         __builtin_ia32_pmulld128_mask, __builtin_ia32_pmuludq256_mask,
9115         __builtin_ia32_pmuldq256_mask, __builtin_ia32_pmuldq128_mask,
9116         __builtin_ia32_pmuludq128_mask, __builtin_ia32_cvtpd2ps256_mask,
9117         __builtin_ia32_cvtpd2ps_mask, __builtin_ia32_permvarsi256_mask,
9118         __builtin_ia32_permvardi256_mask, __builtin_ia32_permdi256_mask,
9119         __builtin_ia32_cmpq256_mask, __builtin_ia32_cmpd256_mask,
9120         __builtin_ia32_ucmpq256_mask, __builtin_ia32_ucmpd256_mask,
9121         __builtin_ia32_cmpb256_mask, __builtin_ia32_cmpw256_mask,
9122         __builtin_ia32_ucmpb256_mask, __builtin_ia32_ucmpw256_mask,
9123         __builtin_ia32_cmppd256_mask, __builtin_ia32_cmpps256_mask,
9124         __builtin_ia32_cmpq128_mask, __builtin_ia32_cmpd128_mask,
9125         __builtin_ia32_ucmpq128_mask, __builtin_ia32_ucmpd128_mask,
9126         __builtin_ia32_cmpb128_mask, __builtin_ia32_cmpw128_mask,
9127         __builtin_ia32_ucmpb128_mask, __builtin_ia32_ucmpw128_mask,
9128         __builtin_ia32_cmppd128_mask, __builtin_ia32_cmpps128_mask,
9129         __builtin_ia32_broadcastf32x2_512_mask, __builtin_ia32_broadcasti32x2_512_mask,
9130         __builtin_ia32_broadcastf64x2_512_mask, __builtin_ia32_broadcasti64x2_512_mask,
9131         __builtin_ia32_broadcastf32x8_512_mask, __builtin_ia32_broadcasti32x8_512_mask,
9132         __builtin_ia32_extractf64x2_512_mask, __builtin_ia32_extractf32x8_mask,
9133         __builtin_ia32_extracti64x2_512_mask, __builtin_ia32_extracti32x8_mask,
9134         __builtin_ia32_reducepd512_mask, __builtin_ia32_reduceps512_mask,
9135         __builtin_ia32_pmullq512_mask, __builtin_ia32_xorpd512_mask,
9136         __builtin_ia32_xorps512_mask, __builtin_ia32_orpd512_mask,
9137         __builtin_ia32_orps512_mask, __builtin_ia32_andpd512_mask,
9138         __builtin_ia32_andps512_mask, __builtin_ia32_andnpd512_mask,
9139         __builtin_ia32_andnps512_mask, __builtin_ia32_insertf32x8_mask,
9140         __builtin_ia32_inserti32x8_mask, __builtin_ia32_insertf64x2_512_mask,
9141         __builtin_ia32_inserti64x2_512_mask, __builtin_ia32_fpclasspd512_mask,
9142         __builtin_ia32_fpclassps512_mask, __builtin_ia32_cvtd2mask512,
9143         __builtin_ia32_cvtq2mask512, __builtin_ia32_cvtmask2d512,
9144         __builtin_ia32_cvtmask2q512, __builtin_ia32_kunpcksi,
9145         __builtin_ia32_kunpckdi, __builtin_ia32_packusdw512_mask,
9146         __builtin_ia32_pslldq512, __builtin_ia32_psrldq512,
9147         __builtin_ia32_packssdw512_mask, __builtin_ia32_palignr512,
9148         __builtin_ia32_palignr512_mask, __builtin_ia32_movdquhi512_mask,
9149         __builtin_ia32_movdquqi512_mask, __builtin_ia32_psadbw512,
9150         __builtin_ia32_dbpsadbw512_mask, __builtin_ia32_pbroadcastb512_mask,
9151         __builtin_ia32_pbroadcastb512_gpr_mask, __builtin_ia32_pbroadcastw512_mask,
9152         __builtin_ia32_pbroadcastw512_gpr_mask, __builtin_ia32_pmovsxbw512_mask,
9153         __builtin_ia32_pmovzxbw512_mask, __builtin_ia32_permvarhi512_mask,
9154         __builtin_ia32_vpermt2varhi512_mask, __builtin_ia32_vpermt2varhi512_maskz,
9155         __builtin_ia32_vpermi2varhi512_mask, __builtin_ia32_pavgb512_mask,
9156         __builtin_ia32_pavgw512_mask, __builtin_ia32_paddb512_mask,
9157         __builtin_ia32_psubb512_mask, __builtin_ia32_psubsb512_mask,
9158         __builtin_ia32_paddsb512_mask, __builtin_ia32_psubusb512_mask,
9159         __builtin_ia32_paddusb512_mask, __builtin_ia32_psubw512_mask,
9160         __builtin_ia32_paddw512_mask, __builtin_ia32_psubsw512_mask,
9161         __builtin_ia32_paddsw512_mask, __builtin_ia32_psubusw512_mask,
9162         __builtin_ia32_paddusw512_mask, __builtin_ia32_pmaxuw512_mask,
9163         __builtin_ia32_pmaxsw512_mask, __builtin_ia32_pminuw512_mask,
9164         __builtin_ia32_pminsw512_mask, __builtin_ia32_pmaxub512_mask,
9165         __builtin_ia32_pmaxsb512_mask, __builtin_ia32_pminub512_mask,
9166         __builtin_ia32_pminsb512_mask, __builtin_ia32_pmovwb512_mask,
9167         __builtin_ia32_pmovswb512_mask, __builtin_ia32_pmovuswb512_mask,
9168         __builtin_ia32_pmulhrsw512_mask, __builtin_ia32_pmulhuw512_mask,
9169         __builtin_ia32_pmulhw512_mask, __builtin_ia32_pmullw512_mask,
9170         __builtin_ia32_psllwi512_mask, __builtin_ia32_psllw512_mask,
9171         __builtin_ia32_packsswb512_mask, __builtin_ia32_packuswb512_mask,
9172         __builtin_ia32_psrav32hi_mask, __builtin_ia32_pmaddubsw512_mask,
9173         __builtin_ia32_pmaddwd512_mask, __builtin_ia32_psrlv32hi_mask,
9174         __builtin_ia32_punpckhbw512_mask, __builtin_ia32_punpckhwd512_mask,
9175         __builtin_ia32_punpcklbw512_mask, __builtin_ia32_punpcklwd512_mask,
9176         __builtin_ia32_pshufb512_mask, __builtin_ia32_pshufhw512_mask,
9177         __builtin_ia32_pshuflw512_mask, __builtin_ia32_psrawi512_mask,
9178         __builtin_ia32_psraw512_mask, __builtin_ia32_psrlwi512_mask,
9179         __builtin_ia32_psrlw512_mask, __builtin_ia32_cvtb2mask512,
9180         __builtin_ia32_cvtw2mask512, __builtin_ia32_cvtmask2b512,
9181         __builtin_ia32_cvtmask2w512, __builtin_ia32_pcmpeqb512_mask,
9182         __builtin_ia32_pcmpeqw512_mask, __builtin_ia32_pcmpgtb512_mask,
9183         __builtin_ia32_pcmpgtw512_mask, __builtin_ia32_ptestmb512,
9184         __builtin_ia32_ptestmw512, __builtin_ia32_ptestnmb512,
9185         __builtin_ia32_ptestnmw512, __builtin_ia32_psllv32hi_mask,
9186         __builtin_ia32_pabsb512_mask, __builtin_ia32_pabsw512_mask,
9187         __builtin_ia32_blendmw_512_mask, __builtin_ia32_blendmb_512_mask,
9188         __builtin_ia32_cmpb512_mask, __builtin_ia32_cmpw512_mask,
9189         __builtin_ia32_ucmpb512_mask, __builtin_ia32_ucmpw512_mask,
9190         __builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round,
9191         __builtin_ia32_cvtpd2qq512_mask, __builtin_ia32_cvtps2qq512_mask,
9192         __builtin_ia32_cvtpd2uqq512_mask, __builtin_ia32_cvtps2uqq512_mask,
9193         __builtin_ia32_cvtqq2ps512_mask, __builtin_ia32_cvtuqq2ps512_mask,
9194         __builtin_ia32_cvtqq2pd512_mask, __builtin_ia32_cvtuqq2pd512_mask,
9195         __builtin_ia32_cvttps2qq512_mask, __builtin_ia32_cvttps2uqq512_mask,
9196         __builtin_ia32_cvttpd2qq512_mask, __builtin_ia32_cvttpd2uqq512_mask,
9197         __builtin_ia32_rangeps512_mask, __builtin_ia32_rangepd512_mask.
9198         (ix86_expand_args_builtin): Handle HI_FTYPE_V16QI, SI_FTYPE_V32QI,
9199         DI_FTYPE_V64QI, V16QI_FTYPE_HI, V32QI_FTYPE_SI, V64QI_FTYPE_DI,
9200         V8HI_FTYPE_QI, V16HI_FTYPE_HI, V32HI_FTYPE_SI, V4SI_FTYPE_QI,
9201         V8SI_FTYPE_QI, V4SI_FTYPE_HI, V8SI_FTYPE_HI, QI_FTYPE_V8HI,
9202         HI_FTYPE_V16HI, SI_FTYPE_V32HI, QI_FTYPE_V4SI, QI_FTYPE_V8SI,
9203         HI_FTYPE_V16SI, QI_FTYPE_V2DI, QI_FTYPE_V4DI, QI_FTYPE_V8DI,
9204         V2DI_FTYPE_QI, V4DI_FTYPE_QI, V8DI_FTYPE_V64QI_V64QI,
9205         SI_FTYPE_SI_SI,DI_FTYPE_DI_DI, V8DI_FTYPE_V8DI_INT_CONVERT,
9206         QI_FTYPE_V4SF_INT, QI_FTYPE_V2DF_INT,
9207         V8SF_FTYPE_V4SF_V8SF_QI, V4DF_FTYPE_V2DF_V4DF_QI,
9208         V8SI_FTYPE_V4SI_V8SI_QI, V8SI_FTYPE_SI_V8SI_QI,
9209         V4SI_FTYPE_V4SI_V4SI_QI, V4SI_FTYPE_SI_V4SI_QI,
9210         V4DI_FTYPE_V2DI_V4DI_QI, V4DI_FTYPE_DI_V4DI_QI,
9211         V2DI_FTYPE_V2DI_V2DI_QI, V2DI_FTYPE_DI_V2DI_QI,
9212         V64QI_FTYPE_V64QI_V64QI_DI, V64QI_FTYPE_V16QI_V64QI_DI,
9213         V64QI_FTYPE_QI_V64QI_DI, V32QI_FTYPE_V32QI_V32QI_SI,
9214         V32QI_FTYPE_V16QI_V32QI_SI, V32QI_FTYPE_QI_V32QI_SI,
9215         V16QI_FTYPE_V16QI_V16QI_HI, V16QI_FTYPE_QI_V16QI_HI,
9216         V32HI_FTYPE_V8HI_V32HI_SI, V32HI_FTYPE_HI_V32HI_SI,
9217         V16HI_FTYPE_V8HI_V16HI_HI, V16HI_FTYPE_HI_V16HI_HI,
9218         V8HI_FTYPE_V8HI_V8HI_QI, V8HI_FTYPE_HI_V8HI_QI,
9219         V8SF_FTYPE_V8HI_V8SF_QI, V4SF_FTYPE_V8HI_V4SF_QI,
9220         V8SI_FTYPE_V8SF_V8SI_QI, V4SI_FTYPE_V4SF_V4SI_QI,
9221         V8DI_FTYPE_V8SF_V8DI_QI, V4DI_FTYPE_V4SF_V4DI_QI,
9222         V2DI_FTYPE_V4SF_V2DI_QI, V8SF_FTYPE_V8DI_V8SF_QI,
9223         V4SF_FTYPE_V4DI_V4SF_QI, V4SF_FTYPE_V2DI_V4SF_QI,
9224         V8DF_FTYPE_V8DI_V8DF_QI, V4DF_FTYPE_V4DI_V4DF_QI,
9225         V2DF_FTYPE_V2DI_V2DF_QI, V16QI_FTYPE_V8HI_V16QI_QI,
9226         V16QI_FTYPE_V16HI_V16QI_HI, V16QI_FTYPE_V4SI_V16QI_QI,
9227         V16QI_FTYPE_V8SI_V16QI_QI, V8HI_FTYPE_V4SI_V8HI_QI,
9228         V8HI_FTYPE_V8SI_V8HI_QI, V16QI_FTYPE_V2DI_V16QI_QI,
9229         V16QI_FTYPE_V4DI_V16QI_QI, V8HI_FTYPE_V2DI_V8HI_QI,
9230         V8HI_FTYPE_V4DI_V8HI_QI, V4SI_FTYPE_V2DI_V4SI_QI,
9231         V4SI_FTYPE_V4DI_V4SI_QI, V32QI_FTYPE_V32HI_V32QI_SI,
9232         HI_FTYPE_V16QI_V16QI_HI, SI_FTYPE_V32QI_V32QI_SI,
9233         DI_FTYPE_V64QI_V64QI_DI, QI_FTYPE_V8HI_V8HI_QI,
9234         HI_FTYPE_V16HI_V16HI_HI, SI_FTYPE_V32HI_V32HI_SI,
9235         QI_FTYPE_V4SI_V4SI_QI, QI_FTYPE_V8SI_V8SI_QI,
9236         QI_FTYPE_V2DI_V2DI_QI, QI_FTYPE_V4DI_V4DI_QI,
9237         V4SF_FTYPE_V2DF_V4SF_QI, V4SF_FTYPE_V4DF_V4SF_QI,
9238         V2DI_FTYPE_V4SI_V2DI_QI, V2DI_FTYPE_V8HI_V2DI_QI,
9239         V2DI_FTYPE_V16QI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_QI,
9240         V4DI_FTYPE_V4SI_V4DI_QI, V4DI_FTYPE_V8HI_V4DI_QI,
9241         V4DI_FTYPE_V16QI_V4DI_QI, V8DI_FTYPE_V8DF_V8DI_QI,
9242         V4DI_FTYPE_V4DF_V4DI_QI, V2DI_FTYPE_V2DF_V2DI_QI,
9243         V4SI_FTYPE_V4DF_V4SI_QI, V4SI_FTYPE_V2DF_V4SI_QI,
9244         V4SI_FTYPE_V8HI_V4SI_QI, V4SI_FTYPE_V16QI_V4SI_QI,
9245         V8SI_FTYPE_V8SI_V8SI_V8SI, V8SF_FTYPE_V8SF_V8SF_QI,
9246         V8SF_FTYPE_V8SI_V8SF_QI, V4DF_FTYPE_V4DF_V4DF_QI,
9247         V4SF_FTYPE_V4SF_V4SF_QI, V2DF_FTYPE_V2DF_V2DF_QI,
9248         V2DF_FTYPE_V4SF_V2DF_QI, V2DF_FTYPE_V4SI_V2DF_QI,
9249         V4SF_FTYPE_V4SI_V4SF_QI, V4DF_FTYPE_V4SF_V4DF_QI,
9250         V4DF_FTYPE_V4SI_V4DF_QI, V8SI_FTYPE_V8SI_V8SI_QI,
9251         V8SI_FTYPE_V8HI_V8SI_QI, V8SI_FTYPE_V16QI_V8SI_QI,
9252         V16SF_FTYPE_V8SF_V16SF_HI, V16SI_FTYPE_V8SI_V16SI_HI,
9253         V16HI_FTYPE_V16HI_V16HI_HI, V8HI_FTYPE_V16QI_V8HI_QI,
9254         V16HI_FTYPE_V16QI_V16HI_HI, V32HI_FTYPE_V32HI_V32HI_SI,
9255         V32HI_FTYPE_V32QI_V32HI_SI, V8DI_FTYPE_V8DI_V8DI_INT_CONVERT,
9256         V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI_CONVERT, QI_FTYPE_V8DF_INT_QI,
9257         QI_FTYPE_V4DF_INT_QI, QI_FTYPE_V2DF_INT_QI,
9258         HI_FTYPE_V16SF_INT_HI, QI_FTYPE_V8SF_INT_QI,
9259         QI_FTYPE_V4SF_INT_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI_CONVERT,
9260         V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI_CONVERT, V32QI_FTYPE_V32QI_V32QI_V32QI_SI,
9261         V32HI_FTYPE_V32HI_V32HI_V32HI_SI, V32HI_FTYPE_V64QI_V64QI_V32HI_SI,
9262         V16SI_FTYPE_V32HI_V32HI_V16SI_HI, V64QI_FTYPE_V64QI_V64QI_V64QI_DI,
9263         V32HI_FTYPE_V32HI_V8HI_V32HI_SI, V16HI_FTYPE_V16HI_V8HI_V16HI_HI,
9264         V8SI_FTYPE_V8SI_V4SI_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_V4DI_QI,
9265         V64QI_FTYPE_V32HI_V32HI_V64QI_DI, V32QI_FTYPE_V16HI_V16HI_V32QI_SI,
9266         V16QI_FTYPE_V8HI_V8HI_V16QI_HI, V32HI_FTYPE_V16SI_V16SI_V32HI_SI,
9267         V16HI_FTYPE_V8SI_V8SI_V16HI_HI, V8HI_FTYPE_V4SI_V4SI_V8HI_QI,
9268         V4DF_FTYPE_V4DF_V4DI_V4DF_QI, V8SF_FTYPE_V8SF_V8SI_V8SF_QI,
9269         V4SF_FTYPE_V4SF_V4SI_V4SF_QI, V2DF_FTYPE_V2DF_V2DI_V2DF_QI,
9270         V2DI_FTYPE_V4SI_V4SI_V2DI_QI, V4DI_FTYPE_V8SI_V8SI_V4DI_QI,
9271         V4DF_FTYPE_V4DI_V4DF_V4DF_QI, V8SF_FTYPE_V8SI_V8SF_V8SF_QI,
9272         V2DF_FTYPE_V2DI_V2DF_V2DF_QI, V4SF_FTYPE_V4SI_V4SF_V4SF_QI,
9273         V8HI_FTYPE_V8HI_V8HI_V8HI_QI, V8SI_FTYPE_V8SI_V8SI_V8SI_QI,
9274         V4SI_FTYPE_V4SI_V4SI_V4SI_QI, V8SF_FTYPE_V8SF_V8SF_V8SF_QI,
9275         V16QI_FTYPE_V16QI_V16QI_V16QI_HI, V16HI_FTYPE_V16HI_V16HI_V16HI_HI,
9276         V2DI_FTYPE_V2DI_V2DI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_V4DI_QI,
9277         V4DF_FTYPE_V4DF_V4DF_V4DF_QI, V8HI_FTYPE_V16QI_V16QI_V8HI_QI,
9278         V16HI_FTYPE_V32QI_V32QI_V16HI_HI, V8SI_FTYPE_V16HI_V16HI_V8SI_QI,
9279         V4SI_FTYPE_V8HI_V8HI_V4SI_QI, QI_FTYPE_V4DI_V4DI_INT_QI,
9280         QI_FTYPE_V8SI_V8SI_INT_QI, QI_FTYPE_V4DF_V4DF_INT_QI,
9281         QI_FTYPE_V8SF_V8SF_INT_QI, QI_FTYPE_V2DI_V2DI_INT_QI,
9282         QI_FTYPE_V4SI_V4SI_INT_QI, DI_FTYPE_V64QI_V64QI_INT_DI,
9283         SI_FTYPE_V32QI_V32QI_INT_SI, HI_FTYPE_V16QI_V16QI_INT_HI,
9284         SI_FTYPE_V32HI_V32HI_INT_SI, HI_FTYPE_V16HI_V16HI_INT_HI,
9285         QI_FTYPE_V8HI_V8HI_INT_QI, V8SF_FTYPE_V8SF_INT_V8SF_QI,
9286         V4SF_FTYPE_V4SF_INT_V4SF_QI, V2DF_FTYPE_V4DF_INT_V2DF_QI,
9287         V2DI_FTYPE_V4DI_INT_V2DI_QI, V8SF_FTYPE_V16SF_INT_V8SF_QI,
9288         V8SI_FTYPE_V16SI_INT_V8SI_QI, V2DF_FTYPE_V8DF_INT_V2DF_QI,
9289         V2DI_FTYPE_V8DI_INT_V2DI_QI, V4SF_FTYPE_V8SF_INT_V4SF_QI,
9290         V4SI_FTYPE_V8SI_INT_V4SI_QI, V8HI_FTYPE_V8SF_INT_V8HI_QI,
9291         V8HI_FTYPE_V4SF_INT_V8HI_QI, V32HI_FTYPE_V32HI_INT_V32HI_SI,
9292         V16HI_FTYPE_V16HI_INT_V16HI_HI, V8HI_FTYPE_V8HI_INT_V8HI_QI,
9293         V4DI_FTYPE_V4DI_INT_V4DI_QI, V2DI_FTYPE_V2DI_INT_V2DI_QI,
9294         V8SI_FTYPE_V8SI_INT_V8SI_QI, V4SI_FTYPE_V4SI_INT_V4SI_QI,
9295         V4DF_FTYPE_V4DF_INT_V4DF_QI, V2DF_FTYPE_V2DF_INT_V2DF_QI,
9296         V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI,
9297         V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI, V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI,
9298         V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI,
9299         V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI, V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI,
9300         V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI, V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI,
9301         V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI, V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI,
9302         V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI, V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI,
9303         V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI,
9304         V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI,
9305         V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI, V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI,
9306         V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI, V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI,
9307         V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI, V8DI_FTYPE_V8DF_V8DI_QI_INT,
9308         V8SF_FTYPE_V8DI_V8SF_QI_INT, V8DF_FTYPE_V8DI_V8DF_QI_INT,
9309         V8DI_FTYPE_V8SF_V8DI_QI_INT, V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT,
9310         V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT, VOID_FTYPE_PV4DI_V4DI_QI,
9311         VOID_FTYPE_PV2DI_V2DI_QI, VOID_FTYPE_PV8SI_V8SI_QI,
9312         VOID_FTYPE_PV4SI_V4SI_QI, VOID_FTYPE_PV4SI_V4DI_QI,
9313         VOID_FTYPE_PV4SI_V2DI_QI, VOID_FTYPE_PV8HI_V4DI_QI,
9314         VOID_FTYPE_PV8HI_V2DI_QI, VOID_FTYPE_PV8HI_V8SI_QI,
9315         VOID_FTYPE_PV8HI_V4SI_QI, VOID_FTYPE_PV16QI_V4DI_QI,
9316         VOID_FTYPE_PV16QI_V2DI_QI, VOID_FTYPE_PV16QI_V8SI_QI,
9317         VOID_FTYPE_PV16QI_V4SI_QI, VOID_FTYPE_PV8HI_V8HI_QI,
9318         VOID_FTYPE_PV16HI_V16HI_HI, VOID_FTYPE_PV32HI_V32HI_SI,
9319         VOID_FTYPE_PV16QI_V16QI_HI, VOID_FTYPE_PV32QI_V32QI_SI,
9320         VOID_FTYPE_PV64QI_V64QI_DI, VOID_FTYPE_PV4DF_V4DF_QI,
9321         VOID_FTYPE_PV2DF_V2DF_QI, VOID_FTYPE_PV8SF_V8SF_QI,
9322         VOID_FTYPE_PV4SF_V4SF_QI, V4SF_FTYPE_PCV4SF_V4SF_QI,
9323         V8SF_FTYPE_PCV8SF_V8SF_QI, V4SI_FTYPE_PCV4SI_V4SI_QI,
9324         V8SI_FTYPE_PCV8SI_V8SI_QI, V2DF_FTYPE_PCV2DF_V2DF_QI,
9325         V4DF_FTYPE_PCV4DF_V4DF_QI, V2DI_FTYPE_PCV2DI_V2DI_QI,
9326         V4DI_FTYPE_PCV4DI_V4DI_QI, V8HI_FTYPE_PCV8HI_V8HI_QI,
9327         V16HI_FTYPE_PCV16HI_V16HI_HI, V32HI_FTYPE_PCV32HI_V32HI_SI,
9328         V16QI_FTYPE_PCV16QI_V16QI_HI, V32QI_FTYPE_PCV32QI_V32QI_SI,
9329         V64QI_FTYPE_PCV64QI_V64QI_DI, do not handle V8USI_FTYPE_V8USI.
9331 2014-10-28  Jakub Jelinek  <jakub@redhat.com>
9333         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t
9334         type for the left shift in CASE_CONVERT case.
9336 2014-10-28  Max Ostapenko  <m.ostapenko@partner.samsung.com>
9338         * asan.h (asan_intercepted_p): New function.
9339         * asan.c (asan_mem_ref_hasher::hash): Remove MEM_REF access size from
9340         hash value construction.  Call iterative_hash_expr instead of explicit
9341         hash building.
9342         (asan_mem_ref_hasher::equal): Change condition.
9343         (has_mem_ref_been_instrumented): Likewise.
9344         (update_mem_ref_hash_table): Likewise.
9345         (maybe_update_mem_ref_hash_table): New function.
9346         (instrument_strlen_call): Removed.
9347         (get_mem_refs_of_builtin_call): Handle new parameter.
9348         (instrument_builtin_call): Call maybe_update_mem_ref_hash_table instead
9349         of instrument_mem_region_access if intercepted_p is true.
9350         (instrument_mem_region_access): Instrument only base with len instead of
9351         base and end with 1.
9352         (build_check_stmt): Remove start_instrumented and end_instrumented
9353         parameters.
9354         (enum asan_check_flags): Remove ASAN_CHECK_START_INSTRUMENTED and
9355         ASAN_CHECK_END_INSTRUMENTED.  Change ASAN_CHECK_LAST.
9356         (asan_expand_check_ifn): Remove start_instrumented and end_instrumented.
9357         * builtins.c (expand_builtin): Include asan.h.  Don't expand string/memory
9358         builtin functions that have interceptors if ASan is enabled.
9360 2014-10-28  Richard Biener  <rguenther@suse.de>
9362         PR middle-end/63665
9363         * fold-const.c (fold_comparison): Properly guard simplifying
9364         against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.
9366 2014-10-28  Alan Lawrence  <alan.lawrence@arm.com>
9368         * expr.c (expand_expr_real_2): Remove code handling VEC_LSHIFT_EXPR.
9369         * fold-const.c (const_binop): Likewise.
9370         * cfgexpand.c (expand_debug_expr): Likewise.
9371         * tree-inline.c (estimate_operator_cost): Likewise.
9372         * tree-vect-generic.c (expand_vector_operations_1): Likewise.
9373         * optabs.c (optab_for_tree_code): Likewise.
9374         (expand_vec_shift_expr): Likewise, update comment.
9375         * tree.def: Delete VEC_LSHIFT_EXPR, remove comment.
9376         * optabs.h (expand_vec_shift_expr): Remove comment re. VEC_LSHIFT_EXPR.
9377         * optabs.def: Remove vec_shl_optab.
9378         * doc/md.texi: Remove references to vec_shr_m.
9380 2014-10-28  Yury Gribov  <y.gribov@samsung.com>
9382         * asan.c (report_error_func): Add noabort path.
9383         (check_func): Ditto.  Formatting.
9384         (asan_expand_check_ifn): Handle noabort path.
9385         * common.opt (flag_sanitize_recover): Add SANITIZE_KERNEL_ADDRESS
9386         to default value.
9387         * doc/invoke.texi (-fsanitize-recover=): Mention KASan.
9388         * opts.c (finish_options): Reword comment.
9389         * sanitizer.def: Add noabort ASan builtins.
9391 2014-10-28  Yury Gribov  <y.gribov@samsung.com>
9393         * asan.c (set_asan_shadow_offset): New function.
9394         (asan_shadow_offset): Likewise.
9395         (asan_emit_stack_protection): Call asan_shadow_offset.
9396         (build_shadow_mem_access): Likewise.
9397         * asan.h (set_asan_shadow_offset): Declare.
9398         * common.opt (fasan-shadow-offset): New option.
9399         (frandom-seed): Fixed parameter name.
9400         * doc/invoke.texi (fasan-shadow-offset): Describe new option.
9401         (frandom-seed): Fixed parameter name.
9402         * opts-global.c (handle_common_deferred_options): Handle
9403         -fasan-shadow-offset.
9404         * opts.c (common_handle_option): Likewise.
9406 2014-10-27  Jiong Wang <jiong.wang@arm.com>
9408         PR target/63442
9409         * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
9411 2014-10-27  DJ Delorie  <dj@redhat.com>
9413         * tree.c (build_common_tree_nodes): Don't even store the
9414         __int128 types if they're not supported.
9416 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9418         * config/i386/i386.c (ix86_loop_memcount): Delete.
9419         (ix86_loop_unroll_adjust): Use FOR_EACH_SUBRTX.
9421 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9423         * config/i386/i386.c (find_constant_1): Delete.
9424         (find_constant): Use FOR_EACH_SUBRTX.
9426 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9428         * config/i386/i386.c (extended_reg_mentioned_1): Delete.
9429         (x86_extended_reg_mentioned_p): Use FOR_EACH_SUBRTX.
9431 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9433         * config/i386/i386.c: Include rtl-iter.h
9434         (ix86_check_avx256_register): Take a const_rtx and return a bool.
9435         (ix86_check_avx256_stores): Update call accordingly.
9436         (ix86_avx_u128_mode_entry, ix86_avx_u128_mode_exit): Likewise.
9437         (ix86_avx_u128_mode_needed): Likewise.  Use FOR_EACH_SUBRTX.
9439 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9441         * config/alpha/alpha-protos.h (some_small_symbolic_operand_int):
9442         Take an rtx and return a bool.
9443         * config/alpha/alpha.c (some_small_symbolic_operand_int): Likewise.
9444         Use FOR_EACH_SUBRTX_VAR.
9445         * config/alpha/predicates.md (some_small_symbolic_operand): Update
9446         accordingly.
9448 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9450         * config/alpha/alpha-protos.h (alpha_find_lo_sum_using_gp): Return
9451         a bool.
9452         * config/alpha/alpha.c (find_lo_sum_using_gp): Delete.
9453         (alpha_find_lo_sum_using_gp): Use FOR_EACH_SUBRTX.  Return a bool.
9455 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9457         * config/alpha/alpha.c (alpha_set_memflags_1): Delete.
9458         (alpha_set_memflags): Use FOR_EACH_SUBRTX_VAR.
9460 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9462         * config/alpha/alpha.c: Include rtl-iter.h.
9463         (split_small_symbolic_operand_1): Delete.
9464         (split_small_symbolic_operand): Use FOR_EACH_SUBRTX_PTR.
9466 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9468         * config/s390/s390.c: Include rtl-iter.h.
9469         (check_dpu): Delete.
9470         (s390_loop_unroll_adjust): Only iterate over patterns.
9471         Use FOR_EACH_SUBRTX.
9473 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
9475         * config/spu/spu.c: Include rtl-iter.h
9476         (ea_symbol_ref): Replace with...
9477         (ea_symbol_ref_p): ...this new function.
9478         (spu_legitimate_address_p): Update call accordingly.
9479         (spu_legitimate_constant_p): Likewise.  Use FOR_EACH_SUBRTX.
9481 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
9482             Tom Tromey  <tromey@redhat.com>
9484         * aclocal.m4, configure: Rebuild.
9485         * Makefile.in (aclocal_deps): Add gcc-plugin.m4.
9486         * configure.ac: Use GCC_ENABLE_PLUGINS.
9487         * stor-layout.c (finish_bitfield_layout): Now public.  Change
9488         argument type to 'tree'.
9489         (finish_record_layout): Update.
9490         * stor-layout.h (finish_bitfield_layout): Declare.
9492 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9494         * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define again.
9495         * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
9496         Restore, enable for bigendian, update to use __builtin..._scal...
9498 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9500         * config/aarch64/aarch64-simd-builtins.def (reduc_smax_, reduc_smin_,
9501         reduc_umax_, reduc_umin_, reduc_smax_nan_, reduc_smin_nan_): Remove.
9502         (reduc_smax_scal_, reduc_smin_scal_, reduc_umax_scal_,
9503         reduc_umin_scal_, reduc_smax_nan_scal_, reduc_smin_nan_scal_): New.
9505         * config/aarch64/aarch64-simd.md
9506         (reduc_<maxmin_uns>_<mode>): Rename VDQV_S variant to...
9507         (reduc_<maxmin_uns>_internal<mode>): ...this.
9508         (reduc_<maxmin_uns>_<mode>): New (VDQ_BHSI).
9509         (reduc_<maxmin_uns>_scal_<mode>): New (*2).
9511         (reduc_<maxmin_uns>_v2si): Combine with below, renaming...
9512         (reduc_<maxmin_uns>_<mode>): Combine V2F with above, renaming...
9513         (reduc_<maxmin_uns>_internal_<mode>): ...to this (VDQF).
9515         * config/aarch64/arm_neon.h (vmaxv_f32, vmaxv_s8, vmaxv_s16,
9516         vmaxv_s32, vmaxv_u8, vmaxv_u16, vmaxv_u32, vmaxvq_f32, vmaxvq_f64,
9517         vmaxvq_s8, vmaxvq_s16, vmaxvq_s32, vmaxvq_u8, vmaxvq_u16, vmaxvq_u32,
9518         vmaxnmv_f32, vmaxnmvq_f32, vmaxnmvq_f64, vminv_f32, vminv_s8,
9519         vminv_s16, vminv_s32, vminv_u8, vminv_u16, vminv_u32, vminvq_f32,
9520         vminvq_f64, vminvq_s8, vminvq_s16, vminvq_s32, vminvq_u8, vminvq_u16,
9521         vminvq_u32, vminnmv_f32, vminnmvq_f32, vminnmvq_f64): Update to use
9522         __builtin_aarch64_reduc_..._scal; remove vget_lane wrapper.
9524 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9526         * config/aarch64/aarch64-simd-builtins.def
9527         (reduc_splus_<mode>/VDQF, reduc_uplus_<mode>/VDQF, reduc_splus_v4sf):
9528         Remove.
9529         (reduc_plus_scal_<mode>, reduc_plus_scal_v4sf): New.
9531         * config/aarch64/aarch64-simd.md (reduc_<sur>plus_mode): Remove.
9532         (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_plus_scal_<mode>): New.
9534         (reduc_<sur>plus_mode): Change SUADDV -> UNSPEC_ADDV, rename to...
9535         (aarch64_reduc_plus_internal<mode>): ...this.
9537         (reduc_<sur>plus_v2si): Change SUADDV -> UNSPEC_ADDV, rename to...
9538         (aarch64_reduc_plus_internalv2si): ...this.
9540         (reduc_splus_<mode>/V2F): Rename to...
9541         (aarch64_reduc_plus_internal<mode>): ...this.
9543         * config/aarch64/iterators.md
9544         (UNSPEC_SADDV, UNSPEC_UADDV, SUADDV): Remove.
9545         (UNSPEC_ADDV): New.
9546         (sur): Remove elements for UNSPEC_SADDV and UNSPEC_UADDV.
9548         * config/aarch64/arm_neon.h (vaddv_s8, vaddv_s16, vaddv_s32, vaddv_u8,
9549         vaddv_u16, vaddv_u32, vaddvq_s8, vaddvq_s16, vaddvq_s32, vaddvq_s64,
9550         vaddvq_u8, vaddvq_u16, vaddvq_u32, vaddvq_u64, vaddv_f32, vaddvq_f32,
9551         vaddvq_f64): Change __builtin_aarch64_reduc_[us]plus_... to
9552         __builtin_aarch64_reduc_plus_scal, remove vget_lane wrapper.
9554 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9556         PR tree-optimization/61114
9557         * doc/md.texi (Standard Names): Add reduc_(plus,[us](min|max))|scal
9558         optabs, and note in reduc_[us](plus|min|max) to prefer the former.
9560         * expr.c (expand_expr_real_2): Use reduc_..._scal if available, fall
9561         back to old reduc_... + BIT_FIELD_REF only if not.
9563         * optabs.c (optab_for_tree_code): for REDUC_(MAX,MIN,PLUS)_EXPR,
9564         return the reduce-to-scalar (reduc_..._scal) optab.
9565         (scalar_reduc_to_vector): New.
9567         * optabs.def (reduc_smax_scal_optab, reduc_smin_scal_optab,
9568         reduc_plus_scal_optab, reduc_umax_scal_optab, reduc_umin_scal_optab):
9569         New.
9571         * optabs.h (scalar_reduc_to_vector): Declare.
9573         * tree-vect-loop.c (vectorizable_reduction): Look for optabs reducing
9574         to either scalar or vector.
9576 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9578         PR tree-optimization/61114
9579         * expr.c (expand_expr_real_2): For REDUC_{MIN,MAX,PLUS}_EXPR, add
9580         extract_bit_field around optab result.
9582         * fold-const.c (fold_unary_loc): For REDUC_{MIN,MAX,PLUS}_EXPR, produce
9583         scalar not vector.
9585         * tree-cfg.c (verify_gimple_assign_unary): Check result vs operand type
9586         for REDUC_{MIN,MAX,PLUS}_EXPR.
9588         * tree-vect-loop.c (vect_analyze_loop): Update comment.
9589         (vect_create_epilog_for_reduction): For direct vector reduction, use
9590         result of tree code directly without extract_bit_field.
9592         * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): Update
9593         comment.
9595 2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
9597         * basic-block.h: Remove all includes.
9598         (enum profile_status_d, struct control_flow_graph): Move to cfg.h
9599         * cfg.h (profile_status_d, struct control_flow_graph): Relocate here.
9600         * Makefile.in (GTFILES): Add cfg.h to list.
9601         * cgraph.h (symbol_table::create_empty): Move to cgraph.c.
9602         * cgraph.c (symbol_table::create_empty): Relocate from cgraph.h.
9603         * genconditions.c (write_header): Add predict.h and basic-block.h to
9604         lits of includes.
9605         * genemit.c (main): Ditto.
9606         * genpreds.c (write_insn_preds_c): Ditto.
9607         * genrecog.c (write_header): Ditto.
9608         * gengtype.c (open_base_files): Add predict.h, basic-block.h, and cfg.h
9609         to list of includes.
9610         * alias.c: Adjust include files.
9611         * asan.c: Ditto.
9612         * auto-inc-dec.c: Ditto.
9613         * auto-profile.c: Ditto.
9614         * bb-reorder.c: Ditto.
9615         * bt-load.c: Ditto.
9616         * builtins.c: Ditto.
9617         * caller-save.c: Ditto.
9618         * calls.c: Ditto.
9619         * cfg.c: Ditto.
9620         * cfganal.c: Ditto.
9621         * cfgbuild.c: Ditto.
9622         * cfgcleanup.c: Ditto.
9623         * cfgexpand.c: Ditto.
9624         * cfghooks.c: Ditto.
9625         * cfgloop.c: Ditto.
9626         * cfgloopanal.c: Ditto.
9627         * cfgloopmanip.c: Ditto.
9628         * cfgrtl.c: Ditto.
9629         * cgraphbuild.c: Ditto.
9630         * cgraphclones.c: Ditto.
9631         * cgraphunit.c: Ditto.
9632         * combine-stack-adj.c: Ditto.
9633         * combine.c: Ditto.
9634         * compare-elim.c: Ditto.
9635         * coverage.c: Ditto.
9636         * cprop.c: Ditto.
9637         * cse.c: Ditto.
9638         * cselib.c: Ditto.
9639         * data-streamer-in.c: Ditto.
9640         * data-streamer-out.c: Ditto.
9641         * data-streamer.c: Ditto.
9642         * dce.c: Ditto.
9643         * ddg.c: Ditto.
9644         * ddg.h: Ditto.
9645         * df-core.c: Ditto.
9646         * df-problems.c: Ditto.
9647         * df-scan.c: Ditto.
9648         * df.h: Ditto.
9649         * dojump.c: Ditto.
9650         * dominance.c: Ditto.
9651         * domwalk.c: Ditto.
9652         * dse.c: Ditto.
9653         * dwarf2cfi.c: Ditto.
9654         * emit-rtl.c: Ditto.
9655         * et-forest.c: Ditto.
9656         * except.c: Ditto.
9657         * expmed.c: Ditto.
9658         * expr.c: Ditto.
9659         * final.c: Ditto.
9660         * fold-const.c: Ditto.
9661         * function.c: Ditto.
9662         * fwprop.c: Ditto.
9663         * gcc-plugin.h: Ditto.
9664         * gcse.c: Ditto.
9665         * generic-match-head.c: Ditto.
9666         * ggc-page.c: Ditto.
9667         * gimple-builder.c: Ditto.
9668         * gimple-expr.c: Ditto.
9669         * gimple-fold.c: Ditto.
9670         * gimple-iterator.c: Ditto.
9671         * gimple-low.c: Ditto.
9672         * gimple-match-head.c: Ditto.
9673         * gimple-pretty-print.c: Ditto.
9674         * gimple-ssa-isolate-paths.c: Ditto.
9675         * gimple-ssa-strength-reduction.c: Ditto.
9676         * gimple-streamer-in.c: Ditto.
9677         * gimple-streamer-out.c: Ditto.
9678         * gimple-streamer.h: Ditto.
9679         * gimple-walk.c: Ditto.
9680         * gimple.c: Ditto.
9681         * gimplify-me.c: Ditto.
9682         * gimplify.c: Ditto.
9683         * graph.c: Ditto.
9684         * graphite-blocking.c: Ditto.
9685         * graphite-clast-to-gimple.c: Ditto.
9686         * graphite-dependences.c: Ditto.
9687         * graphite-interchange.c: Ditto.
9688         * graphite-isl-ast-to-gimple.c: Ditto.
9689         * graphite-optimize-isl.c: Ditto.
9690         * graphite-poly.c: Ditto.
9691         * graphite-scop-detection.c: Ditto.
9692         * graphite-sese-to-poly.c: Ditto.
9693         * graphite.c: Ditto.
9694         * haifa-sched.c: Ditto.
9695         * hw-doloop.c: Ditto.
9696         * ifcvt.c: Ditto.
9697         * init-regs.c: Ditto.
9698         * internal-fn.c: Ditto.
9699         * ipa-cp.c: Ditto.
9700         * ipa-devirt.c: Ditto.
9701         * ipa-icf-gimple.c: Ditto.
9702         * ipa-icf.c: Ditto.
9703         * ipa-inline-analysis.c: Ditto.
9704         * ipa-inline.c: Ditto.
9705         * ipa-polymorphic-call.c: Ditto.
9706         * ipa-profile.c: Ditto.
9707         * ipa-prop.c: Ditto.
9708         * ipa-pure-const.c: Ditto.
9709         * ipa-reference.c: Ditto.
9710         * ipa-split.c: Ditto.
9711         * ipa-utils.c: Ditto.
9712         * ipa.c: Ditto.
9713         * ira-build.c: Ditto.
9714         * ira-color.c: Ditto.
9715         * ira-conflicts.c: Ditto.
9716         * ira-costs.c: Ditto.
9717         * ira-emit.c: Ditto.
9718         * ira-lives.c: Ditto.
9719         * ira.c: Ditto.
9720         * jump.c: Ditto.
9721         * lcm.c: Ditto.
9722         * loop-doloop.c: Ditto.
9723         * loop-init.c: Ditto.
9724         * loop-invariant.c: Ditto.
9725         * loop-iv.c: Ditto.
9726         * loop-unroll.c: Ditto.
9727         * lower-subreg.c: Ditto.
9728         * lra-assigns.c: Ditto.
9729         * lra-coalesce.c: Ditto.
9730         * lra-constraints.c: Ditto.
9731         * lra-eliminations.c: Ditto.
9732         * lra-lives.c: Ditto.
9733         * lra-spills.c: Ditto.
9734         * lra.c: Ditto.
9735         * lto-cgraph.c: Ditto.
9736         * lto-compress.c: Ditto.
9737         * lto-opts.c: Ditto.
9738         * lto-section-in.c: Ditto.
9739         * lto-section-out.c: Ditto.
9740         * lto-streamer-in.c: Ditto.
9741         * lto-streamer-out.c: Ditto.
9742         * lto-streamer.c: Ditto.
9743         * mcf.c: Ditto.
9744         * mode-switching.c: Ditto.
9745         * modulo-sched.c: Ditto.
9746         * omp-low.c: Ditto.
9747         * optabs.c: Ditto.
9748         * opts-global.c: Ditto.
9749         * passes.c: Ditto.
9750         * postreload-gcse.c: Ditto.
9751         * postreload.c: Ditto.
9752         * predict.c: Ditto.
9753         * print-rtl.c: Ditto.
9754         * profile.c: Ditto.
9755         * recog.c: Ditto.
9756         * ree.c: Ditto.
9757         * reg-stack.c: Ditto.
9758         * regcprop.c: Ditto.
9759         * regcprop.h: Ditto.
9760         * reginfo.c: Ditto.
9761         * regrename.c: Ditto.
9762         * regstat.c: Ditto.
9763         * reload.c: Ditto.
9764         * reload1.c: Ditto.
9765         * reorg.c: Ditto.
9766         * resource.c: Ditto.
9767         * rtlanal.c: Ditto.
9768         * sched-deps.c: Ditto.
9769         * sched-ebb.c: Ditto.
9770         * sched-int.h: Ditto.
9771         * sched-rgn.c: Ditto.
9772         * sched-vis.c: Ditto.
9773         * sel-sched-dump.c: Ditto.
9774         * sel-sched-ir.c: Ditto.
9775         * sel-sched-ir.h: Ditto.
9776         * sel-sched.c: Ditto.
9777         * sese.c: Ditto.
9778         * shrink-wrap.c: Ditto.
9779         * stack-ptr-mod.c: Ditto.
9780         * stmt.c: Ditto.
9781         * store-motion.c: Ditto.
9782         * symtab.c: Ditto.
9783         * toplev.c: Ditto.
9784         * tracer.c: Ditto.
9785         * trans-mem.c: Ditto.
9786         * tree-affine.c: Ditto.
9787         * tree-call-cdce.c: Ditto.
9788         * tree-cfg.c: Ditto.
9789         * tree-cfgcleanup.c: Ditto.
9790         * tree-chrec.c: Ditto.
9791         * tree-complex.c: Ditto.
9792         * tree-data-ref.c: Ditto.
9793         * tree-dfa.c: Ditto.
9794         * tree-eh.c: Ditto.
9795         * tree-emutls.c: Ditto.
9796         * tree-if-conv.c: Ditto.
9797         * tree-inline.c: Ditto.
9798         * tree-into-ssa.c: Ditto.
9799         * tree-loop-distribution.c: Ditto.
9800         * tree-nested.c: Ditto.
9801         * tree-nrv.c: Ditto.
9802         * tree-object-size.c: Ditto.
9803         * tree-outof-ssa.c: Ditto.
9804         * tree-parloops.c: Ditto.
9805         * tree-phinodes.c: Ditto.
9806         * tree-predcom.c: Ditto.
9807         * tree-pretty-print.c: Ditto.
9808         * tree-profile.c: Ditto.
9809         * tree-scalar-evolution.c: Ditto.
9810         * tree-sra.c: Ditto.
9811         * tree-ssa-address.c: Ditto.
9812         * tree-ssa-alias.c: Ditto.
9813         * tree-ssa-ccp.c: Ditto.
9814         * tree-ssa-coalesce.c: Ditto.
9815         * tree-ssa-copy.c: Ditto.
9816         * tree-ssa-copyrename.c: Ditto.
9817         * tree-ssa-dce.c: Ditto.
9818         * tree-ssa-dom.c: Ditto.
9819         * tree-ssa-dse.c: Ditto.
9820         * tree-ssa-forwprop.c: Ditto.
9821         * tree-ssa-ifcombine.c: Ditto.
9822         * tree-ssa-live.c: Ditto.
9823         * tree-ssa-loop-ch.c: Ditto.
9824         * tree-ssa-loop-im.c: Ditto.
9825         * tree-ssa-loop-ivcanon.c: Ditto.
9826         * tree-ssa-loop-ivopts.c: Ditto.
9827         * tree-ssa-loop-manip.c: Ditto.
9828         * tree-ssa-loop-niter.c: Ditto.
9829         * tree-ssa-loop-prefetch.c: Ditto.
9830         * tree-ssa-loop-unswitch.c: Ditto.
9831         * tree-ssa-loop.c: Ditto.
9832         * tree-ssa-math-opts.c: Ditto.
9833         * tree-ssa-operands.c: Ditto.
9834         * tree-ssa-phiopt.c: Ditto.
9835         * tree-ssa-phiprop.c: Ditto.
9836         * tree-ssa-pre.c: Ditto.
9837         * tree-ssa-propagate.c: Ditto.
9838         * tree-ssa-reassoc.c: Ditto.
9839         * tree-ssa-sccvn.c: Ditto.
9840         * tree-ssa-sink.c: Ditto.
9841         * tree-ssa-strlen.c: Ditto.
9842         * tree-ssa-structalias.c: Ditto.
9843         * tree-ssa-tail-merge.c: Ditto.
9844         * tree-ssa-ter.c: Ditto.
9845         * tree-ssa-threadedge.c: Ditto.
9846         * tree-ssa-threadupdate.c: Ditto.
9847         * tree-ssa-uncprop.c: Ditto.
9848         * tree-ssa-uninit.c: Ditto.
9849         * tree-ssa.c: Ditto.
9850         * tree-ssanames.c: Ditto.
9851         * tree-stdarg.c: Ditto.
9852         * tree-streamer-in.c: Ditto.
9853         * tree-streamer-out.c: Ditto.
9854         * tree-streamer.c: Ditto.
9855         * tree-switch-conversion.c: Ditto.
9856         * tree-tailcall.c: Ditto.
9857         * tree-vect-data-refs.c: Ditto.
9858         * tree-vect-generic.c: Ditto.
9859         * tree-vect-loop-manip.c: Ditto.
9860         * tree-vect-loop.c: Ditto.
9861         * tree-vect-patterns.c: Ditto.
9862         * tree-vect-slp.c: Ditto.
9863         * tree-vect-stmts.c: Ditto.
9864         * tree-vectorizer.c: Ditto.
9865         * tree-vrp.c: Ditto.
9866         * tree.c: Ditto.
9867         * tsan.c: Ditto.
9868         * ubsan.c: Ditto.
9869         * valtrack.c: Ditto.
9870         * valtrack.h: Ditto.
9871         * value-prof.c: Ditto.
9872         * var-tracking.c: Ditto.
9873         * varasm.c: Ditto.
9874         * varpool.c: Ditto.
9875         * vtable-verify.c: Ditto.
9876         * web.c: Ditto.
9877         * config/aarch64/aarch64-builtins.c: Ditto.
9878         * config/aarch64/aarch64.c: Ditto.
9879         * config/alpha/alpha.c: Ditto.
9880         * config/arc/arc.c: Ditto.
9881         * config/arm/arm.c: Ditto.
9882         * config/avr/avr.c: Ditto.
9883         * config/bfin/bfin.c: Ditto.
9884         * config/c6x/c6x.c: Ditto.
9885         * config/cr16/cr16.c: Ditto.
9886         * config/cris/cris.c: Ditto.
9887         * config/darwin-c.c: Ditto.
9888         * config/darwin.c: Ditto.
9889         * config/epiphany/epiphany.c: Ditto.
9890         * config/epiphany/mode-switch-use.c: Ditto.
9891         * config/epiphany/resolve-sw-modes.c: Ditto.
9892         * config/fr30/fr30.c: Ditto.
9893         * config/frv/frv.c: Ditto.
9894         * config/h8300/h8300.c: Ditto.
9895         * config/i386/i386.c: Ditto.
9896         * config/i386/winnt.c: Ditto.
9897         * config/ia64/ia64.c: Ditto.
9898         * config/iq2000/iq2000.c: Ditto.
9899         * config/lm32/lm32.c: Ditto.
9900         * config/m32c/m32c.c: Ditto.
9901         * config/m32r/m32r.c: Ditto.
9902         * config/m68k/m68k.c: Ditto.
9903         * config/mcore/mcore.c: Ditto.
9904         * config/mep/mep.c: Ditto.
9905         * config/microblaze/microblaze.c: Ditto.
9906         * config/mips/mips.c: Ditto.
9907         * config/mmix/mmix.c: Ditto.
9908         * config/mn10300/mn10300.c: Ditto.
9909         * config/moxie/moxie.c: Ditto.
9910         * config/msp430/msp430.c: Ditto.
9911         * config/nds32/nds32-cost.c: Ditto.
9912         * config/nds32/nds32-fp-as-gp.c: Ditto.
9913         * config/nds32/nds32-intrinsic.c: Ditto.
9914         * config/nds32/nds32-isr.c: Ditto.
9915         * config/nds32/nds32-md-auxiliary.c: Ditto.
9916         * config/nds32/nds32-memory-manipulation.c: Ditto.
9917         * config/nds32/nds32-pipelines-auxiliary.c: Ditto.
9918         * config/nds32/nds32-predicates.c: Ditto.
9919         * config/nds32/nds32.c: Ditto.
9920         * config/nios2/nios2.c: Ditto.
9921         * config/pa/pa.c: Ditto.
9922         * config/pdp11/pdp11.c: Ditto.
9923         * config/rl78/rl78.c: Ditto.
9924         * config/rs6000/rs6000.c: Ditto.
9925         * config/rx/rx.c: Ditto.
9926         * config/s390/s390.c: Ditto.
9927         * config/sh/sh-mem.cc: Ditto.
9928         * config/sh/sh.c: Ditto.
9929         * config/sh/sh_optimize_sett_clrt.cc: Ditto.
9930         * config/sh/sh_treg_combine.cc: Ditto.
9931         * config/sparc/sparc.c: Ditto.
9932         * config/spu/spu.c: Ditto.
9933         * config/stormy16/stormy16.c: Ditto.
9934         * config/tilegx/tilegx.c: Ditto.
9935         * config/tilepro/tilepro.c: Ditto.
9936         * config/v850/v850.c: Ditto.
9937         * config/vax/vax.c: Ditto.
9938         * config/xtensa/xtensa.c: Ditto.
9940 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
9942         * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Comment out.
9943         * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
9944         Remove using preprocessor directives.
9946 2014-10-27  Richard Biener  <rguenther@suse.de>
9948         * match.pd (0 % X): Properly use the iterator iterating over
9949         all modulo operators.
9950         (X % 1): Likewise.
9952 2014-10-27  Richard Biener  <rguenther@suse.de>
9954         * tree-ssa-forwprop.c: Include tree-cfgcleanup.h and tree-into-ssa.h.
9955         (lattice): New global.
9956         (fwprop_ssa_val): New function.
9957         (fold_all_stmts): Likewise.
9958         (pass_forwprop::execute): Finally fold all stmts.
9960 2014-10-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
9962         PR c++/53061
9963         * doc/invoke.texi (fmessage-length): Update text to match reality.
9965 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9967         * config/microblaze/microblaze.c: Include rtl-iter.h.
9968         (microblaze_tls_referenced_p_1): Delete.
9969         (microblaze_tls_referenced_p): Use FOR_EACH_SUBRTX.
9971 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9973         * config/mips/mips.c (mips_at_reg_p): Delete.
9974         (mips_need_noat_wrapper_p): Use FOR_EACH_SUBRTX.
9976 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9978         * config/mips/mips.c (mips_record_lo_sum): Replace with...
9979         (mips_record_lo_sums): ...this new function.
9980         (mips_reorg_process_insns): Update accordingly.
9982 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9984         * config/mips/mips.c (mips_sim_insn): Update comment.
9985         (mips_sim_wait_regs_2): Delete.
9986         (mips_sim_wait_regs_1): Use FOR_EACH_SUBRTX_VAR.
9988 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9990         * config/mips/mips.c (r10k_needs_protection_p_call): Take a const_rtx
9991         and return a bool.  Iterate over all subrtxes here.
9992         (r10k_needs_protection_p): Update accordingly.
9994 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
9996         * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx
9997         rather than an rtx pointer.  Change type of insn from "void *"
9998         to its real type.  Return bool rather than int.  Iterate over
9999         all subrtxes here.
10000         (r10k_needs_protection_p_store): Update accordingly.
10001         (r10k_needs_protection_p): Likewise.
10003 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10005         * config/mips/mips.c (mips16_rewrite_pool_refs_info): Delete.
10006         (mips16_rewrite_pool_refs): Take the insn and constant pool as
10007         parameters.  Iterate over the instruction's pattern and return void.
10008         (mips16_lay_out_constants): Update accordingly.
10010 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10012         * config/mips/mips.c (mips_kernel_reg_p): Replace with...
10013         (mips_refers_to_kernel_reg_p): ...this new function.
10014         (mips_expand_prologue): Update accordingly.
10016 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10018         * config/mips/mips.c (mips_rewrite_small_data_1): Take the context
10019         as a parameter instead of the containing MEM.  Iterate over all
10020         subrtxes.  Don't return a value.
10021         (mips_rewrite_small_data): Update call accordingly.
10023 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10025         * config/mips/mips.c: Include rtl-iter.h.
10026         (mips_small_data_pattern_1): Take an rtx rather than an rtx pointer.
10027         Take the context as a parameter instead of the containing MEM.
10028         Iterate over all subrtxes.
10029         (mips_small_data_pattern_p): Update call accordingly.
10031 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10033         * config/mep/mep.c (mep_mul_hilo_bypass_1): Delete.
10034         (mep_mul_hilo_bypass_p): Use FOR_EACH_SUBRTX.
10036 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10038         * config/mep/mep.c (mep_store_find_set): Take a const_rtx and
10039         return a bool.  Replace "void *" with specific type.  Iterate
10040         over all subrtxes.
10041         (mep_store_data_bypass_1): Update calls accordingly.
10043 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10045         * config/mep/mep.c: Include rtl-iter.h.
10046         (global_reg_mentioned_p_1): Take a const_rtx and return a bool.
10047         (xtensa_tls_referenced_p): Return a bool.  Use FOR_EACH_SUBRTX.
10049 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10051         * config/xtensa/xtensa.c: Include rtl-iter.h.
10052         (xtensa_tls_referenced_p_1): Delete.
10053         (xtensa_tls_referenced_p): Use FOR_EACH_SUBRTX.
10055 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10057         * config/sh/sh.c (sh_contains_memref_p_1): Delete.
10058         (sh_contains_memref_p): Use FOR_EACH_SUBRTX.
10060 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10062         * config/sh/sh-protos.h (shmedia_cleanup_truncate): Take an
10063         rtx as argument and return the number of changes.
10064         * config/sh/sh.c: Include rtl-iter.h.
10065         (shmedia_cleanup_truncate): Take an rtx as argument and iterate
10066         over all subrtxes.  Return the number of changes made.
10067         * config/sh/sh.md: Update caller accordingly.
10069 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10071         * config/m68k/m68k.c (m68k_tls_reference_p_1): Delete.
10072         (m68k_tls_reference_p): Use FOR_EACH_SUBRTX_VAR.
10074 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
10076         * config/m68k/m68k.c: Include rtl-iter.h.
10077         (m68k_final_prescan_insn_1): Delete.
10078         (m68k_final_prescan_insn): Use FOR_EACH_SUBRTX_VAR.
10080 2014-10-25  Jakub Jelinek  <jakub@redhat.com>
10082         PR tree-optimization/63641
10083         * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Set high
10084         to low + prec - 1 - clz (mask) instead of low + prec - clz (mask).
10086 2014-10-25  Alan Modra  <amodra@gmail.com>
10088         PR rtl-optimization/63615
10089         * simplify-rtx.c (simplify_plus_minus): Set "canonicalized" on
10090         decomposing PLUS or MINUS if operands are not placed adjacent
10091         in the "ops" array.
10093 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
10095         * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Do
10096         not allow e500 double in registers not satisyfing
10097         SPE_SIMD_REGNO_P.
10099 2014-10-24  Aldy Hernandez  <aldyh@redhat.com>
10101         * dwarf2out.c (declare_in_namespace): Only emit external
10102         declarations in the local scope once.
10104 2014-10-24  Jonathan Wakely  <jwakely@redhat.com>
10106         * ginclude/stdbool.h: Do not define bool, true or false in C++11.
10108 2014-10-24  Charles Baylis  <charles.baylis@linaro.org>
10110         * config/aarch64/arm_neon.h (__LD2_LANE_FUNC): Rewrite using builtins,
10111         update uses to use new macro arguments.
10112         (__LD3_LANE_FUNC): Likewise.
10113         (__LD4_LANE_FUNC): Likewise.
10115 2014-10-24  Charles Baylis  <charles.baylis@linaro.org>
10117         * config/aarch64/aarch64-builtins.c
10118         (aarch64_types_loadstruct_lane_qualifiers): Define.
10119         * config/aarch64/aarch64-simd-builtins.def (ld2_lane, ld3_lane,
10120         ld4_lane): New builtins.
10121         * config/aarch64/aarch64-simd.md (aarch64_vec_load_lanesoi_lane<mode>):
10122         New pattern.
10123         (aarch64_vec_load_lanesci_lane<mode>): Likewise.
10124         (aarch64_vec_load_lanesxi_lane<mode>): Likewise.
10125         (aarch64_ld2_lane<mode>): New expand.
10126         (aarch64_ld3_lane<mode>): Likewise.
10127         (aarch64_ld4_lane<mode>): Likewise.
10128         * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
10129         UNSPEC_LD2_LANE, UNSPEC_LD3_LANE, UNSPEC_LD4_LANE.
10131 2014-10-24  Georg-Johann Lay  <avr@gjlay.de>
10133         * avr-protos.h (avr_out_sign_extend): New.
10134         * avr.c (avr_adjust_insn_length) [ADJUST_LEN_SEXT]: Handle.
10135         (avr_out_sign_extend): New function.
10136         * avr.md (extendqihi2, extendqipsi2, extendqisi2, extendhipsi2)
10137         (extendhisi2, extendpsisi2): Use it.
10138         (adjust_len) [sext]: New.
10140 2014-10-24  Martin Liska  <mliska@suse.cz>
10142         * ipa-icf.c (sem_function::compare_phi_node): PHI result comparison
10143         added.
10145 2014-10-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10147         * config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Define.
10148         (LINK_SPEC): Include CA53_ERR_835769_SPEC.
10149         * config/aarch64/aarch64-linux.h (CA53_ERR_835769_SPEC): Define.
10150         (LINK_SPEC): Include CA53_ERR_835769_SPEC.
10152 2014-10-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10154         * config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Wrap definition in
10155         do while (0).
10156         * config/aarch64/aarch64.c (is_mem_p): Delete.
10157         (is_memory_op): Rename to...
10158         (has_memory_op): ... This.  Use FOR_EACH_SUBRTX.
10159         (dep_between_memop_and_curr): Assert that the input is a SET.
10160         (aarch64_madd_needs_nop): Add comment.  Do not call
10161         dep_between_memop_and_curr on NULL body.
10162         (aarch64_final_prescan_insn): Add comment.
10163         Include rtl-iter.h.
10165 2014-10-24  Richard Biener  <rguenther@suse.de>
10167         * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV)
10168         to genmatch BUILD_LIBS instead.
10170 2014-10-24  Richard Biener  <rguenther@suse.de>
10172         * genmatch.c (expr::gen_transform): Use fold_buildN_loc
10173         and build_call_expr_loc.
10174         (dt_simplify::gen): Drop non_lvalue for GIMPLE, use
10175         non_lvalue_loc to build it for GENERIC.
10176         (decision_tree::gen_generic): Add location argument to
10177         generic_simplify prototype.
10178         (capture_info): New class.
10179         (capture_info::capture_info): New constructor.
10180         (capture_info::walk_match): New method.
10181         (capture_info::walk_result): New method.
10182         (capture_info::walk_c_expr): New method.
10183         (dt_simplify::gen): Handle preserving side-effects for
10184         GENERIC code generation.
10185         (decision_tree::gen_generic): Do not reject operands
10186         with TREE_SIDE_EFFECTS.
10187         * generic-match.h: New file.
10188         * generic-match-head.c: Include generic-match.h, not gimple-match.h.
10189         * match.pd: Add some constant folding patterns from fold-const.c.
10190         * fold-const.c: Include generic-match.h.
10191         (fold_unary_loc): Dispatch to generic_simplify.
10192         (fold_ternary_loc): Likewise.
10193         (fold_binary_loc): Likewise.  Remove patterns now implemented
10194         by generic_simplify.
10195         * gimple-fold.c (replace_stmt_with_simplification): New function.
10196         (fold_stmt_1): Add valueize parameter, dispatch to gimple_simplify.
10197         (no_follow_ssa_edges): New function.
10198         (fold_stmt): New overload with valueization hook.  Use
10199         no_follow_ssa_edges for the overload without hook.
10200         (fold_stmt_inplace): Likewise.
10201         * gimple-fold.h (no_follow_ssa_edges): Declare.
10203 2014-10-24  Felix Yang  <felix.yang@huawei.com>
10204         Jiji Jiang  <jiangjiji@huawei.com>
10206         PR target/63173
10207         * config/aarch64/arm_neon.h (__LD2R_FUNC): Remove macro.
10208         (__LD3R_FUNC): Ditto.
10209         (__LD4R_FUNC): Ditto.
10210         (vld2_dup_s8, vld2_dup_s16, vld2_dup_s32, vld2_dup_f32, vld2_dup_f64,
10211          vld2_dup_u8, vld2_dup_u16, vld2_dup_u32, vld2_dup_p8, vld2_dup_p16
10212          vld2_dup_s64, vld2_dup_u64, vld2q_dup_s8, vld2q_dup_p8,
10213          vld2q_dup_s16, vld2q_dup_p16, vld2q_dup_s32, vld2q_dup_s64,
10214          vld2q_dup_u8, vld2q_dup_u16, vld2q_dup_u32, vld2q_dup_u64
10215          vld2q_dup_f32, vld2q_dup_f64): Rewrite using builtin functions.
10216         (vld3_dup_s64, vld3_dup_u64, vld3_dup_f64, vld3_dup_s8
10217          vld3_dup_p8, vld3_dup_s16, vld3_dup_p16, vld3_dup_s32
10218          vld3_dup_u8, vld3_dup_u16, vld3_dup_u32, vld3_dup_f32
10219          vld3q_dup_s8, vld3q_dup_p8, vld3q_dup_s16, vld3q_dup_p16
10220          vld3q_dup_s32, vld3q_dup_s64, vld3q_dup_u8, vld3q_dup_u16
10221          vld3q_dup_u32, vld3q_dup_u64, vld3q_dup_f32, vld3q_dup_f64): Likewise.
10222         (vld4_dup_s64, vld4_dup_u64, vld4_dup_f64, vld4_dup_s8
10223          vld4_dup_p8, vld4_dup_s16, vld4_dup_p16, vld4_dup_s32
10224          vld4_dup_u8, vld4_dup_u16, vld4_dup_u32, vld4_dup_f32
10225          vld4q_dup_s8, vld4q_dup_p8, vld4q_dup_s16, vld4q_dup_p16
10226          vld4q_dup_s32, vld4q_dup_s64, vld4q_dup_u8, vld4q_dup_u16
10227          vld4q_dup_u32, vld4q_dup_u64, vld4q_dup_f32, vld4q_dup_f64): Likewise.
10228         * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
10229         UNSPEC_LD2_DUP, UNSPEC_LD3_DUP, UNSPEC_LD4_DUP.
10230         * config/aarch64/aarch64-simd-builtins.def (ld2r, ld3r, ld4r): New
10231         builtins.
10232         * config/aarch64/aarch64-simd.md (aarch64_simd_ld2r<mode>): New pattern.
10233         (aarch64_simd_ld3r<mode>): Likewise.
10234         (aarch64_simd_ld4r<mode>): Likewise.
10235         (aarch64_ld2r<mode>): New expand.
10236         (aarch64_ld3r<mode>): Likewise.
10237         (aarch64_ld4r<mode>): Likewise.
10239 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10241         * rtlanal.c (get_base_term): Handle SCRATCH.
10243 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10245         * haifa-sched.c (sched_init): Disable max_issue when scheduling for
10246         register pressure.
10248 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10250         * haifa-sched.c (cached_first_cycle_multipass_dfa_lookahead,)
10251         (cached_issue_rate): Remove.  Use dfa_lookahead and issue_rate instead.
10252         (max_issue, choose_ready, sched_init): Update.
10254 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10256         * sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
10257         * haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
10258         (rfs_result): Set INSN_LAST_RFS_WIN.  Update signature.
10259         (rank_for_schedule): Update calls to rfs_result to pass new parameters.
10260         (print_rank_for_schedule_stats): Print out elements of ready list that
10261         ended up on their respective places due to each of the sorting
10262         heuristics.
10263         (ready_sort): Update.
10264         (debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
10265         (schedule_block): Update.
10267 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10269         * haifa-sched.c (sched_class_regs_num, call_used_regs_num): New static
10270         arrays.  Use sched_class_regs_num instead of ira_class_hard_regs_num.
10271         (print_curr_reg_pressure, setup_insn_reg_pressure_info,)
10272         (model_update_pressure, model_spill_cost): Use sched_class_regs_num.
10273         (model_start_schedule): Update.
10274         (sched_pressure_start_bb): New static function.  Calculate
10275         sched_class_regs_num.
10276         (schedule_block): Use it.
10277         (alloc_global_sched_pressure_data): Calculate call_used_regs_num.
10279 2014-10-24  Richard Biener  <rguenther@suse.de>
10281         * Makefile.in (BUILD_CPPLIB): When in stage2+ use the
10282         host library and make sure to pull in the required libintl
10283         and libiconv dependencies.
10285 2014-10-24  Richard Biener  <rguenther@suse.de>
10287         * fold-const.c (fold_binary_loc): Fix copy-and-pasto.
10289 2014-10-24  Markus Trippelsdorf  <markus@trippelsdorf.de>
10291         PR bootstrap/63632
10292         * collect2.c (main): Filter out -fno-lto.
10294 2014-10-24  Martin Liska  <mliska@suse.cz>
10296         * ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
10297         division by zero in dumps.
10298         (sem_item_optimizer::merge_classes): Ditto.
10300 2014-10-23  John David Anglin  <danglin@gcc.gnu.org>
10302         * config/pa/pa.c (pa_can_combine_p): Fix typo in last change.
10304 2014-10-23  Ian Lance Taylor  <iant@google.com>
10306         * tree-vrp.c (extract_range_from_assert): Fix typo in comment.
10308 2014-10-23  Ian Lance Taylor  <iant@google.com>
10310         * config/mep/mep.h (TARGET_HAS_F_SETLKW): Don't undefine.
10312 2014-10-23  Jakub Jelinek  <jakub@redhat.com>
10314         PR debug/63623
10315         * var-tracking.c (stack_adjust_offset_pre_post_cb): New function.
10316         (stack_adjust_offset_pre_post): Use it through for_each_inc_dec,
10317         instead of only handling autoinc in dest if it is a MEM.
10318         (vt_stack_adjustments): Fix up formatting.
10320 2014-10-23  DJ Delorie  <dj@redhat.com>
10322         * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is
10323         independend of -mlarge.
10324         * config/msp430/constraints.md (Ys): Update comment.
10326 2014-10-23  Evgeny Stupachenko  <evstupac@gmail.com>
10328         PR target/63534
10329         PR target/63618
10330         * cse.c (delete_trivially_dead_insns): Consider PIC register is used
10331         while it is pseudo.
10332         * dse.c (deletable_insn_p): Likewise.
10334 2014-10-23  Georg-Johann Lay  <avr@gjlay.de>
10336         * config/avr/avr.c: Fix GNU coding rules and typos.
10337         * config/avr/avr.h: Dito.
10338         * config/avr/avr-c.c: Dito.
10339         * config/avr/avr.md: Dito.
10341 2014-10-23  Kirill Yukhin  <kirill.yukhin@intel.com>
10343         * config/i386/sse.md (define_mode_iterator VI1248_AVX512VL_AVX512BW):
10344         New.
10345         (define_insn "*abs<mode>2"): Use VI1248_AVX512VL_AVX512BW mode
10346         iterator.
10347         (define_expand "abs<mode>2"): Ditto.
10349 2014-10-23  Kirill Yukhin  <kirill.yukhin@intel.com>
10351         * tree-core.h (tree_var_decl): Extend `function_code' field
10352         by one bit, move `regdecl_flag' field to ...
10353         (tree_decl_with_vis): Here.
10354         * tree.h (DECL_STATIC_CHAIN): Update struct name.
10356 2014-10-23  Richard Biener  <rguenther@suse.de>
10358         * Makefile.in (BUILD_CPPLIB): Add.
10359         (build/genmatch$(build_exeext)): Use BUILD_CPPLIB, not CPPLIB.
10360         Drop LIBIBERTY.
10362 2014-10-23  Richard Biener  <rguenther@suse.de>
10364         * fold-const.c (fold_binary_loc): Preserve side-effects of
10365         X - X when simplifying to 0.
10366         * stor-layout.c (finish_bitfield_representative): Strip
10367         side-effects of evaluating the difference of two DECL_FIELD_OFFSET.
10369 2014-10-22  Richard Biener  <rguenther@suse.de>
10370             Tobias Burnus <burnus@net-b.de>
10372         PR lto/63603
10373         * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.
10375 2014-10-22  Dehao Chen  <dehao@google.com>
10377         * auto-profile.c: Change order of header files.
10379 2014-10-22  Guozhi Wei  <carrot@google.com>
10381         PR tree-optimization/63530
10382         tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Set
10383         pointer alignment according to DR_MISALIGNMENT.
10385 2014-10-22  David Malcolm  <dmalcolm@redhat.com>
10387         * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done.
10389 2014-10-22  Andrew MacLeod  <amacleod@redhat.com>
10391         * cfgbuild.h: New.  Add prototypes for cfgbuild.c.
10392         * cfgcleanup.h: New.  Add prototypes for cfgcleanup.c.
10393         * cfgloopmanip.h: New.  Add prototypes for cfgloopmanip.c.
10394         * dominance.h: New.  Add prototypes for dominance.c.
10395         * cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
10396         * cfghooks.h: (struct profile_record) Relocate here.
10397         Relocate 2 prototypes from basic-block.h.
10398         * basic-block.h: Move prototypes and struct to new header files.
10399         Include cfgbuild.h, cfgcleanup.h, and dominance.h.
10400         * rtl.h: Move a few prototypes to new header files.
10401         * cfgcleanup.c (merge_memattrs): Make static.
10402         * genopinit.c (main): Add predict.h to list of includes.
10403         * predict.h: Update prototype list to match predict.c.
10404         * predict.c (maybe_hot_count_p): Export.
10405         (cgraph_edge::maybe_hot_p): Move to cgraph.c.
10406         (cgraph_node::optimize_for_size_p): Move to cgraph.h.
10407         * cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
10408         * cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
10409         * profile.h: Adjust prototypes.
10410         * ifcvt.h: New.  Relocate struct ce_if_block here.
10411         * ifcvt.c: Include ifcvt.h.
10412         * config/frv/frv.c: Include ifcvt.h.
10413         * config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.
10415 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
10417         * lra.c (lra): Remove call to recog_init.
10418         * config/i386/i386.md (preferred_for_speed): New attribute
10419         (*float<SWI48:mode><MODEF:mode>2_sse): Override it instead of
10420         "enabled".  Remove check for sched1.
10422 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
10424         * recog.h (recog_data_d): Remove enabled_alternatives.
10425         * recog.c (extract_insn): Don't set it.
10426         * reload.c (find_reloads): Call get_enabled_alternatives.
10428 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
10430         * recog.h (constrain_operands): Add an alternative_mask parameter.
10431         (constrain_operands_cached): Likewise.
10432         (get_preferred_alternatives): Declare new form.
10433         * recog.c (get_preferred_alternatives): New bb-taking instance.
10434         (constrain_operands): Take the set of available alternatives as
10435         a parameter.
10436         (check_asm_operands, insn_invalid_p, extract_constrain_insn)
10437         (extract_constrain_insn_cached): Update calls to constrain_operands.
10438         * caller-save.c (reg_save_code): Likewise.
10439         * ira.c (setup_prohibited_mode_move_regs): Likewise.
10440         * postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
10441         * ree.c (combine_reaching_defs): Likewise.
10442         * reload.c (can_reload_into): Likewise.
10443         * reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
10444         (gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
10445         (emit_insn_if_valid_for_reload): Likewise.
10446         * reorg.c (fill_slots_from_thread): Likewise.
10447         * config/i386/i386.c (ix86_attr_length_address_default): Likewise.
10448         * config/pa/pa.c (pa_can_combine_p): Likewise.
10449         * config/rl78/rl78.c (insn_ok_now): Likewise.
10450         * config/sh/sh.md (define_peephole2): Likewise.
10451         * final.c (final_scan_insn): Update call to constrain_operands_cached.
10453 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
10455         * doc/md.texi: Document "preferred_for_size" and "preferred_for_speed"
10456         attributes.
10457         * genattr.c (main): Handle "preferred_for_size" and
10458         "preferred_for_speed" in the same way as "enabled".
10459         * recog.h (bool_attr): New enum.
10460         (target_recog): Replace x_enabled_alternatives with x_bool_attr_masks.
10461         (get_preferred_alternatives, check_bool_attrs): Declare.
10462         * recog.c (have_bool_attr, get_bool_attr, get_bool_attr_mask_uncached)
10463         (get_bool_attr_mask, get_preferred_alternatives, check_bool_attrs):
10464         New functions.
10465         (get_enabled_alternatives): Use get_bool_attr_mask.
10466         * ira-costs.c (record_reg_classes): Use get_preferred_alternatives
10467         instead of recog_data.enabled_alternatives.
10468         * ira.c (ira_setup_alts): Likewise.
10469         * postreload.c (reload_cse_simplify_operands): Likewise.
10470         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
10471         * ira-lives.c (preferred_alternatives): New variable.
10472         (process_bb_node_lives): Set it.
10473         (check_and_make_def_conflict, make_early_clobber_and_input_conflicts)
10474         (single_reg_class, ira_implicitly_set_insn_hard_regs): Use it instead
10475         of recog_data.enabled_alternatives.
10476         * lra-int.h (lra_insn_recog_data): Replace enabled_alternatives
10477         to preferred_alternatives.
10478         * lra-constraints.c (process_alt_operands): Update accordingly.
10479         * lra.c (lra_set_insn_recog_data): Likewise.
10480         (lra_update_insn_recog_data): Assert check_bool_attrs.
10482 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
10484         * recog.h (extract_constrain_insn): Declare.
10485         * recog.c (extract_constrain_insn): New function.
10486         * lra.c (check_rtl): Use it.
10487         * postreload.c (reload_cse_simplify_operands): Likewise.
10488         * reg-stack.c (check_asm_stack_operands): Likewise.
10489         (subst_asm_stack_regs): Likewise.
10490         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
10491         * regrename.c (build_def_use): Likewise.
10492         * sel-sched.c (get_reg_class): Likewise.
10493         * config/arm/arm.c (note_invalid_constants): Likewise.
10494         * config/s390/predicates.md (execute_operation): Likewise.
10496 2014-10-22  Jakub Jelinek  <jakub@redhat.com>
10497             Yury Gribov  <y.gribov@samsung.com>
10499         * common.opt (flag_sanitize_recover): New variable.
10500         (fsanitize-recover): Remove Var/Init, deprecate.
10501         (fsanitize-recover=): New option.
10502         * doc/invoke.texi (fsanitize-recover): Update docs.
10503         * opts.c (finish_options): Use opts->x_flag_sanitize
10504         instead of flag_sanitize.  Prohibit -fsanitize-recover
10505         for anything besides UBSan.  Formatting.
10506         (common_handle_option): Handle OPT_fsanitize_recover_
10507         and OPT_fsanitize_recover.  Use opts->x_flag_sanitize
10508         instead of flag_sanitize.
10509         * asan.c (pass_sanopt::execute): Fix up formatting.
10510         * ubsan.c (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn,
10511         ubsan_expand_objsize_ifn, ubsan_build_overflow_builtin,
10512         instrument_bool_enum_load, ubsan_instrument_float_cast,
10513         instrument_nonnull_arg, instrument_nonnull_return): Check
10514         bits in flag_sanitize_recover bitmask instead of
10515         flag_sanitize_recover as bool flag.
10517 2014-10-22  Jiong Wang <jiong.wang@arm.com>
10519         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add missing '\'.
10521 2014-10-22  Renlin Li <renlin.li@arm.com>
10523         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
10524         __ARM_FEATURE_IDIV__.
10526 2014-10-22  Richard Biener  <rguenther@suse.de>
10528         * Makefile.in (s-match): Adjust dependencies to only catch
10529         match.pd.
10531 2014-10-22  Richard Biener  <rguenther@suse.de>
10532         Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
10534         * Makefile.in (OBJS): Add gimple-match.o and generic-match.o.
10535         (MOSTLYCLEANFILES): Add gimple-match.c and generic-match.c.
10536         (gimple-match.c): Generate by triggering s-match.
10537         (generic-match.c): Likewise.
10538         (s-match): Rule to build gimple-match.c and generic-match.c
10539         by running the genmatch generator program.
10540         (build/hash-table.o): Dependencies to build hash-table.c for the host.
10541         (build/genmatch.o): Dependencies to build genmatch.
10542         (genprog): Add match.
10543         (build/genmatch): Likewise.
10544         (TEXI_GCCINT_FILES): Add match-and-simplify.texi.
10545         * generic-match-head.c: New file.
10546         * gimple-match-head.c: Likewise.
10547         * gimple-match.h: Likewise.
10548         * genmatch.c: Likewise.
10549         * match.pd: Likewise.
10550         * builtins.h (fold_builtin_n): Export.
10551         * builtins.c (fold_builtin_n): Likewise.
10552         * gimple-fold.h (gimple_build): Declare various overloads.
10553         (gimple_simplify): Likewise.
10554         (gimple_convert): Re-implement in terms of gimple_build.
10555         * gimple-fold.c (gimple_convert): Remove.
10556         (gimple_build): New functions.
10557         * doc/match-and-simplify.texi: New file.
10558         * doc/gccint.texi: Add menu item Match and Simplify and include
10559         match-and-simplify.texi.
10561 2014-10-22  Jakub Jelinek  <jakub@redhat.com>
10563         PR target/63594
10564         * config/i386/i386.c (ix86_expand_vector_init_duplicate): For
10565         V{8HI,16QI,16HI,32QI}mode call ix86_vector_duplicate_value
10566         even for just TARGET_AVX2, not only for
10567         TARGET_AVX512VL && TARGET_AVX512BW.  For V{32HI,64QI}mode,
10568         call ix86_vector_duplicate_value only if TARGET_AVX512BW,
10569         otherwise build it using concatenation of 256-bit
10570         broadcast.
10571         * config/i386/sse.md (AVX_VEC_DUP_MODE): Moved after
10572         avx512 broadcast patterns.
10573         (vec_dup<mode>): Likewise.  For avx2 use
10574         v<sseintprefix>broadcast<bcstscalarsuff> instead of
10575         vbroadcast<ssescalarmodesuffix>.
10576         (AVX2_VEC_DUP_MODE): New mode iterator.
10577         (*vec_dup<mode>): New TARGET_AVX2 define_insn with
10578         AVX2_VEC_DUP_MODE iterator, add a splitter for that.
10580         PR target/63542
10581         * config/i386/i386.c (ix86_pic_register_p): Also return
10582         true if x is a hard register with ORIGINAL_REGNO equal to
10583         pic_offset_table_rtx pseudo REGNO.
10584         (ix86_delegitimize_address): For ix86_use_pseudo_pic_reg ()
10585         after reload, subtract GOT_SYMBOL_NAME symbol if possible.
10587 2014-10-22  Alan Modra  <amodra@gmail.com>
10589         * gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
10590         * coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
10591         (gcc_obstack_init): Use obstack_specify_allocation in place of
10592         _obstack_begin.
10593         * genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
10594         (regexp_representation): Likewise.
10595         * godump.c (go_output_type): Likewise.
10597 2014-10-21  John David Anglin  <danglin@gcc.gnu.org>
10599         * config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
10600         * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_JUMP_IN_DELAY.
10601         * config/pa/pa.opt (mjump-in-delay): Ignore option.  Update comment.
10603 2014-10-21 Manuel López-Ibáñez  <manu@gcc.gnu.org>
10605         * doc/invoke.texi (pedantic-errors): Explain better.
10607 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
10608             Vidya Praveen <vidya.praveen@atmel.com>
10609             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
10610             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
10611             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
10613         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
10614         __MEMX for avrtiny.
10615         * config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
10616         (avr_nonconst_pointer_addrspace): Likewise.
10617         * config/avr/avr.h (AVR_HAVE_LPM): Define.
10619         Added AVRTINY architecture to avr target.
10620         * config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
10621         (base_arch_s): member added for AVRTINY architecture.
10622         * config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
10623         alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
10624         AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
10625         and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
10626         respectively. LAST_CALLEE_SAVED_REG macro added for the last register
10627         in callee saved register list.
10628         (avr_option_override): CCP address updated for AVRTINY.
10629         (avr_init_expanders): tmp and zero rtx initialized as per arch.
10630         Reset avr_have_dimode if AVRTINY.
10631         (sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
10632         (emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
10633         (avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
10634         Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
10635         (expand_epilogue): Likewise.
10636         (avr_print_operand): Print CCP address in case of AVRTINY also.
10637         <TBD>bad address
10638         (function_arg_regno_p): Check different register list for arguments
10639         if AVRTINY.
10640         (init_cumulative_args): Check for AVRTINY to update number of argument
10641         registers.
10642         (tiny_valid_direct_memory_access_range): New function. Return false if
10643         direct memory access range is not in accepted range for AVRTINY.
10644         (avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
10645         indirect load (with displacement) for AVRTINY.
10646         (out_movqi_r_mr): Updated instruction length for AVRTINY. Call
10647         avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
10648         (avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
10649         indirect load (no displacement) for AVRTINY.
10650         (avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
10651         indirect load (with displacement) for AVRTINY.
10652         (avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
10653         indirect load for pre-decrement address.
10654         (out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
10655         functions. Update instruction length for AVRTINY.
10656         (avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
10657         SImode.
10658         (avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
10659         (out_movsi_r_mr): Likewise, for SImode.
10660         (avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
10661         indirect store (no displacement) for AVRTINY.
10662         (avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
10663         indirect store (with displacement) for AVRTINY.
10664         (out_movsi_mr_r): Emit out insn for IO address store. Update store
10665         instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
10666         store functions.
10667         (avr_out_load_psi_reg_no_disp_tiny): New function to handle register
10668         indirect load (no displacement) for PSImode in AVRTINY.
10669         (avr_out_load_psi_reg_disp_tiny): New function to handle register
10670         indirect load (with displacement) for PSImode in AVRTINY.
10671         (avr_out_load_psi): Call PSImode register indirect load functions for
10672         AVRTINY. Update instruction length for AVRTINY.
10673         (avr_out_store_psi_reg_no_disp_tiny): New function to handle register
10674         indirect store (no displacement) for PSImode in AVRTINY.
10675         (avr_out_store_psi_reg_disp_tiny): New function to handle register
10676         indirect store (with displacement) for PSImode in AVRTINY.
10677         (avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
10678         register indirect store functions for AVRTINY.
10679         (avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
10680         register indirect store (with displacement) for AVRTINY.
10681         (out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
10682         register indirect store function for QImode in AVRTINY.
10683         (avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
10684         (avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
10685         indirect store (no displacement) for HImode in AVRTINY.
10686         (avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
10687         indirect store (with displacement) for HImode in AVRTINY.
10688         (avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
10689         indirect store for post-increment address in HImode.
10690         (out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
10691         register indirect store function for HImode in AVRTINY.
10692         (avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
10693         in case of AVRTINY.
10694         (order_regs_for_local_alloc): Updated register allocation order for
10695         AVRTINY.
10696         (avr_conditional_register_usage): New function. It is a target hook
10697         (TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
10698         used registers list and register allocation order for AVRTINY.
10699         (avr_return_in_memory): Update return value size for AVRTINY.
10700         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
10701         for AVRTINY arch and tiny program memory base address.
10702         * config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
10703         (avr_texinfo): Added description for AVRTINY arch.
10704         * config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
10705         STATIC_CHAIN_REGNUM for AVRTINY.
10706         * config/avr/avr-mcus.def: Added AVRTINY arch devices.
10707         * config/avr/avr.md: Added constants for tmp/ zero registers in
10708         AVRTINY. Attributes for AVRTINY added.
10709         (mov<mode>): Move src/ dest address to register if it is not in AVRTINY
10710         memory access range.
10711         (mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
10712         in AVRTINY memory access range.
10713         (*mov<mode>): Likewise for HImode and SImode.
10714         (*movsf): Likewise for SFmode.
10715         (delay_cycles_2): Updated instructions to be emitted as AVRTINY does
10716         not have sbiw.
10717         * config/avr/avr-protos.h: Added function prototype for
10718         tiny_valid_direct_memory_access_range.
10719         * config/avr/avr-tables.opt: Regenerate.
10720         * gcc/config/avr/t-multilib: Regenerate.
10721         * doc/avr-mmcu.texi: Regenerate.
10723 2014-10-21  Andrew Pinski  <apinski@cavium.com>
10725         * doc/invoke.texi (AARCH64/mtune): Document thunderx as an
10726         available option also.
10727         * config/aarch64/aarch64-cost-tables.h: New file.
10728         * config/aarch64/aarch64-cores.def (thunderx): New core.
10729         * config/aarch64/aarch64-tune.md: Regenerate.
10730         * config/aarch64/aarch64.c: Include aarch64-cost-tables.h instead
10731         of config/arm/aarch-cost-tables.h.
10732         (thunderx_regmove_cost): New variable.
10733         (thunderx_tunings): New variable.
10735 2014-10-21  Dehao Chen  <dehao@google.com>
10737         * auto-profile.c: New file.
10738         * auto-profile.h: New file.
10739         * basic-block.h (maybe_hot_count_p): New export func.
10740         (add_working_set): New export func.
10741         * gcov-io.h (GCOV_TAG_AFDO_FILE_NAMES): New tag.
10742         (GCOV_TAG_AFDO_FUNCTION): Likewise.
10743         (GCOV_TAG_AFDO_WORKING_SET): Likewise.
10744         * opts.c (enable_fdo_optimizations): New func.
10745         (common_handle_option): Handle -fauto-profile flag.
10746         * ipa-inline.c (want_early_inline_function_p): Iterative-einline.
10747         (class pass_early_inline): Export early_inliner.
10748         (early_inliner): Likewise.
10749         (pass_early_inline::execute): Likewise.
10750         * ipa-inline.h (early_inliner): Likewise.
10751         * predict.c (maybe_hot_count_p): New export func.
10752         (counts_to_freqs): AutoFDO logic.
10753         (rebuild_frequencies): Likewise.
10754         * tree-profile.c (pass_ipa_tree_profile::gate): Likewise.
10755         * profile.c (add_working_set): New func.
10756         * Makefile.in (auto-profile.o): New object file.
10757         * passes.def (pass_ipa_auto_profile): New pass.
10758         * tree-ssa-live.c (remove_unused_scope_block_p): AutoFDO logic.
10759         * tree-pass.h (make_pass_ipa_auto_profile): New pass.
10760         * toplev.c (compile_file): AutoFDO logic.
10761         * doc/invoke.texi (-fauto-profile): New doc.
10762         * coverage.c (coverage_init): AutoFDO logic.
10763         * common.opt (-fauto-profile): New flag.
10764         * timevar.def (TV_IPA_AUTOFDO): New tag.
10765         * value-prof.c (gimple_alloc_histogram_value): New export func.
10766         (check_ic_target): Likewise.
10767         * value-prof.h (gimple_alloc_histogram_value): Likewise.
10768         (check_ic_target): Likewise.
10770 2014-10-21  David Malcolm  <dmalcolm@redhat.com>
10772         * cgraph.c (cgraph_c_finalize): New function.
10773         * cgraph.h (cgraph_c_finalize): New prototype.
10774         (cgraphunit_c_finalize): New prototype.
10775         * cgraphunit.c (first_analyzed): Move from analyze_functions
10776         to file-scope.
10777         (first_analyzed_var): Likewise.
10778         (analyze_functions): Move static variables into file-scope.
10779         (cgraphunit_c_finalize): New function.
10780         * diagnostic.c (diagnostic_finish): Free the memory for
10781         context->classify_diagnostic and context->printer, running the
10782         destructor for the latter.
10783         (bt_stop): Use toplev::main.
10784         * dwarf2out.c (dwarf2out_finalize): New function.
10785         * dwarf2out.h (dwarf2out_c_finalize): New prototype.
10786         * gcse.c (gcse_c_finalize): New function.
10787         * gcse.h (gcse_c_finalize): New prototype.
10788         * ggc-page.c (init_ggc): Make idempotent.
10789         * input.c (input_location): Initialize to UNKNOWN_LOCATION.
10790         * ipa-cp.c (ipa_cp_c_finalize): New function.
10791         * ipa-prop.h (ipa_cp_c_finalize): New prototype.
10792         * ipa-pure-const.c (function_insertion_hook_holder): Move to be
10793         a field of class pass_ipa_pure_const.
10794         (node_duplication_hook_holder): Likewise.
10795         (node_removal_hook_holder): Likewise.
10796         (register_hooks): Convert to method...
10797         (pass_ipa_pure_const::register_hooks): ...here, converting
10798         static variable init_p into...
10799         (pass_ipa_pure_const::init_p): ...new field.
10800         (pure_const_generate_summary): Update invocation of
10801         register_hooks to invoke as a method of current_pass.
10802         (pure_const_read_summary): Likewise.
10803         (propagate): Convert to...
10804         (pass_ipa_pure_const::execute): ...method.
10805         * ipa-reference.c (ipa_init): Move static bool init_p from here
10806         to...
10807         (ipa_init_p): New file-scope variable, so that it can be reset
10808         when repeatedly invoking the compiler within one process by...
10809         (ipa_reference_c_finalize): New function.
10810         * ipa-reference.h (ipa_reference_c_finalize): New.
10811         * main.c (main): Replace invocation of toplev_main with
10812         construction of a toplev instance, and call its "main" method.
10813         * params.c (global_init_params): Add an assert that
10814         params_finished is false.
10815         (params_c_finalize): New.
10816         * params.h (params_c_finalize): New.
10817         * passes.c (execute_ipa_summary_passes): Set "current_pass" before
10818         invoking generate_summary, for the benefit of pass_ipa_pure_const.
10819         (ipa_write_summaries_2): Assign "pass" to "current_pass" global
10820         before calling write_summary hook.
10821         (ipa_write_optimization_summaries_1): Likewise when calling
10822         write_optimization_summary hook.
10823         (ipa_read_summaries_1): Likewise for read_summary hook.
10824         (ipa_read_optimization_summaries_1): Likewise for
10825         read_optimization_summary hook.
10826         (execute_ipa_stmt_fixups): Likewise.
10827         * stringpool.c (init_stringpool): Clean up if we're called more
10828         than once.
10829         * timevar.c (timevar_init): Ignore repeated calls.
10830         * toplev.c: Include "dwarf2out.h", "ipa-reference.h", "gcse.h",
10831         "ipa-prop.h".
10832         (general_init): Reset "input_location" to UNKNOWN_LOCATION.
10833         (initialize_rtl): Move static local "initialized_once"
10834         into file scope, and rename to...
10835         (rtl_initialized): New variable.
10836         (do_compile): Move timevar initialization from here to
10837         toplev::start_timevars.
10838         (toplev::toplev, toplev::~toplev, toplev::start_timevars,
10839         toplev::finalize): New functions.
10840         (toplev_main): Rename to...
10841         (toplev::main): ...this.
10842         * toplev.h (class toplev): New class.
10844 2014-10-21  Andrew MacLeod  <amacleod@redhat.com>
10846         * loop-doloop.c: Include loop-unroll.h.
10848 2014-10-21  Andrew MacLeod  <amacleod@redhat.com>
10850         * cfg.h: New.  Header file for cfg.c.
10851         * cfganal.h: New.  Header file for cfganal.c.
10852         * lcm.h: New.  Header file for lcm.c.
10853         * loop-unroll.h: New.  Header file for loop-unroll.h.
10854         * cfgloop.h: (unroll_loops): Remove prototype.
10855         * basic-block.h: Move prototypes and structs to new header files.
10856         Include cfg.h, cfganal.h, and lcm.h.
10857         * loop-init.c: Include loop-unroll.h.
10858         * loop-unroll.c: (referenced_in_one_insn_in_loop_p): Make static.
10859         * modulo-sched.c: Include loop-unroll.h.
10861 2014-10-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>
10863         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of
10864         MARKER_BYTE_UNKNOWN markers when handling casts.
10866 2014-10-21  Richard Biener  <rguenther@suse.de>
10868         * tree-ssa-phiopt.c (value_replacement): Properly verify we
10869         are the non-singleton PHI.
10871 2014-10-21  Jakub Jelinek  <jakub@redhat.com>
10873         PR tree-optimization/63563
10874         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Bail out
10875         if either dra or drb stmts are not normal loads/stores.
10877 2014-10-21  Ilya Tocar  <ilya.tocar@intel.com>
10879         * config/i386/i386.c (expand_vec_perm_1): Fix
10880         expand_vec_perm_palignr case.
10881         * config/i386/sse.md (<ssse3_avx2>_palignr<mode>_mask): Use
10882         VI1_AVX512.
10884 2014-10-21  Zhenqiang Chen  <zhenqiang.chen@arm.com>
10886         * cfgloopanal.c (seq_cost): Delete.
10887         * rtl.h (seq_cost): New prototype.
10888         * rtlanal.c (seq_cost): New function.
10889         * tree-ssa-loop-ivopts.c (seq_cost): Delete.
10891 2014-10-20  Andrew MacLeod  <amacleod@redhat.com>
10893         * cfgrtl.h: New.  Add prototypes for cfgrtl.c.
10894         * basic-block.h: Remove prototypes for cfgrtl.c.
10895         * cfghooks.h (cfg_layout_initialize, cfg_layout_finalize): Move
10896         prototypes to cfgrtl.h.
10897         * profile.h (profile_info): Add extern export declaration.
10898         * rtl.h: Remove prototypes for cfgrtl.h.
10899         * tree-cfg.h (gt_ggc_mx, gt_pch_nx): Move prototypes to here.
10900         * ipa-inline.c: Include profile.h.
10901         * loop-unroll.c: Ditto.
10902         * modulo-sched.c: Ditto.
10903         * postreload-gcse.c: Ditto.
10904         * predict.c: Ditto.
10905         * sched-ebb.c: Ditto.
10906         * sched-rgn.c: Ditto.
10907         * tracer.c: Ditto.
10908         * tree-ssa-loop-ivcanon.c: Ditto.
10910 2014-10-20  Richard Biener  <rguenther@suse.de>
10912         * tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping
10913         operands to get a def operand kind match.  Signal mismatches
10914         to the parent so we can try swapping its operands.
10915         (vect_build_slp_tree): Try swapping operands if they have
10916         a mismatched operand kind.
10918 2014-10-20  Alan Modra  <amodra@gmail.com>
10920         PR debug/60655
10921         * simplify-rtx.c (simplify_plus_minus): Delete unused "input_ops".
10922         Increase "ops" array size.  Correct array size tests.  Init
10923         n_constants in loop.  Break out of innermost loop when finding
10924         a trivial CONST expression.
10926 2014-10-20  Martin Liska  <mliska@suse.cz>
10928         PR ipa/63583
10929         * ipa-icf-gimple.c (func_checker::compare_gimple_asm):
10930         Gimple tempate string is compared.
10932 2014-10-20  Uros Bizjak  <ubizjak@gmail.com>
10934         * varasm.c (const_alias_set): Remove.
10935         (init_varasm_once): Remove initialization of const_alias_set.
10936         (build_constant_desc): Do not set alias set to const_alias_set.
10938 2014-10-19  Ilya Verbin  <ilya.verbin@intel.com>
10940         * configure: Regenerate.
10941         * configure.ac: Move the test for section attribute specifier "e" in GAS
10942         out to all i[34567]86-*-* | x86_64-*-* targets and add --fatal-warnings.
10943         * langhooks.c (lhd_begin_section): Set SECTION_EXCLUDE flag.
10944         * varasm.c (default_elf_asm_named_section): Guard SECTION_EXCLUDE with
10945         ifdef HAVE_GAS_SECTION_EXCLUDE.
10947 2014-10-19  Andreas Schwab  <schwab@linux-m68k.org>
10949         * doc/md.texi (RTL Template) [match_scratch]: Correct equivalent
10950         match_operand expression.
10952 2014-10-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10953             David Edelsohn  <dje.gcc@gmail.com>
10955         * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): New
10956         function.
10957         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
10959 2014-10-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>
10961         * doc/invoke.texi (Options to Request or Suppress Warnings):
10962         Explain options precedence.
10963         (Wtrampolines): Do not indent paragraph.
10965 2014-10-18  John David Anglin  <danglin@gcc.gnu.org>
10967         * doc/invoke.texi: Update documentation of hppa -mjump-in-delay option.
10968         * config/pa/pa-protos.h (pa_following_call): Delete declaration.
10969         (pa_jump_in_call_delay): Likewise.
10970         * config/pa/pa.c (pa_option_override): Remove jump in call delay
10971         override.
10972         (pa_output_millicode_call): Remove support for jump in call delay.
10973         (pa_output_call): Likewise.
10974         (pa_jump_in_call_delay): Delete.
10975         (pa_following_call): Likewise.
10976         * config/pa/pa.md (in_call_delay): Remove jump in delay check.
10977         (uncond_branch): Remove following call check from attribute length.
10979 2014-10-18  Oleg Endo  <olegendo@gcc.gnu.org>
10981         PR target/53513
10982         * config/sh/sh-modes.def (PSI): Remove.
10983         * config/sh/sh-protos.h (get_fpscr_rtx): Remove.
10984         * config/sh/sh.c (fpscr_rtx, get_fpscr_rtx): Remove.
10985         (sh_reorg): Remove commented out FPSCR code.
10986         (fpscr_set_from_mem): Use SImode instead of PSImode.  Emit lds_fpscr
10987         insn instead of move insn.
10988         (sh_hard_regno_mode_ok): Return SImode for FPSCR.
10989         (sh_legitimate_address_p, sh_legitimize_reload_address): Remove PSImode
10990         handling.
10991         (sh_emit_mode_set): Emit lds_fpscr and sts_fpscr insns.
10992         (sh1_builtin_p): Uncomment.
10993         (SH_BLTIN_UV 25, SH_BLTIN_VU 26): New macros.
10994         (bdesc): Add __builtin_sh_get_fpscr and __builtin_sh_set_fpscr.
10995         * config/sh/sh/predicates.md (fpscr_operand): Simplify.
10996         (fpscr_movsrc_operand, fpscr_movdst_operand): New predicates.
10997         (general_movsrc_operand, general_movdst_operand): Disallow
10998         fpscr_operand.
10999         * config/sh/sh.md (FPSCR_FR): New constant.
11000         (push_fpscr): Emit sts_fpscr insn.
11001         (pop_fpscr): Emit lds_fpscr_insn.
11002         (movsi_ie): Disallow FPSCR operands.
11003         (fpu_switch, unnamed related split, extend_psi_si,
11004         truncate_si_psi): Remove insns.
11005         (lds_fpscr, sts_fpscr): New insns.
11006         (toggle_sz, toggle_pr): Use SImode for FPSCR_REG instead of PSImode.
11008 >>>>>>> .r217525
11009 2014-10-17  Eric Botcazou  <ebotcazou@adacore.com>
11011         * ipa-inline-transform.c (master_clone_with_noninline_clones_p): New.
11012         (clone_inlined_nodes): Do not overwrite the clone if above predicate
11013         returns true.
11015 2014-10-17  Ilya Tocar  <ilya.tocar@intel.com>
11017         * config/i386/i386.c (MAX_VECT_LEN): Move earlier.
11018         (expand_vec_perm_d): Ditto.
11019         (ix86_expand_vec_perm_vpermi2): Handle V8HImode, V16HImode, V32HImode,
11020         V32HImode, V4SImode, V8SImode, V4SFmode, V8SFmode, V2DImode, V4DImode,
11021         V4DFmode.
11022         (ix86_expand_vec_perm): Update call to ix86_expand_vec_perm_vpermi2.
11023         (ix86_expand_sse_unpack): Handle V64QImode.
11024         (expand_vec_perm_blend): Update conditions for TARGET, handle
11025         V8DFmode, V16SFmode, V32HImode, V64QImode, V16SImode, V8DImode.
11026         (expand_vec_perm_pshufb): Handle V64QImode.
11027         (expand_vec_perm_1): Handle V64QImode, V32HImode, V16SImode, V16SFmode,
11028         V8DFmode, V8DImode, V4DFmode, V2DFmode, V8SFmode, V4SFmode.
11029         (ix86_expand_vec_perm_const_1): Call  ix86_expand_vec_perm_vpermi2.
11030         (ix86_vectorize_vec_perm_const_ok): Handle V32HImode, V64QImode.
11031         (ix86_expand_vecop_qihi): Handle V64QImode.
11032         * config/i386/sse.md (define_mode_iterator VI1_AVX512): New.
11033         (define_mode_iterator VEC_PERM_AVX2): Add V32HI.
11034         (define_mode_iterator VEC_PERM_CONST): Add V32HI.
11035         (define_insn "<ssse3_avx2>_pshufb<mode>3<mask_name>"): Add masking.
11036         (mul<mode>3): Use VI1_AVX512.
11037         (<sse2_avx2>_packsswb): Ditto.
11038         (<sse2_avx2>_packuswb): Ditto.
11039         (<ssse3_avx2>_pshufb<mode>3): Ditto.
11040         (<shift_insn><mode>3): Ditto.
11042 2014-10-17  Kirill Yukhin  <kirill.yukhin@intel.com>
11044         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Refactor
11045         conditions to fix bootstrap.
11047 2014-10-17  Andrew MacLeod  <amacleod@redhat.com>
11049         gcc-plugin.h:  Add tm.h and flattened includes from function.h.
11051 2014-10-17  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11052             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11053             Anna Tikhonova  <anna.tikhonova@intel.com>
11054             Ilya Tocar  <ilya.tocar@intel.com>
11055             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11056             Ilya Verbin  <ilya.verbin@intel.com>
11057             Kirill Yukhin  <kirill.yukhin@intel.com>
11058             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11060         * config/i386/i386.c (ix86_expand_vector_init_duplicate): Handle V64QI
11061         and V32HI modes, update V8HI, V16QI, V32QI modes handling.
11062         (ix86_expand_vector_init_general): Handle V64QI and V32HI modes.
11063         * config/i386/sse.md (define_mode_iterator VI48F_512): Rename to ...
11064         (define_mode_iterator VF48_I1248): ... this. Extend to AVX-512 modes.
11065         (define_expand "vec_init<mode>"): Use VF48_I1248.
11067 2014-10-17  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11068             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11069             Anna Tikhonova  <anna.tikhonova@intel.com>
11070             Ilya Tocar  <ilya.tocar@intel.com>
11071             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11072             Ilya Verbin  <ilya.verbin@intel.com>
11073             Kirill Yukhin  <kirill.yukhin@intel.com>
11074             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11076         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Extend
11077         expand_sse2_mulvxdi3.
11079 2014-10-17  Richard Biener  <rguenther@suse.de>
11081         * fold-const.c (fold_comparison): Remove redundant constant
11082         folding and operand swapping.
11083         (fold_binary_loc): Do comparison operand swapping here.
11084         (fold_ternary_loc): Canonicalize operand order for
11085         commutative ternary operations.
11086         * tree.c (commutative_ternary_tree_code): Add DOT_PROD_EXPR
11087         and FMA_EXPR.
11089 2014-10-17  Jakub Jelinek  <jakub@redhat.com>
11091         PR tree-optimization/63464
11092         * gimple.h (gimple_seq_discard): New prototype.
11093         * gimple.c: Include stringpool.h and tree-ssanames.h.
11094         (gimple_seq_discard): New function.
11095         * optabs.h (lshift_cheap_p): New prototype.
11096         * optabs.c (lshift_cheap_p): New function, moved from...
11097         * tree-switch-conversion.c (lshift_cheap_p): ... here.
11098         * tree-ssa-reassoc.c: Include gimplify.h and optabs.h.
11099         (reassoc_branch_fixups): New variable.
11100         (update_range_test): Add otherrangep and seq arguments.
11101         Unshare exp.  If otherrange is NULL, use for other ranges
11102         array of pointers pointed by otherrangep instead.
11103         Emit seq before gimplified statements for tem.
11104         (optimize_range_tests_diff): Adjust update_range_test
11105         caller.
11106         (optimize_range_tests_xor): Likewise.  Fix up comment.
11107         (extract_bit_test_mask, optimize_range_tests_to_bit_test): New
11108         functions.
11109         (optimize_range_tests): Adjust update_range_test caller.
11110         Call optimize_range_tests_to_bit_test.
11111         (branch_fixup): New function.
11112         (execute_reassoc): Call branch_fixup.
11114         PR tree-optimization/63302
11115         * tree-ssa-reassoc.c (optimize_range_tests_xor,
11116         optimize_range_tests_diff): Use !integer_pow2p () instead of
11117         tree_log2 () < 0.
11119 2014-10-17  Martin Liska  <mliska@suse.cz>
11121         * ipa-icf.c (sem_function::merge): Local flags are set to false
11122         to enforce equal calling convention to be used.
11123         * opts.c (common_handle_option): Indentation fix.
11125 2014-10-17  Marc Glisse  <marc.glisse@inria.fr>
11127         * tree-into-ssa.c (is_old_name): Replace "new" with "old".
11129 2014-10-17  Tom de Vries  <tom@codesourcery.com>
11131         PR rtl-optimization/61605
11132         * regcprop.c (copyprop_hardreg_forward_1): Use
11133         regs_invalidated_by_this_call instead of regs_invalidated_by_call.
11135 2014-10-17  Tom de Vries  <tom@codesourcery.com>
11137         PR rtl-optimization/61605
11138         * regcprop.c (copyprop_hardreg_forward_1): Add copy_p and noop_p.  Don't
11139         notice stores for noops.  Don't regard noops as copies.
11141 2014-10-17  Uros Bizjak  <ubizjak@gmail.com>
11143         * config/i386/cpuid.h (__cpuid): Remove definitions that handle %ebx
11144         register in a special way.
11145         (__cpuid_count): Ditto.
11146         * config/i386/driver-i386.h: Protect with
11147         "#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))".
11148         (host_detect_local_cpu): Mention that GCC with non-fixed %ebx
11149         is required to compile the function.
11151 2014-10-16  DJ Delorie  <dj@redhat.com>
11153         * flag-types.h (sanitize_code): Don't assume targets have 32-bit
11154         integers.
11156         * config/rs6000/rs6000-c.c (rid_int128): New.
11157         (rs6000_macro_to_expand): Use instead of RID_INT128.
11159 2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
11161         * function.h: Flatten file.  Remove includes, adjust prototypes to
11162         reflect only what is in function.h.
11163         (enum direction, struct args_size, struct locate_and_pad_arg_data,
11164         ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Relocate
11165         from expr.h.
11166         (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Relocate from rtl.h.
11167         (optimize_function_for_size_p, optimize_function_for_speed_p): Move
11168         prototypes to predict.h.
11169         (init_varasm_status): Move prototype to varasm.h.
11170         * expr.h: Adjust include files.
11171         (enum direction, struct args_size, struct locate_and_pad_arg_data,
11172         ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Move
11173         to function.h.
11174         (locate_and_pad_parm): Move prototype to function.h.
11175         * rtl.h: (assign_stack_local, ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD,
11176         assign_stack_local_1, assign_stack_temp, assign_stack_temp_for_type,
11177         assign_temp, reposition_prologue_and_epilogue_notes,
11178         prologue_epilogue_contains, sibcall_epilogue_contains,
11179         update_temp_slot_address, maybe_copy_prologue_epilogue_insn,
11180         set_return_jump_label): Move prototypes to function.h.
11181         * predict.h (optimize_function_for_size_p,
11182         optimize_function_for_speed_p): Relocate prototypes from function.h.
11183         * shrink-wrap.h (emit_return_into_block, active_insn_between,
11184         convert_jumps_to_returns, emit_return_for_exit): Move prototypes to
11185         function.h.
11186         * varasm.h (init_varasm_status): Relocate prototype from function.h.
11187         * genattrtab.c (write_header): Add predict.h to include list.
11188         * genconditions.c (write_header): Add predict.h to include list.
11189         * genemit.c (main): Adjust header file includes.
11190         * gengtype.c (ifiles): Add flattened function.h header files.
11191         * genoutput.c (output_prologue): Add predict.h to include list.
11192         * genpreds.c (write_insn_preds_c): Adjust header file includes.
11193         * genrecog.c (write_header): Add flattened function.h header files.
11194         * alias.c: Adjust include files.
11195         * auto-inc-dec.c: Likewise.
11196         * basic-block.h: Likewise.
11197         * bb-reorder.c: Likewise.
11198         * bt-load.c: Likewise.
11199         * builtins.c: Likewise.
11200         * caller-save.c: Likewise.
11201         * calls.c: Likewise.
11202         * cfgbuild.c: Likewise.
11203         * cfgcleanup.c: Likewise.
11204         * cfgexpand.c: Likewise.
11205         * cfgloop.c: Likewise.
11206         * cfgloop.h: Likewise.
11207         * cfgrtl.c: Likewise.
11208         * cgraph.h: Likewise.
11209         * cgraphclones.c: Likewise.
11210         * cgraphunit.c: Likewise.
11211         * combine-stack-adj.c: Likewise.
11212         * combine.c: Likewise.
11213         * coverage.c: Likewise.
11214         * cprop.c: Likewise.
11215         * cse.c: Likewise.
11216         * cselib.c: Likewise.
11217         * dbxout.c: Likewise.
11218         * ddg.c: Likewise.
11219         * df-core.c: Likewise.
11220         * df-problems.c: Likewise.
11221         * df-scan.c: Likewise.
11222         * dojump.c: Likewise.
11223         * dwarf2cfi.c: Likewise.
11224         * dwarf2out.c: Likewise.
11225         * emit-rtl.c: Likewise.
11226         * except.c: Likewise.
11227         * explow.c: Likewise.
11228         * expr.c: Likewise.
11229         * final.c: Likewise.
11230         * function.c: Likewise.
11231         * gcse.c: Likewise.
11232         * gimple-fold.c: Likewise.
11233         * gimple-low.c: Likewise.
11234         * gimple-streamer.h: Likewise.
11235         * haifa-sched.c: Likewise.
11236         * ifcvt.c: Likewise.
11237         * ira.c: Likewise.
11238         * jump.c: Likewise.
11239         * lcm.c: Likewise.
11240         * loop-invariant.c: Likewise.
11241         * lra-assigns.c: Likewise.
11242         * lra-coalesce.c: Likewise.
11243         * lra-constraints.c: Likewise.
11244         * lra-eliminations.c: Likewise.
11245         * lra-lives.c: Likewise.
11246         * lra-spills.c: Likewise.
11247         * lra.c: Likewise.
11248         * lto-cgraph.c: Likewise.
11249         * lto-section-in.c: Likewise.
11250         * lto-section-out.c: Likewise.
11251         * lto-streamer-in.c: Likewise.
11252         * lto-streamer-out.c: Likewise.
11253         * mode-switching.c: Likewise.
11254         * modulo-sched.c: Likewise.
11255         * omp-low.c: Likewise.
11256         * optabs.c: Likewise.
11257         * passes.c: Likewise.
11258         * postreload-gcse.c: Likewise.
11259         * postreload.c: Likewise.
11260         * predict.c: Likewise.
11261         * profile.c: Likewise.
11262         * recog.c: Likewise.
11263         * ree.c: Likewise.
11264         * reg-stack.c: Likewise.
11265         * regcprop.c: Likewise.
11266         * reginfo.c: Likewise.
11267         * regrename.c: Likewise.
11268         * reload.c: Likewise.
11269         * reload1.c: Likewise.
11270         * reorg.c: Likewise.
11271         * resource.c: Likewise.
11272         * rtlanal.c: Likewise.
11273         * sched-deps.c: Likewise.
11274         * sched-ebb.c: Likewise.
11275         * sched-rgn.c: Likewise.
11276         * sel-sched-dump.c: Likewise.
11277         * sel-sched-ir.c: Likewise.
11278         * sel-sched.c: Likewise.
11279         * shrink-wrap.c: Likewise.
11280         * simplify-rtx.c: Likewise.
11281         * statistics.c: Likewise.
11282         * stmt.c: Likewise.
11283         * stor-layout.c: Likewise.
11284         * store-motion.c: Likewise.
11285         * symtab.c: Likewise.
11286         * targhooks.c: Likewise.
11287         * toplev.c: Likewise.
11288         * trans-mem.c: Likewise.
11289         * tree-cfg.c: Likewise.
11290         * tree-cfgcleanup.c: Likewise.
11291         * tree-dfa.c: Likewise.
11292         * tree-eh.c: Likewise.
11293         * tree-inline.c: Likewise.
11294         * tree-into-ssa.c: Likewise.
11295         * tree-nested.c: Likewise.
11296         * tree-nrv.c: Likewise.
11297         * tree-profile.c: Likewise.
11298         * tree-ssa-alias.c: Likewise.
11299         * tree-ssa-ccp.c: Likewise.
11300         * tree-ssa-copy.c: Likewise.
11301         * tree-ssa-copyrename.c: Likewise.
11302         * tree-ssa-dom.c: Likewise.
11303         * tree-ssa-operands.c: Likewise.
11304         * tree-ssa-propagate.c: Likewise.
11305         * tree-ssa-structalias.c: Likewise.
11306         * tree-ssa-tail-merge.c: Likewise.
11307         * tree-ssa-threadedge.c: Likewise.
11308         * tree-ssa-threadupdate.c: Likewise.
11309         * tree-ssa-uncprop.c: Likewise.
11310         * tree-ssa-uninit.c: Likewise.
11311         * tree-ssa.c: Likewise.
11312         * tree-stdarg.c: Likewise.
11313         * tree-tailcall.c: Likewise.
11314         * tree.c: Likewise.
11315         * tsan.c: Likewise.
11316         * valtrack.c: Likewise.
11317         * varasm.c: Likewise.
11318         * vmsdbgout.c: Likewise.
11319         * web.c: Likewise.
11320         * config/aarch64/aarch64.c: Add flattened includes from function.h.
11321         * config/alpha/alpha.c: Likewise.
11322         * config/arc/arc.c: Likewise.
11323         * config/arm/arm.c: Likewise.
11324         * config/avr/avr-log.c: Likewise.
11325         * config/avr/avr.c: Likewise.
11326         * config/bfin/bfin.c: Likewise.
11327         * config/c6x/c6x.c: Likewise.
11328         * config/cr16/cr16.c: Likewise.
11329         * config/cris/cris.c: Likewise.
11330         * config/darwin.c: Likewise.
11331         * config/epiphany/epiphany.c: Likewise.
11332         * config/epiphany/mode-switch-use.c: Likewise.
11333         * config/epiphany/resolve-sw-modes.c: Likewise.
11334         * config/fr30/fr30.c: Likewise.
11335         * config/frv/frv.c: Likewise.
11336         * config/h8300/h8300.c: Likewise.
11337         * config/i386/i386.c: Likewise.
11338         * config/ia64/ia64.c: Likewise.
11339         * config/iq2000/iq2000.c: Likewise.
11340         * config/lm32/lm32.c: Likewise.
11341         * config/m32c/m32c.c: Likewise.
11342         * config/m32r/m32r.c: Likewise.
11343         * config/m68k/m68k.c: Likewise.
11344         * config/mcore/mcore.c: Likewise.
11345         * config/mep/mep-pragma.c: Likewise.
11346         * config/mep/mep.c: Likewise.
11347         * config/microblaze/microblaze.c: Likewise.
11348         * config/mips/mips.c: Likewise.
11349         * config/mmix/mmix.c: Likewise.
11350         * config/mn10300/mn10300.c: Likewise.
11351         * config/moxie/moxie.c: Likewise.
11352         * config/msp430/msp430.c: Likewise.
11353         * config/nds32/nds32-cost.c: Likewise.
11354         * config/nds32/nds32-fp-as-gp.c: Likewise.
11355         * config/nds32/nds32-intrinsic.c: Likewise.
11356         * config/nds32/nds32-isr.c: Likewise.
11357         * config/nds32/nds32-md-auxiliary.c: Likewise.
11358         * config/nds32/nds32-memory-manipulation.c: Likewise.
11359         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
11360         * config/nds32/nds32-predicates.c: Likewise.
11361         * config/nds32/nds32.c: Likewise.
11362         * config/nios2/nios2.c: Likewise.
11363         * config/pa/pa.c: Likewise.
11364         * config/pdp11/pdp11.c: Likewise.
11365         * config/rl78/rl78.c: Likewise.
11366         * config/rs6000/rs6000.c: Likewise.
11367         * config/rx/rx.c: Likewise.
11368         * config/s390/s390.c: Likewise.
11369         * config/score/score.c: Likewise.
11370         * config/sh/sh.c: Likewise.
11371         * config/sparc/sparc.c: Likewise.
11372         * config/spu/spu.c: Likewise.
11373         * config/stormy16/stormy16.c: Likewise.
11374         * config/tilegx/tilegx.c: Likewise.
11375         * config/tilepro/tilepro.c: Likewise.
11376         * config/v850/v850.c: Likewise.
11377         * config/vax/vax.c: Likewise.
11378         * config/xtensa/xtensa.c: Likewise.
11380 2014-10-16  Richard Earnshaw  <rearnsha@arm.com>
11382         * config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
11383         (TARGET_LEGITIMIZE_ADDRESS): Redefine.
11385 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
11387         * config/sh/sh-protos.h (fldi_ok): Remove.
11388         * config/sh/sh.c (fldi_ok): Likewise.
11389         (sh_secondary_reload): Don't use fldi_ok.
11390         * config/sh/constraints.md (G constraint, H constraint): Don't use
11391         fldi_ok.
11393 2014-10-16  Martin Liska  <mliska@suse.cz>
11395         * ipa-icf.c (sem_item_optimizer::process_cong_reduction):
11396         Cast to unsigned long.
11397         (sem_item_optimizer::dump_cong_classes): Likewise.
11399 2014-10-16  Tom de Vries  <tom@codesourcery.com>
11401         * tree-into-ssa.c (update_ssa): Assert that there's no ssa use operand
11402         with SSA_NAME_IN_FREELIST.
11404 2014-10-16  Richard Biener  <rguenther@suse.de>
11406         PR middle-end/63554
11407         * builtins.c (fold_builtin_4): Do not call fold_builtin_strncat_chk.
11408         (fold_builtin_strncat_chk): Move ...
11409         * gimple-fold.c (gimple_fold_builtin_strncat_chk): ... here.
11410         (gimple_fold_builtin): Call gimple_fold_builtin_strncat_chk.
11412 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
11414         PR target/59401
11415         * config/sh/sh.h (CALL_REALLY_USED_REGISTERS): Expand macro and set
11416         GBR to 0.
11418 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11419             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11420             Anna Tikhonova  <anna.tikhonova@intel.com>
11421             Ilya Tocar  <ilya.tocar@intel.com>
11422             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11423             Ilya Verbin  <ilya.verbin@intel.com>
11424             Kirill Yukhin  <kirill.yukhin@intel.com>
11425             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11427         * config/i386/i386.c (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI,
11428         V64QI modes.
11430 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11431             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11432             Anna Tikhonova  <anna.tikhonova@intel.com>
11433             Ilya Tocar  <ilya.tocar@intel.com>
11434             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11435             Ilya Verbin  <ilya.verbin@intel.com>
11436             Kirill Yukhin  <kirill.yukhin@intel.com>
11437             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11439         * config/i386/i386.c (ix86_expand_vector_set): Handle V8DF, V8DI, V16SF,
11440         V16SI, V32HI, V64QI modes.
11442 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
11444         PR target/53513
11445         * config/sh/sh-protos.h (emit_sf_insn, emit_df_insn, expand_sf_unop,
11446         expand_sf_binop, expand_df_unop, expand_df_binop): Remove.
11448         * config/sh/sh.c (sh_emit_set_t_insn): Adjust generated insn pattern
11449         to match fp insn patterns.
11450         (calc_live_regs): Add FPSCR_MODES_REG and FPSCR_STAT_REG to the ignore
11451         list.
11452         (emit_sf_insn, emit_df_insn, expand_sf_unop, expand_sf_binop,
11453         expand_df_unop, expand_df_binop): Remove.
11454         (sh_conditional_register_usage): Mark FPSCR_MODES_REG and
11455         FPSCR_STAT_REG as not call clobbered.
11456         (sh_emit_mode_set): Emit fpscr store-modify-load sequence instead of
11457         invoking fpscr_set_from_mem.
11459         * config/sh/sh.h (MAX_REGISTER_NAME_LENGTH): Increase to 6.
11460         (SH_REGISTER_NAMES_INITIALIZER): Add names for FPSCR_MODES_REG and
11461         FPSCR_STAT_REG.
11462         (REGISTER_NAMES): Adjust.
11463         (SPECIAL_REGISTER_P): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
11464         (FIRST_PSEUDO_REGISTER): Increase to 156.
11465         (DWARF_FRAME_REGISTERS): Define as 153 to keep the original value.
11466         (FIXED_REGISTERS, CALL_USED_REGISTERS): Add FPSCR_MODES_REG and
11467         FPSCR_STAT_REG.
11468         (REG_CLASS_CONTENTS): Adjust ALL_REGS bit mask to include
11469         FPSCR_MODES_REG and FPSCR_STAT_REG.
11470         (REG_ALLOC_ORDER): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
11472         * config/sh/sh.md (FPSCR_MODES_REG, FPSCR_STAT_REG, FPSCR_PR,
11473         FPSCR_SZ): Add new constants.
11474         (UNSPECV_FPSCR_MODES, UNSPECV_FPSCR_STAT): Add new unspecv constants.
11476         (movpsi): Use TARGET_FPU_ANY condition, invoke gen_fpu_switch.
11477         (fpu_switch): Add use and set of FPSCR_STAT_REG and FPSCR_MODES_REG.
11478         Use TARGET_FPU_ANY condition.
11479         (fpu_switch peephole2): Remove.
11480         (fpu_switch split): Use simple_mem_operand to capture the mem and
11481         adjust split implementation.
11482         (extend_psi_si, truncate_si_psi): New insns.
11483         (toggle_sz, toggle_pr): Use FPSCR_SZ, FPSCR_PR constants.  Add
11484         set of FPSCR_MODES_REG.
11486         (push_e, push_4, pop_e, pop_4, movdf_i4, reload_indf__frn, movsf_ie,
11487         reload_insf__frn, force_mode_for_call, calli, calli_tbr_rel,
11488         calli_pcrel, call_pcrel, call_compact, call_compact_rettramp,
11489         call_valuei, call_valuei_tbr_rel, call_valuei_pcrel, call_value_pcrel,
11490         call_value_compact, call_value_compact_rettramp, call,
11491         call_pop_compact, call_pop_compact_rettramp, call_value, sibcalli,
11492         sibcalli_pcrel, sibcalli_thunk, sibcall_pcrel, sibcall_compact,
11493         sibcall, sibcall_valuei, sibcall_valuei_pcrel, sibcall_value_pcrel,
11494         sibcall_value_compact, sibcall_value, call_value_pop_compact,
11495         call_value_pop_compact_rettramp, various unnamed splits):
11496         Replace use of FPSCR_REG with use of FPSCR_MODES_REG.  Adjust gen_*
11497         function uses.
11499         (floatsisf2_i4, *floatsisf2_ie): Merge into floatsisf2_i4.
11500         (fix_truncsfsi2_i4, *fixsfsi): Merge into fix_truncsfsi2_i4.
11501         (cmpgtsf_t, cmpgtsf_t_i4): Merge into cmpgtsf_t.
11502         (cmpeqsf_t, cmpeqsf_t_i4): Merge into cmpeqsf_t.
11503         (ieee_ccmpeqsf_t, *ieee_ccmpeqsf_t_4): Merge into ieee_ccmpeqsf_t.
11505         (udivsi3_i4, divsi3_i4, addsf3_i, subsf3_i, mulsf3_i, fmasf4_i,
11506         *fmasf4, divsf3_i, floatsisf2_i4, fix_truncsfsi2_i4, cmpgtsf_t,
11507         cmpeqsf_t, ieee_ccmpeqsf_t, sqrtsf2_i, rsqrtsf2, fsca, adddf3_i,
11508         subdf3_i, muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i,
11509         cmpgtdf_t, cmpeqdf_t, *ieee_ccmpeqdf_t, sqrtdf2_i, extendsfdf2_i4,
11510         truncdfsf2_i4): Replace use of FPSCR_REG with clobber of FPSCR_STAT_REG
11511         and use of FPSCR_MODES_REG.  Adjust gen_* function uses.
11513 2014-10-16  Martin Liska  <mliska@suse.cz>
11514             Jan Hubicka  <hubicka@ucw.cz>
11516         * Makefile.in: New object files included.
11517         * cgraph.c (cgraph_node::dump): New cgraph_node flag icf_merged
11518         is printed.
11519         (verify_edge_corresponds_to_fndecl): More sensitive verification
11520         of nodes that are merged by IPA ICF.
11521         * cgraph.h (cgraph_node::num_references): New function.
11522         * cgraphunit.c (cgraph_node::expand_thunk): White space fixed.
11523         * common.opt: New options ipa-icf, ipa-icf-functions and
11524         ipa-icf-variables introduced.
11525         * doc/invoke.texi: Documentation of new options introduced.
11526         * ipa-icf-gimple.c: New file.
11527         * ipa-icf-gimple.h: New file.
11528         * ipa-icf.c: New file.
11529         * ipa-icf.h: New file.
11530         * lto-cgraph.c (lto_output_node): Streaming of icf_merged flag added.
11531         (input_overwrite_node): Likewise.
11532         * lto-section-in.c: New icf section added.
11533         * lto-streamer.h (enum lto_section_type): Likewise.
11534         * opts.c (common_handle_option): New option added.
11535         * passes.def: New pass included.
11536         * timevar.def: Time variable for IPA ICF added.
11537         * tree-pass.h: New IPA ICF pass entry point added.
11539 2014-10-16  Richard Biener  <rguenther@suse.de>
11541         PR tree-optimization/63168
11542         * tree-cfg.c (gimple_can_merge_blocks_p): Only protect
11543         latches if after merging they are no longer simple.
11544         * cfghooks.c (merge_blocks): Handle merging a latch block
11545         into another block.
11547 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11548             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11549             Anna Tikhonova  <anna.tikhonova@intel.com>
11550             Ilya Tocar  <ilya.tocar@intel.com>
11551             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11552             Ilya Verbin  <ilya.verbin@intel.com>
11553             Kirill Yukhin  <kirill.yukhin@intel.com>
11554             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11556         * config/i386/sse.md
11557         (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
11558         support AVX-512VL instructions.
11560 2014-10-16  DJ Delorie  <dj@redhat.com>
11562         * tree-core.h: Fix comment to not assume pointers are multiples of
11563         bytes.
11565 2014-10-15  Tom Tromey  <tromey@redhat.com>
11567         * timevar.h (class auto_timevar): New class.
11569 2014-10-15  Uros Bizjak  <ubizjak@gmail.com>
11571         PR go/59432
11572         * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
11573         Remove the second alternative.
11574         (regprefix): Remove mode attribute.
11575         (atomic_compare_and_swap<mode>): Do not fixup operand 2.
11576         * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.
11578         Revert:
11579         2013-11-05  Ian Lance Taylor  <iant@google.com>
11581         * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
11582         If possible, add .cfi directives to record change to bx.
11583         * config/i386/i386.c (ix86_emit_cfi): New function.
11584         * config/i386/i386-protos.h (ix86_emit_cfi): Declare.
11586 2014-10-15  Jan Hubicka  <hubicka@ucw.cz>
11588         PR lto/62026
11589         * cgraphclones.c (duplicate_thunk_for_node): Get body to have args
11590         to duplicate.
11591         * lto-streamer-out.c (lto_output): Handle correctly thunks that was born
11592         at WPA time.
11594 2014-10-15  Vladimir Makarov  <vmakarov@redhat.com>
11596         PR rtl-optimization/63448
11597         * lra-int.h (LRA_MAX_CONSTRAINT_ITERATION_NUMBER): Remove.
11598         (LRA_MAX_ASSIGNMENT_ITERATION_NUMBER): New.
11599         (LRA_MAX_INHERITANCE_PASSES): Use it.
11600         (lra_constraint_iter_after_spill): Remove.
11601         (lra_assignment_iter): New.
11602         (lra_assignment_iter_after_spill): New.
11603         * lra-assigns.c (lra_assignment_iter): New.
11604         (lra_assignment_iter_after_spill): New.
11605         (former_reload_pseudo_spill_p): New.
11606         (spill_for): Set up former_reload_pseudo_spill_p.
11607         (setup_live_pseudos_and_spill_after_risky): Ditto.
11608         (assign_by_spills): Ditto.
11609         (lra_assign): Increment lra_assignment_iter.  Print the iteration
11610         number.  Reset former_reload_pseudo_spill_p.  Check
11611         lra_assignment_iter_after_spill.
11612         * lra.c (lra): Remove lra_constraint_iter_after_spill.  Initialize
11613         lra_assignment_iter and lra_assignment_iter_after_spill.
11614         * lra-constraints.c (lra_constraint_iter_after_spill): Remove.
11615         (lra_constraints): Remove code with
11616         lra_assignment_iter_after_spill.
11618 2014-10-15  Teresa Johnson  <tejohnson@google.com>
11620         PR bootstrap/63432
11621         * tree-ssa-threadupdate.c (recompute_probabilities): Better
11622         overflow checking.
11624 2014-10-15  Renlin Li <renlin.li@arm.com>
11626         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
11627         __ARM_BIG_ENDIAN, __ARM_SIZEOF_MINIMAL_ENUM. Add __ARM_64BIT_STATE,
11628         __ARM_ARCH_ISA_A64, __ARM_FEATURE_CLZ, __ARM_FEATURE_IDIV,
11629         __ARM_FEATURE_UNALIGNED, __ARM_PCS_AAPCS64, __ARM_SIZEOF_WCHAR_T.
11631 2014-10-15  Richard Biener  <rguenther@suse.de>
11633         * gimple-fold.c (gimple_fold_call): Properly keep virtual
11634         SSA form up-to-date when devirtualizing a call to
11635         __builtin_unreachable and avoid fixing up EH info here.
11637 2014-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11638             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11639             Anna Tikhonova  <anna.tikhonova@intel.com>
11640             Ilya Tocar  <ilya.tocar@intel.com>
11641             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11642             Ilya Verbin  <ilya.verbin@intel.com>
11643             Kirill Yukhin  <kirill.yukhin@intel.com>
11644             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11646         * config/i386/sse.md (define_mode_iterator VI_AVX2): Extend
11647         to support AVX-512BW.
11648         (define_mode_iterator VI124_AVX2_48_AVX512F): Remove.
11649         (define_expand "<plusminus_insn><mode>3"): Remove masking support.
11650         (define_insn "*<plusminus_insn><mode>3"): Ditto.
11651         (define_expand "<plusminus_insn><VI48_AVX512VL:mode>3_mask"): New.
11652         (define_expand "<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
11653         (define_insn "*<plusminus_insn><VI48_AVX512VL:mode>3_mask"): Ditto.
11654         (define_insn "*<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
11655         (define_expand "<sse2_avx2>_andnot<mode>3"): Remove masking support.
11656         (define_insn "*andnot<mode>3"): Ditto.
11657         (define_expand "<sse2_avx2>_andnot<VI48_AVX512VL:mode>3_mask"): New.
11658         (define_expand "<sse2_avx2>_andnot<VI12_AVX512VL:mode>3_mask"): Ditto.
11659         (define_insn "*andnot<VI48_AVX512VL:mode>3<mask_name>"): Ditto.
11660         (define_insn "*andnot<VI12_AVX512VL:mode>3<mask_name>"): Ditto.
11661         (define_insn "*abs<mode>2"): Remove masking support.
11662         (define_insn "abs<VI48_AVX512VL:mode>2_mask"): New.
11663         (define_insn "abs<VI12_AVX512VL:mode>2_mask"): Ditto.
11664         (define_expand "abs<mode>2"): Use VI_AVX2 mode iterator.
11666 2014-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11667             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11668             Anna Tikhonova  <anna.tikhonova@intel.com>
11669             Ilya Tocar  <ilya.tocar@intel.com>
11670             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11671             Ilya Verbin  <ilya.verbin@intel.com>
11672             Kirill Yukhin  <kirill.yukhin@intel.com>
11673             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11675         * config/i386/predicates.md (define_predicate "constm1_operand"): New.
11676         * config/i386/sse.md
11677         (define_c_enum "unspec"): Add UNSPEC_CVTINT2MASK.
11678         (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI12_AVX512VL:mode>"): New.
11679         (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI48_AVX512VL:mode>"): Ditto.
11680         (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
11681         (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
11682         (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
11683         (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
11685 2014-10-15  Renlin Li <renlin.li@arm.com>
11687         * config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.
11689 2014-10-15  Jakub Jelinek  <jakub@redhat.com>
11691         * tree-ssa-reassoc.c (optimize_range_tests_diff): Perform
11692         MINUS_EXPR in unsigned type to avoid undefined behavior.
11694 2014-10-15  Eric Botcazou  <ebotcazou@adacore.com>
11696         * stor-layout.c (self_referential_size): Do not promote arguments.
11698 2014-10-15  Marek Polacek  <polacek@redhat.com>
11700         * doc/invoke.texi: Update to reflect that GNU11 is the default
11701         mode for C.
11702         * c-common.h (c_language_kind): Update comment.
11704 2014-10-15  Richard Biener  <rguenther@suse.de>
11706         * hash-table.c: Include bconfig.h if building for the host.
11707         * hash-table.h: Do not include ggc.h on the host but just declare
11708         a few ggc allocation templates.
11710 2014-10-15  Joern Rennecke  <joern.rennecke@embecosm.com>
11711             Jeff Law  <law@redhat.com>
11713         * caller-save.c (replace_reg_with_saved_mem): If saved_mode covers
11714         multiple hard registers, use smaller mode derived from MODE.
11716 2014-10-15  Andreas Schwab  <schwab@suse.de>
11718         * explow.c (convert_memory_address_addr_space_1): Mark in_const
11719         as ATTRIBUTE_UNUSED.
11721 2014-10-14  Jan Hubicka  <hubicka@ucw.cz>
11723         * loop-unroll.c: (decide_unrolling_and_peeling): Rename to
11724         (decide_unrolling): ... this one.
11725         (peel_loops_completely): Remove.
11726         (decide_peel_simple): Remove.
11727         (decide_peel_once_rolling): Remove.
11728         (decide_peel_completely): Remove.
11729         (peel_loop_simple): Remove.
11730         (peel_loop_completely): Remove.
11731         (unroll_and_peel_loops): Rename to ...
11732         (unroll_loops): ... this one; handle only unrolling.
11733         * cfgloop.h (lpt_dec): Remove LPT_PEEL_COMPLETELY and
11734         LPT_PEEL_SIMPLE.
11735         (UAP_PEEL): Remove.
11736         (unroll_and_peel_loops): Remove.
11737         (unroll_loops): New.
11738         * passes.def: Replace
11739         pass_rtl_unroll_and_peel_loops by pass_rtl_unroll_loops.
11740         * loop-init.c (gate_rtl_unroll_and_peel_loops,
11741         rtl_unroll_and_peel_loops): Rename to ...
11742         (gate_rtl_unroll_loops, rtl_unroll_loops): ... these; update.
11743         (pass_rtl_unroll_and_peel_loops): Rename to ...
11744         (pass_rtl_unroll_loops): ... this one.
11745         * tree-pass.h (make_pass_rtl_unroll_and_peel_loops): Remove.
11746         (make_pass_rtl_unroll_loops): New.
11747         * tree-ssa-loop-ivcanon.c: (estimated_peeled_sequence_size, try_peel_loop): New.
11748         (canonicalize_loop_induction_variables): Update.
11750 2014-10-14  Max Filippov  <jcmvbkbc@gmail.com>
11752         * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro.
11753         * config/xtensa/xtensa.md (*lsiu, *ssiu): add dependency on
11754         !TARGET_HARD_FLOAT_POSTINC.
11755         (*lsip, *ssip): new instructions.
11757 2014-10-14  Max Filippov  <jcmvbkbc@gmail.com>
11759         * config/xtensa/xtensa.md (divsf3, *recipsf2, sqrtsf2, *rsqrtsf2):
11760         remove.
11762 2014-10-14  Andrew Pinski  <apinski@cavium.com>
11764         * explow.c (convert_memory_address_addr_space): Rename to ...
11765         (convert_memory_address_addr_space_1): This.  Add in_const argument.
11766         Inside a CONST RTL, permute the conversion and addition of constant
11767         for zero and sign extended pointers.
11768         (convert_memory_address_addr_space): New function.
11770 2014-10-14  Andrew Pinski  <apinski@cavium.com>
11772         Revert:
11773         2011-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11775         PR middle-end/49721
11776         * explow.c (convert_memory_address_addr_space): Also permute the
11777         conversion and addition of constant for zero-extend.
11779 2014-10-14  DJ Delorie  <dj@redhat.com>
11781         * config/msp430/msp430-modes.def (PSI): Add.
11783         * config/msp430/msp430-protos.h (msp430_hard_regno_nregs_has_padding): New.
11784         (msp430_hard_regno_nregs_with_padding): New.
11785         * config/msp430/msp430.c (msp430_scalar_mode_supported_p): New.
11786         (msp430_hard_regno_nregs_has_padding): New.
11787         (msp430_hard_regno_nregs_with_padding): New.
11788         (msp430_unwind_word_mode): Use PSImode instead of SImode.
11789         (msp430_addr_space_legitimate_address_p): New.
11790         (msp430_asm_integer): New.
11791         (msp430_init_dwarf_reg_sizes_extra): New.
11792         (msp430_print_operand): Use X suffix for PSImode even in small model.
11793         * config/msp430/msp430.h (POINTER_SIZE): Use 20 bits, not 32.
11794         (PTR_SIZE): ...but 4 bytes for EH.
11795         (SIZE_TYPE): Use __int20.
11796         (PTRDIFF_TYPE): Likewise.
11797         (INCOMING_FRAME_SP_OFFSET): Adjust.
11798         * config/msp430/msp430.md (movqi_topbyte): New.
11799         (movpsi): Use fixed suffixes.
11800         (movsipsi2): Enable for 430X, not large model.
11801         (extendhipsi2): Likewise.
11802         (zero_extendhisi2): Likewise.
11803         (zero_extendhisipsi2): Likewise.
11804         (extend_and_shift1_hipsi2): Likewise.
11805         (extendpsisi2): Likewise.
11806         (*bitbranch<mode>4_z): Fix suffix logic.
11808 2014-10-14  Eric Botcazou  <ebotcazou@adacore.com>
11810         PR ada/62019
11811         * tree-eh.c (tree_could_trap) <FUNCTION_DECL>: Revamp and really
11812         do not choke on null node.
11813         <VAR_DECL>: Likewise.
11815 2014-10-14  DJ Delorie  <dj@redhat.com>
11817         * machmode.h (int_n_data_t): New.
11818         (int_n_enabled_p): New.
11819         (int_n_data): New.
11820         * tree.c (int_n_enabled_p): New.
11821         (int_n_trees): New.
11822         (make_or_reuse_type): Check for all __intN types, not just
11823         __int128.
11824         (build_common_tree_nodes): Likewise.  Also fill in integer_typs[]
11825         entries.
11826         * tree.h (int128_integer_type_node): Remove.
11827         (int128_unsigned_type_node): Remove.
11828         (int_n_trees_t): New.
11829         (int_n_enabled_p): New.
11830         (int_n_trees): New.
11831         * toplev.c (standard_type_bitsize): New.
11832         (do_compile): Check which __intN types are enabled for the current
11833         run.
11834         * builtin-types.def (BT_INT128): Remove.
11835         (BT_UINT128): Remove.
11836         * machmode.def: Add macro to create __int128 for all targets.
11837         * stor-layout.c (mode_for_size): Support __intN types.
11838         (smallest_mode_for_size): Likewise.
11839         (initialize_sizetypes): Support __intN types.
11840         * genmodes.c (struct mode_data): Add int_n field.
11841         (blank_mode): Likewise.
11842         (INT_N): New.
11843         (make_int_n): New.
11844         (emit_insn_modes_h): Count __intN entries and define
11845         NUM_INT_N_ENTS.
11846         (emit_mode_int_n): New.
11847         (emit_insn_modes_c): Call it.
11848         * gimple.c (gimple_signed_or_unsigned_type): Check for all __intN
11849         types, not just __int128.
11850         * tree-core.h (integer_type_kind): Remove __int128-specific
11851         entries, reserve spots for __intN entries.
11853         * config/msp430/msp430-modes.def (PSI): Add.
11855 2014-10-14  Kito Cheng  <kito@0xlab.org>
11857         * ira.c: Fix typo in comment.
11858         * ira.h: Ditto.
11859         * ira-build.c: Ditto.
11860         * ira-color.c: Ditto.
11861         * ira-emit.c: Ditto.
11862         * ira-int.h: Ditto.
11863         * ira-lives.c: Ditto.
11865 2014-10-14  Uros Bizjak  <ubizjak@gmail.com>
11867         PR rtl-optimization/63475
11868         * alias.c (true_dependence_1): Always use get_addr to extract
11869         true address operands from x_addr and mem_addr.  Use extracted
11870         address operands to check for references with alignment ANDs.
11871         Use extracted address operands with find_base_term and
11872         base_alias_check. For noncanonicalized operands call canon_rtx with
11873         extracted address operand.
11874         (write_dependence_1): Ditto.
11875         (may_alias_p): Ditto.  Remove unused calls to canon_rtx.
11877 2014-10-14  Evgeny Stupachenko  <evstupac@gmail.com>
11879         PR target/63534
11880         * config/i386/i386.c (ix86_expand_split_stack_prologue): Make
11881         __morestack local.
11883 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11884             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11885             Anna Tikhonova  <anna.tikhonova@intel.com>
11886             Ilya Tocar  <ilya.tocar@intel.com>
11887             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11888             Ilya Verbin  <ilya.verbin@intel.com>
11889             Kirill Yukhin  <kirill.yukhin@intel.com>
11890             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11892         * config/i386/i386.c
11893         (ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
11894         (ix86_expand_int_vcond): Ditto.
11896 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11897             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11898             Anna Tikhonova  <anna.tikhonova@intel.com>
11899             Ilya Tocar  <ilya.tocar@intel.com>
11900             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11901             Ilya Verbin  <ilya.verbin@intel.com>
11902             Kirill Yukhin  <kirill.yukhin@intel.com>
11903             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11905         * config/i386/i386.c
11906         (emit_reduc_half): Handle V64QI and V32HI mode.
11907         * config/i386/sse.md
11908         (define_mode_iterator VI_AVX512BW): New.
11909         (define_expand "reduc_<code>_<mode>"): Use VI512_48F_12BW.
11911 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11912             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11913             Anna Tikhonova  <anna.tikhonova@intel.com>
11914             Ilya Tocar  <ilya.tocar@intel.com>
11915             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11916             Ilya Verbin  <ilya.verbin@intel.com>
11917             Kirill Yukhin  <kirill.yukhin@intel.com>
11918             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11920         * config/i386/sse.md
11921         (define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.
11923 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11924             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11925             Anna Tikhonova  <anna.tikhonova@intel.com>
11926             Ilya Tocar  <ilya.tocar@intel.com>
11927             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11928             Ilya Verbin  <ilya.verbin@intel.com>
11929             Kirill Yukhin  <kirill.yukhin@intel.com>
11930             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11932         * config/i386/i386.c
11933         (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes.
11934         * config/i386/sse.md
11935         (define_mode_iterator VI): Add V64QI and V32HI modes.
11937 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11938             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11939             Anna Tikhonova  <anna.tikhonova@intel.com>
11940             Ilya Tocar  <ilya.tocar@intel.com>
11941             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11942             Ilya Verbin  <ilya.verbin@intel.com>
11943             Kirill Yukhin  <kirill.yukhin@intel.com>
11944             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11946         * config/i386/sse.md (define_mode_attr avx2_avx512f): Remove.
11948 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11949             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11950             Anna Tikhonova  <anna.tikhonova@intel.com>
11951             Ilya Tocar  <ilya.tocar@intel.com>
11952             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11953             Ilya Verbin  <ilya.verbin@intel.com>
11954             Kirill Yukhin  <kirill.yukhin@intel.com>
11955             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11957         * config/i386/sse.md
11958         (define_insn "*sse4_1_<code><mode>3<mask_name>"): Add masking.
11959         (define_insn "*sse4_1_<code><mode>3<mask_name>"): Ditto.
11961 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11962             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11963             Anna Tikhonova  <anna.tikhonova@intel.com>
11964             Ilya Tocar  <ilya.tocar@intel.com>
11965             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11966             Ilya Verbin  <ilya.verbin@intel.com>
11967             Kirill Yukhin  <kirill.yukhin@intel.com>
11968             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11970         * config/i386/sse.md
11971         (define_insn "avx512bw_umulhrswv32hi3<mask_name>"): New.
11972         (define_expand "<ssse3_avx2>_pmulhrsw<mode>3_mask"): Ditto.
11974 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
11975             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
11976             Anna Tikhonova  <anna.tikhonova@intel.com>
11977             Ilya Tocar  <ilya.tocar@intel.com>
11978             Andrey Turetskiy  <andrey.turetskiy@intel.com>
11979             Ilya Verbin  <ilya.verbin@intel.com>
11980             Kirill Yukhin  <kirill.yukhin@intel.com>
11981             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
11983         * config/i386/sse.md
11984         (define_c_enum "unspec"): Add UNSPEC_PMADDWD512.
11985         (define_mode_iterator VI2_AVX2): Add V32HI mode.
11986         (define_expand "mul<mode>3<mask_name>"): Add masking.
11987         (define_insn "*mul<mode>3<mask_name>"): Ditto.
11988         (define_expand "<s>mul<mode>3_highpart<mask_name>"): Ditto.
11989         (define_insn "*<s>mul<mode>3_highpart<mask_name>"): Ditto.
11990         (define_insn "avx512bw_pmaddwd512<mode><mask_name>"): New.
11991         (define_mode_attr SDOT_PMADD_SUF): Ditto.
11992         (define_expand "sdot_prod<mode>"): Add <SDOT_PMADD_SUF>.
11993         (define_insn "<sse2_avx2>_packssdw<mask_name>"): Add masking.
11994         (define_insn "*<ssse3_avx2>_pmulhrsw<mode>3<mask_name>"): Ditto.
11995         (define_insn "avx2_packusdw"): Delete.
11996         (define_insn "sse4_1_packusdw"): Ditto.
11997         (define_insn "<sse4_1_avx2>_packusdw<mask_name>"): New.
11999 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12000             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12001             Anna Tikhonova  <anna.tikhonova@intel.com>
12002             Ilya Tocar  <ilya.tocar@intel.com>
12003             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12004             Ilya Verbin  <ilya.verbin@intel.com>
12005             Kirill Yukhin  <kirill.yukhin@intel.com>
12006             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12008         * config/i386/sse.md
12009         (define_insn "vec_dup<mode>"): Update constraints.
12011 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12012             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12013             Anna Tikhonova  <anna.tikhonova@intel.com>
12014             Ilya Tocar  <ilya.tocar@intel.com>
12015             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12016             Ilya Verbin  <ilya.verbin@intel.com>
12017             Kirill Yukhin  <kirill.yukhin@intel.com>
12018             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12020         * config/i386/sse.md
12021         (define_mode_iterator SSESCALARMODE): Add V4TI mode.
12022         (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New.
12023         (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
12025 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12026             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12027             Anna Tikhonova  <anna.tikhonova@intel.com>
12028             Ilya Tocar  <ilya.tocar@intel.com>
12029             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12030             Ilya Verbin  <ilya.verbin@intel.com>
12031             Kirill Yukhin  <kirill.yukhin@intel.com>
12032             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12034         * config/i386/sse.md
12035         (define_expand "mul<mode>3<mask_name>"): Add masking.
12037 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12038             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12039             Anna Tikhonova  <anna.tikhonova@intel.com>
12040             Ilya Tocar  <ilya.tocar@intel.com>
12041             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12042             Ilya Verbin  <ilya.verbin@intel.com>
12043             Kirill Yukhin  <kirill.yukhin@intel.com>
12044             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12046         * config/i386/sse.md
12047         (define_insn "<sse2_avx2>_packsswb<mask_name>"): Add masking.
12048         (define_insn "<sse2_avx2>_packuswb<mask_name>"): Ditto.
12050 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12051             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12052             Anna Tikhonova  <anna.tikhonova@intel.com>
12053             Ilya Tocar  <ilya.tocar@intel.com>
12054             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12055             Ilya Verbin  <ilya.verbin@intel.com>
12056             Kirill Yukhin  <kirill.yukhin@intel.com>
12057             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12059         * config/i386/sse.md
12060         (define_c_enum "unspec"): Add UNSPEC_DBPSADBW, UNSPEC_PMADDUBSW512.
12061         (define_insn "avx512bw_pmaddubsw512<mode><mask_name>"): New.
12062         (define_insn "<mask_codefor>avx512bw_dbpsadbw<mode><mask_name>"):
12063         Ditto.
12065 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12066             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12067             Anna Tikhonova  <anna.tikhonova@intel.com>
12068             Ilya Tocar  <ilya.tocar@intel.com>
12069             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12070             Ilya Verbin  <ilya.verbin@intel.com>
12071             Kirill Yukhin  <kirill.yukhin@intel.com>
12072             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12074         * config/i386/sse.md
12075         (define_insn "<sse>_andnot<VF_128_256:mode>3<mask_name>"): Add masking,
12076         use VF_128_256 mode iterator and update assembler emit code.
12077         (define_insn "<sse>_andnot<VF_512:mode>3<mask_name>"): New.
12078         (define_expand "<any_logic:code><VF_128_256:mode>3<mask_name>"):
12079         Add masking, use VF_128_256 mode iterator.
12080         (define_expand "<any_logic:code><VF_512:mode>3<mask_name>"): New.
12081         (define_insn "*<any_logic:code><VF_128_256:mode>3<mask_name>"):
12082         Add masking, use VF_128_256 mode iterator and update assembler emit
12083         code.
12084         (define_insn "*<any_logic:code><VF_512:mode>3<mask_name>"): New.
12085         (define_mode_attr avx512flogicsuff): Delete.
12086         (define_insn "avx512f_<logic><mode>"): Ditto.
12087         (define_insn "*andnot<mode>3<mask_name>"): Update MODE_XI, MODE_OI,
12088         MODE_TI.
12089         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
12091 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12092             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12093             Anna Tikhonova  <anna.tikhonova@intel.com>
12094             Ilya Tocar  <ilya.tocar@intel.com>
12095             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12096             Ilya Verbin  <ilya.verbin@intel.com>
12097             Kirill Yukhin  <kirill.yukhin@intel.com>
12098             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12100         * config/i386/sse.md
12101         (define_mode_iterator VI128_128 [V16QI V8HI V2DI]): Delete.
12102         (define_expand "vashr<mode>3<mask_name>"): Add masking,
12103         use VI12_128 mode iterator.
12104         (define_expand "ashrv2di3<mask_name>"): New.
12106 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12107             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12108             Anna Tikhonova  <anna.tikhonova@intel.com>
12109             Ilya Tocar  <ilya.tocar@intel.com>
12110             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12111             Ilya Verbin  <ilya.verbin@intel.com>
12112             Kirill Yukhin  <kirill.yukhin@intel.com>
12113             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12115         * config/i386/i386.c
12116         (ix86_expand_args_builtin): Handle CODE_FOR_avx512vl_cmpv4di3_mask,
12117         CODE_FOR_avx512vl_cmpv8si3_mask, CODE_FOR_avx512vl_ucmpv4di3_mask,
12118         CODE_FOR_avx512vl_ucmpv8si3_mask, CODE_FOR_avx512vl_cmpv2di3_mask,
12119         CODE_FOR_avx512vl_cmpv4si3_mask, CODE_FOR_avx512vl_ucmpv2di3_mask,
12120         CODE_FOR_avx512vl_ucmpv4si3_mask.
12121         * config/i386/sse.md
12122         (define_insn "avx512f_ucmp<mode>3<mask_scalar_merge_name>"): Delete.
12123         "<avx512>_ucmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name>"):New.
12124         (define_insn
12125         "<avx512>_ucmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name>"):Ditto.
12126         (define_expand "<avx512>_eq<mode>3<mask_scalar_merge_name>"): Ditto.
12127         (define_insn "<avx512>_eq<mode>3<mask_scalar_merge_name>_1"): Ditto.
12128         (define_insn "<avx512>_gt<mode>3<mask_scalar_merge_name>"): Ditto.
12129         (define_insn "<avx512>_testm<mode>3<mask_scalar_merge_name>"): Ditto.
12130         (define_insn "<avx512>_testnm<mode>3<mask_scalar_merge_name>"): Ditto.
12132 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12133             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12134             Anna Tikhonova  <anna.tikhonova@intel.com>
12135             Ilya Tocar  <ilya.tocar@intel.com>
12136             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12137             Ilya Verbin  <ilya.verbin@intel.com>
12138             Kirill Yukhin  <kirill.yukhin@intel.com>
12139             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12141         * config/i386/sse.md
12142         (define_expand "vec_widen_umult_even_v8si<mask_name>"): Add masking.
12143         (define_insn "*vec_widen_umult_even_v8si<mask_name>"): Ditto.
12144         (define_expand "vec_widen_umult_even_v4si<mask_name>"): Ditto.
12145         (define_insn "*vec_widen_umult_even_v4si<mask_name>"): Ditto.
12146         (define_expand "vec_widen_smult_even_v8si<mask_name>"): Ditto.
12147         (define_insn "*vec_widen_smult_even_v8si<mask_name>"): Ditto.
12148         (define_expand "sse4_1_mulv2siv2di3<mask_name>"): Ditto.
12149         (define_insn "*sse4_1_mulv2siv2di3<mask_name>"): Ditto.
12150         (define_insn "avx512dq_mul<mode>3<mask_name>"): New.
12152 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12153             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12154             Anna Tikhonova  <anna.tikhonova@intel.com>
12155             Ilya Tocar  <ilya.tocar@intel.com>
12156             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12157             Ilya Verbin  <ilya.verbin@intel.com>
12158             Kirill Yukhin  <kirill.yukhin@intel.com>
12159             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12161         * config/i386/sse.md
12162         (define_insn "avx512f_blendm<mode>"): Delete.
12163         (define_insn "<avx512>_blendm<VI48_AVX512VL:mode>"): New.
12164         (define_insn "<avx512>_blendm<VI12_AVX512VL:mode>"): Ditto..
12165         (define_mode_attr cmp_imm_predicate): Add V8SF, V4DF, V8SI, V4DI, V4SF,
12166         V2DF, V4SI, V2DI, V32HI, V64QI, V16HI, V32QI, V8HI, V16QI modes.
12167         (define_insn
12168         "avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>"):
12169         Remove.
12170         (define_insn
12171         "<avx512>_cmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
12172         New.
12173         (define_insn
12174         "<avx512>_cmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
12175         Ditto.
12176         (define_insn "<mask_codefor>avx512f_vec_dup<mode><mask_name>"): Delete.
12177         (define_insn "<avx512>_vec_dup<V48_AVX512VL:mode><mask_name>"): New.
12178         (define_insn "<avx512>_vec_dup<V12_AVX512VL:mode><mask_name>"): Ditto.
12179         (define_insn "<mask_codefor>avx512f_vec_dup_gpr<mode><mask_name>"):
12180         Delete.
12181         (define_insn
12182         "<mask_codefor><avx512>_vec_dup_gpr<VI48_AVX512VL:mode><mask_name>"):
12183         New.
12184         (define_insn
12185         "<mask_codefor><avx512>_vec_dup_gpr<VI12_AVX512VL:mode><mask_name>"):
12186         Ditto.
12187         (define_insn·"<mask_codefor>avx512f_vec_dup_mem<mode><mask_name>"):
12188         Delete.
12189         (define_insn
12190         "<mask_codefor><avx512>_vec_dup_mem<VI48_AVX512VL:mode><mask_name>"):
12191         New.
12192         (define_insn
12193         "<mask_codefor><avx512>_vec_dup_mem<VI12_AVX512VL:mode><mask_name>"):
12194         Ditto.
12196 2014-10-14  Richard Biener  <rguenther@suse.de>
12198         PR tree-optimization/63512
12199         * tree-ssa-pre.c (create_expression_by_pieces): Mark stmts
12200         modified.
12202 2014-10-14  Oleg Endo  <olegendo@gcc.gnu.org>
12204         PR target/63260
12205         * config/sh/sh.md (negsf2, negsf2_i, negdf2, negdf2_i, abssf2,
12206         abssf2_i, absdf2, absdf2_i): Remove fp_mode attribute.  Remove use
12207         of FPSCR.
12208         (negsf2_i): Rename to *negsf2_i.
12209         (abssf2_i): Rename to *abssf2_i.
12210         (negdf2_i): Rename to *negdf2_i.
12211         (absdf2_i): Rename to *absdf2_i.
12213 2014-10-14  Felix Yang  <felix.yang@huawei.com>
12214             Jeff Law  <law@redhat.com>
12216         * ira.c (struct equivalence): Change member "is_arg_equivalence" and
12217         "replace" into boolean bitfields; turn member "loop_depth" into a short
12218         integer; add new member "no_equiv" and "reserved".
12219         (no_equiv): Set no_equiv of struct equivalence if register is marked
12220         as having no known equivalence.
12221         (update_equiv_regs): Check all definitions for a multiple-set
12222         register to make sure that the RHS have the same value.
12224 2014-10-13  Richard Henderson  <rth@redhat.com>
12226         * combine-stack-adj.c (no_unhandled_cfa): New.
12227         (maybe_merge_cfa_adjust): New.
12228         (combine_stack_adjustments_for_block): Use them.
12230 2014-10-13  Aldy Hernandez  <aldyh@redhat.com>
12232         * Makefile.in (TAGS): Tag ../include files.
12234 2014-10-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12236         * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Pass format argument
12237         to rs6000_dbx_register_number.
12238         (DWARF_FRAME_REGNUM): Redefine as identity map.
12239         (DWARF2_FRAME_REG_OUT): Call rs6000_dbx_register_number.
12240         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Update.
12241         * config/rs6000/rs6000.c (rs6000_dbx_register_number): Add format
12242         argument to handle .debug_frame and .eh_frame directly.  Always
12243         translate SPE high register numbers.  Add special treatment for CR,
12244         but only in .debug_frame.  Respect RS6000_USE_DWARF_NUMBERING.
12246         * config/rs6000/sysv.h (DBX_REGISTER_NUMBER): Do not undefine.
12247         * config/rs6000/freebsd.h (DBX_REGISTER_NUMBER): Remove.
12248         (RS6000_USE_DWARF_NUMBERING): Define.
12249         * config/rs6000/freebsd64.h (DBX_REGISTER_NUMBER): Remove.
12250         (RS6000_USE_DWARF_NUMBERING): Define.
12251         * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Remove.
12252         (RS6000_USE_DWARF_NUMBERING): Define.
12253         * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Remove.
12254         (RS6000_USE_DWARF_NUMBERING): Define.
12255         * config/rs6000/aix.h (RS6000_USE_DWARF_NUMBERING): Define.
12256         * config/rs6000/darwin.h (RS6000_USE_DWARF_NUMBERING): Define.
12258 2014-10-13  Evgeny Stupachenko  <evstupac@gmail.com>
12260         * config/i386/i386.c (ix86_address_cost): Lower cost for
12261         when address contains GOT register.
12263 2014-10-13  Ilya Enkovich  <ilya.enkovich@intel.com>
12264             Vladimir Makarov  <vmakarov@redhat.com>
12266         PR target/8340
12267         PR middle-end/47602
12268         PR rtl-optimization/55458
12269         * config/i386/i386.c (ix86_use_pseudo_pic_reg): New.
12270         (ix86_init_pic_reg): New.
12271         (ix86_select_alt_pic_regnum): Add check on pseudo register.
12272         (ix86_save_reg): Likewise.
12273         (ix86_expand_prologue): Remove PIC register initialization
12274         now performed in ix86_init_pic_reg.
12275         (ix86_output_function_epilogue): Add check on pseudo register.
12276         (set_pic_reg_ever_alive): New.
12277         (legitimize_pic_address): Replace df_set_regs_ever_live with new
12278         set_pic_reg_ever_alive.
12279         (legitimize_tls_address): Likewise.
12280         (ix86_pic_register_p): New check.
12281         (ix86_delegitimize_address): Add check on pseudo register.
12282         (ix86_expand_call): Insert move from pseudo PIC register to ABI
12283         defined REAL_PIC_OFFSET_TABLE_REGNUM.
12284         (TARGET_INIT_PIC_REG): New.
12285         (TARGET_USE_PSEUDO_PIC_REG): New.
12286         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Return INVALID_REGNUM
12287         if pic_offset_table_rtx exists.
12288         * doc/tm.texi.in (TARGET_USE_PSEUDO_PIC_REG, TARGET_INIT_PIC_REG):
12289         Document.
12290         * doc/tm.texi: Regenerate.
12291         * function.c (assign_parms): Generate pseudo register for PIC.
12292         * init-regs.c (initialize_uninitialized_regs): Ignor pseudo PIC
12293         register.
12294         * ira-color.c (color_pass): Add check on pseudo register.
12295         * ira-emit.c (change_loop): Don't create copies for PIC pseudo
12296         register.
12297         * ira.c (split_live_ranges_for_shrink_wrap): Add check on pseudo
12298         register.
12299         (ira): Add target specific PIC register initialization.
12300         (do_reload): Keep PIC pseudo register.
12301         * lra-assigns.c (spill_for): Add checks on pseudo register.
12302         * lra-constraints.c (contains_symbol_ref_p): New.
12303         (lra_constraints): Enable lra risky transformations when PIC is pseudo
12304         register.
12305         * shrink-wrap.c (try_shrink_wrapping): Add check on pseudo register.
12306         * target.def (use_pseudo_pic_reg): New.
12307         (init_pic_reg): New.
12309 2014-10-13  Evgeny Stupachenko  <evstupac@gmail.com>
12311         * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY):
12312         Remove m_SILVERMONT and m_INTEL from the tune.
12314 2014-10-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12316         PR libfortran/63471
12317         * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
12318         when _HPUX_SOURCE is defined.
12320 2014-10-13  Jan Hubicka  <hubicka@ucw.cz>
12322         PR tree-optimization/62127
12323         * tree.c (remap_type_1): When remapping array, remap
12324         also its type.
12326 2014-10-13  Christophe Lyon  <christophe.lyon@linaro.org>
12328         * Makefile.in: (check-%): Update comment, as RUNTESTFLAGS no
12329         longer impact parallelization.
12331 2014-10-13  Jan Hubicka  <hubicka@ucw.cz>
12333         PR bootstrap/63496
12334         * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
12336 2014-10-13  Marat Zakirov  <m.zakirov@samsung.com>
12338         * asan.c (instrument_derefs): BIT_FIELD_REF added.
12340 2014-10-13  Richard Biener  <rguenther@suse.de>
12342         PR tree-optimization/63419
12343         * gimple-fold.h (gimple_convert): New function.
12344         * gimple-fold.c (gimple_convert): Likewise.
12345         * tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
12346         to split out required conversions early.
12348 2014-10-13  Richard Sandiford  <richard.sandiford@arm.com>
12350         * rtlanal.c (generic_subrtx_iterator <T>::add_subrtxes_to_queue):
12351         Add the parts of an insn in reverse order, with the pattern at
12352         the top of the queue.  Detect when we're iterating over a SEQUENCE
12353         pattern and in that case just consider patterns of subinstructions.
12355 2014-10-12  Oleg Endo  <olegendo@gcc.gnu.org>
12357         PR target/59401
12358         * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
12359         of rtx.
12360         * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
12361         insn walking.
12362         (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
12363         address.  Use def chains to handle GBR clobbering call insns.
12365 2014-10-12  Trevor Saunders  <tsaunders@mozilla.com>
12367         * asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
12368         config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
12369         config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
12370         function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
12371         output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
12372         tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
12373         * doc/gty.texi (for_user): Document new option.
12374         * gengtype.c (create_user_defined_type): Don't try to get a struct for
12375         char.
12376         (walk_type): Don't error out on for_user option.
12377         (write_func_for_structure): Emit user marking routines if requested by
12378         for_user option.
12379         (write_local_func_for_structure): Likewise.
12380         (main): Mark types with for_user option as used.
12381         * ggc.h (gt_pch_nx): Add overload for unsigned int.
12382         * hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
12383         * hash-table.h (ggc_hasher): New struct.
12384         (hash_table::create_ggc): New function.
12385         (gt_pch_nx): New overload for hash_table.
12387 2014-10-11  Oleg Endo  <olegendo@gcc.gnu.org>
12389         * config/sh/sh.h (TARGET_SH4A_ARCH): Remove macro.
12390         * config/sh/sh.h: Replace uses of TARGET_SH4A_ARCH with TARGET_SH4A.
12391         * config/sh/sh.c: Likewise.
12392         * config/sh/sh-mem.cc: Likewise.
12393         * config/sh/sh.md: Likewise.
12394         * config/sh/predicates.md: Likewise.
12395         * config/sh/sync.md: Likewise.
12397 2014-10-11  Martin Liska  <mliska@suse.cz>
12399         PR middle-end/63376
12400         * cgraphunit.c (symbol_table::process_new_functions): Missing call
12401         for call_cgraph_insertion_hooks added.
12403 2014-10-10  Jakub Jelinek  <jakub@redhat.com>
12405         PR c/63495
12406         * stor-layout.c (min_align_of_type): Don't decrease alignment
12407         through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
12408         TYPE_USER_ALIGN is set.
12410 2014-10-10  Uros Bizjak  <ubizjak@gmail.com>
12412         PR rtl-optimization/63483
12413         * alias.c (true_dependence_1): Do not exit early for MEM_READONLY_P
12414         references when alignment ANDs are involved.
12415         (write_dependence_p): Ditto.
12416         (may_alias_p): Ditto.
12418 2014-10-10  Marek Polacek  <polacek@redhat.com>
12420         * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_OBJECT_SIZE.
12421         * doc/invoke.texi: Document -fsanitize=object-size.
12422         * flag-types.h (enum sanitize_code): Add SANITIZE_OBJECT_SIZE and
12423         or it into SANITIZE_UNDEFINED.
12424         * gimple-fold.c (gimple_fold_call): Optimize IFN_UBSAN_OBJECT_SIZE.
12425         * internal-fn.c (expand_UBSAN_OBJECT_SIZE): New function.
12426         * internal-fn.def (UBSAN_OBJECT_SIZE): Define.
12427         * opts.c (common_handle_option): Handle -fsanitize=object-size.
12428         * ubsan.c: Include tree-object-size.h.
12429         (ubsan_type_descriptor): Call tree_to_uhwi instead of tree_to_shwi.
12430         (ubsan_expand_bounds_ifn): Use false instead of 0.
12431         (ubsan_expand_objsize_ifn): New function.
12432         (instrument_object_size): New function.
12433         (pass_ubsan::execute): Add object size instrumentation.
12434         * ubsan.h (ubsan_expand_objsize_ifn): Declare.
12436 2014-10-10  Richard Henderson  <rth@redhat.com>
12438         PR target/63404
12439         * shrink-wrap.c (move_insn_for_shrink_wrap): Don't use single_set.
12440         Restrict the set of expressions we're willing to move.
12442 2014-10-10  Jeff Law  <law@redhat.com>
12444         * ira.c (struct equivalence): Promote INIT_INSNs field to
12445         an rtx_insn_list.  Add comments.
12446         (no_equiv): Promote LIST to an rtx_insn_list.  Update
12447         testing for and creating the special marker.  Use methods
12448         to extract the insn and next pointers.  Promote INSN to an
12449         rtx_insn.
12450         (update_equiv_regs): Update test for special marker in the
12451         INIT_INSNs list.
12453 2014-10-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
12455         * configure.ac: Add --enable-fix-cortex-a53-835769 option.
12456         * configure: Regenerate.
12457         * config/aarch64/aarch64.c (aarch64_override_options): Handle
12458         TARGET_FIX_ERR_A53_835769_DEFAULT.
12459         * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init
12460         value to 2.
12461         * doc/install.texi (aarch64*-*-*): Document
12462         new --enable-fix-cortex-a53-835769 option.
12464 2014-10-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
12465             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
12467         * config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
12468         (ADJUST_INSN_LENGTH): Define.
12469         * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
12470         * config/aarch64/aarch64.c (is_mem_p): New function.
12471         (is_memory_op): Likewise.
12472         (aarch64_prev_real_insn): Likewise.
12473         (is_madd_op): Likewise.
12474         (dep_between_memop_and_curr): Likewise.
12475         (aarch64_madd_needs_nop): Likewise.
12476         (aarch64_final_prescan_insn): Likewise.
12477         * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
12478         and -mno-fix-cortex-a53-835769 options.
12480 2014-10-10  Jakub Jelinek  <jakub@redhat.com>
12482         PR tree-optimization/63464
12483         * tree-switch-conversion.c (struct case_bit_test): Remove
12484         hi and lo fields, add wide_int mask field.
12485         (emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
12486         hi/lo fields into wide_int mask operations, optimize by pretending
12487         minval to be 0 if maxval is small enough.
12488         (process_switch): Adjust caller.
12490 2014-10-10  Richard Biener  <rguenther@suse.de>
12492         PR tree-optimization/63379
12493         * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
12494         a neutral operand for min/max when it is not a reduction chain.
12496 2014-10-10  Richard Biener  <rguenther@suse.de>
12498         PR tree-optimization/63476
12499         * tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
12500         (BB_LIVE_VOP_ON_EXIT): New define.
12501         (create_expression_by_pieces): Assign VUSEs to stmts.
12502         (compute_avail): Track BB_LIVE_VOP_ON_EXIT.
12503         (pass_pre::execute): Assert virtual SSA form is up-to-date
12504         after insertion.
12506 2014-10-10  Eric Botcazou  <ebotcazou@adacore.com>
12508         * lra-assigns.c (assign_by_spills): Error out on spill failure.
12510 2014-10-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12512         * pa-polymorphic-call.c (check_stmt_for_type_change): Move
12513         assertion.
12515 2014-10-09  Richard Biener  <rguenther@suse.de>
12517         PR tree-optimization/63380
12518         * tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
12519         may trap.
12521 2014-10-09  Joern Rennecke  <joern.rennecke@embecosm.com>
12523         * config/avr/avr.opt (mmcu=): Change to have a string value.
12524         (mn-flash=, mskip-bug, march=, mrmw): New options.
12525         (HeaderInclude): New.
12526         (mmcu=): Remove Var / Init clauses.
12527         * config/avr/avr.h (DRIVER_SELF_SPECS): Translate -mmcu into a
12528         -specs option.
12529         (SYMBOL_FLAG_IO, SYMBOL_FLAG_ADDRESS): Define.
12530         (ASM_OUTPUT_ALIGNED_BSS): Use avr_asm_asm_output_aligned_bss.
12531         (SYMBOL_FLAG_IO_LOW): Define.
12532         (avr_device_to_as, avr_device_to_ld): Don't declare.
12533         (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
12534         (avr_device_to_devicelib, avr_device_to_sp8): Likewise.
12535         (EXTRA_SPEC_FUNCTIONS): Don't define.
12536         (ASM_SPEC): Translate -arch= option to -mmcu= option.
12537         (LINK_SPEC): Translate -arch= option to -m= option.
12538         Don't use device_to_ld / device_to_data_start.
12539         (STARTFILE_SPEC): Now empty.
12540         (ASM_SPEC): Add -%{mrelax: --mlink-relax}.
12541         * config/avr/gen-avr-mmcu-specs.c: New file.
12542         * config/avr/t-avr (gen-avr-mmcu-specs$(build_exeext)): New rule.
12543         (s-device-specs): Likewise.
12544         (GCC_PASSES): Add s-device-specs.
12545         (install-driver): Depend on install-device-specs.
12546         (install-device-specs): New rule.
12547         * config/avr/avr.c (avr_option_override): Look up mcu arch by
12548         avr_arch_index and provide fallback initialization for avr_n_flash.
12549         (varasm.h): #include.
12550         (avr_print_operand) <i>: Allow SYMBOL_REF with SYMBOL_FLAG_IO;
12551         (avr_handle_addr_attribute, avr_eval_addr_attrib): New functions.
12552         (avr_attribute_table): Add "io", "address" and "io_low".
12553         (avr_asm_output_aligned_decl_common): Change type of decl to tree.
12554         Add special handling for symbols with "io" and/or "address" attributes.
12555         (avr_asm_asm_output_aligned_bss): New function.
12556         (avr_encode_section_info): Set SYMBOL_FLAG_IO and SYMBOL_FLAG_ADDRESS
12557         as appropriate.  Handle io_low attribute.
12558         (avr_out_sbxx_branch): Handle symbolic io addresses.
12559         (avr_xload_libgcc_p, avr_nonconst_pointer_addrspace): Use
12560         avr_n_flash instead of avr_current_device->n_flash.
12561         (avr_pgm_check_var_decl, avr_insert_attributes): Likewise.
12562         (avr_emit_movmemhi): Likewise.
12563         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Likewise.
12564         Use TARGET_RMW instead of avr_current_device->dev_attributes.
12565         Don't define avr_current_device->macro (that's the specfile's job).
12566         Use TARGET_SKIP_BUG instead of avr_current_device->errata_skip.
12567         * config/avr/avr.c (avr_2word_insn_p): Likewise.
12568         * config/avr/avr.md (*cpse.ne): Likewise.
12569         (mov<mode>): Use avr_eval_addr_attrib.
12570         (cbi): Change constraint for low_io_address_operand operand to "i".
12571         (sbi, sbix_branch, sbix_branch_bit7, insv.io, insv.not.io): Likewise.
12572         * config/avr/predicates.md (io_address_operand):
12573         Allow SYMBOL_REF with SYMBOL_FLAG_IO.
12574         (low_io_address_operand): Allow SYMBOL_REF with SYMBOL_FLAG_IO_LOW.
12575         * config/avr/avr-protos.h (avr_asm_output_aligned_decl_common):
12576         Update prototype.
12577         (avr_eval_addr_attrib, avr_asm_asm_output_aligned_bss): Prototype.
12578         * config/avr/genmultilib.awk: Use -march=.
12579         Remove Multilib matches processing.
12580         * config/avr/t-multilib, config/avr/avr-tables.opt: Regenerate.
12581         * config/avr/avr-arch.h: Add double include guard.
12582         (avr_mcu_t) <library_name>: Update comment.
12583         * config/avr/driver-avr.c (avr_device_to_as): Delete.
12584         (avr_device_to_ld, avr_device_to_data_start): Likewise.
12585         (avr_device_to_startfiles, avr_device_to_devicelib): Likewise.
12586         (avr_device_to_sp8): Likewise.
12587         * config/avr/genopt.sh:  Instead avr_mcu, emit an Enum for avr_arch.
12589         * doc/extend.texi (io, address): Document new AVR variable attributes.
12590         (io_low): Likewise.
12592 2014-10-09  Marek Polacek  <polacek@redhat.com>
12594         * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
12596 2014-10-08  Richard Biener  <rguenther@suse.de>
12598         PR tree-optimization/61969
12599         * tree-nrv.c (pass_nrv::execute): Properly test for automatic
12600         variables.
12602 2014-10-09  Richard Biener  <rguenther@suse.de>
12604         PR tree-optimization/63445
12605         * tree-vrp.c (simplify_cond_using_ranges): Only warn about
12606         overflow for non-equality compares.
12608 2014-10-09  Uros Bizjak  <ubizjak@gmail.com>
12610         PR rtl-optimization/57003
12611         * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
12612         also check CALL_INSN_FUNCTION_USAGE for clobbers again after
12613         killing regs_invalidated_by_call.
12615 2014-10-08  Teresa Johnson  <tejohnson@google.com>
12617         PR bootstrap/63432.
12618         * tree-ssa-threadupdate.c (estimated_freqs_path): New function.
12619         (ssa_fix_duplicate_block_edges): Invoke it.
12620         (mark_threaded_blocks): Make two passes to avoid ordering dependences.
12622 2014-10-08  Oleg Endo  <olegendo@gcc.gnu.org>
12624         PR target/52941
12625         * config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
12626         atomic_fetch_<fetchop_name>si_hard,
12627         atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
12628         atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
12629         atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
12630         atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
12632 2014-10-08  Rong Xu  <xur@google.com>
12634         * gcov-tool.c (profile_overlap): New driver function
12635         to compute profile overlap.
12636         (print_overlap_usage_message): New.
12637         (overlap_usage): New.
12638         (do_overlap): New.
12639         (print_usage): Add calls to overlap function.
12640         (main): Ditto.
12641         * doc/gcov-tool.texi: Add documentation.
12643 2014-10-08  Steve Ellcey  <sellcey@mips.com>
12645         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Change
12646         LINUX64_DRIVER_SELF_SPECS to LINUX_DRIVER_SELF_SPECS
12648 2014-10-08  Jan Hubicka  <hubicka@ucw.cz>
12650         * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better
12651         pattern matching of MEM_REF.
12652         (check_stmt_for_type_change): Update.
12654 2014-10-08  Steve Ellcey  <sellcey@mips.com>
12656         * config/mips/linux64.h: Remove.
12657         * config/mips/gnu-user64.h: Remove.
12658         * gcc.config (mips*-*-*): Remove references to linux64.h and
12659         gnu-user64.h
12660         * config/mips/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Replace
12661         with modified version from gnu-user64.h.
12662         (LINUX_DRIVER_SELF_SPECS): Update parts from gnu-user64.h.
12663         (LOCAL_LABEL_PREFIX): Copy from gnu-user64.h.
12664         * config/mips/linux.h (GNU_USER_LINK_EMULATION32): Copy from
12665         linux64.h.
12666         (GNU_USER_LINK_EMULATION64): Ditto.
12667         (GNU_USER_LINK_EMULATIONN32): Ditto.
12668         (GLIBC_DYNAMIC_LINKER32): Ditto.
12669         (GLIBC_DYNAMIC_LINKER64): Ditto.
12670         (GLIBC_DYNAMIC_LINKERN32): Ditto.
12671         (UCLIBC_DYNAMIC_LINKER32): Ditto.
12672         (UCLIBC_DYNAMIC_LINKER64): Ditto.
12673         (UCLIBC_DYNAMIC_LINKERN32): Ditto.
12674         (BIONIC_DYNAMIC_LINKERN32): Ditto.
12675         (GNU_USER_DYNAMIC_LINKERN32): Ditto.
12676         (GLIBC_DYNAMIC_LINKER): Delete.
12677         (UCLIBC_DYNAMIC_LINKER): Delete.
12679 2014-10-08  Joern Rennecke  <joern.rennecke@embecosm.com>
12680             Richard Biener  <rguenther@suse.de>
12682         * cfgexpand.c (expand_debug_expr) <TARGET_MEM_REF>:
12683         Get address space from operand 0 (BASE).
12685 2014-10-07  Iain Sandoe  <iain@codesourcery.com>
12687         PR target/61387
12688         * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
12690 2014-10-07  Aldy Hernandez  <aldyh@redhat.com>
12692         * dwarf2out.c: Remove current_function_has_inlines.
12693         (gen_subprogram_die): Same.
12694         (gen_inlined_subroutine_die): Same.
12696 2014-10-07  Ilya Tocar  <ilya.tocar@intel.com>
12698         * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
12699         type.
12700         (_addcarry_u64): Ditto.
12701         (_addcarryx_u64): Ditto.
12703 2014-10-07  Eric Botcazou  <ebotcazou@adacore.com>
12705         * cgraph.h (cgraph_node::get_fun): Declare.
12706         * cgraph.c (cgraph_node::get_fun): New method.
12707         * ipa-inline.c (can_inline_edge_p): Use it.
12709 2014-10-07  Eric Botcazou  <ebotcazou@adacore.com>
12711         * lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
12712         and -ftrapping-math.
12713         * lto-wrapper.c (merge_and_complain): Likewise.
12714         (run_gcc): Likewise.
12716 2014-10-06  Rong Xu  <xur@google.com>
12718         * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
12719         * tree-profile.c: (params.h): New include.
12720         (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
12721         and __gcov_indirect_call_topn_counters for
12722         indirect_call_topn_profile.
12723         (gimple_init_edge_profiler): New decls for
12724         __gcov_indirect_call_topn_profiler.
12725         (gimple_gen_ic_profiler): Generate the correct profiler call.
12726         (gimple_gen_ic_func_profiler): Fix format.
12727         * value-prof.c (params.h): New include.
12728         (dump_histogram_value): Hanlde indirect_call_topn counters.
12729         (stream_in_histogram_value): Ditto.
12730         (gimple_indirect_call_to_profile): Use indirect_call_topn
12731         profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
12732         (gimple_find_values_to_profile): Hanlde indirect_call_topn
12733         counters.
12734         * value-prof.h (enum hist_type): Histrogram type for
12735         indirect_call_topn counters.
12736         * profile.c (instrument_values): Instrument
12737         indirect_call_topn counters.
12739 2014-10-06  Rong Xu  <xur@google.com>
12741         * Makefile.in: Fix dependence.
12742         * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
12743         indirect call topn profiler.
12744         * gcov-io.h: Ditto.
12746 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
12748         * calls.c (expand_call): Do not use the target as the return slot if
12749         it is not sufficiently aligned.
12751 2014-10-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
12753         * config/rs6000/rs6000.c (analyze_swaps commentary): Add
12754         discussion of permutes and why we don't handle them.
12756 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
12758         * config/sparc/predicates.md (int_register_operand): Delete.
12760 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
12762         * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
12764 2014-10-06  Jakub Jelinek  <jakub@redhat.com>
12766         * ubsan.h (ubsan_get_source_location): New prototype.
12767         * ubsan.c (ubsan_source_location_type): New variable.
12768         Function renamed to ...
12769         (ubsan_get_source_location_type): ... this.  Cache
12770         return value in ubsan_source_location_type variable.
12771         (ubsan_source_location, ubsan_create_data): Use
12772         ubsan_get_source_location_type instead of
12773         ubsan_source_location_type.
12774         * asan.c (asan_protect_global): Don't protect globals
12775         with ubsan_get_source_location_type () type.
12776         (asan_add_global): Provide global decl location info
12777         if possible.
12779 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
12781         * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
12782         sanity check.
12784 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
12786         * ipa-polymorphic-call.c (possible_placement_new): Fix condition
12787         on size.
12788         (ipa_polymorphic_call_context::restrict_to_inner_type): Do not walk
12789         into vptr pointer.
12790         (ipa_polymorphic_call_context::dump): Fix formating.
12791         (walk_ssa_copies): Add logic avoiding loops; update uses.
12792         * ipa-prop.c (ipa_analyze_call_uses): Compute vptr_changed.
12794 2014-10-02  Mark Wielaard  <mjw@redhat.com>
12796         PR debug/63239
12797         * dwarf2out.c (gen_subprogram_die): When a member function is
12798         explicitly deleted then add a DW_AT_GNU_deleted attribute.
12799         * langhooks.h (struct lang_hooks_for_decls): Add
12800         function_decl_deleted_p langhook.
12801         * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_DELETED_P): Define.
12802         (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_DELETED_P.
12804 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
12806         * ipa-polymorphic-call.c (walk_ssa_copies): Recognize
12807         NULL pointer checks.
12808         (ipa_polymorphic_call_context::get_dynamic_type): Return true
12809         if type doesn't change.
12810         * cgraph.h (cgraph_indirect_call_info): New flag.
12811         * cgraph.c (cgraph_node::create_indirect_edge): Initialize it.
12812         (cgraph_node::dump): Dump it.
12813         * ipa-prop.c (ipa_analyze_call_uses):  Ignore return valud
12814         of context.get_dynamic_type.
12815         (ipa_make_edge_direct_to_target): Do not speculate
12816         edge that is already speuclative.
12817         (try_make_edge_direct_virtual_call): Use VPTR_CHANGED; Do not
12818         speculate to __builtin_unreachable
12819         (ipa_write_indirect_edge_info, ipa_read_indirect_edge_info): Stream
12820         vptr_changed.
12821         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use vptr_changed.
12823 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
12825         * ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
12826         get_dynamic_type; drop TODO.
12827         * ipa-polymorphic-call.c
12828         (ipa_polymorphic_call_context::get_dynamic_type): Be ready
12829         for otr_type to be unknown.
12831 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
12833         * common/config/score/score-common.c: Remove.
12834         * config.gcc: Remove support for score-*.
12835         * config/score/constraints.md: Remove.
12836         * config/score/elf.h: Remove.
12837         * config/score/predicates.md: Remove.
12838         * config/score/score-conv.h: Remove.
12839         * config/score/score-generic.md: Remove.
12840         * config/score/score-modes.def: Remove.
12841         * config/score/score-protos.h: Remove.
12842         * config/score/score.c: Remove.
12843         * config/score/score.h: Remove.
12844         * config/score/score.md: Remove.
12845         * config/score/score.opt: Remove.
12846         * doc/md.texi: Don't document score-*.
12848 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
12850         PR pch/63429
12851         * genconditions.c: Directly include ggc.h before rtl.h.
12853 2014-10-03  Jan Hubicka  <hubicka@ucw.cz>
12855         * ipa-polymorphic-call.c
12856         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
12857         code determining speculative type.
12858         (ipa_polymorphic_call_context::combine_with): Fix speculation merge.
12860 2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
12862         * altivec.md (altivec_lvsl): New define_expand.
12863         (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
12864         (altivec_lvsr): New define_expand.
12865         (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
12866         * rs6000.c (rs6000_expand_builtin): Change to use
12867         altivec_lvs[lr]_direct; remove commented-out code.
12869 2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
12871         * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
12872         Issue a warning message when vec_lvsl or vec_lvsr is used with a
12873         little endian target.
12875 2014-10-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
12877         * tree-pretty-print.c (dump_location): Make it extern. Dump also
12878         the column.
12879         * tree-pretty-print.h (dump_location): Declare.
12880         * gimple-pretty-print.c (dump_gimple_phi): Use dump_location.
12881         (pp_gimple_stmt_1): Likewise.
12882         (dump_implicit_edges): Likewise.
12883         * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and
12884         LOCATION_LINE.
12887 2014-10-03  David Malcolm  <dmalcolm@redhat.com>
12889         * gcc.c (driver::global_initializations): Remove "const" so
12890         that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
12891         and decoded_options_count.
12893 2014-10-03  Maciej W. Rozycki  <macro@codesourcery.com>
12895         * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
12896         macro.
12897         * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Handle
12898         TARGET_E500_DOUBLE case here.
12900 2014-10-03  Marc Glisse  <marc.glisse@inria.fr>
12902         PR c++/54427
12903         PR c++/57198
12904         PR c++/58845
12905         * doc/extend.texi (Vector Extensions): Document &&, ||, ! in C++.
12907 2014-10-03  Jan Hubicka  <hubicka@ucw.cz>
12909         * cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
12910         * lto-cgraph.c (lto_output_edge, input_edge): Stream
12911         in_polymorphic_cdtor
12912         * cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
12913         (cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
12914         * cgraphclones.c (cgraph_edge::clone): Likewise.
12915         * ipa-prop.c (update_jump_functions_after_inlining,
12916         try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
12917         to possible_dynamic_type_change.
12918         (decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
12919         (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
12920         IN_POLY_CDOTR argument.
12922         * ipa-polymorphic-call.c (decl_maybe_in_construction_p): Be ready
12923         for BASE and OUTER_TYPE being NULL.
12924         (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
12925         in_poly_cdtor parameter.
12927 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
12929         * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Fix up formatting.
12930         (ix86_expand_vec_perm): Only call ix86_expand_vec_perm_vpermi2 if
12931         TARGET_AVX512F.
12932         (expand_vec_perm_1): Likewise.
12934 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
12935             Uros Bizjak  <ubizjak@gmail.com>
12937         PR tree-optimization/61403
12938         * config/i386/i386.c (expand_vec_perm_palignr): Fix a spelling
12939         error in comment.  Also optimize 256-bit vectors for AVX2
12940         or AVX (floating vectors only), provided the first permutation
12941         can be performed in one insn.
12943 2014-10-03  David Malcolm  <dmalcolm@redhat.com>
12945         * gcc.c (class driver): New class.
12946         (main): Reimplement in terms of driver::main, moving most of the
12947         locals to be locals within individual methods of class driver.
12948         The remaining locals "explicit_link_files", "decoded_options" and
12949         "decoded_options_count" are used by multiple driver:: methods, and
12950         so become member data.  Doing so isolates the argc/argv reads and
12951         writes.  Replace "goto out" with a special exit code from
12952         new method driver::prepare_infiles.  Split out the old
12953         implementation of main into the following...
12954         (driver::main): New function, corresponding to the old "main"
12955         implementation.
12956         (driver::set_progname): New function, taken from the old
12957         "main" implementation.
12958         (driver::expand_at_files): Likewise.
12959         (driver::decode_argv): Likewise.
12960         (driver::global_initializations): Likewise.
12961         (driver::build_multilib_strings): Likewise.
12962         (driver::set_up_specs): Likewise.
12963         (driver::putenv_COLLECT_GCC): Likewise.
12964         (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
12965         (driver::handle_unrecognized_options): Likewise.
12966         (driver::maybe_print_and_exit): Likewise.
12967         (driver::prepare_infiles): Likewise.
12968         (driver::do_spec_on_infiles): Likewise.
12969         (driver::maybe_run_linker): Likewise.
12970         (driver::final_actions): Likewise.
12971         (driver::get_exit_code): Likewise.
12973 2014-10-03  Yury Gribov  <y.gribov@samsung.com>
12975         * asan.c (asan_finish_file): Disable __asan_init calls for KASan;
12976         don't emit empty ctors.
12978 2014-10-03  Eric Botcazou  <ebotcazou@adacore.com>
12980         * convert.c (convert_to_integer): Do not introduce useless conversions
12981         between integral types.
12983 2014-10-03  David Sherwood  <david.sherwood@arm.com>
12985         * ira-int.h (ira_allocno): Mark hard_regno as signed.
12987 2014-10-03  Ilya Enkovich  <ilya.enkovich@intel.com>
12989         * lra-constraints.c (inherit_in_ebb): Handle calls with
12990         multiple return values.
12991         * caller-save.c (save_call_clobbered_regs): Likewise.
12993 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
12995         * tree-vect-data-refs.c (vect_permute_load_chain,
12996         vect_shift_permute_load_chain): Fix a typo in temporary var names,
12997         suffle3 to shuffle3.
12999         PR libgomp/61200
13000         * omp-low.c (taskreg_contexts): New variable.
13001         (scan_omp_parallel): Push newly created context into taskreg_contexts
13002         vector and move record layout code to finish_taskreg_scan.
13003         (scan_omp_task): Likewise.
13004         (finish_taskreg_scan): New function.
13005         (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
13006         vector elements and release it.
13008         PR target/62128
13009         * config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
13010         of palignr arguments can't be used due to min 0 or max - min
13011         too high, try also op0, op1 order of palignr arguments.
13013 2014-10-02  Jan Hubicka  <hubicka@ucw.cz>
13015         * cgraph.h (ipa_polymorphic_call_context):
13016         Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
13017         private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
13018         * ipa-polymorphic-call.c
13019         (ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
13020         past end of dynamic types.
13021         (ipa_polymorphic_call_context::stream_out,
13022         speculative_outer_type): Stream dynamic flag.
13023         (ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
13024         (ipa_polymorphic_call_context::ipa_polymorphic_call_context):
13025         Clear DYNAMIC.
13026         (ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
13027         set it.
13028         (ipa_polymorphic_call_context::combine_with): Propagate dynamic.
13029         * ipa-prop.c (update_jump_functions_after_inlining,
13030         try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.
13032 2014-10-02  Teresa Johnson  <tejohnson@google.com>
13034         * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
13035         up when synthesizing counts to avoid rounding errors.
13037 2014-10-02  Teresa Johnson  <tejohnson@google.com>
13039         PR middle-end/63422
13040         * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove
13041         asserts to handle incoming insanities.
13043 2014-10-02  Martin Jambor  <mjambor@suse.cz>
13045         PR tree-optimization/63375
13046         * tree-sra.c (build_access_from_expr_1): Disqualify volatile
13047         references.
13049 2014-10-02  Olivier Hainque  <hainque@adacore.com>
13051         * Makefile.in (CROSS): Define, to @CROSS.
13053 2014-10-02  Jakub Jelinek  <jakub@redhat.com>
13055         PR target/62128
13056         * config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
13057         if it expands to a single insn only.
13058         (expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument.  If true,
13059         fail unless in_order is true.  Add forward declaration.
13060         (expand_vec_perm_vperm2f128): Fix up comment about which permutation
13061         is useful for one_operand_p.
13062         (ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.
13064 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
13066         * cgraphclones.c (build_function_type_skip_args): Do not make new
13067         type variant of old.
13069 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
13071         * ipa-prop.h (ipa_get_controlled_uses): Add hack to avoid ICE
13072         when speculation is added.
13073         (ipa_edge_args): Add polymorphic_call_contexts.
13074         (ipa_get_ith_polymorhic_call_context): New accesor.
13075         (ipa_make_edge_direct_to_target): Add SPECULATIVE parameter.
13076         * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Print contexts.
13077         (ipa_compute_jump_functions_for_edge): Compute contexts.
13078         (update_jump_functions_after_inlining): Update contexts.
13079         (ipa_make_edge_direct_to_target): Add SPECULATIVE argument;
13080         update dumping; add speculative edge creation.
13081         (try_make_edge_direct_virtual_call): Add CTX_PTR parameter; handle
13082         context updating.
13083         (update_indirect_edges_after_inlining): Pass down context.
13084         (ipa_edge_duplication_hook): Duplicate contexts.
13085         (ipa_write_node_info): Stream out contexts.
13086         (ipa_read_node_info): Stream in contexts.
13087         * ipa-devirt.c (type_all_derivations_known_p): Avoid ICE on non-ODR
13088         types.
13089         (try_speculative_devirtualization): New function.
13090         * ipa-utils.h (try_speculative_devirtualization): Declare.
13092 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
13094         * ipa.c (walk_polymorphic_call_targets): Avoid ICE when
13095         dumping during WPA.
13097 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
13099         * ipa-prop.c (ipa_modify_formal_parameters): Do not merge
13100         type variants.
13102 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
13104         * ipa-polymorphic-call.c
13105         (ipa_polymorphic_call_context::restrict_to_inner_class):
13106         Rename EXPECTED_TYPE to OTR_TYPE; Validate speculation late;
13107         use speculation_consistent_p to do so; Add CONSDER_BASES
13108         and CONSIDER_PLACEMENT_NEW parameters.
13109         (contains_type_p): Add CONSDER_PLACEMENT_NEW and CONSIDER_BASES;
13110         short circuit obvious cases.
13111         (ipa_polymorphic_call_context::dump): Improve formatting.
13112         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Use
13113         combine_speculation_with to record speculations; Do not ICE when
13114         object is located in pointer type decl; do not ICE for methods
13115         of UNION_TYPE; do not record nonpolymorphic types.
13116         (ipa_polymorphic_call_context::speculation_consistent_p): New method.
13117         (ipa_polymorphic_call_context::combine_speculation_with): New method.
13118         (ipa_polymorphic_call_context::combine_with): New method.
13119         (ipa_polymorphic_call_context::make_speculative): Move here; use
13120         combine speculation.
13121         * cgraph.h (ipa_polymorphic_call_context): Update
13122         restrict_to_inner_class prototype; add offset_by, make_speculative,
13123         combine_with, useless_p, combine_speculation_with and
13124         speculation_consistent_p methods.
13125         (ipa_polymorphic_call_context::offset_by): New method.
13126         (ipa_polymorphic_call_context::useless_p): New method.
13128 2014-10-01  Segher Boessenkool  <segher@kernel.crashing.org>
13130         PR rtl-optimization/62151
13131         * combine.c (can_combine_p): Allow the destination register of INSN
13132         to be clobbered in I3.
13133         (subst): Do not substitute into clobbers of registers.
13135 2014-10-01  Jakub Jelinek  <jakub@redhat.com>
13137         PR debug/63342
13138         * dwarf2out.c (loc_list_from_tree): Handle MEM_REF with non-zero
13139         offset, TARGET_MEM_REF and SSA_NAME.
13141         * config/i386/i386.c (expand_vec_perm_palignr): Handle
13142         256-bit vectors for TARGET_AVX2.
13144         * config/i386/i386.c (expand_vec_perm_vperm2f128): Canonicalize
13145         dfirst permutation.
13147         PR target/63428
13148         * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
13149         argument to avx2_permv2ti.
13151 2014-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
13153         * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
13155 2014-09-30  Uros Bizjak  <ubizjak@gmail.com>
13157         * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
13158         (fmod<mode>3): Ditto.
13159         (fpremxf4_i387): Ditto.
13160         (reminderxf3): Ditto.
13161         (reminder<mode>3): Ditto.
13162         (fprem1xf4_i387): Ditto.
13164 2014-09-30  Teresa Johnson  <tejohnson@google.com>
13166         * tree-ssa-threadupdate.c (struct ssa_local_info_t): New
13167         duplicate_blocks bitmap.
13168         (remove_ctrl_stmt_and_useless_edges): Ditto.
13169         (create_block_for_threading): Ditto.
13170         (compute_path_counts): New function.
13171         (update_profile): Ditto.
13172         (recompute_probabilities): Ditto.
13173         (update_joiner_offpath_counts): Ditto.
13174         (freqs_to_counts_path): Ditto.
13175         (clear_counts_path): Ditto.
13176         (ssa_fix_duplicate_block_edges): Update profile info.
13177         (ssa_create_duplicates): Pass new parameter.
13178         (ssa_redirect_edges): Remove old profile update.
13179         (thread_block_1): New duplicate_blocks bitmap,
13180         remove old profile update.
13181         (thread_single_edge): Pass new parameter.
13183 2014-09-30  Ilya Tocar  <ilya.tocar@intel.com>
13185         PR middle-end/62120
13186         * varasm.c (decode_reg_name_and_count): Check availability for
13187         registers from ADDITIONAL_REGISTER_NAMES.
13189 2014-09-30  David Malcolm  <dmalcolm@redhat.com>
13191         PR plugins/63410
13192         * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
13193         (PLUGIN_HEADERS): Add pass-instances.def.
13195 2014-09-30  James Greenhalgh  <james.greenhalgh@arm.com>
13197         * config/aarch64/aarch64-simd-builtins.def (sqdmull_laneq): Expand
13198         iterator.
13199         * config/aarch64/aarch64-simd.md
13200         (aarch64_sqdmull_laneq<mode>): Expand iterator.
13201         * config/aarch64/arm_neon.h (vqdmullh_laneq_s16): New.
13202         (vqdmulls_lane_s32): Fix return type.
13203         (vqdmulls_laneq_s32): New.
13205 2014-09-30  Jakub Jelinek  <jakub@redhat.com>
13207         PR inline-asm/63282
13208         * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
13209         or invert_jump_1 if jump isn't any_condjump_p.
13211 2014-09-30  Terry Guo  <terry.guo@arm.com>
13213         * config/arm/arm-cores.def (cortex-m7): New core name.
13214         * config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
13215         (fpv5-d16): Ditto.
13216         * config/arm/arm-tables.opt: Regenerated.
13217         * config/arm/arm-tune.md: Regenerated.
13218         * config/arm/arm.h (TARGET_VFP5): New macro.
13219         * config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
13220         * config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
13221         smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
13222         * doc/invoke.texi: Document new cpu and fpu names.
13224 2014-09-30  Jiong Wang  <jiong.wang@arm.com>
13226         * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
13227         before sinking insn.
13229 2014-09-30  David Sherwood  <david.sherwood@arm.com>
13231         * ira-int.h (ira_allocno): Add "wmode" field.
13232         * ira-build.c (create_insn_allocnos): Add new "parent" function
13233         parameter.
13234         * ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
13235         that cannot be accessed in wmode.
13237 2014-09-30  Markus Trippelsdorf  <markus@trippelsdorf.de>
13239         * data-streamer.c (bp_unpack_var_len_int): Avoid signed
13240         integer overflow.
13242 2014-09-29  Andi Kleen  <ak@linux.intel.com>
13244         * opts.c (print_filtered_help): Print --param min/max/default
13245         with -Q.
13247 2014-09-29  Kaz Kojima  <kkojima@gcc.gnu.org>
13249         * config/sh/sh.md: Use define_c_enum for "unspec" and "unspecv".
13251 2014-09-29  Eric Botcazou  <ebotcazou@adacore.com>
13253         * tree-vrp.c (get_single_symbol): New function.
13254         (build_symbolic_expr): Likewise.
13255         (symbolic_range_based_on_p): New predicate.
13256         (extract_range_from_binary_expr_1): Deal with single-symbolic ranges
13257         for PLUS and MINUS.  Do not drop symbolic ranges at the end.
13258         (extract_range_from_binary_expr): Try harder for PLUS and MINUS if
13259         operand is symbolic and based on the other operand.
13261 2014-09-29  Chen Gang  <gang.chen.5i5j@gmail.com>
13263         * config/microblaze/microblaze.md (call_internal1): Use VOID
13264         instead of SI to fix "((void (*)(void)) 0)()" issue
13266 2014-09-29  Nick Clifton  <nickc@redhat.com>
13268         * config/msp430/msp430.c (msp430_expand_prologue): Return a
13269         CLOBBER rtx for naked functions.
13270         (msp430_expand_epilogue): Likewise.
13271         (msp430_use_f5_series_hwmult): Cache result.
13272         (use_32bit_hwmult): Cache result.
13273         (msp430_no_hwmult): New function.
13274         (msp430_output_labelref): Use it.
13276 2014-09-29  Jakub Jelinek  <jakub@redhat.com>
13278         PR middle-end/63247
13279         * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER
13280         of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION
13281         use the alignment of avar rather than ovar.
13283 2014-09-28  John David Anglin  <danglin@gcc.gnu.org>
13285         * config/pa/pa.c (pa_output_function_epilogue): Only update
13286         last_address when a nonnote insn is found.
13288 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
13290         PR ipa/60665
13291         * ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.
13293 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
13295         PR ipa/62121
13296         * ipa-polymorphic-call.c (ipa_polymorphic_call_context::restrict_to_inner_class):
13297         fix pasto in checking array size.
13299 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
13301         PR middle-end/35545
13302         * passes.def (pass_tracer): Move before last dominator pass.
13304 2014-09-26  Thomas Schwinge  <thomas@codesourcery.com>
13306         * gcc.c (try_generate_repro): Remove argument "prog".  Change all
13307         users.
13308         (run_attempt): Handle errors of "pex_run" invocation.
13310 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
13312         * config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
13313         (CC1_SPEC): Define.
13314         * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
13315         (TARGET_ASAN_SHADOW_OFFSET): Define.
13317 2014-09-26  Martin Liska  <mliska@suse.cz>
13319         * cgraph.c (cgraph_node::release_body): New argument keep_arguments
13320         introduced.
13321         * cgraph.h: Likewise.
13322         * cgraphunit.c (cgraph_node::create_wrapper): Usage of new argument introduced.
13323         * ipa-utils.h (polymorphic_type_binfo_p): Safe check for binfos created by Java.
13324         * tree-ssa-alias.c (ao_ref_base_alias_set): Static function transformed to global.
13325         * tree-ssa-alias.h: Likewise.
13327 2014-09-26  Jakub Jelinek  <jakub@redhat.com>
13328             Max Ostapenko  <m.ostapenko@partner.samsung.com>
13330         * common.opt: New option.
13331         * doc/invoke.texi: Describe new option.
13332         * gcc.c (execute): Don't free first string early, but at the end
13333         of the function.  Call retry_ice if compiler exited with
13334         ICE_EXIT_CODE.
13335         (main): Factor out common code.
13336         (print_configuration): New function.
13337         (files_equal_p): Likewise.
13338         (check_repro): Likewise.
13339         (run_attempt): Likewise.
13340         (do_report_bug): Likewise.
13341         (append_text): Likewise.
13342         (try_generate_repro): Likewise
13344 2014-09-25  Andi Kleen  <ak@linux.intel.com>
13346         * config/i386/i386.c (x86_print_call_or_nop): New function.
13347         (x86_function_profiler): Support -mnop-mcount and
13348         -mrecord-mcount.
13349         * config/i386/i386.opt (-mnop-mcount, -mrecord-mcount): Add
13350         * doc/invoke.texi: Document -mnop-mcount, -mrecord-mcount.
13352 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
13354         * ipa-prop.c (ipa_intraprocedural_devirtualization): Remove.
13355         * ipa-prop.h (ipa_intraprocedural_devirtualization): Remove.
13356         * tree-ssa-prop.c (eliminate_dom_walker::before_dom_children):
13357         Remove.
13359 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
13361         * ipa-utils.h (subbinfo_with_vtable_at_offset, type_all_derivations_known_p,
13362         type_known_to_have_no_deriavations_p, types_must_be_same_for_odr,
13363         types_odr_comparable): Declare.
13364         (polymorphic_type_binfo_p): Move here from ipa-devirt.c
13365         * ipa-polymorphic-call.c: New file.
13366         (contains_polymorphic_type_p, possible_placement_new,
13367         ipa_polymorphic_call_context::restrict_to_inner_class,
13368         contains_type_p, decl_maybe_in_construction_p,
13369         ipa_polymorphic_call_context::stream_out,
13370         ipa_polymorphic_call_context::debug,
13371         ipa_polymorphic_call_context::stream_in,
13372         ipa_polymorphic_call_context::set_by_decl,
13373         ipa_polymorphic_call_context::set_by_invariant,
13374         walk_ssa_copies,
13375         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13376         type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
13377         extr_type_from_vtbl_ptr_store, record_known_type
13378         check_stmt_for_type_change,
13379         ipa_polymorphic_call_context::get_dynamic_type): Move here from
13380         ipa-devirt.c
13381         * ipa-devirt.c: No longer include data-streamer.h, lto-streamer.h
13382         and streamer-hooks.h
13383         (contains_polymorphic_type_p, possible_placement_new,
13384         ipa_polymorphic_call_context::restrict_to_inner_class,
13385         contains_type_p, decl_maybe_in_construction_p,
13386         ipa_polymorphic_call_context::stream_out,
13387         ipa_polymorphic_call_context::debug,
13388         ipa_polymorphic_call_context::stream_in,
13389         ipa_polymorphic_call_context::set_by_decl,
13390         ipa_polymorphic_call_context::set_by_invariant,
13391         walk_ssa_copies,
13392         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13393         type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
13394         extr_type_from_vtbl_ptr_store, record_known_type
13395         check_stmt_for_type_change,
13396         ipa_polymorphic_call_context::get_dynamic_type): Move to
13397         ipa-polymorphic-call.c
13398         (type_all_derivations_known_p, types_odr_comparable,
13399         types_must_be_same_for_odr): Export.
13400         (type_known_to_have_no_deriavations_p): New function.
13401         * Makefile.in: Add ipa-polymorphic-call.c
13403 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
13405         * ipa-devirt.c (polymorphic_call_target_d): Add SPECULATIVE; reorder
13406         for better storage.
13407         (polymorphic_call_target_hasher::hash): Hash SPECULATIVE.
13408         (possible_polymorphic_call_targets): Instead of computing both
13409         speculative and non-speculative answers, do just one at a time.
13410         Replace NONSPECULATIVE_TARGETSP parameter with SPECULATIVE flag.
13411         (dump_targets): Break out from ...
13412         (dump_possible_polymorphic_call_targets): ... here; dump both speculative
13413         and non-speculative lists.
13414         (ipa_devirt): Update for new possible_polymorphic_call_targets API.
13415         * ipa-utils.h (possible_polymorphic_call_targets): Update.
13417 2014-09-25  Uros Bizjak  <ubizjak@gmail.com>
13419         PR rtl-optimization/63348
13420         * emit-rtl.c (try_split): Do not emit extra barrier.
13422 2014-09-25  James Greenhalgh  <james.greenhalgh@arm.com>
13424         * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete.
13425         * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shl<mode>): Use
13426         new predicates.
13427         (aarch64_<sur>shll2_n<mode>): Likewise.
13428         (aarch64_<sur>shr_n<mode>): Likewise.
13429         (aarch64_<sur>sra_n<mode>: Likewise.
13430         (aarch64_<sur>s<lr>i_n<mode>): Likewise.
13431         (aarch64_<sur>qshl<u>_n<mode>): Likewise.
13432         * config/aarch64/aarch64.c (aarch64_simd_const_bounds): Delete.
13433         * config/aarch64/iterators.md (ve_mode): New.
13434         (offsetlr): Remap to infix text for use in new predicates.
13435         * config/aarch64/predicates.md (aarch64_simd_shift_imm_qi): New.
13436         (aarch64_simd_shift_imm_hi): Likewise.
13437         (aarch64_simd_shift_imm_si): Likewise.
13438         (aarch64_simd_shift_imm_di): Likewise.
13439         (aarch64_simd_shift_imm_offset_qi): Likewise.
13440         (aarch64_simd_shift_imm_offset_hi): Likewise.
13441         (aarch64_simd_shift_imm_offset_si): Likewise.
13442         (aarch64_simd_shift_imm_offset_di): Likewise.
13443         (aarch64_simd_shift_imm_bitsize_qi): Likewise.
13444         (aarch64_simd_shift_imm_bitsize_hi): Likewise.
13445         (aarch64_simd_shift_imm_bitsize_si): Likewise.
13446         (aarch64_simd_shift_imm_bitsize_di): Likewise.
13448 2014-09-25  Jiong Wang  <jiong.wang@arm.com>
13450         * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of
13451         new created BB as the intersection of live-in from "old_dest" and
13452         live-out from "bb".
13454 2014-09-25  Felix Yang  <felix.yang@huawei.com>
13456         * lra.c (lra_set_insn_recog_data): Fix typo in comment.
13457         * genautomata.c (merge_states): Ditto.
13459 2014-09-25  Oleg Endo  <olegendo@gcc.gnu.org>
13461         PR target/62218
13462         * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
13463         in instruction sequence.
13465 2014-09-25  Nick Clifton  <nickc@redhat.com>
13467         PR target/62218
13468         * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
13469         in instruction sequence.
13471 2014-09-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
13473         PR target/63335
13474         * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
13475         Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.
13477 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13478             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13479             Anna Tikhonova  <anna.tikhonova@intel.com>
13480             Ilya Tocar  <ilya.tocar@intel.com>
13481             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13482             Ilya Verbin  <ilya.verbin@intel.com>
13483             Kirill Yukhin  <kirill.yukhin@intel.com>
13484             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13486         * config/i386/sse.md
13487         (define_expand "<avx2_avx512f>_perm<mode>"): Rename to ...
13488         (define_expand "<avx2_avx512>_perm<mode>"): ... this.
13489         (define_expand "avx512f_perm<mode>_mask"): Rename to ...
13490         (define_expand "<avx512>_perm<mode>_mask"): ... this.
13491         Use VI8F_256_512 mode iterator.
13492         (define_insn "<avx2_avx512f>_perm<mode>_1<mask_name>"): Rename to ...
13493         (define_insn "<avx2_avx512bw>_perm<mode>_1<mask_name>"): ... this.
13495 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13496             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13497             Anna Tikhonova  <anna.tikhonova@intel.com>
13498             Ilya Tocar  <ilya.tocar@intel.com>
13499             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13500             Ilya Verbin  <ilya.verbin@intel.com>
13501             Kirill Yukhin  <kirill.yukhin@intel.com>
13502             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13504         * config/i386/sse.md
13505         (define_insn "avx_movshdup256<mask_name>"): Add masking.
13506         (define_insn "sse3_movshdup<mask_name>"): Ditto.
13507         (define_insn "avx_movsldup256<mask_name>"): Ditto.
13508         (define_insn "sse3_movsldup<mask_name>"): Ditto.
13509         (define_insn "vec_dupv2df<mask_name>"): Ditto.
13510         (define_insn "*vec_concatv2df"): Add EVEX version.
13512 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13513             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13514             Anna Tikhonova  <anna.tikhonova@intel.com>
13515             Ilya Tocar  <ilya.tocar@intel.com>
13516             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13517             Ilya Verbin  <ilya.verbin@intel.com>
13518             Kirill Yukhin  <kirill.yukhin@intel.com>
13519             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13521         * config/i386/sse.md
13522         (define_insn "vec_set<mode>_0"): Add EVEX version.
13524 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13525             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13526             Anna Tikhonova  <anna.tikhonova@intel.com>
13527             Ilya Tocar  <ilya.tocar@intel.com>
13528             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13529             Ilya Verbin  <ilya.verbin@intel.com>
13530             Kirill Yukhin  <kirill.yukhin@intel.com>
13531             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13533         * config/i386/sse.md
13534         (define_insn
13535         "<fixsuffix>fix_trunc<mode><sselongvecmodelower>2<mask_name><round_saeonly_name>"):
13536         New.
13537         (define_insn "<fixsuffix>fix_truncv2sfv2di2<mask_name>"): Ditto.
13538         (define_insn "ufix_trunc<mode><sseintvecmodelower>2<mask_name>"): Ditto.
13539         (define_insn "sse2_cvtss2sd<round_saeonly_name>"): Change
13540         "nonimmediate_operand" to "<round_saeonly_nimm_predicate>".
13541         (define_insn "avx_cvtpd2ps256<mask_name>"): Add masking.
13542         (define_expand "sse2_cvtpd2ps_mask): New.
13543         (define_insn "*sse2_cvtpd2ps<mask_name>"): Add masking.
13544         (define_insn "sse2_cvtps2pd<mask_name>"): Add masking.
13546 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13547             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13548             Anna Tikhonova  <anna.tikhonova@intel.com>
13549             Ilya Tocar  <ilya.tocar@intel.com>
13550             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13551             Ilya Verbin  <ilya.verbin@intel.com>
13552             Kirill Yukhin  <kirill.yukhin@intel.com>
13553             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13555         * config/i386/i386.c
13556         (avx512f_ufix_notruncv8dfv8si_mask_round): Rename to ...
13557         (ufix_notruncv8dfv8si2_mask_round): ... this.
13558         * config/i386/sse.md
13559         (define_insn "avx512f_cvtdq2pd512_2): Update TARGET check.
13560         (define_insn "avx_cvtdq2pd256_2"): Add EVEX version.
13561         (define_insn "sse2_cvtdq2pd<mask_name>"): Add masking.
13562         (define_insn "avx_cvtpd2dq256<mask_name>"): Ditto.
13563         (define_expand "sse2_cvtpd2dq"): Delete.
13564         (define_insn "sse2_cvtpd2dq<mask_name>"): Add masking and
13565         make 2nd operand const0 vector.
13566         (define_insn "avx512f_ufix_notruncv8dfv8si<mask_name><round_name>"):
13567         Delete.
13568         (define_mode_attr pd2udqsuff): New.
13569         (define_insn
13570         "ufix_notrunc<mode><si2dfmodelower>2<mask_name><round_name>"): Ditto.
13571         (define_insn "ufix_notruncv2dfv2si2<mask_name>"): Ditto.
13572         (define_insn "*avx_cvttpd2dq256_2"): Delete.
13573         (define_expand "sse2_cvttpd2dq"): Ditto.
13574         (define_insn "sse2_cvttpd2dq<mask_name>"): Add masking and
13575         make 2nd operand const0 vector.
13577 2014-09-25  Jakub Jelinek  <jakub@redhat.com>
13579         PR tree-optimization/63341
13580         * tree-vectorizer.h (vect_create_data_ref_ptr,
13581         vect_create_addr_base_for_vector_ref): Add another tree argument
13582         defaulting to NULL_TREE.
13583         * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
13584         argument, pass it down to vect_create_addr_base_for_vector_ref.
13585         (vect_create_addr_base_for_vector_ref): Add byte_offset argument,
13586         add that to base_offset too if non-NULL.
13587         * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
13588         for dr_explicit_realign_optimized set it to vector byte size
13589         - 1 instead of setting offset, pass byte_offset down to
13590         vect_create_data_ref_ptr.
13592 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
13594         * ipa-devirt.c (possible_polymorphic_call_targets): Remove
13595         forgotten debug output; canonicalize querries more wtih LTO.
13597 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
13599         * cgraph.h (class ipa_polymorphic_call_context): Move here from
13600         ipa-utils.h; add stream_int and stream_out methods.
13601         (cgraph_indirect_call_info): Remove SPECILATIVE_OFFSET,
13602         OUTER_TYPE, SPECULATIVE_OUTER_TYPE, MAYBE_IN_CONSTRUCTION
13603         MAYBE_DERIVED_TYPE and SPECULATIEVE_MAYBE_DERIVED_TYPE;
13604         add CONTEXT.
13605         (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13606         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13607         ipa_polymorphic_call_context::clear_speculation,
13608         ipa_polymorphic_call_context::clear_outer_type): Move here from
13609         ipa-utils.h
13610         * ipa-utils.h (class ipa_polymorphic_call_context): Move to cgraph.h
13611         (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13612         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
13613         ipa_polymorphic_call_context::clear_speculation,
13614         ipa_polymorphic_call_context::clear_outer_type): Likewise.
13615         * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
13616         streamer-hooks.h
13617         (ipa_polymorphic_call_context::stream_out): New method.
13618         (ipa_polymorphic_call_context::stream_in): New method.
13619         (noncall_stmt_may_be_vtbl_ptr_store): Add forgotten static.
13620         * ipa-prop.c (ipa_analyze_indirect_call_uses): Do not care about
13621         OUTER_TYPE.
13622         (ipa_analyze_call_uses): Simplify.
13623         (update_indirect_edges_after_inlining): Do not care about outer_type.
13624         (ipa_write_indirect_edge_info): Update.
13625         (ipa_write_indirect_edge_info): Likewise.
13626         * cgraph.c (cgraph_node::create_indirect_edge): Simplify.
13627         (dump_edge_flags): Break out from ...
13628         (cgraph_node::dump): ... here; dump indirect edges.
13630 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
13632         * ipa-utils.h (polymorphic_call_context): Add
13633         metdhos dump, debug and clear_outer_type.
13634         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
13635         (ipa_polymorphic_call_context::clear_outer_type): New method.
13636         * ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
13637         * ipa-devirt.c (types_odr_comparable): New function.
13638         (types_must_be_same_for_odr): New function.
13639         (odr_subtypes_equivalent_p): Simplify.
13640         (possible_placement_new): Break out from ...
13641         (ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
13642         be more cuatious about returning false in cases the context may be
13643         valid in derived type or via placement new.
13644         (contains_type_p): Clear maybe_derived_type
13645         (ipa_polymorphic_call_context::dump): New method.
13646         (ipa_polymorphic_call_context::debug): New method.
13647         (ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
13648         (ipa_polymorphic_call_context::set_by_invariant): Simplify.
13649         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
13650         (possible_polymorphic_call_targets): Trust context.restrict_to_inner_class
13651         to suceed on all valid cases; remove confused sanity check.
13652         (dump_possible_polymorphic_call_targets): Simplify.
13654 2014-09-24  Aldy Hernandez  <aldyh@redhat.com>
13656         * cgraph.h, dbxout.c, dwarfout2.c, gimple-fold.c,
13657         lto-streamer-out.c, print-tree.c, symtab.c, tree-inline.c,
13658         tree-streamer-in.c, tree-streamer-out.c, tree.c, tree.h,
13659         varpool.c: Rename all instances of DECL_ABSTRACT to
13660         DECL_ABSTRACT_P.
13662 2014-09-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
13664         * config/rs6000/rs6000.c (insn_is_swappable_p): Don't provide
13665         special handling for stores whose SET_SRC is an UNSPEC (such as
13666         UNSPEC_STVE).
13668 2014-09-24  Jiong Wang  <jiong.wang@arm.com>
13670         * shrink-wrap.c (move_insn_for_shrink_wrap): Add further check when
13671         !REG_P (src) to release more instruction sink opportunities.
13673 2014-09-24  Wilco Dijkstra  <wilco.dijkstra@arm.com>
13675         * config/aarch64/aarch64.c (aarch64_register_move_cost): Add register
13676         move costs for 128-bit types.
13678 2014-09-24  Martin Jambor  <mjambor@suse.cz>
13680         * ipa-prop.c (ipa_edge_duplication_hook): Update controlled_use_count
13681         when duplicating a PASS_THROUGH jump function when creating a
13682         speculative edge.
13684 2014-09-24  Marek Polacek  <polacek@redhat.com>
13686         PR c/61405
13687         PR c/53874
13688         * asan.c (maybe_instrument_call): Add default case.
13689         * ipa-pure-const.c (special_builtin_state): Likewise.
13690         * predict.c (expr_expected_value_1): Likewise.
13691         * lto-streamer-out.c (write_symbol): Initialize variable.
13693 2014-09-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
13695         * config/aarch64/arm_neon.h (vmuld_lane_f64): Use macro for getting
13696         the lane.
13697         (vmuld_laneq_f64): Likewise.
13698         (vmuls_lane_f32): Likewise.
13699         (vmuls_laneq_f32): Likewise.
13701 2014-09-24  Kirill Yukhin  <kirill.yukhin@intel.com>
13703         PR bootstrap/63235
13704         * varpool.c (varpool_node::add): Pass decl attributes
13705         to lookup_attribute.
13707 2014-09-24  Jakub Jelinek  <jakub@redhat.com>
13709         PR sanitizer/63316
13710         * asan.c (asan_expand_check_ifn): Fix up align >= 8 optimization.
13712 2014-09-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
13714         PR tree-optimization/63266
13715         * tree-ssa-math-opts.c (struct symbolic_number): Add comment about
13716         marker for unknown byte value.
13717         (MARKER_MASK): New macro.
13718         (MARKER_BYTE_UNKNOWN): New macro.
13719         (HEAD_MARKER): New macro.
13720         (do_shift_rotate): Mark bytes with unknown values due to sign
13721         extension when doing an arithmetic right shift. Replace hardcoded
13722         mask for marker by new MARKER_MASK macro.
13723         (find_bswap_or_nop_1): Likewise and adjust ORing of two symbolic
13724         numbers accordingly.
13726 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13727             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13728             Anna Tikhonova  <anna.tikhonova@intel.com>
13729             Ilya Tocar  <ilya.tocar@intel.com>
13730             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13731             Ilya Verbin  <ilya.verbin@intel.com>
13732             Kirill Yukhin  <kirill.yukhin@intel.com>
13733             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13735         * config/i386/sse.md
13736         (define_insn
13737         "<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode><mask_name>"):
13738         Add masking.
13739         (define_insn "fix_truncv8sfv8si2<mask_name>"): Ditto.
13740         (define_insn "fix_truncv4sfv4si2<mask_name>"): Ditto.
13742 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13743             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13744             Anna Tikhonova  <anna.tikhonova@intel.com>
13745             Ilya Tocar  <ilya.tocar@intel.com>
13746             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13747             Ilya Verbin  <ilya.verbin@intel.com>
13748             Kirill Yukhin  <kirill.yukhin@intel.com>
13749             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13751         * config/i386/sse.md
13752         (define_c_enum "unspec"): Add UNSPEC_PSHUFHW, UNSPEC_PSHUFLW.
13753         (define_insn "<mask_codefor>avx512bw_pshuflwv32hi<mask_name>"): New.
13754         (define_expand "avx512vl_pshuflwv3_mask"): Ditto.
13755         (define_insn "avx2_pshuflw_1<mask_name>"): Add masking.
13756         (define_expand "avx512vl_pshuflw_mask"): New.
13757         (define_insn "sse2_pshuflw_1<mask_name>"): Add masking.
13758         (define_insn "<mask_codefor>avx512bw_pshufhwv32hi<mask_name>"): New.
13759         (define_expand "avx512vl_pshufhwv3_mask"): Ditto.
13760         (define_insn "avx2_pshufhw_1<mask_name>"): Add masking.
13761         (define_expand "avx512vl_pshufhw_mask"): New.
13762         (define_insn "sse2_pshufhw_1<mask_name>"): Add masking.
13764 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13765             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13766             Anna Tikhonova  <anna.tikhonova@intel.com>
13767             Ilya Tocar  <ilya.tocar@intel.com>
13768             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13769             Ilya Verbin  <ilya.verbin@intel.com>
13770             Kirill Yukhin  <kirill.yukhin@intel.com>
13771             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13773         * config/i386/i386.c
13774         (ix86_expand_args_builtin): Handle CODE_FOR_sse2_shufpd,
13775         CODE_FOR_sse2_sse2_shufpd_mask, CODE_FOR_sse2_avx512dq_shuf_f64x2_mask,
13776         CODE_FOR_sse2_avx512dq_shuf_i64x2_mask,
13777         CODE_FOR_sse2_avx512vl_shuf_i32x4_mask and
13778         CODE_FOR_sse2_avx512vl_shuf_f32x4_mask.
13779         * config/i386/sse.md
13780         (define_expand "avx512dq_shuf_<shuffletype>64x2_mask"): New.
13781         (define_insn
13782         "<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>"): Ditto.
13783         (define_expand "avx512vl_shuf_<shuffletype>32x4_mask"): Ditto.
13784         (define_insn
13785         "<mask_codefor>avx512vl_shuf_<shuffletype>32x4_1<mask_name>"): Ditto.
13786         (define_expand "avx512vl_pshufdv3_mask"): Ditto.
13787         (define_insn "avx2_pshufd_1<mask_name>"): Add masking.
13788         (define_expand "avx512vl_pshufd_mask"): New.
13789         (define_insn "sse2_pshufd_1<mask_name>"): Add masking.
13791 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13792             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13793             Anna Tikhonova  <anna.tikhonova@intel.com>
13794             Ilya Tocar  <ilya.tocar@intel.com>
13795             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13796             Ilya Verbin  <ilya.verbin@intel.com>
13797             Kirill Yukhin  <kirill.yukhin@intel.com>
13798             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13800         * config/i386/i386.c
13801         (CODE_FOR_avx2_extracti128): Rename to ...
13802         (CODE_FOR_avx_vextractf128v4di): this.
13803         (CODE_FOR_avx2_inserti128): Rename to ...
13804         (CODE_FOR_avx_vinsertf128v4di): this.
13805         (ix86_expand_args_builtin): Handle CODE_FOR_avx_vinsertf128v4di,
13806         CODE_FOR_avx_vextractf128v4di.
13807         (ix86_expand_args_builtin): Handle CODE_FOR_avx512dq_vinsertf32x8_mask,
13808         CODE_FOR_avx512dq_vinserti32x8_mask, CODE_FOR_avx512vl_vinsertv4df,
13809         CODE_FOR_avx512vl_vinsertv4di, CODE_FOR_avx512vl_vinsertv8sf,
13810         CODE_FOR_avx512vl_vinsertv8si.
13811         * config/i386/sse.md
13812         (define_expand
13813         "<extract_type>_vinsert<shuffletype><extract_suf>_mask"): Use
13814         AVX512_VEC mode iterator.
13815         (define_insn
13816         "<mask_codefor><extract_type>_vinsert<shuffletype><extract_suf>_1<mask_name>"):
13817         Ditto.
13818         (define_expand
13819         "<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask"): Use
13820         AVX512_VEC_2 mode iterator.
13821         (define_insn "vec_set_lo_<mode><mask_name>"): New.
13822         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
13823         (define_expand "avx512vl_vinsert<mode>"): Ditto.
13824         (define_insn "avx2_vec_set_lo_v4di"): Delete.
13825         (define_insn "avx2_vec_set_hi_v4di"): Ditto.
13826         (define_insn "vec_set_lo_<mode><mask_name>"): Add masking.
13827         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
13828         (define_insn "vec_set_lo_<mode><mask_name>"): Ditto.
13829         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
13830         (define_expand "avx2_extracti128"): Delete.
13831         (define_expand "avx2_inserti128"): Ditto.
13833 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13834             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13835             Anna Tikhonova  <anna.tikhonova@intel.com>
13836             Ilya Tocar  <ilya.tocar@intel.com>
13837             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13838             Ilya Verbin  <ilya.verbin@intel.com>
13839             Kirill Yukhin  <kirill.yukhin@intel.com>
13840             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13842         * config/i386/sse.md
13843         (define_insn "avx2_<code>v16qiv16hi2<mask_name>"): Add masking.
13844         (define_insn "avx512bw_<code>v32qiv32hi2<mask_name>"): New.
13845         (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>"): Add masking.
13846         (define_insn "avx2_<code>v8qiv8si2<mask_name>"): Ditto.
13847         (define_insn "sse4_1_<code>v4qiv4si2<mask_name>"): Ditto.
13848         (define_insn "avx2_<code>v8hiv8si2<mask_name>"): Ditto.
13849         (define_insn "sse4_1_<code>v4hiv4si2<mask_name>"): Ditto.
13850         (define_insn "avx2_<code>v4qiv4di2<mask_name>"): Ditto.
13851         (define_insn "sse4_1_<code>v2qiv2di2<mask_name>"): Ditto.
13852         (define_insn "avx2_<code>v4hiv4di2<mask_name>"): Ditto.
13853         (define_insn "sse4_1_<code>v2hiv2di2<mask_name>"): Ditto.
13854         (define_insn "avx2_<code>v4siv4di2<mask_name>"): Ditto.
13855         (define_insn "sse4_1_<code>v2siv2di2<mask_name>"): Ditto.
13857 2014-09-24  Zhenqiang Chen  <zhenqiang.chen@arm.com>
13859         PR rtl-optimization/63210
13860         * ira-color.c (assign_hard_reg): Ignore conflict cost if the
13861         HARD_REGNO is not available for CONFLICT_A.
13863 2014-09-23  Andi Kleen  <ak@linux.intel.com>
13865         * cgraph.h (symtab_node): Add no_reorder attribute.
13866         (symbol_table::output_asm_statements): Remove.
13867         * cgraphclones.c (cgraph_node::create_clone): Copy no_reorder.
13868         (cgraph_node::create_version_clone): Dito.
13869         (symbol_table::output_asm_statements): Remove.
13870         * trans-mem.c (ipa_tm_create_version_alias): Dito.
13871         * cgraphunit.c (varpool_node::finalize_decl): Check no_reorder.
13872         (output_in_order): Add no_reorder flag. Only handle no_reorder
13873         nodes when set.
13874         (symbol_table::compile): Add separate pass for no_reorder nodes.
13875         (process_common_attributes): Set no_reorder flag in symtab node.
13876         Add node argument.
13877         (process_function_and_variable_attributes): Pass symtab nodes to
13878         process_common_attributes.
13879         * doc/extend.texi (no_reorder): Document no_reorder attribute.
13880         * lto-cgraph.c (lto_output_node): Serialize no_reorder.
13881         (lto_output_varpool_node): Dito.
13882         (input_overwrite_node): Dito.
13883         (input_varpool_node): Dito.
13884         * varpool.c (varpool_node::add): Set no_reorder attribute.
13885         (symbol_table::remove_unreferenced_decls): Handle no_reorder.
13886         (symbol_table::output_variables): Dito.
13887         * symtab.c (symtab_node::dump_base): Print no_reorder.
13889 2014-09-23  Jiong Wang  <jiong.wang@arm.com>
13891         * shrink-wrap.c (try_shrink_wrapping): Check PIC_OFFSET_TABLE_REGNUM not
13892         be INVALID_REGNUM.
13894 2014-09-23  Thomas Schwinge  <thomas@codesourcery.com>
13896         * configure: Regenerate.
13898 2014-09-23  Alan Lawrence  <alan.lawrence@arm.com>
13900         * combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
13901         when result_mode == shift_mode.
13903 2014-09-23  Kostya Serebryany  <kcc@google.com>
13905         Update to match the changed asan API.
13906         * asan.c (asan_global_struct): Update the __asan_global definition
13907         to match the new API.
13908         (asan_add_global): Ditto.
13909         * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
13910         to __asan_init_v4.
13912 2014-09-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
13914         * config/rs6000/rs6000.md (f32_vsx): New mode attributes to
13915         refine the constraints used on 32/64-bit floating point moves.
13916         (f32_av): Likewise.
13917         (f64_vsx): Likewise.
13918         (f64_dm): Likewise.
13919         (f64_av): Likewise.
13920         (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
13921         (BOOL_REGS_OP1): Likewise.
13922         (BOOL_REGS_OP2): Likewise.
13923         (BOOL_REGS_UNARY): Likewise.
13924         (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
13925         32/64-bit floating point moves.  Do not use wa, instead use ww/ws
13926         for moves involving VSX registers.  Do not use constraints that
13927         target VSX registers for decimal types.
13928         (mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
13929         (mov<mode>_hardfloat64, DFmode/DDmode): Likewise.
13931 2014-09-23  Jan Hubicka  <hubicka@ucw.cz>
13933         * tree.h (int_bit_position): Turn into inline function;
13934         implement using wide int.
13935         * tree.c (int_bit_position): Remove.
13937 2014-09-23  Richard Sandiford  <richard.sandiford@arm.com>
13939         PR bootstrap/63280
13940         * target-globals.c (target_globals::~target_globals): Fix location
13941         of ira_int destruction.
13943 2014-09-23  Renlin Li  <renlin.li@arm.com>
13945         * config/aarch64/aarch64.md (return): New.
13946         (simple_return): Likewise.
13947         * config/aarch64/aarch64.c (aarch64_use_return_insn_p): New.
13948         * config/aarch64/aarch64-protos.h (aarch64_use_return_insn_p): New.
13950 2014-09-23  Wilco Dijkstra  <wdijkstr@arm.com>
13952         * common/config/aarch64/aarch64-common.c:
13953         (default_options aarch_option_optimization_table):
13954         Default to -fsched-pressure.
13956 2014-09-23  Ilya Enkovich  <ilya.enkovich@intel.com>
13958         * cfgcleanup.c (try_optimize_cfg): Do not remove label
13959         with LABEL_PRESERVE_P flag set.
13961 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13962             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13963             Anna Tikhonova  <anna.tikhonova@intel.com>
13964             Ilya Tocar  <ilya.tocar@intel.com>
13965             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13966             Ilya Verbin  <ilya.verbin@intel.com>
13967             Kirill Yukhin  <kirill.yukhin@intel.com>
13968             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13970         * config/i386/sse.md
13971         (define_expand "avx_shufpd256<mask_expand4_name>"): Add masking.
13972         (define_insn "avx_shufpd256_1<mask_name>"): Ditto.
13973         (define_expand "sse2_shufpd<mask_expand4_name>"): Ditto.
13974         (define_insn "sse2_shufpd_v2df_mask"): New.
13976 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13977             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13978             Anna Tikhonova  <anna.tikhonova@intel.com>
13979             Ilya Tocar  <ilya.tocar@intel.com>
13980             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13981             Ilya Verbin  <ilya.verbin@intel.com>
13982             Kirill Yukhin  <kirill.yukhin@intel.com>
13983             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13985         * config/i386/sse.md
13986         (define_expand "avx_shufps256<mask_expand4_name>"): Add masking.
13987         (define_insn "avx_shufps256_1<mask_name>"): Ditto.
13988         (define_expand "sse_shufps<mask_expand4_name>"): Ditto.
13989         (define_insn "sse_shufps_v4sf_mask"): New.
13991 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13992             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13993             Anna Tikhonova  <anna.tikhonova@intel.com>
13994             Ilya Tocar  <ilya.tocar@intel.com>
13995             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13996             Ilya Verbin  <ilya.verbin@intel.com>
13997             Kirill Yukhin  <kirill.yukhin@intel.com>
13998             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14000         * config/i386/sse.md
14001         (define_insn "avx_unpckhps256<mask_name>"): Add masking.
14002         (define_insn "vec_interleave_highv4sf<mask_name>"): Ditto.
14003         (define_insn "avx_unpcklps256<mask_name>"): Ditto.
14004         (define_insn "unpcklps128_mask"): New.
14006 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14007             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14008             Anna Tikhonova  <anna.tikhonova@intel.com>
14009             Ilya Tocar  <ilya.tocar@intel.com>
14010             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14011             Ilya Verbin  <ilya.verbin@intel.com>
14012             Kirill Yukhin  <kirill.yukhin@intel.com>
14013             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14015         * config/i386/sse.md
14016         (define_insn "avx_unpckhpd256<mask_name>"): Add masking.
14017         (define_insn "avx512vl_unpckhpd128_mask"): New.
14018         (define_expand "avx_movddup256<mask_name>"): Add masking.
14019         (define_expand "avx_unpcklpd256<mask_name>"): Ditto.
14020         (define_insn "*avx_unpcklpd256<mask_name>"): Ditto.
14021         (define_insn "avx512vl_unpcklpd128_mask"): New.
14023 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
14025         * doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14026         * doc/tm.texi: Regenerate.
14027         * system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
14028         * config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14029         * config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
14030         Remove.
14031         * config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14032         * config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14033         * config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14034         * config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14035         * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
14036         Remove.
14037         * config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14038         * config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14039         * config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14040         * config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14041         * config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14042         * config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14043         * config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14044         * config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14045         * config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14046         * config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
14047         * config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
14048         Remove.
14050 2014-09-22  Jan Hubicka  <hubicka@ucw.cz>
14052         * tree-ssa-ccp.c (prop_value_d): Rename to ...
14053         (ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
14054         * ipa-prop.c (struct type_change_info): Rename to ...
14055         (prop_type_change_info): ... this; update uses.
14056         * ggc-page.c (globals): Rename to ...
14057         (static struct ggc_globals): ... this; update uses.
14058         * tree-ssa-loop-im.c (mem_ref): Rename to ...
14059         (im_mem_ref): ... this; update uses.
14060         * ggc-common.c (loc_descriptor): Rename to ...
14061         (ggc_loc_descriptor): ... this; update uses.
14062         * lra-eliminations.c (elim_table): Rename to ...
14063         (lra_elim_table): ... this; update uses.
14064         * bitmap.c (output_info): Rename to ...
14065         (bitmap_output_info): ... this; update uses.
14066         * gcse.c (expr): Rename to ...
14067         (gcse_expr) ... this; update uses.
14068         (occr): Rename to ...
14069         (gcse_occr): .. this; update uses.
14070         * tree-ssa-copy.c (prop_value_d): Rename to ...
14071         (prop_value_t): ... this.
14072         * predict.c (block_info_def): Rename to ...
14073         (block_info): ... this; update uses.
14074         (edge_info_def): Rename to ...
14075         (edge_info): ... this; update uses.
14076         * profile.c (bb_info): Rename to ...
14077         (bb_profile_info): ... this; update uses.
14078         * alloc-pool.c (output_info): Rename to ...
14079         (pool_output_info): ... this; update uses.
14080         * ipa-cp.c (topo_info): Rename to ..
14081         (ipa_topo_info): ... this; update uses.
14082         * tree-nrv.c (nrv_data): Rename to ...
14083         (nrv_data_t): ... this; update uses.
14084         * ipa-split.c (bb_info): Rename to ...
14085         (split_bb_info): ... this one.
14086         * profile.h (edge_info): Rename to ...
14087         (edge_profile_info): ... this one; update uses.
14088         * dse.c (bb_info): Rename to ...
14089         (dse_bb_info): ... this one; update uses.
14090         * cprop.c (occr): Rename to ...
14091         (cprop_occr): ... this one; update uses.
14092         (expr): Rename to ...
14093         (cprop_expr): ... this one; update uses.
14095 2014-09-22  Jason Merrill  <jason@redhat.com>
14097         * Makefile.in (check-parallel-%): Add @.
14099 2014-09-22  James Greenhalgh  <james.greenhalgh@arm.com>
14101         * config/aarch64/geniterators.sh: New.
14102         * config/aarch64/iterators.md (VDQF_DF): New.
14103         * config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
14104         * config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
14106 2014-09-22  Peter A. Bigot  <pab@pabigot.com>
14108         * config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
14109         -lnosys when -msim absent.
14111 2014-09-22  Alan Lawrence  <alan.lawrence@arm.com>
14113         * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
14115 2014-09-22  Richard Biener  <rguenther@suse.de>
14117         * gimplify.c (gimplify_init_constructor): Do not leave
14118         non-GIMPLE vector constructors around.
14119         * tree-cfg.c (verify_gimple_assign_single): Verify that
14120         CONSTRUCTORs have gimple elements.
14122 2014-09-22  Jakub Jelinek  <jakub@redhat.com>
14124         PR debug/63328
14125         * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
14126         insert a debug source bind stmt setting DEBUG_EXPR_DECL
14127         instead of a normal gimple assignment stmt.
14129 2014-09-22  James Greenhalgh  <james.greenhalgh@arm.com>
14131         * config/bfin/bfin.md: Fix use of constraints in define_split.
14133 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
14135         * config/i386/i386.c (ix86_cannot_change_mode_class): Remove
14136         GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
14138 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
14140         * hard-reg-set.h: Include hash-table.h.
14141         (target_hard_regs): Add a finalize method and a x_simplifiable_subregs
14142         field.
14143         * target-globals.c (target_globals::~target_globals): Call
14144         hard_regs->finalize.
14145         * rtl.h (subreg_shape): New structure.
14146         (shape_of_subreg): New function.
14147         (simplifiable_subregs): Declare.
14148         * reginfo.c (simplifiable_subreg): New structure.
14149         (simplifiable_subregs_hasher): Likewise.
14150         (simplifiable_subregs): New function.
14151         (invalid_mode_changes): Delete.
14152         (alid_mode_changes, valid_mode_changes_obstack): New variables.
14153         (record_subregs_of_mode): Remove subregs_of_mode parameter.
14154         Record valid mode changes in valid_mode_changes.
14155         (find_subregs_of_mode): Remove subregs_of_mode parameter.
14156         Update calls to record_subregs_of_mode.
14157         (init_subregs_of_mode): Remove invalid_mode_changes and bitmap
14158         handling.  Initialize new variables.  Update call to
14159         find_subregs_of_mode.
14160         (invalid_mode_change_p): Check new variables instead of
14161         invalid_mode_changes.
14162         (finish_subregs_of_mode): Finalize new variables instead of
14163         invalid_mode_changes.
14164         (target_hard_regs::finalize): New function.
14165         * ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
14166         even when CLASS_CANNOT_CHANGE_MODE is undefined.
14168 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
14170         * combine.c (subst): Use simplify_subreg_regno rather than
14171         REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
14173 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
14175         * rtl.h (subreg_info): Expand commentary
14176         * rtlanal.c (subreg_get_info): Likewise.
14178 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
14180         * hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
14181         (AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
14182         (IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
14184 2014-09-22  Zhenqiang Chen  <zhenqiang.chen@arm.com>
14186         * config/arm/arm.c: #include "tm-constrs.h"
14187         (thumb1_size_rtx_costs): Adjust rtx costs.
14189 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
14191         * configure.ac (target_header_dir): Move block defining
14192         this to before the block setting inhibit_libc.
14193         (inhibit_libc): When considering $with_headers, just
14194         check it it's explicitly "no".  If not, also check if
14195         $target_header_dir/stdio.h is present.  If not, set
14196         inhibit_libc=true.
14197         * configure: Regenerate.
14199 2014-09-21  Patrick Oppenlander  <pattyo.lists@gmail.com>
14201         * config/rs6000/t-spe (MULTILIB_EXCEPTIONS): Allow isel without SPE.
14203 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14205         * config/rs6000/rs6000.md (div<mode>3): Fix comment.  Use a different
14206         insn for divides by integer powers of two.
14207         (div<mode>3_sra, *div<mode>3_sra_dot, *div<mode>3_sra_dot2): New.
14208         (mod<mode>3): Fix formatting.
14209         (three anonymous define_insn and two define_split): Delete.
14211 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14213         * config/rs6000/rs6000.md (ashr<mode>3, *ashr<mode>3, *ashrsi3_64,
14214         *ashr<mode>3_dot, *ashr<mode>3_dot2): Clobber CA_REGNO.
14215         (floatdisf2_internal2): Ditto.
14216         (ashrdi3_no_power): Ditto.  Fix formatting.
14218 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14220         * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
14221         popcntb<mode>2, popcntd<mode>2, parity<mode>2, parity<mode>2_cmpb):
14222         Tidy.
14224 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14226         * config/rs6000/rs6000.md (strlensi): Don't use subsi3 with a
14227         constant, use addsi3 directly.
14228         (three anonymous define_insn, two define_split): Delete.
14229         (sub<mode>3): Move.  Do not allow constant second operand.
14230         Generate different insn for constant first operand.
14231         (*subf<mode>3, *subf<mode>3_dot, *subf<mode>3_dot2): New.
14232         (subf<mode>3_imm): New.
14233         (ctz<mode>2, ffs<mode>2): Clobber CA_REGNO where required.
14234         (*plus_ltu<mode>): Only handle registers.
14235         (*plus_ltu<mode>_1): New.  Handle integer third operand.
14236         (*plus_gtu<mode>): Only handle registers.
14237         (*plus_gtu<mode>_1): New.  Handle integer third operand.
14239 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14241         * config/rs6000/rs6000.md (iorxor): New code_iterator.
14242         (iorxor): New code_attr.
14243         (IORXOR): New code_attr.
14244         (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): Delete.
14245         (ior<mode>3, xor<mode>3): Delete.
14246         (<iorxor><mode>3): New.
14247         (splitter for "big" integer ior, xor): New.
14248         (*bool<mode>3): Move.  Also handle AND.
14249         (*bool<mode>3_dot, *bool<mode>3_dot2): Also handle AND.
14250         (splitter for "big" integer ior, xor): Delete.
14252 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14254         * config/rs6000/rs6000.md (*neg<mode>2_internal): Delete.
14255         (two anonymous define_insn and two define_split): Delete.
14256         (*neg<mode>2, *neg<mode>2_dot, *neg<mode>2_dot2): New.
14258 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14260         * config/rs6000/rs6000.md (*one_cmpl<mode>2): Generate "not" insn.
14261         (two anonymous define_insn and two define_split): Delete.
14262         (*one_cmpl<mode>2_dot, *one_cmpl<mode>2_dot2): New.
14264 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14266         * config/rs6000/rs6000.c (rs6000_rtx_costs) <NE>: New.
14268 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
14270         * config/rs6000/predicates.md (ca_operand): Allow subregs.
14271         (input_operand): Do not allow ca_operand.
14272         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
14273         carry bit, allow SImode and Pmode.
14274         (rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.
14276 2014-09-21  Uros Bizjak  <ubizjak@gmail.com>
14278         * config/i386/i386.c (ix86_expand_call): Generate MS->SYSV extra
14279         clobbered registers using clobber_reg.  Remove UNSPEC decoration.
14280         * config/i386/i386.md (unspec) <UNSPEC_MS_TO_SYSV_CALL>: Remove.
14281         (*call_rex64_ms_sysv): Remove.
14282         (*call_value_rex64_ms_sysv): Ditto.
14283         * config/i386/predicates.md (call_rex64_ms_sysv_operation): Remove.
14285 2014-09-20  Joern Rennecke  <joern.rennecke@embecosm.com>
14287         * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of
14288         operand 3 to "CnL".
14290 2014-09-20  Andreas Schwab  <schwab@suse.de>
14292         * config/ia64/ia64.md: Remove constraints from define_split
14293         patterns.
14295 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14297         * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
14298         (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
14299         possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
14300         (get_dynamic_type): Remove.
14301         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
14302         (clear_speculation): Bring to ipa-deivrt.h
14303         (get_class_context): Rename to ...
14304         (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
14305         (contains_type_p): Update.
14306         (get_dynamic_type): Rename to ...
14307         ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
14308         (possible_polymorphic_call_targets): UPdate.
14309         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
14310         * ipa-prop.c (ipa_analyze_call_uses): Update.
14312 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14314         * ipa-visibility.c (varpool_node::externally_visible_p): Do not
14315         privatize dynamic TLS variables.
14317 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14319         * diagnostic.c (warning_n): New function.
14320         * diagnostic-core.h (warning_n): Declare.
14321         * ipa-devirt.c (ipa_devirt): Handle singulars correctly;
14322         output dynamic counts when available.
14324 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14326         PR tree-optimization/63255
14327         * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering
14328         issue in setting body_removed flag.
14330 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14332         PR c++/61825
14333         * c-family/c-common.c (handle_alias_ifunc_attribute): Check
14334         that visibility change is possible
14335         (handle_weakref_attribute): Likewise.
14336         * cgraph.h (symtab_node): Add method get_create and
14337         field refuse_visibility_changes.
14338         (symtab_node::get_create): New method.
14339         * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
14340         * varasm.c (mark_weak): Verify that visibility change is
14341         possible.
14343 2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
14345         * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
14346         for base_reg_operand to be common between LO_SUM and PLUS.
14347         (fusion_gpr_mem_combo): New predicate to match a fused address
14348         that combines the addis and memory offset address.
14350         * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
14351         calling signature.
14352         (emit_fusion_gpr_load): Likewise.
14354         * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
14355         signature to pass each argument separately, rather than
14356         using an operands array.  Rewrite the insns found by peephole2 to
14357         be a single insn, rather than hoping the insns will still be
14358         together when the peephole pass is done.  Drop being called via a
14359         normal peephole.
14360         (emit_fusion_gpr_load): Change calling signature to be called from
14361         the fusion_gpr_load_<mode> insns with a combined memory address
14362         instead of the peephole pass passing the addis and offset
14363         separately.
14365         * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
14366         fusion.
14367         (power8 fusion peephole): Drop support for doing power8 via a
14368         normal peephole that was created by the peephole2 pass.
14369         (power8 fusion peephole2): Create a new insn with the fused
14370         address, so that the fused operation is kept together after
14371         register allocation is done.
14372         (fusion_gpr_load_<mode>): Likewise.
14374 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
14376         PR lto/63286
14377         * tree.c (need_assembler_name_p): Do not mangle variadic types.
14379 2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
14381         * recog.c (scratch_operand): Do not simply allow all hard registers:
14382         only allow those that are allocatable.
14384 2014-09-19  Felix Yang  <felix.yang@huawei.com>
14386         * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
14387         comments and fix spacing to conform to coding style.
14389 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
14391         * genrecog.c (validate_pattern): Allow empty constraints in
14392         a match_scratch.
14394 2014-09-19  Aldy Hernandez  <aldyh@redhat.com>
14396         * dwarf2out.c (decl_ultimate_origin): Update comment.
14397         * tree.c (block_ultimate_origin): Same.
14399 2014-09-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14401         * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
14402         Update GCC version name to GCC 5.
14403         (rs6000_function_arg_boundary): Likewise.
14404         (rs6000_function_arg): Likewise.
14406 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
14408         * config/sh/sh.md: Fix use of constraints in define_split.
14410 2014-09-19  Markus Trippelsdorf  <markus@trippelsdorf.de>
14412         PR ipa/61998
14413         * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.
14415 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
14417         * doc/md.texi (Modifiers): Consistently use "read/write"
14418         nomenclature rather than "input/output".
14419         * genrecog.c (constraints_supported_in_insn_p): New.
14420         (validate_pattern): If needed, also check constraints on
14421         MATCH_SCRATCH operands.
14422         * genoutput.c (validate_insn_alternatives): Catch earlyclobber
14423         operands with no '=' or '+' modifier.
14425 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
14427         * config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
14428         scratch register as written.
14430 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14432         * config/s390/s390.c (s390_emit_epilogue): Remove bogus
14433         assignment.
14435 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14437         * config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
14438         expanders.
14440 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14442         PR target/62662
14443         * config/s390/s390.c (s390_emit_epilogue): When doing the return
14444         address load optimization force s390_optimize_prologue to leave it
14445         that way.  Only do the optimization if we already decided to push
14446         r14 into a stack slot.
14448 2014-09-19  Marat Zakirov  <m.zakirov@samsung.com>
14450         * asan.c (build_check_stmt): Alignment arg was added.
14451         (asan_expand_check_ifn): Optimization for alignment >= 8.
14453 2014-09-19  Olivier Hainque  <hainque@adacore.com>
14455         * config/i386/vxworksae.h: Remove obsolete definitions.
14456         (STACK_CHECK_PROTECT): Define.
14457         * config/i386/vx-common.h: Remove.  Merge contents within
14458         config/i386/vxworks.h.
14459         * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
14460         i386/vx-common.h.
14462 2014-09-19  Olivier Hainque  <hainque@adacore.com>
14464         * config.gcc (powerpc-wrs-vxworksmils): New configuration.
14465         * config/rs6000/t-vxworksmils: New file.
14466         * config/rs6000/vxworksmils.h: New file.
14468 2014-09-19  Olivier Hainque  <hainque@adacore.com>
14470         * varasm.c (default_section_type_flags): Flag .persistent.bss
14471         sections as SECTION_BSS.
14473 2014-09-19  Nick Clifton  <nickc@redhat.com>
14475         * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
14476         pop'ed registers so that DCE does not eliminate them.
14478 2014-09-18  Jan Hubicka  <hubicka@ucw.cz>
14480         PR lto/63298
14481         * ipa-devirt.c (odr_subtypes_equivalent_p): Fix thinko in a condition.
14483 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
14485         * system.h (LIBGCC2_TF_CEXT): Poison.
14486         * config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
14487         * config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
14488         * config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
14489         * config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
14490         * config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
14491         * config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
14492         * config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
14493         * config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
14494         * config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
14496 2014-09-19  Kito Cheng  <kito@0xlab.org>
14498         * except.h: Fix header guard.
14499         * addresses.h: Add missing header guard.
14500         * cfghooks.h: Likewise.
14501         * collect-utils.h: Likewise.
14502         * collect2-aix.h: Likewise.
14503         * conditions.h: Likewise.
14504         * cselib.h: Likewise.
14505         * dwarf2asm.h: Likewise.
14506         * graphds.h: Likewise.
14507         * graphite-scop-detection.h: Likewise.
14508         * gsyms.h: Likewise.
14509         * hw-doloop.h: Likewise.
14510         * incpath.h: Likewise.
14511         * ipa-inline.h: Likewise.
14512         * ipa-ref.h: Likewise.
14513         * ira-int.h: Likewise.
14514         * ira.h: Likewise.
14515         * lra-int.h: Likewise.
14516         * lra.h: Likewise.
14517         * lto-section-names.h: Likewise.
14518         * read-md.h: Likewise.
14519         * reload.h: Likewise.
14520         * rtl-error.h: Likewise.
14521         * sdbout.h: Likewise.
14522         * targhooks.h: Likewise.
14523         * tree-affine.h: Likewise.
14524         * xcoff.h: Likewise.
14525         * xcoffout.h: Likewise.
14527 2014-09-18  Vladimir Makarov  <vmakarov@redhat.com>
14529         PR debug/63285
14530         * haifa-sched.c (schedule_block): Advance cycle at the end of BB
14531         if advance != 0.
14533 2014-09-18  Vladimir Makarov  <vmakarov@redhat.com>
14535         PR target/61360
14536         * lra.c (lra): Call recog_init.
14538 2014-09-18  Jakub Jelinek  <jakub@redhat.com>
14540         PR c++/62017
14541         * asan.c (transform_statements): Don't instrument clobber statements.
14543 2014-09-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
14545         * config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
14546         to neon_load1_1reg<q>.
14548 2014-09-17  Jakub Jelinek  <jakub@redhat.com>
14550         PR debug/63284
14551         * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
14552         if there are only debug stmts after the noreturn call, instead
14553         remove the debug stmts.
14555 2014-09-17  Jan Hubicka  <hubicka@ucw.cz>
14557         * ipa-devirt.c (type_pair, default_hashset_traits): New types.
14558         (odr_types_equivalent_p): Use pair hash.
14559         (odr_subtypes_equivalent_p): Likewise, do structural compare
14560         on ODR types that may be mismatched.
14561         (warn_odr): Support warning when only one field is given.
14562         (odr_types_equivalent_p): Strenghten comparsions made;
14563         support VOIDtype.
14564         (add_type_duplicate): Update VISITED hash set.
14566 2014-09-17  Sebastian Huber  <sebastian.huber@embedded-brains.de>
14568         * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
14569         Enable selection of 'posix' or no thread model.
14571 2014-09-17  Andrew Stubbs  <ams@codesourcery.com>
14573         * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
14574         when architecture is older than ARMv7.
14576 2014-09-16  John David Anglin  <danglin@gcc.gnu.org>
14578         PR target/61853
14579         * config/pa/pa.c (pa_function_value): Directly handle aggregates
14580         that fit exactly in a word or double word.
14582 2014-09-16  Ilya Tocar  <ilya.tocar@intel.com>
14584         * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
14585         zmm/k regs support.
14587 2014-09-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14588             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14589             Anna Tikhonova  <anna.tikhonova@intel.com>
14590             Ilya Tocar  <ilya.tocar@intel.com>
14591             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14592             Ilya Verbin  <ilya.verbin@intel.com>
14593             Kirill Yukhin  <kirill.yukhin@intel.com>
14594             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14596         * config/i386/i386.c
14597         (ix86_expand_vector_extract): Handle V32HI and V64QI modes.
14598         * config/i386/sse.md
14599         (define_mode_iterator VI48F_256): New.
14600         (define_mode_attr extract_type): Ditto.
14601         (define_mode_attr extract_suf): Ditto.
14602         (define_mode_iterator AVX512_VEC): Ditto.
14603         (define_expand
14604         "<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
14605         AVX512_VEC.
14606         (define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
14607         (define_insn
14608         "<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
14609         Ditto.
14610         (define_mode_attr extract_type_2): Ditto.
14611         (define_mode_attr extract_suf_2): Ditto.
14612         (define_mode_iterator AVX512_VEC_2): Ditto.
14613         (define_expand
14614         "<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
14615         AVX512_VEC_2 mode iterator.
14616         (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
14617         (define_expand "avx512vl_vextractf128<mode>"): Ditto.
14618         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
14619         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
14620         (define_split for V16FI mode): Ditto.
14621         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
14622         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
14623         (define_split for VI8F_256 mode): Ditto.
14624         (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
14625         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
14626         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
14627         (define_split for VI4F_256 mode): Ditto.
14628         (define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
14629         (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
14630         (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
14631         (define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
14632         (define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
14633         (define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
14634         (define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
14635         Update `type' attribute, remove explicit `memory' attribute calculation.
14637 2014-09-16  Kito Cheng  <kito@0xlab.org>
14639         * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
14640         ira_spilled_reg_stack_slots_num if using lra.
14641         (do_reload): Remove release ira_spilled_reg_stack_slots part.
14642         * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
14643         make sure not using lra.
14644         (ira_reuse_stack_slot): Likewise.
14645         (ira_mark_new_stack_slot): Likewise.
14647 2014-09-15  Andi Kleen  <ak@linux.intel.com>
14649         * function.c (allocate_struct_function): Force
14650         DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
14651         profiling is disabled.
14653 2014-09-15  Trevor Saunders  <tsaunders@mozilla.com>
14655         * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
14656         config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
14657         emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
14658         reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
14659         macro with statically checked member functions.
14660         * rtl.h (rtx_insn::deleted): New method.
14661         (rtx_insn::set_deleted): Likewise.
14662         (rtx_insn::set_undeleted): Likewise.
14663         (INSN_DELETED_P): Remove.
14665 2014-09-15  Trevor Saunders  <tsaunders@mozilla.com>
14667         * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
14668         result of emit_jump_insn_before to a new variable.
14669         * jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
14670         (mark_jump_label_1): Likewise.
14671         (mark_jump_label_asm): Likewise.
14672         * reload1.c (gen_reload): Change type of tem to rtx_insn *.
14673         * rtl.h (mark_jump_label): Adjust.
14675 2014-09-15  Jakub Jelinek  <jakub@redhat.com>
14677         * Makefile.in (dg_target_exps): Remove.
14678         (check_gcc_parallelize): Change to just an upper bound number.
14679         (check-%-subtargets): Always print the non-parallelized goals.
14680         (check_p_vars, check_p_comma, check_p_subwork): Remove.
14681         (check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
14682         check_p_numbers3, check_p_numbers4, check_p_numbers5,
14683         check_p_numbers6): New variables.
14684         (check_p_numbers): Set to sequence from 1 to 9999.
14685         (check_p_subdirs): Set to sequence from 1 to minimum of
14686         $(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
14687         or 128.
14688         (check-%, check-parallel-%): Rewritten so that for parallelized
14689         testing each job runs all the *.exp files, with
14690         GCC_RUNTEST_PARALLELIZE_DIR set in environment.
14692 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
14694         * config/arc/arc-protos.h (arc_attr_type): Strengthen param from
14695         rtx to rtx_insn *.
14696         (arc_sets_cc_p): Likewise.
14697         * config/arc/arc.c (arc_print_operand): Use methods of
14698         "final_sequence" for clarity, and to enable strengthening of
14699         locals "jump" and "delay" from rtx to rtx_insn *.
14700         (arc_adjust_insn_length): Strengthen local "prev" from rtx to
14701         rtx_insn *; use method of rtx_sequence for typesafety.
14702         (arc_get_insn_variants): Use insn method of rtx_sequence for
14703         typesafety.
14704         (arc_pad_return): Likewise.
14705         (arc_attr_type): Strengthen param from rtx to rtx_insn *.
14706         (arc_sets_cc_p): Likewise.  Also, convert a GET_CODE check to a
14707         dyn_cast to rtx_sequence *, using insn method for typesafety.
14708         * config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
14709         rtx_sequence * and use insn method when invoking get_attr_length.
14710         * config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
14711         to rtx_insn *.  Replace a GET_CODE check with a dyn_cast to
14712         rtx_sequence *, introducing a local "seq", using its insn method
14713         from typesafety and clarity.
14714         (add_sched_insns_for_speculation): Strengthen local "next" from
14715         rtx to rtx_insn *.
14716         * config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
14717         (predicate_insn): Likewise.
14718         * config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
14719         second param.
14720         * config/cris/cris.c (cris_notice_update_cc): Likewise.
14721         * config/epiphany/epiphany-protos.h
14722         (extern void epiphany_insert_mode_switch_use): Likewise for param
14723         "insn".
14724         (get_attr_sched_use_fpu): Likewise for param.
14725         * config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
14726         Likewise for param "insn".
14727         * config/epiphany/mode-switch-use.c (insert_uses): Likewise for
14728         param "insn" of "target_insert_mode_switch_use" callback.
14729         * config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
14730         (frv_issues_to_branch_unit_p): Likewise.
14731         (frv_pack_insn_p): Likewise.
14732         (frv_compare_insns): Strengthen locals "insn1" and "insn2" from
14733         const rtx * (i.e. mutable rtx_def * const *) to
14734         rtx_insn * const *.
14735         * config/i386/i386-protos.h (standard_sse_constant_opcode):
14736         Strengthen first param from rtx to rtx_insn *.
14737         (output_fix_trunc): Likewise.
14738         * config/i386/i386.c (standard_sse_constant_opcode): Likewise.
14739         (output_fix_trunc): Likewise.
14740         (core2i7_first_cycle_multipass_filter_ready_try): Likewise for
14741         local "insn".
14742         (min_insn_size): Likewise for param "insn".
14743         (get_mem_group): Likewise.
14744         (is_cmp): Likewise.
14745         (get_insn_path): Likewise.
14746         (get_insn_group): Likewise.
14747         (count_num_restricted): Likewise.
14748         (fits_dispatch_window): Likewise.
14749         (add_insn_window): Likewise.
14750         (add_to_dispatch_window): Likewise.
14751         (debug_insn_dispatch_info_file): Likewise.
14752         * config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
14753         first param.
14754         * config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
14755         "cmp" and local "prev".
14756         (m32c_output_compare): Likewise for param "insn".
14757         * config/m32r/predicates.md (define_predicate "small_insn_p"): Add
14758         a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
14759         (define_predicate "large_insn_p"): Likewise.
14760         * config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
14761         param from rtx to rtx_insn *.
14762         (attr_op_mem m68k_sched_attr_op_mem): Likewise.
14763         * config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
14764         (m68k_sched_attr_size): Likewise.
14765         (sched_get_opxy_mem_type): Likewise for param "insn".
14766         (m68k_sched_attr_op_mem): Likewise.
14767         (sched_mem_operand_p): Likewise.
14768         * config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
14769         * config/mep/mep.c (mep_multi_slot): Likewise.
14770         * config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
14771         first param.
14772         (mips_sync_loop_insns): Likewise.
14773         * config/mips/mips.c (mips_print_operand_punctuation): Use insn
14774         method of "final_sequence" for typesafety.
14775         (mips_process_sync_loop): Strengthen param "insn" from rtx to
14776         rtx_insn *.
14777         (mips_output_sync_loop): Likewise.
14778         (mips_sync_loop_insns): Likewise.
14779         (mips_74k_agen_init): Likewise.
14780         (mips_sched_init): Use NULL rather than NULL_RTX when working with
14781         insns.
14782         * config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
14783         Strengthen param "insn" from rtx to rtx_insn *.
14784         * config/nds32/nds32.c (nds32_target_alignment): Likewise for
14785         local "insn".
14786         * config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for
14787         param.
14788         * config/pa/pa.c (pa_output_function_epilogue): Likewise for local
14789         "insn".  Use method of rtx_sequence for typesafety.
14790         (branch_to_delay_slot_p): Strengthen param "insn" from rtx to
14791         rtx_insn *.
14792         (branch_needs_nop_p): Likewise.
14793         (use_skip_p): Likewise.
14794         (pa_insn_refs_are_delayed): Likewise.
14795         * config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
14796         for locals "insn", "ninsn".
14797         * config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
14798         "insn".
14799         (is_cracked_insn): Likewise.
14800         (is_branch_slot_insn): Likewise.
14801         (is_nonpipeline_insn): Likewise.
14802         (insn_terminates_group_p): Likewise.
14803         (insn_must_be_first_in_group): Likewise.
14804         (insn_must_be_last_in_group): Likewise.
14805         (force_new_group): Likewise for param "next_insn".
14806         * config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
14807         "insn".
14808         (s390_sched_score): Likewise.
14809         * config/sh/sh-protos.h (output_branch): Likewise for param 2.
14810         (rtx sfunc_uses_reg): Likewise for sole param.
14811         * config/sh/sh.c (sh_print_operand): Use insn method of
14812         final_sequence for typesafety.
14813         (output_branch): Strengthen param "insn" from rtx to rtx_insn *.
14814         Use insn method of final_sequence for typesafety.
14815         (sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
14816         * config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
14817         for param.
14818         (eligible_for_return_delay): Likewise.
14819         (eligible_for_sibcall_delay): Likewise.
14820         * config/sparc/sparc.c (eligible_for_call_delay): Likewise.
14821         (eligible_for_return_delay): Likewise.
14822         (eligible_for_sibcall_delay): Likewise.
14823         * config/stormy16/stormy16-protos.h
14824         (xstormy16_output_cbranch_hi): Likewise for final param.
14825         (xstormy16_output_cbranch_si): Likewise.
14826         * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
14827         (xstormy16_output_cbranch_si): Likewise.
14828         * config/v850/v850-protos.h (notice_update_cc): Likewise.
14829         * config/v850/v850.c (notice_update_cc): Likewise.
14831         * final.c (get_attr_length_1): Strengthen param "insn" and param
14832         of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
14833         (get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
14834         (get_attr_min_length): Likewise.
14835         (shorten_branches): Likewise for signature of locals "length_fun"
14836         and "inner_length_fun".  Introduce local rtx_sequence * "seqn"
14837         from a checked cast and use its methods for clarity and to enable
14838         strengthening local "inner_insn" from rtx to rtx_insn *.
14839         * genattr.c (gen_attr): When writing out the prototypes of the
14840         various generated "get_attr_" functions, strengthen the params of
14841         the non-const functions from rtx to rtx_insn *.
14842         Similarly, strengthen the params of insn_default_length,
14843         insn_min_length, insn_variable_length_p, insn_current_length.
14844         (main): Similarly, strengthen the param of num_delay_slots,
14845         internal_dfa_insn_code, insn_default_latency, bypass_p,
14846         insn_latency, min_issue_delay, print_reservation,
14847         insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
14848         "insn_default_latency" callbacks.  Rename hook_int_rtx_unreachable
14849         to hook_int_rtx_insn_unreachable.
14850         * genattrtab.c (write_attr_get): When writing out the generated
14851         "get_attr_" functions, strengthen the param "insn" from rtx to
14852         rtx_insn *, eliminating a checked cast.
14853         (make_automaton_attrs): When writing out prototypes of
14854         "internal_dfa_insn_code_", "insn_default_latency_" functions
14855         and the "internal_dfa_insn_code" and "insn_default_latency"
14856         callbacks, strengthen their params from rtx to rtx_insn *
14857         * genautomata.c (output_internal_insn_code_evaluation): When
14858         writing out code, add a checked cast from rtx to rtx_insn * when
14859         invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
14860         (output_dfa_insn_code_func): Strengthen param of generated
14861         function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
14862         (output_trans_func): Likewise for generated function
14863         "state_transition".
14864         (output_internal_insn_latency_func): When writing out generated
14865         function "internal_insn_latency", rename params from "insn" and
14866         "insn2" to "insn_or_const0" and "insn2_or_const0".  Reintroduce
14867         locals "insn" and "insn2" as rtx_insn * with checked casts once
14868         we've proven that we're not dealing with const0_rtx.
14869         (output_insn_latency_func):  Strengthen param of generated
14870         function "insn_latency" from rtx to rtx_insn *.
14871         (output_print_reservation_func): Likewise for generated function
14872         "print_reservation".
14873         (output_insn_has_dfa_reservation_p): Likewise for generated
14874         function "insn_has_dfa_reservation_p".
14875         * hooks.c (hook_int_rtx_unreachable): Rename to...
14876         (hook_int_rtx_insn_unreachable): ...this, and strengthen param
14877         from rtx to rtx_insn *.
14878         * hooks.h (hook_int_rtx_unreachable): Likewise.
14879         (extern int hook_int_rtx_insn_unreachable): Likewise.
14880         * output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
14881         (get_attr_min_length): Likewise.
14882         * recog.c (get_enabled_alternatives): Likewise.
14883         * recog.h (alternative_mask get_enabled_alternatives): Likewise.
14884         * reorg.c (find_end_label): Introduce local rtx "pat" and
14885         strengthen local "insn" from rtx to rtx_insn *.
14886         (redundant_insn): Use insn method of "seq" rather than element for
14887         typesafety; strengthen local "control" from rtx to rtx_insn *.
14888         * resource.c (mark_referenced_resources): Add checked cast to
14889         rtx_insn * within INSN/JUMP_INSN case.
14890         (mark_set_resources): Likewise.
14891         * sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
14892         rtx to rtx_insn *.
14894 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
14896         * config/rs6000/rs6000.c (rs6000_loop_align_max_skip): Strengthen
14897         param "label" from rtx to rtx_insn *.
14898         * config/rx/rx.c (rx_max_skip_for_label): Likewise for param "lab"
14899         and local "op".
14900         * doc/tm.texi (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Autogenerated changes.
14901         (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Likewise.
14902         (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
14903         (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
14904         * final.c (default_label_align_after_barrier_max_skip): Strengthen
14905         param from rtx to rtx_insn *.
14906         (default_loop_align_max_skip): Likewise.
14907         (default_label_align_max_skip): Likewise.
14908         (default_jump_align_max_skip): Likewise.
14909         * target.def (label_align_after_barrier_max_skip): Likewise.
14910         (loop_align_max_skip): Likewise.
14911         (label_align_max_skip): Likewise.
14912         (jump_align_max_skip): Likewise.
14913         * targhooks.h (default_label_align_after_barrier_max_skip):
14914         Likewise.
14915         (default_loop_align_max_skip): Likewise.
14916         (default_label_align_max_skip): Likewise.
14917         (default_jump_align_max_skip): Likewise.
14919 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
14921         * config/arc/arc.c (arc_can_follow_jump): Strengthen both params
14922         from const_rtx to const rtx_insn *.  Update union members from rtx
14923         to rtx_insn *.
14924         * doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
14925         * hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
14926         (hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
14927         strengthen both params from const_rtx to const rtx_insn *.
14928         * hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
14929         (hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
14930         * reorg.c (follow_jumps): Strengthen param "jump" from rtx to
14931         rtx_insn *.
14932         * target.def (can_follow_jump): Strengthen both params from
14933         const_rtx to const rtx_insn *, and update default implementation
14934         from hook_bool_const_rtx_const_rtx_true to
14935         hook_bool_const_rtx_insn_const_rtx_insn_true.
14937 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
14939         * sched-deps.c (deps_start_bb): Strengthen param "head" and local
14940         "insn" from rtx to rtx_insn *.
14941         * sched-int.h (deps_start_bb): Likewise for 2nd param.
14943 2014-09-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14944             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14945             Anna Tikhonova  <anna.tikhonova@intel.com>
14946             Ilya Tocar  <ilya.tocar@intel.com>
14947             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14948             Ilya Verbin  <ilya.verbin@intel.com>
14949             Kirill Yukhin  <kirill.yukhin@intel.com>
14950             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14952         * config/i386/sse.md
14953         (define_insn "vcvtph2ps<mask_name>"): Add masking.
14954         (define_insn "*vcvtph2ps_load<mask_name>"): Ditto.
14955         (define_insn "vcvtph2ps256<mask_name>"): Ditto.
14956         (define_expand "vcvtps2ph_mask"): New.
14957         (define_insn "*vcvtps2ph<mask_name>"): Add masking.
14958         (define_insn "*vcvtps2ph_store<mask_name>"): Ditto.
14959         (define_insn "vcvtps2ph256<mask_name>"): Ditto.
14961 2014-09-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14962             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14963             Anna Tikhonova  <anna.tikhonova@intel.com>
14964             Ilya Tocar  <ilya.tocar@intel.com>
14965             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14966             Ilya Verbin  <ilya.verbin@intel.com>
14967             Kirill Yukhin  <kirill.yukhin@intel.com>
14968             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14970         * config/i386/sse.md (define_mode_iterator VI248_AVX512BW_AVX512VL):
14971         New.
14972         (define_mode_iterator VI24_AVX512BW_1): Ditto.
14973         (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
14974         (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
14975         (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Enable
14976         also for TARGET_AVX512VL.
14977         (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.
14979 2014-09-15  Markus Trippelsdorf  <markus@trippelsdorf.de>
14981         * doc/install.texi (Options specification): add
14982         --disable-libsanitizer item.
14984 2014-09-14  James Clarke  <jrtc27@jrtc27.com>
14985             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
14987         PR target/61407
14988         * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
14989         and above.
14990         * config/darwin-driver.c (darwin_find_version_from_kernel): Removed
14991         kernel version check to avoid incrementing it after every major OS X
14992         release.
14993         (darwin_default_min_version): Avoid static memory buffer.
14995 2014-09-13  Jan Hubicka  <hubicka@ucw.cz>
14997         * tree.c (need_assembler_name_p): Store C++ type mangling only
14998         for aggregates.
15000 2014-09-13  Marek Polacek  <polacek@redhat.com>
15002         * tree.c (protected_set_expr_location): Don't check whether T is
15003         non-null here.
15005 2014-09-12  DJ Delorie  <dj@redhat.com>
15007         * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
15008         (extend_and_shift1_hipsi2): Likewise.
15009         (extend_and_shift2_hipsi2): Likewise.
15011 2014-09-12  David Malcolm  <dmalcolm@redhat.com>
15013         * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
15014         with NULL when dealing with an insn.
15015         * config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
15016         from rtx to rtx_insn *.
15017         * rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
15018         const_rtx to const rtx_insn *.
15019         * rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
15021 2014-09-12  Trevor Saunders  <tsaunders@mozilla.com>
15023         * hash-table.h (gt_pch_nx): Don't call gt_pch_note_object within an
15024         assert.
15026 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
15028         * target.def (libgcc_floating_mode_supported_p): New hook.
15029         * targhooks.c (default_libgcc_floating_mode_supported_p): New
15030         function.
15031         * targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
15032         * doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
15033         (LIBGCC2_HAS_TF_MODE): Remove.
15034         (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
15035         * doc/tm.texi: Regenerate.
15036         * genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
15037         machine mode.
15038         * system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
15039         (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
15040         * config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
15041         * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
15042         * config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15043         * config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
15044         * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
15045         * config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
15046         * config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
15047         * config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
15048         function.
15049         (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
15050         * config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15051         * config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15052         * config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15053         * config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15054         * config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15055         * config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15056         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
15057         * config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
15058         * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
15059         * config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
15060         * config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
15061         * config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
15062         * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
15063         Remove.
15064         * config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
15065         New macro.
15066         (ia64_libgcc_floating_mode_supported_p): New function.
15067         * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
15068         * config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
15069         (IA64_NO_LIBGCC_TFMODE): Define.
15070         * config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
15071         * config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New
15072         macro.
15073         (pdp11_scalar_mode_supported_p): New function.
15074         * config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
15075         * config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
15077 2014-09-12  Richard Biener  <rguenther@suse.de>
15079         PR middle-end/63237
15080         * gimple-fold.c (get_maxval_strlen): Gimplify string length.
15082 2014-09-12  Marc Glisse  <marc.glisse@inria.fr>
15084         * tree.c (integer_each_onep): New function.
15085         * tree.h (integer_each_onep): Declare it.
15086         * fold-const.c (fold_binary_loc): Use it for ~A + 1 to -A and
15087         -A - 1 to ~A.  Disable (X & 1) ^ 1, (X ^ 1) & 1 and ~X & 1 to
15088         (X & 1) == 0 for vector and complex.
15090 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
15092         * gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
15093         for A57.
15094         (cortexa53_regmove_cost): New cost table for A53.  Increase GP2FP/FP2GP
15095         cost to spilling from integer to FP registers.
15097 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
15099         * config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
15100         move handling.
15101         (generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
15102         are now handled correctly.
15104 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
15106         * config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
15107         handling of CALLER_SAVE_REGS and POINTER_REGS.
15109 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
15111         * gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
15112         the number of hard registers.
15114 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15115             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15116             Anna Tikhonova  <anna.tikhonova@intel.com>
15117             Ilya Tocar  <ilya.tocar@intel.com>
15118             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15119             Ilya Verbin  <ilya.verbin@intel.com>
15120             Kirill Yukhin  <kirill.yukhin@intel.com>
15121             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15123         * config/i386/sse.md
15124         (define_mode_iterator VI48_AVX512VL): New.
15125         (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
15126         "avx512f_vternlog<mode>_maskz" and update mode iterator.
15127         (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
15128         from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
15129         (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
15130         "avx512f_vternlog<mode>_mask" and update mode iterator.
15131         (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
15132         from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
15133         iterator.
15134         (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
15135         "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
15136         (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
15137         "avx512f_<rotate><mode><mask_name>" and update mode iterator.
15138         (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL mode iterator.
15139         (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
15141 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15142             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15143             Anna Tikhonova  <anna.tikhonova@intel.com>
15144             Ilya Tocar  <ilya.tocar@intel.com>
15145             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15146             Ilya Verbin  <ilya.verbin@intel.com>
15147             Kirill Yukhin  <kirill.yukhin@intel.com>
15148             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15150         * config/i386/sse.md (VI128_256): Delete.
15151         (define_mode_iterator VI124_256): New.
15152         (define_mode_iterator VI124_256_AVX512F_AVX512BW): Ditto.
15153         (define_expand "<code><mode>3<mask_name><round_name>"): Delete.
15154         (define_expand "<code><VI124_256_AVX512F_AVX512BW:mode>3"): New.
15155         (define_insn "*avx2_<code><VI124_256:mode>3"): Rename from
15156         "*avx2_<code><mode>3<mask_name><round_name>" and update mode iterator.
15157         (define_expand "<code><VI48_AVX512VL:mode>3_mask"): New.
15158         (define_insn "*avx512bw_<code><VI48_AVX512VL:mode>3<mask_name>"): Ditto.
15159         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Update mode
15160         iterator.
15161         (define_expand "<code><VI8_AVX2:mode>3"): Update pettern generation
15162         in presence of AVX-512.
15164 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15165             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15166             Anna Tikhonova  <anna.tikhonova@intel.com>
15167             Ilya Tocar  <ilya.tocar@intel.com>
15168             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15169             Ilya Verbin  <ilya.verbin@intel.com>
15170             Kirill Yukhin  <kirill.yukhin@intel.com>
15171             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15173         * config/i386/sse.md
15174         (define_expand "<avx512>_gathersi<mode>"): Rename from
15175         "avx512f_gathersi<mode>".
15176         (define_insn "*avx512f_gathersi<mode>"): Use VI48F.
15177         (define_insn "*avx512f_gathersi<mode>_2"): Ditto.
15178         (define_expand "<avx512>_gatherdi<mode>"): Rename from
15179         "avx512f_gatherdi<mode>".
15180         (define_insn "*avx512f_gatherdi<mode>"): Use VI48F.
15181         (define_insn "*avx512f_gatherdi<mode>_2"): Use VI48F, add 128/256-bit
15182         wide versions.
15183         (define_expand "<avx512>_scattersi<mode>"): Rename from
15184         "avx512f_scattersi<mode>".
15185         (define_insn "*avx512f_scattersi<mode>"): Use VI48F.
15186         (define_expand "<avx512>_scatterdi<mode>"): Rename from
15187         "avx512f_scatterdi<mode>".
15188         (define_insn "*avx512f_scatterdi<mode>"): Use VI48F.
15190 2014-09-12  Richard Sandiford  <richard.sandiford@arm.com>
15192         * ira.h (ira_finish_once): Delete.
15193         * ira-int.h (target_ira_int::~target_ira_int): Declare.
15194         (target_ira_int::free_ira_costs): Likewise.
15195         (target_ira_int::free_register_move_costs): Likewise.
15196         (ira_finish_costs_once): Delete.
15197         * ira.c (free_register_move_costs): Replace with...
15198         (target_ira_int::free_register_move_costs): ...this new function.
15199         (target_ira_int::~target_ira_int): Define.
15200         (ira_init): Call free_register_move_costs as a member function rather
15201         than a global function.
15202         (ira_finish_once): Delete.
15203         * ira-costs.c (free_ira_costs): Replace with...
15204         (target_ira_int::free_ira_costs): ...this new function.
15205         (ira_init_costs): Call free_ira_costs as a member function rather
15206         than a global function.
15207         (ira_finish_costs_once): Delete.
15208         * target-globals.c (target_globals::~target_globals): Call the
15209         target_ira_int destructor.
15210         * toplev.c: Include lra.h.
15211         (finalize): Call lra_finish_once rather than ira_finish_once.
15213 2014-09-11  Jan Hubicka  <hubicka@ucw.cz>
15215         * common.opt (flto-odr-type-merging): New flag.
15216         * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
15217         (types_same_for_odr): Likewise.
15218         (odr_subtypes_equivalent_p): Likewise.
15219         (add_type_duplicate): Do not walk type variants.
15220         (register_odr_type): New function.
15221         * ipa-utils.h (register_odr_type): Declare.
15222         (odr_type_p): New function.
15223         * langhooks.c (lhd_set_decl_assembler_name): Do not compute
15224         TYPE_DECLs
15225         * doc/invoke.texi (-flto-odr-type-merging): Document.
15226         * tree.c (need_assembler_name_p): Compute ODR names when asked
15227         for it.
15228         * tree.h (DECL_ASSEMBLER_NAME): Update comment.
15230 2014-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15232         PR target/63228
15233         * config/i386/i386.c (ix86_option_override_internal): Also turn
15234         off OPTION_MASK_ABI_X32 for -m16.
15236 2014-09-11  Segher Boessenkool  <segher@kernel.crashing.org>
15238         * config/rs6000/rs6000.md (rs6000_mftb_<mode>): Use mode iterator
15239         GPR instead of P.
15241 2014-09-11  Marc Glisse  <marc.glisse@inria.fr>
15243         PR target/58757
15244         * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
15245         Directly forward to __*_DENORM_MIN__.
15247 2014-09-11  David Malcolm  <dmalcolm@redhat.com>
15249         * rtl.h (LABEL_REF_LABEL): New macro.
15251         * alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
15252         of XEXP (, 0), where we know that we have a LABEL_REF.
15253         * cfgbuild.c (make_edges): Likewise.
15254         (purge_dead_tablejump_edges): Likewise.
15255         * cfgexpand.c (convert_debug_memory_address): Likewise.
15256         * cfgrtl.c (patch_jump_insn): Likewise.
15257         * combine.c (distribute_notes): Likewise.
15258         * cse.c (hash_rtx_cb): Likewise.
15259         (exp_equiv_p): Likewise.
15260         (fold_rtx): Likewise.
15261         (check_for_label_ref): Likewise.
15262         * cselib.c (rtx_equal_for_cselib_1): Likewise.
15263         (cselib_hash_rtx): Likewise.
15264         * emit-rtl.c (mark_label_nuses): Likewise.
15265         * explow.c (convert_memory_address_addr_space): Likewise.
15266         * final.c (output_asm_label): Likewise.
15267         (output_addr_const): Likewise.
15268         * gcse.c (add_label_notes): Likewise.
15269         * genconfig.c (walk_insn_part): Likewise.
15270         * genrecog.c (validate_pattern): Likewise.
15271         * ifcvt.c (cond_exec_get_condition): Likewise.
15272         (noce_emit_store_flag): Likewise.
15273         (noce_get_alt_condition): Likewise.
15274         (noce_get_condition): Likewise.
15275         * jump.c (maybe_propagate_label_ref): Likewise.
15276         (mark_jump_label_1): Likewise.
15277         (redirect_exp_1): Likewise.
15278         (rtx_renumbered_equal_p): Likewise.
15279         * lra-constraints.c (operands_match_p): Likewise.
15280         * reload.c (operands_match_p): Likewise.
15281         (find_reloads): Likewise.
15282         * reload1.c (set_label_offsets): Likewise.
15283         * reorg.c (get_branch_condition): Likewise.
15284         * rtl.c (rtx_equal_p_cb): Likewise.
15285         (rtx_equal_p): Likewise.
15286         * rtlanal.c (reg_mentioned_p): Likewise.
15287         (rtx_referenced_p): Likewise.
15288         (get_condition): Likewise.
15289         * sched-vis.c (print_value): Likewise.
15290         * varasm.c (const_hash_1): Likewise.
15291         (compare_constant): Likewise.
15292         (const_rtx_hash_1): Likewise.
15293         (output_constant_pool_1): Likewise.
15295 2014-09-11  Segher Boessenkool  <segher@kernel.crashing.org>
15297         * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
15298         tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
15299         instead of minus.
15300         * config/rs6000/vector.md (cr6_test_for_zero_reverse,
15301         cr6_test_for_lt_reverse): Ditto.
15303 2014-09-11  Paolo Carlini  <paolo.carlini@oracle.com>
15305         PR c++/61489
15306         * doc/invoke.texi ([-Wmissing-field-initializers]): Update.
15308 2014-09-11  Alan Lawrence  <alan.lawrence@arm.com>
15310         * config/aarch64/aarch64-builtins.c (aarch64_types_unop_su_qualifiers,
15311         TYPES_REINTERP_SU, aarch64_types_unop_sp_qualifiers, TYPE_REINTERP_SP,
15312         aarch64_types_unop_us_qualifiers, TYPES_REINTERP_US,
15313         aarch64_types_unop_ps_qualifiers, TYPES_REINTERP_PS, BUILTIN_VD):
15314         Delete.
15316         (aarch64_fold_builtin): Remove all reinterpret cases.
15318         * config/aarch64/aarch64-protos.h (aarch64_simd_reinterpret): Delete.
15320         * config/aarch64/aarch64-simd-builtins.def (reinterpret*) : Delete.
15322         * config/aarch64/aarch64-simd.md (aarch64_reinterpretv8qi<mode>,
15323         aarch64_reinterpretv4hi<mode>, aarch64_reinterpretv2si<mode>,
15324         aarch64_reinterpretv2sf<mode>, aarch64_reinterpretdi<mode>,
15325         aarch64_reinterpretv1df<mode>, aarch64_reinterpretv16qi<mode>,
15326         aarch64_reinterpretv8hi<mode>, aarch64_reinterpretv4si<mode>,
15327         aarch64_reinterpretv4sf<mode>, aarch64_reinterpretv2di<mode>,
15328         aarch64_reinterpretv2df<mode>): Delete.
15330         * config/aarch64/aarch64.c (aarch64_simd_reinterpret): Delete.
15332         * config/aarch64/arm_neon.h (vreinterpret_p8_f64,
15333         vreinterpret_p16_f64, vreinterpret_f32_f64, vreinterpret_f64_f32,
15334         vreinterpret_f64_p8, vreinterpret_f64_p16, vreinterpret_f64_s8,
15335         vreinterpret_f64_s16, vreinterpret_f64_s32, vreinterpret_f64_u8,
15336         vreinterpret_f64_u16, vreinterpret_f64_u32, vreinterpret_s64_f64,
15337         vreinterpret_u64_f64, vreinterpret_s8_f64, vreinterpret_s16_f64,
15338         vreinterpret_s32_f64, vreinterpret_u8_f64, vreinterpret_u16_f64,
15339         vreinterpret_u32_f64): Use cast.
15341         * config/aarch64/iterators.md (VD_RE): Delete.
15343 2014-09-11  Alan Lawrence  <alan.lawrence@arm.com>
15345         * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2).
15346         (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
15347         vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
15348         vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64,
15349         vsetq_lane_f32, vsetq_lane_f64, vsetq_lane_p8, vsetq_lane_p16,
15350         vsetq_lane_s8, vsetq_lane_s16, vsetq_lane_s32, vsetq_lane_s64,
15351         vsetq_lane_u8, vsetq_lane_u16, vsetq_lane_u32, vsetq_lane_u64):
15352         Replace inline assembler with __aarch64_vset_lane_any.
15354 2014-09-11  James Greenhalgh  <james.greenhalgh@arm.com>
15356         * config/aarch64/arm_neon.h (vmull_high_lane_s16): Fix argument
15357         types.
15358         (vmull_high_lane_s32): Likewise.
15359         (vmull_high_lane_u16): Likewise.
15360         (vmull_high_lane_u32): Likewise.
15362 2014-09-11  Jason Merrill  <jason@redhat.com>
15364         PR c++/58678
15365         * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT.
15367 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
15369         PR target/63223
15370         * config/avr/avr.md (*tablejump.3byte-pc): New insn.
15371         (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL.  Add void clobber.
15372         (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
15374 2014-09-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15375             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15376             Anna Tikhonova  <anna.tikhonova@intel.com>
15377             Ilya Tocar  <ilya.tocar@intel.com>
15378             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15379             Ilya Verbin  <ilya.verbin@intel.com>
15380             Kirill Yukhin  <kirill.yukhin@intel.com>
15381             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15383         * config/i386/sse.md
15384         (define_expand "<avx512>_vpermi2var<VI48F:mode>3_maskz"): Rename from
15385         "avx512f_vpermi2var<mode>3_maskz" and update mode iterator.
15386         (define_expand "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_maskz"):
15387         New.
15388         (define_insn "<avx512>_vpermi2var<VI48F:mode>3<sd_maskz_name>"): Rename
15389         from "avx512f_vpermi2var<mode>3<sd_maskz_name>" and update mode
15390         iterator.
15391         (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
15392         New.
15393         (define_insn "<avx512>_vpermi2var<VI48F:mode>3_mask"): Rename from
15394         "avx512f_vpermi2var<mode>3_mask" and update mode iterator.
15395         (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_mask"): New.
15396         (define_expand "<avx512>_vpermt2var<VI48F:mode>3_maskz"): Rename from
15397         "avx512f_vpermt2var<mode>3_maskz" and update mode iterator.
15398         (define_expand "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_maskz"): New.
15399         (define_insn "<avx512>_vpermt2var<VI48F:mode>3<sd_maskz_name>"): Rename
15400         from "avx512f_vpermt2var<mode>3<sd_maskz_name>" and update mode
15401         iterator.
15402         (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
15403         New.
15404         (define_insn "<avx512>_vpermt2var<VI48F:mode>3_mask"): Rename from
15405         "avx512f_vpermt2var<mode>3_mask" and update mode iterator.
15406         (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_mask"): New.
15408 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
15410         * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
15411         to access removed nodes.
15413 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
15415         PR tree-optimization/63186
15416         * ipa-split.c (test_nonssa_use): Skip nonforced labels.
15417         (mark_nonssa_use): Likewise.
15418         (verify_non_ssa_vars): Verify all header blocks for label
15419         definitions.
15421 2014-09-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15422             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15423             Anna Tikhonova  <anna.tikhonova@intel.com>
15424             Ilya Tocar  <ilya.tocar@intel.com>
15425             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15426             Ilya Verbin  <ilya.verbin@intel.com>
15427             Kirill Yukhin  <kirill.yukhin@intel.com>
15428             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15430         * config/i386/sse.md
15431         (define_mode_attr avx2_avx512): Rename from avx2_avx512bw.
15432         (define_mode_iterator VI48F_256_512): Extend to AVX-512VL.
15433         (define_insn "<avx2_avx512>_permvar<mode><mask_name>"): Rename from
15434         "<avx2_avx512f>_permvar<mode><mask_name>".
15435         (define_insn "<avx512>_permvar<mode><mask_name>"): New.
15436         (define_insn "<avx2_avx512>_ashrv<VI48_AVX512F_AVX512VL:mode><mask_name>"):
15437         Rename from "<avx2_avx512f>_ashrv<mode><mask_name>".
15438         (define_insn "<avx2_avx512>_ashrv<VI2_AVX512VL:mode><mask_name>"):
15439         Ditto.
15440         (define_insn "<avx2_avx512>_<shift_insn>v<VI48_AVX512F:mode><mask_name>"):
15441         Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
15442         (define_insn "<avx2_avx512>_<shift_insn>v<VI2_AVX512VL:mode><mask_name>"):
15443         Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
15445 2014-09-10  Michael Meissner  <meissner@linux.vnet.ibm.com>
15447         * config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
15448         V2DF, V4SF, DF, and DI modes.
15449         (vsx_fmav2df2): Likewise.
15450         (vsx_float_fix_<mode>2): Likewise.
15451         (vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.
15453 2014-09-10  Xinliang David Li  <davidxl@google.com>
15455         PR target/63209
15456         * config/arm/arm.md (movcond_addsi): Handle case where source
15457         and target operands are the same.
15459 2014-09-10  David Malcolm  <dmalcolm@redhat.com>
15461         * final.c (this_is_asm_operands): Strengthen this variable from
15462         rtx to const rtx_insn *.
15463         * output.h (this_is_asm_operands): Likewise.
15464         * rtl-error.c (location_for_asm): Strengthen param "insn" from
15465         const_rtx to const rtx_insn *.
15466         (diagnostic_for_asm): Likewise.
15467         * rtl-error.h (error_for_asm): Likewise.
15468         (warning_for_asm): Likewise.
15470 2014-09-10  David Malcolm  <dmalcolm@redhat.com>
15472         * genextract.c (print_header): When writing out insn_extract to
15473         insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
15474         * recog.h (insn_extract): Strengthen the param from rtx to
15475         rtx_insn *.
15477 2014-09-10  Mike Stump  <mikestump@comcast.net>
15479         * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in
15480         8.6.1.
15482 2014-09-10  Martin Jambor  <mjambor@suse.cz>
15484         * cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
15485         (analyze): Do not set analyze flag if expand_thunk returns false;.
15486         (create_wrapper): Likewise.
15487         * cgraphclones.c (duplicate_thunk_for_node): Likewise.
15489 2014-09-10  Martin Jambor  <mjambor@suse.cz>
15491         PR ipa/61654
15492         * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
15493         new decl properly.  Analyze the new thunk if it is expanded.
15495 2014-09-10  Andreas Schwab  <schwab@suse.de>
15497         * coretypes.h (struct _dont_use_rtx_insn_here_, rtx_insn)
15498         [USED_FOR_TARGET]: Define.
15500 2014-09-10  Matthew Fortune  <matthew.fortune@imgtec.com>
15502         * config/mips/mips.c (mips_secondary_reload_class): Handle
15503         regno < 0 case.
15505 2014-09-10  Robert Suchanek   <robert.suchanek@imgtec.com>
15507         * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
15508         assignment.
15510 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
15512         * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
15513         and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
15514         * opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
15515         SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
15516         flag_delete_null_pointer_checks for them.
15517         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
15518         BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
15519         BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
15520         BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
15521         * ubsan.c (instrument_bool_enum_load): Set *gsi back to
15522         stmt's iterator.
15523         (instrument_nonnull_arg, instrument_nonnull_return): New functions.
15524         (pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
15525         or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
15526         (pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
15527         * doc/invoke.texi (-fsanitize=nonnull-attribute,
15528         -fsanitize=returns-nonnull-attribute): Document.
15530         * ubsan.h (struct ubsan_mismatch_data): Removed.
15531         (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
15532         * ubsan.c (ubsan_source_location): For unknown locations,
15533         pass { NULL, 0, 0 } instead of { "<unknown>", x, y }.
15534         (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
15535         Allow more than one location and arbitrary extra arguments passed
15536         in ... instead of through MISMATCH pointer.
15537         (ubsan_instrument_unreachable, ubsan_expand_bounds_ifn,
15538         ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
15539         instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust
15540         callers.
15542 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15543             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15544             Anna Tikhonova  <anna.tikhonova@intel.com>
15545             Ilya Tocar  <ilya.tocar@intel.com>
15546             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15547             Ilya Verbin  <ilya.verbin@intel.com>
15548             Kirill Yukhin  <kirill.yukhin@intel.com>
15549             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15551         * config/i386/sse.md
15552         (define_mode_iterator VI48F): New.
15553         (define_insn "<avx512>_compress<mode>_mask"): Rename from
15554         "avx512f_compress<mode>_mask" and update mode iterator.
15555         (define_insn "<avx512>_compressstore<mode>_mask"): Rename from
15556         "avx512f_compressstore<mode>_mask" and update mode iterator.
15557         (define_expand "<avx512>_expand<mode>_maskz"): Rename from
15558         "avx512f_expand<mode>_maskz" and update mode iterator.
15559         (define_insn "<avx512>_expand<mode>_mask"): Rename from
15560         "avx512f_expand<mode>_mask" and update mode iterator.
15562 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15563             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15564             Anna Tikhonova  <anna.tikhonova@intel.com>
15565             Ilya Tocar  <ilya.tocar@intel.com>
15566             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15567             Ilya Verbin  <ilya.verbin@intel.com>
15568             Kirill Yukhin  <kirill.yukhin@intel.com>
15569             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15571         * config/i386/i386.c
15572         (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
15573         avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
15574         avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
15575         avx512dq_rangepv4sf_mask.
15576         * config/i386/sse.md
15577         (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
15578         UNSPEC_RANGE.
15579         (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
15580         (define_insn "reduces<mode>"): Ditto.
15581         (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
15582         Ditto.
15583         (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Ditto.
15584         (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): Ditto.
15585         (define_insn "avx512dq_vmfpclass<mode>"): Ditto..
15587 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15588             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15589             Anna Tikhonova  <anna.tikhonova@intel.com>
15590             Ilya Tocar  <ilya.tocar@intel.com>
15591             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15592             Ilya Verbin  <ilya.verbin@intel.com>
15593             Kirill Yukhin  <kirill.yukhin@intel.com>
15594             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15596         * config/i386/i386.c
15597         (avx512f_vgetmantv2df_round): Rename from "avx512f_getmantv2df_round".
15598         (avx512f_vgetmantv4sf_round): Rename from "avx512f_vgetmantv4sf_round".
15599         (ix86_expand_args_builtin): Handle avx512vl_getmantv8sf_mask,
15600         avx512vl_getmantv4df_mask, avx512vl_getmantv4sf_mask,
15601         avx512vl_getmantv2df_mask.
15602         (ix86_expand_round_builtin): Handle avx512f_vgetmantv2df_round,
15603         avx512f_vgetmantv4sf_round.
15604         * config/i386/sse.md
15605         (define_insn "<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask"):
15606         Rename from "avx512f_storeu<ssemodesuffix>512_mask" and update
15607         mode iterator.
15608         (define_insn "<mask_codefor>rcp14<mode><mask_name>"): Use VF_AVX512VL.
15609         (define_insn "<mask_codefor>rsqrt14<mode><mask_name>"): Ditto.
15610         (define_insn "<avx512>_scalef<mode><mask_name><round_name>"): Rename
15611         from "avx512f_scalef<mode><mask_name><round_name>" and update mode
15612         iterator..
15613         (define_insn "<avx512>_getexp<mode><mask_name><round_saeonly_name>"):
15614         Rename from "avx512f_getexp<mode><mask_name><round_saeonly_name>" and
15615         update mode iterator.
15616         (define_expand
15617         "<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>"): Rename from
15618         "avx512f_fixupimm<mode>_maskz<round_saeonly_expand_name>" and update
15619         mode iterator.
15620         (define_insn
15621         "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"): Rename
15622         from "avx512f_fixupimm<mode><sd_maskz_name><round_saeonly_name>" and
15623         update mode iterator.
15624         (define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"): Rename
15625         from "avx512f_fixupimm<mode>_mask<round_saeonly_name>" and update mode
15626         iterator..
15627         (define_insn
15628         "<avx512>_rndscale<mode><mask_name><round_saeonly_name>"): rename from
15629         "avx512f_rndscale<mode><mask_name><round_saeonly_name>" and update
15630         mode iterator..
15631         (define_insn "<avx512>_getmant<mode><mask_name><round_saeonly_name>"):
15632         Rename from "avx512f_getmant<mode><mask_name><round_saeonly_name>" and
15633         update mode iterator.
15634         (define_insn "avx512f_vgetmant<mode><round_saeonly_name>"): Rename from
15635         "avx512f_getmant<mode><round_saeonly_name>".
15637 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
15639         PR ipa/63166
15640         * ipa-prop.c (compute_known_type_jump_func): Fix conditional.
15642 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
15643             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
15644             Anna Tikhonova  <anna.tikhonova@intel.com>
15645             Ilya Tocar  <ilya.tocar@intel.com>
15646             Andrey Turetskiy  <andrey.turetskiy@intel.com>
15647             Ilya Verbin  <ilya.verbin@intel.com>
15648             Kirill Yukhin  <kirill.yukhin@intel.com>
15649             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
15651         * config/i386/sse.md (define_mode_iterator VF_AVX512VL): New.
15652         (define_mode_iterator FMAMODEM): Allow 128/256bit EVEX version.
15653         (define_mode_iterator FMAMODE_AVX512): New.
15654         (define_mode_iterator FMAMODE): Remove conditions.
15655         (define_expand "fma4i_fmadd_<mode>"): Use FMAMODE_AVX512 mode iterator.
15656         (define_expand "<avx512>_fmadd_<mode>_maskz<round_expand_name>"): Rename
15657         from "<avx512>_fmadd_<mode>_maskz<round_expand_name>" and use VF_AVX512VL
15658         mode iterator.
15659         (define_mode_iterator FMAMODE_NOVF512): Remove.
15660         (define_insn "*fma_fmadd_<mode>"): Rename from
15661         "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>" and use
15662         FMAMODE mode iterator.
15663         (define_mode_iterator VF_SF_AVX512VL): New.
15664         (define_insn "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>"):
15665         Use VF_SF_AVX512VL mode iterator.
15666         (define_insn "<avx512>_fmadd_<mode>_mask<round_name>"): Rename from
15667         "avx512f_fmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
15668         iterator.
15669         (define_insn "<avx512>_fmadd_<mode>_mask3<round_name>"): Rename from
15670         "avx512f_fmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15671         iterator.
15672         (define_insn "*fma_fmsub_<mode>"): Rename from
15673         "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>" and use
15674         FMAMODE mode iterator.
15675         (define_insn "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>"):
15676         Use VF_SF_AVX512VL mode iterator.
15677         (define_insn "<avx512>_fmsub_<mode>_mask<round_name>"): Rename from
15678         "avx512f_fmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
15679         iterator.
15680         (define_insn "<avx512>_fmsub_<mode>_mask3<round_name>"): Rename from
15681         "avx512f_fmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15682         iterator.
15683         (define_insn "*fma_fnmadd_<mode>"): Rename from
15684         "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>" and
15685         use FMAMODE mode iterator.
15686         (define_insn "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>"):
15687         Use VF_SF_AVX512VL mode iterator.
15688         (define_insn "<avx512>_fnmadd_<mode>_mask<round_name>"): Rename from
15689         "avx512f_fnmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
15690         iterator.
15691         (define_insn "<avx512>_fnmadd_<mode>_mask3<round_name>"): Rename from
15692         "avx512f_fnmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15693         iterator.
15694         (define_insn "*fma_fnmsub_<mode>"): Rename from
15695         "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>" and use
15696         FMAMODE mode iterator.
15697         (define_insn "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>"):
15698         Use VF_SF_AVX512VL mode iterator.
15699         (define_insn "<avx512>_fnmsub_<mode>_mask<round_name>"): Rename from
15700         "avx512f_fnmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
15701         iterator.
15702         (define_insn "<avx512>_fnmsub_<mode>_mask3<round_name>"): Rename from
15703         "avx512f_fnmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15704         iterator.
15705         (define_expand "<avx512>_fmaddsub_<mode>_maskz<round_expand_name>"):
15706         Rename from "avx512f_fmaddsub_<mode>_maskz<round_expand_name>" and
15707         use VF_AVX512VL mode iterator.
15708         (define_insn "*fma_fmaddsub_<mode>"): Rename from
15709         "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>" and
15710         remove subst usage.
15711         (define_insn "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>"):
15712         Use VF_SF_AVX512VL mode iterator.
15713         (define_insn "<avx512>_fmaddsub_<mode>_mask<round_name>"): Rename from
15714         "avx512f_fmaddsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
15715         iterator.
15716         (define_insn "<avx512>_fmaddsub_<mode>_mask3<round_name>"): Rename from
15717         "avx512f_fmaddsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15718         iterator.
15719         (define_insn "*fma_fmsubadd_<mode>"): Rename from
15720         "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>" and
15721         remove usage of subst.
15722         (define_insn "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>"):
15723         Use VF_SF_AVX512VL mode iterator.
15724         (define_insn "<avx512>_fmsubadd_<mode>_mask<round_name>"): Rename from
15725         "avx512f_fmsubadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
15726         iterator.
15727         (define_insn "<avx512>_fmsubadd_<mode>_mask3<round_name>"): Rename from
15728         "avx512f_fmsubadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
15729         iterator.
15731 2014-09-10  Kugan Vivekanandarajah  <kuganv@linaro.org>
15733         Revert r213751:
15734         * calls.c (precompute_arguments): Check
15735          promoted_for_signed_and_unsigned_p and set the promoted mode.
15736         (promoted_for_signed_and_unsigned_p): New function.
15737         (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
15738         and set the promoted mode.
15739         * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
15740         * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
15741         SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
15743 2014-09-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
15745         * opth-gen.awk: Generate mapping from cpp message reasons to the
15746         options that enable them.
15747         * doc/options.texi (CppReason): Document.
15749 2014-09-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
15751         * doc/invoke.texi (Wnormalized=): Update.
15753 2014-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
15755         PR target/63195
15756         * config/rs6000/rs6000.md (*bool<mode>3): Allow only register
15757         operands.  Split off the constant operand alternative to ...
15758         (*bool<mode>3_imm): New.
15760 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
15762         * rtl.h (single_set_2): Strengthen first param from const_rtx to
15763         const rtx_insn *, and move prototype to above...
15764         (single_set): ...this.  Convert this from a macro to an inline
15765         function, enforcing the requirement that the param is a const
15766         rtx_insn *.
15767         (find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
15769         * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
15770         Strengthen both params from rtx to rtx_insn *.
15771         * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
15772         Likewise; introduce locals "producer_set", "consumer_set", using
15773         them in place of "producer" and "consumer" when dealing with SET
15774         rather than insn.
15775         * config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
15776         when invoking single_set in region guarded by INSN_P.
15777         (avr_out_bitop): Likewise.
15778         (_reg_unused_after): Introduce local rtx_sequence * "seq" in
15779         region guarded by GET_CODE check, using methods to strengthen
15780         local "this_insn" from rtx to rtx_insn *, and for clarity.
15781         * config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
15782         Strengthen local "insn" from rtx to rtx_insn *.
15783         (define_insn_and_split "xload<mode>_A"): Likewise.
15784         * config/bfin/bfin.c (trapping_loads_p): Likewise for param
15785         "insn".
15786         (find_load): Likewise for return type.
15787         (workaround_speculation): Likewise for both locals named
15788         "load_insn".
15789         * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
15790         local "cc0_user".
15791         * config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
15792         for local "prev".
15793         * config/h8300/h8300-protos.h (notice_update_cc): Likewise for
15794         param 2.
15795         * config/h8300/h8300.c (notice_update_cc): Likewise.
15796         * config/i386/i386.c (ix86_flags_dependent): Likewise for params
15797         "insn" and "dep_insn".
15798         (exact_store_load_dependency): Likewise for both params.
15799         (ix86_macro_fusion_pair_p): Eliminate local named "single_set"
15800         since this now clashes with inline function.  Instead, delay
15801         calling single_set until the point where its needed, and then
15802         assign the result to "compare_set" and rework the conditional that
15803         follows.
15804         * config/ia64/ia64.md (define_expand "tablejump"): Strengthen
15805         local "last" from rtx to rtx_insn *.
15806         * config/mips/mips-protos.h (mips_load_store_insns): Likewise for
15807         second param.
15808         (mips_store_data_bypass_p): Likewise for both params.
15809         * config/mips/mips.c (mips_load_store_insns): Likewise for second
15810         param.
15811         (mips_store_data_bypass_p): Likewise for both params.
15812         (mips_orphaned_high_part_p): Likewise for param "insn".
15813         * config/mn10300/mn10300.c (extract_bundle): Likewise.
15814         (mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
15815         Introduce local rtx "insn2_pat".
15816         * config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
15817         "ninsn".
15818         (rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
15819         Introduce local rtx "set", using it in place of "insn" for the
15820         result of single_set.  This appears to fix a bug, since the call
15821         to find_regno_note on a SET does nothing.
15822         * config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
15823         params from rtx to rtx_insn *.
15824         (set_to_load_agen): Likewise.
15825         * config/s390/s390.c (s390_label_align): Likewise for local
15826         "prev_insn".  Introduce new rtx locals "set" and "src", using
15827         them in place of "prev_insn" for the results of single_set
15828         and SET_SRC respectively.
15829         (s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
15830         Introduce new rtx local "set" using in place of "jump" for the
15831         result of single_set.  Use SET_SRC (set) rather than plain
15832         XEXP (set, 1).
15833         * config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
15834         rtx to rtx_insn *.
15835         (noncall_uses_reg): Likewise.
15836         (reg_unused_after): Introduce local rtx_sequence * "seq" in region
15837         guarded by GET_CODE check, using its methods for clarity, and to
15838         enable strengthening local "this_insn" from rtx to rtx_insn *.
15839         * config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
15840         "insn" from rtx to rtx_insn *.
15841         (define_expand "umulhisi3"): Likewise.
15842         (define_expand "smulsi3_highpart"): Likewise.
15843         (define_expand "umulsi3_highpart"): Likewise.
15844         * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
15845         local "after".  Replace GET_CODE check with a dyn_cast,
15846         introducing new local rtx_sequence * "seq", using insn method for
15847         typesafety.
15849         * dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
15850         from rtx to rtx_insn *.  Introduce local rtx "pat", using it in
15851         place of "insn" once we're dealing with patterns rather than the
15852         input insn.
15853         (scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
15854         (scan_trace): Likewise for local "elt", updating lookups within
15855         sequence to use insn method rather than element method.
15856         * expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
15857         to rtx_insn *.
15858         * gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
15859         * ifcvt.c (noce_try_abs): Likewise for local "insn".
15860         * ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
15861         invoking single_set.
15862         * lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
15863         "insn" from rtx to rtx_insn *.
15864         (skip_usage_debug_insns): Likewise for return type, adding a
15865         checked cast.
15866         (check_secondary_memory_needed_p): Likewise for local "insn".
15867         (inherit_reload_reg): Likewise.
15868         * modulo-sched.c (sms_schedule): Likewise for local "count_init".
15869         * recog.c (peep2_attempt): Likewise for local "old_insn", adding
15870         checked casts.
15871         (store_data_bypass_p): Likewise for both params.
15872         (if_test_bypass_p): Likewise.
15873         * recog.h (store_data_bypass_p): Likewise for both params.
15874         (if_test_bypass_p): Likewise.
15875         * reload.c (find_equiv_reg): Likewise for local "where".
15876         * reorg.c (delete_jump): Likewise for param "insn".
15877         * rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
15878         to const rtx_insn *.
15879         * store-motion.c (replace_store_insn): Likewise for param "del".
15880         (delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
15881         and use its methods for clarity, and to strengthen local "del"
15882         from rtx to rtx_insn *.
15883         (build_store_vectors): Use insn method of "st" when calling
15884         replace_store_insn for typesafety and clarity.
15886 2014-09-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
15888         * config/rs6000/rs6000.c (rtx_is_swappable_p): Add
15889         UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary
15890         on how to make it legal in future.
15892 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
15894         * caller-save.c (rtx saveinsn): Strengthen this variable from rtx
15895         to rtx_insn *.
15896         (restinsn): Likewise.
15897         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_move):
15898         Likewise for param.
15899         * config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
15900         Likewise.
15901         * config/arc/arc-protos.h (arc_adjust_insn_length): Likewise for
15902         first param.
15903         (arc_hazard): Likewise for both params.
15904         * config/arc/arc.c (arc600_corereg_hazard): Likewise, adding
15905         checked casts to rtx_sequence * and uses of the insn method for
15906         type-safety.
15907         (arc_hazard): Strengthen both params from rtx to rtx_insn *.
15908         (arc_adjust_insn_length): Likewise for param "insn".
15909         (struct insn_length_parameters_s): Likewise for first param of
15910         "get_variants" callback field.
15911         (arc_get_insn_variants): Likewise for first param and local
15912         "inner".  Replace a check of GET_CODE with a dyn_cast to
15913         rtx_sequence *, using methods for type-safety and clarity.
15914         * config/arc/arc.h (ADJUST_INSN_LENGTH): Use casts to
15915         rtx_sequence * and uses of the insn method for type-safety when
15916         invoking arc_adjust_insn_length.
15917         * config/arm/arm-protos.h (arm_attr_length_move_neon): Likewise
15918         for param.
15919         (arm_address_offset_is_imm): Likewise.
15920         (struct tune_params): Likewise for params 1 and 3 of the
15921         "sched_adjust_cost" callback field.
15922         * config/arm/arm.c (cortex_a9_sched_adjust_cost): Likewise for
15923         params 1 and 3 ("insn" and "dep").
15924         (xscale_sched_adjust_cost): Likewise.
15925         (fa726te_sched_adjust_cost): Likewise.
15926         (cortexa7_older_only): Likewise for param "insn".
15927         (cortexa7_younger): Likewise.
15928         (arm_attr_length_move_neon): Likewise.
15929         (arm_address_offset_is_imm): Likewise.
15930         * config/avr/avr-protos.h (avr_notice_update_cc): Likewise.
15931         * config/avr/avr.c (avr_notice_update_cc): Likewise.
15932         * config/bfin/bfin.c (hwloop_pattern_reg): Likewise.
15933         (workaround_speculation): Likewise for local "last_condjump".
15934         * config/c6x/c6x.c (shadow_p): Likewise for param "insn".
15935         (shadow_or_blockage_p): Likewise.
15936         (get_unit_reqs): Likewise.
15937         (get_unit_operand_masks): Likewise.
15938         (c6x_registers_update): Likewise.
15939         (returning_call_p): Likewise.
15940         (can_use_callp): Likewise.
15941         (convert_to_callp): Likewise.
15942         (find_last_same_clock): Likwise for local "t".
15943         (reorg_split_calls): Likewise for local "shadow".
15944         (hwloop_pattern_reg): Likewise for param "insn".
15945         * config/frv/frv-protos.h (frv_final_prescan_insn): Likewise.
15946         * config/frv/frv.c (frv_final_prescan_insn): Likewise.
15947         (frv_extract_membar): Likewise.
15948         (frv_optimize_membar_local): Strengthen param "last_membar" from
15949         rtx * to rtx_insn **.
15950         (frv_optimize_membar_global): Strengthen param "membar" from rtx
15951         to rtx_insn *.
15952         (frv_optimize_membar): Strengthen local "last_membar" from rtx *
15953         to rtx_insn **.
15954         * config/ia64/ia64-protos.h (ia64_st_address_bypass_p): Strengthen
15955         both params from rtx to rtx_insn *.
15956         (ia64_ld_address_bypass_p): Likewise.
15957         * config/ia64/ia64.c (ia64_safe_itanium_class): Likewise for param
15958         "insn".
15959         (ia64_safe_type): Likewise.
15960         (group_barrier_needed): Likewise.
15961         (safe_group_barrier_needed): Likewise.
15962         (ia64_single_set): Likewise.
15963         (is_load_p): Likewise.
15964         (record_memory_reference): Likewise.
15965         (get_mode_no_for_insn): Likewise.
15966         (important_for_bundling_p): Likewise.
15967         (unknown_for_bundling_p): Likewise.
15968         (ia64_st_address_bypass_p): Likewise for both params.
15969         (ia64_ld_address_bypass_p): Likewise.
15970         (expand_vselect): Introduce new local rtx_insn * "insn", using it
15971         in place of rtx "x" after the emit_insn call.
15972         * config/i386/i386-protos.h (x86_extended_QIreg_mentioned_p):
15973         Strengthen param from rtx to rtx_insn *.
15974         (ix86_agi_dependent): Likewise for both params.
15975         (ix86_attr_length_immediate_default): Likewise for param 1.
15976         (ix86_attr_length_address_default): Likewise for param.
15977         (ix86_attr_length_vex_default): Likewise for param 1.
15978         * config/i386/i386.c (ix86_attr_length_immediate_default):
15979         Likewise for param "insn".
15980         (ix86_attr_length_address_default): Likewise.
15981         (ix86_attr_length_vex_default): Likewise.
15982         (ix86_agi_dependent): Likewise for both params.
15983         (x86_extended_QIreg_mentioned_p): Likewise for param "insn".
15984         (vselect_insn): Likewise for this variable.
15985         * config/m68k/m68k-protos.h (m68k_sched_attr_opx_type): Likewise
15986         for param 1.
15987         (m68k_sched_attr_opy_type): Likewise.
15988         * config/m68k/m68k.c (sched_get_operand): Likewise.
15989         (sched_attr_op_type): Likewise.
15990         (m68k_sched_attr_opx_type): Likewise.
15991         (m68k_sched_attr_opy_type): Likewise.
15992         (sched_get_reg_operand): Likewise.
15993         (sched_get_mem_operand): Likewise.
15994         (m68k_sched_address_bypass_p): Likewise for both params.
15995         (sched_get_indexed_address_scale): Likewise.
15996         (m68k_sched_indexed_address_bypass_p): Likewise.
15997         * config/m68k/m68k.h (m68k_sched_address_bypass_p): Likewise.
15998         (m68k_sched_indexed_address_bypass_p): Likewise.
15999         * config/mep/mep.c (mep_jmp_return_reorg): Strengthen locals
16000         "label", "ret" from rtx to rtx_insn *, adding a checked cast and
16001         removing another.
16002         * config/mips/mips-protos.h (mips_linked_madd_p): Strengthen both
16003         params from rtx to rtx_insn *.
16004         (mips_fmadd_bypass): Likewise.
16005         * config/mips/mips.c (mips_fmadd_bypass): Likewise.
16006         (mips_linked_madd_p): Likewise.
16007         (mips_macc_chains_last_hilo): Likewise for this variable.
16008         (mips_macc_chains_record): Likewise for param.
16009         (vr4130_last_insn): Likewise for this variable.
16010         (vr4130_swap_insns_p): Likewise for both params.
16011         (mips_ls2_variable_issue): Likewise for param.
16012         (mips_need_noat_wrapper_p): Likewise for param "insn".
16013         (mips_expand_vselect): Add a new local rtx_insn * "insn", using it
16014         in place of "x" after the emit_insn.
16015         * config/pa/pa-protos.h (pa_fpstore_bypass_p): Strengthen both
16016         params from rtx to rtx_insn *.
16017         * config/pa/pa.c (pa_fpstore_bypass_p): Likewise.
16018         (pa_combine_instructions): Introduce local "par" for result of
16019         gen_rtx_PARALLEL, moving decl and usage of new_rtx for after call
16020         to make_insn_raw.
16021         (pa_can_combine_p): Strengthen param "new_rtx" from rtx to rtx_insn *.
16022         * config/rl78/rl78.c (insn_ok_now): Likewise for param "insn".
16023         (rl78_alloc_physical_registers_op1): Likewise.
16024         (rl78_alloc_physical_registers_op2): Likewise.
16025         (rl78_alloc_physical_registers_ro1): Likewise.
16026         (rl78_alloc_physical_registers_cmp): Likewise.
16027         (rl78_alloc_physical_registers_umul): Likewise.
16028         (rl78_alloc_address_registers_macax): Likewise.
16029         (rl78_alloc_physical_registers): Likewise for locals "insn", "curr".
16030         * config/s390/predicates.md (execute_operation): Likewise for
16031         local "insn".
16032         * config/s390/s390-protos.h (s390_agen_dep_p): Likewise for both
16033         params.
16034         * config/s390/s390.c (s390_safe_attr_type): Likewise for param.
16035         (addr_generation_dependency_p): Likewise for param "insn".
16036         (s390_agen_dep_p): Likewise for both params.
16037         (s390_fpload_toreg): Likewise for param "insn".
16038         * config/sh/sh-protos.h (sh_loop_align): Likewise for param.
16039         * config/sh/sh.c (sh_loop_align): Likewise for param and local
16040         "next".
16041         * config/sh/sh.md (define_peephole2): Likewise for local "insn2".
16042         * config/sh/sh_treg_combine.cc
16043         (sh_treg_combine::make_inv_ccreg_insn): Likewise for return type
16044         and local "i".
16045         (sh_treg_combine::try_eliminate_cstores): Likewise for local "i".
16046         * config/stormy16/stormy16.c (combine_bnp): Likewise for locals
16047         "and_insn", "load", "shift".
16048         * config/tilegx/tilegx.c (match_pcrel_step2): Likewise for param
16049         "insn".
16050         * final.c (final_scan_insn): Introduce local rtx_insn * "other"
16051         for XEXP (note, 0) of the REG_CC_SETTER note.
16052         (cleanup_subreg_operands): Strengthen param "insn" from rtx to
16053         rtx_insn *, eliminating a checked cast made redundant by this.
16054         * gcse.c (process_insert_insn): Strengthen local "insn" from rtx
16055         to rtx_insn *.
16056         * genattr.c (main): When writing out the prototype to
16057         const_num_delay_slots, strengthen the param from rtx to
16058         rtx_insn *.
16059         * genattrtab.c (write_const_num_delay_slots): Likewise when
16060         writing out the implementation of const_num_delay_slots.
16061         * hw-doloop.h (struct hw_doloop_hooks): Strengthen the param
16062         "insn" of callback field "end_pattern_reg" from rtx to rtx_insn *.
16063         * ifcvt.c (noce_emit_store_flag): Eliminate local rtx "tmp" in
16064         favor of new rtx locals "src" and "set" and new local rtx_insn *
16065         "insn" and "seq".
16066         (noce_emit_move_insn): Strengthen locals "seq" and "insn" from rtx
16067         to rtx_insn *.
16068         (noce_emit_cmove): Eliminate local rtx "tmp" in favor of new rtx
16069         locals "cond", "if_then_else", "set" and new rtx_insn * locals
16070         "insn" and "seq".
16071         (noce_try_cmove_arith): Strengthen locals "insn_a" and "insn_b",
16072         "last" from rtx to rtx_insn *.  Likewise for a local "tmp",
16073         renaming to "tmp_insn".  Eliminate the other local rtx "tmp" from
16074         the top-level scope, replacing with new more tightly-scoped rtx
16075         locals "reg", "pat", "mem" and rtx_insn * "insn", "copy_of_a",
16076         "new_insn", "copy_of_insn_b", and make local rtx "set" more
16077         tightly-scoped.
16078         * ira-int.h (ira_setup_alts): Strengthen param "insn" from rtx to
16079         rtx_insn *.
16080         * ira.c (setup_prohibited_mode_move_regs): Likewise for local
16081         "move_insn".
16082         (ira_setup_alts): Likewise for param "insn".
16083         * lra-constraints.c (emit_inc): Likewise for local "add_insn".
16084         * lra.c (emit_add3_insn): Split local rtx "insn" in two, an rtx
16085         and an rtx_insn *.
16086         (lra_emit_add): Eliminate top-level local rtx "insn" in favor of
16087         new more-tightly scoped rtx locals "add3_insn", "insn",
16088         "add2_insn" and rtx_insn * "move_insn".
16089         * postreload-gcse.c (eliminate_partially_redundant_load): Add
16090         checked cast on result of gen_move_insn when invoking
16091         extract_insn.
16092         * recog.c (insn_invalid_p): Strengthen param "insn" from rtx to
16093         rtx_insn *.
16094         (verify_changes): Add a checked cast on "object" when invoking
16095         insn_invalid_p.
16096         (extract_insn_cached): Strengthen param "insn" from rtx to
16097         rtx_insn *.
16098         (extract_constrain_insn_cached): Likewise.
16099         (extract_insn): Likewise.
16100         * recog.h (insn_invalid_p): Likewise for param 1.
16101         (recog_memoized): Likewise for param.
16102         (extract_insn): Likewise.
16103         (extract_constrain_insn_cached): Likewise.
16104         (extract_insn_cached): Likewise.
16105         * reload.c (can_reload_into): Likewise for local "test_insn".
16106         * reload.h (cleanup_subreg_operands): Likewise for param.
16107         * reload1.c (emit_insn_if_valid_for_reload): Rename param from
16108         "insn" to "pat", reintroducing "insn" as an rtx_insn * on the
16109         result of emit_insn.  Remove a checked cast made redundant by this
16110         change.
16111         * sel-sched-ir.c (sel_insn_rtx_cost): Strengthen param "insn" from
16112         rtx to rtx_insn *.
16113         * sel-sched.c (get_reg_class): Likewise.
16115 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16116             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
16118         * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
16119         * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
16120         Define.
16121         (ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
16123 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
16125         * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
16126         const rtx_insn *, and from rtx to rtx_insn * for the other
16127         overloaded variant.
16128         (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
16129         INSN_LOCATION, since we know INSN_P holds.
16130         (insn_line): Strengthen param from const_rtx to const rtx_insn *.
16131         (insn_file): Likewise.
16132         (insn_scope): Likewise.
16133         (insn_location): Likewise.
16135         * config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
16136         "insn" from rtx to rtx_insn *, introducing a new local rtx "set"
16137         for the result of gen_load_const_gp.
16138         * config/rs6000/rs6000-protos.h (output_call): Strengthen first
16139         param from rtx to rtx_insn *.
16140         * config/rs6000/rs6000.c (output_call): Likewise.
16141         * dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
16142         introducing a checked cast to rtx_sequence * and use of the insn
16143         method.
16144         * emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
16145         from rtx to rtx_insn *.
16146         (insn_scope): Strengthen param from const_rtx to const rtx_insn *.
16147         (insn_line): Likewise.
16148         (insn_file): Likewise.
16149         (insn_location): Likewise.
16150         * emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
16151         from rtx to rtx_insn *.
16152         * print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
16153         cast, using it for calls to INSN_HAS_LOCATION and insn_location.
16154         * recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
16155         via a checked cast.
16156         * reorg.c (relax_delay_slots): Strengthen locals named "after"
16157         from rtx to rtx_insn *; use methods of "pat" for type-safety.
16159 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
16161         * combine.c (try_combine): Eliminate checked cast on result of
16162         gen_rtx_INSN.
16163         * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
16164         autogenerated one by strengthening the return type and params 2 and 3
16165         from rtx to rtx_insn *, and by naming the params.
16166         * gengenrtl.c (special_rtx): Add INSN to those that are
16167         special-cased.
16168         * rtl.h (gen_rtx_INSN): New prototype.
16170 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
16172         * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
16173         than NULL_RTX.
16174         (no_equiv): Likewise.
16175         (update_equiv_regs): Likewise.
16176         (setup_reg_equiv): Likewise.  Strengthen locals "elem",
16177         "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
16178         from rtx to rtx_insn *.  Use methods of "elem" for typesafety and
16179         clarity.
16180         * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
16181         from rtx to rtx_insn_list *.
16182         * lra-assigns.c (spill_for): Strengthen local "x" from rtx to
16183         rtx_insn_list * and use methods for clarity and typesafety.
16184         * lra-constraints.c (contains_deleted_insn_p): Likewise for param
16185         "list".
16186         (init_insn_rhs_dead_pseudo_p): Likewise for local "insns".  Remove
16187         redundant check on INSN_P (insns): this cannot hold, as "insns" is
16188         an INSN_LIST, not an insn.
16189         (reverse_equiv_p): Strengthen local "insns" from rtx to
16190         rtx_insn_list * and use methods for clarity and typesafety.
16191         (contains_reloaded_insn_p): Likewise for local "list".
16193 2014-09-09  Jiong Wang  <jiong.wang@arm.com>
16195         * config/arm/arm.c (NEON_COPYSIGNF): New enum.
16196         (arm_init_neon_builtins): Support NEON_COPYSIGNF.
16197         (arm_builtin_vectorized_function): Likewise.
16198         * config/arm/arm_neon_builtins.def: New macro for copysignf.
16199         * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector copysignf.
16201 2014-09-09  Richard Sandiford  <richard.sandiford@arm.com>
16203         * bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
16204         * builtins.h (default_target_builtins): Likewise.
16205         * gcse.h (default_target_gcse): Likewise.
16206         * target-globals.h (target_globals): Add a destructor.  Convert
16207         void-pointer fields back to their real type and change from
16208         GTY((atomic)) to GTY((skip)).
16209         (restore_target_globals): Remove casts accordingly.
16210         * target-globals.c (save_target_globals): Use XCNEW rather than
16211         ggc_internal_cleared_alloc to allocate non-GC structures.
16212         Use ggc_cleared_alloc to allocate the target_globals structure
16213         itself.
16214         (target_globals::~target_globals): Define.
16216 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16218         * config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
16219         mnemonic instead of fldmfdd.
16220         * config/arm/arm.c (vfp_output_fstmd): Rename to...
16221         (vfp_output_vstmd): ... This.  Convert output to UAL syntax.
16222         Output vpush when address register is SP.
16223         * config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
16224         (vfp_output_vstmd): ... This.
16225         * config/arm/vfp.md (push_multi_vfp): Update call to
16226         vfp_output_vstmd.
16228 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16230         * config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
16232 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16234         * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
16235         (*sqrtdf2_vfp): Likewise.
16236         (*cmpsf_vfp): Likewise.
16237         (*cmpsf_trap_vfp): Likewise.
16238         (*cmpdf_vfp): Likewise.
16239         (*cmpdf_trap_vfp): Likewise.
16241 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16243         * config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
16244         (*truncdfsf2_vfp): Likewise.
16245         (*truncsisf2_vfp): Likewise.
16246         (*truncsidf2_vfp): Likewise.
16247         (fixuns_truncsfsi2): Likewise.
16248         (fixuns_truncdfsi2): Likewise.
16249         (*floatsisf2_vfp): Likewise.
16250         (*floatsidf2_vfp): Likewise.
16251         (floatunssisf2): Likewise.
16252         (floatunssidf2): Likewise.
16254 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16256         * config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
16257         (*muldf3_vfp): Likewise.
16258         (*mulsf3negsf_vfp): Likewise.
16259         (*muldf3negdf_vfp): Likewise.
16260         (*mulsf3addsf_vfp): Likewise.
16261         (*muldf3adddf_vfp): Likewise.
16262         (*mulsf3subsf_vfp): Likewise.
16263         (*muldf3subdf_vfp): Likewise.
16264         (*mulsf3negsfaddsf_vfp): Likewise.
16265         (*fmuldf3negdfadddf_vfp): Likewise.
16266         (*mulsf3negsfsubsf_vfp): Likewise.
16267         (*muldf3negdfsubdf_vfp): Likewise.
16269 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16271         * config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
16272         (*absdf2_vfp): Likewise.
16273         (*negsf2_vfp): Likewise.
16274         (*negdf2_vfp): Likewise.
16275         (*addsf3_vfp): Likewise.
16276         (*adddf3_vfp): Likewise.
16277         (*subsf3_vfp): Likewise.
16278         (*subdf3_vfp): Likewise.
16279         (*divsf3_vfp): Likewise.
16280         (*divdf3_vfp): Likewise.
16282 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16284         * config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
16285         multiple.
16286         (arm_print_operand): Don't convert real values to decimal
16287         representation in default case.
16288         (fp_immediate_constant): Delete.
16289         * config/arm/arm-protos.h (fp_immediate_constant): Likewise.
16290         * config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
16291         syntax.
16292         (*thumb2_movsi_vfp): Likewise.
16293         (*movdi_vfp): Likewise.
16294         (*movdi_vfp_cortexa8): Likewise.
16295         (*movhf_vfp_neon): Likewise.
16296         (*movhf_vfp): Likewise.
16297         (*movsf_vfp): Likewise.
16298         (*thumb2_movsf_vfp): Likewise.
16299         (*movdf_vfp): Likewise.
16300         (*thumb2_movdf_vfp): Likewise.
16301         (*movsfcc_vfp): Likewise.
16302         (*thumb2_movsfcc_vfp): Likewise.
16303         (*movdfcc_vfp): Likewise.
16304         (*thumb2_movdfcc_vfp): Likewise.
16306 2014-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
16308         * doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
16309         (-mtune): Likewise.
16310         (-mcpu): Likewise.
16312 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16314         PR target/61749
16315         * config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
16316         Use qualifier_immediate for last operand.  Rename to...
16317         (aarch64_types_ternop_lane_qualifiers): ... This.
16318         (TYPES_QUADOP): Rename to...
16319         (TYPES_TERNOP_LANE): ... This.
16320         (aarch64_simd_expand_args): Return const0_rtx when encountering user
16321         error.  Change return of 0 to return of NULL_RTX.
16322         (aarch64_crc32_expand_builtin): Likewise.
16323         (aarch64_expand_builtin): Return NULL_RTX instead of 0.
16324         ICE when expanding unknown builtin.
16325         * config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
16326         TERNOP_LANE qualifiers.
16327         (sqdmlsl_lane): Likewise.
16328         (sqdmlal_laneq): Likewise.
16329         (sqdmlsl_laneq): Likewise.
16330         (sqdmlal2_lane): Likewise.
16331         (sqdmlsl2_lane): Likewise.
16332         (sqdmlal2_laneq): Likewise.
16333         (sqdmlsl2_laneq): Likewise.
16335 2014-09-09  Nick Clifton  <nickc@redhat.com>
16337         * doc/invoke.texi (Optimization Options): Add missing @gol to the
16338         end of a line.
16339         (S/390 and zSeries Options): Remove superfluous word from the
16340         description of the -mhotpatch option.
16342 2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>
16344         * shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
16345         * ira.c: #include "shrink-wrap.h"
16346         (split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
16347         * ifcvt.c: #include "shrink-wrap.h"
16348         (dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
16350 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
16352         * common/config/picochip/picochip-common.c: Remove.
16353         * config.gcc: Remove support for picochip.
16354         * config/picochip/constraints.md: Remove.
16355         * config/picochip/dfa_space.md: Remove.
16356         * config/picochip/dfa_speed.md: Remove.
16357         * config/picochip/picochip-protos.h: Remove.
16358         * config/picochip/picochip.c: Remove.
16359         * config/picochip/picochip.h: Remove.
16360         * config/picochip/picochip.md: Remove.
16361         * config/picochip/picochip.opt: Remove.
16362         * config/picochip/predicates.md: Remove.
16363         * config/picochip/t-picochip: Remove.
16364         * doc/md.texi: Don't document picochi.
16366 2014-09-08  David Malcolm  <dmalcolm@redhat.com>
16368         * basic-block.h (control_flow_insn_p): Strengthen param from
16369         const_rtx to const rtx_insn *.
16370         * cfgbuild.c (control_flow_insn_p): Likewise.
16372 2014-09-08  David Malcolm  <dmalcolm@redhat.com>
16374         * gcse.c (modify_mem_list): Strengthen this variable from
16375         vec<rtx> * to vec<rtx_insn *> *.
16376         (vec_rtx_heap): Strengthen this typedef from vec<rtx> to
16377         vec<rtx_insn *>.
16378         (load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
16379         vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
16380         (record_last_mem_set_info): Strengthen param "insn" from rtx to
16381         rtx_insn *.
16382         (record_last_set_info): Likewise for local "last_set_insn".
16384 2014-09-08  DJ Delorie  <dj@redhat.com>
16386         * doc/invoke.texi (MSP430 Options): Add -minrt.
16388 2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
16390         * config/rs6000/rs6000.c (special_handling_values):  Add SH_SPLAT.
16391         (rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
16392         statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
16393         handling SH_SPLAT.
16394         (adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
16395         of extracted lane.
16396         (adjust_splat): New function.
16397         (handle_special_swappables): Call adjust_splat for SH_SPLAT.
16398         (dump_swap_insn_table): Add case for SH_SPLAT.
16400 2014-09-08  Richard Biener  <rguenther@suse.de>
16402         PR ipa/63196
16403         * tree-inline.c (copy_loops): The source loop header should
16404         always be non-NULL.
16405         (tree_function_versioning): If loops need fixup after removing
16406         unreachable blocks fix them.
16407         * omp-low.c (simd_clone_adjust): Do not add incr block to
16408         loop under construction.
16410 2014-09-08  Alan Lawrence  <alan.lawrence@arm.com>
16412         * config/aarch64/aarch64-builtins.c
16413         (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
16415 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
16417         * config/i386/cygming.h (TF_SIZE): Remove.
16418         * config/i386/darwin.h (TF_SIZE): Remove.
16419         * config/i386/dragonfly.h (TF_SIZE): Remove.
16420         * config/i386/freebsd.h (TF_SIZE): Remove.
16421         * config/i386/gnu-user-common.h (TF_SIZE): Remove.
16422         * config/i386/openbsdelf.h (TF_SIZE): Remove.
16423         * config/i386/sol2.h (TF_SIZE): Remove.
16424         * config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
16425         * config/ia64/linux.h (TF_SIZE): Remove.
16426         * doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
16427         * doc/tm.texi: Regenerate.
16428         * system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
16430 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
16432         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
16433         Remove.
16434         * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
16435         Remove.
16436         * doc/tm.texi: Regenerate.
16437         * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
16438         Poison.
16439         * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
16440         * config/cris/cris.h (__make_dp): Remove.
16442 2014-09-08  Richard Biener  <rguenther@suse.de>
16444         PR bootstrap/63204
16445         * cfgloop.c (mark_loop_for_removal): Track former header
16446         unconditionally.
16447         * cfgloop.h (struct loop): Add former_header member unconditionally.
16448         * loop-init.c (fix_loop_structure): Enable bogus loop removal
16449         diagnostic unconditionally.
16451 2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16453         PR target/63190
16454         * config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
16455         constraint for operand0 and remove write only modifier from operand3.
16457 2014-09-07  Richard Sandiford  <richard.sandiford@arm.com>
16459         PR rtl-optimization/62208
16460         * simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
16461         rather than const0_rtx in eq/ne-xor simplifications.
16463 2014-09-06  Joern Rennecke  <joern.rennecke@embecosm.com>
16465         * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
16466         (arc_output_mi_thunk): Likewise.
16468         * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
16469         arguments to silence bogus warning.
16471 2014-09-06  Richard Sandiford  <richard.sandiford@arm.com>
16473         PR middle-end/63171
16474         * rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
16476 2014-09-06  Tom de Vries  <tom@codesourcery.com>
16478         * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
16479         IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
16480         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
16482 2014-09-05  Dominique Dhumieres  <dominiq@lps.ens.fr>
16484         PR target/63188
16485         * config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
16486         * config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.
16488 2014-09-05  Easwaran Raman  <eraman@google.com>
16490         PR rtl-optimization/62146
16491         * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
16492         hoisted instruction unconditional.
16494 2014-09-05  Segher Boessenkool  <segher@kernel.crashing.org>
16496         PR target/63187
16497         * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
16498         Do not allow any_mask_operand for operands[2].
16499         (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
16501 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16503         * config/arc/arc.c (arc_print_operand): Use insn method of
16504         final_sequence for type-safety.
16505         * config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
16506         "insn" from rtx to rtx_insn *.
16507         * config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
16508         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
16509         Likewise for locals "branch", "label".
16510         * config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
16511         locals "i1", "i2".  Use NULL rather than NULL_RTX in comparisons.
16512         (same_cmp_following_p): Likewise for locals "i2", "i3".
16513         * config/sh/sh_optimize_sett_clrt.cc
16514         (sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
16515         param "cbranch_insn".
16516         * function.c (convert_jumps_to_returns): Likewis for local "jump".
16517         * ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
16518         * jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
16519         const rtx_insn *.
16520         (condjump_p): Likewise.
16521         (condjump_in_parallel_p): Likewise.
16522         (pc_set): Likewise.
16523         (any_uncondjump_p): Likewise.
16524         (any_condjump_p): Likewise.
16525         (condjump_label): Likewise.
16526         (returnjump_p): Strengthen param "insn" from rtx to
16527         const rtx_insn *.
16528         (onlyjump_p): Strengthen param "insn" from const_rtx to
16529         const rtx_insn *.
16530         (jump_to_label_p): Likewise.
16531         (invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
16532         (invert_jump): Likewise.
16533         * reorg.c (simplejump_or_return_p): Add checked cast when calling
16534         simplejump_p.
16535         (get_jump_flags): Strengthen param "insn" from rtx to
16536         const rtx_insn *.
16537         (get_branch_condition): Likewise.
16538         (condition_dominates_p): Likewise.
16539         (make_return_insns): Move declaration of local "pat" earlier, to
16540         after we've handled NONJUMP_INSN_P and non-sequences, using its
16541         methods to simplify the code and for type-safety.
16542         * rtl.h (find_constant_src): Strengthen param from const_rtx to
16543         const rtx_insn *.
16544         (jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
16545         (condjump_p): Strengthen param from const_rtx to
16546         const rtx_insn *.
16547         (any_condjump_p): Likewise.
16548         (any_uncondjump_p): Likewise.
16549         (pc_set): Likewise.
16550         (condjump_label): Likewise.
16551         (simplejump_p): Likewise.
16552         (returnjump_p): Likewise.
16553         (onlyjump_p): Likewise.
16554         (invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
16555         (invert_jump): Likewise.
16556         (condjump_in_parallel_p): Strengthen param from const_rtx to
16557         const rtx_insn *.
16558         * rtlanal.c (find_constant_src): Strengthen param from const_rtx
16559         to const rtx_insn *.
16560         * sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
16561         to const rtx_insn *.
16562         * sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
16564 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16566         * reorg.c (relax_delay_slots): Move declaration of "trial_seq"
16567         above the conditional, and convert the check on GET_CODE to a
16568         dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
16569         the conditional.  Simplify the conditional by using methods of
16570         "trial_seq".
16572 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16574         * haifa-sched.c (check_clobbered_conditions): Strengthen local
16575         "link" from rtx to rtx_insn_list *, and use its methods for
16576         clarity and type-safety.
16577         (toggle_cancelled_flags): Likewise.
16578         (restore_last_backtrack_point): Likewise.
16579         (queue_to_ready): Use insn method of "link" in one place.
16580         (schedule_block): Strengthen local "link" from rtx to
16581         rtx_insn_list *, and use its methods for clarity and type-safety.
16583 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16585         * sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
16586         param "insn" from const_rtx to const rtx_insn *.
16587         (sched_get_reverse_condition_uncached): Likewise.
16588         (sched_get_condition_with_rev): Likewise.
16589         (sched_has_condition_p): Likewise.
16590         (sched_insns_conditions_mutex_p): Likewise for both params.
16591         (sched_insn_is_legitimate_for_speculation_p): Likewise for param
16592         "insn"; conver use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
16593         (setup_insn_reg_uses): Move local "list" to be more tightly
16594         scoped, strengthening it from an rtx to an rtx_insn_list *.  Use
16595         its methods for clarity and type-safety.
16596         (sched_analyze_1): Strengthen local "pending" from rtx to
16597         rtx_insn_list *, and local "pending_mem" from rtx to
16598         rtx_expr_list *.  Use methods of each for clarity and type-safety.
16599         (sched_analyze_2): Likewise.
16600         (sched_analyze_insn): Likewise.
16602         * sched-int.h (sched_get_reverse_condition_uncached): Strengthen
16603         param from const_rtx to const rtx_insn *.
16604         (sched_insns_conditions_mutex_p): Likewise for both params.
16605         (sched_insn_is_legitimate_for_speculation_p): Likewise for first
16606         param.
16608         * system.h (CONST_CAST_RTX_INSN): New macro.
16610 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16612         * recog.c (peep2_attempt): Strengthen return type from rtx to
16613         rtx_insn *.
16614         (peep2_update_life): Likewise for params "last", "prev", removing
16615         a checked cast made redundant by this.
16616         (peephole2_optimize): Likewise for local "last".
16618 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16620         * basic-block.h (set_block_for_insn): Eliminate this macro in
16621         favor of...
16622         * rtl.h (set_block_for_insn): New inline function, imposing the
16623         requirement that the "insn" param is an rtx_insn *.
16625 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16627         * caller-save.c (setup_save_areas): Strengthen local "insn" from
16628         rtx to rtx_insn *.
16629         * final.c (get_call_reg_set_usage): Likewise for first param,
16630         eliminating a checked cast.
16631         * regs.h (get_call_reg_set_usage): Likewise for first param.
16632         * resource.c (mark_set_resources): Introduce local rtx_call_insn *
16633         "call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
16634         cast, replacing references to "x" with "call_insn" where
16635         appropriate.
16636         (mark_target_live_regs): Strengthen local "real_insn" from rtx to
16637         rtx_insn *, adding a checked cast.
16639 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16641         * output.h (final_scan_insn): Strengthen first param from rtx to
16642         rtx_insn *.
16644         * final.c (final_scan_insn): Likewise, renaming it back from
16645         "uncast_insn" to "insn", eliminating the checked cast.
16647         * config/h8300/h8300.md (define_insn "jump"): Replace local rtx
16648         "vec" with an rtx_sequence * "seq", taking a copy of
16649         "final_sequence", and using methods of "seq" for clarity, and for
16650         type-safety in the calls to final_scan_insn.
16651         * config/mips/mips.c (mips_output_conditional_branch): Use methods
16652         of "final_sequence" for clarity, and for type-safety in the call to
16653         final_scan_insn.
16654         * config/sh/sh.c (print_slot): Strengthen param from rtx to
16655         rtx_sequence * and rename from "insn" to "seq".
16657 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16659         * jump.c (delete_related_insns): Introduce a new local "table" by
16660         replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
16661         get_labels method of "table" to simplify access to the labels in
16662         the jump table.
16664 2014-09-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16666         * config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
16667         f_minmaxs, f_minmaxd types.
16669 2014-09-05  Richard Biener  <rguenther@suse.de>
16671         * cfgloop.c (mark_loop_for_removal): Record former header
16672         when ENABLE_CHECKING.
16673         * cfgloop.h (strut loop): Add former_header member when
16674         ENABLE_CHECKING.
16675         * loop-init.c (fix_loop_structure): Sanity check loops
16676         marked for removal if they re-appeared.
16678 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16680         * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
16681         uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.
16683         (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
16684         vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
16685         vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
16686         vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
16687         vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
16688         vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
16689         vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
16690         vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
16691         vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
16692         vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
16693         vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
16694         vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
16695         vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
16696         vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
16697         vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
16698         vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
16699         vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
16700         vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
16701         vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
16702         vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
16703         with int{32,16,8}_t.
16705 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16707         * config/aarch64/arm_neon.h (__GET_HIGH): New macro.
16708         (vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
16709         vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
16710         vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
16711         Remove temporary __asm__ and reimplement.
16713 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16715         * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
16716         handling cmge, cmgt, cmeq, cmtst.
16718         * config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
16719         cmlt, cmgeu, cmgtu, cmtst): Remove.
16721         * config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
16722         vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
16723         vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
16724         vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
16726 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16728         * config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
16729         TYPES_TST): Define.
16730         (aarch64_fold_builtin): Update pattern for cmtst.
16732         * config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
16733         Declare.
16735         * config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
16737         * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
16738         Switch operands, separate out more cases, refactor.
16740         (aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
16742         * config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
16743         argument; rename old version to...
16744         (aarch64_const_vec_all_same_in_range_p): ...this.
16745         (aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
16747         * config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
16749 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16751         * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
16752         Remove qualifier_const_pointer, update comment.
16754 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16756         * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.
16758 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16760         * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
16761         varargs with pointer parameter.
16762         (aarch64_simd_expand_builtin): pass pointer into previous.
16764 2014-09-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
16766         * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
16767         alus_ext.
16769 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
16771         * config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
16772         * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
16773         * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
16774         Replace temporary asm with call to builtin.
16775         (vrbit_p8, vrbitq_p8): New functions.
16777 2014-09-05  Richard Biener  <rguenther@suse.de>
16779         * cfgloop.c (mark_loop_for_removal): New function.
16780         * cfgloop.h (mark_loop_for_removal): Declare.
16781         * cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
16782         (merge_blocks): Likewise.
16783         (duplicate_block): Likewise.
16784         * except.c (sjlj_emit_dispatch_table): Likewise.
16785         * tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
16786         * tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
16787         (thread_through_loop_header): Likewise.
16789 2014-09-05  Richard Biener  <rguenther@suse.de>
16791         PR middle-end/63148
16792         * fold-const.c (try_move_mult_to_index): Remove.
16793         (fold_binary_loc): Do not call it.
16794         * tree-data-ref.c (dr_analyze_indices): Strip conversions
16795         from the base object again.
16797 2014-09-05  James Greenhalgh  <james.greenhalgh@arm.com>
16799         * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
16800         DImode.
16802 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
16804         PR target/55701
16805         * config/arm/arm.md (setmem): New pattern.
16806         * config/arm/arm-protos.h (struct tune_params): New fields.
16807         (arm_gen_setmem): New prototype.
16808         * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
16809         (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
16810         (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
16811         (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
16812         (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
16813         (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
16814         (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
16815         (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
16816         (arm_const_inline_cost): New function.
16817         (arm_block_set_max_insns): New function.
16818         (arm_block_set_non_vect_profit_p): New function.
16819         (arm_block_set_vect_profit_p): New function.
16820         (arm_block_set_unaligned_vect): New function.
16821         (arm_block_set_aligned_vect): New function.
16822         (arm_block_set_unaligned_non_vect): New function.
16823         (arm_block_set_aligned_non_vect): New function.
16824         (arm_block_set_vect, arm_gen_setmem): New functions.
16826 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
16828         * config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.
16830 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
16832         * config/arm/arm.c (output_move_neon): Handle REG explicitly.
16834 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
16836         * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
16837         an rtx.
16838         * valtrack.h: Adjust.
16840 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
16842         * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
16843         an rtx.
16844         (emit_jump_insn_before_noloc): Likewise.
16845         (emit_call_insn_before_noloc): Likewise.
16846         (emit_label_before): Likewise.
16847         (emit_label_after): Likewise.
16848         (emit_insn_before_setloc): Likewise.
16849         (emit_jump_insn_before_setloc): Likewise.
16850         (emit_call_insn_before_setloc): Likewise.
16851         (emit_call_insn_before): Likewise.
16852         * rtl.h: Adjust.
16854 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16856         * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
16857         rtx_insn *, eliminating a checked cast.
16859 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16861         * rtl.h (modified_between_p): Strengthen params 2 and 3 from
16862         const_rtx to const rtx_insn *.
16863         * rtlanal.c (modified_between_p): Likewise, eliminating a checked
16864         cast.
16866 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16868         * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
16869         fixup_args_size_notes.
16870         * expr.c (fixup_args_size_notes): Strengthen first two params from
16871         rtx to rtx_insn *, eliminating a checked cast.
16872         * rtl.h (fixup_args_size_notes): Strengthen first two params from
16873         rtx to rtx_insn *.
16875 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
16877         * haifa-sched.c (get_ready_element): Strengthen return type from
16878         rtx to rtx_insn *.
16879         * sched-int.h (get_ready_element): Likewise.
16881 2014-09-04  Segher Boessenkool  <segher@kernel.crashing.org>
16883         PR target/63165
16884         * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
16885         indexed_or_indirect_operand instead of memory_operand.
16886         (floatsi<mode>2_lfiwzx_mem): Ditto.
16888 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
16890         * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
16891         config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
16892         ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
16894 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
16896         * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
16897         rtx.
16898         (get_last_nonnote_insn): Likewise.
16899         (next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
16900         * resource.c (find_basic_block): Likewise.
16901         * rtl.h: Adjust.
16902         * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
16903         const_rtx.
16905 2014-09-04  David Malcolm  <dmalcolm@redhat.com>
16907         * genattr.c (main): Within the prototype of insn_latency written
16908         out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
16909         * genautomata.c (output_internal_maximal_insn_latency_func):
16910         Within the implementation of insn_latency written out to
16911         insn-automata.c, strengthen both params from rtx to rtx_insn *,
16912         eliminating a pair of checked casts.
16914 2014-09-04  David Malcolm  <dmalcolm@redhat.com>
16916         * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
16917         rtx_insn *.
16919         * rtl.h (eh_returnjump_p): Likewise.
16921 2014-09-04  Aldy Hernandez  <aldyh@redhat.com>
16923         * Makefile.in (TAGS): Handle constructs in timevar.def.
16925 2014-09-04  Guozhi Wei  <carrot@google.com>
16927         PR target/62040
16928         * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators.
16929         * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split
16930         it into two patterns.
16931         (move_lo_quad_internal_be_<mode>): Likewise.
16933 2014-09-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
16935         * doc/options.texi: Document that Var and Init are required if CPP
16936         is given.
16937         * optc-gen.awk: Require Var and Init if CPP is given.
16938         * common.opt (Wpedantic): Use Init.
16940 2014-09-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
16942         * config/rs6000/rs6000.c (special_handling_values): Add
16943         SH_EXTRACT.
16944         (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps
16945         wrapped in a VEC_DUPLICATE, representing an extract.  Mark these
16946         as swappable with special handling SH_EXTRACT.  Remove
16947         UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the
16948         optimization.
16949         (adjust_extract): New function.
16950         (handle_special_swappables): Add default to case statement; add
16951         case for SH_EXTRACT that calls adjust_extract.
16952         (dump_swap_insn_table): Handle SH_EXTRACT.
16954 2014-09-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
16956         * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match
16957         selection of 0th memory doubleword, regardless of endianness.
16959 2014-09-04  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
16961         * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces.
16963 2014-09-04  Alan Modra  <amodra@gmail.com>
16965         PR debug/60655
16966         * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
16967         can't be output.
16969 2014-09-03  Matthew Fortune  <matthew.fortune@imgtec.com>
16971         * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
16972         * targhooks.c (default_dwarf_frame_reg_mode): New function.
16973         * targhooks.h (default_dwarf_frame_reg_mode): New prototype.
16974         * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
16975         * doc/tm.texi: Regenerate.
16976         * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
16977         selection logic to default_dwarf_frame_reg_mode.
16979 2014-09-03  Marek Polacek  <polacek@redhat.com>
16981         * doc/invoke.texi: Document that -Wlogical-not-parentheses is enabled
16982         by -Wall.
16984 2014-09-03  Richard Sandiford  <richard.sandiford@arm.com>
16986         * doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
16987         the automodified register.
16989 2014-09-03  Richard Sandiford  <richard.sandiford@arm.com>
16991         * output.h (get_some_local_dynamic_name): Declare.
16992         * final.c (some_local_dynamic_name): New variable.
16993         (get_some_local_dynamic_name): New function.
16994         (final_end_function): Clear some_local_dynamic_name.
16995         * config/alpha/alpha.c (machine_function): Remove some_ld_name.
16996         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
16997         (print_operand): Report an error if '%&' is used inappropriately.
16998         * config/i386/i386.c (get_some_local_dynamic_name): Delete.
16999         (get_some_local_dynamic_name_1): Delete.
17000         * config/rs6000/rs6000.c (machine_function): Remove some_ld_name.
17001         (rs6000_get_some_local_dynamic_name): Delete.
17002         (rs6000_get_some_local_dynamic_name_1): Delete.
17003         (print_operand): Report an error if '%&' is used inappropriately.
17004         * config/s390/s390.c (machine_function): Remove some_ld_name.
17005         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
17006         (print_operand): Assert that get_some_local_dynamic_name is nonnull.
17007         * config/sparc/sparc.c: Include rtl-iter.h.
17008         (machine_function): Remove some_ld_name.
17009         (sparc_print_operand): Report an error if '%&' is used inappropriately.
17010         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
17012 2014-09-03  Richard Henderson  <rth@redhat.com>
17014         * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
17015         (aarch64_popwb_pair_reg): Remove.
17016         (aarch64_set_frame_expr): Remove.
17017         (aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
17018         the restore ops performed by the insns generated.
17019         (aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
17020         insn.  Perform the calls_eh_return addition later; do not attempt to
17021         preserve the CFA in that case.  Don't use aarch64_set_frame_expr.
17022         (aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
17023         special markup at all.  Load cfun->machine->frame.hard_fp_offset
17024         into a local variable.
17025         (aarch64_frame_pointer_required): Don't check calls_alloca.
17027 2014-09-03  Richard Biener  <rguenther@suse.de>
17029         * opts.c (default_options_optimization): Adjust
17030         max-combine-insns to 2 for -Og.
17032 2014-09-03  Martin Jambor  <mjambor@suse.cz>
17034         PR ipa/62015
17035         * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
17036         pass-trough jump functions correctly.
17038 2014-09-03  Martin Jambor  <mjambor@suse.cz>
17040         PR ipa/61986
17041         * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
17042         created replacements in ascending order of offsets.
17043         (known_aggs_to_agg_replacement_list): Likewise.
17045 2014-09-03  Martin Liska  <mliska@suse.cz>
17047         * tree-ssa-sccvn.c (vn_reference_lookup_call): default (NULL) value
17048         is set to set uninitialized value for vnresult.
17050 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17052         * config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
17053         for TARGET_MUST_PASS_IN_STACK.
17055 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17057         * config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
17058         for TARGET_ARG_PARTIAL_BYTES.
17060 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17062         * config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
17063         instructions for varargs implementation.
17064         (nds32_expand_epilogue): Emit stack adjustment instructions for
17065         varargs implementation.
17067 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17069         * config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
17070         optimization detection.
17072 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17074         * config/nds32/nds32.c (nds32_function_arg): Deal with nameless
17075         arguments.
17076         (nds32_function_arg_advance): Deal with nameless arguments.
17077         * config/nds32/nds32.h (NDS32_ARG_PASS_IN_REG_P): Split it into ...
17078         (NDS32_ARG_ENTIRE_IN_GPR_REG_P): ... this one and ...
17079         (NDS32_ARG_PARTIAL_IN_GPR_REG_P): ... this one.
17081 2014-09-03  Richard Biener  <rguenther@suse.de>
17083         * tree-ssa-pre.c (alloc_expression_id): Use quick_grow_cleared.
17084         (struct bb_bitmap_sets): Remove deferred member.
17085         (BB_DEFERRED): Remove.
17086         (defer_or_phi_translate_block): Remove.
17087         (compute_antic_aux): Remove deferring of blocks, assert
17088         proper iteration order.
17089         (compute_antic): Do not set BB_DEFERRED.
17090         (eliminate): Allocate el_avail of proper size initially.
17092 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17094         * config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
17095         according to the value of crtl->args.pretend_args_size.
17097 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17099         * config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
17100         varargs information.
17102 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17104         * config/nds32/nds32.c (nds32_setup_incoming_varargs): New
17105         implementation for TARGET_SETUP_INCOMING_VARARGS.
17106         (nds32_strict_argument_naming): Refine comment.
17107         * config/nds32/nds32.h (TARGET_SOFT_FLOAT, TARGET_HARD_FLOAT):
17108         Define for future implementation.
17110 2014-09-03  Ilya Tocar  <ilya.tocar@intel.com>
17112         * config/i386/adxintrin.h (_subborrow_u32): New.
17113         (_addcarry_u32): Ditto.
17114         (_subborrow_u64): Ditto.
17115         (_addcarry_u64): Ditto.
17116         * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
17117         IX86_BUILTIN_SBB64.
17118         (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
17119         __builtin_ia32_sbb_u64
17121 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17123         * config/nds32/nds32.c (nds32_function_arg): Define and rename some
17124         GPR-specific stuff.
17125         (nds32_function_arg_advance): Likewise.
17126         (nds32_init_cumulative_args): Likewise.
17127         * config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
17128         (NDS32_FIRST_GPR_REGNUM): Define.
17129         (NDS32_LAST_GPR_REGNUM): Define.
17130         (NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
17131         (NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
17132         (FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
17133         (machine_function): Use GRP-specific stuff.
17135 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17137         * config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
17138         (nds32_expand_epilogue): Likewise.
17139         (nds32_expand_prologue_v3push): Likewise.
17140         (nds32_expand_epilogue_v3pop): Likewise.
17142 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17144         * config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
17145         v3push/v3pop for variadic function.
17146         * config/nds32/nds32.md (prologue, epilogue): Likewise.
17148 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17150         * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
17151         Check rtx for varargs implementation.
17152         (nds32_output_stack_pop): Likewise.
17153         * config/nds32/nds32-protos.h: Have a rtx argument for
17154         nds32_output_stack_push and nds32_output_stack_pop.
17155         * config/nds32/nds32.md: Likewise.
17157 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17159         * config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
17160         to check if FUNC is an interrupt service routine.
17161         * config/nds32/nds32-protos.h (nds32_isr_function_p): Declaration.
17163 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17165         * config/nds32/nds32.h (machine_function): Add some fields for variadic
17166         arguments implementation.
17168 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17170         * config/nds32/nds32-predicates.c
17171         (nds32_valid_stack_push_pop): Rename to ...
17172         (nds32_valid_stack_push_pop_p): ... this.
17173         * config/nds32/nds32-protos.h: Likewise.
17174         * config/nds32/predicates.md: Likewise.
17176 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17178         * config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
17179         (nds32_emit_stack_v3push): ... this.
17180         (nds32_gen_stack_v3pop): Rename to ...
17181         (nds32_emit_stack_v3pop): ... this and consider CFA restore
17182         information.
17184 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17186         * config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
17187         (nds32_emit_stack_push_multiple): ... this.
17188         (nds32_gen_stack_pop_multiple): Rename to ...
17189         (nds32_emit_stack_pop_multiple): ... this and consider CFA restore
17190         information.
17192 2014-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17194         PR target/61078
17195         * config/s390/s390.md ("*negdi2_31"): Add s390_split_ok_p check
17196         and add a second splitter to handle the remaining cases.
17198 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
17200         * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
17202 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
17204         * cfgexpand.c (label_rtx_for_bb): Change type to
17205         hash_map<basic_block, rtx_code_label *> *.
17206         (expand_gimple_basic_block): Adjust.
17207         (pass_expand::execute): Likewise.
17209 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
17211         * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
17212         config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
17213         config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
17214         config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
17215         config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
17216         config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
17217         stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
17218         of rtx.
17220 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
17222         * alloc-pool.c: Include coretypes.h.
17223         * cgraph.h, dbxout.c, dwarf2out.c, except.c, except.h, function.c,
17224         function.h, symtab.c, tree-cfg.c, tree-eh.c: Use hash_map and
17225         hash_set instead of htab.
17226         * ggc-page.c (in_gc): New variable.
17227         (ggc_free): Do nothing if a collection is taking place.
17228         (ggc_collect): Set in_gc appropriately.
17229         * ggc.h (gt_ggc_mx(const char *)): New function.
17230         (gt_pch_nx(const char *)): Likewise.
17231         (gt_ggc_mx(int)): Likewise.
17232         (gt_pch_nx(int)): Likewise.
17233         * hash-map.h (hash_map::hash_entry::ggc_mx): Likewise.
17234         (hash_map::hash_entry::pch_nx): Likewise.
17235         (hash_map::hash_entry::pch_nx_helper): Likewise.
17236 (hash_map::hash_map): Adjust.
17237 (hash_map::create_ggc): New function.
17238 (gt_ggc_mx): Likewise.
17239 (gt_pch_nx): Likewise.
17240         * hash-set.h (default_hashset_traits::ggc_mx): Likewise.
17241 (default_hashset_traits::pch_nx): Likewise.
17242 (hash_set::hash_entry::ggc_mx): Likewise.
17243 (hash_set::hash_entry::pch_nx): Likewise.
17244 (hash_set::hash_entry::pch_nx_helper): Likewise.
17245 (hash_set::hash_set): Adjust.
17246 (hash_set::create_ggc): New function.
17247 (hash_set::elements): Likewise.
17248 (gt_ggc_mx): Likewise.
17249 (gt_pch_nx): Likewise.
17250         * hash-table.h (hash_table::hash_table): Adjust.
17251 (hash_table::m_ggc): New member.
17252         (hash_table::~hash_table): Adjust.
17253         (hash_table::expand): Likewise.
17254         (hash_table::empty): Likewise.
17255 (gt_ggc_mx): New function.
17256         (hashtab_entry_note_pointers): Likewise.
17257 (gt_pch_nx): Likewise.
17259 2014-09-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
17261         * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE):  New
17262         built-in definition.
17263         (XVCVUXDDP_SCALE): Likewise.
17264         (XVCVDPSXDS_SCALE): Likewise.
17265         (XVCVDPUXDS_SCALE): Likewise.
17266         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins):  Add
17267         entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
17268         VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
17269         VSX_BUILTIN_XVCVDPUXDS_SCALE.
17270         * config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
17271         prototype.
17272         * config/rs6000/rs6000.c (real.h): New include.
17273         (rs6000_scale_v2df): New function.
17274         * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
17275         (UNSPEC_VSX_XVCVUXDDP): Likewise.
17276         (UNSPEC_VSX_XVCVDPSXDS): Likewise.
17277         (UNSPEC_VSX_XVCVDPUXDS): Likewise.
17278         (vsx_xvcvsxddp_scale): New define_expand.
17279         (vsx_xvcvsxddp): New define_insn.
17280         (vsx_xvcvuxddp_scale): New define_expand.
17281         (vsx_xvcvuxddp): New define_insn.
17282         (vsx_xvcvdpsxds_scale): New define_expand.
17283         (vsx_xvcvdpsxds): New define_insn.
17284         (vsx_xvcvdpuxds_scale): New define_expand.
17285         (vsx_xvcvdpuxds): New define_insn.
17286         * doc/extend.texi (vec_ctf): Add new prototypes.
17287         (vec_cts): Likewise.
17288         (vec_ctu): Likewise.
17289         (vec_splat): Likewise.
17290         (vec_div): Likewise.
17291         (vec_mul): Likewise.
17293 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
17295         PR target/62275
17296         * config/arm/neon.md
17297         (neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
17298         <v_cmp_result>): New pattern.
17299         * config/arm/iterators.md (NEON_VCVT): New int iterator.
17300         * config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
17301         vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
17302         vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
17303         * config/arm/arm.c (arm_builtin_vectorized_function): Handle
17304         BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
17306 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
17308         PR target/62275
17309         * config/arm/iterators.md (FIXUORS): New code iterator.
17310         (VCVT): New int iterator.
17311         (su_optab): New code attribute.
17312         (su): Likewise.
17313         * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
17315 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
17317         * config/aarch64/predicates.md (aarch64_comparison_operation):
17318         New special predicate.
17319         * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
17320         aarch64_comparison_operation instead of matching an operator.
17321         Update operand numbers.
17322         (csinc3<mode>_insn): Likewise.
17323         (*csinv3<mode>_insn): Likewise.
17324         (*csneg3<mode>_insn): Likewise.
17325         (ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
17326         * config/aarch64/aarch64.c (aarch64_get_condition_code):
17327         Return -1 instead of aborting on invalid condition codes.
17328         (aarch64_print_operand): Update aarch64_get_condition_code callsites
17329         to assert that the returned condition code is valid.
17330         * config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
17332 2014-09-02  Aldy Hernandez  <aldyh@redhat.com>
17334         * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
17335         tree.def, and gimple.def
17337 2014-09-02  Jakub Jelinek  <jakub@redhat.com>
17338             Balaji V. Iyer  <balaji.v.iyer@intel.com>
17339             Igor Zamyatin  <igor.zamyatin@intel.com>
17341         * cilk-builtins.def (__cilkrts_cilk_for_32): New.
17342         (__cilkrts_cilk_for_64): Likewise.
17343         * cilk-common.c (declare_cilk_for_builtin): New function.
17344         (cilk_init_builtins): Declare __cilkrts_cilk_for_32 and
17345         __cilkrts_cilk_for_64 bultins.
17346         * cilk.h (enum cilk_tree_index): Added CILK_TI_F_LOOP_32 and
17347         CILK_TI_F_LOOP_64.
17348         (cilk_for_32_fndecl): New define.
17349         (cilk_for_64_fndecl): Likewise.
17350         * gimple-pretty-print.c (dump_gimple_omp_for): Correct hadling of
17351         GF_OMP_FOR_KIND_CILKFOR cases; Added NE_EXPR case.
17352         * gimple.h (enum gf_mask): Added GF_OMP_FOR_KIND_CILKFOR; adjusted
17353         GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED,
17354         GF_OMP_FOR_COMBINED_INTO.
17355         * gimplify.c (gimplify_scan_omp_clauses): Added
17356         OMP_CLAUSE__CILK_FOR_COUNT_ case.
17357         (gimplify_adjust_omp_clauses): Ditto.
17358         (gimplify_omp_for): Added CILK_FOR case.
17359         (gimplify_expr): Ditto.
17360         * omp-low.c: Include cilk.h.
17361         (extract_omp_for_data): Set appropriate kind for
17362         GF_OMP_FOR_KIND_CILKFOR; added check for GF_OMP_FOR_KIND_CILKFOR.
17363         (scan_sharing_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ cases.
17364         (create_omp_child_function_name): Added second argument to handle
17365         cilk_for case.
17366         (cilk_for_check_loop_diff_type): New function.
17367         (expand_cilk_for_call): Likewise.
17368         (expand_cilk_for): Likewise.
17369         (create_omp_child_function): Set cilk_for_count; handle the cases when
17370         it is true; call create_omp_child_function_name with second argument.
17371         (expand_omp_taskreg): Set is_cilk_for and handle cases when it's true.
17372         (expand_omp_for): Handle case of GF_OMP_FOR_KIND_CILKFOR.
17373         * tree-core.h (omp_clause_code): Added OMP_CLAUSE__CILK_FOR_COUNT_.
17374         * tree-nested.c (convert_nonlocal_omp_clauses): Added
17375         OMP_CLAUSE__CILK_FOR_COUNT_ case.
17376         (convert_local_omp_clauses): Ditto.
17377         * tree-pretty-print.c (dump_omp_clause): Added
17378         OMP_CLAUSE__CILK_FOR_COUNT_ and OMP_CLAUSE_SCHEDULE_CILKFOR cases.
17379         (dump_generic_node): Added CILK_FOR case.
17380         * tree.c (omp_clause_num_ops): New element
17381         OMP_CLAUSE__CILK_FOR_COUNT_ (1).
17382         (omp_clause_code_name): New element _Cilk_for_count_.
17383         (walk_tree_1): Added OMP_CLAUSE__CILK_FOR_COUNT_ case.
17384         * tree.def: Add tree code for CILK_FOR.
17386 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
17388         * config/rs6000/40x.md (ppc403-integer): Move "exts" to "no dot".
17389         (ppc403-compare): Add "exts with dot" case.
17390         * config/rs6000/440.md (ppc440-integer, ppc440-compare): As above.
17391         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Ditto.
17392         * config/rs6000/601.md (ppc601-integer, ppc601-compare): Ditto.
17393         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Ditto.
17394         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Ditto.
17395         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Ditto.
17396         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Ditto.
17397         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
17398         cell-cmp-microcoded): Similarly.
17399         * config/rs6000/e300c2c3.md (ppce300c3_iu, ppce300c3_cmp): As before.
17400         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Ditto.
17401         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Ditto.
17402         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Ditto.
17403         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Ditto.
17404         * config/rs6000/power4.md (power4-integer, power4-compare): Ditto.
17405         * config/rs6000/power5.md (power5-integer, power5-compare): Ditto.
17406         * config/rs6000/power6.md (power6-exts): Add "no dot" condition.
17407         (power6-compare): Add "exts with dot" case.
17408         * config/rs6000/power7.md (power7-integer, power7-compare): As before.
17409         * config/rs6000/power8.md (power8-1cyc, power8-compare): Ditto.
17410         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Ditto.
17412         * config/rs6000/predicates.md (lwa_operand): Don't allow memory
17413         if avoiding Cell microcode.
17414         * config/rs6000/rs6000.c (rs6000_adjust_cost): Handle exts+dot case.
17415         (is_cracked_insn): Ditto.
17416         (insn_must_be_first_in_group): Ditto.
17417         * config/rs6000/rs6000.md (dot): Adjust comment.
17418         (cell_micro): Handle exts+dot.
17419         (extendqidi2, extendhidi2, extendsidi2, *extendsidi2_lfiwax,
17420         *extendsidi2_nocell, *extendsidi2_nocell, extendqisi2, extendqihi2,
17421         extendhisi2, 16 anonymous instructions, and 12 splitters): Delete.
17422         (extendqi<mode>2, *extendqi<mode>2_dot, *extendqi<mode>2_dot2,
17423         extendhi<mode>2, *extendhi<mode>2, *extendhi<mode>2_noload,
17424         *extendhi<mode>2_dot, *extendhi<mode>2_dot2, extendsi<mode>2,
17425         *extendsi<mode>2_dot, *extendsi<mode>2_dot2): New.
17427 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
17429         * config/rs6000/rs6000.md (QHSI): Delete.
17430         (EXTQI, EXTHI, EXTSI): New mode iterators.
17431         (zero_extend<mode>di2, *zero_extend<mode>di2_internal1,
17432         *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
17433         *zero_extendsidi2_lfiwzx, zero_extendqisi2, zero_extendhisi2,
17434         9 anonymous instructions, and 8 splitters): Delete.
17435         (zero_extendqi<mode>2, *zero_extendqi<mode>2_dot,
17436         *zero_extendqi<mode>2_dot2, zero_extendhi<mode>2,
17437         *zero_extendhi<mode>2_dot, *zero_extendhi<mode>2_dot2,
17438         zero_extendsi<mode>2, *zero_extendsi<mode>2_dot,
17439         *zero_extendsi<mode>2_dot2): New.
17441 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
17443         * config/rs6000/rs6000.md (any_extend): New code iterator.
17444         (u, su): New code attributes.
17445         (dmode, DMODE): New mode attributes.
17446         (<su>mul<mode>3_highpart): New.
17447         (*<su>mul<mode>3_highpart): New.
17448         (<su>mulsi3_highpart_le): New.
17449         (<su>muldi3_highpart_le): New.
17450         (<su>mulsi3_highpart_64): New.
17451         (<u>mul<mode><dmode>3): New.
17452         (mulsidi3, umulsidi3, smulsi3_highpart, umulsi3_highpart, and two
17453         splitters): Delete.
17454         (mulditi3, umulditi3, smuldi3_highpart, umuldi3_highpart, and two
17455         splitters): Delete.
17457 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
17459         * config/rs6000/rs6000.md (mulsi3, *mulsi3_internal1,
17460         *mulsi3_internal2, and two splitters): Delete.
17461         (muldi3, *muldi3_internal1, *muldi3_internal2, and two splitters):
17462         Delete.
17463         (mul<mode>3, mul<mode>3_dot, mul<mode>3_dot2): New.
17465 2014-09-02  Richard Biener  <rguenther@suse.de>
17467         PR tree-optimization/62695
17468         * tree-ssa-structalias.c (find_func_clobbers): Add missing
17469         vector truncate.
17471 2014-09-01  Oleg Endo  <olegendo@gcc.gnu.org>
17473         PR target/62312
17474         * config/sh/sh.md (*cmp_div0s_0): Add missing constraints.
17476 2014-09-01  Andi Kleen  <ak@linux.intel.com>
17478         * file-find.c (add_prefix_begin): Add.
17479         (do_add_prefix): Rename from add_prefix with first argument.
17480         (add_prefix): Add new wrapper.
17481         * file-find.h (add_prefix_begin): Add.
17482         * gcc-ar.c (main): Support -B option.
17484 2014-09-01  Segher Boessenkool  <segher@kernel.crashing.org>
17486         * genemit.c: Include dumpfile.h.
17487         (gen_split): Print name of splitter function to dump file.
17489 2014-09-01  Richard Biener  <rguenther@suse.de>
17491         * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
17492         Use stack auto_vecs for constraint expressions.
17493         (find_func_aliases_for_call): Likewise.
17494         (find_func_aliases): Likewise.
17495         (find_func_clobbers): Likewise.
17497 2014-09-01  Richard Biener  <rguenther@suse.de>
17499         * tree-ssa-pre.c (phi_translate_1): Avoid re-allocating the
17500         operands vector in most cases.  Remove redundant code.
17502 2014-09-01  Olivier Hainque  <hainque@adacore.com>
17504         * config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
17505         $WIND_BASE instead of designating a harcoded arbitrary home dir.
17506         (VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
17508 2014-09-01  Richard Biener  <rguenther@suse.de>
17510         * tree-ssa-sccvn.h (copy_reference_ops_from_ref,
17511         copy_reference_ops_from_call, vn_nary_op_compute_hash,
17512         vn_reference_compute_hash, vn_reference_insert): Remove.
17513         (vn_reference_lookup_call): New function.
17514         * tree-ssa-sccvn.c (vn_reference_compute_hash,
17515         copy_reference_ops_from_ref, copy_reference_ops_from_call,
17516         vn_reference_insert, vn_nary_op_compute_hash): Make static.
17517         (create_reference_ops_from_call): Remove.
17518         (vn_reference_lookup_3): Properly update shared_lookup_references.
17519         (vn_reference_lookup_pieces): Assert that we updated
17520         shared_lookup_references properly.
17521         (vn_reference_lookup): Likewise.
17522         (vn_reference_lookup_call): New function.
17523         (visit_reference_op_call): Use it.  Avoid re-building the
17524         reference ops.
17525         (visit_reference_op_load): Remove redundant lookup.
17526         (visit_reference_op_store): Perform special tail-merging work
17527         only when possibly doing tail-merging.
17528         (visit_use): Likewise.
17529         * tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.
17531 2014-09-01  Jakub Jelinek  <jakub@redhat.com>
17533         PR target/62025
17534         * sched-deps.c (add_or_update_dep_1): If ask_dependency_caches
17535         returned DEP_PRESENT, make sure to set DEP_MULTIPLE on present_dep.
17536         (find_inc): Revert 2014-08-13 change.
17538 2014-09-01  Marek Polacek  <polacek@redhat.com>
17540         PR middle-end/61903
17541         * expmed.c (store_fixed_bit_field_1): Shift UHWI 1 instead of HWI 1.
17542         Change the type of V to unsigned HOST_WIDE_INT.
17544 2014-09-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
17546         * tree-ssa-math-opts.c (struct symbolic_number): Clarify comment about
17547         the size of byte markers.
17548         (do_shift_rotate): Fix confusion between host, target and marker byte
17549         size.
17550         (verify_symbolic_number_p): Likewise.
17551         (find_bswap_or_nop_1): Likewise.
17552         (find_bswap_or_nop): Likewise.
17554 2014-09-01  Olivier Hainque  <hainque@adacore.com>
17556         * Makefile.in (FLAGS_TO_PASS): Propagate INSTALL, INSTALL_DATA,
17557         INSTALL_SCRIPT and INSTALL_PROGRAM as well.
17559 2014-09-01  Jakub Jelinek  <jakub@redhat.com>
17561         * config/gnu-user.h (LIBLSAN_EARLY_SPEC): Define.
17562         * gcc.c (LIBLSAN_SPEC, LIBLSAN_EARLY_SPEC): Follow LIBTSAN*_SPEC.
17563         (SANITIZER_EARLY_SPEC): Include LIBLSAN_EARLY_SPEC for -fsanitize=leak.
17565 2014-09-01  Yury Gribov  <y.gribov@samsung.com>
17567         PR sanitizer/61897
17568         PR sanitizer/62140
17569         * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
17570         (build_check_stmt): Likewise.
17571         (instrument_strlen_call): Likewise.
17572         (asan_expand_check_ifn): Likewise and fix types.
17573         (maybe_cast_to_ptrmode): New function.
17575 2014-09-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
17577         * config/mcore/mcore.c (try_constant_tricks): Fix declaration.
17579 2014-08-31  Gerald Pfeifer  <gerald@pfeifer.com>
17581         * doc/generic.texi (Deficiencies): Add note on exemplary mistakes.
17583 2014-08-30  John David Anglin  <danglin@gcc.gnu.org>
17585         * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
17586         prefix to function labels when generating fast indirect calls.
17588 2014-08-30  David Malcolm  <dmalcolm@redhat.com>
17590         PR bootstrap/62304
17592         * gcc/reorg.c (skip_consecutive_labels): Convert return type and
17593         param back from rtx_insn * to rtx.  Rename param from "label" to
17594         "label_or_return", reintroducing "label" as an rtx_insn * after
17595         we've ensured it's not a RETURN.
17596         (first_active_target_insn): Likewise for return type and param;
17597         add a checked cast to rtx_insn * once we've ensured "insn" is not
17598         a RETURN.
17599         (steal_delay_list_from_target): Convert param "pnew_thread" back
17600         from rtx_insn ** to rtx *.  Replace use of JUMP_LABEL_AS_INSN
17601         with JUMP_LABEL.
17602         (own_thread_p): Convert param "thread" back from an rtx_insn * to
17603         an rtx.  Introduce local rtx_insn * "thread_insn" with a checked
17604         cast once we've established we're not dealing with a RETURN,
17605         renaming subsequent uses of "thread" to "thread_insn".
17606         (fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
17607         to JUMP_LABEL.
17608         (follow_jumps): Convert return type and param "label" from
17609         rtx_insn * back to rtx.  Move initialization of "value" to after
17610         the handling for ANY_RETURN_P, adding a checked cast there to
17611         rtx_insn *.  Convert local rtx_insn * "this_label" to an rtx and
17612         rename to "this_label_or_return", reintroducing "this_label" as
17613         an rtx_insn * once we've handled the case where it could be an
17614         ANY_RETURN_P.
17615         (fill_slots_from_thread): Rename param "thread" to
17616         "thread_or_return", converting from an rtx_insn * back to an rtx.
17617         Reintroduce name "thread" as an rtx_insn * local with a checked
17618         cast once we've handled the case of it being an ANY_RETURN_P.
17619         Convert local "new_thread" from an rtx_insn * back to an rtx.
17620         Add a checked cast when assigning to "trial" from "new_thread".
17621         Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL.  Add a
17622         checked cast to rtx_insn * from "new_thread" when invoking
17623         get_label_before.
17624         (fill_eager_delay_slots): Convert locals "target_label",
17625         "insn_at_target" from rtx_insn * back to rtx.
17626         Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
17627         (relax_delay_slots): Convert locals "trial", "target_label" from
17628         rtx_insn * back to rtx.  Convert uses of JUMP_LABEL_AS_INSN back
17629         to JUMP_LABEL.  Add a checked cast to rtx_insn * on "trial" when
17630         invoking update_block.
17631         (dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
17632         JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
17634         * resource.h (mark_target_live_regs): Undo erroneous conversion
17635         of second param of r214693, converting it back from rtx_insn * to
17636         rtx, since it could be a RETURN.
17638         * resource.c (find_dead_or_set_registers): Similarly, convert
17639         param "jump_target" back from an rtx_insn ** to an rtx *, as we
17640         could be writing back a RETURN.  Rename local rtx_insn * "next" to
17641         "next_insn", and introduce "lab_or_return" as a local rtx,
17642         handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
17643         (mark_target_live_regs): Undo erroneous conversion
17644         of second param of r214693, converting it back from rtx_insn * to
17645         rtx, since it could be a RETURN.  Rename it from "target" to
17646         "target_maybe_return", reintroducing the name "target" as a local
17647         rtx_insn * with a checked cast, after we've handled the case of
17648         ANY_RETURN_P.
17650 2014-08-29  DJ Delorie  <dj@redhat.com>
17652         * cppbuiltin.c (define_builtin_macros_for_type_sizes): Round
17653         pointer size up to a power of two.
17654         * defaults.h (DWARF2_ADDR_SIZE): Round up.
17655         (POINTER_SIZE_UNITS): New, rounded up value.
17656         * dwarf2asm.c (size_of_encoded_value): Use it.
17657         (dw2_output_indirect_constant_1): Likewise.
17658         * expmed.c (init_expmed_one_conv): We now know the sizes of
17659         partial int modes.
17660         * loop-iv.c (iv_number_of_iterations): Use precision, not size.
17661         * optabs.c (expand_float): Use precision, not size.
17662         (expand_fix): Likewise.
17663         * simplify-rtx (simplify_unary_operation_1): Likewise.
17664         * tree-dfa.c (get_ref_base_and_extent): Likewise.
17665         * varasm.c (assemble_addr_to_section): Round up pointer sizes.
17666         (default_assemble_integer) Likewise.
17667         (dump_tm_clone_pairs): Likewise.
17668         * dwarf2out.c (mem_loc_descriptor): Allow partial-int modes also.
17669         * var-tracking.c (adjust_mems): Allow partial-int modes also.
17670         (prepare_call_arguments): Likewise.
17671         * stor-layout.c (finalize_type_size): Preserve precision.
17672         (layout_type): Use precision, not size.
17674         * expr.c (convert_move): If the target has an explicit converter,
17675         use it.
17677 2014-08-29  David Malcolm  <dmalcolm@redhat.com>
17679         * gdbinit.in: Skip various inline functions in rtl.h when
17680         stepping.
17682 2014-08-29  Richard Sandiford  <richard.sandiford@arm.com>
17684         PR bootstrap/62301
17685         * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call.
17687 2014-08-29  Richard Biener  <rguenther@suse.de>
17689         PR tree-optimization/62291
17690         * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve
17691         exactly the vector size needed and use quick_push.
17692         (phi_translate_1): Adjust comment.
17693         (valid_in_sets): Remove block argument and remove pointless
17694         checking of NAMEs.
17695         (dependent_clean): Adjust for removal of block argument.
17696         (clean): Likewise.
17697         (compute_antic_aux): Likewise.
17698         (compute_partial_antic_aux): Likewise.
17700 2014-08-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
17701             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
17702             Anna Tikhonova  <anna.tikhonova@intel.com>
17703             Ilya Tocar  <ilya.tocar@intel.com>
17704             Andrey Turetskiy  <andrey.turetskiy@intel.com>
17705             Ilya Verbin  <ilya.verbin@intel.com>
17706             Kirill Yukhin  <kirill.yukhin@intel.com>
17707             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
17709         * config/i386/sse.md
17710         (define_insn "avx2_interleave_highv4di<mask_name>"): Add masking.
17711         (define_insn "vec_interleave_highv2di<mask_name>"): Ditto.
17712         (define_insn "avx2_interleave_lowv4di<mask_name>"): Ditto.
17713         (define_insn "vec_interleave_lowv2di<mask_name>"): Ditto.
17715 2014-08-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
17716             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
17717             Anna Tikhonova  <anna.tikhonova@intel.com>
17718             Ilya Tocar  <ilya.tocar@intel.com>
17719             Andrey Turetskiy  <andrey.turetskiy@intel.com>
17720             Ilya Verbin  <ilya.verbin@intel.com>
17721             Kirill Yukhin  <kirill.yukhin@intel.com>
17722             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
17724         * config/i386/i386-modes.def: Add V12QI, V14QI, V6HI modes.
17725         * config/i386/sse.md
17726         (define_mode_iterator VI4_128_8_256): New.
17727         (define_mode_iterator VI2_128_4_256): Ditto.
17728         (define_mode_iterator PMOV_DST_MODE): Rename into
17729         (define_mode_iterator PMOV_DST_MODE_1): this.
17730         (define_insn "*avx512f_<code><pmov_src_lower><mode>2"):
17731         Use PMOV_DST_MODE_1 mode iterator.
17732         (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
17733         Ditto.
17734         (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
17735         Ditto.
17736         (define_insn "*avx512bw_<code>v32hiv32qi2"): New.
17737         (define_insn "avx512bw_<code>v32hiv32qi2_mask"): Ditto.
17738         (define_expand "avx512bw_<code>v32hiv32qi2_store_mask"): Ditto.
17739         (define_mode_iterator PMOV_DST_MODE_2): New.
17740         (define_insn "*avx512vl_<code><ssedoublemodelower><mode>2"): Ditto.
17741         (define_insn "<avx512>_<code><ssedoublemodelower><mode>2_mask"): Ditto.
17742         (define_expand "<avx512>_<code><ssedoublemodelower><mode>2_store_mask"):
17743         Ditto.
17744         (define_mode_iterator PMOV_SRC_MODE_3): Ditto.
17745         (define_mode_attr pmov_dst_3): Ditto.
17746         (define_mode_attr pmov_dst_zeroed_3): Ditto.
17747         (define_mode_attr pmov_suff_3): Ditto.
17748         (define_insn "*avx512vl_<code><mode>v<ssescalarnum>qi2"): Ditto.
17749         (define_insn "*avx512vl_<code>v2div2qi2_store"): Ditto.
17750         (define_insn "avx512vl_<code>v2div2qi2_mask"): Ditto.
17751         (define_insn "avx512vl_<code>v2div2qi2_store_mask"): Ditto.
17752         (define_insn "*avx512vl_<code><mode>v4qi2_store"): Ditto.
17753         (define_insn "avx512vl_<code><mode>v4qi2_mask"): Ditto.
17754         (define_insn "avx512vl_<code><mode>v4qi2_store_mask"): Ditto.
17755         (define_insn "*avx512vl_<code><mode>v8qi2_store"): Ditto.
17756         (define_insn "avx512vl_<code><mode>v8qi2_mask"): Ditto.
17757         (define_insn "avx512vl_<code><mode>v8qi2_store_mask"): Ditto.
17758         (define_mode_iterator PMOV_SRC_MODE_4): Ditto.
17759         (define_mode_attr pmov_dst_4): Ditto.
17760         (define_mode_attr pmov_dst_zeroed_4): Ditto.
17761         (define_mode_attr pmov_suff_4): Ditto.
17762         (define_insn "*avx512vl_<code><mode>v<ssescalarnum>hi2"): Ditto.
17763         (define_insn "*avx512vl_<code><mode>v4hi2_store"): Ditto.
17764         (define_insn "avx512vl_<code><mode>v4hi2_mask"): Ditto.
17765         (define_insn "avx512vl_<code><mode>v4hi2_store_mask"): Ditto.
17766         (define_insn "*avx512vl_<code>v2div2hi2_store"): Ditto.
17767         (define_insn "avx512vl_<code>v2div2hi2_mask"): Ditto.
17768         (define_insn "avx512vl_<code>v2div2hi2_store_mask"): Ditto.
17769         (define_insn "*avx512vl_<code>v2div2si2"): Ditto.
17770         (define_insn "*avx512vl_<code>v2div2si2_store"): Ditto.
17771         (define_insn "avx512vl_<code>v2div2si2_mask"): Ditto.
17772         (define_insn "avx512vl_<code>v2div2si2_store_mask"): Ditto.
17774 2014-08-29  Richard Biener  <rguenther@suse.de>
17776         * tree-cfg.c (verify_gimple_assign_unary): Do not allow
17777         NON_LVALUE_EXPR in gimple.
17779 2014-08-29  Richard Biener  <rguenther@suse.de>
17781         PR middle-end/62292
17782         * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
17783         from previous refactoring.
17784         (gimple_fold_builtin_strncpy): Likewise.
17786 2014-08-29  David Malcolm  <dmalcolm@redhat.com>
17788         PR bootstrap/62300
17789         * function.c (assign_parm_setup_reg): Remove erroneous checked
17790         cast to rtx_insn * on result of gen_extend_insn in favor of
17791         introducing a new local rtx "pat".
17793 2014-08-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
17795         * config/mep/mep-pragma.c (mep_pragma_coprocessor_subclass): Rework
17796         to silence warning.
17797         * config/mep/mep.c (VECTOR_TYPE_P): Remove duplicate definition.
17799 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17801         * rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
17802         (next_insn): Likewise.
17803         * emit-rtl.c (next_insn): Likewise.
17804         (previous_insn): Likewise.
17805         * config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
17806         "insn" and "next" from rtx to rtx_insn *.
17807         * config/picochip/picochip.c (picochip_reorg): Likewise for locals
17808         "insn", "insn1", "vliw_start",  "prologue_end_note",
17809         "last_insn_in_packet".
17811 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17813         * shrink-wrap.h (active_insn_between): Strengthen both params from
17814         rtx to rtx_insn *.
17815         * function.c (active_insn_between): Likewise.
17817 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17819         * genattr.c (main): When writing out insn-attr.h, strengthen param
17820         of dfa_clear_single_insn_cache from rtx to rtx_insn *.
17821         * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
17822         writing out the definition of dfa_clear_single_insn_cache to the
17823         generated insn-automata.c
17825 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17827         * resource.h (clear_hashed_info_for_insn): Strengthen param from
17828         rtx to rtx_insn *.
17829         (incr_ticks_for_insn): Likewise.
17830         (init_resource_info): Likewise.
17832         * resource.c (init_resource_info): Likewise.
17833         (clear_hashed_info_for_insn): Likewise.
17834         (incr_ticks_for_insn): Likewise.
17836         * reorg.c (delete_scheduled_jump): Strengthen param "insn" from
17837         rtx to rtx_insn *.
17838         (steal_delay_list_from_target): Use methods of "seq".
17839         (try_merge_delay_insns): Use methods of "merged_insns".
17840         (update_block): Strengthen param "insn" from rtx to rtx_insn *.
17841         (reorg_redirect_jump): Likewise for param "jump".
17843 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17845         * insn-addr.h (insn_addresses_new): Strengthen param "insn" from
17846         rtx to rtx_insn *.
17847         * config/s390/s390.c (s390_split_branches): Eliminate top-level
17848         local rtx "tmp", in favor of new local rtx "mem" and rtx_insn *
17849         "set_insn".
17850         (s390_mainpool_finish): In three places, split out a local rtx
17851         "insn" into a local rtx - "set" or "pat" - and a rtx_insn *
17852         "insn".  Strengthen local "pool_end" from rtx to rtx_code_label *
17853         and split another local rtx "insn" out into rtx "pat" and
17854         rtx_insn * "insn".
17855         * config/sh/sh.c (output_branchy_insn): Rather than working
17856         directly on operands[9], introduce local rtx_code_label *
17857         variables named "lab" in two places, working on them, and then
17858         assigning them to operands[9], so that the intervening operations
17859         are known by the type system to be on insns.
17861 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17863         * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
17864         const rtx_insn *.
17866         * print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
17867         in invocation of INSN_HAS_LOCATION.
17869 2014-08-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
17871         * config/rs6000/altivec.h (vec_xl): New #define.
17872         (vec_xst): Likewise.
17873         * config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
17874         (XXSPLTD_V2DI): Likewise.
17875         (DIV_V2DI): Likewise.
17876         (UDIV_V2DI): Likewise.
17877         (MUL_V2DI): Likewise.
17878         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
17879         entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
17880         VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
17881         VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
17882         * config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
17883         (UNSPEC_VSX_DIVSD): Likewise.
17884         (UNSPEC_VSX_DIVUD): Likewise.
17885         (UNSPEC_VSX_MULSD): Likewise.
17886         (vsx_mul_v2di): New insn-and-split.
17887         (vsx_div_v2di): Likewise.
17888         (vsx_udiv_v2di): Likewise.
17889         (vsx_xxspltd_<mode>): New insn.
17891 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
17893         * rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
17894         NEXT_INSN.
17895         (PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
17896         (NEXT_INSN): Likewise.
17897         (JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
17898         (reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
17899         const rtx_insn *.
17900         (no_labels_between_p): Likewise for both params.
17902         * config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
17903         cast when using NEXT_INSN on operands[2].
17904         * config/alpha/alpha.c (alpha_set_memflags): Strengthen local
17905         "insn" from rtx to rtx_insn *, adding a checked cast.
17906         (alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
17907         rtx_insn *.
17908         * config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
17909         for third param.
17910         (arc_text_label): Likewise for param "insn".
17911         * config/arc/arc.c (arc_expand_epilogue): Likewise for local
17912         "insn".
17913         (arc_ccfsm_record_condition): Likewise for param "jump".
17914         (arc_text_label): Likewise for local "label".
17915         * config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
17916         Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
17917         a method for typesafety.  Add a checked cast.
17918         * config/arc/constraints.md (Clb): Add a checked cast when getting
17919         the CODE_LABEL from a LABEL_REF.
17920         * config/arm/arm.c (require_pic_register): Strengthen locals
17921         "seq", "insn" from rtx to rtx_insn *.
17922         (create_fix_barrier): Likewise for locals "selected", "next".
17923         (thumb1_reorg): Likewise for locals "prev", "insn".
17924         (arm_expand_prologue): Likewise for local "last".
17925         (thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
17926         operands[0].
17927         (thumb2_output_casesi): Likewise for operands[2].
17928         * config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
17929         strengthen local "insn" from rtx to rtx_insn *.
17930         * config/bfin/bfin.c (find_next_insn_start): Likewise for return
17931         type and param "insn".
17932         (find_prev_insn_start): Likewise.
17933         (hwloop_optimize): Likewise for locals "insn", "last_insn",
17934         "prev".
17935         (gen_one_bundle): Likewise for loal "t".
17936         (find_load): Likewise for param "insn".
17937         (workaround_speculation): Likewise for locals "insn", "next",
17938         "target", "next_tgt".
17939         * config/c6x/c6x.c (assign_reservations): Likewise for both params
17940         and for locals "insn", "within", "last".
17941         (count_unit_reqs): Likewise for params "head", "tail" and local
17942         "insn".
17943         (try_rename_operands): Likewise for params "head", "tail".
17944         (reshuffle_units): Likewise for locals "head", "tail", "insn".
17945         (struct c6x_sched_context): Likewise for fields
17946         "last_scheduled_insn", "last_scheduled_iter0".
17947         (init_sched_state): Replace NULL_RTX with NULL.
17948         (reorg_split_calls): Strengthen local "new_cycle_first" from rtx
17949         to rtx_insn *.
17950         (undo_split_delayed_nonbranch): Likewise for param and for local
17951         "prev".
17952         (conditionalize_after_sched): Likewise for local "insn".
17953         (bb_earliest_end_cycle): Likewise.
17954         (filter_insns_above): Likewise for locals "insn", "next".
17955         (hwloop_optimize): Remove redundant checked cast.
17956         (hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
17957         * config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
17958         NULL_RTX with NULL.
17959         (cris_simple_epilogue): Likewise.
17960         (cris_expand_prologue): Likewise.
17961         (cris_expand_epilogue): Likewise.
17962         * config/frv/frv.c (frv_function_contains_far_jump): Strengthen
17963         local "insn" from rtx to rtx_insn *.
17964         (frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
17965         (struct frv_packet_group): Likewise for the elements within array
17966         fields "insns", "sorted", and for field "nop".
17967         (frv_packet): Likewise for the elements within array field
17968         "insns".
17969         (frv_add_insn_to_packet): Likewise for param "insn".
17970         (frv_insert_nop_in_packet): Likewise for param "insn" and local
17971         "last".
17972         (frv_for_each_packet): Likewise for locals "insn", "next_insn".
17973         (frv_sort_insn_group_1): Likewise for local "insn".
17974         (frv_optimize_membar_local): Likewise.
17975         (frv_align_label): Likewise for locals "x", "last", "barrier",
17976         "label".
17977         * config/ia64/ia64.c (last_scheduled_insn): Likewise for this
17978         local.
17979         (ia64_sched_init): Likewise for local "insn".
17980         (scheduled_good_insn): Likewise for param "last".
17981         (struct _ia64_sched_context): Likewise for field
17982         "last_scheduled_insn".
17983         (ia64_init_sched_context): Replace NULL_RTX with NULL.
17984         (struct bundle_state): Likewise for field "insn".
17985         (issue_nops_and_insn): Likewise for param "insn".
17986         (get_next_important_insn): Likewise for return type and both
17987         params.
17988         (ia64_add_bundle_selector_before): Likewise for param "insn".
17989         (bundling): Likewise for params "prev_head_insn", "tail" and
17990         locals "insn", "next_insn", "b".  Eliminate top-level local rtx
17991         "nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
17992         * config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
17993         Strengthen final param from rtx to rtx_insn *.
17994         (iq2000_move_1word): Likewise for second param.
17995         * config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
17996         param "cur_insn" and local "next_insn".
17997         (iq2000_move_1word): Likewise for param "insn".
17998         * config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
17999         casts when using NEXT_INSN on operands[1].
18000         * config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
18001         "insn" from rtx to rtx_insn *.
18002         * config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
18003         "x", introducing local rtx_insn * "insn" for when working with the
18004         CODE_LABEL of the LABEL_REF.
18005         (m68k_sched_md_init_global): Strengthen local "insn" from rtx to
18006         rtx_insn *.
18007         * config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
18008         param.
18009         * config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
18010         type.
18011         (conditionalize_block): Likewise for return type and param.
18012         (mcore_is_dead): Likewise for param "first" and local "insn".
18013         (emit_new_cond_insn): Likewise for return type.
18014         (conditionalize_block): Likewise for return type, param, and
18015         locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
18016         "newinsn".
18017         (conditionalize_optimization): Likewise for local "insn".
18018         * config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
18019         using NEXT_INSN.
18020         * config/microblaze/microblaze.md: Add checked casts when using
18021         NEXT_INSN.
18022         * config/mips/mips.c (mips_expand_prologue): Eliminate top-level
18023         rtx "insn" in favor of various more tightly-scoped rtx "insn" and
18024         and rtx_insn * "insn".
18025         * config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
18026         checked cast when using NEXT_INSN on operands[2].
18027         * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
18028         local "insn" from rtx to rtx_insn *.
18029         * config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
18030         Likewise.
18031         * config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
18032         Add a checked cast when using NEXT_INSN on operands[1].
18033         * config/pa/pa-protos.h (pa_following_call): Strengthen param from
18034         rtx to rtx_insn *.
18035         (pa_output_cbranch): Likewise for final param.
18036         (pa_output_lbranch): Likewise for second param.
18037         (pa_output_bb): Likewise for third param.
18038         (pa_output_bvb): Likewise.
18039         (pa_output_dbra): Likewise for second param.
18040         (pa_output_movb): Likewise.
18041         (pa_output_parallel_movb): Likewise.
18042         (pa_output_parallel_addb): Likewise.
18043         (pa_output_millicode_call): Likewise for first param.
18044         (pa_output_mul_insn): Likewise for second param.
18045         (pa_output_div_insn): Likewise for third param.
18046         (pa_output_mod_insn): Likewise for second param.
18047         (pa_jump_in_call_delay): Likewise for param.
18048         * config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
18049         (pa_output_div_insn): Likewise.
18050         (pa_output_mod_insn): Likewise.
18051         (pa_output_cbranch): Likewise.
18052         (pa_output_lbranch): Likewise.
18053         (pa_output_bb): Likewise.
18054         (pa_output_bvb): Likewise.
18055         (pa_output_dbra): Likewise.
18056         (pa_output_movb): Likewise.
18057         (pa_output_millicode_call): Likewise; use method of rtx_sequence *
18058         to simplify and for typesafety.
18059         (pa_output_call): Use method of rtx_sequence *.
18060         (forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
18061         (pa_jump_in_call_delay): Likewise.
18062         (pa_output_parallel_movb): Likewise.
18063         (pa_output_parallel_addb): Likewise.
18064         (pa_following_call): Likewise.
18065         (pa_combine_instructions): Likewise for locals "anchor",
18066         "floater".
18067         (pa_can_combine_p): Likewise for params "anchor", "floater" and
18068         locals "start", "end".
18069         * config/picochip/picochip.c (picochip_reset_vliw): Likewise for
18070         param "insn" and local "local_insn".
18071         (picochip_final_prescan_insn): Likewise for local "local_insn".
18072         * config/rs6000/rs6000.c (compute_save_world_info): Likewise for
18073         local "insn".
18074         (uses_TOC): Likewise.
18075         * config/s390/s390.c (get_some_local_dynamic_name): Likewise.
18076         (s390_mainpool_finish): Eliminate top-level local rtx "insn",
18077         splitting out to more tightly-scoped locals, 3 as rtx and one as
18078         rtx_insn *.
18079         (s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
18080         to rtx_insn *.
18081         (s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
18082         where needed.
18083         * config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
18084         to rtx_insn *.
18085         (fixup_addr_diff_vecs): Likewise.
18086         (reg_unused_after): Likewise for param 2.
18087         (sh_can_redirect_branch): Likewise for both params.
18088         (check_use_sfunc_addr): Likewise for param 1.
18089         * config/sh/sh.c (fixup_mova): Likewise for local "worker".
18090         (find_barrier): Likewise for local "last_got".
18091         (gen_block_redirect): Likewise for return type, param "jump" and
18092         locals "prev", "scan", "next", "insn".
18093         (struct far_branch): Likewise for fields "near_label",
18094         "insert_place", "far_label".
18095         (gen_far_branch): Likewise for local "jump".
18096         (fixup_addr_diff_vecs): Likewise for param "first" and locals
18097         "insn", "prev".
18098         (barrier_align): Likewise for param and for locals "prev", "x".
18099         Introduce local rtx_sequence * "prev_seq" and use insn method for
18100         typesafety and clarity.
18101         (sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
18102         (get_dest_uid): Likewise for local "dest".
18103         (split_branches): Likewise for locals "next", "beyond", "label",
18104         "block", "far_label".  Add checked casts when assigning to
18105         bp->far_label and "far_label".
18106         (reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
18107         (sequence_insn_p): Likewise.
18108         (mark_constant_pool_use): Likewise for locals "insn", "lab".  Add a
18109         more loop-scoped rtx "insn" when walking LABEL_REFS.
18110         (sh_can_redirect_branch): Strengthen both params from rtx to
18111         rtx_insn *.
18112         (check_use_sfunc_addr): Likewise for param "insn".  Introduce a
18113         new local rtx_sequence * "seq" via a dyn_cast, and use a method
18114         for clarity and typesafety.
18115         * config/sh/sh.md (define_expand "epilogue"): Strengthen local
18116         "insn" from rtx to rtx_insn *.
18117         (define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
18118         when using NEXT_INSN on the CODE_LABEL in operands[2].
18119         (define_insn "casesi_worker_2"): Likewise.
18120         (define_insn "casesi_shift_media"): Likewise.
18121         (define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
18122         operands[3].
18123         * config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
18124         Strengthen field "insn" from rtx to rtx_insn *.
18125         (sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
18126         (sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
18127         param "start_insn" and local "start_insn".
18128         * config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
18129         field "insn".
18130         (find_set_of_reg_bb): Likewise for param "insn".
18131         (trace_reg_uses_1): Likewise for param "start_insn" and local "i".
18132         (trace_reg_uses): Likewise for param "start_insn".
18133         (sh_treg_combine::cbranch_trace): Likewise for field
18134         "cbranch_insn".
18135         (sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
18136         param "insn".
18137         (sh_treg_combine::record_set_of_reg): Likewise for param
18138         "start_insn" and local "i".
18139         (sh_treg_combine::can_remove_cstore): Likewise for local
18140         "prev_insn".
18141         (sh_treg_combine::try_optimize_cbranch): Likewise for param
18142         "insn".
18143         (sh_treg_combine::execute): Likewise for local "i".
18144         * config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
18145         param.
18146         (sparc_check_64): Likewise for second param.
18147         * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
18148         locals "insn", "next".  Introduce local rtx_sequence * "seq" via a
18149         dyn_cast, using its insn method for typesafety and clarity.
18150         (empty_delay_slot): Strengthen param "insn" from rtx to
18151         rtx_insn *.
18152         (set_extends): Likewise.
18153         (sparc_check_64): Likewise.
18154         * config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
18155         for locals "seq", "last_insn".
18156         (combine_bnp): Likewise for param "insn".
18157         (xstormy16_reorg): Likewise for local "insn".
18158         * config/v850/v850.c (substitute_ep_register): Likewise for params
18159         "first_insn", "last_insn" and local "insn".
18160         (v850_reorg): Likewise for fields "first_insn", "last_insn" within
18161         elements of "regs" array, and local "insn".
18162         * except.c (emit_note_eh_region_end): Likewise for param "insn".
18163         * final.c (final_sequence): Strengthen this global from rtx to
18164         rtx_sequence *.
18165         (shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
18166         rtx_insn *.
18167         (final_scan_insn): Update assignment to "final_sequence" to be
18168         from "seq", the cast version of "body", for type-safety.
18169         * function.c (assign_parm_setup_reg): Strengthen locals "insn",
18170         "insns" from rtx to rtx_insn *.
18171         (thread_prologue_and_epilogue_insns): Likewise for local "seq".
18172         * genattr.c (main): When writing out generated insn-attr.h,
18173         strengthen params 1 and 3 of eligible_for_delay,
18174         eligible_for_annul_true, eligible_for_annul_false from rtx to
18175         rtx_insn *.
18176         * genattrtab.c (write_eligible_delay): Likewise when writing out
18177         generated insn-attrtab.c; also local "insn" the generated
18178         functions.
18179         * hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
18180         to rtx_insn *.
18181         * hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
18182         "start_label" from rtx to rtx_insn *.
18183         * ira.c (decrease_live_ranges_number): Likewise for local "p".
18184         (ira_update_equiv_info_by_shuffle_insn): Likewise for param
18185         "insns" and local "insn".
18186         (validate_equiv_mem): Likewise for param "start" and local "insn".
18187         (memref_used_between_p): Likewise for params "start", "end" and
18188         local "insn".
18189         * ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
18190         final param.
18191         * loop-doloop.c (doloop_optimize): Within region guarded by
18192         INSN_P (doloop_pat), introduce a new local rtx_insn *
18193         "doloop_insn" via a checked cast, and use it for typesafety,
18194         eventually writing the value back into doloop_pat.
18195         * output.h (final_sequence): Strengthen this global from rtx to
18196         rtx_sequence *.
18197         * recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
18198         reintroducing "insn" as an rtx_insn * via a checked cast.
18199         Strengthen param "attempt" and local "new_insn"from rtx to
18200         rtx_insn *.
18201         (peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
18202         to rtx_insn *.
18203         * ree.c (emit_note_eh_region_end): Likewise for local "insn".
18204         * reload1.c (reload_as_needed): Eliminate top-level locals "x" and
18205         "p" in favor of more tightly-scoped replacements, sometimes rtx
18206         and sometimes rtx_insn *, as appropriate.
18207         (delete_output_reload): Eliminate top-level rtx "i1", splitting
18208         into two loop-scoped locals, one an rtx, the other an rtx_insn *.
18209         * reorg.c (delete_scheduled_jump): Add checked cast.  Strengthen
18210         local "trial" from rtx to rtx_insn *.
18211         (redirect_with_delay_slots_safe_p): Strengthen param "jump" from
18212         rtx to rtx_insn *.  Strenghten local "pat" from rtx to
18213         rtx_sequence * and use methods for clarity and typesafety.
18214         (redirect_with_delay_list_safe_p): Strengthen param "jump" from
18215         rtx to rtx_insn *.  Strenghten local "li" from rtx to
18216         rtx_insn_list * and use its methods for clarity and typesafety.
18217         (steal_delay_list_from_target): Strengthen param "insn" from rtx
18218         to rtx_insn *.
18219         (steal_delay_list_from_fallthrough): Likewise.
18220         (try_merge_delay_insns): Likewise for param "thread" and locals
18221         "trial", "next_trial", "delay_insn".
18222         (redundant_insn): Likewise for param "target" and local "trial".
18223         (own_thread_p): Likewise for param "thread" and locals
18224         "active_insn", "insn".
18225         (get_label_before): Likewise for param "insn".
18226         (fill_simple_delay_slots): Likewise for local "new_label"; use
18227         JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
18228         (label_before_next_insn): Strengthen return type and local "insn"
18229         from rtx to rtx_insn *.
18230         (relax_delay_slots): Likewise for locals "other", "tmp".
18231         (make_return_insns): Likewise for param "first" and locals "insn",
18232         "jump_insn", "prev".  Move declaration of "pat" to its assignment
18233         and strengthen from rtx to rtx_sequence *.  Use its methods for
18234         clarity and typesafety.
18235         * rtlanal.c (no_labels_between_p): Strengthen params from
18236         const_rtx to const rtx_insn *.  Strengthen local "p" from rtx to
18237         rtx_insn *.
18238         (reg_used_between_p): Strengthen params "from_insn", "to_insn"
18239         from const_rtx to const rtx_insn *.
18240         (reg_set_between_p): Rename param "from_insn" to
18241         "uncast_from_insn", and reintroduce "from_insn" as a
18242         const rtx_insn * via a checked cast.
18243         (modified_between_p): Likewise for param "start" as "uncast_start".
18244         (tablejump_p): Add a cast when invoking NEXT_INSN on "label".
18245         * sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
18246         "tmp", head" from rtx to rtx_insn *.
18247         (recompute_rev_top_order): Likewise for local "insn".
18248         * sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
18249         * store-motion.c (build_store_vectors): Likewise for local "insn".
18250         Strengthen local "st" from rtx to rtx_insn_list * and use methods
18251         for clarity and typesafety.
18252         * tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
18253         rtx to rtx_insn *.
18254         (computation_cost): Likewise for local "seq".
18255         (get_address_cost): Likewise.
18257 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18259         * rtl.h (tablejump_p): Strengthen first param from const_rtx to
18260         const rtx_insn *.
18261         (label_is_jump_target_p): Likewise for second param.
18263         * rtlanal.c (tablejump_p): Likewise for param "insn".
18264         (label_is_jump_target_p): Likewise for param "jump_insn".
18266 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18268         * rtl.h (find_first_parameter_load): Strengthen return type and
18269         both params from rtx to rtx_insn *.
18270         * rtlanal.c (find_first_parameter_load): Strengthen return type,
18271         both params and locals "before", "first_set" from rtx to
18272         rtx_insn *.  Remove now-redundant cast.
18273         * except.c (sjlj_mark_call_sites): Use NULL rather than NULL_RTX.
18275 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18277         * rtl.h (find_last_value): Delete.
18278         * rtlanal.c (find_last_value): Delete.
18280 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18282         * cfgexpand.c (pass_expand::execute): Strengthen local "after"
18283         from rtx to rtx_insn *.
18284         * cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
18285         rtx "note" with new local rtx_insn * "new_head" when calculating
18286         head insn of new basic block.
18287         * combine.c (combine_split_insns): Strengthen return type and local
18288         "ret" from rtx to rtx_insn *.
18289         (likely_spilled_retval_p): Likewise for locals "use" and "p".
18290         (try_combine): Eliminate local "m_split", splitting into new
18291         locals "m_split_insn" and "m_split_pat".
18292         (find_split_point): Strengthen local "seq" from rtx into
18293         rtx_insn *.
18294         * config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
18295         locals "label", "branch".
18296         * config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
18297         for local "insn".
18298         (define_expand "umulsi3_highpart"): Likewise for local "insn".
18299         * dse.c (note_add_store_info): Likewise for fields "first",
18300         "current".
18301         (note_add_store): Likewise for local "insn".
18302         (emit_inc_dec_insn_before): Likewise for locals "insn",
18303         "new_insn", "cur".
18304         (find_shift_sequence): Likewise for locals "shift_seq", "insn".
18305         (replace_read): Likewise for locals "insns", "this_insn".
18306         * dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
18307         (notice_eh_throw): Likewise for param "insn".
18308         (before_next_cfi_note): Likewise for return type, param, and local
18309         "prev".
18310         (connect_traces): Likewise for local "note".
18311         * emit-rtl.c (reset_all_used_flags): Likewise for local "p".
18312         (verify_rtl_sharing): Likewise.
18313         (unshare_all_rtl_in_chain): Likewise for param "insn".
18314         (get_first_nonnote_insn): Likewise for local "insn".
18315         (get_last_nonnote_insn): Likewise.  Introduce local rtx_sequence *
18316         "seq" and use its methods to clarify things.
18317         (next_insn): Strengthen return type from rtx to rtx_insn *.
18318         Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
18319         local rtx_insn * using a checked cast, dropping a checked cast
18320         made redundant by this change.  Use a cast to and method of
18321         rtx_sequence to clarify the code.
18322         (previous_insn): Rename param "insn" to "uncast_insn" and
18323         reintroduce "insn" as a local rtx_insn * using a checked cast,
18324         dropping a checked cast made redundant by this change.  Use a cast
18325         to and method of rtx_sequence to clarify the code.
18326         (next_nonnote_insn): Rename param "insn" to "uncast_insn" and
18327         reintroduce "insn" as a local rtx_insn * using a checked cast,
18328         dropping a checked cast made redundant by this change.
18329         (next_nonnote_insn_bb): Likewise.
18330         (prev_nonnote_insn): Likewise.
18331         (prev_nonnote_insn_bb): Likewise.
18332         (next_nondebug_insn): Likewise.
18333         (prev_nondebug_insn): Likewise.
18334         (next_nonnote_nondebug_insn): Likewise.
18335         (prev_nonnote_nondebug_insn): Likewise.
18336         (next_real_insn): Likewise.
18337         (prev_real_insn): Likewise.
18338         (next_active_insn): Likewise.
18339         (prev_active_insn): Likewise.
18340         (next_cc0_user): Likewise.  Use rtx_sequence and a method for
18341         clarity.
18342         (prev_cc0_setter): Likewise.
18343         (try_split): Rename param "trial" to "uncast_trial" and
18344         reintroduce "insn" as a local rtx_insn * using a checked cast,
18345         dropping checked casts made redundant by this change.
18346         Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
18347         rtx to rtx_insn *.
18348         (remove_insn): Rename param "insn" to "uncast_insn" and
18349         reintroduce "insn" as a local rtx_insn * using a checked cast.
18350         (emit_pattern_after_setloc): Likewise for param "after", as
18351         "uncast_after".
18352         (emit_pattern_after): Likewise.  Strengthen local "prev" from
18353         rtx to rtx_insn *.
18354         (emit_pattern_before_setloc): Rename param "before" to
18355         "uncast_before" and reintroduce "before" as a local rtx_insn *
18356         using a checked cast.  Strengthen locals "first", "last" from
18357         rtx to rtx_insn *.
18358         (emit_pattern_before): Likewise rename/cast param "before" to
18359         "uncast_before". Strengthen local "next" from rtx to rtx_insn *.
18360         * except.c (copy_reg_eh_region_note_forward): Strengthen param
18361         "first" and local "insn" from rtx to rtx_insn *.
18362         (copy_reg_eh_region_note_backward): Likewise for param "last"
18363         and local "insn".
18364         * expr.c (fixup_args_size_notes): Rename param "last" to
18365         "uncast_last" and reintroduce "last" as a local rtx_insn *
18366         using a checked cast.  Strengthen local "insn" from rtx to
18367         rtx_insn *.
18368         * function.c (set_insn_locations): Strengthen param "insn" from
18369         rtx to rtx_insn *.
18370         (record_insns): Likewise for param "insns" and local "tmp".
18371         (active_insn_between): Rename param "tail" to
18372         "uncast_tail" and reintroduce "tail" as a local rtx_insn *
18373         using a checked cast.
18374         (thread_prologue_and_epilogue_insns): Split out top-level local
18375         rtx "seq" into three different rtx_insn * locals.  Strengthen
18376         local "prologue_seq" from rtx to rtx_insn *.
18377         * gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
18378         from rtx to rtx_insn *.
18379         * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
18380         (priority): Likewise for locals "prev_first", "twin".
18381         (setup_insn_max_reg_pressure): Likewise for param "after".
18382         (sched_setup_bb_reg_pressure_info): Likewise.
18383         (no_real_insns_p): Strengthen params from const_rtx to
18384         const rtx_insn *.
18385         (schedule_block): Strengthen local "next_tail" from rtx to
18386         rtx_insn *.
18387         * ifcvt.c (find_active_insn_before): Strengthen return type and
18388         param "insn" from rtx to rtx_insn *.
18389         (find_active_insn_after): Likewise.
18390         (cond_exec_process_insns): Likewise for param "start" and local "insn".
18391         (cond_exec_process_if_block): Likewise for locals "then_start",
18392         "then_end", "else_start", "else_end", "insn", "start", "end", "from".
18393         (noce_process_if_block): Likewise for local "jump".
18394         (merge_if_block): Likewise for two locals named "end".
18395         (cond_exec_find_if_block): Likewise for local "last_insn".
18396         * jump.c (delete_related_insns): Rename param "insn" to
18397         "uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
18398         checked cast.  Strengthen local "p" from rtx to rtx_insn *.
18399         * lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
18400         NULL.
18401         (split_reg): Likewise.
18402         * lra.c (lra_process_new_insns): Likewise.
18403         * modulo-sched.c (permute_partial_schedule): Strengthen param
18404         "last" from rtx to rtx_insn *.
18405         * optabs.c (add_equal_note): Likewise for param "insns" and local
18406         "last_insn".
18407         (expand_binop_directly): Add checked casts to rtx_insn * within
18408         NEXT_INSN (pat) uses.
18409         (expand_unop_direct): Likewise.
18410         (maybe_emit_unop_insn): Likewise.
18411         * recog.c (peep2_attempt): Strengthen locals "last",
18412         "before_try", "x" from rtx to rtx_insn *.
18413         * reorg.c (optimize_skip): Strengthen return type and local
18414         "delay_list" from rtx to rtx_insn_list *.  Strengthen param "insn"
18415         and locals "trial", "next_trial" from rtx to rtx_insn *.
18416         * resource.c (next_insn_no_annul): Strengthen return type and
18417         param "insn" from rtx to rtx_insn *.  Use a cast to and method of
18418         rtx_sequence to clarify the code.
18419         (mark_referenced_resources): Add a checked cast to rtx_insn *
18420         within PREV_INSN (x).
18421         (find_dead_or_set_registers): Strengthen return type, param
18422         "target", locals "insn", "next", "jump_insn", "this_jump_insn"
18423         from rtx to rtx_insn *.  Strengthen param "jump_target" from rtx *
18424         to rtx_insn **.
18425         (mark_target_live_regs): Strengthen params "insns" and "target",
18426         locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
18427         to rtx_insn *.  Use cast to and method of rtx_sequence to clarify
18428         the code.
18429         * resource.h (mark_target_live_regs): Strengthen params 1 and 2
18430         from rtx to rtx_insn *.
18431         * rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
18432         from rtx to rtx_insn *.
18433         (copy_reg_eh_region_note_backward): Likewise.
18434         (unshare_all_rtl_in_chain): Likewise for sole param.
18435         (dump_rtl_slim): Strengthen second and third params from const_rtx
18436         to const rtx_insn *.
18437         * sched-deps.c (sched_free_deps): Strengthen params "head" and
18438         "tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
18439         * sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
18440         "next_tail" from rtx to rtx_insn *.
18441         (begin_move_insn): Likewise for local "next".
18442         * sched-int.h (sched_free_deps): Likewise for first and second
18443         params.
18444         (no_real_insns_p): Strengthen both params from const_rtx to
18445         const rtx_insn *.
18446         (sched_setup_bb_reg_pressure_info): Strengthen second params from
18447         rtx to rtx_insn *.
18448         * sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
18449         "next_tail".
18450         * sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
18451         and locals "insn", "tail" from const_rtx to const rtx_insn *.
18452         (rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
18453         rtx_insn *.
18454         (debug_rtl_slim): Strengthen params "first" and "last" from
18455         const_rtx to const rtx_insn *.
18456         * shrink-wrap.c (try_shrink_wrapping): Strengthen param
18457         "prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
18458         (convert_to_simple_return): Likewise for param "returnjump".
18459         * shrink-wrap.h (try_shrink_wrapping): Likewise for param
18460         "prologue_seq".
18461         (convert_to_simple_return): Likewise for param "returnjump".
18462         * valtrack.c (propagate_for_debug): Likewise for params
18463         "insn", "last".
18464         * valtrack.h (propagate_for_debug): Likewise for second param.
18466 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18468         * output.h (insn_current_reference_address): Strengthen param
18469         from rtx to rtx_insn *.
18470         * final.c (insn_current_reference_address): Likewise.
18472 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18474         * basic-block.h (inside_basic_block_p): Strengthen param from
18475         const_rtx to const rtx_insn *.
18476         * cfgbuild.c (inside_basic_block_p): Likewise.
18478 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18480         * dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
18481         rtx_insn *.
18482         (get_trace_info): Likewise for param "insn".
18483         (save_point_p): Likewise.
18484         (maybe_record_trace_start): Likewise for both params.
18485         (maybe_record_trace_start_abnormal): Likewise.
18486         (create_trace_edges): Likewise for sole param and for three of the
18487         locals named "lab".
18488         (scan_trace): Strengthen local "prev", "insn", "control" from rtx
18489         to rtx_insn *, and update a call to pat->element to pat->insn.
18491 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18493         * function.h (struct expr_status): Convert field "x_forced_labels"
18494         from rtx_expr_list * to rtx_insn_list *.
18496         * cfgbuild.c (make_edges): Convert local "x" from an
18497         rtx_expr_list * to an rtx_insn_list *, replacing use of
18498         "element" method with "insn" method.
18499         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
18500         * except.c (sjlj_emit_dispatch_table): Replace use of
18501         gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
18502         forced_labels.
18503         * jump.c (rebuild_jump_labels_1): Convert local "insn" from an
18504         rtx_expr_list * to an rtx_insn_list *, replacing use of
18505         "element" method with "insn" method.
18506         * reload1.c (set_initial_label_offsets): Likewise for local "x".
18507         * stmt.c (label_rtx): Strengthen local "ref" from rtx to
18508         rtx_insn *, adding a checked cast.  Replace use of
18509         gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
18510         forced_labels.
18511         (expand_label): Likewise for local "label_r".
18513 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18515         * function.h (struct rtl_data): Convert field
18516         "x_nonlocal_goto_handler_labels" from rtx_expr_list * to
18517         rtx_insn_list *.
18518         * rtl.h (remove_node_from_insn_list): New prototype.
18520         * builtins.c (expand_builtin): When prepending to
18521         nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
18522         gen_rtx_EXPR_LIST.
18523         * cfgbuild.c (make_edges): Convert local "x" from rtx_expr_list *
18524         to rtx_insn_list *, and use its "insn" method rather than
18525         "element" method.
18526         * cfgrtl.c (delete_insn): Use new function
18527         remove_node_from_insn_list rather than
18528         remove_node_from_expr_list.
18529         (cfg_layout_initialize): Convert local "x" from rtx_expr_list *
18530         to rtx_insn_list *, and use its "insn" method rather than
18531         "element" method.
18532         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
18533         * reload1.c (set_initial_label_offsets): Likewise for local "x".
18534         * rtlanal.c (remove_node_from_insn_list): New function, adapted
18535         from remove_node_from_expr_list.
18536         * stmt.c (expand_label): When prepending to
18537         nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
18538         gen_rtx_EXPR_LIST.
18540 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18542         * function.h (struct rtl_data): Strengthen fields "x_return_label"
18543         and "x_naked_return_label" from rtx to rtx_code_label *.
18545 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18547         * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *.
18548         (SET_NEXT_INSN): Likewise.
18549         (gen_rtvec_v): Add an overload for param types (int, rtx_insn **).
18551         * config/c6x/c6x.c (gen_one_bundle): Strengthen param "slot" from
18552         rtx * to rtx_insn **.  Introduce a new local rtx "seq", using it
18553         to split out the SEQUENCE from local "bundle", strengthening the
18554         latter from rtx to rtx_insn * to hold the insn holding the SEQUENCE.
18555         Strengthen locals "t" and "insn" from rtx to rtx_insn *.
18556         (c6x_gen_bundles): Strengthen locals "insn", "next", "last_call"
18557         and the type of the elements of the "slot" array from rtx to
18558         rtx_insn *.
18559         (reorg_split_calls): Likewise for locals "insn" and "next", and
18560         the type of the elements of the "slot" array.
18562         * config/frv/frv.c (frv_nops): Likewise for the elements of this
18563         array.
18564         (frv_function_prologue): Likewise for locals "insn", "next",
18565         "last_call".
18566         (frv_register_nop): Introduce a local "nop_insn" to be the
18567         rtx_insn * containing rtx "nop".
18569         * config/mep/mep.c (mep_make_bundle): Param "core" is sometimes
18570         used as an insn and sometimes as a pattern, so rename it to
18571         "core_insn_or_pat", and introduce local rtx_insn * "core_insn",
18572         using it where dealing with the core insn.
18574         * config/picochip/picochip.c (reorder_var_tracking_notes):
18575         Strengthen locals "insn", "next", "last_insn", "queue",
18576         "next_queue", "prev" from rtx to rtx_insn *.
18578         * emit-rtl.c (gen_rtvec_v): Add overloaded implementation for when
18579         the second param is an rtx_insn ** rather than an rtx **.
18580         (link_insn_into_chain): Strengthen locals "seq" and "sequence"
18581         from rtx to rtx_sequence *, and introduce local named "sequence",
18582         using methods of rtx_sequence to clarify the code.
18583         (remove_insn): Introduce local rtx_sequence * named "sequence" and
18584         use its methods.
18585         (emit_insn_after_1): Strengthen return type from rtx to rtx_insn *.
18586         Rename param "after" to "uncast_after", reintroducing "after" as a
18587         local rtx_insn * with a checked cast.
18588         (emit_pattern_after_noloc): Rename param "after" to "uncast_after",
18589         reintroducing "after" as a local rtx_insn * with a checked cast.
18590         Strengthen local "last" from rtx to rtx_insn * and remove the
18591         now-redundant checked casts.
18592         (copy_delay_slot_insn): Strengthen return type and param from rtx
18593         to rtx_insn *.
18595         * haifa-sched.c (reemit_notes): Strengthen params "insn" and
18596         "last" from rtx to rtx_insn *.
18598 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
18600         * emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
18601         param from rtx to rtx_insn *.
18603         * emit-rtl.c (copy_delay_slot_insn): Likewise.
18605         * reorg.c (skip_consecutive_labels): Strengthen return type, param
18606         and local "insn" from rtx to rtx_insn *.
18607         (unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
18608         (unfilled_slots_next): Likewise.
18609         (function_return_label): Strengthen from rtx to rtx_code_label *.
18610         (function_simple_return_label): Likewise.
18611         (first_active_target_insn): Strengthen return type and param from
18612         rtx to rtx_insn *.
18613         (find_end_label): Strengthen return type from rtx to
18614         rtx_code_label *; strengthen locals as appropriate.
18615         (emit_delay_sequence): Strengthen return type, param "insn" and
18616         local "seq_insn" from rtx to rtx_insn *.  Strengthen param "list"
18617         and local "li" from rtx to rtx_insn_list *, using methods of
18618         rtx_insn_list for clarity and typesafety.
18619         (add_to_delay_list): Strengthen return type and param "insn" from
18620         rtx to rtx_insn *.  Strengthen param "delay_list" from rtx to
18621         rtx_insn_list * and use methods of rtx_insn_list.
18622         (delete_from_delay_slot): Strengthen return type, param "insn",
18623         locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
18624         Strengthen local "seq" from rtx to rtx_sequence *, and local
18625         "delay_list" from rtx to rtx_insn_list *, using methods of
18626         rtx_sequence for clarity and type-safety.
18627         (delete_scheduled_jump): Add checked cast when invoking
18628         delete_from_delay_slot.  Strengthen local "trial" from rtx to
18629         rtx_insn *.
18630         (optimize_skip): Strengthen return type and local "delay_list"
18631         from rtx to rtx_insn_list *.  Strengthen local "trial" from rtx to
18632         rtx_insn *.
18633         (steal_delay_list_from_target): Strengthen return type, param
18634         "delay_list" and local "new_delay_list" from rtx to
18635         rtx_insn_list *.  Strengthen param "seq" from rtx to
18636         rtx_sequence *.  Strengthen param "pnew_thread" from rtx * to
18637         rtx_insn **.
18638         Split out local "temp" into multiple more-tightly scoped locals:
18639         sometimes an rtx_insn_list *, and once a rtx_insn *.  Use methods
18640         of rtx_insn_list and rtx_sequence for clarity and typesafety.
18641         Strengthen locals named "trial" from rtx to rtx_insn *.
18642         (steal_delay_list_from_fallthrough): Strengthen return type and
18643         param "delay_list" from rtx to rtx_insn_list *.  Strengthen param
18644         "seq" from rtx to rtx_sequence *.  Use methods of rtx_sequence.
18645         Strengthen local "trial" from rtx to rtx_insn *.
18646         (try_merge_delay_insns): Strength local "merged_insns" from rtx
18647         to rtx_insn_list * and use its methods.  Strengthen local "pat"
18648         from rtx to rtx_sequence * and use its methods.  Strengthen locals
18649         "dtrial" and "new_rtx" from rtx to rtx_insn *.
18650         (get_label_before): Strengthen return type and local "label" from
18651         rtx to rtx_insn *.
18652         (fill_simple_delay_slots): Likewise for locals "insn", "trial",
18653         "next_trial", "next", prev".  Strengthen local "delay_list" from
18654         rtx to rtx_insn_list *  Strengthen local "tmp" from rtx * to
18655         rtx_insn **.
18656         (follow_jumps): Strengthen return type, param "label" and locals
18657         "insn", "next", "value", "this_label" from rtx to rtx_insn *.
18658         (fill_slots_from_thread): Strengthen return type, param
18659         "delay_list" from rtx to rtx_insn_list *.  Strengthen params
18660         "insn", "thread", "opposite_thread" and locals "new_thread",
18661         "trial", "temp", "ninsn" from rtx to rtx_insn *.  Introduce local
18662         "sequence" from a checked cast to rtx_sequence so that we can call
18663         steal_delay_list_from_target and steal_delay_list_from_fallthrough
18664         with an rtx_sequence *.
18665         (fill_eager_delay_slots): Strengthen locals "insn", "target_label",
18666         "insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
18667         Strengthen local "delay_list" from rtx to rtx_insn_list *.
18668         (relax_delay_slots): Strengthen param "first" and locals "insn",
18669         "next", "trial", "delay_insn", "target_label" from rtx to
18670         rtx_insn *.  Strengthen local "pat" from rtx to rtx_sequence *.
18671         Introduce a local "trial_seq" for PATTERN (trial) of type
18672         rtx_sequence *, in both cases using methods of rtx_sequence.
18673         (dbr_schedule): Strengthen param "first" and locals "insn",
18674         "next", "epilogue_insn" from rtx to rtx_insn *.
18676 2014-08-28  Richard Biener  <rguenther@suse.de>
18678         PR tree-optimization/62283
18679         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
18680         Do not peel loops for alignment where the vector loop likely
18681         doesn't run at least VF times.
18683 2014-08-28  Bin Cheng  <bin.cheng@arm.com>
18685         * tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
18686         important_candidates.  Consider all important candidates if
18687         IVS doesn't give any result.  Remove check on ivs->upto.
18688         (try_add_cand_for): Call iv_ca_add_use only once.
18690 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18691             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18692             Anna Tikhonova  <anna.tikhonova@intel.com>
18693             Ilya Tocar  <ilya.tocar@intel.com>
18694             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18695             Ilya Verbin  <ilya.verbin@intel.com>
18696             Kirill Yukhin  <kirill.yukhin@intel.com>
18697             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18699         (define_mode_iterator VI12_AVX2): Add V64QI and V32HI modes.
18700         (define_expand "<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Add
18701         masking.
18702         (define_insn "*<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Ditto.
18703         (define_expand "<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
18704         (define_insn "*<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
18705         (define_insn "*mul<mode>3"): Add EVEX version.
18707 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18708             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18709             Anna Tikhonova  <anna.tikhonova@intel.com>
18710             Ilya Tocar  <ilya.tocar@intel.com>
18711             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18712             Ilya Verbin  <ilya.verbin@intel.com>
18713             Kirill Yukhin  <kirill.yukhin@intel.com>
18714             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18716         * config/i386/sse.md
18717         (define_insn "avx512bw_interleave_highv64qi<mask_name>"): New.
18718         (define_insn "avx2_interleave_highv32qi<mask_name>"): Add masking.
18719         (define_insn "vec_interleave_highv16qi<mask_name>"): Ditto.
18720         (define_insn "avx2_interleave_lowv32qi<mask_name>"): Ditto.
18721         (define_insn "vec_interleave_lowv16qi<mask_name>"): Ditto.
18722         (define_insn "avx2_interleave_highv16hi<mask_name>"): Ditto.
18723         (define_insn "vec_interleave_highv8hi<mask_name>"): Ditto.
18724         (define_insn "avx2_interleave_lowv16hi<mask_name>"): Ditto.
18725         (define_insn "vec_interleave_lowv8hi<mask_name>"): Ditto.
18726         (define_insn "avx2_interleave_highv8si<mask_name>"): Ditto.
18727         (define_insn "vec_interleave_highv4si<mask_name>"): Ditto.
18728         (define_insn "avx2_interleave_lowv8si<mask_name>"): Ditto.
18729         (define_insn "vec_interleave_lowv4si<mask_name>"): Ditto.
18730         (define_insn "vec_interleave_highv16qi<mask_name>"): New.
18731         (define_insn "avx512bw_interleave_highv32hi<mask_name>"): Ditto.
18732         (define_insn "<mask_codefor>avx512bw_interleave_lowv32hi<mask_name>"): Ditto.
18734 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18735             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18736             Anna Tikhonova  <anna.tikhonova@intel.com>
18737             Ilya Tocar  <ilya.tocar@intel.com>
18738             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18739             Ilya Verbin  <ilya.verbin@intel.com>
18740             Kirill Yukhin  <kirill.yukhin@intel.com>
18741             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18743         * config/i386/sse.md
18744         (define_mode_iterator VIMAX_AVX2): Add V4TI mode.
18745         (define_insn "<sse2_avx2>_ashl<mode>3"): Add EVEX version.
18746         (define_insn "<sse2_avx2>_lshr<mode>3"): Ditto.
18748 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18749             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18750             Anna Tikhonova  <anna.tikhonova@intel.com>
18751             Ilya Tocar  <ilya.tocar@intel.com>
18752             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18753             Ilya Verbin  <ilya.verbin@intel.com>
18754             Kirill Yukhin  <kirill.yukhin@intel.com>
18755             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18757         * config/i386/sse.md
18758         (define_mode_iterator VI128_256): New.
18759         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
18761 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18762             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18763             Anna Tikhonova  <anna.tikhonova@intel.com>
18764             Ilya Tocar  <ilya.tocar@intel.com>
18765             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18766             Ilya Verbin  <ilya.verbin@intel.com>
18767             Kirill Yukhin  <kirill.yukhin@intel.com>
18768             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18770         * config/i386/sse.md
18771         (define_mode_iterator VI8_256_512): New.
18772         (define_insn "<mask_codefor>avx512dq_cvtps2qq<mode><mask_name><round_name>"):
18773         Ditto.
18774         (define_insn "<mask_codefor>avx512dq_cvtps2qqv2di<mask_name>"): Ditto.
18775         (define_insn "<mask_codefor>avx512dq_cvtps2uqq<mode><mask_name><round_name>"):
18776         Ditto.
18777         (define_insn "<mask_codefor>avx512dq_cvtps2uqqv2di<mask_name>"): Ditto.
18779 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18781         * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx.  Remove the
18782         pointer to the cumulative reloc value and return the value for
18783         this reloc instead.
18784         (compute_reloc_for_rtx): Take a const_rtx.  Call
18785         compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
18786         avoiding any recursion.  Use FOR_EACH_SUBRTX rather than
18787         for_each_rtx for the CONST case.
18789 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18791         * varasm.c (mark_constant): Replace this for_each_rtx callback with...
18792         (mark_constants_in_pattern): ...this new function to iterate over
18793         all the subrtxes.
18794         (mark_constants): Update accordingly.
18796 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18798         * varasm.c: Include rtl-iter.h.
18799         (const_rtx_hash_1): Take a const_rtx rather than an rtx *.
18800         Remove the pointer to the cumulative hashval_t and just return
18801         the hash for this rtx instead.  Remove recursive CONST_VECTOR case.
18802         (const_rtx_hash): Use FOR_EACH_SUBRTX instead of for_each_rtx.
18803         Accumulate the hashval_ts here instead of const_rtx_hash_1.
18805 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18807         * var-tracking.c (add_uses): Take an rtx rather than an rtx *.
18808         Give real type of data parameter.  Remove return value.
18809         (add_uses_1): Use FOR_EACH_SUBRTX_VAR rather than for_each_rtx
18810         to iterate over subrtxes.
18812 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18814         * var-tracking.c (use_narrower_mode_test): Turn from being a
18815         for_each_rtx callback to being a function that examines each
18816         subrtx itself.
18817         (adjust_mems): Update accordingly.
18819 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18821         * var-tracking.c (non_suitable_const): Turn from being a for_each_rtx
18822         callback to being a function that examines each subrtx itself.
18823         Remove handling of null rtxes.
18824         (add_uses): Update accordingly.
18826 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18828         * var-tracking.c: Include rtl-iter.h.
18829         (rtx_debug_expr_p): Turn from being a for_each_rtx callback
18830         to being a function that examines each subrtx itself.
18831         (use_type): Update accordingly.
18833 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18835         * store-motion.c: Include rtl-iter.h.
18836         (extract_mentioned_regs_1): Delete.
18837         (extract_mentioned_regs): Use FOR_EACH_SUBRTX_VAR rather than
18838         for_each_rtx to iterate over subrtxes.
18840 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18842         * sel-sched.c: Include rtl-iter.h
18843         (count_occurrences_1): Delete.
18844         (count_occurrences_equiv): Turn rtxes into const_rtxes.
18845         Use FOR_EACH_SUBRTX rather than for_each_rtx.
18847 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18849         * rtl.h (tls_referenced_p): Take a const_rtx rather than an rtx.
18850         * rtlanal.c (tls_referenced_p_1): Delete.
18851         (tls_referenced_p): Take a const_rtx rather than an rtx.
18852         Use FOR_EACH_SUBRTX rather than for_each_rtx.
18854 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18856         * rtl.h (for_each_inc_dec_fn): Remove special case for -1.
18857         (for_each_inc_dec): Take an rtx rather than an rtx *.
18858         * cselib.c (cselib_record_autoinc_cb): Update accordingly.
18859         (cselib_record_sets): Likewise.
18860         * dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
18861         (check_for_inc_dec): Likewise.
18862         * rtlanal.c (for_each_inc_dec_ops): Delete.
18863         (for_each_inc_dec_find_inc_dec): Take the MEM as argument,
18864         rather than a pointer to the memory address.  Replace
18865         for_each_inc_dec_ops argument with separate function and data
18866         arguments.  Abort on non-autoinc addresses.
18867         (for_each_inc_dec_find_mem): Delete.
18868         (for_each_inc_dec): Take an rtx rather than an rtx *.  Use
18869         FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.
18871 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18873         * rtl.h (find_all_hard_regs): Declare.
18874         * rtlanal.c (find_all_hard_regs): New function.
18875         (record_hard_reg_uses_1): Delete.
18876         (record_hard_reg_uses): Use find_all_hard_regs.
18878 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18880         * rtl.h (replace_label_data): Delete.
18881         (replace_label): Take the old label, new label and update-nuses flag
18882         as direct arguments.  Return void.
18883         * cfgcleanup.c (outgoing_edges_match): Update accordingly.
18884         * rtlanal.c (replace_label): Update interface as above.  Handle
18885         JUMP_TABLE_DATA as a special case.  Handle JUMPs outside the
18886         iterator.  Use FOR_EACH_SUBRTX_PTR.
18888 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18890         * rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
18891         with const_rtx parameters.
18892         * varasm.c (get_pool_constant): Likewise.
18893         * rtlanal.c (rtx_referenced_p_1): Delete.
18894         (rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
18895         Assert that the rtx we're looking for is nonnull.  Allow searches
18896         for constant pool SYMBOL_REFs.
18898 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18900         * reload1.c: Include rtl-iter.h.
18901         (note_reg_elim_costly): Turn from being a for_each_rtx callback
18902         to being a function that examines each subrtx itself.
18903         (eliminate_regs_1, elimination_costs_in_insn): Update accordingly.
18905 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18907         * regcprop.c (cprop_find_used_regs_1): Delete.
18908         (cprop_find_used_regs): Use FOR_EACH_SUBRTX instead of for_each_rtx.
18910 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18912         * regcprop.c: Include rtl-iter.h.
18913         (kill_value): Take a const_rtx.
18914         (kill_autoinc_value): Turn from being a for_each_rtx callback
18915         to being a function that examines each subrtx itself.
18916         (copyprop_hardreg_forward_1): Update accordingly.
18918 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18920         * reg-stack.c: Include rtl-iter.h.
18921         (subst_stack_regs_in_debug_insn): Delete.
18922         (subst_all_stack_regs_in_debug_insn): Use FOR_EACH_SUBRTX_PTR
18923         instead of for_each_rtx.
18925 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18927         * lower-subreg.c (find_decomposable_subregs): Turn from being
18928         a for_each_rtx callback to being a function that examines each
18929         subrtx itself.  Remove handling of null rtxes.
18930         (decompose_multiword_subregs): Update accordingly.
18932 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18934         * lower-subreg.c (adjust_decomposed_uses): Delete.
18935         (resolve_debug): Use FOR_EACH_SUBRTX_PTR rather than for_each_rtx.
18936         Remove handling of null rtxes.
18938 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18940         * lower-subreg.c: Include rtl-iter.h.
18941         (resolve_subreg_use): Turn from being a for_each_rtx callback
18942         to being a function that examines each subrtx itself.  Remove
18943         handling of null rtxes.
18944         (resolve_reg_notes, resolve_simple_move): Update accordingly.
18945         (decompose_multiword_subregs): Likewise.
18947 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18949         * loop-iv.c (altered_reg_used): Turn from being a for_each_rtx callback
18950         to being a function that examines each subrtx itself.
18951         (simplify_using_condition, simplify_using_initial_values): Update
18952         accordingly.
18954 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18956         * loop-iv.c: Include rtl-iter.h.
18957         (find_single_def_src): New function.
18958         (replace_single_def_regs): Turn from being a for_each_rtx callback
18959         to being a function that examines each subrtx itself.
18960         (replace_in_expr, simplify_using_initial_values): Update accordingly.
18962 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18964         * jump.c (eh_returnjump_p_1): Delete.
18965         (eh_returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
18966         Remove handling of null rtxes.
18968 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18970         * jump.c: Include rtl-iter.h.
18971         (returnjump_p_1): Delete.
18972         (returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
18973         Remove handling of null rtxes.
18975 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18977         * ira.c: Include rtl-iter.h.
18978         (set_paradoxical_subreg): Turn from being a for_each_rtx callback
18979         to being a function that examines each subrtx itself.  Remove
18980         handling of null rtxes.
18981         (update_equiv_regs): Update call accordingly.
18983 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18985         * fwprop.c: Include rtl-iter.h.
18986         (varying_mem_p): Turn from being a for_each_rtx callback to being
18987         a function that examines each subrtx itself.
18988         (propagate_rtx): Update accordingly.
18990 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
18992         * function.c: Include rtl-iter.h
18993         (instantiate_virtual_regs_in_rtx): Turn from being a for_each_rtx
18994         callback to being a function that examines each subrtx itself.
18995         Return the changed flag.
18996         (instantiate_virtual_regs_in_insn, instantiate_decl_rtl)
18997         (instantiate_virtual_regs): Update calls accordingly.
18999 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19001         * final.c: Include rtl-iter.h.
19002         (mark_symbol_ref_as_used): Delete.
19003         (mark_symbol_refs_as_used): Use FOR_EACH_SUBRTX instead of
19004         for_each_rtx.
19006 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19008         * emit-rtl.c: Include rtl-iter.h.
19009         (find_auto_inc): Turn from being a for_each_rtx callback to being
19010         a function that examines each subrtx itself.  Assume the first operand
19011         to an RTX_AUTOINC is the automodified register.
19012         (try_split): Update call accordingly.
19014 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19016         * dwarf2out.c (resolve_one_addr): Remove unused data parameter.
19017         Return a bool, inverting the result so that 0/false means "not ok".
19018         Use FOR_EACH_SUBRTX_PTR instead of for_each_rtx to iterate over
19019         subrtxes of a CONST.
19020         (mem_loc_descriptor, add_const_value_attribute)
19021         (resolve_addr_in_expr): Update calls accordingly.
19023 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19025         * dwarf2out.c: Include rtl-iter.h.
19026         (const_ok_for_output_1): Take the rtx instead of a pointer to it.
19027         Remove unused data parameter.  Return a bool, inverting the result
19028         so that 0/false means "not ok".
19029         (const_ok_for_output): Update accordingly.  Use FOR_EACH_SUBRTX_VAR
19030         instead of for_each_rtx.
19032 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19034         * dse.c: Include rtl-iter.h.
19035         (check_mem_read_rtx): Change void * parameter to real type.
19036         Remove return value.
19037         (check_mem_read_use): Fix comment.  Use FOR_EACH_SUBRTX_PTR instead of
19038         for_each_rtx.  Don't handle null rtxes.
19040 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19042         * df-problems.c: Include rtl-iter.h.
19043         (find_memory): Turn from being a for_each_rtx callback to being
19044         a function that examines each subrtx itself.  Continue to look for
19045         volatile references even after a nonvolatile one has been found.
19046         (can_move_insns_across): Update calls accordingly.
19048 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19050         * ddg.c (walk_mems_2, walk_mems_1): Delete.
19051         (insns_may_alias_p): Use FOR_EACH_SUBRTX rather than for_each_rtx
19052         to iterate over subrtxes.  Return a bool rather than an int.
19054 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19056         * ddg.c: Include rtl-iter.h.
19057         (mark_mem_use_1): Rename to...
19058         (mark_mem_use): ...deleting old mark_mem_use.  Use FOR_EACH_SUBRTX
19059         instead of for_each_rtx.
19060         (mem_read_insn_p): Update accordingly.
19062 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19064         * cse.c (change_cc_mode_args): Delete.
19065         (cse_change_cc_mode): Turn from being a for_each_rtx callback to being
19066         a function that examines each subrtx itself.  Take the fields of
19067         change_cc_mode_args as argument and return void.
19068         (cse_change_cc_mode_insn): Update calls accordingly.
19070 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19072         * cse.c (is_dead_reg): Change argument to const_rtx.
19073         (dead_debug_insn_data): Delete.
19074         (is_dead_debug_insn): Expand commentary.  Turn from being a
19075         for_each_rtx callback to being a function that examines
19076         each subrtx itself.  Take the fields of dead_debug_insn_data
19077         as argument.
19078         (delete_trivially_dead_insns): Update call accordingly.
19080 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19082         * cse.c (check_for_label_ref): Move earlier in file.  Turn from
19083         being a for_each_rtx callback to being a function that examines
19084         each subrtx itself.
19085         (cse_extended_basic_block): Update call accordingly.
19087 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19089         * cse.c (check_dependence_data): Delete.
19090         (check_dependence): Change from being a for_each_rtx callback to being
19091         a function that examines all subrtxes itself.  Don't handle null rtxes.
19092         (invalidate): Update call accordingly.
19094 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19096         * cse.c: Include rtl-iter.h.
19097         (approx_reg_cost_1): Delete.
19098         (approx_reg_cost): Use FOR_EACH_SUBRTX instead of for_each_rtx.
19099         Don't handle null rtxes.
19101 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19103         * cfgcleanup.c: Include rtl-iter.h.
19104         (mentions_nonequal_regs): Turn from being a for_each_rtx callback
19105         to being a function that examines each subrtx itself.
19106         (thread_jump): Update accordingly.
19108 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19110         * combine-stack-adj.c: Include rtl-iter.h.
19111         (record_stack_refs_data): Delete.
19112         (record_stack_refs): Turn from being a for_each_rtx callback
19113         to being a function that examines each subrtx itself.
19114         Take a pointer to the reflist.  Invert sense of return value
19115         so that true means success and false means failure.  Don't
19116         handle null rtxes.
19117         (combine_stack_adjustments_for_block): Update accordingly.
19119 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19121         * combine.c (record_truncated_value): Turn from being a for_each_rtx
19122         callback to a function that takes an rtx and returns a bool
19123         (record_truncated_values): Use FOR_EACH_SUBRTX_VAR instead of
19124         for_each_rtx.
19126 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19128         * combine.c: Include rtl-iter.h.
19129         (unmentioned_reg_p_1): Delete.
19130         (unmentioned_reg_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
19131         Don't handle null rtxes.
19133 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19135         * calls.c: Include rtl-iter.h.
19136         (internal_arg_pointer_based_exp_1): Delete.
19137         (internal_arg_pointer_based_exp): Take a const_rtx.
19138         Use FOR_EACH_SUBRTX to iterate over subrtxes.
19140 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19142         * caller-save.c: Include rtl-iter.h.
19143         (add_used_regs_1): Delete.
19144         (add_used_regs): Use FOR_EACH_SUBRTX rather than for_each_rtx
19145         to iterate over subrtxes.  Assert that any remaining pseudos
19146         have been spilled.
19148 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19150         * bt-load.c: Include rtl-iter.h.
19151         (btr_reference_found, find_btr_reference, btr_referenced_p): Delete.
19152         (find_btr_use): Move further up file.  Use FOR_EACH_SUBRTX_PTR
19153         to iterate over subrtxes.
19154         (insn_sets_btr_p, new_btr_user, compute_defs_uses_and_gen): Use
19155         find_btr_use rather than btr_referenced_p.
19157 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19159         * alias.c: Include rtl-iter.h.
19160         (refs_newer_value_cb): Delete.
19161         (refs_newer_value_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
19163 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
19165         * rtl-iter.h: New file.
19166         * rtlanal.c: Include it.
19167         (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables.
19168         (generic_subrtx_iterator <T>::add_single_to_queue)
19169         (generic_subrtx_iterator <T>::add_subrtxes_to_queue)
19170         (generic_subrtx_iterator <T>::free_array): New functions.
19171         (generic_subrtx_iterator <T>::LOCAL_ELEMS): Define.
19172         (generic_subrtx_iterator <const_rtx_accessor>)
19173         (generic_subrtx_iterator <rtx_var_accessor>
19174         (generic_subrtx_iterator <rtx_ptr_accessor>): Instantiate.
19175         (setup_reg_subrtx_bounds): New function.
19176         (init_rtlanal): Call it.
19178 2014-08-27  Kaz Kojima  <kkojima@gcc.gnu.org>
19180         PR target/62261
19181         * config/sh/sh.md (ashlsi3): Handle negative shift count for
19182         TARGET_SHMEDIA.
19183         (ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
19185 2014-08-27  Richard Sandiford  <rdsandiford@googlemail.com>
19187         * emit-rtl.c (set_unique_reg_note): Discard notes with side effects.
19189 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19191         * rtl.h (JUMP_LABEL_AS_INSN): New.
19193 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19195         * rtl.h (free_EXPR_LIST_list): Strengthen param from rtx * to
19196         rtx_expr_list **.
19197         (alloc_EXPR_LIST): Strengthen return type from rtx to
19198         rtx_expr_list *.
19199         (remove_free_EXPR_LIST_node): Likewise for param.
19200         * reload.h (struct reg_equivs_t): Strengthen field "alt_mem_list"
19201         from rtx to rtx_expr_list *.
19202         * sched-int.h (struct deps_desc): Strengthen fields
19203         "pending_read_mems" and "pending_write_mems" from rtx to
19204         rtx_expr_list *.
19206         * dwarf2out.c (decl_piece_varloc_ptr): Strengthen return type from
19207         rtx to rtx_expr_list *.
19208         * lists.c (alloc_INSN_LIST): Likewise, also for local "r".
19209         (free_EXPR_LIST_list): Strengthen param "listp" from rtx * to
19210         rtx_expr_list **.
19211         (remove_free_EXPR_LIST_node): Likewise.  Strengthen local "node"
19212         from rtx to rtx_expr_list *.
19213         * loop-iv.c (simplify_using_initial_values): Strengthen local
19214         "cond_list" from rtx to rtx_expr_list *, and locals "pnode",
19215         "pnote_next" from rtx * to rtx_expr_list **.
19216         * sched-deps.c (remove_from_both_dependence_lists):  Strengthen
19217         param "exprp" from rtx * to rtx_expr_list **.
19218         (add_insn_mem_dependence): Strengthen local "mem_list" from
19219         rtx * to rtx_expr_list **.  Strengthen local "mem_node" from rtx
19220         to rtx_expr_list *.
19221         * sched-rgn.c (concat_insn_mem_list): Strengthen param "copy_mems"
19222         and local "new_mems" from rtx to rtx_expr_list *.  Strengthen
19223         param "old_mems_p" from rtx * to rtx_expr_list **.
19224         * var-tracking.c (struct adjust_mem_data): Strengthen field
19225         "side_effects" from rtx to rtx_expr_list *.
19226         (adjust_insn): Replace NULL_RTX with NULL when assigning to
19227         rtx_expr_list *.
19228         (prepare_call_arguments): Likewise.
19230 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19232         * function.h (struct rtl_data): Strengthen field
19233         "x_stack_slot_list" from rtx to rtx_expr_list *.
19235         * emit-rtl.c (unshare_all_rtl_1): Add a checked cast
19236         when assigning to stack_slot_list.
19238 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19240         * function.h (struct rtl_data): Strengthen field
19241         x_nonlocal_goto_handler_labels from rtx to rtx_expr_list *.
19242         * rtl.h (remove_node_from_expr_list): Strengthen second param from
19243         rtx * to rtx_expr_list **.
19245         * cfgbuild.c (make_edges): In loop over
19246         nonlocal_goto_handler_labels, strengthen local "x" from rtx to
19247         rtx_expr_list *, and use methods of the latter class to clarify
19248         the code.
19249         * cfgrtl.c (cfg_layout_initialize): Strengthen local "x" from rtx to
19250         rtx_expr_list *, and use methods of the latter class to clarify
19251         the code.
19252         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
19253         * reload1.c (set_initial_label_offsets): Likewise for local "x".
19254         * rtlanal.c (remove_node_from_expr_list): Strengthen param "listp"
19255         from rtx * to rtx_expr_list **.  Strengthen local "temp" from rtx
19256         to rtx_expr_list *.  Use methods of the latter class to clarify
19257         the code.
19259 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19261         * function.h (struct expr_status): Strengthen field
19262         "x_forced_labels" from rtx to rtx_expr_list *.
19264         * cfgbuild.c (make_edges): Split local "x" into two locals,
19265         strengthening one from rtx to rtx_expr_list *, and using methods
19266         of said class.
19267         * dwarf2cfi.c (create_trace_edges): Split local "lab" out; within
19268         loop over forced_labels, introduce strengthen it from rtx to
19269         rtx_expr_list *, using methods to clarify the code.
19270         * jump.c (rebuild_jump_labels_1): Strengthen local "insn" from rtx
19271         to rtx_expr_list *, using methods of said class to clarify the
19272         code.
19273         * reload1.c (set_initial_label_offsets): Split local "x" into two
19274         per-loop variables, strengthening the first from rtx to
19275         rtx_expr_list * and using methods.
19277 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19279         * coretypes.h (class rtx_expr_list): Add forward declaration.
19280         * emit-rtl.c (gen_rtx_EXPR_LIST): New.
19281         * gengenrtl.c (special_rtx): Add EXPR_LIST.
19282         * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding
19283         invariant: GET_CODE (X) == EXPR_LIST.
19284         (is_a_helper <rtx_expr_list *>::test): New.
19285         (rtx_expr_list::next): New.
19286         (rtx_expr_list::element): New.
19287         (gen_rtx_EXPR_LIST): New.
19289 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19291         * varasm.c (mark_constants): Convert a GET_CODE check into a
19292         dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
19293         Use methods of rtx_sequence to clarify the code.
19295 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19297         * sched-vis.c (print_pattern): Within SEQUENCE case, introduce a
19298         local "seq" via a checked cast, and use methods of rtx_sequence
19299         to simplify the code.
19301 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19303         * resource.c (mark_referenced_resources): Strengthen local
19304         "sequence" from rtx to rtx_sequence *, adding a checked cast, and
19305         using methods of rtx_sequence to clarify the code.
19306         (find_dead_or_set_registers): Within the switch statement, convert
19307         a GET_CODE check to a dyn_cast, introducing local "seq".  Within
19308         the JUMP_P handling, introduce another local "seq", adding a
19309         checked cast to rtx_sequence *.  In both cases, use methods of
19310         rtx_sequence to clarify the code.
19311         (mark_set_resources): Within SEQUENCE case, introduce local "seq"
19312         via a checked cast, and use methods of rtx_sequence to simplify
19313         the code.
19315 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19317         * reorg.c (redundant_insn): In two places in the function, replace
19318         a check of GET_CODE with a dyn_cast, introducing local "seq", and
19319         usings methods of rtx_sequence to clarify the code.
19321 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19323         * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
19324         local "seq" with a checked cast, and use methods of rtx_sequence
19325         to clarify the code.
19327 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19329         * function.c (contains): Introduce local "seq" for PATTERN (insn),
19330         with a checked cast, in the region for where we know it's a
19331         SEQUENCE.  Use methods of rtx_sequence.
19333 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19335         * final.c (get_attr_length_1): Replace GET_CODE check with a
19336         dyn_cast, introducing local "seq" and the use of methods of
19337         rtx_sequence.
19338         (shorten_branches): Likewise, introducing local "body_seq".
19339         Strengthen local "inner_insn" from rtx to rtx_insn *.
19340         (reemit_insn_block_notes): Replace GET_CODE check with a
19341         dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
19342         Use methods of rtx_sequence.
19343         (final_scan_insn): Likewise, introducing local "seq" for when
19344         "body" is known to be a SEQUENCE, using its methods.
19346 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19348         * except.c (can_throw_external): Strengthen local "seq" from rtx
19349         to rtx_sequence *.  Use methods of rtx_sequence.
19350         (insn_nothrow_p): Likewise.
19352 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19354         * dwarf2cfi.c (create_trace_edges): Convert GET_CODE check into a
19355         dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
19356         Use methods of rtx_sequence.
19357         (scan_trace): Likewise for local "pat".
19359 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19361         * coretypes.h (class rtx_sequence): Add forward declaration.
19362         * rtl.h (class rtx_sequence): New subclass of rtx_def, adding
19363         invariant: GET_CODE (X) == SEQUENCE.
19364         (is_a_helper <rtx_sequence *>::test): New.
19365         (is_a_helper <const rtx_sequence *>::test): New.
19366         (rtx_sequence::len): New.
19367         (rtx_sequence::element): New.
19368         (rtx_sequence::insn): New.
19370 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19372         * rtl.h (free_INSN_LIST_list): Strengthen param from rtx * to
19373         rtx_insn_list **.
19374         (alloc_INSN_LIST): Strengthen return type from rtx to
19375         rtx_insn_list *.
19376         (copy_INSN_LIST): Likewise for return type and param.
19377         (concat_INSN_LIST): Likewise for both params and return type.
19378         (remove_free_INSN_LIST_elem): Strenghten first param from rtx to
19379         rtx_insn *.  Strengthen second param from rtx * to rtx_insn_list **.
19380         (remove_free_INSN_LIST_node): Strenghten return type from rtx to
19381         rtx_insn *.  Strengthen param from rtx * to rtx_insn_list **.
19383         * sched-int.h (struct deps_reg): Strengthen fields "uses", "sets",
19384         "implicit_sets", "control_uses", "clobbers" from rtx to
19385         rtx_insn_list *.
19386         (struct deps_desc): Likewise for fields "pending_read_insns",
19387         "pending_write_insns", "pending_jump_insns",
19388         "last_pending_memory_flush", "last_function_call",
19389         "last_function_call_may_noreturn", "sched_before_next_call",
19390         "sched_before_next_jump".
19391         (struct _haifa_deps_insn_data): Likewise for field "cond_deps".
19392         (remove_from_deps): Strengthen second param from rtx to rtx_insn *.
19394         * gcse.c (struct ls_expr): Strengthen fields "loads" and "stores"
19395         from rtx to rtx_insn_list *.
19396         (ldst_entry): Replace use of NULL_RTX with NULL when dealing with
19397         rtx_insn_list *.
19399         * haifa-sched.c (insn_queue): Strengthen this variable from rtx *
19400         to rtx_insn_list **.
19401         (dep_cost_1): Strengthen local "dep_cost_rtx_link" from rtx to
19402         rtx_insn_list *.
19403         (queue_insn): Likewise for local "link".
19404         (struct haifa_saved_data): Strengthen field "insn_queue" from
19405         rtx * to rtx_insn_list **.
19406         (save_backtrack_point): Update allocation of save->insn_queue to
19407         reflect the strengthening of elements from rtx to rtx_insn_list *.
19408         (queue_to_ready): Strengthen local "link" from rtx to
19409         rtx_insn_list *; use methods "next" and "insn" when traversing the
19410         list.
19411         (early_queue_to_ready): Likewise for locals "link", "next_link",
19412         "prev_link".
19413         (schedule_block): Update allocation of insn_queue to reflect the
19414         strengthening of elements from rtx to rtx_insn_list *.  Strengthen
19415         local "link" from rtx to rtx_insn_list *, and use methods when
19416         working it.
19417         (add_to_speculative_block): Strengthen locals "twins" and
19418         "next_node" from rtx to rtx_insn_list *, and use methods when
19419         working with them.  Strengthen local "twin" from rtx to
19420         rtx_insn *, eliminating a checked cast.
19421         (fix_recovery_deps): Strengthen locals "ready_list" and "link"
19422         from rtx to rtx_insn_list *, and use methods when working with
19423         them.
19425         * lists.c (alloc_INSN_LIST): Strengthen return type and local "r"
19426         from rtx to rtx_insn_list *, adding a checked cast.
19427         (free_INSN_LIST_list): Strengthen param "listp" from rtx * to
19428         rtx_insn_list **.
19429         (copy_INSN_LIST): Strengthen return type and locals "new_queue",
19430         "newlink" from rtx to rtx_insn_list *.  Strengthen local
19431         "pqueue" from rtx * to rtx_insn_list **.  Strengthen local "x"
19432         from rtx to rtx_insn *.
19433         (concat_INSN_LIST): Strengthen return type and local "new_rtx",
19434         from rtx to rtx_insn_list *.  Use methods of the latter class.
19435         (remove_free_INSN_LIST_elem): Strengthen param "elem" from rtx to
19436         rtx_insn *, and param "listp" from rtx * to rtx_insn_list **.
19437         (remove_free_INSN_LIST_node): Strengthen return type and local
19438         "elem" from rtx to rtx_insn *.  Strenghten param "listp" from
19439         rtx * to rtx_insn_list **.  Strengthen local "node" from rtx to
19440         rtx_insn_list *, using "insn" method.
19442         * sched-deps.c (add_dependence_list):  Strengthen param "list"
19443         from rtx to rtx_insn_list *, and use methods when working with it.
19444         (add_dependence_list_and_free):  Strengthen param "listp" from
19445         rtx * to rtx_insn_list **.
19446         (remove_from_dependence_list): Strenghten param "listp" from rtx *
19447         to rtx_insn_list **, and use methods when working with *listp.
19448         (remove_from_both_dependence_lists): Strengthen param "listp" from
19449         rtx * to rtx_insn_list **
19450         (add_insn_mem_dependence): Strengthen local "insn_list" from rtx *
19451         to rtx_insn_list **.  Eliminate local "link", in favor of two new
19452         locals "insn_node" and "mem_node", an rtx_insn_list * and an rtx
19453         respectively.
19454         (deps_analyze_insn): Split out uses 'f local "t" as an INSN_LIST
19455         by introducing local "cond_deps".
19456         (remove_from_deps): Strengthen param "insn" from rtx to
19457         rtx_insn *.
19459         * sched-rgn.c (concat_insn_mem_list): Strengthen param
19460         "copy_insns" and local "new_insns" from rtx to rtx_insn_list *.
19461         Strengthen param "old_insns_p" from rtx * to rtx_insn_list **.
19462         Use methods of rtx_insn_list.
19464         * store-motion.c (struct st_expr): Strengthen fields
19465         "antic_stores" and "avail_stores" from rtx to rtx_insn_list *.
19466         (st_expr_entry): Replace NULL_RTX with NULL when dealing with
19467         rtx_insn_list *.
19468         (find_moveable_store): Split out "tmp" into multiple more-tightly
19469         scoped locals.  Use methods of rtx_insn_list *.
19470         (compute_store_table): Strengthen local "tmp" from rtx to
19471         rtx_insn *.  Use methods of rtx_insn_list *.
19473 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19475         * coretypes.h (class rtx_insn_list): Add forward declaration.
19476         * rtl.h (class rtx_insn_list): New subclass of rtx_def
19477         (is_a_helper <rtx_insn_list *>::test): New.
19478         (rtx_insn_list::next): New.
19479         (rtx_insn_list::insn): New.
19480         (gen_rtx_INSN_LIST): Add prototype.
19481         * emit-rtl.c (gen_rtx_INSN_LIST): New.
19482         * gengenrtl.c (special_rtx): Add INSN_LIST.
19484 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19486         * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
19487         "prev" from rtx to rtx_insn *.
19489 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19491         * rtl.h (INSN_UID): Convert from a macro to a pair of inline
19492         functions.  Require merely an rtx for now, not an rtx_insn *.
19493         (BLOCK_FOR_INSN): Likewise.
19494         (INSN_LOCATION): Likewise.
19495         (INSN_HAS_LOCATION): Convert from a macro to an inline function.
19497 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19499         * rtl.h (PATTERN): Convert this macro into a pair of inline
19500         functions, for now, requiring const_rtx and rtx.
19502 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19504         * target.def (unwind_emit): Strengthen param "insn" from rtx to
19505         rtx_insn *.
19506         (final_postscan_insn): Likewise.
19507         (adjust_cost): Likewise.
19508         (adjust_priority): Likewise.
19509         (variable_issue): Likewise.
19510         (macro_fusion_pair_p): Likewise.
19511         (dfa_post_cycle_insn): Likewise.
19512         (first_cycle_multipass_dfa_lookahead_guard): Likewise.
19513         (first_cycle_multipass_issue): Likewise.
19514         (dfa_new_cycle): Likewise.
19515         (adjust_cost_2): Likewise for params "insn" and "dep_insn".
19516         (speculate_insn): Likewise for param "insn".
19517         (gen_spec_check): Likewise for params "insn" and "label".
19518         (get_insn_spec_ds): Likewise for param "insn".
19519         (get_insn_checked_ds): Likewise.
19520         (dispatch_do): Likewise.
19521         (dispatch): Likewise.
19522         (cannot_copy_insn_p): Likewise.
19523         (invalid_within_doloop): Likewise.
19524         (legitimate_combined_insn): Likewise.
19525         (needed): Likewise.
19526         (after): Likewise.
19528         * doc/tm.texi: Automatically updated to reflect changes to
19529         target.def.
19531         * haifa-sched.c (choose_ready): Convert NULL_RTX to NULL when
19532         working with insn.
19533         (schedule_block): Likewise.
19534         (sched_init): Likewise.
19535         (sched_speculate_insn): Strengthen param "insn" from rtx to
19536         rtx_insn *.
19537         (ready_remove_first_dispatch): Convert NULL_RTX to NULL when
19538         working with insn.
19539         * hooks.c (hook_bool_rtx_true): Rename to...
19540         hook_bool_rtx_insn_true): ...this, and strengthen first param from
19541         rtx to rtx_insn *.
19542         (hook_constcharptr_const_rtx_null): Rename to...
19543         (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
19544         first param from const_rtx to const rtx_insn *.
19545         (hook_bool_rtx_int_false): Rename to...
19546         (hook_bool_rtx_insn_int_false): ...this, and strengthen first
19547         param from rtx to rtx_insn *.
19548         (hook_void_rtx_int): Rename to...
19549         (hook_void_rtx_insn_int): ...this, and strengthen first param from
19550         rtx to rtx_insn *.
19552         * hooks.h (hook_bool_rtx_true): Rename to...
19553         (hook_bool_rtx_insn_true): ...this, and strengthen first param from
19554         rtx to rtx_insn *.
19555         (hook_bool_rtx_int_false): Rename to...
19556         (hook_bool_rtx_insn_int_false): ...this, and strengthen first
19557         param from rtx to rtx_insn *.
19558         (hook_void_rtx_int): Rename to...
19559         (hook_void_rtx_insn_int): ...this, and strengthen first param from
19560         rtx to rtx_insn *.
19561         (hook_constcharptr_const_rtx_null): Rename to...
19562         (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
19563         first param from const_rtx to const rtx_insn *.
19565         * sched-deps.c (sched_macro_fuse_insns): Strengthen param "insn"
19566         and local "prev" from rtx to rtx_insn *.
19568         * sched-int.h (sched_speculate_insn): Strengthen first param from
19569         rtx to rtx_insn *.
19571         * sel-sched.c (create_speculation_check): Likewise for local "label".
19572         * targhooks.c (default_invalid_within_doloop): Strengthen param
19573         "insn" from const_rtx to const rtx_insn *.
19574         * targhooks.h (default_invalid_within_doloop): Strengthen param
19575         from const_rtx to const rtx_insn *.
19577         * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Likewise.
19578         (alpha_adjust_cost): Likewise for params "insn", "dep_insn".
19580         * config/arc/arc.c (arc_sched_adjust_priority): Likewise for param
19581         "insn".
19582         (arc_invalid_within_doloop): Likewise, with const.
19584         * config/arm/arm.c (arm_adjust_cost): Likewise for params "insn", "dep".
19585         (arm_cannot_copy_insn_p): Likewise for param "insn".
19586         (arm_unwind_emit): Likewise.
19588         * config/bfin/bfin.c (bfin_adjust_cost): Likewise for params "insn",
19589         "dep_insn".
19591         * config/c6x/c6x.c (c6x_dfa_new_cycle): Likewise for param "insn".
19592         (c6x_variable_issue): Likewise.  Removed now-redundant checked
19593         cast.
19594         (c6x_adjust_cost): Likewise for params "insn", "dep_insn".
19596         * config/epiphany/epiphany-protos.h (epiphany_mode_needed):
19597         Likewise for param "insn".
19598         (epiphany_mode_after): Likewise.
19599         * config/epiphany/epiphany.c (epiphany_adjust_cost): Likewise for
19600         params "insn", "dep_insn".
19601         (epiphany_mode_needed): Likewise for param "insn".
19602         (epiphany_mode_after): Likewise.
19604         * config/i386/i386-protos.h (i386_pe_seh_unwind_emit): Likewise.
19605         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
19606         (ix86_avx_u128_mode_needed): Likewise.
19607         (ix86_i387_mode_needed): Likewise.
19608         (ix86_mode_needed): Likewise.
19609         (ix86_avx_u128_mode_after): Likewise.
19610         (ix86_mode_after): Likewise.
19611         (ix86_adjust_cost): Likewise for params "insn", "dep_insn".
19612         (ix86_macro_fusion_pair_p): Likewise for params "condgen", "condjmp".
19613         (ix86_adjust_priority): Likewise for param "insn".
19614         (core2i7_first_cycle_multipass_issue): Likewise for param "insn".
19615         (do_dispatch): Likewise.
19616         (has_dispatch): Likewise.
19617         * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
19619         * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Update to
19620         reflect renaming of default hook implementation from
19621         hook_constcharptr_const_rtx_null to
19622         hook_constcharptr_const_rtx_insn_null.
19623         (ia64_adjust_cost_2): Strengthen params "insn", "dep_insn" from
19624         rtx to rtx_insn *.
19625         (ia64_variable_issue): Likewise for param "insn".
19626         (ia64_first_cycle_multipass_dfa_lookahead_guard): Likewise.
19627         (ia64_dfa_new_cycle): Likewise.
19628         (ia64_get_insn_spec_ds): Likewise.
19629         (ia64_get_insn_checked_ds): Likewise.
19630         (ia64_speculate_insn): Likewise.
19631         (ia64_gen_spec_check): Likewise for params "insn", "label".
19632         (ia64_asm_unwind_emit): Likewise for param "insn".
19634         * config/m32r/m32r.c (m32r_adjust_priority): Likewise.
19636         * config/m68k/m68k.c (m68k_sched_adjust_cost): Likewise for params
19637         "insn", "def_insn".
19638         (m68k_sched_variable_issue): Likewise for param "insn".
19640         * config/mep/mep.c (mep_adjust_cost): Likewise for params "insn",
19641         "def_insn".
19643         * config/microblaze/microblaze.c (microblaze_adjust_cost):
19644         Likewise for params "insn", "dep".
19646         * config/mips/mips.c (mips_adjust_cost): Likewise.
19647         (mips_variable_issue): Likewise for param "insn".
19648         (mips_final_postscan_insn): Likewise.
19650         * config/mn10300/mn10300.c (mn10300_adjust_sched_cost): Likewise
19651         for params "insn", "dep".
19653         * config/pa/pa.c (pa_adjust_cost): Likewise for params "insn",
19654         "dep_insn".
19655         (pa_adjust_priority): Likewise for param "insn".
19657         * config/picochip/picochip.c (picochip_sched_adjust_cost):
19658         Likewise for params "insn", "dep_insn".
19660         * config/rs6000/rs6000.c (rs6000_variable_issue_1): Likewise for
19661         param "insn".
19662         (rs6000_variable_issue): Likewise.
19663         (rs6000_adjust_cost): Likewise for params "insn", "dep_insn".
19664         (rs6000_debug_adjust_cost): Likewise.
19665         (rs6000_adjust_priority): Likewise for param "insn".
19666         (rs6000_use_sched_lookahead_guard): Likewise.
19667         (get_next_active_insn): Likewise for return type and both params.
19668         (redefine_groups): Likewise for params "prev_head_insn", "tail"
19669         and locals "insn", "next_insn".
19670         (pad_groups): Likewise.
19672         * config/s390/s390.c (s390_adjust_priority): Likewise for param
19673         "insn".
19674         (s390_cannot_copy_insn_p): Likewise.
19675         (s390_sched_variable_issue): Likewise for third param, eliminating
19676         checked cast.
19677         (TARGET_INVALID_WITHIN_DOLOOP): Update to reflect renaming of
19678         default hook implementation from hook_constcharptr_const_rtx_null
19679         to hook_constcharptr_const_rtx_insn_null.
19681         * config/sh/sh.c (sh_cannot_copy_insn_p): Strengthen param "insn"
19682         from rtx to rtx_insn *.
19683         (sh_adjust_cost): Likewise for params "insn", "dep_insn".
19684         (sh_variable_issue): Likewise for param "insn".
19685         (sh_dfa_new_cycle): Likewise.
19686         (sh_mode_needed): Likewise.
19687         (sh_mode_after): Likewise.
19689         * config/sparc/sparc.c (supersparc_adjust_cost): Likewise for
19690         params "insn", "dep_insn".
19691         (hypersparc_adjust_cost): Likewise.
19692         (sparc_adjust_cost): Likewise.
19694         * config/spu/spu.c (spu_sched_variable_issue): Likewise for third
19695         param, eliminated checked cast.
19696         (spu_sched_adjust_cost): Likewise for first and third params.
19698         * config/tilegx/tilegx.c (tilegx_sched_adjust_cost): Strengthen
19699         params "insn" and "dep_insn" from rtx to rtx_insn *.
19701         * config/tilepro/tilepro.c (tilepro_sched_adjust_cost): Likewise.
19703 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
19705         * gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
19706         (set_is_load_p): ...this, updating to work on a SET pattern rather
19707         than an insn.
19708         (is_store_insn): Rename to...
19709         (set_is_store_p): ...this, updating to work on a SET pattern
19710         rather than an insn.
19711         (mn10300_adjust_sched_cost): Move call to get_attr_timings from
19712         top of function to where it is needed.  Rewrite the bogus
19713         condition that checks for "insn" and "dep" being PARALLEL to
19714         instead use single_set, introducing locals "insn_set" and
19715         "dep_set".  Given that we only ever returned "cost" for a non-pair
19716         of SETs, bail out early if we don't have a pair of SET.
19717         Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
19718         use the new locals "insn_set" and "dep_set", and update calls to
19719         is_load_insn and is_store_insn to be calls to set_is_load_p and
19720         set_is_store_p.
19722 2014-08-27  Guozhi Wei  <carrot@google.com>
19724         PR target/62262
19725         * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
19726         amount before using it.
19728 2014-08-27  Richard Biener  <rguenther@suse.de>
19730         * gimple-fold.c (get_maxval_strlen): Add overload wrapping
19731         get_maxval_strlen inside a more useful API.
19732         (gimple_fold_builtin_with_strlen): Remove and fold into ...
19733         (gimple_fold_builtin): ... caller.
19734         (gimple_fold_builtin_strlen, gimple_fold_builtin_strcpy,
19735         gimple_fold_builtin_strncpy, gimple_fold_builtin_strcat,
19736         gimple_fold_builtin_fputs, gimple_fold_builtin_memory_chk,
19737         gimple_fold_builtin_stxcpy_chk, gimple_fold_builtin_stxncpy_chk,
19738         gimple_fold_builtin_snprintf_chk, gimple_fold_builtin_snprintf,
19739         gimple_fold_builtin_sprintf): Adjust to compute maxval
19740         themselves.
19742 2014-08-27  Yvan Roux  <yvan.roux@linaro.org>
19744         PR other/62248
19745         * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
19747 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19748             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19749             Anna Tikhonova  <anna.tikhonova@intel.com>
19750             Ilya Tocar  <ilya.tocar@intel.com>
19751             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19752             Ilya Verbin  <ilya.verbin@intel.com>
19753             Kirill Yukhin  <kirill.yukhin@intel.com>
19754             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19756         * config/i386/sse.md
19757         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"):
19758         Use `concat_tg_mode' attribute to determine asm register size.
19760 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19761             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19762             Anna Tikhonova  <anna.tikhonova@intel.com>
19763             Ilya Tocar  <ilya.tocar@intel.com>
19764             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19765             Ilya Verbin  <ilya.verbin@intel.com>
19766             Kirill Yukhin  <kirill.yukhin@intel.com>
19767             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19769         * config/i386/sse.md
19770         (define_mode_iterator VI48_AVX512VL): New.
19771         (define_mode_iterator VI_UNALIGNED_LOADSTORE): Delete.
19772         (define_mode_iterator VI_ULOADSTORE_BW_AVX512VL): New.
19773         (define_mode_iterator VI_ULOADSTORE_F_AVX512VL): Ditto.
19774         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19775         with VI1): Change mode iterator.
19776         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19777         with VI_ULOADSTORE_BW_AVX512VL): New.
19778         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19779         with VI_ULOADSTORE_F_AVX512VL): Ditto.
19780         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19781         with VI1): Change mode iterator.
19782         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19783         with VI_ULOADSTORE_BW_AVX512VL): New.
19784         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
19785         with VI_ULOADSTORE_F_AVX512VL): Ditto.
19786         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
19787         with VI1): Change mode iterator.
19788         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
19789         with VI_ULOADSTORE_BW_AVX512VL): New.
19790         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
19791         with VI_ULOADSTORE_BW_AVX512VL): Ditto.
19792         (define_insn "avx512f_storedqu<mode>_mask"): Delete.
19793         (define_insn "<avx512>_storedqu<mode>_mask" with
19794         VI48_AVX512VL): New.
19795         (define_insn "<avx512>_storedqu<mode>_mask" with
19796         VI12_AVX512VL): Ditto.
19798 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19799             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19800             Anna Tikhonova  <anna.tikhonova@intel.com>
19801             Ilya Tocar  <ilya.tocar@intel.com>
19802             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19803             Ilya Verbin  <ilya.verbin@intel.com>
19804             Kirill Yukhin  <kirill.yukhin@intel.com>
19805             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19807         * config/i386/sse.md
19808         (define_mode_iterator VI48_AVX2_48_AVX512F): Delete.
19809         (define_mode_iterator VI48_AVX512BW): New.
19810         (define_insn "<avx2_avx512f>_<shift_insn>v<mode><mask_name>"): Delete.
19811         (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
19812         with VI48_AVX2_48_AVX512F): New.
19813         (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
19814         with VI2_AVX512VL): Ditto.
19816 2014-08-27  Richard Biener  <rguenther@suse.de>
19818         PR middle-end/62239
19819         * builtins.c (fold_builtin_strcat_chk): Move to gimple-fold.c.
19820         (fold_builtin_3): Do not fold strcat_chk here.
19821         * gimple-fold.c (gimple_fold_builtin_strcat_chk): Move here
19822         from builtins.c.
19823         (gimple_fold_builtin): Fold strcat_chk here.
19825 2014-08-26  Aldy Hernandez  <aldyh@redhat.com>
19827         * dwarf2out.h (dwarf2out_decl): Remove prototype.
19828         * dwarf2out.c (dwarf2out_decl): Make static.
19830 2014-08-26  Joel Sherrill <joel.sherrill@oarcorp.com>
19832         * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
19834 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
19836         * cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
19837         from rtx to rtx_insn *.
19838         (cselib_lookup_from_insn): Likewise for final param.
19839         (cselib_subst_to_values_from_insn): Likewise.
19840         (cselib_add_permanent_equiv): Likewise.
19842         * cselib.c (cselib_current_insn): Likewise for this variable.
19843         (cselib_subst_to_values_from_insn): Likewise for param "insn".
19844         (cselib_lookup_from_insn): Likewise.
19845         (cselib_add_permanent_equiv): Likewise for param "insn" and local
19846         "save_cselib_current_insn".
19847         (cselib_process_insn): Replace use of NULL_RTX with NULL.
19849         * sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
19850         from rtx to rtx_insn *.
19852 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
19854         * dse.c (dse_step6): Strengthen local "rinsn" from rtx to
19855         rtx_insn *.
19857 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
19859         * df.h (df_dump_insn_problem_function): Strengthen first param of
19860         this callback from const_rtx to const rtx_insn *.
19861         (struct df_insn_info): Strengthen field "insn" from rtx to
19862         rtx_insn *.
19863         (DF_REF_INSN): Eliminate this function, reinstating the older
19864         macro definition.
19865         (df_find_def): Strengthen param 1 from rtx to rtx_insn *.
19866         (df_reg_defined): Likewise.
19867         (df_find_use): Likewise.
19868         (df_reg_used): Likewise.
19869         (df_dump_insn_top): Strengthen param 1 from const_rtx to
19870         const rtx_insn *.
19871         (df_dump_insn_bottom): Likewise.
19872         (df_insn_debug): Strengthen param 1 from rtx to rtx_insn *.
19873         (df_insn_debug_regno): Likewise.
19874         (debug_df_insn): Likewise.
19875         (df_rd_simulate_one_insn): Likewise for param 2.
19876         (df_word_lr_simulate_defs): Likewise for param 1.
19877         (df_word_lr_simulate_uses): Likewise.
19878         (df_md_simulate_one_insn): Likewise for param 2.
19879         (df_simulate_find_noclobber_defs): Likewise for param 1.
19880         (df_simulate_find_defs): Likewise.
19881         (df_simulate_defs): Likewise.
19882         (df_simulate_uses): Likewise.
19883         (df_simulate_one_insn_backwards): Likewise for param 2.
19884         (df_simulate_one_insn_forwards): Likewise.
19885         (df_uses_create): Likewise for param 2.
19886         (df_insn_create_insn_record): Likewise for param 1.
19887         (df_insn_delete): Likewise.
19888         (df_insn_rescan): Likewise.
19889         (df_insn_rescan_debug_internal): Likewise.
19890         (df_insn_change_bb): Likewise.
19891         (df_notes_rescan): Likewise.
19892         * rtl.h (remove_death): Likewise for param 2.
19893         (print_rtl_with_bb): Strengthen param 2 from const_rtx to
19894         const rtx_insn *.
19895         * sched-int.h (reemit_notes): Strengthen param from rtx to
19896         rtx_insn *.
19897         * valtrack.h (propagate_for_debug): Likewise for param 1.
19899         * cfgrtl.c (print_rtl_with_bb): Strengthen param "rtx_first" and
19900         local "tmp_rtx" from const_rtx to const rtx_insn *.
19901         * combine.c (remove_death): Strengthen param "insn" from rtx to
19902         rtx_insn *.
19903         (move_deaths): Likewise for local "where_dead".
19904         * cse.c (delete_trivially_dead_insns): Introduce local
19905         "bind_var_loc" so that "bind" can be strengthened to an rtx_insn *.
19906         * df-core.c (df_find_def): Strengthen param "insn" from rtx to
19907         rtx_insn *.
19908         (df_reg_defined): Likewise.
19909         (df_find_use): Likewise.
19910         (df_reg_used): Likewise.
19911         (df_dump_insn_problem_data): Strengthen param "insn" from
19912         const_rtx to const rtx_insn *.
19913         (df_dump_insn_top): Likewise.
19914         (df_dump_insn_bottom): Likewise.
19915         (df_insn_debug): Strengthen param "insn" from rtx to rtx_insn *.
19916         (df_insn_debug_regno): Likewise.
19917         (debug_df_insn): Likewise.
19918         (DF_REF_INSN): Delete.
19919         * df-problems.c (df_rd_simulate_one_insn): Strengthen param "insn"
19920         from rtx to rtx_insn *.
19921         (df_chain_insn_top_dump): Strengthen param "insn" from
19922         const_rtx to const rtx_insn *.
19923         (df_chain_insn_bottom_dump): Likewise.
19924         (df_word_lr_simulate_defs): Strengthen param "insn" from rtx to
19925         rtx_insn *.
19926         (df_word_lr_simulate_uses): Likewise.
19927         (df_print_note): Likewise.
19928         (df_remove_dead_and_unused_notes): Likewise.
19929         (df_set_unused_notes_for_mw): Likewise.
19930         (df_set_dead_notes_for_mw): Likewise.
19931         (df_create_unused_note): Likewise.
19932         (df_simulate_find_defs): Likewise.
19933         (df_simulate_find_uses): Likewise.
19934         (df_simulate_find_noclobber_defs): Likewise.
19935         (df_simulate_defs): Likewise.
19936         (df_simulate_uses): Likewise.
19937         (df_simulate_one_insn_backwards): Likewise.
19938         (df_simulate_one_insn_forwards): Likewise.
19939         (df_md_simulate_one_insn): Likewise.
19940         * df-scan.c (df_uses_create): Likewise.
19941         (df_insn_create_insn_record): Likewise.
19942         (df_insn_delete): Likewise.
19943         (df_insn_rescan): Likewise.
19944         (df_insn_rescan_debug_internal): Likewise.
19945         (df_insn_change_bb): Likewise.
19946         (df_notes_rescan): Likewise.
19947         (df_refs_add_to_chains): Likewise.
19948         (df_insn_refs_verify): Likewise.
19949         * emit-rtl.c (set_insn_deleted): Add checked cast to rtx_insn *
19950         when invoking df_insn_delete.
19951         (reorder_insns): Strengthen local "x" from rtx to rtx_insn *.
19952         (set_unique_reg_note): Add checked cast.
19953         * final.c (cleanup_subreg_operands): Likewise.
19954         * gcse.c (update_ld_motion_stores): Likewise, strengthening local
19955         "insn" from rtx to rtx_insn *.
19956         * haifa-sched.c (reemit_notes): Strengthen param "insn" and local
19957         "last" from rtx to rtx_insn *.
19958         * ira-emit.c (change_regs_in_insn): New function.
19959         (change_loop): Strengthen local "insn" from rtx to rtx_insn *.
19960         Invoke change_regs_in_insn rather than change_regs.
19961         * ira.c (update_equiv_regs): Strengthen locals "insn",
19962         "init_insn", "new_insn" from rtx to rtx_insn *.  Invoke
19963         for_each_rtx_in_insn rather than for_each_rtx.
19964         * recog.c (confirm_change_group): Add checked casts.
19965         (peep2_update_life): Strengthen local "x" from rtx to rtx_insn *.
19966         Add checked cast.
19967         (peep2_fill_buffer): Add checked cast.
19968         * rtlanal.c (remove_note): Likewise.
19969         * valtrack.c (propagate_for_debug): Strengthen param "insn" and
19970         locals "next" "end" from rtx to rtx_insn *.
19972 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
19974         * sched-int.h (sched_init_insn_luid): Strengthen param 1 from rtx
19975         to rtx_insn *.
19976         (struct reg_use_data): Likewise for field "insn".
19977         (insn_cost): Likewise for param.
19978         (real_insn_for_shadow): Likewise for return type and param.
19979         (increase_insn_priority): Likewise for param 1.
19980         (debug_dependencies): Likewise for both params.
19982         * haifa-sched.c (insn_delay): Likewise for param "insn".
19983         (real_insn_for_shadow): Likewise for return type and param "insn".
19984         (update_insn_after_change): Likewise for param "insn".
19985         (recompute_todo_spec): Likewise for param "next" and locals "pro",
19986         "other".
19987         (insn_cost): Likewise for param "insn".
19988         (increase_insn_priority): Likewise.
19989         (calculate_reg_deaths): Likewise.
19990         (setup_insn_reg_pressure_info): Likewise.
19991         (model_schedule): Strengthen from vec<rtx> to vec<rtx_insn *>.
19992         (model_index): Strengthen param "insn" from rtx to rtx_insn *.
19993         (model_recompute): Likewise.
19994         (must_restore_pattern_p): Likewise for param "next".
19995         (model_excess_cost): Likewise for param "insn".
19996         (queue_remove): Likewise.
19997         (adjust_priority): Likewise for param "prev".
19998         (update_register_pressure): Likewise for param "insn".
19999         (setup_insn_max_reg_pressure): Likewise for local "insn".
20000         (update_reg_and_insn_max_reg_pressure): Likewise for param "insn".
20001         (model_add_to_schedule): Likewise.
20002         (model_reset_queue_indices): Likewise for local "insn".
20003         (unschedule_insns_until): Strengthen local "recompute_vec" from
20004         auto_vec<rtx> to auto_vec<rtx_insn *>.  Strengthen locals "last",
20005         "con" from rtx to rtx_insn *.
20006         (restore_last_backtrack_point): Likewise for both locals "x". Add
20007         checked casts.
20008         (estimate_insn_tick): Likewise for param "insn".
20009         (commit_schedule): Likewise for params "prev_head", "tail" and
20010         local "x".
20011         (verify_shadows): Likewise for locals "i1", "i2".
20012         (dump_insn_stream): Likewise for params "head", "tail" and locals
20013         "next_tail", "insn".
20014         (schedule_block): Likewise for locals "insn", "x".  Add a checked
20015         cast.
20016         (fix_inter_tick): Likewise for params "head", "tail".
20017         (create_check_block_twin): Likewise for local "jump".
20018         (haifa_change_pattern): Likewise for param "insn".
20019         (haifa_speculate_insn): Likewise.
20020         (dump_new_block_header): Likewise for params "head", "tail".
20021         (fix_jump_move): Likewise for param "jump".
20022         (move_block_after_check): Likewise.
20023         (sched_init_insn_luid): Likewise for param "insn".
20024         (sched_init_luids): Likewise for local "insn".
20025         (insn_luid): Likewise for param "insn".
20026         (init_h_i_d): Likewise.
20027         (haifa_init_h_i_d): Likewise for local "insn".
20028         (haifa_init_insn): Likewise for param "insn".
20029         * sched-deps.c (add_dependence): Likewise for local "real_pro",
20030         "other".
20031         (create_insn_reg_use): Likewise for param "insn".
20032         (setup_insn_reg_uses): Likewise.  Add a checked cast.
20033         * sched-ebb.c (debug_ebb_dependencies): Strengthen params "head",
20034         "tail" from rtx to rtx_insn *.
20035         * sched-rgn.c (void debug_dependencies): Likewise, also for locals
20036         "insn", "next_tail".
20038 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20040         * haifa-sched.c (struct model_insn_info): Strengthen field "insn"
20041         from rtx to rtx_insn *.
20042         (model_add_to_schedule): Likewise for locals "start", "end",
20043         "iter".
20045 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20047         * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
20048         rtx_insn *.
20049         * cfgrtl.c (duplicate_insn_chain): Likewise for  params "from",
20050         "to" and locals "insn", "next", "copy".  Remove now-redundant
20051         checked cast.
20053 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20055         * rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
20056         rtx_insn * and param 4 from rtx * to rtx_insn **.
20057         (get_condition): Strengthen param 1 from rtx to rtx_insn * and
20058         param 2 from rtx * to rtx_insn **.
20060         * df.h (can_move_insns_across): Strengthen params 1-4 from rtx to
20061         rtx_insn * and final param from rtx * to rtx_insn **.
20063         * cfgcleanup.c (try_head_merge_bb): Strengthen local "move_before"
20064         from rtx to rtx_insn *.
20065         (try_head_merge_bb): Likewise for both locals named "move_upto".
20066         * df-problems.c (can_move_insns_across): Likewise for params
20067         "from", "to", "across_from", "across_to" and locals "insn",
20068         "next", "max_to".  Strengthen param "pmove_upto" from rtx * to
20069         rtx_insn **.
20070         * ifcvt.c (struct noce_if_info): Strengthen field "cond_earliest"
20071         from rtx to rtx_insn *.
20072         (noce_get_alt_condition): Strengthen param "earliest" from rtx *
20073         to rtx_insn **.  Strengthen local "insn" from rtx to rtx_insn *.
20074         (noce_try_minmax): Strengthen locals "earliest", "seq" from rtx to
20075         rtx_insn *.
20076         (noce_try_abs): Likewise.
20077         (noce_get_condition): Likewise for param "jump".  Strengthen param
20078         "earliest" from rtx * to rtx_insn **.
20079         (noce_find_if_block): Strengthen local "cond_earliest" from rtx to
20080         rtx_insn *.
20081         (find_cond_trap): Likewise.
20082         (dead_or_predicable): Likewise for local "earliest".
20083         * loop-iv.c (check_simple_exit): Likewise for local "at".  Add
20084         checked cast.
20085         * rtlanal.c (canonicalize_condition): Likewise for param "insn"
20086         and local "prev".  Strengthen param "earliest" from rtx * to
20087         rtx_insn **.
20088         (get_condition): Strengthen param "jump" from rtx to rtx_insn *
20089         Strengthen param "earliest" from rtx * to rtx_insn **.
20091 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20093         * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
20094         "to" and local "insn" from rtx to rtx_insn *.
20096 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20098         * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
20099         from rtx to rtx_insn *.
20100         (need_nop_to_preserve_insn_bb): Likewise for param "insn".
20101         (code_motion_path_driver): Likewise for local "last_insn".
20102         (simplify_changed_insns): Likewise for local "insn".
20104 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20106         * rtl.h (push_to_sequence): Strengthen param from rtx to
20107         rtx_insn *.
20108         (push_to_sequence2): Likewise for both params.
20109         (delete_insns_since): Likewise for param.
20110         (reorder_insns_nobb): Likewise for all three params.
20111         (set_new_first_and_last_insn): Likewise for both params.
20113         * emit-rtl.h (set_first_insn): Strengthen param "insn" from rtx to
20114         rtx_insn *.  Remove now-redundant cast.
20115         (set_last_insn): Likewise.
20117         * builtins.c (expand_builtin_return): Strengthen local
20118         "call_fusage" from rtx to rtx_insn *.
20119         * cfgrtl.c (create_basic_block_structure): Likewise for local
20120         "after".
20121         * emit-rtl.c (set_new_first_and_last_insn): Likewise for params
20122         "first", "last" and local "insn".
20123         (delete_insns_since): Likewise for param "from".
20124         (reorder_insns_nobb): Likewise for params "from", "to", "after"
20125         and local "x".
20126         (push_to_sequence): Likewise for param "first" and local "last".
20127         (push_to_sequence2): Likewise for params "first" and "last".
20128         * lra.c (emit_add3_insn): Likewise for local "last".
20129         (lra_emit_add): Likewise.
20130         * lra-constraints.c (base_to_reg): Likewise for locals "insn",
20131         "last_insn".
20132         (process_address_1): Likewise for locals "insn", last".
20133         * modulo-sched.c (ps_first_note): Likewise for return type.
20134         * optabs.c (expand_binop_directly): Likewise for param "last".
20136 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20138         * rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
20139         to rtx_insn*.
20140         * emit-rtl.c (get_last_insn_anywhere): Likewise.
20142 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20144         * function.h (struct sequence_stack): Strengthen fields "first"
20145         and "last" from rtx to rtx_insn *.
20146         (struct emit_status): Likewise for fields "x_first_insn" and
20147         "x_last_insn".
20149         * emit-rtl.h (get_insns): Remove now-redundant checked cast.
20150         (set_first_insn): Add checked cast.
20151         (get_last_insn): Remove now-redundant checked cast.
20152         (set_last_insn): Add checked cast.
20154         * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals
20155         "saved_first" and "saved_last" from rtx to rtx_insn *.
20157 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20159         * rtl.h (add_insn): Strengthen param from rtx to rtx_insn *.
20160         (unlink_insn_chain): Strengthen both params from rtx to
20161         rtx_insn *.
20163         * cfgrtl.c (cfg_layout_function_header): Likewise for this
20164         variable.
20165         (unlink_insn_chain): Likewise for params "first" and "last".
20166         Remove now-redundant checked cast.
20167         (record_effective_endpoints): Replace use of NULL_RTX with NULL.
20168         (fixup_reorder_chain): Strengthen local "insn" from rtx to
20169         rtx_insn *.
20170         * emit-rtl.c (link_insn_into_chain): Likewise for all three
20171         params.
20172         (add_insn): Likewise for param "insn" and local "prev".
20173         (add_insn_after_nobb): Likewise for both params and local "next".
20174         (add_insn_before_nobb): Likewise for both params and local "prev".
20175         (add_insn_after): Rename param "after" to "uncast_after",
20176         introducing local "after" with another checked cast.
20177         (add_insn_before): Rename params "insn" and "before", giving them
20178         "uncast_" prefixes, adding the old names back using checked casts.
20179         (emit_note_after): Likewise for param "after".
20180         (emit_note_before): Likewise for param "before".
20181         (emit_label): Add a checked cast.
20183 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20185         * cselib.h (cselib_record_sets_hook):  Strengthen initial param
20186         "insn" from rtx to rtx_insn *.
20188         * cselib.c (cselib_record_sets_hook): Likewise.
20190         * var-tracking.c (add_with_sets): Likewise, renaming back from
20191         "uncast_insn" to "insn" and eliminating the checked cast from rtx
20192         to rtx_insn *.
20194 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20196         * basic-block.h (struct rtl_bb_info): Strengthen fields "end_"
20197         and "header_" from rtx to rtx_insn *.
20198         (struct basic_block_d): Likewise for field "head_" within "x"
20199         field of union basic_block_il_dependent.
20200         (BB_HEAD): Drop function...
20201         (SET_BB_HEAD): ...and this function in favor of...
20202         (BB_HEAD): ...reinstate macro.
20203         (BB_END): Drop function...
20204         (SET_BB_END): ...and this function in favor of...
20205         (BB_END): ...reinstate macro.
20206         (BB_HEADER): Drop function...
20207         (SET_BB_HEADER): ...and this function in favor of...
20208         (BB_HEADER): ...reinstate macro.
20210         * bb-reorder.c (add_labels_and_missing_jumps): Drop use of BB_END.
20211         (fix_crossing_unconditional_branches): Likewise.
20212         * caller-save.c (save_call_clobbered_regs): Likewise.
20213         (insert_one_insn): Drop use of SET_BB_HEAD and SET_BB_END.
20214         * cfgbuild.c (find_bb_boundaries): Drop use of SET_BB_END.
20215         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
20216         (merge_blocks_move_successor_nojumps): Likewise.
20217         (outgoing_edges_match): Update use of for_each_rtx to
20218         for_each_rtx_in_insn.
20219         * cfgexpand.c (expand_gimple_cond): Drop use of SET_BB_END.
20220         (expand_gimple_cond): Likewise.
20221         (expand_gimple_tailcall): Likewise.
20222         (expand_gimple_basic_block): Drop use of SET_BB_HEAD and
20223         SET_BB_END.
20224         (construct_exit_block): Drop use of SET_BB_END.
20225         * cfgrtl.c (cfg_layout_function_footer): Strengthen from rtx to
20226         rtx_insn *.
20227         (delete_insn): Rename param "insn" to "uncast_insn", introducing
20228         a new local "insn" with a checked cast to rtx_insn *.  Drop use of
20229         SET_BB_HEAD and SET_BB_END.
20230         (create_basic_block_structure): Drop use of SET_BB_HEAD and
20231         SET_BB_END.
20232         (rtl_delete_block): Drop use of SET_BB_HEAD.
20233         (rtl_split_block): Drop use of SET_BB_END.
20234         (emit_nop_for_unique_locus_between): Likewise.
20235         (rtl_merge_blocks): Drop use of SET_BB_END and SET_BB_HEAD.
20236         (block_label): Drop use of SET_BB_HEAD.
20237         (fixup_abnormal_edges): Drop use of SET_BB_END.
20238         (record_effective_endpoints): Drop use of SET_BB_HEADER.
20239         (relink_block_chain): Likewise.
20240         (fixup_reorder_chain): Drop use of SET_BB_END.
20241         (cfg_layout_duplicate_bb): Drop use of SET_BB_HEADER.
20242         (cfg_layout_delete_block): Strengthen local "to" from rtx * to
20243         rtx_insn **.  Drop use of SET_BB_HEADER.
20244         (cfg_layout_merge_blocks): Drop use of SET_BB_HEADER, SET_BB_END,
20245         SET_BB_HEAD.
20246         (BB_HEAD): Delete this function.
20247         (SET_BB_HEAD): Likewise.
20248         (BB_END): Likewise.
20249         (SET_BB_END): Likewise.
20250         (BB_HEADER): Likewise.
20251         (SET_BB_HEADER): Likewise.
20252         * emit-rtl.c (add_insn_after):  Rename param "insn" to
20253         "uncast_insn", adding a new local "insn" and a checked cast to
20254         rtx_insn *.  Drop use of SET_BB_END.
20255         (remove_insn): Strengthen locals "next" and "prev" from rtx to
20256         rtx_insn *.  Drop use of SET_BB_HEAD and SET_BB_END.
20257         (reorder_insns): Drop use of SET_BB_END.
20258         (emit_insn_after_1): Strengthen param "first" and locals "last",
20259         "after_after" from rtx to rtx_insn *.  Drop use of SET_BB_END.
20260         (emit_pattern_after_noloc): Add checked cast.
20261         * haifa-sched.c (get_ebb_head_tail): Drop use of SET_BB_END.
20262         (restore_other_notes): Likewise.
20263         (move_insn): Likewise.
20264         (sched_extend_bb): Likewise.
20265         (fix_jump_move): Likewise.
20266         * ifcvt.c (noce_process_if_block): Likewise.
20267         (dead_or_predicable): Likewise.
20268         * ira.c (update_equiv_regs): Drop use of SET_BB_HEAD.
20269         * reg-stack.c (change_stack): Drop use of SET_BB_END.
20270         * sel-sched-ir.c (sel_move_insn): Likewise.
20271         * sel-sched.c (move_nop_to_previous_block): Likewise.
20273         * config/c6x/c6x.c (hwloop_optimize): Drop use of SET_BB_HEAD and
20274         SET_BB_END.
20275         * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
20277 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20279         * basic-block.h (create_basic_block_structure): Strengthen params
20280         1 "head" and 2 "end" from rtx to rtx_insn *.
20281         * cfgrtl.c (create_basic_block_structure): Likewise.
20282         (rtl_create_basic_block): Update casts from void * to rtx to
20283         rtx_insn *, so that we can pass them as rtx_insn * to
20284         create_basic_block_structure.
20285         * sel-sched-ir.c (sel_create_basic_block): Likewise.
20287 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20289         * rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
20290         rtx_insn **.
20291         (check_for_inc_dec): Strengthen param "insn" from rtx to
20292         rtx_insn *.
20294         * cselib.h (cselib_process_insn): Likewise.
20296         * cselib.c (cselib_record_sets): Likewise.
20297         (cselib_process_insn): Likewise.
20299         * dse.c (struct insn_info): Likewise for field "insn".
20300         (check_for_inc_dec_1): Likewise for local "insn".
20301         (check_for_inc_dec): Likewise for param "insn".
20302         (scan_insn): Likewise.
20303         (dse_step1): Likewise for local "insn".
20305         * rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
20306         rtx_insn **.  Use for_each_rtx_in_insn rather than for_each_rtx.
20308 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20310         * sched-int.h (struct _dep): Strengthen fields "pro" and "con"
20311         from rtx to rtx_insn *.
20312         (DEP_PRO): Delete this function and...
20313         (SET_DEP_PRO): ...this function in favor of...
20314         (DEP_PRO): ...reinstate this macro.
20315         (DEP_CON): Delete this function and...
20316         (SET_DEP_CON): ...this function in favor of...
20317         (DEP_CON): ...reinstate this old macro.
20318         (init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
20319         (init_dep): Likewise.
20320         (set_priorities): Likewise for both params.
20321         (sd_copy_back_deps): Likewise for params 1 and 2.
20323         * haifa-sched.c (priority): Likewise for param "insn" and local
20324         "next".
20325         (set_priorities): Likewise for params "head" and "tail" and local
20326         "insn".
20327         (process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
20328         local "consumer".
20329         (add_to_speculative_block): Add a checked cast.
20330         (create_check_block_twin): Drop use of SET_DEP_CON.
20331         (add_jump_dependencies): Strengthen params "insn" and "jump" from
20332         rtx to rtx_insn *.
20334         * sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
20335         Drop use of SET_DEP_PRO
20336         (init_dep): Strengthen params "pro" and "con" from rtx to
20337         rtx_insn *.
20338         (sd_copy_back_deps): Likewise for params "to" and "from".  Drop
20339         use of SET_DEP_CON.
20340         (DEP_PRO): Delete.
20341         (DEP_CON): Delete.
20342         (SET_DEP_PRO): Delete.
20343         (SET_DEP_CON): Delete.
20345 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20347         * sel-sched-ir.h (struct vinsn_def): Strengthen field "insn_rtx"
20348         from rtx to rtx_insn *.
20349         (VINSN_INSN_RTX): Eliminate rvalue function and...
20350         (SET_VINSN_INSN): ...lvalue function in favor of...
20351         (VINSN_INSN_RTX): reinstate this old macro.
20353         * sel-sched-ir.c (vinsn_init): Eliminate use of SET_VINSN_INSN_RTX
20354         in favor of VINSN_INSN_RTX.
20355         (VINSN_INSN_RTX): Delete this function.
20356         (SET_VINSN_INSN_RTX): Likewise.
20358 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20360         * sel-sched-ir.h (insn_t): Strengthen from rtx to rtx_insn *.
20361         (BND_TO): Delete this function and...
20362         (SET_BND_TO): ...this functions in favor of...
20363         (BND_TO): ...reinstating this macro.
20364         (struct _fence): Strengthen field "executing_insns" from
20365         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.  Strengthen fields
20366         "last_scheduled_insn" and "sched_next" from rtx to rtx_insn *.
20367         (_succ_iter_cond): Update param "succp" from rtx * to insn_t *
20368         and param "insn" from rtx to insn_t.
20369         (create_vinsn_from_insn_rtx): Strengthen first param from rtx to
20370         rtx_insn *.
20372         * sched-int.h (insn_vec_t): Strengthen from vec<rtx> to
20373         vec<rtx_insn *> .
20374         (rtx_vec_t): Likewise.
20375         (struct sched_deps_info_def): Strengthen param of "start_insn"
20376         callback from rtx to rtx_insn *.  Likewise for param "insn2" of
20377         "note_mem_dep" callback and first param of "note_dep" callback.
20379         * haifa-sched.c (add_to_speculative_block): Strengthen param
20380         "insn" from rtx to rtx_insn *.
20381         (clear_priorities): Likewise.
20382         (calc_priorities): Likewise for local "insn".
20384         * sched-deps.c (haifa_start_insn): Likewise for param "insn".
20385         Remove redundant checked cast.
20386         (haifa_note_mem_dep): Likewise for param "pending_insn".
20387         (haifa_note_dep): Likewise for param "elem".
20388         (note_mem_dep): Likewise for param "e".
20389         (sched_analyze_1): Add checked casts.
20390         (sched_analyze_2): Likewise.
20392         * sel-sched-dump.c (dump_insn_vector): Strengthen local "succ"
20393         from rtx to rtx_insn *.
20394         (debug): Update param from vec<rtx> & to vec<rtx_insn *>, and
20395         from vec<rtx> * to vec<rtx_insn *> *.
20397         * sel-sched-ir.c (blist_add): Remove use of SET_BND_TO
20398         scaffolding.
20399         (flist_add): Strengthen param "executing_insns" from
20400         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
20401         (advance_deps_context): Remove now-redundant checked cast.
20402         (init_fences): Replace uses of NULL_RTX with NULL.
20403         (merge_fences): Strengthen params "last_scheduled_insn" and
20404         "sched_next" from rtx to rtx_insn * and "executing_insns" from
20405         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
20406         (add_clean_fence_to_fences): Replace uses of NULL_RTX with NULL.
20407         (get_nop_from_pool): Add local "nop_pat" so that "nop" can be
20408         an instruction, rather than doing double-duty as a pattern.
20409         (return_nop_to_pool): Update for change of insn_t.
20410         (deps_init_id): Remove now-redundant checked cast.
20411         (struct sched_scan_info_def): Strengthen param of "init_insn"
20412         callback from rtx to insn_t.
20413         (sched_scan): Strengthen local "insn" from rtx to rtx_insn *.
20414         (init_global_and_expr_for_insn): Replace uses of NULL_RTX with
20415         NULL.
20416         (get_seqno_by_succs): Strengthen param "insn" and locals "tmp",
20417         "end" from rtx to rtx_insn *.
20418         (create_vinsn_from_insn_rtx): Likewise for param "insn_rtx".
20419         (rtx insn_rtx, bool force_unique_p)
20420         (BND_TO): Delete function.
20421         (SET_BND_TO): Delete function.
20423         * sel-sched.c (advance_one_cycle): Strengthen local "insn" from
20424         rtx to rtx_insn *.
20425         (extract_new_fences_from): Replace uses of NULL_RTX with NULL.
20426         (replace_dest_with_reg_in_expr): Strengthen local "insn_rtx" from
20427         rtx to rtx_insn *.
20428         (undo_transformations): Likewise for param "insn".
20429         (update_liveness_on_insn): Likewise.
20430         (compute_live_below_insn): Likewise for param "insn" and local
20431         "succ".
20432         (update_data_sets): Likewise for param "insn".
20433         (fill_vec_av_set): Replace uses of NULL_RTX with NULL.
20434         (convert_vec_av_set_to_ready): Drop now-redundant checked cast.
20435         (invoke_aftermath_hooks): Strengthen param "best_insn" from rtx to
20436         rtx_insn *.
20437         (move_cond_jump): Likewise for param "insn".
20438         (move_cond_jump): Drop use of SET_BND_TO.
20439         (compute_av_set_on_boundaries): Likewise.
20440         (update_fence_and_insn): Replace uses of NULL_RTX with NULL.
20441         (update_and_record_unavailable_insns): Strengthen local "bb_end"
20442         from rtx to rtx_insn *.
20443         (maybe_emit_renaming_copy): Likewise for param "insn".
20444         (maybe_emit_speculative_check): Likewise.
20445         (handle_emitting_transformations): Likewise.
20446         (remove_insn_from_stream): Likewise.
20447         (code_motion_process_successors): Strengthen local "succ" from rtx
20448         to insn_t.
20450 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20452         * sel-sched-ir.h (ilist_t): Redefine this typedef in terms of
20453         ilist_t, not _xlist_t;
20454         (ILIST_INSN): Define in terms of new union field "insn".
20455         (ILIST_NEXT): Define in terms of _LIST_NEXT rather than
20456         _XLIST_NEXT.
20457         (struct _list_node): Add new field "insn" to the union, of type
20458         insn_t.
20459         (ilist_add): Replace macro with an inline function, requiring an
20460         insn_t.
20461         (ilist_remove): Define this macro directly in terms of
20462         _list_remove, rather than indirectly via _xlist_remove.
20463         (ilist_clear): Likewise, in terms of _list_clear rather than
20464         _xlist_clear.
20465         (ilist_is_in_p): Replace macro with an inline function, requiring
20466         an insn_t.
20467         (_list_iter_cond_insn): New function.
20468         (ilist_iter_remove): Define this macro directly in terms of
20469         _list_iter_remove, rather than indirectly via _xlist_iter_remove.
20470         (ilist_iterator): Define directly in terms of _list_iterator
20471         rather than indirectly through _xlist_iterator.
20472         (FOR_EACH_INSN): Define in terms of _list_iter_cond_insn rather
20473         than in terms of _FOR_EACH_X.
20474         (FOR_EACH_INSN_1): Likewise.
20476 2014-08-26  Joseph Myers  <joseph@codesourcery.com>
20478         PR target/60606
20479         PR target/61330
20480         * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
20481         DECL_HARD_REGISTER and return for invalid register specifications.
20482         * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
20483         DECL_HARD_REGISTER, call expand_one_error_var.
20484         * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
20485         CC_REGNUM with non-MODE_CC modes.
20486         (arm_regno_class): Return NO_REGS for PC_REGNUM.
20488 2014-08-26  Marek Polacek  <polacek@redhat.com>
20490         PR c/61271
20491         * sel-sched-ir.c (make_regions_from_the_rest): Fix condition.
20493 2014-08-26  Evandro Menezes <e.menezes@samsung.com>
20495         * config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
20496         qi cost; add di cost.
20497         (cortexa57_addrcost_table): Likewise.
20499 2014-08-26  Marek Polacek  <polacek@redhat.com>
20501         PR c/61271
20502         * expr.c (is_aligning_offset): Remove logical not.
20504 2014-08-26  Marek Polacek  <polacek@redhat.com>
20506         PR c/61271
20507         * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
20508         LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
20510 2014-08-26  Richard Biener  <rguenther@suse.de>
20512         PR tree-optimization/62175
20513         * tree-ssa-loop-niter.c (expand_simple_operations): Do not
20514         expand possibly trapping operations.
20516 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
20518         * config/rs6000/rs6000.c (class swap_web_entry): Strengthen field
20519         "insn" from rtx to rtx_insn *.
20520         (permute_load): Likewise for param "insn".
20521         (permute_store): Likewise.
20522         (handle_special_swappables): Likewise for local "insn".
20523         (replace_swap_with_copy): Likewise for locals "insn" and
20524         "new_insn".
20525         (rs6000_analyze_swaps): Likewise for local "insn".
20527 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20529         * regrename.h (struct du_chain): Strengthen field "insn" from rtx
20530         to rtx_insn *.
20532 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20534         * sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
20535         "note_list" from rtx to rtx_insn *.
20536         (BB_NOTE_LIST): Replace this function and...
20537         (SET_BB_NOTE_LIST): ...this function with...
20538         (BB_NOTE_LIST): ...the former macro implementation.
20540         * sched-int.h (concat_note_lists): Strengthen param "from_end" and
20541         local "from_start" from rtx to rtx_insn *.  Strengthen param
20542         "to_endp" from rtx * to rtx_insn **.
20544         * haifa-sched.c (concat_note_lists): Likewise.
20545         * sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
20546         BB_NOTE_LIST.
20547         (sel_restore_notes): Likewise.
20548         (move_bb_info): Likewise.
20549         (BB_NOTE_LIST): Delete this function.
20550         (SET_BB_NOTE_LIST): Delete this function.
20551         * sel-sched.c (create_block_for_bookkeeping): Eliminate
20552         SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.
20554 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20556         * target.def (reorder): Strengthen param "ready" of this DEFHOOK
20557         from rtx * to rtx_insn **.
20558         (reorder2): Likewise.
20559         (dependencies_evaluation_hook): Strengthen params "head", "tail"
20560         from rtx to rtx_insn *.
20562         * doc/tm.texi: Update mechanically for above change to target.def.
20564         * sched-int.h (note_list): Strengthen this variable from rtx to
20565         rtx_insn *.
20566         (remove_notes): Likewise for both params.
20567         (restore_other_notes): Likewise for return type and first param.
20568         (struct ready_list): Strengthen field "vec" from rtx * to
20569         rtx_insn **.
20570         (struct dep_replacement): Strenghten field "insn" from rtx to
20571         rtx_insn *.
20572         (struct deps_desc): Likewise for fields "last_debug_insn",
20573         "last_args_size".
20574         (struct haifa_sched_info): Likewise for callback field
20575         "can_schedule_ready_p"'s param, for first param of "new_ready"
20576         callback field, for both params of "rank" callback field, for
20577         first field of "print_insn" callback field (with a const), for
20578         both params of "contributes_to_priority" callback, for param
20579         of "insn_finishes_block_p" callback, for fields "prev_head",
20580         "next_tail", "head", "tail", for first param of "add_remove_insn"
20581         callback, for first param of "begin_schedule_ready" callback, for
20582         both params of "begin_move_insn" callback, and for second param
20583         of "advance_target_bb" callback.
20584         (add_dependence): Likewise for params 1 and 2.
20585         (sched_analyze): Likewise for params 2 and 3.
20586         (deps_analyze_insn): Likewise for param 2.
20587         (ready_element): Likewise for return type.
20588         (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
20589         (try_ready): Strenghten param from rtx to rtx_insn *.
20590         (sched_emit_insn): Likewise for return type.
20591         (record_delay_slot_pair): Likewise for params 1 and 2.
20592         (add_delay_dependencies): Likewise for param.
20593         (contributes_to_priority): Likewise for both params.
20594         (find_modifiable_mems): Likewise.
20596         * config/arm/arm.c (cortexa7_sched_reorder):  Strengthen param
20597         "ready" from rtx * to rtx_insn **.  Strengthen locals "insn",
20598         "first_older_only_insn" from rtx to rtx_insn *.
20599         (arm_sched_reorder):  Strengthen param "ready"  from rtx * to
20600         rtx_insn **.
20602         * config/c6x/c6x.c (struct c6x_sched_context): Strengthen field
20603         "last_scheduled_iter0" from rtx to rtx_insn *.
20604         (init_sched_state): Replace use of NULL_RTX with NULL for insn.
20605         (c6x_sched_reorder_1): Strengthen param "ready" and locals
20606         "e_ready", "insnp" from rtx * to rtx_insn **.  Strengthen local
20607         "insn" from rtx to rtx_insn *.
20608         (c6x_sched_reorder): Strengthen param "ready" from rtx * to
20609         rtx_insn **.
20610         (c6x_sched_reorder2): Strengthen param "ready" and locals
20611         "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
20612         "insn" from rtx to rtx_insn *.
20613         (c6x_variable_issue):  Add a checked cast when assigning from insn
20614         to ss.last_scheduled_iter0.
20615         (split_delayed_branch): Strengthen param "insn" and local "i1"
20616         from rtx to rtx_insn *.
20617         (split_delayed_nonbranch): Likewise.
20618         (undo_split_delayed_nonbranch): Likewise for local "insn".
20619         (hwloop_optimize): Likewise for locals "seq", "insn", "prev",
20620         "entry_after", "end_packet", "head_insn", "tail_insn",
20621         "new_insns", "last_insn", "this_iter", "prev_stage_insn".
20622         Strengthen locals "orig_vec", "copies", "insn_copies" from rtx *
20623         to rtx_insn **.  Remove now-redundant checked cast on last_insn,
20624         but add a checked cast on loop->start_label.  Consolidate calls to
20625         avoid assigning result of gen_spkernel to "insn", now an
20626         rtx_insn *.
20628         * config/i386/i386.c (do_reorder_for_imul): Strengthen param
20629         "ready" from rtx * to rtx_insn **.  Strengthen local "insn" from
20630         rtx to rtx_insn *.
20631         (swap_top_of_ready_list): Strengthen param "ready" from rtx * to
20632         rtx_insn **.  Strengthen locals "top", "next" from rtx to
20633         rtx_insn *.
20634         (ix86_sched_reorder): Strengthen param "ready" from rtx * to
20635         rtx_insn **.  Strengthen local "insn" from rtx to rtx_insn *.
20636         (add_parameter_dependencies): Strengthen params "call", "head" and
20637         locals "insn", "last", "first_arg" from rtx to rtx_insn *.
20638         (avoid_func_arg_motion): Likewise for params "first_arg", "insn".
20639         (add_dependee_for_func_arg): Likewise for param "arg" and local
20640         "insn".
20641         (ix86_dependencies_evaluation_hook): Likewise for params "head",
20642         "tail" and locals "insn", "first_arg".
20644         * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Likewise
20645         for params "head", "tail" and locals "insn", "next", "next_tail".
20646         (ia64_dfa_sched_reorder): Strengthen param "ready" and locals
20647         "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen locals
20648         "insn", "lowest", "highest" from rtx to rtx_insn *.
20649         (ia64_sched_reorder): Strengthen param "ready" from rtx * to
20650         rtx_insn **.
20651         (ia64_sched_reorder2): Likewise.
20653         * config/mep/mep.c (mep_find_ready_insn): Strengthen return type
20654         and local "insn" from rtx to rtx_insn *.  Strengthen param "ready"
20655         from rtx * to rtx_insn **.
20656         (mep_move_ready_insn): Strengthen param "ready" from rtx * to
20657         rtx_insn **.
20658         (mep_print_sched_insn): Strengthen param "insn" from rtx to
20659         rtx_insn *.
20660         (mep_sched_reorder): Strengthen param "ready" from rtx * to
20661         rtx_insn **.  Strengthen locals "core_insn", "cop_insn" from rtx
20662         to rtx_insn *.
20664         * config/mips/mips.c (mips_promote_ready): Strengthen param "ready"
20665         from rtx * to rtx_insn **.  Strengthen local "new_head" from rtx
20666         to rtx_insn *.
20667         (mips_maybe_swap_ready): Strengthen param "ready" from rtx * to
20668         rtx_insn **.  Strengthen local "temp" from rtx to rtx_insn *.
20669         (mips_macc_chains_reorder): Strengthen param "ready" from rtx * to
20670         rtx_insn **.
20671         (vr4130_reorder): Likewise.
20672         (mips_74k_agen_reorder): Likewise.  Strengthen local "insn" from
20673         rtx to rtx_insn *.
20674         (mips_sched_reorder_1): Strengthen param "ready" from rtx * to
20675         rtx_insn **.
20676         (mips_sched_reorder): Likewise.
20677         (mips_sched_reorder2): Likewise.
20679         * config/picochip/picochip.c (picochip_sched_reorder): Likewise.
20681         * config/rs6000/rs6000.c (rs6000_sched_reorder): Likewise.
20682         Strengthen local "tmp" from rtx to rtx_insn *.
20683         (rs6000_sched_reorder2): Likewise.
20685         * config/s390/s390.c (s390_z10_prevent_earlyload_conflicts):
20686         Likewise.  Update sizeof(rtx) to sizeof(rtx_insn *) in memmove.
20687         (s390_sched_reorder): Strengthen param "ready" from rtx * to
20688         rtx_insn **.  Strengthen local "tmp" from rtx to rtx_insn *.
20690         * config/sh/sh.c (rank_for_reorder): Strengthen locals "tmp",
20691         "tmp2" from rtx to rtx_insn *.
20692         (swap_reorder): Strengthen param "a" from rtx * to rtx_insn **.
20693         Strengthen local "insn" from rtx to rtx_insn *.
20694         (ready_reorder): Strengthen param "ready" from rtx * to
20695         rtx_insn **.  Update sizeof(rtx) to sizeof(rtx_insn *) in qsort.
20696         (sh_reorder):  Strengthen param "ready" from rtx * to rtx_insn **.
20697         (sh_reorder2): Likewise.
20699         * config/spu/spu.c (spu_sched_reorder): Likewise.  Strengthen
20700         local "insn" from rtx to rtx_insn *.
20702         * haifa-sched.c (note_list): Strengthen this variable from rtx to
20703         rtx_insn *.
20704         (scheduled_insns): Strengthen this variable from vec<rtx> to
20705         vec<rtx_insn *>.
20706         (set_modulo_params): Likewise for locals "i1", "i2".
20707         (record_delay_slot_pair): Likewise for params "i1", "i2".
20708         (add_delay_dependencies): Likewise for param "insn".
20709         (cond_clobbered_p): Likewise.
20710         (recompute_todo_spec): Likewise for local "prev".
20711         (last_scheduled_insn): Likewise for this variable.
20712         (nonscheduled_insns_begin): Likewise.
20713         (model_set_excess_costs): Strengthen param "insns" from rtx * to
20714         rtx_insn **.
20715         (rank_for_schedule): Strengthen locals "tmp", "tmp2" from rtx to
20716         rtx_insn *.
20717         (swap_sort): Strengthen param "a" from rtx * to rtx_insn **.
20718         Strengthen local "insn" from rtx to rtx_insn *.
20719         (queue_insn): Strengthen param "insn" from rtx to rtx_insn *.
20720         (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
20721         (ready_add): Strengthen param "insn" from rtx to rtx_insn *.
20722         (ready_remove_first): Likewise for return type and local "t".
20723         (ready_element): Likewise for return type.
20724         (ready_remove): Likewise for return type and local "t".
20725         (ready_sort): Strengthen local "first" from rtx * to rtx_insn **.
20726         (check_clobbered_conditions): Strengthen local "x" from rtx to
20727         rtx_insn *, adding a checked cast.
20728         (schedule_insn): Likewise for param "insn".
20729         (remove_notes): Likewise for params "head", "tail" and locals
20730         "next_tail", "insn", "next".
20731         (struct haifa_saved_data): Likewise for fields
20732         "last_scheduled_insn", "nonscheduled_insns_begin".
20733         (save_backtrack_point): Update for change to field "vec" of
20734         struct ready_list.
20735         (toggle_cancelled_flags): Strengthen local "first" from rtx * to
20736         rtx_insn **.
20737         (restore_last_backtrack_point): Likewise.  Strengthen local "insn"
20738         from rtx to rtx_insn *
20739         (resolve_dependencies): Strengthen param "insn" from rtx to
20740         rtx_insn *
20741         (restore_other_notes): Likewise for return type, for param "head"
20742         and local "note_head".
20743         (undo_all_replacements): Likewise for local "insn".
20744         (first_nonscheduled_insn): Likewise for return type and local "insn".
20745         (queue_to_ready): Likewise for local "insn", adding checked casts.
20746         (early_queue_to_ready): Likewise for local "insn".
20747         (debug_ready_list_1): Strengthen local "p" from rtx * to
20748         rtx_insn **.
20749         (move_insn): Strengthen param "insn" and local "note" from rtx to
20750         rtx_insn *
20751         (insn_finishes_cycle_p): Likewise for param "insn".
20752         (max_issue): Likewise for local "insn".
20753         (choose_ready): Likewise.  Strengthen param "insn_ptr" from rtx *
20754         to rtx_insn **.
20755         (commit_schedule): Strengthen param "prev_head" and local "insn"
20756         from rtx to rtx_insn *
20757         (prune_ready_list): Likewise for local "insn".
20758         (schedule_block): Likewise for locals "prev_head", "head", "tail",
20759         "skip_insn", "insn", "failed_insn", "x", adding a checked cast.
20760         (set_priorities): Likewise for local "prev_head".
20761         (try_ready): Likewise for param "next".
20762         (fix_tick_ready): Likewise.
20763         (change_queue_index): Likewise.
20764         (sched_extend_ready_list): Update for change to field "vec" of
20765         struct ready_list.
20766         (generate_recovery_code): Strengthen param "insn" from rtx to
20767         rtx_insn *.
20768         (begin_speculative_block): Likewise.
20769         (create_check_block_twin): Likewise for param "insn" and locals
20770         "label", "check", "twin".  Introduce local "check_pat" to avoid
20771         "check" being used as a plain rtx before being used as an insn.
20772         (fix_recovery_deps): Add a checked cast to rtx_insn * when
20773         extracting elements from ready_list.
20774         (sched_remove_insn): Strengthen param "insn" from rtx to
20775         rtx_insn *.
20776         (sched_emit_insn): Likewise for return type.
20777         (ready_remove_first_dispatch): Likewise for return type and local
20778         "insn".
20780         * hw-doloop.c (discover_loop): Add a checked cast to rtx_insn *.
20782         * modulo-sched.c (sms_print_insn): Strengthen from const_rtx to
20783         const rtx_insn *.
20785         * sched-deps.c (add_dependence): Strengthen params "con", "pro"
20786         from rtx to rtx_insn *.
20787         (add_dependence_list): Likewise for param "insn".  Add a checked
20788         cast.
20789         (add_dependence_list_and_free): Strengthen param "insn" from rtx
20790         to rtx_insn *.  Strengthen param "list_p" from rtx * to
20791         rtx_insn **.
20792         (chain_to_prev_insn): Strengthen param "insn" and locals
20793         "prec_nonnote", "i" from rtx to rtx_insn *.
20794         (flush_pending_lists): Likewise for param "insn".
20795         (cur_insn): Likewise for this variable.
20796         (haifa_start_insn): Add a checked cast.
20797         (note_dep): Strengthen param "e" from rtx to rtx_insn *.
20798         (sched_analyze_reg): Likewise for param "insn".
20799         (sched_analyze_1): Likewise.
20800         (sched_analyze_2): Likewise.  Add checked casts.
20801         (sched_analyze_insn): Likewise.  Also for local "prev".
20802         (deps_analyze_insn): Likewise for param "insn".
20803         (sched_analyze): Likewise for params "head", "tail" and local "insn".
20804         (add_dependence_1): Likewise for params "insn", "elem".
20805         (struct mem_inc_info): Likewise for fields "inc_insn", "mem_insn".
20806         (parse_add_or_inc): Likewise for param "insn".
20807         (find_inc): Likewise for local "inc_cand".
20808         (find_modifiable_mems): Likewise for params "head", "tail" and
20809         locals "insn", "next_tail".
20811         * sched-ebb.c (init_ready_list): Likewise for local "insn".
20812         (begin_schedule_ready): Likewise for param "insn".
20813         (begin_move_insn): Likewise for params "insn" and "last".
20814         (ebb_print_insn): Strengthen param "insn" from const_rtx to
20815         const rtx_insn *.
20816         (rank): Strengthen params "insn1", "insn2" from rtx to rtx_insn *.
20817         (ebb_contributes_to_priority): Likewise for params "next", "insn".
20818         (ebb_add_remove_insn): Likewise for param "insn".
20819         (advance_target_bb): Likewise.
20821         * sched-rgn.c (rgn_estimate_number_of_insns): Likewise for local
20822         "insn".
20823         (check_live): Likewise for param "insn".
20824         (init_ready_list): Likewise for local "insn".
20825         (can_schedule_ready_p): Likewise for param "insn".
20826         (begin_schedule_ready): Likewise.
20827         (new_ready): Likewise for param "next".
20828         (rgn_print_insn): Likewise for param "insn".
20829         (rgn_rank): Likewise for params "insn1", "insn2".
20830         (contributes_to_priority): Likewise for params "next", "insn".
20831         (rgn_insn_finishes_block_p): Likewise for param "insn".
20832         (add_branch_dependences): Likewise for params "head", "tail" and
20833         locals "insn", "last".
20834         (rgn_add_remove_insn): Likewise for param "insn".
20835         (advance_target_bb): Likewise.
20837         * sel-sched-dump.c (sel_print_insn): Strengthen param "insn" from
20838         const_rtx to const rtx_insn *.
20840         * sel-sched-dump.h (sel_print_insn): Likewise.
20842         * sel-sched-ir.c (advance_deps_context): Add a checked cast.
20843         (deps_init_id): Likewise.
20845         * sel-sched.c (convert_vec_av_set_to_ready): Likewise.
20846         (invoke_reorder_hooks): Strengthen local "arr" from rtx * to
20847         rtx_insn **.
20849 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20851         * output.h (final_start_function): Strengthen param 1 from rtx to
20852         rtx_insn *.
20854         * final.c (final_start_function): Likewise, renaming back from
20855         "uncast_first" to "first", and dropping the checked cast from rtx
20856         to rtx_insn *.
20858 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20860         * output.h (final): Strengthen param 1 from rtx to rtx_insn *.
20861         * final.c (final): Likewise.  Rename param back from
20862         "uncast_first" to "first" and eliminate the checked cast from rtx
20863         to rtx_insn *.
20865 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20867         * output.h (shorten_branches): Strengthen param from rtx to
20868         rtx_insn *.
20870         * final.c (shorten_branches): Likewise, renaming param back from
20871         "uncast_first" to "first", and dropping the checked cast from rtx
20872         to rtx_insn *.
20874         * genattr.c (gen_attr): Likewise when writing out the prototype of
20875         shorten_branches.
20877 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20879         * sched-int.h (struct haifa_sched_info): Strengthen fields
20880         "prev_head" and "next_tail" from rtx to rtx_insn *.
20882 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20884         * rtl.h (rtx_jump_table_data::get_labels): New method.
20885         * cfgbuild.c (make_edges): Replace hand-coded lookup of labels
20886         with use of the new rtx_jump_table_data::get_labels method.
20887         (purge_dead_tablejump_edges): Strengthen param "table" from rtx
20888         to rtx_jump_table_data *.  Simplify by using get_labels method.
20889         * cfgrtl.c (delete_insn): Replace use of JUMP_TABLE_DATA_P with
20890         a dyn_cast, introducing local "table", using it to replace
20891         label-lookup logic with a get_labels method call.
20892         (patch_jump_insn): Simplify using get_labels method.
20893         * dwarf2cfi.c (create_trace_edges): Likewise.
20894         * rtlanal.c (label_is_jump_target_p): Likewise.
20896 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20898         * rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
20899         to rtx_insn *.
20901         * emit-rtl.c (unshare_all_rtl_1): Likewise.
20902         (unshare_all_rtl_again): Likewise, also for local "p".
20904 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20906         * rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
20907         to rtx_insn *.
20908         * cfgrtl.c (delete_insn_and_edges): Likewise.
20910 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20912         * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
20913         from rtx to rtx_insn *.
20915         * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
20917 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20919         * function.c (thread_prologue_and_epilogue_insns): Likewise for
20920         locals "returnjump", "epilogue_end", "insn", "next".
20922         * shrink-wrap.h (get_unconverted_simple_return): Strengthen param
20923         "returnjump" from rtx * to rtx_insn **.
20924         * shrink-wrap.c (get_unconverted_simple_return): Likewise.
20926 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20928         * basic-block.h (struct edge_def). Strengthen "r" within
20929         union edge_def_insns from rtx to rtx_insn *.
20931         * cfgexpand.c (pass_expand::execute): Remove now-redundant cast
20932         from rtx to rtx_insn *.  Strengthen local "insns" from rtx to
20933         rtx_insn *.
20934         * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
20935         from rtx to rtx_insn *.
20936         * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
20937         rtx_insn *.
20938         * postreload-gcse.c (reg_killed_on_edge): Likewise.
20939         (reg_used_on_edge): Likewise.
20940         * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
20941         (gt_pch_nx): New overload for rtx_insn *&.
20942         * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
20943         from rtx to rtx_insn *.
20945 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20947         * basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
20948         from rtx to rtx_insn *.
20949         (BB_FOOTER): Replace function with access macro.
20950         (SET_BB_FOOTER): Delete.
20952         * cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
20953         with BB_FOOTER.
20954         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
20955         (emit_barrier_after_bb): Likewise.
20956         (record_effective_endpoints): Likewise.
20957         (relink_block_chain): Likewise.
20958         (fixup_fallthru_exit_predecessor): Likewise.
20959         (cfg_layout_duplicate_bb): Likewise.
20960         (cfg_layout_split_block): Likewise.
20961         (cfg_layout_delete_block): Likewise.
20962         (cfg_layout_merge_blocks): Likewise.
20963         (BB_FOOTER): Delete function.
20964         (SET_BB_FOOTER): Delete function.
20965         * combine.c (update_cfg_for_uncondjump): Replace uses of
20966         SET_BB_FOOTER with BB_FOOTER.
20968 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20970         * except.h (struct eh_landing_pad_d): Strengthen field
20971         "landing_pad" from rtx to rtx_code_label *.
20973         * except.c (sjlj_emit_dispatch_table): Likewise for param
20974         "dispatch_label"
20975         (sjlj_build_landing_pads): Likewise for local "dispatch_label".
20977 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20979         * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
20980         first param from rtx to rtx_insn *.
20981         * config/xtensa/xtensa.c (struct machine_function): Likewise for
20982         field "set_frame_ptr_insn".
20983         (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
20984         "csend" from rtx to rtx_code_label *.
20985         (xtensa_expand_atomic): Likewise for local "csloop".
20986         (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
20987         rtx_insn *.
20988         (xtensa_call_tls_desc): Likewise for return type and locals
20989         "call_insn", "insns".
20990         (xtensa_legitimize_tls_address): Likewise for local "insns".
20991         (xtensa_expand_prologue): Likewise for locals "insn", "first".
20993 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
20995         * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
20996         first param from rtx to rtx_insn *.
20997         * config/v850/v850.c (v850_adjust_insn_length): Likewise for param
20998         "insn".
21000 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21002         * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):
21003         Strengthen param 1 from rtx to rtx_insn *.
21004         (tilepro_output_cbranch): Likewise.
21005         (tilepro_adjust_insn_length): Likewise.
21006         (tilepro_final_prescan_insn): Likewise for sole param.
21008         * config/tilepro/tilepro.c (tilepro_legitimize_tls_address):
21009         Likewise for local "last".
21010         (cbranch_predicted_p): Likewise for param "insn".
21011         (tilepro_output_simple_cbranch_with_opcode): Likewise.
21012         (tilepro_output_cbranch_with_opcode): Likewise.
21013         (tilepro_output_cbranch): Likewise.
21014         (frame_emit_load): Likewise for return type and locals "seq",
21015         "insn".
21016         (emit_sp_adjust): Likewise for return type and local "insn".
21017         (tilepro_expand_epilogue): Likewise for locals "last_insn",
21018         "insn".
21019         (tilepro_adjust_insn_length): Likewise for param "insn".
21020         (next_insn_to_bundle): Likewise for return type and params
21021         "r", "end".
21022         (tilepro_gen_bundles): Likewise for locals "insn", "next", "end".
21023         (replace_pc_relative_symbol_ref): Likewise for param "insn" and
21024         local "new_insns".
21025         (match_addli_pcrel): Likewise for param "insn".
21026         (replace_addli_pcrel): Likewise.
21027         (match_auli_pcrel): Likewise.
21028         (replace_auli_pcrel): Likewise.
21029         (tilepro_fixup_pcrel_references): Likewise for locals "insn",
21030         "next_insn".
21031         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
21032         "queue", "next_queue", "prev".
21033         (tilepro_asm_output_mi_thunk): Likewise for local "insn".
21034         (tilepro_final_prescan_insn): Likewise for param "insn".
21036 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21038         * config/tilegx/tilegx-protos.h (tilegx_output_cbranch_with_opcode):
21039         Strengthen param 1 from rtx to rtx_insn *.
21040         (tilegx_output_cbranch): Likewise.
21041         (tilegx_adjust_insn_length): Likewise.
21042         (tilegx_final_prescan_insn): Likewise for sole param.
21044         * config/tilegx/tilegx.c (tilegx_legitimize_tls_address): Likewise
21045         or local "last".
21046         (cbranch_predicted_p): Likewise for param "insn".
21047         (tilegx_output_simple_cbranch_with_opcode): Likewise.
21048         (tilegx_output_cbranch_with_opcode): Likewise.
21049         (tilegx_output_cbranch): Likewise.
21050         (frame_emit_load): Likewise for return type.
21051         (set_frame_related_p): Likewise for locals "seq", "insn".
21052         (emit_sp_adjust): Likewise for return type, and for local "insn".
21053         Introduce local "pat" for use in place of "insn" where the latter
21054         isn't an instruction.
21055         (tilegx_expand_epilogue): Strengthen locals "last_insn", "insn"
21056         from rtx to rtx_insn *.
21057         (tilegx_adjust_insn_length): Likewise for param "insn".
21058         (next_insn_to_bundle): Likewise for return type and params "r" and
21059         "end".
21060         (tilegx_gen_bundles): Likewise for locals "insn", "next", "prev",
21061         "end".
21062         (replace_insns): Likewise for params "old_insn", "new_insns".
21063         (replace_mov_pcrel_step1): Likewise for param "insn" and local
21064         "new_insns".
21065         (replace_mov_pcrel_step2): Likewise.
21066         (replace_mov_pcrel_step3): Likewise.
21067         (tilegx_fixup_pcrel_references): Likewise for locals "insn",
21068         "next_insn".
21069         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
21070         "queue", "next_queue", "prev".
21071         (tilegx_output_mi_thunk): Likewise for local "insn".
21072         (tilegx_final_prescan_insn): Likewise for param "insn".
21074 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21076         * config/spu/spu.c (frame_emit_store): Strengthen return type from
21077         rtx to rtx_insn *.
21078         (frame_emit_load): Likewise.
21079         (frame_emit_add_imm): Likewise, also for local "insn".
21080         (spu_expand_prologue): Likewise for local "insn".
21081         (struct spu_bb_info): Likewise for field "prop_jump".
21082         (emit_nop_for_insn): Likewise for param "insn" and local
21083         "new_insn".
21084         (pad_bb): Likewise for locals "insn", "next_insn", "prev_insn",
21085         "hbr_insn".
21086         (spu_emit_branch_hint): Likewise for params "before", "branch" and
21087         locals "hint", "insn".
21088         (get_branch_target): Likewise for param "branch".
21089         (insn_clobbers_hbr): Likewise for param "insn".
21090         (insert_hbrp_for_ilb_runout): Likewise for param "first" and
21091         locals "insn", "before_4", "before_16".
21092         (insert_hbrp): Likewise for local "insn".
21093         (spu_machine_dependent_reorg): Likewise for locals "branch",
21094         "insn", "next", "bbend".
21095         (uses_ls_unit): Likewise for param "insn".
21096         (get_pipe): Likewise.
21097         (spu_sched_variable_issue): Rename param "insn" to "uncast_insn",
21098         introducing a checked cast.
21099         (spu_sched_adjust_cost): Likewise for params "insn" and
21100         "dep_insn".
21101         (ea_load_store_inline): Strengthen local "insn" from rtx to rtx_insn *.
21102         (spu_sms_res_mii): Likewise.
21104 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21106         * config/sparc/sparc-protos.h (output_ubranch): Strengthen param 2
21107         from rtx to rtx_insn *.
21108         (output_cbranch): Likewise for param 6.
21109         (output_return): Likewise for param 1.
21110         (output_sibcall): Likewise.
21111         (output_v8plus_shift): Likewise.
21112         (output_v8plus_mult): Likewise.
21113         (output_v9branch): Likewise for param 7.
21114         (output_cbcond):  Likewise for param 3.
21116         * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise
21117         for local "insn".
21118         (sparc_legitimize_pic_address): Likewise.
21119         (sparc_emit_call_insn): Likewise.
21120         (emit_save_or_restore_regs): Likewise.
21121         (emit_window_save): Likewise for return type and local "insn".
21122         (sparc_expand_prologue): Likewise for local "insn".
21123         (sparc_flat_expand_prologue): Likewise.
21124         (output_return): Likewise for param "insn".
21125         (output_sibcall): Likewise for param "insn" and local "delay".
21126         (output_ubranch): Likewise for param "insn".
21127         (output_cbranch): Likewise.
21128         (output_cbcond): Likewise.
21129         (output_v9branch): Likewise.
21130         (output_v8plus_shift): Likewise.
21131         (sparc_output_mi_thunk): Likewise for local "insn".
21132         (get_some_local_dynamic_name): Likewise.
21133         (output_v8plus_mult): Likewise for param "insn".
21135 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21137         * config/sh/sh-protos.h (output_ieee_ccmpeq): Strengthen param 1
21138         from rtx to rtx_insn *.
21139         (output_branchy_insn): Likewise for param 3.
21140         (output_far_jump): Likewise for param 1.
21141         (final_prescan_insn): Likewise.
21142         (sh_insn_length_adjustment): Likewise for sole param.
21144         * config/sh/sh.c (expand_cbranchsi4): Likewise for local "jump".
21145         (expand_cbranchdi4): Strengthen local "skip_label" from rtx to
21146         rtx_code_label *.
21147         (sh_emit_compare_and_set): Likewise for local "lab".
21148         (output_far_jump): Strengthen param "insn" and local "prev" from
21149         rtx to rtx_insn *.
21150         (output_branchy_insn): Likewise for param "insn" and local
21151         "next_insn".
21152         (output_ieee_ccmpeq): Likewise for param "insn".
21153         (struct label_ref_list_d): Strengthen field "label" from rtx to
21154         rtx_code_label *.
21155         (pool_node): Likewise.
21156         (pool_window_label): Likewise for this global.
21157         (add_constant): Likewise for return type and locals "lab", "new_rtx".
21158         (dump_table): Strengthen params "start", "barrier" and local
21159         "scan" from rtx to rtx_insn *.
21160         (broken_move): Likewise for param "insn".
21161         (untangle_mova): Likewise for params "first_mova" and "new_mova".
21162         Strengthen param "first_mova" from rtx * to rtx_insn **.
21163         (mova_p): Likewise for param "insn".
21164         (fixup_mova): Likewise for param "mova".
21165         (find_barrier): Likewise for return type, params "mova" and
21166         "from", and locals "barrier_before_mova", "found_barrier",
21167         "good_barrier", "orig", "last_symoff", "next".  Strengthen local
21168         "label" from rtx to rtx_code_label *.
21169         (sh_loop_align): Strengthen locals "first", "insn", "mova" from
21170         rtx to rtx_insn *.
21171         (sh_reorg): Likewise for locals "link", "scan", "barrier".
21172         (split_branches): Likewise for param "first" and local "insn".
21173         (final_prescan_insn): Likewise for param "insn".
21174         (sequence_insn_p): Likewise for locals "prev", "next".
21175         (sh_insn_length_adjustment): Likewise for param "insn".
21176         (sh_can_redirect_branch): Likewise for local "insn".
21177         (find_r0_life_regions): Likewise for locals "end", "insn".
21178         (sh_output_mi_thunk): Likewise for local "insns".
21180 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21182         * config/score/score.c (score_output_mi_thunk): Strengthen local
21183         "insn" from rtx to rtx_insn *.
21184         (score_prologue): Likewise.
21186 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21188         * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param
21189         1 from rtx to rtx_insn *.
21190         (s390_emit_jump): Likewise for return type.
21191         (s390_emit_call): Likewise.
21192         (s390_load_got): Likewise.
21194         * config/s390/s390.c (last_scheduled_insn): Likewise for this
21195         variable.
21196         (s390_match_ccmode): Likewise for param "insn".
21197         (s390_emit_jump): Likewise for return type.
21198         (s390_split_branches): Likewise for local "label".
21199         (struct constant): Strengthen field "label" from rtx to
21200         rtx_code_label *.
21201         (struct constant_pool): Likewise for field "label".  Strengthen
21202         fields "first_insn", "pool_insn", "emit_pool_after" from rtx to
21203         rtx_insn *.
21204         (s390_alloc_pool): Replace NULL_RTX with NULL when dealing with
21205         insns.
21206         (s390_start_pool): Strengthen param "insn" from rtx to rtx_insn *.
21207         (s390_end_pool): Likewise.
21208         (s390_dump_pool): Likewise for local "insn".
21209         (s390_mainpool_start): Likewise.
21210         (s390_chunkify_start): Likewise.
21211         (s390_chunkify_start): Replace NULL_RTX with NULL when dealing
21212         with insns.  Strengthen locals "label", "jump", "barrier", "next",
21213         "prev", "vec_insn", "insn" from rtx to rtx_insn *.
21214         (s390_chunkify_finish): Strengthen local "insn" from rtx to
21215         rtx_insn *.
21216         (s390_chunkify_cancel): Likewise for locals "insn", "barrier",
21217         "jump", "label", "next_insn".
21218         (s390_regs_ever_clobbered): Likewise for local "cur_insn".
21219         (s390_optimize_nonescaping_tx): Likewise for locals "insn",
21220         "tbegin_insn".
21221         (s390_load_got): Likewise for return type and local "insns".
21222         (s390_save_gprs_to_fprs): Likewise for local "insn".
21223         (s390_restore_gprs_from_fprs): Likewise.
21224         (pass_s390_early_mach::execute): Likewise.
21225         (s390_emit_prologue): Likewise for local "insns".
21226         (s390_expand_tbegin): Strengthen local "leave_label" from rtx to
21227         rtx_code_label *.
21228         (s390_emit_call): Strengthen return type and local "insn" from
21229         rtx to rtx_insn *.
21230         (s390_emit_tpf_eh_return): Likewise for local "insn".
21231         (s390_optimize_prologue): Likewise for locals "insn", "new_insn",
21232         "next_insn", introducing locals "s_pat", "rpat" to allow this.
21233         (s390_fix_long_loop_prediction): Likewise for param "insn" and
21234         local "cur_insn".
21235         (s390_non_addr_reg_read_p): Likewise for param "insn".
21236         (find_cond_jump): Likewise for return type and param "insn".
21237         (s390_swap_cmp): Likewise for param "insn".
21238         (s390_z10_optimize_cmp): Likewise for param "insn" and locals
21239         "prev_insn", "next_insn".
21240         (s390_reorg): Likewise for locals "insn", "target".
21241         (s390_z10_prevent_earlyload_conflicts): Likewise for local "insn".
21242         (s390_sched_variable_issue): For now, rename param "insn" to
21243         "uncast_insn", introducing a checked cast.
21244         (s390_sched_init): Replace NULL_RTX with NULL when dealing with
21245         insn.
21246         (s390_loop_unroll_adjust): Strengthen local "insn" from rtx to
21247         rtx_insn *.  Use for_each_rtx_in_insn rather than for_each_rtx.
21249 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21251         * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first
21252         param from rtx to rtx_insn *.
21253         * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn".
21255 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21257         * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param
21258         4 from rtx to rtx_insn *.
21259         (rs6000_final_prescan_insn): Likewise for first param.
21260         * config/rs6000/rs6000.c (rs6000_emit_set_const): Likewise for
21261         local "insn".
21262         (rs6000_get_some_local_dynamic_name): Likewise.
21263         (output_cbranch): Likewise for param "insn".
21264         (spe_func_has_64bit_regs_p): Likewise for locals "insns", "insn".
21265         (rs6000_function_ok_for_sibcall): Likewise for locals "top", "insn".
21266         (rs6000_emit_allocate_stack): Likewise for local "insn".
21267         (load_cr_save): Likewise.
21268         (restore_saved_cr): Likewise.
21269         (restore_saved_lr): Likewise.
21270         (emit_cfa_restores): Likewise.
21271         (rs6000_output_function_epilogue): Likewise for locals "insn" and
21272         "deleted_debug_label".
21273         (rs6000_output_mi_thunk): Likewise for local "insn".
21274         (rs6000_final_prescan_insn): Likewise for param "insn".
21276 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21278         * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
21279         Strengthen param "insn" from rtx to rtx_insn *.
21280         * config/picochip/picochip.c (picochip_current_prescan_insn):
21281         Likewise for this variable.
21282         (picochip_final_prescan_insn): Likewise for param "insn".
21284 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21286         * config/pa/pa-protos.h (pa_output_call): Strengthen first param
21287         from rtx to rtx_insn *.
21288         (pa_output_indirect_call): Likewise.
21289         (pa_adjust_insn_length): Likewise.
21290         (pa_attr_length_millicode_call): Likewise.
21291         (pa_attr_length_call): Likewise.
21292         (pa_attr_length_indirect_call): Likewise.
21294         * config/pa/pa.c (pa_adjust_insn_length): Likewise for param
21295         "insn".
21296         (pa_attr_length_millicode_call): Likewise.
21297         (pa_attr_length_call): Likewise.
21298         (pa_output_call): Likewise.
21299         (pa_attr_length_indirect_call): Likewise.
21300         (pa_output_indirect_call): Likewise.
21302 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21304         * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
21305         Strengthen first param from rtx to rtx_insn *.
21306         * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
21307         param "insn".
21309 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21311         * config/mips/mips-protos.h (mips_emit_move): Strengthen return
21312         type from rtx to rtx_insn *.
21313         (mips_expand_call): Likewise.
21314         (mips_adjust_insn_length): Likewise for first param.
21315         (mips_output_conditional_branch): Likewise.
21316         (mips_output_order_conditional_branch): Likewise.
21317         (mips_final_prescan_insn): Likewise.
21319         * config/mips/mips.c (SEQ_BEGIN): For now, add checked cast to
21320         rtx_insn * for the SEQUENCE case.
21321         (SEQ_END): Likewise.
21322         (mips_emit_move): Strengthen return type from rtx to rtx_insn *.
21323         (mips_emit_call_insn): Likewise, also for local "insn".
21324         (mips16_gp_pseudo_reg): Likewise for local "scan".
21325         (mips16_build_call_stub): Likewise for return type and for local
21326         "insn".  Introduce a new local "pattern" so that "insn" can indeed
21327         be an insn.
21328         (mips_expand_call): Strengthen return type and local "insn" from
21329         rtx to rtx_insn *.
21330         (mips_block_move_loop): Strengthen local "label" from rtx to
21331         rtx_code_label *.
21332         (mips_expand_synci_loop): Likewise for locals "label",
21333         "end_label".
21334         (mips_set_frame_expr): Strengthen local "insn" from rtx to
21335         rtx_insn *.
21336         (mips16e_collect_argument_saves): Likewise for locals "insn",
21337         "next".
21338         (mips_find_gp_ref): Likewise for param of callback for "pred"
21339         param, and for local "insn".
21340         (mips_insn_has_inflexible_gp_ref_p): Likewise for param "insn".
21341         (mips_insn_has_flexible_gp_ref_p): Likewise.
21342         (mips_epilogue_emit_cfa_restores): Likewise for return type and
21343         local "insn".
21344         (mips_epilogue_set_cfa): Likewise for local "insn".
21345         (mips_expand_epilogue): Likewise.
21346         (mips_adjust_insn_length): Likewise for param "insn".
21347         (mips_output_conditional_branch): Likewise.
21348         (mips_output_order_conditional_branch): Likewise.
21349         (struct mips_ls2): Likewise for fields "alu1_turn_enabled_insn",
21350         "alu2_turn_enabled_insn", "falu1_turn_enabled_insn",
21351         "falu2_turn_enabled_insn".
21352         (mips_builtin_branch_and_move): Strengthen locals "true_label",
21353         "done_label" from rtx to rtx_code_label *.
21354         (struct mips16_constant): Likewise for field "label".
21355         (mips16_add_constant): Likewise for return type.
21356         (mips16_emit_constants_1): Strengthen return type and param "insn"
21357         from rtx to rtx_insn *.
21358         (mips16_emit_constants): Likewise for param "insn".
21359         (mips16_insn_length): Likewise.
21360         (mips16_rewrite_pool_constant): Strengthen local "label" from rtx
21361         to rtx_code_label *.
21362         (struct mips16_rewrite_pool_refs_info): Strengthen field "insn"
21363         from rtx to rtx_insn *.
21364         (mips16_lay_out_constants): Likewise for locals "insn", "barrier",
21365         "jump".  Strengthen local "label" from rtx to rtx_code_label *.
21366         (r10k_simplify_address): Strengthen param "insn" and local
21367         "def_insn" from rtx to rtx_insn *.
21368         (r10k_safe_address_p): Strengthen param "insn" from rtx to
21369         rtx_insn *.
21370         (r10k_needs_protection_p_1): Update target type of cast of data
21371         from to rtx to rtx_insn *.
21372         (r10k_needs_protection_p_store): Strengthen local "insn_ptr" from
21373         rtx * to rtx_insn **.
21374         (r10k_needs_protection_p): Strengthen param "insn" from rtx to
21375         rtx_insn *.
21376         (r10k_insert_cache_barriers): Likewise for locals "insn", "end".
21377         (mips_call_expr_from_insn): Likewise for param "insn".
21378         (mips_pic_call_symbol_from_set): Likewise for local "def_insn".
21379         (mips_find_pic_call_symbol): Likewise for param "insn".
21380         (mips_annotate_pic_calls): Likewise for local "insn".
21381         (mips_sim_insn): Likewise for this variable.
21382         (struct mips_sim): Likewise for field "insn" within elements of
21383         last_set array.
21384         (mips_sim_wait_reg): Likewise for param "insn".
21385         (mips_sim_wait_regs): Likewise.
21386         (mips_sim_wait_units): Likewise.
21387         (mips_sim_wait_insn): Likewise.
21388         (mips_sim_issue_insn): Likewise.
21389         (mips_sim_finish_insn): Likewise.
21390         (mips_seq_time): Likewise for param "seq" and local "insn".
21391         (vr4130_avoid_branch_rt_conflict): Likewise for param "insn" and
21392         locals "first", "second".
21393         (vr4130_align_insns): Likewise for locals "insn", "subinsn",
21394         "last", "last2", "next".
21395         (mips_avoid_hazard): Likewise for params "after", "insn".
21396         (mips_reorg_process_insns): Likewise for locals "insn",
21397         "last_insn", "subinsn", "next_insn".
21398         (mips_has_long_branch_p): Likewise for locals "insn", "subinsn".
21399         (mips16_split_long_branches): Likewise for locals "insn" "jump",
21400         "jump_sequence".
21401         (mips_output_mi_thunk): Likewise for local "insn".
21402         (mips_final_prescan_insn): Likewise for param "insn".
21404 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21406         * config/microblaze/microblaze.c (microblaze_call_tls_get_addr):
21407         Strengthen return type and local "insns" from rtx to rtx_insn *.
21408         (microblaze_legitimize_tls_address): Likewise for local "insns".
21409         (microblaze_block_move_loop): Strengthen local "label" from rtx
21410         to rtx_code_label *.
21411         (microblaze_expand_prologue): Strengthen two locals named "insn"
21412         from rtx to rtx_insn *.
21413         (microblaze_asm_output_mi_thunk): Likewise for local "insn".
21414         (microblaze_expand_divide): Likewise for locals "jump", "cjump",
21415         "insn".  Strengthen locals "div_label", "div_end_label" from rtx
21416         to rtx_code_label *.
21418 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21420         * config/mep/mep-protos.h (mep_mulr_source): Strengthen first
21421         param from rtx to rtx_insn *.
21422         (mep_reuse_lo): Likewise for third param.
21423         (mep_use_post_modify_p): Likewise for first param.
21424         (mep_core_address_length): Likewise.
21425         (mep_cop_address_length): Likewise.
21426         (mep_final_prescan_insn): Likewise.
21427         (mep_store_data_bypass_p): Likewise for both params.
21428         (mep_mul_hilo_bypass_p): Likewise.
21429         (mep_ipipe_ldc_p): Likewise for param.
21431         * config/mep/mep.c (mep_mulr_source): Likewise for param "insn".
21432         (mep_rewrite_mult): Likewise.
21433         (mep_rewrite_mulsi3): Likewise.
21434         (mep_rewrite_maddsi3): Likewise.
21435         (mep_reuse_lo_p_1): Likewise.
21436         (mep_reuse_lo_p): Likewise.
21437         (mep_frame_expr): Likewise.
21438         (mep_make_parallel): Likewise for both params.
21439         (mep_use_post_modify_p_1): Likewise for param "set_insn" and
21440         local "insn".
21441         (mep_use_post_modify_p): Likewise for param "insn".
21442         (mep_core_address_length): Likewise.
21443         (mep_cop_address_length): Likewise.
21444         (mep_reg_set_in_function): Likewise for local "insn".
21445         (mep_asm_without_operands_p): Likewise.
21446         (F): Likewise for return type and param "x".
21447         (add_constant): Likewise for local "insn".
21448         (maybe_dead_move): Likewise for return type and local "insn".
21449         (mep_expand_prologue): Likewise for local "insn".
21450         (mep_final_prescan_insn): Likewise for param "insn".
21451         (mep_reorg_regmove): Likewise for param "insns" and locals "insn",
21452         "next", "follow", "x".
21453         (mep_insert_repeat_label_last): Likewise for return type, param
21454         "last_insn", and locals "next", "prev".  Strengthen param "label"
21455         from rtx to rtx_code_label *.
21456         (struct mep_doloop_begin): Strengthen field "insn" from rtx to
21457         rtx_insn *.
21458         (struct mep_doloop_end): Likewise for fields "insn" and
21459         "fallthrough".
21460         (mep_reorg_repeat): Likewise for param "insns" and local "insn".
21461         Strengthen local "repeat_label" from rtx to rtx_code_label *.
21462         (mep_invertable_branch_p): Strengthen param "insn" from rtx to
21463         rtx_insn *.
21464         (mep_invert_branch): Likewise for params "insn" and "after".
21465         (mep_reorg_erepeat): Likewise for param "insns" and locals
21466         "insn", "prev", "new_last", "barrier", "user".  Strengthen local
21467         "l" from rtx to rtx_code_label *.
21468         (mep_jmp_return_reorg): Strengthen param "insns" and local "insn"
21469         from rtx to rtx_insn *.
21470         (mep_reorg_addcombine): Likewise for param "insns" and locals
21471         "i", "n".
21472         (add_sp_insn_p): Likewise for param "insn".
21473         (mep_reorg_noframe): Likewise for param "insns" and locals
21474         "start_frame_insn", "end_frame_insn", "next".
21475         (mep_reorg): Likewise for local "insns".
21476         (mep_store_data_bypass_1): Likewise for param "prev".  Add checked
21477         cast.
21478         (mep_store_data_bypass_p): Likewise for params "prev", "insn".
21479         (mep_mul_hilo_bypass_p): Likewise.
21480         (mep_ipipe_ldc_p): Likewise for param "insn".
21481         (mep_make_bundle): Likewise for return type, param "cop" and local
21482         "insn", splitting out the latter into a new local "seq" for when it
21483         is a SEQUENCE rather than an insn.
21484         (core_insn_p): Likewise for param "insn".
21485         (mep_bundle_insns): Likewise for param "insns" and locals "insn",
21486         "last", "first", "note", "prev", "core_insn".
21488 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21490         * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
21491         rtx to rtx_insn *.
21492         (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
21493         (m68k_final_prescan_insn): Likewise for first param.
21495         * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
21496         (m68k_set_frame_related): Likewise for param "insn".
21497         (output_btst): Likewise for param "insn".
21498         (m68k_final_prescan_insn): Likewise.
21499         (m68k_move_to_reg): Likewise for local "insn".
21500         (m68k_call_tls_get_addr): Likewise for local "insns".
21501         (m68k_call_m68k_read_tp): Likewise.
21502         (strict_low_part_peephole_ok): Likewise for param "first_insn".
21503         (m68k_output_mi_thunk): Likewise for local "insn".
21505 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21507         * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
21508         first param from rtx to rtx_insn *.
21509         (iq2000_adjust_insn_length): Likewise.
21510         (iq2000_output_conditional_branch): Likewise.
21511         * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
21512         "insn" and local "nop_insn".
21513         (iq2000_annotate_frame_insn): Likewise for param "insn".
21514         (iq2000_expand_prologue): Likewise for both locals "insn".
21515         (iq2000_adjust_insn_length): Likewise for param "insn".
21516         (iq2000_output_conditional_branch): Likewise.
21518 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21520         * config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
21521         "insns" from rtx to rtx_insn *.
21522         (ia64_emit_cond_move): Likewise for locals "insn", "first".
21523         (struct spill_fill_data): Likewise for field "init_after" and for
21524         elements of array field "prev_insn".
21525         (spill_restore_mem): Likewise for locals "insn", "first".
21526         (do_spill): Likewise for local "insn".
21527         (do_restore): Likewise.
21528         (ia64_expand_prologue): Likewise.
21529         (ia64_expand_epilogue): Likewise.
21530         (emit_insn_group_barriers): Likewise for locals "insn",
21531         "last_label".
21532         (emit_all_insn_group_barriers): Likewise for locals "insn",
21533         "last".
21534         (dfa_stop_insn): Likewise for this global.
21535         (dfa_pre_cycle_insn): Likewise.
21536         (ia64_nop): Likewise.
21537         (final_emit_insn_group_barriers): Likewise for locals "insn",
21538         "last".
21539         (emit_predicate_relation_info): Likewise for locals "head", "n",
21540         "insn", "b", "a".
21541         (ia64_reorg): Likewise for local "insn".
21542         (ia64_output_mi_thunk): Likewise.
21543         (expand_vec_perm_interleave_2): Likewise for local "seq".
21545 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21547         * config/i386/i386-protos.h (ix86_avoid_lea_for_add): Strengthen
21548         param 1 "insn" from rtx to rtx_insn *.
21549         (ix86_use_lea_for_mov): Likewise.
21550         (ix86_avoid_lea_for_addr): Likewise.
21551         (ix86_split_lea_for_addr): Likewise.
21552         (ix86_lea_for_add_ok): Likewise.
21553         (ix86_output_call_insn): Likewise.
21555         * config/i386/i386.c (ix86_va_start): Likewise for local "seq".
21556         (ix86_get_drap_rtx): Likewise for locals "seq", "insn".
21557         (ix86_output_function_epilogue): Likewise for locals "insn",
21558         "deleted_debug_label".
21559         (legitimize_tls_address): Likewise for local "insn".
21560         (get_some_local_dynamic_name): Likewise.
21561         (increase_distance): Likewise for params "prev", "next".
21562         (distance_non_agu_define_in_bb): Likewise for params "insn",
21563         "start" and locals "prev", "next".
21564         (distance_non_agu_define): Likewise for param "insn".
21565         (distance_agu_use_in_bb): Likewise for params "insn", "start" and
21566         locals "next", "prev".
21567         (distance_agu_use): Likewise for param "insn".
21568         (ix86_lea_outperforms): Likewise.
21569         (ix86_ok_to_clobber_flags): Likewise.
21570         (ix86_avoid_lea_for_add): Likewise.
21571         (ix86_use_lea_for_mov): Likewise.
21572         (ix86_avoid_lea_for_addr): Likewise.
21573         (find_nearest_reg_def): Likewise, also for locals "prev", "start".
21574         (ix86_split_lea_for_addr): Likewise for param "insn".
21575         (ix86_lea_for_add_ok): Likewise for param "insn".
21576         (ix86_expand_carry_flag_compare): Likewise for local
21577         "compare_seq".
21578         (ix86_expand_int_movcc): Likewise.
21579         (ix86_output_call_insn): Likewise for param "insn".
21580         (ix86_output_call_insn): Likewise for local "i".
21581         (x86_output_mi_thunk): Introduce local "insn", using it in place
21582         of "tmp" when dealing with insns.
21583         (ix86_avoid_jump_mispredicts): Likewise for locals "insn",
21584         "start".
21585         (ix86_pad_returns): Likewise for locals "ret", "prev".
21586         (ix86_count_insn_bb): Likewise for local "insn".
21587         (ix86_pad_short_function): Likewise for locals "ret", "insn".
21588         (ix86_seh_fixup_eh_fallthru): Likewise for locals "insn", "next".
21589         (ix86_vector_duplicate_value): Likewise for local "insn", "seq".
21590         (expand_vec_perm_interleave2): Likewise for local "seq".
21591         (expand_vec_perm_vperm2f128_vblend): Likewise.
21592         (ix86_loop_unroll_adjust): Likewise for local "insn".  Convert
21593         call to for_each_rtx with for_each_rtx_in_insn.
21595 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21597         * config/i386/i386.c (setup_incoming_varargs_64): Strengthen local
21598         "label" from rtx to rtx_code_label *.
21599         (ix86_expand_prologue): Likewise.
21600         (ix86_expand_split_stack_prologue): Likewise for locals "label",
21601         "varargs_label".
21602         (ix86_split_idivmod): Likewise for locals "end_label" and
21603         "qimode_label".
21604         (ix86_expand_branch): Likewise for local "label2".
21605         (ix86_expand_aligntest): Likewise for return type and local "label".
21606         (expand_set_or_movmem_via_loop): Likewise for locals "out_label" and
21607         "top_label".
21608         (expand_movmem_epilogue): Likewise for the various locals named
21609         "label".
21610         (expand_setmem_epilogue): Likewise.
21611         (expand_small_movmem_or_setmem): Likewise for local "label".
21612         (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
21613         Strengthen param "done_label" from rtx * to rtx_code_label **.
21614         Strengthen locals "loop_label" and "label" from rtx to
21615         rtx_code_label *.
21616         (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
21617         Likewise for locals "loop_label", "label".
21618         (ix86_expand_set_or_movmem): Likewise for locals "label",
21619         "jump_around_label", "hot_label".
21620         (ix86_expand_strlensi_unroll_1): Likewise for locals
21621         "align_2_label", align_3_label", "align_4_label", "end_0_label",
21622         "end_2_label".
21623         (x86_emit_floatuns): Likewise for locals "neglab", "donelab".
21624         (void ix86_emit_i387_log1p): Likewise for locals "label1",
21625         "label2", "jump_label".
21626         (ix86_expand_sse_compare_and_jump): Likewise for return type and
21627         local "label".
21628         (ix86_expand_lfloorceil): Likewise for local "label".
21629         (ix86_expand_rint): Likewise.
21630         (ix86_expand_floorceildf_32): Likewise.
21631         (ix86_expand_floorceil): Likewise.
21632         (ix86_expand_rounddf_32): Likewise.
21633         (ix86_expand_trunc): Likewise.
21634         (ix86_expand_truncdf_32): Likewise.
21635         (ix86_expand_round): Likewise.
21637 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21639         * config/h8300/h8300-protos.h (final_prescan_insn): Strengthen
21640         first param from rtx to rtx_insn *.
21641         (h8300_insn_length_from_table): Likewise.
21642         * config/h8300/h8300.c (F): Likewise for return type and param
21643         "x".
21644         (Fpa): Add a checked cast to rtx_insn *.
21645         (h8300_emit_stack_adjustment): Strengthen local "x" from rtx to
21646         rtx_insn *.
21647         (final_prescan_insn): Likewise for param "insn".
21648         (h8300_binary_length): Likewise.
21649         (h8300_insn_length_from_table): Likewise.
21651 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21653         * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn):
21654         Strengthen first param "insn" from rtx to rtx_insn *.
21656         * config/epiphany/epiphany.c (epiphany_final_prescan_insn):
21657         Likewise.
21658         (frame_insn): Likewise for return type.  Introduce local "insn"
21659         for use in place of local "x" for use as an rtx_insn *.
21660         (frame_move_insn): Strengthen return type from rtx to rtx_insn *.
21661         (epiphany_expand_prologue): Likewise for local "insn".
21662         * config/epiphany/mode-switch-use.c (insert_uses): Likewise.
21663         * config/epiphany/resolve-sw-modes.c
21664         (pass_resolve_sw_modes::execute): Likewise for locals "insn" and
21665         "seq".
21667 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21669         * config/c6x/c6x-protos.h (c6x_get_unit_specifier): Strengthen
21670         param from rtx to rtx_insn *.
21671         (c6x_final_prescan_insn): Likewise for first param.
21673         * config/c6x/c6x.c (c6x_current_insn): Likewise for this variable.
21674         (c6x_output_mi_thunk): Replace use of NULL_RTX with NULL.
21675         (c6x_expand_compare): Strengthen local "insns" from rtx to
21676         rtx_insn *.
21677         (c6x_get_unit_specifier): Likewise for param "insn".
21678         (c6x_print_unit_specifier_field): Likewise.
21679         (c6x_final_prescan_insn): Likewise.
21680         (emit_add_sp_const): Likewise for local "insn".
21681         (c6x_expand_prologue): Likewise.
21683 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21685         * config/bfin/bfin-protos.h (asm_conditional_branch): Strengthen
21686         param 1 from rtx to rtx_insn *.
21687         * config/bfin/bfin.c (expand_prologue_reg_save): Likewise for
21688         the various locals named "insn".
21689         (expand_epilogue_reg_restore): Likewise.
21690         (frame_related_constant_load): Likewise.
21691         (add_to_reg): Likewise.
21692         (emit_link_insn): Likewise.
21693         (do_link): Likewise.
21694         (expand_interrupt_handler_prologue): Likewise.
21695         (branch_dest): Likewise for param "branch".
21696         (asm_conditional_branch): Likewise for param "insn".
21697         (gen_one_bundle): Likewise for elements of param "slot" and local
21698         "t".
21699         (bfin_gen_bundles): Likewise for locals "insn", "next" and
21700         elements of local "slot".
21701         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
21702         "queue", "next_queue", "prev".
21703         (workaround_rts_anomaly): Likewise for locals "insn", "first_insn".
21704         (add_sched_insns_for_speculation): Likewise for local "insn".
21706 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21708         * config/avr/avr-protos.h (output_movqi): Strengthen first param
21709         from rtx to rtx_insn *.
21710         (output_movhi): Likewise.
21711         (output_movsisf): Likewise.
21712         (avr_out_tstsi): Likewise.
21713         (avr_out_tsthi): Likewise.
21714         (avr_out_tstpsi): Likewise.
21715         (avr_out_compare): Likewise.
21716         (avr_out_compare64): Likewise.
21717         (avr_out_movpsi): Likewise.
21718         (ashlqi3_out): Likewise.
21719         (ashlhi3_out): Likewise.
21720         (ashlsi3_out): Likewise.
21721         (ashrqi3_out): Likewise.
21722         (ashrhi3_out): Likewise.
21723         (ashrsi3_out): Likewise.
21724         (lshrqi3_out): Likewise.
21725         (lshrhi3_out): Likewise.
21726         (lshrsi3_out): Likewise.
21727         (avr_out_ashlpsi3): Likewise.
21728         (avr_out_ashrpsi3): Likewise.
21729         (avr_out_lshrpsi3): Likewise.
21730         (avr_out_fract): Likewise.
21731         (avr_out_sbxx_branch): Likewise.
21732         (avr_out_round): Likewise.
21733         (avr_out_xload): Likewise.
21734         (avr_out_movmem): Likewise.
21735         (adjust_insn_length): Likewise.
21736         (avr_out_lpm): Likewise.
21737         (reg_unused_after): Likewise.
21738         (_reg_unused_after): Likewise.
21739         (avr_jump_mode): Likewise for second param.
21740         (jump_over_one_insn): Likewise for first param.
21741         (avr_final_prescan_insn): Likewise.
21742         (out_shift_with_cnt): Likewise for second param.
21744         * config/avr/avr.c (get_sequence_length): Likewise for param
21745         "insns" and local "insn".
21746         (emit_push_byte): Likewise for local "insn".
21747         (emit_push_sfr): Likewise.
21748         (avr_prologue_setup_frame): Likewise for locals "insn",
21749         "fp_plus_insns", "sp_plus_insns".
21750         (avr_expand_epilogue): Likewise for local "fp_plus_insns",
21751         "sp_plus_insns".
21752         (avr_jump_mode): Likewise for param "insn".
21753         (avr_final_prescan_insn): Likewise.
21754         (avr_find_unused_d_reg): Likewise.
21755         (avr_out_lpm_no_lpmx): Likewise.
21756         (avr_out_lpm): Likewise.
21757         (avr_out_xload): Likewise.
21758         (output_movqi): Likewise.
21759         (output_movhi): Likewise.
21760         (out_movqi_r_mr): Likewise.
21761         (out_movhi_r_mr): Likewise.
21762         (out_movsi_r_mr): Likewise.
21763         (out_movsi_mr_r): Likewise.
21764         (output_movsisf): Likewise.
21765         (avr_out_load_psi): Likewise.
21766         (avr_out_store_psi): Likewise.
21767         (avr_out_movpsi): Likewise.
21768         (out_movqi_mr_r): Likewise.
21769         (avr_out_movhi_mr_r_xmega): Likewise.
21770         (out_movhi_mr_r): Likewise.
21771         (compare_condition): Likewise for param "insn" and local "next".
21772         (compare_sign_p): Likewise for param "insn".
21773         (compare_diff_p): Likewise.
21774         (compare_eq_p): Likewise.
21775         (avr_out_compare): Likewise.
21776         (avr_out_compare64): Likewise.
21777         (avr_out_tsthi): Likewise.
21778         (avr_out_tstpsi): Likewise.
21779         (avr_out_tstsi): Likewise.
21780         (out_shift_with_cnt): Likewise.
21781         (ashlqi3_out): Likewise.
21782         (ashlhi3_out): Likewise.
21783         (avr_out_ashlpsi3): Likewise.
21784         (ashlsi3_out): Likewise.
21785         (ashrqi3_out): Likewise.
21786         (ashrhi3_out): Likewise.
21787         (avr_out_ashrpsi3): Likewise.
21788         (ashrsi3_out): Likewise.
21789         (lshrqi3_out): Likewise.
21790         (lshrhi3_out): Likewise.
21791         (avr_out_lshrpsi3): Likewise.
21792         (lshrsi3_out): Likewise.
21793         (avr_out_fract): Likewise.
21794         (avr_out_round): Likewise.
21795         (avr_adjust_insn_length): Likewise.
21796         (reg_unused_after): Likewise.
21797         (_reg_unused_after): Likewise.
21798         (avr_compare_pattern): Likewise.
21799         (avr_reorg_remove_redundant_compare): Likewise for param "insn1"
21800         and locals "branch1", "branch2", "insn2", "jump".
21801         (avr_reorg): Likewise for local "insn".
21802         (avr_2word_insn_p): Likewise for param "insn".
21803         (jump_over_one_insn_p): Likewise.
21804         (avr_out_sbxx_branch): Likewise.
21805         (avr_out_movmem): Likewise.
21807 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21809         * config/arm/arm-protos.h (arm_final_prescan_insn): Strengthen
21810         param from rtx to rtx_insn *.
21811         (thumb1_final_prescan_insn): Likewise.
21812         (thumb2_final_prescan_insn): Likewise.
21814         * config/arm/arm.c (emit_set_insn): Strengthen return type from
21815         rtx to rtx_insn *.
21816         (struct minipool_node): Likewise for field "insn".
21817         (dump_minipool): Likewise for param "scan".
21818         (create_fix_barrier): Likewise for local "from".  Strengthen local
21819         "label" from rtx to rtx_code_label *.
21820         (push_minipool_barrier): Strengthen param "insn" from rtx to
21821         rtx_insn *.
21822         (push_minipool_fix): Likewise.
21823         (note_invalid_constants): Likewise.
21824         (thumb2_reorg): Likewise for local "insn".
21825         (arm_reorg): Likewise.
21826         (thumb2_final_prescan_insn): Likewise for param
21827         "insn" and local "first_insn".
21828         (arm_final_prescan_insn): Likewise for param "insn" and locals
21829         "start_insn", "this_insn".
21830         (arm_debugger_arg_offset): Likewise for param "insn".
21831         (thumb1_emit_multi_reg_push): Likewise for return type and local
21832         "insn".
21833         (thumb1_final_prescan_insn): Likewise for param "insn".
21834         (thumb_far_jump_used_p): Likewise for local "insn".
21835         (thumb1_expand_prologue): Likewise.
21836         (arm_expand_epilogue_apcs_frame): Likewise.
21837         (arm_expand_epilogue): Likewise for locals "insn", "tmp".
21838         (arm_split_compare_and_swap): Strengthen locals "label1", "label2"
21839         from rtx to rtx_code_label *.
21840         (arm_split_atomic_op): Likewise for local "label".
21841         (arm_emit_coreregs_64bit_shift): Likewise for local "done_label".
21843 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21845         * config/arc/arc-protos.h (arc_final_prescan_insn): Strengthen
21846         first param from rtx to rtx_insn *.
21847         (arc_verify_short): Likewise.
21848         (arc_short_long): Likewise.
21849         (arc_need_delay): Likewise.
21851         * config/arc/arc.c (struct arc_ccfsm): Likewise for field
21852         "target_insn".
21853         (arc_ccfsm_advance): Likewise for param "insn" and locals
21854         "start_insn", "this_insn".
21855         (arc_ccfsm_record_condition): Likewise for local "seq_insn".
21856         (arc_ccfsm_post_advance): Likewise for param "insn".
21857         (arc_next_active_insn): Likewise for return type and param "insn".
21858         Convert NULL_RTX to NULL as appropriate.  Add a checked cast.
21859         (arc_verify_short): Strengthen param "insn" from rtx to rtx_insn *.
21860         (output_short_suffix): Likewise for local "insn".
21861         (arc_final_prescan_insn): Likewise for param "insn".  Remove
21862         now-redundant checked cast.
21863         (arc_reorg): Strengthen locals "insn", "top_label", "lp", "prev",
21864         "lp_simple", "next", "mov", "scan", "link_insn" from rtx to
21865         rtx_insn *.  Add a checked cast.  Introduce local "lc_set_insn"
21866         for use where lc_set became an insn.
21867         (arc_adjust_insn_length): Strengthen locals "prev", "succ" from
21868         rtx to rtx_insn *.
21869         (arc_get_insn_variants): Likewise for local "prev".
21870         (arc_ifcvt): Likewise for locals "insn", "seq", "prev", "pprev",
21871         "next".
21872         (arc_predicate_delay_insns): Likewise for local "insn".
21873         (arc_pad_return): Likewise for local "prev".  For now, add a
21874         checked cast when extracting the insn from "final_sequence".
21875         (arc_short_long): Likewise for param "insn".
21876         (arc_need_delay): Likewise for param "insn" and local "next".
21877         (arc_label_align): Likewise for locals "prev", "next".
21879 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21881         * config/alpha/alpha.c (alpha_emit_set_const): Strengthen local
21882         "insn" from rtx to rtx_insn *.
21883         (alpha_gp_save_rtx): Likewise for local "seq".
21884         (alpha_instantiate_decls): Likewise for local "top".
21885         (get_some_local_dynamic_name): Likewise for local "insn".
21886         (alpha_does_function_need_gp): Likewise.
21887         (set_frame_related_p): Likewise for return type and for locals
21888         "seq" and "insn".
21889         (emit_frame_store_1): Likewise for local "insn".
21890         (alpha_expand_prologue): Likewise for locals "insn", "seq".
21891         (alpha_end_function): Likewise for local "insn".
21892         (alpha_output_mi_thunk_osf): Likewise.
21893         (alphaev4_insn_pipe): Likewise for param "insn".
21894         (alphaev5_insn_pipe): Likewise.
21895         (alphaev4_next_group): Likewise for return type and param 1
21896         "insn".
21897         (alphaev5_next_group): Likewise.
21898         (alpha_align_insns_1): Likewise for return type and param 1 of
21899         callback param "next_group", and for locals "i", "next", "prev",
21900         "where", "where2", "insn".
21902 2014-08-25  Bernd Schmidt  <bernds@codesourcery.com>
21904         * tree-nested.c (finalize_nesting_tree_1): Initialize temporary earlier
21905         rather than modifying the stmt.
21907 2014-08-25  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
21909         * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from
21910         cgraph_state conversion.
21912 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
21914         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
21915         Strengthen local "insns" from rtx to rtx_insn *.
21916         (aarch64_set_frame_expr): Likewise for local "insn".
21917         (aarch64_save_or_restore_fprs): Likewise.
21918         (aarch64_save_or_restore_callee_save_registers): Likewise.
21919         (aarch64_expand_prologue): Likewise.
21920         (aarch64_expand_epilogue): Likewise.
21921         (aarch64_output_mi_thunk): Likewise.
21922         (aarch64_split_compare_and_swap): Strengthen locals "label1" and
21923         "label2" from rtx to rtx_code_label *.
21924         (aarch64_split_atomic_op): Likewise for local "label".
21926 2014-08-25  Martin Liska  <mliska@suse.cz>
21928         * cgraph.h (symtab_node):
21929         (bool needed_p (void)): created from decide_is_symbol_needed
21930         (bool referred_to_p (void)): created from referred_to_p
21931         (static cgraph_node *get_for_asmname (tree asmname)): created from symtab_node_for_asm
21932         * cgraph.h (cgraph_node):
21933         (void assemble_thunks_and_aliases (void)): created from assemble_thunks_and_aliases
21934         (void expand (void)): created from expand_function
21935         (static void finalize_function (tree, bool)): created from cgraph_finalize_function
21936         (static cgraph_local_info *local_info (tree decl)): created from cgraph_local_info
21937         (static cgraph_global_info *global_info (tree)): created from cgraph_global_info
21938         (static cgraph_rtl_info *rtl_info (tree)): created from cgraph_rtl_info
21939         * cgraph.h (varpool_node):
21940         (static void add (tree decl): created from varpool_add_new_variable
21941         * cgraph.h (cgraph_edge):
21942         void remove (void);
21943         (void remove_caller (void)): created from cgraph_edge_remove_caller
21944         (void remove_callee (void)): created from cgraph_edge_remove_callee
21945         (void set_call_stmt (gimple new_stmt, bool update_speculative = true)):
21946           created from cgraph_set_call_stmt
21947         (void redirect_callee (cgraph_node *n)): created from cgraph_redirect_edge_callee
21948         (cgraph_edge *make_direct (cgraph_node *callee)): created from cgraph_make_edge_direct
21949         (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count,
21950           gimple redirect_call_stmt_to_callee (void)): created from cgraph_turn_edge_to_speculative
21951         (void speculative_call_info (cgraph_edge *&direct, cgraph_edge *&indirect, ipa_ref *&reference)):
21952           created from cgraph_speculative_call_info
21953         (cgraph_edge * clone (cgraph_node *n, gimple call_stmt, unsigned stmt_uid, gcov_type count_scale,
21954           int freq_scale, bool update_original)): created from cgraph_clone_edge
21955         (cgraph_edge *resolve_speculation (tree callee_decl)): created from cgraph_resolve_speculation
21956         (bool cannot_lead_to_return_p (void)): created from cannot_lead_to_return_p
21957         (bool recursive_p (void)): created from cgraph_edge_recursive_p
21958         (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p
21959         (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges
21960         (static void rebuild_references (void)): created from cgraph_rebuild_references
21961         * cgraph.h (symbol_table):
21962         (create_reference): renamed from add_reference
21963         (maybe_create_reference): renamed from maybe_add_reference
21964         (void register_symbol (symtab_node *node)): new function
21965         (void clear_asm_symbols (void)): new function
21966         (void unregister (symtab_node *node)): new function
21967         (void release_symbol (cgraph_node *node, int uid)): new function
21968         (cgraph_node * allocate_cgraph_symbol (void)): new function
21969         (void initialize (void)): created from cgraph_init
21970         (symtab_node *first_symbol (void)):new function
21971         (asm_node *first_asm_symbol (void)):new function
21972         (symtab_node *first_defined_symbol (void)):new function
21973         (varpool_node *first_variable (void)):new function
21974         (varpool_node *next_variable (varpool_node *node)):new function
21975         (varpool_node *first_static_initializer (void)):new function
21976         (varpool_node *next_static_initializer (varpool_node *node)):new function
21977         (varpool_node *first_defined_variable (void)):new function
21978         (varpool_node *next_defined_variable (varpool_node *node)):new function
21979         (cgraph_node *first_defined_function (void)):new function
21980         (cgraph_node *next_defined_function (cgraph_node *node)):new function
21981         (cgraph_node *first_function (void)):new function
21982         (cgraph_node *next_function (cgraph_node *node)):new function
21983         (cgraph_node *first_function_with_gimple_body (void)):new function
21984         (asm_node *finalize_toplevel_asm (tree asm_str)): created from add_asm_node
21985         (bool remove_unreachable_nodes (bool before_inlining_p, FILE *file)):
21986           created from symtab_remove_unreachable_nodes
21987         (void remove_unreferenced_decls (void)): created from varpool_remove_unreferenced_decls
21988         (void process_new_functions (void)): created from cgraph_process_new_functions
21989         (void process_same_body_aliases (void)): created from cgraph_process_same_body_aliases
21990         (bool output_variables (void)): created from varpool_node::output_variables
21991         (void output_asm_statements (void)): created from output_asm_statements
21992         (void finalize_compilation_unit (void)): created from finalize_compilation_unit
21993         (void compile (void)): created from compile
21994         (void output_weakrefs (void)): created from output_weakrefs
21995         (cgraph_node *create_empty (void)): created from cgraph_node::create_empty
21996         (cgraph_edge *create_edge (cgraph_node *caller, cgraph_node *callee, gimple call_stmt,
21997           gcov_type count, int freq, bool indir_unknown_callee)): created from cgraph_node::create_edge
21998         (void free_edge (cgraph_edge *e)): created from cgraph_free_edge
21999         (cgraph_node *next_function_with_gimple_body (cgraph_node *node)):
22000           created from cgraph_next_function_with_gimple_body
22001         (void remove_edge_removal_hook (cgraph_edge_hook_list *)):
22002           created from cgraph_remove_edge_removal_hook
22003         (cgraph_node_hook_list *add_cgraph_removal_hook (cgraph_node_hook, void *)):
22004           created from cgraph_add_node_removal_hook
22005         (void remove_cgraph_removal_hook (cgraph_node_hook_list *)):
22006           created from cgraph_remove_node_removal_hook
22007         (varpool_node_hook_list *add_varpool_removal_hook (varpool_node_hook, void *)):
22008           created from varpool_add_node_removal_hook
22009         (void remove_varpool_removal_hook (varpool_node_hook_list *)):
22010           created from varpool_remove_node_removal_hook
22011         (cgraph_node_hook_list *add_cgraph_insertion_hook (cgraph_node_hook, void *)):
22012           created from cgraph_add_function_insertion_hook
22013         (void remove_cgraph_insertion_hook (cgraph_node_hook_list *)):
22014           created from cgraph_remove_function_insertion_hook
22015         (varpool_node_hook_list *add_varpool_insertion_hook (varpool_node_hook, void *)):
22016           created from varpool_add_variable_insertion_hook
22017         (void remove_varpool_insertion_hook (varpool_node_hook_list *)):
22018           created from varpool_remove_variable_insertion_hook
22019         (cgraph_2edge_hook_list *add_edge_duplication_hook (cgraph_2edge_hook, void *)):
22020           created from cgraph_add_edge_duplication_hook
22021         (void remove_edge_duplication_hook (cgraph_2edge_hook_list *)):
22022           created from cgraph_remove_edge_duplication_hook
22023         (cgraph_2node_hook_list *add_cgraph_duplication_hook (cgraph_2node_hook, void *)):
22024           created from cgraph_add_node_duplication_hook
22025         (void remove_cgraph_duplication_hook (cgraph_2node_hook_list *)):
22026           created from cgraph_remove_node_duplication_hook
22027         (void call_edge_removal_hooks (cgraph_edge *e)):
22028           created from cgraph_call_edge_removal_hooks
22029         (void call_cgraph_insertion_hooks (cgraph_node *node)):
22030           created from call_function_insertion_hooks
22031         (void call_cgraph_removal_hooks (cgraph_node *node)):
22032           created from cgraph_call_node_removal_hooks
22033         (void call_cgraph_duplication_hooks (cgraph_node *node, cgraph_node *node2)):
22034           created from cgraph_node::call_duplication_hooks
22035         (void call_edge_duplication_hooks (cgraph_edge *cs1, cgraph_edge *cs2)):
22036           created from cgraph_call_edge_duplication_hooks
22037         (void call_varpool_removal_hooks (varpool_node *node)):
22038           created from varpool_call_node_removal_hooks
22039         (void call_varpool_insertion_hooks (varpool_node *node)):
22040           created from varpool_call_variable_insertion_hooks
22041         (void insert_to_assembler_name_hash (symtab_node *node, bool with_clones)):
22042           created from insert_to_assembler_name_hash
22043         (void unlink_from_assembler_name_hash (symtab_node *node, bool with_clones)):
22044           created from unlink_from_assembler_name_hash
22045         (void symtab_prevail_in_asm_name_hash (symtab_node *node)):
22046           created from symtab_prevail_in_asm_name_hash
22047         (void symtab_initialize_asm_name_hash (void)):
22048           created from symtab_initialize_asm_name_hash
22049         (void change_decl_assembler_name (tree decl, tree name)):
22050           created from change_decl_assembler_name
22051         (void materialize_all_clones (void)): created from cgraph_materialize_all_clones
22052         (static hashval_t decl_assembler_name_hash (const_tree asmname)):
22053           created from decl_assembler_name_hash
22054         (static bool decl_assembler_name_equal (tree decl, const_tree asmname)):
22055           created from decl_assembler_name_equal
22056         (static hashval_t hash_node_by_assembler_name (const void *p)):
22057           created from hash_node_by_assembler_name
22058         (static int eq_assembler_name (const void *p1, const void *p2)):
22059           created from eq_assembler_name
22061 2014-08-25  Marek Polacek  <polacek@redhat.com>
22063         * config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.
22065 2014-08-25  Petr Murzin  <petr.murzin@intel.com>
22067         * config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
22068         (*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
22069         SWI1248_AVX512BW mode iterator.
22071 2014-08-25  Kaz Kojima  <kkojima@gcc.gnu.org>
22073         PR target/62111
22074         * config/sh/predicates.md (general_extend_operand): Disable
22075         TRUNCATE before reload completes.
22077 2014-08-24  Gerald Pfeifer  <gerald@pfeifer.com>
22079         * doc/invoke.texi (Optimize Options): Fix markup in two cases.
22081 2014-08-24  Oleg Endo  <olegendo@gcc.gnu.org>
22083         PR target/61996
22084         * config/sh/sh.opt (musermode): Allow negative form.
22085         * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
22086         targets that don't support it.
22087         * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
22088         Document -mno-usermode option.
22090 2014-08-24  Kito Cheng  <kito@0xlab.org>
22092         * system.h (CALLER_SAVE_PROFITABLE): Poison.
22093         * regs.h (CALLER_SAVE_PROFITABLE): Remove.
22094         * doc/tm.texi.in (CALLER_SAVE_PROFITABLE): Remove.
22095         * doc/tm.texi: Regenerate.
22097 2014-08-24  Kito Cheng  <kito@0xlab.org>
22099         * ira.c: Fix typo in comment.
22101 2014-08-23  Edward Smith-Rowland  <3dw4rd@verizon.net>
22103         * doc/invoke.texi: Change c++1y to c++14 and gnu++1y to gnu++14.
22104         Deprecate c++1y. Change language to reflect greater confidence in C++14.
22106 2014-08-23  John David Anglin  <danglin@gcc.gnu.org>
22108         PR target/62038
22109         * config/pa/pa.c (pa_output_function_epilogue): Don't set
22110         last_address when the current function is a thunk.
22111         (pa_asm_output_mi_thunk): When we don't have named sections or they
22112         are not being used, check that thunk can reach the stub table with a
22113         short branch.
22115 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
22117         * web.c (union_match_dups): Strengthen param "insn" from rtx to
22118         rtx_insn *.
22119         (pass_web::execute): Likewise for local "insn".
22121 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
22123         * var-tracking.c (struct micro_operation_def): Strengthen field
22124         "insn" from rtx to rtx_insn *.
22125         (struct emit_note_data_def): Likewise.
22126         (insn_stack_adjust_offset_pre_post): Likewise for param "insn".
22127         (vt_stack_adjustments): Likewise for local "insn".
22128         (adjust_insn): Likewise for param "insn".
22129         (val_store): Likewise.
22130         (val_resolve): Likewise.
22131         (struct count_use_info): Likewise for field "insn".
22132         (log_op_type): Likewise for param "insn".
22133         (reverse_op): Likewise.
22134         (prepare_call_arguments): Likewise.
22135         (add_with_sets):  The initial param takes an insn, but we can't
22136         yet strengthen it from rtx to rtx_insn * since it's used as a
22137         cselib_record_sets_hook callback.  For now rename initial param
22138         from "insn" to "uncast_insn", and introduce a local "insn" of
22139         the stronger rtx_insn * type, with a checked cast.
22140         (compute_bb_dataflow): Strengthen local "insn" from rtx to
22141         rtx_insn *.
22142         (emit_note_insn_var_location): Likewise.
22143         (emit_notes_for_changes): Likewise.
22144         (emit_notes_for_differences): Likewise.
22145         (next_non_note_insn_var_location): Likewise for return type and
22146         for param "insn".
22147         (emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
22148         (vt_initialize): Likewise for local "insn".
22149         (delete_debug_insns): Likewise for locals "insn" and "next".
22151 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
22153         * varasm.c (mark_constants): Strengthen param "insn" from rtx to
22154         rtx_insn *.
22155         (mark_constant_pool): Likewise for local "insn".
22157 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
22159         * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
22160         rtx to rtx_insn *.
22161         (dead_debug_promote_uses): Likewise.
22162         (dead_debug_insert_temp): Likewise.
22164 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
22166         * store-motion.c (store_killed_in_insn): Strengthen param "insn"
22167         from const_rtx to const rtx_insn *.
22168         (store_killed_after): Likewise.  Strengthen locals "last", "act"
22169         from rtx to rtx_insn *.
22170         (store_killed_before): Strengthen param "insn" from const_rtx to
22171         const rtx_insn *.  Strengthen local "first" from rtx to rtx_insn *.
22172         (find_moveable_store): Strengthen param "insn" from rtx to
22173         rtx_insn *.
22174         (compute_store_table): Likewise for local "insn".
22175         (insert_insn_start_basic_block): Likewise for param "insn" and
22176         locals "prev", "before", "insn".
22177         (insert_store): For now, add a checked cast to rtx_insn * on the
22178         result of gen_move_insn.
22179         (remove_reachable_equiv_notes): Strengthen local "insn" from rtx
22180         to rtx_insn *.
22181         (replace_store_insn): Likewise.  For now, add a checked cast to
22182         rtx_insn * on the result of gen_move_insn.
22184 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22186         * stmt.c (expand_case): Strengthen local "before_case" from rtx to
22187         rtx_insn *.
22188         (expand_sjlj_dispatch_table): Likewise.
22190 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22192         * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
22193         "insn" from rtx to rtx_insn *.
22195 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22197         * shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
22198         "insn" from rtx to rtx_insn *.
22199         (dup_block_and_redirect): Likewise for param 3 "before".
22201         * shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
22202         from rtx to rtx_insn *.
22203         (move_insn_for_shrink_wrap): Likewise.
22204         (prepare_shrink_wrap): Likewise for locals "insn", "curr".
22205         (dup_block_and_redirect): Likewise for param "before" and local
22206         "insn".
22207         (try_shrink_wrapping): Likewise for locals "insn", "insert_point",
22208         "end".
22209         (convert_to_simple_return): Likewise for local "start".
22211         * config/i386/i386.c (ix86_finalize_stack_realign_flags):
22212         Strengthen local "insn" from rtx to rtx_insn *, for use when
22213         invoking requires_stack_frame_p.
22215 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22217         * sel-sched-ir.c (vinsn_copy): Strengthen local "copy" from rtx to
22218         rtx_insn *.
22219         (speculate_expr): Likewise for locals "orig_insn_rtx",
22220         "spec_insn_rtx".
22221         (eq_transformed_insns): Likewise for locals "i1", "i2".
22222         (check_for_new_jump): Likewise for return type and local "end".
22223         (find_new_jump): Likewise for return type and local "jump".
22224         (sel_split_edge): Likewise for local "jump".
22225         (sel_create_recovery_block): Likewise.
22226         (sel_redirect_edge_and_branch_force): Likewise.
22227         (sel_redirect_edge_and_branch): Likewise.
22229 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22231         * sel-sched.c (substitute_reg_in_expr): Strengthen local
22232         "new_insn" from rtx to rtx_insn *.
22233         (create_insn_rtx_with_rhs): Likewise for return type and for local
22234         "insn_rtx".
22235         (create_insn_rtx_with_lhs): Likewise.
22236         (create_speculation_check): Likewise for local "insn_rtx".
22237         (implicit_clobber_conflict_p): Likewise for local "insn".
22238         (get_expr_cost): Likewise.
22239         (emit_bookkeeping_insn): Likewise for local "new_insn_rtx".
22240         (move_cond_jump): Likewise for locals "next", "prev", "link",
22241         "head", "from", "to".
22243 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22245         * sched-rgn.c (is_cfg_nonregular): Strengthen locals "insn" and
22246         "next" from rtx to rtx_insn *.
22247         (find_conditional_protection): Likewise for local "next".
22248         (is_conditionally_protected): Likewise for local "insn1".
22249         (is_pfree): Likewise for locals "insn1", "insn2".
22251 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22253         * sched-int.h (schedule_ebb): Strengthen params "head", "tail"
22254         from rtx to rtx_insn *.
22256         * sched-ebb.c (earliest_block_with_similiar_load): Strengthen
22257         locals "insn1", "insn2" from rtx to rtx_insn *.
22258         (add_deps_for_risky_insns): Likewise for params "head", "tail" and
22259         locals "insn", "prev", "last_jump", "next_tail".
22260         (schedule_ebb): Likewise for params "head", "tail".
22261         (schedule_ebbs): Likewise for locals "tail", "head".
22263         * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
22264         to rtx_insn on "last_insn" in one of the invocations of
22265         schedule_ebb.
22267 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22269         * sched-deps.c (maybe_add_or_update_dep_1): Strengthen locals
22270         "elem", "insn" from rtx to rtx_insn *.
22271         (change_spec_dep_to_hard): Likewise.
22272         (get_back_and_forw_lists): Likewise for local "con".
22273         (sd_add_dep): Likewise for locals "elem", "insn".
22274         (sd_resolve_dep): Likewise for locals "pro", "con".
22275         (sd_unresolve_dep): Likewise.
22276         (sd_delete_dep): Likewise.
22277         (chain_to_prev_insn): Likewise for local "pro".
22278         (find_inc): Likewise for locals "pro", "con".
22280 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22282         * rtlanal.c (reg_used_between_p): Strengthen local "insn" from rtx
22283         to rtx_insn *.
22284         (reg_set_between_p): Strengthen local "insn" from const_rtx to
22285         const rtx_insn *.
22286         (modified_between_p): Strengthen local "insn" from rtx to
22287         rtx_insn *.
22288         (remove_reg_equal_equiv_notes_for_regno): Likewise.
22289         (keep_with_call_p): Strengthen local "i2" from const_rtx to
22290         const rtx_insn *.
22292 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22294         * resource.c (next_insn_no_annul): Strengthen local "next" from
22295         rtx to rtx_insn *.
22296         (mark_referenced_resources): Likewise for local "insn".
22298 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22300         * reload.h (struct insn_chain): Strengthen field "insn" from rtx
22301         to rtx_insn *.
22302         (find_reloads): Likewise for param 1.
22303         (subst_reloads): Likewise for sole param.
22304         (find_equiv_reg): Likwise for param 2.
22305         (regno_clobbered_p): Likwise for param 2.
22306         (reload): Likewise for param 1.
22308         * caller-save.c (save_call_clobbered_regs): Strengthen local
22309         "insn" from rtx to rtx_insn *.
22310         (insert_one_insn): Likewise for local "insn".
22312         * reload.c (this_insn): Likewise for this global.
22313         (find_reloads): Likewise for param "insn".
22314         (find_reloads_toplev): Likewise.
22315         (find_reloads_address): Likewise.
22316         (subst_reg_equivs): Likewise.
22317         (update_auto_inc_notes): Likewise.
22318         (find_reloads_address_1): Likewise.
22319         (find_reloads_subreg_address): Likewise.
22320         (subst_reloads): Likewise.
22321         (find_equiv_reg): Likewise, also for local "p".
22322         (regno_clobbered_p): Likewise for param "insn".
22324         * reload1.c (reg_reloaded_insn): Likewise for the elements of this
22325         array.
22326         (spill_reg_store): Likewise for the elements of this array.
22327         (remove_init_insns): Likewise for local "equiv_insn".
22328         (will_delete_init_insn_p): Likewise for param "insn".
22329         (reload): Likewise for param ""first" and local "insn".
22330         (calculate_needs_all_insns): Strengthen local "insn" from rtx to
22331         rtx_insn *.
22332         (calculate_elim_costs_all_insns): Likewise.
22333         (delete_caller_save_insns): Likewise.
22334         (spill_failure): Likewise for param "insn".
22335         (delete_dead_insn): Likewise.
22336         (set_label_offsets): Likewise.
22337         (eliminate_regs_in_insn): Likewise, also for locals "base_insn" and
22338         "prev_insn".
22339         (elimination_costs_in_insn): Likewise for param "insn".
22340         (set_initial_eh_label_offset): Replace use of NULL_RTX with NULL
22341         when referring to an insn.
22342         (set_initial_label_offsets): Likewise.
22343         (set_offsets_for_label): Strengthen param "insn" from rtx to
22344         rtx_insn *.
22345         (init_eliminable_invariants): Likewise for param "first" and local
22346         "insn".
22347         (fixup_eh_region_note): Likewise for param "insn".
22348         (reload_as_needed): Likewise for locals "prev", "insn",
22349         "old_next", "old_prev", "next".
22350         (gen_reload_chain_without_interm_reg_p): Likewise for locals "insn",
22351         "last".
22352         (reload_inheritance_insn): Strengthen elements of this array from
22353         rtx to rtx_insn *.
22354         (failed_reload): Likewise for param "insn".
22355         (choose_reload_regs): Likewise for local "insn".  Replace use of
22356         NULL_RTX with NULL when referring to an insn.
22357         (input_reload_insns): Strengthen elements of this array from rtx
22358         to rtx_insn *.
22359         (other_input_address_reload_insns): Likewise for this global.
22360         (other_input_reload_insns): Likewise for this global.
22361         (input_address_reload_insns): Likwise for the elements of this
22362         array.
22363         (inpaddr_address_reload_insns): Likwise for the elements of this
22364         array.
22365         (output_reload_insns): Likewise for the elements of this array.
22366         (output_address_reload_insns): Likewise for the elements of this
22367         array.
22368         (outaddr_address_reload_insns): Likewise for the elements of this
22369         array.
22370         (operand_reload_insns): Likewise for this global.
22371         (other_operand_reload_insns): Likewise for this global.
22372         (other_output_reload_insns): Likewise for the elements of this
22373         array.
22374         (new_spill_reg_store): Likewise for the elements of this
22375         array.
22376         (emit_input_reload_insns): Likewise for locals "insn", "temp".
22377         Strengthen local "where" from rtx * to rtx_insn **.
22378         (emit_output_reload_insns): Strengthen locals "insn", "p", "next"
22379         from rtx to rtx_insn *.
22380         (do_input_reload): Likewise for local "insn".
22381         (do_output_reload): Likewise for local "insn".
22382         (emit_reload_insns): Likewise for locals "insn" and "store_insn".
22383         (emit_insn_if_valid_for_reload): Likewise for return type and local
22384         "last".  Add checked cast to rtx_insn when returning "insn" since
22385         this has been through emit_insn.
22386         (gen_reload): Strengthen return type and locals "last", "insn", "set"
22387         from rtx to rtx_insn *.  Add checked cast to rtx_insn when
22388         returning "insn" since it's been through
22389         emit_insn_if_valid_for_reload at this point.
22390         (delete_output_reload): Strengthen param "insn" and locals
22391         "output_reload_insn", "i2" from rtx to rtx_insn *.
22392         (delete_address_reloads): Likewise for params "dead_insn",
22393         "current_insn" and locals "prev", "next".
22394         (delete_address_reloads_1): Likewise for params "dead_insn",
22395         "current_insn" and locals "prev", "i2".
22396         (inc_for_reload): Likewise for locals "last", "add_insn".
22397         (add_auto_inc_notes): Strengthen param "insn" from rtx to
22398         rtx_insn *.
22400         * config/arc/arc-protos.h (regno_clobbered_p): Likewise for 2nd
22401         param of this duplicate of the prototype from reload.h
22403 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22405         * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
22406         rtx to rtx_insn *.
22407         (regstat_bb_compute_calls_crossed): Likewise.
22409 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22411         * regrename.c (create_new_chain): Strengthen param "insn" from rtx
22412         to rtx_insn *.
22413         (init_rename_info): Replace use of NULL_RTX with NULL when dealing
22414         with an insn.
22415         (regrename_analyze): Strengthen local "insn" from rtx to
22416         rtx_insn *.
22417         (scan_rtx_reg): Likewise for param "insn".
22418         (scan_rtx_address): Likewise.
22419         (scan_rtx): Likewise.
22420         (restore_operands): Likewise.
22421         (record_out_operands): Likewise.
22422         (build_def_use): Likewise for local "insn".  Replace use of
22423         NULL_RTX with NULL when dealing with an insn.
22425 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22427         * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *.
22428         * reginfo.c (reg_scan): Likewise, also for local "insn".
22429         (reg_scan_mark_refs): Likewise for param "insn".
22430         (init_subregs_of_mode): Likewise for local "insn".
22432 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22434         * regcprop.c (struct queued_debug_insn_change): Strengthen field
22435         "insn" from rtx to rtx_insn *.
22436         (replace_oldest_value_reg): Likewise for param "insn".
22437         (replace_oldest_value_addr): Likewise.
22438         (replace_oldest_value_mem): Likewise.
22439         (apply_debug_insn_changes): Likewise for local "last_insn".
22440         (copyprop_hardreg_forward_1): Likewise for local "insn".
22442 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22444         * reg-stack.c (next_flags_user): Strengthen return type and param
22445         "insn" from rtx to rtx_insn *.
22446         (straighten_stack): Likewise for param "insn".
22447         (check_asm_stack_operands): Likewise.
22448         (remove_regno_note): Likewise.
22449         (emit_pop_insn): Likewise for return type, param "insn", local
22450         "pop_insn".
22451         (emit_swap_insn):  Strengthen param "insn" and locals "i1", "tmp",
22452         "limit" from rtx to rtx_insn *.
22453         (swap_to_top): Likewise for param "insn".
22454         (move_for_stack_reg): Likewise.
22455         (move_nan_for_stack_reg): Likewise.
22456         (swap_rtx_condition): Likewise.
22457         (compare_for_stack_reg): Likewise.
22458         (subst_all_stack_regs_in_debug_insn): Likewise.
22459         (subst_stack_regs_pat): Likewise, and local "insn2".
22460         (subst_asm_stack_regs): Strengthen param "insn" from rtx to
22461         rtx_insn *.
22462         (subst_stack_regs): Likewise.
22463         (change_stack): Likewise.
22464         (convert_regs_1): Likewise for locals "insn", "next".
22466 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22468         * ree.c (struct ext_cand): Strengthen field "insn" from rtx to
22469         rtx_insn *.
22470         (combine_set_extension): Likewise for param "curr_insn".
22471         (transform_ifelse): Likewise for param "def_insn".
22472         (get_defs): Likewise for param "def_insn".  Strengthen param "dest"
22473         from vec<rtx> * to vec<rtx_insn *> *.
22474         (is_cond_copy_insn): Likewise for param "insn".
22475         (struct ext_state): Strengthen the four vec fields from vec<rtx>
22476         to vec<rtx_insn *>.
22477         (make_defs_and_copies_lists): Strengthen param "extend_insn" and
22478         local "def_insn" from rtx to rtx_insn *.
22479         (get_sub_rtx): Likewise for param "def_insn".
22480         (merge_def_and_ext): Likewise.
22481         (combine_reaching_defs): Likewise.
22482         (add_removable_extension): Likewise for param "insn".
22483         (find_removable_extensions): Likewise for local "insn".
22484         (find_and_remove_re): Likewise for locals "curr_insn" and
22485         "def_insn".  Strengthen locals "reinsn_del_list" and
22486         "reinsn_del_list" from auto_vec<rtx> to auto_vec<rtx_insn *>.
22488 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22490         * recog.c (split_insn): Strengthen param "insn" and locals
22491         "first", "last" from rtx to rtx_insn *.
22492         (split_all_insns): Likewise for locals "insn", "next".
22493         (split_all_insns_noflow): Likewise.
22495 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22497         * rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
22498         const rtx_insn *.
22499         (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
22500         (debug_rtx_find): Likewise for param 1 "x".
22502         * print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
22503         const_rtx to const rtx_insn *.  Likewise for local "insn".
22504         (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
22505         (debug_rtx_find): Likewise for param 1 "x".
22506         (print_rtl): Likewise for local "tmp_rtx", adding a checked cast
22507         from const_rtx to const rtx_insn * within the appropriate cases of
22508         the switch statement.
22510         * config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
22511         Strengthen local "insns" from rtx to rtx_insn * since this is
22512         passed to a call to debug_rtx_list.
22514 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22516         * predict.h (predict_insn_def): Strengthen param "insn" from rtx
22517         to rtx_insn *.
22519         * function.c (stack_protect_epilogue): Add checked cast to
22520         rtx_insn for now when invoking predict_insn_def.
22522         * predict.c (predict_insn): Strengthen param "insn" from rtx to
22523         rtx_insn *.
22524         (predict_insn_def): Likewise.
22525         (rtl_predict_edge): Likewise for local "last_insn".
22526         (can_predict_insn_p): Strengthen param "insn" from const_rtx to
22527         const rtx_insn *.
22528         (combine_predictions_for_insn): Strengthen param "insn" from rtx
22529         to rtx_insn *.
22530         (bb_estimate_probability_locally): Likewise for local "last_insn".
22531         (expensive_function_p): Likewise for local "insn".
22533         * config/cris/cris.c (cris_emit_trap_for_misalignment): Likewise for
22534         local "jmp", since this is used when invoking predict_insn_def.
22536 2014-08-22  Marek Polacek  <polacek@redhat.com>
22538         PR c++/62199
22539         * doc/invoke.texi: Update -Wlogical-not-parentheses description.
22541 2014-08-22  Marek Polacek  <polacek@redhat.com>
22543         PR c/61271
22544         * ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
22545         a comparison in parens.
22546         * lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
22547         in parens.
22549 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22551         * rtl.h (fis_get_condition): Strengthen param "jump" from rtx to
22552         rtx_insn *.
22554         * cprop.c (fis_get_condition): Likewise.
22556         * postreload.c (reload_cse_regs): Likewise for param "first".
22557         (reload_cse_simplify): Likewise for param "insn".
22558         (reload_cse_regs_1): Likewise for local "insn".
22559         (reload_cse_simplify_set): Likewise for param "insn".
22560         (reload_cse_simplify_operands): Likewise.
22561         (struct reg_use): Likewise for field "insn".
22562         (reload_combine_purge_insn_uses): Likewise for param "insn".
22563         (fixup_debug_insns): Likewise for params "from", "to" and local
22564         "insn".
22565         (try_replace_in_use): Likewise for local "use_insn".
22566         (reload_combine_recognize_const_pattern): Likewise for param
22567         "insn" and locals "add_moved_after_insn", "use_insn".
22568         (reload_combine_recognize_pattern): Likewise for param "insn" and
22569         local "prev".
22570         (reload_combine): Likewise for locals "insn", "prev".
22571         (reload_combine_note_use): Likewise for param "insn".
22572         (move2add_use_add2_insn): Likewise.
22573         (move2add_use_add3_insn): Likewise.
22574         (reload_cse_move2add): Likewise, also for local "next".
22575         (move2add_note_store): Likewise for local "insn".
22577 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22579         * postreload-gcse.c (struct occr): Strengthen field "insn" from
22580         rtx to rtx_insn *.
22581         (struct unoccr): Likewise.
22582         (struct modifies_mem): Likewise.
22583         (alloc_mem): Likewise for local "insn".
22584         (insert_expr_in_table): Likewise for param "insn".
22585         (dump_expr_hash_table_entry): Likewise for local "insn".
22586         (oprs_unchanged_p): Likewise for param "insn".
22587         (load_killed_in_block_p): Likewise for local "setter".
22588         (record_last_reg_set_info): Likewise for param "insn".
22589         (record_last_reg_set_info_regno): Likewise.
22590         (record_last_mem_set_info): Likewise.
22591         (record_last_set_info): Likewise for local "last_set_insn".
22592         (record_opr_changes): Likewise for param "insn".
22593         (hash_scan_set): Likewise.
22594         (compute_hash_table): Likewise for local "insn".
22595         (get_avail_load_store_reg): Likewise for param "insn".
22596         (eliminate_partially_redundant_load): Likewise, also for locals
22597         "avail_insn", "next_pred_bb_end".  Replace use of NULL_RTX with
22598         RTX for insns.
22599         (eliminate_partially_redundant_loads): Likewise for local "insn".
22601 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22603         * optabs.c (expand_doubleword_shift): Strengthen local "insn" from
22604         rtx to rtx_insn *.
22605         (expand_binop): Likewise for locals "entry_last", "last", "insns"
22606         (expand_twoval_unop): Likewise for locals entry_last", "last".
22607         (expand_twoval_binop): Likewise.
22608         (expand_twoval_binop_libfunc): Likewise for local "insns".
22609         (widen_leading): Likewise for local "last".
22610         (expand_doubleword_clz): Likewise for local "seq".  Strengthen
22611         locals "hi0_label", "after_label" from rtx to rtx_code_label *.
22612         (widen_bswap): Strengthen local "last" from rtx to rtx_insn *.
22613         (expand_parity): Likewise for locals "last" and "seq".
22614         (expand_ffs): Likewise for local "seq".  Strengthen local
22615         "nonzero_label" from rtx to rtx_code_label *.
22616         (expand_absneg_bit): Strengthen local "insns" from rtx to
22617         rtx_insn *.
22618         (expand_unop_direct): Likewise for local "last".
22619         (expand_unop): Likewise for locals "last", "insns".
22620         (expand_abs_nojump): Likewise for local "last".
22621         (expand_abs): Strengthen local "op1" from rtx to rtx_code_label *.
22622         (expand_one_cmpl_abs_nojump): Strengthen local "last" from rtx to
22623         rtx_insn *.
22624         (expand_copysign_absneg): Strengthen local "label" from rtx to
22625         rtx_code_label *.
22626         (expand_copysign_bit): Strengthen local "insns" from rtx to
22627         rtx_insn *.
22628         (struct no_conflict_data): Likewise for fields "first", "insn".
22629         (emit_libcall_block_1): Likewise for param "insns" and locals
22630         "next", "last", "insn".
22631         (emit_libcall_block): For now, add a checked cast to rtx_insn *
22632         on "insns" when invoking emit_libcall_block_1.  Ultimately we
22633         want to strengthen insns itself.
22634         (prepare_cmp_insn): Strengthen local "last" from rtx to
22635         rtx_insn *.
22636         (emit_cmp_and_jump_insn_1): Likewise for local "insn".
22637         (prepare_float_lib_cmp): Likewise for local "insns".
22638         (emit_conditional_move): Likewise for local "last".
22639         (emit_conditional_add): Likewise.
22640         (have_sub2_insn): Likewise for local "seq".
22641         (expand_float): Likewise for local "insns".  Strengthen locals
22642         "label", "neglabel" from rtx to rtx_code_label *.
22643         (expand_fix): Likewise for locals "last", "insn", "insns" (to
22644         rtx_insn *) and locals "lab1", "lab2" (to rtx_code_label *).
22645         (expand_fixed_convert): Likewise for local "insns" (to
22646         rtx_insn *).
22647         (expand_sfix_optab): Likewise for local "last".
22648         (expand_compare_and_swap_loop): Strengthen local "label" from rtx
22649         to rtx_code_label *.
22650         (maybe_emit_sync_lock_test_and_set): Strengthen local "last_insn"
22651         from rtx to rtx_insn *.
22652         (expand_atomic_fetch_op): Likewise for local "insn".
22653         (maybe_legitimize_operand_same_code): Likewise for local "last".
22654         (maybe_legitimize_operands): Likewise.
22656 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22658         * modulo-sched.c (struct ps_reg_move_info): Strengthen field
22659         "insn" from rtx to rtx_insn *.
22660         (ps_rtl_insn): Likewise for return type.
22661         (doloop_register_get): Likewise for params "head", "tail" and
22662         locals "insn", "first_insn_not_to_check".
22663         (schedule_reg_move): Likewise for local "this_insn".
22664         (schedule_reg_moves): Add a checked cast to rtx_insn * to result
22665         of gen_move_insn for now.
22666         (reset_sched_times): Strengthen local "insn" from rtx to
22667         rtx_insn *.
22668         (permute_partial_schedule): Likewise.
22669         (duplicate_insns_of_cycles): Likewise for local "u_insn".
22670         (dump_insn_location): Likewise for param "insn".
22671         (loop_canon_p): Likewise for local "insn".
22672         (sms_schedule): Likewise.
22673         (print_partial_schedule): Likewise.
22674         (ps_has_conflicts): Likewise.
22676 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22678         * sched-int.h (get_ebb_head_tail): Strengthen params "headp" and
22679         "tailp" from rtx * to rtx_insn **.
22681         * ddg.c (build_intra_loop_deps): Strengthen locals head", "tail"
22682         from rtx to rtx_insn *.
22683         * haifa-sched.c (get_ebb_head_tail): Strengthen params "headp" and
22684         "tailp" from rtx * to rtx_insn **.  Strengthen locals "beg_head",
22685         "beg_tail", "end_head", "end_tail", "note", "next", "prev" from
22686         rtx to rtx_insn *.
22687         * modulo-sched.c (const_iteration_count): Strengthen return type
22688         and locals "insn", "head", "tail" from rtx to rtx_insn *.  Replace
22689         use of NULL_RTX with NULL when working with insns.
22690         (loop_single_full_bb_p): Strengthen locals "head", "tail" from rtx
22691         to rtx_insn *.
22692         (sms_schedule): Likewise.
22693         * sched-rgn.c (init_ready_list): Likewise, also for locals
22694         "src_head" and "src_next_tail".
22695         (compute_block_dependences): Likewise.
22696         (free_block_dependencies): Likewise.
22697         (debug_rgn_dependencies): Likewise.
22698         (free_rgn_deps): Likewise.
22699         (compute_priorities): Likewise.
22700         (schedule_region): Likewise.
22701         * sel-sched.c (find_ebb_boundaries): Likewise.
22703         * config/sh/sh.c (find_insn_regmode_weight): Strengthen locals
22704         "insn", "next_tail", "head", "tail" from rtx to rtx_insn *.
22706 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22708         * mode-switching.c (struct seginfo): Strengthen field "insn_ptr"
22709         from rtx to rtx_insn *.
22710         (new_seginfo): Likewise for param "insn".
22711         (create_pre_exit): Likewise for locals "last_insn",
22712         "before_return_copy", "return_copy".
22713         (optimize_mode_switching): Likewise for locals "insn", "ins_pos",
22714         "mode_set".
22716 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22718         * lra-int.h (struct lra_insn_recog_data): Strengthen field "insn"
22719         from rtx to rtx_insn *.
22720         (lra_push_insn): Likewise for 1st param.
22721         (lra_push_insn_and_update_insn_regno_info): Likewise.
22722         (lra_pop_insn): Likewise for return type.
22723         (lra_invalidate_insn_data): Likewise for 1st param.
22724         (lra_set_insn_deleted): Likewise.
22725         (lra_delete_dead_insn): Likewise.
22726         (lra_process_new_insns): Likewise for first 3 params.
22727         (lra_set_insn_recog_data): Likewise for 1st param.
22728         (lra_update_insn_recog_data): Likewise.
22729         (lra_set_used_insn_alternative): Likewise.
22730         (lra_invalidate_insn_regno_info): Likewise.
22731         (lra_update_insn_regno_info): Likewise.
22732         (lra_former_scratch_operand_p): Likewise.
22733         (lra_eliminate_regs_1): Likewise.
22734         (lra_get_insn_recog_data): Likewise.
22736         * lra-assigns.c (assign_by_spills): Strengthen local "insn" from
22737         rtx to rtx_insn *.
22739         * lra-coalesce.c (move_freq_compare_func): Likewise for locals
22740         "mv1" and "mv2".
22741         (substitute_within_insn): New.
22742         (lra_coalesce): Strengthen locals "mv", "insn", "next" from rtx to
22743         rtx_insn *.  Strengthen sorted_moves from rtx * to rxt_insn **.
22744         Replace call to "substitute" with call to substitute_within_insn.
22746         * lra-constraints.c (curr_insn): Strengthen from rtx to
22747         rtx_insn *.
22748         (get_equiv_with_elimination): Likewise for param "insn".
22749         (match_reload): Strengthen params "before" and "after" from rtx *
22750         to rtx_insn **.
22751         (emit_spill_move): Likewise for return type.  Add a checked cast
22752         to rtx_insn * on result of gen_move_insn for now.
22753         (check_and_process_move): Likewise for local "before".  Replace
22754         NULL_RTX with NULL when referring to insns.
22755         (process_addr_reg): Strengthen params "before" and "after" from
22756         rtx * to rtx_insn **.
22757         (insert_move_for_subreg): Likewise.
22758         (simplify_operand_subreg): Strengthen locals "before" and "after"
22759         from rtx to rtx_insn *.
22760         (process_address_1): Strengthen params "before" and "after" from
22761         rtx * to rtx_insn **.  Strengthen locals "insns", "last_insn" from
22762         rtx to rtx_insn *.
22763         (process_address): Strengthen params "before" and "after" from
22764         rtx * to rtx_insn **.
22765         (emit_inc): Strengthen local "last" from rtx to rtx_insn *.
22766         (curr_insn_transform): Strengthen locals "before" and "after"
22767         from rtx to rtx_insn *.  Replace NULL_RTX with NULL when referring
22768         to insns.
22769         (loc_equivalence_callback): Update cast of "data", changing
22770         resulting type from rtx to rtx_insn *.
22771         (substitute_pseudo_within_insn): New.
22772         (inherit_reload_reg): Strengthen param "insn" from rtx to
22773         rtx_insn *; likewise for local "new_insns".  Replace NULL_RTX with
22774         NULL when referring to insns.  Add a checked cast to rtx_insn *
22775         when using usage_insn to invoke lra_update_insn_regno_info.
22776         (split_reg): Strengthen param "insn" from rtx to rtx_insn *;
22777         likewise for locals "restore", "save".  Add checked casts to
22778         rtx_insn * when using usage_insn to invoke
22779         lra_update_insn_regno_info and lra_process_new_insns.  Replace
22780         NULL_RTX with NULL when referring to insns.
22781         (split_if_necessary): Strengthen param "insn" from rtx to
22782         rtx_insn *.
22783         (update_ebb_live_info): Likewise for params "head", "tail" and local
22784         "prev_insn".
22785         (get_last_insertion_point): Likewise for return type and local "insn".
22786         (get_live_on_other_edges): Likewise for local "last".
22787         (inherit_in_ebb): Likewise for params "head", "tail" and locals
22788         "prev_insn", "next_insn", "restore".
22789         (remove_inheritance_pseudos): Likewise for local "prev_insn".
22790         (undo_optional_reloads): Likewise for local "insn".
22792         * lra-eliminations.c (lra_eliminate_regs_1): Likewise for param
22793         "insn".
22794         (lra_eliminate_regs): Replace NULL_RTX with NULL when referring to
22795         insns.
22796         (eliminate_regs_in_insn): Strengthen param "insn" from rtx to
22797         rtx_insn *.
22798         (spill_pseudos): Likewise for local "insn".
22799         (init_elimination): Likewise.
22800         (process_insn_for_elimination): Likewise for param "insn".
22802         * lra-lives.c (curr_insn): Likewise.;
22804         * lra-spills.c (assign_spill_hard_regs): Likewise for local "insn".
22805         (remove_pseudos): Likewise for param "insn".
22806         (spill_pseudos): Likewise for local "insn".
22807         (lra_final_code_change): Likewise for locals "insn", "curr".
22809         * lra.c (lra_invalidate_insn_data): Likewise for param "insn".
22810         (lra_set_insn_deleted): Likewise.
22811         (lra_delete_dead_insn): Likewise, and for local "prev".
22812         (new_insn_reg): Likewise for param "insn".
22813         (lra_set_insn_recog_data): Likewise.
22814         (lra_update_insn_recog_data): Likewise.
22815         (lra_set_used_insn_alternative): Likewise.
22816         (get_insn_freq): Likewise.
22817         (invalidate_insn_data_regno_info): Likewise.
22818         (lra_invalidate_insn_regno_info): Likewise.
22819         (lra_update_insn_regno_info): Likewise.
22820         (lra_constraint_insn_stack): Strengthen from vec<rtx> to
22821         vec<rtx_insn *>.
22822         (lra_push_insn_1): Strengthen param "insn" from rtx to
22823         rtx_insn *.
22824         (lra_push_insn): Likewise.
22825         (lra_push_insn_and_update_insn_regno_info): Likewise.
22826         (lra_pop_insn): Likewise for return type and local "insn".
22827         (push_insns): Likewise for params "from", "to", and local "insn".
22828         (setup_sp_offset): Likewise for params "from", "last" and locals
22829         "before", "insn".
22830         (lra_process_new_insns): Likewise for params "insn", "before",
22831         "after" and local "last".
22832         (struct sloc): Likewise for field "insn".
22833         (lra_former_scratch_operand_p): Likewise for param "insn".
22834         (remove_scratches): Likewise for locals "insn", "last".
22835         (check_rtl): Likewise for local "insn".
22836         (add_auto_inc_notes): Likewise for param "insn".
22837         (update_inc_notes): Likewise for local "insn".
22838         (lra): Replace NULL_RTX with NULL when referring to insn.
22840 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22842         * lower-subreg.c (simple_move): Strengthen param "insn" from rtx
22843         to rtx_insn *.
22844         (resolve_reg_notes): Likewise.
22845         (resolve_simple_move): Likewise for return type, param "insn", and
22846         locals "insns", "minsn".
22847         (resolve_clobber): Strengthen param "insn" from rtx to rtx_insn *.
22848         (resolve_use): Likewise.
22849         (resolve_debug): Likewise.
22850         (find_decomposable_shift_zext): Likewise.
22851         (resolve_shift_zext): Likewise for return type, param "insn", and
22852         locals "insns", "in".  Eliminate use of NULL_RTX in favor of NULL.
22853         (decompose_multiword_subregs): Likewise for local "insn",
22854         "orig_insn", "decomposed_shift", "end".
22856 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22858         * basic-block.h (basic_block split_edge_and_insert): Strengthen
22859         param "insns" from rtx to rtx_insn *.
22861         * loop-unroll.c (struct iv_to_split): Strengthen field "insn" from
22862         rtx to rtx_insn *.
22863         (struct iv_to_split): Likewise.
22864         (loop_exit_at_end_p): Likewise for local "insn".
22865         (split_edge_and_insert): Likewise for param "insns".
22866         (compare_and_jump_seq): Likewise for return type, param "cinsn",
22867         and locals "seq", "jump".
22868         (unroll_loop_runtime_iterations): Likewise for locals "init_code",
22869         "branch_code"; update invocations of compare_and_jump_seq to
22870         eliminate NULL_RTX in favor of NULL.
22871         (referenced_in_one_insn_in_loop_p): Strengthen local "insn" from
22872         rtx to rtx_insn *.
22873         (reset_debug_uses_in_loop): Likewise.
22874         (analyze_insn_to_expand_var): Likewise for param "insn".
22875         (analyze_iv_to_split_insn): Likewise.
22876         (analyze_insns_in_loop): Likewise for local "insn".
22877         (insert_base_initialization): Likewise for param
22878         "insn" and local "seq".
22879         (split_iv): Likewise for param "insn" and local "seq".
22880         (expand_var_during_unrolling): Likewise for param "insn".
22881         (insert_var_expansion_initialization): Likewise for local "seq".
22882         (combine_var_copies_in_loop_exit): Likewise.
22883         (combine_var_copies_in_loop_exit): Likewise for locals "seq" and
22884         "insn".
22885         (maybe_strip_eq_note_for_split_iv): Likewise for param "insn".
22886         (apply_opt_in_copies): Likewise for locals "insn", "orig_insn",
22887         "next".
22889 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22891         * cfgloop.h (iv_analyze): Strengthen param 1 "insn" from rtx to
22892         rtx_insn *.
22893         (iv_analyze_result): Likewise.
22894         (iv_analyze_expr): Likewise.
22895         (biv_p): Likewise.
22897         * loop-iv.c (iv_get_reaching_def): Strengthen param "insn" and
22898         local "def_insn" from rtx to rtx_insn *.
22899         (get_biv_step_1): Likewise for local "insn".
22900         (iv_analyze_expr): Likewise for param "insn".
22901         (iv_analyze_def): Likewise for local "insn".
22902         (iv_analyze_op): Likewise for param "insn".
22903         (iv_analyze): Likewise.
22904         (iv_analyze_result): Likewise.
22905         (biv_p): Likewise.
22906         (suitable_set_for_replacement): Likewise.
22907         (simplify_using_initial_values): Likewise for local "insn".
22908         (iv_number_of_iterations): Likewise for param "insn".
22909         (check_simple_exit): Add checked cast to rtx_insn when invoking
22910         iv_number_of_iterations for now (until get_condition is
22911         strengthened).
22913         * loop-unroll.c (analyze_iv_to_split_insn): Strengthen param
22914         "insn" from rtx to rtx_insn *.
22915         (analyze_insns_in_loop): Likewise for local "insn".
22917 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22919         * loop-invariant.c (struct use): Strengthen field "insn" from rtx
22920         to rtx_insn *.
22921         (struct invariant): Likewise.
22922         (hash_invariant_expr_1): Likewise for param "insn".
22923         (invariant_expr_equal_p): Likewise for param "insn1", "insn2".
22924         (find_exits): Likewise for local "insn".
22925         (create_new_invariant): Likewise for param "insn".
22926         (check_dependencies): Likewise.
22927         (find_invariant_insn): Likewise.
22928         (record_uses): Likewise.
22929         (find_invariants_insn): Likewise.
22930         (find_invariants_bb): Likewise for local "insn".
22931         (get_pressure_class_and_nregs): Likewise for param "insn".
22932         (calculate_loop_reg_pressure): Likewise for local "insn".
22934 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22936         * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx
22937         to rtx_insn *.
22938         (add_test): Likewise for locals "seq", "jump".
22939         (doloop_modify): Likewise for locals "sequence", "jump_insn".
22941 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22943         * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
22944         rtx_insn *.
22945         (rebuild_jump_labels_chain): Likewise for param "chain".
22947         * cfgexpand.c (pass_expand::execute): Add checked cast to
22948         rtx_insn * when calling rebuild_jump_labels_chain in region where
22949         we know e->insns.r is non-NULL.
22951         * jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
22952         rtx_insn *.
22953         (rebuild_jump_labels): Likewise.
22954         (rebuild_jump_labels_chain): Likewise for param "chain".
22955         (cleanup_barriers): Likewise for locals "insn", "next", "prev".
22956         (init_label_info): Likewise for param "f".
22957         (maybe_propagate_label_ref): Likewise for params "jump_insn",
22958         "prev_nonjump_insn".
22959         (mark_all_labels): Likewise for param "f" and locals "insn",
22960         "prev_nonjump_insn".
22962 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
22964         * ira-int.h (struct ira_allocno_copy): Strengthen field "insn"
22965         from rtx to rtx_insn *insn.
22966         (ira_create_copy): Strengthen param "insn" from rtx to rtx_insn *.
22967         (ira_add_allocno_copy): Likewise.
22968         * ira-build.c (find_allocno_copy): Strengthen param "insn" from
22969         rtx to rtx_insn *.
22970         (ira_create_copy): Likewise.
22971         (ira_add_allocno_copy): Likewise.
22972         (create_bb_allocnos): Likewise for local "insn".
22973         * ira-conflicts.c (process_regs_for_copy): Likewise for param "insn".
22974         (process_reg_shuffles): Update NULL_RTX to NULL in invocation of
22975         process_regs_for_copy for rtx_insn * param.
22976         (add_insn_allocno_copies): Strengthen param "insn" from rtx to
22977         rtx_insn *insn.  Update NULL_RTX to NULL in invocation of
22978         process_regs_for_copy for rtx_insn * param.
22979         (add_copies): Strengthen local "insn" from rtx to rtx_insn *insn.
22980         * ira-costs.c (record_reg_classes): Likewise for param "insn".
22981         (record_operand_costs): Likewise.
22982         (scan_one_insn): Likewise for return type, and for param "insn".
22983         (process_bb_for_costs): Likewise for local "insn".
22984         (process_bb_node_for_hard_reg_moves): Likewise.
22985         * ira-emit.c (struct move): Likewise for field "insn".
22986         (create_move): Eliminate use of NULL_RTX when dealing with an
22987         rtx_insn *.
22988         (emit_move_list): Strengthen return type and locals "result",
22989         "insn" from rtx to rtx_insn *insn.
22990         (emit_moves): Likewise for locals "insns", "tmp".
22991         (ira_emit): Likewise for local "insn".
22992         * ira-lives.c (mark_hard_reg_early_clobbers): Likewise for param
22993         "insn".
22994         (find_call_crossed_cheap_reg): Likewise.
22995         (process_bb_node_lives): Likewise for local "insn".
22996         * ira.c (decrease_live_ranges_number): Likewise.
22997         (compute_regs_asm_clobbered): Likewise.
22998         (build_insn_chain): Likewise.
22999         (find_moveable_pseudos): Likewise, also locals "def_insn",
23000         "use_insn", "x".  Also strengthen local "closest_uses" from rtx *
23001         to rtx_insn **.  Add a checked cast when assigning from
23002         "closest_use" into closest_uses array in a region where we know
23003         it's a non-NULL insn.
23004         (interesting_dest_for_shprep): Strengthen param "insn" from rtx
23005         to rtx_insn *.
23006         (split_live_ranges_for_shrink_wrap): Likewise for locals "insn",
23007         "last_interesting_insn", "uin".
23008         (move_unallocated_pseudos): Likewise for locals "def_insn",
23009         "move_insn", "newinsn".
23011 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23013         * internal-fn.c (ubsan_expand_si_overflow_addsub_check):
23014         Strengthen locals "done_label", "do_error" from rtx to
23015         rtx_code_label *.
23016         (ubsan_expand_si_overflow_addsub_check): Strengthen local "last"
23017         from rtx to rtx_insn *.  Strengthen local "sub_check from rtx to
23018         rtx_code_label *.
23019         (ubsan_expand_si_overflow_neg_check): Likewise for locals
23020         "done_label", "do_error" to rtx_code_label * and local  "last" to
23021         rtx_insn *.
23022         (ubsan_expand_si_overflow_mul_check): Likewise for locals
23023         "done_label", "do_error", "large_op0", "small_op0_large_op1",
23024         "one_small_one_large", "both_ops_large", "after_hipart_neg",
23025         "after_lopart_neg", "do_overflow", "hipart_different"  to
23026         rtx_code_label * and local  "last" to rtx_insn *.
23028 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23030         * init-regs.c (initialize_uninitialized_regs): Strengthen locals
23031         "insn" and "move_insn" from rtx to rtx_insn *.
23033 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23035         * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
23036         rtx_insn *.
23037         (cheap_bb_rtx_cost_p): Likewise.
23038         (first_active_insn): Likewise for return type and local "insn".
23039         (last_active_insn):  Likewise for return type and locals "insn",
23040         "head".
23041         (struct noce_if_info): Likewise for fields "jump", "insn_a",
23042         "insn_b".
23043         (end_ifcvt_sequence): Likewise for return type and locals "insn",
23044         "seq".
23045         (noce_try_move): Likewise for local "seq".
23046         (noce_try_store_flag): Likewise.
23047         (noce_try_store_flag_constants): Likewise.
23048         (noce_try_addcc): Likewise.
23049         (noce_try_store_flag_mask): Likewise.
23050         (noce_try_cmove): Likewise.
23051         (noce_try_minmax): Likewise.
23052         (noce_try_abs): Likewise.
23053         (noce_try_sign_mask): Likewise.
23054         (noce_try_bitop): Likewise.
23055         (noce_can_store_speculate_p): Likewise for local "insn".
23056         (noce_process_if_block): Likewise for locals "insn_a", "insn_b",
23057         seq".
23058         (check_cond_move_block): Likewise for local "insn".
23059         (cond_move_convert_if_block): Likewise.
23060         (cond_move_process_if_block): Likewise for locals "seq",
23061         "loc_insn".
23062         (noce_find_if_block): Likewise for local "jump".
23063         (merge_if_block): Likewise for local "last".
23064         (block_jumps_and_fallthru_p): Likewise for locals "insn", "end".
23065         (find_cond_trap): Likewise for locals "trap", "jump", "newjump".
23066         (block_has_only_trap): Likewise for return type and local "trap".
23067         (find_if_case_1): Likewise for local "jump".
23068         (dead_or_predicable): Likewise for locals "head", "end", "jump",
23069         "insn".
23071 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23073         * hw-doloop.h (struct hwloop_info_d): Strengthen fields
23074         "last_insn", "loop_end" from rtx to rtx_insn *.
23076         * hw-doloop.c (scan_loop): Likewise for local "insn".
23077         (discover_loop): Likewise for param "tail_insn".
23078         (discover_loops): Likewise for local "tail".
23080         * config/bfin/bfin.c (hwloop_optimize): For now, add a checked
23081         cast to rtx_insn * when assigning from an rtx local to a
23082         hwloop_info's "last_insn" field.
23084 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23086         * haifa-sched.c (bb_header): Strengthen from rtx * to rtx_insn **.
23087         (add_delay_dependencies): Strengthen local "pro" from rtx to
23088         rtx_insn *.
23089         (recompute_todo_spec): Likewise.
23090         (dep_cost_1): Likewise for locals "insn", "used".
23091         (schedule_insn): Likewise for local "dbg".
23092         (schedule_insn): Likewise for locals "pro", "next".
23093         (unschedule_insns_until): Likewise for local "con".
23094         (restore_pattern): Likewise for local "next".
23095         (estimate_insn_tick): Likewise for local "pro".
23096         (resolve_dependencies): Likewise for local "next".
23097         (fix_inter_tick): Likewise.
23098         (fix_tick_ready): Likewise for local "pro".
23099         (add_to_speculative_block): Likewise for locals "check", "twin",
23100         "pro".
23101         (sched_extend_bb): Likewise for locals "end", "insn".
23102         (init_before_recovery): Likewise for local "x".
23103         (sched_create_recovery_block): Likewise for local "barrier".
23104         (create_check_block_twin): Likewise for local "pro".
23105         (fix_recovery_deps): Likewise for locals "note", "insn", "jump",
23106         "consumer".
23107         (unlink_bb_notes): Update for change to type of bb_header.
23108         Strengthen locals "prev", "label", "note", "next" from rtx to
23109         rtx_insn *.
23110         (clear_priorities): Likewise for local "pro".
23112 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23114         * gcse.c (struct occr): Strengthen field "insn" from rtx to
23115         rtx_insn *.
23116         (test_insn): Likewise for this global.
23117         (oprs_unchanged_p): Strengthen param "insn" from const_rtx to
23118         const rtx_insn *.
23119         (oprs_anticipatable_p): Likewise.
23120         (oprs_available_p): Likewise.
23121         (insert_expr_in_table): Strengthen param "insn" from  rtx to
23122         rtx_insn *.
23123         (hash_scan_set): Likewise.
23124         (hash_scan_clobber): Likewise.
23125         (hash_scan_call): Likewise.
23126         (hash_scan_insn): Likewise.
23127         (compute_hash_table_work): Likewise for local "insn".
23128         (process_insert_insn): Likewise for return type and local "pat".
23129         (insert_insn_end_basic_block): Likewise for locals "new_insn",
23130         "pat", "pat_end", "maybe_cc0_setter".
23131         (pre_edge_insert): Likewise for local "insn".
23132         (pre_insert_copy_insn): Likewise for param "insn".
23133         (pre_insert_copies): Likewise for local "insn".
23134         (struct set_data): Likewise for field "insn".
23135         (single_set_gcse): Likewise for param "insn".
23136         (gcse_emit_move_after): Likewise.
23137         (pre_delete): Likewise for local "insn".
23138         (update_bb_reg_pressure): Likewise for param "from" and local
23139         "insn".
23140         (should_hoist_expr_to_dom): Likewise for param "from".
23141         (hoist_code): Likewise for local "insn".
23142         (get_pressure_class_and_nregs): Likewise for param "insn".
23143         (calculate_bb_reg_pressure): Likewise for local "insn".
23144         (compute_ld_motion_mems): Likewise.
23146 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23148         * genpeep.c (main): Rename param back from "uncast_ins1" to
23149         "ins1", strengthening from rtx to rtx_insn *.  Drop now-redundant
23150         checked cast.
23152         * output.h (peephole): Strengthen param from rtx to rtx_insn *.
23154 2014-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
23156         PR target/62195
23157         * doc/md.texi (Machine Constraints): Update PowerPC wi constraint
23158         documentation to state it is only for VSX operations.
23160         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
23161         constraint only active if VSX.
23163         * config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
23164         wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
23165         (lfiwzx): Likewise.
23167 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23169         * fwprop.c (single_def_use_dom_walker::before_dom_children):
23170         Strengthen local "insn" from rtx to rtx_insn *.
23171         (use_killed_between): Likewise for param "target_insn".
23172         (all_uses_available_at): Likewise for param "target_insn" and
23173         local "next".
23174         (update_df_init): Likewise for params "def_insn", "insn".
23175         (update_df): Likewise for param "insn".
23176         (try_fwprop_subst): Likewise for param "def_insn" and local
23177         "insn".
23178         (free_load_extend): Likewise for param "insn".
23179         (forward_propagate_subreg): Likewise for param "def_insn" and
23180         local "use_insn".
23181         (forward_propagate_asm): Likewise for param "def_insn" and local
23182         "use_insn".
23183         (forward_propagate_and_simplify): Likewise for param "def_insn"
23184         and local "use_insn".
23185         (forward_propagate_into): Likewise for locals "def_insn" and
23186         "use_insn".
23188 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23190         * function.c (emit_initial_value_sets): Strengthen local "seq"
23191         from rtx to rtx_insn *.
23192         (instantiate_virtual_regs_in_insn): Likewise for param "insn" and
23193         local "seq".
23194         (instantiate_virtual_regs): Likewise for local "insn".
23195         (assign_parm_setup_reg): Likewise for locals "linsn", "sinsn".
23196         (reorder_blocks_1): Likewise for param "insns" and local "insn".
23197         (expand_function_end): Likewise for locals "insn" and "seq".
23198         (epilogue_done): Likewise for local "insn".
23199         (thread_prologue_and_epilogue_insns): Likewise for locals "prev",
23200         "last", "trial".
23201         (reposition_prologue_and_epilogue_notes): Likewise for locals
23202         "insn", "last", "note", "first".
23203         (match_asm_constraints_1): Likewise for param "insn" and local "insns".
23204         (pass_match_asm_constraints::execute): Likewise for local "insn".
23206 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23208         * output.h (final_scan_insn): Strengthen return type from rtx to
23209         rtx_insn *.
23210         (final_forward_branch_p): Likewise for param.
23211         (current_output_insn): Likewise for this global.
23213         * final.c (rtx debug_insn): Likewise for this variable.
23214         (current_output_insn): Likewise.
23215         (get_attr_length_1): Rename param "insn" to "uncast_insn",
23216         adding "insn" back in as an rtx_insn * with a checked cast, so
23217         that macro ADJUST_INSN_LENGTH can be passed an rtx_insn * as the
23218         first param.
23219         (compute_alignments): Strengthen local "label" from rtx to
23220         rtx_insn *.
23221         (shorten_branches): Rename param from "first" to "uncast_first",
23222         introducing a new local rtx_insn * "first" using a checked cast to
23223         effectively strengthen "first" from rtx to rtx_insn * without
23224         affecting the type signature.  Strengthen locals "insn", "seq",
23225         "next", "label" from rtx to rtx_insn *.
23226         (change_scope): Strengthen param "orig_insn" and local "insn" from
23227         rtx to rtx_insn *.
23228         (final_start_function): Rename param from "first" to "uncast_first",
23229         introducing a new local rtx_insn * "first" using a checked cast to
23230         effectively strengthen "first" from rtx to rtx_insn * without
23231         affecting the type signature.  Strengthen local "insn" from rtx to
23232         rtx_insn *.
23233         (dump_basic_block_info): Strengthen param "insn" from rtx to
23234         rtx_insn *.
23235         (final): Rename param from "first" to "uncast_first",
23236         introducing a new local rtx_insn * "first" using a checked cast to
23237         effectively strengthen "first" from rtx to rtx_insn * without
23238         affecting the type signature.  Strengthen locals "insn", "next"
23239         from rtx to rtx_insn *.
23240         (output_alternate_entry_point): Strengthen param "insn" from rtx to
23241         rtx_insn *.
23242         (call_from_call_insn): Strengthen param "insn" from rtx to
23243         rtx_call_insn *.
23244         (final_scan_insn): Rename param from "insn" to "uncast_insn",
23245         introducing a new local rtx_insn * "insn" using a checked cast to
23246         effectively strengthen "insn" from rtx to rtx_insn * without
23247         affecting the type signature.  Strengthen return type and locals
23248         "next", "note", "prev", "new_rtx" from rtx to rtx_insn *.  Remove
23249         now-redundant checked cast to rtx_insn * from both invocations of
23250         debug_hooks->var_location.  Convert CALL_P into a dyn_cast,
23251         introducing a local "call_insn" for use when invoking
23252         call_from_call_insn.
23253         (notice_source_line): Strengthen param "insn" from rtx to
23254         rtx_insn *.
23255         (leaf_function_p): Likewise for local "insn".
23256         (final_forward_branch_p): Likewise.
23257         (leaf_renumber_regs): Likewise for param "first".
23258         (rest_of_clean_state): Likewise for locals "insn" and "next".
23259         (self_recursive_call_p): Likewise for param "insn".
23260         (collect_fn_hard_reg_usage): Likewise for local "insn".
23261         (get_call_fndecl): Likewise for param "insn".
23262         (get_call_cgraph_rtl_info): Likewise.
23263         (get_call_reg_set_usage): Rename param from "insn" to "uncast_insn",
23264         introducing a new local rtx_insn * "insn" using a checked cast to
23265         effectively strengthen "insn" from rtx to rtx_insn * without
23266         affecting the type signature.
23268         * config/arc/arc.c (arc_final_prescan_insn): For now, add checked
23269         cast when assigning from param "insn" to current_output_insn.
23270         (arc_pad_return): Strengthen local "insn" from rtx to rtx_insn *
23271         so that we can assign it back to current_output_insn.
23273 2014-08-20  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
23275         * config/avr/avr-mcus.def: Remove atmega26hvg, atmega64rfa2,
23276         atmega48hvf, atxmega32x1, atmxt224, atmxt224e, atmxt336s,
23277         atmxt540s and atmxt540sreva devices.
23278         * config/avr/avr-tables.opt: Regenerate.
23279         * config/avr/t-multilib: Regenerate.
23280         * doc/avr-mmcu.texi: Regenerate.
23282 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23284         * expr.c (convert_move): Strengthen local "insns" from rtx to
23285         rtx_insn *.
23286         (emit_block_move_via_loop): Strengthen locals "cmp_label" and
23287         "top_label" from rtx to rtx_code_label *.
23288         (move_block_to_reg): Strengthen local "insn", "last" from rtx to
23289         rtx_insn *.
23290         (emit_single_push_insn): Likewise for locals "prev", "last".
23291         (store_expr): Strengthen locals "lab1", "lab2", "label" from rtx
23292         to rtx_code_label *.
23293         (store_constructor): Likewise for locals "loop_start", "loop_end".
23294         (expand_cond_expr_using_cmove): Strengthen local "seq" from rtx to
23295         rtx_insn *.
23296         (expand_expr_real_2): Likewise.
23297         (expand_expr_real_1): Strengthen local "label" from rtx to
23298         rtx_code_label *.
23300 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23302         * expmed.c (store_bit_field_using_insv): Strengthen local "last"
23303         from rtx to rtx_insn *.
23304         (store_bit_field_1): Likewise.
23305         (extract_bit_field_1): Likewise.
23306         (expand_mult_const): Likewise for local "insns".
23307         (expmed_mult_highpart): Strengthen local "label" from rtx to
23308         rtx_code_label *.
23309         (expand_smod_pow2): Likewise.
23310         (expand_sdiv_pow2): Likewise.
23311         (expand_divmod): Strengthen locals "last", "insn" from rtx to
23312         rtx_insn *.  Strengthen locals "label", "label1", "label2",
23313         "label3", "label4", "label5", "lab" from rtx to rtx_code_label *.
23314         (emit_cstore): Strengthen local "last" from rtx to rtx_insn *.
23315         (emit_store_flag): Likewise.
23316         (emit_store_flag_force): Strengthen local "label" from rtx to
23317         rtx_code_label *.
23318         (do_cmp_and_jump): Likewise for param "label".
23320 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23322         * explow.c (force_reg): Strengthen local "insn" from rtx to
23323         rtx_insn *.
23324         (adjust_stack_1): Likewise.
23325         (allocate_dynamic_stack_space): Likewise.  Strengthen locals
23326         "final_label", "available_label", "space_available" from rtx to
23327         rtx_code_label *.
23328         (probe_stack_range): Likewise for locals "loop_lab", "end_lab".
23329         (anti_adjust_stack_and_probe): Likewise.
23331 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23333         * except.h (sjlj_emit_function_exit_after): Strengthen param
23334         "after" from rtx to rtx_insn *.  This is only called with
23335         result of get_last_insn (in function.c) so type-change should be
23336         self-contained.
23338         * function.h (struct rtl_eh): Strengthen field "ehr_label" from
23339         rtx to rtx_code_label *, and field "sjlj_exit_after" from rtx
23340         to rtx_insn *.  These fields are only used from except.c so this
23341         type-change should be self-contained to this patch.
23343         * except.c (emit_to_new_bb_before): Strengthen param "seq" and
23344         local "last" from rtx to rtx_insn *.
23345         (dw2_build_landing_pads): Likewise for local "seq".
23346         (sjlj_mark_call_sites): Likewise for locals "insn", "before", p".
23347         (sjlj_emit_function_enter): Strengthen param "dispatch_label" from
23348         rtx to rtx_code_label *.  Strengthen locals "fn_begin", "seq" from
23349         rtx to rtx_insn *.
23350         (sjlj_emit_function_exit_after): Strengthen param "after" from rtx
23351         to rtx_insn *.
23352         (sjlj_emit_function_exit): Likewise for locals "seq", "insn".
23353         (sjlj_emit_dispatch_table): Likewise for locals "seq", "seq2".
23354         (sjlj_build_landing_pads): Replace NULL_RTX with NULL when
23355         referring to an insn.  Strengthen local "dispatch_label" from
23356         rtx to rtx_code_label *.
23357         (set_nothrow_function_flags): Strengthen local "insn" from rtx to
23358         rtx_insn *.
23359         (expand_eh_return): Strengthen local "around_label" from
23360         rtx to rtx_code_label *.
23361         (convert_to_eh_region_ranges): Strengthen locals "iter",
23362         "last_action_insn", "first_no_action_insn",
23363         "first_no_action_insn_before_switch",
23364         "last_no_action_insn_before_switch", from rtx to rtx_insn *.
23366 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23368         * dwarf2out.c (last_var_location_insn): Strengthen this variable
23369         from rtx to rtx_insn *.
23370         (cached_next_real_insn): Likewise.
23371         (dwarf2out_end_epilogue): Replace use of NULL_RTX with NULL when
23372         working with insns.
23373         (dwarf2out_var_location): Strengthen locals "next_real",
23374         "next_note", "expected_next_loc_note", "last_start", "insn" from
23375         rtx to rtx_insn *.
23377 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23379         * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
23380         from rtx to rtx_insn *.
23381         (create_pseudo_cfg): Likewise for local "insn".
23383 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23385         * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
23386         from rtx to rtx_insn *.
23387         (df_bb_regno_last_def_find): Likewise.
23389         * df-problems.c (df_rd_bb_local_compute): Likewise.
23390         (df_lr_bb_local_compute): Likewise.
23391         (df_live_bb_local_compute): Likewise.
23392         (df_chain_remove_problem): Likewise.
23393         (df_chain_create_bb): Likewise.
23394         (df_word_lr_bb_local_compute): Likewise.
23395         (df_remove_dead_eq_notes): Likewise for param "insn".
23396         (df_note_bb_compute): Likewise for local "insn".
23397         (simulate_backwards_to_point): Likewise.
23398         (df_md_bb_local_compute): Likewise.
23400         * df-scan.c (df_scan_free_bb_info): Likewise.
23401         (df_scan_start_dump): Likewise.
23402         (df_scan_start_block): Likewise.
23403         (df_install_ref_incremental): Likewise for local "insn".
23404         (df_insn_rescan_all): Likewise.
23405         (df_reorganize_refs_by_reg_by_insn): Likewise.
23406         (df_reorganize_refs_by_insn_bb): Likewise.
23407         (df_recompute_luids): Likewise.
23408         (df_bb_refs_record): Likewise.
23409         (df_update_entry_exit_and_calls): Likewise.
23410         (df_bb_verify): Likewise.
23412 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23414         * ddg.h (struct ddg_node): Strengthen fields "insn" and
23415         "first_note" from rtx to rtx_insn *.
23416         (get_node_of_insn): Likewise for param 2 "insn".
23417         (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
23419         * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
23420         rtx_insn *.
23421         (mem_write_insn_p): Likewise.
23422         (mem_access_insn_p): Likewise.
23423         (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
23424         (def_has_ccmode_p): Likewise for param "insn".
23425         (add_cross_iteration_register_deps): Likewise for locals
23426         "def_insn" and "use_insn".
23427         (insns_may_alias_p): Likewise for params "insn1" and "insn2".
23428         (build_intra_loop_deps): Likewise for local "src_insn".
23429         (create_ddg): Strengthen locals "insn" and "first_note" from rtx
23430         to rtx_insn *.
23431         (get_node_of_insn): Likewise for param "insn".
23433 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23435         * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
23436         (deletable_insn_p): Strengthen param "insn" from rtx to
23437         rtx_insn *.  Add checked cast to rtx_call_insn when invoking
23438         find_call_stack_args, since this is guarded by CALL_P (insn).
23439         (marked_insn_p): Strengthen param "insn" from rtx to
23440         rtx_insn *.
23441         (mark_insn): Likewise.  Add checked cast to rtx_call_insn when
23442         invoking find_call_stack_args, since this is guarded by
23443         CALL_P (insn).
23444         (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
23445         rtx_insn *; we know this is an insn since this was called by
23446         mark_nonreg_stores.
23447         (mark_nonreg_stores_2): Likewise.
23448         (mark_nonreg_stores): Strengthen param "insn" from rtx to
23449         rtx_insn *.
23450         (find_call_stack_args): Strengthen param "call_insn" from rtx to
23451         rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
23452         to rtx_insn *.
23453         (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
23454         from rtx to rtx_insn *.
23455         (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
23456         "next", "ref_insn".
23457         (delete_unmarked_insns): Likewise for locals "insn", "next".
23458         (prescan_insns_for_dce): Likewise for locals "insn", "prev".
23459         (mark_reg_dependencies): Likewise for param "insn".
23460         (rest_of_handle_ud_dce): Likewise for local "insn".
23461         (word_dce_process_block): Likewise.
23462         (dce_process_block): Likewise.
23464 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23466         * cse.c (struct qty_table_elem): Strengthen field "const_insn"
23467         from rtx to rtx_insn *.
23468         (struct change_cc_mode_args): Likewise for field "insn".
23469         (this_insn): Strengthen from rtx to rtx_insn *.
23470         (make_new_qty): Replace use of NULL_RTX with NULL when dealing
23471         with insn.
23472         (validate_canon_reg): Strengthen param "insn" from rtx to
23473         rtx_insn *.
23474         (canon_reg): Likewise.
23475         (fold_rtx): Likewise.  Replace use of NULL_RTX with NULL when
23476         dealing with insn.
23477         (record_jump_equiv): Strengthen param "insn" from rtx to
23478         rtx_insn *.
23479         (try_back_substitute_reg): Likewise, also for locals "prev",
23480         "bb_head".
23481         (find_sets_in_insn): Likewise for param "insn".
23482         (canonicalize_insn): Likewise.
23483         (cse_insn): Likewise.  Add a checked cast.
23484         (invalidate_from_clobbers): Likewise for param "insn".
23485         (invalidate_from_sets_and_clobbers): Likewise.
23486         (cse_process_notes_1): Replace use of NULL_RTX with NULL when
23487         dealing with insn.
23488         (cse_prescan_path): Strengthen local "insn" from rtx to
23489         rtx_insn *.
23490         (cse_extended_basic_block): Likewise for locals "insn" and
23491         "prev_insn".
23492         (cse_main): Likewise for param "f".
23493         (check_for_label_ref): Likewise for local "insn".
23494         (set_live_p): Likewise for second param ("insn").
23495         (insn_live_p): Likewise for first param ("insn") and for local
23496         "next".
23497         (cse_change_cc_mode_insn): Likewise for first param "insn".
23498         (cse_change_cc_mode_insns): Likewise for first and second params
23499         "start" and "end".
23500         (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
23501         and "end".
23502         (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
23503         "cc_src_insn".
23505 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
23506             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
23507             Anna Tikhonova  <anna.tikhonova@intel.com>
23508             Ilya Tocar  <ilya.tocar@intel.com>
23509             Andrey Turetskiy  <andrey.turetskiy@intel.com>
23510             Ilya Verbin  <ilya.verbin@intel.com>
23511             Kirill Yukhin  <kirill.yukhin@intel.com>
23512             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
23514         * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
23515         New.
23516         * config/i386/sse.md
23517         (define_mode_iterator VI248_AVX2): Delete.
23518         (define_mode_iterator VI2_AVX2_AVX512BW): New.
23519         (define_mode_iterator VI48_AVX2): Ditto.
23520         (define_insn <shift_insn><mode>3): Delete.
23521         (define_insn "<shift_insn><mode>3<mask_name>" with
23522         VI2_AVX2_AVX512BW): New.
23523         (define_insn "<shift_insn><mode>3<mask_name>" with
23524         VI48_AVX2): Ditto.
23526 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
23527             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
23528             Anna Tikhonova  <anna.tikhonova@intel.com>
23529             Ilya Tocar  <ilya.tocar@intel.com>
23530             Andrey Turetskiy  <andrey.turetskiy@intel.com>
23531             Ilya Verbin  <ilya.verbin@intel.com>
23532             Kirill Yukhin  <kirill.yukhin@intel.com>
23533             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
23535         * config/i386/sse.md
23536         (define_mode_iterator VI4F_BRCST32x2): New.
23537         (define_mode_attr 64x2_mode): Ditto.
23538         (define_mode_attr 32x2mode): Ditto.
23539         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
23540         with VI4F_BRCST32x2): Ditto.
23541         (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
23542         with V16FI mode iterator): Ditto.
23543         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
23544         with V16FI): Ditto.
23545         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
23546         with VI8F_BRCST64x2): Ditto.
23548 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
23549             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
23550             Anna Tikhonova  <anna.tikhonova@intel.com>
23551             Ilya Tocar  <ilya.tocar@intel.com>
23552             Andrey Turetskiy  <andrey.turetskiy@intel.com>
23553             Ilya Verbin  <ilya.verbin@intel.com>
23554             Kirill Yukhin  <kirill.yukhin@intel.com>
23555             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
23557         * config/i386/sse.md
23558         (define_mode_iterator VI8_AVX512VL): New.
23559         (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
23561 2014-08-22  Kirill Yukhin  <kirill.yukhin@intel.com>
23563         * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
23564         (define_mode_iterator V48_AVX512VL): New.
23565         (define_mode_iterator V12_AVX512VL): Ditto.
23566         (define_insn <avx512>_load<mode>_mask): Split into two similar
23567         patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
23568         Refactor output template.
23569         (define_insn "<avx512>_store<mode>_mask"): Ditto.
23571 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23573         * cprop.c (struct occr): Strengthen field "insn" from rtx to
23574         rtx_insn *.
23575         (reg_available_p): Likewise for param "insn".
23576         (insert_set_in_table): Likewise.
23577         (hash_scan_set): Likewise.
23578         (hash_scan_insn): Likewise.
23579         (make_set_regs_unavailable): Likewise.
23580         (compute_hash_table_work): Likewise for local "insn".
23581         (reg_not_set_p): Strengthen param "insn" from const_rtx to
23582         const rtx_insn *.
23583         (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
23584         (try_replace_reg): Likewise.
23585         (find_avail_set): Likewise.
23586         (cprop_jump): Likewise for params "setcc", "jump".
23587         (constprop_register): Likewise for param "insn".
23588         (cprop_insn): Likewise.
23589         (do_local_cprop): Likewise.
23590         (local_cprop_pass): Likewise for local "insn".
23591         (bypass_block): Likewise for params "setcc" and "jump".
23592         (bypass_conditional_jumps): Likewise for locals "setcc" and
23593         "insn".
23594         (one_cprop_pass): Likewise for local "insn".
23596 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23598         * compare-elim.c (struct comparison_use): Strengthen field "insn"
23599         from rtx to rtx_insn *.
23600         (struct comparison): Likewise, also for field "prev_clobber".
23601         (conforming_compare): Likewise for param "insn".
23602         (arithmetic_flags_clobber_p): Likewise.
23603         (find_flags_uses_in_insn): Likewise.
23604         (find_comparison_dom_walker::before_dom_children): Likewise for
23605         locals "insn", "next", "last_clobber".
23606         (try_eliminate_compare): Likewise for locals "insn", "bb_head".
23608 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
23610         * combine-stack-adj.c (struct csa_reflist): Strengthen field
23611         "insn" from rtx to rtx_insn *.
23612         (single_set_for_csa): Likewise for param "insn".
23613         (record_one_stack_ref): Likewise.
23614         (try_apply_stack_adjustment): Likewise.
23615         (struct record_stack_refs_data): Likewise for field "insn".
23616         (maybe_move_args_size_note): Likewise for params "last" and "insn".
23617         (prev_active_insn_bb): Likewise for return type and param "insn".
23618         (next_active_insn_bb): Likewise.
23619         (force_move_args_size_note): Likewise for params "prev" and "last"
23620         and locals "test", "next_candidate", "prev_candidate".
23621         (combine_stack_adjustments_for_block): Strengthen locals
23622         "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
23623         rtx_insn *.
23625 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23627         * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
23628         (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
23629         (subst_insn): Likewise for this variable.
23630         (added_links_insn): Likewise.
23631         (struct insn_link): Likewise for field "insn".
23632         (alloc_insn_link): Likewise for param "insn".
23633         (struct undobuf): Likewise for field "other_insn".
23634         (find_single_use): Likewise for param "insn" and local "next".
23635         (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
23636         (delete_noop_moves): Likewise for locals "insn", "next".
23637         (create_log_links): Likewise for locals "insn", "use_insn".
23638         Strengthen local "next_use" from rtx * to rtx_insn **.
23639         (insn_a_feeds_b): Likewise for params "a", "b".
23640         (combine_instructions): Likewise for param "f" and locals "insn",
23641         "next", "prev", "first", "last_combined_insn", "link", "link1",
23642         "temp".  Replace use of NULL_RTX with NULL when referring to
23643         insns.
23644         (setup_incoming_promotions): Likewise for param "first"
23645         (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
23646         (can_combine_p): Likewise for params "insn", "i3", "pred",
23647         "pred2", "succ", "succ2" and for local "p".
23648         (combinable_i3pat): Likewise for param "i3".
23649         (cant_combine_insn_p): Likewise for param "insn".
23650         (likely_spilled_retval_p): Likewise.
23651         (adjust_for_new_dest): Likewise.
23652         (update_cfg_for_uncondjump): Likewise, also for local "insn".
23653         (try_combine): Likewise for return type and for params "i3", "i2",
23654         "i1", "i0", "last_combined_insn", and for locals "insn",
23655         "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
23656         "i0_insn".  Eliminate local "tem" in favor of new locals
23657         "tem_note" and "tem_insn", the latter being an rtx_insn *.  Add a
23658         checked cast for now to rtx_insn * on the return type of
23659         gen_rtx_INSN.  Replace use of NULL_RTX with NULL when referring to
23660         insns.
23661         (find_split_point): Strengthen param "insn" from rtx to
23662         rtx_insn *.
23663         (simplify_set): Likewise for local "other_insn".
23664         (recog_for_combine): Likewise for param "insn".
23665         (record_value_for_reg): Likewise.
23666         (record_dead_and_set_regs_1): Likewise for local
23667         "record_dead_insn".
23668         (record_dead_and_set_regs): Likewise for param "insn".
23669         (record_promoted_value): Likewise.
23670         (check_promoted_subreg): Likewise.
23671         (get_last_value_validate): Likewise.
23672         (reg_dead_at_p): Likewise.
23673         (move_deaths): Likewise for param "to_insn".
23674         (distribute_notes): Likewise for params "from_insn", "i3", "i2"
23675         and locals "place", "place2", "cc0_setter".  Eliminate local "tem
23676         in favor of new locals "tem_note" and "tem_insn", the latter being
23677         an rtx_insn *.
23678         (distribute_links): Strengthen locals "place", "insn" from rtx to
23679         rtx_insn *.
23681 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23683         * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
23684         than a const_rtx.
23685         (can_delete_label_p): Require a const rtx_code_label * rather than
23686         a const_rtx.
23687         (delete_insn): Add checked cast to rtx_code_label * when we know
23688         we're dealing with LABEL_P (insn).  Strengthen local "bb_note" from
23689         rtx to rtx_insn *.
23690         (delete_insn_chain): Strengthen locals "prev" and "current" from
23691         rtx to rtx_insn *.  Add a checked cast when assigning from
23692         "finish" (strengthening the params will come later).  Add a
23693         checked cast to rtx_note * in region where we know
23694         NOTE_P (current).
23695         (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
23696         rtx_insn *.
23697         (compute_bb_for_insn): Likewise.
23698         (free_bb_for_insn): Likewise for local "insn".
23699         (compute_bb_for_insn): Likewise.
23700         (update_bb_for_insn_chain): Strengthen params "begin", "end" and
23701         local "insn" from rtx to rtx_insn *
23702         (flow_active_insn_p): Require a const rtx_insn * rather than a
23703         const_rtx.
23704         (contains_no_active_insn_p): Strengthen local "insn" from rtx to
23705         rtx_insn *.
23706         (can_fallthru): Likewise for locals "insn" and "insn2".
23707         (bb_note): Likewise for local "note".
23708         (first_insn_after_basic_block_note): Likewise for local "note" and
23709         for return type.
23710         (rtl_split_block): Likewise for locals "insn" and "next".
23711         (unique_locus_on_edge_between_p): Likewise for locals "insn" and
23712         "end".
23713         (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
23714         "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
23715         "prev", "tmp".
23716         (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
23717         them), "kill_from", "barrier", "new_insn".
23718         (patch_jump_insn): Likewise for params "insn", "old_label".
23719         (redirect_branch_edge): Likewise for locals "old_label", "insn".
23720         (force_nonfallthru_and_redirect): Likewise for locals "insn",
23721         "old_label", "new_label".
23722         (rtl_tidy_fallthru_edge): Likewise for local "q".
23723         (rtl_split_edge): Likewise for locals "before", "last".
23724         (commit_one_edge_insertion): Likewise for locals "before",
23725         "after", "insns", "tmp", "last", adding a checked cast where
23726         currently necessary.
23727         (commit_edge_insertions): Likewise.
23728         (rtl_dump_bb): Likewise for locals "insn", "last".
23729         (print_rtl_with_bb): Likewise for local "x".
23730         (rtl_verify_bb_insns): Likewise for local "x".
23731         (rtl_verify_bb_pointers): Likewise for local "insn".
23732         (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
23733         "head", "end".
23734         (rtl_verify_fallthru): Likewise for local "insn".
23735         (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
23736         (purge_dead_edges): Likewise for local "insn".
23737         (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
23738         (skip_insns_after_block): Likewise for return type and for locals
23739         "insn", "last_insn", "next_head", "prev".
23740         (record_effective_endpoints): Likewise for locals "next_insn",
23741         "insn", "end".
23742         (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
23743         (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
23744         (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
23745         (duplicate_insn_chain): For now, add checked cast from rtx to
23746         rtx_insn * when returning insn.
23747         (cfg_layout_duplicate_bb): Likewise for local "insn".
23748         (cfg_layout_delete_block): Likewise for locals "insn", "next",
23749         "prev", "remaints".
23750         (cfg_layout_merge_blocks): Likewise for local "insn", "last".
23751         (rtl_block_empty_p): Likewise.
23752         (rtl_split_block_before_cond_jump): Likewise for locals "insn",
23753         "split_point", "last".
23754         (rtl_block_ends_with_call_p): Likewise for local "insn".
23755         (need_fake_edge_p): Strengthen param "insn" from const_rtx to
23756         const rtx_insn *.
23757         (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
23758         "split_at_insn" from rtx to rtx_insn *.
23759         (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
23760         (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
23761         to const rtx_insn *.
23762         (rtl_account_profile_record): Likewise.
23764 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23766         * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
23767         rtx to rtx_insn *.
23768         (average_num_loop_insns): Likewise.
23769         (init_set_costs): Likewise for local "seq".
23770         (seq_cost): Likewise for param "seq", from const_rtx to const
23771         rtx_insn *.
23773 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23775         * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
23776         rtx to rtx_insn *.
23778 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23780         * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
23781         "f1" and "f2" from rtx * to rtx_insn **.
23782         (flow_find_head_matching_sequence): Likewise.
23784         * cfgcleanup.c (try_simplify_condjump): Strengthen local
23785         "cbranch_insn" from rtx to rtx_insn *.
23786         (thread_jump): Likewise for local "insn".
23787         (try_forward_edges): Likewise for local "last".
23788         (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
23789         (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
23790         "real_b_end".
23791         (can_replace_by): Likewise for params "i1", "i2".
23792         (old_insns_match_p): Likewise.
23793         (merge_notes): Likewise.
23794         (walk_to_nondebug_insn): Likewise for param "i1".
23795         (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
23796         to rtx_insn **.  Strengthen locals "i1", "i2", "last1", "last2",
23797         "afterlast1", "afterlast2" from rtx to rtx_insn *.
23798         (flow_find_head_matching_sequence): Strengthen params "f1" and
23799         "f2" from rtx * to rtx_insn **.  Strengthen locals "i1", "i2",
23800         "last1", "last2", "beforelast1", "beforelast2" from rtx to
23801         rtx_insn *.
23802         (outgoing_edges_match): Likewise for locals "last1", "last2".
23803         (try_crossjump_to_edge): Likewise for local "insn".
23804         Replace call to for_each_rtx with for_each_rtx_in_insn.
23806         (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
23807         (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
23808         "e0_last", "e_last", "head", "curr", "insn".  Strengthen locals
23809         "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
23810         (try_optimize_cfg): Strengthen local "last" from rtx to
23811         rtx_insn *.
23812         (delete_dead_jumptables): Likewise for locals "insn", "next",
23813         "label".
23815         * ifcvt.c (cond_exec_process_if_block): Likewise for locals
23816         "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
23817         "rtx else_first_tail", to reflect the basic-block.h changes above.
23819 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23821         * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
23822         rtx_insn *.
23823         (purge_dead_tablejump_edges): Likewise.
23824         (find_bb_boundaries): Likewise for locals "insn", "end",
23825         "flow_transfer_insn".
23827 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23829         * caller-save.c (save_call_clobbered_regs): Strengthen locals
23830         "ins" and "prev" from rtx to rtx_insn *.
23832 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23834         * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
23835         rtx_insn *.
23836         (internal_arg_pointer_exp_state): Likewise for field "scan_start".
23837         (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
23838         "scan_start".
23839         (load_register_parameters): Likewise for local "before_arg".
23840         (check_sibcall_argument_overlap): Likewise for param "insn".
23841         (expand_call): Likewise for locals "normal_call_insns",
23842         "tail_call_insns", "insns", "before_call", "after_args",
23843         "before_arg", "last", "prev".  Strengthen one of the "last" from
23844         rtx to rtx_call_insn *.
23845         (fixup_tail_calls): Strengthen local "insn" from rtx to
23846         rtx_insn *.
23847         (emit_library_call_value_1): Likewise for locals "before_call" and
23848         "last".
23850 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23852         * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
23853         and "last" from rtx to rtx_insn *.
23854         (expand_builtin_nonlocal_goto): Likewise for local "insn".
23855         (expand_builtin_apply): Strengthen local "call_insn" from rtx to
23856         rtx_call_insn *.
23857         (expand_errno_check): Strengthen local "lab" from rtx to
23858         rtx_code_label *.
23859         (expand_builtin_mathfn): Strengthen local "insns" from rtx to
23860         rtx_insn *.
23861         (expand_builtin_mathfn_2): Likewise.
23862         (expand_builtin_mathfn_ternary): Likewise.
23863         (expand_builtin_mathfn_3): Likewise.
23864         (expand_builtin_interclass_mathfn): Likewise for local "last".
23865         (expand_builtin_int_roundingfn): Likewise for local "insns".
23866         (expand_builtin_int_roundingfn_2): Likewise.
23867         (expand_builtin_strlen): Likewise for local "before_strlen".
23868         (expand_builtin_strncmp): Likewise for local "seq".
23869         (expand_builtin_signbit): Likewise for local "last".
23870         (expand_builtin_atomic_compare_exchange): Strengthen local "label"
23871         from rtx to rtx_code_label *.
23872         (expand_stack_restore):  Strengthen local "prev" from rtx to
23873         rtx_insn *.
23875 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23877         * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
23878         to rtx_insn *.
23879         (struct btr_def_s): Likewise.
23880         (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
23881         const rtx_insn *.
23882         (add_btr_def): Likewise.
23883         (new_btr_user): Likewise.
23884         (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
23885         rtx to rtx_insn *.
23886         (link_btr_uses): Likewise.
23887         (move_btr_def): Likewise for locals "insp", "old_insn",
23888         "new_insn".  Add checked cast to rtx_insn * for now on result of
23889         gen_move_insn.
23890         (can_move_up): Strengthen param "insn" from const_rtx to
23891         const rtx_insn *.
23893 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23895         * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
23896         rtx_insn *.
23897         (get_uncond_jump_length): Likewise for locals "label", "jump".
23898         (fix_up_crossing_landing_pad): Likewise for locals "new_label",
23899         "jump", "insn".
23900         (add_labels_and_missing_jumps): Likewise for local "new_jump".
23901         (fix_up_fall_thru_edges): Likewise for local "old_jump".
23902         (find_jump_block): Likewise for local "insn".
23903         (fix_crossing_conditional_branches): Likewise for locals
23904         "old_jump", "new_jump".
23905         (fix_crossing_unconditional_branches): Likewise for locals
23906         "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
23907         (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
23909 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23911         * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
23912         rtx to rtx_insn *.
23913         (struct mem_insn): Likewise for field "insn".
23914         (reg_next_use): Strengthen from rtx * to rtx_insn **.
23915         (reg_next_inc_use): Likewise.
23916         (reg_next_def): Likewise.
23917         (move_dead_notes): Strengthen params "to_insn" and "from_insn"
23918         from rtx to rtx_insn *.
23919         (move_insn_before): Likewise for param "next_insn" and local "insns".
23920         (attempt_change): Likewise for local "mov_insn".
23921         (try_merge): Likewise for param "last_insn".
23922         (get_next_ref): Likewise for return type and local "insn".
23923         Strengthen param "next_array" from rtx * to rtx_insn **.
23924         (parse_add_or_inc): Strengthen param "insn" from rtx to
23925         rtx_insn *.
23926         (find_inc): Likewise for locals "insn" and "other_insn" (three of
23927         the latter).
23928         (merge_in_block): Likewise for locals "insn", "curr",
23929         "other_insn".
23930         (pass_inc_dec::execute): Update allocations of the arrays to
23931         reflect the stronger types.
23933 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23935         * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
23936         and "jump" from rtx to rtx_insn *.  Strengthen local "top_label"
23937         from rtx to rtx_code_label *.
23939 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23941         * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
23942         to rtx_insn *.
23944 2014-08-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
23946         * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
23947         generated a warning and prevented bootstrapping the compiler.
23949 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23951         * rtl.h (delete_related_insns): Strengthen return type from rtx to
23952         rtx_insn *.
23954         * jump.c (delete_related_insns): Likewise, also for locals "next"
23955         and "prev".
23957 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23959         * genautomata.c (output_internal_insn_latency_func): When writing
23960         the function "internal_insn_latency" to insn-automata.c,
23961         strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
23962         allowing the optional guard function of (define_bypass) clauses to
23963         expect a pair of rtx_insn *, rather than a pair of rtx.
23964         (output_insn_latency_func): When writing the function
23965         "insn_latency", add an "uncast_" prefix to params "insn" and
23966         "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
23967         using checked casts from the params, thus enabling the above
23968         change to the generated "internal_insn_latency" function.
23970 2014-08-21  Jan Hubicka  <hubicka@ucw.cz>
23972         PR tree-optimization/62091
23973         * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
23974         handle correctly arrays.
23975         (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
23976         inheritance binfos.
23977         (record_known_type): Walk into inner type.
23978         (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
23979         condition on no type changes.
23981 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23983         * genattrtab.c (write_attr_get): Within the generated get_attr_
23984         functions, rename param "insn" to "uncast_insn" and reintroduce
23985         "insn" as an local rtx_insn * using a checked cast, so that "insn"
23986         is an rtx_insn * within insn-attrtab.c
23988 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
23990         * output.h (peephole): Strengthen return type from rtx to
23991         rtx_insn *.
23992         * rtl.h (delete_for_peephole): Likewise for both params.
23993         * genpeep.c (main): In generated "peephole" function, strengthen
23994         return type and local "insn" from rtx to rtx_insn *.  For now,
23995         rename param "ins1" to "uncast_ins1", adding "ins1" back as an
23996         rtx_insn *, with a checked cast.
23997         * jump.c (delete_for_peephole): Strengthen params "from", "to" and
23998         locals "insn", "next", "prev" from rtx to rtx_insn *.
24000 2014-08-21  Marc Glisse  <marc.glisse@inria.fr>
24002         PR tree-optimization/62112
24003         * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
24004         * gimple-iterator.h (gsi_replace): Return bool.
24005         * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
24006         moved from ref_may_alias_global_p.
24007         (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
24008         New overloads.
24009         (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
24010         (stmt_kills_ref_p_1): Rename...
24011         (stmt_kills_ref_p): ... to this.
24012         * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
24013         stmt_kills_ref_p): Declare.
24014         * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
24015         Move the self-assignment case...
24016         (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
24018 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24020         * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
24022         * emit-rtl.c (try_split): Likewise, also for locals "before" and
24023         "after".  For now, don't strengthen param "trial", which requires
24024         adding checked casts when returning it.
24026 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24028         * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
24029         "label" from rtx to rtx_code_label *.  Strengthen param 1 of
24030         "var_location" hook from rtx to rtx_insn *.
24031         (debug_nothing_rtx): Delete in favor of...
24032         (debug_nothing_rtx_code_label): New prototype.
24033         (debug_nothing_rtx_rtx): Delete unused prototype.
24034         (debug_nothing_rtx_insn): New prototype.
24036         * final.c (final_scan_insn): Add checked cast to rtx_insn * when
24037         invoking debug_hooks->var_location (in two places, one in a NOTE
24038         case of a switch statement, the other guarded by a CALL_P
24039         conditional.  Add checked cast to rtx_code_label * when invoking
24040         debug_hooks->label (within CODE_LABEL case of switch statement).
24042         * dbxout.c (dbx_debug_hooks): Update "label" hook from
24043         debug_nothing_rtx to debug_nothing_rtx_code_label.  Update
24044         "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
24045         (xcoff_debug_hooks): Likewise.
24046         * debug.c (do_nothing_debug_hooks): Likewise.
24047         (debug_nothing_rtx): Delete in favor of...
24048         (debug_nothing_rtx_insn): New function.
24049         (debug_nothing_rtx_rtx): Delete unused function.
24050         (debug_nothing_rtx_code_label): New function.
24051         * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
24052         debug_nothing_rtx to debug_nothing_rtx_code_label.
24053         (dwarf2out_var_location): Strengthen param "loc_note" from rtx
24054         to rtx_insn *.
24055         * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
24056         debug_nothing_rtx to debug_nothing_rtx_insn.
24057         (sdbout_label): Strengthen param "insn" from rtx to
24058         rtx_code_label *.
24059         * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
24060         debug_nothing_rtx to debug_nothing_rtx_code_label.  Update
24061         "var_location" hook from debug_nothing_rtx to
24062         debug_nothing_rtx_insn.
24064 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24066         * recog.h (insn_output_fn): Update this function typedef to match
24067         the changes below to the generated output functions, strengthening
24068         the 2nd param from rtx to rtx_insn *.
24070         * final.c (get_insn_template): Add a checked cast to rtx_insn * on
24071         insn when invoking an output function, to match the new signature
24072         of insn_output_fn with a stronger second param.
24074         * genconditions.c (write_header): In the generated code for
24075         gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
24076         to match the other changes in this patch.
24078         * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
24079         the generated "gen_" functions from rtx to rtx_insn * within their
24080         implementations.
24082         * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
24083         the subfunctions within the generated "recog_", "split", "peephole2"
24084         function trees from rtx to rtx_insn *.  For now, the top-level
24085         generated functions ("recog", "split", "peephole2") continue to
24086         take a plain rtx for "insn", to avoid introducing dependencies on
24087         other patches.  Rename this 2nd param from "insn" to
24088         "uncast_insn", and reintroduce "insn" as a local variable of type
24089         rtx_insn *, initialized at the top of the generated function with
24090         a checked cast on "uncast_insn".
24091         (make_insn_sequence): Strengthen the 1st param "curr_insn" of
24092         the generated "gen_" functions from rtx to rtx_insn * within their
24093         prototypes.
24095         * genoutput.c (process_template): Strengthen the 2nd param within
24096         the generated "output_" functions "insn" from rtx to rtx_insn *.
24098 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
24100         * tree-profile.c (tree_profiling): Skip external functions
24101         when doing coverage instrumentation.
24102         * cgraphunit.c (compile): Do not assert that all nodes are reachable.
24104 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
24106         * config/rs6000/altivec.h (vec_cpsgn): New #define.
24107         (vec_mergee): Likewise.
24108         (vec_mergeo): Likewise.
24109         (vec_cntlz): Likewise.
24110         * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
24111         entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
24112         VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
24113         VMRGEW, and VMRGOW.
24114         * doc/extend.texi: Document various forms of vec_cpsgn,
24115         vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
24116         vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
24117         vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
24118         vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
24119         vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
24121 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
24123         * config/rs6000/rs6000.c (context.h): New include.
24124         (tree-pass.h): Likewise.
24125         (make_pass_analyze_swaps): New decl.
24126         (rs6000_option_override): Register pass_analyze_swaps.
24127         (swap_web_entry): New subsclass of web_entry_base (df.h).
24128         (special_handling_values): New enum.
24129         (union_defs): New function.
24130         (union_uses): Likewise.
24131         (insn_is_load_p): Likewise.
24132         (insn_is_store_p): Likewise.
24133         (insn_is_swap_p): Likewise.
24134         (rtx_is_swappable_p): Likewise.
24135         (insn_is_swappable_p): Likewise.
24136         (chain_purpose): New enum.
24137         (chain_contains_only_swaps): New function.
24138         (mark_swaps_for_removal): Likewise.
24139         (swap_const_vector_halves): Likewise.
24140         (adjust_subreg_index): Likewise.
24141         (permute_load): Likewise.
24142         (permute_store): Likewise.
24143         (handle_special_swappables): Likewise.
24144         (replace_swap_with_copy): Likewise.
24145         (dump_swap_insn_table): Likewise.
24146         (rs6000_analyze_swaps): Likewise.
24147         (pass_data_analyze_swaps): New pass_data.
24148         (pass_analyze_swaps): New rtl_opt_pass.
24149         (make_pass_analyze_swaps): New function.
24150         * config/rs6000/rs6000.opt (moptimize-swaps): New option.
24152 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24154         * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
24155         type from rtx to rtx_insn *.
24156         (create_copy_of_insn_rtx): Likewise.
24157         * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
24158         (create_copy_of_insn_rtx): Likewise, also for local "res".
24160 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24162         * rtl.h (find_first_parameter_load): Strengthen return type from
24163         rtx to rtx_insn *.
24164         * rtlanal.c (find_first_parameter_load): Strengthen return type
24165         from rtx to rtx_insn *.  Add checked cast for now, to postpone
24166         strengthening the params.
24168 2014-08-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
24170         PR fortran/44054
24171         * diagnostic.c: Set default caret.
24172         (diagnostic_show_locus): Use it. Tell pretty-printer that a new
24173         line is needed.
24174         * diagnostic.h (struct diagnostic_context):
24176 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24178         * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
24179         (sel_bb_head): Strengthen return type insn_t (currently just an
24180         rtx) to rtx_insn *.
24181         (sel_bb_end): Likewise.
24183         * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
24184         (sel_bb_head): Strengthen return type and local "head" from
24185         insn_t (currently just an rtx) to rtx_insn *.
24186         (sel_bb_end): Likewise for return type.
24187         (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
24188         working with insn.
24190 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
24192         * basic-block.h (get_last_bb_insn): Strengthen return type from
24193         rtx to rtx_insn *.
24194         * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
24195         end".
24197 2014-08-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
24199         PR fortran/44054
24200         * diagnostic.c (default_diagnostic_finalizer): Move caret printing
24201         to here ...
24202         (diagnostic_report_diagnostic): ... from here.
24203         * toplev.c (general_init): Move code to c-family.
24205 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
24207         * df.h (web_entry_base): Replace existing struct web_entry with a
24208         new class web_entry_base with only the predecessor member.
24209         (unionfind_root): Remove declaration and move to class member.
24210         (unionfind_union): Remove declaration and move to friend
24211         function.
24212         (union_defs): Remove declaration.
24213         * web.c (web_entry_base::unionfind_root): Modify to be member
24214         function and adjust accessors.
24215         (unionfind_union): Modify to be friend function and adjust
24216         accessors.
24217         (web_entry): New subclass of web_entry_base containing the reg
24218         member.
24219         (union_match_dups): Modify for struct -> class changes.
24220         (union_defs): Likewise.
24221         (entry_register): Likewise.
24222         (pass_web::execute): Likewise.
24224 2014-08-20  Bill Schmidt  <wschmidt@vnet.ibm.com>
24226         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
24227         builtin define __VEC_ELEMENT_REG_ORDER__.
24229 2014-08-20  Martin Jambor  <mjambor@suse.cz>
24230             Wei Mi  <wmi@google.com>
24232         PR ipa/60449
24233         PR middle-end/61776
24234         * tree-ssa-operands.c (update_stmt_operands): Remove
24235         MODIFIED_NORETURN_CALLS.
24236         * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
24237         (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
24238         (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
24239         (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
24240         * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
24241         * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
24242         (gimple_call_set_ctrl_altering): New func.
24243         (gimple_call_ctrl_altering_p): Ditto.
24244         * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
24245         (make_blocks): Use gimple_call_initialize_ctrl_altering.
24246         (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
24247         (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
24248         remove MODIFIED_NORETURN_CALLS.
24250 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
24252         * coverage.c (coverage_compute_profile_id): Return non-0;
24253         also handle symbols with unique name.
24254         (coverage_end_function): Do not skip DECL_EXTERNAL functions.
24256 2014-08-20  Steve Ellcey  <sellcey@mips.com>
24258         PR middle-end/49191
24259         * doc/sourcebuild.texi (non_strict_align): New.
24261 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
24263         * cgraphunit.c (ipa_passes, compile): Reshedule
24264         symtab_remove_unreachable_nodes passes; update comments.
24265         * ipa-inline.c (pass_data_ipa_inline): Do not schedule
24266         TODO_remove_functions before the pass; the functions ought to be
24267         already removed.
24268         * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
24269         TODO_remove_functions.
24270         * passes.c (pass_data_early_local_passes): Do not schedule function
24271         removal.
24272         (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
24274 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
24276         PR c/59304
24277         * opts-common.c (set_option): Call diagnostic_classify_diagnostic
24278         before setting the option.
24279         * diagnostic.c (diagnostic_classify_diagnostic): Record
24280         command-line status.
24282 2014-08-20  Richard Biener  <rguenther@suse.de>
24284         PR lto/62190
24285         * tree.c (build_common_tree_nodes): Use make_or_reuse_type
24286         to build uint{16,32,64}_type_node.
24288 2014-08-20  Terry Guo  <terry.guo@arm.com>
24290         * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
24291         with immediate_operand.
24293 2014-08-20  David Malcolm  <dmalcolm@redhat.com>
24295         * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
24296         "insn" from an as_a to a safe_as_a, for the case when "insn" is
24297         NULL.
24299 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
24301         PR preprocessor/51303
24302         * incpath.c (remove_duplicates): Use cpp_warning.
24304 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
24306         PR c/60975
24307         PR c/53063
24308         * doc/options.texi (CPP): Document it.
24309         * doc/invoke.texi (Wvariadic-macros): Fix documentation.
24310         * optc-gen.awk: Handle CPP.
24311         * opth-gen.awk: Likewise.
24313 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24315         * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
24316         rtx_insn *.
24317         (duplicate_insn_chain): Likewise.
24318         * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
24319         rtx_insn *, also for locals "prevfirst" and "nextlast".  Add a
24320         checked cast for now (until we can strengthen the params in the
24321         same way).
24322         (duplicate_insn_chain): Likewise.
24324 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24326         * rtl.h (next_cc0_user): Strengthen return type from rtx to
24327         rtx_insn *.
24328         (prev_cc0_setter): Likewise.
24330         * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
24331         rtx_insn *, adding checked casts for now as necessary.
24332         (prev_cc0_setter): Likewise.
24334 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24336         * expr.h (emit_move_insn): Strengthen return type from rtx to
24337         rtx_insn *.
24338         (emit_move_insn_1): Likewise.
24339         (emit_move_complex_push): Likewise.
24340         (emit_move_complex_parts): Likewise.
24342         * expr.c (emit_move_via_integer): Strengthen return type from rtx
24343         to rtx_insn *.  Replace use of NULL_RTX with NULL when working
24344         with insns.
24345         (emit_move_complex_push): Strengthen return type from rtx to
24346         rtx_insn *.
24347         (emit_move_complex): Likewise, also for local "ret".
24348         (emit_move_ccmode): Likewise.
24349         (emit_move_multi_word): Likewise for return type and locals
24350         "last_insn", "seq".
24351         (emit_move_insn_1): Likewise for return type and locals "result",
24352         "ret".
24353         (emit_move_insn): Likewise for return type and local "last_insn".
24354         (compress_float_constant): Likewise.
24356 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24358         * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
24359         from rtx to rtx_insn *.
24361         * rtl.h (emit_insn_before): Likewise.
24362         (emit_insn_before_noloc): Likewise.
24363         (emit_insn_before_setloc): Likewise.
24364         (emit_jump_insn_before): Likewise.
24365         (emit_jump_insn_before_noloc): Likewise.
24366         (emit_jump_insn_before_setloc): Likewise.
24367         (emit_call_insn_before): Likewise.
24368         (emit_call_insn_before_noloc): Likewise.
24369         (emit_call_insn_before_setloc): Likewise.
24370         (emit_debug_insn_before): Likewise.
24371         (emit_debug_insn_before_noloc): Likewise.
24372         (emit_debug_insn_before_setloc): Likewise.
24373         (emit_label_before): Likewise.
24374         (emit_insn_after): Likewise.
24375         (emit_insn_after_noloc): Likewise.
24376         (emit_insn_after_setloc): Likewise.
24377         (emit_jump_insn_after): Likewise.
24378         (emit_jump_insn_after_noloc): Likewise.
24379         (emit_jump_insn_after_setloc): Likewise.
24380         (emit_call_insn_after): Likewise.
24381         (emit_call_insn_after_noloc): Likewise.
24382         (emit_call_insn_after_setloc): Likewise.
24383         (emit_debug_insn_after): Likewise.
24384         (emit_debug_insn_after_noloc): Likewise.
24385         (emit_debug_insn_after_setloc): Likewise.
24386         (emit_label_after): Likewise.
24387         (emit_insn): Likewise.
24388         (emit_debug_insn): Likewise.
24389         (emit_jump_insn): Likewise.
24390         (emit_call_insn): Likewise.
24391         (emit_label): Likewise.
24392         (gen_clobber): Likewise.
24393         (emit_clobber): Likewise.
24394         (gen_use): Likewise.
24395         (emit_use): Likewise.
24396         (emit): Likewise.
24398         (emit_barrier_before): Strengthen return type from rtx to
24399         rtx_barrier *.
24400         (emit_barrier_after): Likewise.
24401         (emit_barrier): Likewise.
24403         * emit-rtl.c (emit_pattern_before_noloc):  Strengthen return type
24404         from rtx to rtx_insn *.  Add checked casts for now when converting
24405         "last" from rtx to rtx_insn *.
24406         (emit_insn_before_noloc): Likewise for return type.
24407         (emit_jump_insn_before_noloc): Likewise.
24408         (emit_call_insn_before_noloc): Likewise.
24409         (emit_debug_insn_before_noloc): Likewise.
24410         (emit_barrier_before): Strengthen return type and local "insn"
24411         from rtx to rtx_barrier *.
24412         (emit_label_before): Strengthen return type from rtx to
24413         rtx_insn *.  Add checked cast for now when returning param
24414         (emit_pattern_after_noloc): Strengthen return type from rtx to
24415         rtx_insn *.  Add checked casts for now when converting "last" from
24416         rtx to rtx_insn *.
24417         (emit_insn_after_noloc): Strengthen return type from rtx to
24418         rtx_insn *.
24419         (emit_jump_insn_after_noloc): Likewise.
24420         (emit_call_insn_after_noloc): Likewise.
24421         (emit_debug_insn_after_noloc): Likewise.
24422         (emit_barrier_after): Strengthen return type from rtx to
24423         rtx_barrier *.
24424         (emit_label_after): Strengthen return type from rtx to rtx_insn *.
24425         Add checked cast for now when converting "label" from rtx to
24426         rtx_insn *.
24427         (emit_pattern_after_setloc): Strengthen return type from rtx to
24428         rtx_insn *.  Add checked casts for now when converting "last" from
24429         rtx to rtx_insn *.
24430         (emit_pattern_after): Strengthen return type from rtx to
24431         rtx_insn *.
24432         (emit_insn_after_setloc): Likewise.
24433         (emit_insn_after): Likewise.
24434         (emit_jump_insn_after_setloc): Likewise.
24435         (emit_jump_insn_after): Likewise.
24436         (emit_call_insn_after_setloc): Likewise.
24437         (emit_call_insn_after): Likewise.
24438         (emit_debug_insn_after_setloc): Likewise.
24439         (emit_debug_insn_after): Likewise.
24440         (emit_pattern_before_setloc): Likewise.  Add checked casts for now
24441         when converting "last" from rtx to rtx_insn *.
24442         (emit_pattern_before): Strengthen return type from rtx to
24443         rtx_insn *.
24444         (emit_insn_before_setloc): Likewise.
24445         (emit_insn_before): Likewise.
24446         (emit_jump_insn_before_setloc): Likewise.
24447         (emit_jump_insn_before): Likewise.
24448         (emit_call_insn_before_setloc): Likewise.
24449         (emit_call_insn_before): Likewise.
24450         (emit_debug_insn_before_setloc): Likewise.
24451         (emit_debug_insn_before): Likewise.
24452         (emit_insn): Strengthen return type and locals "last", "insn",
24453         "next" from rtx to rtx_insn *.  Add checked cast to rtx_insn
24454         within cases where we know we have an insn.
24455         (emit_debug_insn): Likewise.
24456         (emit_jump_insn): Likewise.
24457         (emit_call_insn): Strengthen return type and local "insn" from rtx
24458         to rtx_insn *.
24459         (emit_label): Strengthen return type from rtx to rtx_insn *.  Add
24460         a checked cast to rtx_insn * for now on "label".
24461         (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
24462         (emit_clobber): Strengthen return type from rtx to rtx_insn *.
24463         (emit_use): Likewise.
24464         (gen_use): Likewise, also for local "seq".
24465         (emit): Likewise for return type and local "insn".
24466         (rtx_insn): Likewise for return type and local "new_rtx".
24468         * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
24469         from rtx to rtx_barrier *.
24471         * config/sh/sh.c (output_stack_adjust): Since emit_insn has
24472         changed return type from rtx to rtx_insn *, we must update
24473         "emit_fn" type, and this in turn means updating...
24474         (frame_insn): ...this.  Strengthen return type from rtx to
24475         rtx_insn *.  Introduce a new local "insn" of the appropriate type.
24477 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24479         * emit-rtl.c (emit_jump_table_data): Strengthen return type from
24480         rtx to rtx_jump_table_data *.  Also for local.
24481         * rtl.h (emit_jump_table_data): Likewise.
24483 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24485         * basic-block.h (create_basic_block_structure): Strengthen third
24486         param "bb_note" from rtx to rtx_note *.
24487         * rtl.h (emit_note_before): Strengthen return type from rtx to
24488         rtx_note *.
24489         (emit_note_after): Likewise.
24490         (emit_note): Likewise.
24491         (emit_note_copy): Likewise.  Also, strengthen param similarly.
24492         * function.h (struct rtl_data): Strengthen field
24493         "x_stack_check_probe_note" from rtx to rtx_note *.
24495         * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
24496         from rtx to rtx_note *.
24497         * cfgrtl.c (create_basic_block_structure): Strengthen third param
24498         "bb_note" from rtx to rtx_note *.
24499         (duplicate_insn_chain): Likewise for local "last".  Add a checked cast
24500         when calling emit_note_copy.
24501         * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
24502         rtx_note *.
24503         (emit_note_after): Likewise.
24504         (emit_note_before): Likewise.
24505         (emit_note_copy): Likewise.  Also, strengthen param similarly.
24506         (emit_note): Likewise.
24507         * except.c (emit_note_eh_region_end): Likewise for return type.
24508         Strengthen local "next" from rtx to rtx_insn *.
24509         (convert_to_eh_region_ranges): Strengthen local "note"
24510         from rtx to rtx_note *.
24511         * final.c (change_scope): Likewise.
24512         (reemit_insn_block_notes): Likewise, for both locals named "note".
24513         Also, strengthen local "insn" from rtx to rtx_insn *.
24514         * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
24515         rtx to rtx_note *.
24516         * reg-stack.c (compensate_edge): Likewise for local "after". Also,
24517         strengthen local "seq" from rtx to rtx_insn *.
24518         * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
24519         to rtx_note *.
24520         * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
24521         vec<rtx_note *>.
24522         (get_bb_note_from_pool): Strengthen return type from rtx to
24523         rtx_note *.
24524         (sel_create_basic_block): Strengthen local "new_bb_note" from
24525         insn_t to rtx_note *.
24526         * var-tracking.c (emit_note_insn_var_location): Strengthen local
24527         "note" from rtx to rtx_note *.
24528         (emit_notes_in_bb): Likewise.
24530 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24532         * function.h (struct rtl_data): Strengthen field
24533         "x_parm_birth_insn" from rtx to rtx_insn *.
24534         * function.c (struct assign_parm_data_all): Strengthen fields
24535         "first_conversion_insn" and "last_conversion_insn" from rtx to
24536         rtx_insn *.
24538 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24540         * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
24541         to rtx_insn *; also for local "var_end_seq".
24542         (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
24543         (maybe_cleanup_end_of_block): Likewise for param "last" and local
24544         "insn".
24545         (expand_gimple_cond): Likewise for locals "last2" and "last".
24546         (mark_transaction_restart_calls): Likewise for local "insn".
24547         (expand_gimple_stmt): Likewise for return type and locals "last"
24548         and "insn".
24549         (expand_gimple_tailcall): Likewise for locals "last2" and "last".
24550         (avoid_complex_debug_insns): Likewise for param "insn".
24551         (expand_debug_locations): Likewise for locals "insn", "last",
24552         "prev_insn" and "insn2".
24553         (expand_gimple_basic_block): Likewise for local "last".
24554         (construct_exit_block): Likewise for locals "head", "end",
24555         "orig_end".
24556         (pass_expand::execute): Likewise for locals "var_seq",
24557         "var_ret_seq", "next".
24559 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24561         * asan.h (asan_emit_stack_protection): Strengthen return type from
24562         rtx to rtx_insn *.
24563         * asan.c (asan_emit_stack_protection): Likewise.  Add local
24564         "insns" to hold the return value.
24566 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24568         * basic-block.h (bb_note): Strengthen return type from rtx to
24569         rtx_note *.
24570         * sched-int.h (bb_note): Likewise.
24571         * cfgrtl.c (bb_note): Likewise.  Add a checked cast to rtx_note *.
24573 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24575         * rtl.h (make_insn_raw): Strengthen return type from rtx to
24576         rtx_insn *.
24578         * emit-rtl.c (make_insn_raw): Strengthen return type and local
24579         "insn" from rtx to rtx_insn *.
24580         (make_debug_insn_raw): Strengthen return type from rtx to
24581         rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
24582         (make_jump_insn_raw):  Strengthen return type from rtx to
24583         rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
24584         (make_call_insn_raw):  Strengthen return type from rtx to
24585         rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
24586         (emit_pattern_before_noloc): Strengthen return type of "make_raw"
24587         callback from rtx to rtx_insn *; likewise for local "insn" and
24588         "next", adding a checked cast to rtx_insn in the relevant cases of
24589         the switch statement.
24590         (emit_pattern_after_noloc): Strengthen return type of "make_raw"
24591         callback from rtx to rtx_insn *.
24592         (emit_pattern_after_setloc): Likewise.
24593         (emit_pattern_after): Likewise.
24594         (emit_pattern_before_setloc): Likewise.
24595         (emit_pattern_before): Likewise.
24597 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24599         * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
24600         rtx_call_insn *.
24601         * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
24602         accepting an rtx_insn *.
24603         (last_call_insn): Strengthen return type from rtx to
24604         rtx_call_insn *.
24606 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24608         * rtl.h (delete_trivially_dead_insns): Strengthen initial param
24609         "insns" from rtx to rtx_insn *.
24610         * cse.c (delete_trivially_dead_insns): Likewise, also do it for
24611         locals "insn" and "prev".
24613 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24615         * rtl.h (tablejump_p): Strengthen third param from rtx * to
24616         rtx_jump_table_data **.
24618         * cfgbuild.c (make_edges): Introduce local "table", using it in
24619         place of "tmp" for jump table data.
24620         (find_bb_boundaries): Strengthen local "table" from rtx to
24621         rtx_jump_table_data *.
24622         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
24623         (outgoing_edges_match): Likewise for locals "table1" and "table2".
24624         (try_crossjump_to_edge): Likewise.
24625         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
24626         "table".
24627         (patch_jump_insn): Introduce local "table", using it in place of
24628         "tmp" for jump table data.
24629         (force_nonfallthru_and_redirect): Introduce local "table", so that
24630         call to tablejump_p can receive an rtx_jump_table_data **.  Update
24631         logic around the call to overwrite "note" appropriately if
24632         tablejump_p returns non-zero.
24633         (get_last_bb_insn): Introduce local "table", using it in place of
24634         "tmp" for jump table data.
24635         * dwarf2cfi.c (create_trace_edges): Likewise.
24637         * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
24638         from rtx to rtx_jump_table_data *.
24639         (create_fix_barrier): Strengthen local "tmp" from rtx to
24640         rtx_jump_table_data *.
24641         (arm_reorg): Likewise for local "table".
24643         * config/s390/s390.c (s390_chunkify_start): Likewise.
24645         * config/spu/spu.c (spu_emit_branch_hint): Likewise.
24647         * jump.c (delete_related_insns): Strengthen local "lab_next" from
24648         rtx to rtx_jump_table_data *.
24650         * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
24651         rtx_jump_table_data **.  Add a checked cast when writing through
24652         the pointer: we know there that local "table" is non-NULL and that
24653         JUMP_TABLE_DATA_P (table) holds.
24654         (label_is_jump_target_p): Introduce local "table", using it in
24655         place of "tmp" for jump table data.
24657 2014-08-19  Marek Polacek  <polacek@redhat.com>
24659         PR c++/62153
24660         * doc/invoke.texi: Document -Wbool-compare.
24662 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24664         * rtl.h (entry_of_function): Strengthen return type from rtx to
24665         rtx_insn *.
24666         * cfgrtl.c (entry_of_function): Likewise.
24668 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24670         * emit-rtl.h (get_insns): Strengthen return type from rtx to
24671         rtx_insn *, adding a checked cast for now.
24672         (get_last_insn): Likewise.
24674 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24676         * rtl.h (gen_label_rtx): Strengthen return type from rtx to
24677         rtx_code_label *.
24679         * emit-rtl.c (gen_label_rtx): Likewise.
24681 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24683         * rtl.h (previous_insn): Strengthen return type from rtx to
24684         rtx_insn *.
24685         (next_insn): Likewise.
24686         (prev_nonnote_insn): Likewise.
24687         (prev_nonnote_insn_bb): Likewise.
24688         (next_nonnote_insn): Likewise.
24689         (next_nonnote_insn_bb): Likewise.
24690         (prev_nondebug_insn): Likewise.
24691         (next_nondebug_insn): Likewise.
24692         (prev_nonnote_nondebug_insn): Likewise.
24693         (next_nonnote_nondebug_insn): Likewise.
24694         (prev_real_insn): Likewise.
24695         (next_real_insn): Likewise.
24696         (prev_active_insn): Likewise.
24697         (next_active_insn): Likewise.
24699         * emit-rtl.c (next_insn): Strengthen return type from rtx to
24700         rtx_insn *, adding a checked cast.
24701         (previous_insn): Likewise.
24702         (next_nonnote_insn): Likewise.
24703         (next_nonnote_insn_bb): Likewise.
24704         (prev_nonnote_insn): Likewise.
24705         (prev_nonnote_insn_bb): Likewise.
24706         (next_nondebug_insn): Likewise.
24707         (prev_nondebug_insn): Likewise.
24708         (next_nonnote_nondebug_insn): Likewise.
24709         (prev_nonnote_nondebug_insn): Likewise.
24710         (next_real_insn): Likewise.
24711         (prev_real_insn): Likewise.
24712         (next_active_insn): Likewise.
24713         (prev_active_insn): Likewise.
24715         * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
24716         param "stepfunc" so that it returns an rtx_insn * rather than an
24717         rtx, to track the change to prev_nonnote_insn_bb, which is the
24718         only function this is called with.
24719         * config/sh/sh.c (sh_find_set_of_reg): Likewise.
24721 2014-08-19  Jan Hubicka  <hubicka@ucw.cz>
24723         * ipa-visibility.c (update_visibility_by_resolution_info): Fix
24724         assert.
24726 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24728         * coretypes.h (class rtx_debug_insn): Add forward declaration.
24729         (class rtx_nonjump_insn): Likewise.
24730         (class rtx_jump_insn): Likewise.
24731         (class rtx_call_insn): Likewise.
24732         (class rtx_jump_table_data): Likewise.
24733         (class rtx_barrier): Likewise.
24734         (class rtx_code_label): Likewise.
24735         (class rtx_note): Likewise.
24737         * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
24738         adding the invariant DEBUG_INSN_P (X).
24739         (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
24740         the invariant NONJUMP_INSN_P (X).
24741         (class rtx_jump_insn): New, a subclass of rtx_insn, adding
24742         the invariant JUMP_P (X).
24743         (class rtx_call_insn): New, a subclass of rtx_insn, adding
24744         the invariant CALL_P (X).
24745         (class rtx_jump_table): New, a subclass of rtx_insn, adding the
24746         invariant JUMP_TABLE_DATA_P (X).
24747         (class rtx_barrier): New, a subclass of rtx_insn, adding the
24748         invariant BARRIER_P (X).
24749         (class rtx_code_label): New, a subclass of rtx_insn, adding
24750         the invariant LABEL_P (X).
24751         (class rtx_note): New, a subclass of rtx_insn, adding
24752         the invariant NOTE_P(X).
24753         (is_a_helper <rtx_debug_insn *>::test): New.
24754         (is_a_helper <rtx_nonjump_insn *>::test): New.
24755         (is_a_helper <rtx_jump_insn *>::test): New.
24756         (is_a_helper <rtx_call_insn *>::test): New.
24757         (is_a_helper <rtx_jump_table_data *>::test): New functions,
24758         overloaded for both rtx and rtx_insn *.
24759         (is_a_helper <rtx_barrier *>::test): New.
24760         (is_a_helper <rtx_code_label *>::test): New functions, overloaded
24761         for both rtx and rtx_insn *.
24762         (is_a_helper <rtx_note *>::test): New.
24764 2014-08-19  Marek Polacek  <polacek@redhat.com>
24766         * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
24767         CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
24768         * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
24769         CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
24771 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24773         * sel-sched-ir.h (BND_TO): insn_t will eventually be an
24774         rtx_insn *.  To help with transition, for now, convert from an
24775         access macro into a pair of functions: BND_TO, returning an
24776         rtx_insn *, and...
24777         (SET_BND_TO): New function, for use where BND_TO is used as an
24778         lvalue.
24780         * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
24781         SET_BND_TO.
24782         (BND_TO): New function, adding a checked cast.
24783         (SET_BND_TO): New function.
24785         * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
24786         SET_BND_TO.
24787         (compute_av_set_on_boundaries): Likewise.
24789 2014-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24791         * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
24792         destination if it is used in source.
24793         (*clz<mode>2_lzcnt_falsedep_1): Likewise.
24794         (*popcount<mode>2_falsedep_1): Likewise.
24796 2014-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24798         PR other/62168
24799         * configure.ac: Set install_gold_as_default to no first.
24800         * configure: Regenerated.
24802 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24804         * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
24805         "note_list" field will eventually be an rtx_insn *.  To help with
24806         transition, for now, convert from an access macro into a pair of
24807         functions: BB_NOTE_LIST, returning an rtx_insn *, and...
24808         (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
24809         used as an lvalue.
24811         * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
24812         of BB_NOTE_LIST to SET_BB_NOTE_LIST.
24814         * sel-sched-ir.c (init_bb): Likewise.
24815         (sel_restore_notes): Likewise.
24816         (move_bb_info): Likewise.
24817         (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
24818         (SET_BB_NOTE_LIST): New function.
24820 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24822         * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
24823         field will eventually be an rtx_insn *.  To help with transition,
24824         for now, convert from an access macro into a pair of functions:
24825         VINSN_INSN_RTX, returning an rtx_insn *, and...
24826         (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
24827         is used as an lvalue.
24829         * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
24830         SET_VINSN_INSN_RTX where it's used as an lvalue.
24831         (VINSN_INSN_RTX): New function.
24832         (SET_VINSN_INSN_RTX): New function.
24834 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24836         * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
24837         eventually be rtx_insn *, but to help with transition, for now,
24838         convert from an access macro into a pair of functions: DEP_PRO
24839         returning an rtx_insn * and...
24840         (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
24841         lvalue, returning an rtx&.
24842         (DEP_CON): Analogous changes to DEP_PRO above.
24843         (SET_DEP_CON): Likewise.
24845         * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
24846         an lvalue to SET_DEP_CON.
24847         * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
24848         (sd_copy_back_deps): Likewise for DEP_CON.
24849         (DEP_PRO): New function, adding a checked cast for now.
24850         (DEP_CON): Likewise.
24851         (SET_DEP_PRO): New function.
24852         (SET_DEP_CON): Likewise.
24854 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
24856         * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
24857         (extra_options): Add i386/cygwin.opt.
24858         * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
24859         (CPP_SPEC): Accept -pthread.
24860         (LINK_SPEC): Ditto.
24861         (GOMP_SELF_SPECS): Update comment.
24862         * config/i386/cygwin.opt: New file for -pthread flag.
24864 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24866         * df-core.c (DF_REF_INSN): New, using a checked cast for now.
24867         * df.h (DF_REF_INSN): Convert from a macro to a function, so
24868         that we can return an rtx_insn *.
24870 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
24872         * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
24873         when building executables, not DLLs.  Add --large-address-aware
24874         under the same conditions.
24875         * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
24876         when building executables, not DLLs.  Add --large-address-aware
24877         under the same conditions when using -m32.
24879         * config/i386/cygwin-stdint.h: Throughout, make type
24880         definitions dependent on target architecture, not host.
24882 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24884         * rtl.h (PREV_INSN): Convert to an inline function.  Strengthen
24885         the return type from rtx to rtx_insn *,  which will enable various
24886         conversions in followup patches.  For now this is is done by a
24887         checked cast.
24888         (NEXT_INSN): Likewise.
24889         (SET_PREV_INSN): Convert to an inline function.  This is intended
24890         for use as an lvalue, and so returns an rtx& to allow in-place
24891         modification.
24892         (SET_NEXT_INSN): Likewise.
24894 2014-07-08  Mark Wielaard  <mjw@redhat.com>
24896         PR debug/59051
24897         * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
24899 2014-08-19  Marek Polacek  <polacek@redhat.com>
24901         PR c/61271
24902         * cgraphunit.c (handle_alias_pairs): Fix condition.
24904 2014-08-19  Richard Biener  <rguenther@suse.de>
24906         * gimple-fold.c (fold_gimple_assign): Properly build a
24907         null-pointer constant when devirtualizing addresses.
24909 2014-07-07  Mark Wielaard  <mjw@redhat.com>
24911         * dwarf2out.c (decl_quals): New function.
24912         (modified_type_die): Take one cv_quals argument instead of two,
24913         one for const and one for volatile.
24914         (add_type_attribute): Likewise.
24915         (generic_parameter_die): Call add_type_attribute with one modifier
24916         argument.
24917         (base_type_for_mode): Likewise.
24918         (add_bounds_info): Likewise.
24919         (add_subscript_info): Likewise.
24920         (gen_array_type_die): Likewise.
24921         (gen_descr_array_type_die): Likewise.
24922         (gen_entry_point_die): Likewise.
24923         (gen_enumeration_type_die): Likewise.
24924         (gen_formal_parameter_die): Likewise.
24925         (gen_subprogram_die): Likewise.
24926         (gen_variable_die): Likewise.
24927         (gen_const_die): Likewise.
24928         (gen_field_die): Likewise.
24929         (gen_pointer_type_die): Likewise.
24930         (gen_reference_type_die): Likewise.
24931         (gen_ptr_to_mbr_type_die): Likewise.
24932         (gen_inheritance_die): Likewise.
24933         (gen_subroutine_type_die): Likewise.
24934         (gen_typedef_die): Likewise.
24935         (force_type_die): Likewise.
24937 2014-08-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
24939         * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
24940         if unset.
24941         * configure: Regenerate.
24943 2014-08-19  Richard Biener  <rguenther@suse.de>
24945         * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
24946         DECL_EXTERNALs in BLOCKs as non-references.
24947         * tree-streamer-out.c (streamer_write_chain): Likewise.
24949 2014-08-19  Alexander Ivchenko  <alexander.ivchenko@intel.com>
24950             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
24951             Anna Tikhonova  <anna.tikhonova@intel.com>
24952             Ilya Tocar  <ilya.tocar@intel.com>
24953             Andrey Turetskiy  <andrey.turetskiy@intel.com>
24954             Ilya Verbin  <ilya.verbin@intel.com>
24955             Kirill Yukhin  <kirill.yukhin@intel.com>
24956             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
24958         * config/i386/sse.md
24959         (define_mode_iterator VI48_AVX512F): Delete.
24960         (define_mode_iterator VI48_AVX512F_AVX512VL): New.
24961         (define_mode_iterator VI2_AVX512VL): Ditto.
24962         (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
24963         Delete.
24964         (define_insn
24965         ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
24966         New.
24967         (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
24968         (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
24969         (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
24970         with VI48_AVX512F_AVX512VL): New.
24971         (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
24972         with VI2_AVX512VL): Ditto.
24974 2014-08-19  Marek Polacek  <polacek@redhat.com>
24976         * doc/invoke.texi: Document -Wc99-c11-compat.
24978 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
24980         * rtl.h (PREV_INSN): Split macro in two: the existing one,
24981         for rvalues, and...
24982         (SET_PREV_INSN): New macro, for use as an lvalue.
24983         (NEXT_INSN, SET_NEXT_INSN): Likewise.
24985         * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
24986         PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
24987         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
24988         (fixup_abnormal_edges): Likewise.
24989         (unlink_insn_chain): Likewise.
24990         (fixup_reorder_chain): Likewise.
24991         (cfg_layout_delete_block): Likewise.
24992         (cfg_layout_merge_blocks): Likewise.
24993         * combine.c (update_cfg_for_uncondjump): Likewise.
24994         * emit-rtl.c (link_insn_into_chain): Likewise.
24995         (remove_insn): Likewise.
24996         (delete_insns_since): Likewise.
24997         (reorder_insns_nobb): Likewise.
24998         (emit_insn_after_1): Likewise.
24999         * final.c (rest_of_clean_state): Likewise.
25000         (final_scan_insn): Likewise.
25001         * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
25002         * haifa-sched.c (concat_note_lists): Likewise.
25003         (remove_notes): Likewise.
25004         (restore_other_notes): Likewise.
25005         (move_insn): Likewise.
25006         (unlink_bb_notes): Likewise.
25007         (restore_bb_notes): Likewise.
25008         * jump.c (delete_for_peephole): Likewise.
25009         * optabs.c (emit_libcall_block_1): Likewise.
25010         * reorg.c (emit_delay_sequence): Likewise.
25011         (fill_simple_delay_slots): Likewise.
25012         * sel-sched-ir.c (sel_move_insn): Likewise.
25013         (sel_remove_insn): Likewise.
25014         (get_bb_note_from_pool): Likewise.
25015         * sel-sched.c (move_nop_to_previous_block): Likewise.
25017         * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
25018         * config/c6x/c6x.c (gen_one_bundle): Likewise.
25019         (c6x_gen_bundles): Likewise.
25020         (hwloop_optimize): Likewise.
25021         * config/frv/frv.c (frv_function_prologue): Likewise.
25022         (frv_register_nop): Likewise.
25023         * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
25024         (ia64_reorg): Likewise.
25025         * config/mep/mep.c (mep_reorg_addcombine): Likewise.
25026         (mep_make_bundle): Likewise.
25027         (mep_bundle_insns): Likewise.
25028         * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
25029         * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
25030         * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
25032 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
25034         * basic-block.h (BB_HEAD): Convert to a function.  Strengthen the
25035         return type from rtx to rtx_insn *.
25036         (BB_END): Likewise.
25037         (BB_HEADER): Likewise.
25038         (BB_FOOTER): Likewise.
25039         (SET_BB_HEAD): Convert to a function.
25040         (SET_BB_END): Likewise.
25041         (SET_BB_HEADER): Likewise.
25042         (SET_BB_FOOTER): Likewise.
25044         * cfgrtl.c (BB_HEAD): New function, from macro of same name.
25045         Strengthen the return type from rtx to rtx_insn *.  For now, this
25046         is done by adding a checked cast, but this will eventually
25047         become a field lookup.
25048         (BB_END): Likewise.
25049         (BB_HEADER): Likewise.
25050         (BB_FOOTER): Likewise.
25051         (SET_BB_HEAD): New function, from macro of same name.  This is
25052         intended for use as an lvalue, and so returns an rtx& to allow
25053         in-place modification.
25054         (SET_BB_END): Likewise.
25055         (SET_BB_HEADER): Likewise.
25056         (SET_BB_FOOTER): Likewise.
25058 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
25060         * basic-block.h (BB_HEAD): Split macro in two: the existing one,
25061         for rvalues, and...
25062         (SET_BB_HEAD): New macro, for use as a lvalue.
25063         (BB_END, SET_BB_END): Likewise.
25064         (BB_HEADER, SET_BB_HEADER): Likewise.
25065         (BB_FOOTER, SET_BB_FOOTER): Likewise.
25067         * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
25068         of BB_* macros into SET_BB_* macros.
25069         (fix_crossing_unconditional_branches): Likewise.
25070         * caller-save.c (save_call_clobbered_regs): Likewise.
25071         (insert_one_insn): Likewise.
25072         * cfgbuild.c (find_bb_boundaries): Likewise.
25073         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
25074         (outgoing_edges_match): Likewise.
25075         (try_optimize_cfg): Likewise.
25076         * cfgexpand.c (expand_gimple_cond): Likewise.
25077         (expand_gimple_tailcall): Likewise.
25078         (expand_gimple_basic_block): Likewise.
25079         (construct_exit_block): Likewise.
25080         * cfgrtl.c (delete_insn): Likewise.
25081         (create_basic_block_structure): Likewise.
25082         (rtl_delete_block): Likewise.
25083         (rtl_split_block): Likewise.
25084         (emit_nop_for_unique_locus_between): Likewise.
25085         (rtl_merge_blocks): Likewise.
25086         (block_label): Likewise.
25087         (try_redirect_by_replacing_jump): Likewise.
25088         (emit_barrier_after_bb): Likewise.
25089         (fixup_abnormal_edges): Likewise.
25090         (record_effective_endpoints): Likewise.
25091         (relink_block_chain): Likewise.
25092         (fixup_reorder_chain): Likewise.
25093         (fixup_fallthru_exit_predecessor): Likewise.
25094         (cfg_layout_duplicate_bb): Likewise.
25095         (cfg_layout_split_block): Likewise.
25096         (cfg_layout_delete_block): Likewise.
25097         (cfg_layout_merge_blocks): Likewise.
25098         * combine.c (update_cfg_for_uncondjump): Likewise.
25099         * emit-rtl.c (add_insn_after): Likewise.
25100         (remove_insn): Likewise.
25101         (reorder_insns): Likewise.
25102         (emit_insn_after_1): Likewise.
25103         * haifa-sched.c (get_ebb_head_tail): Likewise.
25104         (restore_other_notes): Likewise.
25105         (move_insn): Likewise.
25106         (sched_extend_bb): Likewise.
25107         (fix_jump_move): Likewise.
25108         * ifcvt.c (noce_process_if_block): Likewise.
25109         (dead_or_predicable): Likewise.
25110         * ira.c (update_equiv_regs): Likewise.
25111         * reg-stack.c (change_stack): Likewise.
25112         * sel-sched-ir.c (sel_move_insn): Likewise.
25113         * sel-sched.c (move_nop_to_previous_block): Likewise.
25115         * config/c6x/c6x.c (hwloop_optimize): Likewise.
25116         * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
25118 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
25120         * rtl.h (for_each_rtx_in_insn): New function.
25121         * rtlanal.c (for_each_rtx_in_insn): Likewise.
25123 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
25125         * coretypes.h (class rtx_insn): Add forward declaration.
25127         * rtl.h: Include is-a.h.
25128         (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
25129         workaround to ensure gengtype knows inheritance is occurring,
25130         whilst continuing to use the pre-existing special-casing for
25131         rtx_def.
25132         (class rtx_insn): New subclass of rtx_def, adding the
25133         invariant that we're dealing with something we can sanely use
25134         INSN_UID, NEXT_INSN, PREV_INSN on.
25135         (is_a_helper <rtx_insn *>::test): New.
25136         (is_a_helper <const rtx_insn *>::test): New.
25138 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
25140         * is-a.h (template<T, U> safe_as_a <U *p>) New function.
25142 2014-08-18  Jan Hubicka  <hubicka@ucw.cz>
25144         * ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
25145         comdats as extern.
25147 2014-08-18  Jan Hubicka  <hubicka@ucw.cz>
25149         * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
25150         to BUILT_IN_UNREACHABLE.
25152 2014-08-18  Uros Bizjak  <ubizjak@gmail.com>
25154         PR target/62011
25155         * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
25156         New tune flag.
25157         * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
25158         * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
25159         (ffs<mode>2): Do not expand with tzcnt for
25160         TARGET_AVOID_FALSE_DEP_FOR_BMI.
25161         (ffssi2_no_cmove): Ditto.
25162         (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
25163         (ctz<mode>2): New expander.
25164         (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
25165         (*ctz<mode>2_falsedep): New insn.
25166         (*ctz<mode>2): Rename from ctz<mode>2.
25167         (clz<mode>2_lzcnt): New expander.
25168         (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
25169         (*clz<mode>2_lzcnt_falsedep): New insn.
25170         (*clz<mode>2): Rename from ctz<mode>2.
25171         (popcount<mode>2): New expander.
25172         (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
25173         (*popcount<mode>2_falsedep): New insn.
25174         (*popcount<mode>2): Rename from ctz<mode>2.
25175         (*popcount<mode>2_cmp): Remove.
25176         (*popcountsi2_cmp_zext): Ditto.
25178 2014-08-18  Ajit Agarwal  <ajitkum@xilinx.com>
25180         * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
25181         (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
25182         * config/microblaze/microblaze.h
25183         (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
25185 2014-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25187         PR other/62168
25188         * configure.ac: Set install_gold_as_default to no for
25189         --enable-gold=no.
25190         * configure: Regenerated.
25192 2014-08-18 Roman Gareev  <gareevroman@gmail.com>
25194         * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
25195         * config.in: Add undef of HAVE_isl.
25196         * configure: Regenerate.
25197         * configure.ac: Add definition of HAVE_isl.
25198         * graphite-blocking.c: Add checking of HAVE_isl.
25199         * graphite-dependences.c: Likewise.
25200         * graphite-interchange.c: Likewise.
25201         * graphite-isl-ast-to-gimple.c: Likewise.
25202         * graphite-optimize-isl.c: Likewise.
25203         * graphite-poly.c: Likewise.
25204         * graphite-scop-detection.c: Likewise.
25205         * graphite-sese-to-poly.c: Likewise.
25206         * graphite.c: Likewise.
25207         * toplev.c: Replace the checking of HAVE_cloog with the checking
25208         of HAVE_isl.
25210 2014-08-18  Richard Biener  <rguenther@suse.de>
25212         PR tree-optimization/62090
25213         * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
25214         (fold_builtin_3): Do not fold snprintf.
25215         (fold_builtin_4): Likewise.
25216         * gimple-fold.c (gimple_fold_builtin_snprintf): New function
25217         moved from builtins.c.
25218         (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
25219         (gimple_fold_builtin): Do not fold sprintf here.
25221 2014-08-18  Richard Biener  <rguenther@suse.de>
25223         * gimple-fold.c (maybe_fold_reference): Move re-gimplification
25224         code to ...
25225         (maybe_canonicalize_mem_ref_addr): ... this function.
25226         (fold_stmt_1): Apply it here before all simplification.
25228 2014-08-18  Ilya Enkovich  <ilya.enkovich@intel.com>
25230         PR ipa/61800
25231         * cgraph.h (cgraph_node::create_indirect_edge): Add
25232         compute_indirect_info param.
25233         * cgraph.c (cgraph_node::create_indirect_edge): Compute
25234         indirect_info only when it is required.
25235         * cgraphclones.c (cgraph_clone_edge): Do not recompute
25236         indirect_info fore cloned indirect edge.
25238 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25239             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25240             Anna Tikhonova  <anna.tikhonova@intel.com>
25241             Ilya Tocar  <ilya.tocar@intel.com>
25242             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25243             Ilya Verbin  <ilya.verbin@intel.com>
25244             Kirill Yukhin  <kirill.yukhin@intel.com>
25245             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25247         * config/i386/sse.md
25248         (define_mode_iterator VI8_AVX2_AVX512BW): New.
25249         (define_insn "<sse2_avx2>_psadbw"): Add evex version.
25251 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25252             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25253             Anna Tikhonova  <anna.tikhonova@intel.com>
25254             Ilya Tocar  <ilya.tocar@intel.com>
25255             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25256             Ilya Verbin  <ilya.verbin@intel.com>
25257             Kirill Yukhin  <kirill.yukhin@intel.com>
25258             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25260         * config/i386/sse.md
25261         (define_mode_iterator VF1_AVX512VL): New.
25262         (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
25263         (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
25264         New.
25266 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25267             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25268             Anna Tikhonova  <anna.tikhonova@intel.com>
25269             Ilya Tocar  <ilya.tocar@intel.com>
25270             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25271             Ilya Verbin  <ilya.verbin@intel.com>
25272             Kirill Yukhin  <kirill.yukhin@intel.com>
25273             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25275         * config/i386/i386.c: Rename ufloatv8siv8df_mask to ufloatv8siv8df2_mask.
25276         * config/i386/i386.md
25277         (define_code_iterator any_float): New.
25278         (define_code_attr floatsuffix): New.
25279         * config/i386/sse.md
25280         (define_mode_iterator VF1_128_256VL): New.
25281         (define_mode_iterator VF2_512_256VL): New.
25282         (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove unnecessary
25283         TARGET check.
25284         (define_insn "ufloatv8siv8df<mask_name>"): Delete.
25285         (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
25286         New.
25287         (define_mode_attr qq2pssuff): New.
25288         (define_mode_attr sselongvecmode): New.
25289         (define_mode_attr sselongvecmodelower): New.
25290         (define_mode_attr sseintvecmode3): New.
25291         (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
25292         New.
25293         (define_insn "*<floatsuffix>floatv2div2sf2"): New.
25294         (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
25295         (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
25296         (define_insn "ufloatv2siv2df2<mask_name>"): New.
25298 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25299             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25300             Anna Tikhonova  <anna.tikhonova@intel.com>
25301             Ilya Tocar  <ilya.tocar@intel.com>
25302             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25303             Ilya Verbin  <ilya.verbin@intel.com>
25304             Kirill Yukhin  <kirill.yukhin@intel.com>
25305             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25307         * config/i386/sse.md
25308         (define_mode_iterator VF2_AVX512VL): New.
25309         (define_mode_attr sseintvecmode2): New.
25310         (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
25311         (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
25312         (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
25313         (define_insn
25314         "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
25315         Ditto.
25316         (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
25317         Ditto.
25318         (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
25319         Ditto.
25321 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25322             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25323             Anna Tikhonova  <anna.tikhonova@intel.com>
25324             Ilya Tocar  <ilya.tocar@intel.com>
25325             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25326             Ilya Verbin  <ilya.verbin@intel.com>
25327             Kirill Yukhin  <kirill.yukhin@intel.com>
25328             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25330         * config/i386/i386.md
25331         (define_insn "*movoi_internal_avx"): Add evex version.
25332         (define_insn "*movti_internal"): Ditto.
25334 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25335             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25336             Anna Tikhonova  <anna.tikhonova@intel.com>
25337             Ilya Tocar  <ilya.tocar@intel.com>
25338             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25339             Ilya Verbin  <ilya.verbin@intel.com>
25340             Kirill Yukhin  <kirill.yukhin@intel.com>
25341             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25343         * config/i386/i386.md
25344         (define_attr "isa"): Add avx512dq, noavx512dq.
25345         (define_attr "enabled"): Ditto.
25346         * config/i386/sse.md
25347         (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
25349 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25350             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25351             Anna Tikhonova  <anna.tikhonova@intel.com>
25352             Ilya Tocar  <ilya.tocar@intel.com>
25353             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25354             Ilya Verbin  <ilya.verbin@intel.com>
25355             Kirill Yukhin  <kirill.yukhin@intel.com>
25356             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25358         * config/i386/i386.c
25359         (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
25360         avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
25361         avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
25362         avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
25363         avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
25364         avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
25365         avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
25366         avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
25367         * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
25368         * config/i386/sse.md
25369         (define_mode_iterator VMOVE): Allow V4TI mode.
25370         (define_mode_iterator V_AVX512VL): New.
25371         (define_mode_iterator V): New handling for AVX512VL.
25372         (define_insn "avx512f_load<mode>_mask"): Delete.
25373         (define_insn "<avx512>_load<mode>_mask"): New.
25374         (define_insn "avx512f_store<mode>_mask"): Delete.
25375         (define_insn "<avx512>_store<mode>_mask"): New.
25378 2014-08-18  Yury Gribov  <y.gribov@samsung.com>
25380         PR sanitizer/62089
25381         * asan.c (instrument_derefs): Fix bitfield check.
25383 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
25385         * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
25386         * config/rs6000/htm.md (ttest): Remove clobber.
25387         * config/rs6000/predicates.md (any_mask_operand): New predicate.
25388         (and_operand): Reformat.
25389         (and_2rld_operand): New predicate.
25390         * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
25391         parameter.
25392         * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
25393         parameter.  Handle AND directly.
25394         (rs6000_split_logical_di): Remove last parameter.
25395         (rs6000_split_logical): Remove last parameter.  Remove obsolete
25396         comment.
25397         * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
25398         (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
25399         (ctz<mode>2, ffs<mode>2): Delete clobber.  Reformat.
25400         (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
25401         *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
25402         and 5 anonymous splitters):  Delete.
25403         (and<mode>3): New expander.
25404         (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
25405         (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
25406         (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
25407         (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
25408         (floatdisf2_internal1): Remove clobbers.
25409         (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
25410         *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
25411         (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
25412         (and<mode>3 for BOOL_128): Remove clobber.
25413         (*and<mode>3_internal for BOOL_128): Remove clobber.  Adjust call of
25414         rs6000_split_logical.
25415         (*bool<mode>3_internal for BOOL_128): Adjust call of
25416         rs6000_split_logical.
25417         (*boolc<mode>3_internal1 for BOOL_128,
25418         *boolc<mode>3_internal2 for BOOL_128,
25419         *boolcc<mode>3_internal1 for BOOL_128,
25420         *boolcc<mode>3_internal2 for BOOL_128,
25421         *eqv<mode>3_internal1 for BOOL_128,
25422         *eqv<mode>3_internal2 for BOOL_128,
25423         *one_cmpl<mode>3_internal for BOOL_128): Ditto.
25424         * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
25425         clobber.
25426         (*vec_reload_and_reg_<mptrsize>): Delete.
25428 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
25430         * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
25431         and split, *boolccsi3_internal3 and split): Delete.
25432         (*boolccdi3_internal1, *boolccdi3_internal2 and split,
25433         *boolccdi3_internal3 and split): Delete.
25434         (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
25435         (*eqv<mode>3): Move.  Add TODO comment.  Fix attributes.
25437 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
25439         * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
25440         and split, *boolcsi3_internal3 and split): Delete.
25441         (*boolcdi3_internal1, *boolcdi3_internal2 and split,
25442         *boolcdi3_internal3 and split): Delete.
25443         (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
25445 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
25447         * config/rs6000/rs6000.c (print_operand) <'e'>: New.
25448         <'u'>: Also support printing the low-order 16 bits.
25449         * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
25450         *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
25451         (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
25452         *booldi3_internal3 and split): Delete.
25453         (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
25454         *bool<mode>3_dot2): New.
25455         (two anonymous define_splits for non_logical_cint_operand): Merge.
25457 2014-08-17  Marek Polacek  <polacek@redhat.com>
25458             Manuel López-Ibáñez  <manu@gcc.gnu.org>
25460         PR c/62059
25461         * diagnostic.c (adjust_line): Add gcc_checking_assert.
25462         (diagnostic_show_locus): Don't print caret diagnostic
25463         if a column is larger than the line_width.
25465 2014-08-17 Roman Gareev  <gareevroman@gmail.com>
25467         * common.opt: Make the ISL AST generator to be the main code generator
25468         of Graphite.
25470 2014-08-16  Gerald Pfeifer  <gerald@pfeifer.com>
25472         * wide-int.h (generic_wide_int): Declare as class instead of struct.
25474 2014-08-16  John David Anglin  <danglin@gcc.gnu.org>
25476         PR target/61641
25477         * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
25478         Declare.
25479         * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
25480         (pa_output_addr_vec, pa_output_addr_diff_vec): New.
25481         * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
25482         Define.
25483         * config/pa/pa.md (begin_brtab): Delete insn.
25484         (end_brtab): Likewise.
25486 2014-08-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
25488         * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
25490 2014-08-15  Jan Hubicka  <hubicka@ucw.cz>
25492         * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
25493         (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
25494         possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
25495         (get_dynamic_type): Remove.
25496         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
25497         (clear_speculation): Bring to ipa-deivrt.h
25498         (get_class_context): Rename to ...
25499         (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
25500         (contains_type_p): Update.
25501         (get_dynamic_type): Rename to ...
25502         ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
25503         (possible_polymorphic_call_targets): UPdate.
25504         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
25505         * ipa-prop.c (ipa_analyze_call_uses): Update.
25507 2014-08-15  Oleg Endo  <olegendo@gcc.gnu.org>
25509         * doc/invoke.texi (SH options): Document missing processor variant
25510         options.  Remove references to Hitachi.  Undocument deprecated mspace
25511         option.
25513 2014-08-15  Jason Merrill  <jason@redhat.com>
25515         * tree.c (type_hash_canon): Uncomment assert.
25517 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
25519         * input.h (in_system_header_at): Add comment.
25521 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
25523         PR fortran/44054
25524         * diagnostic.c (build_message_string): Make it extern.
25525         * diagnostic.h (build_message_string): Make it extern.
25527 2014-08-15  Vladimir Makarov  <vmakarov@redhat.com>
25529         * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
25530         load/store from/to non-floating class pseudo.
25532 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
25534         * input.c (diagnostic_file_cache_fini): Fix typo in comment.
25536 2014-08-15  Richard Biener  <rguenther@suse.de>
25538         * tree-ssa-structalias.c (readonly_id): Rename to string_id.
25539         (get_constraint_for_ssa_var): Remove dead code.
25540         (get_constraint_for_1): Adjust.
25541         (find_what_var_points_to): Likewise.
25542         (init_base_vars): Likewise.  STRING_CSTs do not contain pointers.
25544 2014-08-15  Ilya Tocar  <tocarip@gmail.com>
25546         PR target/61878
25547         * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
25548         (_mm512_mask_cmpge_epu32_mask): Ditto.
25549         (_mm512_cmpge_epu32_mask): Ditto.
25550         (_mm512_mask_cmpge_epi64_mask): Ditto.
25551         (_mm512_cmpge_epi64_mask): Ditto.
25552         (_mm512_mask_cmpge_epu64_mask): Ditto.
25553         (_mm512_cmpge_epu64_mask): Ditto.
25554         (_mm512_mask_cmple_epi32_mask): Ditto.
25555         (_mm512_cmple_epi32_mask): Ditto.
25556         (_mm512_mask_cmple_epu32_mask): Ditto.
25557         (_mm512_cmple_epu32_mask): Ditto.
25558         (_mm512_mask_cmple_epi64_mask): Ditto.
25559         (_mm512_cmple_epi64_mask): Ditto.
25560         (_mm512_mask_cmple_epu64_mask): Ditto.
25561         (_mm512_cmple_epu64_mask): Ditto.
25562         (_mm512_mask_cmplt_epi32_mask): Ditto.
25563         (_mm512_cmplt_epi32_mask): Ditto.
25564         (_mm512_mask_cmplt_epu32_mask): Ditto.
25565         (_mm512_cmplt_epu32_mask): Ditto.
25566         (_mm512_mask_cmplt_epi64_mask): Ditto.
25567         (_mm512_cmplt_epi64_mask): Ditto.
25568         (_mm512_mask_cmplt_epu64_mask): Ditto.
25569         (_mm512_cmplt_epu64_mask): Ditto.
25570         (_mm512_mask_cmpneq_epi32_mask): Ditto.
25571         (_mm512_mask_cmpneq_epu32_mask): Ditto.
25572         (_mm512_cmpneq_epu32_mask): Ditto.
25573         (_mm512_mask_cmpneq_epi64_mask): Ditto.
25574         (_mm512_cmpneq_epi64_mask): Ditto.
25575         (_mm512_mask_cmpneq_epu64_mask): Ditto.
25576         (_mm512_cmpneq_epu64_mask): Ditto.
25577         (_mm512_castpd_ps): Ditto.
25578         (_mm512_castpd_si512): Ditto.
25579         (_mm512_castps_pd): Ditto.
25580         (_mm512_castps_si512): Ditto.
25581         (_mm512_castsi512_ps): Ditto.
25582         (_mm512_castsi512_pd): Ditto.
25583         (_mm512_castpd512_pd128): Ditto.
25584         (_mm512_castps512_ps128): Ditto.
25585         (_mm512_castsi512_si128): Ditto.
25586         (_mm512_castpd512_pd256): Ditto.
25587         (_mm512_castps512_ps256): Ditto.
25588         (_mm512_castsi512_si256): Ditto.
25589         (_mm512_castpd128_pd512): Ditto.
25590         (_mm512_castps128_ps512): Ditto.
25591         (_mm512_castsi128_si512): Ditto.
25592         (_mm512_castpd256_pd512): Ditto.
25593         (_mm512_castps256_ps512): Ditto.
25594         (_mm512_castsi256_si512): Ditto.
25595         (_mm512_cmpeq_epu32_mask): Ditto.
25596         (_mm512_mask_cmpeq_epu32_mask): Ditto.
25597         (_mm512_mask_cmpeq_epu64_mask): Ditto.
25598         (_mm512_cmpeq_epu64_mask): Ditto.
25599         (_mm512_cmpgt_epu32_mask): Ditto.
25600         (_mm512_mask_cmpgt_epu32_mask): Ditto.
25601         (_mm512_mask_cmpgt_epu64_mask): Ditto.
25602         (_mm512_cmpgt_epu64_mask): Ditto.
25603         * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
25604         V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
25605         * config/i386/i386.c (enum ix86_builtins): Add
25606         IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
25607         IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
25608         IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
25609         (bdesc_args): Add __builtin_ia32_si512_256si,
25610         __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
25611         __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
25612         __builtin_ia32_pd512_pd.
25613         (ix86_expand_args_builtin): Handle new FTYPEs.
25614         * config/i386/sse.md (castmode): Add 512-bit modes.
25615         (AVX512MODE2P): New.
25616         (avx512f_<castmode><avxsizesuffix>_<castmode): New.
25617         (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
25619 2014-08-15  Richard Biener  <rguenther@suse.de>
25621         * fold-const.c (tree_swap_operands_p): Put all constants
25622         last, also strip sign-changing NOPs when considering further
25623         canonicalization.  Canonicalize also when optimizing for size.
25625 2014-08-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
25627         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
25628         one_match > zero_match case to just before simple_sequence.
25630 2014-08-15  Richard Biener  <rguenther@suse.de>
25632         * data-streamer.h (streamer_string_index, string_for_index):
25633         Remove.
25634         * data-streamer-out.c (streamer_string_index): Make static.
25635         * data-streamer-in.c (string_for_index): Likewise.
25636         * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
25637         * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
25639 2014-08-15  Richard Biener  <rguenther@suse.de>
25641         PR tree-optimization/62031
25642         * tree-data-ref.c (dr_analyze_indices): Do not set
25643         DR_UNCONSTRAINED_BASE.
25644         (dr_may_alias_p): All indirect accesses have to go the
25645         formerly DR_UNCONSTRAINED_BASE path.
25646         * tree-data-ref.h (struct indices): Remove
25647         unconstrained_base member.
25648         (DR_UNCONSTRAINED_BASE): Remove.
25650 2014-08-15  Jakub Jelinek  <jakub@redhat.com>
25652         PR middle-end/62092
25653         * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
25654         OMP_CLAUSE_SHARED for global vars if the global var is mentioned
25655         in OMP_CLAUSE_MAP in some outer target region.
25657 2014-08-15  Bin Cheng  <bin.cheng@arm.com>
25659         * tree-ssa-loop-ivopts.c (ivopts_data): New field
25660         name_expansion_cache.
25661         (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
25662         (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
25663         (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
25664         (difference_cannot_overflow_p): New parameter.  Use affine
25665         expansion for equality check.
25666         (iv_elimination_compare_lt): Pass new argument.
25668 2014-08-14  DJ Delorie  <dj@redhat.com>
25670         * config/rl78/rl78-real.md (addqi3_real): Allow adding global
25671         variables to the accumulator.
25673         * config/rl78/predicates.md (rl78_near_mem_operand): New.
25674         * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
25675         (movhi_virt_mm): Split out near mem-mem moves to avoid problems
25676         with far-far moves.
25678         * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
25679         * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
25680         (umulqihi3_virt): Likewise.
25681         * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
25682         (umulqihi3_real): Likewise.
25684         * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
25686 2014-08-14  Jan Hubicka  <hubicka@ucw.cz>
25688         PR tree-optimization/62091
25689         * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
25690         function_entry_reached.
25691         (walk_aliased_vdefs): Clear it here.
25692         * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
25694 2014-08-14  Jan Hubicka  <hubicka@ucw.cz>
25696         * ipa-utils.h (compare_virtual_tables): Declare.
25697         * ipa-devirt.c (odr_subtypes_equivalent_p): New function
25699 2014-08-14  Marek Polacek  <polacek@redhat.com>
25701         DR 458
25702         * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
25703         (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
25705 2014-08-14  Tom de Vries  <tom@codesourcery.com>
25707         * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
25709 2014-08-14  Tom de Vries  <tom@codesourcery.com>
25711         PR rtl-optimization/62004
25712         PR rtl-optimization/62030
25713         * ifcvt.c (rtx_interchangeable_p): New function.
25714         (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
25715         * emit-rtl.h (mem_attrs_eq_p): Declare.
25717 2014-08-14  Roman Gareev  <gareevroman@gmail.com>
25719         * graphite-scop-detection.c:
25720         Add inclusion of cp-tree.h.
25721         (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
25722         in case they are pointers to object types
25724 2014-08-14  Richard Biener  <rguenther@suse.de>
25726         * BASE-VER: Change to 5.0.0
25728 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25729             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25730             Anna Tikhonova  <anna.tikhonova@intel.com>
25731             Ilya Tocar  <ilya.tocar@intel.com>
25732             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25733             Ilya Verbin  <ilya.verbin@intel.com>
25734             Kirill Yukhin  <kirill.yukhin@intel.com>
25735             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25737         * config/i386/sse.md (define_mode_attr avx512): New.
25738         (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
25739         V4DI modes.
25740         (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
25741         (define_mode_attr ssse3_avx2): Ditto.
25742         (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
25743         (define_mode_attr avx2_avx512bw): New.
25744         (define_mode_attr ssedoublemodelower): New.
25745         (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
25746         V32HI, V64QI modes.
25747         (define_mode_attr ssebytemode): Allow V8DI modes.
25748         (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
25749         (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
25750         (define_mode_attr ssePSmode2): New.
25751         (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
25752         V16HI, V32HI modes.
25753         (define_mode_attr dbpsadbwmode): New.
25754         (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
25755         V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
25756         (vi8_sse4_1_avx2_avx512): New.
25757         (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
25758         mode attribute.
25759         (define_mode_attr blendbits): Move before its immediate use.
25761 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25762             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25763             Anna Tikhonova  <anna.tikhonova@intel.com>
25764             Ilya Tocar  <ilya.tocar@intel.com>
25765             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25766             Ilya Verbin  <ilya.verbin@intel.com>
25767             Kirill Yukhin  <kirill.yukhin@intel.com>
25768             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25770         * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
25771         * config/i386/subst.md
25772         (define_mode_iterator SUBST_V): Update.
25773         (define_mode_iterator SUBST_A): Ditto.
25774         (define_subst_attr "mask_operand7"): New.
25775         (define_subst_attr "mask_operand10"): New.
25776         (define_subst_attr "mask_operand_arg34") : New.
25777         (define_subst_attr "mask_expand_op3"): New.
25778         (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
25779         (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
25780         (define_subst_attr "mask_avx512vl_condition"): New.
25781         (define_subst_attr "round_mask_operand4"): Ditto.
25782         (define_subst_attr "round_mask_scalar_op3"): Delete.
25783         (define_subst_attr "round_mask_op4"): New.
25784         (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
25785         V16SImode.
25786         (define_subst_attr "round_modev8sf_condition"): New.
25787         (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
25788         <MODE>mode.
25789         (define_subst_attr "round_saeonly_mask_operand4"): New.
25790         (define_subst_attr "round_saeonly_mask_op4"): New.
25791         (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
25792         V8DImode, V16SImode.
25793         (define_subst_attr "round_saeonly_modev8sf_condition"): New.
25794         (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
25795         (define_subst_attr "mask_expand4_args"): New.
25796         (define_subst "mask_expand4"): New.
25798 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25799             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25800             Anna Tikhonova  <anna.tikhonova@intel.com>
25801             Ilya Tocar  <ilya.tocar@intel.com>
25802             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25803             Ilya Verbin  <ilya.verbin@intel.com>
25804             Kirill Yukhin  <kirill.yukhin@intel.com>
25805             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25807         * config/i386/i386.md
25808         (define_attr "isa"): Add avx512bw,noavx512bw.
25809         (define_attr "enabled"): Ditto.
25810         (define_split): Add 32/64-bit mask logic.
25811         (define_insn "*k<logic>qi"): New.
25812         (define_insn "*k<logic>hi"): New.
25813         (define_insn "*anddi_1"): Add mask version.
25814         (define_insn "*andsi_1"): Ditto.
25815         (define_insn "*<code><mode>_1"): Ditto.
25816         (define_insn "*<code>hi_1"): Ditto.
25817         (define_insn "kxnor<mode>"): New.
25818         (define_insn "kunpcksi"): New.
25819         (define_insn "kunpckdi"): New.
25820         (define_insn "*one_cmpl<mode>2_1"): Add mask version.
25821         (define_insn "*one_cmplhi2_1"): Ditto.
25823 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25824             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25825             Anna Tikhonova  <anna.tikhonova@intel.com>
25826             Ilya Tocar  <ilya.tocar@intel.com>
25827             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25828             Ilya Verbin  <ilya.verbin@intel.com>
25829             Kirill Yukhin  <kirill.yukhin@intel.com>
25830             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25832         * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
25833         V32HImode.
25835 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25836             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25837             Anna Tikhonova  <anna.tikhonova@intel.com>
25838             Ilya Tocar  <ilya.tocar@intel.com>
25839             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25840             Ilya Verbin  <ilya.verbin@intel.com>
25841             Kirill Yukhin  <kirill.yukhin@intel.com>
25842             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25844         * config/i386/i386.c (print_reg): Ð¡orrectly print 64-bit mask
25845         registers.
25846         (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
25847         (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
25848         xmm/ymm16+ when availble.
25849         * config/i386/i386.h
25850         (HARD_REGNO_NREGS): Add mask regs.
25851         (VALID_AVX512F_REG_MODE): Ditto.
25852         (VALID_AVX512F_REG_MODE) : Define.
25853         (VALID_MASK_AVX512BW_MODE): Ditto.
25854         (reg_class) (MASK_REG_P(X)): Define.
25855         * config/i386/i386.md: Do not split long moves with mask register,
25856         use kmovb if avx512bw is availible.
25857         (movdi_internal): Handle mask registers.
25859 2014-08-14  Richard Biener  <rguenther@suse.de>
25861         PR tree-optimization/62081
25862         * tree-ssa-loop.c (pass_fix_loops): New pass.
25863         (pass_tree_loop::gate):  Do not fixup loops here.
25864         * tree-pass.h (make_pass_fix_loops): Declare.
25865         * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
25867 2014-08-14  Richard Biener  <rguenther@suse.de>
25869         * tree.c (type_hash_lookup, type_hash_add): Merge into ...
25870         (type_hash_canon): ... this and avoid 2nd lookup for the add.
25872 2014-08-14  Richard Biener  <rguenther@suse.de>
25874         PR tree-optimization/62090
25875         * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
25876         (fold_builtin_2): Do not fold sprintf.
25877         (fold_builtin_3): Likewise.
25878         * gimple-fold.c (gimple_fold_builtin_sprintf): New function
25879         moved from builtins.c.
25880         (gimple_fold_builtin): Fold sprintf.
25882 2014-08-14  Richard Biener  <rguenther@suse.de>
25884         PR rtl-optimization/62079
25885         * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
25886         run cleanup_cfg.
25888 2014-08-14  Ilya Enkovich  <ilya.enkovich@intel.com>
25890         * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
25891         current_function_decl.
25893 2014-08-14  Ilya Enkovich  <ilya.enkovich@intel.com>
25895         * cgraph.c (cgraph_node::function_symbol): Fix wrong
25896         cgraph_function_node to cgraph_node::function_symbol
25897         refactoring.
25899 2014-08-14  Zhenqiang Chen  <zhenqiang.chen@arm.com>
25901         * config/arm/arm.c (arm_option_override): Set max_insns_skipped
25902         to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
25904 2014-08-13  Chen Gang  gang.chen.5i5j@gmail.com
25906         * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
25907         warning.
25909 2014-08-13  Roman Gareev  <gareevroman@gmail.com>
25911         * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
25912         generator.
25914 2014-08-12  Jakub Jelinek  <jakub@redhat.com>
25916         PR target/62025
25917         * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
25918         any registers that are used in mem_insn.
25920 2014-08-12  Steve Ellcey  <sellcey@mips.com>
25922         * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
25924 2014-08-12  Steve Ellcey  <sellcey@mips.com>
25926         * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
25927         (MULTILIB_DIRNAMES): Ditto.
25928         * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
25929         * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
25930         * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
25931         * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
25932         * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
25933         * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
25935 2014-08-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
25937         PR target/61413
25938         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
25939         of __ARM_SIZEOF_WCHAR_T.
25941 2014-08-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
25943         PR target/62098
25944         * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
25945         Remove unnecessary attributes.
25947 2014-08-12  Yury Gribov  <y.gribov@samsung.com>
25949         * internal-fn.c (init_internal_fns): Fix off-by-one.
25951 2014-08-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
25952             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
25953             Anna Tikhonova  <anna.tikhonova@intel.com>
25954             Ilya Tocar  <ilya.tocar@intel.com>
25955             Andrey Turetskiy  <andrey.turetskiy@intel.com>
25956             Ilya Verbin  <ilya.verbin@intel.com>
25957             Kirill Yukhin  <kirill.yukhin@intel.com>
25958             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
25960         * config/i386/i386.c (standard_sse_constant_opcode): Use
25961         vpxord/vpternlog if avx512 is availible.
25963 2014-08-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
25965         PR middle-end/62103
25966         * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
25967         bitfields, that is when size doesn't match the size of type or the
25968         size of the constructor.
25970 2014-08-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
25972         * config/rs6000/constraints.md (wh constraint): New constraint,
25973         for FP registers if direct move is available.
25974         (wi constraint): New constraint, for VSX/FP registers that can
25975         handle 64-bit integers.
25976         (wj constraint): New constraint for VSX/FP registers that can
25977         handle 64-bit integers for direct moves.
25978         (wk constraint): New constraint for VSX/FP registers that can
25979         handle 64-bit doubles for direct moves.
25980         (wy constraint): Make documentation match implementation.
25982         * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
25983         scalar_in_vmx_p field to simplify tests of whether SFmode or
25984         DFmode can go in the Altivec registers.
25985         (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
25986         (rs6000_setup_reg_addr_masks): Likewise.
25987         (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
25988         field, and wh/wi/wj/wk constraints.
25989         (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
25990         the wh/wi/wj/wk constraints.
25991         (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
25992         upper registers, prefer VSX registers unless the operation is a
25993         memory operation with REG+OFFSET addressing.
25995         * config/rs6000/vsx.md (VSr mode attribute): Add support for
25996         DImode.  Change SFmode to use ww constraint instead of d to allow
25997         SF registers in the upper registers.
25998         (VSr2): Likewise.
25999         (VSr3): Likewise.
26000         (VSr5): Fix thinko in comment.
26001         (VSa): New mode attribute that is an alternative to wa, that
26002         returns the VSX register class that a mode can go in, but may not
26003         be the preferred register class.
26004         (VS_64dm): New mode attribute for appropriate register classes for
26005         referencing 64-bit elements of vectors for direct moves and normal
26006         moves.
26007         (VS_64reg): Likewise.
26008         (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
26009         register allocator to only registers the data type can handle.
26010         (vsx_le_perm_load_<mode>): Likewise.
26011         (vsx_le_perm_store_<mode>): Likewise.
26012         (vsx_xxpermdi2_le_<mode>): Likewise.
26013         (vsx_xxpermdi4_le_<mode>): Likewise.
26014         (vsx_lxvd2x2_le_<mode>): Likewise.
26015         (vsx_lxvd2x4_le_<mode>): Likewise.
26016         (vsx_stxvd2x2_le_<mode>): Likewise.
26017         (vsx_add<mode>3): Likewise.
26018         (vsx_sub<mode>3): Likewise.
26019         (vsx_mul<mode>3): Likewise.
26020         (vsx_div<mode>3): Likewise.
26021         (vsx_tdiv<mode>3_internal): Likewise.
26022         (vsx_fre<mode>2): Likewise.
26023         (vsx_neg<mode>2): Likewise.
26024         (vsx_abs<mode>2): Likewise.
26025         (vsx_nabs<mode>2): Likewise.
26026         (vsx_smax<mode>3): Likewise.
26027         (vsx_smin<mode>3): Likewise.
26028         (vsx_sqrt<mode>2): Likewise.
26029         (vsx_rsqrte<mode>2): Likewise.
26030         (vsx_tsqrt<mode>2_internal): Likewise.
26031         (vsx_fms<mode>4): Likewise.
26032         (vsx_nfma<mode>4): Likewise.
26033         (vsx_eq<mode>): Likewise.
26034         (vsx_gt<mode>): Likewise.
26035         (vsx_ge<mode>): Likewise.
26036         (vsx_eq<mode>_p): Likewise.
26037         (vsx_gt<mode>_p): Likewise.
26038         (vsx_ge<mode>_p): Likewise.
26039         (vsx_xxsel<mode>): Likewise.
26040         (vsx_xxsel<mode>_uns): Likewise.
26041         (vsx_copysign<mode>3): Likewise.
26042         (vsx_float<VSi><mode>2): Likewise.
26043         (vsx_floatuns<VSi><mode>2): Likewise.
26044         (vsx_fix_trunc<mode><VSi>2): Likewise.
26045         (vsx_fixuns_trunc<mode><VSi>2): Likewise.
26046         (vsx_x<VSv>r<VSs>i): Likewise.
26047         (vsx_x<VSv>r<VSs>ic): Likewise.
26048         (vsx_btrunc<mode>2): Likewise.
26049         (vsx_b2trunc<mode>2): Likewise.
26050         (vsx_floor<mode>2): Likewise.
26051         (vsx_ceil<mode>2): Likewise.
26052         (vsx_<VS_spdp_insn>): Likewise.
26053         (vsx_xscvspdp): Likewise.
26054         (vsx_xvcvspuxds): Likewise.
26055         (vsx_float_fix_<mode>2): Likewise.
26056         (vsx_set_<mode>): Likewise.
26057         (vsx_extract_<mode>_internal1): Likewise.
26058         (vsx_extract_<mode>_internal2): Likewise.
26059         (vsx_extract_<mode>_load): Likewise.
26060         (vsx_extract_<mode>_store): Likewise.
26061         (vsx_splat_<mode>): Likewise.
26062         (vsx_xxspltw_<mode>): Likewise.
26063         (vsx_xxspltw_<mode>_direct): Likewise.
26064         (vsx_xxmrghw_<mode>): Likewise.
26065         (vsx_xxmrglw_<mode>): Likewise.
26066         (vsx_xxsldwi_<mode>): Likewise.
26067         (vsx_xscvdpspn): Tighten constraints to only use register classes
26068         the types use.
26069         (vsx_xscvspdpn): Likewise.
26070         (vsx_xscvdpspn_scalar): Likewise.
26072         * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
26073         wj, and wk constraints.
26074         (GPR_REG_CLASS_P): New helper macro for register classes targeting
26075         general purpose registers.
26077         * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
26078         direct moves.
26079         (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
26080         DImode instead of wm.  Use wk constraint for direct move of DFmode
26081         instead of wm.
26082         (extendsidi2_lfiwax): Likewise.
26083         (lfiwax): Likewise.
26084         (lfiwzx): Likewise.
26085         (movdi_internal64): Likewise.
26087         * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
26088         wk constraints. Make the wy constraint documentation match them
26089         implementation.
26091 2014-08-11  Mircea Namolaru  <mircea.namolaru@inria.fr>
26093         Replacement of isl_int by isl_val
26094         * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
26095         (compute_bounds_for_param): use isl_val instead of isl_int
26096         (compute_bounds_for_loop): likewise
26097         * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
26098         (build_linearized_memory_access): use isl_val instead of isl_int
26099         (pdr_stride_in_loop): likewise
26100         * graphite-optimize-isl.c:
26101         (getPrevectorMap): use isl_val instead of isl_int
26102         * graphite-poly.c:
26103         (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
26104         graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
26105         (extern the_isl_ctx): declare
26106         (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
26107         (extract_affine_gmp): likewise
26108         (wrap): likewise
26109         (build_loop_iteration_domains): likewise
26110         (add_param_constraints): likewise
26112 2014-08-11  Richard Biener  <rguenther@suse.de>
26114         PR tree-optimization/62075
26115         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
26116         handle uses in patterns.
26118 2014-08-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
26119             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
26120             Anna Tikhonova  <anna.tikhonova@intel.com>
26121             Ilya Tocar  <ilya.tocar@intel.com>
26122             Andrey Turetskiy  <andrey.turetskiy@intel.com>
26123             Ilya Verbin  <ilya.verbin@intel.com>
26124             Kirill Yukhin  <kirill.yukhin@intel.com>
26125             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
26127         * common/config/i386/i386-common.c
26128         (OPTION_MASK_ISA_AVX512VL_SET): Define.
26129         (OPTION_MASK_ISA_AVX512F_UNSET): Update.
26130         (ix86_handle_option): Handle OPT_mavx512vl.
26131         * config/i386/cpuid.h (bit_AVX512VL): Define.
26132         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
26133         set -mavx512vl accordingly.
26134         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
26135         OPTION_MASK_ISA_AVX512VL.
26136         * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
26137         (ix86_option_override_internal): Define PTA_AVX512VL, handle
26138         PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
26139         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
26140         * config/i386/i386.h (TARGET_AVX512VL): Define.
26141         (TARGET_AVX512VL_P(x)): Ditto.
26142         * config/i386/i386.opt: Add mavx512vl.
26144 2014-08-11  Felix Yang  <fei.yang0953@gmail.com>
26146         PR tree-optimization/62073
26147         * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
26148         a basic block.
26150 2014-08-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
26151             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
26152             Anna Tikhonova  <anna.tikhonova@intel.com>
26153             Ilya Tocar  <ilya.tocar@intel.com>
26154             Andrey Turetskiy  <andrey.turetskiy@intel.com>
26155             Ilya Verbin  <ilya.verbin@intel.com>
26156             Kirill Yukhin  <kirill.yukhin@intel.com>
26157             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
26159         * common/config/i386/i386-common.c
26160         (OPTION_MASK_ISA_AVX512BW_SET) : Define.
26161         (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
26162         (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
26163         (ix86_handle_option): Handle OPT_mavx512bw.
26164         * config/i386/cpuid.h (bit_AVX512BW): Define.
26165         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
26166         set -mavx512bw accordingly.
26167         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
26168         OPTION_MASK_ISA_AVX512BW.
26169         * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
26170         (ix86_option_override_internal): Define PTA_AVX512BW, handle
26171         PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
26172         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
26173         * config/i386/i386.h (TARGET_AVX512BW): Define.
26174         (TARGET_AVX512BW_P(x)): Ditto.
26175         * config/i386/i386.opt: Add mavx512bw.
26177 2014-08-11  Richard Biener  <rguenther@suse.de>
26179         PR tree-optimization/62070
26180         * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
26181         Remove SSA checking.
26183 2014-08-11  Yury Gribov  <y.gribov@samsung.com>
26185         * asan.c (asan_check_flags): New enum.
26186         (build_check_stmt_with_calls): Removed function.
26187         (build_check_stmt): Split inlining logic to
26188         asan_expand_check_ifn.
26189         (instrument_derefs): Rename parameter.
26190         (instrument_mem_region_access): Rename parameter.
26191         (instrument_strlen_call): Likewise.
26192         (asan_expand_check_ifn): New function.
26193         (asan_instrument): Remove old code.
26194         (pass_sanopt::execute): Change handling of
26195         asan-instrumentation-with-call-threshold.
26196         (asan_clear_shadow): Fix formatting.
26197         (asan_function_start): Likewise.
26198         (asan_emit_stack_protection): Likewise.
26199         * doc/invoke.texi (asan-instrumentation-with-call-threshold):
26200         Update description.
26201         * internal-fn.c (expand_ASAN_CHECK): New function.
26202         * internal-fn.def (ASAN_CHECK): New internal function.
26203         * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
26204         Update description.
26205         (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
26206         * tree.c: Small comment fix.
26208 2014-08-11  Yury Gribov  <y.gribov@samsung.com>
26210         * gimple.c (gimple_call_fnspec): Support internal functions.
26211         (gimple_call_return_flags): Use const.
26212         * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
26213         * internal-fn.def: Add fnspec information.
26214         * internal-fn.h (internal_fn_fnspec): New function.
26215         (init_internal_fns): Declare new function.
26216         * internal-fn.c (internal_fn_fnspec_array): New global variable.
26217         (init_internal_fns): New function.
26218         * tree-core.h: Update macro call.
26219         * tree.c (build_common_builtin_nodes): Initialize internal fns.
26221 2014-08-10  Gerald Pfeifer  <gerald@pfeifer.com>
26223         * lto-streamer.h (struct output_block::symbol): Change from
26224         struct symtab_node to plain symtab_node.
26225         (referenced_from_this_partition_p): Change first parameter
26226         from struct symtab_node to plain symtab_node.
26228 2014-08-10  Marek Polacek  <polacek@redhat.com>
26230         PR c/51849
26231         * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
26233 2014-08-09  Jan Hubicka  <hubicka@ucw.cz>
26235         * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
26236         DECL correctly; do not give up on types in static storage.
26238 2014-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
26240         * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
26242 2014-08-09  Roman Gareev  <gareevroman@gmail.com>
26244         * graphite-isl-ast-to-gimple.c:
26245         (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
26247         * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
26249 2014-08-08  Guozhi Wei  <carrot@google.com>
26251         * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
26253 2014-08-08  Cary Coutant  <ccoutant@google.com>
26255         * dwarf2out.c (get_skeleton_type_unit): Remove.
26256         (output_skeleton_debug_sections): Remove skeleton type units.
26257         (output_comdat_type_unit): Likewise.
26258         (dwarf2out_finish): Likewise.
26260 2014-08-07  Yi Yang  <ahyangyi@google.com>
26262         * predict.c (expr_expected_value_1): Remove the redundant assignment.
26264 2014-08-08  Richard Biener  <rguenther@suse.de>
26266         * lto-streamer.h (struct lto_input_block): Make it a class
26267         with a constructor.
26268         (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
26269         (struct lto_function_header, struct lto_simple_header,
26270         struct lto_simple_header_with_strings,
26271         struct lto_decl_header, struct lto_function_header): Make
26272         a simple inheritance hieararchy.  Remove unused fields.
26273         (struct lto_asm_header): Remove.
26274         * lto-streamer-out.c (produce_asm): Adjust.
26275         (lto_output_toplevel_asms): Likewise.
26276         (produce_asm_for_decls): Likewise.
26277         * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
26278         * data-streamer-in.c (string_for_index): Likewise.
26279         * ipa-inline-analysis.c (inline_read_section): Likewise.
26280         * ipa-prop.c (ipa_prop_read_section): Likewise.
26281         (read_replacements_section): Likewise.
26282         * lto-cgraph.c (input_cgraph_opt_section): Likewise.
26283         * lto-section-in.c (lto_create_simple_input_block): Likewise.
26284         (lto_destroy_simple_input_block): Likewise.
26285         * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
26286         (lto_input_toplevel_asms): Likewise.
26288 2014-08-08  Alexander Ivchenko  <alexander.ivchenko@intel.com>
26289             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
26290             Anna Tikhonova  <anna.tikhonova@intel.com>
26291             Ilya Tocar  <ilya.tocar@intel.com>
26292             Andrey Turetskiy  <andrey.turetskiy@intel.com>
26293             Ilya Verbin  <ilya.verbin@intel.com>
26294             Kirill Yukhin  <kirill.yukhin@intel.com>
26295             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
26297         * common/config/i386/i386-common.c
26298         (OPTION_MASK_ISA_AVX512DQ_SET): Define.
26299         (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
26300         (ix86_handle_option): Handle OPT_mavx512dq.
26301         * config/i386/cpuid.h (bit_AVX512DQ): Define.
26302         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
26303         set -mavx512dq accordingly.
26304         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
26305         OPTION_MASK_ISA_AVX512DQ.
26306         * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
26307         (ix86_option_override_internal): Define PTA_AVX512DQ, handle
26308         PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
26309         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
26310         * config/i386/i386.h (TARGET_AVX512DQ): Define.
26311         (TARGET_AVX512DQ_P(x)): Ditto.
26312         * config/i386/i386.opt: Add mavx512dq.
26314 2014-08-08  Richard Biener  <rguenther@suse.de>
26316         * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
26317         target_percent, target_percent_s): Export.
26318         (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
26319         fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
26320         fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
26321         fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
26322         fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
26323         Move to gimple-fold.c.
26324         (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
26325         strcat and strcpy.
26326         (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
26327         mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
26328         (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
26329         memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
26330         (rewrite_call_expr_array): Remove.
26331         (fold_builtin_sprintf_chk): Likewise.
26332         (fold_builtin_snprintf_chk): Likewise.
26333         (fold_builtin_varargs): Remove handling of sprintf_chk,
26334         vsprintf_chk, snprintf_chk and vsnprintf_chk.
26335         (gimple_fold_builtin_sprintf_chk): Remove.
26336         (gimple_fold_builtin_snprintf_chk): Likewise.
26337         (gimple_fold_builtin_varargs): Likewise.
26338         (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
26339         * predict.c (optimize_bb_for_size_p): Handle NULL bb.
26340         * gimple.c (gimple_seq_add_seq_without_update): New function.
26341         * gimple.h (gimple_seq_add_seq_without_update): Declare.
26342         * gimple-fold.c: Include output.h.
26343         (gsi_replace_with_seq_vops): New function, split out from ...
26344         (gimplify_and_update_call_from_tree): ... here.
26345         (replace_call_with_value): New function.
26346         (replace_call_with_call_and_fold): Likewise.
26347         (var_decl_component_p): Moved from builtins.c.
26348         (gimple_fold_builtin_memory_op): Moved from builtins.c
26349         fold_builtin_memory_op and rewritten to GIMPLE.
26350         (gimple_fold_builtin_memset): Likewise.
26351         (gimple_fold_builtin_strcpy): Likewise.
26352         (gimple_fold_builtin_strncpy): Likewise.
26353         (gimple_fold_builtin_strcat): Likewise.
26354         (gimple_fold_builtin_fputs): Likewise.
26355         (gimple_fold_builtin_memory_chk): Likewise.
26356         (gimple_fold_builtin_stxcpy_chk): Likewise.
26357         (gimple_fold_builtin_stxncpy_chk): Likewise.
26358         (gimple_fold_builtin_snprintf_chk): Likewise.
26359         (gimple_fold_builtin_sprintf_chk): Likewise.
26360         (gimple_fold_builtin_strlen): New function.
26361         (gimple_fold_builtin_with_strlen): New function split out from
26362         gimple_fold_builtin.
26363         (gimple_fold_builtin): Change signature and handle
26364         bzero, memset, bcopy, memcpy, mempcpy and memmove folding
26365         here.  Call gimple_fold_builtin_with_strlen.
26366         (gimple_fold_call): Adjust.
26368 2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
26370         * calls.c (precompute_arguments): Check
26371         promoted_for_signed_and_unsigned_p and set the promoted mode.
26372         (promoted_for_signed_and_unsigned_p): New function.
26373         (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
26374         and set the promoted mode.
26375         * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
26376         * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
26377         SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
26380 2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
26382         * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
26383         instead of SUBREG_PROMOTED_UNSIGNED_SET.
26384         (expand_call): Likewise.
26385         * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
26386         to get promoted mode.
26387         * combine.c (record_promoted_value): Skip > 0 comparison with
26388         SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
26389         * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
26390         of SUBREG_PROMOTED_UNSIGNED_P.
26391         (convert_modes): Likewise.
26392         (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
26393         Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
26394         (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
26395         SUBREG_PROMOTED_UNSIGNED_SET.
26396         * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
26397         instead of SUBREG_PROMOTED_UNSIGNED_SET.
26398         * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
26399         SUBREG_PROMOTED_SET.
26400         * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
26401         SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
26402         * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
26403         of SUBREG_PROMOTED_UNSIGNED_P.
26404         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
26405         (SUBREG_PROMOTED_SET): New define.
26406         (SUBREG_PROMOTED_GET): Likewise.
26407         (SUBREG_PROMOTED_SIGN): Likewise.
26408         (SUBREG_PROMOTED_SIGNED_P): Likewise.
26409         (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
26410         (SUBREG_PROMOTED_UNSIGNED_P): Updated.
26411         * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
26412         instead of SUBREG_PROMOTED_UNSIGNED_GET.
26413         (nonzero_bits1): Skip > 0 comparison with the results as
26414         SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
26415         (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
26416         of !SUBREG_PROMOTED_UNSIGNED_P.
26417         * simplify-rtx.c (simplify_unary_operation_1): Use new
26418         SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
26419         (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
26420         SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
26421         SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
26423 2014-08-07  Jan Hubicka  <hubicka@ucw.cz>
26425         * ipa-devirt.c: Include gimple-pretty-print.h
26426         (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
26427         further tests.
26428         (decl_maybe_in_construction_p): Fix conditional on cdtor check
26429         (get_polymorphic_call_info): Fix return value
26430         (type_change_info): New sturcture based on ipa-prop
26431         variant.
26432         (noncall_stmt_may_be_vtbl_ptr_store): New predicate
26433         based on ipa-prop variant.
26434         (extr_type_from_vtbl_ptr_store): New function
26435         based on ipa-prop variant.
26436         (record_known_type): New function.
26437         (check_stmt_for_type_change): New function.
26438         (get_dynamic_type): New function.
26439         * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
26440         * tree-ssa-pre.c: ipa-utils.h
26441         (eliminate_dom_walker::before_dom_children): Use ipa-devirt
26442         machinery; sanity check with ipa-prop devirtualization.
26443         * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
26444         polymorphic flag.
26446 2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
26448         * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
26449         * alias.c, cfgexpand.c, cgraphbuild.c,
26450         config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
26451         config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
26452         config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
26453         config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
26454         config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
26455         config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
26456         config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
26457         dse.c, except.c, gengtype.c, gimple-expr.c,
26458         gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
26459         ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
26460         tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
26461         tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
26462         tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
26463         tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
26464         pointer-set.h.
26465         * pointer-set.c: Remove file.
26466         * pointer-set.h: Remove file.
26468 2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26470         * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
26471         * config/arm/types.md (f_sels, f_seld): Delete.
26473 2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26475         * config/aarch64/aarch64.md (absdi2): Set simd attribute.
26476         (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
26477         (aarch64_movdi_<mode>high): Likewise.
26478         (aarch64_mov<mode>high_di): Likewise.
26479         (aarch64_movdi_<mode>low): Likewise.
26480         (aarch64_mov<mode>low_di): Likewise.
26481         (aarch64_movtilow_tilow): Likewise.
26482         Add comment explaining usage of fp,simd attributes and of
26483         TARGET_FLOAT and TARGET_SIMD.
26485 2014-08-07  Ian Bolton  <ian.bolton@arm.com>
26486             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26488         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
26489         Use MOVN when one of the half-words is 0xffff.
26491 2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>
26493         * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
26495 2014-08-07  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
26497         * haifa-sched.c (SCHED_SORT): Delete.  Macro used exactly once.
26498         (enum rfs_decition:RFS_*): New constants wrapped in an enum.
26499         (rfs_str): String corresponding to RFS_* constants.
26500         (rank_for_schedule_stats_t): New typedef.
26501         (rank_for_schedule_stats): New static variable.
26502         (rfs_result): New static function.
26503         (rank_for_schedule): Track statistics for deciding heuristics.
26504         (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
26505         static functions.
26506         (ready_sort): Use them for debug printouts.
26507         (schedule_block): Init statistics state.  Print statistics on
26508         rank_for_schedule decisions.
26510 2014-08-07  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
26512         * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
26514 2014-08-07  Ilya Tocar  <ilya.tocar@intel.com>
26516         * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
26517         constraint.
26519 2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
26521         * hash-map.h (default_hashmap_traits): Adjust overloads of hash
26522         function to not conflict.
26523         * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
26524         gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
26525         lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
26526         tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
26527         tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
26528         of pointer_map.
26530 2014-08-07  Marek Polacek  <polacek@redhat.com>
26532         * fold-const.c (fold_binary_loc): Add folding of
26533         (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
26535 2013-08-07  Ilya Enkovich  <ilya.enkovich@intel.com>
26537         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
26538         instead of type size.
26539         (ASM_FINISH_DECLARE_OBJECT): Likewise.
26541 2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>
26543         * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
26544         (*thumb1_movqi_insn): Likewise.
26545         * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
26547 2014-08-07  Tom de Vries  <tom@codesourcery.com>
26549         * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
26550         (glibc_2_11_or_earlier): Remove effective-target keywords.
26552 2014-08-07  Kugan Vivekanandarajah  <kuganv@linaro.org>
26554         * config/arm/arm.c (bdesc_2arg): Fix typo.
26555         (arm_atomic_assign_expand_fenv): Remove The default implementation.
26557 2014-08-07  Zhenqiang Chen  <zhenqiang.chen@arm.com>
26559         * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
26561 2014-08-06  Vladimir Makarov  <vmakarov@redhat.com>
26563         PR debug/61923
26564         * haifa-sched.c (advance_one_cycle): Fix dump.
26565         (schedule_block): Don't advance cycle if we are already at the
26566         beginning of the cycle.
26568 2014-08-06  Martin Jambor  <mjambor@suse.cz>
26570         PR ipa/61393
26571         * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
26573 2014-08-06  Richard Biener  <rguenther@suse.de>
26575         PR lto/62034
26576         * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
26577         SCCs here.
26578         (lto_input_tree): Pop SCCs here.
26580 2014-08-06  Richard Biener  <rguenther@suse.de>
26582         PR tree-optimization/61320
26583         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
26584         handle misaligned loads.
26586 2014-08-06  Alan Lawrence  <alan.lawrence@arm.com>
26588         * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
26589         (aarch64_expand_vec_perm_const): Check for dup before zip.
26591 2014-08-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26593         * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
26594         CONST_INT_P instead of GET_CODE and compare.
26595         (aarch64_select_cc_mode): Likewise.
26596         (aarch64_print_operand): Likewise.
26597         (aarch64_rtx_costs): Likewise.
26598         (aarch64_simd_valid_immediate): Likewise.
26599         (aarch64_simd_check_vect_par_cnst_half): Likewise.
26600         (aarch64_simd_emit_pair_result_insn): Likewise.
26602 2014-08-05  David Malcolm  <dmalcolm@redhat.com>
26604         * gdbhooks.py (find_gcc_source_dir): New helper function.
26605         (class PassNames): New class, locating and parsing passes.def.
26606         (class BreakOnPass): New command "break-on-pass".
26608 2014-08-05  Trevor Saunders  <tsaunders@mozilla.com>
26610         * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
26611         getting olde.
26613 2014-08-05  Richard Biener  <rguenther@suse.de>
26615         PR rtl-optimization/61672
26616         * emit-rtl.h (mem_attrs_eq_p): Declare.
26617         * emit-rtl.c (mem_attrs_eq_p): Export.  Handle NULL mem-attrs.
26618         * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
26619         * cfgcleanup.c (merge_memattrs): Likewise.
26620         Include emit-rtl.h.
26622 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26624         * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
26625         rather than singleton vectors.
26626         (vqdmlsls_lane_s32): Likewise.
26628 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26630         * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
26631         Use VSDQ_HSI mode iterator.
26632         (aarch64_sqrdmulh_laneq<mode>): Likewise.
26633         (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
26634         * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
26635         Use BUILTIN_VDQHS macro.
26636         (sqrdmulh_laneq): Likewise.
26637         * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
26638         (vqdmlals_laneq_s32): Likewise.
26639         (vqdmlslh_laneq_s16): Likewise.
26640         (vqdmlsls_laneq_s32): Likewise.
26641         (vqdmulhh_laneq_s16): Likewise.
26642         (vqdmulhs_laneq_s32): Likewise.
26643         (vqrdmulhh_laneq_s16): Likewise.
26644         (vqrdmulhs_laneq_s32): Likewise.
26646 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26648         * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
26649         (vmuld_laneq_f64): Likewise.
26650         (vmuls_laneq_f32): Likewise.
26651         (vmul_n_f64): Likewise.
26652         (vmuld_lane_f64): Reimplement in C.
26653         (vmuls_lane_f32): Likewise.
26655 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26657         * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
26658         to reservation.
26659         * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
26661 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26663         * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
26664         (rbitsi2): Likewise.
26665         (*arm_rev): Set predicable and predicable_short_it attributes.
26667 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26669         * convert.c (convert_to_integer): Guard transformation to lrint by
26670         -fno-math-errno.
26672 2014-08-05  James Greenhalgh  <james.greenhalgh@arm.com>
26674         * config/aarch64/aarch64-builtins.c
26675         (aarch64_simd_builtin_type_mode): Delete.
26676         (v8qi_UP): Remap to V8QImode.
26677         (v4hi_UP): Remap to V4HImode.
26678         (v2si_UP): Remap to V2SImode.
26679         (v2sf_UP): Remap to V2SFmode.
26680         (v1df_UP): Remap to V1DFmode.
26681         (di_UP): Remap to DImode.
26682         (df_UP): Remap to DFmode.
26683         (v16qi_UP):V16QImode.
26684         (v8hi_UP): Remap to V8HImode.
26685         (v4si_UP): Remap to V4SImode.
26686         (v4sf_UP): Remap to V4SFmode.
26687         (v2di_UP): Remap to V2DImode.
26688         (v2df_UP): Remap to V2DFmode.
26689         (ti_UP): Remap to TImode.
26690         (ei_UP): Remap to EImode.
26691         (oi_UP): Remap to OImode.
26692         (ci_UP): Map to CImode.
26693         (xi_UP): Remap to XImode.
26694         (si_UP): Remap to SImode.
26695         (sf_UP): Remap to SFmode.
26696         (hi_UP): Remap to HImode.
26697         (qi_UP): Remap to QImode.
26698         (aarch64_simd_builtin_datum): Make mode a machine_mode.
26699         (VAR1): Build builtin name.
26700         (aarch64_init_simd_builtins): Remove dead code.
26702 2014-08-05  Roman Gareev  <gareevroman@gmail.com>
26704         * graphite-isl-ast-to-gimple.c:
26705         (set_options): New function.
26706         (scop_to_isl_ast): Add calling of set_options.
26708 2014-08-05  Jakub Jelinek  <jakub@redhat.com>
26710         * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
26711         (analyze_iv_to_split_insn): Don't initialize them.
26712         (get_ivts_expr): Removed.
26713         (allocate_basic_variable, insert_base_initialization): Use
26714         SET_SRC instead of *get_ivts_expr.
26715         (split_iv): Use &SET_SRC instead of get_ivts_expr.
26717 2014-08-05  Roman Gareev  <gareevroman@gmail.com>
26719         * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
26720         (translate_isl_ast_for_loop): Add checking of the
26721         flag_loop_parallelize_all.
26722         (ast_build_before_for): New function.
26723         (scop_to_isl_ast): Add checking of the
26724         flag_loop_parallelize_all.
26725         * graphite-dependences.c: Move the defenition of the
26726         scop_get_dependences from graphite-optimize-isl.c to this file.
26727         (apply_schedule_on_deps): Add checking of the ux's emptiness.
26728         (carries_deps): Add checking of the x's value.
26729         * graphite-optimize-isl.c: Move the defenition of the
26730         scop_get_dependences to graphite-dependences.c.
26731         * graphite-poly.h: Add declarations of scop_get_dependences
26732         and carries_deps.
26734 2014-08-04  Rohit  <rohitarulraj@freescale.com>
26736         PR target/60102
26737         * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
26738         names.
26739         (alt_reg_names): Likewise.
26740         (rs6000_dwarf_register_span): For SPE high registers, replace
26741         dwarf register numbers with GCC hard register numbers.
26742         (rs6000_init_dwarf_reg_sizes_extra): Likewise.
26743         (rs6000_dbx_register_number): For SPE high registers, return dwarf
26744         register number for the corresponding GCC hard register number.
26745         * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
26746         newly added GCC hard register numbers for SPE high registers.
26747         (DWARF_FRAME_REGISTERS):  Likewise.
26748         (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
26749         (DWARF_FRAME_REGNUM): Likewise.
26750         (FIXED_REGISTERS): Likewise.
26751         (CALL_USED_REGISTERS): Likewise.
26752         (CALL_REALLY_USED_REGISTERS): Likewise.
26753         (REG_ALLOC_ORDER): Likewise.
26754         (enum reg_class): Likewise.
26755         (REG_CLASS_NAMES): Likewise.
26756         (REG_CLASS_CONTENTS): Likewise.
26757         (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
26759 2014-08-04  Richard Biener  <rguenther@suse.de>
26761         * gimple-fold.h (gimple_fold_builtin): Remove.
26762         * gimple-fold.c (gimple_fold_builtin): Make static.
26763         * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
26764         fold_stmt, not gimple_fold_builtin.
26766 2014-08-04  Martin Liska <mliska@suse.cz>
26768         * cgraph.h (csi_end_p): Removed.
26769         (csi_next): Likewise.
26770         (csi_node): Likewise.
26771         (csi_start): Likewise.
26772         (cgraph_node_in_set_p): Likewise.
26773         (cgraph_node_set_size): Likewise.
26774         (vsi_end_p): Likewise.
26775         (vsi_next): Likewise.
26776         (vsi_node): Likewise.
26777         (vsi_start): Likewise.
26778         (varpool_node_set_size): Likewise.
26779         (cgraph_node_set_nonempty_p): Likewise.
26780         (varpool_node_set_nonempty_p): Likewise.
26781         * cgraphunit.c (cgraph_process_new_functions): vec replaces
26782         cgraph_node_set.
26783         * ipa-inline-transform.c: Likewise.
26784         * ipa-utils.c (cgraph_node_set_new): Removed.
26785         (cgraph_node_set_add): Likewise.
26786         (cgraph_node_set_remove): Likewise.
26787         (cgraph_node_set_find): Likewise.
26788         (dump_cgraph_node_set): Likewise.
26789         (debug_cgraph_node_set): Likewise.
26790         (free_cgraph_node_set): Likewise.
26791         (varpool_node_set_new): Likewise.
26792         (varpool_node_set_add): Likewise.
26793         (varpool_node_set_remove): Likewise.
26794         (varpool_node_set_find): Likewise.
26795         (dump_varpool_node_set): Likewise.
26796         (free_varpool_node_set): Likewise.
26797         (debug_varpool_node_set): Likewise.
26798         * tree-emutls.c (struct tls_var_data):
26799         (emutls_index): Removed.
26800         (emutls_decl): Likewise.
26801         (gen_emutls_addr): Function implementation uses newly added
26802         hash_map<varpool_node *, tls_var_data>.
26803         (clear_access_vars): Likewise.
26804         (create_emultls_var): Likewise.
26805         (ipa_lower_emutls): Likewise.
26806         (reset_access): New function.
26808 2014-08-04 Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
26810         * config/i386/i386.c (ix86_option_override_internal): Add
26811         PTA_RDRND and PTA_MOVBE for bdver4.
26813 2014-08-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26814             James Greenhalgh  <james.greenhalgh@arm.com>
26816         * doc/md.texi (clrsb): Document.
26817         (clz): Change reference to x into operand 1.
26818         (ctz): Likewise.
26819         (popcount): Likewise.
26821 2014-08-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26823         PR target/61713
26824         * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
26825         move to subtarget in serial version if result is ignored.
26827 2014-08-04  Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
26828             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26830         * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
26831         to any two insns.  Update comment.  Rename to sched_macro_fuse_insns.
26832         (sched_analyze_insn): Update use of try_group_insn to
26833         sched_macro_fuse_insns.
26834         * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
26835         arguments that are not conditional jumps.
26837 2014-08-04 Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
26839         * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's extended
26840         family information. Handle BTVER2 cpu with cpuid family value.
26842 2014-08-04  Tom de Vries  <tom@codesourcery.com>
26844         * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
26845         (glibc_2_11_or_earlier): Document effective-target keywords.
26847 2014-08-01  Jan Hubicka  <hubicka@ucw.cz>
26849         * ipa-devirt.c (odr_type_warn_count): Add type.
26850         (possible_polymorphic_call_targets): Set it.
26851         (ipa_devirt): Use it.
26853 2014-08-01  Jan Hubicka  <hubicka@ucw.cz>
26855         * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
26856         Document.
26857         * ipa-devirt.c: Include hash-map.h
26858         (struct polymorphic_call_target_d): Add type_warning and decl_warning.
26859         (clear_speculation): Break out of ...
26860         (get_class_context): ... here; speed up handling obviously useless
26861         speculations.
26862         (odr_type_warn_count, decl_warn_count): New structures.
26863         (final_warning_record): New structure.
26864         (final_warning_records): New static variable.
26865         (possible_polymorphic_call_targets): Cleanup handling of
26866         speculative info; do not build speculation when user do not care;
26867         record info about warnings when asked for.
26868         (add_decl_warning): New function.
26869         (type_warning_cmp): New function.
26870         (decl_warning_cmp): New function.
26871         (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
26872         (gate): Enable pass when warnings are requested.
26873         * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
26874         options.
26876 2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
26878         * hash-map.h (default_hashmap_traits::mark_key_deleted):
26879         Fix cast.
26880         (hash_map::remove): New method.
26881         (hash_map::traverse): New method.
26882         * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
26883         ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
26884         tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
26885         tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
26886         tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
26887         tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
26888         pointer_map.
26890 2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
26892         * hash-set.h: new File.
26893         * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
26894         cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
26895         ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
26896         lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
26897         tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
26898         tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
26899         tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
26900         varpool.c: Use hash_set instead of pointer_set.
26902 2014-08-01  Alan Lawrence  <alan.lawrence@arm.com>
26904         * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
26906 2014-08-01  Jiong Wang <jiong.wang@arm.com>
26908         * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
26909         for frame access when strict_p is false.
26911 2014-08-01  Renlin Li <renlin.li@arm.com>
26912 2014-08-01  Jiong Wang <jiong.wang@arm.com>
26914         * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
26915         aarch64_offset_7bit_signed_scaled_p, remove static and use it.
26916         * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
26917         Declaration.
26918         * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
26919         predicate.
26920         * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
26921         aarch64_mem_pair_offset.
26923 2014-08-01  Jiong Wang <jiong.wang@arm.com>
26925         * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
26926         offset.
26927         (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
26928         * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
26930 2014-08-01  Matthew Fortune  <matthew.fortune@imgtec.com>
26932         * config/mips/mips.h (REGISTER_PREFIX): Define macro.
26934 2014-08-01  James Greenhalgh  <james.greenhalgh@arm.com>
26936         PR regression/61510
26937         * cgraphunit.c (analyze_functions): Use get_create rather than get
26938         for decls which are clones of abstract functions.
26940 2014-08-01  Martin Liska  <mliska@suse.cz>
26942         * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
26943         * ipa-prop.h (count_formal_params): Global function created from static.
26944         * ipa-prop.c (count_formal_params): Likewise.
26945         * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
26946         profiles for semantically equivalent functions.
26947         * passes.c (do_per_function): If we load body of a function
26948         during WPA, this condition should behave same.
26949         * varpool.c (ctor_for_folding): More tolerant assert for variable
26950         aliases created during WPA.
26952 2014-08-01  Martin Liska  <mliska@suse.cz>
26954         * doc/invoke.texi (Options That Control Optimization): Documentation
26955         for -foptimize-strlen introduced. Optimization levels default options
26956         fixed.
26958 2014-08-01  Jakub Jelinek  <jakub@redhat.com>
26960         * opts.c (common_handle_option): Handle -fsanitize=alignment.
26961         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
26962         (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
26963         type to bool.
26964         * stor-layout.h (min_align_of_type): New prototype.
26965         * asan.c (pass_sanopt::execute): Don't perform gsi_next if
26966         ubsan_expand* told us not to do it.  Remove the extra gsi_end_p
26967         check.
26968         * ubsan.c: Include builtins.h.
26969         (ubsan_expand_bounds_ifn): Change return type to bool,
26970         always return true.
26971         (ubsan_expand_null_ifn): Change return type to bool, change
26972         argument to gimple_stmt_iterator *.  Handle both null and alignment
26973         sanitization, take type from ckind argument's type rather than
26974         first argument.
26975         (instrument_member_call): Removed.
26976         (instrument_mem_ref): Remove t argument, add mem and base arguments.
26977         Handle both null and alignment sanitization, don't say whole
26978         struct access is member access.  Build 3 argument IFN_UBSAN_NULL
26979         call instead of 2 argument.
26980         (instrument_null): Adjust instrument_mem_ref caller.  Don't
26981         instrument calls here.
26982         (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
26983         like SANITIZE_NULL.
26984         * stor-layout.c (min_align_of_type): New function.
26985         * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
26986         Or it into SANITIZE_UNDEFINED.
26987         * doc/invoke.texi (-fsanitize=alignment): Document.
26989 2014-07-31  Andi Kleen  <ak@linux.intel.com>
26991         * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
26993 2014-07-31  Andi Kleen  <ak@linux.intel.com>
26995         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
26996         inchash.
26997         (vn_reference_compute_hash): Dito.
26998         (vn_nary_op_compute_hash): Dito.
26999         (vn_phi_compute_hash): Dito.
27000         * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
27002 2014-07-31  Andi Kleen  <ak@linux.intel.com>
27004         * tree-ssa-dom.c (iterative_hash_exprs_commutative):
27005         Rename to inchash:add_expr_commutative. Convert to inchash.
27006         (iterative_hash_hashable_expr): Rename to
27007         inchash:add_hashable_expr. Convert to inchash.
27008         (avail_expr_hash): Dito.
27010 2014-07-31  Andi Kleen  <ak@linux.intel.com>
27012         * ipa-devirt.c (polymorphic_call_target_hasher::hash):
27013         Convert to inchash.
27015 2014-07-31  Andi Kleen  <ak@linux.intel.com>
27017         * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
27019 2014-07-31  Andi Kleen  <ak@linux.intel.com>
27021         * Makefile.in (OBJS): Add rtlhash.o
27022         * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
27023         (loc_checksum): Dito.
27024         (loc_checksum_ordered): Dito.
27025         (hash_loc_operands): Dito.
27026         (hash_locs): Dito.
27027         (hash_loc_list): Dito.
27028         * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
27029         * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
27030         * rtlhash.c: New file.
27031         * rtlhash.h: New file.
27033 2014-07-31  Andi Kleen  <ak@linux.intel.com>
27035         * inchash.h (inchash): Change inchash class to namespace.
27036         (class hash): ... Rename from inchash.
27037         (add_object): Move from macro to class template.
27038         * lto-streamer-out.c (hash_tree): Change inchash
27039         to inchash::hash.
27040         * tree.c (build_type_attribute_qual_variant): Dito.
27041         (type_hash_list): Dito.
27042         (attribute_hash_list): Dito.
27043         (iterative_hstate_expr): Rename to inchash::add_expr
27044         (build_range_type_1): Change inchash to inchash::hash
27045         and use hash::add_expr.
27046         (build_array_type_1): Dito.
27047         (build_function_type): Dito
27048         (build_method_type_directly): Dito.
27049         (build_offset_type): Dito.
27050         (build_complex_type): Dito.
27051         (make_vector_type): Dito.
27052         * tree.h (iterative_hash_expr): Dito.
27054 2014-07-31  Chen Gang  <gang.chen.5i5j@gmail.com>
27056         * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
27058 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
27060         * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
27061         correct alphabetical position.
27062         (vpaddd_f64): Rewrite using builtins.
27063         (vpaddd_s64): Move to correct alphabetical position.
27064         (vpaddd_u64): New.
27066 2014-07-31  Oleg Endo  <olegendo@gcc.gnu.org>
27068         PR target/61844
27069         * config/sh/sh.c (sh_legitimate_address_p,
27070         sh_legitimize_reload_address): Handle reg+reg address modes when
27071         ALLOW_INDEXED_ADDRESS is false.
27072         * config/sh/predicates.md (general_movsrc_operand,
27073         general_movdst_operand): Likewise.
27075 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
27077         * config/aarch64/aarch64-builtins.c
27078         (aarch64_gimple_fold_builtin): Don't fold reduction operations for
27079         BYTES_BIG_ENDIAN.
27081 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
27083         * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
27084         the generated mask based on BYTES_BIG_ENDIAN.
27085         (aarch64_simd_check_vect_par_cnst_half): New.
27086         * config/aarch64/aarch64-protos.h
27087         (aarch64_simd_check_vect_par_cnst_half): New.
27088         * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
27089         the check out to aarch64_simd_check_vect_par_cnst_half.
27090         (vect_par_cnst_lo_half): Likewise.
27091         * config/aarch64/aarch64-simd.md
27092         (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
27093         (move_hi_quad_<mode>): Always generate a low mask.
27095 2014-07-30  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
27097         * doc/invoke.texi (AVR Options): Add documentation about
27098         __AVR_DEVICE_NAME__ built-in macro.
27100 2014-07-31  Charles Baylis  <charles.baylis@linaro.org>
27102         PR target/61948
27103         * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
27104         constraints are satisfied.
27105         (<shift>di3_neon): Likewise.
27107 2014-07-31  Richard Biener  <rguenther@suse.de>
27109         PR tree-optimization/61964
27110         * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
27111         by structural equality.
27113 2014-07-31  Yury Gribov  <y.gribov@samsung.com>
27115         * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
27116         * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
27117         * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
27118         New enums.
27119         * gcc.c (sanitize_spec_function): Support new option.
27120         (SANITIZER_SPEC): Remove now redundant check.
27121         * opts.c (common_handle_option): Support new option.
27122         (finish_options): Check for incompatibilities.
27123         * toplev.c (process_options): Split userspace-specific checks.
27125 2014-07-31  Richard Biener  <rguenther@suse.de>
27127         * lto-streamer.h (struct output_block): Remove global.
27128         (struct data_in): Remove labels, num_named_labels and
27129         num_unnamed_labels.
27130         * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
27131         * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
27133 2014-07-31  Marc Glisse  <marc.glisse@inria.fr>
27135         PR c++/60517
27136         * common.opt (-Wreturn-local-addr): Moved from c.opt.
27137         * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
27138         (isolate_path): New argument to avoid inserting a trap.
27139         (find_implicit_erroneous_behaviour): Handle returning the address
27140         of a local variable.
27141         (find_explicit_erroneous_behaviour): Likewise.
27143 2014-07-31  Bingfeng Mei <bmei@broadcom.com>
27145         PR lto/61868
27146         * toplev.c (init_random_seed): Move piece of code never called to
27147         set_random_seed.
27148         (set_random_seed): see above.
27150 2014-07-31  Tom de Vries  <tom@codesourcery.com>
27152         * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
27154 2014-07-31  Richard Sandiford  <rdsandiford@googlemail.com>
27156         * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
27157         (compute_regs_asm_clobbered): Use extract_asm_operands instead.
27159 2014-07-31  Richard Biener  <rguenther@suse.de>
27161         * data-streamer.h (streamer_write_data_stream): Declare here,
27162         renamed from ...
27163         * lto-streamer.h (lto_output_data_stream): ... this.  Remove.
27164         * lto-cgraph.c (lto_output_node): Adjust.
27165         (lto_output_varpool_node): Likewise.
27166         * data-streamer-out.c (streamer_string_index): Likewise.
27167         (streamer_write_data_stream, lto_append_block): Move from ...
27168         * lto-section-out.c (lto_output_data_stream,
27169         lto_append_block): ... here.
27171 2014-07-30  Mike Stump  <mikestump@comcast.net>
27173         * configure.ac: Also check for popen.
27174         * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
27175         * configure: Regenerate.
27176         * config.in:  Regenerate.
27178 2014-07-30  Martin Jambor  <mjambor@suse.cz>
27180         * tree-sra.c (sra_ipa_modify_assign): Change type of the first
27181         parameter to gimple.
27183 2014-07-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27185         * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
27186         address as second parameter to __tpf_eh_return routine.
27188 2014-07-30  Jiong Wang  <jiong.wang@arm.com>
27190         * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
27191         Thumb2.
27193 2014-07-30  Tom Tromey  <tromey@redhat.com>
27195         PR c/59855
27196         * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
27197         * doc/extend.texi (Type Attributes): Document designated_init
27198         attribute.
27200 2014-07-30  Roman Gareev  <gareevroman@gmail.com>
27202         * graphite-isl-ast-to-gimple.c:
27203         (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
27204         (gcc_expression_from_isl_expression): Pass type to
27205         gcc_expression_from_isl_ast_expr_id.
27207 2014-07-30  Richard Biener  <rguenther@suse.de>
27209         * lto-streamer.h (lto_write_data): New function.
27210         * langhooks.c (lhd_append_data): Do not free block.
27211         * lto-section-out.c (lto_write_data): New function writing
27212         raw data to the current section.
27213         (lto_write_stream): Adjust for langhook semantic change.
27214         (lto_destroy_simple_output_block): Write header directly.
27215         * lto-opts.c (lto_write_options): Write options directly.
27216         * lto-streamer-out.c (produce_asm): Write heaeder directly.
27217         (lto_output_toplevel_asms): Likewise.
27218         (copy_function_or_variable): Copy data directly.
27219         (write_global_references): Output index table directly.
27220         (lto_output_decl_state_refs): Likewise.
27221         (write_symbol): Write data directly.
27222         (produce_symtab): Adjust.
27223         (produce_asm_for_decls): Output header and refs directly.
27225 2014-07-29  Jan Hubicka  <hubicka@ucw.cz>
27227         * ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets
27228         to speculative_targets
27229         (get_class_context): Fix handling of contextes without outer type;
27230         avoid matching non-polymorphic types in LTO.
27231         (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
27232         parameter to speculative_targetsp; handle speculation.
27233         (dump_possible_polymorphic_call_targets): Update dumping.
27235 2014-07-29  Jan Hubicka  <hubicka@ucw.cz>
27237         * common.opt (Wodr): Enable by default.
27239 2014-07-29  Olivier Hainque  <hainque@adacore.com>
27241         * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
27243 2014-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27245         PR bootstrap/61914
27246         * gengtype.c (strtoken): New function.
27247         (create_user_defined_type): Replace strtok with strtoken.
27249 2014-07-29  Nathan Sidwell  <nathan@acm.org>
27251         * gcov-io.c (gcov_var): Make hidden.
27252         * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
27253         (gcov_do_dump): Declare.
27254         (gcov_output_files): Call gcov_do_dump, not gcov_exit).
27256 2014-07-29  Martin Jambor  <mjambor@suse.cz>
27258         * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
27259         parameter to gimple.
27260         (sra_modify_assign): Likewise.
27262 2014-07-29  Richard Biener  <rguenther@suse.de>
27264         PR middle-end/52478
27265         * expr.c (expand_expr_real_2): Revert last change.
27267 2014-07-28  Jan Hubicka  <hubicka@ucw.cz>
27269         * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
27270         * cgraph.h (cgraph_indirect_call_info): Add speculative data.
27271         * gimple-fold.c (fold_gimple_assign): Fix check for virtual
27272         call.
27273         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
27274         (contains_type_p): Forward declare.
27275         (polymorphic_call_target_hasher::hash): Hash speculative info.
27276         (polymorphic_call_target_hasher::equal): Compare speculative info.
27277         (get_class_context): Handle speuclation.
27278         (contains_type_p): Update.
27279         (get_polymorphic_call_info_for_decl): Update.
27280         (walk_ssa_copies): Break out from ...
27281         (get_polymorphic_call_info): ... here; set speculative context
27282         before giving up.
27283         * ipa-prop.c (ipa_write_indirect_edge_info,
27284         ipa_read_indirect_edge_info): Stream speculative context.
27285         * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
27286         (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
27287         SPECULATIVE_MAYBE_DERIVED_TYPE).
27288         (possible_polymorphic_call_targets overriders): Update.
27289         (dump_possible_polymorphic_call_targets overriders): Update.
27290         (dump_possible_polymorphic_call_target_p overriders): Update.
27292 2014-07-28  Jan Hubicka  <hubicka@ucw.cz>
27294         * gimple-fold.c (fold_gimple_assign): Fix condition guarding
27295         ipa-devirt path; fix thinko there.
27297 2014-07-28  Trevor Saunders  <tsaunders@mozilla.com>
27299         * config/i386/i386.c (ix86_return_in_memory): Replace one
27300         ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
27302 2014-07-28  Marek Polacek  <polacek@redhat.com>
27304         * doc/invoke.texi (-Wno-odr): Fix @item entry.  Tweak wording.
27306 2014-07-28  Peter Bergner  <bergner@vnet.ibm.com>
27308         * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
27309         * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
27310         * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
27311         (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
27312         (USE_LD_AS_NEEDED): Likewise.
27313         (ASM_APP_ON): Likewise.
27314         (ASM_APP_OFF): Likewise.
27315         (TARGET_POSIX_IO): Likewise.
27316         * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
27317         (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
27318         (USE_LD_AS_NEEDED): Likewise.
27319         (ASM_APP_ON): Likewise.
27320         (ASM_APP_OFF): Likewise.
27321         (TARGET_POSIX_IO): Likewise.
27323 2014-07-28  Eric Botcazou  <ebotcazou@adacore.com>
27325         PR middle-end/61734
27326         * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
27327         operators other than the equality operators.
27329 2014-07-28  Richard Biener  <rguenther@suse.de>
27331         PR middle-end/52478
27332         * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
27333         sure to register SImode ones, not only >= word_mode ones.
27334         * expr.c (expand_expr_real_2): When expanding -ftrapv
27335         binops do not use OPTAB_LIB_WIDEN.
27337 2014-07-28  Richard Sandiford  <rdsandiford@googlemail.com>
27339         PR middle-end/61919
27340         * tree-outof-ssa.c (insert_partition_copy_on_edge)
27341         (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
27342         (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
27343         inserting them in the insn stream.
27345 2014-07-28  Marek Polacek  <polacek@redhat.com>
27347         PR middle-end/61913
27348         * common.opt (Wodr): Add Var.
27350 2014-07-28  Richard Biener  <rguenther@suse.de>
27352         PR tree-optimization/61921
27353         * tree-ssa-structalias.c (create_variable_info_for_1): Check
27354         if there is a varpool node before dereferencing it.
27356 2014-07-28  Roman Gareev  <gareevroman@gmail.com>
27358         * graphite-sese-to-poly.c:
27359         (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
27360         id of the pbb), which contains pointer to the pbb1.
27362         * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
27364 2014-07-28  Roman Gareev  <gareevroman@gmail.com>
27366         * graphite-isl-ast-to-gimple.c:
27367         (graphite_create_new_guard): New function.
27368         (translate_isl_ast_node_if): New function.
27369         (translate_isl_ast): Add calling of translate_isl_ast_node_if.
27371         * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
27373 2014-07-27  Anthony Green  <green@moxielogic.com>
27375         * config.gcc: Add moxie-*-moxiebox* configuration.
27376         * config/moxie/moxiebox.h: New file.
27378 2014-07-26  Andrew Pinski  <apinski@cavium.com>
27380         * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
27381         from the read only register.
27383 2014-07-26  Richard Sandiford  <rdsandiford@googlemail.com>
27385         * ira-costs.c (find_costs_and_classes): For -O0, use the best class
27386         as the allocation class if it isn't likely to be spilled.
27388 2014-07-26  Richard Sandiford  <rdsandiford@googlemail.com>
27390         * rtl.h (tls_referenced_p): Declare.
27391         * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
27392         * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
27393         (mips_cannot_force_const_mem): Use tls_referenced_p.
27394         * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
27395         * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
27396         instead of pa_tls_referenced_p.
27397         * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
27398         (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
27399         (pa_legitimate_constant_p): Likewise.
27400         (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
27401         * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
27402         (rs6000_cannot_force_const_mem, rs6000_emit_move)
27403         (rs6000_address_for_altivec): Use tls_referenced_p instead of
27404         rs6000_tls_referenced_p.
27405         (rs6000_tls_symbol_ref_1): Delete.
27407 2014-07-26  Marc Glisse  <marc.glisse@inria.fr>
27409         PR target/44551
27410         * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
27411         Optimize inverse of a VEC_CONCAT.
27413 2014-07-25  Xinliang David Li  <davidxl@google.com>
27415         * params.def: New parameter.
27416         * coverage.c (get_coverage_counts): Check new flag.
27417         (coverage_compute_profile_id): Check new flag.
27418         (coverage_begin_function): Check new flag.
27419         (coverage_end_function): Check new flag.
27420         * value-prof.c (coverage_node_map_initialized_p): New function.
27421         (init_node_map): Populate map with all functions.
27422         * doc/invoke.texi: Document new parameter.
27424 2014-07-25  Jan Hubicka  <hubicka@ucw.cz>
27425             Richard Biener <rguenther@suse.de>
27427         * lto-streamer-out.c (struct sccs): Turn to ...
27428         (class DFS): ... this one; refactor the DFS walk so it can
27429         be re-done on per-SCC basis.
27430         (DFS::DFS): New constructor.
27431         (DFS::~DFS): New destructor.
27432         (hash_tree): Add new MAP argument holding in-SCC hash values;
27433         remove POINTER_TYPE hashing hack.
27434         (scc_entry_compare): Rename to ...
27435         (DFS::scc_entry_compare): ... this one.
27436         (hash_scc): Rename to ...
27437         (DFS::hash_scc): ... this one; pass output_block instead
27438         of streamer_cache; work harder to get unique and stable SCC
27439         hashes.
27440         (DFS_write_tree): Rename to ...
27441         (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
27442         (lto_output_tree): Update.
27444 2014-07-25  Andi Kleen  <ak@linux.intel.com>
27446         * lto-streamer-out.c (hash_tree): Convert to inchash.
27448 2014-07-25  Andi Kleen  <ak@linux.intel.com>
27450         * tree.c (build_type_attribute_qual_variant): Use inchash.
27451         (type_hash_list): Dito.
27452         (attribute_hash_list): Dito
27453         (iterative_hstate_expr): Dito.
27454         (iterative_hash_expr): Dito.
27455         (build_range_type_1): Dito.
27456         (build_array_type_1): Dito.
27457         (build_function_type): Dito.
27458         (build_method_type_directly): Dito.
27459         (build_offset_type): Dito.
27460         (build_complex_type): Dito.
27461         (make_vector_type): Dito.
27462         * tree.h (iterative_hash_expr): Add compat wrapper.
27463         (iterative_hstate_expr): Add.
27465 2014-07-25  Andi Kleen  <ak@linux.intel.com>
27467         * Makefile.in (OBJS): Add inchash.o.
27468         (PLUGIN_HEADERS): Add inchash.h.
27469         * ipa-devirt.c: Include inchash.h.
27470         * lto-streamer-out.c: Dito.
27471         * tree-ssa-dom.c: Dito.
27472         * tree-ssa-pre.c: Dito.
27473         * tree-ssa-sccvn.c: Dito.
27474         * tree-ssa-tail-merge.c: Dito.
27475         * asan.c: Dito.
27476         * tree.c (iterative_hash_hashval_t): Move to ...
27477         (iterative_hash_host_wide_int): Move to ...
27478         * inchash.c: Here. New file.
27479         * tree.h (iterative_hash_hashval_t): Move to ...
27480         (iterative_hash_host_wide_int): Move to ...
27481         * inchash.h: Here. New file.
27483 2014-07-25  Richard Biener  <rguenther@suse.de>
27485         PR middle-end/61762
27486         PR middle-end/61894
27487         * fold-const.c (native_encode_int): Add and handle offset
27488         parameter to do partial encodings of expr.
27489         (native_encode_fixed): Likewise.
27490         (native_encode_real): Likewise.
27491         (native_encode_complex): Likewise.
27492         (native_encode_vector): Likewise.
27493         (native_encode_string): Likewise.
27494         (native_encode_expr): Likewise.
27495         * fold-const.c (native_encode_expr): Add offset parameter
27496         defaulting to -1.
27497         * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
27498         (fold_ctor_reference): Handle all reads from tcc_constant
27499         ctors.
27501 2014-07-25  Richard Biener  <rguenther@suse.de>
27503         * tree-inline.c (estimate_move_cost): Mark speed_p argument
27504         as possibly unused.
27506 2014-07-23  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
27508         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
27510 2014-07-24  Kyle McMartin  <kyle@redhat.com>
27512         * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
27514 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27516         * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
27517         Add prototype.
27518         * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
27519         function.
27520         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
27521         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
27522         * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
27524 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27526         * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
27527         and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
27528         aggregate types.  Instead, *all* aggregate types, except for single-
27529         element or homogeneous float/vector aggregates, are quadword-aligned
27530         if required by their type alignment.  Issue -Wpsabi note when a type
27531         is now treated differently than before.
27533 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27535         * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
27536         does not fit fully into floating-point registers, and there is still
27537         space in the register parameter area, use GPRs to pass those parts
27538         of the argument.  Issue -Wpsabi note if any parameter is now treated
27539         differently than before.
27540         (rs6000_arg_partial_bytes): Update.
27542 2014-07-24  Uros Bizjak  <ubizjak@gmail.com>
27544         * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
27546 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
27548         * rtl.h (target_rtl): Remove lang_dependent_initialized.
27549         * toplev.c (initialize_rtl): Don't use it.  Move previously
27550         "language-dependent" calls to...
27551         (backend_init): ...here.
27552         (lang_dependent_init_target): Don't set lang_dependent_initialized.
27553         Assert that RTL initialization hasn't happend yet.
27555 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
27557         PR rtl-optimization/61629
27558         * reginfo.c (reinit_regs): Only call ira_init and recog_init if
27559         they have already been initialized.
27561 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
27563         PR middle-end/61268
27564         * function.c (assign_parm_setup_reg): Prevent invalid sharing of
27565         DECL_INCOMING_RTL and entry_parm.
27566         (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
27567         * calls.c (load_register_parameters): Likewise argument values.
27568         (emit_library_call_value_1, store_one_arg): Likewise argument
27569         save areas.
27570         * config/i386/i386.c (assign_386_stack_local): Likewise the local
27571         stack slot.
27572         * explow.c (validize_mem): Modify the argument in-place.
27574 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
27576         * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
27577         (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
27579 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
27581         * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
27582         (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
27584 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
27586         * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
27587         (aarch64_save_callee_saves): New parameter "skip_wb".
27588         (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
27590 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
27592         * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
27593         "wb_candidate2".
27594         * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
27596 2014-07-24  Roman Gareev  <gareevroman@gmail.com>
27598         * graphite-isl-ast-to-gimple.c:
27599         (graphite_create_new_loop): Add calling of isl_id_free to properly
27600         decrement reference counts.
27602         * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
27604 2014-07-24  Martin Liska  <mliska@suse.cz>
27605         * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
27606         function used.
27607         * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
27608         (rs6000_code_end): Likewise.
27610 2014-07-24  Martin Liska  <mliska@suse.cz>
27612         * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
27613         symtab_node funtion used.
27614         (rs6000_xcoff_declare_object_name): Likewise.
27616 2014-07-24  Martin Liska  <mliska@suse.cz>
27618         * cgraphunit.c (compile): Correct function used.
27620 2014-07-24  Jan Hubicka  <hubicka@ucw.cz>
27622         * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
27623         as non-indexable.
27625 2014-07-24  Jan Hubicka  <hubicka@ucw.cz>
27627         PR lto/61802
27628         * varasm.c (bss_initializer_p): Handle offlined ctors.
27629         (align_variable, get_variable_align): Likewise.
27630         (make_decl_one_only): Likewise.
27631         (default_binds_local_p_1): Likewise.
27632         (decl_binds_to_current_def_p): Likewise.
27633         (get_variable_section): Get constructor if it is offlined.
27634         (assemble_variable_contents): Sanity check that the caller
27635         streamed in the ctor in LTO.
27637 2014-07-24  Roman Gareev  <gareevroman@gmail.com>
27639         * graphite-isl-ast-to-gimple.c:
27640         (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
27641         (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
27642         isl_ast_op_pdiv_r to the different case.
27644         * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
27646 2014-07-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
27648         PR middle-end/61876
27649         * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
27650         when flag_errno_math is on.
27652 2014-07-24  Martin Liska  <mliska@suse.cz>
27654         * cgraph.h (varpool_node):
27655         (availability get_availability (void)):
27656         created from cgraph_variable_initializer_availability
27657         (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
27658         created from: cgraph_variable_initializer_availability
27659         (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
27660         (void finalize_named_section_flags (void)):
27661         created from varpool_finalize_named_section_flags
27662         (bool assemble_decl (void)): created from varpool_assemble_decl
27663         (void analyze (void)): created from varpool_analyze_node
27664         (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
27665         void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
27666         (void remove_initializer (void)): created from varpool_remove_initializer
27667         (tree get_constructor (void)): created from varpool_get_constructor
27668         (bool externally_visible_p (void)): created from varpool_externally_visible_p
27669         (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
27670         (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
27671         (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
27672         (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
27673         (static void finalize_decl (tree decl)): created from varpool_finalize_decl
27674         (static bool output_variables (void)): created from varpool_output_variables
27675         (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
27676         created from varpool_extra_name_alias
27677         (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
27678         (static void dump_varpool (FILE *f)): created from dump_varpool
27679         (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
27680         (static varpool_node *create_empty (void)): created from varpool_create_empty_node
27681         (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
27682         (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
27683         (void assemble_aliases (void)): created from assemble_aliases
27685 2014-07-24  Martin Liska  <mliska@suse.cz>
27687         * cgraph.h (symtab_node):
27688         (void register_symbol (void)): created from symtab_register_node
27689         (void remove (void)): created from symtab_remove_node
27690         (void dump (FILE *f)): created from dump_symtab_node
27691         (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
27692         (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
27693         (struct ipa_ref *add_reference (symtab_node *referred_node,
27694         enum ipa_ref_use use_type)): created from add_reference
27695         (struct ipa_ref *add_reference (symtab_node *referred_node,
27696         enum ipa_ref_use use_type, gimple stmt)): created from add_reference
27697         (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
27698         gimple stmt)): created from maybe_add_reference
27699         (bool semantically_equivalent_p (symtab_node *target)): created from
27700         symtab_semantically_equivalent_p
27701         (void remove_from_same_comdat_group (void)): created from
27702         remove_from_same_comdat_group
27703         (void add_to_same_comdat_group (symtab_node *old_node)): created from
27704         symtab_add_to_same_comdat_group
27705         (void dissolve_same_comdat_group_list (void)): created from
27706         symtab_dissolve_same_comdat_group_list
27707         (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
27708         (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
27709         created from symtab_alias_ultimate_target
27710         (inline symtab_node *next_defined_symbol (void)): created from
27711         symtab_next_defined_symbol
27712         (bool resolve_alias (symtab_node *target)): created from
27713         symtab_resolve_alias
27714         (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
27715         void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
27716         (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
27717         (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
27718         (void set_section (const char *section)): created from set_section_1
27719         (enum availability get_availability (void)): created from symtab_node_availability
27720         (void make_decl_local (void)): created from symtab_make_decl_local
27721         (bool real_symbol_p (void)): created from symtab_read_node
27722         (can_be_discarded_p (void)): created from symtab_can_be_discarded
27723         (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
27724         (inline bool in_same_comdat_group_p (symtab_node *target)): created from
27725         symtab_in_same_comdat_p;
27726         (bool address_taken_from_non_vtable_p (void)): created from
27727         address_taken_from_non_vtable_p
27728         (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
27729         (static void dump_table (FILE *)): created from dump_symtab
27730         (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
27731         (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
27732         (static bool used_from_object_file_p_worker (symtab_node *node)): created from
27733         symtab_used_from_object_file_p
27734         (void dump_base (FILE *)): created from dump_symtab_base
27735         (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
27736         (void unregister (void)): created from symtab_unregister_node
27737         (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
27738         (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
27739         (static bool noninterposable_alias (symtab_node *node, void *data)): created from
27740         symtab_nonoverwritable_alias_1
27741         * cgraph.h (cgraph_node):
27742         (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
27743         created from cgraph_remove_node_and_inline_clones
27744         (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
27745         (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
27746         bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
27747         (cgraph_node *function_symbol (enum availability *avail = NULL)):
27748         created from cgraph_function_node
27749         (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
27750         vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
27751         struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
27752         created from cgraph_create_clone
27753         (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
27754         vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
27755         created from cgraph_create_virtual_clone
27756         (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
27757         (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
27758         bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
27759         (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
27760         vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
27761         bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
27762         created from cgraph_function_version_info
27763         (struct cgraph_function_version_info *insert_new_function_version (void)):
27764         created from insert_new_cgraph_node_version
27765         (struct cgraph_function_version_info *function_version (void)): created from
27766         get_cgraph_node_version
27767         (void analyze (void)): created from analyze_function
27768         (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
27769         HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
27770         tree real_alias) cgraph_add_thunk
27771         (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
27772         (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
27773         created from cgraph_function_or_thunk_node
27774         (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
27775         created from expand_thunk
27776         (void reset (void)): created from cgraph_reset_node
27777         (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
27778         (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
27779         (void remove (void)): created from cgraph_remove_node
27780         (void dump (FILE *f)): created from dump_cgraph_node
27781         (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
27782         (bool get_body (void)): created from cgraph_get_body
27783         (void release_body (void)): created from cgraph_release_function_body
27784         (void unnest (void)): created from cgraph_unnest_node
27785         (void make_local (void)): created from cgraph_make_node_local
27786         (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
27787         (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
27788         gcov_type count, int freq)): created from cgraph_create_edge
27789         (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
27790         gcov_type count, int freq)): created from cgraph_create_indirect_edge
27791         (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
27792         gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
27793         created from cgraph_create_edge_including_clones
27794         (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
27795         (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
27796         (void remove_callers (void)): created from cgraph_node_remove_callers
27797         (void remove_callees (void)): created from cgraph_node_remove_callees
27798         (enum availability get_availability (void)): created from cgraph_function_body_availability
27799         (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
27800         (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
27801         (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
27802         (void call_duplication_hooks (cgraph_node *node2)): created from
27803         cgraph_call_node_duplication_hooks
27804         (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
27805         void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
27806         (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
27807         void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
27808         (void call_function_insertion_hooks (void)):
27809         created from cgraph_call_function_insertion_hooks
27810         (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
27811         (bool local_p (void)): created from cgraph_local_node
27812         (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
27813         (bool cannot_return_p (void)): created from cgraph_node_cannot_return
27814         (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
27815         (inline bool only_called_directly_or_aliased_p (void)):
27816         created from cgraph_only_called_directly_or_aliased_p
27817         (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
27818         created from cgraph_will_be_removed_from_program_if_no_direct_calls
27819         (bool can_remove_if_no_direct_calls_and_refs_p (void)):
27820         created from cgraph_can_remove_if_no_direct_calls_and_refs_p
27821         (bool can_remove_if_no_direct_calls_p (void)):
27822         created from cgraph_can_remove_if_no_direct_calls_p
27823         (inline bool has_gimple_body_p (void)):
27824         created from cgraph_function_with_gimple_body_p
27825         (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
27826         (static void dump_cgraph (FILE *f)): created from dump_cgraph
27827         (static inline void debug_cgraph (void)): created from debug_cgraph
27828         (static void record_function_versions (tree decl1, tree decl2)):
27829         created from record_function_versions
27830         (static void delete_function_version (tree decl)):
27831         created from delete_function_version
27832         (static void add_new_function (tree fndecl, bool lowered)):
27833         created from cgraph_add_new_function
27834         (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
27835         (static cgraph_node * create (tree decl)): created from cgraph_create_node
27836         (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
27837         (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
27838         (static cgraph_node *get_for_asmname (tree asmname)):
27839         created from cgraph_node_for_asm
27840         (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
27841         created from cgraph_same_body_alias
27842         (static bool used_from_object_file_p_worker (cgraph_node *node,
27843         void *): new function
27844         (static bool non_local_p (cgraph_node *node, void *)):
27845         created from cgraph_non_local_node_p_1
27846         (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
27847         created from verify_cgraph
27848         (static bool make_local (cgraph_node *node, void *)):
27849         created from cgraph_make_node_local
27850         (static cgraph_node *create_alias (tree alias, tree target)):
27851         created from cgraph_create_function_alias
27852         (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
27853         gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
27854         created from cgraph_create_edge_1
27855         * cgraph.h (varpool_node):
27856         (void remove (void)): created from varpool_remove_node
27857         (void dump (FILE *f)): created from dump_varpool_node
27859 2014-07-24  Richard Biener  <rguenther@suse.de>
27861         PR ipa/61823
27862         * tree-ssa-structalias.c (create_variable_info_for_1):
27863         Use varpool_get_constructor.
27864         (create_variable_info_for): Likewise.
27866 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
27868         * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
27869         subtract outgoing area size when restoring stack_pointer_rtx.
27871 2014-07-24  Nick Clifton  <nickc@redhat.com>
27873         * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
27874         that operations are taking place in parallel.
27875         * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
27877 2014-07-24  Thomas Schwinge  <thomas@codesourcery.com>
27879         * omp-low.c (extract_omp_for_data): Add missing break statement.
27881 2014-07-24  Richard Biener  <rguenther@suse.de>
27883         * tree-inline.h (estimate_move_cost): Add speed_p parameter.
27884         * tree-inline.c (estimate_move_cost): Add speed_p parameter
27885         and adjust MOVE_RATIO query accordingly.
27886         (estimate_num_insns): Adjust callers.
27887         * ipa-prop.c (ipa_populate_param_decls): Likewise.
27888         * ipa-cp.c (gather_context_independent_values,
27889         estimate_local_effects): Likewise.
27890         * ipa-split.c (consider_split): Likewise.
27892 2014-07-24  Trevor Saunders  <tsaunders@mozilla.com>
27894         * config/i386/driver-i386.c: Remove names of unused arguments and
27895         unnecessary unused attributes.
27896         * config/i386/host-mingw32.c: Likewise.
27897         * config/i386/i386.c: Likewise.
27898         * config/i386/winnt-stubs.c: Likewise.
27899         * config/i386/winnt.c: Likewise.
27901 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27903         * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
27904         (aarch64_gen_loadwb_pair): New helper function.
27905         (aarch64_expand_epilogue): Simplify code using new helper functions.
27906         * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
27908 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27910         * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
27911         (aarch64_gen_storewb_pair): New helper function.
27912         (aarch64_expand_prologue): Simplify code using new helper functions.
27913         * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
27915 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27917         * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
27918         Rename to aarch64_save_callee_saves, remove restore code.
27919         (aarch64_restore_callee_saves): New function.
27921 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27923         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
27924         (aarch64_save_callee_saves): New function to handle reg save
27925         for both core and vectore regs.
27927 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27929         * config/aarch64/aarch64.c (aarch64_gen_load_pair)
27930         (aarch64_gen_store_pair): New helper function.
27931         (aarch64_save_or_restore_callee_save_registers)
27932         (aarch64_save_or_restore_fprs): Use new helper functions.
27934 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27936         * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
27937         (aarch64_save_or_restore_callee_save_registers)
27938         (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
27940 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27942         * config/aarch64/aarch64.c
27943         (aarch64_save_or_restore_callee_save_registers)
27944         (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
27946 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27948         * config/aarch64/aarch64.c
27949         (aarch64_save_or_restore_callee_save_registers)
27950         (aarch64_save_or_restore_fprs): Remove 'increment'.
27952 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27954         * config/aarch64/aarch64.c
27955         (aarch64_save_or_restore_callee_save_registers)
27956         (aarch64_save_or_restore_fprs): Use register offset in
27957         cfun->machine->frame.reg_offset.
27959 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27961         * config/aarch64/aarch64.c
27962         (aarch64_save_or_restore_callee_save_registers)
27963         (aarch64_save_or_restore_fprs): Remove base_rtx.
27965 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27967         * config/aarch64/aarch64.c
27968         (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
27969         to 'start_offset'.  Remove local variable 'start_offset'.
27971 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27973         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
27974         type to HOST_WIDE_INT.
27976 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
27978         * config/aarch64/aarch64.c (aarch64_expand_prologue)
27979         (aarch64_save_or_restore_fprs)
27980         (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
27982 2014-07-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
27984         * config/arm/t-rtems-eabi: Add
27985         mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
27986         mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
27987         mbig-endian/mthumb/march=armv7-r, and
27988         mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
27989         multilibs.
27991 2014-07-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
27992             Chris Johns <chrisj@rtems.org>
27993             Joel Sherrill <joel.sherrill@oarcorp.com>
27995         * config.gcc: Add nios2-*-rtems*.
27996         * config/nios2/rtems.h: New file.
27997         * gcc/config/nios2/t-rtems: New file.
27999 2014-07-23  Segher Boessenkool  <segher@kernel.crashing.org>
28001         PR target/61396
28002         * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
28003         constant numbers, not general constants.
28004         (rs6000_expand_vector_init): Ditto.
28006 2014-07-23  Nathan Sidwell  <nathan@acm.org>
28008         * gcov-tool.c (gcov_list): Declare here.
28009         (set_gcov_list): Remove.
28010         (gcov_output_files): Set gcov_list directly.
28012 2014-07-23  Host Schirmeier  <horst@schirmeier.com>
28014         * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
28016 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
28018         * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
28019         callee-saved registers are available for padding purpose
28020         and r3 is not mandatory, then prefer use those callee-saved
28021         instead of r3.
28023 2014-07-23  Richard Biener  <rguenther@suse.de>
28025         * params.def (PARAM_MAX_COMBINE_INSNS): New.
28026         * combine.c: Include statistics.h and params.h.
28027         (combine_instructions): Guard three and four insn combines
28028         with max-combine-insns value.  Record statistics for combines
28029         performed.
28030         * doc/invoke.texi (max-combine-insns): Document new param.
28032 2014-07-23  Roman Gareev  <gareevroman@gmail.com>
28034         * graphite-isl-ast-to-gimple.c:
28035         (translate_isl_ast_node_block): New function.
28036         (translate_isl_ast): Add calling of translate_isl_ast_node_block.
28038         * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
28039         * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
28041 2014-07-23  Roman Gareev  <gareevroman@gmail.com>
28043         * graphite-isl-ast-to-gimple.c:
28044         (get_max_schedule_dimensions): New function.
28045         (extend_schedule): Likewise.
28046         (generate_isl_schedule): Add calling of extend_schedule and
28047         get_max_schedule_dimensions.
28049 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28051         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
28052         (case UNSPEC): Handle UNSPEC_RBIT.
28054 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28056         * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
28057         (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
28059 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28061         * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
28063 2014-07-22  Roman Gareev  <gareevroman@gmail.com>
28065         * graphite-isl-ast-to-gimple.c:
28066         Add inclusion of gimple-ssa.h, tree-into-ssa.h.
28067         (ivs_params_clear):
28068         (build_iv_mapping): New function.
28069         (translate_isl_ast_node_user): Likewise.
28070         (translate_isl_ast): Add calling of translate_isl_ast_node_user.
28072         * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
28073         * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
28074         * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
28076 2014-07-21  Bin Cheng  <bin.cheng@arm.com>
28078         PR target/55701
28079         * config/arm/arm.md (setmem): New pattern.
28080         * config/arm/arm-protos.h (struct tune_params): New fields.
28081         (arm_gen_setmem): New prototype.
28082         * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
28083         (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
28084         (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
28085         (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
28086         (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
28087         (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
28088         (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
28089         (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
28090         (arm_const_inline_cost): New function.
28091         (arm_block_set_max_insns): New function.
28092         (arm_block_set_non_vect_profit_p): New function.
28093         (arm_block_set_vect_profit_p): New function.
28094         (arm_block_set_unaligned_vect): New function.
28095         (arm_block_set_aligned_vect): New function.
28096         (arm_block_set_unaligned_non_vect): New function.
28097         (arm_block_set_aligned_non_vect): New function.
28098         (arm_block_set_vect, arm_gen_setmem): New functions.
28100 2014-07-21  Bin Cheng  <bin.cheng@arm.com>
28102         * config/arm/arm.c (output_move_neon): Handle REG explicitly.
28104 2014-07-21  Uros Bizjak  <ubizjak@gmail.com>
28106         PR target/61855
28107         * config/i386/avx512fintrin.h: Move constants for mantissa extraction
28108         out of #ifdef __OPTIMIZE__.
28110 2014-07-20  Eric Botcazou  <ebotcazou@adacore.com>
28112         * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
28113         different trapping status if -fnon-call-exceptions is enabled.
28115 2014-07-20  Eric Botcazou  <ebotcazou@adacore.com>
28117         * expr.c (store_field): Handle VOIDmode for calls that return values
28118         in multiple locations.
28120 2014-07-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
28122         * config/rs6000/altivec.md (unspec enum):  Fix typo in UNSPEC_VSLDOI.
28123         (altivec_vsldoi_<mode>): Likewise.
28125 2014-07-20  Roman Gareev  <gareevroman@gmail.com>
28127         * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
28128         to the number of characters in the line.
28130 2014-07-20  Roman Gareev  <gareevroman@gmail.com>
28132         * graphite-isl-ast-to-gimple.c: Add using of
28133         build_nonstandard_integer_type instead of int128_integer_type_node.
28135 2014-07-19  Eric Botcazou  <ebotcazou@adacore.com>
28137         * toplev.c (output_stack_usage): Adjust the location of the warning.
28139 2014-07-19  Daniel Cederman  <cederman@gaisler.com>
28141         * config/sparc/sync.md (*membar_storeload_leon3): New insn.
28142         (*membar_storeload): Disable for LEON3.
28144 2014-07-18  Bernd Edlinger  <bernd.edlinger@hotmail.de>
28146         PR rtl-optimization/61461
28147         * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
28149 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
28151         PR target/61794
28152         * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
28153         Fix instruction constraint.
28154         (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
28156 2014-07-18  Jonathan Wakely  <jwakely@redhat.com>
28158         * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
28160 2014-07-18  Chung-Ju Wu  <jasonwucj@gmail.com>
28162         * config/nds32/nds32.c (nds32_can_eliminate): Follow the
28163         GNU coding standards.
28164         (nds32_register_move_cost): Likewise.
28165         (nds32_memory_move_cost): Likewise.
28166         (nds32_address_cost): Likewise.
28168 2014-07-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
28170         * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
28172 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
28174         * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
28175         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
28176         and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
28177         (HAVE_sync_compare_and_swapqi): Define.
28178         (HAVE_sync_compare_and_swaphi): Likewise.
28179         (HAVE_sync_compare_and_swapsi): Likewise.
28181 2014-07-17  Richard Sandiford  <rdsandiford@googlemail.com>
28183         * config/mips/p5600.md: Add missing cpu tests.
28185 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28187         * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
28188         (vmla_f64): Likewise.
28189         (vfms_f64): Likewise.
28190         (vmls_f64): Likewise.
28192 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28194         * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
28195         (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
28197 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28199         * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
28200         (vmlal_high_lane_s32): Likewise.
28201         (vmlal_high_lane_u16): Likewise.
28202         (vmlal_high_lane_u32): Likewise.
28203         (vmlsl_high_lane_s16): Likewise.
28204         (vmlsl_high_lane_s32): Likewise.
28205         (vmlsl_high_lane_u16): Likewise.
28206         (vmlsl_high_lane_u32): Likewise.
28208 2014-07-17  Terry Guo  <terry.guo@arm.com>
28210         * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
28211         (alus_reg): Renamed to alus_sreg.
28212         * config/arm/arm-fixed.md: Change type of non-dsp instructions
28213         from alu_reg to alu_sreg.  Change type of dsp instructions from
28214         alu_reg to alu_dsp_reg.
28215         * config/arm/thumb1.md: Likewise.
28216         * config/arm/thumb2.md: Likewise.
28217         * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
28218         * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
28219         with alu_sreg and alus_sreg.
28220         * config/arm/arm1026ejs.md (alu_op): Likewise.
28221         * config/arm/arm1136jfs.md (11_alu_op): Likewise.
28222         * config/arm/arm926ejs.md (9_alu_op): Likewise.
28223         * config/arm/fa526.md (526_alu_op): Likewise.
28224         * config/arm/fa606te.md (606te_alu_op): Likewise.
28225         * config/arm/fa626te.md (626te_alu_op): Likewise.
28226         * config/arm/fa726te.md (726te_alu_op): Likewise.
28227         * config/arm/fmp626.md (mp626_alu_op): Likewise.
28228         * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
28229         alu_sreg, alu_dsp_reg and alus_sreg.
28230         * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
28231         * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
28232         * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
28233         * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
28234         * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
28235         * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
28236         * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
28237         * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
28238         * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
28239         * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
28240         subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
28241         *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
28242         (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
28243         sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
28244         subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
28245         alus_reg to alus_sreg.
28247 2014-07-17  Andreas Schwab  <schwab@linux-m68k.org>
28249         * real.c (encode_ieee_extended_motorola): Clear integer bit in the
28250         infinity format.
28252 2014-07-17  Richard Biener  <rguenther@suse.de>
28254         PR rtl-optimization/61801
28255         * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
28256         don't set reg_pending_barrier if it appears in a debug-insn.
28258 2014-07-16  DJ Delorie  <dj@redhat.com>
28260         * config/rx/rx.c (rx_option_override): Fix alignment values.
28261         (rx_align_for_label): Likewise.
28263 2014-07-17  Hans-Peter Nilsson  <hp@axis.com>
28265         PR target/61737.
28266         * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
28267         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
28268         (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
28269         functions.
28270         (cris_print_index, cris_print_operand, cris_constant_index_p)
28271         (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
28272         (cris_address_cost): Ditto last CONSTANT_P.
28273         (cris_symbol_type_of): Rename from cris_pic_symbol_type_of.  All
28274         callers changed.  Yield cris_offsettable_symbol for non-PIC
28275         constant symbolic expressions including labels.  Yield cris_unspec
28276         for all unspecs.
28277         (cris_expand_pic_call_address): New parameter MARKERP.  Set its
28278         target to pic_offset_table_rtx for calls that will likely go
28279         through PLT, const0_rtx when they can't.  All callers changed.
28280         Assert flag_pic.  Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
28281         symbolic expressions to be PICified.  Remove second, redundant,
28282         assert on can_create_pseudo_p returning non-zero.  Use
28283         replace_equiv_address_nv, not replace_equiv_address, for final
28284         operand update.
28285         * config/cris/cris.md ("movsi"): Move variable t to pattern
28286         toplevel. Adjust assert for new cris_symbol_type member.  Use
28287         CONSTANT_P instead of CONSTANT_ADDRESS_P.
28288         ("*movsi_internal") <case 9>: Make check for valid unspec operands
28289         for lapc stricter.
28290         <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
28291         ("call", "call_value"): Use second incoming operand as a marker
28292         for pic-offset-table-register being used.
28293         ("*expanded_call_non_v32", "*expanded_call_v32")
28294         ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
28295         second incoming operand to CALL, match cris_call_type_marker.
28296         ("*expanded_call_value_side"): Ditto.  Disable before reload_completed.
28297         ("*expanded_call_side"): Ditto.  Fix typo in comment.
28298         (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
28299         CONSTANT_P.
28300         * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
28301         * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
28302         (enum cris_symbol_type): Rename from cris_pic_symbol_type.  All
28303         users changed.  Add members cris_offsettable_symbol and cris_unspec.
28304         (cris_symbol_type): Rename from cris_pic_symbol_type.
28305         * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
28306         just CONSTANT_P.
28307         * config/cris/cris-protos.h (cris_symbol_type_of,
28308         cris_expand_pic_call_address): Adjust prototypes.
28309         (cris_legitimate_constant_p): New prototype.
28311         * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
28312         an existing tmake_file.  Don't add t-slibgcc and t-linux.
28314 2014-07-17  Jason Merrill  <jason@redhat.com>
28316         PR c++/61623
28317         * symtab.c (symtab_remove_from_same_comdat_group): Also
28318         set_comdat_group to NULL_TREE.
28319         (verify_symtab): Fix diagnostic.
28321 2014-07-16  David Wohlferd  <dw@LimeGreenSocks.com>
28323         PR target/61662
28324         * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
28326 2014-07-16  Dodji Seketeli  <dodji@redhat.com>
28328         Support location tracking for built-in macro tokens
28329         * input.h (is_location_from_builtin_token): New function declaration.
28330         * input.c (is_location_from_builtin_token): New function definition.
28331         * toplev.c (general_init): Tell libcpp what the pre-defined
28332         spelling location for built-in tokens is.
28334 2014-07-16  Jakub Jelinek  <jakub@redhat.com>
28336         * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
28337         on the FUNCTION_DECL.
28339 2014-07-16  Richard Biener  <rguenther@suse.de>
28341         PR other/61782
28342         * doc/extend.texi (always_inline): Clarify.
28344 2014-07-15  Eric Christopher  <echristo@gmail.com>
28346         * doc/invoke.texi (Link Options): Document -z option.
28348 2014-07-15  Uros Bizjak  <ubizjak@gmail.com>
28350         * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
28351         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
28353 2014-07-15  Jan Hubicka  <hubicka@ucw.cz>
28355         * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
28357 2014-07-15  Bernd Schmidt  <bernds@codesourcery.com>
28359         * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
28360         varpool_assemble_decl.
28361         * varpool.c (varpool_assemble_decl): Assert that node->definition is
28362         true.
28364 2014-07-15  Michael Matz  <matz@suse.de>
28366         PR rtl-optimization/61772
28367         * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
28369 2014-07-15  Richard Biener  <rguenther@suse.de>
28371         * opts.c (default_options_table): Disable bit-ccp at -Og.
28373 2014-07-14  Jan Hubicka  <hubicka@ucw.cz>
28375         * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
28377 2014-07-14  Jan Hubicka  <hubicka@ucw.cz>
28379         * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
28380         NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
28381         call langhook for unknown declaration.
28382         (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
28383         * tree.h (DECL_ARGUMENTS): Update.
28384         * print-tree.c (print_node): Update.
28385         * tree-core.h (tree_decl_non_common): Remove arguments.
28386         (tree_function_decl): Add arguments.
28388 2014-07-14  Richard Earnshaw  <rearnsha@arm.com>
28390         * aarch64.md (add_losym_<mode>): Set type to alu_imm.
28392 2014-07-14  Richard Biener  <rguenther@suse.de>
28394         PR tree-optimization/61779
28395         * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
28396         simplifying a condition.
28398 2014-07-14  Richard Biener  <rguenther@suse.de>
28400         * builtins.c (c_strlen): Make only_value == 2 really only
28401         affect warning generation.
28403 2014-07-14  Richard Biener  <rguenther@suse.de>
28405         PR tree-optimization/61757
28406         PR tree-optimization/61783
28407         PR tree-optimization/61787
28408         * tree-ssa-dom.c (record_equality): Revert canonicalization
28409         change and add comment.
28410         (propagate_rhs_into_lhs): Revert previous fix, removing
28411         loop depth restriction again.
28413 2014-07-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28415         * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
28416         * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
28417         * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
28418         * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
28419         * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
28420         * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
28421         * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
28423 2014-07-14  Richard Biener  <rguenther@suse.de>
28425         * cgraph.h (decl_in_symtab_p): Make inline.
28427 2014-07-14  Jakub Jelinek  <jakub@redhat.com>
28429         PR middle-end/61294
28430         * doc/invoke.texi (-Wmemset-transposed-args): Document.
28432         PR target/61656
28433         * config/i386/i386.c (classify_argument): Don't merge classes above
28434         number of words.
28436 2014-07-13  Jan Hubicka  <hubicka@ucw.cz>
28438         * cgraph.h (symtab_node): Add nonzero_address.
28439         (decl_in_symtab_p): Break out from ...
28440         (symtab_get_node): ... here.
28441         * fold-const.c: Include cgraph.h
28442         (tree_single_nonzero_warnv_p): Use symtab to determine
28443         if symbol is non-zero.
28444         * symtab.c (symtab_node::nonzero_address): New method.
28446 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
28448         * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
28449         forgotten in previous commit.
28451 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
28453         * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
28454         on builtin types.
28455         * ipa-devirt.c: Include stor-layout.h and intl.h
28456         (odr_subtypes_equivalent_p): New function.
28457         (warn_odr): New function.
28458         (warn_type_mismatch): New function.
28459         (odr_types_equivalent_p): New function.
28460         (add_type_duplicate): Use it.
28461         * common.opt (Wodr): New flag.
28462         * doc/invoke.texi (Wodr): Document new warning.
28464 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
28466         * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
28467         (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
28468         * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
28469         (varpool_get_constructor): Push CTORS_IN timevar.
28470         * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
28472 2014-07-12  Uros Bizjak  <ubizjak@gmail.com>
28474         * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
28475         Remove VOID_FTYPE_PUSHORT.
28476         * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
28477         Change code to USHORT_FTYPE_VOID.
28478         (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
28479         (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
28480         (ix86_atomic_assign_expand_fenv): Update for
28481         __builtin_ia32_fnstsw changes.
28482         * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
28483         (fnstsw): Change operand 0 to nonimmediate operand.
28485 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
28487         * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
28488         (varpool_get_constructor): New function.
28489         (varpool_ctor_useable_for_folding_p): Break out from ...
28490         (ctor_for_folding): ... here; use varpool_get_constructor.
28491         (varpool_assemble_decl): Likewise.
28492         * lto-streamer.h (struct output_block): Turn cgraph_node
28493         to symbol filed.
28494         (lto_input_variable_constructor): Declare.
28495         * ipa-visibility.c (function_and_variable_visibility): Use
28496         varpool_get_constructor.
28497         * cgraph.h (varpool_get_constructor): Declare.
28498         (varpool_ctor_useable_for_folding_p): New function.
28499         * lto-streamer-out.c (get_symbol_initial_value): Take encoder
28500         parameter; return error_mark_node for non-trivial constructors.
28501         (lto_write_tree_1, DFS_write_tree): Update use of
28502         get_symbol_initial_value.
28503         (output_function): Update initialization of symbol.
28504         (output_constructor): New function.
28505         (copy_function): Rename to ..
28506         (copy_function_or_variable): ... this one; handle vars too.
28507         (lto_output): Output variable sections.
28508         * lto-streamer-in.c (input_constructor): New function.
28509         (lto_read_body): Rename from ...
28510         (lto_read_body_or_constructor): ... this one; handle vars too.
28511         (lto_input_variable_constructor): New function.
28512         * ipa-prop.c (ipa_prop_write_jump_functions,
28513         ipa_prop_write_all_agg_replacement): Update.
28514         * lto-cgraph.c (compute_ltrans_boundary): Use it.
28515         (output_cgraph_opt_summary): Set symbol to NULL.
28517 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
28519         * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
28520         non-polymorphic types.
28521         * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
28522         * ipa-devirt.c (types_same_for_odr): Do not explode when one
28523         of types is not polymorphic.
28525 2014-07-11  Vladimir Makarov  <vmakarov@redhat.com>
28527         * lra-constraints.c (remove_inheritance_pseudos): Process
28528         destination pseudo too.
28530 2014-07-11  Rong Xu  <xur@google.com>
28532         * gcov-tool.c (gcov_output_files): Fix build error introduced in
28533         commit r212448.
28535 2014-07-11  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
28537         * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
28538         * config/avr/avr-devices.c (AVR_MCU): Same.
28539         (avr_mcu_types): add text start value to end of device list.
28540         * config/avr/avr-mcus.def: Add text section start for all devices.
28541         (ata5782): Add new avr5 device.
28542         (ata5831): Same.
28543         * config/avr/avr-tables.opt: Regenerate.
28544         * config/avr/avr.h: Add declaration for text section start handler.
28545         (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
28546         SPEC functions.
28547         (LINK_SPEC): Include text section start handler to linker spec.
28548         * config/avr/driver-avr.c (avr_device_to_text_start): New function to
28549         pass -Ttext option to linker if the text section start for the device
28550         is not zero.
28551         * config/avr/t-multilib: Regenerate.
28552         * doc/avr-mmcu.texi: Regenerate.
28554 2014-07-11  David Edelsohn  <dje.gcc@gmail.com>
28556         * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
28557         * config/rs6000/aix52.h (LINK_SPEC): Same.
28558         * config/rs6000/aix53.h (LINK_SPEC): Same.
28559         * config/rs6000/aix61.h (LINK_SPEC): Same.
28560         * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
28562 2014-07-11  Roman Gareev  <gareevroman@gmail.com>
28564         * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
28565         (graphite_verify): New function.
28566         (ivs_params_clear): New function.
28567         (gcc_expression_from_isl_ast_expr_id): New function.
28568         (gcc_expression_from_isl_expr_int): New function.
28569         (binary_op_to_tree): New function.
28570         (ternary_op_to_tree): New function.
28571         (unary_op_to_tree): New function.
28572         (nary_op_to_tree): New function.
28573         (gcc_expression_from_isl_expr_op): New function.
28574         (gcc_expression_from_isl_expression): New function.
28575         (graphite_create_new_loop): New function.
28576         (translate_isl_ast_for_loop): New function.
28577         (get_upper_bound): New function.
28578         (graphite_create_new_loop_guard): New function.
28579         (translate_isl_ast_node_for): New function.
28580         (translate_isl_ast): New function.
28581         (add_parameters_to_ivs_params): New function.
28582         (scop_to_isl_ast): New parameter ip.
28583         (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
28585 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
28587         * config/xtensa/predicates.md (call expander): Update for
28588         DECL_SECTION_NAME being string.
28590 2014-07-11  Richard Biener  <rguenther@suse.de>
28592         PR middle-end/61473
28593         * builtins.c (fold_builtin_memory_op): Inline memory moves that
28594         can be implemented with a single load followed by a single store.
28595         (c_strlen): Only warn when only_value is not 2.
28597 2014-07-11  Evgeny Stupachenko  <evstupac@gmail.com>
28599         * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
28601 2014-07-11  Marat Zakirov  <m.zakirov@samsung.com>
28603         PR target/61561
28604         * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
28605         (*movhi_bytes): Likewise.
28606         (*arm_movqi_insn): Likewise.
28608 2014-07-11  Uros Bizjak  <ubizjak@gmail.com>
28610         PR target/56858
28611         * config/alpha/alpha.c: Include tree-pass.h, context.h
28612         and pass_manager.h.
28613         (pass_data_handle_trap_shadows): New pass.
28614         (pass_handle_trap_shadows::gate): New pass gate function.
28615         (make_pass_handle_trap_shadows): New function.
28616         (rest_of_handle_trap_shadows): Ditto.
28618         (alpha_align_insns_1): Rename from alpha_align_insns.
28619         (pass_data_align_insns): New pass.
28620         (pass_align_insns::gate): New pass gate function.
28621         (make_pass_aling_insns): New function.
28622         (rest_of_align_insns): Ditto.
28623         (alpha_align_insns): Ditto.
28625         (alpha_option_override): Declare handle_trap_shadows info
28626         and align_insns_info.  Register handle_trap_shadows and align_insns
28627         passes here.
28628         (alpha_reorg): Do not call alpha_trap_shadows and
28629         alpha_align_insn from here.
28631         (alpha_pad_function_end): Do not skip BARRIERs.
28633 2014-07-10  Rong Xu  <xur@google.com>
28635         Add gcov-tool: an offline gcda profile processing tool support.
28636         * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
28637         (gcov_is_error): Ditto.
28638         (gcov_read_string): Ditto.
28639         (gcov_read_sync): Ditto.
28640         * gcov-io.h: Move counter defines to gcov-counter.def.
28641         * gcov-dump.c (tag_counters): Use gcov-counter.def.
28642         * coverage.c: Ditto.
28643         * gcov-tool.c: Offline gcda profile processing tool.
28644         (unlink_gcda_file): Remove one gcda file.
28645         (unlink_profile_dir): Remove gcda files from the profile path.
28646         (gcov_output_files): Output gcda files to an output dir.
28647         (profile_merge): Merge two profiles in directory.
28648         (print_merge_usage_message): Print merge usage.
28649         (merge_usage): Print merge usage and exit.
28650         (do_merge): Driver for profile merge sub-command.
28651         (profile_rewrite): Rewrite profile.
28652         (print_rewrite_usage_message): Print rewrite usage.
28653         (rewrite_usage): Print rewrite usage and exit.
28654         (do_rewrite): Driver for profile rewrite sub-command.
28655         (print_usage): Print gcov-info usage and exit.
28656         (print_version): Print gcov-info version.
28657         (process_args): Process arguments.
28658         (main): Main routine for gcov-tool.
28659         * Makefile.in: Build and install gcov-tool.
28660         * gcov-counter.def: New file split from gcov-io.h.
28661         * doc/gcc.texi: Include gcov-tool.texi.
28662         * doc/gcov-tool.texi: Document for gcov-tool.
28664 2014-07-10  Richard Biener  <rguenther@suse.de>
28666         PR tree-optimization/61757
28667         * tree-ssa-dom.c (loop_depth_of_name): Restore.
28668         (propagate_rhs_into_lhs): Revert part of last change.
28670 2014-07-10  Thomas Schwinge  <thomas@codesourcery.com>
28672         * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
28673         FUNCTION_DECLs.
28675 2014-07-10  Eric Botcazou  <ebotcazou@adacore.com>
28677         PR middle-end/53590
28678         * function.c (allocate_struct_function): Revert r188667 change.
28680         * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
28682 2014-07-10  Tom G. Christensen  <tgc@jupiterrise.com>
28684         * doc/install.texi: Remove links to defunct package providers for
28685         Solaris.
28687 2014-07-09  Tom de Vries  <tom@codesourcery.com>
28689         * final.c (get_call_fndecl): Declare.
28690         (self_recursive_call_p): New function.
28691         (collect_fn_hard_reg_usage): Handle self-recursive function calls.
28693 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28695         * ipa-devirt.c (record_node): Walk through aliases.
28697 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28699         * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
28701 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28703         Revert:
28704         * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
28706 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28708         * ipa-visibility.c (function_and_variable_visibility): Remove
28709         temporary hack disabling local aliases on AIX.
28711 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28713         * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
28714         * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
28716 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28718         * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
28719         * rs6000/rs6000.c: Inline output of .set instruction.
28720         (declare_alias_data): New struct.
28721         (rs6000_declare_alias): New function.
28722         (rs6000_xcoff_declare_function_name): Use it.
28723         (rs6000_xcoff_declare_object_name): New function.
28724         * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
28725         (ASM_OUTPUT_DEF): Turn to empty definition.
28727 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
28729         PR bootstrap/61679
28730         * hash-table.h: use hash_table::value_type instead of
28731         Descriptor::value_type in the return types of several methods.
28733 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
28735         * tree-pass.h (pass_data): Remove has_execute member.
28736         * passes.c (execute_one_pass): Don't check pass->has_execute.
28737         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
28738         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
28739         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
28740         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
28741         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
28742         config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
28743         config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
28744         dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
28745         gimple-low.c, gimple-ssa-isolate-paths.c,
28746         gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
28747         ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
28748         ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
28749         ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
28750         lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
28751         postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
28752         reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
28753         stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
28754         tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
28755         tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
28756         tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
28757         tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
28758         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
28759         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
28760         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
28761         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
28762         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
28763         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
28764         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
28765         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
28766         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
28767         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
28768         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
28769         web.c: Remove initializer for pass_data::has_execute.
28771 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
28773         * graphite-htab.h: Use hash_map instead of hash_table.
28774         * graphite-clast-to-gimple.c: Adjust.
28775         * passes.c: Use hash_map instead of hash_table.
28776         * sese.c: Likewise.
28777         * sese.h: Remove now unused code.
28779 2014-07-08  Sriraman Tallam  <tmsriram@google.com>
28781         PR target/61599
28782         * config/i386/i386.c (ix86_in_large_data_p): Check for size less
28783         than zero.
28785 2014-07-08  Jakub Jelinek  <jakub@redhat.com>
28787         PR rtl-optimization/61673
28788         * combine.c (simplify_comparison): Test just mode's sign bit
28789         in tmode rather than the sign bit and any bits above it.
28791 2014-07-08  Roman Gareev  <gareevroman@gmail.com>
28793         * graphite-isl-ast-to-gimple.c (generate_isl_context):
28794         Add __isl_give to the declaration.
28795         (generate_isl_schedule): Likewise.
28796         (scop_to_isl_ast): Likewise.
28798 2014-07-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28800         * config/arm/arm.c (cortexa5_extra_costs): New table.
28801         (arm_cortex_a5_tune): Use cortexa5_extra_costs.
28803 2014-07-08  Jakub Jelinek  <jakub@redhat.com>
28805         PR tree-optimization/61725
28806         * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
28807         range, use range_includes_zerop_p instead of integer_zerop on
28808         vr0->min, only use log2 of max if min is not negative.
28810 2014-07-08  Richard Biener  <rguenther@suse.de>
28812         * tree-ssa-dom.h (loop_depth_of_name): Remove.
28813         * tree-ssa-dom.c (record_equivalences_from_phis): Remove
28814         restriction on loop depth difference.
28815         (record_equality): Likewise.
28816         (propagate_rhs_into_lhs): Likewise.  Simplify condition.
28817         (loop_depth_of_name): Remove.
28818         * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
28819         restriction on loop depth difference.
28820         (init_copy_prop): Likewise.
28822 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
28824         * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
28825         parameter.
28826         (walk_aliased_vdefs): Likewise.
28827         * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
28828         * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
28829         (detect_type_change_from_memory_writes): Check if entry was reached.
28831 2014-07-08  Richard Biener  <rguenther@suse.de>
28833         PR tree-optimization/61681
28834         * tree-ssa-structalias.c (find_what_var_points_to): Expand
28835         NONLOCAL inside ESCAPED.
28837 2014-07-08  Richard Biener  <rguenther@suse.de>
28839         PR tree-optimization/61680
28840         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
28841         Handle properly all read-write dependences with group accesses.
28843 2014-07-08  Yuri Rumyantsev  <ysrumyan@gmail.com>
28845         PR tree-optimization/61576
28846         * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
28847         block containing reduction statement is predecessor of phi basi block.
28849 2014-07-08  Marek Polacek  <polacek@redhat.com>
28851         PR c/60226
28852         * fold-const.c (round_up_loc): Change the parameter type.
28853         Remove assert.
28854         * fold-const.h (round_up_loc): Adjust declaration.
28855         * stor-layout.c (finalize_record_size): Check for too large types.
28857 2014-07-07  Jan Hubicka  <hubicka@ucw.cz>
28859         * symtab.c: Include calls.h.
28860         (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
28862 2014-07-07  Maciej W. Rozycki  <macro@codesourcery.com>
28864         * config/rs6000/rs6000.c (output_vec_const_move): Handle
28865         little-endian code generation.
28866         * config/rs6000/spe.md (spe_evmergehi): Rename to...
28867         (vec_perm00_v2si): ... this.  Handle little-endian code generation.
28868         (spe_evmergehilo): Rename to...
28869         (vec_perm01_v2si): ... this.  Handle little-endian code generation.
28870         (spe_evmergelo): Rename to...
28871         (vec_perm11_v2si): ... this.  Handle little-endian code generation.
28872         (spe_evmergelohi): Rename to...
28873         (vec_perm10_v2si): ... this.  Handle little-endian code generation.
28874         (spe_evmergehi, spe_evmergehilo): New expanders.
28875         (spe_evmergelo, spe_evmergelohi): Likewise.
28876         (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
28877         (*frob_tf_ti): Likewise.
28878         (*frob_<mode>_di_2): Likewise.
28879         (*frob_tf_di_8_2): Likewise.
28880         (*frob_di_<mode>): Likewise.
28881         (*frob_ti_tf): Likewise.
28882         (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
28883         (*frob_ti_<mode>_8_2): Likewise.
28884         (*frob_ti_tf_2): Likewise.
28885         (mov_si<mode>_e500_subreg0): Rename to...
28886         (mov_si<mode>_e500_subreg0_be): ... this.  Restrict to the big
28887         endianness only.
28888         (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
28889         (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
28890         (*mov_si<mode>_e500_subreg0_elf_low_be): ... this.  Restrict to
28891         the big endianness only.
28892         (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
28893         (*mov_si<mode>_e500_subreg0_2): Rename to...
28894         (*mov_si<mode>_e500_subreg0_2_be): ... this.  Restrict to the
28895         big big endianness only.
28896         (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
28897         (*mov_si<mode>_e500_subreg4): Rename to...
28898         (*mov_si<mode>_e500_subreg4_be): ... this.  Restrict to the big
28899         endianness only.
28900         (mov_si<mode>_e500_subreg4_le): New instruction pattern.
28901         (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
28902         (*mov_si<mode>_e500_subreg4_elf_low_be): ... this.  Restrict to
28903         the big endianness only.
28904         (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
28905         pattern.
28906         (*mov_si<mode>_e500_subreg4_2): Rename to...
28907         (*mov_si<mode>_e500_subreg4_2_be): ... this.  Restrict to the big
28908         endianness only.
28909         (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
28910         (*mov_sitf_e500_subreg8): Rename to...
28911         (*mov_sitf_e500_subreg8_be): ... this.  Restrict to the big
28912         endianness only.
28913         (*mov_sitf_e500_subreg8_le): New instruction pattern.
28914         (*mov_sitf_e500_subreg8_2): Rename to...
28915         (*mov_sitf_e500_subreg8_2_be): ... this.  Restrict to the big
28916         endianness only.
28917         (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
28918         (*mov_sitf_e500_subreg12): Rename to...
28919         (*mov_sitf_e500_subreg12_be): ... this.  Restrict to the big
28920         endianness only.
28921         (*mov_sitf_e500_subreg12_le): New instruction pattern.
28922         (*mov_sitf_e500_subreg12_2): Rename to...
28923         (*mov_sitf_e500_subreg12_2_be): ... this.  Restrict to the big
28924         endianness only.
28925         (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
28927 2014-07-07  Max Ostapenko  <m.ostapenko@partner.samsung.com>
28929         * asan.c (instrument_strlen_call): Do not instrument first byte
28930         in strlen if already instrumented.
28932 2014-07-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
28934         * config/arm/arm.opt (mwords-little-endian): Delete.
28935         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
28936         of TARGET_LITTLE_WORDS.
28937         (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
28938         * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
28939         warning.
28940         * doc/invoke.texi: Remove references to -mwords-little-endian.
28942 2014-07-07  Jakub Jelinek  <jakub@redhat.com>
28944         * expmed.c (struct init_expmed_rtl): Change all fields but
28945         pow2 and cint from struct rtx_def to rtx.
28946         (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
28947         (init_expmed): Likewise.  Allocate all the 18 rtxes and ggc_free them
28948         at the end again.
28950 2014-07-06  Marek Polacek  <polacek@redhat.com>
28952         PR c/6940
28953         * doc/invoke.texi: Document -Wsizeof-array-argument.
28955 2014-07-05  Gerald Pfeifer  <gerald@pfeifer.com>
28957         * wide-int.h (wide_int_storage): Change declaration from struct
28958         to class.
28960 2014-07-05  Jan Hubicka  <hubicka@ucw.cz>
28962         * cgraph.c (cgraph_create_indirect_edge): Update call of
28963         get_polymorphic_call_info.
28964         * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
28965         (possible_polymorphic_call_targets): Add parameter call.
28966         (decl_maybe_in_construction_p): New predicate.
28967         (get_polymorphic_call_info): Add parameter call;
28968         use decl_maybe_in_construction_p.
28969         * gimple-fold.c (fold_gimple_assign): Update use of
28970         possible_polymorphic_call_targets.
28971         (gimple_fold_call): Likewise.
28972         * ipa-prop.c: Inlcude calls.h
28973         (ipa_binfo_from_known_type_jfunc): Check that known type is record.
28974         (param_type_may_change_p): New predicate.
28975         (detect_type_change_from_memory_writes): Break out from ...
28976         (detect_type_change): ... this one; use param_type_may_change_p.
28977         (detect_type_change_ssa): Use param_type_may_change_p.
28978         (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
28980 2014-07-05  Charles Baylis  <charles.baylis@linaro.org>
28982         PR target/49423
28983         * config/arm/arm-protos.h (arm_legitimate_address_p,
28984         arm_is_constant_pool_ref): Add prototypes.
28985         * config/arm/arm.c (arm_legitimate_address_p): Remove static.
28986         (arm_is_constant_pool_ref) New function.
28987         * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
28988         arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
28989         (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
28990         operand. Remove pool_range and neg_pool_range attributes.
28991         (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
28992         pool_range and neg_pool_range attributes.
28993         * config/arm/constraints.md (Uh): New constraint.
28994         (Uq): Don't allow constant pool references.
28996 2014-07-04  James Greenhalgh  <james.greenhalgh@arm.com>
28998         * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
28999         (move_lo_quad_internal_be_<mode>): Likewise.
29000         (move_lo_quad_<mode>): Convert to define_expand.
29001         (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
29002         (aarch64_simd_move_hi_quad_be_<mode>): New.
29003         (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
29004         (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
29005         (aarch64_combinez_be<mode>): New.
29006         (aarch64_combine<mode>): Convert to define_expand.
29007         (aarch64_combine_internal<mode>): New.
29008         (aarch64_simd_combine<mode>): Remove bogus RTL description.
29010 2014-07-04  Tom de Vries  <tom@codesourcery.com>
29012         * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
29013         combination of earlyclobber and read/write modifiers.
29015 2014-07-04  Tom de Vries  <tom@codesourcery.com>
29017         * config/aarch64/aarch64-simd.md
29018         (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
29020 2014-07-04  Richard Earnshaw  <rearnsha@arm.com>
29022         PR target/61714
29023         * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
29025 2014-07-04  Jakub Jelinek  <jakub@redhat.com>
29027         PR middle-end/61654
29028         * cgraphunit.c (expand_thunk): Call free_dominance_info.
29030         PR tree-optimization/61684
29031         * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
29032         rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
29034 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29035             Kito Cheng  <kito@0xlab.org>
29036             Monk Chiang  <sh.chiang04@gmail.com>
29038         * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
29039         (nds32_symbol_load_store_p): Move to ...
29040         (nds32_fp_as_gp_check_available): Move to ...
29041         * config/nds32/nds32-fp-as-gp.c: ... here.
29042         * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
29043         extern declaration.
29045 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29046             Kito Cheng  <kito@0xlab.org>
29047             Monk Chiang  <sh.chiang04@gmail.com>
29049         * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
29050         (nds32_expand_store_multiple): Move to ...
29051         (nds32_expand_movmemqi): Move to ...
29052         * config/nds32/nds32-memory-manipulation.c: ... here.
29054 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29055             Kito Cheng  <kito@0xlab.org>
29056             Monk Chiang  <sh.chiang04@gmail.com>
29058         * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
29059         (nds32_output_casesi_pc_relative): Move to ...
29060         (nds32_output_casesi): Move to ...
29061         (nds32_mem_format): Move to ...
29062         (nds32_output_16bit_store): Move to ...
29063         (nds32_output_16bit_load): Move to ...
29064         (nds32_output_32bit_store): Move to ...
29065         (nds32_output_32bit_load): Move to ...
29066         (nds32_output_32bit_load_s): Move to ...
29067         (nds32_output_stack_push): Move to ...
29068         (nds32_output_stack_pop): Move to ...
29069         * config/nds32/nds32-md-auxiliary.c: ... here.
29071 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29072             Ling-Hua Tseng  <uranus@tinlans.org>
29074         * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
29075         the purpose of this file.
29077 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29078             Kito Cheng  <kito@0xlab.org>
29079             Monk Chiang  <sh.chiang04@gmail.com>
29081         * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
29082         (nds32_address_cost): Move implementation to ...
29083         * config/nds32/nds32-cost.c: ... here.
29084         * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
29085         (nds32_address_cost_impl): Declare.
29087 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29088             Kito Cheng  <kito@0xlab.org>
29089             Monk Chiang  <sh.chiang04@gmail.com>
29091         * config/nds32/nds32.c
29092         (nds32_consecutive_registers_load_store_p): Move to ...
29093         (nds32_valid_multiple_load_store): Move to ...
29094         (nds32_valid_stack_push_pop): Move to ...
29095         (nds32_can_use_bclr_p): Move to ...
29096         (nds32_can_use_bset_p): Move to ...
29097         (nds32_can_use_btgl_p): Move to ...
29098         (nds32_can_use_bitci_p): Move to ...
29099         * config/nds32/nds32-predicates.c: ... here.
29101 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29102             Kito Cheng  <kito@0xlab.org>
29103             Monk Chiang  <sh.chiang04@gmail.com>
29105         * config/nds32/nds32.c
29106         (nds32_expand_builtin_null_ftype_reg): Move to ...
29107         (nds32_expand_builtin_reg_ftype_imm): Move to ...
29108         (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
29109         (nds32_init_builtins): Move implementation to ...
29110         (nds32_expand_builtin): Move implementation to ...
29111         * config/nds32/nds32-intrinsic.c: ... here.
29112         * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
29113         (nds32_expand_builtin_impl): Declare.
29115 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29116             Kito Cheng  <kito@0xlab.org>
29117             Monk Chiang  <sh.chiang04@gmail.com>
29119         * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
29120         (nds32_emit_section_tail_template): Move to ...
29121         (nds32_emit_isr_jmptbl_section): Move to ...
29122         (nds32_emit_isr_vector_section): Move to ...
29123         (nds32_emit_isr_reset_conten): Move to ...
29124         (nds32_check_isr_attrs_conflict): Move to ...
29125         (nds32_construct_isr_vectors_information): Move to ...
29126         (nds32_asm_file_start): Move implementation to ...
29127         (nds32_asm_file_end): Move implementation to ...
29128         * config/nds32/nds32-isr.c: ... here.
29129         * config/nds32/nds32-protos.h
29130         (nds32_check_isr_attrs_conflict): Declare.
29131         (nds32_construct_isr_vectors_information): Declare.
29132         (nds32_asm_file_start_for_isr): Declare.
29133         (nds32_asm_file_end_for_isr): Declare.
29135 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
29136             Kito Cheng  <kito@0xlab.org>
29137             Monk Chiang  <sh.chiang04@gmail.com>
29139         * config.gcc (nds32*): Add new modules to extra_objs.
29140         (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
29141         (nds32be-*-*): Likewise.
29142         * config/nds32/nds32-cost.c: New file.
29143         * config/nds32/nds32-fp-as-gp.c: New file.
29144         * config/nds32/nds32-intrinsic.c: New file.
29145         * config/nds32/nds32-isr.c: New file.
29146         * config/nds32/nds32-md-auxiliary.c: New file.
29147         * config/nds32/nds32-memory-manipulation.c: New file.
29148         * config/nds32/nds32-pipelines-auxiliary.c: New file.
29149         * config/nds32/nds32-predicates.c: New file.
29150         * config/nds32/t-nds32: New file.
29152 2014-07-03  Jakub Jelinek  <jakub@redhat.com>
29154         PR tree-optimization/61682
29155         * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
29156         using cases and when one of the operands is equal to 1.
29158 2014-07-03  Segher Boessenkool  <segher@kernel.crashing.org>
29160         * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
29161         ashr<mode>3): Correct mode of operands[2].
29162         (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
29163         lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
29164         Correct mode of operands[2].  Fix split condition.
29166 2014-07-03  Richard Earnshaw  <rearnsha@arm.com>
29168         * arm.md (arch): Add armv6_or_vfpv3.
29169         (arch_enabled): Add test for the above.
29170         * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
29171         on VFP9.
29172         (sqrtsf_vfp, sqrtdf_vfp): Likewise.
29174 2014-07-03  Jakub Jelinek  <jakub@redhat.com>
29176         * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
29177         * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
29178         HWI 1 and negate the unsigned value.
29179         * expmed.c (expand_sdiv_pow2): For modes wider than word always
29180         use AND instead of shift.
29181         * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
29183 2014-07-03  Marek Polacek  <polacek@redhat.com>
29185         * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
29186         (-fsanitize=float-divide-by-zero): Move to the table with
29187         -fsanitize=undefined suboptions.
29188         (-fsanitize=float-cast-overflow): Likewise.
29190 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29192         * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
29193         BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
29194         endianness.
29196 2014-07-03  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
29198         * loop-invariant.c (struct invariant): Add a new member: eqno;
29199         (find_identical_invariants): Update eqno;
29200         (create_new_invariant): Init eqno;
29201         (get_inv_cost): Compute comp_cost with eqno;
29203 2014-07-02  Segher Boessenkool  <segher@kernel.crashing.org>
29205         * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
29206         (walk_insn_part) <ROTATE, ROTATERT>: New cases.
29207         (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
29208         * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
29209         Only do the transformation if both HAVE_rotate and HAVE_rotatert.
29211 2014-07-02  Christian Bruel  <christian.bruel@st.com>
29213         PR target/29349
29214         PR target/53513
29215         * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
29216         (make_preds_opaque): Delete.
29217         (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
29218         (commit_mode_sets): New function.
29219         (optimize_mode_switching): Handle current_mode to mode_switching_emit.
29220         Process all modes at once.
29221         * basic-block.h (pre_edge_lcm_avs): Declare.
29222         * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
29223         Call clear_aux_for_edges. Fix comments.
29224         (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
29225         (pre_edge_rev_lcm): Idem.
29226         * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
29227         parameter.
29228         * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
29229         * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
29230         Idem.
29231         * config/i386/i386.c (x96_emit_mode_set): Idem.
29232         * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
29233         * config/sh/sh.md (toggle_pr):  Defined if TARGET_FPU_SINGLE.
29234         (fpscr_toggle) Disallow from delay slot.
29235         * target.def (emit_mode_set): Add prev_mode parameter.
29236         * doc/tm.texi: Regenerate.
29238 2014-07-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
29240         * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
29241         variable i.
29243 2014-07-01  Jan Hubicka  <hubicka@ucw.cz>
29245         * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
29246         vtable_pointer_value_to_vtable): Constify.
29247         (contains_polymorphic_type_p): Declare.
29248         * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
29249         vtable_pointer_value_to_vtable): Constify.
29250         (contains_polymorphic_type_p): New predicate.
29251         * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
29252         polymorphic types.
29253         (ipa_set_ancestor_jf): Likewise.
29254         (detect_type_change): Return false in easy cases.
29255         (compute_complex_assign_jump_func): Require type to contain
29256         polymorphic type.
29257         (compute_known_type_jump_func): Likewise.
29259 2014-07-01  Jan Hubicka  <hubicka@ucw.cz>
29261         * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
29262         Remove.
29263         (type_in_anonymous_namespace_p): Constify argument.
29264         * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
29265         * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
29266         (main_odr_variant): New function.
29267         (hash_type_name): Make static; update assert; do not ICE on
29268         non-records.
29269         (types_same_for_odr): Bring here from tree.c; simplify and remove
29270         old structural comparing code that doesn't work for templates.
29271         (odr_hasher::equal): Update assert.
29272         (add_type_duplicate): Return true when bases should be computed;
29273         replace incomplete loader by complete; do not output duplicated
29274         warnings; do not ICE on non-records; set odr_violated flag.
29275         (get_odr_type): Be ready to replace incomplete type by complete
29276         one; work on ODR variants instead of main variants; reorder item
29277         in array so bases have still smaller indexes.
29278         (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
29279         (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
29281 2014-07-01  Cary Coutant  <ccoutant@google.com>
29283         * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
29284         lookup.
29285         (resolve_addr_in_expr): When replacing the rtx in a location list
29286         entry, get a new address table entry.
29287         (dwarf2out_finish): Call index_location_lists even if there are no
29288         addr_index_table entries yet.
29290 2014-07-01  Trevor Saunders  <tsaunders@mozilla.com>
29292         * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
29293         change for not being obvious.
29295 2014-07-01  Trevor Saunders  <tsaunders@mozilla.com>
29297         * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
29298         unused argument.
29300 2014-07-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
29302         * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
29303         (vcagt_f64): Likewise.
29304         (vcale_f64): Likewise.
29305         (vcaled_f64): Likewise.
29306         (vcales_f32): Likewise.
29307         (vcalt_f64): Likewise.
29308         (vcaltd_f64): Likewise.
29309         (vcalts_f32): Likewise.
29311 2014-07-01  Marek Polacek  <polacek@redhat.com>
29313         * doc/invoke.texi: Document -Wint-conversion.
29315 2014-07-01  Marek Polacek  <polacek@redhat.com>
29317         PR c/58286
29318         * doc/invoke.texi: Document -Wincompatible-pointer-types.
29320 2014-07-01  Martin Liska  <mliska@suse.cz>
29322         IPA REF alias refactoring
29323         * cgraph.h (iterate_direct_aliases): New function.
29324         (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
29325         * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
29326         FOR_EACH_ALIAS added.
29327         (cgraph_for_node_and_aliases): Likewise.
29328         * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
29329         * ipa-inline.c (reset_edge_caches): Likewise.
29330         (update_caller_keys): Likewise.
29331         * trans-mem.c (ipa_tm_execute): Likewise.
29332         *varpool.c (varpool_analyze_node): Likewise.
29333         (varpool_for_node_and_aliases): Likewise.
29334         * ipa-ref.h (first_alias): New function.
29335         (last_alias): Likewise.
29336         (has_aliases_p): Likewise.
29337         * ipa-ref.c (ipa_ref::remove_reference): Removal function
29338         is sensitive to IPA_REF_ALIASes.
29339         * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
29340         are put at the beginning of the list.
29341         (symtab_node::iterate_direct_aliases): New function.
29343 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29345         Revert:
29346         * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
29347         type is complete.
29348         (write_ts_type_common_tree_pointers): Do not stream fields not set
29349         for incomplete types; do not stream duplicated fields for variants;
29350         sanity check that variant and type match.
29351         (write_ts_type_non_common_tree_pointers): Likewise.
29352         * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
29353         TYPE_SIZE whether type is complete.
29354         (lto_input_ts_type_common_tree_pointers): Do same changes as in
29355         write_ts_type_common_tree_pointers
29356         (lto_input_ts_type_non_common_tree_pointers): Likewise.
29358 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29360         * var-tracking.c (add_stores): Return instead of asserting if old
29361         and new values for conditional store are the same.
29363 2014-06-30  Richard Henderson  <rth@redhat.com>
29365         PR rtl-opt/61608
29366         PR target/39284
29367         * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
29368         the cfg if there were any changes.
29369         * passes.def: Revert move of peephole2 after reorder_blocks;
29370         move duplicate_computed_gotos before peephole2.
29372 2014-06-30  Uros Bizjak  <ubizjak@gmail.com>
29374         * except.c (emit_note_eh_region_end): New helper function.
29375         (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
29376         emit EH_REGION_END note.
29377         * jump.c (cleanup_barriers): Do not split a call and its
29378         corresponding CALL_ARG_LOCATION note.
29380 2014-06-30  Jeff Law  <law@redhat.com>
29382         PR tree-optimization/61607
29383         * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
29384         deeper into the SSA_NAME_VALUE chain.
29386 2014-06-30  Marek Polacek  <polacek@redhat.com>
29388         * convert.c (convert_to_integer): Don't instrument conversions if the
29389         function has no_sanitize_undefined attribute.
29390         * ubsan.c: Don't run the ubsan pass if the function has
29391         no_sanitize_undefined attribute.
29393 2014-06-30  Jakub Jelinek  <jakub@redhat.com>
29395         * doc/invoke.texi (-fsanitize=bounds): Move to the table with
29396         -fsanitize=undefined suboptions.
29398 2014-06-30  Alan Lawrence  <alan.lawrence@arm.com>
29400         * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
29401         * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
29402         against bigendian and adjust indices.
29404 2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
29406         * doc/install.texi (Specific, aarch64*-*-*): Fix markup.  Reword a bit.
29408 2014-06-30  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29410         PR target/61633
29411         * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
29412         Add alternative; make early clobber.  Adjust both split patterns
29413         to use operand 0 as the working register.
29415 2014-06-30  Jakub Jelinek  <jakub@redhat.com>
29417         * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
29418         as ira_object_id_map might be NULL, or 1.
29420 2014-06-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
29422         * loop-invariant.c (get_inv_cost): Handle register class.
29423         (gain_for_invariant): Check the register pressure of the inv
29424         and its overlapped register class, other than all.
29426 2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
29428         * doc/invoke.texi (Optimize Options): Fix descriptions of
29429         ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
29431 2014-06-29  David Wohlferd <dw@LimeGreenSocks.com>
29433         * doc/extend.texi (Function Attributes): Update 'naked' attribute
29434         documentation.
29436 2014-06-29  Tobias Grosser <tobias@grosser.es>
29438         PR bootstrap/61650
29439         * graphite-isl-ast-to-gimple.c: Add missing guards.
29441 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
29443         * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
29444         * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
29445         * flag-types.h: Add new enum fgraphite_generator.
29446         * graphite-isl-ast-to-gimple.c: New.
29447         * graphite-isl-ast-to-gimple.h: New.
29448         * graphite.c (graphite_transform_loops): Add choice of Graphite
29449         code generator, which depends on flag_graphite_code_gen.
29451 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
29453         * graphite-dependences.c (subtract_commutative_associative_deps):
29454         Add NULL checking of the following variables: must_raw_no_source,
29455         may_raw_no_source, must_war_no_source, may_war_no_source,
29456         must_waw_no_source, may_waw_no_source, must_raw, may_raw,
29457         must_war, may_war, must_waw, may_waw.
29459 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
29461         * graphite-clast-to-gimple.c: gloog is renamed to
29462         graphite_regenerate_ast_cloog.  gloog_error is renamed to
29463         graphite_regenerate_error.
29464         * graphite-clast-to-gimple.h: The definition of the struct
29465         bb_pbb_def is moved to graphite-htab.h.
29466         Add inclusion of the hash-table.h.
29467         * graphite-htab.h: The declaration of the function gloog is moved
29468         to graphite-clast-to-gimple.h and renamed to
29469         graphite_regenerate_ast_cloog.
29470         * graphite.c (graphite_transform_loops): gloog is renamed
29471         to graphite_regenerate_ast_cloog.
29473 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29475         * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
29476         type is complete.
29477         (write_ts_type_common_tree_pointers): Do not stream fields not set
29478         for incomplete types; do not stream duplicated fields for variants;
29479         sanity check that variant and type match.
29480         (write_ts_type_non_common_tree_pointers): Likewise.
29481         * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
29482         TYPE_SIZE whether type is complete.
29483         (lto_input_ts_type_common_tree_pointers): Do same changes as in
29484         write_ts_type_common_tree_pointers
29485         (lto_input_ts_type_non_common_tree_pointers): Likewise.
29487 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29489         * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
29491 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29493         * tree-inline.c (remap_type_1): Do not duplicate fields
29494         that are shared in between type and its main variant.
29496 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29498         * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
29499         of the type.
29500         (ipa_set_ancestor_jf) Likewise.
29501         (check_stmt_for_type_change): Check that we work on main variant.
29502         (detect_type_change): Look into main variant.
29503         (compute_known_type_jump_func): Check that main variant has BINFO.
29505 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29507         * ipa-devirt.c (set_type_binfo): New function.
29508         (add_type_duplicate): Use it.
29509         (get_odr_type): Sanity check that binfos points to main variants.
29510         (get_class_context): Be sure the context's outer_type is main variant.
29511         (contains_type_p): Walk main variant.
29512         (get_polymorphic_call_info_for_decl): Set outer_type to be
29513         main variant.
29514         (get_polymorphic_call_info): Likewise.
29515         (possible_polymorphic_call_targets): Sanity check that we operate
29516         on main variant.
29518 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
29520         * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
29522 2014-06-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29524         * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
29525         accidental change due to wide-int branch merge.
29527 2014-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
29529         * configure.ac (gcc_cv_as_compress_debug): Check for assembler
29530         compressed debug support.
29531         (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
29532         * configure: Regenerate.
29533         * config.in: Regenerate.
29534         * common.opt (compressed_debug_sections): New enum.
29535         (gz, gz=): New options.
29536         * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
29537         (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
29538         (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
29539         * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
29540         LINK_COMPRESS_DEBUG_SPEC.
29541         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
29542         * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
29543         * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
29544         (Debugging Options): Document -gz[=type].
29546 2014-06-27  Martin Jambor  <mjambor@suse.cz>
29548         PR ipa/61160
29549         * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
29550         args_to_skip, use those from node instead.  Copy args_to_skip and
29551         combined_args_to_skip from node to the new thunk.
29552         (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
29553         (cgraph_create_virtual_clone): Moved computation of
29554         combined_args_to_skip...
29555         (cgraph_clone_node): ...here, simplify it to bitmap_ior..
29557 2014-06-27  trevor Saunders  <tsaunders@mozilla.com>
29559         * config/i386/winnt.c (i386_pe_section_type_flags): Remove
29560         redundant diagnostic machinary.
29562 2014-06-27  Richard Biener  <rguenther@suse.de>
29564         * tree-ssa-math-opts.c (bswap_replace): Fix
29565         SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
29567 2014-06-27  Martin Liska  <mliska@suse.cz>
29569         * gimple.h (gimple_location_safe): New function introduced.
29570         * cgraphunit.c (walk_polymorphic_call_targets): Usage
29571         of gimple_location_safe replaces gimple_location.
29572         (gimple_fold_call): Likewise.
29573         * ipa-devirt.c (ipa_devirt): Likewise.
29574         * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
29575         * ipa.c (walk_polymorphic_call_targets): Likewise.
29576         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
29578 2014-06-27  Jakub Jelinek  <jakub@redhat.com>
29580         PR tree-optimization/57233
29581         PR tree-optimization/61299
29582         * tree-vect-generic.c (get_compute_type, count_type_subparts): New
29583         functions.
29584         (expand_vector_operations_1): Use them.  If {L,R}ROTATE_EXPR
29585         would be lowered to scalar shifts, check if corresponding
29586         shifts and vector BIT_IOR_EXPR are supported and don't lower
29587         or lower just to narrower vector type in that case.
29588         * expmed.c (expand_shift_1): Fix up handling of vector
29589         shifts and rotates.
29591 2014-06-26  Uros Bizjak  <ubizjak@gmail.com>
29593         PR target/61586
29594         * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
29596 2014-06-26  Jan Hubicka  <hubicka@ucw.cz>
29598         * doc/invoke.texi (-fsemantic-interposition): Document.
29599         * common.opt (fsemantic-interposition): New flag.
29600         * varasm.c (decl_replaceable_p): Use it.
29602 2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
29604         PR target/61542
29605         * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
29606         extraction other than index 3.
29608 2014-06-26  Teresa Johnson  <tejohnson@google.com>
29610         * doc/invoke.texi: Fix typo.
29611         * dumpfile.c: Add support for documented -fdump-* options
29612         optimized/missed/note/optall.
29614 2014-06-26  Martin Jambor  <mjambor@suse.cz>
29616         * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
29617         (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
29618         (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
29619         (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
29620         * opts.c (default_options_optimization): Set
29621         PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
29622         * doc/invoke.texi (allow-load-data-races)
29623         (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
29624         (allow-store-data-races): Document the new default.
29626 2014-06-26  Martin Jambor  <mjambor@suse.cz>
29628         * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
29629         renamed to ipa_impossible_devirt_target.  Fix typo.
29630         * ipa-prop.h (ipa_impossible_devirt_target): Declare.
29631         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
29632         ipa_impossible_devirt_target.
29634 2014-06-26  Richard Biener  <rguenther@suse.de>
29636         PR tree-optimization/61607
29637         * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
29638         explaining why we restrict copies on loop depth.
29639         * tree-ssa-dom.c (cprop_operand): Remove restriction on
29640         on loop depth.
29641         (record_equivalences_from_phis): Instead add it here.
29643 2014-06-26  Bernd Schmidt  <bernds@codesourcery.com>
29645         * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
29646         (LTO_WRAPPER_OBJS): New variable.
29647         (lto-wrapper$(exeext)): Use it.
29648         * collect2.c: Include "collect-utils.h".
29649         (verbose, debug): Remove variables.
29650         (at_file_supplied): No longer static.
29651         (tool_name): New variable.
29652         (do_wait, fork_execute, maybe_unlink): Don't declare.
29653         (tool_cleanup): No longer static.
29654         (notice): Remove function.
29655         (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
29656         fork_execute calls.
29657         (collect_wait, do_wait, collect_execute): Remove functions.
29658         (maybe_unlink): No longer static.
29659         * collect2.h (verbose, debug): Don't declare.
29660         (at_file_supplied): Declare.
29661         * collect-utils.c (utils_cleanup): New arg from_signal.  All callers
29662         changed.
29663         (collect_execute): Replace with implementation from collect2, plus a
29664         new arg use_atfile.  All callers changed.
29665         (collect_wait): Replace with implementation from collect2.
29666         (maybe_unlink_file): Remove function.
29667         (fork_execute): Replace with implementation from collect2, plus a
29668         new arg use_atfile.  All callers changed.
29669         (do_wait): Add call to utils_cleanup to the error path.
29670         * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
29671         (tool_cleanup): Adjust declarations.
29672         * lto-wrapper.c (tool_cleanup): Add unused bool argument.
29673         * tlink.c: Include "collect-utils.h".
29674         (tlink_execute): New arg use_atfile.  All callers changed.
29675         (tlink_init, tlink_execute): Remove declarations.
29677         * collect-utils.c (save_temps): New variable.
29678         (do_wait): Use it instead of debug.  Use fatal_error.
29679         * collect-utils.h (save_temps): Declare.
29680         * collect2.c (verbose): Rename from vflag.  All uses changed.
29681         (tool_cleanup): New function, copied from collect_atexit.
29682         (collect_atexit, handler): Just call it.
29683         * collect2.h (verbose): Declaration renamed from vflag.
29684         * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
29685         debug.
29687         * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
29688         (lto-wrapper$(exeext)): Link with collect-utils.o.
29689         * collect-utils.c: New file.
29690         * collect-utils.h: New file.
29691         * lto-wrapper.c: Include "collect-utils.h".
29692         (args_name): Delete variable.
29693         (tool_name): New variable.
29694         (tool_cleanup): New function.
29695         (maybe_unlink): Renamed from maybe_unlink_file.  All callers changed.
29696         (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
29697         (fork_execute): Remove functions.
29699 2014-06-26  Nick Clifton  <nickc@redhat.com>
29701         * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
29703         * doc/extend.texi (Function Attributes): Fix typo in description
29704         of RX vector attribute.
29706 2014-06-26  James Greenhalgh  <james.greenhalgh@arm.com>
29708         * config.gcc (supported_defaults): Error when passing either
29709         --with-tune or --with-arch in conjunction with --with-cpu for ARM.
29711 2014-06-26  Richard Biener  <rguenther@suse.de>
29713         * tree-ssa-dom.c (cprop_operand): Remove restriction on
29714         propagating volatile pointers.
29716 2014-06-26  Richard Biener  <rguenther@suse.de>
29718         PR tree-optimization/61607
29719         * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
29720         loop if we redirected its latch edge.
29721         (thread_block_1): Do not cancel loops prematurely.
29723 2014-06-25  Jan Hubicka  <hubicka@ucw.cz>
29725         * toplev.c (backend_init_target): Move init_emit_regs and
29726         init_regs to...
29727         (backend_init) ... here; skip ira_init_once and backend_init_target.
29728         (target_reinit) ... and here; clear
29729         this_target_rtl->lang_dependent_initialized.
29730         (lang_dependent_init_target): Clear
29731         this_target_rtl->lang_dependent_initialized;
29732         break out rtl initialization to ...
29733         (initialize_rtl): ... here; call also backend_init_target
29734         and ira_init_once.
29735         * toplev.h (initialize_rtl): New function.
29736         * function.c: Include toplev.h
29737         (init_function_start): Call initialize_rtl.
29738         * rtl.h (target_rtl): Add target_specific_initialized,
29739         lang_dependent_initialized.
29741 2014-06-25  Paul Gortmaker  <paul.gortmaker@windriver.com>
29742             Jakub Jelinek  <jakub@redhat.com>
29744         * gcc.c (set_multilib_dir): Malloc "." pointer as well.
29746 2014-06-25  Tom de Vries  <tom@codesourcery.com>
29748         * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
29750 2014-06-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
29752         * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
29753         check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
29754         Issue a strict overflow warning if appropriate.
29756 2014-06-25  Martin Liska  <mliska@suse.cz>
29758         IPA REF refactoring
29759         * Makefile.in: Removed header file (ipa-ref-inline.h).
29760         * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
29761         called.
29762         (cgraph_speculative_call_info): Likewise.
29763         (cgraph_for_node_thunks_and_aliases): Likewise.
29764         (cgraph_for_node_and_aliases): Likewise.
29765         (verify_cgraph_node): Likewise.
29766         * cgraph.h: Batch of IPA REF functions become member functions of
29767         symtab_node: add_reference, maybe_add_reference, clone_references,
29768         clone_referring, clone_reference, find_reference,
29769         remove_stmt_references, remove_all_references,
29770         remove_all_referring, dump_references, dump_referring,
29771         has_alias_p, iterate_reference, iterate_referring.
29772         * cgraphbuild.c (record_reference): New IPA REF function used.
29773         (record_type_list): Likewise.
29774         (record_eh_tables): Likewise.
29775         (mark_address): Likewise.
29776         (mark_load): Likewise.
29777         (mark_store): Likewise.
29778         (pass_build_cgraph_edges): Likewise.
29779         (rebuild_cgraph_edge): Likewise.
29780         (cgraph_rebuild_references): Likewise.
29781         (pass_remove_cgraph_callee_edges): Likewise.
29782         * cgraphclones.c (cgraph_clone_node): Likewise.
29783         (cgraph_create_virtual_clone): Likewise.
29784         (cgraph_materialize_clone): Likewise.
29785         (cgraph_materialize_all_clones): Likewise.
29786         * cgraphunit.c (cgraph_reset_node): Likewise.
29787         (cgraph_reset_node): Likewise.
29788         (analyze_function): Likewise.
29789         (assemble_thunks_and_aliases): Likewise.
29790         (expand_function): Likewise.
29791         * ipa-comdats.c (propagate_comdat_group): Likewise.
29792         (enqueue_references): Likewise.
29793         * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
29794         (create_specialized_node): Likewise.
29795         * ipa-devirt.c (referenced_from_vtable_p): Likewise.
29796         * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
29797         * ipa-inline.c (reset_edge_caches): Likewise.
29798         (update_caller_keys): Likewise.
29799         (execute): Likewise.
29800         * ipa-prop.c (remove_described_reference): Likewise.
29801         (propagate_controlled_uses): Likewise.
29802         (ipa_edge_duplication_hook): Likewise.
29803         (ipa_modify_call_arguments): Likewise.
29804         * ipa-pure-const.c (propagate_pure_const): Likewise.
29805         * ipa-ref-inline.h: Header file removed, functions moved
29806         to symtab_node class.
29807         * ipa-ref.c (remove_reference): New class member function.
29808         (cannot_lead_to_return): New class member function.
29809         (referring_ref_list): Likewise.
29810         (referred_ref_list): Likewise.
29811         Rest of functions moved to symtab_node class.
29812         * ipa-ref.h: New member functions remove_reference,
29813         cannot_lead_to_return, referring_ref_list, referred_ref_list added
29814         to ipa_ref class.
29815         ipa_ref_list class has new member functions: first_reference,
29816         first_referring, clear, nreferences.
29817         * ipa-reference.c (analyze_function): New IPA REF function used.
29818         (write_node_summary_p): Likewise.
29819         (ipa_reference_write_optimization_summary): Likewise.
29820         * ipa-split.c (split_function): Likewise.
29821         * ipa-utils.c (ipa_reverse_postorder): Likewise.
29822         * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
29823         (function_and_variable_visibility): Likewise.
29824         * ipa.c (has_addr_references_p): Likewise.
29825         (process_references): Argument type changed.
29826         (symtab_remove_unreachable_nodes): New IPA REF function used.
29827         (process_references): Likewise.
29828         (set_writeonly_bit): Likewise.
29829         * lto-cgraph.c: Implementation of new symtab_node member functions
29830         that uses new IPA REF functions.
29831         * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
29832         function used.
29833         * lto-streamer-out.c (output_symbol_p): Likewise.
29834         * lto-streamer.h (referenced_from_this_partition_p): Argument type
29835         changed.
29836         * symtab.c: Implementation of new IPA REF API.
29837         * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
29838         (ipa_tm_create_version): Likewise.
29839         (ipa_tm_execute): Likewise.
29840         * tree-emutls.c (gen_emutls_addr): Likewise.
29841         * tree-inline.c (copy_bb): Likewise.
29842         (delete_unreachable_blocks_update_callgraph): Likewise.
29843         * varpool.c (varpool_remove_unreferenced_decls): Likewise.
29844         (varpool_for_node_and_aliases): Likewise.
29846 2014-06-25  Trevor Saunders  <tsaunders@mozilla.com>
29848         * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
29850 2014-06-25  Trevor Saunders  <tsaunders@mozilla.com>
29852         PR bootstrap/61598
29853         * fold-const.c (fold_checksum_tree): Use a hash_table of const
29854         tree_node * instead of tree_node *.
29855         (fold): Adjust.
29856         (print_fold_checksum): Likewise.
29857         (fold_check_failed): Likewise.
29858         (debug_fold_checksum): Likewise.
29859         (fold_build1_stat_loc): Likewise.
29860         (fold_build2_stat_loc): Likewise.
29861         (fold_build3_stat_loc): Likewise.
29862         (fold_build_call_array_loc): Likewise.
29864 2014-06-25  David Edelsohn  <dje.gcc@gmail.com>
29866         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
29867         implementation with call to...
29868         * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
29869         function.
29870         * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
29871         Declare.
29873 2014-06-25  Marc Glisse  <marc.glisse@inria.fr>
29875         PR tree-optimization/57742
29876         * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
29877         after replacing the statement.
29879 2014-06-25  Nick Clifton  <nickc@redhat.com>
29881         * config/v850/v850.c (GHS_default_section_names): Change to const
29882         char * type.
29883         (GHS_current_section_names): Likewise.
29884         (v850_insert_attributes): Do not build strings, just assign the
29885         names directly.  Change the type of 'chosen_section' to const
29886         char*.
29887         * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
29888         directly to the array entry.
29889         * config/v850/v850.h (GHS_default_section_names): Change to const
29890         char * type.
29891         (GHS_current_section_names): Likewise.
29893 2014-06-25  Jakub Jelinek  <jakub@redhat.com>
29895         * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
29896         (LANG_HOOKS_DECLS): Add it.
29897         * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
29898         has correct type.
29899         * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
29900         * langhooks.h (struct lang_hooks_for_decls): Add
29901         omp_clause_linear_ctor hook.
29902         * omp-low.c (lower_rec_input_clauses): Set max_vf even if
29903         OMP_CLAUSE_LINEAR_ARRAY is set.  Don't fold_convert
29904         OMP_CLAUSE_LINEAR_STEP.  For OMP_CLAUSE_LINEAR_ARRAY in
29905         combined simd loop use omp_clause_linear_ctor hook.
29907 2014-06-24  Cong Hou  <congh@google.com>
29909         * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
29910         pattern recognition.
29911         (type_conversion_p): PROMOTION is true if it's a type promotion
29912         conversion, and false otherwise.  Return true if the given expression
29913         is a type conversion one.
29914         * tree-vectorizer.h: Adjust the number of patterns.
29915         * tree.def: Add SAD_EXPR.
29916         * optabs.def: Add sad_optab.
29917         * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
29918         * expr.c (expand_expr_real_2): Likewise.
29919         * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
29920         * gimple.c (get_gimple_rhs_num_ops): Likewise.
29921         * optabs.c (optab_for_tree_code): Likewise.
29922         * tree-cfg.c (estimate_operator_cost): Likewise.
29923         * tree-ssa-operands.c (get_expr_operands): Likewise.
29924         * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
29925         * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
29926         * doc/generic.texi: Add document for SAD_EXPR.
29927         * doc/md.texi: Add document for ssad and usad.
29929 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
29931         * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
29932         qualification in cast.
29934 2014-06-24  Jan Hubicka  <hubicka@ucw.cz>
29936         * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
29937         * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
29938         * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
29939         (tree_function_decl): ... here.
29940         * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
29941         streaming of vindex to ...
29942         (write_ts_function_decl_tree_pointers): ... here.
29943         * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
29944         Do not stream DECL_VINDEX.
29945         (lto_input_ts_function_decl_tree_pointers): Stream it here.
29947 2014-06-24  Catherine Moore  <clm@codesourcery.com>
29948             Sandra Loosemore  <sandra@codesourcery.com>
29950         * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
29951         * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
29952         * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
29954 2014-06-24  Marc Glisse  <marc.glisse@inria.fr>
29956         * doc/invoke.texi (Warning Options): Remove duplicated
29957         -Wmaybe-uninitialized.
29959 2014-06-24  Marc Glisse  <marc.glisse@inria.fr>
29961         PR tree-optimization/57742
29962         * tree-ssa-strlen.c (get_string_length): Ignore malloc.
29963         (handle_builtin_malloc, handle_builtin_memset): New functions.
29964         (strlen_optimize_stmt): Call them.
29965         * passes.def: Move strlen after loop+dom but before vrp.
29967 2014-06-24  Jakub Jelinek  <jakub@redhat.com>
29969         PR target/61570
29970         * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
29971         model family 6 CPU with has_longmode never use a CPU without
29972         64-bit support.
29974 2014-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29976         PR target/61570
29977         * config/i386/driver-i386.c (host_detect_local_cpu): Revert
29978         the last change.
29980 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
29982         * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
29983         * dominance.c (iterate_fix_dominators): Use hash_map instead of
29984         pointer_map.
29985         * hash-map.h: New file.
29986         * ipa-comdats.c: Use hash_map instead of pointer_map.
29987         * ipa.c: Likewise.
29988         * lto-section-out.c: Adjust.
29989         * lto-streamer.h: Replace pointer_map with hash_map.
29990         * symtab.c (verify_symtab): Likewise.
29991         * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
29992         * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
29993         * tree-streamer.h: Likewise.
29994         * tree-streamer.c: Adjust.
29995         * pointer-set.h: Remove pointer_map.
29997 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
29999         * hash-table.h: Add a template arg to choose between storing values
30000         and storing pointers to values, and then provide partial
30001         specializations for both.
30002         * tree-browser.c (tree_upper_hasher): Provide the type the hash table
30003         should store, not the type values should point to.
30004         * tree-into-ssa.c (var_info_hasher): Likewise.
30005         * tree-ssa-dom.c (expr_elt_hasher): Likewise.
30006         * tree-complex.c: Adjust.
30007         * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
30008         table instead of int_tree_map *.
30009         * tree-parloops.c: Adjust.
30010         * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
30011         type is being stored.
30012         * tree-vectorizer.c: Adjust.
30014 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
30016         * hash-table.h: Remove a layer of indirection from hash_table so that
30017         it contains the hash table's data instead of a pointer to the data.
30018         * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
30019         config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
30020         config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
30021         data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
30022         fold-const.c, gcse.c, ggc-common.c,
30023         gimple-ssa-strength-reduction.c, gimplify.c,
30024         graphite-clast-to-gimple.c, graphite-dependences.c,
30025         graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
30026         ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
30027         loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
30028         lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
30029         postreload-gcse.c, sese.c, statistics.c, store-motion.c,
30030         trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
30031         tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
30032         tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
30033         tree-ssa-live.c, tree-ssa-loop-im.c,
30034         tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
30035         tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
30036         tree-ssa-structalias.c, tree-ssa-tail-merge.c,
30037         tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
30038         tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
30039         tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
30040         vtable-verify.c, vtable-verify.h: Adjust.
30042 2014-06-24  Richard Biener  <rguenther@suse.de>
30044         PR tree-optimization/61572
30045         * tree-ssa-sink.c (statement_sink_location): Do not sink
30046         loads from hard registers.
30048 2014-06-24  Jakub Jelinek  <jakub@redhat.com>
30050         * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
30051         not mentioned in clauses use private clause if the iterator is
30052         declared in #pragma omp for simd, and when adding lastprivate
30053         instead, add it to the outer #pragma omp for too.  Diagnose
30054         if the variable is private in outer context.  For simd collapse > 1
30055         loops, replace all iterators with temporaries.
30056         * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
30057         same even in collapse > 1 loops.
30059         * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
30060         OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
30061         non-NULL.
30062         <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
30063         (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
30064         non-NULL.
30065         (gimplify_adjust_omp_clauses): Likewise.
30066         * omp-low.c (lower_rec_simd_input_clauses,
30067         lower_rec_input_clauses, expand_omp_simd): Handle non-constant
30068         safelen the same as safelen(1).
30069         * tree-nested.c (convert_nonlocal_omp_clauses,
30070         convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED.  For
30071         OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
30072         (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
30073         Fixup handling of GIMPLE_OMP_TARGET.
30074         (convert_tramp_reference_stmt, convert_gimple_call): Handle
30075         GIMPLE_OMP_TARGET.
30077 2014-06-24  Chung-Lin Tang  <cltang@codesourcery.com>
30079         PR tree-optimization/61554
30080         * tree-ssa-propagate.c: Include "bitmap.h".
30081         (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
30082         properly update constructor/destructor.
30083         (substitute_and_fold_dom_walker::before_dom_children):
30084         Remove call to gimple_purge_dead_eh_edges, add bb->index to
30085         need_eh_cleaup instead.
30086         (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
30087         need_eh_cleanup.
30089 2014-06-23  Jan Hubicka  <hubicka@ucw.cz>
30091         * varpool.c (dump_varpool_node): Dump used_by_single_function.
30092         * tree-pass.h (make_pass_ipa_single_use): New pass.
30093         * cgraph.h (used_by_single_function): New flag.
30094         * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
30095         Stream it.
30096         * passes.def (pass_ipa_single_use): Scedule.
30097         * ipa.c (BOTTOM): New macro.
30098         (meet): New function
30099         (propagate_single_user): New function.
30100         (ipa_single_use): New function.
30101         (pass_data_ipa_single_use): New pass.
30102         (pass_ipa_single_use): New pass.
30103         (pass_ipa_single_use::gate): New gate.
30104         (make_pass_ipa_single_use): New function.
30106 2014-06-23  Kai Tietz  <ktietz@redhat.com>
30108         PR target/39284
30109         * passes.def (peephole2): Move peephole2 pass before sched2 pass.
30110         * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
30112 2014-06-23  Richard Biener  <rguenther@suse.de>
30114         * tree-ssa-loop.c (gate_loop): New function.
30115         (pass_tree_loop::gate): Call it.
30116         (pass_data_tree_no_loop, pass_tree_no_loop,
30117         make_pass_tree_no_loop): New.
30118         * tree-vectorizer.c: Include tree-scalar-evolution.c
30119         (pass_slp_vectorize::execute): Initialize loops and SCEV if
30120         required.
30121         (pass_slp_vectorize::clone): New method.
30122         * timevar.def (TV_TREE_NOLOOP): New.
30123         * tree-pass.h (make_pass_tree_no_loop): Declare.
30124         * passes.def (pass_tree_no_loop): New pass group with
30125         SLP vectorizer.
30127 2014-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30129         PR target/61570
30130         * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
30131         to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
30133 2014-06-23  James Greenhalgh  <james.greenhalgh@arm.com>
30135         * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
30136         "yes" where needed.
30138 2014-06-23  Alan Modra  <amodra@gmail.com>
30140         PR bootstrap/61583
30141         * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
30142         to zero on debug statements.
30144 2014-06-23  Alan Lawrence  <alan.lawrence@arm.com>
30146         PR target/60825
30147         * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
30148         Ignore third operand if present by marking qualifier_internal.
30150         * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
30152         * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
30153         vector extension.
30154         (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
30155         arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
30156         (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
30157         vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
30158         vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
30159         vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
30160         vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
30161         vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
30162         vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
30163         vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
30164         vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
30165         vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
30166         vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
30167         vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
30168         vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
30169         vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
30170         logic in GCC vector extensions
30172         (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
30173         vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
30174         vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
30175         vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
30176         vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
30177         vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
30178         vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
30179         vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
30180         vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
30181         vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
30183         (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
30185         (vget_high_s64, vget_high_u64): Reimplement with GCC vector
30186         extensions.
30188         (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
30189         (vget_low_s64): Use __GET_LOW macro.
30190         (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
30191         gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
30192         (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
30193         (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
30194         __builtin_aarch64_lane_boundsi, use GCC vector extensions.
30196         (vcombine_s64): Use GCC vector extensions; remove cast.
30197         (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
30198         vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
30199         vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
30200         Fix type signature; remove cast.
30202 2014-06-23  Alan Lawrence  <alan.lawrence@arm.com>
30204         PR target/60825
30205         * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
30206         V1DFmode.
30207         * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
30208         add V1DFmode
30209         (BUILTIN_VD1): New.
30210         (BUILTIN_VD_RE): Remove.
30211         (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
30212         (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
30213         * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
30214         variant but not df.
30215         (vreinterpretv1df*, vreinterpret*v1df): New.
30216         (vreinterpretdf*, vreinterpret*df): Remove.
30217         * config/aarch64/aarch64-simd.md (aarch64_create,
30218         aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
30219         * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
30220         (VD1): New.
30221         * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
30222         (vcreate_f64): Remove cast, use v1df builtin.
30223         (vcombine_f64): Remove cast, get elements with gcc vector extensions.
30224         (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
30225         vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
30226         vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
30227         vmov_n_f64, vst1_f64): Use gcc vector extensions.
30228         (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
30229         add range check using __builtin_aarch64_im_lane_boundsi.
30230         (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
30231         vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
30232         type signature, use gcc vector extensions.
30233         (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
30234         vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
30235         vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
30236         vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
30237         vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
30238         vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
30239         vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
30240         vreinterpret_u64_f64): Use v1df builtin not df.
30242 2014-06-23  James Greenhalgh  <james.greenhalgh@arm.com>
30244         * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
30245         vector registers.
30247 2014-06-23  Jan Hubicka  <hubicka@ucw.cz>
30249         * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
30250         priority directly.
30252 2014-06-23  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
30254         * loop-invariant.c (pre_check_invariant_p): New function.
30255         (find_invariant_insn): Call pre_check_invariant_p.
30257 2014-06-22  Richard Henderson  <rth@redhat.com>
30259         PR target/61565
30260         * compare-elim.c (struct comparison): Add eh_note.
30261         (find_comparison_dom_walker::before_dom_children): Don't eliminate
30262         a redundant comparison in a different EH region.  Purge EH edges if
30263         necessary.
30265 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30267         * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
30268         (var_shift): Use it.
30269         (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
30270         *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
30271         *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
30272         *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
30273         *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
30274         *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
30275         *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
30276         *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
30277         *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
30278         *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
30279         *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
30280         *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
30281         *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
30282         *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
30283         *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
30284         *rotldi3_internal15be): Use the new attribute.  Merge register and
30285         integer alternatives.
30287 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30289         * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
30290         define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
30291         split, *ashrdi3_internal3 and split): Delete, merge into...
30292         (ashr<mode>3): New expander.
30293         (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
30294         (*ashrsi3_64): Fix formatting.  Replace "i" by "n".
30296 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30298         * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
30299         *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
30300         *rotldi3_internal3 and split): Delete, merge into...
30301         (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
30302         (*rotlsi3_64): Fix formatting.  Fix condition.  Replace "i" by "n".
30303         Use "rotlw" extended mnemonic.
30305 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30307         * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
30308         and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
30309         and split, *ashldi3_internal3 and split): Delete, merge into...
30310         (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
30311         (*ashlsi3_64): Fix formatting.  Replace "i" by "n".
30313 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30315         * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
30316         (lshrsi3, two anonymous define_insns and define_splits,
30317         lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
30318         *lshrdi3_internal3 and split): Delete, merge into...
30319         (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
30320         (*lshrsi3_64): Fix formatting.  Replace "i" by "n".
30322 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
30324         * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
30325         Remove "O" alternative.
30327 2014-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
30329         * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
30330         (mips_move_from_gpr_cost): Likewise.
30331         (mips_register_move_cost): Update accordingly.
30332         (mips_secondary_reload_class): Remove name of in_p.
30334 2014-06-22  Marc Glisse  <marc.glisse@inria.fr>
30336         PR target/61503
30337         * config/i386/i386.md (x86_64_shrd, x86_shrd,
30338         ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
30340 2014-06-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
30342         * config/nios2/nios2.c: Include "builtins.h".
30344 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
30346         * cgraph.h (tls_model_names): New variable.
30347         * print-tree.c (print_node): Simplify.
30348         * varpool.c (tls_model_names): New variable.
30349         (dump_varpool_node): Output tls model.
30351 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
30353         * ipa-visibility.c (function_and_variable_visibility): Disable
30354         temporarily local aliases for some targets.
30356 2014-06-20  Marek Polacek  <polacek@redhat.com>
30358         * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
30359         * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
30360         into SANITIZE_UNDEFINED.
30361         * doc/invoke.texi: Describe -fsanitize=bounds.
30362         * gimplify.c (gimplify_call_expr): Add gimplification of internal
30363         functions created in the FEs.
30364         * internal-fn.c: Move "internal-fn.h" after "tree.h".
30365         (expand_UBSAN_BOUNDS): New function.
30366         * internal-fn.def (UBSAN_BOUNDS): New internal function.
30367         * internal-fn.h: Don't define internal functions here.
30368         * opts.c (common_handle_option): Add -fsanitize=bounds.
30369         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
30370         BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
30371         * tree-core.h: Define internal functions here.
30372         (struct tree_base): Add ifn field.
30373         * tree-pretty-print.c: Include "internal-fn.h".
30374         (dump_generic_node): Handle functions without CALL_EXPR_FN.
30375         * tree.c (get_callee_fndecl): Likewise.
30376         (build_call_expr_internal_loc): New function.
30377         * tree.def (CALL_EXPR): Update description.
30378         * tree.h (CALL_EXPR_IFN): Define.
30379         (build_call_expr_internal_loc): Declare.
30380         * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
30381         types.
30382         (ubsan_type_descriptor): Change bool parameter to enum
30383         ubsan_print_style.  Adjust the code.  Add handling of
30384         UBSAN_PRINT_ARRAY.
30385         (ubsan_expand_bounds_ifn): New function.
30386         (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
30387         (ubsan_build_overflow_builtin): Likewise.
30388         (instrument_bool_enum_load): Likewise.
30389         (ubsan_instrument_float_cast): Likewise.
30390         * ubsan.h (enum ubsan_print_style): New enum.
30391         (ubsan_expand_bounds_ifn): Declare.
30392         (ubsan_type_descriptor): Adjust declaration.  Use a default parameter.
30394 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30396         * config/rs6000/rs6000.md: Append `DONE' to preparation
30397         statements of `bswap' pattern splitters.
30399 2014-06-20  Tom de Vries  <tom@codesourcery.com>
30401         * target.def (call_fusage_contains_non_callee_clobbers): Update
30402         definition.
30403         * doc/tm.texi: Regenerate.
30405 2014-06-20  Yury Gribov  <y.gribov@samsung.com>
30406             Max Ostapenko  <m.ostapenko@partner.samsung.com>
30408         PR sanitizer/61547
30409         * asan.c (instrument_strlen_call): Fixed instrumentation of
30410         trailing byte.
30412 2014-06-20  Martin Jambor  <mjambor@suse.cz>
30414         PR ipa/61540
30415         * ipa-prop.c (impossible_devirt_target): New function.
30416         (try_make_edge_direct_virtual_call): Use it, also instead of
30417         asserting.
30419 2014-06-20  Yury Gribov  <y.gribov@samsung.com>
30420             Max Ostapenko  <m.ostapenko@partner.samsung.com>
30422         PR sanitizer/61530
30423         * asan.c (build_check_stmt): Add condition.
30425 2014-06-20  Martin Jambor  <mjambor@suse.cz>
30427         PR ipa/61211
30428         * cgraph.c (clone_of_p): Allow skipped_branch to deal with
30429         expanded clones.
30431 2014-06-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
30433         * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
30434         Update comments.
30435         (VCONQ): Make comment more helpful.
30436         (VCON): Delete.
30437         * config/aarch64/aarch64-simd.md
30438         (aarch64_sqdmulh_lane<mode>):
30439         Use VCOND for operands 2.  Update lane checking and flipping logic.
30440         (aarch64_sqrdmulh_lane<mode>): Likewise.
30441         (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
30442         (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
30443         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
30444         attribute of operand 3 to VCOND.
30445         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
30446         (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
30447         (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
30448         (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
30449         (aarch64_sqdmull2_lane<mode>_internal): Likewise.
30450         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
30451         define_insn.
30452         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
30453         (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
30454         (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
30455         (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
30456         (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
30457         (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
30458         operand to VCOND.  Update lane flipping and bounds checking logic.
30459         (aarch64_sqdmlal2_lane<mode>): Likewise.
30460         (aarch64_sqdmlsl_lane<mode>): Likewise.
30461         (aarch64_sqdmull_lane<mode>): Likewise.
30462         (aarch64_sqdmull2_lane<mode>): Likewise.
30463         (aarch64_sqdmlal_laneq<mode>):
30464         Replace VCON usage with VCONQ.
30465         Emit aarch64_sqdmlal_laneq<mode>_internal insn.
30466         (aarch64_sqdmlal2_laneq<mode>): Emit
30467         aarch64_sqdmlal2_laneq<mode>_internal insn.
30468         Replace VCON with VCONQ.
30469         (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
30470         (aarch64_sqdmlsl2_laneq<mode>): Likewise.
30471         (aarch64_sqdmull_laneq<mode>): Emit
30472         aarch64_sqdmull_laneq<mode>_internal insn.
30473         Replace VCON with VCONQ.
30474         (aarch64_sqdmull2_laneq<mode>): Emit
30475         aarch64_sqdmull2_laneq<mode>_internal insn.
30476         (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
30477         * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
30478         of 3rd argument to int16x4_t.
30479         (vqdmlalh_lane_s16): Likewise.
30480         (vqdmlslh_lane_s16): Likewise.
30481         (vqdmull_high_lane_s16): Likewise.
30482         (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
30483         (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
30484         (vqdmlsl_lane_s16): Likewise.
30485         (vqdmull_lane_s16): Don't create temporary int16x8_t value.
30486         (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
30487         (vqdmlals_lane_s32): Likewise.
30488         (vqdmlsls_lane_s32): Likewise.
30489         (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
30490         (vqdmulls_lane_s32): Likewise.
30491         (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
30492         (vqdmlsl_lane_s32): Likewise.
30493         (vqdmull_lane_s32): Don't create temporary int32x4_t value.
30494         (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
30495         (vqrdmulhh_lane_s16): Likewise.
30496         (vqdmlsl_high_lane_s16): Likewise.
30497         (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
30498         (vqdmlsl_high_lane_s32): Likewise.
30499         (vqrdmulhs_lane_s32): Likewise.
30501 2014-06-20  Tom de Vries  <tom@codesourcery.com>
30503         * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
30504         get_call_reg_set_usage.
30506 2014-06-20  Tom de Vries  <tom@codesourcery.com>
30508         * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
30509         it contains all call_used_regs.
30511 2014-06-20  Tom de Vries  <tom@codesourcery.com>
30513         * final.c (collect_fn_hard_reg_usage): Add and use variable
30514         function_used_regs.
30516 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
30518         * cgraph.h (struct symtab_node): Add field in_init_priority_hash
30519         (set_init_priority, get_init_priority, set_fini_priority,
30520         get_fini_priority): New methods.
30521         * tree.c (init_priority_for_decl): Remove.
30522         (init_ttree): Do not initialize init priority.
30523         (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
30524         (decl_priority_info): Remove.
30525         (decl_init_priority_insert): Rewrite.
30526         (decl_fini_priority_insert): Rewrite.
30527         * tree.h (tree_priority_map_eq, tree_priority_map_hash,
30528         tree_priority_map_marked_p): Remove.
30529         * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
30530         * lto-streamer-out.c (hash_tree): Do not hash priorities.
30531         * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
30532         not output priorities.
30533         (pack_ts_function_decl_value_fields): Likewise.
30534         * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
30535         not input priorities.
30536         (unpack_ts_function_decl_value_fields): Likewise.
30537         * symtab.c (symbol_priority_map): Declare.
30538         (init_priority_hash): Declare.
30539         (symtab_unregister_node): Unregister from priority hash, too.
30540         (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
30541         New methods.
30542         (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
30543         (symbol_priority_info): New function.
30544         (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
30545         New methods.
30546         * tree-core.h (tree_priority_map): Remove.
30548 2014-06-20  Jakub Jelinek  <jakub@redhat.com>
30550         * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
30551         0xff to uint64_t before shifting it up.
30553 2014-06-20  Julian Brown  <julian@codesourcery.com>
30554             Chung-Lin Tang  <cltang@codesourcery.com>
30556         * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
30557         TARGET_THUMB1_ONLY. Add comments.
30559 2014-06-19  Tom de Vries  <tom@codesourcery.com>
30561         * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
30562         return type to void.
30563         * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
30565 2014-06-19  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
30567         * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
30568         as "move", from depends_on.
30570 2014-06-19  Terry Guo  <terry.guo@arm.com>
30572         * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
30573         stage.
30575 2014-06-18  Segher Boessenkool  <segher@kernel.crashing.org>
30577         * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
30578         Remove cr5.
30579         (REG_ALLOC_ORDER): Update comment.  Move cr5 earlier.
30581 2014-06-18  Kaz Kojima  <kkojima@gcc.gnu.org>
30583         PR target/61550
30584         * config/sh/sh.c (prepare_move_operands): Don't process TLS
30585         addresses here if reload in progress or completed.
30587 2014-06-18  Robert Suchanek  <robert.suchanek@imgtec.com>
30589         * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
30590         "TARGET_MIPS16 ? M16_REGS : GR_REGS".
30591         * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
30592         (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
30593         (mips_register_priority): New function that implements the target
30594         hook TARGET_REGISTER_PRIORITY.
30595         (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
30596         (mips_lra_p): Likewise for TARGET_LRA_P.
30597         (TARGET_REGISTER_PRIORITY): Define macro.
30598         (TARGET_SPILL_CLASS): Likewise.
30599         (TARGET_LRA_P): Likewise.
30600         * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
30601         classes.
30602         (REG_CLASS_NAMES): Likewise.
30603         (REG_CLASS_CONTENTS): Likewise.
30604         (BASE_REG_CLASS): Use M16_SP_REGS.
30605         * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
30606         New set attribute to enable alternatives depending on the register
30607         allocator used.
30608         (*mul_acc_si_r3900, *mul_sub_si): Likewise.
30609         (*lea64): Disable pattern for MIPS16.
30610         * config/mips/mips.opt (mlra): New option.
30612 2014-06-18  Robert Suchanek  <robert.suchanek@imgtec.com>
30614         * lra-constraints.c (base_to_reg): New function.
30615         (process_address): Use new function.
30617 2014-06-18  Tom de Vries  <tom@codesourcery.com>
30619         * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
30620         * config/aarch64/aarch64.c
30621         (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
30622         (aarch64_emit_call_insn): New function.
30623         (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
30624         of emit_call_insn.
30625         * config/aarch64/aarch64.md (define_expand "call_internal")
30626         (define_expand "call_value_internal", define_expand "sibcall_internal")
30627         (define_expand "sibcall_value_internal"): New.
30628         (define_expand "call", define_expand "call_value")
30629         (define_expand "sibcall", define_expand "sibcall_value"): Use internal
30630         expand variant and aarch64_emit_call_insn.
30632 2014-06-18  Radovan Obradovic  <robradovic@mips.com>
30633             Tom de Vries  <tom@codesourcery.com>
30635         * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
30636         * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
30637         Redefine to true.
30638         (arm_emit_call_insn): Add and use sibcall parameter.  Add IP and CC
30639         clobbers to CALL_INSN_FUNCTION_USAGE.
30640         (define_expand "sibcall_internal")
30641         (define_expand "sibcall_value_internal"): New.
30642         (define_expand "call", define_expand "call_value"): Add argument to
30643         arm_emit_call_insn.
30644         (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
30645         (define_expand "sibcall_value"): Use sibcall_value_internal and
30646         arm_emit_call_insn.
30648 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30650         * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
30652 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30654         * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
30655         __udivmoddi4.
30657 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30659         * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
30660         push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
30661         annotations. Fix DWARF information.
30663 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30665         * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
30666         __udivmoddi4, and fixups for negative operands.
30668 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30670         * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
30672 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30674         * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
30675         to __udivmoddi4.
30677 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30679         * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
30680         manipulation.
30682 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30684         * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
30685         describing register usage on function entry and exit.
30687 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30689         * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
30690         (__aeabi_ldivmod): Fix whitespace.
30692 2014-06-18  Andreas Schwab  <schwab@suse.de>
30694         * doc/md.texi (Standard Names): Use @itemx for grouped items.
30695         Remove blank line after @item.
30697 2014-06-18  Richard Henderson  <rth@redhat.com>
30699         PR target/61545
30700         * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
30702 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
30704         * config/arm/arm.c (neon_vector_mem_operand): Allow register
30705         POST_MODIFY for neon loads and stores.
30706         (arm_print_operand): Output post-index register for neon loads and
30707         stores.
30709 2014-06-18  Richard Biener  <rguenther@suse.de>
30711         * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
30713 2014-06-18  Richard Biener  <rguenther@suse.de>
30715         * tree-pass.h (make_pass_dce_loop): Remove.
30716         * passes.def: Replace pass_dce_loop with pass_dce.
30717         * tree-ssa-dce.c (perform_tree_ssa_dce): If something
30718         changed free niter estimates and reset the scev cache.
30719         (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
30720         make_pass_dce_loop): Remove.
30721         * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
30722         (fini_copy_prop): Return whether something changed.  Always
30723         let substitute_and_fold perform DCE and free niter estimates
30724         and reset the scev cache if so.
30725         (execute_copy_prop): If sth changed schedule cleanup-cfg.
30726         (pass_data_copy_prop): Do not unconditionally schedule
30727         cleanup-cfg or update-ssa.
30729 2014-06-18  Yuri Rumyantsev  <ysrumyan@gmail.com>
30731         PR tree-optimization/61518
30732         * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
30733         reduction var is used in reduction stmt or phi-function only.
30735 2014-06-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
30737         * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
30739 2014-06-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
30741         PR tree-optimization/61517
30742         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
30743         whose rhs's first tree is the source expression instead of the
30744         expression itself.
30745         (find_bswap_or_nop): Likewise.
30746         (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
30747         gimple stmt whose rhs's first tree is the source. In the memory source
30748         case, move the stmt to be replaced close to one of the original load to
30749         avoid the problem of a store between the load and the stmt's original
30750         location.
30751         (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
30752         signature.
30754 2014-06-18  Andreas Schwab  <schwab@suse.de>
30756         PR rtl-optimization/54555
30757         * postreload.c (move2add_use_add2_insn): Substitute
30758         STRICT_LOW_PART only if it is cheaper.
30760 2014-06-18  Uros Bizjak  <ubizjak@gmail.com>
30762         * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
30763         Do not use unspec as call operand.  Use memory_operand instead of
30764         memory_nox32_operand and add "m" operand constraint.  Disable
30765         pattern for TARGET_X32.
30766         (*sibcall_pop_memory): Ditto.
30767         (*sibcall_value_memory): Ditto.
30768         (*sibcall_value_pop_memory): Ditto.
30769         (sibcall peepholes): Merge SImode and DImode patterns using
30770         W mode iterator.  Use memory_operand instead of memory_nox32_operand.
30771         Disable pattern for TARGET_X32.  Check if eliminated register is
30772         really dead after call insn.  Generate call RTX without unspec operand.
30773         (sibcall_value peepholes): Ditto.
30774         (sibcall_pop peepholes): Fix call insn RTXes.  Use memory_operand
30775         instead of memory_nox32_operand.  Check if eliminated register is
30776         really dead after call insn. Generate call RTX without unspec operand.
30777         (sibcall_value_pop peepholes): Ditto.
30778         * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
30780 2014-06-18  Terry Guo  <terry.guo@arm.com>
30782         PR target/61544
30783         * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
30784         reach the head.
30786 2014-06-18  Olivier Hainque  <hainque@adacore.com>
30788         * tree-core.h (tree_block): Add an "end_locus" field, allowing
30789         memorization of the end of block source location.
30790         * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
30791         * gimplify.c (gimplify_bind_expr): Propagate the block start and
30792         end source location info we have on the block entry/exit code we
30793         generate.
30795 2014-06-18  Richard Biener  <rguenther@suse.de>
30797         * common.opt (fssa-phiopt): New option.
30798         * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
30799         but not with -Og.
30800         * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
30801         * doc/invoke.texi (-fssa-phiopt): Document.
30803 2014-06-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
30805         * genattrtab.c (n_bypassed): New variable.
30806         (process_bypasses): Initialise n_bypassed.
30807         Count number of bypassed reservations.
30808         (make_automaton_attrs): Allocate space for bypassed reservations
30809         rather than number of bypasses.
30811 2014-06-18  Richard Biener  <rguenther@suse.de>
30813         * tree-ssa-propagate.c (replace_phi_args_in): Return whether
30814         we propagated anything.
30815         (substitute_and_fold_dom_walker::before_dom_children): Something
30816         changed if we propagated into PHI arguments.
30817         * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
30818         we removed a stmt.
30820 2014-06-18  Evgeny Stupachenko  <evstupac@gmail.com>
30822         * config/i386/i386.c (ix86_reassociation_width): Add alternative for
30823         vector case.
30824         * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
30825         * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
30826         * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
30827         Introduces alternative way of loads group permutaions.
30828         (vect_transform_grouped_load): Try alternative way of permutations.
30830 2014-06-18  Jakub Jelinek  <jakub@redhat.com>
30832         * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
30833         changed in ORT_TARGET region, don't jump to do_outer.
30834         (struct gimplify_adjust_omp_clauses_data): New type.
30835         (gimplify_adjust_omp_clauses_1): Adjust for data being
30836         a struct gimplify_adjust_omp_clauses_data pointer instead
30837         of tree *.  Pass pre_p as a new argument to
30838         lang_hooks.decls.omp_finish_clause hook.
30839         (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
30840         splay_tree_foreach to pass both list_p and pre_p.
30841         (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
30842         gimplify_omp_workshare, gimplify_omp_target_update): Adjust
30843         gimplify_adjust_omp_clauses callers.
30844         * langhooks.c (lhd_omp_finish_clause): New function.
30845         * langhooks-def.h (lhd_omp_finish_clause): New prototype.
30846         (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
30847         * langhooks.h (struct lang_hooks_for_decls): Add a new
30848         gimple_seq * argument to omp_finish_clause hook.
30849         * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
30850         non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
30851         (scan_omp_parallel, lower_omp_for): When adding
30852         _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
30853         * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
30854         * tree-nested.c (convert_nonlocal_omp_clauses,
30855         convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
30856         * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
30858 2014-06-17  Andrew MacLeod  <amacleod@redhat.com>
30860         * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
30861         * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
30863 2014-06-17  Xinliang David Li  <davidxl@google.com>
30865         * tree-pretty-print.c (dump_function_header): Print cgraph uid.
30866         * passes.c (pass_init_dump_file): Do not set initialize
30867         flag to false unconditionally.
30869 2014-06-17  Richard Biener  <rguenther@suse.de>
30871         * genopinit.c (main): Use vec<>::qsort method.
30872         * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
30873         Likewise.
30874         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
30876 2014-06-17  Matthew Fortune  <matthew.fortune@imgtec.com>
30878         * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
30879         * config/mips/mips.c (mips_expand_fcc_reload): Remove.
30880         (mips_move_to_gpr_cost): Remove ST_REGS case.
30881         (mips_move_from_gpr_cost): Likewise.
30882         (mips_register_move_cost): Likewise.
30883         (mips_secondary_reload_class): Likewise.
30885 2014-06-17  Richard Biener  <rguenther@suse.de>
30887         * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
30888         (pass_all_optimizations): Move 3rd copy-prop pass from after
30889         fre to before ifcombine/phiopt.
30891 2014-06-17  Richard Biener  <rguenther@suse.de>
30893         * tree-switch-conversion.c (collect_switch_conv_info): Simplify
30894         and allow all blocks to be forwarders.
30896 2014-06-17  Yufeng Zhang  <yufeng.zhang@arm.com>
30898         PR target/61483
30899         * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
30900         variable 'size'; calculate 'size' right in the front; use
30901         'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
30902         pcum->aapcs_stack_words.
30904 2014-06-17  Nick Clifton  <nickc@redhat.com>
30906         * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
30907         (umulhi3, mulsidi3, umulsidi3): Likewise.
30909 2014-06-17  Thomas Schwinge  <thomas@codesourcery.com>
30911         PR middle-end/61508
30912         * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
30913         check for section name.
30915 2014-06-17  Richard Biener  <rguenther@suse.de>
30917         * tree-ssa-propagate.c: Include domwalk.h.
30918         (substitute_and_fold): Outline main worker into a domwalker ...
30919         (substitute_and_fold_dom_walker::before_dom_children): ... here.
30920         Schedule stmts we can fully propagate for removal.  Remove
30921         poor-mans DCE.
30922         (substitute_and_fold): Apply a dominator walk to perform
30923         substitution.  Process stmts scheduled for removal here.
30925 2014-06-17  Richard Biener  <rguenther@suse.de>
30927         * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
30928         of PHI node moving.
30930 2014-06-17  Kugan Vivekanandarajah  <kuganv@linaro.org>
30932         * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
30933         default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
30934         (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
30935         __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
30936         * config/arm/vfp.md (set_fpscr): Make pattern conditional on
30937         TARGET_HARD_FLOAT.
30938         (get_fpscr) : Likewise.
30940 2014-06-16  Vladimir Makarov  <vmakarov@redhat.com>
30942         PR rtl-optimization/61325
30943         * lra-constraints.c (valid_address_p): Add forward declaration.
30944         (simplify_operand_subreg): Check address validity before and after
30945         alter_reg of memory subreg.
30947 2014-06-16  Uros Bizjak  <ubizjak@gmail.com>
30949         * config/i386/i386.c (decide_alg): Correctly handle
30950         maximum size of stringop algorithm.
30952 2014-06-16  Yury Gribov  <y.gribov@samsung.com>
30954         * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
30956 2014-06-16  Vladimir Makarov  <vmakarov@redhat.com>
30958         PR rtl-optimization/61522
30959         * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
30961 2014-06-16  Jan Hubicka  <hubicka@ucw.cz>
30963         Revert:
30964         * symtab.c (symtab_node::reset_section): New method.
30965         * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
30966         for localization.
30967         * cgraph.h (reset_section): Declare.
30968         * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
30969         do not consider comdat locals.
30970         * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
30971         for new symbol.
30972         * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
30973         (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
30974         reset sections of symbols dragged out of the comdats.
30975         (function_and_variable_visibility): Reset sections of
30976         localized symbols.
30978 2014-06-16  Richard Biener  <rguenther@suse.de>
30980         PR tree-optimization/61482
30981         * tree-vrp.c (adjust_range_with_scev): Avoid setting of
30982         [-INF(OVF), +INF(OVF)] range.
30984 2014-06-16  Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
30986         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
30987         instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
30988         handling 32-bit multiplication.
30990 2014-06-16  Chung-Lin Tang  <cltang@codesourcery.com>
30992         PR middle-end/61430
30993         * lra-lives.c (process_bb_lives): Skip creating copy during
30994         insn scan when src/dest has constrained to same regno.
30996 2014-06-15  Jan Hubicka  <hubicka@ucw.cz>
30998         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
30999         DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
31001 2014-06-16  Yury Gribov  <y.gribov@samsung.com>
31003         * asan.c (check_func): New function.
31004         (maybe_create_ssa_name): Likewise.
31005         (build_check_stmt_with_calls): Likewise.
31006         (use_calls_p): Likewise.
31007         (report_error_func): Change interface.
31008         (build_check_stmt): Allow non-integer lengths; add support
31009         for new parameter.
31010         (asan_instrument): Likewise.
31011         (instrument_mem_region_access): Moved code to build_check_stmt.
31012         (instrument_derefs): Likewise.
31013         (instrument_strlen_call): Likewise.
31014         * cfgcleanup.c (old_insns_match_p): Add support for new functions.
31015         * doc/invoke.texi: Describe new parameter.
31016         * params.def: Define new parameter.
31017         * params.h: Likewise.
31018         * sanitizer.def: Describe new builtins.
31020 2014-06-16  Richard Biener  <rguenther@suse.de>
31022         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
31023         Make all defs available at the end.
31024         (eliminate): If we remove a PHI node schedule cfg-cleanup.
31026 2014-06-18  Jakub Jelinek  <jakub@redhat.com>
31028         PR plugins/45078
31029         * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
31031 2014-06-16  Richard Sandiford  <rdsandiford@googlemail.com>
31033         PR bootstrap/61516
31034         * auto-inc-dec.c (merge_in_block): Fix location of insn_info
31035         initialization.  Replace remaining use of uid.
31037 2014-06-15  Jan Hubicka  <hubicka@ucw.cz>
31039         * c-family/c-common.c (handle_tls_model_attribute): Use
31040         set_decl_tls_model.
31041         * c-family/c-common.c (handle_tls_model_attribute): Use
31042         set_decl_tls_model.
31043         * cgraph.h (struct varpool_node): Add tls_model.
31044         * tree.c (decl_tls_model, set_decl_tls_model): New functions.
31045         * tree.h (DECL_TLS_MODEL): Update.
31046         (DECL_THREAD_LOCAL_P): Check that variable is static.
31047         (decl_tls_model): Declare.
31048         (set_decl_tls_model): Declare.
31049         * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
31050         set symbol prorperties.
31051         (get_emutls_init_templ_addr): Cleanup.
31052         (new_emutls_decl): Update.
31053         * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
31054         (lto_input_varpool_node): Likewise.
31055         * lto-streamer-out.c (hash_tree): Likewise.
31056         * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
31057         not stream DECL_TLS_MODEL.
31058         * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
31059         * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
31061 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31063         * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
31065 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31067         * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
31068         (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
31069         lists.
31070         (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
31071         (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
31072         (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
31073         (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
31074         (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
31075         (df_get_artificial_defs, df_get_artificial_uses)
31076         (df_single_def, df_single_use): Update accordingly.
31077         (df_refs_chain_dump): Take the first element in a linked list as
31078         parameter, rather than a pointer to an array of pointers.
31079         * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
31080         * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
31081         (df_chain_create_bb_process_use): Likewise.
31082         (df_md_bb_local_compute_process_def): Likewise.
31083         * fwprop.c (process_defs, process_uses): Likewise.
31084         (register_active_defs, update_uses): Likewise.
31085         (forward_propagate_asm): Update for new df_ref linking.
31086         * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
31087         (df_null_ref_rec, df_null_mw_rec): Likewise.
31088         (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
31089         explicitly.
31090         (df_scan_free_bb_info): Remove check for null artificial_defs.
31091         (df_install_ref_incremental): Adjust for new df_ref linking.
31092         Use a single-element insertion rather than a full sort.
31093         (df_ref_chain_delete_du_chain): Take the first element
31094         in a linked list as parameter, rather than a pointer to an array of
31095         pointers.
31096         (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
31097         (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
31098         (df_insn_info_delete): Remove check for null defs and call to
31099         df_scan_free_mws_vec.
31100         (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
31101         null rather than df_null_*_rec.
31102         (df_insn_rescan_debug_internal): Likewise, and update null
31103         checks in the same way.  Remove check for null defs.
31104         (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
31105         Move a single element rather doing a full sort.
31106         (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
31107         linking.
31108         (df_notes_rescan): Likewise.  Use a merge rather than a full sort.
31109         Initialize df_ref and df_mw_hardreg lists to null rather than
31110         df_null_*_rec.
31111         (df_ref_compare): Take df_refs as parameter, transferring the
31112         old interface to...
31113         (df_ref_ptr_compare): ...this new function.
31114         (df_sort_and_compress_refs): Update accordingly.
31115         (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
31116         old interface to...
31117         (df_mw_ptr_compare): ...this new function.
31118         (df_sort_and_compress_mws): Update accordingly.
31119         (df_install_refs, df_install_mws): Return a linked list rather than
31120         an array of pointers.
31121         (df_refs_add_to_chains): Assert that old lists are empty rather
31122         than freeing them.
31123         (df_insn_refs_verify): Don't handle null defs speciailly.
31124         * web.c (union_match_dups): Update for new df_ref linking.
31126 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31128         * df.h (df_ref_create, df_ref_remove): Delete.
31129         * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
31130         (df_ref_remove): Likewise.
31132 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31134         * df.h (df_single_def, df_single_use): New functions.
31135         * ira.c (find_moveable_pseudos): Use them.
31137 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31139         * df.h (FOR_EACH_INSN_INFO_MW): New macro.
31140         * df-problems.c (df_note_bb_compute): Use it.
31141         * regstat.c (regstat_bb_compute_ri): Likewise.
31143 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31145         * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
31146         * cse.c (cse_extended_basic_block): Use them.
31147         * dce.c (mark_artificial_use): Likewise.
31148         * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
31149         (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
31150         (df_chain_remove_problem, df_chain_bb_dump): Likewise.
31151         (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
31152         (df_simulate_initialize_backwards): Likewise.
31153         (df_simulate_finalize_backwards): Likewise.
31154         (df_simulate_initialize_forwards): Likewise.
31155         (df_md_simulate_artificial_defs_at_top): Likewise.
31156         * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
31157         * regrename.c (init_rename_info): Likewise.
31158         * regstat.c (regstat_bb_compute_ri): Likewise.
31159         (regstat_bb_compute_calls_crossed): Likewise.
31161 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
31163         * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
31164         (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
31165         (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
31166         * auto-inc-dec.c (find_inc, merge_in_block): Use them.
31167         * combine.c (create_log_links): Likewise.
31168         * compare-elim.c (find_flags_uses_in_insn): Likewise.
31169         (try_eliminate_compare): Likewise.
31170         * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
31171         * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
31172         (remove_reg_equal_equiv_notes_for_defs): Likewise.
31173         (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
31174         (word_dce_process_block, dce_process_block): Likewise.
31175         * ddg.c (def_has_ccmode_p): Likewise.
31176         * df-core.c (df_bb_regno_first_def_find): Likewise.
31177         (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
31178         * df-problems.c (df_rd_simulate_one_insn): Likewise.
31179         (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
31180         (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
31181         (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
31182         (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
31183         (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
31184         (df_simulate_find_defs, df_simulate_find_uses): Likewise.
31185         (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
31186         (df_simulate_uses, df_md_simulate_one_insn): Likewise.
31187         * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
31188         * fwprop.c (local_ref_killed_between_p): Likewise.
31189         (all_uses_available_at, free_load_extend): Likewise.
31190         * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
31191         * hw-doloop.c (scan_loop): Likewise.
31192         * ifcvt.c (dead_or_predicable): Likewise.
31193         * init-regs.c (initialize_uninitialized_regs): Likewise.
31194         * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
31195         (process_bb_node_lives): Likewise.
31196         * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
31197         (find_moveable_pseudos): Likewise.
31198         * loop-invariant.c (check_dependencies, record_uses): Likewise.
31199         * recog.c (peep2_find_free_register): Likewise.
31200         * ree.c (get_defs): Likewise.
31201         * regstat.c (regstat_bb_compute_ri): Likewise.
31202         (regstat_bb_compute_calls_crossed): Likewise.
31203         * sched-deps.c (find_inc, find_mem): Likewise.
31204         * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
31205         (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
31206         * shrink-wrap.c (requires_stack_frame_p): Likewise.
31207         (prepare_shrink_wrap): Likewise.
31208         * store-motion.c (compute_store_table, build_store_vectors): Likewise.
31209         * web.c (union_defs, pass_web::execute): Likewise.
31210         * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
31211         (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
31213 2014-06-13  Vladimir Makarov  <vmakarov@redhat.com>
31215         * lra-assign.c (assign_by_spills): Add code to assign vector regs
31216         to inheritance pseudos.
31217         * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
31219 2014-06-13  Peter Bergner  <bergner@vnet.ibm.com>
31221         PR target/61415
31222         * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
31223         (BU_MISC_2): Rename to ...
31224         (BU_LDBL128_2): ... this.
31225         * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
31226         (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
31227         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
31228         RS6000_BTM_LDBL128.
31229         (rs6000_invalid_builtin): Add long double 128-bit builtin support.
31230         (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
31231         * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
31232         (unpacktf_1): Likewise.
31233         * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
31234         (__builtin_longdouble_dw1): Likewise.
31235         * doc/sourcebuild.texi (longdouble128): Document.
31237 2014-06-13  Jeff Law  <law@redhat.com>
31239         PR rtl-optimization/61094
31240         PR rtl-optimization/61446
31241         * ree.c (combine_reaching_defs): Get the mode for the copy from
31242         the extension insn rather than the defining insn.
31244 2014-06-13  Dehao Chen  <dehao@google.com>
31246         * dwarf2out.c (add_linkage_name): Emit more linkage name.
31248 2014-06-13  Thomas Schwinge  <thomas@codesourcery.com>
31250         * doc/install.texi (--enable-linker-plugin-configure-flags)
31251         (--enable-linker-plugin-flags): Document new flags.
31253 2014-06-13  Martin Jambor  <mjambor@suse.cz>
31255         PR ipa/61186
31256         * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
31257         cache_token if returning early.
31259 2014-06-13  Nick Clifton  <nickc@redhat.com>
31261         * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
31262         requested alignment is active.
31263         (LABEL_ALIGN): Likewise.
31264         (LOOP_ALIGN): Likewise.
31266 2014-06-13  Richard Biener  <rguenther@suse.de>
31268         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
31269         Rewrite to propagate the VN result into all uses where
31270         possible and to remove stmts becoming dead because of that.
31271         (eliminate): Generalize stmt removal handling, remove in
31272         reverse dominator order to support proper debug stmt
31273         generation.  Update stmts before removing stmts.
31274         * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
31276 2014-06-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
31278         PR tree-optimization/61375
31279         * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
31280         symbolic number cannot be represented in an uint64_t.
31281         (find_bswap_or_nop_1): Likewise.
31283 2014-06-12  Jan Hubicka  <hubicka@ucw.cz>
31285         * symtab.c (symtab_node::reset_section): New method.
31286         * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
31287         for localization.
31288         * cgraph.h (reset_section): Declare.
31289         * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
31290         do not consider comdat locals.
31291         * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
31292         for new symbol.
31293         * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
31294         (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
31295         reset sections of symbols dragged out of the comdats.
31296         (function_and_variable_visibility): Reset sections of
31297         localized symbols.
31299 2014-06-12  Jan Hubicka  <hubicka@ucw.cz>
31301         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
31302         to use symtab and decl_binds_to_current_def_p
31303         * tree-vectorizer.c (increase_alignment): Increase alignment
31304         of alias target, too.
31306 2014-06-12  Jakub Jelinek  <jakub@redhat.com>
31308         PR middle-end/61486
31309         * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
31310         (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
31311         if outer combined construct is distribute.
31312         (gimplify_omp_for): For OMP_DISTRIBUTE set
31313         gimplify_omp_ctxp->distribute.
31314         * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
31315         GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
31316         mapping into decl map.
31318 2014-06-12  Jason Merrill  <jason@redhat.com>
31320         * common.opt (fabi-version): Change default to 0.
31322 2014-06-12  Jason Merrill  <jason@redhat.com>
31324         * toplev.c (process_options): Reject -fabi-version=1.
31326 2014-06-12  Jeff Law  <law@redhat.com>
31328         PR tree-optimization/61009
31329         * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
31330         value when we stop processing a block due to problematic PHIs.
31332 2014-06-12  Alan Lawrence  <alan.lawrence@arm.com>
31334         * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
31335         vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
31336         vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
31337         vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
31338         vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
31339         vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
31340         vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
31341         are not in the spec.
31343 2014-06-10  Alan Lawrence  <alan.lawrence@arm.com>
31345         PR target/59843
31346         * config/aarch64/aarch64-modes.def: Add V1DFmode.
31347         * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
31348         Support V1DFmode.
31350 2014-06-12  Eric Botcazou  <ebotcazou@adacore.com>
31352         * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
31354 2014-06-12  Georg-Johann Lay  <avr@gjlay.de>
31356         PR target/61443
31357         * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
31358         loading from address spaces.
31360 2014-06-12  Martin Liska  <mliska@suse.cz>
31362         PR ipa/61462
31363         * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
31364         statement is reachable.
31366 2014-06-11  Jan Hubicka  <hubicka@ucw.cz>
31368         * symtab.c (section_hash): New hash.
31369         (symtab_unregister_node): Clear section before freeing.
31370         (hash_section_hash_entry): New haser.
31371         (eq_sections): New function.
31372         (symtab_node::set_section_for_node): New method.
31373         (set_section_1): Update.
31374         (symtab_node::set_section): Take string instead of tree as parameter.
31375         (symtab_resolve_alias): Update.
31376         * cgraph.h (section_hash_entry_d): New structure.
31377         (section_hash_entry): New typedef.
31378         (cgraph_node): Change comdat_group_ to x_comdat_group,
31379         change section_ to x_section and turn into section_hash_entry;
31380         update accestors; put set_section_for_node offline.
31381         * tree.c (decl_section_name): Turn into string.
31382         (set_decl_section_name): Change parameter to be string.
31383         * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
31384         * sdbout.c (sdbout_one_type): Update.
31385         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
31386         * varasm.c (IN_NAMED_SECTION, get_named_section,
31387         resolve_unique_section, hot_function_section, get_named_text_section,
31388         USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
31389         make_decl_rtl, default_unique_section): Update.
31390         * config/c6x/c6x.c (c6x_in_small_data_p): Update.
31391         (c6x_elf_unique_section): Update.
31392         * config/nios2/nios2.c (nios2_in_small_data_p): Update.
31393         * config/pa/pa.c (pa_function_section): Update.
31394         * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
31395         * config/ia64/ia64.c (ia64_in_small_data_p): Update.
31396         * config/arc/arc.c (arc_in_small_data_p): Update.
31397         * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
31398         * config/mcore/mcore.c (mcore_unique_section): Update.
31399         * config/mips/mips.c (mips16_build_function_stub): Update.
31400         (mips16_build_call_stub): Update.
31401         (mips_function_rodata_section): Update.
31402         (mips_in_small_data_p): Update.
31403         * config/score/score.c (score_in_small_data_p): Update.
31404         * config/rx/rx.c (rx_in_small_data): Update.
31405         * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
31406         (rs6000_xcoff_asm_named_section): Update.
31407         (rs6000_xcoff_unique_section): Update.
31408         * config/frv/frv.c (frv_string_begins_with): Update.
31409         (frv_in_small_data_p): Update.
31410         * config/v850/v850.c (v850_encode_data_area): Update.
31411         * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
31412         (bfin_handle_l1_data_attribute): Update.
31413         (bfin_handle_l2_attribute): Update.
31414         * config/mep/mep.c (mep_unique_section): Update.
31415         * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
31416         Update.
31417         * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
31418         (h8300_handle_tiny_data_attribute): Update.
31419         * config/m32r/m32r.c (m32r_in_small_data_p): Update.
31420         (m32r_in_small_data_p): Update.
31421         * config/alpha/alpha.c (alpha_in_small_data_p): Update.
31422         * config/i386/i386.c (ix86_in_large_data_p): Update.
31423         * config/i386/winnt.c (i386_pe_unique_section): Update.
31424         * config/darwin.c (darwin_function_section): Update.
31425         * config/lm32/lm32.c (lm32_in_small_data_p): Update.
31426         * tree-emutls.c (get_emutls_init_templ_addr): Update.
31427         (new_emutls_decl): Update.
31428         * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
31429         input_varpool_node): Update.
31430         (ead_string_cst): Turn to ...
31431         (read_string): ... this one.
31432         * dwarf2out.c (secname_for_decl): Update.
31433         * asan.c (asan_protect_global): Update.
31435 2014-06-11  DJ Delorie  <dj@redhat.com>
31437         * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
31438         cache lines.
31439         * config/rx/rx.c (rx_option_override): Likewise.
31440         (rx_align_for_label): Likewise.
31442         * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
31444 2014-06-11  Maciej W. Rozycki  <macro@codesourcery.com>
31446         * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
31447         prototype.
31449 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31451         * common.md: New file.
31452         * doc/md.texi: Update description of generic, machine-independent
31453         constraints.
31454         * config/s390/constraints.md (e): Delete.
31455         * Makefile.in (md_file): Include common.md.
31456         * config/m32c/t-m32c (md_file): Likewise.
31457         * genpreds.c (general_mem): New array.
31458         (generic_constraint_letters): Remove constraints now defined by
31459         common.md.
31460         (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
31461         Allow the first character to be '<' or '>' as well.
31462         * genoutput.c (general_mem): New array.
31463         (indep_constraints): Remove constraints now defined by common.md.
31464         (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
31465         Remove special handling of 'm'.
31466         * ira-costs.c (record_reg_classes): Remove special handling of
31467         constraints now defined by common.md.
31468         * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
31469         * ira-lives.c (single_reg_class): Likewise.
31470         (ira_implicitly_set_insn_hard_regs): Likewise.
31471         * lra-constraints.c (reg_class_from_constraints): Likewise.
31472         (process_alt_operands, process_address, curr_insn_transform): Likewise.
31473         * postreload.c (reload_cse_simplify_operands): Likewise.
31474         * reload.c (push_secondary_reload, scratch_reload_class)
31475         (find_reloads, alternative_allows_const_pool_ref): Likewise.
31476         * reload1.c (maybe_fix_stack_asms): Likewise.
31477         * targhooks.c (default_secondary_reload): Likewise.
31478         * stmt.c (parse_output_constraint): Likewise.
31479         * recog.c (preprocess_constraints): Likewise.
31480         (constrain_operands, peep2_find_free_register): Likewise.
31481         (asm_operand_ok): Likewise, but add a comment saying why 'o'
31482         must be handled specially.
31484 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31486         * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
31487         * genpreds.c (have_const_dbl_constraints): Delete.
31488         (add_constraint): Don't set it.
31489         (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
31490         * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
31491         constraints using the lookup_constraint logic.
31492         * ira-lives.c (single_reg_class): Likewise.
31493         * ira.c (ira_setup_alts): Likewise.
31494         * lra-constraints.c (process_alt_operands): Likewise.
31495         * recog.c (asm_operand_ok, constrain_operands): Likewise.
31496         * reload.c (find_reloads): Likewise.
31498 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31500         * genpreds.c (const_int_start, const_int_end): New variables.
31501         (choose_enum_order): Output CONST_INT constraints before memory
31502         constraints.
31503         (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
31504         Add CT_CONST_INT.
31505         * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
31506         * ira.c (ira_setup_alts): Likewise.
31507         * lra-constraints.c (process_alt_operands): Likewise.
31508         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
31509         * reload.c (find_reloads): Likewise.
31511 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31513         * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
31514         decmem_ok and incmem_ok.  Reformat other bitfields for consistency.
31515         * recog.c (preprocess_constraints): Update accordingly.
31517 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31519         * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
31520         (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
31521         (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
31522         * genpreds.c (print_type_tree): New function.
31523         (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
31524         REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
31525         EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
31526         Write out enum constraint_type and get_constraint_type.
31527         * lra-constraints.c (satisfies_memory_constraint_p): Take a
31528         constraint_num rather than a constraint string.
31529         (satisfies_address_constraint_p): Likewise.
31530         (reg_class_from_constraints): Avoid old constraint macros.
31531         (process_alt_operands, process_address_1): Likewise.
31532         (curr_insn_transform): Likewise.
31533         * ira-costs.c (record_reg_classes): Likewise.
31534         (record_operand_costs): Likewise.
31535         * ira-lives.c (single_reg_class): Likewise.
31536         (ira_implicitly_set_insn_hard_regs): Likewise.
31537         * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
31538         * postreload.c (reload_cse_simplify_operands): Likewise.
31539         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
31540         (constrain_operands, peep2_find_free_register): Likewise.
31541         * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
31542         (find_reloads, alternative_allows_const_pool_ref): Likewise.
31543         * reload1.c (maybe_fix_stack_asms): Likewise.
31544         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
31545         * targhooks.c (default_secondary_reload): Likewise.
31546         * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
31547         to EXTRA_CONSTRAINT_STR.
31548         * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
31550 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31552         * genpreds.c (write_constraint_satisfied_p_1): Replace with...
31553         (write_constraint_satisfied_p_array): ...this new function.
31554         (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
31555         an array.
31556         (write_insn_preds_c): Update accordingly.
31558 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31560         * genpreds.c (write_lookup_constraint): Rename to...
31561         (write_lookup_constraint_1): ...this.
31562         (write_lookup_constraint_array): New function.
31563         (write_tm_preds_h): Define lookup_constraint as an inline function
31564         that uses write_lookup_constraint_array where possible.
31565         (write_insn_preds_c): Update for the changes above.
31567 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
31569         * doc/md.texi (regclass_for_constraint): Rename to...
31570         (reg_class_for_constraint): ...this.
31571         * genpreds.c (num_constraints, enum_order, register_start)
31572         (register_end, satisfied_start, memory_start, memory_end)
31573         (address_start, address_end): New variables.
31574         (add_constraint): Count the number of constraints.
31575         (choose_enum_order): New function.
31576         (write_enum_constraint_num): Iterate over enum_order.
31577         (write_regclass_for_constraint): Rename to...
31578         (write_reg_class_for_constraint_1): ...this and update output
31579         accordingly.
31580         (write_constraint_satisfied_p): Rename to...
31581         (write_constraint_satisfied_p_1): ...this and update output
31582         accordingly.  Do nothing if all extra constraints are register
31583         constraints.
31584         (write_insn_extra_memory_constraint): Delete.
31585         (write_insn_extra_address_constraint): Delete.
31586         (write_range_function): New function.
31587         (write_tm_preds_h): Define constraint_satisfied_p and
31588         reg_class_for_constraint as inline functions that do a range check
31589         before calling the out-of-line function.  Use write_range_function
31590         to implement insn_extra_{register,memory,address}_constraint,
31591         the first of which is new.
31592         (write_insn_preds_c): Update after above changes to write_* functions.
31593         (main): Call choose_enum_order.
31595 2014-06-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>
31597         PR tree-optimization/61306
31598         * tree-ssa-math-opts.c (struct symbolic_number): Store type of
31599         expression instead of its size.
31600         (do_shift_rotate): Adapt to change in struct symbolic_number. Return
31601         false to prevent optimization when the result is unpredictable due to
31602         arithmetic right shift of signed type with highest byte is set.
31603         (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
31604         (init_symbolic_number): Likewise.
31605         (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
31606         when the result is unpredictable due to sign extension.
31608 2014-06-11  Terry Guo  <terry.guo@arm.com>
31610         * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
31611         (*thumb1_addsi3): Ditto.
31612         (*thumb_subdi3): Ditto.
31613         (thumb1_subsi3_insn): Ditto.
31614         (*thumb_mulsi3): Ditto.
31615         (*thumb_mulsi3_v6): Ditto.
31616         (*thumb1_andsi3_insn): Ditto.
31617         (thumb1_bicsi3): Ditto.
31618         (*thumb1_iorsi3_insn): Ditto.
31619         (*thumb1_xorsi3_insn): Ditto.
31620         (*thumb1_ashlsi3): Ditto.
31621         (*thumb1_ashrsi3): Ditto.
31622         (*thumb1_lshrsi3): Ditto.
31623         (*thumb1_rotrsi3): Ditto.
31624         (*thumb1_negdi2): Ditto.
31625         (*thumb1_negsi2): Ditto.
31626         (*thumb1_abssi2): Ditto.
31627         (*thumb1_neg_abssi2): Ditto.
31628         (*thumb1_one_cmplsi2): Ditto.
31629         (*thumb1_zero_extendhisi2): Ditto.
31630         (*thumb1_zero_extendqisi2): Ditto.
31631         (*thumb1_zero_extendqisi2_v6): Ditto.
31632         (thumb1_extendhisi2): Ditto.
31633         (thumb1_extendqisi2): Ditto.
31634         (*thumb1_movdi_insn): Ditto.
31635         (*thumb1_movsi_insn): Ditto.
31636         (*thumb1_movhi_insn): Ditto.
31637         (thumb_movhi_clobber): Ditto.
31638         (*thumb1_movqi_insn): Ditto.
31639         (*thumb1_movhf): Ditto.
31640         (*thumb1_movsf_insn): Ditto.
31641         (*thumb_movdf_insn): Ditto.
31642         (movmem12b): Ditto.
31643         (movmem8b): Ditto.
31644         (cbranchqi4): Ditto.
31645         (cbranchsi4_insn): Ditto.
31646         (cbranchsi4_scratch): Ditto.
31647         (*negated_cbranchsi4): Ditto.
31648         (*tbit_cbranch): Ditto.
31649         (*tlobits_cbranch): Ditto.
31650         (*tstsi3_cbranch): Ditto.
31651         (*cbranchne_decr1): Ditto.
31652         (*addsi3_cbranch): Ditto.
31653         (*addsi3_cbranch_scratch): Ditto.
31654         (*thumb_cmpdi_zero): Ditto.
31655         (cstoresi_eq0_thumb1): Ditto.
31656         (cstoresi_ne0_thumb1): Ditto.
31657         (*cstoresi_eq0_thumb1_insn): Ditto.
31658         (*cstoresi_ne0_thumb1_insn): Ditto.
31659         (cstoresi_nltu_thumb1): Ditto.
31660         (cstoresi_ltu_thumb1): Ditto.
31661         (thumb1_addsi3_addgeu): Ditto.
31662         (*thumb_jump): Ditto.
31663         (*call_reg_thumb1_v5): Ditto.
31664         (*call_reg_thumb1): Ditto.
31665         (*call_value_reg_thumb1_v5): Ditto.
31666         (*call_value_reg_thumb1): Ditto.
31667         (*call_insn): Ditto.
31668         (*call_value_insn): Ditto.
31669         (thumb1_casesi_internal_pic): Ditto.
31670         (thumb1_casesi_dispatch): Ditto.
31671         (*thumb1_indirect_jump): Ditto.
31672         (prologue_thumb1_interwork): Ditto.
31673         (*epilogue_insns): Ditto.
31674         (consttable_1): Ditto.
31675         (consttable_2): Ditto.
31676         (tablejump): Ditto.
31677         (*thumb1_tablejump): Ditto.
31678         (thumb_eh_return): Ditto.
31679         (define_peephole2): Two of them are thumb1 only and got moved into
31680         new file thumb1.md.
31681         (define_split): Six of them are thumb1 only and got moved into new
31682         file thumb1.md.
31683         * config/arm/thumb1.md: New file comprised of above thumb1 only
31684         patterns.
31686 2014-06-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
31688         * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
31689         * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
31690         dependencies.
31691         * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
31692         (aarch64_crc_builtin_datum): New struct.
31693         (aarch64_crc_builtin_data): New.
31694         (aarch64_init_crc32_builtins): New function.
31695         (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
31696         (aarch64_crc32_expand_builtin): New.
31697         (aarch64_expand_builtin): Add CRC32 builtin expansion case.
31698         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
31699         __ARM_FEATURE_CRC32 when appropriate.
31700         (TARGET_CRC32): Define.
31701         * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
31702         UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
31703         UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
31704         (aarch64_<crc_variant>): New pattern.
31705         * config/aarch64/arm_acle.h: New file.
31706         * config/aarch64/iterators.md (CRC): New int iterator.
31707         (crc_variant, crc_mode): New int attributes.
31708         * doc/aarch64-acle-intrinsics.texi: New file.
31709         * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
31710         Include aarch64-acle-intrinsics.texi.
31712 2014-06-11  Evgeny Stupachenko  <evstupac@gmail.com>
31714         * tree-vect-data-refs.c (vect_grouped_store_supported): New
31715         check for stores group of length 3.
31716         (vect_permute_store_chain): New permutations for stores group of
31717         length 3.
31718         * tree-vect-stmts.c (vect_model_store_cost): Change cost
31719         of vec_perm_shuffle for the new permutations.
31721 2014-06-11  Jan Hubicka  <hubicka@ucw.cz>
31723         * ipa-visibility.c (function_and_variable_visibility): Disable virtual
31724         table rewriting temporarily on targets not supporting ONE_ONLY.
31726 2014-06-11  Richard Biener  <rguenther@suse.de>
31728         PR middle-end/61437
31729         Revert
31730         2014-06-04  Richard Biener  <rguenther@suse.de>
31732         * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
31733         TREE_PUBLIC and DECL_EXTERNAL decls.
31735 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
31737         * varasm.c (set_implicit_section): New function.
31738         (resolve_unique_section): Use it to set implicit section
31739         for aliases, too.
31740         (get_named_text_section): Use symtab_get_node (decl)->implicit_section
31741         (default_function_section): Likewise.
31742         (decl_binds_to_current_def_p): Constify argument.
31743         * varasm.h (decl_binds_to_current_def_p): Update prototype.
31744         * asan.c (asan_protect_global): Use
31745         symtab_get_node (decl)->implicit_section.
31746         * symtab.c (dump_symtab_base): Dump implicit sections.
31747         (verify_symtab_base): Verify sanity of sectoins and comdats.
31748         (symtab_resolve_alias): Alias share the section of its target.
31749         (set_section_1): New function.
31750         (symtab_node::set_section): Move here, recurse to aliases.
31751         (verify_symtab): Check for duplicated symtab lists.
31752         * tree-core.h (implicit_section_name_p): Remove.
31753         * tree-vect-data-refs.c: Include varasm.h.
31754         (vect_can_force_dr_alignment_p): Fix conditional on when
31755         decl bints to current definition; use
31756         symtab_get_node (decl)->implicit_section.
31757         * cgraph.c (cgraph_make_node_local_1): Fix section set.
31758         * cgraph.h (struct symtab_node): Add implicit_section.
31759         (set_section): Rename to ...
31760         (set_section_for_node): ... this one.
31761         (set_section): Declare.
31762         * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
31763         * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
31764         input_overwrite_node, input_varpool_node): Stream implicit_section.
31765         * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
31766         removal; it will fail in LTO.
31768 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
31770         * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
31771         Change second alternative type to f_mcr.
31772         * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
31773         and 12th alternatives' types to f_mcr and f_mrc.
31774         (*movdi_aarch64): Same for 12th and 13th alternatives.
31775         (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
31776         (aarch64_movtilow_tilow): Change type to fmov.
31778 2014-06-10  Jiong Wang  <jiong.wang@arm.com>
31780         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
31781         (aarch64_save_or_restore_callee_save_registers): Fix layout.
31783 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
31785         * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
31786         New expander.
31787         (aarch64_sqrdmulh_lane<mode>): Likewise.
31788         (aarch64_sq<r>dmulh_lane<mode>): Rename to...
31789         (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
31790         (aarch64_sqdmulh_laneq<mode>): New expander.
31791         (aarch64_sqrdmulh_laneq<mode>): Likewise.
31792         (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
31793         (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
31794         (aarch64_sqdmulh_lane<mode>): New expander.
31795         (aarch64_sqrdmulh_lane<mode>): Likewise.
31796         (aarch64_sq<r>dmulh_lane<mode>): Rename to...
31797         (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
31798         (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
31799         (aarch64_sqdmlal_laneq<mode>): Likewise.
31800         (aarch64_sqdmlsl_lane<mode>): Likewise.
31801         (aarch64_sqdmlsl_laneq<mode>): Likewise.
31802         (aarch64_sqdmlal2_lane<mode>): Likewise.
31803         (aarch64_sqdmlal2_laneq<mode>): Likewise.
31804         (aarch64_sqdmlsl2_lane<mode>): Likewise.
31805         (aarch64_sqdmlsl2_laneq<mode>): Likewise.
31806         (aarch64_sqdmull_lane<mode>): Likewise.
31807         (aarch64_sqdmull_laneq<mode>): Likewise.
31808         (aarch64_sqdmull2_lane<mode>): Likewise.
31809         (aarch64_sqdmull2_laneq<mode>): Likewise.
31811 2014-06-10  Richard Biener  <rguenther@suse.de>
31813         PR tree-optimization/61438
31814         * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
31815         (eliminate_dom_walker::before_dom_children): Only try to inhibit
31816         insertion of IVs if running PRE.
31817         (eliminate): Adjust.
31818         (pass_pre::execute): Likewise.
31819         (pass_fre::execute): Likewise.
31821 2014-06-10  Richard Biener  <rguenther@suse.de>
31823         PR middle-end/61456
31824         * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
31825         Do not use the main variant for the type comparison.
31826         (ncr_compar): Likewise.
31827         (nonoverlapping_component_refs_p): Likewise.
31829 2014-06-10  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31831         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
31832         REG_CFA_RESTORE mode.
31834 2014-06-10  Evgeny Stupachenko  <evstupac@gmail.com>
31836         * config/i386/i386.c (expand_vec_perm_pblendv): New.
31837         * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
31838         expand_vec_perm_pblendv.
31840 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
31842         * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
31843         available.
31844         Simplify description of __crc32d and __crc32cd intrinsics.
31845         * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
31846         availability.
31848 2014-06-10  Thomas Schwinge  <thomas@codesourcery.com>
31850         PR lto/61334
31851         * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
31852         * config.in: Regenerate.
31853         * configure: Likewise.
31855 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
31857         * ipa-reference.c (is_proper_for_analysis): Exclude addressable
31858         and public vars.
31859         (intersect_static_var_sets): Remove.
31860         (propagate): Do not prune local statics.
31862 2014-06-10  Jakub Jelinek  <jakub@redhat.com>
31864         PR fortran/60928
31865         * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
31866         Set lastprivate_firstprivate even if omp_private_outer_ref
31867         langhook returns true.
31868         <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
31869         langhook, call unshare_expr on new_var and call
31870         build_outer_var_ref to get the last argument.
31872 2014-06-10  Marek Polacek  <polacek@redhat.com>
31874         PR c/60988
31875         * doc/extend.texi: Add cindex for transparent_union.
31877 2014-06-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>
31879         * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
31880         init_symbolic_number ().
31882 2014-05-18  John David Anglin  <danglin@gcc.gnu.org>
31884         PR middle-end/61141
31885         * emit-rtl.c (reset_all_used_flags): In a sequence, check that
31886         XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
31887         (verify_rtl_sharing): Likewise.
31889 2014-06-09  Marc Glisse  <marc.glisse@inria.fr>
31891         PR c++/54442
31892         * tree.c (build_qualified_type): Use a canonical type for
31893         TYPE_CANONICAL.
31895 2014-06-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
31897         * config/arm/arm-modes.def: Remove XFmode.
31899 2014-06-09  Alan Lawrence  <alan.lawrence@arm.com>
31901         PR target/61062
31902         * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
31903         vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
31904         vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
31905         vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
31906         vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
31907         vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
31908         vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
31909         vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
31910         vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
31912 2014-06-09  Jan Hubicka  <hubicka@ucw.cz>
31914         * tree-core.h (tree_decl_with_vis): Remove section_name.
31916 2014-06-09  Kito Cheng  <kito@0xlab.org>
31918         * ira.c (ira): Don't call init_caller_save if LRA enabled
31919         since LRA use its own infrastructure to handle that.
31921 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
31923         * symtab.c (dump_symtab_base): Update dumping.
31924         (symtab_make_decl_local): Clear only DECL_COMDAT.
31925         * tree-vect-data-refs.c (Check that variable is static before
31926         tampering with sections.
31927         * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
31928         (cgraph_create_virtual_clone): Likewise.
31929         * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
31930         (decl_section_name, set_decl_section_name): New accessors.
31931         (find_decls_types_r): Do not walk section name
31932         * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
31933         (decl_comdat_group, decl_comdat_group_id): Constify.
31934         (decl_section_name, set_decl_section_name): Update.
31935         * varpool.c (varpool_finalize_named_section_flags): Use get_section.
31936         * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
31937         (cgraph_make_node_local_1): Clear section and comdat group.
31938         * cgraph.h (set_comdat_group): Sanity check.
31939         (get_section, set_section): New.
31940         * ipa-comdats.c (ipa_comdats): Use get_section.
31941         * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
31942         * lto-streamer-out.c: Do not follow section names.
31943         * c-family/c-common.c (handle_section_attribute): Update.
31944         * lto-cgraph.c (lto_output_node): Output section.
31945         (lto_output_varpool_node): Likewise.
31946         (read_comdat_group): Rename to ...
31947         (read_identifier): ... this one.
31948         (read_string_cst): New function.
31949         (input_node, input_varpool_node): Input section names.
31950         * tree-emutls.c (get_emutls_init_templ_addr): Update.
31951         (new_emutls_decl): Update.
31952         (secname_for_decl): Check section names only of static vars.
31953         * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
31954         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
31955         * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
31956         * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
31957         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
31958         * config/mcore/mcore.c (mcore_unique_section): Likewise.
31959         * config/mips/mips.c (mips16_build_function_stub): Likewise.
31960         * config/v850/v850.c (v850_insert_attributes): Likewise.
31961         * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
31962         Likewise.
31963         (h8300_handle_tiny_data_attribute): Likewise.
31964         * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
31965         (bfin_handle_l2_attribute): Likewise.
31967 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
31969         * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
31970         remove static initializer.
31972 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
31974         * varasm.c (use_blocks_for_decl_p): Check symbol table
31975         instead of alias attribute.
31976         (place_block_symbol): Recurse on aliases.
31978 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
31980         * ipa-visibility.c: Include varasm.h
31981         (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
31983 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
31985         * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
31986         outputting aliases.
31988 2014-06-07  Steven Bosscher  <steven@gcc.gnu.org>
31990         * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
31991         from test_insn into GGC space escape via SET_SRC.
31993 2014-06-07  Eric Botcazou  <ebotcazou@adacore.com>
31995         * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
31996         call statement, if any.
31997         (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
31998         statements, if any.  Tidy up.
32000 2014-06-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
32002         PR target/61431
32003         * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
32004         iterators, VSX_D that handles 64-bit types, and VSX_LE that
32005         handles swapping the two 64-bit double words on little endian
32006         systems.  Include V1TImode and optionally TImode in VSX_LE so that
32007         these types are properly swapped.  Change all of the insns and
32008         splits that do the 64-bit swaps to use VSX_LE.
32009         (vsx_le_perm_load_<mode>): Likewise.
32010         (vsx_le_perm_store_<mode>): Likewise.
32011         (splitters for little endian memory operations): Likewise.
32012         (vsx_xxpermdi2_le_<mode>): Likewise.
32013         (vsx_lxvd2x2_le_<mode>): Likewise.
32014         (vsx_stxvd2x2_le_<mode>): Likewise.
32016 2014-06-06  Uros Bizjak  <ubizjak@gmail.com>
32018         PR target/61423
32019         * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
32020         define_insn_and_split pattern, merged from *floatunssi<mode>2_1
32021         and corresponding splitters.  Zero extend general register
32022         or memory input operand to XMM temporary.  Enable for
32023         TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
32024         (floatunssi<mode>2): Update expander predicate.
32026 2014-06-06  Vladimir Makarov  <vmakarov@redhat.com>
32028         PR rtl-optimization/61325
32029         * lra-constraints.c (process_address_1): Check scale equal to one
32030         to prevent transformation: base + scale * index => base + new_reg.
32032 2014-06-06  Richard Biener  <rguenther@suse.de>
32034         PR tree-optimization/59299
32035         * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
32036         a def operand.
32037         (nearest_common_dominator_of_uses): Likewise.
32038         (statement_sink_location): Adjust.  Support sinking loads.
32040 2014-06-06  Martin Jambor  <mjambor@suse.cz>
32042         * ipa-prop.c (get_place_in_agg_contents_list): New function.
32043         (build_agg_jump_func_from_list): Likewise.
32044         (determine_known_aggregate_parts): Renamed to
32045         determine_locally_known_aggregate_parts.  Moved some functionality
32046         to the two functions above, removed bound checks.
32048 2014-06-06  James Greenhalgh  <james.greenhalgh@arm.com>
32050         * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
32051         * config/aarch64/aarch64.c (aarch64_move_pointer): New.
32052         (aarch64_progress_pointer): Likewise.
32053         (aarch64_copy_one_part_and_move_pointers): Likewise.
32054         (aarch64_expand_movmen): Likewise.
32055         * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
32056         * config/aarch64/aarch64.md (movmem<mode>): New.
32058 2014-06-06  Bingfeng Mei  <bmei@broadcom.com>
32060         * targhooks.c (default_add_stmt_cost): Call target specific
32061         hook instead of default one.
32063 2014-06-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
32065         * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
32066         endianness instead of host endianness.
32067         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
32068         comments.
32070 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
32072         PR debug/53927
32073         * function.c (instantiate_decls): Process the saved static chain.
32074         (expand_function_start): If not optimizing, save the static chain
32075         onto the stack.
32076         * tree-nested.c (convert_all_function_calls): Always create the static
32077         chain for nested functions if not optimizing.
32079 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
32081         * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
32083 2014-06-06  Richard Biener  <rguenther@suse.de>
32085         * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
32086         (construct_init_block): Likewise.
32087         (construct_exit_block): Likewise.
32088         (pass_expand::execute): Likewise.
32089         * graphite.c (graphite_transforms): Replace check for current_loops
32090         with a check for > 1 loops.
32091         (pass_graphite_transforms::execute): Adjust.
32092         * ipa-split.c (split_function): Remove check for current_loops.
32093         * omp-low.c (expand_parallel_call): Likewise.
32094         (expand_omp_for_init_counts): Likewise.
32095         (extract_omp_for_update_vars): Likewise.
32096         (expand_omp_for_generic): Likewise.
32097         (expand_omp_sections): Likewise.
32098         (expand_omp_target): Likewise.
32099         * tracer.c (tail_duplicate): Likewise.
32100         (pass_tracer::execute): Likewise.
32101         * trans-mem.c (expand_transaction): Likewise.
32102         * tree-complex.c (expand_complex_div_wide): Likewise.
32103         * tree-eh.c (lower_resx): Likewise.
32104         (cleanup_empty_eh_merge_phis): Likewise.
32105         * tree-predcom.c (run_tree_predictive_commoning): Replace check for
32106         current_loops with a check for > 1 loops.
32107         (pass_predcom::execute): Adjust.
32108         * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
32109         * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
32110         * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
32111         * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
32112         * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
32113         * tree-switch-conversion.c (process_switch): Likewise.
32114         * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
32115         * tree-vrp.c (vrp_visit_phi_node): Likewise.
32116         (execute_vrp): Likewise.
32117         * ubsan.c (ubsan_expand_null_ifn): Likewise.
32119 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
32121         * rtl.h (insn_location): Declare.
32122         * cfgcleanup.c (try_forward_edges): Compare the locus of locations
32123         with UNKNOWN_LOCATION.
32124         * emit-rtl.c (insn_location): New function.
32125         * final.c (notice_source_line): Check that the instruction has a
32126         location before retrieving it and use insn_location.
32127         * modulo-sched.c (loop_single_full_bb_p): Likewise.
32128         * print-rtl.c (print_rtx): Likewise.
32130 2014-06-06  Richard Biener  <rguenther@suse.de>
32132         * passes.def: Move 2nd VRP pass before phi-only-cprop.
32134 2014-06-06  Christian Bruel  <christian.bruel@st.com>
32136         PR tree-optimization/43934
32137         * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
32138         cost.
32140 2014-06-06  Richard Sandiford  <rdsandiford@googlemail.com>
32142         * ira-lives.c (single_reg_class): Add missing break.  Explicitly
32143         return NO_REGS for extra address and memory constraints.  Handle
32144         operands that match (or are equivalent to something that matches)
32145         extra constant constraints.  Ignore other non-register operands.
32147 2014-06-06  Alan Modra  <amodra@gmail.com>
32149         PR target/61300
32150         * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
32151         * doc/tm.texi: Regenerate.
32152         * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
32153         Use throughout in place of REG_PARM_STACK_SPACE.
32154         * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
32155         "incoming" param.  Pass to rs6000_function_parms_need_stack.
32156         (rs6000_function_parms_need_stack): Add "incoming" param, ignore
32157         prototype_p when incoming.  Use function decl when incoming
32158         to handle K&R style functions.
32159         * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
32160         (INCOMING_REG_PARM_STACK_SPACE): Define.
32162 2014-06-05  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
32164         PR target/52472
32165         * cfgexpand.c (expand_debug_expr): Use address space of nested
32166         TREE_TYPE for ADDR_EXPR and MEM_REF.
32168 2014-06-05  Jeff Law  <law@redhat.com>
32170         PR tree-optimization/61289
32171         * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
32172         DST_MAP parameters.   Invalidate by walking all the SSA_NAME_VALUES
32173         looking for those which match LHS.  All callers changed.
32174         (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
32175         parameters and code which manipulated them.  All callers changed.
32176         (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
32177         and DST_MAP parameters.  Simplify invalidation code by just calling
32178         invalidate_equivalences.  All callers changed.
32179         (thread_across_edge): Simplify now that we don't need to maintain
32180         the map of equivalences to invalidate.
32182 2014-06-05  Kai Tietz  <ktietz@redhat.com>
32183             Richard Henderson  <rth@redhat.com>
32185         PR target/46219
32186         * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
32187         checking for !TARGET_X32.
32188         * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
32189         (sibcall_intern): New define_insn, plus required peepholes.
32190         (sibcall_pop_intern): Likewise.
32191         (sibcall_value_intern): Likewise.
32192         (sibcall_value_pop_intern): Likewise.
32194 2014-06-05  Ilya Enkovich  <ilya.enkovich@intel.com>
32196         * tree-inline.c (tree_function_versioning): Check DF info existence
32197         before accessing it.
32199 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32201         * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
32202         frame_size.
32203         * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
32204         aarch64_frame hard_fp_offset and frame_size.
32205         (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
32206         frame_size; remove original_frame_size.
32207         (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
32208         (aarch64_initial_elimination_offset): Remove frame_size and
32209         offset.  Use aarch64_frame frame_size.
32211 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32212             Jiong Wang  <jiong.wang@arm.com>
32213             Renlin  <renlin.li@arm.com>
32215         * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
32216         initialization of R30 offset.  Update offset.  Iterate core
32217         regisers upto X30.  Remove X29, X30 specific code.
32219 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32220             Jiong Wang  <jiong.wang@arm.com>
32222         * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
32223         (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
32224         (aarch64_register_saved_on_entry): Adjust test.
32226 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32228         * config/aarch64/aarch64.h (machine_function): Move
32229         saved_varargs_size from here...
32230         (aarch64_frame): ... to here.
32232         * config/aarch64/aarch64.c (aarch64_expand_prologue)
32233         (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
32234         (aarch64_initial_elimination_offset)
32235         (aarch64_setup_incoming_varargs): Adjust location of
32236         saved_varargs_size.
32238 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32240         * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
32241         layout comment.
32243 2014-06-05  Jaydeep Patil  <Jaydeep.Patil@imgtec.com>
32244             Prachi Godbole  <Prachi.Godbole@imgtec.com>
32246         * config/mips/mips-cpus.def: Add definition for p5600.  Updated
32247         mips32r5 entry to use PROCESSOR_P5600.
32248         * config/mips/mips-tables.opt: Regenerate.
32249         * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
32250         * config/mips/mips.c (mips_fmadd_bypass): New function.
32251         (mips_rtx_cost_data): Add costs for p5600.
32252         (mips_issue_rate): Add support for p5600.
32253         (mips_multipass_dfa_lookahead): Likewise.
32254         * config/mips/mips.h (TUNE_P5600): New define.
32255         (TUNE_MACC_CHAINS): Add TUNE_P5600.
32256         (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
32257         * config/mips/mips.md: Include p5600.md.
32258         (processor): Add p5600.
32259         * config/mips/p5600.md: New file.
32261 2014-06-05  Evgeny Stupachenko  <evstupac@gmail.com>
32263         * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
32264         * config/i386/predicates.md (palignr_operand): New.
32265         Indicates if permutation is suitable for palignr instruction.
32267 2014-06-05  Yuri Rumyantsev  <ysrumyan@gmail.com>
32269         PR tree-optimization/61319
32270         * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
32271         stmt belongs to loop.
32273 2014-06-05  Richard Biener  <rguenther@suse.de>
32275         * gimplify.c (create_tmp_from_val): Remove is_formal parameter
32276         and set DECL_GIMPLE_REG_P unconditionally if appropriate.
32277         (lookup_tmp_var): Adjust.
32278         (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
32280 2014-06-05  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
32282         * config/arm/arm.md (enabled): Disable opt_enabled attribute.
32284 2014-06-05  Marek Polacek  <polacek@redhat.com>
32286         PR c/49706
32287         * doc/invoke.texi: Document -Wlogical-not-parentheses.
32289 2014-06-04  Tom de Vries  <tom@codesourcery.com>
32291         * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
32292         CONST_INT.
32294 2014-06-04  Marc Glisse  <marc.glisse@inria.fr>
32296         PR tree-optimization/61385
32297         * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
32299 2014-06-04  Bernd Schmidt  <bernds@codesourcery.com>
32301         * lto-wrapper.c (fatal, fatal_perror): Remove functions.  All callers
32302         changed to use fatal_error.
32303         (main): Ensure lto_wrapper_cleanup is run atexit.
32305 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32307         * lra-constraints.c (valid_address_p): Move earlier in file.
32308         (address_eliminator): New structure.
32309         (satisfies_memory_constraint_p): New function.
32310         (satisfies_address_constraint_p): Likewise.
32311         (process_alt_operands, process_address, curr_insn_transform): Use them.
32313 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32315         * lra-int.h (lra_static_insn_data): Make operand_alternative a
32316         const pointer.
32317         (target_lra_int, default_target_lra_int, this_target_lra_int)
32318         (op_alt_data): Delete.
32319         * lra.h (lra_init): Delete.
32320         * lra.c (default_target_lra_int, this_target_lra_int): Delete.
32321         (init_insn_code_data_once): Remove op_alt_data handling.
32322         (finish_insn_code_data_once): Likewise.
32323         (init_op_alt_data): Delete.
32324         (get_static_insn_data): Initialize operand_alternative to null.
32325         (free_insn_recog_data): Cast operand_alternative before freeing it.
32326         (setup_operand_alternative): Take the operand_alternative as
32327         parameter and assume it isn't already cached in the static
32328         insn data.
32329         (lra_set_insn_recog_data): Update accordingly.
32330         (lra_init): Delete.
32331         * ira.c (ira_init): Don't call lra_init.
32332         * target-globals.h (this_target_lra_int): Declare.
32333         (target_globals): Remove lra_int.
32334         (restore_target_globals): Update accordingly.
32335         * target-globals.c: Don't include lra-int.h.
32336         (default_target_globals, save_target_globals): Remove lra_int.
32338 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32340         * recog.h (operand_alternative): Convert reg_class, reject,
32341         matched and matches into bitfields.
32342         (preprocess_constraints): New overload.
32343         (preprocess_insn_constraints): New function.
32344         (preprocess_constraints): Take the insn as parameter.
32345         (recog_op_alt): Change into a pointer.
32346         (target_recog): Add x_op_alt.
32347         * recog.c (asm_op_alt): New variable.
32348         (recog_op_alt): Change into a pointer.
32349         (preprocess_constraints): New overload, replacing the old function
32350         definition with one that doesn't use global state.
32351         (preprocess_insn_constraints): New function.
32352         (preprocess_constraints): Use them.  Take the insn as parameter.
32353         Use asm_op_alt for asms.
32354         (recog_init): Free existing x_op_alt entries.
32355         * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
32356         pointer const.
32357         (make_early_clobber_and_input_conflicts): Likewise.
32358         (process_bb_node_lives): Pass the insn to process_constraints.
32359         * reg-stack.c (check_asm_stack_operands): Likewise.
32360         (subst_asm_stack_regs): Likewise.
32361         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
32362         * regrename.c (build_def_use): Likewise.
32363         * sched-deps.c (sched_analyze_insn): Likewise.
32364         * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
32365         * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
32366         (note_invalid_constants): Likewise.
32367         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
32368         (ix86_legitimate_combined_insn): Make operand_alternative pointer
32369         const.
32371 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32373         * recog.c (preprocess_constraints): Don't skip disabled alternatives.
32374         * ira-lives.c (check_and_make_def_conflict): Check for disabled
32375         alternatives.
32376         (make_early_clobber_and_input_conflicts): Likewise.
32377         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
32379 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32381         * recog.h (alternative_class): New function.
32382         (which_op_alt): Return a const recog_op_alt.
32383         * reg-stack.c (check_asm_stack_operands): Update type accordingly.
32384         (subst_asm_stack_regs): Likewise.
32385         * config/arm/arm.c (note_invalid_constants): Likewise.
32386         * regcprop.c (copyprop_hardreg_forward_1): Likewise.  Don't modify
32387         the operand_alternative; use alternative class instead.
32388         * sel-sched.c (get_reg_class): Likewise.
32389         * regrename.c (build_def_use): Likewise.
32390         (hide_operands, restore_operands, record_out_operands): Update type
32391         accordingly.
32393 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
32395         * recog.h (recog_op_alt): Convert to a flat array.
32396         (which_op_alt): New function.
32397         * recog.c (recog_op_alt): Convert to a flat array.
32398         (preprocess_constraints): Update accordingly, grouping all
32399         operands of the same alternative together, rather than the
32400         other way around.
32401         * ira-lives.c (check_and_make_def_conflict): Likewise.
32402         (make_early_clobber_and_input_conflicts): Likewise.
32403         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
32404         * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
32405         (subst_asm_stack_regs): Likewise.
32406         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
32407         * regrename.c (hide_operands, record_out_operands): Likewise.
32408         (build_def_use): Likewise.
32409         * sel-sched.c (get_reg_class): Likewise.
32410         * config/arm/arm.c (note_invalid_constants): Likewise.
32412 2014-06-04  Jason Merrill  <jason@redhat.com>
32414         PR c++/51253
32415         PR c++/61382
32416         * gimplify.c (gimplify_arg): Non-static.
32417         * gimplify.h: Declare it.
32419 2014-06-04  Richard Biener  <rguenther@suse.de>
32421         * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
32422         TREE_PUBLIC and DECL_EXTERNAL decls.
32424 2014-06-04  Matthew Fortune  <matthew.fortune@imgtec.com>
32426         * regcprop.c (copyprop_hardreg_forward_1): Account for
32427         HARD_REGNO_CALL_PART_CLOBBERED.
32429 2014-06-04  Richard Biener  <rguenther@suse.de>
32431         * configure.ac: Check whether the underlying type of int64_t
32432         is long or long long.
32433         * configure: Regenerate.
32434         * config.in: Likewise.
32435         * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
32436         (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
32438 2014-06-04  Richard Biener  <rguenther@suse.de>
32440         PR tree-optimization/60098
32441         * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
32442         we hit a kill.
32443         (dse_optimize_stmt): Simplify, now that we found a kill
32444         earlier.
32446 2014-06-04  Richard Biener  <rguenther@suse.de>
32448         * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
32449         of accesses with non-invariant address.
32451 2014-06-04  Martin Liska  <mliska@suse.cz>
32453         * cgraph.h (cgraph_make_wrapper): New function introduced.
32454         * cgraphunit.c (cgraph_make_wrapper): The function implementation.
32455         * ipa-inline.h (inline_analyze_function): The function is global.
32456         * ipa-inline-analysis.c (inline_analyze_function): Likewise.
32458 2014-06-04  Martin Liska  <mliska@suse.cz>
32460         * tree.h (private_lookup_attribute_starting): New function.
32461         (lookup_attribute_starting): Likewise.
32462         * tree.c (private_lookup_attribute_starting): Likewise.
32464 2014-06-04  Martin Liska  <mliska@suse.cz>
32466         * cgraph.h (expand_thunk): New argument added.
32467         (address_taken_from_non_vtable_p): New global function.
32468         * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
32469         * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
32470         * cgraphunit.c (analyze_function): Likewise.
32471         (assemble_thunks_and_aliases): Argument added to call.
32472         (expand_thunk): New argument forces to produce GIMPLE thunk.
32474 2014-06-04  Martin Liska  <mliska@suse.cz>
32476         * coverage.h (coverage_compute_cfg_checksum): Argument added.
32477         * coverage.c (coverage_compute_cfg_checksum): Likewise.
32478         * profile.c (branch_prob): Likewise.
32480 2014-06-04  Martin Jambor  <mjambor@suse.cz>
32482         PR ipa/61340
32483         * ipa-pure-const.c (propagate_pure_const): Add unreachable default
32484         handler for switch on an ipa_ref_use enum.
32485         * ipa-reference.c (analyze_function): Likewise.
32487 2014-06-04  Kai Tietz  <ktietz@redhat.com>
32489         * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
32490         from old call-instruction.
32492 2014-06-04  Bin Cheng  <bin.cheng@arm.com>
32494         * config/aarch64/aarch64.c (aarch64_classify_address)
32495         (aarch64_legitimize_reload_address): Support full addressing modes
32496         for vector modes.
32497         * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
32498         (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
32500 2014-06-03  Andrew Pinski  <apinski@cavium.com>
32502         * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
32503         for OP0.
32505 2014-06-03  Andrew Pinski  <apinski@cavium.com>
32507         * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
32508         (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
32510 2014-06-03  Kai Tietz  <ktietz@redhat.com>
32512         * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
32513         for 64-bit ms-abi.
32515 2014-06-03  Dehao Chen  <dehao@google.com>
32517         * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
32518         the same loop.
32520 2014-06-03  Marek Polacek  <polacek@redhat.com>
32522         PR c/60439
32523         * doc/invoke.texi: Document -Wswitch-bool.
32524         * function.c (stack_protect_epilogue): Cast controlling expression of
32525         the switch to int.
32526         * gengtype.c (walk_type): Generate switch expression with its
32527         controlling expression cast to int.
32529 2014-06-03  Vishnu K S  <Vishnu.k_s@atmel.com>
32531         * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
32532         and attiny841.
32533         * config/avr/avr-tables.opt: Regenerate.
32534         * config/avr/t-multilib: Regenerate.
32535         * doc/avr-mmcu.texi: Regenerate.
32537 2014-06-03  Vishnu K S  <vishnu.k_s@atmel.com>
32538             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
32540         * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
32541         (ata6617c, ata664251): Add new avr35 devices.
32542         (ata6612c): Add new avr4 device.
32543         (ata6613c, ata6614q): Add new avr5 devices.
32544         * config/avr/avr-tables.opt: Regenerate.
32545         * config/avr/t-multilib: Regenerate.
32546         * doc/avr-mmcu.texi: Regenerate.
32548 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
32550         * gcc/config/aarch64/aarch64-builtins.c
32551         (aarch64_types_binop_ssu_qualifiers): New static data.
32552         (TYPES_BINOP_SSU): Define.
32553         * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
32554         urshr_n, ushll_n): Use appropriate unsigned qualifiers.
32555         * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
32556         vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
32557         vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
32558         vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
32559         vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
32560         vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
32561         vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
32562         suffix to builtin function name, remove cast.
32563         (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
32564         vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
32565         vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
32567 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
32569         * gcc/config/aarch64/aarch64-builtins.c
32570         (aarch64_types_binop_uus_qualifiers,
32571         aarch64_types_shift_to_unsigned_qualifiers,
32572         aarch64_types_unsigned_shiftacc_qualifiers): Define.
32573         * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
32574         uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
32575         sqshlu_n, uqshl_n): Update qualifiers.
32576         * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
32577         vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
32578         vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
32579         vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
32580         vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
32581         vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
32582         vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
32583         vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
32584         vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
32585         vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
32586         vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
32587         vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
32588         vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
32589         vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
32590         vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
32591         vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
32592         vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
32593         vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
32594         vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
32595         vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
32596         vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
32597         vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
32598         vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
32599         vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
32600         vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
32601         vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
32602         vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
32604 2014-06-03  Teresa Johnson  <tejohnson@google.com>
32606         * tree-sra.c (modify_function): Record caller nodes after rebuild.
32608 2014-06-02  Jason Merrill  <jason@redhat.com>
32610         PR c++/61020
32611         * varpool.c (ctor_for_folding): Handle uninitialized vtables.
32613 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
32615         * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
32616         location == 0.
32618 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
32620         * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
32621         New pattern.
32622         * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
32623         (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
32624         * config/aarch64/iterators.md (REVERSE): New iterator.
32625         (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
32626         (rev_op): New int_attribute.
32627         * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
32628         vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
32629         vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
32630         vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
32631         vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
32632         vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
32633         vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
32634         Replace temporary __asm__ with __builtin_shuffle.
32636 2014-06-03  Andrew Bennett  <andrew.bennett@imgtec.com>
32638         * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
32639         mips64r5.
32640         * config/mips/mips-tables.opt: Regenerate.
32641         * config/mips/mips.c (mips_compute_frame_info): Changed if statement
32642         to use mips_isa_rev rather than ISA_MIPS32R2.
32643         * config/mips/mips.h (ISA_MIPS32R3): New define.
32644         (ISA_MIPS32R5): New define.
32645         (ISA_MIPS64R3): New define.
32646         (ISA_MIPS64R5): New define.
32647         (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
32648         ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
32649         (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
32650         and mips64r5.
32651         (MIPS_ISA_SYNCI_SPEC): Likewise.
32652         (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
32653         (LINK_SPEC): Added mips32r3 and mips32r5.
32654         * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
32655         to mips32r2; and mips64r3 and mips64r5 to mips64r2.
32656         * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
32657         * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
32658         * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
32659         * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
32660         * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
32662 2014-06-03  Andrew Bennett  <andrew.bennett@imgtec.com>
32664         * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
32665         options.
32666         * config/mips/mips.opt (mxpa): New option.
32667         * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
32668         assembler.
32670 2014-06-03  Martin Jambor  <mjambor@suse.cz>
32672         PR ipa/61160
32673         * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
32674         thunks.
32676 2014-06-03  Thomas Preud'homme  <thomas.preudhomme@arm.com>
32678         PR tree-optimization/61328
32679         * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
32680         initialization from find_bswap_or_nop_1.
32681         (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
32682         in source_expr2 before using the size value the function sets. Also
32683         make use of init_symbolic_number () in both the old place and
32684         find_bswap_or_nop_load () to avoid reading uninitialized memory when
32685         doing recursion in the GIMPLE_BINARY_RHS case.
32687 2014-06-03  Richard Biener  <rguenther@suse.de>
32689         PR tree-optimization/61383
32690         * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
32691         stmts can't trap.
32693 2014-06-03  Richard Sandiford  <rdsandiford@googlemail.com>
32695         * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
32696         (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
32697         (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
32698         (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
32699         in this file.
32700         (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
32701         (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
32702         * system.h: ...here and make it unconditional.
32703         * target.def (conditional_register_usage): Mention
32704         define_register_constraint instead of old-style constraint macros.
32705         * doc/tm.texi.in: Remove documentation for old-style constraint macros.
32706         * doc/tm.texi: Regenerate.
32707         * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
32708         protected by !USE_MD_CONSTRAINTS.
32709         * config/frv/frv.md: Remove quote from old version of documentation.
32710         * config/frv/frv.c (frv_conditional_register_usage): Likewise.
32711         * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
32712         CONST_DOUBLE_OK_FOR_LETTER.
32713         * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
32715 2014-06-02  Andrew Pinski  <apinski@cavium.com>
32717         * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
32718         /lib/ld-linux32-aarch64.so.1 is used for ILP32.
32719         (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
32720         file whose name depends on -mabi= and -mbig-endian.
32721         * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
32722         Handle LP64 better and handle ilp32 too.
32723         (MULTILIB_OPTIONS): Delete.
32724         (MULTILIB_DIRNAMES): Delete.
32726 2014-06-02  Andrew MacLeod  <amacleod@redhat.com>
32728         * expr.h: Remove prototypes of functions defined in builtins.c.
32729         * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
32730         Remove prototypes of functions defined in builtins.c.
32731         * builtins.h: Update prototype list to include all exported functions.
32732         * builtins.c: (default_libc_has_function, gnu_libc_has_function,
32733         no_c99_libc_has_function): Move to targhooks.c
32734         (build_string_literal, build_call_expr_loc_array,
32735         build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
32736         to tree.c.
32737         (expand_builtin_object_size, fold_builtin_object_size): Make static.
32738         * targhooks.c (default_libc_has_function, gnu_libc_has_function,
32739         no_c99_libc_has_function): Relocate from builtins.c.
32740         * tree.c: Include builtins.h.
32741         (build_call_expr_loc_array, build_call_expr_loc_vec,
32742         build_call_expr_loc, build_call_expr, build_string_literal): Relocate
32743         from builtins.c.
32744         * fold-const.h (fold_fma): Move prototype to builtins.h.
32745         * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
32746         * asan.c: Include builtins.h.
32747         * cfgexpand.c: Likewise.
32748         * convert.c: Likewise.
32749         * emit-rtl.c: Likewise.
32750         * except.c: Likewise.
32751         * expr.c: Likewise.
32752         * fold-const.c: Likewise.
32753         * gimple-fold.c: Likewise.
32754         * gimple-ssa-strength-reduction.c: Likewise.
32755         * gimplify.c: Likewise.
32756         * ipa-inline.c: Likewise.
32757         * ipa-prop.c: Likewise.
32758         * lto-streamer-out.c: Likewise.
32759         * stmt.c: Likewise.
32760         * tree-inline.c: Likewise.
32761         * tree-object-size.c: Likewise.
32762         * tree-sra.c: Likewise.
32763         * tree-ssa-ccp.c: Likewise.
32764         * tree-ssa-forwprop.c: Likewise.
32765         * tree-ssa-loop-ivcanon.c: Likewise.
32766         * tree-ssa-loop-ivopts.c: Likewise.
32767         * tree-ssa-math-opts.c: Likewise.
32768         * tree-ssa-reassoc.c: Likewise.
32769         * tree-ssa-threadedge.c: Likewise.
32770         * tree-streamer-in.c: Likewise.
32771         * tree-vect-data-refs.c: Likewise.
32772         * tree-vect-patterns.c: Likewise.
32773         * tree-vect-stmts.c: Likewise.
32774         * config/aarch64/aarch64.c: Likewise.
32775         * config/alpha/alpha.c: Likewise.
32776         * config/arc/arc.c: Likewise.
32777         * config/arm/arm.c: Likewise.
32778         * config/avr/avr.c: Likewise.
32779         * config/bfin/bfin.c: Likewise.
32780         * config/c6x/c6x.c: Likewise.
32781         * config/cr16/cr16.c: Likewise.
32782         * config/cris/cris.c: Likewise.
32783         * config/epiphany/epiphany.c: Likewise.
32784         * config/fr30/fr30.c: Likewise.
32785         * config/frv/frv.c: Likewise.
32786         * config/h8300/h8300.c: Likewise.
32787         * config/i386/i386.c: Likewise.
32788         * config/i386/winnt.c: Likewise.
32789         * config/ia64/ia64.c: Likewise.
32790         * config/iq2000/iq2000.c: Likewise.
32791         * config/lm32/lm32.c: Likewise.
32792         * config/m32c/m32c.c: Likewise.
32793         * config/m32r/m32r.c: Likewise.
32794         * config/m68k/m68k.c: Likewise.
32795         * config/mcore/mcore.c: Likewise.
32796         * config/mep/mep.c: Likewise.
32797         * config/microblaze/microblaze.c: Likewise.
32798         * config/mips/mips.c: Likewise.
32799         * config/mmix/mmix.c: Likewise.
32800         * config/mn10300/mn10300.c: Likewise.
32801         * config/moxie/moxie.c: Likewise.
32802         * config/msp430/msp430.c: Likewise.
32803         * config/nds32/nds32.c: Likewise.
32804         * config/pa/pa.c: Likewise.
32805         * config/pdp11/pdp11.c: Likewise.
32806         * config/picochip/picochip.c: Likewise.
32807         * config/rl78/rl78.c: Likewise.
32808         * config/rs6000/rs6000.c: Likewise.
32809         * config/rx/rx.c: Likewise.
32810         * config/s390/s390.c: Likewise.
32811         * config/score/score.c: Likewise.
32812         * config/sh/sh.c: Likewise.
32813         * config/sparc/sparc.c: Likewise.
32814         * config/spu/spu.c: Likewise.
32815         * config/stormy16/stormy16.c: Likewise.
32816         * config/tilegx/tilegx.c: Likewise.
32817         * config/tilepro/tilepro.c: Likewise.
32818         * config/v850/v850.c: Likewise.
32819         * config/vax/vax.c: Likewise.
32820         * config/xtensa/xtensa.c: Likewise.
32822 2014-06-02  Jeff Law  <law@redhat.com>
32824         PR rtl-optimization/61094
32825         * ree.c (combine_reaching_defs): Do not reextend an insn if it
32826         was marked as do_no_reextend.  If a copy is needed to eliminate
32827         an extension, then mark it as do_not_reextend.
32829 2014-06-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32831         * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
32833 2014-06-02  Richard Henderson  <rth@redhat.com>
32835         PR target/61336
32836         * config/alpha/alpha.c (print_operand_address): Allow symbolic
32837         addresses inside asms.  Use output_operand_lossage instead of
32838         gcc_unreachable.
32840 2014-06-02  Uros Bizjak  <ubizjak@gmail.com>
32842         PR target/61239
32843         * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
32844         GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
32846 2014-06-02  Tom de Vries  <tom@codesourcery.com>
32848         * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
32849         case that x has VOIDmode.
32851 2014-06-02  Bernd Schmidt  <bernds@codesourcery.com>
32853         * varasm.c (copy_constant): Delete function.
32854         (build_constant_desc): Don't call it.
32856 2014-06-02  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
32858         PR target/61154
32859         * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
32860         * config/arm/arm.md (mov64 splitter): Replace const_double_operand
32861         with immediate_operand.
32863 2014-06-02  Andreas Schwab  <schwab@suse.de>
32865         * config/ia64/ia64.c
32866         (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
32867         pending_data_specs first.
32869 2014-06-02  Richard Biener  <rguenther@suse.de>
32871         PR tree-optimization/61378
32872         * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
32873         valueized_anything.
32875 2014-06-01  Uros Bizjak  <ubizjak@gmail.com>
32877         * config/i386/constraints.md (Bw): Rename from 'w'.
32878         (Bz): Rename from 'z'.
32879         * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
32881 2014-06-01  Kai Tietz  <ktietz@redhat.com>
32883         PR target/61377
32884         * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
32885         * config/i386/i386.md (sibcall_insn_operand): Use Bs
32886         instead of m constraint.
32888 2014-05-31  Andreas Schwab  <schwab@linux-m68k.org>
32890         * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
32891         a separate alternative where the scratch operand 2 is marked as
32892         early clobber.
32894 2014-05-31  Kugan Vivekanandarajah  <kuganv@linaro.org>
32896         * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
32897         (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
32898         (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
32899         and __builtins_arm_get_fpscr.
32900         (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
32901         __builtins_arm_get_fpscr.
32902         (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
32903         __builtins_arm_ldfpscr.
32904         (arm_atomic_assign_expand_fenv): New function.
32905         * config/arm/vfp.md (set_fpscr): New pattern.
32906         (get_fpscr) : Likewise.
32907         * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
32908         VUNSPEC_SET_FPSCR.
32909         * doc/extend.texi (AARCH64 Built-in Functions) : Document
32910         __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
32912 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
32914         * asan.c (report_error_func): Add SLOW_P argument, use
32915         BUILT_IN_ASAN_*_N if set.
32916         (build_check_stmt): Likewise.
32917         (instrument_derefs): If T has insufficient alignment,
32918         force same handling as for odd sizes.
32920         * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
32921         BUILT_IN_ASAN_REPORT_STORE_N): New.
32922         * asan.c (struct asan_mem_ref): Change access_size type to
32923         HOST_WIDE_INT.
32924         (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
32925         update_mem_ref_hash_table): Likewise.
32926         (asan_mem_ref_hasher::hash): Hash in a HWI.
32927         (report_error_func): Change size_in_bytes argument to HWI.
32928         Use *_N builtins if size_in_bytes is larger than 16 or not power of
32929         two.
32930         (build_shadow_mem_access): New function.
32931         (build_check_stmt): Use it.  Change size_in_bytes argument to HWI.
32932         Handle size_in_bytes not power of two or larger than 16.
32933         (instrument_derefs): Don't give up if size_in_bytes is not
32934         power of two or is larger than 16.
32936 2014-05-30  Kai Tietz  <ktietz@redhat.com>
32938         PR target/60104
32939         * config/i386/i386.c (x86_output_mi_thunk): Add memory case
32940         for sibling-tail-calls.
32941         * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
32942         to its use.
32943         * config/i386/predicates.md (sibcall_memory_operand): New predicate.
32944         (sibcall_insn_operand): Add check for sibcall_memory_operand.
32946 2014-05-30  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
32948         * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
32949         * config/avr/avr-tables.opt: Regenerate.
32950         * config/avr/t-multilib: Regenerate.
32951         * doc/avr-mmcu.texi: Regenerate.
32953 2014-05-30  Ian Lance Taylor  <iant@google.com>
32955         * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
32956         target("sse").
32958 2014-05-30  Tom de Vries  <tom@codesourcery.com>
32960         * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
32961         Redefine as true.
32963 2014-05-30  Tom de Vries  <tom@codesourcery.com>
32965         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
32966         * lra.c (initialize_lra_reg_info_element): Add init of
32967         actual_call_used_reg_set field.
32968         (lra): Call lra_create_live_ranges before lra_inheritance for
32969         -fuse-caller-save.
32970         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
32971         -fuse-caller-save.
32972         * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
32973         instead of call_used_reg_set for -fuse-caller-save.
32974         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
32976 2014-05-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
32978         * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
32979         to mov_imm.
32980         * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
32982 2014-05-30  Richard Sandiford  <rdsandiford@googlemail.com>
32984         * ira.c (ira_get_dup_out_num): Check for output operands at
32985         the start of the loop.  Handle cases where an included alternative
32986         follows an excluded one.
32988 2014-05-29  Mike Stump  <mikestump@comcast.net>
32990         PR debug/61352
32991         * collect2.c (maybe_run_lto_and_relink): Be sure to always run
32992         post ld passes when lto is used.
32994 2014-05-29  Vladimir Makarov  <vmakarov@redhat.com>
32996         PR rtl-optimization/61325
32997         * lra-constraints.c (process_address): Rename to process_address_1.
32998         (process_address): New function.
33000 2014-05-29  Alan Lawrence  <alan.lawrence@arm.com>
33002         * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
33003         TYPES_BINOPV): New static data.
33004         * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
33005         New builtin.
33006         * config/aarch64/aarch64-simd.md (aarch64_ext,
33007         aarch64_im_lane_boundsi): New patterns.
33008         * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
33009         patterns for EXT.
33010         (aarch64_evpc_ext): New function.
33012         * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
33014         * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
33015         vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
33016         vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
33017         vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
33018         vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
33020 2014-05-29  Tom de Vries  <tom@codesourcery.com>
33022         * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
33024 2014-05-29  Richard Earnshaw <rearnsha@arm.com>
33025             Richard Sandiford  <rdsandiford@googlemail.com>
33027         * arm/iterators.md (shiftable_ops): New code iterator.
33028         (t2_binop0, arith_shift_insn): New code attributes.
33029         * arm/predicates.md (shift_nomul_operator): New predicate.
33030         * arm/arm.md (insn_enabled): Delete.
33031         (enabled): Remove insn_enabled test.
33032         (*arith_shiftsi): Delete.  Replace with ...
33033         (*<arith_shift_insn>_multsi): ... new pattern.
33034         (*<arith_shift_insn>_shiftsi): ... new pattern.
33035         * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
33037 2014-05-29  Radovan Obradovic  <robradovic@mips.com>
33038             Tom de Vries  <tom@codesourcery.com>
33040         * config/mips/mips.h (POST_CALL_TMP_REG): Define.
33041         * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
33042         clobber.
33043         (mips_split_call): Use POST_CALL_TMP_REG.
33044         (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
33046 2014-05-29  Tom de Vries  <tom@codesourcery.com>
33048         * final.c (collect_fn_hard_reg_usage): Guard variable declaration
33049         with #ifdef STACK_REGS.
33051 2014-05-28  Jan Hubicka  <hubicka@ucw.cz>
33053         * varasm.c (get_variable_section): Walk aliases.
33054         (place_block_symbol): Walk aliases.
33056 2014-05-28  Tom de Vries  <tom@codesourcery.com>
33058         Revert:
33059         2014-05-28  Tom de Vries  <tom@codesourcery.com>
33061         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
33062         * lra.c (initialize_lra_reg_info_element): Add init of
33063         actual_call_used_reg_set field.
33064         (lra): Call lra_create_live_ranges before lra_inheritance for
33065         -fuse-caller-save.
33066         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
33067         -fuse-caller-save.
33068         * lra-constraints.c (need_for_call_save_p): Use
33069         actual_call_used_reg_set instead of call_used_reg_set for
33070         -fuse-caller-save.
33071         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
33073 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
33075         * doc/md.texi: Document that the % constraint character must
33076         be at the beginning of the string.
33077         * genoutput.c (validate_insn_alternatives): Check that '=',
33078         '+' and '%' only appear at the beginning of a constraint.
33079         * ira.c (commutative_constraint_p): Delete.
33080         (ira_get_dup_out_num): Expect the '%' commutativity marker to be
33081         at the start of the string.
33082         * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
33083         duplicate '='s.
33084         * config/arm/neon.md (bicdi3_neon): Likewise.
33085         * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
33086         (slt_si, sltu_si): Likewise.
33087         * config/vax/vax.md (sbcdi3): Likewise.
33088         * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
33089         * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
33090         (mul64): Move '%' to beginning of constraint.
33091         * config/arm/arm.md (*xordi3_insn): Likewise.
33092         * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
33093         (xorsi3): Likewise.
33095 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
33097         * doc/md.texi: Document the restrictions on the "enabled" attribute.
33099 2014-05-28  Jason Merrill  <jason@redhat.com>
33101         PR c++/47202
33102         * cgraph.h (symtab_node::get_comdat_group_id): New.
33103         * cgraphunit.c (analyze_functions): Call it.
33104         * symtab.c (dump_symtab_node): Likewise.
33105         * tree.c (decl_comdat_group_id): New.
33106         * tree.h: Declare it.
33107         * lto-streamer-out.c (write_symbol): Use it.
33108         * trans-mem.c (ipa_tm_create_version_alias): Likewise.
33110 2014-05-28  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
33112         PR bootstrap/PR61146
33113         * wide-int.cc: Do not include longlong.h when compiling with clang.
33115 2014-05-28  Richard Biener  <rguenther@suse.de>
33117         * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
33118         * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
33119         (vrp_visit_assignment_or_call): Print less vertical space.
33120         (vrp_visit_stmt): Likewise.
33121         (vrp_visit_phi_node): Likewise.  For a PHI argument with
33122         VR_VARYING range consider recording it as copy.
33124 2014-05-28  Richard Biener  <rguenther@suse.de>
33126         Revert
33127         2014-05-28  Richard Biener  <rguenther@suse.de>
33129         * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
33131 2014-05-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>
33133         * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
33134         sufficiently aligned and an offset is used at the same time.
33135         (expand_expr_real_1): Likewise.
33137 2014-05-28  Richard Biener  <rguenther@suse.de>
33139         PR middle-end/61045
33140         * fold-const.c (fold_comparison): When folding
33141         X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
33142         the sign of the remaining constant operand stays the same.
33144 2014-05-28  Kaushik Phatak  <kaushik.phatak@kpit.com>
33146         * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
33147         __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
33148         (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
33149         to the assembler.
33150         (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
33151         * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
33152         (m32bit-doubles) Likewise.
33153         * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
33154         * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
33155         option for RL78.
33157 2014-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
33159         * configure.ac ($gcc_cv_ld_clearcap): New test.
33160         * configure: Regenerate.
33161         * config.in: Regenerate.
33162         * config/sol2.opt (mclear-hwcap): New option.
33163         * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
33164         * config/sol2-clearcap.map: Moved here from
33165         testsuite/gcc.target/i386/clearcap.map.
33166         * config/sol2-clearcapv2.map: Move here from
33167         gcc.target/i386/clearcapv2.map.
33168         * config/t-sol2 (install): Depend on install-clearcap-map.
33169         (install-clearcap-map): New target.
33170         * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
33171         -mclear-hwcap.
33173 2014-05-28  Richard Biener  <rguenther@suse.de>
33175         * hwint.h (*_HALF_WIDE_INT*): Move to ...
33176         * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
33177         ... here and remove the rest.
33178         * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
33180 2014-05-28  Richard Biener  <rguenther@suse.de>
33182         PR tree-optimization/61335
33183         * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
33184         new range fails, drop to varying.
33186 2014-05-28  Olivier Hainque  <hainque@adacore.com>
33188         * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
33189         (CPP_SPEC): Add entry for -mcpu=8548.
33190         * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
33191         * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
33193 2014-05-28  Tom de Vries  <tom@codesourcery.com>
33195         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
33196         * lra.c (initialize_lra_reg_info_element): Add init of
33197         actual_call_used_reg_set field.
33198         (lra): Call lra_create_live_ranges before lra_inheritance for
33199         -fuse-caller-save.
33200         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
33201         -fuse-caller-save.
33202         * lra-constraints.c (need_for_call_save_p): Use
33203         actual_call_used_reg_set instead of call_used_reg_set for
33204         -fuse-caller-save.
33205         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
33207 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
33208             Tom de Vries  <tom@codesourcery.com>
33210         * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
33211         to gccoptlist.
33212         (@item -fuse-caller-save): New item.
33214 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
33215             Tom de Vries  <tom@codesourcery.com>
33217         * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
33218         OPT_fuse_caller_save.
33220 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
33221             Tom de Vries  <tom@codesourcery.com>
33223         * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
33224         * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
33225         get_call_reg_set_usage.
33226         * resource.c (mark_set_resources, mark_target_live_regs): Use
33227         get_call_reg_set_usage.
33228         * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
33229         field.
33230         (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
33231         * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
33232         Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
33233         * ira-build.c (ira_create_allocno): Init
33234         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
33235         (create_cap_allocno, propagate_allocno_info)
33236         (propagate_some_info_from_allocno)
33237         (copy_info_to_removed_store_destinations): Handle
33238         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
33239         * ira-costs.c (ira_tune_allocno_costs): Use
33240         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
33242 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
33243             Tom de Vries  <tom@codesourcery.com>
33245         * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
33246         and function_used_regs_valid fields.
33247         * final.c: Move include of hard-reg-set.h to before rtl.h to declare
33248         find_all_hard_reg_sets.
33249         (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
33250         (get_call_reg_set_usage): New function.
33251         (rest_of_handle_final): Use collect_fn_hard_reg_usage.
33252         * regs.h (get_call_reg_set_usage): Declare.
33254 2014-05-28  Georg-Johann Lay  <avr@gjlay.de>
33256         PR libgcc/61152
33257         * config/dbx.h (License): Add Runtime Library Exception.
33258         * config/newlib-stdint.h (License): Same.
33259         * config/rtems.h (License): Same
33260         * config/initfini-array.h (License): Same
33261         * config/v850/v850.h (License): Same.
33262         * config/v850/v850-opts.h (License): Same
33263         * config/v850/rtems.h (License): Same.
33265 2014-05-28  Georg-Johann Lay  <avr@gjlay.de>
33267         PR target/61044
33268         * doc/extend.texi (Local Labels): Note that label differences are
33269         not supported for AVR.
33271 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
33272             Olivier Hainque  <hainque@adacore.com>
33274         * rtl.h (set_for_reg_notes): Declare.
33275         * emit-rtl.c (set_for_reg_notes): New function.
33276         (set_unique_reg_note): Use it.
33277         * optabs.c (add_equal_note): Likewise
33279 2014-05-27  Andrew Pinski  <apinski@cavium.com>
33281         * config/aarch64/aarch64.md (stack_protect_set_<mode>):
33282         Use <w> for the register in assembly template.
33283         (stack_protect_test): Use the mode of operands[0] for the result.
33284         (stack_protect_test_<mode>): Use <w> for the register
33285         in assembly template.
33287 2014-05-27  DJ Delorie  <dj@redhat.com>
33289         * config/rx/rx.c (add_vector_labels): New.
33290         (rx_output_function_prologue): Call it.
33291         (rx_handle_func_attribute): Don't require empty arguments.
33292         (rx_handle_vector_attribute): New.
33293         (rx_attribute_table): Add "vector" attribute.
33294         * doc/extend.texi (interrupt, vector): Document new/changed
33295         RX-specific attributes.
33297         * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
33299 2014-05-27  Eric Botcazou  <ebotcazou@adacore.com>
33301         * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
33302         predicate to detect a negative quotient.
33304 2014-05-27  Eric Botcazou  <ebotcazou@adacore.com>
33306         * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
33307         to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
33308         Add X - Y CMP 0 to X CMP Y transformation.
33309         (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
33311 2014-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
33313         * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
33314         before printing.
33316 2014-05-27  Steve Ellcey  <sellcey@mips.com>
33318         * config/mips/mips.c: Add include of cgraph.h.
33320 2014-05-27  Richard Biener  <rguenther@suse.de>
33322         * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
33324 2014-05-27  Georg-Johann Lay  <avr@gjlay.de>
33326         PR libgcc/61152
33327         * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
33328         * config/arm/arm-cores.def (License): Same.
33329         * config/arm/arm-opts.h (License): Same.
33330         * config/arm/aout.h (License): Same.
33331         * config/arm/bpabi.h (License): Same.
33332         * config/arm/elf.h (License): Same.
33333         * config/arm/linux-elf.h (License): Same.
33334         * config/arm/linux-gas.h (License): Same.
33335         * config/arm/netbsd-elf.h (License): Same.
33336         * config/arm/uclinux-eabi.h (License): Same.
33337         * config/arm/uclinux-elf.h (License): Same.
33338         * config/arm/vxworks.h (License): Same.
33340 2014-05-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33342         * config/arm/neon.md (neon_bswap<mode>): New pattern.
33343         * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
33344         (arm_init_neon_builtins): Handle NEON_BSWAP.
33345         Define required type nodes.
33346         (arm_expand_neon_builtin): Handle NEON_BSWAP.
33347         (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
33348         * config/arm/arm_neon_builtins.def (bswap): Define builtins.
33349         * config/arm/iterators.md (VDQHSD): New mode iterator.
33351 2014-05-27  Richard Biener  <rguenther@suse.de>
33353         * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
33354         Try using literal operands when comparing value-ranges failed.
33356 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
33358         * ira.c (commutative_operand): Adjust for change to recog_data.
33359         [Missing from previous commit.]
33361 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
33363         * system.h (TEST_BIT): New macro.
33364         * recog.h (alternative_mask): New type.
33365         (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
33366         (recog_data_d): Replace alternative_enabled_p array with
33367         enabled_alternatives.
33368         (target_recog): New structure.
33369         (default_target_recog, this_target_recog): Declare.
33370         (get_enabled_alternatives, recog_init): Likewise.
33371         * recog.c (default_target_recog, this_target_recog): New variables.
33372         (get_enabled_alternatives): New function.
33373         (extract_insn): Use it.
33374         (recog_init): New function.
33375         (preprocess_constraints, constrain_operands): Adjust for change to
33376         recog_data.
33377         * postreload.c (reload_cse_simplify_operands): Likewise.
33378         * reload.c (find_reloads): Likewise.
33379         * ira-costs.c (record_reg_classes): Likewise.
33380         * ira-lives.c (single_reg_class): Likewise.  Fix bug in which
33381         all alternatives after a disabled one would be skipped.
33382         (ira_implicitly_set_insn_hard_regs): Likewise.
33383         * ira.c (ira_setup_alts): Adjust for change to recog_data.
33384         * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
33385         with enabled_alternatives.
33386         * lra.c (free_insn_recog_data): Update accordingly.
33387         (lra_update_insn_recog_data): Likewise.
33388         (lra_set_insn_recog_data): Likewise.  Use get_enabled_alternatives.
33389         * lra-constraints.c (process_alt_operands): Likewise.  Handle
33390         only_alternative as part of the enabled mask.
33391         * target-globals.h (this_target_recog): Declare.
33392         (target_globals): Add a recog field.
33393         (restore_target_globals): Restore this_target_recog.
33394         * target-globals.c: Include recog.h.
33395         (default_target_globals): Initialize recog field.
33396         (save_target_globals): Likewise.
33397         * reginfo.c (reinit_regs): Call recog_init.
33398         * toplev.c (backend_init_target): Likewise.
33400 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
33402         * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
33403         rather than any named insn's code.
33405 2014-05-27  Georg-Johann Lay  <avr@gjlay.de>
33407         PR libgcc/61152
33408         * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
33409         * config/arm/arm-cores.def (License): Same.
33411 2014-05-26  Jan Hubicka  <hubicka@ucw.cz>
33413         * tree.h (decl_comdat_group): Declare.
33414         * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
33415         * tree.c (decl_comdat_group): Here.
33417 2014-05-26  Richard Sandiford  <r.sandiford@uk.ibm.com>
33419         PR rtl-optimization/61222
33420         * combine.c (simplify_shift_const_1): When moving a PLUS outside
33421         the shift, truncate the PLUS operand to the result mode.
33423 2014-05-26  Uros Bizjak  <ubizjak@gmail.com>
33425         PR target/61271
33426         * config/i386/i386.c (ix86_rtx_costs)
33427         <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
33428         Fix condition.
33430 2014-05-26  Martin Jambor  <mjambor@suse.cz>
33432         * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
33433         subreg uses.
33435 2014-05-26  Richard Biener  <rguenther@suse.de>
33437         * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
33438         wi::int_traits <long long>, wi::int_traits <unsigned long long>):
33439         Provide specializations.
33440         (wi::int_traits <HOST_WIDE_INT>,
33441         wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
33443 2014-05-26  Alan Modra  <amodra@gmail.com>
33445         PR target/61098
33446         * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
33447         params and return a bool.  Remove dead code.  Update comment.
33448         Assert we have a const_int source.  Remove bogus code from
33449         32-bit HWI days.  Move !TARGET_POWERPC64 handling, and correct
33450         handling of constants > 2G and reg_equal note, from..
33451         (rs6000_emit_set_long_const): ..here.  Remove unneeded param and
33452         return value.  Update comment.  If we can, use a new pseudo
33453         for intermediate calculations.
33454         * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
33455         prototype.
33456         * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
33457         call to rs6000_emit_set_const in splitter.
33458         (movdi_internal64+2, +3): Likewise.
33460 2014-05-26  Richard Biener  <rguenther@suse.de>
33462         * system.h: Define __STDC_FORMAT_MACROS before
33463         including inttypes.h.
33464         * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
33465         HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
33466         HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
33467         HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
33468         HOST_WIDEST_INT_C): Remove.
33469         (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
33470         if C99 inttypes.h is not available.
33471         * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
33472         * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
33473         * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
33474         * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
33475         * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
33476         (struct output_info): Likewise.
33477         (print_statistics): Adjust.
33478         (dump_bitmap_statistics): Likewise.
33479         * bt-load.c (migrate_btr_defs): Print with PRId64.
33480         * cfg.c (dump_edge_info, dump_bb_info): Likewise.
33481         (MAX_SAFE_MULTIPLIER): Adjust.
33482         * cfghooks.c (dump_bb_for_graph): Print with PRId64.
33483         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
33484         dump_cgraph_node): Likewise.
33485         * final.c (dump_basic_block_info): Likewise.
33486         * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
33487         * gcov.c (format_gcov): Likewise.
33488         * ipa-cp.c (good_cloning_opportunity_p): Likewise.  Use int64_t
33489         for calculation.
33490         (get_clone_agg_value): Use HOST_WIDE_INT for offset.
33491         * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
33492         (inline_small_functions, dump_overall_stats, dump_inline_stats):
33493         Use PRId64 for dumping.
33494         * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
33495         * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
33496         (add_allocno_hard_regs): Adjust.
33497         * loop-doloop.c (doloop_modify): Print using PRId64.
33498         * loop-iv.c (inverse): Compute in uint64_t.
33499         (determine_max_iter, iv_number_of_iterations): Likewise.
33500         * loop-unroll.c (decide_peel_completely, decide_peel_simple):
33501         Print using PRId64.
33502         * lto-streamer-out.c (write_symbol): Use uint64_t.
33503         * mcf.c (CAP_INFINITY): Use int64_t maximum.
33504         (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
33505         find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
33506         * modulo-sched.c (const_iteration_count): Use int64_t.
33507         (sms_schedule): Dump using PRId64.
33508         * predict.c (dump_prediction): Likewise.
33509         * pretty-print.h (pp_widest_integer): Remove.
33510         * profile.c (get_working_sets, is_edge_inconsistent,
33511         is_inconsistent, read_profile_edge_counts): Dump using PRId64.
33512         * tree-pretty-print.c (pp_double_int): Remove case handling
33513         HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
33514         * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
33515         and adjust users.
33516         (pass_optimize_bswap::execute): Remove restriction on hosts.
33517         * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
33518         * tree-streamer-out.c (streamer_write_tree_header): Likewise.
33519         * tree.c (widest_int_cst_value): Remove.
33520         * tree.h (widest_int_cst_value): Likewise.
33521         * value-prof.c (dump_histogram_value): Print using PRId64.
33522         * gengtype.c (main): Also inject int64_t.
33523         * ggc-page.c (struct max_alignment): Use int64_t.
33524         * alloc-pool.c (struct allocation_object_def): Likewise.
33525         * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
33526         for computation.
33527         * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
33528         * doc/tm.texi: Regenerated.
33529         * gengtype-lex.l (IWORD): Handle [u]int64_t.
33530         * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
33531         * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
33532         mmix_output_register_setting): Use [u]int64_t in prototypes.
33533         * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
33534         mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
33535         mmix_output_octa, mmix_output_shifted_value): Adjust.
33536         (mmix_intval): Adjust.  Remove unreachable case.
33537         * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
33539 2014-05-26  Richard Biener  <rguenther@suse.de>
33541         * configure.ac: Drop __int64 type check.  Insist that we
33542         found uint64_t and int64_t.
33543         * hwint.h (HOST_BITS_PER___INT64): Remove.
33544         (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
33545         (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
33546         (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
33547         (HOST_WIDEST_FAST_INT): Remove __int64 case.
33548         * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
33549         for dst_q_src_df_rms_cdt.
33550         * configure: Regenerate.
33551         * config.in: Likewise.
33553 2014-05-26  Michael Tautschnig  <mt@debian.org>
33555         PR target/61249
33556         * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
33557         __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
33559 2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
33561         PR rtl-optimization/61278
33562         * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
33564 2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
33566         PR rtl-optimization/61220
33567         Part of PR rtl-optimization/61225
33568         * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
33569         insn; skip split_edge for a block with only one successor.
33571 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33573         * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
33574         for variables.
33576 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33578         * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
33579         (update_vtable_references): New function.
33580         (function_and_variable_visibility): Rewrite also vtable initializers.
33581         * varpool.c (cgraph_variable_initializer_availability): Remove assert.
33583 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33585         * ggc.h (ggc_grow): New function.
33586         * ggc-none.c (ggc_grow): New function.
33587         * ggc-page.c (ggc_grow): Likewise.
33589 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33591         * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
33592         address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
33593         comdat_can_be_unshared_p, cgraph_externally_visible_p,
33594         varpool_externally_visible_p, can_replace_by_local_alias,
33595         update_visibility_by_resolution_info, function_and_variable_visibility,
33596         pass_data_ipa_function_and_variable_visibility,
33597         make_pass_ipa_function_and_variable_visibility,
33598         whole_program_function_and_variable_visibility,
33599         pass_data_ipa_whole_program_visibility,
33600         make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
33601         * cgraph.h (cgraph_local_node_p): Declare.
33602         * ipa-visibility.c: New file.
33603         * Makefile.in (OBJS): Add ipa-visiblity.o
33605 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33607         * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
33608         that var decl is available.
33610 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33612         * tree-core.h (tree_decl_with_vis): Replace comdat_group by
33613         symtab_node pointer.
33614         * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
33615         (find_decls_types_r): Do not walk COMDAT_GROUP.
33616         * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
33617         * varasm.c (make_decl_one_only): Use set_comdat_group;
33618         create node if needed.
33619         * ipa-inline-transform.c (save_inline_function_body): Update
33620         way we decl->symtab mapping.
33621         * symtab.c (symtab_hash, hash_node, eq_node
33622         symtab_insert_node_to_hashtable): Remove.
33623         (symtab_register_node): Update.
33624         (symtab_unregister_node): Update.
33625         (symtab_get_node): Reimplement as inline function.
33626         (symtab_add_to_same_comdat_group): Update.
33627         (symtab_dissolve_same_comdat_group_list): Update.
33628         (dump_symtab_base): Update.
33629         (verify_symtab_base): Update.
33630         (symtab_make_decl_local): Update.
33631         (fixup_same_cpp_alias_visibility): Update.
33632         (symtab_nonoverwritable_alias): Update.
33633         * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
33634         * ipa.c (update_visibility_by_resolution_info): UPdate.
33635         * bb-reorder.c: Include cgraph.h
33636         * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
33637         with comdat groups.
33638         * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
33639         * cgraph.c (cgraph_get_create_node): Update.
33640         * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
33641         and comdat_group_.
33642         (symtab_get_node): Make inline.
33643         (symtab_insert_node_to_hashtable): Remove.
33644         (symtab_can_be_discarded): Update.
33645         (decl_comdat_group): New function.
33646         * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
33647         Update.
33648         * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
33649         comdat group name.
33650         (read_comdat_group): New function.
33651         (input_node, input_varpool_node): Use it.
33652         * trans-mem.c (ipa_tm_create_version_alias): Update code creating
33653         comdat groups.
33654         * mips.c (mips_start_unique_function): Likewise.
33655         (ix86_code_end): Likewise.
33656         (rs6000_code_end): Likweise.
33657         * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
33659 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33661         * gengtype-state.c (fatal_reading_state): Bring offline.
33662         * optabs.c (widening_optab_handler): Bring offline.
33663         * optabs.h (widening_optab_handler): Likewise.
33664         * final.c (get_attr_length_1): Likewise.
33666 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
33668         * sched-int.h (sd_iterator_cond): Manually tail recurse.
33670 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33672         * config/rs6000/440.md (ppc440-integer): Include shift without dot.
33673         (ppc440-compare): Include shift with dot.
33674         * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
33675         * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
33676         without dot.
33677         * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
33678         without dot.
33679         (e6500_sfx2): Include it.
33680         * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
33681         *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
33682         *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
33683         andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
33684         *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
33685         *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
33686         *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
33687         *lshiftrt_internal1le, *lshiftrt_internal1be,
33688         *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
33689         *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
33690         *rotldi3_internal10le, *rotldi3_internal10be,
33691         *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
33692         ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
33693         ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
33694         *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
33695         define_insns): Use type "shift" in the appropriate alternatives.
33697 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33699         * config/rs6000/rs6000.md (type): Add "logical".  Delete
33700         "fast_compare".
33701         (dot): Adjust comment.
33702         (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
33703         *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
33704         *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
33705         anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
33706         *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
33707         *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
33708         *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
33709         * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
33711         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
33712         * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
33713         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
33714         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
33715         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
33716         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
33717         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
33718         * config/rs6000/8540.md (ppc8540_su): Adjust.
33719         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
33720         cell-cmp-microcoded): Adjust.
33721         * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
33722         * config/rs6000/e500mc.md (e500mc_su): Adjust.
33723         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
33724         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
33725         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
33726         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
33727         * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
33728         * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
33729         * config/rs6000/power6.md (power6-integer, power6-fast-compare):
33730         Adjust.
33731         * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
33732         * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
33733         Adjust.  Adjust comment.
33734         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
33735         * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
33737 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33739         * config/rs6000/rs6000.md (type): Add "add".
33740         (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
33741         *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
33742         define_insns): Use it.
33743         * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
33745         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
33746         * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
33747         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
33748         * config/rs6000/601.md (ppc601-integer): Adjust.
33749         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
33750         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
33751         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
33752         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
33753         * config/rs6000/8540.md (ppc8540_su): Adjust.
33754         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
33755         cell-cmp-microcoded): Adjust.
33756         * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
33757         * config/rs6000/e500mc.md (e500mc_su): Adjust.
33758         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
33759         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
33760         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
33761         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
33762         * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
33763         * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
33764         * config/rs6000/power6.md (power6-integer, power6-fast-compare):
33765         Adjust.
33766         * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
33767         * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
33768         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
33769         * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
33771 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33773         * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
33774         "delayed_compare", "var_delayed_compare".
33775         (var_shift): New attribute.
33776         (cell_micro): Adjust.
33777         (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
33778         *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
33779         rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
33780         *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
33781         *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
33782         *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
33783         *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
33784         *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
33785         *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
33786         *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
33787         *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
33788         rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
33789         *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
33790         *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
33791         *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
33792         *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
33793         *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
33794         *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
33795         *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
33796         *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
33797         *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
33798         *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
33799         *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
33800         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
33801         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
33803         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
33804         * config/rs6000/440.md (ppc440-integer): Adjust.
33805         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
33806         * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
33807         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
33808         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
33809         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
33810         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
33811         * config/rs6000/8540.md (ppc8540_su): Adjust.
33812         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
33813         cell-cmp-microcoded): Adjust.
33814         * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
33815         * config/rs6000/e500mc.md (e500mc_su): Adjust.
33816         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
33817         e500mc64_delayed): Adjust.
33818         * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
33819         * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
33820         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
33821         * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
33822         * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
33823         * config/rs6000/power6.md (power6-shift, power6-var-rotate,
33824         power6-delayed-compare, power6-var-delayed-compare): Adjust.
33825         * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
33826         * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
33827         Adjust comment.
33828         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
33829         * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
33831 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33833         * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv".  Add "div".
33834         (bits): New mode_attr.
33835         (idiv_ldiv): Delete mode_attr.
33836         (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
33837         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
33838         rs6000_adjust_priority, is_nonpipeline_insn,
33839         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
33841         * config/rs6000/40x.md (ppc403-idiv): Adjust.
33842         * config/rs6000/440.md (ppc440-idiv): Adjust.
33843         * config/rs6000/476.md (ppc476-idiv): Adjust.
33844         * config/rs6000/601.md (ppc601-idiv): Adjust.
33845         * config/rs6000/603.md (ppc603-idiv): Adjust.
33846         * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
33847         ppc620-ldiv): Adjust.
33848         * config/rs6000/7450.md (ppc7450-idiv): Adjust.
33849         * config/rs6000/7xx.md (ppc750-idiv): Adjust.
33850         * config/rs6000/8540.md (ppc8540_divide): Adjust.
33851         * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
33852         * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
33853         * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
33854         * config/rs6000/e500mc.md (e500mc_divide): Adjust.
33855         * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
33856         * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
33857         * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
33858         * config/rs6000/mpc.md (mpccore-idiv): Adjust.
33859         * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
33860         * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
33861         * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
33862         * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
33863         * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
33864         * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
33865         * config/rs6000/titan.md (titan_fxu_div): Adjust.
33867 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33869         * config/rs6000/rs6000.md (type): Delete "insert_word",
33870         "insert_dword".  Add "insert".
33871         (size): Update comment.
33872         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
33873         insn_must_be_first_in_group): Adjust.
33874         (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
33875         *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
33876         *insvsi_internal6, insvdi_internal): Adjust.
33878         * config/rs6000/40x.md (ppc403-integer): Adjust.
33879         * config/rs6000/440.md (ppc440-integer): Adjust.
33880         * config/rs6000/476.md (ppc476-simple-integer): Adjust.
33881         * config/rs6000/601.md (ppc601-integer): Adjust.
33882         * config/rs6000/603.md (ppc603-integer): Adjust.
33883         * config/rs6000/6xx.md (ppc604-integer): Adjust.
33884         * config/rs6000/7450.md (ppc7450-integer): Adjust.
33885         * config/rs6000/7xx.md (ppc750-integer): Adjust.
33886         * config/rs6000/8540.md (ppc8540_su): Adjust.
33887         * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
33888         * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
33889         * config/rs6000/e500mc.md (e500mc_su): Adjust.
33890         * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
33891         * config/rs6000/e5500.md (e5500_sfx): Adjust.
33892         * config/rs6000/e6500.md (e6500_sfx): Adjust.
33893         * config/rs6000/mpc.md (mpccore-integer): Adjust.
33894         * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
33895         * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
33896         * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
33897         * config/rs6000/power7.md (power7-integer): Adjust.
33898         * config/rs6000/power8.md (power8-1cyc): Adjust.
33899         * config/rs6000/rs64.md (rs64a-integer): Adjust.
33900         * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
33902 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33904         * config/rs6000/rs6000.md (type): Add "mul".  Delete "imul",
33905         "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
33906         (size): New attribute.
33907         (dot): New attribute.
33908         (cell_micro): Adjust.
33909         (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
33910         umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
33911         *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
33912         umuldi3_highpart): Adjust.
33913         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
33914         rs6000_adjust_priority, is_nonpipeline_insn,
33915         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
33917         * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
33918         ppc405-imul3): Adjust.
33919         * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
33920         * config/rs6000/476.md (ppc476-imul): Adjust.
33921         * config/rs6000/601.md (ppc601-imul): Adjust.
33922         * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
33923         * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
33924         ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
33925         * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
33926         * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
33927         Adjust.
33928         * config/rs6000/8540.md (ppc8540_multiply): Adjust.
33929         * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
33930         * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
33931         cell-imul): Adjust.
33932         * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
33933         * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
33934         * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
33935         * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
33936         * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
33937         * config/rs6000/mpc.md (mpccore-imul): Adjust.
33938         * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
33939         power4-lmul, power4-imul, power4-imul3): Adjust.
33940         * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
33941         power5-lmul, power5-imul, power5-imul3): Adjust.
33942         * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
33943         power6-lmul, power6-imul, power6-imul3): Adjust.
33944         * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
33945         * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
33947         * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
33948         rs64a-lmul): Adjust.
33949         * config/rs6000/titan.md (titan_imul): Adjust.
33951 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33953         * config/rs6000/rs6000.md (type): Add new value "halfmul".
33954         (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
33955         *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
33956         *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
33957         *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
33958         *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
33959         * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
33960         * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
33961         * config/rs6000/476.md (ppc476-imul): Add type halfmul.
33962         * config/rs6000/titan.md: Delete nonsensical comment.
33963         (titan_imul): Add type imul3.
33964         (titan_mulhw): Remove type imul3; add type halfmul.
33966 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
33968         * config/rs6000/rs6000.md (type): Reorder, reformat.
33970 2014-05-23  Martin Jambor  <mjambor@suse.cz>
33972         PR tree-optimization/53787
33973         * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
33974         * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
33975         analysis_done, update all uses.
33976         * ipa-prop.c: Include domwalk.h
33977         (param_analysis_info): Removed.
33978         (param_aa_status): New type.
33979         (ipa_bb_info): Likewise.
33980         (func_body_info): Likewise.
33981         (ipa_get_bb_info): New function.
33982         (aa_overwalked): Likewise.
33983         (find_dominating_aa_status): Likewise.
33984         (parm_bb_aa_status_for_bb): Likewise.
33985         (parm_preserved_before_stmt_p): Changed to use new param AA info.
33986         (load_from_unmodified_param): Accept func_body_info as a parameter
33987         instead of parms_ainfo.
33988         (parm_ref_data_preserved_p): Changed to use new param AA info.
33989         (parm_ref_data_pass_through_p): Likewise.
33990         (ipa_load_from_parm_agg_1): Likewise.  Update callers.
33991         (compute_complex_assign_jump_func): Changed to use new param AA info.
33992         (compute_complex_ancestor_jump_func): Likewise.
33993         (ipa_compute_jump_functions_for_edge): Likewise.
33994         (ipa_compute_jump_functions): Removed.
33995         (ipa_compute_jump_functions_for_bb): New function.
33996         (ipa_analyze_indirect_call_uses): Likewise, moved variable
33997         declarations down.
33998         (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
33999         and info, moved variable declarations down.
34000         (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
34001         node and info.
34002         (ipa_analyze_stmt_uses): Likewise.
34003         (ipa_analyze_params_uses): Removed.
34004         (ipa_analyze_params_uses_in_bb): New function.
34005         (ipa_analyze_controlled_uses): Likewise.
34006         (free_ipa_bb_info): Likewise.
34007         (analysis_dom_walker): New class.
34008         (ipa_analyze_node): Handle node-specific forbidden analysis,
34009         initialize and free func_body_info, use dominator walker.
34010         (ipcp_modif_dom_walker): New class.
34011         (ipcp_transform_function): Create and free func_body_info, use
34012         ipcp_modif_dom_walker, moved a lot of functionality there.
34014 2014-05-23  Marek Polacek  <polacek@redhat.com>
34015             Jakub Jelinek  <jakub@redhat.com>
34017         * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
34018         * gcc.c (sanitize_spec_function): Likewise.
34019         * convert.c (convert_to_integer): Include "ubsan.h".  Add
34020         floating-point to integer instrumentation.
34021         * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
34022         * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
34023         SANITIZE_NONDEFAULT.
34024         * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
34025         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
34026         BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
34027         * ubsan.c: Include "realmpfr.h" and "dfp.h".
34028         (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
34029         (ubsan_type_descriptor): Set tkind to 0xffff for types other than
34030         float/double/long double.
34031         (ubsan_instrument_float_cast): New function.
34032         * ubsan.h (ubsan_instrument_float_cast): Declare.
34034 2014-05-23 Jiong Wang  <jiong.wang@arm.com>
34036         * config/aarch64/predicates.md (aarch64_call_insn_operand): New
34037         predicate.
34038         * config/aarch64/constraints.md ("Ucs", "Usf"):  New constraints.
34039         * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
34040         Adjust for tailcalling through registers.
34041         * config/aarch64/aarch64.h (enum reg_class): New caller save
34042         register class.
34043         (REG_CLASS_NAMES): Likewise.
34044         (REG_CLASS_CONTENTS): Likewise.
34045         * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
34046         Allow tailcalling without decls.
34048 2014-05-23  Thomas Schwinge  <thomas@codesourcery.com>
34050         * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
34051         Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
34053         * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
34054         gsi, and variables v_* to v*.
34056 2014-05-23  Eric Botcazou  <ebotcazou@adacore.com>
34058         * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
34060 2014-05-23  Thomas Schwinge  <thomas@codesourcery.com>
34062         * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
34063         * omp-low.c: Update accordingly.
34065         * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
34066         for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
34067         GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
34068         GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
34069         GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
34070         GF_OMP_TARGET_KIND_UPDATE.
34072         * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
34073         Explicitly enumerate the expected region types.
34075 2014-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34077         PR other/56955
34078         * doc/extend.texi (Function Attributes): Fix  __attribute__ ((malloc))
34079         documentation; the old documentation didn't clearly state the
34080         constraints on the contents of the pointed-to storage.
34082 2014-05-23  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
34084         Fix bootstrap error on ia64
34085         * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
34086         Return default value.
34088 2014-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
34090         PR tree-optimization/54733
34091         * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
34092         (CMPNOP): Define.
34093         (find_bswap_or_nop_load): New.
34094         (find_bswap_1): Renamed to ...
34095         (find_bswap_or_nop_1): This. Also add support for memory source.
34096         (find_bswap): Renamed to ...
34097         (find_bswap_or_nop): This. Also add support for memory source and
34098         detection of bitwise operations equivalent to load in target
34099         endianness.
34100         (execute_optimize_bswap): Likewise. Also move its leading comment back
34101         in place and split statement transformation into ...
34102         (bswap_replace): This.
34104 2014-05-22  Vladimir Makarov  <vmakarov@redhat.com>
34106         PR rtl-optimization/61215
34107         * lra-elelimination.c (lra_eliminate_regs_1): Don't use
34108         simplify_gen_subreg until final substitution.
34110 2014-05-23  Alan Modra  <amodra@gmail.com>
34112         PR target/61231
34113         * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
34114         * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
34115         Use "Y" constraint rather than "m".
34117 2014-05-23  Kugan Vivekanandarajah  <kuganv@linaro.org>
34119         * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
34120         define.
34121         * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
34122         New function declaration.
34123         * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
34124         AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
34125         AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
34126         (aarch64_init_builtins) : Initialize builtins
34127         __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
34128         __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
34129         (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
34130         __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
34131         and __builtins_aarch64_set_fpsr.
34132         (aarch64_atomic_assign_expand_fenv): New function.
34133         * config/aarch64/aarch64.md (set_fpcr): New pattern.
34134         (get_fpcr) : Likewise.
34135         (set_fpsr) : Likewise.
34136         (get_fpsr) : Likewise.
34137         (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
34138         and UNSPECV_SET_FPSR.
34139         * doc/extend.texi (AARCH64 Built-in Functions) : Document
34140         __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
34141         __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
34143 2014-05-22  Vladimir Makarov  <vmakarov@redhat.com>
34145         PR rtl-optimization/60969
34146         * ira-costs.c (record_reg_classes): Process NO_REGS for matching
34147         constraints.  Set up mem cost for NO_REGS case.
34149 2014-05-22  Thomas Schwinge  <thomas@codesourcery.com>
34151         * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
34153 2012-05-22  Bernd Schmidt  <bernds@codesourcery.com>
34155         * config/darwin.c: Include "lto-section-names.h".
34156         (LTO_SEGMENT_NAME): Don't define.
34157         * config/i386/winnt.c: Include "lto-section-names.h".
34158         * lto-streamer.c: Include "lto-section-names.h".
34159         * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
34160         * lto-wrapper.c: Include "lto-section-names.h".
34161         (LTO_SECTION_NAME_PREFIX): Don't define.
34162         * lto-section-names.h: New file.
34163         * cgraphunit.c: Include "lto-section-names.h".
34165 2014-05-22  Peter Bergner  <bergner@vnet.ibm.com>
34167         * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
34169 2014-05-22  Richard Earnshaw  <rearnsha@arm.com>
34171         PR target/61208
34172         * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
34174 2014-05-22  Nick Clifton  <nickc@redhat.com>
34176         * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
34178 2014-05-22  Eric Botcazou  <ebotcazou@adacore.com>
34180         * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
34181         -> (T)A transformation to integer types.
34183 2014-05-22  Teresa Johnson  <tejohnson@google.com>
34185         * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
34186         (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
34187         (gcov_rewrite): Use gcov_nonruntime_assert.
34188         (gcov_open): Ditto.
34189         (gcov_write_words): Ditto.
34190         (gcov_write_length): Ditto.
34191         (gcov_read_words): Use gcov_nonruntime_assert, and remove
34192         gcc_assert from IN_LIBGCOV code.
34193         (gcov_read_summary): Use gcov_error to flag profile corruption.
34194         (gcov_sync): Use gcov_nonruntime_assert.
34195         (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
34196         (gcov_histo_index): Use gcov_nonruntime_assert.
34197         (static void gcov_histogram_merge): Ditto.
34198         (compute_working_sets): Ditto.
34199         * gcov-io.h (gcov_nonruntime_assert): Define.
34200         (gcov_error): Define for !IN_LIBGCOV
34202 2014-05-22  Richard Biener  <rguenther@suse.de>
34204         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
34205         BUILT_IN_REALLOC like BUILT_IN_STRDUP.
34206         (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
34207         and deallocation site.
34208         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
34209         Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
34210         passing through the incoming points-to set.
34211         (handle_lhs_call): Use flags argument instead of recomputing it.
34212         (find_func_aliases_for_call): Call handle_lhs_call with proper
34213         call return flags.
34215 2014-05-22  Jakub Jelinek  <jakub@redhat.com>
34217         * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
34218         all padding bits in REAL_VALUE_TYPE are cleared.
34220 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
34222         Cleanup and improve multipass_dfa_lookahead_guard
34223         * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
34224         (core2i7_first_cycle_multipass_begin,)
34225         (core2i7_first_cycle_multipass_issue,)
34226         (core2i7_first_cycle_multipass_backtrack): Update signature.
34227         * config/ia64/ia64.c
34228         (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
34229         (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
34230         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
34231         hook definition.
34232         (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
34233         ia64_first_cycle_multipass_dfa_lookahead_guard_spec.  Update return
34234         values.
34235         * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
34236         return values.
34237         * doc/tm.texi: Regenerate.
34238         * doc/tm.texi.in
34239         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
34240         * haifa-sched.c (ready_try): Make signed to allow negative values.
34241         (rebug_ready_list_1): Update.
34242         (choose_ready): Simplify.
34243         (sched_extend_ready_list): Update.
34245 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
34247         Remove IA64 speculation tweaking flags
34248         * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
34249         speculation tuning flags.
34250         (msched-prefer-non-data-spec-insns,)
34251         (msched-prefer-non-control-spec-insns): Obsolete options.
34252         * haifa-sched.c (choose_ready): Remove handling of
34253         PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
34254         * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
34255         and PREFER_NON_DATA_SPEC.
34256         * sel-sched.c (process_spec_exprs): Remove handling of
34257         PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
34259 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
34261         Improve scheduling debug output
34262         * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
34263         (advance_one_cycle): Update.
34264         (schedule_insn, queue_to_ready): Add debug printouts.
34265         (debug_ready_list_1): New static function.
34266         (debug_ready_list): Update.
34267         (max_issue): Add debug printouts.
34268         (dump_insn_stream): New static function.
34269         (schedule_block): Use it.  Also better indent printouts.
34271 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
34273         Fix sched_insn debug counter
34274         * haifa-sched.c (schedule_insn): Update.
34275         (struct haifa_saved_data): Add nonscheduled_insns_begin.
34276         (save_backtrack_point, restore_backtrack_point): Update.
34277         (first_nonscheduled_insn): New static function.
34278         (queue_to_ready, choose_ready): Use it.
34279         (schedule_block): Init nonscheduled_insns_begin.
34280         (sched_emit_insn): Update.
34283 2014-05-22  Kugan Vivekanandarajah  <kuganv@linaro.org>
34285         * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
34286         to GENERAL_REGS.
34287         (aarch64_secondary_reload) : LikeWise.
34288         (aarch64_class_max_nregs) : Remove CORE_REGS.
34289         * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
34290         (REG_CLASS_NAMES) : Likewise.
34291         (REG_CLASS_CONTENTS) : LikeWise.
34292         (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
34294 2014-05-21  Guozhi Wei  <carrot@google.com>
34296         PR target/61202
34297         * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
34298         constraint.
34299         (vqdmulhq_n_s16): Likewise.
34301 2014-05-21  Segher Boessenkool  <segher@kernel.crashing.org>
34303         * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
34305 2014-05-21  Marek Polacek  <polacek@redhat.com>
34307         PR sanitizer/61272
34308         * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
34310 2014-05-21  Martin Jambor  <mjambor@suse.cz>
34312         * doc/invoke.texi (Optimize Options): Document parameters
34313         ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
34314         ipa-cp-array-index-hint-bonus.
34316 2014-05-21  Mark Wielaard  <mjw@redhat.com>
34318         PR debug/16063
34319         * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
34320         version >= 3 or not strict DWARF.
34321         * langhooks.h (struct lang_hooks_for_types): Add
34322         enum_underlying_base_type.
34323         * langhooks.c (lhd_enum_underlying_base_type): New function.
34324         * gcc/langhooks.h (struct lang_hooks_for_types): Add
34325         enum_underlying_base_type.
34326         * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
34327         (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
34328         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
34330 2014-05-21  Richard Biener  <rguenther@suse.de>
34332         * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
34334 2014-05-21  John Marino  <gnugcc@marino.st>
34336         * config.gcc (*-*-dragonfly*): New target.
34337         * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
34338         * configure: Regenerate.
34339         * config/dragonfly-stdint.h: New.
34340         * config/dragonfly.h: New.
34341         * config/dragonfly.opt: New.
34342         * config/i386/dragonfly.h: New.
34343         * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
34345 2014-05-21  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
34347         * tree.def (VOID_CST): New.
34348         * tree-core.h (TI_VOID): New.
34349         * tree.h (void_node): New.
34350         * tree.c (tree_node_structure_for_code, tree_code_size)
34351         (iterative_hash_expr): Handle VOID_CST.
34352         (build_common_tree_nodes): Initialize void_node.
34354 2014-05-21  Bernd Schmidt  <bernds@codesourcery.com>
34356         * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
34357         functions.
34358         (reload, calculate_needs_all_insns, reload_as_needed): Use them.
34360         * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
34361         more places.
34363         * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
34364         flag_reorder_blocks_and_partition.
34365         * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
34367 2014-05-21  Oleg Endo  <olegendo@gcc.gnu.org>
34369         PR target/54236
34370         * config/sh/sh.md (*addc_r_1): Rename to addc_t_r.  Remove empty
34371         constraints.
34372         (*addc_r_t): Add new insn_and_split.
34374 2014-05-21  Jakub Jelinek  <jakub@redhat.com>
34376         PR middle-end/61252
34377         * omp-low.c (handle_simd_reference): New function.
34378         (lower_rec_input_clauses): Use it.  Defer adding reference
34379         initialization even for reduction without placeholder if in simd,
34380         handle it properly later on.
34382 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
34384         PR tree-optimization/60899
34385         * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
34386         assume all static symbols will have definition wile parsing and
34387         check the do have definition later in compilation; check that
34388         variable referring symbol will be output before concluding that
34389         reference is safe; be conservative for referring local statics;
34390         be more precise about when comdat is output in other partition.
34392 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
34394         PR bootstrap/60984
34395         * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
34396         parameter.
34397         * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
34398         (ipa_inline): Loop inline_to_all_callers until no more aliases
34399         are removed.
34401 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
34403         * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
34404         set writeonly flag only for vars actually written to.
34406 2014-05-20  Dehao Chen  <dehao@google.com>
34408         * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
34409         and callee count to get clone count.
34410         * tree-inline.c (expand_call_inline): Use callee count instead of bb
34411         count in copy_body.
34413 2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
34415         PR rtl-optimization/61243
34416         * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
34418 2014-05-20  Xinliang David Li  <davidxl@google.com>
34420         * cgraphunit.c (walk_polymorphic_call_targets): Add
34421         dbgcnt and fopt-info support.
34422         * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
34423         * ipa-devirt.c (ipa_devirt): Ditto.
34424         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
34425         * ipa.c (walk_polymorphic_call_targets): Ditto.
34426         * gimple-fold.c (fold_gimple_assign): Ditto.
34427         (gimple_fold_call): Ditto.
34428         * dbgcnt.def: New counter.
34430 2014-05-20  DJ Delorie  <dj@redhat.com>
34432         * config/msp430/msp430.md (split): Don't allow subregs when
34433         splitting SImode adds.
34434         (andneghi): Fix subtraction logic.
34435         * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
34437 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
34439         * tree.h (DECL_ONE_ONLY): Return true only for externally visible
34440         symbols.
34441         * except.c (switch_to_exception_section, resolve_unique_section,
34442         get_named_text_section, default_function_rodata_section,
34443         align_variable, get_block_for_decl, default_section_type_flags):
34444         Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
34445         * symtab.c (symtab_add_to_same_comdat_group,
34446         symtab_make_decl_local, fixup_same_cpp_alias_visibility,
34447         symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
34448         Likewise.
34449         * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
34450         * bb-reorder.c (pass_partition_blocks::gate): Likewise.
34451         * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
34452         (c6x_function_in_section_p): Likewise.
34453         * config/darwin.c (machopic_select_section): Likewise.
34454         * config/arm/arm.c (arm_function_in_section_p): Likewise.
34455         * config/mips/mips.c (mips_function_rodata_section): Likewise.
34456         * config/mep/mep.c (mep_select_section): LIkewise.
34457         * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
34459 2014-05-20  Eric Botcazou  <ebotcazou@adacore.com>
34461         * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
34462         EH region of calls to pure functions that can throw an exception.
34463         * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
34464         (copy_reference_ops_from_call): Also copy the EH region of the call if
34465         it can throw an exception.
34467 2014-05-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
34469         * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
34470         nested VEC_SELECTs that are inverses of each other.
34472 2014-05-20  Richard Biener  <rguenther@suse.de>
34474         * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
34475         (extract_and_process_scc_for_name): not here.
34476         (cond_dom_walker::before_dom_children): Only process
34477         stmts that end the BB in interesting ways.
34478         (run_scc_vn): Mark param uses as visited.
34480 2014-05-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34482         * config/arm/arm.md (arith_shiftsi): Do not predicate for
34483         arm_restrict_it.
34485 2014-05-20  Nick Clifton  <nickc@redhat.com>
34487         * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
34488         (msp430_gimplify_va_arg_expr): New function.
34489         (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
34491         * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
34492         operand 0 in order to prevent confusion about the number of
34493         registers involved.
34495 2014-05-20  Richard Biener  <rguenther@suse.de>
34497         PR tree-optimization/61221
34498         * tree-ssa-pre.c (el_to_update): Remove.
34499         (eliminate_dom_walker::before_dom_children): Handle released
34500         VDEFs by value-numbering them to the associated VUSE.  Update
34501         stmt immediately for substituted call address.
34502         (eliminate): Remove delayed stmt updating code.
34503         * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
34504         possibly late re-numbered vuses.
34505         (vn_reference_lookup_2): Adjust.
34506         (vn_reference_lookup_pieces): Likewise.
34507         (vn_reference_lookup): Likewise.
34509 2014-05-20  Richard Biener  <rguenther@suse.de>
34511         * config.gcc: Remove need_64bit_hwint.
34512         * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
34513         * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
34514         it to be true.
34515         * config.in: Regenerate.
34516         * configure: Likewise.
34518 2014-05-19  David Wohlferd <dw@LimeGreenSocks.com>
34520         * doc/extend.texi: Create Label Attributes section,
34521         move all label attributes into it and reference it.
34523 2014-05-19  Richard Earnshaw  <rearnsha@arm.com>
34525         * arm.c (thumb1_reorg): When scanning backwards skip anything
34526         that's not a proper insn.
34528 2014-05-19  Richard Biener  <rguenther@suse.de>
34530         PR tree-optimization/61221
34531         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
34532         Do nothing for unreachable blocks.
34533         * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
34534         Improve unreachability detection.
34536 2014-05-19  Richard Biener  <rguenther@suse.de>
34538         PR tree-optimization/61209
34539         * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
34541 2014-05-19  Nick Clifton  <nickc@redhat.com>
34543         * except.c (init_eh): Fix computation of builtin setjmp buffer
34544         size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
34546 2014-05-19  Richard Biener  <rguenther@suse.de>
34548         PR tree-optimization/61184
34549         * tree-vrp.c (is_negative_overflow_infinity): Use
34550         TREE_OVERFLOW_P and do that check first.
34551         (is_positive_overflow_infinity): Likewise.
34552         (is_overflow_infinity): Likewise.
34553         (vrp_operand_equal_p): Properly treat operands with
34554         differing overflow as not equal.
34556 2014-05-19  Bernd Schmidt  <bernds@codesourcery.com>
34558         * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
34559         shift simplification where it was intended.
34561 2014-05-19  Christian Bruel  <christian.bruel@st.com>
34563         PR target/61195
34564         * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
34566 2014-05-19  Richard Sandiford  <r.sandiford@uk.ibm.com>
34568         PR target/61084
34569         * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
34570         than wide_int.
34572 2014-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
34574         * reg-notes.def (CROSSING_JUMP): Likewise.
34575         * rtl.h (rtx_def): Update comment for jump flag.
34576         (CROSSING_JUMP_P): Define.
34577         * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
34578         of a REG_CROSSING_JUMP note.
34579         * cfghooks.c (tidy_fallthru_edges): Likewise.
34580         * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
34581         * emit-rtl.c (try_split): Likewise.
34582         * haifa-sched.c (sched_create_recovery_edges): Likewise.
34583         * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
34584         * jump.c (redirect_jump_2): Likewise.
34585         * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
34586         (relax_delay_slots): Likewise.
34587         * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
34588         (bbit_di): Likewise.
34589         * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
34590         * config/sh/sh.md (jump_compact): Likewise.
34591         * bb-reorder.c (rotate_loop): Likewise.
34592         (pass_duplicate_computed_gotos::execute): Likewise.
34593         (add_reg_crossing_jump_notes): Rename to...
34594         (update_crossing_jump_flags): ...this.
34595         (pass_partition_blocks::execute): Update accordingly.
34597 2014-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
34599         * tree.h: Remove extraneous template <>.
34601 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
34603         * ipa.c (symtab_remove_unreachable_nodes): Remove
34604         symbol from comdat group if its body was eliminated.
34605         (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
34606         * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
34607         (symtab_unregister_node): ... this one.
34608         (verify_symtab_base): More strict checking of comdats.
34609         * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
34611 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
34613         * tree-pass.h (make_pass_ipa_comdats): New pass.
34614         * timevar.def (TV_IPA_COMDATS): New timevar.
34615         * passes.def (pass_ipa_comdats): Add.
34616         * Makefile.in (OBJS): Add ipa-comdats.o
34617         * ipa-comdats.c: New file.
34619 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
34621         * ipa.c (update_visibility_by_resolution_info): New function.
34622         (function_and_variable_visibility): Use it.
34624 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
34626         * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
34627         New functions.
34628         (FOR_EACH_DEFINED_SYMBOL): New macro.
34629         (varpool_first_static_initializer, varpool_next_static_initializer,
34630         varpool_first_defined_variable, varpool_next_defined_variable):
34631         Fix comments.
34632         (symtab_in_same_comdat_p): Correctly deal with inline functions.
34634 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
34636         * ggc-page.c (ggc_handle_finalizers): Add comment.
34638 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
34640         * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
34641         * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
34642         (ggc_internal_cleared_alloc): Likewise.
34643         * ggc-page.c (finalizer): New class.
34644         (vec_finalizer): Likewise.
34645         (globals::finalizers): New member.
34646         (globals::vec_finalizers): Likewise.
34647         (ggc_internal_alloc): Record the finalizer if any for the block being
34648         allocated.
34649         (ggc_handle_finalizers): New function.
34650         (ggc_collect): Call ggc_handle_finalizers.
34651         * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
34652         finalizer.
34653         (ggc_internal_cleared_alloc): Likewise.
34654         (finalize): New function.
34655         (need_finalization_p): Likewise.
34656         (ggc_alloc): Install the type's destructor as the finalizer if it
34657         might do something.
34658         (ggc_cleared_alloc): Likewise.
34659         (ggc_vec_alloc): Likewise.
34660         (ggc_cleared_vec_alloc): Likewise.
34662 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
34664         * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
34666 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
34668         * alias.c (record_alias_subset): Adjust.
34669         * bitmap.c (bitmap_element_allocate): Likewise.
34670         (bitmap_gc_alloc_stat): Likewise.
34671         * cfg.c (init_flow): Likewise.
34672         (alloc_block): Likewise.
34673         (unchecked_make_edge): Likewise.
34674         * cfgloop.c (alloc_loop): Likewise.
34675         (flow_loops_find): Likewise.
34676         (rescan_loop_exit): Likewise.
34677         * cfgrtl.c (init_rtl_bb_info): Likewise.
34678         * cgraph.c (insert_new_cgraph_node_version): Likewise.
34679         (cgraph_allocate_node): Likewise.
34680         (cgraph_create_edge_1): Likewise.
34681         (cgraph_allocate_init_indirect_info): Likewise.
34682         * cgraphclones.c (cgraph_clone_edge): Likewise.
34683         * cgraphunit.c (add_asm_node): Likewise.
34684         (init_lowered_empty_function): Likewise.
34685         * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
34686         * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
34687         (alpha_use_linkage): Likewise.
34688         * config/arc/arc.c (arc_init_machine_status): Likewise.
34689         * config/arm/arm.c (arm_init_machine_status): Likewise.
34690         * config/avr/avr.c (avr_init_machine_status): Likewise.
34691         * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
34692         * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
34693         * config/cris/cris.c (cris_init_machine_status): Likewise.
34694         * config/darwin.c (machopic_indirection_name): Likewise.
34695         (darwin_build_constant_cfstring): Likewise.
34696         (darwin_enter_string_into_cfstring_table): Likewise.
34697         * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
34698         * config/frv/frv.c (frv_init_machine_status): Likewise.
34699         * config/i386/i386.c (get_dllimport_decl): Likewise.
34700         (ix86_init_machine_status): Likewise.
34701         (assign_386_stack_local): Likewise.
34702         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
34703         (i386_pe_maybe_record_exported_symbol): Likewise.
34704         (i386_pe_record_stub): Likewise.
34705         * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
34706         * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
34707         * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
34708         (m32c_note_pragma_address): Likewise.
34709         * config/mep/mep.c (mep_init_machine_status): Likewise.
34710         (mep_note_pragma_flag): Likewise.
34711         * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
34712         (mips16_local_alias): Likewise.
34713         (mips_init_machine_status): Likewise.
34714         * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
34715         * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
34716         * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
34717         * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
34718         * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
34719         * config/pa/pa.c (pa_init_machine_status): Likewise.
34720         (pa_get_deferred_plabel): Likewise.
34721         * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
34722         * config/rs6000/rs6000.c (builtin_function_type): Likewise.
34723         (rs6000_init_machine_status): Likewise.
34724         (output_toc): Likewise.
34725         * config/s390/s390.c (s390_init_machine_status): Likewise.
34726         * config/score/score.c (score_output_external): Likewise.
34727         * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
34728         * config/spu/spu.c (spu_init_machine_status): Likewise.
34729         * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
34730         * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
34731         * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
34732         * coverage.c (coverage_end_function): Likewise.
34733         * dbxout.c (dbxout_init): Likewise.
34734         * doc/gty.texi: Don't mention variable_size attribute.
34735         * dwarf2cfi.c (new_cfi): Adjust.
34736         (new_cfi_row): Likewise.
34737         (copy_cfi_row): Likewise.
34738         (create_cie_data): Likewise.
34739         * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
34740         (new_loc_descr): Likewise.
34741         (find_AT_string_in_table): Likewise.
34742         (add_addr_table_entry): Likewise.
34743         (new_die): Likewise.
34744         (add_var_loc_to_decl): Likewise.
34745         (clone_die): Likewise.
34746         (clone_as_declaration): Likewise.
34747         (break_out_comdat_types): Likewise.
34748         (new_loc_list): Likewise.
34749         (add_loc_descr_to_each): Likewise.
34750         (add_location_or_const_value_attribute): Likewise.
34751         (add_linkage_name): Likewise.
34752         (lookup_filename): Likewise.
34753         (dwarf2out_var_location): Likewise.
34754         (new_line_info_table): Likewise.
34755         (dwarf2out_init): Likewise.
34756         (mem_loc_descriptor): Likewise.
34757         (loc_descriptor): Likewise.
34758         (add_const_value_attribute): Likewise.
34759         (tree_add_const_value_attribute): Likewise.
34760         (comp_dir_string): Likewise.
34761         (dwarf2out_vms_debug_main_pointer): Likewise.
34762         (string_cst_pool_decl): Likewise.
34763         * emit-rtl.c (set_mem_attrs): Likewise.
34764         (get_reg_attrs): Likewise.
34765         (start_sequence): Likewise.
34766         (init_emit): Likewise.
34767         (init_emit_regs): Likewise.
34768         * except.c (init_eh_for_function): Likewise.
34769         (gen_eh_region): Likewise.
34770         (gen_eh_region_catch): Likewise.
34771         (gen_eh_landing_pad): Likewise.
34772         (add_call_site): Likewise.
34773         * function.c (add_frame_space): Likewise.
34774         (insert_temp_slot_address): Likewise.
34775         (assign_stack_temp_for_type): Likewise.
34776         (get_hard_reg_initial_val): Likewise.
34777         (allocate_struct_function): Likewise.
34778         (prepare_function_start): Likewise.
34779         (types_used_by_var_decl_insert): Likewise.
34780         * gengtype.c (variable_size_p): Remove function.
34781         (enum alloc_quantity): Remove enum.
34782         (write_typed_alloc_def): Remove function.
34783         (write_typed_struct_alloc_def): Likewise.
34784         (write_typed_typedef_alloc_def): Likewise.
34785         (write_typed_alloc_defns): Likewise.
34786         (main): Adjust.
34787         * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
34788         (ggc_cleared_alloc_ptr_array_two_args): Likewise.
34789         * ggc.h (ggc_alloc): new function.
34790         (ggc_cleared_alloc): Likewise.
34791         (ggc_vec_alloc): Template on type of vector element, and remove
34792         element size argument.
34793         (ggc_cleared_vec_alloc): Likewise.
34794         * gimple.c (gimple_build_omp_for): Adjust.
34795         (gimple_copy): Likewise.
34796         * ipa-cp.c (get_replacement_map): Likewise.
34797         (find_aggregate_values_for_callers_subset): Likewise.
34798         (known_aggs_to_agg_replacement_list): Likewise.
34799         * ipa-devirt.c (get_odr_type): Likewise.
34800         * ipa-prop.c (ipa_node_duplication_hook): Likewise.
34801         (read_agg_replacement_chain): Likewise.
34802         * loop-iv.c (get_simple_loop_desc): Likewise.
34803         * lto-cgraph.c (input_node_opt_summary): Likewise.
34804         * lto-section-in.c (lto_new_in_decl_state): Likewise.
34805         * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
34806         (input_eh_region): Likewise.
34807         (input_eh_lp): Likewise.
34808         (input_cfg): Likewise.
34809         * optabs.c (set_optab_libfunc): Likewise.
34810         (init_tree_optimization_optabs): Likewise.
34811         (set_conv_libfunc): Likewise.
34812         * passes.c (do_per_function_toporder): Likewise.
34813         * rtl.h: Don't use variable_size gty attribute.
34814         * sese.c (if_region_set_false_region): Adjust.
34815         * stringpool.c (gt_pch_save_stringpool): Likewise.
34816         * target-globals.c (save_target_globals): Likewise.
34817         * toplev.c (general_init): Likewise.
34818         * trans-mem.c (record_tm_replacement): Likewise.
34819         (split_bb_make_tm_edge): Likewise.
34820         * tree-cfg.c (move_sese_region_to_fn): Likewise.
34821         * tree-data-ref.h (lambda_vector_new): Likewise.
34822         * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
34823         * tree-iterator.c (tsi_link_before): Likewise.
34824         (tsi_link_after): Likewise.
34825         * tree-scalar-evolution.c (new_scev_info_str): Likewise.
34826         * tree-ssa-loop-niter.c (record_estimate): Likewise.
34827         * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
34828         * tree-ssa-operands.h: Don't use variable_size gty attribute.
34829         * tree-ssa.c (init_tree_ssa): Adjust.
34830         * tree-ssanames.c (set_range_info): Likewise.
34831         (get_ptr_info): Likewise.
34832         (duplicate_ssa_name_ptr_info): Likewise.
34833         (duplicate_ssa_name_range_info): Likewise.
34834         * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
34835         (unpack_ts_fixed_cst_value_fields): Likewise.
34836         * tree.c (build_fixed): Likewise.
34837         (build_real): Likewise.
34838         (build_string): Likewise.
34839         (decl_priority_info): Likewise.
34840         (decl_debug_expr_insert): Likewise.
34841         (decl_value_expr_insert): Likewise.
34842         (decl_debug_args_insert): Likewise.
34843         (type_hash_add): Likewise.
34844         (build_omp_clause): Likewise.
34845         * ubsan.c (decl_for_type_insert): Likewise.
34846         * varasm.c (get_unnamed_section): Likewise.
34847         (get_noswitch_section): Likewise.
34848         (get_section): Likewise.
34849         (get_block_for_section): Likewise.
34850         (create_block_symbol): Likewise.
34851         (build_constant_desc): Likewise.
34852         (create_constant_pool): Likewise.
34853         (force_const_mem): Likewise.
34854         (record_tm_clone_pair): Likewise.
34855         * varpool.c (varpool_create_empty_node): Likewise.
34857 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
34859         * dwarf2out.c (tree_add_const_value_attribute): Call
34860         ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
34861         * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
34862         instead of ggc_internal_<x>alloc_stat.
34863         * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
34864         (ggc_realloc): Likewise.
34865         * ggc-none.c (ggc_internal_alloc): Likewise.
34866         (ggc_internal_cleared_alloc): Likewise.
34867         * ggc-page.c: Likewise.
34868         * ggc.h (ggc_internal_alloc_stat): Likewise.
34869         (ggc_internal_alloc): Remove macro.
34870         (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
34871         (ggc_internal_cleared_alloc): Remove macro.
34872         (GGC_RESIZEVEC): Adjust.
34873         (ggc_resizevar): Remove macro.
34874         (ggc_internal_vec_alloc_stat): Drop _stat suffix.
34875         (ggc_internal_cleared_vec_alloc_stat): Likewise.
34876         (ggc_internal_vec_cleared_alloc): Remove macro.
34877         (ggc_alloc_atomic_stat): Drop _stat suffix.
34878         (ggc_alloc_atomic): Remove macro.
34879         (ggc_alloc_cleared_atomic): Remove macro.
34880         (ggc_alloc_string_stat): Drop _stat suffix.
34881         (ggc_alloc_string): Remove macro.
34882         (ggc_alloc_rtx_def_stat): Adjust.
34883         (ggc_alloc_tree_node_stat): Likewise.
34884         (ggc_alloc_cleared_tree_node_stat): Likewise.
34885         (ggc_alloc_cleared_gimple_statement_stat): Likewise.
34886         (ggc_alloc_cleared_simd_clone_stat): Likewise.
34887         * gimple.c (gimple_build_omp_for): Likewise.
34888         (gimple_copy): Likewise.
34889         * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
34890         * toplev.c (realloc_for_line_map): Adjust.
34891         * tree-data-ref.h (lambda_vector_new): Likewise.
34892         * tree-phinodes.c (allocate_phi_node): Likewise.
34893         * tree.c (grow_tree_vec_stat): Likewise.
34894         * vec.h (va_gc::reserve): Adjust.
34896 2014-05-17  Ajit Agarwal  <ajitkum@xilinx.com>
34898         * config/microblaze/microblaze.c (break_handler): New Declaration.
34899         (microblaze_break_function_p,microblaze_is_break_handler): New.
34900         (compute_frame_size): Use microblaze_break_function_p.
34901         Add the test of break_handler.
34902         (microblaze_function_prologue) : Add the test of variable
34903         break_handler.  Check the fnname by BREAK_HANDLER_NAME.
34904         (microblaze_function_epilogue) : Add the test of break_handler.
34905         (microblaze_globalize_label) : Add the test of break_handler.
34906         Check the name by BREAK_HANDLER_NAME.
34908         * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
34910         * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
34911         microblaze_is_break_handler test.
34912         (call_internal1,call_value_intern): Use microblaze_break_function_p.
34913         Use SYMBOL_REF_DECL.
34915         * config/microblaze/microblaze-protos.h
34916         (microblaze_break_function_p,microblaze_is_break_handler):
34917         New Declaration.
34919         * doc/extend.texi (MicroBlaze break_handler Functions): Document
34920         new MicroBlaze break_handler functions.
34922 2014-05-17  Uros Bizjak  <ubizjak@gmail.com>
34924         * doc/extend.texi (Size of an asm): Move node text according
34925         to its @menu entry position.
34927 2014-05-17  Marc Glisse  <marc.glisse@inria.fr>
34929         PR tree-optimization/61140
34930         PR tree-optimization/61150
34931         PR tree-optimization/61197
34932         * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
34934 2014-05-17  Uros Bizjak  <ubizjak@gmail.com>
34936         * doc/invoke.texi (free): Mention Alpha.  Also enabled at -Os.
34938 2014-05-17  Richard Sandiford  <r.sandiford@uk.ibm.com>
34940         * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
34941         __SIZEOF_INT128__ is defined.
34943 2014-05-17  Richard Sandiford  <rdsandiford@googlemail.com>
34945         * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
34946         (rs6000_delegitimize_address): Use it.
34948 2014-05-17  Richard Sandiford  <rdsandiford@googlemail.com>
34950         * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
34951         inplace argument.  Store the new address in the original MEM when true.
34952         * emit-rtl.c (change_address_1): Likewise.
34953         (adjust_address_1, adjust_automodify_address_1, offset_address):
34954         Update accordingly.
34955         * rtl.h (plus_constant): Add an inplace argument.
34956         * explow.c (plus_constant): Likewise.  Try to reuse the original PLUS
34957         when true.  Avoid generating (plus X (const_int 0)).
34958         * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
34959         in-place.  Pass true to plus_constant.
34960         (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
34962 2014-05-16  Dehao Chen  <dehao@google.com>
34964         * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
34966 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
34968         PR target/54089
34969         * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
34970         patterns.
34971         * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
34973 2014-05-16  Dehao Chen  <dehao@google.com>
34975         * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
34976         optimize_function_for_size_p.
34977         * regs.h (REG_FREQ_FROM_BB): Likewise.
34979 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
34981         PR target/51244
34982         * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
34983         negt_reg_operand cases.
34984         * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
34985         predicate.
34986         * config/sh/predicates.md (cbranch_treg_value): Simplify.
34988 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
34990         * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
34991         target variants.
34993 2014-05-16  David Malcolm  <dmalcolm@redhat.com>
34995         Revert:
34996         2014-04-29  David Malcolm  <dmalcolm@redhat.com>
34998         * tree-cfg.c (dump_function_to_file): Dump the return type of
34999         functions, in a line to itself before the function body, mimicking
35000         the layout of a C function.
35002 2014-05-16  Dehao Chen  <dehao@google.com>
35004         * cfghooks.c (make_forwarder_block): Use direct computation to
35005         get fall-through edge's count and frequency.
35007 2014-05-16  Benno Schulenberg  <bensberg@justemail.net>
35009         * config/arc/arc.c (arc_init): Fix typo in error message.
35010         * config/i386/i386.c (ix86_expand_builtin): Likewise.
35011         (split_stack_prologue_scratch_regno): Likewise.
35012         * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
35013         word from error message.
35015 2014-05-16  Zhouyi Zhou <yizhouzhou@ict.ac.cn>
35017         * ira-costs.c: Fix typo in comment.
35019 2014-05-16  David Wohlferd <dw@LimeGreenSocks.com>
35021         * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
35023 2014-05-16  Jan Hubicka  <hubicka@ucw.cz>
35025         * varpool.c (dump_varpool_node): Dump write-only flag.
35026         * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
35027         write-only flag.
35028         * tree-cfg.c (execute_fixup_cfg): Remove statements setting
35029         write-only variables.
35030         * ipa.c (process_references): New function.
35031         (set_readonly_bit): New function.
35032         (set_writeonly_bit): New function.
35033         (clear_addressable_bit): New function.
35034         (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
35035         fix handling of aliases.
35036         * cgraph.h (struct varpool_node): Add writeonly flag.
35038 2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>
35040         PR rtl-optimization/60969
35041         * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
35042         Calculate costs for this case.
35044 2014-05-16  Eric Botcazou  <ebotcazou@adacore.com>
35046         * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
35047         <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
35049 2014-05-16  Richard Biener  <rguenther@suse.de>
35051         PR tree-optimization/61194
35052         * tree-vect-patterns.c (adjust_bool_pattern): Also handle
35053         bool patterns ending in a COND_EXPR.
35055 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35057         * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
35059 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35061         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
35062         where we were unable to cost an RTX.
35064 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35066         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
35067         HIGH, LO_SUM.
35069 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35070             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35072         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
35074 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35075             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35077         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
35078         FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
35080 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35081             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35083         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
35084         operators.
35086 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35087             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35089         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
35090         DIV/MOD.
35092 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35093             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35095         * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
35096         (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
35098 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35099             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35101         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
35102         rotates and shifts.
35104 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35105             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35107         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
35108         ZERO_EXTEND and SIGN_EXTEND better.
35110 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35111             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35113         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
35114         logical operations.
35116 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35117             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35119         * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
35120         costs when costing loads and stores to memory.
35122 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35123             Philip Tomsich  <philipp.tomsich@theobroma-systems.com>
35125         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
35126         for SET RTX.
35128 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35130         * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
35132 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35133             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35135         * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
35136         to...
35137         (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
35138         well formed.
35139         (aarch64_rtx_mult_cost): New.
35140         (aarch64_rtx_costs): Use it, refactor as appropriate.
35142 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35143             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
35145         * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
35146         emit instructions, return number of instructions which would
35147         be emitted.
35148         (aarch64_add_constant): Update call to aarch64_build_constant.
35149         (aarch64_output_mi_thunk): Likewise.
35150         (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
35151         a CONST_DOUBLE.
35153 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35155         * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
35156         (TARGET_RTX_COSTS): Call it.
35158 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35160         * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
35161         (cortexa57_vector_cost): Likewise.
35162         (cortexa57_tunings): Use them.
35164 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
35166         * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
35167         (cpu_addrcost_table): Use it.
35168         * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
35169         (aarch64_address_cost): Rewrite using aarch64_classify_address,
35170         move it.
35172 2014-05-16  Richard Biener  <rguenther@suse.de>
35174         * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
35175         (set_ssa_val_to): Handle unexpected sets to VN_TOP.
35176         (visit_phi): Ignore edges marked as not executable.
35177         (class cond_dom_walker): New.
35178         (cond_dom_walker::before_dom_children): Value-number
35179         control statements and mark successor edges as not
35180         executable if possible.
35181         (run_scc_vn): First walk all control statements in
35182         dominator order, marking edges as not executable.
35183         * tree-inline.c (copy_edges_for_bb): Be not confused
35184         about random edge flags.
35186 2014-05-16  Richard Biener  <rguenther@suse.de>
35188         * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
35190 2014-05-15  Peter Bergner  <bergner@vnet.ibm.com>
35192         PR target/61193
35193         * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
35194         (__TM_simple_begin): Use it.
35195         (__TM_begin): Likewise.
35197 2014-05-15  Martin Jambor  <mjambor@suse.cz>
35199         PR ipa/61085
35200         * ipa-prop.c (update_indirect_edges_after_inlining): Check
35201         type_preserved flag when the indirect edge is polymorphic.
35203 2014-05-15  Martin Jambor  <mjambor@suse.cz>
35205         PR tree-optimization/61090
35206         * tree-sra.c (sra_modify_expr): Pass the current gsi to
35207         build_ref_for_model.
35209 2014-05-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
35211         * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
35212         enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
35214 2014-05-15  Jakub Jelinek  <jakub@redhat.com>
35216         PR tree-optimization/61158
35217         * fold-const.c (fold_binary_loc): If X is zero-extended and
35218         shiftc >= prec, make sure zerobits is all ones instead of
35219         invoking undefined behavior.
35221 2014-05-15  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
35223         * regcprop.h: New file.
35224         * regcprop.c (skip_debug_insn_p): New decl.
35225         (replace_oldest_value_reg): Check skip_debug_insn_p.
35226         (copyprop_hardreg_forward_bb_without_debug_insn): New function.
35227         * shrink-wrap.c: Include regcprop.h.
35228         (prepare_shrink_wrap): Call
35229         copyprop_hardreg_forward_bb_without_debug_insn.
35231 2014-05-15  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
35233         * shrink-wrap.h: Update comment.
35234         * shrink-wrap.c: Update comment.
35235         (next_block_for_reg): Rename to live_edge_for_reg.
35236         (live_edge_for_reg): Allow live_edge->dest has two predecessors.
35237         (move_insn_for_shrink_wrap): Split live_edge.
35238         (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
35240 2014-05-14  Eric Botcazou  <ebotcazou@adacore.com>
35242         * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
35243         Delete.
35244         * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
35245         * config/sparc/sparc.md (fptype_ut699): New attribute.
35246         (in_branch_delay): Return false if -mfix-ut699 is specified and
35247         fptype_ut699 is set to single.
35248         (truncdfsf2): Add fptype_ut699 attribute.
35249         (fix_truncdfsi2): Likewise.
35250         (floatsisf2): Change fptype attribute.
35251         (fix_truncsfsi2): Likewise.
35252         (negtf2_notv9): Delete.
35253         (negtf2_v9): Likewise.
35254         (negtf2_hq): New instruction.
35255         (negtf2): New instruction and splitter.
35256         (negdf2_notv9): Rewrite.
35257         (abstf2_notv9): Delete.
35258         (abstf2_hq_v9): Likewise.
35259         (abstf2_v9): Likewise.
35260         (abstf2_hq): New instruction.
35261         (abstf2): New instruction and splitter.
35262         (absdf2_notv9): Rewrite.
35264 2014-05-14  Cary Coutant  <ccoutant@google.com>
35266         PR debug/61013
35267         * opts.c (common_handle_option): Don't special-case "-g".
35268         (set_debug_level): Default to at least level 2 with "-g".
35270 2014-05-14  DJ Delorie  <dj@redhat.com>
35272         * config/msp430/msp430.c (msp430_builtin): Add
35273         MSP430_BUILTIN_DELAY_CYCLES.
35274         (msp430_init_builtins): Register void __delay_cycles(long long).
35275         (msp430_builtin_decl): Add it.
35276         (cg_magic_constant): New.
35277         (msp430_expand_delay_cycles): New.
35278         (msp430_expand_builtin): Call it.
35279         (msp430_print_operand_raw): Change integer printing from "int" to
35280         HOST_WIDE_INT.
35281         * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
35282         (delay_cycles_start): New.
35283         (delay_cycles_end): New.
35284         (delay_cycles_32): New.
35285         (delay_cycles_32x): New.
35286         (delay_cycles_16): New.
35287         (delay_cycles_16x): New.
35288         (delay_cycles_2): New.
35289         (delay_cycles_1): New.
35290         * doc/extend.texi: Document __delay_cycles().
35292 2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>
35294         * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
35295         length attribute computation.
35297 2014-05-14  Richard Sandiford  <rdsandiford@googlemail.com>
35299         PR debug/61188
35300         * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
35302 2014-05-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
35304         PR target/61084
35305         * config/sparc/sparc.md: Fix types of low and high in DI constant
35306         splitter.  Use gen_int_mode in some other splitters.
35308 2014-05-14  Martin Jambor  <mjambor@suse.cz>
35310         PR ipa/60897
35311         * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
35313 2014-05-14  James Norris  <jnorris@codesourcery.com>
35315         * omp-low.c (expand_parallel_call): Remove shadow variable.
35316         (expand_omp_taskreg): Likewise.
35318 2014-05-14  Ilya Tocar  <ilya.tocar@intel.com>
35320         * common/config/i386/i386-common.c
35321         (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
35322         (OPTION_MASK_ISA_XSAVES_SET): Ditto.
35323         (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
35324         (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
35325         (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
35326         (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
35327         (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
35328         * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
35329         xsavecintrin.h, xsavesintrin.h.
35330         (x86_64-*-*): Ditto.
35331         * config/i386/clflushoptintrin.h: New.
35332         * config/i386/xsavecintrin.h: Ditto.
35333         * config/i386/xsavesintrin.h: Ditto.
35334         * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
35335         (bit_XSAVES): Ditto.
35336         (bit_XSAVES): Ditto.
35337         * config/i386/driver-i386.c (host_detect_local_cpu): Handle
35338         -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
35339         -mno-clflushopt.
35340         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
35341         OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
35342         OPTION_MASK_ISA_XSAVES.
35343         * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
35344         -mxsavec, -mxsaves.
35345         (PTA_CLFLUSHOPT) Define.
35346         (PTA_XSAVEC): Ditto.
35347         (PTA_XSAVES): Ditto.
35348         (ix86_option_override_internal): Handle new options.
35349         (ix86_valid_target_attribute_inner_p): Ditto.
35350         (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
35351         IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
35352         IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
35353         (bdesc_special_args): Add __builtin_ia32_xsaves,
35354         __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
35355         __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
35356         (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
35357         (ix86_expand_builtin): Handle new builtins.
35358         * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
35359         (TARGET_CLFLUSHOPT_P): Ditto.
35360         (TARGET_XSAVEC): Ditto.
35361         (TARGET_XSAVEC_P): Ditto.
35362         (TARGET_XSAVES): Ditto.
35363         (TARGET_XSAVES_P): Ditto.
35364         * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
35365         (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
35366         (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
35367         (ANY_XRSTOR): New.
35368         (ANY_XRSTOR64): Ditto.
35369         (xrstor): Ditto.
35370         (xrstor): Change into <xrstor>.
35371         (xrstor_rex64): Change into <xrstor>_rex64.
35372         (xrstor64): Change into <xrstor>64
35373         (clflushopt): New.
35374         * config/i386/i386.opt (mclflushopt): New.
35375         (mxsavec): Ditto.
35376         (mxsaves): Ditto.
35377         * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
35378         xsavecintrin.h.
35379         * doc/invoke.texi: Document new options.
35381 2014-05-14  Andrey Belevantsev  <abel@ispras.ru>
35383         PR rtl-optimization/60866
35384         * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
35385         Default it to -1.  Pass it down to init_simplejump_data.
35386         (init_simplejump_data): New parameter old_seqno.  Pass it down
35387         to get_seqno_for_a_jump.
35388         (get_seqno_for_a_jump): New parameter old_seqno.  Use it for
35389         initializing new jump seqno as a last resort.  Add comment.
35390         (sel_redirect_edge_and_branch): Save old seqno of the conditional
35391         jump and pass it down to sel_init_new_insn.
35392         (sel_redirect_edge_and_branch_force): Likewise.
35394 2014-05-14  Georg-Johann Lay  <avr@gjlay.de>
35396         * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
35397         shifted values to avoid build warning.
35399 2014-05-14  Eric Botcazou  <ebotcazou@adacore.com>
35401         * cfgcleanup.c (try_forward_edges): Use location_t for locations.
35402         * cfgrtl.c (rtl_merge_blocks): Fix comment.
35403         (cfg_layout_merge_blocks): Likewise.
35404         * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
35406 2014-05-14  Andrey Belevantsev  <abel@ispras.ru>
35408         PR rtl-optimization/60901
35409         * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
35410         bb predecessor belongs to the same scheduling region.  Adjust comment.
35412 2014-05-13  Peter Bergner  <bergner@vnet.ibm.com>
35414         * doc/sourcebuild.texi: (dfp_hw): Document.
35415         (p8vector_hw): Likewise.
35416         (powerpc_eabi_ok): Likewise.
35417         (powerpc_elfv2): Likewise.
35418         (powerpc_htm_ok): Likewise.
35419         (ppc_recip_hw): Likewise.
35420         (vsx_hw): Likewise.
35422 2014-05-13  Cary Coutant  <ccoutant@google.com>
35424         * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
35426 2014-05-13  David Malcolm  <dmalcolm@redhat.com>
35428         * gengtype-parse.c (require3): Eliminate in favor of...
35429         (require4): New.
35430         (require_template_declaration): Update to support optional single *
35431         on a type.
35433         * gengtype.c (get_ultimate_base_class): Add a non-const overload.
35434         (create_user_defined_type): Handle a single level of explicit
35435         pointerness within template arguments.
35436         (struct write_types_data): Add field "kind".
35437         (filter_type_name): Handle "*" character.
35438         (write_user_func_for_structure_ptr): Require a write_types_data
35439         rather than just a prefix string, so that we can look up the kind
35440         of the wtd and use it as an index into wrote_user_func_for_ptr,
35441         ensuring that such functions are written at most once.  Support
35442         subclasses by invoking the marking function of the ultimate base class.
35443         (write_user_func_for_structure_body): Require a write_types_data
35444         rather than just a prefix string, so that we can pass this to
35445         write_user_func_for_structure_ptr.
35446         (write_func_for_structure): Likewise.
35447         (ggc_wtd): Add initializer of new "kind" field.
35448         (pch_wtd): Likewise.
35450         * gengtype.h (enum write_types_kinds): New.
35451         (struct type): Add field wrote_user_func_for_ptr to the "s"
35452         union member.
35454 2014-05-13  Richard Sandiford  <r.sandiford@uk.ibm.com>
35456         * fold-const.c (optimize_bit_field_compare): Use wi:: operations
35457         instead of const_binop.
35458         (fold_binary_loc): Likewise.
35460 2014-05-13  Richard Sandiford  <r.sandiford@uk.ibm.com>
35462         * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
35463         calculation to match get_ref_base_and_extent.
35465 2014-05-13  Catherine Moore  <clm@codesourcery.com>
35466             Sandra Loosemore  <sandra@codesourcery.com>
35468         * configure.ac: Fix assembly for explicit JALR relocation check.
35469         * configure: Regenerate.
35471 2014-05-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
35473         * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
35474         (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
35475         Remove associated type declarations and initialisations.
35476         (arm_expand_neon_builtin): Likewise.
35477         (neon_emit_pair_result_insn): Delete.
35478         * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
35479         * config/arm/neon.md (neon_vtrn<mode>): Delete.
35480         (neon_vzip<mode>): Likewise.
35481         (neon_vuzp<mode>): Likewise.
35483 2014-05-13  Richard Biener  <rguenther@suse.de>
35485         PR ipa/60973
35486         * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
35487         it needs revisiting whether the call still may be tail-called.
35489 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35491         * rtl.def (SYMBOL_REF): Remove middle "0" field.
35492         * rtl.h (block_symbol): Reduce number of fields to 2.
35493         (rtx_def): Add u2.symbol_ref_flags.
35494         (SYMBOL_REF_FLAGS): Use it.
35495         (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
35496         (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
35497         * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
35498         Lower index of SYMBOL_REF_DATA.
35499         * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
35500         Print SYMBOL_REF_FLAGS at the same time.
35501         * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
35503 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35505         * rtl.def (VAR_LOCATION): Remove "i" field.
35506         * rtl.h (rtx_def): Add u2.var_location_status.
35507         (PAT_VAR_LOCATION_STATUS): Use it.
35508         (gen_rtx_VAR_LOCATION): Declare.
35509         * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
35510         * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
35511         * var-tracking.c (emit_note_insn_var_location): Remove casts.
35513 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35515         * rtl.def (scratch): Fix outdated comment and remove "0" field.
35516         * gengtype.c (adjust_field_rtx_def): Update accordingly.
35518 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35520         * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
35521         (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
35522         * rtl.h (rtx_def): Add insn_uid to u2 field.
35523         (RTX_FLAG_CHECK8): Delete in favor of...
35524         (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
35525         (INSN_DELETED_P): Update accordingly.
35526         (INSN_UID): Use u2.insn_uid.
35527         (INSN_CHAIN_CODE_P): Define.
35528         (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
35529         (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
35530         (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
35531         (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
35532         (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
35533         indices accordingly.
35534         * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
35535         Update indices for insn-chain rtxes.
35536         * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
35537         (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
35538         * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
35539         * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
35540         * combine.c (try_combine): Likewise.
35541         * ira.c (setup_prohibited_mode_move_regs): Likewise.
35543 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35545         * rtl.def (REG): Remove middle field.
35546         * rtl.h (rtx_def): Add orignal_regno to u2.
35547         (ORIGINAL_REGNO): Use it instead of field 1.
35548         (REG_ATTRS): Lower field index accordingly.
35549         * gengtype.c (adjust_field_rtx_def): Remove handling of
35550         ORIGINAL_REGNO.  Move REG_ATTRS index down.
35551         * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
35552         code that prints the REGNO.
35554 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35556         * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
35557         GENERATOR_FILE.
35559 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
35561         * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
35563 2014-05-13  Bin Cheng  <bin.cheng@arm.com>
35565         * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
35566         (alloc_iv): Lower base expressions containing ADDR_EXPR.
35568 2014-05-13  Ian Bolton  <ian.bolton@arm.com>
35570         * config/aarch64/aarch64-protos.h
35571         (aarch64_hard_regno_caller_save_mode): New prototype.
35572         * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
35573         New function.
35574         * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
35576 2014-05-13  Christian Bruel  <christian.bruel@st.com>
35578         * target.def (mode_switching): New hook vector.
35579         (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
35580         (mode_exit, modepriority_to_mode): Likewise.
35581         * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
35582         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
35583         * target.h: Include tm.h and hard-reg-set.h.
35584         * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
35585         (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
35586         * doc/tm.texi Regenerate.
35587         * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
35588         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
35589         * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
35590         (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
35591         * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
35592         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
35593         * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
35594         (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
35595         * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
35596         (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
35597         (ix86_emit_mode_set): Hookify.
35598         * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
35599         Delete.
35600         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
35601         * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
35602         (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
35603         (epiphany_mode_priority_to_mode): Remove declaration.
35604         * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
35605         (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
35606         (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
35607         Likewise.
35608         (epiphany_mode_priority_to_mode): Change priority type.  Hookify.
35609         (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
35610         (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
35612 2014-05-13  Jakub Jelinek  <jakub@redhat.com>
35614         PR target/61060
35615         * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
35616         is const0_rtx, return immediately.  Don't test count == 0 when
35617         it is always true.
35619 2014-05-13  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
35621         * Makefile.in: add shrink-wrap.o.
35622         * config/i386/i386.c: include "shrink-wrap.h"
35623         * function.c: Likewise.
35624         (requires_stack_frame_p, next_block_for_reg,
35625         move_insn_for_shrink_wrap, prepare_shrink_wrap,
35626         dup_block_and_redirect): Move to shrink-wrap.c
35627         (thread_prologue_and_epilogue_insns): Extract three code segments
35628         as functions in shrink-wrap.c
35629         * function.h: Move #ifdef HAVE_simple_return ... #endif block to
35630         shrink-wrap.h
35631         * shrink-wrap.c: New file.
35632         * shrink-wrap.h: New file.
35634 2014-05-12  David Wohlferd  <dw@LimeGreenSocks.com>
35636         * doc/extend.texi: Reflect current numbers of pragmas.  Remove
35637         reference to Solaris.
35639 2014-05-12  Mike Stump  <mikestump@comcast.net>
35641         PR other/31778
35642         * genattrtab.c (filename): Add.
35643         (convert_set_attr_alternative): Improve error message.
35644         (check_defs): Restore read_md_filename for error messages.
35645         (gen_insn): Save filename.
35647 2014-05-12  Dimitris Papavasiliou  <dpapavas@gmail.com>
35649         * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
35650         -fno-local-ivars and -fivar-visibility.
35651         * c-family/c.opt: Make -Wshadow also implicitly enable
35652         -Wshadow-ivar.
35654 2014-05-12  David Wohlferd  <dw@LimeGreenSocks.com>
35656         * doc/tm.texi: Remove reference to deleted macro.
35657         * doc/tm.texi.in: Likewise.
35659 2014-05-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
35661         PR target/60991
35662         * config/avr/avr.c (avr_out_store_psi): Use correct constant
35663         to restore Y.
35665 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
35667         PR libgcc/61152
35668         * config/arm/arm.h (License): Add GCC Runtime Library Exception.
35669         * config/arm/aout.h (License): Same.
35670         * config/arm/bpabi.h (License): Same.
35671         * config/arm/elf.h (License): Same.
35672         * config/arm/linux-elf.h (License): Same.
35673         * config/arm/linux-gas.h (License): Same.
35674         * config/arm/netbsd-elf.h (License): Same.
35675         * config/arm/uclinux-eabi.h (License): Same.
35676         * config/arm/uclinux-elf.h (License): Same.
35677         * config/arm/vxworks.h (License): Same.
35679 2014-05-11  Jakub Jelinek  <jakub@redhat.com>
35681         * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
35682         * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
35683         number of operands to 3.
35684         (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
35685         * tree-nested.c (convert_nonlocal_omp_clauses,
35686         convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
35687         * gimplify.c (gimplify_scan_omp_clauses): Handle
35688         OMP_CLAUSE_LINEAR_STMT.
35689         * omp-low.c (lower_rec_input_clauses): Fix typo.
35690         (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
35691         cast between Fortran boolean_type_node and C _Bool if
35692         needed.
35694 2014-05-11  Richard Sandiford  <rdsandiford@googlemail.com>
35696         PR tree-optimization/61136
35697         * wide-int.h (multiple_of_p): Define a version that doesn't return
35698         the quotient.
35699         * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
35700         integer_zerop/const_binop pair.
35701         (multiple_of_p): Likewise, converting both operands to widest_int
35702         precision.
35704 2014-05-09  Teresa Johnson  <tejohnson@google.com>
35706         * cgraphunit.c (analyze_functions): Use correct dump file.
35708 2014-05-09  Florian Weimer  <fweimer@redhat.com>
35710         * cfgexpand.c (stack_protect_decl_p): New function, extracted from
35711         expand_used_vars.
35712         (stack_protect_return_slot_p): New function.
35713         (expand_used_vars): Call stack_protect_decl_p and
35714         stack_protect_return_slot_p for -fstack-protector-strong.
35716 2014-05-09  David Wohlferd <LimeGreenSocks@yahoo.com>
35717         Andrew Haley <aph@redhat.com>
35718         Richard Sandiford <rdsandiford@googlemail.com>
35720         * doc/extend.texi: Rewrite inline asm page / re-org asm-related
35721         pages.
35723 2014-05-09  Kenneth Zadeck  <zadeck@naturalbridge.com>
35725         PR middle-end/61111
35726         * fold-const.c (fold_binary_loc): Changed width of mask.
35728 2014-05-09  Georg-Johann Lay  <avr@gjlay.de>
35730         * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
35731         unsigned int initializers for regno_in, regno_out.
35733 2014-05-09  Georg-Johann Lay  <avr@gjlay.de>
35735         PR target/61055
35736         * config/avr/avr.md (cc): Add new attribute set_vzn.
35737         (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
35738         Set cc insn attribute to set_vzn instead of set_zn for alternatives
35739         with INC, DEC or NEG.
35740         * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
35741         (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
35742         INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
35744 2014-05-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35746         Revert:
35747         2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35749         * wide-int.cc (UTItype): Define.
35750         (UDWtype): Define for appropriate W_TYPE_SIZE.
35752 2014-05-09  Richard Biener  <rguenther@suse.de>
35754         * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
35755         * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
35756         (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
35757         (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
35758         ssa_propagate): Adjust.
35760 2014-05-08  Jeff Law  <law@redhat.com>
35762         PR tree-optimization/61009
35763         * tree-ssa-threadedge.c (thread_through_normal_block): Return a
35764         tri-state rather than a boolean.  When a block is too big to
35765         thread through, inform caller via negative return value.
35766         (thread_across_edge): If a block was too big for normal threading,
35767         then it's too big for a joiner too, so remove temporary equivalences
35768         and return immediately.
35770 2014-05-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
35771             Matthias Klose  <doko@ubuntu.com>
35773         PR driver/61106
35774         * optc-gen.awk: Fix option handling for -Wunused-parameter.
35776 2014-05-08  Uros Bizjak  <ubizjak@gmail.com>
35778         PR target/59952
35779         * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
35781 2014-05-08  Uros Bizjak  <ubizjak@gmail.com>
35783         PR target/61092
35784         * config/alpha/alpha.c: Include gimple-iterator.h.
35785         (alpha_gimple_fold_builtin): New function.  Move
35786         ALPHA_BUILTIN_UMULH folding from ...
35787         (alpha_fold_builtin): ... here.
35788         (TARGET_GIMPLE_FOLD_BUILTIN): New define.
35790 2014-05-08  Wei Mi  <wmi@google.com>
35792         PR target/58066
35793         * config/i386/i386.c (ix86_compute_frame_layout): Update
35794         preferred_stack_boundary for call, expanded from tls descriptor.
35795         * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
35796         to depend on SP register.
35797         (*tls_local_dynamic_base_32_gnu): Ditto.
35798         (*tls_local_dynamic_32_once): Ditto.
35799         (tls_global_dynamic_64_<mode>): Set
35800         ix86_tls_descriptor_calls_expanded_in_cfun.
35801         (tls_local_dynamic_base_64_<mode>): Ditto.
35802         (tls_global_dynamic_32): Set
35803         ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
35804         to depend on SP register.
35805         (tls_local_dynamic_base_32): Ditto.
35807 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35809         * config/arm/arm_neon.h: Update comment.
35810         * config/arm/neon-docgen.ml: Delete.
35811         * config/arm/neon-gen.ml: Delete.
35812         * doc/arm-neon-intrinsics.texi: Update comment.
35814 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35816         * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
35817         and v4sf versions.
35818         (vand, vorr, veor, vorn, vbic): Remove.
35819         * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
35820         iterator.
35821         (neon_vsub_unspec): Likewise.
35822         (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
35824 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35826         * config/arm/arm_neon.h (vadd_s8): GNU C implementation
35827         (vadd_s16): Likewise.
35828         (vadd_s32): Likewise.
35829         (vadd_f32): Likewise.
35830         (vadd_u8): Likewise.
35831         (vadd_u16): Likewise.
35832         (vadd_u32): Likewise.
35833         (vadd_s64): Likewise.
35834         (vadd_u64): Likewise.
35835         (vaddq_s8): Likewise.
35836         (vaddq_s16): Likewise.
35837         (vaddq_s32): Likewise.
35838         (vaddq_s64): Likewise.
35839         (vaddq_f32): Likewise.
35840         (vaddq_u8): Likewise.
35841         (vaddq_u16): Likewise.
35842         (vaddq_u32): Likewise.
35843         (vaddq_u64): Likewise.
35844         (vmul_s8): Likewise.
35845         (vmul_s16): Likewise.
35846         (vmul_s32): Likewise.
35847         (vmul_f32): Likewise.
35848         (vmul_u8): Likewise.
35849         (vmul_u16): Likewise.
35850         (vmul_u32): Likewise.
35851         (vmul_p8): Likewise.
35852         (vmulq_s8): Likewise.
35853         (vmulq_s16): Likewise.
35854         (vmulq_s32): Likewise.
35855         (vmulq_f32): Likewise.
35856         (vmulq_u8): Likewise.
35857         (vmulq_u16): Likewise.
35858         (vmulq_u32): Likewise.
35859         (vsub_s8): Likewise.
35860         (vsub_s16): Likewise.
35861         (vsub_s32): Likewise.
35862         (vsub_f32): Likewise.
35863         (vsub_u8): Likewise.
35864         (vsub_u16): Likewise.
35865         (vsub_u32): Likewise.
35866         (vsub_s64): Likewise.
35867         (vsub_u64): Likewise.
35868         (vsubq_s8): Likewise.
35869         (vsubq_s16): Likewise.
35870         (vsubq_s32): Likewise.
35871         (vsubq_s64): Likewise.
35872         (vsubq_f32): Likewise.
35873         (vsubq_u8): Likewise.
35874         (vsubq_u16): Likewise.
35875         (vsubq_u32): Likewise.
35876         (vsubq_u64): Likewise.
35877         (vand_s8): Likewise.
35878         (vand_s16): Likewise.
35879         (vand_s32): Likewise.
35880         (vand_u8): Likewise.
35881         (vand_u16): Likewise.
35882         (vand_u32): Likewise.
35883         (vand_s64): Likewise.
35884         (vand_u64): Likewise.
35885         (vandq_s8): Likewise.
35886         (vandq_s16): Likewise.
35887         (vandq_s32): Likewise.
35888         (vandq_s64): Likewise.
35889         (vandq_u8): Likewise.
35890         (vandq_u16): Likewise.
35891         (vandq_u32): Likewise.
35892         (vandq_u64): Likewise.
35893         (vorr_s8): Likewise.
35894         (vorr_s16): Likewise.
35895         (vorr_s32): Likewise.
35896         (vorr_u8): Likewise.
35897         (vorr_u16): Likewise.
35898         (vorr_u32): Likewise.
35899         (vorr_s64): Likewise.
35900         (vorr_u64): Likewise.
35901         (vorrq_s8): Likewise.
35902         (vorrq_s16): Likewise.
35903         (vorrq_s32): Likewise.
35904         (vorrq_s64): Likewise.
35905         (vorrq_u8): Likewise.
35906         (vorrq_u16): Likewise.
35907         (vorrq_u32): Likewise.
35908         (vorrq_u64): Likewise.
35909         (veor_s8): Likewise.
35910         (veor_s16): Likewise.
35911         (veor_s32): Likewise.
35912         (veor_u8): Likewise.
35913         (veor_u16): Likewise.
35914         (veor_u32): Likewise.
35915         (veor_s64): Likewise.
35916         (veor_u64): Likewise.
35917         (veorq_s8): Likewise.
35918         (veorq_s16): Likewise.
35919         (veorq_s32): Likewise.
35920         (veorq_s64): Likewise.
35921         (veorq_u8): Likewise.
35922         (veorq_u16): Likewise.
35923         (veorq_u32): Likewise.
35924         (veorq_u64): Likewise.
35925         (vbic_s8): Likewise.
35926         (vbic_s16): Likewise.
35927         (vbic_s32): Likewise.
35928         (vbic_u8): Likewise.
35929         (vbic_u16): Likewise.
35930         (vbic_u32): Likewise.
35931         (vbic_s64): Likewise.
35932         (vbic_u64): Likewise.
35933         (vbicq_s8): Likewise.
35934         (vbicq_s16): Likewise.
35935         (vbicq_s32): Likewise.
35936         (vbicq_s64): Likewise.
35937         (vbicq_u8): Likewise.
35938         (vbicq_u16): Likewise.
35939         (vbicq_u32): Likewise.
35940         (vbicq_u64): Likewise.
35941         (vorn_s8): Likewise.
35942         (vorn_s16): Likewise.
35943         (vorn_s32): Likewise.
35944         (vorn_u8): Likewise.
35945         (vorn_u16): Likewise.
35946         (vorn_u32): Likewise.
35947         (vorn_s64): Likewise.
35948         (vorn_u64): Likewise.
35949         (vornq_s8): Likewise.
35950         (vornq_s16): Likewise.
35951         (vornq_s32): Likewise.
35952         (vornq_s64): Likewise.
35953         (vornq_u8): Likewise.
35954         (vornq_u16): Likewise.
35955         (vornq_u32): Likewise.
35956         (vornq_u64): Likewise.
35958 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35960         * wide-int.cc (UTItype): Define.
35961         (UDWtype): Define for appropriate W_TYPE_SIZE.
35963 2014-05-08  Marc Glisse  <marc.glisse@inria.fr>
35965         PR tree-optimization/59100
35966         * tree-ssa-phiopt.c: Include tree-inline.h.
35967         (neutral_element_p, absorbing_element_p): New functions.
35968         (value_replacement): Handle conditional binary operations with a
35969         neutral or absorbing element.
35971 2014-05-08  Richard Biener  <rguenther@suse.de>
35973         * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
35974         folding the expression.
35975         (valueize_expr): Remove.
35976         (visit_reference_op_load): Do not valueize the result of
35977         vn_get_expr_for.
35978         (simplify_binary_expression): Likewise.
35979         (simplify_unary_expression): Likewise.
35981 2014-05-08  Richard Biener  <rguenther@suse.de>
35983         * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
35984         looking at TYPE_ARG_TYPES.
35986 2014-05-08  Richard Biener  <rguenther@suse.de>
35988         * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
35989         pointer propagation special-case.
35991 2014-05-08  Bin Cheng  <bin.cheng@arm.com>
35993         * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
35994         core part of address expressions.
35996 2014-05-08  Alan Modra  <amodra@gmail.com>
35998         PR target/60737
35999         * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
36000         loads and stores when -mno-strict-align at any alignment.
36001         (expand_block_clear): Similarly.  Also correct calculation of
36002         instruction count.
36004 2014-05-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
36006         PR middle-end/39246
36007         * tree-complex.c (expand_complex_move): Keep line info when expanding
36008         complex move.
36009         * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
36010         of complex expression. Use new argument to display correct location
36011         for values coming from phi statement.
36012         (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
36013         (warn_uninitialized_phi): Pass location of phi argument to
36014         warn_uninit.
36015         * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
36016         COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
36018 2014-05-07  Segher Boessenkool  <segher@kernel.crashing.org>
36020         * config/rs6000/predicates.md (indexed_address_mem): New.
36021         * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
36022         load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
36023         fpstore_ux, fpstore_u.
36024         (sign_extend, indexed, update): New.
36025         (cell_micro): Adjust.
36026         (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
36027         *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
36028         *movsi_internal1, *movsi_internal1_single, *movhi_internal,
36029         *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
36030         *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
36031         *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
36032         *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
36033         *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
36034         *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
36035         *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
36036         *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
36037         *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
36038         *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
36039         *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
36040         *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
36042         * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
36043         * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
36044         *vsx_extract_<mode>_store): Adjust.
36045         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
36046         is_cracked_insn, insn_must_be_first_in_group,
36047         insn_must_be_last_in_group): Adjust.
36049         * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
36050         Adjust.
36051         * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
36052         ppc440-fpstore): Adjust.
36053         * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
36054         ppc476-fpstore): Adjust.
36055         * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
36056         ppc601-fpstore): Adjust.
36057         * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
36058         Adjust.
36059         * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
36060         Adjust.
36061         * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
36062         ppc7450-fpstore): Adjust.
36063         * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
36064         * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
36065         * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
36066         Adjust.
36067         * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
36068         cell-fpload, cell-fpload-update, cell-store, cell-store-update,
36069         cell-fpstore, cell-fpstore-update): Adjust.
36070         * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
36071         ppce300c3_store, ppce300c3_fpstore): Adjust.
36072         * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
36073         e500mc_fpstore): Adjust.
36074         * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
36075         e500mc64_store, e500mc64_fpstore): Adjust.
36076         * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
36077         e5500_fpstore): Adjust.
36078         * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
36079         e6500_fpstore): Adjust.
36080         * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
36081         Adjust.
36082         * config/rs6000/power4.md (power4-load, power4-load-ext,
36083         power4-load-ext-update, power4-load-ext-update-indexed,
36084         power4-load-update-indexed, power4-load-update, power4-fpload,
36085         power4-fpload-update, power4-store, power4-store-update,
36086         power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
36087         Adjust.
36088         * config/rs6000/power5.md (power5-load, power5-load-ext,
36089         power5-load-ext-update, power5-load-ext-update-indexed,
36090         power5-load-update-indexed, power5-load-update, power5-fpload,
36091         power5-fpload-update, power5-store, power5-store-update,
36092         power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
36093         Adjust.
36094         * config/rs6000/power6.md (power6-load, power6-load-ext,
36095         power6-load-update, power6-load-update-indexed,
36096         power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
36097         power6-fpload-update, power6-store, power6-store-update,
36098         power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
36099         Adjust.
36100         * config/rs6000/power7.md (power7-load, power7-load-ext,
36101         power7-load-update, power7-load-update-indexed,
36102         power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
36103         power7-fpload-update, power7-store, power7-store-update,
36104         power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
36105         Adjust.
36106         * config/rs6000/power8.md (power8-load, power8-load-update,
36107         power8-load-ext, power8-load-ext-update, power8-fpload,
36108         power8-fpload-update, power8-store, power8-store-update-indexed,
36109         power8-fpstore, power8-fpstore-update): Adjust.
36110         * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
36111         Adjust.
36112         * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
36113         titan_lsu_store, titan_lsu_fpstore): Adjust.
36114         * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
36116 2014-05-07  Oleg Endo  <olegendo@gcc.gnu.org>
36118         PR target/60884
36119         * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
36120         unrolled byte insns.  Emit address increments after move insns.
36122 2014-05-07  David Malcolm  <dmalcolm@redhat.com>
36124         * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
36125         const_gimple, rather than a gimple.
36126         (gimple_call_builtin_p): Likewise, for the three variants.
36128         * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
36129         (gimple_call_builtin_p): Likewise, for the three variants.
36131 2014-05-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
36133         PR tree-optimization/61095
36134         * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
36136 2014-05-07  Richard Biener  <rguenther@suse.de>
36138         PR tree-optimization/61034
36139         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
36140         (maybe_skip_until): Use translate to take into account
36141         lattices when trying to do disambiguations.
36142         (get_continuation_for_phi_1): Likewise.
36143         (get_continuation_for_phi): Adjust for added translate arguments.
36144         (walk_non_aliased_vuses): Likewise.
36145         * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
36146         (walk_non_aliased_vuses): Likewise.
36147         (call_may_clobber_ref_p_1): Declare.
36148         * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
36149         calls.  Stop early if we are only supposed to disambiguate.
36150         * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
36152 2014-05-07  Joern Rennecke  <joern.rennecke@embecosm.com>
36154         * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
36155         Emit an error when the function has arguments.
36157 2014-05-07  Thomas Schwinge  <thomas@codesourcery.com>
36159         * cfgloop.h (unswitch_loops): Remove.
36160         * doc/passes.texi: Remove references to loop-unswitch.c
36161         * timevar.def (TV_LOOP_UNSWITCH): Remove.
36163 2014-05-07  Evgeny Stupachenko  <evstupac@gmail.com>
36165         * tree-vect-data-refs.c (vect_grouped_load_supported): New
36166         check for loads group of length 3.
36167         (vect_permute_load_chain): New permutations for loads group of
36168         length 3.
36169         * tree-vect-stmts.c (vect_model_load_cost): Change cost
36170         of vec_perm_shuffle for the new permutations.
36172 2014-05-07  Alan Lawrence  <alan.lawrence@arm.com>
36174         * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
36175         vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
36176         vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
36177         vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
36178         vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
36179         vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
36180         vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
36181         vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
36183 2014-05-07  Thomas Schwinge  <thomas@codesourcery.com>
36185         * loop-unswitch.c: Delete.
36187 2014-05-07  Richard Biener  <rguenther@suse.de>
36189         * config.gcc: Always set need_64bit_hwint to yes.
36191 2014-05-07  Chung-Ju Wu  <jasonwucj@gmail.com>
36193         * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
36194         of using optimize_size.
36196 2014-05-06  Mike Stump  <mikestump@comcast.net>
36198         * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
36200 2014-05-06  Joseph Myers  <joseph@codesourcery.com>
36202         * config/i386/sse.md (*mov<mode>_internal)
36203         (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
36204         (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
36205         (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
36206         (*<code><mode>3, *andnot<mode>3<mask_name>)
36207         (<mask_codefor><code><mode>3<mask_name>): Only consider
36208         TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
36210 2014-05-06  Richard Sandiford  <rdsandiford@googlemail.com>
36212         Revert:
36213         2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
36215         * lra-constraints.c (valid_address_p): Move earlier in file.
36216         Add a constraint argument to the address_info version.
36217         (satisfies_memory_constraint_p): New function.
36218         (satisfies_address_constraint_p): Likewise.
36219         (process_alt_operands, curr_insn_transform): Use them.
36220         (process_address): Pass the constraint to valid_address_p when
36221         checking address operands.
36223 2014-05-06  Richard Sandiford  <r.sandiford@uk.ibm.com>
36225         * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
36226         to their respective blocks.  Fix inadvertent use of "node".
36228 2014-05-06  Richard Sandiford  <rdsandiford@googlemail.com>
36230         * emit-rtl.c (init_derived_machine_modes): New functionm, split
36231         out from...
36232         (init_emit_once): ...here.
36233         * rtl.h (init_derived_machine_modes): Declare.
36234         * toplev.c (do_compile): Call it even if no_backend.
36236 2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
36237             Mike Stump  <mikestump@comcast.net>
36238             Richard Sandiford  <rdsandiford@googlemail.com>
36239             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
36241         * alias.c (ao_ref_from_mem): Use wide-int interfaces.
36242         (rtx_equal_for_memref_p): Update comment.
36243         (adjust_offset_for_component_ref): Use wide-int interfaces.
36244         * builtins.c (get_object_alignment_2): Likewise.
36245         (c_readstr): Likewise.
36246         (target_char_cast): Add comment.
36247         (determine_block_size): Use wide-int interfaces.
36248         (expand_builtin_signbit): Likewise.
36249         (fold_builtin_int_roundingfn): Likewise.
36250         (fold_builtin_bitop): Likewise.
36251         (fold_builtin_bswap): Likewise.
36252         (fold_builtin_logarithm): Use signop.
36253         (fold_builtin_pow): Likewise.
36254         (fold_builtin_memory_op): Use wide-int interfaces.
36255         (fold_builtin_object_size): Likewise.
36256         * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
36257         nb_iterations_estimate.
36258         (record_niter_bound): Use wide-int interfaces.
36259         (get_estimated_loop_iterations_int): Likewise.
36260         (get_estimated_loop_iterations): Likewise.
36261         (get_max_loop_iterations): Likewise.
36262         * cfgloop.h: Include wide-int.h.
36263         (struct nb_iter_bound): Change bound to widest_int.
36264         (struct loop): Change nb_iterations_upper_bound and
36265         nb_iterations_estimate to widest_int.
36266         (record_niter_bound): Switch to use widest_int.
36267         (get_estimated_loop_iterations): Likewise.
36268         (get_max_loop_iterations): Likewise.
36269         (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
36270         update for wide-int.
36271         * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
36272         * combine.c (try_combine): Likewise.
36273         (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
36274         * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
36275         interfaces.
36276         (aarch64_float_const_representable_p): Likewise.
36277         * config/arc/arc.c: Include wide-int.h.
36278         (arc_can_use_doloop_p): Use wide-int interfaces.
36279         * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
36280         (vfp3_const_double_index): Likewise.
36281         * config/avr/avr.c (avr_out_round): Likewise.
36282         (avr_fold_builtin): Likewise.
36283         * config/bfin/bfin.c (bfin_local_alignment): Likewise.
36284         (bfin_can_use_doloop_p): Likewise.
36285         * config/darwin.c (darwin_mergeable_constant_section): Likewise.
36286         (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
36287         * config/i386/i386.c: Include wide-int.h.
36288         (ix86_data_alignment): Use wide-int interfaces.
36289         (ix86_local_alignment): Likewise.
36290         (ix86_emit_swsqrtsf): Update real_from_integer.
36291         * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
36292         * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
36293         * config/rs6000/predicates.md (any_operand): Add const_wide_int.
36294         (zero_constant): Likewise.
36295         (input_operand): Likewise.
36296         (splat_input_operand): Likewise.
36297         (non_logical_cint_operand): Change const_double to const_wide_int.
36298         * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
36299         (easy_altivec_constant): Remove comment.
36300         (paired_expand_vector_init): Use CONSTANT_P.
36301         (rs6000_legitimize_address): Handle CONST_WIDE_INT.
36302         (rs6000_emit_move): Update checks.
36303         (rs6000_aggregate_candidate): Use wide-int interfaces.
36304         (rs6000_expand_ternop_builtin): Likewise.
36305         (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
36306         (rs6000_assemble_integer): Likewise.
36307         (rs6000_hash_constant): Likewise.
36308         (output_toc): Likewise.
36309         (rs6000_rtx_costs): Likewise.
36310         (rs6000_emit_swrsqrt); Update call to real_from_integer.
36311         * config/rs6000/rs6000-c.c: Include wide-int.h.
36312         (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
36313         * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
36314         * config/rs6000/rs6000.md: Use const_scalar_int_operand.
36315         Handle CONST_WIDE_INT.
36316         * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
36317         Use tree_fits_uhwi_p.
36318         * config/sparc/sparc.c: Include wide-int.h.
36319         (sparc_fold_builtin): Use wide-int interfaces.
36320         * config/vax/vax.c: Include wide-int.h.
36321         (vax_float_literal): Use real_from_integer.
36322         * coretypes.h (struct hwivec_def): New.
36323         (hwivec): New.
36324         (const_hwivec): New.
36325         * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
36326         (equiv_constant): Handle CONST_WIDE_INT.
36327         * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
36328         (cselib_hash_rtx): Handle CONST_WIDE_INT.
36329         * dbxout.c (stabstr_U): Use wide-int interfaces.
36330         (dbxout_type): Update to use cst_fits_shwi_p.
36331         * defaults.h (LOG2_BITS_PER_UNIT): Define.
36332         (TARGET_SUPPORTS_WIDE_INT): Add default.
36333         * dfp.c: Include wide-int.h.
36334         (decimal_real_to_integer2): Use wide-int interfaces and rename to
36335         decimal_real_to_integer.
36336         * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
36337         decimal_real_to_integer.
36338         * doc/generic.texi (Constant expressions): Update for wide_int.
36339         * doc/rtl.texi (const_double): Likewise.
36340         (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
36341         (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
36342         * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
36343         (REAL_VALUE_FROM_INT): Remove.
36344         (TARGET_SUPPORTS_WIDE_INT): New.
36345         * doc/tm.texi: Regenerate.
36346         * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
36347         * double-int.h: Include wide-int.h.
36348         (struct wi::int_traits): New.
36349         * dwarf2out.c (get_full_len): New.
36350         (dw_val_equal_p): Add case dw_val_class_wide_int.
36351         (size_of_loc_descr): Likewise.
36352         (output_loc_operands): Likewise.
36353         (insert_double): Remove.
36354         (insert_wide_int): New.
36355         (add_AT_wide): New.
36356         (print_die): Add case dw_val_class_wide_int.
36357         (attr_checksum): Likewise.
36358         (attr_checksum_ordered): Likewise.
36359         (same_dw_val_p): Likewise.
36360         (size_of_die): Likewise.
36361         (value_format): Likewise.
36362         (output_die): Likewise.
36363         (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
36364         Use wide-int.
36365         (clz_loc_descriptor): Use wide-int interfaces.
36366         (mem_loc_descriptor): Likewise.  Handle CONST_WIDE_INT.
36367         (loc_descriptor): Use wide-int interfaces.  Handle CONST_WIDE_INT.
36368         (round_up_to_align): Use wide-int interfaces.
36369         (field_byte_offset): Likewise.
36370         (insert_double): Rename to insert_wide_int.  Use wide-int interfaces.
36371         (add_const_value_attribute): Handle CONST_WIDE_INT.  Update
36372         CONST_DOUBLE handling.  Use wide-int interfaces.
36373         (add_bound_info): Use tree_fits_uhwi_p.  Use wide-int interfaces.
36374         (gen_enumeration_type_die): Use add_AT_wide.
36375         (hash_loc_operands): Add case dw_val_class_wide_int.
36376         (compare_loc_operands): Likewise.
36377         * dwarf2out.h: Include wide-int.h.
36378         (wide_int_ptr): New.
36379         (enum dw_val_class): Add dw_val_class_wide_int.
36380         (struct dw_val_struct): Add val_wide.
36381         * emit-rtl.c (const_wide_int_htab): New.
36382         (const_wide_int_htab_hash): New.
36383         (const_wide_int_htab_eq): New.
36384         (lookup_const_wide_int): New.
36385         (const_double_htab_hash): Use wide-int interfaces.
36386         (const_double_htab_eq): Likewise.
36387         (rtx_to_double_int): Conditionally compile for wide-int.
36388         (immed_double_int_const): Rename to immed_wide_int_const and
36389         update for wide-int.
36390         (immed_double_const): Conditionally compile for wide-int.
36391         (init_emit_once): Use wide-int interfaces.
36392         * explow.c (plus_constant): Likewise.
36393         * expmed.c (mask_rtx): Move further up file.  Use wide-int interfaces.
36394         (lshift_value): Use wide-int interfaces.
36395         (expand_mult): Likewise.
36396         (choose_multiplier): Likewise.
36397         (expand_smod_pow2): Likewise.
36398         (make_tree): Likewise.
36399         * expr.c (convert_modes): Consolidate handling of constants.
36400         Use wide-int interfaces.
36401         (emit_group_load_1): Add note.
36402         (store_expr): Update comment.
36403         (get_inner_reference): Use wide-int interfaces.
36404         (expand_constructor): Update comment.
36405         (expand_expr_real_2): Use wide-int interfaces.
36406         (expand_expr_real_1): Likewise.
36407         (reduce_to_bit_field_precision): Likewise.
36408         (const_vector_from_tree): Likewise.
36409         * final.c: Include wide-int-print.h.
36410         (output_addr_const): Handle CONST_WIDE_INT.  Use CONST_DOUBLE_AS_INT_P.
36411         * fixed-value.c: Include wide-int.h.
36412         (fixed_from_string): Use wide-int interfaces.
36413         (fixed_to_decimal): Likewise.
36414         (fixed_convert_from_real): Likewise.
36415         (real_convert_from_fixed): Likewise.
36416         * fold-const.h (mem_ref_offset): Return an offset_int.
36417         (div_if_zero_remainder): Remove code parameter.
36418         * fold-const.c (div_if_zero_remainder): Remove code parameter.
36419         Use wide-int interfaces.
36420         (may_negate_without_overflow_p): Use wide-int interfaces.
36421         (negate_expr_p): Likewise.
36422         (fold_negate_expr): Likewise.
36423         (int_const_binop_1): Likewise.
36424         (const_binop): Likewise.
36425         (fold_convert_const_int_from_int): Likewise.
36426         (fold_convert_const_int_from_real): Likewise.
36427         (fold_convert_const_int_from_fixed): Likewise.
36428         (fold_convert_const_fixed_from_int): Likewise.
36429         (all_ones_mask_p): Take an unsigned size.  Use wide-int interfaces.
36430         (sign_bit_p): Use wide-int interfaces.
36431         (make_range_step): Likewise.
36432         (build_range_check): Likewise.  Pass an integer of the correct type
36433         instead of using integer_one_node.
36434         (range_predecessor): Pass an integer of the correct type instead
36435         of using integer_one_node.
36436         (range_successor): Likewise.
36437         (merge_ranges): Likewise.
36438         (unextend): Use wide-int interfaces.
36439         (extract_muldiv_1): Likewise.
36440         (fold_div_compare): Likewise.
36441         (fold_single_bit_test): Likewise.
36442         (fold_sign_changed_comparison): Likewise.
36443         (try_move_mult_to_index): Update calls to div_if_zero_remainder.
36444         (fold_plusminus_mult_expr): Use wide-int interfaces.
36445         (native_encode_int): Likewise.
36446         (native_interpret_int): Likewise.
36447         (fold_unary_loc): Likewise.
36448         (pointer_may_wrap_p): Likewise.
36449         (size_low_cst): Likewise.
36450         (mask_with_tz): Likewise.
36451         (fold_binary_loc): Likewise.
36452         (fold_ternary_loc): Likewise.
36453         (multiple_of_p): Likewise.
36454         (tree_call_nonnegative_warnv_p): Update calls to
36455         tree_int_cst_min_precision and real_from_integer.
36456         (fold_negate_const): Use wide-int interfaces.
36457         (fold_abs_const): Likewise.
36458         (fold_relational_const): Use tree_int_cst_lt.
36459         (round_up_loc): Use wide-int interfaces.
36460         * genemit.c (gen_exp): Add CONST_WIDE_INT case.
36461         * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
36462         * gengtype.c: Remove include of double-int.h.
36463         (do_typedef): Use wide-int interfaces.
36464         (open_base_files): Add wide-int.h.
36465         (main): Add offset_int and widest_int typedefs.
36466         * gengtype-lex.l: Handle "^".
36467         (CXX_KEYWORD): Add "static".
36468         * gengtype-parse.c (require3): New.
36469         (require_template_declaration): Handle constant template arguments
36470         and nested templates.
36471         * gengtype-state.c: Don't include "double-int.h".
36472         * genpreds.c (write_one_predicate_function): Update comment.
36473         (write_tm_constrs_h): Add check for hval and lval use in
36474         CONST_WIDE_INT.
36475         * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
36476         (add_to_sequence): Likewise.
36477         * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
36478         and const_double_operand.
36479         * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
36480         interfaces.
36481         * gimple-fold.c (get_base_constructor): Likewise.
36482         (fold_array_ctor_reference): Likewise.
36483         (fold_nonarray_ctor_reference): Likewise.
36484         (fold_const_aggregate_ref_1): Likewise.
36485         (gimple_val_nonnegative_real_p): Likewise.
36486         (gimple_fold_indirect_ref): Likewise.
36487         * gimple-pretty-print.c (dump_ssaname_info): Likewise.
36488         * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
36489         (struct slsr_cand_d): Change index to be widest_int.
36490         (struct incr_info_d): Change incr to be widest_int.
36491         (alloc_cand_and_find_basis): Use wide-int interfaces.
36492         (slsr_process_phi): Likewise.
36493         (backtrace_base_for_ref): Likewise.  Return a widest_int.
36494         (restructure_reference): Take a widest_int instead of a double_int.
36495         (slsr_process_ref): Use wide-int interfaces.
36496         (create_mul_ssa_cand): Likewise.
36497         (create_mul_imm_cand): Likewise.
36498         (create_add_ssa_cand): Likewise.
36499         (create_add_imm_cand): Take a widest_int instead of a double_int.
36500         (slsr_process_add): Use wide-int interfaces.
36501         (slsr_process_cast): Likewise.
36502         (slsr_process_copy): Likewise.
36503         (dump_candidate): Likewise.
36504         (dump_incr_vec): Likewise.
36505         (replace_ref): Likewise.
36506         (cand_increment): Likewise.  Return a widest_int.
36507         (cand_abs_increment): Likewise.
36508         (replace_mult_candidate): Take a widest_int instead of a double_int.
36509         (replace_unconditional_candidate): Use wide-int interfaces.
36510         (incr_vec_index): Take a widest_int instead of a double_int.
36511         (create_add_on_incoming_edge): Likewise.
36512         (create_phi_basis): Use wide-int interfaces.
36513         (replace_conditional_candidate): Likewise.
36514         (record_increment): Take a widest_int instead of a double_int.
36515         (record_phi_increments): Use wide-int interfaces.
36516         (phi_incr_cost): Take a widest_int instead of a double_int.
36517         (lowest_cost_path): Likewise.
36518         (total_savings): Likewise.
36519         (analyze_increments): Use wide-int interfaces.
36520         (ncd_with_phi): Take a widest_int instead of a double_int.
36521         (ncd_of_cand_and_phis): Likewise.
36522         (nearest_common_dominator_for_cands): Likewise.
36523         (insert_initializers): Use wide-int interfaces.
36524         (all_phi_incrs_profitable): Likewise.
36525         (replace_one_candidate): Likewise.
36526         (replace_profitable_candidates): Likewise.
36527         * godump.c: Include wide-int-print.h.
36528         (go_output_typedef): Use wide-int interfaces.
36529         * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
36530         * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
36531         (build_loop_iteration_domains): Likewise.
36532         * hooks.h: Include wide-int.h rather than double-int.h.
36533         (hook_bool_dint_dint_uint_bool_true): Delete.
36534         (hook_bool_wint_wint_uint_bool_true): Declare.
36535         * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
36536         (hook_bool_wint_wint_uint_bool_true): New.
36537         * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
36538         interfaces.
36539         (ubsan_expand_si_overflow_mul_check): Likewise.
36540         * ipa-devirt.c (get_polymorphic_call_info): Likewise.
36541         * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
36542         (get_ancestor_addr_info): Likewise.
36543         (ipa_modify_call_arguments): Likewise.
36544         * loop-doloop.c (doloop_modify): Likewise.
36545         (doloop_optimize): Likewise.
36546         * loop-iv.c (iv_number_of_iterations): Likewise.
36547         * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
36548         (unroll_loop_constant_iterations): Likewise.
36549         (decide_unroll_runtime_iterations): Likewise.
36550         (unroll_loop_runtime_iterations): Likewise.
36551         (decide_peel_simple): Likewise.
36552         (decide_unroll_stupid): Likewise.
36553         * lto-streamer-in.c (streamer_read_wi): Add.
36554         (input_cfg): Use wide-int interfaces.
36555         (lto_input_tree_1): Likewise.
36556         * lto-streamer-out.c (streamer_write_wi): Add.
36557         (hash_tree): Use wide-int interfaces.
36558         (output_cfg): Likewise.
36559         * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
36560         (GTFILES): Add wide-int.h and signop.h.
36561         (TAGS): Look for .cc files too.
36562         * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
36563         * optabs.c (expand_subword_shift): Likewise.
36564         (expand_doubleword_shift): Likewise.
36565         (expand_absneg_bit): Likewise.
36566         (expand_copysign_absneg): Likewise.
36567         (expand_copysign_bit): Likewise.
36568         * postreload.c (reload_cse_simplify_set): Likewise.
36569         * predict.c (predict_iv_comparison): Likewise.
36570         * pretty-print.h: Include wide-int-print.h.
36571         (pp_wide_int) New.
36572         * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
36573         * print-tree.c: Include wide-int-print.h.
36574         (print_node_brief): Use wide-int interfaces.
36575         (print_node): Likewise.
36576         * read-rtl.c (validate_const_wide_int): New.
36577         (read_rtx_code): Add CONST_WIDE_INT case.
36578         * real.c: Include wide-int.h.
36579         (real_to_integer2): Delete.
36580         (real_to_integer): New function, returning a wide_int.
36581         (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
36582         (ten_to_ptwo): Update call to real_from_integer.
36583         (real_digit): Likewise.
36584         * real.h: Include signop.h, wide-int.h and insn-modes.h.
36585         (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
36586         (REAL_VALUE_TO_INT): Delete.
36587         (real_to_integer): Declare a wide-int form.
36588         (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
36589         * recog.c (const_int_operand): Improve comment.
36590         (const_scalar_int_operand): New.
36591         (const_double_operand): Add a separate definition for CONST_WIDE_INT.
36592         * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
36593         (split_double): Likewise.
36594         * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
36595         (rtx_size): Likewise.
36596         (rtx_alloc_stat_v): New.
36597         (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
36598         (cwi_output_hex): New.
36599         (iterative_hash_rtx): Handle CONST_WIDE_INT.
36600         (cwi_check_failed_bounds): New.
36601         * rtl.def (CONST_WIDE_INT): New.
36602         * rtl.h: Include <utility> and wide-int.h.
36603         (struct hwivec_def): New.
36604         (CWI_GET_NUM_ELEM): New.
36605         (CWI_PUT_NUM_ELEM): New.
36606         (struct rtx_def): Add num_elem and hwiv.
36607         (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
36608         (CASE_CONST_UNIQUE): Likewise.
36609         (CASE_CONST_ANY): Likewise.
36610         (CONST_SCALAR_INT_P): Likewise.
36611         (CONST_WIDE_INT_P): New.
36612         (CWI_ELT): New.
36613         (HWIVEC_CHECK): New.
36614         (cwi_check_failed_bounds): New.
36615         (CWI_ELT): New.
36616         (HWIVEC_CHECK): New.
36617         (CONST_WIDE_INT_VEC) New.
36618         (CONST_WIDE_INT_NUNITS) New.
36619         (CONST_WIDE_INT_ELT) New.
36620         (rtx_mode_t): New type.
36621         (wi::int_traits <rtx_mode_t>): New.
36622         (wi::shwi): New.
36623         (wi::min_value): New.
36624         (wi::max_value): New.
36625         (rtx_alloc_v) New.
36626         (const_wide_int_alloc): New.
36627         (immed_wide_int_const): New.
36628         * sched-vis.c (print_value): Handle CONST_WIDE_INT.
36629         * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
36630         * signop.h: New file.
36631         * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
36632         (simplify_const_unary_operation): Use wide-int interfaces.
36633         (simplify_binary_operation_1): Likewise.
36634         (simplify_const_binary_operation): Likewise.
36635         (simplify_const_relational_operation): Likewise.
36636         (simplify_immed_subreg): Likewise.
36637         * stmt.c (expand_case): Likewise.
36638         * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
36639         signop rather than a bool.
36640         * stor-layout.c (layout_type): Use wide-int interfaces.
36641         (initialize_sizetypes): Update calls to
36642         set_min_and_max_values_for_integral_type.
36643         (set_min_and_max_values_for_integral_type): Take a signop rather
36644         than a bool.  Use wide-int interfaces.
36645         (fixup_signed_type): Update accordingly.  Remove
36646         HOST_BITS_PER_DOUBLE_INT limit.
36647         (fixup_unsigned_type): Likewise.
36648         * system.h (STATIC_CONSTANT_P): New.
36649         (STATIC_ASSERT): New.
36650         * target.def (can_use_doloop_p): Take widest_ints rather than
36651         double_ints.
36652         * target.h: Include wide-int.h rather than double-int.h.
36653         * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
36654         than double_ints.
36655         * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
36656         rather than INT_CST_LT_UNSIGNED.
36657         (can_use_doloop_if_innermost): Take widest_ints rather than
36658         double_ints.
36659         * tree-affine.c: Include wide-int-print.h.
36660         (double_int_ext_for_comb): Delete.
36661         (wide_int_ext_for_comb): New.
36662         (aff_combination_zero): Use wide-int interfaces.
36663         (aff_combination_const): Take a widest_int instead of a double_int.
36664         (aff_combination_elt): Use wide-int interfaces.
36665         (aff_combination_scale): Take a widest_int instead of a double_int.
36666         (aff_combination_add_elt): Likewise.
36667         (aff_combination_add_cst): Likewise.
36668         (aff_combination_add): Use wide-int interfaces.
36669         (aff_combination_convert): Likewise.
36670         (tree_to_aff_combination): Likewise.
36671         (add_elt_to_tree): Take a widest_int instead of a double_int.
36672         (aff_combination_to_tree): Use wide-int interfaces.
36673         (aff_combination_remove_elt): Likewise.
36674         (aff_combination_add_product): Take a widest_int instead of
36675         a double_int.
36676         (aff_combination_mult): Use wide-int interfaces.
36677         (aff_combination_expand): Likewise.
36678         (double_int_constant_multiple_p): Delete.
36679         (wide_int_constant_multiple_p): New.
36680         (aff_combination_constant_multiple_p): Take a widest_int pointer
36681         instead of a double_int pointer.
36682         (print_aff): Use wide-int interfaces.
36683         (get_inner_reference_aff): Take a widest_int pointer
36684         instead of a double_int pointer.
36685         (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
36686         * tree-affine.h: Include wide-int.h.
36687         (struct aff_comb_elt): Change type of coef to widest_int.
36688         (struct affine_tree_combination): Change type of offset to widest_int.
36689         (double_int_ext_for_comb): Delete.
36690         (wide_int_ext_for_comb): New.
36691         (aff_combination_const): Use widest_int instead of double_int.
36692         (aff_combination_scale): Likewise.
36693         (aff_combination_add_elt): Likewise.
36694         (aff_combination_constant_multiple_p): Likewise.
36695         (get_inner_reference_aff): Likewise.
36696         (aff_comb_cannot_overlap_p): Likewise.
36697         (aff_combination_zero_p): Use wide-int interfaces.
36698         * tree.c: Include tree.h.
36699         (init_ttree): Use make_int_cst.
36700         (tree_code_size): Removed code for INTEGER_CST case.
36701         (tree_size): Add INTEGER_CST case.
36702         (make_node_stat): Update comment.
36703         (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
36704         (build_int_cst_type): Use wide-int interfaces.
36705         (double_int_to_tree): Likewise.
36706         (double_int_fits_to_tree_p): Delete.
36707         (force_fit_type_double): Delete.
36708         (force_fit_type): New.
36709         (int_cst_hash_hash): Use wide-int interfaces.
36710         (int_cst_hash_eq): Likewise.
36711         (build_int_cst_wide): Delete.
36712         (wide_int_to_tree): New.
36713         (cache_integer_cst): Use wide-int interfaces.
36714         (build_low_bits_mask): Likewise.
36715         (cst_and_fits_in_hwi): Likewise.
36716         (real_value_from_int_cst): Likewise.
36717         (make_int_cst_stat): New.
36718         (integer_zerop): Use wide_int interfaces.
36719         (integer_onep): Likewise.
36720         (integer_all_onesp): Likewise.
36721         (integer_pow2p): Likewise.
36722         (integer_nonzerop): Likewise.
36723         (tree_log2): Likewise.
36724         (tree_floor_log2): Likewise.
36725         (tree_ctz): Likewise.
36726         (int_size_in_bytes): Likewise.
36727         (mem_ref_offset): Return an offset_int rather than a double_int.
36728         (build_type_attribute_qual_variant): Use wide_int interfaces.
36729         (type_hash_eq): Likewise
36730         (tree_int_cst_equal): Likewise.
36731         (tree_int_cst_lt): Delete.
36732         (tree_int_cst_compare): Likewise.
36733         (tree_fits_shwi_p): Use wide_int interfaces.
36734         (tree_fits_uhwi_p): Likewise.
36735         (tree_int_cst_sign_bit): Likewise.
36736         (tree_int_cst_sgn): Likewise.
36737         (tree_int_cst_min_precision): Take a signop rather than a bool.
36738         (simple_cst_equal): Use wide_int interfaces.
36739         (compare_tree_int): Likewise.
36740         (iterative_hash_expr): Likewise.
36741         (int_fits_type_p): Likewise.  Use tree_int_cst_lt rather than
36742         INT_CST_LT.
36743         (get_type_static_bounds): Use wide_int interfaces.
36744         (tree_int_cst_elt_check_failed): New.
36745         (build_common_tree_nodes): Reordered to set prec before filling in
36746         value.
36747         (int_cst_value): Check cst_and_fits_in_hwi.
36748         (widest_int_cst_value): Use wide_int interfaces.
36749         (upper_bound_in_type): Likewise.
36750         (lower_bound_in_type): Likewise.
36751         (num_ending_zeros): Likewise.
36752         (drop_tree_overflow): Likewise.
36753         * tree-call-cdce.c (check_pow): Update call to real_from_integer.
36754         (gen_conditions_for_pow_cst_base): Likewise.
36755         * tree-cfg.c: Include wide-int.h and wide-int-print.h.
36756         (group_case_labels_stmt): Use wide-int interfaces.
36757         (verify_gimple_assign_binary): Likewise.
36758         (print_loop): Likewise.
36759         * tree-chrec.c (tree_fold_binomial): Likewise.
36760         * tree-core.h (struct tree_base): Add int_length.
36761         (struct tree_int_cst): Change rep of value.
36762         * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
36763         (dr_may_alias_p): Likewise.
36764         (max_stmt_executions_tree): Likewise.
36765         * tree.def (INTEGER_CST): Update comment.
36766         * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
36767         * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
36768         * tree-dump.c: Include wide-int.h and wide-int-print.h.
36769         (dequeue_and_dump): Use wide-int interfaces.
36770         * tree.h: Include wide-int.h.
36771         (NULL_TREE): Moved to earlier loc in file.
36772         (TREE_INT_CST_ELT_CHECK): New.
36773         (tree_int_cst_elt_check_failed): New.
36774         (TYPE_SIGN): New.
36775         (TREE_INT_CST): Delete.
36776         (TREE_INT_CST_LOW): Use wide-int interfaces.
36777         (TREE_INT_CST_HIGH): Delete.
36778         (TREE_INT_CST_NUNITS): New.
36779         (TREE_INT_CST_EXT_NUNITS): Likewise.
36780         (TREE_INT_CST_OFFSET_NUNITS): Likewise.
36781         (TREE_INT_CST_ELT): Likewise.
36782         (INT_CST_LT): Delete.
36783         (tree_int_cst_elt_check): New (two forms).
36784         (type_code_size): Update comment.
36785         (make_int_cst_stat, make_int_cst): New.
36786         (tree_to_double_int): Delete.
36787         (double_int_fits_to_tree_p): Delete.
36788         (force_fit_type_double): Delete.
36789         (build_int_cstu): Replace with out-of-line function.
36790         (build_int_cst_wide): Delete.
36791         (tree_int_cst_lt): Define inline.
36792         (tree_int_cst_le): New.
36793         (tree_int_cst_compare): Define inline.
36794         (tree_int_cst_min_precision): Take a signop rather than a bool.
36795         (wi::int_traits <const_tree>): New.
36796         (wi::int_traits <tree>): New.
36797         (wi::extended_tree): New.
36798         (wi::int_traits <wi::extended_tree>): New.
36799         (wi::to_widest): New.
36800         (wi::to_offset): New.
36801         (wi::fits_to_tree_p): New.
36802         (wi::min_value): New.
36803         (wi::max_value): New.
36804         * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
36805         (copy_tree_body_r): Likewise.
36806         * tree-object-size.c (compute_object_offset): Likewise.
36807         (addr_object_size): Likewise.
36808         * tree-predcom.c: Include wide-int-print.h.
36809         (struct dref_d): Change type of offset to widest_int.
36810         (dump_dref): Call wide-int printer.
36811         (aff_combination_dr_offset): Use wide-int interfaces.
36812         (determine_offset): Take a widest_int pointer rather than a
36813         double_int pointer.
36814         (split_data_refs_to_components): Use wide-int interfaces.
36815         (suitable_component_p): Likewise.
36816         (order_drefs): Likewise.
36817         (add_ref_to_chain): Likewise.
36818         (valid_initializer_p): Likewise.
36819         (determine_roots_comp): Likewise.
36820         * tree-pretty-print.c: Include wide-int-print.h.
36821         (dump_generic_node): Use wide-int interfaces.
36822         * tree-sra.c (sra_ipa_modify_expr): Likewise.
36823         * tree-ssa-address.c (addr_for_mem_ref): Likewise.
36824         (move_fixed_address_to_symbol): Likewise.
36825         (move_hint_to_base): Likewise.
36826         (move_pointer_to_base): Likewise.
36827         (move_variant_to_index): Likewise.
36828         (most_expensive_mult_to_index): Likewise.
36829         (addr_to_parts): Likewise.
36830         (copy_ref_info): Likewise.
36831         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
36832         (indirect_refs_may_alias_p): Likewise.
36833         (stmt_kills_ref_p_1): Likewise.
36834         * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
36835         * tree-ssa-ccp.c: Update comment at top of file.  Include
36836         wide-int-print.h.
36837         (struct prop_value_d): Change type of mask to widest_int.
36838         (extend_mask): New function.
36839         (dump_lattice_value): Use wide-int interfaces.
36840         (get_default_value): Likewise.
36841         (set_constant_value): Likewise.
36842         (set_value_varying): Likewise.
36843         (valid_lattice_transition): Likewise.
36844         (set_lattice_value): Likewise.
36845         (value_to_double_int): Delete.
36846         (value_to_wide_int): New.
36847         (get_value_from_alignment): Use wide-int interfaces.
36848         (get_value_for_expr): Likewise.
36849         (do_dbg_cnt): Likewise.
36850         (ccp_finalize): Likewise.
36851         (ccp_lattice_meet): Likewise.
36852         (bit_value_unop_1): Use widest_ints rather than double_ints.
36853         (bit_value_binop_1): Likewise.
36854         (bit_value_unop): Use wide-int interfaces.
36855         (bit_value_binop): Likewise.
36856         (bit_value_assume_aligned): Likewise.
36857         (evaluate_stmt): Likewise.
36858         (ccp_fold_stmt): Likewise.
36859         (visit_cond_stmt): Likewise.
36860         (ccp_visit_stmt): Likewise.
36861         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
36862         (constant_pointer_difference): Likewise.
36863         (associate_pointerplus): Likewise.
36864         (combine_conversions): Likewise.
36865         * tree-ssa-loop.h: Include wide-int.h.
36866         (struct tree_niter_desc): Change type of max to widest_int.
36867         * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
36868         * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
36869         (remove_redundant_iv_tests): Likewise.
36870         (canonicalize_loop_induction_variables): Likewise.
36871         * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
36872         (constant_multiple_of): Take a widest_int pointer instead of
36873         a double_int pointer.
36874         (get_computation_aff): Use wide-int interfaces.
36875         (ptr_difference_cost): Likewise.
36876         (difference_cost): Likewise.
36877         (get_loop_invariant_expr_id): Likewise.
36878         (get_computation_cost_at): Likewise.
36879         (iv_elimination_compare_lt): Likewise.
36880         (may_eliminate_iv): Likewise.
36881         * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
36882         instead of double_int.
36883         (max_loop_iterations): Likewise.
36884         (max_stmt_executions): Likewise.
36885         (estimated_stmt_executions): Likewise.
36886         * tree-ssa-loop-niter.c: Include wide-int-print.h.
36887         (split_to_var_and_offset): Use wide-int interfaces.
36888         (determine_value_range): Likewise.
36889         (bound_difference_of_offsetted_base): Likewise.
36890         (bounds_add): Take a widest_int instead of a double_int.
36891         (number_of_iterations_ne_max): Use wide-int interfaces.
36892         (number_of_iterations_ne): Likewise.
36893         (number_of_iterations_lt_to_ne): Likewise.
36894         (assert_loop_rolls_lt): Likewise.
36895         (number_of_iterations_lt): Likewise.
36896         (number_of_iterations_le): Likewise.
36897         (number_of_iterations_cond): Likewise.
36898         (number_of_iterations_exit): Likewise.
36899         (finite_loop_p): Likewise.
36900         (derive_constant_upper_bound_assign): Likewise.
36901         (derive_constant_upper_bound): Return a widest_int.
36902         (derive_constant_upper_bound_ops): Likewise.
36903         (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
36904         (record_estimate): Take a widest_int rather than a double_int.
36905         (record_nonwrapping_iv): Use wide-int interfaces.
36906         (double_int_cmp): Delete.
36907         (wide_int_cmp): New.
36908         (bound_index): Take a widest_int rather than a double_int.
36909         (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
36910         (maybe_lower_iteration_bound): Likewise.
36911         (estimate_numbers_of_iterations_loop): Likewise.
36912         (estimated_loop_iterations): Take a widest_int pointer than than
36913         a double_int pointer.
36914         (estimated_loop_iterations_int): Use wide-int interfaces.
36915         (max_loop_iterations): Take a widest_int pointer than than
36916         a double_int pointer.
36917         (max_loop_iterations_int): Use wide-int interfaces.
36918         (max_stmt_executions): Take a widest_int pointer than than
36919         a double_int pointer.
36920         (estimated_stmt_executions): Likewise.
36921         (n_of_executions_at_most): Use wide-int interfaces.
36922         (scev_probably_wraps_p): Likewise.
36923         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
36924         to real_to_integer.
36925         * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
36926         interfaces.
36927         * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
36928         double_ints.  Adjust for trailing_wide_ints <3> representation.
36929         (set_nonzero_bits): Likewise.
36930         (get_range_info): Return wide_ints rather than double_ints.
36931         Adjust for trailing_wide_ints <3> representation.
36932         (get_nonzero_bits): Likewise.
36933         (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
36934         representation.
36935         * tree-ssanames.h (struct range_info_def): Replace min, max and
36936         nonzero_bits with a trailing_wide_ints <3>.
36937         (set_range_info): Use wide_int_refs rather than double_ints.
36938         (set_nonzero_bits): Likewise.
36939         (get_range_info): Return wide_ints rather than double_ints.
36940         (get_nonzero_bits): Likewise.
36941         * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
36942         * tree-ssa-pre.c (phi_translate_1): Likewise.
36943         * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
36944         (acceptable_pow_call): Likewise.
36945         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
36946         interfaces.
36947         (vn_reference_fold_indirect): Likewise.
36948         (vn_reference_maybe_forwprop_address): Likewise.
36949         (valueize_refs_1): Likewise.
36950         * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
36951         * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
36952         tree_int_cst_lt and tree_int_cst_le.
36953         * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
36954         interfaces.
36955         (streamer_alloc_tree): Likewise.
36956         * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
36957         (streamer_write_tree_header): Likewise.
36958         (streamer_write_integer_cst): Likewise.
36959         * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
36960         (build_constructors): Likewise.
36961         (array_value_type): Likewise.
36962         * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
36963         (vect_check_gather): Likewise.
36964         * tree-vect-generic.c (build_replicated_const): Likewise.
36965         (expand_vector_divmod): Likewise.
36966         * tree-vect-loop.c (vect_transform_loop): Likewise.
36967         * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
36968         (vect_do_peeling_for_alignment): Likewise.
36969         * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
36970         * tree-vrp.c: Include wide-int.h.
36971         (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
36972         (extract_range_from_assert): Use wide-int interfaces.
36973         (vrp_int_const_binop): Likewise.
36974         (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
36975         double_int pointers.
36976         (ranges_from_anti_range): Use wide-int interfaces.
36977         (quad_int_cmp): Delete.
36978         (quad_int_pair_sort): Likewise.
36979         (extract_range_from_binary_expr_1): Use wide-int interfaces.
36980         (extract_range_from_unary_expr_1): Likewise.
36981         (adjust_range_with_scev): Likewise.
36982         (masked_increment): Take and return wide_ints rather than double_ints.
36983         (register_edge_assert_for_2): Use wide-int interfaces.
36984         (check_array_ref): Likewise.
36985         (search_for_addr_array): Likewise.
36986         (maybe_set_nonzero_bits): Likewise.
36987         (union_ranges): Pass an integer of the correct type instead of
36988         using integer_one_node.
36989         (intersect_ranges): Likewise.
36990         (simplify_truth_ops_using_ranges): Likewise.
36991         (simplify_bit_ops_using_ranges): Use wide-int interfaces.
36992         (range_fits_type_p): Likewise.
36993         (simplify_cond_using_ranges): Likewise.  Take a signop rather than
36994         a bool.
36995         (simplify_conversion_using_ranges): Use wide-int interfaces.
36996         (simplify_float_conversion_using_ranges): Likewise.
36997         (vrp_finalize): Likewise.
36998         * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
36999         (gimple_stringops_transform): Likewise.
37000         * varasm.c (decode_addr_const): Likewise.
37001         (const_hash_1): Likewise.
37002         (const_rtx_hash_1): Likewise
37003         (output_constant): Likewise.
37004         (array_size_for_constructor): Likewise.
37005         (output_constructor_regular_field): Likewise.
37006         (output_constructor_bitfield): Likewise.
37007         * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
37008         * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
37009         GENERATOR_FILEs.
37010         * gencheck.c: Define BITS_PER_UNIT.
37011         * wide-int.cc: New.
37012         * wide-int.h: New.
37013         * wide-int-print.cc: New.
37014         * wide-int-print.h: New.
37016 2014-05-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
37018         * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
37020 2014-05-06  Richard Biener  <rguenther@suse.de>
37022         * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
37023         TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
37024         (TODO_verify_all): Adjust.
37025         * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
37026         TODO_verify_stmts and TODO_verify_rtl_sharing.
37027         * bb-reorder.c: Likewise.
37028         * cfgexpand.c: Likewise.
37029         * cprop.c: Likewise.
37030         * cse.c: Likewise.
37031         * function.c: Likewise.
37032         * fwprop.c: Likewise.
37033         * gcse.c: Likewise.
37034         * gimple-ssa-isolate-paths.c: Likewise.
37035         * gimple-ssa-strength-reduction.c: Likewise.
37036         * ipa-split.c: Likewise.
37037         * loop-init.c: Likewise.
37038         * loop-unroll.c: Likewise.
37039         * lower-subreg.c: Likewise.
37040         * modulo-sched.c: Likewise.
37041         * postreload-gcse.c: Likewise.
37042         * predict.c: Likewise.
37043         * recog.c: Likewise.
37044         * sched-rgn.c: Likewise.
37045         * store-motion.c: Likewise.
37046         * tracer.c: Likewise.
37047         * trans-mem.c: Likewise.
37048         * tree-call-cdce.c: Likewise.
37049         * tree-cfg.c: Likewise.
37050         * tree-cfgcleanup.c: Likewise.
37051         * tree-complex.c: Likewise.
37052         * tree-eh.c: Likewise.
37053         * tree-emutls.c: Likewise.
37054         * tree-if-conv.c: Likewise.
37055         * tree-into-ssa.c: Likewise.
37056         * tree-loop-distribution.c: Likewise.
37057         * tree-object-size.c: Likewise.
37058         * tree-parloops.c: Likewise.
37059         * tree-pass.h: Likewise.
37060         * tree-sra.c: Likewise.
37061         * tree-ssa-ccp.c: Likewise.
37062         * tree-ssa-copy.c: Likewise.
37063         * tree-ssa-copyrename.c: Likewise.
37064         * tree-ssa-dce.c: Likewise.
37065         * tree-ssa-dom.c: Likewise.
37066         * tree-ssa-dse.c: Likewise.
37067         * tree-ssa-forwprop.c: Likewise.
37068         * tree-ssa-ifcombine.c: Likewise.
37069         * tree-ssa-loop-ch.c: Likewise.
37070         * tree-ssa-loop-ivcanon.c: Likewise.
37071         * tree-ssa-loop.c: Likewise.
37072         * tree-ssa-math-opts.c: Likewise.
37073         * tree-ssa-phiopt.c: Likewise.
37074         * tree-ssa-phiprop.c: Likewise.
37075         * tree-ssa-pre.c: Likewise.
37076         * tree-ssa-reassoc.c: Likewise.
37077         * tree-ssa-sink.c: Likewise.
37078         * tree-ssa-strlen.c: Likewise.
37079         * tree-ssa-tail-merge.c: Likewise.
37080         * tree-ssa-uncprop.c: Likewise.
37081         * tree-switch-conversion.c: Likewise.
37082         * tree-tailcall.c: Likewise.
37083         * tree-vect-generic.c: Likewise.
37084         * tree-vectorizer.c: Likewise.
37085         * tree-vrp.c: Likewise.
37086         * tsan.c: Likewise.
37087         * var-tracking.c: Likewise.
37088         * bt-load.c: Likewise.
37089         * cfgcleanup.c: Likewise.
37090         * combine-stack-adj.c: Likewise.
37091         * combine.c: Likewise.
37092         * compare-elim.c: Likewise.
37093         * config/epiphany/resolve-sw-modes.c: Likewise.
37094         * config/i386/i386.c: Likewise.
37095         * config/mips/mips.c: Likewise.
37096         * config/s390/s390.c: Likewise.
37097         * config/sh/sh_treg_combine.cc: Likewise.
37098         * config/sparc/sparc.c: Likewise.
37099         * dce.c: Likewise.
37100         * dse.c: Likewise.
37101         * final.c: Likewise.
37102         * ifcvt.c: Likewise.
37103         * mode-switching.c: Likewise.
37104         * passes.c: Likewise.
37105         * postreload.c: Likewise.
37106         * ree.c: Likewise.
37107         * reg-stack.c: Likewise.
37108         * regcprop.c: Likewise.
37109         * regrename.c: Likewise.
37110         * web.c: Likewise.
37112 2014-05-06  Richard Biener  <rguenther@suse.de>
37114         PR middle-end/61070
37115         * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
37116         * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
37118 2014-05-05  Jan Hubicka  <hubicka@ucw.cz>
37120         PR ipa/60965
37121         * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
37123 2014-05-05  Radovan Obradovic  <robradovic@mips.com>
37124             Tom de Vries  <tom@codesourcery.com>
37126         * target.def (call_fusage_contains_non_callee_clobbers): New
37127         DEFHOOKPOD.
37128         * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
37129         Hooks to @menu.
37130         (@node Miscellaneous Register Hooks): New node.
37131         (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
37132         * doc/tm.texi: Regenerate.
37134 2014-05-05  Marek Polacek  <polacek@redhat.com>
37136         PR driver/61065
37137         * opts.c (common_handle_option): Call error_at instead of warning_at.
37139 2014-05-05  Richard Biener  <rguenther@suse.de>
37141         * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
37142         from last_verified if update_ssa ran.  Move TODO_verify_rtl_sharing
37143         under the TODO_verify_il umbrella.
37145 2014-05-05  Richard Biener  <rguenther@suse.de>
37147         * passes.c (execute_function_todo): Move TODO_verify_flow under
37148         the TODO_verify_ul umbrella.
37150 2014-05-05  Richard Biener  <rguenther@suse.de>
37152         PR middle-end/61010
37153         * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
37154         X & CST away from a CST that is the mask of a mode.
37156 2014-05-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
37158         * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
37159         int argument to enum machine_mode.
37160         (picochip_class_max_nregs): Ditto.
37161         * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
37162         (picochip_class_max_nregs): Ditto.
37164 2014-05-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37166         * target.def: Add new target hook.
37167         * doc/tm.texi: Regenerate.
37168         * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
37169         * targhooks.c (default_keep_leaf_when_profiled): New function.
37171         * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
37172         (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
37174 2014-05-05  Bin Cheng  <bin.cheng@arm.com>
37176         PR tree-optimization/60363
37177         * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
37178         (copy_phi_args): New parameters.  Call get_value_locus_in_path.
37179         (update_destination_phis): New parameter.
37180         (create_edge_and_update_destination_phis): Ditto.
37181         (ssa_fix_duplicate_block_edges): Pass new arguments.
37182         (thread_single_edge): Ditto.
37184 2014-05-04  Peter Bergner  <bergner@vnet.ibm.com>
37186         * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
37187         (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
37188         (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
37189         * config/rs6000/rs6000-builtin.def (BU_MISC_1):
37190         Use RS6000_BTM_HARD_FLOAT.
37191         (BU_MISC_2): Likewise.
37192         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
37193         RS6000_BTM_HARD_FLOAT.
37194         (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
37195         is explicitly used.
37196         (rs6000_invalid_builtin): Add hard floating builtin support.
37197         (rs6000_expand_builtin): Relax the gcc_assert to allow the new
37198         hard float builtins.
37199         (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
37201 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
37203         * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
37204         Add missing function* argument.
37206 2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
37208         * lra-constraints.c (valid_address_p): Move earlier in file.
37209         Add a constraint argument to the address_info version.
37210         (satisfies_memory_constraint_p): New function.
37211         (satisfies_address_constraint_p): Likewise.
37212         (process_alt_operands, curr_insn_transform): Use them.
37213         (process_address): Pass the constraint to valid_address_p when
37214         checking address operands.
37216 2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
37218         * config/mips/mips.c (mips_isa_rev): New variable.
37219         (mips_set_architecture): Set it.
37220         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
37221         from mips_isa_rev.
37222         (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
37223         (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
37224         (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
37225         (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
37226         (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
37227         conditions in terms of mips_isa_rev.
37228         (mips_isa_rev): Declare.
37230 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
37232         * config/sh/sh-mem.cc: Use tabs instead of spaces.
37233         (prob_unlikely, prob_likely): Make variables const.
37235 2014-05-03  Denis Chertykov  <chertykov@gmail.com>
37237         * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
37239 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
37241         * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
37243 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
37245         * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
37246         (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
37247         * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
37248         functions.
37249         (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
37250         sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
37251         sh_pass_in_reg_p.
37252         Replace usage of ROUND_REG with sh_round_reg.
37253         Use CEIL instead of ROUND_ADVANCE.
37255 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
37257         PR target/61026
37258         * config/sh/sh.c: Include stdlib headers before everything else.
37260 2014-05-02  Jakub Jelinek  <jakub@redhat.com>
37262         * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
37263         GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
37264         (gimplify_adjust_omp_clauses): Simd region is never
37265         directly nested in combined parallel.  Instead, for linear
37266         with copyin/copyout, if in combined for simd loop, make decl
37267         firstprivate/lastprivate on OMP_FOR.
37268         * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
37269         expand_omp_for_static_chunk): When setting endvar, also set
37270         fd->loop.v to the same value.
37272 2014-05-02  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
37274         * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
37276 2014-05-02  Alan Lawrence  <alan.lawrence@arm.com>
37278         * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
37279         expression.
37281 2014-05-02  Marek Polacek  <polacek@redhat.com>
37283         * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
37285 2014-05-02  Kito Cheng  <kito@0xlab.org>
37287         * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
37288         to a C expression marco.
37289         * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
37290         * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
37291         * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
37292         * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
37293         HONOR_REG_ALLOC_ORDER.
37294         * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
37296 2014-05-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
37298         * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
37300 2014-05-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
37302         * config/arc/arc.c (arc_select_cc_mode): Fix typo.
37304 2014-05-01  Yuri Rumyantsev  <ysrumyan@gmail.com>
37306         * tree-if-conv.c (is_cond_scalar_reduction): New function.
37307         (convert_scalar_cond_reduction): Likewise.
37308         (predicate_scalar_phi): Add recognition and transformation
37309         of simple conditioanl reduction to be vectorizable.
37311 2014-05-01  Marek Polacek  <polacek@redhat.com>
37313         PR c/43245
37314         * doc/invoke.texi: Document -Wdiscarded-qualifiers.
37316 2014-04-30  Alan Lawrence  <alan.lawrence@arm.com>
37318         * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
37319         vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
37320         vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
37321         vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
37322         vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
37323         vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
37324         vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
37325         vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
37327 2014-04-30  Joern Rennecke  <joern.rennecke@embecosm.com>
37329         * config/arc/arc.opt (mlra): Move comment above option name
37330         to avoid mis-parsing as language options.
37332 2014-04-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37334         * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
37335         * config/sol2.h: ... here.
37336         * config/sol2-10.h: Remove.
37338         * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
37339         (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
37340         (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
37341         (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
37342         (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
37343         * config/sol2.h: ... here.
37344         (SECTION_NAME_FORMAT): Don't redefine.
37345         (STARTFILE_ARCH32_SPEC): Rename to ...
37346         (STARTFILE_ARCH_SPEC): ... this.
37347         (ASM_OUTPUT_ALIGNED_COMMON): Move ...
37348         * config/sparc/sol2.h: ... here.
37349         (SECTION_NAME_FORMAT): Don't undef.
37350         * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
37351         (SUBTARGET_EXTRA_SPECS): Remove.
37352         * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
37354         * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
37355         (MD_STARTFILE_PREFIX): Remove.
37356         (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
37357         (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
37358         (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
37359         (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
37360         (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
37361         (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
37362         * config/i386/sol2.h: ... here.
37363         (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
37364         * config/i386/sol2-bi.h: Remove.
37365         * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
37366         (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
37368         * config/i386/t-sol2-64: Rename to ...
37369         * config/i386/t-sol2: ... this.
37370         * config/sparc/t-sol2-64: Rename to ...
37371         * config/sparc/t-sol2: ... this.
37373         * config.gcc (*-*-solaris2*): Split sol2_tm_file into
37374         sol2_tm_file_head, sol2_tm_file_tail.
37375         Include ${cpu_type}/sol2.h before sol2.h.
37376         Remove sol2-10.h.
37377         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
37378         i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
37379         Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
37380         Reflect i386/t-sol2-64 renaming.
37381         (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
37382         Reflect sparc/t-sol2-64 renaming.
37384 2014-04-30  Richard Biener  <rguenther@suse.de>
37386         * passes.c (execute_function_todo): Move TODO_verify_stmts
37387         and TODO_verify_ssa under the TODO_verify_il umbrella.
37388         * tree-ssa.h (verify_ssa): Adjust prototype.
37389         * tree-ssa.c (verify_ssa): Add parameter to tell whether
37390         we should verify SSA operands.
37391         * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
37392         * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
37393         whether we should verify whether not throwing stmts have EH info.
37394         * graphite-scop-detection.c (create_sese_edges): Adjust.
37395         * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
37396         * tree-eh.c (lower_try_finally_switch): Do not add the
37397         default case label twice.
37399 2014-04-30  Marek Polacek  <polacek@redhat.com>
37401         * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
37402         * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
37403         * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
37404         * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
37406 2014-04-29  Alan Lawrence  <alan.lawrence@arm.com>
37408         * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
37409         vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
37410         vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
37411         vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
37412         vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
37413         vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
37414         vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
37415         vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
37417 2014-04-29  David Malcolm  <dmalcolm@redhat.com>
37419         * tree-cfg.c (dump_function_to_file): Dump the return type of
37420         functions, in a line to itself before the function body, mimicking
37421         the layout of a C function.
37423 2014-04-29  Jakub Jelinek  <jakub@redhat.com>
37425         PR tree-optimization/60971
37426         * tree-tailcall.c (process_assignment): Reject conversions which
37427         reduce precision.
37429 2014-04-29  James Greenhalgh  <james.greenhalgh@arm.com>
37431         * calls.c (initialize_argument_information): Always treat
37432         PUSH_ARGS_REVERSED as 1, simplify code accordingly.
37433         (expand_call): Likewise.
37434         (emit_library_call_calue_1): Likewise.
37435         * expr.c (PUSH_ARGS_REVERSED): Do not define.
37436         (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
37437         code accordingly.
37439 2014-04-29  Nick Clifton  <nickc@redhat.com>
37441         * config/msp430/msp430.md (umulsidi): Fix typo.
37442         (mulhisi3): Enable even inside interrupt handlers.
37443         * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
37444         bigger return address pushed in large mode.
37446 2014-04-29  Nick Clifton  <nickc@redhat.com>
37448         * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
37449         (arc_init_reg_tables): Use a machine_mode enum to iterate over
37450         available modes.
37451         * config/m32r/m32r.c (init_reg_tables): Likewise.
37452         * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
37453         enum to hold the modes.
37455 2014-04-29  Richard Biener  <rguenther@suse.de>
37457         * dominance.c (free_dominance_info): Add overload with
37458         function parameter.
37459         (dom_info_state): Likewise.
37460         (dom_info_available_p): Likewise.
37461         * basic-block.h (free_dominance_info, dom_info_state,
37462         dom_info_available_p): Declare overloads.
37463         * passes.c (execute_function_todo): Verify that verifiers
37464         don't change dominator info state.  Drop dominator info
37465         for IPA pass invocations.
37466         * cgraph.c (release_function_body): Restore asserts that
37467         dominator information is released.
37469 2014-04-29  Patrick Palka  <patrick@parcs.ath.cx>
37471         * doc/invoke.texi: Fix typo.
37472         * tree-vrp.c: Fix typos.
37473         * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
37475 2014-04-29  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
37477         * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
37479 2014-04-28  James Greenhalgh  <james.greenhalgh@arm.com>
37481         * config/aarch64/aarch64-builtins.c
37482         (aarch64_types_storestruct_lane_qualifiers): New.
37483         (TYPES_STORESTRUCT_LANE): Likewise.
37484         * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
37485         (st3_lane): Likewise.
37486         (st4_lane): Likewise.
37487         * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
37488         (vec_store_lanesci_lane<mode>): Likewise.
37489         (vec_store_lanesxi_lane<mode>): Likewise.
37490         (aarch64_st2_lane<VQ:mode>): Likewise.
37491         (aarch64_st3_lane<VQ:mode>): Likewise.
37492         (aarch64_st4_lane<VQ:mode>): Likewise.
37493         * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
37494         * config/aarch64/arm_neon.h
37495         (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
37496         use new macro arguments.
37497         (__ST3_LANE_FUNC): Likewise.
37498         (__ST4_LANE_FUNC): Likewise.
37499         * config/aarch64/iterators.md (V_TWO_ELEM): New.
37500         (V_THREE_ELEM): Likewise.
37501         (V_FOUR_ELEM): Likewise.
37503 2014-04-28  David Malcolm  <dmalcolm@redhat.com>
37505         * doc/gimple.texi: Replace the description of the now-defunct
37506         union gimple_statement_d with a diagram showing the
37507         gimple_statement_base class hierarchy and its relationships to
37508         the GSS_ and GIMPLE_ enums.
37510 2014-04-28  James Greenhalgh  <james.greenhalgh@arm.com>
37512         * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
37513         * config/aarch64/aarch64.c
37514         (aarch64_cannot_change_mode_class): Weaken conditions.
37515         (aarch64_modes_tieable_p): New.
37516         * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
37518 2014-04-28  Pat Haugen  <pthaugen@us.ibm.com>
37520         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
37521         (loadsync_<mode>): Change mode.
37522         (load_quadpti, store_quadpti): New.
37523         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
37524         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
37526 2014-04-28  Martin Jambor  <mjambor@suse.cz>
37528         * tree-sra.c (sra_modify_expr): Generate new memory accesses with
37529         same alias type as the original statement.
37530         (subreplacement_assignment_data): New type.
37531         (handle_unscalarized_data_in_subtree): New type of parameter,
37532         generate new memory accesses with same alias type as the original
37533         statement.
37534         (load_assign_lhs_subreplacements): Likewise.
37535         (sra_modify_constructor_assign): Generate new memory accesses with
37536         same alias type as the original statement.
37538 2014-04-28  Richard Biener  <rguenther@suse.de>
37540         * tree-pass.h (TODO_verify_il): Define.
37541         (TODO_verify_all): Complete properly.
37542         * passes.c (execute_function_todo): Move existing loop-closed
37543         SSA verification under TODO_verify_il.
37544         (execute_one_pass): Trigger TODO_verify_il at todo-after time.
37545         * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
37546         Fix tree sharing issue.
37548 2014-04-28  Richard Biener  <rguenther@suse.de>
37550         PR middle-end/60092
37551         * builtins.def (DEF_C11_BUILTIN): Add.
37552         (BUILT_IN_ALIGNED_ALLOC): Likewise.
37553         * coretypes.h (enum function_class): Add function_c11_misc.
37554         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
37555         BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
37556         (call_may_clobber_ref_p_1): Likewise.
37557         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
37558         (mark_all_reaching_defs_necessary_1): Likewise.
37559         (propagate_necessity): Likewise.
37560         (eliminate_unnecessary_stmts): Likewise.
37561         * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
37563 2014-04-28  Richard Biener  <rguenther@suse.de>
37565         * tree-vrp.c (vrp_var_may_overflow): Remove.
37566         (vrp_visit_phi_node): Rather than bumping to +-INF possibly
37567         with overflow immediately bump to one before that value and
37568         let iteration figure out overflow status.
37570 2014-04-28  Richard Biener  <rguenther@suse.de>
37572         * configure.ac: Do valgrind header checks unconditionally.
37573         Add --enable-valgrind-annotations.
37574         * system.h: Guard valgrind header inclusion with
37575         ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
37576         * alloc-pool.c (pool_alloc, pool_free): Use
37577         ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
37578         to guard possibly dead code.
37579         * config.in: Regenerated.
37580         * configure: Likewise.
37582 2014-04-28  Jeff Law  <law@redhat.com>
37584         PR tree-optimization/60902
37585         * tree-ssa-threadedge.c
37586         (record_temporary_equivalences_from_stmts_at_dest): Only iterate
37587         over real defs when invalidating outputs from statements that do not
37588         produce useful outputs for threading.
37590 2014-04-28  Richard Biener  <rguenther@suse.de>
37592         PR tree-optimization/60979
37593         * graphite-scop-detection.c (scopdet_basic_block_info): Reject
37594         SCOPs that end in a block with a successor with abnormal
37595         predecessors.
37597 2014-04-28  Richard Biener  <rguenther@suse.de>
37599         * tree-pass.h (execute_pass_list): Adjust prototype.
37600         * passes.c (pass_manager::execute_early_local_passes): Adjust.
37601         (do_per_function): Change callback signature, push all actual
37602         work to the callbals.
37603         (do_per_function_toporder): Likewise.
37604         (execute_function_dump): Adjust.
37605         (execute_function_todo): Likewise.
37606         (clear_last_verified): Likewise.
37607         (verify_curr_properties): Likewise.
37608         (update_properties_after_pass): Likewise.
37609         (execute_pass_list_1): Split out from ...
37610         (execute_pass_list): ... here.  Adjust.
37611         (execute_ipa_pass_list): Likewise.
37612         * cgraphunit.c (cgraph_add_new_function): Adjust.
37613         (analyze_function): Likewise.
37614         (expand_function): Likewise.
37615         * cgraph.c (release_function_body): Free dominance info
37616         here instead of asserting it was magically freed elsewhere.
37618 2014-04-28  Eric Botcazou  <ebotcazou@adacore.com>
37620         * configure.ac: Tweak GAS check for LEON instructions on SPARC.
37621         * configure: Regenerate.
37622         * config/sparc/sparc.opt (muser-mode): New option.
37623         * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
37624         for LEON3.
37625         (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
37626         * doc/invoke.texi (SPARC options): Document -muser-mode.
37628 2014-04-27  Richard Sandiford  <rdsandiford@googlemail.com>
37630         * cselib.c (find_slot_memmode): Delete.
37631         (cselib_hasher): Change compare_type to a struct.
37632         (cselib_hasher::equal): Update accordingly.  Don't expect wrapped
37633         constants.
37634         (preserve_constants_and_equivs): Adjust for new compare_type.
37635         (cselib_find_slot): Likewise.  Take the mode of the rtx as argument.
37636         (wrap_constant): Delete.
37637         (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
37639 2014-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37641         * doc/install.texi (Building with profile feedback): Remove
37642         outdated sentence.
37644 2014-04-26  Tom de Vries  <tom@codesourcery.com>
37646         * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
37647         array accesses.
37649 2014-04-25  Cary Coutant  <ccoutant@google.com>
37651         PR debug/60929
37652         * dwarf2out.c (should_move_die_to_comdat): A type definition
37653         can contain a subprogram definition, but don't move it to a
37654         comdat unit.
37655         (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
37656         (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
37657         from original DIE.
37658         (clone_tree_hash): Rename to...
37659         (clone_tree_partial): ...this; change callers.  Copy
37660         DW_TAG_subprogram DIEs as declarations.
37661         (copy_decls_walk): Don't copy children of a declaration into a
37662         type unit.
37664 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37666         PR target/60969
37667         * config/i386/i386.md (*movsf_internal): Set MODE to SI for
37668         alternative 12.
37670 2014-04-25  Jiong Wang  <jiong.wang@arm.com>
37672         * config/arm/predicates.md (call_insn_operand): Add long_call check.
37673         * config/arm/arm.md (sibcall, sibcall_value): Force the address to
37674         reg for long_call.
37675         * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
37676         restriction.
37678 2014-04-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37680         * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
37682 2014-04-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37684         PR tree-optimization/60930
37685         * gimple-ssa-strength-reduction.c (create_mul_imm_cand):  Reject
37686         creating a multiply candidate by folding two constant
37687         multiplicands when the result overflows.
37689 2014-04-25  Jakub Jelinek  <jakub@redhat.com>
37691         PR tree-optimization/60960
37692         * tree-vect-generic.c (expand_vector_operation): Only call
37693         expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
37695 2014-04-25  Tom de Vries  <tom@codesourcery.com>
37697         * expr.c (clobber_reg_mode): New function.
37698         * expr.h (clobber_reg): New function.
37700 2014-04-25  Tom de Vries  <tom@codesourcery.com>
37702         * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
37703         clobbers.
37705 2014-04-25  Radovan Obradovic  <robradovic@mips.com>
37706             Tom de Vries  <tom@codesourcery.com>
37708         * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
37709         handle.
37710         * rtl.h (find_all_hard_reg_sets): Add bool parameter.
37711         * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
37712         new argument to find_all_hard_reg_sets call.
37714 2014-04-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37716         * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
37717         Use HOST_WIDE_INT_C for mask literal.
37718         (aarch_rev16_shleft_mask_imm_p): Likewise.
37720 2014-04-25  Eric Botcazou  <ebotcazou@adacore.com>
37722         PR target/60941
37723         * config/sparc/sparc.md (ashlsi3_extend): Delete.
37725 2014-04-25  Marc Glisse  <marc.glisse@inria.fr>
37727         PR preprocessor/56540
37728         * config/i386/i386-c.c (ix86_target_macros): Define
37729         __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
37731 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37733         * configure.ac (tga_func): Remove.
37734         (LIB_TLS_SPEC): Remove.
37735         * configure: Regenerate.
37736         * config.in: Regenerate.
37737         * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
37739 2014-04-25  Richard Biener  <rguenther@suse.de>
37741         PR ipa/60912
37742         * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
37743         call stmt use/clobber sets during stmt walk instead of
37744         walking the possibly incomplete set of caller edges.
37746 2014-04-25  Richard Biener  <rguenther@suse.de>
37748         PR ipa/60911
37749         * passes.c (apply_ipa_transforms): Inline into only caller ...
37750         (execute_one_pass): ... here.  Properly bring in function
37751         bodies for nodes we want to apply IPA transforms to.
37753 2014-04-24  Cong Hou  <congh@google.com>
37755         PR tree-optimization/60896
37756         * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
37757         all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
37758         (vect_mark_pattern_stmts): Set the def type of all statements in
37759         PATTERN_DEF_SEQ as vect_internal_def.
37761 2014-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
37763         * doc/extend.texi (PowerPC Built-in Functions): Document new
37764         powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
37765         (PowerPC AltiVec/VSX Built-in Functions): Likewise.
37767         * config/rs6000/predicates.md (const_0_to_3_operand): New
37768         predicate to match 0..3 integer constants.
37770         * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
37771         to support adding miscellaneous builtin functions.
37772         (BU_DFP_MISC_2): Likewise.
37773         (BU_P7_MISC_1): Likewise.
37774         (BU_P7_MISC_2): Likewise.
37775         (BU_P8V_MISC_3): Likewise.
37776         (BU_MISC_1): Likewise.
37777         (BU_MISC_2): Likewise.
37778         (DIVWE): Add extended divide builtin functions.
37779         (DIVWEO): Likewise.
37780         (DIVWEU): Likewise.
37781         (DIVWEUO): Likewise.
37782         (DIVDE): Likewise.
37783         (DIVDEO): Likewise.
37784         (DIVDEU): Likewise.
37785         (DIVDEUO): Likewise.
37786         (DXEX): Add decimal floating-point builtin functions.
37787         (DXEXQ): Likewise.
37788         (DDEDPD): Likewise.
37789         (DDEDPDQ): Likewise.
37790         (DENBCD): Likewise.
37791         (DENBCDQ): Likewise.
37792         (DIEX): Likewise.
37793         (DIEXQ): Likewise.
37794         (DSCLI): Likewise.
37795         (DSCLIQ): Likewise.
37796         (DSCRI): Likewise.
37797         (DSCRIQ): Likewise.
37798         (CDTBCD): Add new BCD builtin functions.
37799         (CBCDTD): Likewise.
37800         (ADDG6S): Likewise.
37801         (BCDADD): Likewise.
37802         (BCDADD_LT): Likewise.
37803         (BCDADD_EQ): Likewise.
37804         (BCDADD_GT): Likewise.
37805         (BCDADD_OV): Likewise.
37806         (BCDSUB): Likewise.
37807         (BCDSUB_LT): Likewise.
37808         (BCDSUB_EQ): Likewise.
37809         (BCDSUB_GT): Likewise.
37810         (BCDSUB_OV): Likewise.
37811         (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
37812         (UNPACK_TD): Likewise.
37813         (PACK_TF): Likewise.
37814         (UNPACK_TF): Likewise.
37815         (UNPACK_TF_0): Likewise.
37816         (UNPACK_TF_1): Likewise.
37817         (PACK_V1TI): Likewise.
37818         (UNPACK_V1TI): Likewise.
37820         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
37821         support for decimal floating point builtin functions.
37822         (rs6000_expand_ternop_builtin): Add checks for the new builtin
37823         functions that take constant arguments.
37824         (rs6000_invalid_builtin): Add decimal floating point builtin support.
37825         (rs6000_init_builtins): Setup long double, _Decimal64, and
37826         _Decimal128 types for new builtin functions.
37827         (builtin_function_type): Set the unsigned flags appropriately for
37828         the new builtin functions.
37829         (rs6000_opt_masks): Add support for decimal floating point builtin
37830         functions.
37832         * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
37833         floating point builtin functions.
37834         (RS6000_BTM_COMMON): Likewise.
37835         (RS6000_BTI_long_double): Likewise.
37836         (RS6000_BTI_dfloat64): Likewise.
37837         (RS6000_BTI_dfloat128): Likewise.
37838         (long_double_type_internal_node): Likewise.
37839         (dfloat64_type_internal_node): Likewise.
37840         (dfloat128_type_internal_node): Likewise.
37842         * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
37843         2.07 bcd arithmetic instructions.
37844         (UNSPEC_BCDSUB): Likewise.
37845         (UNSPEC_BCD_OVERFLOW): Likewise.
37846         (UNSPEC_BCD_ADD_SUB): Likewise.
37847         (bcd_add_sub): Likewise.
37848         (BCD_TEST): Likewise.
37849         (bcd<bcd_add_sub>): Likewise.
37850         (bcd<bcd_add_sub>_test): Likewise.
37851         (bcd<bcd_add_sub>_test2): Likewise.
37852         (bcd<bcd_add_sub>_<code>): Likewise.
37853         (peephole2 for combined bcd ops): Likewise.
37855         * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
37856         decimal floating point builtin functions.
37857         (UNSPEC_DENBCD): Likewise.
37858         (UNSPEC_DXEX): Likewise.
37859         (UNSPEC_DIEX): Likewise.
37860         (UNSPEC_DSCLI): Likewise.
37861         (UNSPEC_DSCRI): Likewise.
37862         (D64_D128): Likewise.
37863         (dfp_suffix): Likewise.
37864         (dfp_ddedpd_<mode>): Likewise.
37865         (dfp_denbcd_<mode>): Likewise.
37866         (dfp_dxex_<mode>): Likewise.
37867         (dfp_diex_<mode>): Likewise.
37868         (dfp_dscli_<mode>): Likewise.
37869         (dfp_dscri_<mode>): Likewise.
37871         * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
37872         builtin functions.
37873         (UNSPEC_CDTBCD): Likewise.
37874         (UNSPEC_CBCDTD): Likewise.
37875         (UNSPEC_DIVE): Add support for new extended divide builtin functions.
37876         (UNSPEC_DIVEO): Likewise.
37877         (UNSPEC_DIVEU): Likewise.
37878         (UNSPEC_DIVEUO): Likewise.
37879         (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
37880         pack/unpack 128-bit types.
37881         (UNSPEC_PACK_128BIT): Likewise.
37882         (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
37883         (udiv<mode>3): Use idiv_ldiv mode attribute.
37884         (div<mode>3): Likewise.
37885         (addg6s): Add new BCD builtin functions.
37886         (cdtbcd): Likewise.
37887         (cbcdtd): Likewise.
37888         (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
37889         (div_extend): Likewise.
37890         (div<div_extend>_<mode>"): Likewise.
37891         (FP128_64): Add support for new builtin functions to pack/unpack
37892         128-bit types.
37893         (unpack<mode>): Likewise.
37894         (unpacktf_0): Likewise.
37895         (unpacktf_1): Likewise.
37896         (unpack<mode>_dm): Likewise.
37897         (unpack<mode>_nodm): Likewise.
37898         (pack<mode>): Likewise.
37899         (unpackv1ti): Likewise.
37900         (packv1ti): Likewise.
37902 2014-04-24  Vishnu K S  <Vishnu.k_s@atmel.com>
37904         * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
37905         is disabled.
37907 2014-04-24  Jakub Jelinek  <jakub@redhat.com>
37909         * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
37910         * gimplify.c (omp_is_private): Change last argument's type to int.
37911         Only diagnose lastprivate if the simd argument is 1, only diagnose
37912         linear if the simd argument is 2.
37913         (gimplify_omp_for): Adjust omp_is_private callers.  When adding
37914         lastprivate or private, add the clause to OMP_FOR_CLAUSES.  Pass
37915         GOVD_EXPLICIT to omp_add_variable.  For simd with collapse == 1
37916         create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
37917         If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
37918         increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
37919         * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
37920         OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
37921         * tree-nested.c (convert_nonlocal_omp_clauses,
37922         convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
37924 2014-04-24  Segher Boessenkool  <segher@kernel.crashing.org>
37926         PR target/60822
37927         * config/m68k/m68k.md (extendplussidi): Don't allow memory for
37928         operand 1.
37930 2014-04-24  Dimitris Papavasiliou  <dpapavas@gmail.com>
37932         * flag-types.h (enum ivar_visibility): Add.
37934 2014-04-24  Trevor Saunders  <tsaunders@mozilla.com>
37936         * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
37937         function * argument.
37939 2014-04-24  Alan Lawrence  <alan.lawrence@arm.com>
37941         * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
37943 2014-04-24  Radovan Obradovic  <robradovic@mips.com>
37944             Tom de Vries  <tom@codesourcery.com>
37946         * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
37947         * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
37948         reg-note.
37949         * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
37950         * emit-rtl.c (try_split): Same.
37952 2014-04-24  Radovan Obradovic  <robradovic@mips.com>
37953             Tom de Vries  <tom@codesourcery.com>
37955         * common.opt (fuse-caller-save): New option.
37957 2014-04-24  Tejas Belagod  <tejas.belagod@arm.com>
37959         * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
37960         elements for big-endian.
37962 2014-04-24  Richard Biener  <rguenther@suse.de>
37964         * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
37965         during TER and instead use the sepops interface for expanding
37966         non-GIMPLE_SINGLE_RHS.
37968 2014-04-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37970         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
37971         if not HAVE_AS_IX86_DIFF_SECT_DELTA.
37973 2014-04-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37975         * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
37976         assembler 64-bit option.
37977         * configure: Regenerate.
37979 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37981         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
37982         TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
37983         (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
37984         (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
37985         (TARGET_CRYPTO): Take TARGET_SIMD into account.
37987 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37989         * config/aarch64/aarch64-builtins.c
37990         (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
37991         BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
37992         * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
37993         * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
37994         builtins.
37995         * config/aarch64/iterator.md (VDQHSD): New mode iterator.
37996         (Vrevsuff): New mode attribute.
37998 2014-04-24  Terry Guo  <terry.guo@arm.com>
38000         * config/arm/arm.h (machine_function): Define variable
38001         after_arm_reorg here.
38002         * config/arm/arm.c (after_arm_reorg): Remove the definition.
38003         (arm_split_constant): Update the way to access variable
38004         after_arm_reorg.
38005         (arm_reorg): Ditto.
38006         (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
38008 2014-04-23  Tom de Vries  <tom@codesourcery.com>
38010         * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
38012 2014-04-23  David Malcolm  <dmalcolm@redhat.com>
38014         * is-a.h: Update comments to reflect the following changes to the
38015         "pointerness" of the API, making the template parameter match the
38016         return type, allowing use of is-a.h with typedefs of pointers.
38017         (is_a_helper::cast): Return a T rather then a pointer to a T, so
38018         that the return type matches the parameter to the is_a_helper.
38019         (as_a): Likewise.
38020         (dyn_cast): Likewise.
38022         * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
38023         pointer from the is-a.h API.
38025         * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
38026         (is_a_helper <cgraph_node *>::test): ...this, matching change to
38027         is-a.h API.
38028         (is_a_helper <varpool_node>::test): Likewise, convert to...
38029         (is_a_helper <varpool_node *>::test): ...this.
38031         (varpool_first_variable): Update for removal of implicit pointer
38032         from the is-a.h API.
38033         (varpool_next_variable): Likewise.
38034         (varpool_first_static_initializer): Likewise.
38035         (varpool_next_static_initializer): Likewise.
38036         (varpool_first_defined_variable): Likewise.
38037         (varpool_next_defined_variable): Likewise.
38038         (cgraph_first_defined_function): Likewise.
38039         (cgraph_next_defined_function): Likewise.
38040         (cgraph_first_function): Likewise.
38041         (cgraph_next_function): Likewise.
38042         (cgraph_first_function_with_gimple_body): Likewise.
38043         (cgraph_next_function_with_gimple_body): Likewise.
38044         (cgraph_alias_target): Likewise.
38045         (varpool_alias_target): Likewise.
38046         (cgraph_function_or_thunk_node): Likewise.
38047         (varpool_variable_node): Likewise.
38048         (symtab_real_symbol_p): Likewise.
38049         * cgraphunit.c (referred_to_p): Likewise.
38050         (analyze_functions): Likewise.
38051         (handle_alias_pairs): Likewise.
38052         * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
38053         * gimple-ssa.h (gimple_vuse_op): Likewise.
38054         (gimple_vdef_op): Likewise.
38055         * gimple-streamer-in.c (input_gimple_stmt): Likewise.
38056         * gimple.c (gimple_build_asm_1): Likewise.
38057         (gimple_build_try): Likewise.
38058         (gimple_build_resx): Likewise.
38059         (gimple_build_eh_dispatch): Likewise.
38060         (gimple_build_omp_for): Likewise.
38061         (gimple_omp_for_set_clauses): Likewise.
38063         * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
38064         (is_a_helper <gimple_statement_asm *>::test): ...this.
38065         (is_a_helper <gimple_statement_bind>::test): Convert to...
38066         (is_a_helper <gimple_statement_bind *>::test): ...this.
38067         (is_a_helper <gimple_statement_call>::test): Convert to...
38068         (is_a_helper <gimple_statement_call *>::test): ...this.
38069         (is_a_helper <gimple_statement_catch>::test): Convert to...
38070         (is_a_helper <gimple_statement_catch *>::test): ...this.
38071         (is_a_helper <gimple_statement_resx>::test): Convert to...
38072         (is_a_helper <gimple_statement_resx *>::test): ...this.
38073         (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
38074         (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
38075         (is_a_helper <gimple_statement_eh_else>::test): Convert to...
38076         (is_a_helper <gimple_statement_eh_else *>::test): ...this.
38077         (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
38078         (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
38079         (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
38080         (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
38081         (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
38082         (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
38083         (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
38084         (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
38085         (is_a_helper <gimple_statement_omp_return>::test): Convert to...
38086         (is_a_helper <gimple_statement_omp_return *>::test): ...this.
38087         (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
38088         (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
38089         (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
38090         (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
38091         (is_a_helper <gimple_statement_omp_for>::test): Convert to...
38092         (is_a_helper <gimple_statement_omp_for *>::test): ...this.
38093         (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
38094         (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
38095         (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
38096         (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
38097         (is_a_helper <gimple_statement_omp_target>::test): Convert to...
38098         (is_a_helper <gimple_statement_omp_target *>::test): ...this.
38099         (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
38100         (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
38101         (is_a_helper <gimple_statement_omp_single>::test): Convert to...
38102         (is_a_helper <gimple_statement_omp_single *>::test): ...this.
38103         (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
38104         (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
38105         (is_a_helper <gimple_statement_omp_task>::test): Convert to...
38106         (is_a_helper <gimple_statement_omp_task *>::test): ...this.
38107         (is_a_helper <gimple_statement_phi>::test): Convert to...
38108         (is_a_helper <gimple_statement_phi *>::test): ...this.
38109         (is_a_helper <gimple_statement_transaction>::test): Convert to...
38110         (is_a_helper <gimple_statement_transaction *>::test): ...this.
38111         (is_a_helper <gimple_statement_try>::test): Convert to...
38112         (is_a_helper <gimple_statement_try *>::test): ...this.
38113         (is_a_helper <gimple_statement_wce>::test): Convert to...
38114         (is_a_helper <gimple_statement_wce *>::test): ...this.
38115         (is_a_helper <const gimple_statement_asm>::test): Convert to...
38116         (is_a_helper <const gimple_statement_asm *>::test): ...this.
38117         (is_a_helper <const gimple_statement_bind>::test): Convert to...
38118         (is_a_helper <const gimple_statement_bind *>::test): ...this.
38119         (is_a_helper <const gimple_statement_call>::test): Convert to...
38120         (is_a_helper <const gimple_statement_call *>::test): ...this.
38121         (is_a_helper <const gimple_statement_catch>::test): Convert to...
38122         (is_a_helper <const gimple_statement_catch *>::test): ...this.
38123         (is_a_helper <const gimple_statement_resx>::test): Convert to...
38124         (is_a_helper <const gimple_statement_resx *>::test): ...this.
38125         (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
38126         (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
38127         (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
38128         (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
38129         (is_a_helper <const gimple_statement_omp_atomic_load>::test):
38130         Convert to...
38131         (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
38132         ...this.
38133         (is_a_helper <const gimple_statement_omp_atomic_store>::test):
38134         Convert to...
38135         (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
38136         ...this.
38137         (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
38138         (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
38139         (is_a_helper <const gimple_statement_omp_continue>::test): Convert
38140         to...
38141         (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
38142         (is_a_helper <const gimple_statement_omp_critical>::test): Convert
38143         to...
38144         (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
38145         (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
38146         (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
38147         (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
38148         (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
38149         (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
38150         to...
38151         (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
38152         (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
38153         (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
38154         (is_a_helper <const gimple_statement_omp_sections>::test): Convert
38155         to...
38156         (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
38157         (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
38158         (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
38159         (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
38160         (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
38161         (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
38162         (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
38163         (is_a_helper <const gimple_statement_phi>::test): Convert to...
38164         (is_a_helper <const gimple_statement_phi *>::test): ...this.
38165         (is_a_helper <const gimple_statement_transaction>::test): Convert to...
38166         (is_a_helper <const gimple_statement_transaction *>::test): ...this.
38167         (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
38168         (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
38169         (is_a_helper <gimple_statement_with_ops>::test): Convert to...
38170         (is_a_helper <gimple_statement_with_ops *>::test): ...this.
38171         (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
38172         to...
38173         (is_a_helper <const gimple_statement_with_memory_ops *>::test):
38174         ...this.
38175         (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
38176         (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
38178         (gimple_use_ops): Update for removal of implicit pointer from the
38179         is-a.h API.
38180         (gimple_set_use_ops): Likewise.
38181         (gimple_vuse): Likewise.
38182         (gimple_vdef): Likewise.
38183         (gimple_vuse_ptr): Likewise.
38184         (gimple_vdef_ptr): Likewise.
38185         (gimple_set_vuse): Likewise.
38186         (gimple_set_vdef): Likewise.
38187         (gimple_omp_return_set_lhs): Likewise.
38188         (gimple_omp_return_lhs): Likewise.
38189         (gimple_omp_return_lhs_ptr): Likewise.
38190         (gimple_call_fntype): Likewise.
38191         (gimple_call_set_fntype): Likewise.
38192         (gimple_call_set_internal_fn): Likewise.
38193         (gimple_call_use_set): Likewise.
38194         (gimple_call_clobber_set): Likewise.
38195         (gimple_bind_vars): Likewise.
38196         (gimple_bind_set_vars): Likewise.
38197         (gimple_bind_body_ptr): Likewise.
38198         (gimple_bind_set_body): Likewise.
38199         (gimple_bind_add_stmt): Likewise.
38200         (gimple_bind_block): Likewise.
38201         (gimple_bind_set_block): Likewise.
38202         (gimple_asm_ninputs): Likewise.
38203         (gimple_asm_noutputs): Likewise.
38204         (gimple_asm_nclobbers): Likewise.
38205         (gimple_asm_nlabels): Likewise.
38206         (gimple_asm_input_op): Likewise.
38207         (gimple_asm_input_op_ptr): Likewise.
38208         (gimple_asm_output_op): Likewise.
38209         (gimple_asm_output_op_ptr): Likewise.
38210         (gimple_asm_set_output_op): Likewise.
38211         (gimple_asm_clobber_op): Likewise.
38212         (gimple_asm_set_clobber_op): Likewise.
38213         (gimple_asm_label_op): Likewise.
38214         (gimple_asm_set_label_op): Likewise.
38215         (gimple_asm_string): Likewise.
38216         (gimple_catch_types): Likewise.
38217         (gimple_catch_types_ptr): Likewise.
38218         (gimple_catch_handler_ptr): Likewise.
38219         (gimple_catch_set_types): Likewise.
38220         (gimple_catch_set_handler): Likewise.
38221         (gimple_eh_filter_types): Likewise.
38222         (gimple_eh_filter_types_ptr): Likewise.
38223         (gimple_eh_filter_failure_ptr): Likewise.
38224         (gimple_eh_filter_set_types): Likewise.
38225         (gimple_eh_filter_set_failure): Likewise.
38226         (gimple_eh_must_not_throw_fndecl): Likewise.
38227         (gimple_eh_must_not_throw_set_fndecl): Likewise.
38228         (gimple_eh_else_n_body_ptr): Likewise.
38229         (gimple_eh_else_e_body_ptr): Likewise.
38230         (gimple_eh_else_set_n_body): Likewise.
38231         (gimple_eh_else_set_e_body): Likewise.
38232         (gimple_try_eval_ptr): Likewise.
38233         (gimple_try_cleanup_ptr): Likewise.
38234         (gimple_try_set_eval): Likewise.
38235         (gimple_try_set_cleanup): Likewise.
38236         (gimple_wce_cleanup_ptr): Likewise.
38237         (gimple_wce_set_cleanup): Likewise.
38238         (gimple_phi_capacity): Likewise.
38239         (gimple_phi_num_args): Likewise.
38240         (gimple_phi_result): Likewise.
38241         (gimple_phi_result_ptr): Likewise.
38242         (gimple_phi_set_result): Likewise.
38243         (gimple_phi_arg): Likewise.
38244         (gimple_phi_set_arg): Likewise.
38245         (gimple_resx_region): Likewise.
38246         (gimple_resx_set_region): Likewise.
38247         (gimple_eh_dispatch_region): Likewise.
38248         (gimple_eh_dispatch_set_region): Likewise.
38249         (gimple_omp_critical_name): Likewise.
38250         (gimple_omp_critical_name_ptr): Likewise.
38251         (gimple_omp_critical_set_name): Likewise.
38252         (gimple_omp_for_clauses): Likewise.
38253         (gimple_omp_for_clauses_ptr): Likewise.
38254         (gimple_omp_for_set_clauses): Likewise.
38255         (gimple_omp_for_collapse): Likewise.
38256         (gimple_omp_for_index): Likewise.
38257         (gimple_omp_for_index_ptr): Likewise.
38258         (gimple_omp_for_set_index): Likewise.
38259         (gimple_omp_for_initial): Likewise.
38260         (gimple_omp_for_initial_ptr): Likewise.
38261         (gimple_omp_for_set_initial): Likewise.
38262         (gimple_omp_for_final): Likewise.
38263         (gimple_omp_for_final_ptr): Likewise.
38264         (gimple_omp_for_set_final): Likewise.
38265         (gimple_omp_for_incr): Likewise.
38266         (gimple_omp_for_incr_ptr): Likewise.
38267         (gimple_omp_for_set_incr): Likewise.
38268         (gimple_omp_for_pre_body_ptr): Likewise.
38269         (gimple_omp_for_set_pre_body): Likewise.
38270         (gimple_omp_parallel_clauses): Likewise.
38271         (gimple_omp_parallel_clauses_ptr): Likewise.
38272         (gimple_omp_parallel_set_clauses): Likewise.
38273         (gimple_omp_parallel_child_fn): Likewise.
38274         (gimple_omp_parallel_child_fn_ptr): Likewise.
38275         (gimple_omp_parallel_set_child_fn): Likewise.
38276         (gimple_omp_parallel_data_arg): Likewise.
38277         (gimple_omp_parallel_data_arg_ptr): Likewise.
38278         (gimple_omp_parallel_set_data_arg): Likewise.
38279         (gimple_omp_task_clauses): Likewise.
38280         (gimple_omp_task_clauses_ptr): Likewise.
38281         (gimple_omp_task_set_clauses): Likewise.
38282         (gimple_omp_task_child_fn): Likewise.
38283         (gimple_omp_task_child_fn_ptr): Likewise.
38284         (gimple_omp_task_set_child_fn): Likewise.
38285         (gimple_omp_task_data_arg): Likewise.
38286         (gimple_omp_task_data_arg_ptr): Likewise.
38287         (gimple_omp_task_set_data_arg): Likewise.
38288         (gimple_omp_taskreg_clauses): Likewise.
38289         (gimple_omp_taskreg_clauses_ptr): Likewise.
38290         (gimple_omp_taskreg_set_clauses): Likewise.
38291         (gimple_omp_taskreg_child_fn): Likewise.
38292         (gimple_omp_taskreg_child_fn_ptr): Likewise.
38293         (gimple_omp_taskreg_set_child_fn): Likewise.
38294         (gimple_omp_taskreg_data_arg): Likewise.
38295         (gimple_omp_taskreg_data_arg_ptr): Likewise.
38296         (gimple_omp_taskreg_set_data_arg): Likewise.
38297         (gimple_omp_task_copy_fn): Likewise.
38298         (gimple_omp_task_copy_fn_ptr): Likewise.
38299         (gimple_omp_task_set_copy_fn): Likewise.
38300         (gimple_omp_task_arg_size): Likewise.
38301         (gimple_omp_task_arg_size_ptr): Likewise.
38302         (gimple_omp_task_set_arg_size): Likewise.
38303         (gimple_omp_task_arg_align): Likewise.
38304         (gimple_omp_task_arg_align_ptr): Likewise.
38305         (gimple_omp_task_set_arg_align): Likewise.
38306         (gimple_omp_single_clauses): Likewise.
38307         (gimple_omp_single_clauses_ptr): Likewise.
38308         (gimple_omp_single_set_clauses): Likewise.
38309         (gimple_omp_target_clauses): Likewise.
38310         (gimple_omp_target_clauses_ptr): Likewise.
38311         (gimple_omp_target_set_clauses): Likewise.
38312         (gimple_omp_target_child_fn): Likewise.
38313         (gimple_omp_target_child_fn_ptr): Likewise.
38314         (gimple_omp_target_set_child_fn): Likewise.
38315         (gimple_omp_target_data_arg): Likewise.
38316         (gimple_omp_target_data_arg_ptr): Likewise.
38317         (gimple_omp_target_set_data_arg): Likewise.
38318         (gimple_omp_teams_clauses): Likewise.
38319         (gimple_omp_teams_clauses_ptr): Likewise.
38320         (gimple_omp_teams_set_clauses): Likewise.
38321         (gimple_omp_sections_clauses): Likewise.
38322         (gimple_omp_sections_clauses_ptr): Likewise.
38323         (gimple_omp_sections_set_clauses): Likewise.
38324         (gimple_omp_sections_control): Likewise.
38325         (gimple_omp_sections_control_ptr): Likewise.
38326         (gimple_omp_sections_set_control): Likewise.
38327         (gimple_omp_for_set_cond): Likewise.
38328         (gimple_omp_for_cond): Likewise.
38329         (gimple_omp_atomic_store_set_val): Likewise.
38330         (gimple_omp_atomic_store_val): Likewise.
38331         (gimple_omp_atomic_store_val_ptr): Likewise.
38332         (gimple_omp_atomic_load_set_lhs): Likewise.
38333         (gimple_omp_atomic_load_lhs): Likewise.
38334         (gimple_omp_atomic_load_lhs_ptr): Likewise.
38335         (gimple_omp_atomic_load_set_rhs): Likewise.
38336         (gimple_omp_atomic_load_rhs): Likewise.
38337         (gimple_omp_atomic_load_rhs_ptr): Likewise.
38338         (gimple_omp_continue_control_def): Likewise.
38339         (gimple_omp_continue_control_def_ptr): Likewise.
38340         (gimple_omp_continue_set_control_def): Likewise.
38341         (gimple_omp_continue_control_use): Likewise.
38342         (gimple_omp_continue_control_use_ptr): Likewise.
38343         (gimple_omp_continue_set_control_use): Likewise.
38344         (gimple_transaction_body_ptr): Likewise.
38345         (gimple_transaction_label): Likewise.
38346         (gimple_transaction_label_ptr): Likewise.
38347         (gimple_transaction_set_body): Likewise.
38348         (gimple_transaction_set_label): Likewise.
38350         * ipa-devirt.c (build_type_inheritance_graph): Likewise.
38351         * ipa-inline-analysis.c (inline_write_summary): Likewise.
38352         * ipa-ref.c (ipa_record_reference): Likewise.
38353         * ipa-reference.c (analyze_function): Likewise.
38354         (ipa_reference_write_optimization_summary): Likewise.
38355         * ipa.c (symtab_remove_unreachable_nodes): Likewise.
38356         (address_taken_from_non_vtable_p): Likewise.
38357         (comdat_can_be_unshared_p_1): Likewise.
38358         * lto-cgraph.c (lto_output_ref): Likewise.
38359         (add_references): Likewise.
38360         (compute_ltrans_boundary): Likewise.
38361         (output_symtab): Likewise.
38362         (input_ref): Likewise.
38363         (input_cgraph_1): Likewise.
38364         (output_cgraph_opt_summary): Likewise.
38365         * lto-streamer-out.c (lto_output): Likewise.
38366         (output_symbol_p): Likewise.
38367         * lto-streamer.h (lsei_next_function_in_partition): Likewise.
38368         (lsei_start_function_in_partition): Likewise.
38369         (lsei_next_variable_in_partition): Likewise.
38370         (lsei_start_variable_in_partition): Likewise.
38371         * symtab.c (insert_to_assembler_name_hash): Likewise.
38372         (unlink_from_assembler_name_hash): Likewise.
38373         (symtab_unregister_node): Likewise.
38374         (symtab_remove_node): Likewise.
38375         (dump_symtab_node): Likewise.
38376         (verify_symtab_base): Likewise.
38377         (verify_symtab_node): Likewise.
38378         (symtab_make_decl_local): Likewise.
38379         (symtab_alias_ultimate_target): Likewise.
38380         (symtab_resolve_alias): Likewise.
38381         (symtab_get_symbol_partitioning_class): Likewise.
38382         * tree-phinodes.c (allocate_phi_node): Likewise.
38383         (reserve_phi_args_for_new_edge): Likewise.
38384         (remove_phi_args): Likewise.
38385         * varpool.c (varpool_node_for_asm): Likewise.
38386         (varpool_remove_unreferenced_decls): Likewise.
38388 2014-04-23  Jeff Law  <law@redhat.com>
38390         PR tree-optimization/60902
38391         * tree-ssa-threadedge.c
38392         (record_temporary_equivalences_from_stmts_at_dest): Make sure to
38393         invalidate outputs from statements that do not produce useful
38394         outputs for threading.
38396 2014-04-23  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38398         * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
38399         (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
38400         machine descriptions for Stack Smashing Protector.
38402 2014-04-23  Richard Earnshaw  <rearnsha@arm.com>
38404         * aarch64.md (<optab>_rol<mode>3): New pattern.
38405         (<optab>_rolsi3_uxtw): Likewise.
38406         * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
38408 2014-04-23  James Greenhalgh  <james.greenhalgh@arm.com>
38410         * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
38411         (arm_cortex_a12_tune): Likewise.
38413 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38415         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
38417 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38419         * config/arm/arm.md (arm_rev16si2): New pattern.
38420         (arm_rev16si2_alt): Likewise.
38421         * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
38423 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38425         * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
38426         (rev16<mode>2_alt): Likewise.
38427         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
38428         * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
38429         (aarch_rev16_shleft_mask_imm_p): Likewise.
38430         (aarch_rev16_p_1): Likewise.
38431         (aarch_rev16_p): Likewise.
38432         * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
38433         (aarch_rev16_shright_mask_imm_p): Likewise.
38434         (aarch_rev16_shleft_mask_imm_p): Likewise.
38436 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38438         * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
38439         * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
38440         rev cost.
38441         (cortex_a53_extra_costs): Likewise.
38442         (cortex_a57_extra_costs): Likewise.
38443         * config/arm/arm.c (cortexa9_extra_costs): Likewise.
38444         (cortexa7_extra_costs): Likewise.
38445         (cortexa8_extra_costs): Likewise.
38446         (cortexa12_extra_costs): Likewise.
38447         (cortexa15_extra_costs): Likewise.
38448         (v7m_extra_costs): Likewise.
38449         (arm_new_rtx_costs): Handle BSWAP.
38451 2013-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38453         * config/arm/arm.c (cortexa8_extra_costs): New table.
38454         (arm_cortex_a8_tune): New tuning struct.
38455         * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
38457 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38459         * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
38461 2014-04-23  Richard Biener  <rguenther@suse.de>
38463         * Makefile.in (OBJS): Remove loop-unswitch.o.
38464         * tree-pass.h (make_pass_rtl_unswitch): Remove.
38465         * passes.def (pass_rtl_unswitch): Likewise.
38466         * loop-init.c (gate_rtl_unswitch): Likewise.
38467         (rtl_unswitch): Likewise.
38468         (pass_data_rtl_unswitch): Likewise.
38469         (pass_rtl_unswitch): Likewise.
38470         (make_pass_rtl_unswitch): Likewise.
38471         * rtl.h (reversed_condition): Likewise.
38472         (compare_and_jump_seq): Likewise.
38473         * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
38474         and make static.
38475         * loop-unroll.c (compare_and_jump_seq): Likewise.
38477 2014-04-23  Richard Biener  <rguenther@suse.de>
38479         PR tree-optimization/60903
38480         * tree-ssa-loop-im.c (analyze_memory_references): Remove
38481         commented code block.
38482         (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
38483         loop flags to newly created BBs and edges.
38485 2014-04-23  Nick Clifton  <nickc@redhat.com>
38487         * config/msp430/msp430.c (msp430_handle_option): Move function
38488         to msp430-common.c
38489         (msp430_option_override): Simplify mcu and mcpu option handling.
38490         (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult.  Add
38491         support for -mhwmult command line option.
38492         (has_32bit_hwmult): Rename to use_32bit_hwmult.  Add support for
38493         -mhwmult command line option.
38494         (msp430_hwmult_enabled): Delete.
38495         (msp43o_output_labelref): Add support for -mhwmult command line option.
38496         * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
38497         (umulsidi3): Likewise.
38498         * config/msp430/msp430.opt (mmcu): Add Report attribute.
38499         (mcpu, mlarge, msmall): Likewise.
38500         (mhwmult): New option.
38501         * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
38502         prototype.
38503         (msp430_is_f5_mcu): Remove prototype.
38504         (msp430_use_f5_series_hwmult): Add prototype.
38505         * config/msp430/msp430-opts.h: New file.
38506         * common/config/msp430: New directory.
38507         * common/config/msp430/msp430-common.c: New file.
38508         * config.gcc (msp430): Remove target_has_targetm_common.
38509         * doc/invoke.texi: Document -mhwmult command line option.
38511 2014-04-23  Nick Clifton  <nickc@redhat.com>
38513         * config/i386/cygwin.h (ENDFILE_SPEC): Include
38514         default-manifest.o if it can be found in the search path.
38515         * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
38517 2014-04-23  Terry Guo  <terry.guo@arm.com>
38519         * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
38521 2014-04-23  Richard Biener  <rguenther@suse.de>
38523         PR middle-end/60895
38524         * tree-inline.c (declare_return_variable): Use mark_addressable.
38526 2014-04-23  Richard Biener  <rguenther@suse.de>
38528         PR middle-end/60891
38529         * loop-init.c (loop_optimizer_init): Make sure to apply
38530         LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
38532 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
38534         PR sanitizer/60275
38535         * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
38536         New options.
38537         * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
38538         if flag_sanitize_undefined_trap_on_error.
38539         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
38540         BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
38541         BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
38542         BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
38543         BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
38544         BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
38545         BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
38546         BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
38547         BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
38548         * ubsan.c (ubsan_instrument_unreachable): Return
38549         __builtin_trap () if flag_sanitize_undefined_trap_on_error.
38550         (ubsan_expand_null_ifn): Emit __builtin_trap ()
38551         if flag_sanitize_undefined_trap_on_error and
38552         __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
38553         (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
38554         instrument_bool_enum_load): Emit __builtin_trap () if
38555         flag_sanitize_undefined_trap_on_error and
38556         __builtin_handle_*_abort () if !flag_sanitize_recover.
38557         * doc/invoke.texi (-fsanitize-recover,
38558         -fsanitize-undefined-trap-on-error): Document.
38560 2014-04-22  Christian Bruel  <christian.bruel@st.com>
38562         * config/sh/sh.md (mov<mode>): Replace movQIHI.
38563         Force immediates to SImode.
38565 2014-04-22  Sandra Loosemore  <sandra@codesourcery.com>
38567         * config/nios2/nios2.md (UNSPEC_ROUND): New.
38568         (lroundsfsi2): New.
38569         * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
38570         * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
38571         * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
38572         (nios2_fpu_insn): Add entry for round.
38573         (N2FPU_NO_ERRNO_P): Define.
38574         (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
38575         flag_errno_math.
38576         * doc/invoke.texi (Nios II Options): Document -mcustom-round.
38578 2014-04-22  Richard Henderson  <rth@redhat.com>
38580         * config/aarch64/aarch64 (addti3, subti3): New expanders.
38581         (add<GPI>3_compare0): Remove leading * from name.
38582         (add<GPI>3_carryin): Likewise.
38583         (sub<GPI>3_compare0): Likewise.
38584         (sub<GPI>3_carryin): Likewise.
38585         (<su_optab>mulditi3): New expander.
38586         (multi3): New expander.
38587         (madd<GPI>): Remove leading * from name.
38589 2014-04-22  Martin Jambor  <mjambor@suse.cz>
38591         * cgraphclones.c (cgraph_function_versioning): Copy
38592         ipa_transforms_to_apply instead of asserting it is empty.
38594 2014-04-22  H.J. Lu  <hongjiu.lu@intel.com>
38596         PR target/60868
38597         * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
38598         on count_exp to get mode.
38600 2014-04-22  Andrew Pinski  <apinski@cavium.com>
38602         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
38603         Handle TLS for ILP32.
38604         * config/aarch64/aarch64.md (tlsie_small): Rename to ...
38605         (tlsie_small_<mode>): this and handle PTR.
38606         (tlsie_small_sidi): New pattern.
38607         (tlsle_small): Change to an expand to handle ILP32.
38608         (tlsle_small_<mode>): New pattern.
38609         (tlsdesc_small): Rename to ...
38610         (tlsdesc_small_<mode>): this and handle PTR.
38612 2014-04-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
38614         * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
38616 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
38618         * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
38619         (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
38620         (aarch64_types_signed_poly_qualifiers): Likewise.
38621         (aarch64_types_unsigned_signed_qualifiers): Likewise.
38622         (aarch64_types_poly_signed_qualifiers): Likewise.
38623         (TYPES_REINTERP_SS): Type macro added.
38624         (TYPES_REINTERP_SU): Likewise.
38625         (TYPES_REINTERP_SP): Likewise.
38626         (TYPES_REINTERP_US): Likewise.
38627         (TYPES_REINTERP_PS): Likewise.
38628         (aarch64_fold_builtin): New expression folding added.
38629         * config/aarch64/aarch64-simd-builtins.def (REINTERP):
38630         Declarations removed.
38631         (REINTERP_SS): Declarations added.
38632         (REINTERP_US): Likewise.
38633         (REINTERP_PS): Likewise.
38634         (REINTERP_SU): Likewise.
38635         (REINTERP_SP): Likewise.
38636         * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
38637         (vreinterpretq_p8_f64): Likewise.
38638         (vreinterpret_p16_f64): Likewise.
38639         (vreinterpretq_p16_f64): Likewise.
38640         (vreinterpret_f32_f64): Likewise.
38641         (vreinterpretq_f32_f64): Likewise.
38642         (vreinterpret_f64_f32): Likewise.
38643         (vreinterpret_f64_p8): Likewise.
38644         (vreinterpret_f64_p16): Likewise.
38645         (vreinterpret_f64_s8): Likewise.
38646         (vreinterpret_f64_s16): Likewise.
38647         (vreinterpret_f64_s32): Likewise.
38648         (vreinterpret_f64_s64): Likewise.
38649         (vreinterpret_f64_u8): Likewise.
38650         (vreinterpret_f64_u16): Likewise.
38651         (vreinterpret_f64_u32): Likewise.
38652         (vreinterpret_f64_u64): Likewise.
38653         (vreinterpretq_f64_f32): Likewise.
38654         (vreinterpretq_f64_p8): Likewise.
38655         (vreinterpretq_f64_p16): Likewise.
38656         (vreinterpretq_f64_s8): Likewise.
38657         (vreinterpretq_f64_s16): Likewise.
38658         (vreinterpretq_f64_s32): Likewise.
38659         (vreinterpretq_f64_s64): Likewise.
38660         (vreinterpretq_f64_u8): Likewise.
38661         (vreinterpretq_f64_u16): Likewise.
38662         (vreinterpretq_f64_u32): Likewise.
38663         (vreinterpretq_f64_u64): Likewise.
38664         (vreinterpret_s64_f64): Likewise.
38665         (vreinterpretq_s64_f64): Likewise.
38666         (vreinterpret_u64_f64): Likewise.
38667         (vreinterpretq_u64_f64): Likewise.
38668         (vreinterpret_s8_f64): Likewise.
38669         (vreinterpretq_s8_f64): Likewise.
38670         (vreinterpret_s16_f64): Likewise.
38671         (vreinterpretq_s16_f64): Likewise.
38672         (vreinterpret_s32_f64): Likewise.
38673         (vreinterpretq_s32_f64): Likewise.
38674         (vreinterpret_u8_f64): Likewise.
38675         (vreinterpretq_u8_f64): Likewise.
38676         (vreinterpret_u16_f64): Likewise.
38677         (vreinterpretq_u16_f64): Likewise.
38678         (vreinterpret_u32_f64): Likewise.
38679         (vreinterpretq_u32_f64): Likewise.
38681 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
38683         * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
38684         * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
38685         (vreinterpret_p8_s8): Likewise.
38686         * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
38687         (vreinterpret_p8_s16): Likewise.
38688         (vreinterpret_p8_s32): Likewise.
38689         (vreinterpret_p8_s64): Likewise.
38690         (vreinterpret_p8_f32): Likewise.
38691         (vreinterpret_p8_u8): Likewise.
38692         (vreinterpret_p8_u16): Likewise.
38693         (vreinterpret_p8_u32): Likewise.
38694         (vreinterpret_p8_u64): Likewise.
38695         (vreinterpret_p8_p16): Likewise.
38696         (vreinterpretq_p8_s8): Likewise.
38697         (vreinterpretq_p8_s16): Likewise.
38698         (vreinterpretq_p8_s32): Likewise.
38699         (vreinterpretq_p8_s64): Likewise.
38700         (vreinterpretq_p8_f32): Likewise.
38701         (vreinterpretq_p8_u8): Likewise.
38702         (vreinterpretq_p8_u16): Likewise.
38703         (vreinterpretq_p8_u32): Likewise.
38704         (vreinterpretq_p8_u64): Likewise.
38705         (vreinterpretq_p8_p16): Likewise.
38706         (vreinterpret_p16_s8): Likewise.
38707         (vreinterpret_p16_s16): Likewise.
38708         (vreinterpret_p16_s32): Likewise.
38709         (vreinterpret_p16_s64): Likewise.
38710         (vreinterpret_p16_f32): Likewise.
38711         (vreinterpret_p16_u8): Likewise.
38712         (vreinterpret_p16_u16): Likewise.
38713         (vreinterpret_p16_u32): Likewise.
38714         (vreinterpret_p16_u64): Likewise.
38715         (vreinterpret_p16_p8): Likewise.
38716         (vreinterpretq_p16_s8): Likewise.
38717         (vreinterpretq_p16_s16): Likewise.
38718         (vreinterpretq_p16_s32): Likewise.
38719         (vreinterpretq_p16_s64): Likewise.
38720         (vreinterpretq_p16_f32): Likewise.
38721         (vreinterpretq_p16_u8): Likewise.
38722         (vreinterpretq_p16_u16): Likewise.
38723         (vreinterpretq_p16_u32): Likewise.
38724         (vreinterpretq_p16_u64): Likewise.
38725         (vreinterpretq_p16_p8): Likewise.
38726         (vreinterpret_f32_s8): Likewise.
38727         (vreinterpret_f32_s16): Likewise.
38728         (vreinterpret_f32_s32): Likewise.
38729         (vreinterpret_f32_s64): Likewise.
38730         (vreinterpret_f32_u8): Likewise.
38731         (vreinterpret_f32_u16): Likewise.
38732         (vreinterpret_f32_u32): Likewise.
38733         (vreinterpret_f32_u64): Likewise.
38734         (vreinterpret_f32_p8): Likewise.
38735         (vreinterpret_f32_p16): Likewise.
38736         (vreinterpretq_f32_s8): Likewise.
38737         (vreinterpretq_f32_s16): Likewise.
38738         (vreinterpretq_f32_s32): Likewise.
38739         (vreinterpretq_f32_s64): Likewise.
38740         (vreinterpretq_f32_u8): Likewise.
38741         (vreinterpretq_f32_u16): Likewise.
38742         (vreinterpretq_f32_u32): Likewise.
38743         (vreinterpretq_f32_u64): Likewise.
38744         (vreinterpretq_f32_p8): Likewise.
38745         (vreinterpretq_f32_p16): Likewise.
38746         (vreinterpret_s64_s8): Likewise.
38747         (vreinterpret_s64_s16): Likewise.
38748         (vreinterpret_s64_s32): Likewise.
38749         (vreinterpret_s64_f32): Likewise.
38750         (vreinterpret_s64_u8): Likewise.
38751         (vreinterpret_s64_u16): Likewise.
38752         (vreinterpret_s64_u32): Likewise.
38753         (vreinterpret_s64_u64): Likewise.
38754         (vreinterpret_s64_p8): Likewise.
38755         (vreinterpret_s64_p16): Likewise.
38756         (vreinterpretq_s64_s8): Likewise.
38757         (vreinterpretq_s64_s16): Likewise.
38758         (vreinterpretq_s64_s32): Likewise.
38759         (vreinterpretq_s64_f32): Likewise.
38760         (vreinterpretq_s64_u8): Likewise.
38761         (vreinterpretq_s64_u16): Likewise.
38762         (vreinterpretq_s64_u32): Likewise.
38763         (vreinterpretq_s64_u64): Likewise.
38764         (vreinterpretq_s64_p8): Likewise.
38765         (vreinterpretq_s64_p16): Likewise.
38766         (vreinterpret_u64_s8): Likewise.
38767         (vreinterpret_u64_s16): Likewise.
38768         (vreinterpret_u64_s32): Likewise.
38769         (vreinterpret_u64_s64): Likewise.
38770         (vreinterpret_u64_f32): Likewise.
38771         (vreinterpret_u64_u8): Likewise.
38772         (vreinterpret_u64_u16): Likewise.
38773         (vreinterpret_u64_u32): Likewise.
38774         (vreinterpret_u64_p8): Likewise.
38775         (vreinterpret_u64_p16): Likewise.
38776         (vreinterpretq_u64_s8): Likewise.
38777         (vreinterpretq_u64_s16): Likewise.
38778         (vreinterpretq_u64_s32): Likewise.
38779         (vreinterpretq_u64_s64): Likewise.
38780         (vreinterpretq_u64_f32): Likewise.
38781         (vreinterpretq_u64_u8): Likewise.
38782         (vreinterpretq_u64_u16): Likewise.
38783         (vreinterpretq_u64_u32): Likewise.
38784         (vreinterpretq_u64_p8): Likewise.
38785         (vreinterpretq_u64_p16): Likewise.
38786         (vreinterpret_s8_s16): Likewise.
38787         (vreinterpret_s8_s32): Likewise.
38788         (vreinterpret_s8_s64): Likewise.
38789         (vreinterpret_s8_f32): Likewise.
38790         (vreinterpret_s8_u8): Likewise.
38791         (vreinterpret_s8_u16): Likewise.
38792         (vreinterpret_s8_u32): Likewise.
38793         (vreinterpret_s8_u64): Likewise.
38794         (vreinterpret_s8_p8): Likewise.
38795         (vreinterpret_s8_p16): Likewise.
38796         (vreinterpretq_s8_s16): Likewise.
38797         (vreinterpretq_s8_s32): Likewise.
38798         (vreinterpretq_s8_s64): Likewise.
38799         (vreinterpretq_s8_f32): Likewise.
38800         (vreinterpretq_s8_u8): Likewise.
38801         (vreinterpretq_s8_u16): Likewise.
38802         (vreinterpretq_s8_u32): Likewise.
38803         (vreinterpretq_s8_u64): Likewise.
38804         (vreinterpretq_s8_p8): Likewise.
38805         (vreinterpretq_s8_p16): Likewise.
38806         (vreinterpret_s16_s8): Likewise.
38807         (vreinterpret_s16_s32): Likewise.
38808         (vreinterpret_s16_s64): Likewise.
38809         (vreinterpret_s16_f32): Likewise.
38810         (vreinterpret_s16_u8): Likewise.
38811         (vreinterpret_s16_u16): Likewise.
38812         (vreinterpret_s16_u32): Likewise.
38813         (vreinterpret_s16_u64): Likewise.
38814         (vreinterpret_s16_p8): Likewise.
38815         (vreinterpret_s16_p16): Likewise.
38816         (vreinterpretq_s16_s8): Likewise.
38817         (vreinterpretq_s16_s32): Likewise.
38818         (vreinterpretq_s16_s64): Likewise.
38819         (vreinterpretq_s16_f32): Likewise.
38820         (vreinterpretq_s16_u8): Likewise.
38821         (vreinterpretq_s16_u16): Likewise.
38822         (vreinterpretq_s16_u32): Likewise.
38823         (vreinterpretq_s16_u64): Likewise.
38824         (vreinterpretq_s16_p8): Likewise.
38825         (vreinterpretq_s16_p16): Likewise.
38826         (vreinterpret_s32_s8): Likewise.
38827         (vreinterpret_s32_s16): Likewise.
38828         (vreinterpret_s32_s64): Likewise.
38829         (vreinterpret_s32_f32): Likewise.
38830         (vreinterpret_s32_u8): Likewise.
38831         (vreinterpret_s32_u16): Likewise.
38832         (vreinterpret_s32_u32): Likewise.
38833         (vreinterpret_s32_u64): Likewise.
38834         (vreinterpret_s32_p8): Likewise.
38835         (vreinterpret_s32_p16): Likewise.
38836         (vreinterpretq_s32_s8): Likewise.
38837         (vreinterpretq_s32_s16): Likewise.
38838         (vreinterpretq_s32_s64): Likewise.
38839         (vreinterpretq_s32_f32): Likewise.
38840         (vreinterpretq_s32_u8): Likewise.
38841         (vreinterpretq_s32_u16): Likewise.
38842         (vreinterpretq_s32_u32): Likewise.
38843         (vreinterpretq_s32_u64): Likewise.
38844         (vreinterpretq_s32_p8): Likewise.
38845         (vreinterpretq_s32_p16): Likewise.
38846         (vreinterpret_u8_s8): Likewise.
38847         (vreinterpret_u8_s16): Likewise.
38848         (vreinterpret_u8_s32): Likewise.
38849         (vreinterpret_u8_s64): Likewise.
38850         (vreinterpret_u8_f32): Likewise.
38851         (vreinterpret_u8_u16): Likewise.
38852         (vreinterpret_u8_u32): Likewise.
38853         (vreinterpret_u8_u64): Likewise.
38854         (vreinterpret_u8_p8): Likewise.
38855         (vreinterpret_u8_p16): Likewise.
38856         (vreinterpretq_u8_s8): Likewise.
38857         (vreinterpretq_u8_s16): Likewise.
38858         (vreinterpretq_u8_s32): Likewise.
38859         (vreinterpretq_u8_s64): Likewise.
38860         (vreinterpretq_u8_f32): Likewise.
38861         (vreinterpretq_u8_u16): Likewise.
38862         (vreinterpretq_u8_u32): Likewise.
38863         (vreinterpretq_u8_u64): Likewise.
38864         (vreinterpretq_u8_p8): Likewise.
38865         (vreinterpretq_u8_p16): Likewise.
38866         (vreinterpret_u16_s8): Likewise.
38867         (vreinterpret_u16_s16): Likewise.
38868         (vreinterpret_u16_s32): Likewise.
38869         (vreinterpret_u16_s64): Likewise.
38870         (vreinterpret_u16_f32): Likewise.
38871         (vreinterpret_u16_u8): Likewise.
38872         (vreinterpret_u16_u32): Likewise.
38873         (vreinterpret_u16_u64): Likewise.
38874         (vreinterpret_u16_p8): Likewise.
38875         (vreinterpret_u16_p16): Likewise.
38876         (vreinterpretq_u16_s8): Likewise.
38877         (vreinterpretq_u16_s16): Likewise.
38878         (vreinterpretq_u16_s32): Likewise.
38879         (vreinterpretq_u16_s64): Likewise.
38880         (vreinterpretq_u16_f32): Likewise.
38881         (vreinterpretq_u16_u8): Likewise.
38882         (vreinterpretq_u16_u32): Likewise.
38883         (vreinterpretq_u16_u64): Likewise.
38884         (vreinterpretq_u16_p8): Likewise.
38885         (vreinterpretq_u16_p16): Likewise.
38886         (vreinterpret_u32_s8): Likewise.
38887         (vreinterpret_u32_s16): Likewise.
38888         (vreinterpret_u32_s32): Likewise.
38889         (vreinterpret_u32_s64): Likewise.
38890         (vreinterpret_u32_f32): Likewise.
38891         (vreinterpret_u32_u8): Likewise.
38892         (vreinterpret_u32_u16): Likewise.
38893         (vreinterpret_u32_u64): Likewise.
38894         (vreinterpret_u32_p8): Likewise.
38895         (vreinterpret_u32_p16): Likewise.
38896         (vreinterpretq_u32_s8): Likewise.
38897         (vreinterpretq_u32_s16): Likewise.
38898         (vreinterpretq_u32_s32): Likewise.
38899         (vreinterpretq_u32_s64): Likewise.
38900         (vreinterpretq_u32_f32): Likewise.
38901         (vreinterpretq_u32_u8): Likewise.
38902         (vreinterpretq_u32_u16): Likewise.
38903         (vreinterpretq_u32_u64): Likewise.
38904         (vreinterpretq_u32_p8): Likewise.
38905         (vreinterpretq_u32_p16): Likewise.
38907 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
38909         * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
38910         Pattern extended.
38911         * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
38912         (sqabs): Likewise.
38913         * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
38914         (vqnegd_s64): Likewise.
38915         (vqabs_s64): Likewise.
38916         (vqabsd_s64): Likewise.
38918 2014-04-22  Richard Henderson  <rth@redhat.com>
38920         * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
38921         computation to the top of the loop.
38923 2014-04-22  Renlin  <renlin.li@arm.com>
38924             Jiong Wang  <jiong.wang@arm.com>
38926         * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
38927         * config/aarch64/aarch64.c (aarch64_layout_frame)
38928         (aarch64_initial_elimination_offset): Likewise.
38930 2014-04-22  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38932         * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
38933         Fix indentation.
38935 2014-04-22  Richard Sandiford  <rdsandiford@googlemail.com>
38937         * machmode.h (bitwise_mode_for_mode): Declare.
38938         * stor-layout.h (bitwise_type_for_mode): Likewise.
38939         * stor-layout.c (bitwise_mode_for_mode): New function.
38940         (bitwise_type_for_mode): Likewise.
38941         * builtins.c (fold_builtin_memory_op): Use it instead of
38942         int_mode_for_mode and build_nonstandard_integer_type.
38944 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
38946         * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
38947         (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
38948         (*-*-solaris2*): Simplify.
38949         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
38950         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
38951         *-*-solaris2.9* handling.
38953         * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
38954         as bug.
38955         (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
38956         (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
38957         handling, simplify.
38958         (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
38959         * configure: Regenerate.
38961         * config/i386/sol2-9.h: Remove.
38963         * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
38964         (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
38965         Remove Solaris 9 references.
38967 2014-04-22  Vidya Praveen  <vidyapraveen@arm.com>
38969         * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
38970         (floatuns<GPI:mode><GPF:mode>2): Remove.
38971         (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
38972         and floatuns conversions.
38973         (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
38974         and floatuns conversions.
38975         * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
38976         (w1,w2): New mode attributes for inequal width conversions.
38978 2014-04-22  Renlin Li  <Renlin.Li@arm.com>
38980         * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
38981         the output asm format.
38983 2014-04-22  James Greenhalgh  <james.greenhalgh@arm.com>
38985         * config/aarch64/aarch64-simd.md
38986         (aarch64_cm<optab>di): Always split.
38987         (*aarch64_cm<optab>di): New.
38988         (aarch64_cmtstdi): Always split.
38989         (*aarch64_cmtstdi): New.
38991 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
38993         PR tree-optimization/60823
38994         * omp-low.c (ipa_simd_modify_function_body): Go through
38995         all SSA_NAMEs and for those refering to vector arguments
38996         which are going to be replaced adjust SSA_NAME_VAR and,
38997         if it is a default definition, change it into a non-default
38998         definition assigned at the beginning of function from new_decl.
38999         (ipa_simd_modify_stmt_ops): Rewritten.
39000         * tree-dfa.c (set_ssa_default_def): When removing default def,
39001         check for NULL loc instead of NULL *loc.
39003 2014-04-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
39005         * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
39006         restrictions on core registers for DImode values in Thumb2.
39008 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
39010         * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
39011         * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
39013 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
39015         * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
39016         (*iordi_notzesidi_di): Likewise.
39017         (*iordi_notsesidi_di): Likewise.
39019 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
39021         * config/arm/arm-protos.h (tune_params): New struct members.
39022         * config/arm/arm.c: Initialise tune_params per processor.
39023         (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
39024         for speed, based on new tune_params.
39026 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
39028         * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
39029         * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
39030         * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
39031         * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
39032         * config/aarch64/arm_neon.h (vrnd_f64): Added.
39033         (vrnda_f64): Likewise.
39034         (vrndi_f64): Likewise.
39035         (vrndm_f64): Likewise.
39036         (vrndn_f64): Likewise.
39037         (vrndp_f64): Likewise.
39038         (vrndx_f64): Likewise.
39040 2014-04-22  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
39042         * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
39043         GET_MODE_SIZE argument is enum machine_mode.
39045 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
39047         PR target/60910
39048         * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
39049         value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
39051 2014-04-22  Lin Zuojian  <manjian2006@gmail.com>
39053         PR middle-end/60281
39054         * asan.c (asan_emit_stack_protection): Force the base to align to
39055         appropriate bits if STRICT_ALIGNMENT.  Set shadow_mem align to
39056         appropriate bits if STRICT_ALIGNMENT.
39057         * cfgexpand.c (expand_stack_vars): Set base_align appropriately
39058         when asan is on.
39059         (expand_used_vars): Leave a space in the stack frame for alignment
39060         if STRICT_ALIGNMENT.
39062 2014-04-21  David Malcolm  <dmalcolm@redhat.com>
39064         * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
39065         than a gimple.
39066         (gimple_store_p): Likewise.
39067         (gimple_assign_load_p): Likewise.
39068         (gimple_assign_cast_p): Likewise.
39069         (gimple_clobber_p): Likewise.
39071         * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
39072         rather than a gimple.
39073         (gimple_assign_cast_p): Likewise.
39075 2014-04-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
39077         PR target/60735
39078         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
39079         If mode is DDmode and TARGET_E500_DOUBLE allow move.
39081         * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
39082         more debug information for E500 if -mdebug=reg.
39084 2014-04-21  Uros Bizjak  <ubizjak@gmail.com>
39086         PR target/60909
39087         * config/i386/i386.c (ix86_expand_builtin)
39088         <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
39089         register for target RTX.
39090         <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
39092 2014-04-18  Cong Hou  <congh@google.com>
39094         * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
39095         the widen-mult pattern by handling two operands with different sizes,
39096         and operands whose size is smaller than half of the result type.
39098 2014-04-18  Jan Hubicka  <hubicka@ucw.cz>
39100         * ipa-inline.h (INLINE_HINT_known_hot): New hint.
39101         * ipa-inline-analysis.c (dump_inline_hints): Dump it.
39102         (do_estimate_edge_time): Compute it.
39103         * ipa-inline.c (want_inline_small_function_p): Bypass
39104         INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
39106 2014-04-18  Jan Hubicka  <hubicka@ucw.cz>
39108         * ipa-inline.c (spec_rem): New static variable.
39109         (dump_overall_stats): New function.
39110         (dump_inline_stats): New function.
39112 2014-04-18  Richard Henderson  <rth@redhat.com>
39114         * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
39115         to GET_MODE_SIZE, not a reg_class_t.
39117 2014-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
39119         * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
39120         (vsx_xxmrglw_<mode>): Likewise.
39122 2014-04-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
39124         PR target/60876
39125         * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
39126         GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
39127         (rs6000_init_hard_regno_mode_ok): Likewise.
39129 2014-04-17  Jan Hubicka  <hubicka@ucw.cz>
39131         * ipa-inline.c (inline_small_functions): Account only non-cold
39132         functions.
39133         * doc/invoke.texi (inline-unit-growth): Update documentation.
39135 2014-04-17  Pat Haugen  <pthaugen@us.ibm.com>
39137         * config/rs6000/rs6000.md (addti3, subti3): New.
39139 2014-04-17  H.J. Lu  <hongjiu.lu@intel.com>
39141         PR target/60863
39142         * config/i386/i386.c (ix86_expand_clear): Remove outdated
39143         comment.  Check optimize_insn_for_size_p instead of
39144         optimize_insn_for_speed_p.
39146 2014-04-17  Martin Jambor  <mjambor@suse.cz>
39148         * gimple-iterator.c (gsi_start_edge): New function.
39149         * gimple-iterator.h (gsi_start_edge): Declare.
39150         * tree-sra.c (single_non_eh_succ): New function.
39151         (disqualify_ops_if_throwing_stmt): Renamed to
39152         disqualify_if_bad_bb_terminating_stmt.  Allow throwing statements
39153         having one non-EH successor BB.
39154         (sra_modify_expr): If stmt ends bb, use single non-EH successor to
39155         generate loads into replacements.
39156         (sra_modify_assign): Likewise and and also use the simple path for
39157         such statements.
39158         (sra_modify_function_body): Commit statements on edges.
39160 2014-04-17  Richard Biener  <rguenther@suse.de>
39162         PR middle-end/60849
39163         * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
39164         comparison results and add clarifying comment.
39166 2014-04-17  Jakub Jelinek  <jakub@redhat.com>
39168         * genmodes.c (struct mode_data): Add need_bytesize_adj field.
39169         (blank_mode): Initialize it.
39170         (emit_mode_size_inline, emit_mode_nunits_inline,
39171         emit_mode_inner_inline): New functions.
39172         (emit_insn_modes_h): Call them and surround their output with
39173         #if GCC_VERSION >= 4001 ... #endif.
39174         * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
39175         For GCC_VERSION >= 4001 use mode_*_inline routines instead of
39176         mode_* arrays if the argument is __builtin_constant_p.
39177         * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
39178         is enum machine_mode.
39180 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39182         * passes.c (opt_pass::execute): Adjust.
39183         (pass_manager::execute_pass_mode_switching): Likewise.
39184         (early_local_passes::execute): Likewise.
39185         (execute_one_pass): Pass cfun to the pass's execute method.
39186         * tree-pass.h (opt_pass::execute): Add function * argument.
39187         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
39188         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
39189         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
39190         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
39191         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
39192         config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
39193         except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
39194         gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
39195         graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
39196         ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
39197         ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
39198         lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
39199         postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
39200         reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
39201         store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
39202         tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
39203         tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
39204         tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
39205         tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
39206         tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
39207         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
39208         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
39209         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
39210         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
39211         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
39212         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
39213         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
39214         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
39215         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
39216         Adjust.
39218 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39220         * passes.c (opt_pass::gate): Take function * argument.
39221         (gate_all_early_local_passes): Merge into
39222         (early_local_passes::gate): this.
39223         (gate_all_early_optimizations): Merge into
39224         (all_early_optimizations::gate): this.
39225         (gate_all_optimizations): Mege into
39226         (all_optimizations::gate): this.
39227         (gate_all_optimizations_g): Merge into
39228         (all_optimizations_g::gate): this.
39229         (gate_rest_of_compilation): Mege into
39230         (rest_of_compilation::gate): this.
39231         (gate_postreload): Merge into
39232         (postreload::gate): this.
39233         (dump_one_pass): Pass cfun to the pass's gate method.
39234         (execute_ipa_summary_passes): Likewise.
39235         (execute_one_pass): Likewise.
39236         (ipa_write_summaries_2): Likewise.
39237         (ipa_write_optimization_summaries_1): Likewise.
39238         (ipa_read_summaries_1): Likewise.
39239         (ipa_read_optimization_summaries_1): Likewise.
39240         (execute_ipa_stmt_fixups): Likewise.
39241         * tree-pass.h (opt_pass::gate): Add function * argument.
39242         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
39243         combine-stack-adj.c, combine.c, compare-elim.c,
39244         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
39245         config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
39246         config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
39247         dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c,  fwprop.c, gcse.c,
39248         gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
39249         graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
39250         ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
39251         loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
39252         omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
39253         reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
39254         store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
39255         tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
39256         tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
39257         tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
39258         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
39259         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
39260         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
39261         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
39262         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
39263         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
39264         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
39265         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
39266         tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
39267         tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
39268         var-tracking.c, vtable-verify.c, web.c: Adjust.
39270 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39272         * configure.ac: Check for -Woverloaded-virtual and enable it if found.
39273         * configure: Regenerate.
39275 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39277         * passes.c (dump_one_pass): don't check pass->has_gate.
39278         (execute_ipa_summary_passes): Likewise.
39279         (execute_one_pass): Likewise.
39280         (ipa_write_summaries_2): Likewise.
39281         (ipa_write_optimization_summaries_1): Likewise.
39282         (ipa_read_optimization_summaries_1): Likewise.
39283         (execute_ipa_stmt_fixups): Likewise.
39284         * tree-pass.h (pass_data::has_gate): Remove.
39285         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
39286         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
39287         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
39288         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
39289         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
39290         config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
39291         config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
39292         dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
39293         gimple-low.c, gimple-ssa-isolate-paths.c,
39294         gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
39295         ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
39296         ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
39297         ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
39298         modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
39299         recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
39300         reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
39301         trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
39302         tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
39303         tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
39304         tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
39305         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
39306         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
39307         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
39308         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
39309         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
39310         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
39311         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
39312         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
39313         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
39314         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
39315         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
39316         Adjust.
39318 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39320         * pass_manager.h (pass_manager::register_dump_files_1): Remove
39321         declaration.
39322         * passes.c (pass_manager::register_dump_files_1): Merge into
39323         (pass_manager::register_dump_files): this, and remove its handling of
39324         properties since the pass always has the properties anyway.
39325         (pass_manager::pass_manager): Adjust.
39327 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
39329         * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
39330         * passes.c (pass_manager::register_dump_files_1): Remove dead code
39331         dealing with properties.
39332         (pass_manager::register_dump_files): Adjust.
39334 2014-03-20  Mark Wielaard  <mjw@redhat.com>
39336         * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
39337         then represent the bound as normal constant value.
39339 2014-04-17  Jakub Jelinek  <jakub@redhat.com>
39341         PR target/60847
39342         Forward port from 4.8 branch
39343         2013-07-19  Kirill Yukhin  <kirill.yukhin@intel.com>
39345         * config/i386/bmiintrin.h (_blsi_u32): New.
39346         (_blsi_u64): Ditto.
39347         (_blsr_u32): Ditto.
39348         (_blsr_u64): Ditto.
39349         (_blsmsk_u32): Ditto.
39350         (_blsmsk_u64): Ditto.
39351         (_tzcnt_u32): Ditto.
39352         (_tzcnt_u64): Ditto.
39354 2014-04-17  Kito Cheng  <kito@0xlab.org>
39356         * gcc.c (used_arg): Prevent out of bound access for multilib_options.
39358 2014-04-17  Richard Biener  <rguenther@suse.de>
39360         PR middle-end/60849
39361         * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
39362         boolean results for comparisons.
39364 2014-04-17  Richard Biener  <rguenther@suse.de>
39366         PR tree-optimization/60836
39367         * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
39368         initial PHI args to be gimple values.
39370 2014-04-17  Richard Biener  <rguenther@suse.de>
39372         PR tree-optimization/60841
39373         * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
39374         * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
39375         of stmts to SLP build.
39376         * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
39377         (vect_analyze_slp): Likewise.
39378         (vect_analyze_slp_instance): Likewise.
39379         (vect_build_slp_tree): Limit overall SLP tree growth.
39380         * tree-vectorizer.h (vect_analyze_data_refs,
39381         vect_analyze_slp): Adjust prototypes.
39383 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
39385         * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
39386         Silvermont.
39388 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
39390         * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
39391         * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
39392         * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
39393         for TARGET_SLOW_PSHUFB
39395 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
39397         * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
39398         * config/i386/i386.c (intel_cost): Ditto.
39400 2014-04-17  Joey Ye  <joey.ye@arm.com>
39402         * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
39404 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
39406         * opts.c (common_handle_option): Disable -fipa-reference coorectly
39407         with -fuse-profile.
39409 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
39411         * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
39412         (type_all_derivations_known_p): New predicate.
39413         (type_all_ctors_visible_p): New predicate.
39414         (type_possibly_instantiated_p): New predicate.
39415         (get_odr_type): Compute all_derivations_known.
39416         (dump_odr_type): Dump the flag.
39417         (maybe_record_type): Cleanup.
39418         (record_target_from_binfo): Add bases_to_consider array;
39419         record bases for types w/o instances and skip CXX destructor.
39420         (possible_polymorphic_call_targets_1): Add bases_to_consider
39421         and consider_construction parameters; check if type may have instance.
39422         (get_polymorphic_call_info): Set maybe_in_construction to true
39423         when we know nothing.
39424         (record_targets_from_bases): Skip CXX destructors; they are
39425         never called for types in construction.
39426         (possible_polymorphic_call_targets): Do not record target when
39427         type may not have instance.
39429 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
39431         PR ipa/60854
39432         * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
39433         external aliases alive, too.
39435 2014-04-16  Andrew  Pinski  <apinski@cavium.com>
39437         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
39438         definition.
39440 2014-04-16  Eric Botcazou  <ebotcazou@adacore.com>
39442         * final.c (compute_alignments): Do not apply loop alignment to a block
39443         falling through to the exit.
39445 2014-04-16  Catherine Moore  <clm@codesourcery.com>
39447         * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
39448         Adjust constraints for microMIPS store patterns.
39450 2014-04-16  Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
39452         * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
39454 2014-04-16  Eric Botcazou  <ebotcazou@adacore.com>
39456         * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
39457         (append_use): Run at -O0.
39458         (append_vdef): Likewise.
39459         * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
39460         * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
39462 2014-04-16  Jakub Jelinek  <jakub@redhat.com>
39464         PR tree-optimization/60844
39465         * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
39466         (propagate_op_to_single_use, remove_visited_stmt_chain,
39467         linearize_expr, repropagate_negates, reassociate_bb): Use it
39468         instead of gsi_remove.
39470 2014-04-16  Martin Jambor  <mjambor@suse.cz>
39472         * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
39473         ipa_transforms_to_apply.
39474         (cgraph_function_versioning): Assert that old_node has empty
39475         ipa_transforms_to_apply.
39476         * trans-mem.c (ipa_tm_create_version): Likewise.
39477         * tree-inline.c (tree_function_versioning): Do not duplicate
39478         ipa_transforms_to_apply.
39480 2014-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
39482         PR target/60817
39483         * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
39484         x86_64-*-* cases.
39485         Pass necessary as flags on 64-bit Solaris/x86.
39486         Use lowercase relocs for x86_64-*-*.
39487         * configure: Regenerate.
39489 2014-04-15  Jan Hubicka  <jh@suse.cz>
39491         * ipa-devirt.c (referenced_from_vtable_p): New predicate.
39492         (maybe_record_node, likely_target_p): Use it.
39494 2014-04-15  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
39496         PR target/60839
39497         Revert following patch
39499         2014-04-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
39501         PR target/60735
39502         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
39503         software floating point or no floating point registers, do not
39504         allow any type in the FPRs.  Eliminate a test for SPE SIMD types
39505         in GPRs that occurs after we tested for GPRs that would never be
39506         true.
39508         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
39509         Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
39510         since the FMOVE64 type is DFmode/DDmode.  If TARGET_E500_DOUBLE,
39511         specifically allow DDmode, since that does not use the SPE SIMD
39512         instructions.
39514 2014-03-21  Mark Wielaard  <mjw@redhat.com>
39516         * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
39517         as unsigned or int depending on type and value used.
39519 2014-04-15  Richard Biener  <rguenther@suse.de>
39521         PR rtl-optimization/56965
39522         * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
39523         * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
39524         ... here.
39525         * alias.c (true_dependence_1): Do not call
39526         nonoverlapping_component_refs_p.
39527         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
39528         nonoverlapping_component_refs_p.
39529         (indirect_refs_may_alias_p): Likewise.
39531 2014-04-15  Teresa Johnson  <tejohnson@google.com>
39533         * cfg.c (dump_bb_info): Fix flags check.
39534         * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
39536 2014-04-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
39538         PR rtl-optimization/60663
39539         * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
39540         avoid 0 cost.
39542 2014-04-15  Richard Biener  <rguenther@suse.de>
39544         * lto-streamer.h (LTO_major_version): Bump to 4.
39546 2014-04-15  Richard Biener  <rguenther@suse.de>
39548         * common.opt (lto_partition_model): New enum.
39549         (flto-partition=): Merge separate options with a single with argument,
39550         add -flto-partition=one support.
39551         * flag-types.h (enum lto_partition_model): Declare.
39552         * opts.c (finish_options): Remove duplicate -flto-partition=
39553         option check.
39554         * lto-wrapper.c (run_gcc): Adjust.
39556 2014-04-15  Richard Biener  <rguenther@suse.de>
39558         * alias.c (ncr_compar): New function.
39559         (nonoverlapping_component_refs_p): Re-implement in O (n log n).
39561 2014-04-15  Richard Biener  <rguenther@suse.de>
39563         * alias.c (record_component_aliases): Do not walk BINFOs.
39565 2014-04-15  Richard Biener  <rguenther@suse.de>
39567         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
39568         Add struct function argument and adjust.
39569         (find_func_aliases_for_call): Likewise.
39570         (find_func_aliases): Likewise.
39571         (find_func_clobbers): Likewise.
39572         (intra_create_variable_infos): Likewise.
39573         (compute_points_to_sets): Likewise.
39574         (ipa_pta_execute): Adjust.  Do not push/pop cfun.
39576 2014-04-15  Richard Biener  <rguenther@suse.de>
39578         * tree.c (iterative_hash_expr): Use enum tree_code_class
39579         to store TREE_CODE_CLASS.
39580         (tree_block): Likewise.
39581         (tree_set_block): Likewise.
39582         * tree.h (fold_build_pointer_plus_loc): Use
39583         convert_to_ptrofftype_loc.
39585 2014-04-15  Jakub Jelinek  <jakub@redhat.com>
39587         PR plugins/59335
39588         * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
39589         added in 4.9.
39591 2014-04-15  Eric Botcazou  <ebotcazou@adacore.com>
39593         * cfgloop.h (struct loop): Move force_vectorize down.
39594         * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
39595         (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
39596         * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
39597         * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
39598         * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
39599         * tree-core.h (enum annot_expr_kind): Add new kind values.
39600         * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
39601         * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
39602         kinds.
39603         * tree.def (ANNOTATE_EXPR): Tweak comment.
39605 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
39607         * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
39608         cxa_pure_virtual).
39610 2014-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
39612         * tree.h (TYPE_IDENTIFIER): Declare.
39613         * tree.c (subrange_type_for_debug_p): Use it.
39614         * godump.c (go_format_type): Likewise.
39615         * dwarf2out.c (is_cxx_auto, modified_type_die,
39616         gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
39617         * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
39619 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
39621         PR lto/60820
39622         * varpool.c (varpool_remove_node): Do not alter decls when streaming.
39624 2014-04-14  Uros Bizjak  <ubizjak@gmail.com>
39626         * config/i386/i386.c (examine_argument): Return bool.  Return true if
39627         parameter should be passed in memory.
39628         <case X86_64_COMPLEX_X87_CLASS>: Adjust.
39629         (construct_container): Update calls to examine_argument.
39630         (function_arg_advance_64): Ditto.
39631         (return_in_memory_32): Merge with ix86_return_in_memory.
39632         (return_in_memory_64): Ditto.
39633         (return_in_memory_ms_64): Ditto.
39635 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
39637         * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
39638         * coverage.c (coverage_compute_profile_id): Handle externally visible
39639         symbols.
39641 2014-04-14  Martin Jambor  <mjambor@suse.cz>
39643         * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
39644         DECL_DISREGARD_INLINE_LIMITS functions.
39646 2014-04-14  H.J. Lu  <hongjiu.lu@intel.com>
39648         PR target/60827
39649         * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
39651 2014-04-14  H.J. Lu  <hongjiu.lu@intel.com>
39653         PR target/60827
39654         * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
39655         optimize_insn_for_speed_p instead of
39656         optimize_function_for_speed_p.
39658 2014-04-14  Yufeng Zhang  <yufeng.zhang@arm.com>
39660         * doc/invoke.texi (free): Document AArch64.
39662 2014-04-14  Richard Biener  <rguenther@suse.de>
39664         PR tree-optimization/60042
39665         * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
39666         (insert_into_preds_of_block): Do not prevent PHI insertion
39667         for REFERENCE exprs here ...
39668         (eliminate_dom_walker::before_dom_children): ... but prevent
39669         their use here under similar conditions when applied to the
39670         IL after PRE optimizations.
39672 2014-04-14  Richard Biener  <rguenther@suse.de>
39674         * passes.def: Move early points-to after early SRA.
39676 2014-04-14  Richard Biener  <rguenther@suse.de>
39678         * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
39679         check for which sign-changes we allow when forwarding
39680         a converted value into a switch.
39682 2014-04-14  Eric Botcazou  <ebotcazou@adacore.com>
39684         * stor-layout.c (place_field): Finalize non-constant offset for the
39685         field, if any.
39687 2014-04-14  Richard Biener  <rguenther@suse.de>
39689         * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
39690         as argument.
39691         (expand_switch_using_bit_tests_p): Likewise.
39692         (process_switch): Compute and pass on speed_p based on the
39693         switch stmt.
39694         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
39695         optimize_bb_for_speed_p.
39697 2014-04-14  Eric Botcazou  <ebotcazou@adacore.com>
39699         * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
39700         * function.h (struct function): Rename has_force_vect_loops into
39701         has_force_vectorize_loops.
39702         * lto-streamer-in.c (input_cfg): Adjust for renaming.
39703         (input_struct_function_base): Likewise.
39704         * lto-streamer-out.c (output_cfg): Likewise.
39705         (output_struct_function_base): Likewise.
39706         * omp-low.c (expand_omp_simd): Likewise.
39707         * tree-cfg.c (move_sese_region_to_fn): Likewise.
39708         * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
39709         (version_loop_for_if_conversion): Likewise.
39710         (tree_if_conversion): Likewise.
39711         (main_tree_if_conversion): Likewise.
39712         (gate_tree_if_conversion): Likewise.
39713         * tree-inline.c (copy_loops): Likewise.
39714         * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
39715         * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
39716         * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
39717         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
39718         * tree-vectorizer.c (vectorize_loops): Likewise.
39719         * tree-vectorizer.h (unlimited_cost_model): Likewise.
39721 2014-04-14  Richard Biener  <rguenther@suse.de>
39723         PR lto/60720
39724         * lto-streamer-out.c (wrap_refs): New function.
39725         (lto_output): Wrap symbol references in global initializes in
39726         type-preserving MEM_REFs.
39728 2014-04-14  Christian Bruel  <christian.bruel@st.com>
39730         * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
39732 2014-04-14  Christian Bruel  <christian.bruel@st.com>
39734         * config/sh/sh.md (setmemqi): New expand pattern.
39735         * config/sh/sh.h (CLEAR_RATIO): Define.
39736         * config/sh/sh-mem.cc (sh_expand_setmem): Define.
39737         * config/sh/sh-protos.h (sh_expand_setmem): Declare.
39739 2014-04-14  Richard Biener  <rguenther@suse.de>
39741         PR middle-end/55022
39742         * fold-const.c (negate_expr_p): Don't negate directional rounding
39743         division.
39744         (fold_negate_expr): Likewise.
39746 2014-04-14  Richard Biener  <rguenther@suse.de>
39748         PR tree-optimization/59817
39749         PR tree-optimization/60453
39750         * graphite-scop-detection.c (graphite_can_represent_scev): Complete
39751         recursion to catch all CHRECs in the scalar evolution and restrict
39752         the predicate for the remains appropriately.
39754 2014-04-12  Catherine Moore  <clm@codesourcery.com>
39756         * config/mips/constraints.md: Add new register constraint "kb".
39757         * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
39758         (*movhi_internal): Likewise.
39759         (*movqi_internal): Likewise.
39760         * config/mips/mips.h (M16_STORE_REGS): New register class.
39761         (REG_CLASS_NAMES): Add M16_STORE_REGS.
39762         (REG_CLASS_CONTENTS): Likewise.
39763         * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
39765 2014-04-11  Tobias Burnus  <burnus@net-b.de>
39767         PR c/60194
39768         * doc/invoke.texi (-Wformat-signedness): Document it.
39769         (Wformat=2): Mention that this enables -Wformat-signedness.
39771 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
39773         * common/config/epiphany/epiphany-common.c
39774         (epiphany_option_optimization_table): Enable section anchors by
39775         default at -O1 or higher.
39776         * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
39777         (TARGET_MIN_ANCHOR_OFFSET): Likewise.
39778         (epiphany_rtx_costs) <SET>: For binary operators, the set as such
39779         carries no extra cost.
39780         (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
39781         * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
39782         * config/epiphany/predicates.md (memclob_operand): New predicate.
39783         * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
39784         Use memclob_operand predicate and X constraint for operand 3.
39786 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
39788         * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
39789         with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
39790         its operands.
39792 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
39794         PR rtl-optimization/60651
39795         * mode-switching.c (optimize_mode_switching): Make sure to emit
39796         sets of a lower numbered entity before sets of a higher numbered
39797         entity to a mode of the same or lower priority.
39798         When creating a seginfo for a basic block that starts with a code
39799         label, move the insertion point past the code label.
39800         (new_seginfo): Document and enforce requirement that
39801         NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
39802         * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
39803         * doc/tm.texi: Regenerate.
39805 2014-01-11  Joern Rennecke  <joern.rennecke@embecosm.com>
39807         PR target/60811
39808         * config/arc/arc.c (arc_save_restore): Fix assert typo.
39810 2013-04-11  Jakub Jelinek  <jakub@redhat.com>
39812         * BASE-VER: Set to 4.10.0.
39814 2014-04-11  Tobias Burnus  <burnus@net-b.de>
39816         PR other/59055
39817         * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
39818         * doc/gcc.texi (Service): Update description in the @menu
39819         * doc/invoke.texi (Option Summary): Remove misplaced and
39820         duplicated @menu.
39822 2014-04-11  Steve Ellcey  <sellcey@mips.com>
39823             Jakub Jelinek  <jakub@redhat.com>
39825         PR middle-end/60556
39826         * expr.c (convert_move): Use emit_store_flag_force instead of
39827         emit_store_flag.  Pass lowpart_mode instead of VOIDmode as 5th
39828         argument to it.
39830 2014-04-11  Richard Biener  <rguenther@suse.de>
39832         PR middle-end/60797
39833         * varasm.c (assemble_alias): Avoid endless error reporting
39834         recursion by setting TREE_ASM_WRITTEN.
39836 2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39838         * config/s390/s390.md: Add a splitter for NOT rtx.
39840 2014-04-11  Jakub Jelinek  <jakub@redhat.com>
39842         PR rtl-optimization/60663
39843         * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
39845 2014-04-10  Jan Hubicka  <hubicka@ucw.cz>
39846             Jakub Jelinek  <jakub@redhat.com>
39848         PR lto/60567
39849         * ipa.c (function_and_variable_visibility): Copy forced_by_abi
39850         flag from decl_node to node.
39852 2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
39854         PR debug/60655
39855         * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
39856         (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
39857         ameliorating the cases where it can be.
39859 2014-04-09  David Edelsohn  <dje.gcc@gmail.com>
39861         Revert
39862         2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>
39864         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
39865         (loadsync_<mode>): Change mode.
39866         (load_quadpti, store_quadpti): New.
39867         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
39868         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
39869         * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
39871 2014-04-09  Cong Hou  <congh@google.com>
39873         PR testsuite/60773
39874         * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
39875         documentation.
39877 2014-04-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
39879         * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
39880         instead of vnor to exploit possible fusion opportunity in the
39881         future.
39882         (altivec_expand_vec_perm_const_le): Likewise.
39884 2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>
39886         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
39887         (loadsync_<mode>): Change mode.
39888         (load_quadpti, store_quadpti): New.
39889         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
39890         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
39892 2014-04-08  Richard Sandiford  <rdsandiford@googlemail.com>
39894         PR target/60763
39895         * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
39896         * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
39897         Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
39899 2014-04-08  Richard Biener  <rguenther@suse.de>
39901         PR middle-end/60706
39902         * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
39903         a 64bit widest int print double-int similar to on HWI64 hosts.
39905 2014-04-08  Richard Biener  <rguenther@suse.de>
39907         PR tree-optimization/60785
39908         * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
39909         default defs properly.
39911 2014-04-08  Nathan Sidwell  <nathan@codesourcery.com>
39913         * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
39914         (Weffc++): Likewise.
39916 2014-04-07  Jan Hubicka  <hubcika@ucw.cz>
39918         * ipa-devirt.c (maybe_record_node): When node is not recorded,
39919         set completep to false rather than true.
39921 2014-04-07  Douglas B Rupp  <rupp@adacore.com>
39923         PR target/60504
39924         * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
39925         ARM_TARGET2_DWARF_FORMAT.
39927 2014-04-07  Charles Baylis  <charles.baylis@linaro.org>
39929         PR target/60609
39930         * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
39931         (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
39932         ADDR_DIFF_VEC.
39934 2014-04-07  Richard Biener  <rguenther@suse.de>
39936         PR tree-optimization/60766
39937         * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
39938         (may_eliminate_iv): Convert cand_value_at result to desired type.
39940 2014-04-07  Jason Merrill  <jason@redhat.com>
39942         PR c++/60731
39943         * common.opt (-fno-gnu-unique): Add.
39944         * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
39946 2014-04-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
39948         * haifa-sched.c: Fix outdated function reference and minor
39949         grammar errors in introductory comment.
39951 2014-04-07  Richard Biener  <rguenther@suse.de>
39953         PR middle-end/60750
39954         * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
39955         for noreturn calls.
39956         * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
39958 2014-04-06  John David Anglin  <danglin@gcc.gnu.org>
39960         PR debug/55794
39961         * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
39962         size accounting for thunks.
39963         (pa_asm_output_mi_thunk): Use final_start_function() and
39964         final_end_function() to output function start and end directives.
39966 2014-04-05  Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
39968         * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
39969         device specific ISA/ feature information. Remove short_sp and
39970         errata_skip ds.  Add avr_device_specific_features enum to have device
39971         specific info.
39972         * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
39973         errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
39974         * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
39975         updated device specific info.
39976         * config/avr/avr-mcus.def: Merge device specific details to
39977         dev_attribute field.
39978         * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
39979         errata_skip.
39980         * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
39981         * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
39982         assembler if RMW isa supported by current device.
39983         * config/avr/genmultilib.awk: Update as device info structure changed.
39984         * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
39986 2014-04-04  Cong Hou  <congh@google.com>
39988         PR tree-optimization/60656
39989         * tree-vect-stmts.c (supportable_widening_operation):
39990         Fix a bug that elements in a vector with vect_used_by_reduction
39991         property are incorrectly reordered when the operation on it is not
39992         consistant with the one in reduction operation.
39994 2014-04-04  John David Anglin  <danglin@gcc.gnu.org>
39996         PR rtl-optimization/60155
39997         * gcse.c (record_set_data): New function.
39998         (single_set_gcse): New function.
39999         (gcse_emit_move_after): Use single_set_gcse instead of single_set.
40000         (hoist_code): Likewise.
40001         (get_pressure_class_and_nregs): Likewise.
40003 2014-04-04  Eric Botcazou  <ebotcazou@adacore.com>
40005         * explow.c (probe_stack_range): Emit a final optimization blockage.
40007 2014-04-04  Anthony Green  <green@moxielogic.com>
40009         * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
40010         typos.
40012 2014-04-04  Jan Hubicka  <hubicka@ucw.cz>
40014         PR ipa/59626
40015         * lto-cgraph.c (input_overwrite_node): Check that partitioning
40016         flags are set only during streaming.
40017         * ipa.c (process_references, walk_polymorphic_call_targets,
40018         symtab_remove_unreachable_nodes): Drop bodies of always inline
40019         after early inlining.
40020         (symtab_remove_unreachable_nodes): Remove always_inline attribute.
40022 2014-04-04  Jakub Jelinek  <jakub@redhat.com>
40023         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
40025         PR debug/60655
40026         * dwarf2out.c (const_ok_for_output_1): Reject expressions
40027         containing a NOT.
40029 2014-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40031         PR bootstrap/60743
40032         * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
40033         duration.
40034         (cortex_a53_fdivd): Likewise.
40036 2014-04-04  Martin Jambor  <mjambor@suse.cz>
40038         PR ipa/60640
40039         * cgraph.h (cgraph_clone_node): New parameter added to declaration.
40040         Adjust all callers.
40041         * cgraph.c (clone_of_p): Also return true if thunks match.
40042         (verify_edge_corresponds_to_fndecl): Removed extraneous call to
40043         cgraph_function_or_thunk_node and an obsolete comment.
40044         * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
40045         file.
40046         (build_function_decl_skip_args): Likewise.
40047         (set_new_clone_decl_and_node_flags): New function.
40048         (duplicate_thunk_for_node): Likewise.
40049         (redirect_edge_duplicating_thunks): Likewise.
40050         (cgraph_clone_node): New parameter args_to_skip, pass it to
40051         redirect_edge_duplicating_thunks which is called instead of
40052         cgraph_redirect_edge_callee.
40053         (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
40054         moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
40056 2014-04-04  Jeff Law  <law@redhat.com>
40058         PR target/60657
40059         * config/arm/predicates.md (const_int_I_operand): New predicate.
40060         (const_int_M_operand): Similarly.
40061         * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
40062         const_int_operand.
40063         (insv_t2, extv_reg, extzv_t2): Likewise.
40064         (load_multiple_with_writeback): Similarly for const_int_I_operand.
40065         (pop_multiple_with_writeback_and_return): Likewise.
40066         (vfp_pop_multiple_with_writeback): Likewise
40068 2014-04-04  Richard Biener  <rguenther@suse.de>
40070         PR ipa/60746
40071         * tree-ssanames.c (make_ssa_name_fn): Fix assert.
40072         * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
40073         non-GIMPLE_LABELs.
40074         * gimplify.h (gimple_add_tmp_var_fn): Declare.
40075         * gimplify.c (gimple_add_tmp_var_fn): New function.
40076         * gimple-expr.h (create_tmp_reg_fn): Declare.
40077         * gimple-expr.c (create_tmp_reg_fn): New function.
40078         * gimple-low.c (record_vars_into): Don't change cfun.
40079         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
40080         code generation without cfun.
40082 2014-04-04  Thomas Schwinge  <thomas@codesourcery.com>
40084         PR bootstrap/60719
40085         * Makefile.in (install-driver): Fix shell scripting.
40087 2014-04-03  Cong Hou  <congh@google.com>
40089         PR tree-optimization/60505
40090         * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
40091         threshold of number of iterations below which no vectorization
40092         will be done.
40093         * tree-vect-loop.c (new_loop_vec_info):
40094         Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
40095         * tree-vect-loop.c (vect_analyze_loop_operations):
40096         Set LOOP_VINFO_COST_MODEL_THRESHOLD.
40097         * tree-vect-loop.c (vect_transform_loop):
40098         Use LOOP_VINFO_COST_MODEL_THRESHOLD.
40099         * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
40100         of iterations of the loop and see if we should build the epilogue.
40102 2014-04-03  Richard Biener  <rguenther@suse.de>
40104         * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
40105         (streamer_tree_cache_create): Adjust.
40106         * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
40107         to allow optional nodes array.
40108         (streamer_tree_cache_insert_1): Use next_idx to assign idx.
40109         (streamer_tree_cache_append): Likewise.
40110         (streamer_tree_cache_create): Create nodes array optionally
40111         as specified by parameter.
40112         * lto-streamer-out.c (create_output_block): Avoid maintaining
40113         the node array in the writer cache.
40114         (DFS_write_tree): Remove assertion.
40115         (produce_asm_for_decls): Free the out decl state hash table early.
40116         * lto-streamer-in.c (lto_data_in_create): Adjust for
40117         streamer_tree_cache_create prototype change.
40119 2014-04-03  Richard Biener  <rguenther@suse.de>
40121         * tree-streamer-out.c (streamer_write_chain): Do not temporarily
40122         set TREE_CHAIN to NULL_TREE.
40124 2014-04-03  Richard Biener  <rguenther@suse.de>
40126         PR tree-optimization/60740
40127         * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
40128         over all GIMPLE_COND operands.
40130 2014-04-03  Nathan Sidwell  <nathan@codesourcery.com>
40132         * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
40133         (Weffc++): Remove Scott's numbering, merge lists and reference
40134         Wnon-virtual-dtor.
40136 2014-04-03  Nick Clifton  <nickc@redhat.com>
40138         * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
40139         properly.
40141 2014-04-03  Martin Jambor  <mjambor@suse.cz>
40143         * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
40144         mention gcc_unreachable before failing.
40145         * ipa.c (symtab_remove_unreachable_nodes): Also print order of
40146         removed symbols.
40148 2014-04-02  Jan Hubicka  <hubicka@ucw.cz>
40150         PR ipa/60659
40151         * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
40152         inconsistent code and instead mark the context inconsistent.
40153         (possible_polymorphic_call_targets): For inconsistent contexts
40154         return empty complete list.
40156 2014-04-02  Anthony Green  <green@moxielogic.com>
40158         * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
40159         (extendqisi2, extendhisi2): Define.
40160         * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
40161         (WCHAR_TYPE): Change to unsigned int.
40163 2014-04-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
40165         PR tree-optimization/60733
40166         * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
40167         insertion point for PHI candidates to be the end of the feeding
40168         block for the PHI argument.
40170 2014-04-02  Vladimir Makarov  <vmakarov@redhat.com>
40172         PR rtl-optimization/60650
40173         * lra-constraints.c (process_alt_operands): Decrease reject for
40174         earlyclobber matching.
40176 2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40178         * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
40180 2014-04-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40182         * config/spu/spu.c (pad_bb): Do not crash when the last
40183         insn is CODE_FOR_blockage.
40185 2014-04-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40187         * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
40188         lies outside the target mode.
40190 2014-04-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
40192         PR target/60735
40193         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
40194         software floating point or no floating point registers, do not
40195         allow any type in the FPRs.  Eliminate a test for SPE SIMD types
40196         in GPRs that occurs after we tested for GPRs that would never be
40197         true.
40199         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
40200         Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
40201         since the FMOVE64 type is DFmode/DDmode.  If TARGET_E500_DOUBLE,
40202         specifically allow DDmode, since that does not use the SPE SIMD
40203         instructions.
40205 2014-04-02  Richard Biener  <rguenther@suse.de>
40207         PR middle-end/60729
40208         * optabs.c (expand_abs_nojump): Honor flag_trapv only for
40209         MODE_INTs.  Properly use negv_optab.
40210         (expand_abs): Likewise.
40212 2014-04-02  Richard Biener  <rguenther@suse.de>
40214         PR bootstrap/60719
40215         * Makefile.in (install-driver): Guard extra installs with special
40216         names properly.
40218 2014-04-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
40220         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
40221         Document vec_vgbbd.
40223 2014-04-01  Richard Henderson  <rth@redhat.com>
40225         PR target/60704
40226         * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
40227         alternative enabled before register allocation.
40229 2014-04-01  Chung-Lin Tang  <cltang@codesourcery.com>
40231         * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
40232         * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
40233         typo.
40234         (nios2_large_got_address): Remove unneeded 'sym' parameter.
40235         (nios2_got_address): Update nios2_large_got_address call site.
40236         (nios2_delegitimize_address): New function.
40237         (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
40238         * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
40239         (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
40241 2014-04-01  Martin Husemann  <martin@duskware.de>
40243         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
40244         for -mabi=32.
40246 2014-04-01  Richard Sandiford  <rdsandiford@googlemail.com>
40248         PR rtl-optimization/60604
40249         * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
40250         check from register_operand.
40251         (register_operand): Redefine in terms of general_operand.
40252         (nonmemory_operand): Use register_operand for the non-constant cases.
40254 2014-04-01  Richard Biener  <rguenther@suse.de>
40256         * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
40258 2014-04-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
40260         * doc/invoke.texi (mapp-regs): Clarify.
40262 2014-03-31  Ulrich Drepper  <drepper@gmail.com>
40264         * config/i386/avx512fintrin.h (__v32hi): Define type.
40265         (__v64qi): Likewise.
40266         (_mm512_set1_epi8): Define.
40267         (_mm512_set1_epi16): Define.
40268         (_mm512_set4_epi32): Define.
40269         (_mm512_set4_epi64): Define.
40270         (_mm512_set4_pd): Define.
40271         (_mm512_set4_ps): Define.
40272         (_mm512_setr4_epi64): Define.
40273         (_mm512_setr4_epi32): Define.
40274         (_mm512_setr4_pd): Define.
40275         (_mm512_setr4_ps): Define.
40276         (_mm512_setzero_epi32): Define.
40278 2014-03-31  Martin Jambor  <mjambor@suse.cz>
40280         PR middle-end/60647
40281         * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
40282         callsite_arguments_match_p.  Updated all callers.  Also check types of
40283         corresponding formal parameters and actual arguments.
40284         (not_all_callers_have_enough_arguments_p) Renamed to
40285         some_callers_have_mismatched_arguments_p.
40287 2014-03-31  Yuri Rumyantsev  <ysrumyan@gmail.com>
40289         * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
40291 2014-03-31  Kugan Vivekanandarajah  <kuganv@linaro.org>
40293         PR target/60034
40294         * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
40295         section anchor.
40297 2014-03-30  Uros Bizjak  <ubizjak@gmail.com>
40299         * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
40300         (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
40301         Split out
40302         <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
40303         Use FMAMODE_NOVF512 mode iterator.
40304         (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
40305         (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
40306         (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
40307         (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
40308         Split out
40309         <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
40310         Use VF_128_256 mode iterator.
40311         (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
40312         Ditto.
40314 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
40316         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
40317         static chain if needed.
40319 2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>
40321         PR target/60697
40322         * lra-constraints.c (index_part_to_reg): New.
40323         (process_address): Use it.
40325 2014-03-27  Jeff Law  <law@redhat.com>
40326             Jakub Jelinek  <jakub@redhat.com>
40328         PR target/60648
40329         * expr.c (do_tablejump): Use simplify_gen_binary rather than
40330         gen_rtx_{PLUS,MULT} to build up the address expression.
40332         * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
40333         creating non-canonical RTL.
40335 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
40337         PR ipa/60243
40338         * ipa-inline.c (want_inline_small_function_p): Short circuit large
40339         functions; reorganize to make cheap checks first.
40340         (inline_small_functions): Do not estimate growth when dumping;
40341         it is expensive.
40342         * ipa-inline.h (inline_summary): Add min_size.
40343         (growth_likely_positive): New function.
40344         * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
40345         (set_cond_stmt_execution_predicate): Cleanup.
40346         (estimate_edge_size_and_time): Compute min_size.
40347         (estimate_calls_size_and_time): Likewise.
40348         (estimate_node_size_and_time): Likewise.
40349         (inline_update_overall_summary): Update min_size.
40350         (do_estimate_edge_time): Likewise.
40351         (do_estimate_edge_size): Update.
40352         (do_estimate_edge_hints): Update.
40353         (growth_likely_positive): New function.
40355 2014-03-28  Jakub Jelinek  <jakub@redhat.com>
40357         PR target/60693
40358         * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
40359         also if addr has VOIDmode.
40361 2014-03-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40363         * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
40364         * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
40365         Declare extern.
40366         * config/arm/cortex-a53.md: Add reservations and bypass for crypto
40367         instructions as well as AdvancedSIMD loads.
40369 2014-03-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40371         * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
40372         Use crypto_aese type.
40373         (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
40374         * config/arm/arm.md (is_neon_type): Replace crypto_aes with
40375         crypto_aese, crypto_aesmc.  Move to types.md.
40376         * config/arm/types.md (crypto_aes): Split into crypto_aese,
40377         crypto_aesmc.
40378         * config/arm/iterators.md (crypto_type): Likewise.
40380 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
40382         * cgraph.c: Include expr.h and tree-dfa.h.
40383         (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
40384         remove LHS.
40386 2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>
40388         PR target/60675
40389         * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
40390         regs from checking multi-reg pseudos.
40392 2014-03-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
40394         * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
40396 2014-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40398         * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
40399         if it would clobber the stack pointer, even temporarily.
40401 2014-03-28  Eric Botcazou  <ebotcazou@adacore.com>
40403         * mode-switching.c: Make small adjustments to the top comment.
40405 2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>
40407         * config/rs6000/constraints.md (wD constraint): New constraint to
40408         match the constant integer to get the top DImode/DFmode out of a
40409         vector in a VSX register.
40411         * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
40412         match the constant integer to get the top DImode/DFmode out of a
40413         vector in a VSX register.
40415         * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
40416         for ISA 2.07.
40418         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
40419         vbpermq builtins.
40421         * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
40422         -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
40424         * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
40425         Optimize vec_extract of 64-bit values, where the value being
40426         extracted is in the top word, where we can use scalar
40427         instructions.  Add direct move and store support.  Combine the big
40428         endian/little endian vector select load support into a single insn.
40429         (vsx_extract_<mode>_internal1): Likewise.
40430         (vsx_extract_<mode>_internal2): Likewise.
40431         (vsx_extract_<mode>_load): Likewise.
40432         (vsx_extract_<mode>_store): Likewise.
40433         (vsx_extract_<mode>_zero): Delete, big and little endian insns are
40434         combined into vsx_extract_<mode>_load.
40435         (vsx_extract_<mode>_one_le): Likewise.
40437         * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
40438         define the top 64-bit vector element.
40440         * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
40441         constraint.
40443         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
40444         Document vec_vbpermq builtin.
40446         PR target/60672
40447         * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
40448         enable use of xxsldwi and xxpermdi builtin functions.
40449         (vec_xxpermdi): Likewise.
40451         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
40452         Document use of vec_xxsldwi and vec_xxpermdi builtins.
40454 2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>
40456         PR rtl-optimization/60650
40457         * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
40458         first_p.  Use it.
40459         (find_spills_for): New.
40460         (assign_by_spills): Pass the new parameter to find_hard_regno_for.
40461         Spill all pseudos on the second iteration.
40463 2014-03-27  Marek Polacek  <polacek@redhat.com>
40465         PR c/50347
40466         * doc/extend.texi (ffs Builtins): Change unsigned types to signed
40467         types.
40469 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40471         * config/s390/s390.c (s390_can_use_return_insn): Check for
40472         call-saved FPRs on 31 bit.
40474 2014-03-27  Jakub Jelinek  <jakub@redhat.com>
40476         PR middle-end/60682
40477         * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
40478         if they need regimplification, just drop them instead of
40479         calling gimple_regimplify_operands on them.
40481 2014-03-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40483         PR target/60580
40484         * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
40485         (aarch64_frame_pointer_required): Adjust logic.
40486         (aarch64_can_eliminate): Adjust logic.
40487         (aarch64_override_options_after_change): Adjust logic.
40489 2014-03-27  Dehao Chen  <dehao@google.com>
40491         * ipa-inline.c (early_inliner): Update node's inline info.
40493 2014-03-26  Dehao Chen  <dehao@google.com>
40495         * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
40496         compiler inserted conditional jumps for NAN float check.
40498 2014-03-26  Jakub Jelinek  <jakub@redhat.com>
40500         * ubsan.h (ubsan_create_data): Change second argument's type
40501         to const location_t *.
40502         * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
40503         _("<unknown>").
40504         (ubsan_create_data): Change second argument to const location_t *PLOC.
40505         Create Loc field whenever PLOC is non-NULL.
40506         (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
40507         ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
40508         callers.
40510         PR other/59545
40511         * real.c (real_to_integer2): Change type of low to UHWI.
40513 2014-03-26  Tobias Burnus  <burnus@net-b.de>
40515         * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
40516         (CILK_SELF_SPECS): New define.
40517         (driver_self_specs): Use it.
40519 2014-03-26  Richard Biener  <rguenther@suse.de>
40521         * tree-pretty-print.c (percent_K_format): Implement special
40522         case for LTO and its stripped down BLOCK tree.
40524 2014-03-26  Jakub Jelinek  <jakub@redhat.com>
40526         PR sanitizer/60636
40527         * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
40529         * tree-vrp.c (simplify_internal_call_using_ranges): If only
40530         one range is range_int_cst_p, but not both, at least optimize
40531         addition/subtraction of 0 and multiplication by 0 or 1.
40532         * gimple-fold.c (gimple_fold_call): Fold
40533         IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
40534         (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
40535         INTEGER_CSTs, try to fold at least x * 0 and y - y.
40537 2014-03-26  Eric Botcazou  <ebotcazou@adacore.com>
40539         PR rtl-optimization/60452
40540         * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
40541         <case REG>: Return 1 for invalid offsets from the frame pointer.
40543 2014-03-26  Marek Polacek  <polacek@redhat.com>
40545         PR c/37428
40546         * doc/extend.texi (C Extensions): Mention variable-length arrays in
40547         a structure/union.
40549 2014-03-26  Marek Polacek  <polacek@redhat.com>
40551         PR c/39525
40552         * doc/extend.texi (Designated Inits): Describe what happens to omitted
40553         field members.
40555 2014-03-26  Marek Polacek  <polacek@redhat.com>
40557         PR other/59545
40558         * ira-color.c (update_conflict_hard_regno_costs): Perform the
40559         multiplication in unsigned type.
40561 2014-03-26  Chung-Ju Wu  <jasonwucj@gmail.com>
40563         * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
40565 2014-03-26  Chung-Ju Wu  <jasonwucj@gmail.com>
40567         * doc/contrib.texi: Add myself as Andes nds32 port contributor.
40569 2014-03-25  Jan Hubicka  <hubicka@ucw.cz>
40571         PR ipa/60315
40572         * cif-code.def (UNREACHABLE) New code.
40573         * ipa-inline.c (inline_small_functions): Skip edges to
40574         __builtlin_unreachable.
40575         (estimate_edge_growth): Allow edges to __builtlin_unreachable.
40576         * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
40577         predicate to __bulitin_unreachable.
40578         (set_cond_stmt_execution_predicate): Fix issue when
40579         invert_tree_comparison returns ERROR_MARK.
40580         * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
40581         propagate to inline clones.
40582         * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
40583         to unreachable.
40584         * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
40585         * cgraphclones.c (cgraph_clone_node): If call destination is already
40586         ureachable, do not redirect it back.
40587         * tree-inline.c (fold_marked_statements): Hanlde calls becoming
40588         unreachable.
40590 2014-03-25  Jan Hubicka  <hubicka@ucw.cz>
40592         * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
40593         Do not modify inline clones.
40595 2014-03-25  Jakub Jelinek  <jakub@redhat.com>
40597         * config/i386/i386.md (general_sext_operand): New mode attr.
40598         (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
40599         don't generate (sign_extend (const_int)).
40600         (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
40601         operands[2].  Use We constraint instead of <i> and
40602         <general_sext_operand> predicate instead of <general_operand>.
40603         (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
40604         * config/i386/constraints.md (We): New constraint.
40605         * config/i386/predicates.md (x86_64_sext_operand,
40606         sext_operand): New predicates.
40608 2014-03-25  Martin Jambor  <mjambor@suse.cz>
40610         PR ipa/60600
40611         * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
40612         inconsistent devirtualizations to __builtin_unreachable.
40614 2014-03-25  Marek Polacek  <polacek@redhat.com>
40616         PR c/35449
40617         * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
40619 2014-03-25  Alan Lawrence  <alan.lawrence@arm.com>
40621         * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
40622         order of elements for big-endian.
40624 2014-03-25  Richard Biener  <rguenther@suse.de>
40626         PR middle-end/60635
40627         * gimplify-me.c (gimple_regimplify_operands): Update the
40628         re-gimplifed stmt.
40630 2014-03-25  Martin Jambor  <mjambor@suse.cz>
40632         PR ipa/59176
40633         * lto-cgraph.c (lto_output_node): Stream body_removed flag.
40634         (lto_output_varpool_node): Likewise.
40635         (input_overwrite_node): Likewise.
40636         (input_varpool_node): Likewise.
40638 2014-03-25  Richard Biener  <rguenther@suse.de>
40640         * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
40641         (run_gcc): Likewise.
40643 2014-03-25  Jakub Jelinek  <jakub@redhat.com>
40645         * combine.c (simplify_compare_const): Add MODE argument.
40646         Handle mode_width 0 as very large mode_width.
40647         (try_combine, simplify_comparison): Adjust callers.
40649         * cselib.c (cselib_hash_rtx): Perform addition in unsigned
40650         type to avoid signed integer overflow.
40651         * explow.c (plus_constant): Likewise.
40653 2014-03-25  Dominik Vogt  <vogt@linux.vnet.ibm.com>
40655         * doc/generic.texi: Correct typos.
40657 2014-03-24  Tobias Burnus  <burnus@net-b.de>
40659         * doc/invoke.texi (-flto): Expand section about
40660         using static libraries with LTO.
40662 2014-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40664         PR rtl-optimization/60501
40665         * optabs.def (addptr3_optab): New optab.
40666         * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
40667         * doc/md.texi ("addptrm3"): Document new RTL standard expander.
40668         * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
40670         * lra.c (emit_add3_insn): Use the addptr pattern if available.
40672         * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
40674 2014-03-24  Ulrich Drepper  <drepper@gmail.com>
40676         * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
40677         _mm512_set1_pd.
40679         * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
40680         (_mm256_undefined_ps): Define.
40681         (_mm256_undefined_pd): Define.
40682         * config/i386/emmintrin.h (_mm_undefined_si128): Define.
40683         (_mm_undefined_pd): Define.
40684         * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
40685         * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
40686         (_mm512_undefined_ps): Define.
40687         (_mm512_undefined_pd): Define.
40688         Use _mm*_undefined_*.
40689         * config/i386/avx2intrin.h: Use _mm*_undefined_*.
40691 2014-03-24  Alex Velenko  <Alex.Velenko@arm.com>
40693         * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
40694         (lshr_simd): DI mode added.
40695         * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
40696         (aarch64_ushr_simddi): Likewise.
40697         * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
40698         * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
40699         (vshrd_n_u64): Likewise.
40701 2014-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
40703         * Makefile.in (s-macro_list): Depend on cc1.
40705 2014-03-23  Teresa Johnson  <tejohnson@google.com>
40707         * ipa-utils.c (ipa_print_order): Use specified dump file.
40709 2014-03-23  Eric Botcazou  <ebotcazou@adacore.com>
40711         PR rtl-optimization/60601
40712         * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
40714         * gcc.c (eval_spec_function): Initialize save_growing_value.
40716 2014-03-22  Jakub Jelinek  <jakub@redhat.com>
40718         PR sanitizer/60613
40719         * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
40720         code == MINUS_EXPR, never swap op0 with op1.
40722         * toplev.c (init_local_tick): Avoid signed integer multiplication
40723         overflow.
40724         * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
40725         shift by first operand's bitsize.
40727 2014-03-21  Jakub Jelinek  <jakub@redhat.com>
40729         PR target/60610
40730         * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
40731         redefine to 1 or 0.
40732         * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
40733         TARGET_ISA_64BIT_P(x).
40735 2014-03-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
40737         * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
40738         pattern for vector nor instead of subtract from splat(-1).
40739         (altivec_expand_vec_perm_const_le): Likewise.
40741 2014-03-21  Richard Henderson  <rth@twiddle.net>
40743         PR target/60598
40744         * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
40745         related insns after epilogue_completed.
40747 2014-03-21  Martin Jambor  <mjambor@suse.cz>
40749         PR ipa/59176
40750         * cgraph.h (symtab_node): New flag body_removed.
40751         * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
40752         when removing bodies.
40753         * symtab.c (dump_symtab_base): Dump body_removed flag.
40754         * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
40755         had their bodies removed.
40757 2014-03-21  Martin Jambor  <mjambor@suse.cz>
40759         PR ipa/60419
40760         * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
40761         in the border.
40763 2014-03-21  Richard Biener  <rguenther@suse.de>
40765         PR tree-optimization/60577
40766         * tree-core.h (struct tree_base): Document nothrow_flag use
40767         in DECL_NONALIASED.
40768         * tree.h (DECL_NONALIASED): New.
40769         (may_be_aliased): Adjust.
40770         * coverage.c (build_var): Set DECL_NONALIASED.
40772 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
40774         * expr.c (expand_expr_real_1): Remove outdated comment.
40776 2014-03-20  Jakub Jelinek  <jakub@redhat.com>
40778         PR middle-end/60597
40779         * ira.c (adjust_cleared_regs): Call copy_rtx on
40780         *reg_equiv[REGNO (loc)].src_p before passing it to
40781         simplify_replace_fn_rtx.
40783         PR target/60568
40784         * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
40785         into CONST, put pic register as first operand of PLUS.  Use
40786         gen_const_mem for both 32-bit and 64-bit PIC got loads.
40788 2014-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
40790         * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
40792 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
40794         * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
40795         around for store forwarding issue in the FPU on the UT699.
40796         * config/sparc/sparc.md (in_branch_delay): Return false for single FP
40797         loads and operations if -mfix-ut699 is specified.
40798         (divtf3_hq): Tweak attribute.
40799         (sqrttf2_hq): Likewise.
40801 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
40803         * calls.c (store_one_arg): Remove incorrect const qualification on the
40804         type of the temporary.
40805         * cfgexpand.c (expand_return): Likewise.
40806         * expr.c (expand_constructor): Likewise.
40807         (expand_expr_real_1): Likewise.
40809 2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
40811         * config/arm/arm.c (arm_dwarf_register_span): Update the element number
40812         of parts.
40814 2014-03-19  Kaz Kojima  <kkojima@gcc.gnu.org>
40816         PR target/60039
40817         * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
40819 2014-03-19  James Greenhalgh  <james.greenhalgh@arm.com>
40821         * config/arm/aarch-common-protos.h
40822         (alu_cost_table): Fix spelling of "extend".
40823         * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
40825 2014-03-19  Richard Biener  <rguenther@suse.de>
40827         PR middle-end/60553
40828         * tree-core.h (tree_type_common): Re-order pointer members
40829         to reduce recursion depth during GC walks.
40831 2014-03-19  Marek Polacek  <polacek@redhat.com>
40833         PR sanitizer/60569
40834         * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
40835         before accessing it.
40837 2014-03-19  Richard Biener  <rguenther@suse.de>
40839         PR lto/59543
40840         * lto-streamer-in.c (input_function): In WPA stage do not drop
40841         debug stmts.
40843 2014-03-19  Jakub Jelinek  <jakub@redhat.com>
40845         PR tree-optimization/60559
40846         * vectorizable_mask_load_store): Replace scalar MASK_LOAD
40847         with build_zero_cst assignment.
40849 2014-03-18  Kai Tietz  <ktietz@redhat.com>
40851         PR rtl-optimization/56356
40852         * sdbout.c (sdbout_parms): Verify that parms'
40853         incoming argument is valid.
40854         (sdbout_reg_parms): Likewise.
40856 2014-03-18  Richard Henderson  <rth@redhat.com>
40858         PR target/60562
40859         * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
40860         be shadowed by *float<SWI48><MODEF>2_sse.  Test X87_ENABLE_FLOAT.
40861         (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
40863 2014-03-18  Basile Starynkevitch  <basile@starynkevitch.net>
40865         * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
40866         * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
40867         Italicize plugin event names in description.  Explain that
40868         PLUGIN_PRAGMAS has no sense for lto1.  Explain PLUGIN_INCLUDE_FILE.
40869         Remind that no GCC functions should be called after PLUGIN_FINISH.
40870         Explain what pragmas with expansion are.
40872 2014-03-18  Martin Liska  <mliska@suse.cz>
40874         * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
40875         gimple call statement is update.
40876         * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
40877         GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
40879 2014-03-18  Jakub Jelinek  <jakub@redhat.com>
40881         PR sanitizer/60557
40882         * ubsan.c (ubsan_instrument_unreachable): Call
40883         initialize_sanitizer_builtins.
40884         (ubsan_pass): Likewise.
40886         PR sanitizer/60535
40887         * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
40888         varpool_finalize_decl instead of rest_of_decl_compilation.
40890 2014-03-18  Richard Biener  <rguenther@suse.de>
40892         * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
40893         by using bitmap_and_compl instead of bitmap_and_compl_into.
40894         (df_rd_transfer_function): Likewise.
40896 2014-03-18  Richard Biener  <rguenther@suse.de>
40898         * doc/lto.texi (fresolution): Fix typo.
40900 2014-03-18  Richard Biener  <rguenther@suse.de>
40902         * doc/invoke.texi (flto): Update for changes in 4.9.
40904 2014-03-18  Richard Biener  <rguenther@suse.de>
40906         * doc/loop.texi: Remove section on the removed lambda framework.
40907         Update loop docs with recent changes in preserving loop structure.
40909 2014-03-18  Richard Biener  <rguenther@suse.de>
40911         * doc/lto.texi (-fresolution): Document.
40913 2014-03-18  Richard Biener  <rguenther@suse.de>
40915         * doc/contrib.texi: Adjust my name.
40917 2014-03-18  Jakub Jelinek  <jakub@redhat.com>
40919         PR ipa/58721
40920         * internal-fn.c: Include diagnostic-core.h.
40921         (expand_BUILTIN_EXPECT): New function.
40922         * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
40923         (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
40924         IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
40925         * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
40926         IFN_BUILTIN_EXPECT.
40927         * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
40928         Revert 3 argument __builtin_expect code.
40929         (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
40930         * gimple-fold.c (gimple_fold_call): Likewise.
40931         * tree.h (fold_builtin_expect): New prototype.
40932         * builtins.c (build_builtin_expect_predicate): Add predictor
40933         argument, if non-NULL, create 3 argument __builtin_expect.
40934         (fold_builtin_expect): No longer static.  Add ARG2 argument,
40935         pass it through to build_builtin_expect_predicate.
40936         (fold_builtin_2): Adjust caller.
40937         (fold_builtin_3): Handle BUILT_IN_EXPECT.
40938         * internal-fn.def (BUILTIN_EXPECT): New.
40940 2014-03-18  Tobias Burnus  <burnus@net-b.de>
40942         PR ipa/58721
40943         * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
40944         PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
40945         PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
40947 2014-03-18  Jan Hubicka  <hubicka@ucw.cz>
40949         PR ipa/58721
40950         * predict.c (combine_predictions_for_bb): Fix up formatting.
40951         (expr_expected_value_1, expr_expected_value): Add predictor argument,
40952         fill what it points to if non-NULL.
40953         (tree_predict_by_opcode): Adjust caller, use the predictor.
40954         * predict.def (PRED_COMPARE_AND_SWAP): Add.
40956 2014-03-18  Eric Botcazou  <ebotcazou@adacore.com>
40958         * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
40959         proper constant for the store mode.
40961 2014-03-18  Ilya Enkovich  <ilya.enkovich@intel.com>
40963         * symtab.c (change_decl_assembler_name): Fix transparent alias
40964         chain construction.
40966 2014-03-16  Renlin Li  <Renlin.Li@arm.com>
40968         * config/aarch64/aarch64.c: Correct the comments about the
40969         aarch64 stack layout.
40971 2014-03-18  Thomas Schwinge  <thomas@codesourcery.com>
40973         * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
40974         check for GF_OMP_FOR_KIND_FOR.
40976 2013-03-18  Kirill Yukhin  <kirill.yukhin@intel.com>
40978         * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
40979         ymm and zmm register names.
40981 2014-03-17  Jakub Jelinek  <jakub@redhat.com>
40983         PR target/60516
40984         * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
40985         note creation for the 2010-08-31 changes.
40987 2014-03-17  Marek Polacek  <polacek@redhat.com>
40989         PR middle-end/60534
40990         * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
40991         as -fno-tree-loop-vectorize.
40992         (expand_omp_simd): Likewise.
40994 2014-03-15  Eric Botcazou  <ebotcazou@adacore.com>
40996         * config/sparc/sparc-protos.h (tls_call_delay): Delete.
40997         (eligible_for_call_delay): New prototype.
40998         * config/sparc/sparc.c (tls_call_delay): Rename into...
40999         (eligible_for_call_delay): ...this.  Return false if the instruction
41000         cannot be put in the delay slot of a branch.
41001         (eligible_for_restore_insn): Simplify.
41002         (eligible_for_return_delay): Return false if the instruction cannot be
41003         put in the delay slot of a branch and simplify.
41004         (eligible_for_sibcall_delay): Return false if the instruction cannot be
41005         put in the delay slot of a branch.
41006         * config/sparc/sparc.md (fix_ut699): New attribute.
41007         (tls_call_delay): Delete.
41008         (in_call_delay): Reimplement.
41009         (eligible_for_sibcall_delay): Rename into...
41010         (in_sibcall_delay): ...this.
41011         (eligible_for_return_delay): Rename into...
41012         (in_return_delay): ...this.
41013         (in_branch_delay): Reimplement.
41014         (in_uncond_branch_delay): Delete.
41015         (in_annul_branch_delay): Delete.
41017 2014-03-14  Richard Henderson  <rth@redhat.com>
41019         PR target/60525
41020         * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
41021         define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
41022         (*floathi<X87MODEF>2_i387_with_temp): Remove.
41023         (floathi splitters): Remove.
41024         (float<SWI48x>xf2): New pattern.
41025         (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2.  Drop
41026         code that tried to handle DImode for 32-bit, but which was excluded
41027         by the pattern's condition.  Drop allocation of stack temporary.
41028         (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
41029         (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
41030         (*float<SWI48><MODEF>2_mixed_interunit): Remove.
41031         (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
41032         (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
41033         (*float<SWI48><MODEF>2_sse_with_temp): Remove.
41034         (*float<SWI48><MODEF>2_sse_interunit): Remove.
41035         (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
41036         (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
41037         (*float<SWI48x><X87MODEF>2_i387): Remove.
41038         (all float _with_temp splitters): Remove.
41039         (*float<SWI48x><MODEF>2_i387): New pattern.
41040         (*float<SWI48><MODEF>2_sse): New pattern.
41041         (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
41042         (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
41044 2014-03-14  Jakub Jelinek  <jakub@redhat.com>
41045             Marek Polacek  <polacek@redhat.com>
41047         PR middle-end/60484
41048         * common.opt (dump_base_name_prefixed): New Variable.
41049         * opts.c (finish_options): Don't prepend directory to x_dump_base_name
41050         if x_dump_base_name_prefixed is already set, set it at the end.
41052 2014-03-14  Vladimir Makarov  <vmakarov@redhat.com>
41054         PR rtl-optimization/60508
41055         * lra-constraints.c (get_reload_reg): Add new parameter
41056         in_subreg_p.
41057         (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
41058         Pass the new parameter values.
41060 2014-03-14  Richard Biener  <rguenther@suse.de>
41062         * common.opt: Revert unintented changes from r205065.
41063         * opts.c: Likewise.
41065 2014-03-14  Richard Biener  <rguenther@suse.de>
41067         PR middle-end/60518
41068         * cfghooks.c (split_block): Properly adjust all loops the
41069         block was a latch of.
41071 2014-03-14  Martin Jambor  <mjambor@suse.cz>
41073         PR lto/60461
41074         * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
41075         and simplify it.
41077 2014-03-14  Georg-Johann Lay  <avr@gjlay.de>
41079         PR target/59396
41080         * config/avr/avr.c (avr_set_current_function): Pass function name
41081         through default_strip_name_encoding before sanity checking instead
41082         of skipping the first char of the assembler name.
41084 2014-03-13  Richard Henderson  <rth@redhat.com>
41086         PR debug/60438
41087         * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
41088         (ix86_force_to_memory, ix86_free_from_memory): Remove.
41089         * config/i386/i386-protos.h: Likewise.
41090         * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
41091         in the expander instead of a splitter.
41092         (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
41093         any possibility of requiring a memory.
41094         (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
41095         (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
41096         (fp branch splitters): Update for ix86_split_fp_branch.
41097         (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
41098         (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
41099         (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
41100         (*fop_<MODEF>_2_i387): Remove f/r alternative.
41101         (*fop_<MODEF>_3_i387): Likewise.
41102         (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
41103         (splitters for the fop_* register patterns): Remove.
41104         (fscalexf4_i387): Rename from *fscalexf4_i387.
41105         (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
41107 2014-03-13  Jakub Jelinek  <jakub@redhat.com>
41109         PR tree-optimization/59779
41110         * tree-dfa.c (get_ref_base_and_extent): Use double_int
41111         type for bitsize and maxsize instead of HOST_WIDE_INT.
41113 2014-03-13  Steven Bosscher  <steven@gcc.gnu.org>
41115         PR rtl-optimization/57320
41116         * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
41117         the CFG after thread_prologue_and_epilogue_insns.
41119 2014-03-13  Vladimir Makarov  <vmakarov@redhat.com>
41121         PR rtl-optimization/57189
41122         * lra-constraints.c (process_alt_operands): Disfavor spilling
41123         vector pseudos.
41125 2014-03-13  Cesar Philippidis  <cesar@codesourcery.com>
41127         * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
41129 2014-03-13  Jakub Jelinek  <jakub@redhat.com>
41131         PR tree-optimization/59025
41132         PR middle-end/60418
41133         * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
41134         same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
41136 2014-03-13  Georg-Johann Lay  <avr@gjlay.de>
41138         PR target/60486
41139         * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
41140         calls of avr_out_plus_1.
41142 2014-03-13  Bin Cheng  <bin.cheng@arm.com>
41144         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
41145         BB's single pred and update the father loop's latch info later.
41147 2014-03-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
41149         * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
41150         (VEC_M): Likewise.
41151         (VEC_N): Likewise.
41152         (VEC_R): Likewise.
41153         (VEC_base): Likewise.
41154         (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
41155         registers, we need to swap double words in little endian mode.
41157         * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
41158         to be a container mode for 128-bit integer operations added in ISA
41159         2.07.  Unlike TImode and PTImode, the preferred register set is
41160         the Altivec/VMX registers for the 128-bit operations.
41162         * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
41163         declarations.
41164         (rs6000_split_128bit_ok_p): Likewise.
41166         * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
41167         macros for creating ISA 2.07 normal and overloaded builtin
41168         functions with 3 arguments.
41169         (BU_P8V_OVERLOAD_3): Likewise.
41170         (VPERM_1T): Add support for V1TImode in 128-bit vector operations
41171         for use as overloaded functions.
41172         (VPERM_1TI_UNS): Likewise.
41173         (VSEL_1TI): Likewise.
41174         (VSEL_1TI_UNS): Likewise.
41175         (ST_INTERNAL_1ti): Likewise.
41176         (LD_INTERNAL_1ti): Likewise.
41177         (XXSEL_1TI): Likewise.
41178         (XXSEL_1TI_UNS): Likewise.
41179         (VPERM_1TI): Likewise.
41180         (VPERM_1TI_UNS): Likewise.
41181         (XXPERMDI_1TI): Likewise.
41182         (SET_1TI): Likewise.
41183         (LXVD2X_V1TI): Likewise.
41184         (STXVD2X_V1TI): Likewise.
41185         (VEC_INIT_V1TI): Likewise.
41186         (VEC_SET_V1TI): Likewise.
41187         (VEC_EXT_V1TI): Likewise.
41188         (EQV_V1TI): Likewise.
41189         (NAND_V1TI): Likewise.
41190         (ORC_V1TI): Likewise.
41191         (VADDCUQ): Add support for 128-bit integer arithmetic instructions
41192         added in ISA 2.07.  Add both normal 'altivec' builtins, and the
41193         overloaded builtin.
41194         (VADDUQM): Likewise.
41195         (VSUBCUQ): Likewise.
41196         (VADDEUQM): Likewise.
41197         (VADDECUQ): Likewise.
41198         (VSUBEUQM): Likewise.
41199         (VSUBECUQ): Likewise.
41201         * config/rs6000/rs6000-c.c (__int128_type): New static to hold
41202         __int128_t and __uint128_t types.
41203         (__uint128_type): Likewise.
41204         (altivec_categorize_keyword): Add support for vector __int128_t,
41205         vector __uint128_t, vector __int128, and vector unsigned __int128
41206         as a container type for TImode operations that need to be done in
41207         VSX/Altivec registers.
41208         (rs6000_macro_to_expand): Likewise.
41209         (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
41210         to support 128-bit integer instructions vaddcuq, vadduqm,
41211         vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
41212         (altivec_resolve_overloaded_builtin): Add support for V1TImode.
41214         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
41215         for V1TImode, and set up preferences to use VSX/Altivec registers.
41216         Setup VSX reload handlers.
41217         (rs6000_debug_reg_global): Likewise.
41218         (rs6000_init_hard_regno_mode_ok): Likewise.
41219         (rs6000_preferred_simd_mode): Likewise.
41220         (vspltis_constant): Do not allow V1TImode as easy altivec constants.
41221         (easy_altivec_constant): Likewise.
41222         (output_vec_const_move): Likewise.
41223         (rs6000_expand_vector_set): Convert V1TImode set and extract to
41224         simple move.
41225         (rs6000_expand_vector_extract): Likewise.
41226         (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
41227         addressing.
41228         (rs6000_const_vec): Add support for V1TImode.
41229         (rs6000_emit_le_vsx_load): Swap double words when loading or
41230         storing TImode/V1TImode.
41231         (rs6000_emit_le_vsx_store): Likewise.
41232         (rs6000_emit_le_vsx_move): Likewise.
41233         (rs6000_emit_move): Add support for V1TImode.
41234         (altivec_expand_ld_builtin): Likewise.
41235         (altivec_expand_st_builtin): Likewise.
41236         (altivec_expand_vec_init_builtin): Likewise.
41237         (altivec_expand_builtin): Likewise.
41238         (rs6000_init_builtins): Add support for V1TImode type.  Add
41239         support for ISA 2.07 128-bit integer builtins.  Define type names
41240         for the VSX/Altivec vector types.
41241         (altivec_init_builtins): Add support for overloaded vector
41242         functions with V1TImode type.
41243         (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
41244         (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
41245         external function.
41246         (rs6000_split_128bit_ok_p): Likewise.
41247         (rs6000_handle_altivec_attribute): Create V1TImode from vector
41248         __int128_t and vector __uint128_t.
41250         * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
41251         and mode attributes.
41252         (VSX_M): Likewise.
41253         (VSX_M2): Likewise.
41254         (VSm): Likewise.
41255         (VSs): Likewise.
41256         (VSr): Likewise.
41257         (VSv): Likewise.
41258         (VS_scalar): Likewise.
41259         (VS_double): Likewise.
41260         (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
41262         * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
41263         we support the ISA 2.07 128-bit integer arithmetic instructions.
41264         (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
41265         (enum rs6000_builtin_type_index): Add fields to hold V1TImode
41266         and TImode types for use with the builtin functions.
41267         (V1TI_type_node): Likewise.
41268         (unsigned_V1TI_type_node): Likewise.
41269         (intTI_type_internal_node): Likewise.
41270         (uintTI_type_internal_node): Likewise.
41272         * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
41273         128-bit builtin functions.
41274         (UNSPEC_VADDEUQM): Likewise.
41275         (UNSPEC_VADDECUQ): Likewise.
41276         (UNSPEC_VSUBCUQ): Likewise.
41277         (UNSPEC_VSUBEUQM): Likewise.
41278         (UNSPEC_VSUBECUQ): Likewise.
41279         (VM): Add V1TImode to vector mode iterators.
41280         (VM2): Likewise.
41281         (VI_unit): Likewise.
41282         (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
41283         (altivec_vaddcuq): Likewise.
41284         (altivec_vsubuqm): Likewise.
41285         (altivec_vsubcuq): Likewise.
41286         (altivec_vaddeuqm): Likewise.
41287         (altivec_vaddecuq): Likewise.
41288         (altivec_vsubeuqm): Likewise.
41289         (altivec_vsubecuq): Likewise.
41291         * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
41292         mode iterators.
41293         (BOOL_128): Likewise.
41294         (BOOL_REGS_OUTPUT): Likewise.
41295         (BOOL_REGS_OP1): Likewise.
41296         (BOOL_REGS_OP2): Likewise.
41297         (BOOL_REGS_UNARY): Likewise.
41298         (BOOL_REGS_AND_CR0): Likewise.
41300         * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
41301         128-bit integer builtin support.
41302         (vec_vadduqm): Likewise.
41303         (vec_vaddecuq): Likewise.
41304         (vec_vaddeuqm): Likewise.
41305         (vec_vsubecuq): Likewise.
41306         (vec_vsubeuqm): Likewise.
41307         (vec_vsubcuq): Likewise.
41308         (vec_vsubuqm): Likewise.
41310         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
41311         Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
41312         vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
41313         128-bit integer add/subtract to ISA 2.07.
41315 2014-03-12  Joern Rennecke  <joern.rennecke@embecosm.com>
41317         * config/arc/arc.c (arc_predicate_delay_insns):
41318         Fix third argument passed to conditionalize_nonjump.
41320 2014-03-12  Yufeng Zhang  <yufeng.zhang@arm.com>
41322         * config/aarch64/aarch64-builtins.c
41323         (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
41324         BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
41325         * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
41326         instead of __builtin_lfloor.
41327         (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
41329 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
41331         * tree-ssa-ifcombine.c (forwarder_block_to): New function.
41332         (tree_ssa_ifcombine_bb_1): New function.
41333         (tree_ssa_ifcombine_bb): Use it.  Handle also cases where else_bb
41334         is an empty forwarder block to then_bb or vice versa and then_bb
41335         and else_bb are effectively swapped.
41337 2014-03-12  Christian Bruel  <christian.bruel@st.com>
41339         PR target/60264
41340         * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
41341         REG_CFA_DEF_CFA note.
41342         (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
41343         (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
41345 2014-03-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
41347         PR tree-optimization/60454
41348         * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
41350 2014-03-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
41352         * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
41353         Do not define target_cpu_default2 to generic.
41354         * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
41355         * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
41356         * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
41358 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
41359             Marc Glisse  <marc.glisse@inria.fr>
41361         PR tree-optimization/60502
41362         * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
41363         instead of build_low_bits_mask.
41365 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
41367         PR middle-end/60482
41368         * tree-vrp.c (register_edge_assert_for_1): Don't add assert
41369         if there are multiple uses, but op doesn't live on E edge.
41370         * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
41371         clobber stmts before __builtin_unreachable.
41373 2014-03-11  Richard Sandiford  <rdsandiford@googlemail.com>
41375         * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
41376         hard_frame_pointer_rtx.
41377         * cse.c (cse_insn): Remove volatile check.
41378         * cselib.c (cselib_process_insn): Likewise.
41379         * dse.c (scan_insn): Likewise.
41381 2014-03-11  Joern Rennecke  <joern.rennecke@embecosm.com>
41383         * config/arc/arc.c (conditionalize_nonjump): New function,
41384         broken out of ...
41385         (arc_ifcvt): ... this.
41386         (arc_predicate_delay_insns): Use it.
41388 2014-03-11  Joern Rennecke  <joern.rennecke@embecosm.com>
41390         * config/arc/predicates.md (extend_operand): During/after reload,
41391         allow const_int_operand.
41392         * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
41393         (umulsidi3_700): Likewise.  Change operand 2 constraint back to "cL".
41394         (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
41395         to "i".
41396         (umulsi3_highpart_i): Likewise.
41398 2014-03-11  Richard Biener  <rguenther@suse.de>
41400         * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
41401         Add asserts to guard possible wrong-code bugs.
41403 2014-03-11  Richard Biener  <rguenther@suse.de>
41405         PR tree-optimization/60429
41406         PR tree-optimization/60485
41407         * tree-ssa-structalias.c (set_union_with_increment): Properly
41408         take into account all fields that overlap the shifted vars.
41409         (do_sd_constraint): Likewise.
41410         (do_ds_constraint): Likewise.
41411         (get_constraint_for_ptr_offset): Likewise.
41413 2014-03-11  Chung-Lin Tang  <cltang@codesourcery.com>
41415         * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
41416         (nios2_compute_frame_layout):
41417         Add calculation of cfun->machine->fp_save_offset.
41418         (nios2_expand_prologue): Correct setting of frame pointer register
41419         in prologue.
41420         (nios2_expand_epilogue): Update recovery of stack pointer from
41421         frame pointer accordingly.
41422         (nios2_initial_elimination_offset): Update calculation of offset
41423         for eliminating to HARD_FRAME_POINTER_REGNUM.
41425 2014-03-10  Jakub Jelinek  <jakub@redhat.com>
41427         PR ipa/60457
41428         * ipa.c (symtab_remove_unreachable_nodes): Don't call
41429         cgraph_get_create_node on VAR_DECLs.
41431 2014-03-10  Richard Biener  <rguenther@suse.de>
41433         PR middle-end/60474
41434         * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
41436 2014-03-08  Douglas B Rupp  <rupp@gnat.com>
41438         * config/vms/vms.opt (vms_float_format): New variable.
41440 2014-03-08  Tobias Burnus  <burnus@net-b.de>
41442         * doc/invoke.texi (-fcilkplus): Update implementation status.
41444 2014-03-08  Paulo Matos  <paulo@matos-sorge.com>
41445             Richard Biener  <rguenther@suse.de>
41447         * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
41448         consistently accross all TUs.
41449         (run_gcc): Enable -fshort-double automatically at link at link-time
41450         and disallow override.
41452 2014-03-08  Richard Sandiford  <rdsandiford@googlemail.com>
41454         PR target/58271
41455         * config/mips/mips.c (mips_option_override): Promote -mpaired-single
41456         warning to an error.  Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
41457         if they can't be used.
41459 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
41461         * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
41462         for Solaris 11/x86 ld.
41463         * configure: Regenerate.
41465 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
41467         * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
41468         (LIB_TLS_SPEC): Save as ld_tls_libs.
41469         (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
41470         (HAVE_AS_IX86_TLSLDM): New test.
41471         * configure, config.in: Regenerate.
41472         * config/i386/i386.c (legitimize_tls_address): Fall back to
41473         TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
41474         cannot support TLS_MODEL_LOCAL_DYNAMIC.
41475         * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
41476         instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
41478 2014-03-07  Paulo Matos  <paulo@matos-sorge.com>
41480         * common.opt (fira-loop-pressure): Mark as optimization.
41482 2014-03-07  Thomas Schwinge  <thomas@codesourcery.com>
41484         * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
41485         an OpenMP mappable type.
41487 2014-03-06  Matthias Klose  <doko@ubuntu.com>
41489         * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
41490         MULTILIB_OSDIRNAMES is not defined.
41492 2014-03-06  Jakub Jelinek  <jakub@redhat.com>
41493             Meador Inge  <meadori@codesourcery.com>
41495         PR target/58595
41496         * config/arm/arm.c (arm_tls_symbol_p): Remove.
41497         (arm_legitimize_address): Call legitimize_tls_address for any
41498         arm_tls_referenced_p expression, handle constant addend.  Call it
41499         before testing for !TARGET_ARM.
41500         (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
41502 2014-03-06  Richard Biener  <rguenther@suse.de>
41504         PR middle-end/60445
41505         PR lto/60424
41506         PR lto/60427
41507         Revert
41508         2014-03-04  Paulo Matos  <paulo@matos-sorge.com>
41510         * tree-streamer.c (record_common_node): Assert we don't record
41511         nodes with type double.
41512         (preload_common_node): Skip type double, complex double and double
41513         pointer since it is now frontend dependent due to fshort-double option.
41515 2014-03-06  Richard Biener  <rguenther@suse.de>
41517         * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
41518         or -fno-lto is specified and the linker has full plugin support.
41519         * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
41520         (main): Remove -flto processing, adjust lto_mode using use_plugin late.
41521         * lto-wrapper.c (merge_and_complain): Merge compile-time
41522         optimization levels.
41523         (run_gcc): And pass it through to the link options.
41525 2014-03-06  Alexandre Oliva  <aoliva@redhat.com>
41527         PR debug/60381
41528         Revert:
41529         2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
41530         PR debug/59992
41531         * cselib.c (remove_useless_values): Skip to avoid quadratic
41532         behavior if the condition moved from...
41533         (cselib_process_insn): ... here holds.
41535 2014-03-05  Jakub Jelinek  <jakub@redhat.com>
41537         PR plugins/59335
41538         * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
41539         ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
41541         PR plugins/59335
41542         * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
41543         (TM_H): Add x86-tune.def.
41545 2014-03-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
41547         * config/aarch64/aarch64.c (generic_tunings):
41548         Use cortexa57_extra_costs.
41550 2014-03-05  Jakub Jelinek  <jakub@redhat.com>
41552         PR lto/60404
41553         * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
41554         of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
41555         * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
41556         cost for in_lto_p.
41558 2014-03-04  Heiher  <r@hev.cc>
41560         * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
41561         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
41563 2014-03-04  Uros Bizjak  <ubizjak@gmail.com>
41565         * config/i386/predicates.md (const2356_operand): Change to ...
41566         (const2367_operand): ... this.
41567         * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
41568         const2367_operand.
41569         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
41570         (*avx512pf_scatterpf<mode>sf): Ditto.
41571         (avx512pf_scatterpf<mode>df): Ditto.
41572         (*avx512pf_scatterpf<mode>df_mask): Ditto.
41573         (*avx512pf_scatterpf<mode>df): Ditto.
41574         * config/i386/i386.c (ix86_expand_builtin): Update
41575         incorrect hint operand error message.
41577 2014-03-04  Richard Biener  <rguenther@suse.de>
41579         * lto-section-in.c (lto_get_section_data): Fix const cast.
41581 2014-03-04  Paulo Matos  <paulo@matos-sorge.com>
41583         * tree-streamer.c (record_common_node): Assert we don't record
41584         nodes with type double.
41585         (preload_common_node): Skip type double, complex double and double
41586         pointer since it is now frontend dependent due to fshort-double option.
41588 2014-03-04  Richard Biener  <rguenther@suse.de>
41590         PR lto/60405
41591         * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
41592         (lto_input_toplevel_asms): Likewise.
41593         * lto-section-in.c (lto_get_section_data): Instead do it here
41594         for every section.
41596 2014-03-04  Richard Biener  <rguenther@suse.de>
41598         PR tree-optimization/60382
41599         * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
41600         dead PHIs a reduction.
41602 2014-03-03  Uros Bizjak  <ubizjak@gmail.com>
41604         * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
41605         hint value.
41606         (_mm_prefetch): Move out of GCC target("sse") pragma.
41607         * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
41608         GCC target("prfchw") pragma.
41609         * config/i386/i386.md (prefetch): Emit prefetchwt1 only
41610         for locality <= 2.
41611         * config/i386/i386.c (ix86_option_override_internal): Enable
41612         -mprfchw with -mprefetchwt1.
41614 2014-03-03  Joern Rennecke  <joern.rennecke@embecosm.com>
41616         * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
41617         Mark as varying.
41619 2014-03-03  Joern Rennecke  <joern.rennecke@embecosm.com>
41621         * opts.h (CL_PCH_IGNORE): Define.
41622         * targhooks.c (option_affects_pch_p):
41623         Return false for options that have CL_PCH_IGNORE set.
41624         * opt-functions.awk: Process PchIgnore.
41625         * doc/options.texi: Document PchIgnore.
41627         * config/arc/arc.opt (misize): Add PchIgnore property.
41629 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
41631         * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
41632         reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
41633         constraint on constants to permit them being loaded into
41634         GENERAL_REGS or BASE_REGS.
41636 2014-03-03  Nick Clifton  <nickc@redhat.com>
41638         * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
41639         anti-cacnonical alternatives.
41640         (negandhi3_real): New pattern.
41641         * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
41643 2014-03-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
41645         * config/avr/avr-mcus.def: Remove atxmega16x1.
41646         * config/avr/avr-tables.opt: Regenerate.
41647         * config/avr/t-multilib: Regenerate.
41648         * doc/avr-mmcu.texi: Regenerate.
41650 2014-03-03  Tobias Grosser  <tobias@grosser.es>
41651             Mircea Namolaru  <mircea.namolaru@inria.fr>
41653         PR tree-optimization/58028
41654         * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
41655         scalar dimensions.
41657 2014-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
41659         * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
41660         not handled by recognizers.
41662 2014-03-03  Jakub Jelinek  <jakub@redhat.com>
41664         PR middle-end/60175
41665         * function.c (expand_function_end): Don't emit
41666         clobber_return_register sequence if clobber_after is a BARRIER.
41667         * cfgexpand.c (construct_exit_block): Append instructions before
41668         return_label to prev_bb.
41670 2014-03-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
41672         * config/rs6000/constraints.md: Document reserved use of "wc".
41674 2014-03-02  Jan Hubicka  <hubicka@ucw.cz>
41676         PR ipa/60150
41677         * ipa.c (function_and_variable_visibility): When dissolving comdat
41678         group, also set all symbols to local.
41680 2014-03-02  Jan Hubicka  <hubicka@ucw.cz>
41682         PR ipa/60306
41684         Revert:
41685         2013-12-14  Jan Hubicka  <jh@suse.cz>
41686         PR middle-end/58477
41687         * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
41689 2014-03-02  Jon Beniston  <jon@beniston.com>
41691         PR bootstrap/48230
41692         PR bootstrap/50927
41693         PR bootstrap/52466
41694         PR target/46898
41695         * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
41696         (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
41697         * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
41698         (simple_return, *simple_return): New patterns
41699         * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
41700         * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
41702 2014-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
41704         * dwarf2out.c (gen_subprogram_die): Tidy.
41706 2014-03-01  Oleg Endo  <olegendo@gcc.gnu.org>
41708         PR target/60071
41709         * config/sh/sh.md (*mov_t_msb_neg): Split into ...
41710         (*mov_t_msb_neg_negc): ... this new insn.
41712 2014-02-28  Jason Merrill  <jason@redhat.com>
41714         PR c++/58678
41715         * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
41716         function.
41718 2014-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
41720         PR c++/60314
41721         * dwarf2out.c (decltype_auto_die): New static.
41722         (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
41723         (gen_type_die_with_usage): Handle 'decltype(auto)'.
41724         (is_cxx_auto): Likewise.
41726 2014-02-28  Ian Bolton  <ian.bolton@arm.com>
41728         * config/aarch64/aarch64.h: Define __ARM_NEON by default if
41729         we are not using general regs only.
41731 2014-02-28  Richard Biener  <rguenther@suse.de>
41733         PR target/60280
41734         * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
41735         previous fix and only allow to remove trivial pre-headers
41736         and latches.  Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
41737         (remove_forwarder_block): Properly update the latch of a loop.
41739 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
41741         PR debug/59992
41742         * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
41743         (cselib_preserved_hash_table): New.
41744         (preserve_constants_and_equivs): Move preserved vals to it.
41745         (cselib_find_slot): Look it up first.
41746         (cselib_init): Initialize it.
41747         (cselib_finish): Release it.
41748         (dump_cselib_table): Dump it.
41750 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
41752         PR debug/59992
41753         * cselib.c (remove_useless_values): Skip to avoid quadratic
41754         behavior if the condition moved from...
41755         (cselib_process_insn): ... here holds.
41757 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
41759         PR debug/57232
41760         * var-tracking.c (vt_initialize): Apply the same condition to
41761         preserve the CFA base value.
41763 2014-02-28  Joey Ye  <joey.ye@arm.com>
41765         PR target/PR60169
41766         * config/arm/arm.c (thumb_far_jump_used_p): Don't change
41767         if reload in progress or completed.
41769 2014-02-28  Tobias Burnus  <burnus@net-b.de>
41771         PR middle-end/60147
41772         * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
41773         NAMELIST_DECL.
41775 2014-02-27  H.J. Lu  <hongjiu.lu@intel.com>
41777         * doc/tm.texi.in (Condition Code Status): Update documention for
41778         relative locations of cc0-setter and cc0-user.
41780 2014-02-27  Jeff Law  <law@redhat.com>
41782         PR rtl-optimization/52714
41783         * combine.c (try_combine): When splitting an unrecognized PARALLEL
41784         into two independent simple sets, if I3 is a jump, ensure the
41785         pattern we place into I3 is a (set (pc) ...).
41787 2014-02-27  Mikael Pettersson  <mikpe@it.uu.se>
41788             Jeff Law  <law@redhat.com>
41790         PR rtl-optimization/49847
41791         * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
41792         are in different blocks.
41793         * doc/tm.texi (Condition Code Status): Update documention for
41794         relative locations of cc0-setter and cc0-user.
41796 2014-02-27  Vladimir Makarov  <vmakarov@redhat.com>
41798         PR target/59222
41799         * lra.c (lra_emit_add): Check SUBREG too.
41801 2014-02-27  Andreas Schwab  <schwab@suse.de>
41803         * config/m68k/m68k.c (m68k_option_override): Disable
41804         -flive-range-shrinkage for classic m68k.
41805         (m68k_override_options_after_change): Likewise.
41807 2014-02-27  Marek Polacek  <polacek@redhat.com>
41809         PR middle-end/59223
41810         * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
41811         -Wmaybe-uninitialized.
41813 2014-02-27  Alan Modra  <amodra@gmail.com>
41815         PR target/57936
41816         * reload1.c (emit_input_reload_insns): When reload_override_in,
41817         set old to rl->in_reg when rl->in_reg is a subreg.
41819 2014-02-26  Richard Biener  <rguenther@suse.de>
41821         PR bootstrap/60343
41822         * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
41824 2014-02-25  Ilya Tocar  <ilya.tocar@intel.com>
41826         * common/config/i386/predicates.md (const1256_operand): Remove.
41827         (const2356_operand): New.
41828         (const_1_to_2_operand): Remove.
41829         * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
41830         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
41831         (*avx512pf_gatherpf<mode>sf): Ditto.
41832         (avx512pf_gatherpf<mode>df): Ditto.
41833         (*avx512pf_gatherpf<mode>df_mask): Ditto.
41834         (*avx512pf_gatherpf<mode>df): Ditto.
41835         (avx512pf_scatterpf<mode>sf): Ditto.
41836         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
41837         (*avx512pf_scatterpf<mode>sf): Ditto.
41838         (avx512pf_scatterpf<mode>df): Ditto.
41839         (*avx512pf_scatterpf<mode>df_mask): Ditto.
41840         (*avx512pf_scatterpf<mode>df): Ditto.
41841         * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
41843 2014-02-26  Ilya Tocar  <ilya.tocar@intel.com>
41845         * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
41846         (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
41847         (_mm512_mask_testn_epi64_mask): Move to ...
41848         * config/i386/avx512cdintrin.h: Here.
41849         * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
41850         * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
41851         (avx512f_scalef<mode><mask_name><round_name>): Ditto.
41852         (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
41853         TARGET_AVX512F from TARGET_AVX512CD.
41855 2014-02-26  Richard Biener  <rguenther@suse.de>
41857         PR ipa/60327
41858         * ipa.c (walk_polymorphic_call_targets): Properly guard
41859         call to inline_update_overall_summary.
41861 2014-02-26  Bin Cheng  <bin.cheng@arm.com>
41863         PR target/60280
41864         * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
41865         and latches only if requested.  Fix latch if it is removed.
41866         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
41867         LOOPS_HAVE_PREHEADERS.
41869 2014-02-25  Andrew Pinski  <apinski@cavium.com>
41871         * builtins.c (expand_builtin_thread_pointer): Create a new target
41872         when the target is NULL.
41874 2014-02-25  Vladimir Makarov  <vmakarov@redhat.com>
41876         PR rtl-optimization/60317
41877         * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
41878         * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
41879         * lra-assigns.c: Include params.h.
41880         (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
41881         other reload pseudos considerations.
41883 2014-02-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
41885         * config/rs6000/vector.md (*vector_unordered<mode>): Change split
41886         to use canonical form for nor<mode>3.
41888 2014-02-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
41890         PR target/55426
41891         * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
41892         conversions.
41894 2014-02-25  Ilya Tocar  <ilya.tocar@intel.com>
41896         * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
41897         (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
41898         (ix86_handle_option): Handle OPT_mprefetchwt1.
41899         * config/i386/cpuid.h (bit_PREFETCHWT1): New.
41900         * config/i386/driver-i386.c (host_detect_local_cpu): Detect
41901         PREFETCHWT1 CPUID.
41902         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
41903         OPTION_MASK_ISA_PREFETCHWT1.
41904         * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
41905         (PTA_PREFETCHWT1): New.
41906         (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
41907         (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
41908         * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
41909         * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
41910         (*prefetch_avx512pf_<mode>_: Change into ...
41911         (*prefetch_prefetchwt1_<mode>: This.
41912         * config/i386/i386.opt (mprefetchwt1): New.
41913         * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
41914         (_mm_prefetch): Handle intent to write.
41915         * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
41917 2014-02-25  Richard Biener  <rguenther@suse.de>
41919         PR middle-end/60291
41920         * emit-rtl.c (mem_attrs_htab): Remove.
41921         (mem_attrs_htab_hash): Likewise.
41922         (mem_attrs_htab_eq): Likewise.
41923         (set_mem_attrs): Always allocate new mem-attrs when something changed.
41924         (init_emit_once): Do not allocate mem_attrs_htab.
41926 2014-02-25  Richard Biener  <rguenther@suse.de>
41928         PR lto/60319
41929         * lto-opts.c (lto_write_options): Output non-explicit conservative
41930         -fwrapv, -fno-trapv and -fno-strict-overflow.
41931         * lto-wrapper.c (merge_and_complain): Handle merging those options.
41932         (run_gcc): And pass them through.
41934 2014-02-25  Andrey Belevantsev  <abel@ispras.ru>
41936         * sel-sched.c (calculate_new_fences): New parameter ptime.
41937         Calculate it as a maximum over all fence cycles.
41938         (sel_sched_region_2): Adjust the call to calculate_new_fences.
41939         Print the final schedule timing when sched_verbose.
41941 2014-02-25  Andrey Belevantsev  <abel@ispras.ru>
41943         PR rtl-optimization/60292
41944         * sel-sched.c (fill_vec_av_set): Do not reset target availability
41945         bit fot the fence instruction.
41947 2014-02-24  Alangi Derick  <alangiderick@gmail.com>
41949         * calls.h: Fix typo in comment.
41951 2014-02-24  John David Anglin  <danglin@gcc.gnu.org>
41953         * config/pa/pa.c (pa_output_move_double): Don't valididate when
41954         adjusting offsetable addresses.
41956 2014-02-24  Guozhi Wei  <carrot@google.com>
41958         * sparseset.h (sparseset_pop): Fix the wrong index.
41960 2014-02-24  Walter Lee  <walt@tilera.com>
41962         * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
41963         (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
41964         triplet.
41965         * common/config/tilegx/tilegx-common.c
41966         (TARGET_DEFAULT_TARGET_FLAGS): Define.
41967         * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
41968         (LINK_SPEC): Ditto.
41969         * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
41970         * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
41971         (tilegx_gimplify_va_arg_expr): Handle big endian.
41972         (tilegx_expand_unaligned_load): Ditto.
41973         (tilegx_expand_unaligned_store): Ditto.
41974         (TARGET_RETURN_IN_MSB): New.
41975         * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
41976         (TARGET_ENDIAN_DEFAULT): New.
41977         (TARGET_BIG_ENDIAN): Handle big endian.
41978         (BYTES_BIG_ENDIAN): Ditto.
41979         (WORDS_BIG_ENDIAN): Ditto.
41980         (FLOAT_WORDS_BIG_ENDIAN): Ditto.
41981         (ENDIAN_SPEC): New.
41982         (EXTRA_SPECS): New.
41983         * config/tilegx/tilegx.md (extv): Handle big endian.
41984         (extzv): Ditto.
41985         (insn_st<n>): Ditto.
41986         (insn_st<n>_add<bitsuffix>): Ditto.
41987         (insn_stnt<n>): Ditto.
41988         (insn_stnt<n>_add<bitsuffix>):Ditto.
41989         (vec_interleave_highv8qi): Handle big endian.
41990         (vec_interleave_highv8qi_be): New.
41991         (vec_interleave_highv8qi_le): New.
41992         (insn_v1int_h): Handle big endian.
41993         (vec_interleave_lowv8qi): Handle big endian.
41994         (vec_interleave_lowv8qi_be): New.
41995         (vec_interleave_lowv8qi_le): New.
41996         (insn_v1int_l): Handle big endian.
41997         (vec_interleave_highv4hi): Handle big endian.
41998         (vec_interleave_highv4hi_be): New.
41999         (vec_interleave_highv4hi_le): New.
42000         (insn_v2int_h): Handle big endian.
42001         (vec_interleave_lowv4hi): Handle big endian.
42002         (vec_interleave_lowv4hi_be): New.
42003         (vec_interleave_lowv4hi_le): New.
42004         (insn_v2int_l): Handle big endian.
42005         (vec_interleave_highv2si): Handle big endian.
42006         (vec_interleave_highv2si_be): New.
42007         (vec_interleave_highv2si_le): New.
42008         (insn_v4int_h): Handle big endian.
42009         (vec_interleave_lowv2si): Handle big endian.
42010         (vec_interleave_lowv2si_be): New.
42011         (vec_interleave_lowv2si_le): New.
42012         (insn_v4int_l): Handle big endian.
42013         * config/tilegx/tilegx.opt (mbig-endian): New option.
42014         (mlittle-endian): New option.
42015         * doc/install.texi: Document tilegxbe-linux.
42016         * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
42018 2014-02-24  Martin Jambor  <mjambor@suse.cz>
42020         PR ipa/60266
42021         * ipa-cp.c (propagate_constants_accross_call): Bail out early if
42022         there are no parameter descriptors.
42024 2014-02-24  Andrey Belevantsev  <abel@ispras.ru>
42026         PR rtl-optimization/60268
42027         * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
42028         initialization to ...
42029         (sched_rgn_init): ... here.
42030         (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
42032 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
42034         * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
42035         names.
42037 2014-02-23  Edgar E. Iglesias  <edgar.iglesias@xilinx.com>
42039         * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
42040         definition.
42042 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
42044         * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
42045         define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
42047 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
42049         * config/microblaze/predicates.md: Add cmp_op predicate.
42050         * config/microblaze/microblaze.md: Add branch_compare instruction
42051         which uses cmp_op predicate and emits cmp insn before branch.
42052         * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
42053         to microblaze_expand_conditional_branch and consolidate logic.
42054         (microblaze_expand_conditional_branch): emit branch_compare
42055         insn instead of handling cmp op separate from branch insn.
42057 2014-02-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42059         * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
42060         to permit subregs.
42062 2014-02-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42064         * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
42065         define_insn with define_expand and new define_insn
42066         *altivec_lve<VI_char>x_internal.
42067         (altivec_stve<VI_char>x): Replace define_insn with define_expand
42068         and new define_insn *altivec_stve<VI_char>x_internal.
42069         * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
42070         prototype.
42071         * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
42072         lve*x built-ins.
42073         (altivec_expand_stvex_be): New function.
42075 2014-02-22  Joern Rennecke  <joern.rennecke@embecosm.com>
42077         * config/avr/avr.c (avr_can_eliminate): Allow elimination from
42078         ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
42079         * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
42080         ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
42082 2014-02-21  Vladimir Makarov  <vmakarov@redhat.com>
42084         PR target/60298
42085         * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
42086         instead of emit_move_insn.
42088 2014-02-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42090         * config/rs6000/altivec.md (altivec_vsumsws): Replace second
42091         vspltw with vsldoi.
42092         (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
42093         gen_altivec_vsumsws.
42095 2014-02-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42097         * config/rs6000/altivec.md (altivec_lvxl): Rename as
42098         *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
42099         (altivec_lvxl_<mode>): New define_expand incorporating
42100         -maltivec=be semantics where needed.
42101         (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
42102         (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
42103         semantics where needed.
42104         (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
42105         (altivec_stvx_<mode>): New define_expand incorporating
42106         -maltivec=be semantics where needed.
42107         (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
42108         VM2 iterator instead of V4SI.
42109         (altivec_stvxl_<mode>): New define_expand incorporating
42110         -maltivec=be semantics where needed.
42111         * config/rs6000/rs6000-builtin.def: Add new built-in definitions
42112         LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
42113         LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
42114         STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
42115         STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
42116         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
42117         ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
42118         similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
42119         ALTIVEC_BUILTIN_STVXL.
42120         * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
42121         (altivec_expand_stvx_be): Likewise.
42122         * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
42123         (altivec_expand_lvx_be): Likewise.
42124         (altivec_expand_stvx_be): Likewise.
42125         (altivec_expand_builtin): Add cases for
42126         ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
42127         ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
42128         (altivec_init_builtins): Add definitions for
42129         __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
42130         __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
42132 2014-02-21  Catherine Moore  <clm@codesourcery.com>
42134         * doc/invoke.texi (mvirt, mno-virt): Document.
42135         * config/mips/mips.opt (mvirt): New option.
42136         * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
42138 2014-02-21  Richard Biener  <rguenther@suse.de>
42140         PR tree-optimization/60276
42141         * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
42142         (STMT_VINFO_MIN_NEG_DIST): New macro.
42143         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
42144         STMT_VINFO_MIN_NEG_DIST.
42145         * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
42146         made for negative dependence distances still hold.
42148 2014-02-21  Richard Biener  <rguenther@suse.de>
42150         PR middle-end/60291
42151         * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
42152         DECL_INITIAL for globals not in the current function context.
42154 2014-02-21  Jakub Jelinek  <jakub@redhat.com>
42156         PR tree-optimization/56490
42157         * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
42158         * tree-ssa-uninit.c: Include params.h.
42159         (compute_control_dep_chain): Add num_calls argument, return false
42160         if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
42161         num_calls to recursive call.
42162         (find_predicates): Change dep_chain into normal array,
42163         cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
42164         variable and adjust compute_control_dep_chain caller.
42165         (find_def_preds): Likewise.
42167 2014-02-21  Thomas Schwinge  <thomas@codesourcery.com>
42169         * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
42170         <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
42172 2014-02-21  Nick Clifton  <nickc@redhat.com>
42174         * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
42175         (pushhi1): Likewise.
42176         (popqi1): Add mode to pre_dec.
42177         (pophi1): Likewise.
42179 2014-02-21  Jakub Jelinek  <jakub@redhat.com>
42181         * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
42182         mode for mask of V8SFmode permutation.
42184 2014-02-20  Richard Henderson  <rth@redhat.com>
42186         PR c++/60272
42187         * builtins.c (expand_builtin_atomic_compare_exchange): Always make
42188         a new pseudo for OLDVAL.
42190 2014-02-20  Jakub Jelinek  <jakub@redhat.com>
42192         PR target/57896
42193         * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
42194         gen_reg_rtx if d->testing_p.
42195         (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
42196         if d->testing_p and we will certainly return true.
42197         (expand_vec_perm_even_odd_1): Likewise.  Don't call gen_reg_rtx
42198         if d->testing_p.
42200 2014-02-20  Uros Bizjak  <ubizjak@gmail.com>
42202         * emit-rtl.c (gen_reg_rtx): Assert that
42203         crtl->emit.regno_pointer_align_length is non-zero.
42205 2014-02-20  Richard Henderson  <rth@redhat.com>
42207         PR c++/60272
42208         * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
42209         on failure the store back into EXPECT.
42211 2014-02-20  Chung-Lin Tang  <cltang@codesourcery.com>
42212             Sandra Loosemore  <sandra@codesourcery.com>
42214         * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
42215         * config/nios2/nios2.c (nios2_function_profiler): Add
42216         -fPIC (flag_pic == 2) support.
42217         (nios2_handle_custom_fpu_cfg): Fix warning parameter.
42218         (nios2_large_offset_p): New function.
42219         (nios2_unspec_reloc_p): Move up position, update to use
42220         nios2_large_offset_p.
42221         (nios2_unspec_address): Remove function.
42222         (nios2_unspec_offset): New function.
42223         (nios2_large_got_address): New function.
42224         (nios2_got_address): Add large offset support.
42225         (nios2_legitimize_tls_address): Update usage of removed and new
42226         functions.
42227         (nios2_symbol_binds_local_p): New function.
42228         (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
42229         (nios2_legitimize_address): Update to use nios2_large_offset_p.
42230         (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
42231         (nios2_print_operand): Merge H/L processing, add hiadj/lo
42232         processing for (const (unspec ...)).
42233         (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
42235 2014-02-20  Richard Biener  <rguenther@suse.de>
42237         * tree-cfg.c (replace_uses_by): Mark altered BBs before
42238         doing the substitution.
42239         (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
42241 2014-02-20  Martin Jambor  <mjambor@suse.cz>
42243         PR ipa/55260
42244         * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
42245         info when checking whether lattices are bottom.
42247 2014-02-20  Richard Biener  <rguenther@suse.de>
42249         PR middle-end/60221
42250         * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
42251         regions at -O0.
42253 2014-02-20  Jan Hubicka  <hubicka@ucw.cz>
42255         PR ipa/58555
42256         * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
42257         parameter specifying the scaling.
42258         (inline_call): Update.
42259         (want_inline_recursively): Guard division by zero.
42260         (recursive_inlining): Update.
42261         * ipa-inline.h (clone_inlined_nodes): Update.
42263 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
42265         PR target/60204
42266         * config/i386/i386.c (classify_argument): Pass structures of size
42267         64 bytes or less in register.
42269 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
42270             Kirill Yukhin  <kirill.yukhin@intel.com>
42272         * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
42273         (_mm_rcp28_round_ss): Ditto.
42274         (_mm_rsqrt28_round_sd): Ditto.
42275         (_mm_rsqrt28_round_ss): Ditto.
42276         * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
42277         (_mm_rcp14_round_ss): Ditto.
42278         (_mm_rsqrt14_round_sd): Ditto.
42279         (_mm_rsqrt14_round_ss): Ditto.
42280         * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
42281         the first input operand, get rid of match_dup.
42282         (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
42283         attribute to sse.
42284         (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
42285         Ditto.
42286         (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
42287         operand as the first input operand, set type attribute.
42288         (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
42289         Set type attribute.
42290         (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
42291         operand as the first input operand, set type attribute.
42293 2014-02-19  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42295         * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
42296         bit of zero.
42298 2014-02-19  H.J. Lu  <hongjiu.lu@intel.com>
42300         PR target/60207
42301         * config/i386/i386.c (construct_container): Remove TFmode check
42302         for X86_64_INTEGER_CLASS.
42304 2014-02-19  Uros Bizjak  <ubizjak@gmail.com>
42306         PR target/59794
42307         * config/i386/i386.c (type_natural_mode): Warn for ABI changes
42308         only when -Wpsabi is enabled.
42310 2014-02-19  Michael Hudson-Doyle  <michael.hudson@linaro.org>
42312         PR target/59799
42313         * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
42314         passing arrays in registers are the same as for structs, so remove the
42315         special case for them.
42317 2014-02-19  Eric Botcazou  <ebotcazou@adacore.com>
42319         * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
42320         destination type, extract only the valid bits if the source type is not
42321         integral and has a different mode.
42323 2014-02-19  Richard Biener  <rguenther@suse.de>
42325         PR ipa/60243
42326         * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
42327         for all calls.
42329 2014-02-19  Richard Biener  <rguenther@suse.de>
42331         PR ipa/60243
42332         * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
42333         (ipa_modify_call_arguments): Emit an argument load explicitely and
42334         preserve virtual SSA form there and for the replacement call.
42335         Do not update SSA form nor free dominance info.
42337 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
42339         * ipa.c (function_and_variable_visibility): Also clear WEAK
42340         flag when disolving COMDAT_GROUP.
42342 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
42344         * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
42345         * ipa-prop.c (ipa_set_jf_known_type): Return early when
42346         not devirtualizing.
42347         (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
42348         do more sanity checks.
42349         (detect_type_change): Return true when giving up early.
42350         (compute_complex_assign_jump_func): Fix type parameter of
42351         ipa_set_ancestor_jf.
42352         (compute_complex_ancestor_jump_func): Likewise.
42353         (update_jump_functions_after_inlining): Fix updating of
42354         ancestor function.
42355         * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
42357 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
42359         * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
42360         inline clones when edge disappears.
42362 2014-02-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
42364         PR target/60203
42365         * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
42366         Split 64-bit moves into 2 patterns.  Do not allow the use of
42367         direct move for TDmode in little endian, since the decimal value
42368         has little endian bytes within a word, but the 64-bit pieces are
42369         ordered in a big endian fashion, and normal subreg's of TDmode are
42370         not allowed.
42371         (mov<mode>_64bit_dm): Likewise.
42372         (movtd_64bit_nodm): Likewise.
42374 2014-02-18  Eric Botcazou  <ebotcazou@adacore.com>
42376         PR tree-optimization/60174
42377         * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
42378         statement of an SSA_NAME that occurs in an abnormal PHI node.
42380 2014-02-18  Jakub Jelinek  <jakub@redhat.com>
42382         PR sanitizer/60142
42383         * final.c (SEEN_BB): Remove.
42384         (SEEN_NOTE, SEEN_EMITTED): Renumber.
42385         (final_scan_insn): Don't force_source_line on second
42386         NOTE_INSN_BASIC_BLOCK.
42388 2014-02-18  Uros Bizjak  <ubizjak@gmail.com>
42390         PR target/60205
42391         * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
42392         * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
42393         (type_natural_mode): Warn ABI change when %zmm register is not
42394         available for AVX512F vector value passing.
42396 2014-02-18  Kai Tietz  <ktietz@redhat.com>
42398         PR target/60193
42399         * config/i386/i386.c (ix86_expand_prologue): Use value in
42400         rax register as displacement when restoring %r10 or %rax.
42401         Fix wrong offset when restoring both registers.
42403 2014-02-18  Eric Botcazou  <ebotcazou@adacore.com>
42405         * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
42406         assertion with conditional return.
42408 2014-02-18  Jakub Jelinek  <jakub@redhat.com>
42409             Uros Bizjak  <ubizjak@gmail.com>
42411         PR driver/60233
42412         * config/i386/driver-i386.c (host_detect_local_cpu): If
42413         YMM state is not saved by the OS, also clear has_f16c.  Move
42414         CPUID 0x80000001 handling before YMM state saving checking.
42416 2014-02-18  Andrey Belevantsev  <abel@ispras.ru>
42418         PR rtl-optimization/58960
42419         * haifa-sched.c (alloc_global_sched_pressure_data): New,
42420         factored out from ...
42421         (sched_init): ... here.
42422         (free_global_sched_pressure_data): New, factored out from ...
42423         (sched_finish): ... here.
42424         * sched-int.h (free_global_sched_pressure_data): Declare.
42425         * sched-rgn.c (nr_regions_initial): New static global.
42426         (haifa_find_rgns): Initialize it.
42427         (schedule_region): Disable sched-pressure for the newly
42428         generated regions.
42430 2014-02-17  Richard Biener  <rguenther@suse.de>
42432         * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
42433         release SSA defs of pattern stmts.
42435 2014-02-17  Richard Biener  <rguenther@suse.de>
42437         * tree-inline.c (expand_call_inline): Release the virtual
42438         operand defined by the call we are about to inline.
42440 2014-02-17  Richard Biener  <rguenther@suse.de>
42442         * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
42444 2014-02-17  Kirill Yukhin  <kirill.yukhin@intel.com>
42445             Ilya Tocar  <ilya.tocar@intel.com>
42447         * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
42448         arguments order in builtin.
42449         (_mm512_permutexvar_epi64): Ditto.
42450         (_mm512_mask_permutexvar_epi64): Ditto
42451         (_mm512_maskz_permutexvar_epi32): Ditto
42452         (_mm512_permutexvar_epi32): Ditto
42453         (_mm512_mask_permutexvar_epi32): Ditto
42455 2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42457         * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
42458         (p8_vmrgow): Likewise.
42460 2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
42462         * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
42463         endian targets.
42465 2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
42467         PR target/60203
42468         * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
42469         (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
42470         into 64-bit and 32-bit moves.  On 64-bit moves, add support for
42471         using direct move instructions on ISA 2.07.  Also adjust
42472         instruction length for 64-bit.
42473         (mov<mode>_64bit, TFmode/TDmode): Likewise.
42474         (mov<mode>_32bit, TFmode/TDmode): Likewise.
42476 2014-02-15  Alan Modra  <amodra@gmail.com>
42478         PR target/58675
42479         PR target/57935
42480         * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
42481         find_replacement on parts of insn rtl that might be reloaded.
42483 2014-02-15  Richard Biener  <rguenther@suse.de>
42485         PR tree-optimization/60183
42486         * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
42487         (tree_ssa_phiprop): Calculate and free post-dominators.
42489 2014-02-14  Jeff Law  <law@redhat.com>
42491         PR rtl-optimization/60131
42492         * ree.c (get_extended_src_reg): New function.
42493         (combine_reaching_defs): Use it rather than assuming location of REG.
42494         (find_and_remove_re): Verify first operand of extension is
42495         a REG before adding the insns to the copy list.
42497 2014-02-14  Roland McGrath  <mcgrathr@google.com>
42499         * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
42500         * configure: Regenerated.
42501         * config.in: Regenerated.
42502         * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
42503         instead of ASM_SHORT.
42505 2014-02-14  Vladimir Makarov  <vmakarov@redhat.com>
42506             Richard Earnshaw  <rearnsha@arm.com>
42508         PR rtl-optimization/59535
42509         * lra-constraints.c (process_alt_operands): Encourage alternative
42510         when unassigned pseudo class is superset of the alternative class.
42511         (inherit_reload_reg): Don't inherit when optimizing for code size.
42512         * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
42513         returning CORE_REGS for anything but Thumb1 and BASE_REGS for
42514         modes not less than 4 for Thumb1.
42516 2014-02-14  Kyle McMartin  <kyle@redhat.com>
42518         PR pch/60010
42519         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
42521 2014-02-14  Richard Biener  <rguenther@suse.de>
42523         * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
42524         (get_frame_arg): Drop the assert with langhook types_compatible_p.
42525         Do not strip INDIRECT_REFs.
42527 2014-02-14  Richard Biener  <rguenther@suse.de>
42529         PR lto/60179
42530         * lto-streamer-out.c (DFS_write_tree_body): Do not follow
42531         DECL_FUNCTION_SPECIFIC_TARGET.
42532         (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
42533         * tree-streamer-out.c (pack_ts_target_option): Remove.
42534         (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
42535         (write_ts_function_decl_tree_pointers): Do not stream
42536         DECL_FUNCTION_SPECIFIC_TARGET.
42537         * tree-streamer-in.c (unpack_ts_target_option): Remove.
42538         (unpack_value_fields): Do not stream TS_TARGET_OPTION.
42539         (lto_input_ts_function_decl_tree_pointers): Do not stream
42540         DECL_FUNCTION_SPECIFIC_TARGET.
42542 2014-02-14  Jakub Jelinek  <jakub@redhat.com>
42544         * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
42545         (get_initial_def_for_induction, vectorizable_induction): Ignore
42546         debug stmts when looking for exit_phi.
42547         (vectorizable_live_operation): Fix up condition.
42549 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
42551         * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
42552         nreverse() because it changes the content of original tree list.
42554 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
42556         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
42557         * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
42559 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
42561         * config/nds32/nds32.c (nds32_naked_function_p): Follow the
42562         GNU coding standards.
42564 2014-02-13  Jakub Jelinek  <jakub@redhat.com>
42566         PR debug/60152
42567         * dwarf2out.c (gen_subprogram_die): Don't call
42568         add_calling_convention_attribute if subr_die is old_die.
42570 2014-02-13  Sharad Singhai  <singhai@google.com>
42572         * doc/optinfo.texi: Fix order of nodes.
42574 2014-02-13  Uros Bizjak  <ubizjak@gmail.com>
42576         * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
42577         operands[2], not operands[3].
42579 2014-02-13  Richard Biener  <rguenther@suse.de>
42581         PR bootstrap/59878
42582         * doc/install.texi (ISL): Update recommended version to 0.12.2,
42583         mention the possibility of an in-tree build.
42584         (CLooG): Update recommended version to 0.18.1, mention the
42585         possibility of an in-tree build and clarify that the ISL
42586         bundled with CLooG does not work.
42588 2014-02-13  Jakub Jelinek  <jakub@redhat.com>
42590         PR target/43546
42591         * expr.c (compress_float_constant): If x is a hard register,
42592         extend into a pseudo and then move to x.
42594 2014-02-13  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42596         * config/s390/s390.c (s390_asm_output_function_label): Fix crash
42597         caused by bad second argument to warning_at() with -mhotpatch and
42598         nested functions (e.g. with gfortran).
42600 2014-02-13  Richard Sandiford  <rdsandiford@googlemail.com>
42602         * opts.c (option_name): Remove "enabled by default" rider.
42604 2014-02-12  John David Anglin  <danglin@gcc.gnu.org>
42606         * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
42608 2014-02-12  H.J. Lu  <hongjiu.lu@intel.com>
42609             Uros Bizjak  <ubizjak@gmail.com>
42611         PR target/60151
42612         * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
42613         * configure: Regenerated.
42615 2014-02-12  Richard Biener  <rguenther@suse.de>
42617         * vec.c (vec_prefix::calculate_allocation): Move as
42618         inline variant to vec.h.
42619         (vec_prefix::calculate_allocation_1): New out-of-line version.
42620         * vec.h (vec_prefix::calculate_allocation_1): Declare.
42621         (vec_prefix::m_has_auto_buf): Rename to ...
42622         (vec_prefix::m_using_auto_storage): ... this.
42623         (vec_prefix::calculate_allocation): Inline the easy cases
42624         and dispatch to calculate_allocation_1 which doesn't need the
42625         prefix address.
42626         (va_heap::reserve): Use gcc_checking_assert.
42627         (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
42628         m_using_auto_storage.
42629         (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
42630         member and adjust.
42631         (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
42632         (vec<T, va_heap, vl_ptr>::release): Avoid casting.
42633         (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
42635 2014-02-12  Richard Biener  <rguenther@suse.de>
42637         * gcse.c (compute_transp): break from loop over canon_modify_mem_list
42638         when we found a dependence.
42640 2014-02-12  Thomas Schwinge  <thomas@codesourcery.com>
42642         * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
42643         common code...
42644         (maybe_fold_stmt): ... into this new function.
42645         * omp-low.c (lower_omp): Update comment.
42647         * omp-low.c (lower_omp_target): Add clobber for sizes array, after
42648         last use.
42650         * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
42651         dereference.
42653 2014-02-12  James Greenhalgh  <james.greenhalgh@arm.com>
42655         * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
42656         identifiers in comments.
42657         (cortexa53_extra_costs): Likewise.
42658         * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
42659         (cortexa7_extra_costs): Likewise.
42660         (cortexa12_extra_costs): Likewise.
42661         (cortexa15_extra_costs): Likewise.
42662         (v7m_extra_costs): Likewise.
42664 2014-02-12  Richard Biener  <rguenther@suse.de>
42666         PR middle-end/60092
42667         * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
42668         of posix_memalign being successful.
42669         (lower_stmt): Restrict lowering of posix_memalign to when
42670         -ftree-bit-ccp is enabled.
42672 2014-02-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
42674         * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
42675         arg_loc.
42676         * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
42678 2014-02-12  Eric Botcazou  <ebotcazou@adacore.com>
42680         PR rtl-optimization/60116
42681         * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
42682         other_insn once the combination has been validated.
42684 2014-02-11  Jan Hubicka  <hubicka@ucw.cz>
42686         PR lto/59468
42687         * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
42688         and wrapper.
42689         * ipa-devirt.c: Include demangle.h
42690         (odr_violation_reported): New static variable.
42691         (add_type_duplicate): Update odr_violations.
42692         (maybe_record_node): Add completep parameter; update it.
42693         (record_target_from_binfo): Add COMPLETEP parameter;
42694         update it as needed.
42695         (possible_polymorphic_call_targets_1): Likewise.
42696         (struct polymorphic_call_target_d): Add nonconstruction_targets;
42697         rename FINAL to COMPLETE.
42698         (record_targets_from_bases): Sanity check we found the binfo;
42699         fix COMPLETEP updating.
42700         (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
42701         parameter, fix computing of COMPLETEP.
42702         (dump_possible_polymorphic_call_targets): Imrove readability of dump;
42703         at LTO time do demangling.
42704         (ipa_devirt): Use nonconstruction_targets; Improve dumps.
42705         * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
42706         parameter.
42707         (gimple_get_virt_method_for_binfo): Likewise.
42708         * gimple-fold.h (gimple_get_virt_method_for_binfo,
42709         gimple_get_virt_method_for_vtable): Update prototypes.
42711 2014-02-11  Vladimir Makarov  <vmakarov@redhat.com>
42713         PR target/49008
42714         * genautomata.c (add_presence_absence): Fix typo with
42715         {final_}presence_list.
42717 2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
42719         PR target/60137
42720         * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
42721         for VSX/Altivec vectors that land in GPR registers.
42723 2014-02-11  Richard Henderson  <rth@redhat.com>
42724             Jakub Jelinek  <jakub@redhat.com>
42726         PR debug/59776
42727         * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
42728         around drhs if type conversion to lacc->type is not useless.
42730 2014-02-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
42732         * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
42733         tuning struct.
42734         (cortex-a57.cortex-a53): Likewise.
42735         * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
42737 2014-02-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
42739         * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
42740         arm_restrict_it.
42742 2014-02-11  Renlin Li  <Renlin.Li@arm.com>
42744         * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
42745         add_options_for_arm_vfp3.
42747 2014-02-11  Jeff Law  <law@redhat.com>
42749         PR middle-end/54041
42750         * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
42751         object with an undesirable mode.
42753 2014-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
42755         PR libgomp/60107
42756         * config/i386/sol2-9.h: New file.
42757         * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
42758         *-*-solaris2.9*): Use it.
42760 2014-02-10  Nagaraju Mekala  <nagaraju.mekala@xilinx.com>
42762         * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
42763         * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
42765 2014-02-10  Nagaraju Mekala  <nagaraju.mekala@xilinx.com>
42767         * config/microblaze/microblaze.c: Extend mcpu version format
42769 2014-02-10  David Holsgrove  <david.holsgrove@xilinx.com>
42771         * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
42773 2014-02-10  Richard Henderson  <rth@redhat.com>
42775         PR target/59927
42776         * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
42777         * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
42778         ms-abi vs -mno-accumulate-outgoing-args.
42779         (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
42780         * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
42781         respect to ms-abi.
42783 2014-02-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>
42785         PR middle-end/60080
42786         * cfgexpand.c (expand_asm_operands): Attach source location to
42787         ASM_INPUT rtx objects.
42788         * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
42790 2014-02-10  Nick Clifton  <nickc@redhat.com>
42792         * config/mn10300/mn10300.c (popcount): New function.
42793         (mn10300_expand_prologue): Include saved registers in stack usage
42794         count.
42796 2014-02-10  Jeff Law  <law@redhat.com>
42798         PR middle-end/52306
42799         * reload1.c (emit_input_reload_insns): Do not create invalid RTL
42800         when changing the SET_DEST of a prior insn to avoid an input reload.
42802 2014-02-10  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42804         * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
42805         big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
42806         -mcall-openbsd, or -mcall-linux.
42807         (CC1_ENDIAN_BIG_SPEC): Remove.
42808         (CC1_ENDIAN_LITTLE_SPEC): Remove.
42809         (CC1_ENDIAN_DEFAULT_SPEC): Remove.
42810         (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
42811         (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
42812         and %cc1_endian_default.
42813         * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
42815 2014-02-10  Richard Biener  <rguenther@suse.de>
42817         PR tree-optimization/60115
42818         * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
42819         MEM_REF handling.  Properly verify that the accesses are not
42820         out of the objects bound.
42822 2014-02-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
42824         * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
42825         coretex to cortex.
42827 2014-02-10  Eric Botcazou  <ebotcazou@adacore.com>
42829         * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
42830         proper constants and fix formatting.
42831         (possible_polymorphic_call_targets): Fix formatting.
42833 2014-02-10  Kirill Yukhin  <kirill.yukhin@intel.com>
42834             Ilya Tocar  <ilya.tocar@intel.com>
42836         * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
42837         (_mm512_loadu_epi32): Renamed into...
42838         (_mm512_loadu_si512): This.
42839         (_mm512_storeu_epi32): Renamed into...
42840         (_mm512_storeu_si512): This.
42841         (_mm512_maskz_ceil_ps): Removed.
42842         (_mm512_maskz_ceil_pd): Ditto.
42843         (_mm512_maskz_floor_ps): Ditto.
42844         (_mm512_maskz_floor_pd): Ditto.
42845         (_mm512_floor_round_ps): Ditto.
42846         (_mm512_floor_round_pd): Ditto.
42847         (_mm512_ceil_round_ps): Ditto.
42848         (_mm512_ceil_round_pd): Ditto.
42849         (_mm512_mask_floor_round_ps): Ditto.
42850         (_mm512_mask_floor_round_pd): Ditto.
42851         (_mm512_mask_ceil_round_ps): Ditto.
42852         (_mm512_mask_ceil_round_pd): Ditto.
42853         (_mm512_maskz_floor_round_ps): Ditto.
42854         (_mm512_maskz_floor_round_pd): Ditto.
42855         (_mm512_maskz_ceil_round_ps): Ditto.
42856         (_mm512_maskz_ceil_round_pd): Ditto.
42857         (_mm512_expand_pd): Ditto.
42858         (_mm512_expand_ps): Ditto.
42859         * config/i386/i386.c (ix86_builtins): Remove
42860         IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
42861         (bdesc_args): Ditto.
42862         * config/i386/predicates.md (const1256_operand): New.
42863         (const_1_to_2_operand): Ditto.
42864         * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
42865         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
42866         (*avx512pf_gatherpf<mode>sf): Ditto.
42867         (avx512pf_gatherpf<mode>df): Ditto.
42868         (*avx512pf_gatherpf<mode>df_mask): Ditto.
42869         (*avx512pf_gatherpf<mode>df): Ditto.
42870         (avx512pf_scatterpf<mode>sf): Ditto.
42871         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
42872         (*avx512pf_scatterpf<mode>sf): Ditto.
42873         (avx512pf_scatterpf<mode>df): Ditto.
42874         (*avx512pf_scatterpf<mode>df_mask): Ditto.
42875         (*avx512pf_scatterpf<mode>df): Ditto.
42876         (avx512f_expand<mode>): Removed.
42877         (<shift_insn><mode>3<mask_name>): Change predicate type.
42879 2014-02-08  Jakub Jelinek  <jakub@redhat.com>
42881         * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
42882         not at the end of datarefs vector use ordered_remove to avoid
42883         reordering datarefs vector.
42885         PR c/59984
42886         * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
42887         mark local addressable non-static vars as GOVD_PRIVATE
42888         instead of GOVD_LOCAL.
42889         * omp-low.c (lower_omp_for): Move gimple_bind_vars
42890         and BLOCK_VARS of gimple_bind_block to new_stmt rather
42891         than copying them.
42893         PR middle-end/60092
42894         * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
42895         if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
42896         assume_aligned or alloc_align attributes.
42897         (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
42898         arguments.  Handle also assume_aligned and alloc_align attributes.
42899         (evaluate_stmt): Adjust bit_value_assume_aligned caller.  Handle
42900         calls to functions with assume_aligned or alloc_align attributes.
42901         * doc/extend.texi: Document assume_aligned and alloc_align attributes.
42903 2014-02-08  Terry Guo  <terry.guo@arm.com>
42905         * doc/invoke.texi: Document ARM -march=armv7e-m.
42907 2014-02-08  Jakub Jelinek  <jakub@redhat.com>
42909         * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
42910         flag on __cilkrts_rethrow builtin.
42912         PR ipa/60026
42913         * ipa-cp.c (determine_versionability): Fail at -O0
42914         or __attribute__((optimize (0))) or -fno-ipa-cp functions.
42915         * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
42917         Revert:
42918         2014-02-04  Jakub Jelinek  <jakub@redhat.com>
42920         PR ipa/60026
42921         * tree-inline.c (copy_forbidden): Fail for
42922         __attribute__((optimize (0))) functions.
42924 2014-02-07  Jan Hubicka  <hubicka@ucw.cz>
42926         * varpool.c: Include pointer-set.h.
42927         (varpool_remove_unreferenced_decls): Variables in other partitions
42928         will not be output; be however careful to not lose information
42929         about partitioning.
42931 2014-02-07  Jan Hubicka  <hubicka@ucw.cz>
42933         * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
42934         lookup in the vtable constructor.
42936 2014-02-07  Jeff Law  <law@redhat.com>
42938         PR target/40977
42939         * config/m68k/m68k.md (ashldi_extsi): Turn into a
42940         define_insn_and_split.
42942         * ipa-inline.c (inline_small_functions): Fix typos.
42944 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
42946         * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
42947         (s390_can_use_return_insn): Declare.
42948         * config/s390/s390.h (EPILOGUE_USES): Define.
42949         * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
42950         instructions.
42951         (s390_chunkify_start): Handle return JUMP_LABELs.
42952         (s390_early_mach): Emit a main_pool instruction on the entry edge.
42953         (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
42954         (s390_can_use_return_insn): New functions.
42955         (s390_fix_long_loop_prediction): Handle conditional returns.
42956         (TARGET_SET_UP_BY_PROLOGUE): Define.
42957         * config/s390/s390.md (ANY_RETURN): New code iterator.
42958         (*creturn, *csimple_return, return, simple_return): New patterns.
42960 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
42962         * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
42963         notes to each restore.  Also add REG_CFA_DEF_CFA when restoring %r15.
42964         (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P.  Update the
42965         REG_CFA_RESTORE list when deciding not to restore a register.
42967 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
42969         * config/s390/s390.c: Include tree-pass.h and context.h.
42970         (s390_early_mach): New function, split out from...
42971         (s390_emit_prologue): ...here.
42972         (pass_data_s390_early_mach): New pass structure.
42973         (pass_s390_early_mach): New class.
42974         (s390_option_override): Create and register early_mach pass.
42975         Move to end of file.
42977 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
42979         * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
42980         to match for the exit block.
42982 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42984         * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
42985         ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
42986         Reject misaligned operands.
42988 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42990         * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
42992 2014-02-07  Richard Biener  <rguenther@suse.de>
42994         PR middle-end/60092
42995         * gimple-low.c (lower_builtin_posix_memalign): New function.
42996         (lower_stmt): Call it to lower posix_memalign in a way
42997         to make alignment info accessible.
42999 2014-02-07  Jakub Jelinek  <jakub@redhat.com>
43001         PR c++/60082
43002         * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
43003         __builtin_setjmp_receiver.
43005 2014-02-07  Richard Biener  <rguenther@suse.de>
43007         PR middle-end/60092
43008         * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
43009         * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
43010         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
43011         Handle BUILT_IN_POSIX_MEMALIGN.
43012         (find_func_clobbers): Likewise.
43013         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
43014         (call_may_clobber_ref_p_1): Likewise.
43016 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
43018         PR ipa/59918
43019         * ipa-devirt.c (record_target_from_binfo): Remove overactive
43020         sanity check.
43022 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
43024         PR ipa/59469
43025         * lto-cgraph.c (lto_output_node): Use
43026         symtab_get_symbol_partitioning_class.
43027         (lto_output_varpool_node): likewise.
43028         (symtab_get_symbol_partitioning_class): Move here from
43029         lto/lto-partition.c
43030         * cgraph.h (symbol_partitioning_class): Likewise.
43031         (symtab_get_symbol_partitioning_class): Declare.
43033 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
43035         * ggc.h (ggc_internal_cleared_alloc): New macro.
43036         * vec.h (vec_safe_copy): Handle memory stats.
43037         * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
43038         * target-globals.c (save_target_globals): Likewise.
43040 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
43042         PR target/60077
43043         * expr.c (emit_move_resolve_push): Export; be bit more selective
43044         on when to clear alias set.
43045         * expr.h (emit_move_resolve_push): Declare.
43046         * function.h (struct function): Add tail_call_marked.
43047         * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
43048         * config/i386/i386-protos.h (ix86_expand_push): Remove.
43049         * config/i386/i386.md (TImode move expander): De not call
43050         ix86_expand_push.
43051         (FP push expanders): Preserve memory attributes.
43052         * config/i386/sse.md (push<mode>1): Remove.
43053         * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
43054         (ix86_expand_push): Remove.
43055         * config/i386/mmx.md (push<mode>1): Remove.
43057 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
43059         PR rtl-optimization/60030
43060         * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
43061         lopart with paradoxical subreg before shifting it up by hprec.
43063 2014-02-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
43065         * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
43066         Remove extra newline at end of file.
43067         * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
43068         (arm_issue_rate): Handle cortexa57.
43069         * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
43070         (cortex-a57.cortex-a53): Likewise.
43072 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
43074         PR target/59575
43075         * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
43076         don't record in REG_FRAME_RELATED_EXPR registers not set in that
43077         bitmask.
43078         (arm_expand_prologue): Adjust all callers.
43079         (arm_unwind_emit_sequence): Allow saved, but not important for unwind
43080         info, registers also at the lowest numbered registers side.  Use
43081         gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
43082         XEXP.
43084         PR debug/59992
43085         * var-tracking.c (adjust_mems): Before adding a SET to
43086         amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
43088 2014-02-06  Alan Modra  <amodra@gmail.com>
43090         PR target/60032
43091         * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
43092         change SDmode to DDmode when lra_in_progress.
43094 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
43096         PR middle-end/59150
43097         * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
43098         free_data_ref on the dr first, and before goto again also set dr
43099         to the next dr.  For simd_lane_access, free old datarefs[i] before
43100         overwriting it.  For get_vectype_for_scalar_type failure, don't
43101         free_data_ref if simd_lane_access.
43103         * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
43105         PR target/60062
43106         * tree.h (opts_for_fn): New inline function.
43107         (opt_for_fn): Define.
43108         * config/i386/i386.c (ix86_function_regparm): Use
43109         opt_for_fn (decl, optimize) instead of optimize.
43111 2014-02-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43113         * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
43114         for SYMBOL_REF in large memory model.
43116 2014-02-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
43118         * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
43119         and crypto support.
43120         (cortex-a57): Likewise.
43121         (cortex-a57.cortex-a53): Likewise.
43123 2014-02-06  Yury Gribov  <y.gribov@samsung.com>
43124             Kugan Vivekanandarajah  <kuganv@linaro.org>
43126         * config/arm/arm.c (arm_vector_alignment_reachable): Check
43127         unaligned_access.
43128         * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
43130 2014-02-06  Richard Biener  <rguenther@suse.de>
43132         * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
43133         set_loop_copy and initialize_original_copy_tables.
43135 2014-02-06  Alex Velenko  <Alex.Velenko@arm.com>
43137         * config/aarch64/aarch64-simd.md
43138         (aarch64_ashr_simddi): Change QI to SI.
43140 2014-02-05  Jan Hubicka  <hubicka@ucw.cz>
43141             Jakub Jelinek  <jakub@redhat.com>
43143         PR middle-end/60013
43144         * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
43145         of the dataflow.
43147 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43149         * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
43150         CODE_FOR_altivec_vpku[hw]um to
43151         CODE_FOR_altivec_vpku[hw]um_direct.
43152         * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
43153         UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
43154         (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
43155         UNSPEC_VUNPACK_LO_SIGN_DIRECT.
43157 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43159         * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
43160         generation for -maltivec=be.
43161         (altivec_vsumsws): Simplify redundant test.
43163 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43165         * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
43166         (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
43167         (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
43168         (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
43169         gen_altivec_vpkuwum.
43170         (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
43171         BYTES_BIG_ENDIAN.
43172         (altivec_vpks<VI_char>ss): Likewise.
43173         (altivec_vpks<VI_char>us): Likewise.
43174         (altivec_vpku<VI_char>us): Likewise.
43175         (altivec_vpku<VI_char>um): Likewise.
43176         (altivec_vpku<VI_char>um_direct): New (copy of
43177         altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
43178         internal use).
43179         (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
43180         target is little endian and -maltivec=be is not specified.
43181         (*altivec_vupkhs<VU_char>_direct): New (copy of
43182         altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
43183         (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
43184         target is little endian and -maltivec=be is not specified.
43185         (*altivec_vupkls<VU_char>_direct): New (copy of
43186         altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
43187         (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
43188         little endian and -maltivec=be is not specified.
43189         (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
43190         little endian and -maltivec=be is not specified.
43192 2014-02-05  Richard Henderson  <rth@redhat.com>
43194         PR debug/52727
43195         * combine-stack-adj.c: Revert r206943.
43196         * sched-int.h (struct deps_desc): Add last_args_size.
43197         * sched-deps.c (init_deps): Initialize it.
43198         (sched_analyze_insn): Add OUTPUT dependencies between insns that
43199         contain REG_ARGS_SIZE notes.
43201 2014-02-05  Jan Hubicka  <hubicka@ucw.cz>
43203         * lto-cgraph.c (asm_nodes_output): Make global.
43204         * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
43205         * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
43206         (driver_handle_option): Handle OPT_fwpa.
43208 2014-02-05  Jakub Jelinek  <jakub@redhat.com>
43210         PR ipa/59947
43211         * ipa-devirt.c (possible_polymorphic_call_targets): Fix
43212         a comment typo and formatting issue.  If odr_hash hasn't been
43213         created, return vNULL and set *completep to false.
43215         PR middle-end/57499
43216         * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
43217         bb with no successors.
43219 2014-02-05  James Greenhalgh  <james.greenhalgh@arm.com>
43221         PR target/59718
43222         * doc/invoke.texi (-march): Clarify documentation for ARM.
43223         (-mtune): Likewise.
43224         (-mcpu): Likewise.
43226 2014-02-05  Richard Biener  <rguenther@suse.de>
43228         * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
43229         when not vectorizing because of too many alias checks.
43230         * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
43231         Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
43233 2014-02-05  Nick Clifton  <nickc@redhat.com>
43235         * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
43236         accept extended registers in any mode when compiling for the MN10300.
43238 2014-02-05  Yury Gribov  <y.gribov@samsung.com>
43240         * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
43241         * ipa-inline.c (report_inline_failed_reason): Handle mismatched
43242         sanitization attributes.
43243         (can_inline_edge_p): Likewise.
43244         (sanitize_attrs_match_for_inline_p): New function.
43246 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
43248         * ipa-prop.c (detect_type_change): Shor circuit testing of
43249         type changes on THIS pointer.
43251 2014-02-04  John David Anglin  <danglin@gcc.gnu.org>
43253         PR target/59777
43254         * config/pa/pa.c (legitimize_tls_address): Return original address
43255         if not passed a SYMBOL_REF rtx.
43256         (hppa_legitimize_address): Call legitimize_tls_address for all TLS
43257         addresses.
43258         (pa_emit_move_sequence): Simplify TLS source operands.
43259         (pa_legitimate_constant_p): Reject all TLS constants.
43260         * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
43261         (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
43263 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
43265         * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
43266         groups when we know they are controlled by LTO.
43267         * varasm.c (default_binds_local_p_1): If object is in other partition,
43268         it will be resolved locally.
43270 2014-02-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>
43272         * config/host-linux.c (linux_gt_pch_use_address): Don't
43273         use SSIZE_MAX because it is not always defined.
43275 2014-02-04  Vladimir Makarov  <vmakarov@redhat.com>
43277         PR bootstrap/59913
43278         * lra-constraints.c (need_for_split_p): Use more 3 reloads as
43279         threshold for pseudo splitting.
43280         (update_ebb_live_info): Process call argument hard registers and
43281         hard registers from insn definition too.
43282         (max_small_class_regs_num): New constant.
43283         (inherit_in_ebb): Update live hard regs through EBBs.  Update
43284         reloads_num only for small register classes.  Don't split for
43285         outputs of jumps.
43287 2014-02-04  Markus Trippelsdorf  <markus@trippelsdorf.de>
43289         PR ipa/60058
43290         * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
43291         is non-null.
43293 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
43295         * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
43296         visibility is safe.
43298 2014-02-04  Marek Polacek  <polacek@redhat.com>
43300         * gdbinit.in (pel): Define.
43302 2014-02-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>
43304         * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
43305         behavior.
43307 2014-02-04  Richard Biener  <rguenther@suse.de>
43309         PR lto/59723
43310         * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
43311         in function context local.
43312         (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
43313         * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
43314         similar to LTO_imported_decl_ref.
43316 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
43318         PR tree-optimization/60002
43319         * cgraphclones.c (build_function_decl_skip_args): Clear
43320         DECL_LANG_SPECIFIC.
43322         PR tree-optimization/60023
43323         * tree-if-conv.c (predicate_mem_writes): Pass true instead of
43324         false to gsi_replace.
43325         * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
43326         has been in some EH region and vec_stmt could throw, add
43327         vec_stmt into the same EH region.
43328         * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
43329         has no lhs, ignore it.
43330         * internal-fn.c (expand_MASK_LOAD): Likewise.
43332         PR ipa/60026
43333         * tree-inline.c (copy_forbidden): Fail for
43334         __attribute__((optimize (0))) functions.
43336         PR other/58712
43337         * omp-low.c (simd_clone_struct_copy): If from->inbranch
43338         is set, copy one less argument.
43339         (expand_simd_clones): Don't subtract clone_info->inbranch
43340         from simd_clone_struct_alloc argument.
43342         PR rtl-optimization/57915
43343         * recog.c (simplify_while_replacing): If all unary/binary/relational
43344         operation arguments are constant, attempt to simplify those.
43346         PR middle-end/59261
43347         * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
43348         if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
43350 2014-02-04  Richard Biener  <rguenther@suse.de>
43352         PR tree-optimization/60012
43353         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
43354         TBAA disambiguation to all DDRs.
43356 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
43358         PR target/59788
43359         * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
43360         (LINK_SPEC): Use it for -shared, -shared-libgcc.
43362 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
43364         PR ipa/59882
43365         * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
43367 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
43369         * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
43370         * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
43372 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
43374         PR ipa/59831
43375         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
43376         to figure out targets of polymorphic calls with known decl.
43377         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
43378         * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
43379         * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
43380         (get_polymorphic_call_info): ... here.
43381         (get_polymorphic_call_info_from_invariant): New function.
43383 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
43385         * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
43386         lookup via vtable pointer; check for type consistency
43387         and turn inconsitent facts into UNREACHABLE.
43388         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
43389         * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
43390         type inconsistent querries; return UNREACHABLE instead.
43392 2014-02-03  Richard Henderson  <rth@twiddle.net>
43394         PR tree-opt/59924
43395         * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
43396         already processed this node.
43397         (normalize_one_pred_1): Pass along mark_set.
43398         (normalize_one_pred): Create and destroy a pointer_set_t.
43399         (normalize_one_pred_chain): Likewise.
43401 2014-02-03  Laurent Aflonsi  <laurent.alfonsi@st.com>
43403         PR gcov-profile/58602
43404         * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
43406 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
43408         PR ipa/59831
43409         * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
43410         -fno-devirtualize; try to devirtualize by the knowledge of
43411         virtual table pointer given by aggregate propagation.
43412         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
43413         (ipa_print_node_jump_functions): Dump also offset that
43414         is relevant for polymorphic calls.
43415         (determine_known_aggregate_parts): Add arg_type parameter; use it
43416         instead of determining the type from pointer type.
43417         (ipa_compute_jump_functions_for_edge): Update call of
43418         determine_known_aggregate_parts.
43419         * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
43420         (gimple_get_virt_method_for_binfo): ... here; simplify using
43421         vtable_pointer_value_to_vtable.
43422         * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
43423         * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
43424         to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
43425         (vtable_pointer_value_to_vtable): Break out from ...; handle also
43426         POINTER_PLUS_EXPR.
43427         (vtable_pointer_value_to_binfo): ... here.
43428         * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
43430 2014-02-03  Teresa Johnson  <tejohnson@google.com>
43432         * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
43433         redef of outer loop index variable.
43435 2014-02-03  Marc Glisse  <marc.glisse@inria.fr>
43437         PR c++/53017
43438         PR c++/59211
43439         * doc/extend.texi (Function Attributes): Typo.
43441 2014-02-03  Cong Hou  <congh@google.com>
43443         PR tree-optimization/60000
43444         * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
43445         if the vectorized statement is a store.  A store statement can only
43446         appear at the end of pattern statements.
43448 2014-02-03  H.J. Lu  <hongjiu.lu@intel.com>
43450         * config/i386/i386.c (flag_opts): Add -mlong-double-128.
43451         (ix86_option_override_internal): Default long double to 64-bit for
43452         32-bit Bionic and to 128-bit for 64-bit Bionic.
43454         * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
43455         TARGET_LONG_DOUBLE_128 is true.
43456         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
43458         * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
43459         (mlong-double-64): Negate -mlong-double-128.
43460         (mlong-double-128): New option.
43462         * config/i386/i386-c.c (ix86_target_macros): Define
43463         __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
43465         * doc/invoke.texi: Document -mlong-double-128.
43467 2014-02-03  H.J. Lu  <hongjiu.lu@intel.com>
43469         PR rtl-optimization/60024
43470         * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
43472 2014-02-03  Markus Trippelsdorf  <markus@trippelsdorf.de>
43474         * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
43476 2014-02-03  Andrey Belevantsev  <abel@ispras.ru>
43478         PR rtl-optimization/57662
43479         * sel-sched.c (code_motion_path_driver): Do not mark already not
43480         existing blocks in the visiting bitmap.
43482 2014-02-03  Andrey Belevantsev  <abel@ispras.ru>
43484         * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
43485         on the insn being emitted.
43487 2014-02-03  James Greenhalgh  <james.greenhalgh@arm.com>
43488             Will Deacon  <will.deacon@arm.com>
43490         * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
43492 2014-02-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
43494         * config/arm/arm-tables.opt: Regenerate.
43496 2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43498         * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
43499         for vector types other than V16QImode.
43500         * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
43501         define_expand, and call altivec_expand_vec_perm_le when producing
43502         code with little endian element order.
43503         (*altivec_vperm_<mode>_internal): New insn having previous
43504         behavior of altivec_vperm_<mode>.
43505         (altivec_vperm_<mode>_uns): Change to a define_expand, and call
43506         altivec_expand_vec_perm_le when producing code with little endian
43507         element order.
43508         (*altivec_vperm_<mode>_uns_internal): New insn having previous
43509         behavior of altivec_vperm_<mode>_uns.
43511 2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43513         * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
43514         (altivec_vsumsws): Add handling for -maltivec=be with a little
43515         endian target.
43516         (altivec_vsumsws_direct): New.
43517         (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
43518         gen_altivec_vsumsws.
43520 2014-02-02  Jan Hubicka  <hubicka@ucw.cz>
43522         * ipa-devirt.c (subbinfo_with_vtable_at_offset,
43523         vtable_pointer_value_to_binfo): New functions.
43524         * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
43525         * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
43527 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
43529         * config/nios2/nios2.md (load_got_register): Initialize GOT
43530         pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
43531         * config/nios2/nios2.c (nios2_function_profiler): Likewise.
43533 2014-02-02  Jan Hubicka  <hubicka@ucw.cz>
43535         * ipa-prop.c (update_jump_functions_after_inlining): When type is not
43536         preserverd by passthrough, do not propagate the type.
43538 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
43540         * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
43541         (mips_atomic_assign_expand_fenv): New function.
43542         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
43544 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
43546         * doc/extend.texi (__builtin_mips_get_fcsr): Document.
43547         (__builtin_mips_set_fcsr): Likewise.
43548         * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
43549         MIPS_USI_FTYPE_VOID.
43550         * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
43551         (mips16_expand_set_fcsr): Likewise.
43552         * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
43553         (mips16_set_fcsr_stub): Likewise.
43554         (mips16_get_fcsr_one_only_stub): New class.
43555         (mips16_set_fcsr_one_only_stub): Likewise.
43556         (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
43557         (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
43558         (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
43559         (hard_float): New availability predicate.
43560         (mips_builtins): Add get_fcsr and set_fcsr.
43561         (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
43562         * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
43563         (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
43564         (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
43565         (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
43566         patterns.
43568 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
43570         * config/mips/mips.c (mips_one_only_stub): New class.
43571         (mips_need_mips16_rdhwr_p): Replace with...
43572         (mips16_rdhwr_stub): ...this new variable.
43573         (mips16_stub_call_address): New function.
43574         (mips16_rdhwr_one_only_stub): New class.
43575         (mips_expand_thread_pointer): Use mips16_stub_call_address.
43576         (mips_output_mips16_rdhwr): Delete.
43577         (mips_finish_stub): New function.
43578         (mips_code_end): Use it to handle rdhwr stubs.
43580 2014-02-02  Uros Bizjak  <ubizjak@gmail.com>
43582         PR target/60017
43583         * config/i386/i386.c (classify_argument): Fix handling of bit_offset
43584         when calculating size of integer atomic types.
43586 2014-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43588         * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
43590 2014-02-01  Jakub Jelinek  <jakub@redhat.com>
43592         PR tree-optimization/60003
43593         * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
43594         * profile.c (branch_prob): Use gimple_call_builtin_p
43595         to check for BUILT_IN_SETJMP_RECEIVER.
43596         * tree-inline.c (copy_bb): Call notice_special_calls.
43598 2014-01-31  Vladimir Makarov  <vmakarov@redhat.com>
43600         PR bootstrap/59985
43601         * lra-constraints.c (process_alt_operands): Update reload_sum only
43602         on the first pass.
43604 2014-01-31  Richard Henderson  <rth@redhat.com>
43606         PR middle-end/60004
43607         * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
43608         until after else_eh is processed.
43610 2014-01-31  Ilya Tocar  <ilya.tocar@intel.com>
43612         * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
43613         (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
43614         (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
43615         in smmintrin.h, remove them.
43616         (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
43617         * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
43618         * config/i386/i386.md (ROUND_SAE): Fix value.
43619         * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
43620         (const48_operand): New.
43621         * config/i386/subst.md (round), (round_expand): Use
43622         const_4_or_8_to_11_operand.
43623         (round_saeonly), (round_saeonly_expand): Use const48_operand.
43625 2014-01-31  Ilya Tocar  <ilya.tocar@intel.com>
43627         * config/i386/constraints.md (Yk): Swap meaning with k.
43628         * config/i386/i386.md (movhi_internal): Change Yk to k.
43629         (movqi_internal): Ditto.
43630         (*k<logic><mode>): Ditto.
43631         (*andhi_1): Ditto.
43632         (*andqi_1): Ditto.
43633         (kandn<mode>): Ditto.
43634         (*<code>hi_1): Ditto.
43635         (*<code>qi_1): Ditto.
43636         (kxnor<mode>): Ditto.
43637         (kortestzhi): Ditto.
43638         (kortestchi): Ditto.
43639         (kunpckhi): Ditto.
43640         (*one_cmplhi2_1): Ditto.
43641         (*one_cmplqi2_1): Ditto.
43642         * config/i386/sse.md (): Change k to Yk.
43643         (avx512f_load<mode>_mask): Ditto.
43644         (avx512f_blendm<mode>): Ditto.
43645         (avx512f_store<mode>_mask): Ditto.
43646         (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
43647         (avx512f_storedqu<mode>_mask): Ditto.
43648         (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
43649         Ditto.
43650         (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
43651         (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
43652         (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
43653         (avx512f_maskcmp<mode>3): Ditto.
43654         (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
43655         (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
43656         (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
43657         (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
43658         (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
43659         (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
43660         (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
43661         (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
43662         (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
43663         (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
43664         (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
43665         (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
43666         (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
43667         (vec_extract_lo_<mode>_maskm): Ditto.
43668         (vec_extract_hi_<mode>_maskm): Ditto.
43669         (avx512f_vternlog<mode>_mask): Ditto.
43670         (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
43671         (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
43672         (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
43673         (avx512f_<code>v8div16qi2_mask): Ditto.
43674         (avx512f_<code>v8div16qi2_mask_store): Ditto.
43675         (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
43676         (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
43677         (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
43678         (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
43679         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
43680         (*avx512pf_gatherpf<mode>df_mask): Ditto.
43681         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
43682         (*avx512pf_scatterpf<mode>df_mask): Ditto.
43683         (avx512cd_maskb_vec_dupv8di): Ditto.
43684         (avx512cd_maskw_vec_dupv16si): Ditto.
43685         (avx512f_vpermi2var<mode>3_maskz): Ditto.
43686         (avx512f_vpermi2var<mode>3_mask): Ditto.
43687         (avx512f_vpermi2var<mode>3_mask): Ditto.
43688         (avx512f_vpermt2var<mode>3_maskz): Ditto.
43689         (*avx512f_gathersi<mode>): Ditto.
43690         (*avx512f_gathersi<mode>_2): Ditto.
43691         (*avx512f_gatherdi<mode>): Ditto.
43692         (*avx512f_gatherdi<mode>_2): Ditto.
43693         (*avx512f_scattersi<mode>): Ditto.
43694         (*avx512f_scatterdi<mode>): Ditto.
43695         (avx512f_compress<mode>_mask): Ditto.
43696         (avx512f_compressstore<mode>_mask): Ditto.
43697         (avx512f_expand<mode>_mask): Ditto.
43698         * config/i386/subst.md (mask): Change k to Yk.
43699         (mask_scalar_merge): Ditto.
43700         (sd): Ditto.
43702 2014-01-31  Marc Glisse  <marc.glisse@inria.fr>
43704         * doc/extend.texi (Vector Extensions): Document ?: in C++.
43706 2014-01-31  Richard Biener  <rguenther@suse.de>
43708         PR middle-end/59990
43709         * builtins.c (fold_builtin_memory_op): Make sure to not
43710         use a floating-point mode or a boolean or enumeral type for
43711         the copy operation.
43713 2014-01-30  DJ Delorie  <dj@redhat.com>
43715         * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
43716         * config/msp430/msp430.md (msp430_refsym_need_exit): New.
43717         * config/msp430/msp430.c (msp430_expand_epilogue): Call it
43718         whenever main() has an epilogue.
43720 2014-01-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43722         * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
43723         unused variable "field".
43724         * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
43725         (vsx_mergeh_<mode>): Likewise.
43726         * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
43727         (altivec_vmrghh): Likewise.
43728         (altivec_vmrghw): Likewise.
43729         (altivec_vmrglb): Likewise.
43730         (altivec_vmrglh): Likewise.
43731         (altivec_vmrglw): Likewise.
43732         (altivec_vspltb): Add missing uses.
43733         (altivec_vsplth): Likewise.
43734         (altivec_vspltw): Likewise.
43735         (altivec_vspltsf): Likewise.
43737 2014-01-30  Jakub Jelinek  <jakub@redhat.com>
43739         PR target/59923
43740         * ifcvt.c (cond_exec_process_insns): Don't conditionalize
43741         frame related instructions.
43743 2014-01-30  Vladimir Makarov  <vmakarov@redhat.com>
43745         PR rtl-optimization/59959
43746         * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
43747         any reload of register whose subreg is invalid.
43749 2014-01-30  Jakub Jelinek  <jakub@redhat.com>
43751         * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
43752         * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
43753         Add missing return type - void.
43755 2014-01-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43757         * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
43758         gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
43759         remove element index adjustment for endian (now handled in vsx.md
43760         and altivec.md).
43761         (altivec_expand_vec_perm_const): Use
43762         gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
43763         * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
43764         (vsx_xxspltw_<mode>): Adjust element index for little endian.
43765         * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
43766         define_expand and a new define_insn *altivec_vspltb_internal;
43767         adjust for -maltivec=be on a little endian target.
43768         (altivec_vspltb_direct): New.
43769         (altivec_vsplth): Divide into a define_expand and a new
43770         define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
43771         little endian target.
43772         (altivec_vsplth_direct): New.
43773         (altivec_vspltw): Divide into a define_expand and a new
43774         define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
43775         little endian target.
43776         (altivec_vspltw_direct): New.
43777         (altivec_vspltsf): Divide into a define_expand and a new
43778         define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
43779         a little endian target.
43781 2014-01-30  Richard Biener  <rguenther@suse.de>
43783         PR tree-optimization/59993
43784         * tree-ssa-forwprop.c (associate_pointerplus): Check we
43785         can propagate form the earlier stmt and avoid the transform
43786         when the intermediate result is needed.
43788 2014-01-30  Alangi Derick  <alangiderick@gmail.com>
43790         * README.Portability: Fix typo.
43792 2014-01-30  David Holsgrove  <david.holsgrove@xilinx.com>
43794         * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
43795         comparison_operator with ordered_comparison_operator.
43797 2014-01-30  Nick Clifton  <nickc@redhat.com>
43799         * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
43800         Rename to mn10300_store_multiple_regs.
43801         * config/mn10300/mn10300.c: Likewise.
43802         * config/mn10300/mn10300.md (store_movm): Fix typo: call
43803         store_multiple_regs.
43804         * config/mn10300/predicates.md (mn10300_store_multiple_operation):
43805         Call mn10300_store_multiple_regs.
43807 2014-01-30  Nick Clifton  <nickc@redhat.com>
43808             DJ Delorie  <dj@redhat.com>
43810         * config/rl78/rl78.c (register_sizes): Make the "upper half" of
43811         %fp 2 to keep registers after it properly word-aligned.
43812         (rl78_alloc_physical_registers_umul): Handle the case where both
43813         input operands are the same.
43815 2014-01-30  Richard Biener  <rguenther@suse.de>
43817         PR tree-optimization/59903
43818         * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
43819         check properly.
43821 2014-01-30  Jason Merrill  <jason@redhat.com>
43823         PR c++/59633
43824         * tree.c (walk_type_fields): Handle VECTOR_TYPE.
43826         PR c++/59645
43827         * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
43829 2014-01-30  Richard Biener  <rguenther@suse.de>
43831         PR tree-optimization/59951
43832         * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
43834 2014-01-30  Savin Zlobec  <savin.zlobec@gmail.com>
43836         PR target/59784
43837         * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
43838         SFmode to DFmode case.
43840 2014-01-29  DJ Delorie  <dj@redhat.com>
43842         * config/msp430/msp430.opt (-minrt): New.
43843         * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
43844         if -minrt given.
43845         (ENDFILE_SPEC): Likewise.
43847 2014-01-29  Jan Hubicka  <hubicka@ucw.cz>
43849         * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
43850         (estimate_function_body_sizes): Use it.
43852 2014-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
43854         PR c++/58561
43855         * dwarf2out.c (is_cxx_auto): New.
43856         (is_base_type): Use it.
43857         (gen_type_die_with_usage): Likewise.
43859 2014-01-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
43861         * config/rs6000/rs6000.c (altivec_expand_vec_perm_const):  Use
43862         CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
43863         * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
43864         -maltivec=be with LE targets.
43865         (vsx_mergeh_<mode>): Likewise.
43866         * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
43867         (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
43868         (altivec_vmrghb): Replace with define_expand and new
43869         *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
43870         (altivec_vmrghb_direct): New define_insn.
43871         (altivec_vmrghh): Replace with define_expand and new
43872         *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
43873         (altivec_vmrghh_direct): New define_insn.
43874         (altivec_vmrghw): Replace with define_expand and new
43875         *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
43876         (altivec_vmrghw_direct): New define_insn.
43877         (*altivec_vmrghsf): Adjust for endianness.
43878         (altivec_vmrglb): Replace with define_expand and new
43879         *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
43880         (altivec_vmrglb_direct): New define_insn.
43881         (altivec_vmrglh): Replace with define_expand and new
43882         *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
43883         (altivec_vmrglh_direct): New define_insn.
43884         (altivec_vmrglw): Replace with define_expand and new
43885         *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
43886         (altivec_vmrglw_direct): New define_insn.
43887         (*altivec_vmrglsf): Adjust for endianness.
43888         (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
43889         (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
43890         (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
43891         (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
43892         (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
43893         (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
43894         (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
43895         (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
43897 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43899         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
43900         (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
43901         whitespace.
43903 2014-01-29  Richard Biener  <rguenther@suse.de>
43905         PR tree-optimization/58742
43906         * tree-ssa-forwprop.c (associate_pointerplus): Rename to
43907         associate_pointerplus_align.
43908         (associate_pointerplus_diff): New function.
43909         (associate_pointerplus): Likewise.  Call associate_pointerplus_align
43910         and associate_pointerplus_diff.
43912 2014-01-29  Richard Biener  <rguenther@suse.de>
43914         * lto-streamer.h (LTO_major_version): Bump to 3.
43915         (LTO_minor_version): Reset to 0.
43917 2014-01-29  Renlin Li  <Renlin.Li@arm.com>
43919         * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
43920         * config/arm/arm.c (FL_FOR_ARCH7VE): New.
43921         (arm_file_start): Generate correct asm header for armv7ve.
43922         * config/arm/bpabi.h: Add multilib support for armv7ve.
43923         * config/arm/driver-arm.c: Change the architectures of cortex-a7
43924         and cortex-a15 to armv7ve.
43925         * config/arm/t-aprofile: Add multilib support for armv7ve.
43926         * doc/invoke.texi: Document -march=armv7ve.
43928 2014-01-29  Richard Biener  <rguenther@suse.de>
43930         PR tree-optimization/58742
43931         * tree-ssa-forwprop.c (associate_plusminus): Return true
43932         if we changed sth, defer EH cleanup to ...
43933         (ssa_forward_propagate_and_combine): ... here.  Call simplify_mult.
43934         (simplify_mult): New function.
43936 2014-01-29  Jakub Jelinek  <jakub@redhat.com>
43938         PR middle-end/59917
43939         PR tree-optimization/59920
43940         * tree.c (build_common_builtin_nodes): Remove
43941         __builtin_setjmp_dispatcher initialization.
43942         * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
43943         * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
43944         instead of gsi_after_labels + manually skipping debug stmts.
43945         Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
43946         ignore bbs with IFN_ABNORMAL_DISPATCHER.
43947         * tree-inline.c (copy_edges_for_bb): Remove
43948         can_make_abnormal_goto argument, instead add abnormal_goto_dest
43949         argument.  Ignore computed_goto_p stmts.  Don't call
43950         make_abnormal_goto_edges.  If a call might need abnormal edges
43951         for non-local gotos, see if it already has an edge to
43952         IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
43953         with true argument, don't do anything then, otherwise add
43954         EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
43955         (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
43956         caller.
43957         * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
43958         (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
43959         (lower_stmt): Don't set data->calls_builtin_setjmp.
43960         (lower_builtin_setjmp): Adjust comment.
43961         * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
43962         * tree-cfg.c (found_computed_goto): Remove.
43963         (factor_computed_gotos): Remove.
43964         (make_goto_expr_edges): Return bool, true for computed gotos.
43965         Don't call make_abnormal_goto_edges.
43966         (build_gimple_cfg): Don't set found_computed_goto, don't call
43967         factor_computed_gotos.
43968         (computed_goto_p): No longer static.
43969         (make_blocks): Don't set found_computed_goto.
43970         (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
43971         (make_edges): If make_goto_expr_edges returns true, push bb
43972         into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
43973         instead of calling make_abnormal_goto_edges push bb into ab_edge_call
43974         vector.  Record mapping between bbs and OpenMP regions if there
43975         are any, adjust make_gimple_omp_edges caller.  Call
43976         handle_abnormal_edges.
43977         (make_abnormal_goto_edges): Remove.
43978         * tree-cfg.h (make_abnormal_goto_edges): Remove.
43979         (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
43980         * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
43981         * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
43982         * internal-fn.def (ABNORMAL_DISPATCHER): New.
43983         * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
43984         filling *region also set *region_idx to (*region)->entry->index.
43986         PR other/58712
43987         * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
43988         For REGs set ORIGINAL_REGNO.
43990 2014-01-29  Bingfeng Mei  <bmei@broadcom.com>
43992         * doc/md.texi: Mention that a target shouldn't implement
43993         vec_widen_(s|u)mul_even/odd pair if it is less efficient
43994         than hi/lo pair.
43996 2014-01-29  Jakub Jelinek  <jakub@redhat.com>
43998         PR tree-optimization/59594
43999         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
44000         a copy of the datarefs vector rather than the vector itself.
44002 2014-01-28  Jason Merrill  <jason@redhat.com>
44004         PR c++/53756
44005         * dwarf2out.c (auto_die): New static.
44006         (gen_type_die_with_usage): Handle C++1y 'auto'.
44007         (gen_subprogram_die): If in-class DIE had 'auto', emit type again
44008         on definition.
44010 2014-01-28  H.J. Lu  <hongjiu.lu@intel.com>
44012         PR target/59672
44013         * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
44014         (SPEC_X32): Likewise.
44015         (SPEC_64): Likewise.
44016         * config/i386/i386.c (ix86_option_override_internal): Turn off
44017         OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
44018         for TARGET_16BIT.
44019         (x86_file_start): Output .code16gcc for TARGET_16BIT.
44020         * config/i386/i386.h (TARGET_16BIT): New macro.
44021         (TARGET_16BIT_P): Likewise.
44022         * config/i386/i386.opt: Add m16.
44023         * doc/invoke.texi: Document -m16.
44025 2014-01-28  Jakub Jelinek  <jakub@redhat.com>
44027         PR preprocessor/59935
44028         * input.c (location_get_source_line): Bail out on when line number
44029         is zero, and test the return value of lookup_or_add_file_to_cache_tab.
44031 2014-01-28  Richard Biener  <rguenther@suse.de>
44033         PR tree-optimization/58742
44034         * tree-ssa-forwprop.c (associate_plusminus): Handle
44035         pointer subtraction of the form (T)(P + A) - (T)P.
44037 2014-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
44039         * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
44040         at const_int_cost.
44042 2014-01-28  Richard Biener  <rguenther@suse.de>
44044         Revert
44045         2014-01-28  Richard Biener  <rguenther@suse.de>
44047         PR rtl-optimization/45364
44048         PR rtl-optimization/59890
44049         * var-tracking.c (local_get_addr_clear_given_value): Handle
44050         already cleared slot.
44051         (val_reset): Handle not allocated local_get_addr_cache.
44052         (vt_find_locations): Use post-order on the inverted CFG.
44054 2014-01-28  Richard Biener  <rguenther@suse.de>
44056         * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
44058 2014-01-28  Richard Biener  <rguenther@suse.de>
44060         PR rtl-optimization/45364
44061         PR rtl-optimization/59890
44062         * var-tracking.c (local_get_addr_clear_given_value): Handle
44063         already cleared slot.
44064         (val_reset): Handle not allocated local_get_addr_cache.
44065         (vt_find_locations): Use post-order on the inverted CFG.
44067 2014-01-28  Alan Modra  <amodra@gmail.com>
44069         * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
44070         * configure.ac <recursive call for build != host>: Define
44071         GENERATOR_FILE.  Comment.  Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
44072         and LD_FOR_BUILD too.
44073         * configure: Regenerate.
44075 2014-01-27  Allan Sandfeld Jensen  <sandfeld@kde.org>
44077         * config/i386/i386.c (get_builtin_code_for_version): Separate
44078         Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
44079         Broadwell from Haswell.
44081 2014-01-27  Steve Ellcey  <sellcey@mips.com>
44083         * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
44084         Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
44085         * config/mips/mips.c (mips_option_override): Change setting
44086         of TARGET_DSP.
44087         * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
44088         * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
44089         Change from Mask to Var.
44091 2014-01-27  Jeff Law  <law@redhat.com>
44093         * ipa-inline.c (inline_small_functions): Fix typo.
44095 2014-01-27  Ilya Tocar  <ilya.tocar@intel.com>
44097         * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
44098         (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
44099         (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
44100         (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
44101         (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
44102         (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
44103         (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
44104         (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
44105         (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
44106         (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
44107         (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
44108         (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
44109         (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
44110         (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
44111         (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
44112         (_mm512_storeu_epi64): Ditto.
44113         (_mm512_cmpge_epi32_mask): Ditto.
44114         (_mm512_cmpge_epu32_mask): Ditto.
44115         (_mm512_cmpge_epi64_mask): Ditto.
44116         (_mm512_cmpge_epu64_mask): Ditto.
44117         (_mm512_cmple_epi32_mask): Ditto.
44118         (_mm512_cmple_epu32_mask): Ditto.
44119         (_mm512_cmple_epi64_mask): Ditto.
44120         (_mm512_cmple_epu64_mask): Ditto.
44121         (_mm512_cmplt_epi32_mask): Ditto.
44122         (_mm512_cmplt_epu32_mask): Ditto.
44123         (_mm512_cmplt_epi64_mask): Ditto.
44124         (_mm512_cmplt_epu64_mask): Ditto.
44125         (_mm512_cmpneq_epi32_mask): Ditto.
44126         (_mm512_cmpneq_epu32_mask): Ditto.
44127         (_mm512_cmpneq_epi64_mask): Ditto.
44128         (_mm512_cmpneq_epu64_mask): Ditto.
44129         (_mm512_expand_pd): Ditto.
44130         (_mm512_expand_ps): Ditto.
44131         * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
44132         VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
44133         VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
44134         * config/i386/i386.c (ix86_builtins): Add
44135         IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
44136         IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
44137         IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
44138         IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
44139         IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
44140         IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
44141         IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
44142         IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
44143         IX86_BUILTIN_PMOVUSQW512_MEM.
44144         (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
44145         __builtin_ia32_pmovsqd512mem_mask,
44146         __builtin_ia32_pmovqd512mem_mask,
44147         __builtin_ia32_pmovusqw512mem_mask,
44148         __builtin_ia32_pmovsqw512mem_mask,
44149         __builtin_ia32_pmovqw512mem_mask,
44150         __builtin_ia32_pmovusdw512mem_mask,
44151         __builtin_ia32_pmovsdw512mem_mask,
44152         __builtin_ia32_pmovdw512mem_mask,
44153         __builtin_ia32_pmovqb512mem_mask,
44154         __builtin_ia32_pmovusqb512mem_mask,
44155         __builtin_ia32_pmovsqb512mem_mask,
44156         __builtin_ia32_pmovusdb512mem_mask,
44157         __builtin_ia32_pmovsdb512mem_mask,
44158         __builtin_ia32_pmovdb512mem_mask.
44159         (bdesc_args): Add __builtin_ia32_expanddf512,
44160         __builtin_ia32_expandsf512.
44161         (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
44162         VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
44163         VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
44164         * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
44165         (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
44166         (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
44167         (avx512f_<code>v8div16qi2_mask_store): This.
44168         (avx512f_expand<mode>): New.
44170 2014-01-27  Kirill Yukhin  <kirill.yukhin@intel.com>
44172         * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
44173         New.
44174         (_mm512_mask_prefetch_i64gather_pd): Ditto.
44175         (_mm512_prefetch_i32scatter_pd): Ditto.
44176         (_mm512_mask_prefetch_i32scatter_pd): Ditto.
44177         (_mm512_prefetch_i64scatter_pd): Ditto.
44178         (_mm512_mask_prefetch_i64scatter_pd): Ditto.
44179         (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
44180         (_mm512_mask_prefetch_i64gather_ps): Ditto.
44181         (_mm512_prefetch_i32scatter_ps): Ditto.
44182         (_mm512_mask_prefetch_i32scatter_ps): Ditto.
44183         (_mm512_prefetch_i64scatter_ps): Ditto.
44184         (_mm512_mask_prefetch_i64scatter_ps): Ditto.
44185         * config/i386/i386-builtin-types.def: Define
44186         VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
44187         and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
44188         * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
44189         IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
44190         IX86_BUILTIN_SCATTERPFQPD.
44191         (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
44192         __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
44193         __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
44194         __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
44195         __builtin_ia32_scatterpfqps.
44196         (ix86_expand_builtin): Expand new built-ins.
44197         * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
44198         fix memory access data type.
44199         (*avx512pf_gatherpf<mode>_mask): Ditto.
44200         (*avx512pf_gatherpf<mode>): Ditto.
44201         (avx512pf_scatterpf<mode>): Ditto.
44202         (*avx512pf_scatterpf<mode>_mask): Ditto.
44203         (*avx512pf_scatterpf<mode>): Ditto.
44204         (GATHER_SCATTER_SF_MEM_MODE): New.
44205         (avx512pf_gatherpf<mode>df): Ditto.
44206         (*avx512pf_gatherpf<mode>df_mask): Ditto.
44207         (*avx512pf_scatterpf<mode>df): Ditto.
44209 2014-01-27  Jakub Jelinek  <jakub@redhat.com>
44211         PR bootstrap/59934
44212         * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
44213         know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
44214         reached.
44216 2014-01-27  James Greenhalgh  <james.greenhalgh@arm.com>
44218         * common/config/arm/arm-common.c
44219         (arm_rewrite_mcpu): Handle multiple names.
44220         * config/arm/arm.h
44221         (BIG_LITTLE_SPEC): Do not discard mcpu switches.
44223 2014-01-27  James Greenhalgh  <james.greenhalgh@arm.com>
44225         * gimple-builder.h (create_gimple_tmp): Delete.
44227 2014-01-27  Christian Bruel  <christian.bruel@st.com>
44229         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
44230         words comparisons.
44232 2014-01-26  John David Anglin  <danglin@gcc.gnu.org>
44234         * config/pa/pa.md (call): Generate indirect long calls to non-local
44235         functions when outputing 32-bit code.
44236         (call_value): Likewise except for special call to buggy powf function.
44238         * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
44239         portable runtime and PIC indirect calls.
44240         (pa_output_indirect_call): Remove unnecessary nop from portable runtime
44241         and PIC call sequences.  Use ldo instead of blr to set return register
44242         in PIC call sequence.
44244 2014-01-25  Walter Lee  <walt@tilera.com>
44246         * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
44247         avoid clobbering a live register.
44249 2014-01-25  Walter Lee  <walt@tilera.com>
44251         * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
44252         Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
44253         * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
44254         Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
44256 2014-01-25  Walter Lee  <walt@tilera.com>
44258         * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
44259         arguments on even registers.
44260         (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
44261         STACK_BOUNDARY.
44262         * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
44263         (BIGGEST_ALIGNMENT): Ditto.
44264         (BIGGEST_FIELD_ALIGNMENT): Ditto.
44266 2014-01-25  Walter Lee  <walt@tilera.com>
44268         * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
44269         insns before bundling.
44270         * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
44272 2014-01-25  Walter Lee  <walt@tilera.com>
44274         * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
44275         PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
44276         * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
44278 2014-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
44280         * config/mips/constraints.md (kl): Delete.
44281         * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
44282         define expands, using...
44283         (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
44284         instructions for MIPS16.
44285         (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
44286         non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
44288 2014-01-25  Walter Lee  <walt@tilera.com>
44290         * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
44291         (clzdi2): Ditto.
44292         (ffsdi2): Ditto.
44294 2014-01-25  Walter Lee  <walt@tilera.com>
44296         * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
44297         (TARGET_EXPAND_TO_RTL_HOOK): Define.
44299 2014-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
44301         * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
44302         Handle XOR.
44304 2014-01-25  Jakub Jelinek  <jakub@redhat.com>
44306         * print-rtl.c (in_call_function_usage): New var.
44307         (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
44308         EXPR_LIST mode as mode and not as reg note name.
44310         PR middle-end/59561
44311         * cfgloopmanip.c (copy_loop_info): If
44312         loop->warned_aggressive_loop_optimizations, make sure
44313         the flag is set in target loop too.
44315 2014-01-24  Balaji V. Iyer  <balaji.v.iyer@intel.com>
44317         * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
44318         flag_cilkplus.
44319         * builtins.def: Likewise.
44320         * cilk.h (fn_contains_cilk_spawn_p): Likewise.
44321         * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
44322         * ira.c (ira_setup_eliminable_regset): Likewise.
44323         * omp-low.c (gate_expand_omp): Likewise.
44324         (execute_lower_omp): Likewise.
44325         (diagnose_sb_0): Likewise.
44326         (gate_diagnose_omp_blocks): Likewise.
44327         (simd_clone_clauses_extract): Likewise.
44328         (gate): Likewise.
44330 2014-01-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
44332         * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
44333         correction for little endian...
44334         * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
44335         here.
44337 2014-01-24  Jeff Law  <law@redhat.com>
44339         PR tree-optimization/59919
44340         * tree-vrp.c (find_assert_locations_1): Do not register asserts
44341         for non-returning calls.
44343 2014-01-24  James Greenhalgh  <james.greenhalgh@arm.com>
44345         * common/config/aarch64/aarch64-common.c
44346         (aarch64_rewrite_mcpu): Handle multiple names.
44347         * config/aarch64/aarch64.h
44348         (BIG_LITTLE_SPEC): Do not discard mcpu switches.
44350 2014-01-24  Dodji Seketeli  <dodji@redhat.com>
44352         * input.c (add_file_to_cache_tab): Handle the case where fopen
44353         returns NULL.
44355 2014-01-23  H.J. Lu  <hongjiu.lu@intel.com>
44357         PR target/59929
44358         * config/i386/i386.md (pushsf splitter): Get stack adjustment
44359         from push operand if code of push isn't PRE_DEC.
44361 2014-01-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
44363         PR target/59909
44364         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
44365         -mquad-memory-atomic.  Update -mquad-memory documentation to say
44366         it is only used for non-atomic loads/stores.
44368         * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
44369         -mquad-memory or -mquad-memory-atomic switches.
44371         * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
44372         -mquad-memory-atomic to ISA 2.07 support.
44374         * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
44375         to separate support of normal quad word memory operations (ldq, stq)
44376         from the atomic quad word memory operations.
44378         * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
44379         support to separate non-atomic quad word operations from atomic
44380         quad word operations.  Disable non-atomic quad word operations in
44381         little endian mode so that we don't have to swap words after the
44382         load and before the store.
44383         (quad_load_store_p): Add comment about atomic quad word support.
44384         (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
44385         options printed with -mdebug=reg.
44387         * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
44388         -mquad-memory-atomic as the test for whether we have quad word
44389         atomic instructions.
44390         (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
44391         or -mp8-vector are used, allow byte/half-word atomic operations.
44393         * config/rs6000/sync.md (load_lockedti): Insure that the address
44394         is a proper indexed or indirect address for the lqarx instruction.
44395         On little endian systems, swap the hi/lo registers after the lqarx
44396         instruction.
44397         (load_lockedpti): Use indexed_or_indirect_operand predicate to
44398         insure the address is valid for the lqarx instruction.
44399         (store_conditionalti): Insure that the address is a proper indexed
44400         or indirect address for the stqcrx. instruction.  On little endian
44401         systems, swap the hi/lo registers before doing the stqcrx.
44402         instruction.
44403         (store_conditionalpti): Use indexed_or_indirect_operand predicate to
44404         insure the address is valid for the stqcrx. instruction.
44406         * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
44407         Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
44408         type of quad memory support is available.
44410 2014-01-23  Vladimir Makarov  <vmakarov@redhat.com>
44412         PR regression/59915
44413         * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
44414         there is a danger of looping.
44416 2014-01-23  Pat Haugen  <pthaugen@us.ibm.com>
44418         * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
44419         force flag_ira_loop_pressure if set via command line.
44421 2014-01-23  Alex Velenko  <Alex.Velenko@arm.com>
44423         * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
44424         (ashr_simd): New builtin handling DI mode.
44425         * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
44426         (aarch64_sshr_simddi): New match pattern.
44427         * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
44428         (vshrd_n_s64): Likewise.
44429         * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
44431 2014-01-23  Nick Clifton  <nickc@redhat.com>
44433         * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
44434         (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
44435         favour of mcu specific scripts.
44436         * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
44437         430x multilibs.
44439 2014-01-23  James Greenhalgh  <james.greenhalgh@arm.com>
44440             Alex Velenko  <Alex.Velenko@arm.com>
44442         * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
44443         (vaddv_s16): Likewise.
44444         (vaddv_s32): Likewise.
44445         (vaddv_u8): Likewise.
44446         (vaddv_u16): Likewise.
44447         (vaddv_u32): Likewise.
44448         (vaddvq_s8): Likewise.
44449         (vaddvq_s16): Likewise.
44450         (vaddvq_s32): Likewise.
44451         (vaddvq_s64): Likewise.
44452         (vaddvq_u8): Likewise.
44453         (vaddvq_u16): Likewise.
44454         (vaddvq_u32): Likewise.
44455         (vaddvq_u64): Likewise.
44456         (vaddv_f32): Likewise.
44457         (vaddvq_f32): Likewise.
44458         (vaddvq_f64): Likewise.
44459         (vmaxv_f32): Likewise.
44460         (vmaxv_s8): Likewise.
44461         (vmaxv_s16): Likewise.
44462         (vmaxv_s32): Likewise.
44463         (vmaxv_u8): Likewise.
44464         (vmaxv_u16): Likewise.
44465         (vmaxv_u32): Likewise.
44466         (vmaxvq_f32): Likewise.
44467         (vmaxvq_f64): Likewise.
44468         (vmaxvq_s8): Likewise.
44469         (vmaxvq_s16): Likewise.
44470         (vmaxvq_s32): Likewise.
44471         (vmaxvq_u8): Likewise.
44472         (vmaxvq_u16): Likewise.
44473         (vmaxvq_u32): Likewise.
44474         (vmaxnmv_f32): Likewise.
44475         (vmaxnmvq_f32): Likewise.
44476         (vmaxnmvq_f64): Likewise.
44477         (vminv_f32): Likewise.
44478         (vminv_s8): Likewise.
44479         (vminv_s16): Likewise.
44480         (vminv_s32): Likewise.
44481         (vminv_u8): Likewise.
44482         (vminv_u16): Likewise.
44483         (vminv_u32): Likewise.
44484         (vminvq_f32): Likewise.
44485         (vminvq_f64): Likewise.
44486         (vminvq_s8): Likewise.
44487         (vminvq_s16): Likewise.
44488         (vminvq_s32): Likewise.
44489         (vminvq_u8): Likewise.
44490         (vminvq_u16): Likewise.
44491         (vminvq_u32): Likewise.
44492         (vminnmv_f32): Likewise.
44493         (vminnmvq_f32): Likewise.
44494         (vminnmvq_f64): Likewise.
44496 2014-01-23  James Greenhalgh  <james.greenhalgh@arm.com>
44498         * config/aarch64/aarch64-simd.md
44499         (aarch64_dup_lane<mode>): Correct lane number on big-endian.
44500         (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
44501         (*aarch64_mul3_elt<mode>): Likewise.
44502         (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
44503         (*aarch64_mul3_elt_to_64v2df): Likewise.
44504         (*aarch64_mla_elt<mode>): Likewise.
44505         (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
44506         (*aarch64_mls_elt<mode>): Likewise.
44507         (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
44508         (*aarch64_fma4_elt<mode>): Likewise.
44509         (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
44510         (*aarch64_fma4_elt_to_64v2df): Likewise.
44511         (*aarch64_fnma4_elt<mode>): Likewise.
44512         (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
44513         (*aarch64_fnma4_elt_to_64v2df): Likewise.
44514         (aarch64_sq<r>dmulh_lane<mode>): Likewise.
44515         (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
44516         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
44517         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
44518         (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
44519         (aarch64_sqdmull_lane<mode>_internal): Likewise.
44520         (aarch64_sqdmull2_lane<mode>_internal): Likewise.
44522 2013-01-23  Alex Velenko  <Alex.Velenko@arm.com>
44524         * config/aarch64/aarch64-simd.md
44525         (aarch64_be_checked_get_lane<mode>): New define_expand.
44526         * config/aarch64/aarch64-simd-builtins.def
44527         (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
44528         New builtin definition.
44529         * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
44530         Use new safe be builtin.
44532 2014-01-23  Alex Velenko  <Alex.Velenko@arm.com>
44534         * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
44535         New define_insn.
44536         (aarch64_be_st1<mode>): Likewise.
44537         (aarch_ld1<VALL:mode>): Define_expand modified.
44538         (aarch_st1<VALL:mode>): Likewise.
44539         * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
44540         (UNSPEC_ST1): Likewise.
44542 2014-01-23  David Holsgrove  <david.holsgrove@xilinx.com>
44544         * config/microblaze/microblaze.md: Add trap insn and attribute
44546 2014-01-23  Dodji Seketeli  <dodji@redhat.com>
44548         PR preprocessor/58580
44549         * input.h (location_get_source_line): Take an additional line_size
44550         parameter.
44551         (void diagnostics_file_cache_fini): Declare new function.
44552         * input.c (struct fcache): New type.
44553         (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
44554         New static constants.
44555         (diagnostic_file_cache_init, total_lines_num)
44556         (lookup_file_in_cache_tab, evicted_cache_tab_entry)
44557         (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
44558         (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
44559         (get_next_line, read_next_line, goto_next_line, read_line_num):
44560         New static function definitions.
44561         (diagnostic_file_cache_fini): New function.
44562         (location_get_source_line): Take an additional output line_len
44563         parameter.  Re-write using lookup_or_add_file_to_cache_tab and
44564         read_line_num.
44565         * diagnostic.c (diagnostic_finish): Call
44566         diagnostic_file_cache_fini.
44567         (adjust_line): Take an additional input parameter for the length
44568         of the line, rather than calculating it with strlen.
44569         (diagnostic_show_locus): Adjust the use of
44570         location_get_source_line and adjust_line with respect to their new
44571         signature.  While displaying a line now, do not stop at the first
44572         null byte.  Rather, display the zero byte as a space and keep
44573         going until we reach the size of the line.
44574         * Makefile.in: Add vec.o to OBJS-libcommon
44576 2014-01-23  Kirill Yukhin  <kirill.yukhin@intel.com>
44577             Ilya Tocar  <ilya.tocar@intel.com>
44579         * config/i386/avx512fintrin.h (_mm512_kmov): New.
44580         * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
44581         (__builtin_ia32_kmov16): Ditto.
44582         * config/i386/i386.md (UNSPEC_KMOV): New.
44583         (kmovw): Ditto.
44585 2014-01-23  Kirill Yukhin  <kirill.yukhin@intel.com>
44587         * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
44588         (_mm512_storeu_si512): Ditto.
44590 2014-01-23  Richard Sandiford  <rdsandiford@googlemail.com>
44592         PR target/52125
44593         * rtl.h (get_referenced_operands): Declare.
44594         * recog.c (get_referenced_operands): New function.
44595         * config/mips/mips.c (mips_reorg_process_insns): Check which asm
44596         operands have been referenced when recording LO_SUM references.
44598 2014-01-22  David Holsgrove  <david.holsgrove@xilinx.com>
44600         * config/microblaze/microblaze.md: Correct bswaphi2 insn.
44602 2014-01-22  Jan Hubicka  <hubicka@ucw.cz>
44604         * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
44605         Enable for generic and recent AMD targets.
44607 2014-01-22  Jan Hubicka  <hubicka@ucw.cz>
44609         * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
44610         ARG_SIZE note when adjustment was eliminated.
44612 2014-01-22  Jeff Law  <law@redhat.com>
44614         PR tree-optimization/59597
44615         * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
44616         in file.  Accept new argument REGISTERING and use it to modify
44617         dump output appropriately.
44618         (register_jump_thread): Corresponding changes.
44619         (mark_threaded_blocks): Reinstate code to cancel unprofitable
44620         thread paths involving joiner blocks.  Add code to dump cancelled
44621         jump threading paths.
44623 2014-01-22  Vladimir Makarov  <vmakarov@redhat.com>
44625         PR rtl-optimization/59477
44626         * lra-constraints.c (inherit_in_ebb): Process call for living hard
44627         regs.  Update reloads_num and potential_reload_hard_regs for all insns.
44629 2014-01-22  Tom Tromey  <tromey@redhat.com>
44631         * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
44632         PARAMS.
44633         * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
44635 2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
44637         PR rtl-optimization/59896
44638         * lra-constraints.c (process_alt_operands): Check unused note for
44639         matched operands of insn with no output reloads.
44641 2014-01-21  Richard Sandiford  <rdsandiford@googlemail.com>
44643         * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
44644         (mips_move_from_gpr_cost): Likewise.
44646 2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
44648         PR rtl-optimization/59858
44649         * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
44650         ira_class_hard_regs_num.
44651         (process_alt_operands): Increase reject for dying matched operand.
44653 2014-01-21  Jakub Jelinek  <jakub@redhat.com>
44655         PR target/59003
44656         * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
44657         smaller than size, perform several stores or loads and stores
44658         at dst + count - size to store or copy all of size bytes, rather
44659         than just last modesize bytes.
44661 2014-01-20  DJ Delorie  <dj@redhat.com>
44663         * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
44664         that CLOBBERs are REGs before propogating their values.
44666 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44668         PR middle-end/59789
44669         * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
44670         (cgraph_inline_failed_type): New function.
44671         * cgraph.h (DEFCIFCODE): Add type.
44672         (cgraph_inline_failed_type_t): New enum.
44673         (cgraph_inline_failed_type): New prototype.
44674         * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
44675         FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
44676         FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
44677         LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
44678         MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
44679         RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
44680         OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
44681         INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
44682         Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
44683         FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
44684         EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
44685         OPTIMIZATION_MISMATCH.
44686         * tree-inline.c (expand_call_inline): Emit errors during
44687         early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
44689 2014-01-20  Uros Bizjak  <ubizjak@gmail.com>
44691         PR target/59685
44692         * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
44693         mode attribute in insn output.
44695 2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>
44697         * output.h (output_constant): Delete.
44698         * varasm.c (output_constant): Make private.
44700 2014-01-20  Alex Velenko  <Alex.Velenko@arm.com>
44702         * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
44704 2014-01-20  Jakub Jelinek  <jakub@redhat.com>
44706         PR middle-end/59860
44707         * tree.h (fold_builtin_strcat): New prototype.
44708         * builtins.c (fold_builtin_strcat): No longer static.  Add len
44709         argument, if non-NULL, don't call c_strlen.  Optimize
44710         directly into __builtin_memcpy instead of __builtin_strcpy.
44711         (fold_builtin_2): Adjust fold_builtin_strcat caller.
44712         * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
44714 2014-01-20  Uros Bizjak  <ubizjak@gmail.com>
44716         * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
44717         for SImode_address_operand operands, having only a REG argument.
44719 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44721         * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
44722         loader name using mbig-endian.
44723         (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
44725 2014-01-20  James Greenhalgh  <james.greenhalgh@arm.com>
44727         * doc/invoke.texi (-march): Clarify documentation for AArch64.
44728         (-mtune): Likewise.
44729         (-mcpu): Likewise.
44731 2014-01-20  Tejas Belagod  <tejas.belagod@arm.com>
44733         * config/aarch64/aarch64-protos.h
44734         (aarch64_cannot_change_mode_class_ptr): Declare.
44735         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
44736         aarch64_cannot_change_mode_class_ptr): New.
44737         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
44738         backend hook aarch64_cannot_change_mode_class.
44740 2014-01-20  James Greenhalgh  <james.greenhalgh@arm.com>
44742         * common/config/aarch64/aarch64-common.c
44743         (aarch64_handle_option): Don't handle any option order logic here.
44744         * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
44745         selected_cpu, warn on architecture version mismatch.
44746         (aarch64_override_options): Fix parsing order for option strings.
44748 2014-01-20  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
44749             Iain Sandoe  <iain@codesourcery.com>
44751         PR bootstrap/59496
44752         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
44753         warning.  Amend comment to reflect current functionality.
44755 2014-01-20  Richard Biener  <rguenther@suse.de>
44757         PR middle-end/59860
44758         * builtins.c (fold_builtin_strcat): Remove case better handled
44759         by tree-ssa-strlen.c.
44761 2014-01-20  Alan Lawrence  <alan.lawrence@arm.com>
44763         * config/aarch64/aarch64.opt
44764         (mcpu, march, mtune): Make case-insensitive.
44766 2014-01-20  Jakub Jelinek  <jakub@redhat.com>
44768         PR target/59880
44769         * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
44770         if operands[1] is a REG or ZERO_EXTEND of a REG.
44772 2014-01-19  Jan Hubicka  <hubicka@ucw.cz>
44774         * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
44776 2014-01-19  John David Anglin  <danglin@gcc.gnu.org>
44778         * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
44779         long non-pic millicode calls.
44781 2014-01-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
44783         * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
44785 2014-01-19  Kito Cheng  <kito@0xlab.org>
44787         * builtins.c (expand_movstr): Check movstr expand done or fail.
44789 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
44790             H.J. Lu  <hongjiu.lu@intel.com>
44792         PR target/59379
44793         * config/i386/i386.md (*lea<mode>): Zero-extend return register
44794         to DImode for zero-extended addresses.
44796 2014-01-19  Jakub Jelinek  <jakub@redhat.com>
44798         PR rtl-optimization/57763
44799         * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
44800         on the new indirect jump_insn and increment LABEL_NUSES (label).
44802 2014-01-18  H.J. Lu  <hongjiu.lu@intel.com>
44804         PR bootstrap/59580
44805         PR bootstrap/59583
44806         * config.gcc (x86_archs): New variable.
44807         (x86_64_archs): Likewise.
44808         (x86_cpus): Likewise.
44809         Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
44810         --with-arch/--with-cpu= options.
44811         Support --with-arch=/--with-cpu={nehalem,westmere,
44812         sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
44814 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
44816         * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
44817         and PROCESSOR_ATHLON to simplify code.  Move "memory" calculation.
44819 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
44821         * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
44823 2014-01-18  Jakub Jelinek  <jakub@redhat.com>
44825         PR target/58944
44826         * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
44827         clear cpp_get_options (parse_in)->warn_unused_macros for
44828         ix86_target_macros_internal with cpp_define.
44830 2014-01-18  Richard Sandiford  <rdsandiford@googlemail.com>
44832         * jump.c (delete_related_insns): Keep (use (insn))s.
44833         * reorg.c (redundant_insn): Check for barriers too.
44835 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44837         * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
44839 2014-01-17  John David Anglin  <danglin@gcc.gnu.org>
44841         * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
44842         call to $$dyncall when TARGET_LONG_CALLS is true.
44844 2014-01-17  Jeff Law  <law@redhat.com>
44846         * ree.c (combine_set_extension): Temporarily disable test for
44847         changing number of hard registers.
44849 2014-01-17  Jan Hubicka  <hubicka@ucw.cz>
44851         PR middle-end/58125
44852         * ipa-inline-analysis.c (inline_free_summary):
44853         Do not free summary of aliases.
44855 2014-01-17  Jakub Jelinek  <jakub@redhat.com>
44857         PR middle-end/59706
44858         * gimplify.c (gimplify_expr): Use create_tmp_var
44859         instead of create_tmp_var_raw.  If cond doesn't have
44860         integral type, don't add the IFN_ANNOTATE builtin at all.
44862 2014-01-17  Martin Jambor  <mjambor@suse.cz>
44864         PR ipa/59736
44865         * ipa-cp.c (prev_edge_clone): New variable.
44866         (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
44867         Also resize prev_edge_clone vector.
44868         (ipcp_edge_duplication_hook): Also update prev_edge_clone.
44869         (ipcp_edge_removal_hook): New function.
44870         (ipcp_driver): Register ipcp_edge_removal_hook.
44872 2014-01-17  Andrew Pinski  <apinski@cavium.com>
44873             Steve Ellcey  <sellcey@mips.com>
44875         PR target/59462
44876         * config/mips/mips.c (mips_print_operand): Check operand mode instead
44877         of operator mode.
44879 2014-01-17  Jeff Law  <law@redhat.com>
44881         PR middle-end/57904
44882         * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
44883         so that pass_ccp runs first.
44885 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44887         * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
44888         (ix86_adjust_cost): Use !TARGET_XXX.
44889         (do_reorder_for_imul): Likewise.
44890         (swap_top_of_ready_list): Likewise.
44891         (ix86_sched_reorder): Likewise.
44893 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44895         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
44896         PROCESSOR_INTEL.  Treat like PROCESSOR_GENERIC.
44897         * config/i386/i386.c (intel_memcpy): New.  Duplicate slm_memcpy.
44898         (intel_memset): New.  Duplicate slm_memset.
44899         (intel_cost): New.  Duplicate slm_cost.
44900         (m_INTEL): New macro.
44901         (processor_target_table): Add "intel".
44902         (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
44903         with PROCESSOR_INTEL for "intel".
44904         (ix86_lea_outperforms): Support PROCESSOR_INTEL.  Duplicate
44905         PROCESSOR_SILVERMONT.
44906         (ix86_issue_rate): Likewise.
44907         (ix86_adjust_cost): Likewise.
44908         (ia32_multipass_dfa_lookahead): Likewise.
44909         (swap_top_of_ready_list): Likewise.
44910         (ix86_sched_reorder): Likewise.
44911         (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
44912         instead of TARGET_OPT_AGU.
44913         * config/i386/i386.h (TARGET_INTEL): New.
44914         (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
44915         (processor_type): Add PROCESSOR_INTEL.
44916         * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
44917         Add X86_TUNE_AVOID_LEA_FOR_ADDR.
44919 2014-01-17  Marek Polacek  <polacek@redhat.com>
44921         PR c/58346
44922         * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
44923         size is zero.
44925 2014-01-17  Richard Biener  <rguenther@suse.de>
44927         PR tree-optimization/46590
44928         * opts.c (default_options_table): Add entries for
44929         OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
44930         all enabled at -O1 but not for -Og.
44931         * common.opt (fbranch-count-reg): Remove Init(1).
44932         (fmove-loop-invariants): Likewise.
44933         (ftree-pta): Likewise.
44935 2014-01-17  Jakub Jelinek  <jakub@redhat.com>
44937         * config/i386/i386.c (ix86_data_alignment): For compatibility with
44938         (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
44939         decls to at least the GCC 4.8 used alignments.
44941         PR fortran/59440
44942         * tree-nested.c (convert_nonlocal_reference_stmt,
44943         convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
44944         of GIMPLE_BIND stmts, adjust associated decls.
44946 2014-01-17  Richard Biener  <rguenther@suse.de>
44948         PR tree-optimization/46590
44949         * vec.h (vec<>::bseach): New member function implementing
44950         binary search according to C89 bsearch.
44951         (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
44952         * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
44953         bitmap pointer again.  Make accesses_in_loop a flat array.
44954         (mem_ref_obstack): New global.
44955         (outermost_indep_loop): Adjust for mem_ref->stored changes.
44956         (mark_ref_stored): Likewise.
44957         (ref_indep_loop_p_2): Likewise.
44958         (set_ref_stored_in_loop): New helper function.
44959         (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
44960         (memref_free): Adjust.
44961         (record_mem_ref_loc): Simplify.
44962         (gather_mem_refs_stmt): Adjust.
44963         (sort_locs_in_loop_postorder_cmp): New function.
44964         (analyze_memory_references): Sort accesses_in_loop after
44965         loop postorder number.
44966         (find_ref_loc_in_loop_cmp): New function.
44967         (for_all_locs_in_loop): Find relevant cluster of locs in
44968         accesses_in_loop and iterate without recursion.
44969         (execute_sm): Avoid uninit warning.
44970         (struct ref_always_accessed): Simplify.
44971         (ref_always_accessed::operator ()): Likewise.
44972         (ref_always_accessed_p): Likewise.
44973         (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
44974         loop postorder numbers here.
44975         (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
44976         numbers.
44978 2014-01-17  Jan Hubicka  <hubicka@ucw.cz>
44980         PR c++/57945
44981         * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
44982         on decls for which assemble_alias has been called.
44984 2014-01-17  Nick Clifton  <nickc@redhat.com>
44986         * config/msp430/msp430.opt: (mcpu): New option.
44987         * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
44988         (msp430_option_override): Parse target_cpu.  If the MCU name
44989         matches a generic string, clear target_mcu.
44990         (msp430_attr): Allow numeric interrupt values up to 63.
44991         (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
44992         * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
44993         option.
44994         * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
44995         Add mcpu matches.
44996         * config/msp430/msp430.md (popm): Use %J rather than %I.
44997         (addsi3): Use msp430_nonimmediate_operand for operand 2.
44998         (addhi_cy_i): Use immediate_operand for operand 2.
44999         * doc/invoke.texi: Document -mcpu option.
45001 2014-01-17  Richard Biener  <rguenther@suse.de>
45003         PR rtl-optimization/38518
45004         * df.h (df_analyze_loop): Declare.
45005         * df-core.c: Include cfgloop.h.
45006         (df_analyze_1): Split out main part of df_analyze.
45007         (df_analyze): Adjust.
45008         (loop_inverted_post_order_compute): New function.
45009         (loop_post_order_compute): Likewise.
45010         (df_analyze_loop): New function avoiding whole-function
45011         postorder computes.
45012         * loop-invariant.c (find_defs): Use df_analyze_loop.
45013         (find_invariants): Adjust.
45014         * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
45016 2014-01-17  Zhenqiang Chen  <zhenqiang.chen@arm.com>
45018         * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
45019         (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
45021 2014-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
45023         * ipa-ref.c (ipa_remove_stmt_references): Fix references
45024         traversal when removing references.
45026 2014-01-16  Jan Hubicka  <hubicka@ucw.cz>
45028         PR ipa/59775
45029         * tree.c (get_binfo_at_offset): Look harder for virtual bases.
45031 2014-01-16  Bernd Schmidt  <bernds@codesourcery.com>
45033         PR middle-end/56791
45034         * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
45035         pushing a reload for an autoinc when we had previously reloaded an
45036         inner part of the address.
45038 2014-01-16  Jakub Jelinek  <jakub@redhat.com>
45040         * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
45041         field.
45042         (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
45043         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
45044         when not giving up or versioning for alias only because of
45045         loop->safelen.
45046         (vect_analyze_data_ref_dependences): Set to true.
45047         * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
45048         is a GIMPLE_PHI.
45049         (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
45050         LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
45051         to the condition.
45053         PR middle-end/58344
45054         * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
45056         PR target/59839
45057         * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
45058         operand 0 predicate for gathers, use a new pseudo as subtarget.
45060 2014-01-16  Vladimir Makarov  <vmakarov@redhat.com>
45062         PR middle-end/59609
45063         * lra-constraints.c (process_alt_operands): Add printing debug info.
45064         Check absence of input/output reloads for matched operands too.
45066 2014-01-16  Vladimir Makarov  <vmakarov@redhat.com>
45068         PR rtl-optimization/59835
45069         * ira.c (ira_init_register_move_cost): Increase cost for
45070         impossible modes.
45072 2014-01-16  Alan Lawrence  <alan.lawrence@arm.com>
45074         * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
45076 2014-01-16  Richard Earnshaw  <rearnsha@arm.com>
45078         PR target/59780
45079         * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
45080         non-register objects.  Use gen_(high/low)part more consistently.
45081         Fix assertions.
45083 2014-01-16  Michael Meissner  <meissner@linux.vnet.ibm.com>
45085         PR target/59844
45086         * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
45087         endian support, remove tests for WORDS_BIG_ENDIAN.
45088         (p8_mfvsrd_3_<mode>): Likewise.
45089         (reload_gpr_from_vsx<mode>): Likewise.
45090         (reload_gpr_from_vsxsf): Likewise.
45091         (p8_mfvsrd_4_disf): Likewise.
45093 2014-01-16  Richard Biener  <rguenther@suse.de>
45095         PR rtl-optimization/46590
45096         * lcm.c (compute_antinout_edge): Use postorder iteration.
45097         (compute_laterin): Use inverted postorder iteration.
45099 2014-01-16  Nick Clifton  <nickc@redhat.com>
45101         PR middle-end/28865
45102         * varasm.c (output_constant): Return the number of bytes actually
45103         emitted.
45104         (output_constructor_array_range): Update the field size with the
45105         number of bytes emitted by output_constant.
45106         (output_constructor_regular_field): Likewise.  Also do not
45107         complain if the total number of bytes emitted is now greater
45108         than the expected fieldpos.
45109         * output.h (output_constant): Update prototype and descriptive comment.
45111 2014-01-16  Marek Polacek  <polacek@redhat.com>
45113         PR middle-end/59827
45114         * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
45115         it is error_mark_node.
45117 2014-01-15  Uros Bizjak  <ubizjak@gmail.com>
45119         * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
45120         VALID_AVX256_REG_OR_OI_MODE.
45122 2014-01-15  Pat Haugen  <pthaugen@us.ibm.com>
45124         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
45125         current procedure should be profiled.
45127 2014-01-15  Andrew Pinski  <apinski@cavium.com>
45129         * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
45130         of moving from/to the STACK_REG register class.
45132 2014-01-15  Richard Henderson  <rth@redhat.com>
45134         PR debug/54694
45135         * reginfo.c (global_regs_decl): Globalize.
45136         * rtl.h (global_regs_decl): Declare.
45137         * ira.c (do_reload): Diagnose frame_pointer_needed and it
45138         reserved via global_regs.
45140 2014-01-15  Teresa Johnson  <tejohnson@google.com>
45142         * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
45144 2014-01-15  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>
45146         * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
45147         and vmulosh rather than call gen_vec_widen_smult_*.
45148         (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
45149         than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
45150         (vec_widen_smult_even_v16qi): Likewise.
45151         (vec_widen_umult_even_v8hi): Likewise.
45152         (vec_widen_smult_even_v8hi): Likewise.
45153         (vec_widen_umult_odd_v16qi): Likewise.
45154         (vec_widen_smult_odd_v16qi): Likewise.
45155         (vec_widen_umult_odd_v8hi): Likewise.
45156         (vec_widen_smult_odd_v8hi): Likewise.
45157         (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
45158         vmuloub rather than call gen_vec_widen_umult_*.
45159         (vec_widen_umult_lo_v16qi): Likewise.
45160         (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
45161         vmulosb rather than call gen_vec_widen_smult_*.
45162         (vec_widen_smult_lo_v16qi): Likewise.
45163         (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
45164         rather than call gen_vec_widen_umult_*.
45165         (vec_widen_umult_lo_v8hi): Likewise.
45166         (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
45167         rather than call gen_vec_widen_smult_*.
45168         (vec_widen_smult_lo_v8hi): Likewise.
45170 2014-01-15  Jeff Law  <law@redhat.com>
45172         PR tree-optimization/59747
45173         * ree.c (find_and_remove_re): Properly handle case where a second
45174         eliminated extension requires widening a copy created for elimination
45175         of a prior extension.
45176         (combine_set_extension): Ensure that the number of hard regs needed
45177         for a destination register does not change when we widen it.
45179 2014-01-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
45181         * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
45182         (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
45183         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
45184         (arm*-*-rtems*): Use t-rtems from existing tmake_file.
45185         (avr-*-rtems*): Likewise.
45186         (bfin*-rtems*): Likewise.
45187         (moxie-*-rtems*): Likewise.
45188         (h8300-*-rtems*): Likewise.
45189         (i[34567]86-*-rtems*): Likewise.
45190         (lm32-*-rtems*): Likewise.
45191         (m32r-*-rtems*): Likewise.
45192         (m68k-*-rtems*): Likewise.
45193         (microblaze*-*-rtems*): Likewise.
45194         (mips*-*-rtems*): Likewise.
45195         (powerpc-*-rtems*): Likewise.
45196         (sh-*-rtems*): Likewise.
45197         (sparc-*-rtems*): Likewise.
45198         (sparc64-*-rtems*): Likewise.
45199         (v850-*-rtems*): Likewise.
45200         (m32c-*-rtems*): Likewise.
45202 2014-01-15  Vladimir Makarov  <vmakarov@redhat.com>
45204         PR rtl-optimization/59511
45205         * ira.c (ira_init_register_move_cost): Use memory costs for some
45206         cases of register move cost calculations.
45207         * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
45208         instead of BB frequency.
45209         * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
45210         * lra-assigns.c (find_hard_regno_for): Ditto.
45212 2014-01-15  Richard Biener  <rguenther@suse.de>
45214         PR tree-optimization/59822
45215         * tree-vect-stmts.c (hoist_defs_of_uses): New function.
45216         (vectorizable_load): Use it to hoist defs of uses of invariant
45217         loads out of the loop.
45219 2014-01-15  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
45220             Kugan Vivekanandarajah  <kuganv@linaro.org>
45222         PR target/59695
45223         * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
45224         truncation.
45226 2014-01-15  Richard Biener  <rguenther@suse.de>
45228         PR rtl-optimization/59802
45229         * lcm.c (compute_available): Use inverted postorder to seed
45230         the initial worklist.
45232 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45234         PR target/59803
45235         * config/s390/s390.c (s390_preferred_reload_class): Don't return
45236         ADDR_REGS for invalid symrefs in non-PIC code.
45238 2014-01-15  Jakub Jelinek  <jakub@redhat.com>
45240         PR other/58712
45241         * builtins.c (determine_block_size): Initialize *probable_max_size
45242         even if len_rtx is CONST_INT.
45244 2014-01-14  Andrew Pinski  <apinski@cavium.com>
45246         * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
45247         * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
45248         (cortexa53_tunings): Likewise.
45249         (aarch64_sched_issue_rate): New function.
45250         (TARGET_SCHED_ISSUE_RATE): Define.
45252 2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>
45254         * ira-costs.c (find_costs_and_classes): Add missed
45255         ira_init_register_move_cost_if_necessary.
45257 2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>
45259         PR target/59787
45260         * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
45262 2014-01-14  H.J. Lu  <hongjiu.lu@intel.com>
45264         PR target/59794
45265         * config/i386/i386.c (type_natural_mode): Add a bool parameter
45266         to indicate if type is used for function return value.  Warn ABI
45267         change if the vector mode isn't available for function return value.
45268         (ix86_function_arg_advance): Pass false to type_natural_mode.
45269         (ix86_function_arg): Likewise.
45270         (ix86_gimplify_va_arg): Likewise.
45271         (function_arg_32): Don't warn ABI change.
45272         (ix86_function_value): Pass true to type_natural_mode.
45273         (ix86_return_in_memory): Likewise.
45274         (ix86_struct_value_rtx): Removed.
45275         (TARGET_STRUCT_VALUE_RTX): Likewise.
45277 2014-01-14  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
45279         * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
45280         converting a conditional jump into a conditional return.
45282 2014-01-14  Richard Biener  <rguenther@suse.de>
45284         PR tree-optimization/58921
45285         PR tree-optimization/59006
45286         * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
45287         hoisting invariant stmts.
45288         * tree-vect-stmts.c (vectorizable_load): Insert the splat of
45289         invariant loads on the preheader edge if possible.
45291 2014-01-14  Joey Ye  <joey.ye@arm.com>
45293         * doc/plugin.texi (Building GCC plugins): Update to C++.
45295 2014-01-14  Kirill Yukhin  <kirill.yukhin@intel.com>
45297         * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
45298         (_mm_rcp28_round_ss): Ditto.
45299         (_mm_rsqrt28_round_sd): Ditto.
45300         (_mm_rsqrt28_round_ss): Ditto.
45301         (_mm_rcp28_sd): Ditto.
45302         (_mm_rcp28_ss): Ditto.
45303         (_mm_rsqrt28_sd): Ditto.
45304         (_mm_rsqrt28_ss): Ditto.
45305         * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
45306         * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
45307         * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
45308         (IX86_BUILTIN_RCP28SD): Ditto.
45309         (IX86_BUILTIN_RCP28SS): Ditto.
45310         (IX86_BUILTIN_RSQRT28SD): Ditto.
45311         (IX86_BUILTIN_RSQRT28SS): Ditto.
45312         (bdesc_special_args): Define __builtin_ia32_movntdqa512,
45313         __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
45314         __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
45315         (ix86_expand_special_args_builtin): Expand new FTYPE.
45316         * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
45317         (srcp14<mode>): Make insn unary.
45318         (avx512f_vmscalef<mode><round_name>): Use substed predicate.
45319         (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
45320         (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
45321         (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
45322         (avx512er_exp2<mode><mask_name><round_saeonly_name>):
45323         Fix rounding: make it SAE only.
45324         (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
45325         Ditto.
45326         (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
45327         Ditto.
45328         (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
45329         (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
45330         (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
45331         * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
45332         (round_saeonly_mask_scalar_operand4): Ditto.
45333         (round_saeonly_mask_scalar_op3): Ditto.
45334         (round_saeonly_mask_scalar_op4): Ditto.
45336 2014-01-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
45338         * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
45339         Implement -maltivec=be for vec_insert and vec_extract.
45341 2014-01-10  DJ Delorie  <dj@redhat.com>
45343         * config/msp430/msp430.md (call_internal): Don't allow memory
45344         references with SP as the base register.
45345         (call_value_internal): Likewise.
45346         * config/msp430/constraints.md (Yc): New.  For memory references
45347         that don't use SP as a base register.
45349         * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
45350         "an integer without a # prefix"
45351         * config/msp430/msp430.md (epilogue_helper): Use it.
45353 2014-01-13  Jakub Jelinek  <jakub@redhat.com>
45355         PR target/59617
45356         * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
45357         AVX512F gather builtins.
45358         * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
45359         on gather decls with INTEGER_TYPE masktype.
45360         (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
45361         directly into the builtin rather than hoisting it before loop.
45363         PR tree-optimization/59387
45364         * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
45365         (scev_const_prop): If folded_casts and type has undefined overflow,
45366         use force_gimple_operand instead of force_gimple_operand_gsi and
45367         for each added stmt if it is assign with
45368         arith_code_with_undefined_signed_overflow, call
45369         rewrite_to_defined_overflow.
45370         * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
45371         gimple-fold.h instead.
45372         (arith_code_with_undefined_signed_overflow,
45373         rewrite_to_defined_overflow): Moved to ...
45374         * gimple-fold.c (arith_code_with_undefined_signed_overflow,
45375         rewrite_to_defined_overflow): ... here.  No longer static.
45376         Include gimplify-me.h.
45377         * gimple-fold.h (arith_code_with_undefined_signed_overflow,
45378         rewrite_to_defined_overflow): New prototypes.
45380 2014-01-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
45382         * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
45384 2014-01-13  Eric Botcazou  <ebotcazou@adacore.com>
45386         * builtins.c (get_object_alignment_2): Minor tweak.
45387         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
45389 2014-01-13  Christian Bruel  <christian.bruel@st.com>
45391         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
45392         optimized non constant lengths.
45394 2014-01-13  Jakub Jelinek  <jakub@redhat.com>
45396         PR libgomp/59194
45397         * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
45398         load as __atomic_load_N if possible.
45400 2014-01-11  David Edelsohn  <dje.gcc@gmail.com>
45402         * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
45403         target parameter.
45404         (rs6000_expand_builtin): Adjust call.
45406 2014-01-11  David Edelsohn  <dje.gcc@gmail.com>
45408         PR target/58115
45409         * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
45410         * config/rs6000/rs6000.c: Include target-globals.h.
45411         (rs6000_set_current_function): Instead of doing target_reinit
45412         unconditionally, use save_target_globals_default_opts and
45413         restore_target_globals.
45415         * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
45416         FPSCR.
45417         * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
45418         (rs6000_expand_builtin): Handle mffs and mtfsf.
45419         (rs6000_init_builtins): Define mffs and mtfsf.
45420         * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
45421         (rs6000_mffs): New pattern.
45422         (rs6000_mtfsf): New pattern.
45424 2014-01-11  Bin Cheng  <bin.cheng@arm.com>
45426         * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
45427         Start narrowing with START.  Apply candidate-use pair
45428         and check overall cost in narrowing.
45429         (iv_ca_prune): Pass new argument.
45431 2014-01-10  Jeff Law  <law@redhat.com>
45433         PR middle-end/59743
45434         * ree.c (combine_reaching_defs): Ensure the defining statement
45435         occurs before the extension when optimizing extensions with
45436         different source and destination hard registers.
45438 2014-01-10  Jan Hubicka  <hubicka@ucw.cz>
45440         PR ipa/58585
45441         * ipa-devirt.c (build_type_inheritance_graph): Also add types of
45442         vtables into the type inheritance graph.
45444 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
45446         PR rtl-optimization/59754
45447         * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
45448         modes in the REGNO != REGNO case.
45450 2014-01-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
45452         * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
45454 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
45456         PR tree-optimization/59745
45457         * tree-predcom.c (tree_predictive_commoning_loop): Call
45458         free_affine_expand_cache if giving up because components is NULL.
45460         * target-globals.c (save_target_globals): Allocate < 4KB structs using
45461         GC in payload of target_globals struct instead of allocating them on
45462         the heap and the larger structs separately using GC.
45463         * target-globals.h (struct target_globals): Make regs, hard_regs,
45464         reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
45465         of GTY((skip)) and change type to void *.
45466         (reset_target_globals): Cast loads from those fields to corresponding
45467         types.
45469 2014-01-10  Steve Ellcey  <sellcey@mips.com>
45471         PR plugins/59335
45472         * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
45473         gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
45474         tree-ssanames.h, print-tree.h, varasm.h, and context.h.
45476 2014-01-10  Richard Earnshaw  <rearnsha@arm.com>
45478         PR target/59744
45479         * aarch64-modes.def (CC_Zmode): New flags mode.
45480         * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
45481         represents an equality.
45482         (aarch64_get_condition_code): Handle CC_Zmode.
45483         * aarch64.md (compare_neg<mode>): Restrict to equality operations.
45485 2014-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45487         * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
45488         extraction in good case.
45490 2014-01-10  Richard Biener  <rguenther@suse.de>
45492         PR tree-optimization/59374
45493         * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
45494         checking after SLP discovery.  Mark stmts not participating
45495         in any SLP instance properly.
45497 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
45499         * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
45500         when handling a SET rtx.
45502 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
45504         * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
45505         (cortex-a57): Likewise.
45506         (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
45508 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
45510         * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
45511         non-iwmmxt builtins.
45513 2014-01-10  Jan Hubicka  <hubicka@ucw.cz>
45515         PR ipa/58252
45516         PR ipa/59226
45517         * ipa-devirt.c record_target_from_binfo): Take as argument
45518         stack of binfos and lookup matching one for virtual inheritance.
45519         (possible_polymorphic_call_targets_1): Update.
45521 2014-01-10  Huacai Chen  <chenhc@lemote.com>
45523         * config/mips/driver-native.c (host_detect_local_cpu): Handle new
45524         kernel strings for Loongson-2E/2F/3A.
45526 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
45528         PR middle-end/59670
45529         * tree-vect-data-refs.c (vect_analyze_data_refs): Check
45530         is_gimple_call before calling gimple_call_internal_p.
45532 2014-01-09  Steve Ellcey  <sellcey@mips.com>
45534         * Makefile.in (TREE_FLOW_H): Remove.
45535         (TREE_SSA_H): Add file names from tree-flow.h.
45536         * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
45537         * tree.h: Remove tree-flow.h reference.
45538         * hash-table.h: Remove tree-flow.h reference.
45539         * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
45540         reference with tree-ssa-loop.h.
45542 2014-01-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
45544         * doc/invoke.texi: Add -maltivec={be,le} options, and document
45545         default element-order behavior for -maltivec.
45546         * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
45547         * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
45548         that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
45549         when targeting big endian, at least for now.
45550         * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
45552 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
45554         PR middle-end/47735
45555         * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
45556         var satisfies use_register_for_decl, just take into account type
45557         alignment, rather than decl alignment.
45559         PR tree-optimization/59622
45560         * gimple-fold.c (gimple_fold_call): Fix a typo in message.  For
45561         __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
45562         __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
45563         Don't devirtualize for inplace at all.  For targets.length () == 1,
45564         if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
45566 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
45568         * config/i386/i386.md (cpu): Remove the unused btver1.
45570 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
45572         * gdbasan.in: Put a breakpoint on __sanitizer::Report.
45574 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
45576         PR target/58115
45577         * tree-core.h (struct target_globals): New forward declaration.
45578         (struct tree_target_option): Add globals field.
45579         * tree.h (TREE_TARGET_GLOBALS): Define.
45580         (prepare_target_option_nodes_for_pch): New prototype.
45581         * target-globals.h (struct target_globals): Define even if
45582         !SWITCHABLE_TARGET.
45583         * tree.c (prepare_target_option_node_for_pch,
45584         prepare_target_option_nodes_for_pch): New functions.
45585         * config/i386/i386.h (SWITCHABLE_TARGET): Define.
45586         * config/i386/i386.c: Include target-globals.h.
45587         (ix86_set_current_function): Instead of doing target_reinit
45588         unconditionally, use save_target_globals_default_opts and
45589         restore_target_globals.
45591 2014-01-09  Richard Biener  <rguenther@suse.de>
45593         PR tree-optimization/59715
45594         * tree-cfg.h (split_critical_edges): Declare.
45595         * tree-cfg.c (split_critical_edges): Export.
45596         * tree-ssa-sink.c (execute_sink_code): Split critical edges.
45598 2014-01-09  Max Ostapenko  <m.ostapenko@partner.samsung.com>
45600         * cfgexpand.c (expand_stack_vars): Optionally disable
45601         asan stack protection.
45602         (expand_used_vars): Likewise.
45603         (partition_stack_vars): Likewise.
45604         * asan.c (asan_emit_stack_protection): Optionally disable
45605         after return stack usage.
45606         (instrument_derefs): Optionally disable memory access instrumentation.
45607         (instrument_builtin_call): Likewise.
45608         (instrument_strlen_call): Likewise.
45609         (asan_protect_global): Optionally disable global variables protection.
45610         * doc/invoke.texi: Added doc for new options.
45611         * params.def: Added new options.
45612         * params.h: Likewise.
45614 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
45616         PR rtl-optimization/59724
45617         * ifcvt.c (cond_exec_process_if_block): Don't call
45618         flow_find_head_matching_sequence with 0 longest_match.
45619         * cfgcleanup.c (flow_find_head_matching_sequence): Count even
45620         non-active insns if !stop_after.
45621         (try_head_merge_bb): Revert 2014-01-07 changes.
45623 2014-01-08  Jeff Law  <law@redhat.com>
45625         * ree.c (get_sub_rtx): New function, extracted from...
45626         (merge_def_and_ext): Here.
45627         (combine_reaching_defs): Use get_sub_rtx.
45629 2014-01-08  Eric Botcazou  <ebotcazou@adacore.com>
45631         * cgraph.h (varpool_variable_node): Do not choke on null node.
45633 2014-01-08  Catherine Moore  <clm@codesourcery.com>
45635         * config/mips/mips.md (simple_return): Attempt to use JRC
45636         for microMIPS.
45637         * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
45639 2014-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
45641         PR rtl-optimization/59137
45642         * reorg.c (steal_delay_list_from_target): Call update_block for
45643         elided insns.
45644         (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
45646 2014-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
45648         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
45649         two duplicate entries.
45651 2014-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
45653         Revert:
45654         2012-10-07  Richard Sandiford  <rdsandiford@googlemail.com>
45656         * config/mips/mips.c (mips_truncated_op_cost): New function.
45657         (mips_rtx_costs): Adjust test for BADDU.
45658         * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
45660         2012-10-02  Richard Sandiford  <rdsandiford@googlemail.com>
45662         * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
45663         (*baddu_si): ...this new pattern.
45665 2014-01-08  Jakub Jelinek  <jakub@redhat.com>
45667         PR ipa/59722
45668         * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
45670 2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>
45672         PR middle-end/57748
45673         * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
45674         inner_reference_p.
45675         (expand_expr, expand_normal): Adjust.
45676         * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
45677         inner_reference_p. Use inner_reference_p to expand inner references.
45678         (store_expr): Adjust.
45679         * cfgexpand.c (expand_call_stmt): Adjust.
45681 2014-01-08  Rong Xu  <xur@google.com>
45683         * gcov-io.c (gcov_var): Move from gcov-io.h.
45684         (gcov_position): Ditto.
45685         (gcov_is_error): Ditto.
45686         (gcov_rewrite): Ditto.
45687         * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
45688         only part to libgcc/libgcov.h.
45690 2014-01-08  Marek Polacek  <polacek@redhat.com>
45692         PR middle-end/59669
45693         * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
45695 2014-01-08  Marek Polacek  <polacek@redhat.com>
45697         PR sanitizer/59667
45698         * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
45700 2014-01-08  Jakub Jelinek  <jakub@redhat.com>
45702         PR rtl-optimization/59649
45703         * stor-layout.c (get_mode_bounds): For BImode return
45704         0 and STORE_FLAG_VALUE.
45706 2014-01-08  Richard Biener  <rguenther@suse.de>
45708         PR middle-end/59630
45709         * gimple.h (is_gimple_builtin_call): Remove.
45710         (gimple_builtin_call_types_compatible_p): New.
45711         (gimple_call_builtin_p): New overload.
45712         * gimple.c (is_gimple_builtin_call): Remove.
45713         (validate_call): Rename to ...
45714         (gimple_builtin_call_types_compatible_p): ... this and export.  Also
45715         check return types.
45716         (validate_type): New static function.
45717         (gimple_call_builtin_p): New overload and adjust.
45718         * gimple-fold.c (gimple_fold_builtin): Fold the return value.
45719         (gimple_fold_call): Likewise.  Use gimple_call_builtin_p.
45720         (gimple_fold_stmt_to_constant_1): Likewise.
45721         * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
45723 2014-01-08  Richard Biener  <rguenther@suse.de>
45725         PR middle-end/59471
45726         * gimplify.c (gimplify_expr): Gimplify register-register type
45727         VIEW_CONVERT_EXPRs to separate stmts.
45729 2014-01-07  Jeff Law  <law@redhat.com>
45731         PR middle-end/53623
45732         * ree.c (combine_set_extension): Handle case where source
45733         and destination registers in an extension insn are different.
45734         (combine_reaching_defs): Allow source and destination registers
45735         in extension to be different under limited circumstances.
45736         (add_removable_extension): Remove restriction that the
45737         source and destination registers in the extension are the same.
45738         (find_and_remove_re): Emit a copy from the extension's
45739         destination to its source after the defining insn if
45740         the source and destination registers are different.
45742         PR middle-end/59285
45743         * ifcvt.c (merge_if_block): If we are merging a block with more than
45744         one successor with a block with no successors, remove any BARRIER
45745         after the second block.
45747 2014-01-07  Dan Xio Qiang  <ziyan01@163.com>
45749         * hw-doloop.c (reorg_loops): Release the bitmap obstack.
45751 2014-01-07  John David Anglin  <danglin@gcc.gnu.org>
45753         PR target/59652
45754         * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
45755         for 14-bit register offsets when INT14_OK_STRICT is false.
45757 2014-01-07  Roland Stigge  <stigge@antcom.de>
45758             Michael Meissner  <meissner@linux.vnet.ibm.com>
45760         PR 57386/target
45761         * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
45762         Only check TFmode for SPE constants.  Don't check TImode or TDmode.
45764 2014-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
45766         * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
45767         -mcpu.
45769 2014-01-07  Yufeng Zhang  <yufeng.zhang@arm.com>
45771         * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
45772         with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
45773         rtx is const0_rtx or not.
45775 2014-01-07  Richard Sandiford  <rdsandiford@googlemail.com>
45777         PR target/58115
45778         * target-globals.c (save_target_globals): Remove this_fn_optab
45779         handling.
45780         * toplev.c: Include optabs.h.
45781         (target_reinit): Temporarily restore the global options if another
45782         set of options are in force.
45784 2014-01-07  Jakub Jelinek  <jakub@redhat.com>
45786         PR rtl-optimization/58668
45787         * cfgcleanup.c (flow_find_cross_jump): Don't count
45788         any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
45789         to determine what is counted.
45790         (flow_find_head_matching_sequence): Use active_insn_p to determine
45791         what is counted.
45792         (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
45793         counting change.
45794         * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
45795         determine what is counted.
45797         PR tree-optimization/59643
45798         * tree-predcom.c (split_data_refs_to_components): If one dr is
45799         read and one write, determine_offset fails and the write isn't
45800         in the bad component, just put the read into the bad component.
45802 2014-01-07  Mike Stump  <mikestump@comcast.net>
45803             Jakub Jelinek  <jakub@redhat.com>
45805         PR pch/59436
45806         * tree-core.h (struct tree_optimization_option): Change optabs
45807         type from unsigned char * to void *.
45808         * optabs.c (init_tree_optimization_optabs): Adjust
45809         TREE_OPTIMIZATION_OPTABS initialization.
45811 2014-01-06  Jakub Jelinek  <jakub@redhat.com>
45813         PR target/59644
45814         * config/i386/i386.h (struct machine_function): Add
45815         no_drap_save_restore field.
45816         * config/i386/i386.c (ix86_save_reg): Use
45817         !cfun->machine->no_drap_save_restore instead of
45818         crtl->stack_realign_needed.
45819         (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
45820         this function clears frame_pointer_needed.  Set
45821         cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
45822         and DRAP reg is needed.
45824 2014-01-06  Marek Polacek  <polacek@redhat.com>
45826         PR c/57773
45827         * doc/implement-c.texi: Mention that other integer types are
45828         permitted as bit-field types in strictly conforming mode.
45830 2014-01-06  Felix Yang  <fei.yang0953@gmail.com>
45832         * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
45833         is newly allocated.
45835 2014-01-06  Richard Earnshaw  <rearnsha@arm.com>
45837         * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
45839 2014-01-06  Martin Jambor  <mjambor@suse.cz>
45841         PR ipa/59008
45842         * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
45843         to int.
45844         * ipa-prop.c (ipa_print_node_params): Fix indentation.
45846 2014-01-06  Eric Botcazou  <ebotcazou@adacore.com>
45848         PR debug/59350
45849         PR debug/59510
45850         * var-tracking.c (add_stores): Preserve the value of the source even if
45851         we don't record the store.
45853 2014-01-06  Terry Guo  <terry.guo@arm.com>
45855         * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
45857 2014-01-05  Iain Sandoe  <iain@codesourcery.com>
45859         PR bootstrap/59541
45860         * config/darwin.c (darwin_function_section): Adjust return values to
45861         correspond to optimisation changes made in r206070.
45863 2014-01-05  Uros Bizjak  <ubizjak@gmail.com>
45865         * config/i386/i386.c (ix86_data_alignment): Calculate max_align
45866         from prefetch_block tune setting.
45867         (nocona_cost): Correct size of prefetch block to 64.
45869 2014-01-04  Eric Botcazou  <ebotcazou@adacore.com>
45871         * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
45872         (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
45873         used to save the static chain register in the computation of the offset
45874         from which the FP registers need to be restored.
45876 2014-01-04  Jakub Jelinek  <jakub@redhat.com>
45878         PR tree-optimization/59519
45879         * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
45880         ICE if get_current_def (current_new_name) is already non-NULL, as long
45881         as it is a phi result of some other phi in *new_exit_bb that has
45882         the same argument.
45884         * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
45885         or vmovdqu* for misaligned_operand.
45886         (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
45887         <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
45888         * config/i386/i386.c (ix86_expand_special_args_builtin): Set
45889         aligned_mem for AVX512F masked aligned load and store builtins and for
45890         non-temporal moves.
45892 2014-01-03  Bingfeng Mei  <bmei@broadcom.com>
45894         PR tree-optimization/59651
45895         * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
45896         Address range for negative step should be added by TYPE_SIZE_UNIT.
45898 2014-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45900         * config/m68k/m68k.c (handle_move_double): Handle pushes with
45901         overlapping registers also for registers other than the stack pointer.
45903 2014-01-03  Marek Polacek  <polacek@redhat.com>
45905         PR other/59661
45906         * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
45907         __builtin_FILE.
45909 2014-01-03  Jakub Jelinek  <jakub@redhat.com>
45911         PR target/59625
45912         * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
45913         asm goto as jump.
45915         * config/i386/i386.md (MODE_SIZE): New mode attribute.
45916         (push splitter): Use <P:MODE_SIZE> instead of
45917         GET_MODE_SIZE (<P:MODE>mode).
45918         (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
45919         (mov -1, reg peephole2): Likewise.
45920         * config/i386/sse.md (*mov<mode>_internal,
45921         <sse>_storeu<ssemodesuffix><avxsizesuffix>,
45922         <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
45923         *<code><mode>3, *andnot<mode>3<mask_name>,
45924         <mask_codefor><code><mode>3<mask_name>): Likewise.
45925         * config/i386/subst.md (mask_mode512bit_condition,
45926         sd_mask_mode512bit_condition): Likewise.
45928 2014-01-02  Xinliang David Li  <davidxl@google.com>
45930         PR tree-optimization/59303
45931         * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
45932         (dump_predicates): Better output format.
45933         (pred_equal_p): New function.
45934         (is_neq_relop_p): Ditto.
45935         (is_neq_zero_form_p): Ditto.
45936         (pred_expr_equal_p): Ditto.
45937         (pred_neg_p): Ditto.
45938         (simplify_pred): Ditto.
45939         (simplify_preds_2): Ditto.
45940         (simplify_preds_3): Ditto.
45941         (simplify_preds_4): Ditto.
45942         (simplify_preds): Ditto.
45943         (push_pred): Ditto.
45944         (push_to_worklist): Ditto.
45945         (get_pred_info_from_cmp): Ditto.
45946         (is_degenerated_phi): Ditto.
45947         (normalize_one_pred_1): Ditto.
45948         (normalize_one_pred): Ditto.
45949         (normalize_one_pred_chain): Ditto.
45950         (normalize_preds): Ditto.
45951         (normalize_cond_1): Remove function.
45952         (normalize_cond): Ditto.
45953         (is_gcond_subset_of): Ditto.
45954         (is_subset_of_any): Ditto.
45955         (is_or_set_subset_of): Ditto.
45956         (is_and_set_subset_of): Ditto.
45957         (is_norm_cond_subset_of): Ditto.
45958         (pred_chain_length_cmp): Ditto.
45959         (convert_control_dep_chain_into_preds): Type change.
45960         (find_predicates): Ditto.
45961         (find_def_preds): Ditto.
45962         (destroy_predicates_vecs): Ditto.
45963         (find_matching_predicates_in_rest_chains): Ditto.
45964         (use_pred_not_overlap_with_undef_path_pred): Ditto.
45965         (is_pred_expr_subset): Ditto.
45966         (is_pred_chain_subset_of): Ditto.
45967         (is_included_in): Ditto.
45968         (is_superset_of): Ditto.
45970 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
45972         Update copyright years.
45974 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
45976         * common/config/arc/arc-common.c, config/arc/arc-modes.def,
45977         config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
45978         config/arc/arc.md, config/arc/arc.opt,
45979         config/arm/arm_neon_builtins.def, config/arm/crypto.def,
45980         config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
45981         config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
45982         config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
45983         config/linux-protos.h, config/linux.c, config/winnt-c.c,
45984         diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
45985         vtable-verify.c, vtable-verify.h: Use the standard form for the
45986         copyright notice.
45988 2014-01-02  Tobias Burnus  <burnus@net-b.de>
45990         * gcc.c (process_command): Update copyright notice dates.
45991         * gcov-dump.c: Ditto.
45992         * gcov.c: Ditto.
45993         * doc/cpp.texi: Bump @copying's copyright year.
45994         * doc/cppinternals.texi: Ditto.
45995         * doc/gcc.texi: Ditto.
45996         * doc/gccint.texi: Ditto.
45997         * doc/gcov.texi: Ditto.
45998         * doc/install.texi: Ditto.
45999         * doc/invoke.texi: Ditto.
46001 2014-01-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
46003         * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
46005 2014-01-01  Jakub Jelinek  <jakub@redhat.com>
46007         * config/i386/sse.md (*mov<mode>_internal): Guard
46008         EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
46010         PR rtl-optimization/59647
46011         * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
46012         new_rtx into UNSIGNED_FLOAT rtxes.
46014 Copyright (C) 2014 Free Software Foundation, Inc.
46016 Copying and distribution of this file, with or without modification,
46017 are permitted in any medium without royalty provided the copyright
46018 notice and this notice are preserved.