Define __void_t and SFINAE-friendly iterator_traits.
[official-gcc.git] / gcc / ChangeLog
blob97fae4d721df75ddea9bff5ce49ba692a33ac526
1 2014-11-11  Andrew Pinski  <apinski@cavium.com>
3         Bug target/61997
4         * config.gcc (aarch64*-*-*): Set target_gtfiles to include
5         aarch64-builtins.c.
6         * config/aarch64/aarch64-builtins.c: Include gt-aarch64-builtins.h
7         at the end of the file.
9 2014-11-11  Anthony Brandon  <anthony.brandon@gmail.com>
10             Manuel López-Ibáñez  <manu@gcc.gnu.org>
12         PR driver/36312
13         * diagnostic-core.h: Add prototype for fatal_error.
14         * diagnostic.c (fatal_error): New function fatal_error.
15         * gcc.c (store_arg): Remove have_o_argbuf_index.
16         (process_command): Check if input and output files are the same.
17         * toplev.c (init_asm_output): Check if input and output files are
18         the same.
20 2014-11-11  Eric Botcazou  <ebotcazou@adacore.com>
22         * reorg.c (fill_slots_from_thread): Do not copy frame-related insns.
24 2014-11-11  Eric Botcazou  <ebotcazou@adacore.com>
26         PR target/61535
27         * config/sparc/sparc.c (function_arg_vector_value): Deal with vectors
28         smaller than 8 bytes.
29         (sparc_function_arg_1): Tweak.
30         (sparc_function_value_1): Tweak.
32 2014-11-11  David Malcolm  <dmalcolm@redhat.com>
34         * ChangeLog.jit: New.
35         * Makefile.in (doc_build_sys): New variable, set to "sphinx" if
36         sphinx is installed, falling back to "texinfo" otherwise.
37         (FULL_DRIVER_NAME): New variable, adapted from the
38         install-driver target.  New target, a symlink within the builddir,
39         linked to "xgcc", for use when running the JIT library from the
40         builddir.
41         (MOSTLYCLEANFILES): Add FULL_DRIVER_NAME.
42         (install-driver): Use $(FULL_DRIVER_NAME) rather than spelling it
43         out.
44         * configure.ac (doc_build_sys): New variable, set to "sphinx" if
45         sphinx is installed, falling back to "texinfo" otherwise.
46         (GCC_DRIVER_NAME): Generate a gcc-driver-name.h file containing
47         GCC_DRIVER_NAME for the benefit of jit/internal-api.c.
48         * configure: Regenerate.
49         * doc/install.texi (--enable-host-shared): Specify that this is
50         required when building libgccjit.
51         (Tools/packages necessary for modifying GCC): Add Sphinx.
52         * timevar.def (TV_JIT_REPLAY): New.
53         (TV_ASSEMBLE): New.
54         (TV_LINK): New.
55         (TV_LOAD): New.
57 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
59         PR target/63610
60         * configure: Regenerate.
62 2014-11-11  James Greenhalgh  <james.greenhalgh@arm.com>
64         * config/aarch64/aarch64-simd.md
65         (aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
66         (aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
67         are punning between float vectors and integer vectors.
69 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
71         * config/alpha/alpha.c (alpha_emit_conditional_branch): Replace
72         open-coded swap with std::swap to swap values.
73         (alpha_emit_setcc): Ditto.
74         (alpha_emit_conditional_move): Ditto.
75         (alpha_split_tmode_pair): Ditto.
77 2014-11-11  Evgeny Stupachenko  <evstupac@gmail.com>
79         * tree-vect-data-refs.c (vect_shift_permute_load_chain): Extend shift
80         permutations on power of 2 cases.
82 2014-11-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
84         * config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
85         (CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).
87 2014-11-11  Richard Biener  <rguenther@suse.de>
89         * tree-core.h (pedantic_lvalues): Remove.
90         * fold-const.c (pedantic_lvalues): Likewise.
91         (pedantic_non_lvalue_loc): Remove conditional non_lvalue_loc call.
93 2014-11-11  Martin Liska  <mliska@suse.cz>
95         PR ipa/63622
96         PR ipa/63795
97         * ipa-icf.c (sem_function::merge): Add new target symbol alias
98         support guard.
99         (sem_variable::merge): Likewise.
100         * ipa-icf.h (target_supports_symbol_aliases_p): New function.
102 2014-11-11  Richard Biener  <rguenther@suse.de>
104         * match.pd: Implement patterns from associate_plusminus
105         and factor in differences from the fold-const.c implementation.
106         * fold-const.c (fold_binary_loc): Remove patterns here.
107         * tree-ssa-forwprop.c (associate_plusminus): Remove.
108         (pass_forwprop::execute): Don't call it.
109         * tree.c (tree_nop_conversion_p): New function, factored
110         from tree_nop_conversion.
111         * tree.h (tree_nop_conversion_p): Declare.
113 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
115         * system.h: Include algorithm and utility.
116         * rtl.h: Do not include utility here.
117         * wide-int.h: Ditto.
118         * tree-vect-data-refs.c (swap): Remove template.
119         (vect_prune_runtime_alias_test_list): Use std::swap instead of swap.
121 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
123         PR bootstrap/63699
124         PR bootstrap/63750
125         * system.h: Include <string> before "safe-ctype.h"
126         * wide-int.h (wi::smin, wi::smax, wi::umin, wi::umax): Prefix
127         calls to min/max with wi namespace.
128         * ipa-chkp.c: Don't include <string>.
130 2014-11-11  Terry Guo  <terry.guo@arm.com>
132         * doc/invoke.texi (-masm-syntax-unified): Reword and fix typo.
133         * config/arm/thumb1.md (*thumb_mulsi3): Use movs to move low
134         registers.
135         (*thumb1_movhf): Likewise.
137 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
139         * sreal.c (sreal::to_int): Use INTTYPE_MAXIMUM (int64_t)
140         instead of INT64_MAX.
142 2014-11-11  Tobias Burnus  <burnus@net-b.de>
144         * doc/install.texi (Prerequisites): Remove CLooG.
146 2014-11-10  Trevor Saunders  <tsaunders@mozilla.com>
148         * ipa-inline.c (edge_badness): Adjust.
149         (inline_small_functions): Likewise.
150         * predict.c (propagate_freq): Likewise.
151         (estimate_bb_frequencies): Likewise.
152         * sreal.c (sreal::dump): Rename from dump_sreal.
153         (debug): Adjust.
154         (copy): Remove function.
155         (sreal::shift_right): Rename from sreal_sift_right.
156         (sreal::normalize): Rename from normalize.
157         (sreal_init): Remove function.
158         (sreal::to_int): Rename from sreal_to_int.
159         (sreal_compare): Remove function.
160         (sreal::operator+): Rename from sreal_add.
161         (sreal::operator-): Rename from sreal_sub.
162         (sreal::operator*): Rename from sreal_mul.
163         (sreal::operator/): Rename from sreal_div.
164         * sreal.h (class sreal): Adjust.
165         (inline sreal &operator+=): New operator.
166         (inline sreal &operator-=): Likewise.
167         (inline sreal &operator/=): Likewise.
168         (inline sreal &operator*=): Likewise.
169         (inline bool operator!=): Likewise.
170         (inline bool operator>): Likewise.
171         (inline bool operator<=): Likewise.
172         (inline bool operator>=): Likewise.
174 2014-11-11  Bin Cheng  <bin.cheng@arm.com>
176         * sched-deps.c (sched_analyze_1): Check pending list if it is not
177         less than MAX_PENDING_LIST_LENGTH.
178         (sched_analyze_2, sched_analyze_insn, deps_analyze_insn): Ditto.
180 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
182         * config/i386/i386.c (ix86_decompose_address): Replace open-coded
183         swap with std::swap to swap values.
184         (ix86_fixup_binary_operands): Ditto.
185         (ix86_binary_operator_ok): Ditto.
186         (ix86_prepare_fp_compare_args): Ditto.
187         (ix86_expand_branch): Ditto.
188         (ix86_expand_carry_flag_compare): Ditto.
189         (ix86_expand_int_movcc): Ditto.
190         (ix86_prepare_sse_fp_compare_args): Ditto.
191         (ix86_expand_sse_fp_minmax): Ditto.
192         (ix86_expand_int_vcond): Ditto.
193         (ix86_split_long_move): Ditto.
194         (ix86_expand_sse_comi): Ditto.
195         (ix86_expand_sse_compare_and_jump): Ditto.
196         (ix86_expand_sse_compare_mask): Ditto.
197         * config/i386/i386.md (*add<mode>_1): Ditto.
198         (addsi_1_zext): Ditto.
199         (*addhi_1): Ditto.
200         (*addqi_1): Ditto.
201         (*add<mode>_2): Ditto.
202         (*addsi_2_zext): Ditto.
203         (*add<mode>_3): Ditto.
204         (*addsi_3_zext): Ditto.
205         (*add<mode>_5): Ditto.
206         (absneg splitter): Ditto.
208 2014-11-11  Uros Bizjak  <ubizjak@gmail.com>
210         Revert:
211         2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
213         PR target/63620
214         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
215         * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
216         * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
217         be reloaded through memory.
218         (*pushxf): Ditto.
219         (*pushdf): Ditto.
221 2014-11-11  Jakub Jelinek  <jakub@redhat.com>
222             Martin Liska  <mliska@suse.cz>
224         * ipa-icf-gimple.c (func_checker::compare_bb): Fix comment typo.
225         (func_checker::compare_gimple_call): Compare gimple_call_fn,
226         gimple_call_chain, gimple_call_fntype and call flags.
228 2014-11-10  Vladimir Makarov  <vmakarov@redhat.com>
230         PR rtl-optimization/63620
231         PR rtl-optimization/63799
232         * lra-lives.c (process_bb_lives): Do not delete EH_REGION, trapped
233         and setting PIC pseudo insns.
234         (lra_create_live_ranges): Fix the typo.
236 2014-11-10  Patrick Palka  <ppalka@gcc.gnu.org>
238         PR middle-end/63748
239         * tree-ssa-propagate.c (may_propagate_copy): Allow propagating
240         SSA copies whose source and destination names both occur in
241         abnormal PHIs.
243 2014-11-10 Roman Gareev  <gareevroman@gmail.com>
245         * Makefile.in: Remove the compilation of graphite-clast-to-gimple.o.
246         * common.opt: Remove using of fgraphite-code-generator flag.
247         * flag-types.h: Likewise.
248         * graphite.c: Remove using of CLooG.
249         * graphite-blocking.c: Likewise.
250         * graphite-dependences.c: Likewise.
251         * graphite-poly.c: Likewise.
252         * graphite-poly.h: Likewise.
253         * graphite-scop-detection.c: Likewise.
254         * graphite-sese-to-poly.c: Likewise.
255         * graphite-clast-to-gimple.c: Removed.
256         * graphite-clast-to-gimple.h: Likewise.
257         * graphite-htab.h: Likewise.
259 2014-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
261         * doc/invoke.texi ([-Wshift-count-negative, -Wshift-count-overflow]):
262         Add.
264 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
266         * config/frv/frv.c (frv_io_handle_use_1): Delete.
267         (frv_io_handle_use): Use find_all_hard_regs.
269 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
271         * config/frv/frv.c (frv_registers_conflict_p_1): Take an rtx rather
272         than an rtx *.  Take the regstate_t directly rather than via a void *.
273         Return a bool rather than an int.  Iterate over all subrtxes here.
274         (frv_registers_conflict_p): Update accordingly.
276 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
278         * config/frv/frv.c: Include rtl-iter.h.
279         (frv_acc_group_1): Delete.
280         (frv_acc_group): Use FOR_EACH_SUBRTX.
282 2014-11-10  Richard Sandiford  <richard.sandiford@arm.com>
284         * config/frv/frv.c: Move include of rtl.h after hard-reg-set.h.
285         (frv_clear_registers_used): Delete.
286         (frv_ifcvt_modify_tests): Use find_all_hard_regs.
288 2014-11-10  Jan Hubicka  <hubicka@ucw.cz>
290         PR bootstrap/63573
291         * calls.c (initialize_argument_information): When emitting thunk call
292         use original memory placement of the argument.
294 2014-11-10  Renlin Li  <renlin.li@arm.com>
296         PR middle-end/61529
297         * tree-ssa-threadupdate.c (compute_path_counts): Bound path_in_freq.
299 2014-11-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
301         * expmed.c (expand_shift_1): Expand 8 bit rotate of 16 bit value to
302         bswaphi if available.
304 2014-11-10  Bernd Schmidt  <bernds@codesourcery.com>
306         * config/nvptx/nvptx.c: New file.
307         * config/nvptx/nvptx.h: New file.
308         * config/nvptx/nvptx-protos.h: New file.
309         * config/nvptx/nvptx.md: New file.
310         * config/nvptx/t-nvptx: New file.
311         * config/nvptx/nvptx.opt: New file.
312         * common/config/nvptx/nvptx-common.c: New file.
313         * config.gcc: Handle nvptx-*-*.
315 2014-11-10  Richard Biener  <rguenther@suse.de>
317         * tree-ssa-operands.c (finalize_ssa_uses): Properly put
318         released operands on the free list.
320 2014-11-10  Richard Biener  <rguenther@suse.de>
322         * match.pd: Implement pattern from simplify_mult.
323         * tree-ssa-forwprop.c (simplify_mult): Remove.
324         (pass_forwprop::execute): Do not call simplify_mult.
326 2014-11-10  Richard Biener  <rguenther@suse.de>
328         PR tree-optimization/63800
329         * tree-ssa-pre.c (eliminate_push_avail): Push in a way so
330         we can restore the previous availability in after_dom_children.
331         (eliminate_dom_walker::after_dom_children): Restore
332         previous availability.
334 2014-11-10  Richard Biener  <rguenther@suse.de>
336         PR middle-end/63798
337         * expr.c (expand_expr_real_2): When expanding FMA_EXPRs
338         properly treat the embedded multiplication as commutative
339         when looking for feeding negates.
341 2014-11-10  Joern Rennecke  <joern.rennecke@embecosm.com>
343         * config/avr/avr.h (CPLUSPLUS_CPP_SPEC): Define.
345 2014-11-10  Martin Liska  <mliska@suse.cz>
347         * gcc.dg/tree-ssa/ldist-19.c: ICF is disabled
348         for the test because of default char signedness
349         on powerpc64 target.
351 2014-11-10  Richard Biener  <rguenther@suse.de>
353         * match.pd: Implement pattern from simplify_conversion_from_bitmask.
354         * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): Remove.
355         (pass_forwprop::execute): Do not call simplify_conversion_from_bitmask.
357 2014-11-10  Richard Biener  <rguenther@suse.de>
359         * match.pd: Move rest of the conversion combining patterns
360         from tree-ssa-forwprop.c.
361         * tree-ssa-forwprop.c (combine_conversions): Remove.
362         (pass_forwprop::execute): Do not call it.
364 2014-11-10  Eric Botcazou  <ebotcazou@adacore.com>
366         * gimple-low.c (lower_function_body): Clear the location of the first
367         inserted representative return if it also fills in for the fallthru.
369 2014-11-10  Yuri Rumyantsev  <ysrumyan@gmail.com>
371         * tree-if-conv.c (add_to_predicate_list): Check unconditionally
372         that bb is always executed to early exit. Use predicate of
373         cd-equivalent block for join blocks if it exists.
374         (if_convertible_loop_p_1): Recompute POST_DOMINATOR tree.
375         (tree_if_conversion): Free post-dominance information.
377 2014-11-09  Jason Merrill  <jason@redhat.com>
379         * config/i386/avx512vldqintrin.h (_mm256_broadcast_f32x2): __mmask8.
380         * config/i386/avx512vlintrin.h (_mm256_mask_cvtepi32_storeu_epi16)
381         (_mm_mask_cvtusepi32_storeu_epi16)
382         (_mm_mask_cvtsepi64_storeu_epi32): Return void.
384 2014-11-09  Joern Rennecke  <joern.rennecke@embecosm.com>
386         * config/avr/predicates.md (low_io_address_operand): Fix typo.
388 2014-11-09  Vladimir Makarov  <vmakarov@redhat.com>
390         PR rtl-optimization/63620
391         * lra-constraints.c (substitute_pseudo): Add prefix lra_ to the
392         name.  Move to lra.c.  Make it external.
393         (substitute_pseudo_within_insn): Ditto.
394         (inherit_reload_reg, split_reg, remove_inheritance_pseudos): Use
395         the new names.
396         (undo_optional_reloads): Ditto.
397         * lra-int.h (lra_dump_bitmap_with_title, lra_substitute_pseudo):
398         New prototypes.
399         (lra_substitute_pseudo_within_insn): Ditto.
400         * lra-lives.c (bb_killed_pseudos, bb_gen_pseudos): New.
401         (mark_regno_live): Add parameter.  Update bb_gen_pseudos.
402         (mark_regno_dead): Add parameter.  Update bb_gen_pseudos and
403         bb_killed_pseudos.
404         (struct bb_data, bb_data_t, bb_data): New.
405         (get_bb_data, get_bb_data_by_index): Ditto.
406         (all_hard_regs_bitmap): New.
407         (live_trans_fun, live_con_fun_0, live_con_fun_n, all_blocks): New.
408         (initiate_live_solver, finish_live_solver): New.
409         (process_bb_lives): Change return type.  Add code updating local
410         live data and removing dead insns.  Pass new argument to
411         mark_regno_live and mark_regno_dead.  Check changing bb pseudo
412         life info.  Return the result.
413         (lra_create_live_ranges): Add code to do global pseudo live
414         analysis.
415         (lra_live_ranges_init): Call initiate_live_solver.
416         (lra_live_ranges_finish): Call finish_live_solver.
417         * lra.c (lra_dump_bitmap_with_title): New.
418         (lra_substitute_pseudo, lra_substitute_pseudo_within_insn): Move
419         from lra-constraints.c.
421 2014-11-09  Richard Biener  <rguenther@suse.de>
423         * match.pd: Add patterns convering two conversions in a row
424         from fold-const.c.
425         * fold-const.c (fold_unary_loc): Remove them here.
426         * tree-ssa-forwprop.c (combine_conversions): Likewise.
427         * genmatch.c (dt_node::gen_kids): Check whether we may
428         follow SSA use-def chains.
430 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
432         * config/aarch64/aarch64.c: Include rtl-iter.h.
433         (aarch64_tls_operand_p_1): Delete.
434         (aarch64_tls_operand_p): Use FOR_EACH_SUBRTX.
436 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
438         * config/arm/arm.c (arm_note_pic_base): Delete.
439         (arm_cannot_copy_insn_p): Use FOR_EACH_SUBRTX.
441 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
443         * config/arm/arm.c: Include rtl-iter.h.
444         (arm_tls_referenced_p_1): Delete.
445         (arm_tls_referenced_p): Use FOR_EACH_SUBRTX.
447 2014-11-08  Richard Sandiford  <richard.sandiford@arm.com>
449         * config/arm/aarch-common.c: Include rtl-iter.h.
450         (search_term, arm_find_sub_rtx_with_search_term): Delete.
451         (arm_find_sub_rtx_with_code): Use FOR_EACH_SUBRTX_VAR.
452         (arm_get_set_operands): Pass the insn pattern rather than the
453         insn itself.
454         (arm_no_early_store_addr_dep): Likewise.
456 2014-11-08  Eric Botcazou  <ebotcazou@adacore.com>
458         * config/arm/arm.c (arm_set_return_address): Mark the store as frame
459         related, if any.
460         (thumb_set_return_address): Likewise.
462 2014-11-07  Jeff Law  <law@redhat.com>
464         PR tree-optimization/61515
465         * tree-ssa-threadedge.c (invalidate_equivalences): Walk the unwinding
466         stack rather than looking at every SSA_NAME's value.
468 2014-11-07  Richard Biener  <rguenther@suse.de>
470         PR tree-optimization/63605
471         * fold-const.c (fold_binary_loc): Properly use element_precision
472         for types that may not be scalar.
474 2014-11-07  Evgeny Stupachenko  <evstupac@gmail.com>
476         PR target/63534
477         * config/i386/i386.md (builtin_setjmp_receiver): Use
478         pic_offset_table_rtx for PIC register.
479         (nonlocal_goto_receiver): Delete.
481 2014-11-07  Daniel Hellstrom  <daniel@gaisler.com>
483         * config.gcc (sparc-*-rtems*): Clean away unused t-elf.
484         * config/sparc/t-rtems: Add leon3v7 and muser-mode multilibs.
486 2014-11-07  Martin Liska  <mliska@suse.cz>
488         PR ipa/63580
489         * cgraphunit.c (cgraph_node::create_wrapper):
490         TREE_ADDRESSABLE is set to false for a newly created thunk.
492 2014-11-07  Martin Liska  <mliska@suse.cz>
494         PR ipa/63747
495         * ipa-icf-gimple.c (func_checker::compare_gimple_switch):
496         Missing checking for CASE_LOW and CASE_HIGH added.
498 2014-11-07  Martin Liska  <mliska@suse.cz>
500         PR ipa/63595
501         * cgraphunit.c (cgraph_node::expand_thunk): DECL_BY_REFERENCE
502         is correctly handled for thunks created by IPA ICF.
504 2014-11-07  Jiong Wang  <jiong.wang@arm.com>
505 2014-11-07  Richard Biener  <rguenther@suse.de>
507         PR tree-optimization/63676
508         * gimple-fold.c (fold_gimple_assign): Do not fold node when
509         TREE_CLOBBER_P be true.
511 2014-11-07  Richard Biener  <rguenther@suse.de>
513         PR middle-end/63770
514         * match.pd: Guard conflicting GENERIC pattern properly.
516 2014-11-07  Richard Biener  <rguenther@suse.de>
518         * match.pd: Add patterns for POINTER_PLUS_EXPR association
519         and special patterns from tree-ssa-forwprop.c
520         * fold-const.c (fold_binary_loc): Remove them here.
521         * tree-ssa-forwprop.c (to_purge): New global bitmap.
522         (fwprop_set_lattice_val): New function.
523         (fwprop_invalidate_lattice): Likewise.
524         (remove_prop_source_from_use): Instead of purging dead EH
525         edges record blocks to do that in to_purge.
526         (tidy_after_forward_propagate_addr): Likewise.
527         (forward_propagate_addr_expr): Invalidate the lattice for
528         SSA names we release.
529         (simplify_conversion_from_bitmask): Likewise.
530         (simplify_builtin_call): Likewise.
531         (associate_pointerplus_align): Remove.
532         (associate_pointerplus_diff): Likewise.
533         (associate_pointerplus): Likewise.
534         (fold_all_stmts): Merge with ...
535         (pass_forwprop::execute): ... the original loop over all
536         basic-blocks.  Delay purging dead EH edges and invalidate
537         the lattice for SSA names we release.
539 2014-11-07  Terry Guo  <terry.guo@arm.com>
541         * config/arm/arm.opt (masm-syntax-unified): New option.
542         * doc/invoke.texi (-masm-syntax-unified): Document new option.
543         * config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1.
544         (ASM_APP_ON): Redefined.
545         * config/arm/arm.c (arm_option_override): Thumb2 inline assembly
546         code always use UAL syntax.
547         (arm_output_mi_thunk): Use UAL syntax for Thumb1 target.
548         * config/arm/thumb1.md: Likewise.
550 2014-11-06  John David Anglin  <danglin@gcc.gnu.org>
552         * config/pa/pa.md (trap): New insn.  Add "trap" to attribute type.
553         Don't allow trap insn in in_branch_delay, in_nullified_branch_delay
554         or in_call_delay.
555         
556 2014-11-06  Steve Ellcey  <sellcey@imgtec.com>
558         * config.gcc (mips*-mti-linux*): Remove gnu_ld and gas assignments.
559         Set default_mips_arch and default_mips_abi instead of tm_defines.
560         (mips*-*-linux*): Set default_mips_arch and default_mips_abi instead
561         of tm_defines.
562         (mips*-*-*): Check with_arch and with_abi.  Set tm_defines.
563         * config/mips/mips.h (STANDARD_STARTFILE_PREFIX_1): Set default
564         based on MIPS_ABI_DEFAULT.
565         (STANDARD_STARTFILE_PREFIX_2): Ditto.
567 2014-11-06  Joseph Myers  <joseph@codesourcery.com>
569         * doc/invoke.texi (-std=c99, -std=c11): Don't refer to corner
570         cases of extended identifiers.
572 2014-11-06  Eric Botcazou  <ebotcazou@adacore.com>
574         * tree-cfgcleanup.c (fixup_noreturn_call): Do not perform DCE here.
576 2014-11-06  DJ Delorie  <dj@redhat.com>
578         * config/m32c/cond.md (movqicc_<code>_<mode>): Remove mode of
579         conditional.
580         (movhicc_<code>_<mode>): Likewise.
581         * config/m32c/m32c.c (encode_pattern_1): Specialise PSImode
582         subregs.
583         (m32c_eh_return_data_regno): Change to using memregs to avoid
584         tying up all the compute regs.
585         (m32c_legitimate_address_p) Subregs are not valid addresses.
587 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
589         * function.c (thread_prologue_and_epilogue_insns): No longer static.
590         * function.h (thread_prologue_and_epilogue_insns): Declare.
592         * target.def (assemble_undefined_decl): New hooks.
593         * hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
594         * hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
595         * doc/tm.texi.in (TARGET_ASM_ASSEMBLE_UNDEFINED_DECL): Add.
596         * doc/tm.texi: Regenerate.
597         * output.h (assemble_undefined_decl): Declare.
598         (get_fnname_from_decl): Declare.
599         * varasm.c (assemble_undefined_decl): New function.
600         (get_fnname_from_decl): New function.
601         * final.c (rest_of_handle_final): Use it.
602         * varpool.c (varpool_output_variables): Call assemble_undefined_decl
603         for nodes without a definition.
605         * target.def (call_args, end_call_args): New hooks.
606         * hooks.c (hook_void_rtx_tree): New empty function.
607         * hooks.h (hook_void_rtx_tree): Declare.
608         * doc/tm.texi.in (TARGET_CALL_ARGS, TARGET_END_CALL_ARGS): Add.
609         * doc/tm.texi: Regenerate.
610         * calls.c (expand_call): Slightly rearrange the code.  Use the two new
611         hooks.
612         (expand_library_call_value_1): Use the two new hooks.
614         * expr.c (use_reg_mode): Just return for pseudo registers.
616         * combine.c (try_combine): Don't allow a call as one of the source
617         insns.
619         * target.def (decl_end): New hook.
620         * varasm.c (assemble_variable_contents, assemble_constant_contents):
621         Use it.
622         * doc/tm.texi.in (TARGET_ASM_DECL_END): Add.
623         * doc/tm.texi: Regenerate.
625 2014-11-06  Renlin Li  <renlin.li@arm.com>
627         * config/aarch64/aarch64.c (aarch64_architecture_version): New.
628         (processor): New architecture_version field.
629         (aarch64_override_options): Initialize aarch64_architecture_version.
630         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_ARCH,
631         __ARM_ARCH_PROFILE, aarch64_arch_name macro.
633 2014-11-06  James Greenhalgh  <james.greenhalgh@arm.com>
635         * params.def (sra-max-scalarization-size-Ospeed): New.
636         (sra-max-scalarization-size-Osize): Likewise.
637         * doc/invoke.texi (sra-max-scalarization-size-Ospeed): Document.
638         (sra-max-scalarization-size-Osize): Likewise.
639         * toplev.c (process_options): Set default values for new
640         parameters.
641         * tree-sra.c (analyze_all_variable_accesses): Use new parameters.
642         * targhooks.c (get_move_ratio): Remove static designator.
643         * target.h (get_move_ratio): Declare.
645 2014-11-06  Marek Polacek  <polacek@redhat.com>
647         * sanopt.c (sanopt_optimize_walker): Limit removal of the checks.
648         Remove vector limit.
650 2014-11-06  Richard Biener  <rguenther@suse.de>
652         * match.pd: Implement bitwise binary and unary simplifications
653         from tree-ssa-forwprop.c.
654         * fold-const.c (fold_unary_loc): Remove them here.
655         (fold_binary_loc): Likewise.
656         * tree-ssa-forwprop.c (simplify_not_neg_expr): Remove.
657         (truth_valued_ssa_name): Likewise.
658         (lookup_logical_inverted_value): Likewise.
659         (simplify_bitwise_binary_1): Likewise.
660         (hoist_conversion_for_bitop_p): Likewise.
661         (simplify_bitwise_binary_boolean): Likewise.
662         (simplify_bitwise_binary): Likewise.
663         (pass_forwprop::execute): Remove calls to simplify_not_neg_expr
664         and simplify_bitwise_binary.
665         * genmatch.c (dt_node::append_true_op): Use safe_as_a for parent.
666         (decision_tree::insert): Also insert non-expressions.
668 2014-11-06  Hale Wang  <hale.wang@arm.com>
670         * config/arm/arm-cores.def: Add support for
671         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
672         cortex-m1.small-multiply.
673         * config/arm/arm-tables.opt: Regenerate.
674         * config/arm/arm-tune.md: Regenerate.
675         * config/arm/arm.c: Update the rtx-costs for MUL.
676         * config/arm/bpabi.h: Handle
677         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
678         cortex-m1.small-multiply.
679         * doc/invoke.texi: Document
680         -mcpu=cortex-m0.small-multiply,cortex-m0plus.small-multiply,
681         cortex-m1.small-multiply.
683 2014-11-06  Hale Wang  <hale.wang@arm.com>
685         * config/arm/arm.c: Add cortex-m7 tune.
686         * config/arm/arm-cores.def: Use cortex-m7 tune.
688 2014-11-05  Uros Bizjak  <ubizjak@gmail.com>
690         PR target/63538
691         * config/i386/i386.c (in_large_data_p): Reject automatic variables.
692         (ix86_encode_section_info): Do not check for non-automatic varibles
693         when setting SYMBOL_FLAG_FAR_ADDR flag.
694         (x86_64_elf_select_section): Do not check ix86_cmodel here.
695         (x86_64_elf_unique_section): Ditto.
696         (x86_elf_aligned_common): Emit tab before .largecomm.
698 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
700         PR preprocessor/9449
701         * doc/cpp.texi (Character sets, Tokenization)
702         (Implementation-defined behavior): Don't refer to UCNs in
703         identifiers requiring -fextended-identifiers.
704         * doc/cppopts.texi (-fextended-identifiers): Document as enabled
705         by default for C99 and later and C++.
706         * doc/invoke.texi (-std=c99, -std=c11): Don't refer to extended
707         identifiers needing -fextended-identifiers.
709 2014-11-05  Ilya Tocar  <ilya.tocar@intel.com>
711         * config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd
712         for 512-bit wide modes.
713         (expand_vec_perm_1): Use correct versions of patterns.
714         * config/i386/sse.md (avx512f_vec_dup<mode>_1): New.
715         (vashr<mode>3<mask_name>): Split V8HImode and V16QImode.
717 2014-11-05  Ilya Enkovich  <ilya.enkovich@intel.com>
719         * ipa-chkp.c: New.
720         * ipa-chkp.h: New.
721         * tree-chkp.c: New.
722         * tree-chkp.h: New.
723         * tree-chkp-opt.c: New.
724         * rtl-chkp.c: New.
725         * rtl-chkp.h: New.
726         * Makefile.in (OBJS): Add ipa-chkp.o, rtl-chkp.o, tree-chkp.o
727         tree-chkp-opt.o.
728         (GTFILES): Add tree-chkp.c.
729         * mode-classes.def (MODE_POINTER_BOUNDS): New.
730         * tree.def (POINTER_BOUNDS_TYPE): New.
731         * genmodes.c (complete_mode): Support MODE_POINTER_BOUNDS.
732         (POINTER_BOUNDS_MODE): New.
733         (make_pointer_bounds_mode): New.
734         * machmode.h (POINTER_BOUNDS_MODE_P): New.
735         * stor-layout.c (int_mode_for_mode): Support MODE_POINTER_BOUNDS.
736         (layout_type): Support POINTER_BOUNDS_TYPE.
737         * tree-pretty-print.c (dump_generic_node): Support POINTER_BOUNDS_TYPE.
738         * tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE.
739         * tree.c (build_int_cst_wide): Support POINTER_BOUNDS_TYPE.
740         (type_contains_placeholder_1): Likewise.
741         (build_common_tree_nodes): Initialize
742         pointer_bounds_type_node.
743         * tree.h (POINTER_BOUNDS_TYPE_P): New.
744         (pointer_bounds_type_node): New.
745         (POINTER_BOUNDS_P): New.
746         (BOUNDED_TYPE_P): New.
747         (BOUNDED_P): New.
748         (CALL_WITH_BOUNDS_P): New.
749         * gimple.h (gf_mask): Add GF_CALL_WITH_BOUNDS.
750         (gimple_call_with_bounds_p): New.
751         (gimple_call_set_with_bounds): New.
752         (gimple_return_retbnd): New.
753         (gimple_return_set_retbnd): New
754         * gimple.c (gimple_build_return): Increase number of ops
755         for return statement.
756         (gimple_build_call_from_tree): Propagate CALL_WITH_BOUNDS_P
757         flag.
758         * gimple-pretty-print.c (dump_gimple_return): Print second op.
759         * rtl.h (CALL_EXPR_WITH_BOUNDS_P): New.
760         * gimplify.c (gimplify_init_constructor): Avoid infinite
761         loop during gimplification of bounds initializer.
762         * calls.c: Include tree-chkp.h, rtl-chkp.h, bitmap.h.
763         (special_function_p): Use original decl name when analyzing
764         instrumentation clone.
765         (arg_data): Add fields special_slot, pointer_arg and
766         pointer_offset.
767         (store_bounds): New.
768         (emit_call_1): Propagate instrumentation flag for CALL.
769         (initialize_argument_information): Compute pointer_arg,
770         pointer_offset and special_slot for pointer bounds arguments.
771         (finalize_must_preallocate): Preallocate when storing bounds
772         in bounds table.
773         (compute_argument_addresses): Skip pointer bounds.
774         (expand_call): Store bounds into tables separately.  Return
775         result joined with resulting bounds.
776         * cfgexpand.c: Include tree-chkp.h, rtl-chkp.h.
777         (expand_call_stmt): Propagate bounds flag for CALL_EXPR.
778         (expand_return): Add returned bounds arg.  Handle returned bounds.
779         (expand_gimple_stmt_1): Adjust to new expand_return signature.
780         (gimple_expand_cfg): Reset rtx bounds map.
781         * expr.c: Include tree-chkp.h, rtl-chkp.h.
782         (expand_assignment): Handle returned bounds.
783         (store_expr_with_bounds): New.  Replaces store_expr with new bounds
784         target argument.  Handle bounds returned by calls.
785         (store_expr): Now wraps store_expr_with_bounds.
786         * expr.h (store_expr_with_bounds): New.
787         * function.c: Include tree-chkp.h, rtl-chkp.h.
788         (bounds_parm_data): New.
789         (use_register_for_decl): Do not registerize decls used for bounds
790         stores and loads.
791         (assign_parms_augmented_arg_list): Add bounds of the result
792         structure pointer as the second argument.
793         (assign_parm_find_entry_rtl): Mark bounds are never passed on
794         the stack.
795         (assign_parm_is_stack_parm): Likewise.
796         (assign_parm_load_bounds): New.
797         (assign_bounds): New.
798         (assign_parms): Load bounds and determine a location for
799         returned bounds.
800         (diddle_return_value_1): New.
801         (diddle_return_value): Handle returned bounds.
802         * function.h (rtl_data): Add field for returned bounds.
803         * varasm.c: Include tree-chkp.h.
804         (output_constant): Support POINTER_BOUNDS_TYPE.
805         (output_constant_pool_2): Support MODE_POINTER_BOUNDS.
806         (ultimate_transparent_alias_target): Move up.
807         (make_decl_rtl): For instrumented function use
808         name of the original decl.
809         (assemble_start_function): Mark function as global
810         in case it is instrumentation clone of the global
811         function.
812         (do_assemble_alias): Follow transparent alias chain
813         for identifier.  Check if original alias is public.
814         (maybe_assemble_visibility): Use visibility of the
815         original function for instrumented version.
816         (default_unique_section): Likewise.
817         * emit-rtl.c (immed_double_const): Support MODE_POINTER_BOUNDS.
818         (init_emit_once): Build pointer bounds zero constants.
819         * explow.c (trunc_int_for_mode): Support MODE_POINTER_BOUNDS.
820         * target.def (builtin_chkp_function): New.
821         (chkp_bound_type): New.
822         (chkp_bound_mode): New.
823         (chkp_make_bounds_constant): New.
824         (chkp_initialize_bounds): New.
825         (load_bounds_for_arg): New.
826         (store_bounds_for_arg): New.
827         (load_returned_bounds): New.
828         (store_returned_bounds): New.
829         (chkp_function_value_bounds): New.
830         (setup_incoming_vararg_bounds): New.
831         (function_arg): Update hook description with new possible return
832         value CONST_INT.
833         * targhooks.h (default_load_bounds_for_arg): New.
834         (default_store_bounds_for_arg): New.
835         (default_load_returned_bounds): New.
836         (default_store_returned_bounds): New.
837         (default_chkp_bound_type): New.
838         (default_chkp_bound_mode): New.
839         (default_builtin_chkp_function): New.
840         (default_chkp_function_value_bounds): New.
841         (default_chkp_make_bounds_constant): New.
842         (default_chkp_initialize_bounds): New.
843         (default_setup_incoming_vararg_bounds): New.
844         * targhooks.c (default_load_bounds_for_arg): New.
845         (default_store_bounds_for_arg): New.
846         (default_load_returned_bounds): New.
847         (default_store_returned_bounds): New.
848         (default_chkp_bound_type): New.
849         (default_chkp_bound_mode); New.
850         (default_builtin_chkp_function): New.
851         (default_chkp_function_value_bounds): New.
852         (default_chkp_make_bounds_constant): New.
853         (default_chkp_initialize_bounds): New.
854         (default_setup_incoming_vararg_bounds): New.
855         * builtin-types.def (BT_BND): New.
856         (BT_FN_PTR_CONST_PTR): New.
857         (BT_FN_CONST_PTR_CONST_PTR): New.
858         (BT_FN_BND_CONST_PTR): New.
859         (BT_FN_CONST_PTR_BND): New.
860         (BT_FN_PTR_CONST_PTR_SIZE): New.
861         (BT_FN_PTR_CONST_PTR_CONST_PTR): New.
862         (BT_FN_VOID_PTRPTR_CONST_PTR): New.
863         (BT_FN_VOID_CONST_PTR_SIZE): New.
864         (BT_FN_VOID_PTR_BND): New.
865         (BT_FN_CONST_PTR_CONST_PTR_CONST_PTR): New.
866         (BT_FN_BND_CONST_PTR_SIZE): New.
867         (BT_FN_PTR_CONST_PTR_CONST_PTR_SIZE): New.
868         (BT_FN_VOID_CONST_PTR_BND_CONST_PTR): New.
869         * chkp-builtins.def: New.
870         * builtins.def: include chkp-builtins.def.
871         (DEF_CHKP_BUILTIN): New.
872         * builtins.c: Include tree-chkp.h and rtl-chkp.h.
873         (expand_builtin): Support BUILT_IN_CHKP_INIT_PTR_BOUNDS,
874         BUILT_IN_CHKP_NULL_PTR_BOUNDS, BUILT_IN_CHKP_COPY_PTR_BOUNDS,
875         BUILT_IN_CHKP_CHECK_PTR_LBOUNDS, BUILT_IN_CHKP_CHECK_PTR_UBOUNDS,
876         BUILT_IN_CHKP_CHECK_PTR_BOUNDS, BUILT_IN_CHKP_SET_PTR_BOUNDS,
877         BUILT_IN_CHKP_NARROW_PTR_BOUNDS, BUILT_IN_CHKP_STORE_PTR_BOUNDS,
878         BUILT_IN_CHKP_GET_PTR_LBOUND, BUILT_IN_CHKP_GET_PTR_UBOUND,
879         BUILT_IN_CHKP_BNDMK, BUILT_IN_CHKP_BNDSTX, BUILT_IN_CHKP_BNDCL,
880         BUILT_IN_CHKP_BNDCU, BUILT_IN_CHKP_BNDLDX, BUILT_IN_CHKP_BNDRET,
881         BUILT_IN_CHKP_INTERSECT, BUILT_IN_CHKP_NARROW,
882         BUILT_IN_CHKP_EXTRACT_LOWER, BUILT_IN_CHKP_EXTRACT_UPPER.
883         (std_expand_builtin_va_start): Init bounds for va_list.
884         * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Add
885         __CHKP__ macro when Pointer Bounds Checker is on.
886         * params.def (PARAM_CHKP_MAX_CTOR_SIZE): New.
887         * passes.def (pass_ipa_chkp_versioning): New.
888         (pass_early_local_passes): Renamed to pass_build_ssa_passes.
889         (pass_fixup_cfg): Moved to pass_chkp_instrumentation_passes.
890         (pass_chkp_instrumentation_passes): New.
891         (pass_ipa_chkp_produce_thunks): New.
892         (pass_local_optimization_passes): New.
893         (pass_chkp_opt): New.
894         * tree-pass.h (make_pass_ipa_chkp_versioning): New.
895         (make_pass_ipa_chkp_produce_thunks): New.
896         (make_pass_chkp): New.
897         (make_pass_chkp_opt): New.
898         (make_pass_early_local_passes): Renamed to ...
899         (make_pass_build_ssa_passes): This.
900         (make_pass_chkp_instrumentation_passes): New.
901         (make_pass_local_optimization_passes): New.
902         * passes.c (pass_manager::execute_early_local_passes): Execute
903         early passes in three steps.
904         (execute_all_early_local_passes): Renamed to ...
905         (execute_build_ssa_passes): This.
906         (pass_data_early_local_passes): Renamed to ...
907         (pass_data_build_ssa_passes): This.
908         (pass_early_local_passes): Renamed to ...
909         (pass_build_ssa_passes): This.
910         (pass_data_chkp_instrumentation_passes): New.
911         (pass_chkp_instrumentation_passes): New.
912         (pass_data_local_optimization_passes): New.
913         (pass_local_optimization_passes): New.
914         (make_pass_early_local_passes): Renamed to ...
915         (make_pass_build_ssa_passes): This.
916         (make_pass_chkp_instrumentation_passes): New.
917         (make_pass_local_optimization_passes): New.
918         * c-family/c.opt (fcheck-pointer-bounds): New.
919         (fchkp-check-incomplete-type): New.
920         (fchkp-zero-input-bounds-for-main): New.
921         (fchkp-first-field-has-own-bounds): New.
922         (fchkp-narrow-bounds): New.
923         (fchkp-narrow-to-innermost-array): New.
924         (fchkp-optimize): New.
925         (fchkp-use-fast-string-functions): New.
926         (fchkp-use-nochk-string-functions): New.
927         (fchkp-use-static-bounds): New.
928         (fchkp-use-static-const-bounds): New.
929         (fchkp-treat-zero-dynamic-size-as-infinite): New.
930         (fchkp-check-read): New.
931         (fchkp-check-write): New.
932         (fchkp-store-bounds): New.
933         (fchkp-instrument-calls): New.
934         (fchkp-instrument-marked-only): New.
935         (Wchkp): New.
936         * c-family/c-common.c (handle_bnd_variable_size_attribute): New.
937         (handle_bnd_legacy): New.
938         (handle_bnd_instrument): New.
939         (c_common_attribute_table): Add bnd_variable_size, bnd_legacy
940         and bnd_instrument.  Fix documentation.
941         (c_common_format_attribute_table): Likewsie.
942         * toplev.c: include tree-chkp.h.
943         (process_options): Check Pointer Bounds Checker is supported.
944         (compile_file): Add chkp_finish_file call.
945         * ipa-cp.c (initialize_node_lattices): Use cgraph_local_p
946         to handle instrumentation clones properly.
947         (propagate_constants_accross_call): Do not propagate
948         through instrumentation thunks.
949         * ipa-pure-const.c (propagate_pure_const): Support
950         IPA_REF_CHKP.
951         * ipa-inline.c (early_inliner): Check edge has summary allocated.
952         * ipa-split.c: Include tree-chkp.h.
953         (find_retbnd): New.
954         (split_part_set_ssa_name_p): New.
955         (consider_split): Do not split retbnd and retval
956         producers.
957         (insert_bndret_call_after): new.
958         (split_function): Propagate Pointer Bounds Checker
959         instrumentation marks and handle returned bounds.
960         * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
961         into bit field and add with_bounds field.
962         * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
963         with_bounds field for instrumented calls.
964         * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
965         CALL_WITH_BOUNDS_P flag for calls.
966         * tree-ssa-ccp.c: Include tree-chkp.h.
967         (insert_clobber_before_stack_restore): Handle
968         BUILT_IN_CHKP_BNDRET calls.
969         * tree-ssa-dce.c: Include tree-chkp.h.
970         (propagate_necessity): For free call fed by alloc check
971         bounds are also provided by the same alloc.
972         (eliminate_unnecessary_stmts): Handle BUILT_IN_CHKP_BNDRET
973         used by free calls.
974         * tree-inline.c: Include tree-chkp.h.
975         (declare_return_variable): Add arg holding
976         returned bounds slot.  Create and initialize returned bounds var.
977         (remap_gimple_stmt): Handle returned bounds.
978         Return sequence of statements instead of a single statement.
979         (insert_init_stmt): Add declaration.
980         (remap_gimple_seq): Adjust to new remap_gimple_stmt signature.
981         (copy_bb): Adjust to changed return type of remap_gimple_stmt.
982         Properly handle bounds in va_arg_pack and va_arg_pack_len.
983         (expand_call_inline): Handle returned bounds.  Add bounds copy
984         for generated mem to mem assignments.
985         * tree-inline.h (copy_body_data): Add fields retbnd and
986         assign_stmts.
987         * value-prof.c: Include tree-chkp.h.
988         (gimple_ic): Support returned bounds.
989         * ipa.c (cgraph_build_static_cdtor_1): Support contructors
990         with "chkp ctor" and "bnd_legacy" attributes.
991         (symtab_remove_unreachable_nodes): Keep initial values for
992         pointer bounds to be used for checks eliminations.
993         (process_references): Handle IPA_REF_CHKP.
994         (walk_polymorphic_call_targets): Likewise.
995         * ipa-visibility.c (cgraph_externally_visible_p): Mark
996         instrumented 'main' as externally visible.
997         (function_and_variable_visibility): Filter instrumentation
998         thunks.
999         * cgraph.h (cgraph_thunk_info): Add add_pointer_bounds_args
1000         field.
1001         (cgraph_node): Add instrumented_version, orig_decl and
1002         instrumentation_clone fields.
1003         (symtab_node::get_alias_target): Allow IPA_REF_CHKP reference.
1004         (varpool_node): Add need_bounds_init field.
1005         (cgraph_local_p): New.
1006         * cgraph.c: Include tree-chkp.h.
1007         (cgraph_node::remove): Fix instrumented_version
1008         of the referenced node if any.
1009         (cgraph_node::dump): Dump instrumentation_clone and
1010         instrumented_version fields.
1011         (cgraph_node::verify_node): Check correctness of IPA_REF_CHKP
1012         references and instrumentation thunks.
1013         (cgraph_can_remove_if_no_direct_calls_and_refs_p): Keep
1014         all not instrumented instrumentation clones alive.
1015         (cgraph_redirect_edge_call_stmt_to_callee): Support
1016         returned bounds.
1017         * cgraphbuild.c (rebuild_cgraph_edges): Rebuild IPA_REF_CHKP
1018         reference.
1019         (cgraph_rebuild_references): Likewise.
1020         * cgraphunit.c: Include tree-chkp.h.
1021         (assemble_thunks_and_aliases): Skip thunks calling instrumneted
1022         function version.
1023         (varpool_finalize_decl): Register statically initialized decls
1024         in Pointer Bounds Checker.
1025         (walk_polymorphic_call_targets): Do not mark generated call to
1026         __builtin_unreachable as with_bounds.
1027         (output_weakrefs): If there are both instrumented and original
1028         versions, output only one of them.
1029         (cgraph_node::expand_thunk): Set with_bounds flag
1030         for created call statement.
1031         * ipa-ref.h (ipa_ref_use): Add IPA_REF_CHKP.
1032         (ipa_ref): increase size of use field.
1033         * symtab.c (ipa_ref_use_name): Add element for IPA_REF_CHKP.
1034         * varpool.c (dump_varpool_node): Dump need_bounds_init field.
1035         (ctor_for_folding): Do not fold constant bounds vars.
1036         * lto-streamer.h (LTO_minor_version): Change minor version from
1037         0 to 1.
1038         * lto-cgraph.c (compute_ltrans_boundary): Keep initial values for
1039         pointer bounds.
1040         (lto_output_node): Output instrumentation_clone,
1041         thunk.add_pointer_bounds_args and orig_decl field.
1042         (lto_output_ref): Adjust to new ipa_ref::use field size.
1043         (input_overwrite_node): Read instrumentation_clone field.
1044         (input_node): Read thunk.add_pointer_bounds_args and orig_decl
1045         fields.
1046         (input_ref): Adjust to new ipa_ref::use field size.
1047         (input_cgraph_1): Compute instrumented_version fields and restore
1048         IDENTIFIER_TRANSPARENT_ALIAS chains.
1049         (lto_output_varpool_node): Output
1050         need_bounds_init value.
1051         (input_varpool_node): Read need_bounds_init value.
1052         * lto-partition.c (add_symbol_to_partition_1): Keep original
1053         and instrumented versions together.
1054         (privatize_symbol_name): Restore transparent alias chain if required.
1055         (add_references_to_partition): Add references to pointer bounds vars.
1056         * dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE.
1057         * dwarf2out.c (gen_subprogram_die): Ignore bound args.
1058         (gen_type_die_with_usage): Skip pointer bounds.
1059         (dwarf2out_global_decl): Likewise.
1060         (is_base_type): Support POINTER_BOUNDS_TYPE.
1061         (gen_formal_types_die): Skip pointer bounds.
1062         (gen_decl_die): Likewise.
1063         * var-tracking.c (vt_add_function_parameters): Skip
1064         bounds parameters.
1065         * ipa-icf.c (sem_function::merge): Do not merge when instrumentation
1066         thunk still exists.
1067         (sem_variable::merge): Reset need_bounds_init flag.
1068         * doc/extend.texi: Document Pointer Bounds Checker built-in functions
1069         and attributes.
1070         * doc/tm.texi.in (TARGET_LOAD_BOUNDS_FOR_ARG): New.
1071         (TARGET_STORE_BOUNDS_FOR_ARG): New.
1072         (TARGET_LOAD_RETURNED_BOUNDS): New.
1073         (TARGET_STORE_RETURNED_BOUNDS): New.
1074         (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
1075         (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
1076         (TARGET_BUILTIN_CHKP_FUNCTION): New.
1077         (TARGET_CHKP_BOUND_TYPE): New.
1078         (TARGET_CHKP_BOUND_MODE): New.
1079         (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
1080         (TARGET_CHKP_INITIALIZE_BOUNDS): New.
1081         * doc/tm.texi: Regenerated.
1082         * doc/rtl.texi (MODE_POINTER_BOUNDS): New.
1083         (BND32mode): New.
1084         (BND64mode): New.
1085         * doc/invoke.texi (-mmpx): New.
1086         (-mno-mpx): New.
1087         (chkp-max-ctor-size): New.
1088         * config/i386/constraints.md (w): New.
1089         (Ti): New.
1090         (Tb): New.
1091         * config/i386/i386-c.c (ix86_target_macros_internal): Add __MPX__.
1092         * config/i386/i386-modes.def (BND32): New.
1093         (BND64): New.
1094         * config/i386/i386-protos.h (ix86_bnd_prefixed_insn_p): New.
1095         * config/i386/i386.c: Include tree-chkp.h, rtl-chkp.h, tree-iterator.h.
1096         (regclass_map): Add bound registers.
1097         (dbx_register_map): Likewise.
1098         (dbx64_register_map): Likewise.
1099         (svr4_dbx_register_map): Likewise.
1100         (isa_opts): Add -mmpx.
1101         (PTA_MPX): New.
1102         (ix86_option_override_internal): Support MPX ISA.
1103         (ix86_conditional_register_usage): Support bound registers.
1104         (ix86_code_end): Add MPX bnd prefix.
1105         (output_set_got): Likewise.
1106         (print_reg): Avoid prefixes for bound registers.
1107         (ix86_print_operand): Add '!' (MPX bnd) print prefix support.
1108         (ix86_print_operand_punct_valid_p): Likewise.
1109         (ix86_print_operand_address): Support UNSPEC_BNDMK_ADDR and
1110         UNSPEC_BNDLDX_ADDR.
1111         (ix86_output_call_insn): Add MPX bnd prefix to branch instructions.
1112         (ix86_class_likely_spilled_p): Add bound regs support.
1113         (ix86_hard_regno_mode_ok): Likewise.
1114         (x86_order_regs_for_local_alloc): Likewise.
1115         (ix86_bnd_prefixed_insn_p): New.
1116         (ix86_builtins): Add
1117         IX86_BUILTIN_BNDMK, IX86_BUILTIN_BNDSTX,
1118         IX86_BUILTIN_BNDLDX, IX86_BUILTIN_BNDCL,
1119         IX86_BUILTIN_BNDCU, IX86_BUILTIN_BNDRET,
1120         IX86_BUILTIN_BNDNARROW, IX86_BUILTIN_BNDINT,
1121         IX86_BUILTIN_SIZEOF, IX86_BUILTIN_BNDLOWER,
1122         IX86_BUILTIN_BNDUPPER.
1123         (builtin_isa): Add leaf_p and nothrow_p fields.
1124         (def_builtin): Initialize leaf_p and nothrow_p.
1125         (ix86_add_new_builtins): Handle leaf_p and nothrow_p
1126         flags.
1127         (bdesc_mpx): New.
1128         (bdesc_mpx_const): New.
1129         (ix86_init_mpx_builtins): New.
1130         (ix86_init_builtins): Call ix86_init_mpx_builtins.
1131         (ix86_emit_cmove): New.
1132         (ix86_emit_move_max): New.
1133         (ix86_expand_builtin): Expand IX86_BUILTIN_BNDMK,
1134         IX86_BUILTIN_BNDSTX, IX86_BUILTIN_BNDLDX,
1135         IX86_BUILTIN_BNDCL, IX86_BUILTIN_BNDCU,
1136         IX86_BUILTIN_BNDRET, IX86_BUILTIN_BNDNARROW,
1137         IX86_BUILTIN_BNDINT, IX86_BUILTIN_SIZEOF,
1138         IX86_BUILTIN_BNDLOWER, IX86_BUILTIN_BNDUPPER.
1139         (ix86_function_value_bounds): New.
1140         (ix86_builtin_mpx_function): New.
1141         (ix86_get_arg_address_for_bt): New.
1142         (ix86_load_bounds): New.
1143         (ix86_store_bounds): New.
1144         (ix86_load_returned_bounds): New.
1145         (ix86_store_returned_bounds): New.
1146         (ix86_mpx_bound_mode): New.
1147         (ix86_make_bounds_constant): New.
1148         (ix86_initialize_bounds):
1149         (TARGET_LOAD_BOUNDS_FOR_ARG): New.
1150         (TARGET_STORE_BOUNDS_FOR_ARG): New.
1151         (TARGET_LOAD_RETURNED_BOUNDS): New.
1152         (TARGET_STORE_RETURNED_BOUNDS): New.
1153         (TARGET_CHKP_BOUND_MODE): New.
1154         (TARGET_BUILTIN_CHKP_FUNCTION): New.
1155         (TARGET_CHKP_FUNCTION_VALUE_BOUNDS): New.
1156         (TARGET_CHKP_MAKE_BOUNDS_CONSTANT): New.
1157         (TARGET_CHKP_INITIALIZE_BOUNDS): New.
1158         (ix86_option_override_internal): Do not
1159         support x32 with MPX.
1160         (init_cumulative_args): Init stdarg, bnd_regno, bnds_in_bt
1161         and force_bnd_pass.
1162         (function_arg_advance_32): Return number of used integer
1163         registers.
1164         (function_arg_advance_64): Likewise.
1165         (function_arg_advance_ms_64): Likewise.
1166         (ix86_function_arg_advance): Handle pointer bounds.
1167         (ix86_function_arg): Likewise.
1168         (ix86_function_value_regno_p): Mark fisrt bounds registers as
1169         possible function value.
1170         (ix86_function_value_1): Handle pointer bounds type/mode
1171         (ix86_return_in_memory): Likewise.
1172         (ix86_print_operand): Analyse insn to decide abounf "bnd" prefix.
1173         (ix86_expand_call): Generate returned bounds.
1174         (ix86_setup_incoming_vararg_bounds): New.
1175         (ix86_va_start): Initialize bounds for pointers in va_list.
1176         (TARGET_SETUP_INCOMING_VARARG_BOUNDS): New.
1177         * config/i386/i386.h (TARGET_MPX): New.
1178         (TARGET_MPX_P): New.
1179         (FIRST_PSEUDO_REGISTER): Fix to new value.
1180         (FIXED_REGISTERS): Add bound registers.
1181         (CALL_USED_REGISTERS): Likewise.
1182         (REG_ALLOC_ORDER): Likewise.
1183         (HARD_REGNO_NREGS): Likewise.
1184         (VALID_BND_REG_MODE): New.
1185         (FIRST_BND_REG): New.
1186         (LAST_BND_REG): New.
1187         (reg_class): Add BND_REGS.
1188         (REG_CLASS_NAMES): Likewise.
1189         (REG_CLASS_CONTENTS): Likewise.
1190         (BND_REGNO_P): New.
1191         (ANY_BND_REG_P): New.
1192         (BNDmode): New.
1193         (HI_REGISTER_NAMES): Add bound registers.
1194         (ix86_args): Add bnd_regno, bnds_in_bt, force_bnd_pass and
1195         stdarg fields.
1196         * config/i386/i386.md (UNSPEC_BNDMK): New.
1197         (UNSPEC_BNDMK_ADDR): New.
1198         (UNSPEC_BNDSTX): New.
1199         (UNSPEC_BNDLDX): New.
1200         (UNSPEC_BNDLDX_ADDR): New.
1201         (UNSPEC_BNDCL): New.
1202         (UNSPEC_BNDCU): New.
1203         (UNSPEC_BNDCN): New.
1204         (UNSPEC_MPX_FENCE): New.
1205         (UNSPEC_SIZEOF): New.
1206         (BND0_REG): New.
1207         (BND1_REG): New.
1208         (type): Add mpxmov, mpxmk, mpxchk, mpxld, mpxst.
1209         (length_immediate): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
1210         (prefix_rep): Check for bnd prefix.
1211         (prefix_0f): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
1212         (length_nobnd): New.
1213         (length): Use length_nobnd when specified.
1214         (memory): Support mpxmov, mpxmk, mpxchk, mpxld, mpxst.
1215         (BND): New.
1216         (bnd_ptr): New.
1217         (BNDCHECK): New.
1218         (bndcheck): New.
1219         (*jcc_1): Add MPX bnd prefix.
1220         (*jcc_2): Likewise.
1221         (jump): Likewise.
1222         (*indirect_jump): Likewise.
1223         (*tablejump_1): Likewise.
1224         (simple_return_internal): Likewise.
1225         (simple_return_internal_long): Likewise.
1226         (simple_return_pop_internal): Likewise.
1227         (simple_return_indirect_internal): Likewise.
1228         (<mode>_mk): New.
1229         (*<mode>_mk): New.
1230         (mov<mode>): New.
1231         (*mov<mode>_internal_mpx): New.
1232         (<mode>_<bndcheck>): New.
1233         (*<mode>_<bndcheck>): New.
1234         (<mode>_ldx): New.
1235         (*<mode>_ldx): New.
1236         (<mode>_stx): New.
1237         (*<mode>_stx): New.
1238         move_size_reloc_<mode>): New.
1239         * config/i386/predicates.md (address_mpx_no_base_operand): New.
1240         (address_mpx_no_index_operand): New.
1241         (bnd_mem_operator): New.
1242         (symbol_operand): New.
1243         (x86_64_immediate_size_operand): New.
1244         * config/i386/i386.opt (mmpx): New.
1245         * config/i386/i386-builtin-types.def (BND): New.
1246         (ULONG): New.
1247         (BND_FTYPE_PCVOID_ULONG): New.
1248         (VOID_FTYPE_BND_PCVOID): New.
1249         (VOID_FTYPE_PCVOID_PCVOID_BND): New.
1250         (BND_FTYPE_PCVOID_PCVOID): New.
1251         (BND_FTYPE_PCVOID): New.
1252         (BND_FTYPE_BND_BND): New.
1253         (PVOID_FTYPE_PVOID_PVOID_ULONG): New.
1254         (PVOID_FTYPE_PCVOID_BND_ULONG): New.
1255         (ULONG_FTYPE_VOID): New.
1256         (PVOID_FTYPE_BND): New.
1258 2014-11-05  Bernd Schmidt  <bernds@codesourcery.com>
1260         * passes.def (pass_compute_alignments, pass_duplicate_computed_gotos,
1261         pass_variable_tracking, pass_free_cfg, pass_machine_reorg,
1262         pass_cleanup_barriers, pass_delay_slots,
1263         pass_split_for_shorten_branches, pass_convert_to_eh_region_ranges,
1264         pass_shorten_branches, pass_est_nothrow_function_flags,
1265         pass_dwarf2_frame, pass_final): Move outside of pass_postreload and
1266         into pass_late_compilation.
1267         (pass_late_compilation): Add.
1268         * passes.c (pass_data_late_compilation, pass_late_compilation,
1269         make_pass_late_compilation): New.
1270         * timevar.def (TV_LATE_COMPILATION): New.
1272         * target.def (omit_struct_return_reg): New data hook.
1273         * doc/tm.texi.in: Add @hook TARGET_OMIT_STRUCT_RETURN_REG.
1274         * doc/tm.texi: Regenerate.
1275         * function.c (expand_function_end): Use it.
1277         * target.def (no_register_allocation): New data hook.
1278         * doc/tm.texi.in: Add @hook TARGET_NO_REGISTER_ALLOCATION.
1279         * doc/tm.texi: Regenerate.
1280         * ira.c (gate_ira): New function.
1281         (pass_data_ira): Set has_gate.
1282         (pass_ira): Add a gate function.
1283         (pass_data_reload): Likewise.
1284         (pass_reload): Add a gate function.
1285         (pass_ira): Use it.
1286         * reload1.c (eliminate_regs): If reg_eliminate_is NULL, assert that
1287         no register allocation happens on the target and return.
1288         * final.c (alter_subreg): Ensure register is not a pseudo before
1289         calling simplify_subreg.
1290         (output_operand): Assert that x isn't a pseudo only if doing
1291         register allocation.
1293         * dbxout.c (dbxout_symbol): Don't call eliminate_regs on decls for
1294         global vars.
1296         * optabs.c (emit_indirect_jump): Test HAVE_indirect_jump and emit a
1297         sorry if necessary.
1299 2014-11-05  Alex Velenko  <Alex.Velenko@arm.com>
1301         * simplify-rtx.c (simplify_binary_operation_1): Div check added.
1302         * rtl.h (SUBREG_P): New macro added.
1304 2014-11-05  Tejas Belagod  <tejas.belagod@arm.com>
1306         * config/aarch64/aarch64-builtins.c
1307         (aarch64_build_scalar_type): Remove.
1308         (aarch64_scalar_builtin_types, aarch64_simd_type,
1309         aarch64_simd_type, aarch64_mangle_builtin_scalar_type,
1310         aarch64_mangle_builtin_vector_type,
1311         aarch64_mangle_builtin_type, aarch64_simd_builtin_std_type,
1312         aarch64_lookup_simd_builtin_type, aarch64_simd_builtin_type,
1313         aarch64_init_simd_builtin_types,
1314         aarch64_init_simd_builtin_scalar_types): New.
1315         (aarch64_init_simd_builtins): Refactor.
1316         (aarch64_init_crc32_builtins): Fixup with qualifier.
1317         * config/aarch64/aarch64-protos.h
1318         (aarch64_mangle_builtin_type): Export.
1319         * config/aarch64/aarch64-simd-builtin-types.def: New.
1320         * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Remove.
1321         (aarch64_mangle_type): Refactor.
1322         * config/aarch64/arm_neon.h: Declare vector types based on
1323         internal types.
1324         * config/aarch64/t-aarch64: Update dependency.
1326 2014-11-04  Pat Haugen  <pthaugen@us.ibm.com>
1328         * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl,
1329         atomic_update_decl): Guard declaration with #ifdef.
1331 2014-11-04  Marek Polacek  <polacek@redhat.com>
1333         * sanopt.c (sanopt_optimize_walker): Remove unused variables.
1335 2014-11-04  Marek Polacek  <polacek@redhat.com>
1337         * Makefile.in (OBJS): Add sanopt.o.
1338         (GTFILES): Add sanopt.c.
1339         * asan.h (asan_expand_check_ifn): Declare.
1340         * asan.c (asan_expand_check_ifn): No longer static.
1341         (class pass_sanopt, pass_sanopt::execute, make_pass_sanopt): Move...
1342         * sanopt.c: ...here.  New file.
1344 2014-11-04  Jiong Wang  <jiong.wang@arm.com>
1345 2014-11-04  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1347         PR target/63293
1348         * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before
1349         stack adjustment.
1351 2014-11-04  Bernd Schmidt  <bernds@codesourcery.com>
1353         * combine.c (combine_simplify_rtx): In STORE_FLAG_VALUE == -1 case,
1354         also verify that mode is equal to the mode of op0.
1356         * bb-reorder.c (get_uncond_jump_length): Avoid using delete_insn,
1357         emit into a sequence instead.
1359 2014-11-04  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
1361         * config/sh/sh.c (emit_fpu_switch): Drop unused automatic variable.
1363 2014-11-04  Alan Lawrence  <alan.lawrence@arm.com>
1365         config/arm/neon.md (reduc_smin_<mode> *2): Rename to...
1366         (reduc_smin_scal_<mode> *2): ...this; extract scalar result.
1367         (reduc_smax_<mode> *2): Rename to...
1368         (reduc_smax_scal_<mode> *2): ...this; extract scalar result.
1369         (reduc_umin_<mode> *2): Rename to...
1370         (reduc_umin_scal_<mode> *2): ...this; extract scalar result.
1371         (reduc_umax_<mode> *2): Rename to...
1372         (reduc_umax_scal_<mode> *2): ...this; extract scalar result.
1374 2014-11-04  Alan Lawrence  <alan.lawrence@arm.com>
1376         config/arm/neon.md (reduc_plus_*): Rename to...
1377         (reduc_plus_scal_*): ...this; reduce to temp and extract scalar result.
1379 2014-11-04  Michael Collison <michael.collison@linaro.org>
1381         * config/aarch64/iterators.md (lconst_atomic): New mode attribute
1382         to support constraints for CONST_INT in atomic operations.
1383         * config/aarch64/atomics.md
1384         (atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
1385         (atomic_nand<mode>): Likewise.
1386         (atomic_fetch_<atomic_optab><mode>): Likewise.
1387         (atomic_fetch_nand<mode>): Likewise.
1388         (atomic_<atomic_optab>_fetch<mode>): Likewise.
1389         (atomic_nand_fetch<mode>): Likewise.
1391 2014-11-04  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1393         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in definition
1394         of __ARM_FEATURE_IDIV.
1396 2014-11-04  Marek Polacek  <polacek@redhat.com>
1398         * ubsan.c (instrument_object_size): Optimize [x & CST] array accesses.
1400 2014-11-03  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
1402         * config/rx/rx.c (rx_handle_func_attribute): Mark unused argument.
1404 2014-11-04  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1406         Revert:
1407         2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1408         * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
1409         Allow CC mode if HAVE_cbranchcc4.
1411 2014-11-03  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1413         * godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support
1414         with -fdump-go-spec.  Anonymous substructures are now flattened and
1415         replaced by their fields (record) or the first named, non-bitfield
1416         field (union).
1418 2014-11-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1420         * input.c (expand_location_to_spelling_point): Fix typo.
1421         (expansion_point_location_if_in_system_header): Fix comment.
1423 2014-11-03  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1425         * config/avr/gen-avr-mmcu-specs.c: Remove unnecessary format specifier.
1427 2014-11-03  Richard Biener  <rguenther@suse.de>
1429         * tree-eh.c (operation_could_trap_helper_p): Handle conversions
1430         like ordinary operations.
1431         * gimplify.c (gimplify_conversion): Gimplify CONVERT_EXPR
1432         as NOP_EXPR.
1434 2014-11-03  Joseph Myers  <joseph@codesourcery.com>
1436         * configure.ac (TARGET_GLIBC_MAJOR, TARGET_GLIBC_MINOR): Define
1437         macros.
1438         * configure, config.h.in: Regenerate.
1439         * config/rs6000/linux.h [TARGET_GLIBC_MAJOR > 2 ||
1440         (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
1441         (RS6000_GLIBC_ATOMIC_FENV): New macro.
1442         * config/rs6000/linux64.h [TARGET_GLIBC_MAJOR > 2 ||
1443         (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19)]
1444         (RS6000_GLIBC_ATOMIC_FENV): New macro.
1445         * config/rs6000/rs6000.c (atomic_hold_decl, atomic_clear_decl)
1446         (atomic_update_decl): New static variables.
1447         (rs6000_atomic_assign_expand_fenv) [RS6000_GLIBC_ATOMIC_FENV]:
1448         Generate calls to __atomic_feholdexcept, __atomic_feclearexcept
1449         and __atomic_feupdateenv for soft-float and no-FPRs.
1451 2014-11-03  Richard Biener  <rguenther@suse.de>
1453         * match.pd: Add two abs patterns.  Announce tree_expr_nonnegative_p.
1454         Also drop bogus FLOAT_EXPR and FIX_TRUNC_EXPR.
1455         * fold-const.c (fold_unary_loc): Remove them here.
1456         (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT.
1457         * gimple-fold.c (fold_gimple_assign): Remove now obsolete
1458         GIMPLE_UNARY_RHS case.
1459         (gimple_fold_stmt_to_constant_1): Likewise.
1460         (replace_stmt_with_simplification): Fix inverted comparison.
1462 2014-11-03  Marc Glisse  <marc.glisse@inria.fr>
1464         PR tree-optimization/60770
1465         * tree-into-ssa.c (rewrite_update_stmt): Return whether the
1466         statement should be removed.
1467         (maybe_register_def): Likewise. Replace clobbers with default
1468         definitions.
1469         (rewrite_dom_walker::before_dom_children): Remove statement if
1470         rewrite_update_stmt says so.
1471         * tree-ssa-live.c: Include tree-ssa.h.
1472         (set_var_live_on_entry): Do not mark undefined variables as live.
1473         (verify_live_on_entry): Do not check undefined variables.
1474         * tree-ssa.h (ssa_undefined_value_p): New parameter for the case
1475         of partially undefined variables.
1476         * tree-ssa.c (ssa_undefined_value_p): Likewise.
1477         (execute_update_addresses_taken): Do not drop clobbers.
1479 2014-11-03  Marc Glisse  <marc.glisse@inria.fr>
1481         PR tree-optimization/63666
1482         * fold-const.c: Include "optabs.h".
1483         (fold_ternary_loc) <VEC_PERM_EXPR>: Avoid canonicalizing a
1484         can_vec_perm_p permutation to one that is not.
1486 2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1488         * ifcvt.c (noce_try_store_flag_mask): Check rtx cost.
1490 2014-11-03  Andrew Pinski  <apinski@cavium.com>
1492         * config/mips/mips-cpus.def (octeon3): New cpu.
1493         * config/mips/mips.c (mips_rtx_cost_data): Add octeon3.
1494         (mips_print_operand <case 'T', case 't'>): Fix a bug as the mode
1495         of the comparison no longer matches mode of the operands.
1496         (mips_issue_rate): Handle PROCESSOR_OCTEON3.
1497         * config/mips/mips.h (TARGET_OCTEON):  Add Octeon3.
1498         (TARGET_OCTEON2): Likewise.
1499         (TUNE_OCTEON): Add Octeon3.
1500         * config/mips/mips.md (processor): Add octeon3.
1501         * config/mips/octeon.md (octeon_fpu): New automaton and cpu_unit.
1502         (octeon_arith): Add octeon3.
1503         (octeon_condmove): Remove.
1504         (octeon_condmove_o1): New reservation.
1505         (octeon_condmove_o2): New reservation.
1506         (octeon_condmove_o3_int_on_cc): New reservation.
1507         (octeon_load_o2): Add octeon3.
1508         (octeon_cop_o2): Likewise.
1509         (octeon_store): Likewise.
1510         (octeon_brj_o2): Likewise.
1511         (octeon_imul3_o2): Likewise.
1512         (octeon_imul_o2): Likewise.
1513         (octeon_mfhilo_o2): Likewise.
1514         (octeon_imadd_o2): Likewise.
1515         (octeon_idiv_o2_si): Likewise.
1516         (octeon_idiv_o2_di): Likewise.
1517         (octeon_fpu): Add to the automaton.
1518         (octeon_fpu): New cpu unit.
1519         (octeon_condmove_o2): Check for non floating point modes.
1520         (octeon_load_o2): Add prefetchx.
1521         (octeon_cop_o2): Don't check for octeon3.
1522         (octeon3_faddsubcvt): New reservation.
1523         (octeon3_fmul): Likewise.
1524         (octeon3_fmadd): Likewise.
1525         (octeon3_div_sf): Likewise.
1526         (octeon3_div_df): Likewise.
1527         (octeon3_sqrt_sf): Likewise.
1528         (octeon3_sqrt_df): Likewise.
1529         (octeon3_rsqrt_sf): Likewise.
1530         (octeon3_rsqrt_df): Likewise.
1531         (octeon3_fabsnegmov): Likewise.
1532         (octeon_fcond): Likewise.
1533         (octeon_fcondmov): Likewise.
1534         (octeon_fpmtc1): Likewise.
1535         (octeon_fpmfc1): Likewise.
1536         (octeon_fpload): Likewise.
1537         (octeon_fpstore): Likewise.
1538         * config/mips/mips-tables.opt: Regenerate.
1539         * doc/invoke.texi (-march=@var{arch}): Add octeon3.
1541 2014-11-03  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1543         * ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
1544         Allow CC mode if HAVE_cbranchcc4.
1546 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
1548         * config/arc/arc.c (write_ext_corereg_1): Delete.
1549         (arc_write_ext_corereg): Use FOR_EACH_SUBRTX.
1551 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
1553         * config/arc/arc.c (arc600_corereg_hazard_1): Delete.
1554         (arc600_corereg_hazard): Use FOR_EACH_SUBRTX.
1556 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
1558         * config/arc/arc.c (arc_rewrite_small_data_p): Constify argument.
1559         (small_data_pattern_1): Delete.
1560         (small_data_pattern): Use FOR_EACH_SUBRTX.
1562 2014-11-02  Richard Sandiford  <richard.sandiford@arm.com>
1564         * config/arc/arc.c: Include rtl-iter.h.
1565         (arc_rewrite_small_data_1): Delete.
1566         (arc_rewrite_small_data): Use FOR_EACH_SUBRTX_PTR.
1568 2014-11-02  Michael Collison  <michael.collison@linaro.org>
1570         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
1571         to support vector modes.
1572         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
1574 2014-11-01  Andrew MacLeod  <amacleod@redhat,com>
1576         * optabs.h: Flatten insn-codes.h to source files.  Move some prototypes
1577         and structs to genopinit.c.  Adjust protyoptypes to match optabs.c.
1578         * genopinit.c (main): Emit prototypes and structs into insn-opinit.h.
1579         * optabs.c: (gen_move_insn): Move to expr.c.
1580         * expr.h: Move protypes and enums to optabs.h.
1581         * expr.c: (gen_move_insn): Relocate from optabs.c.
1582         * genemit.c (main): Include insn-codes.h.
1583         * gengtype.c (open_base_files): Include insn-codes.h.
1584         * asan.c: Include insn-codes.h.
1585         * bb-reorder.c: Ditto.
1586         * builtins.c: Ditto.
1587         * calls.c: Ditto.
1588         * cfgexpand.c: Ditto.
1589         * cilk-common.c: Ditto.
1590         * combine.c: Ditto.
1591         * dojump.c: Ditto.
1592         * dse.c: Ditto.
1593         * except.c: Ditto.
1594         * explow.c: Ditto.
1595         * expmed.c: Ditto.
1596         * function.c: Ditto.
1597         * ifcvt.c: Ditto.
1598         * internal-fn.c: Ditto.
1599         * loop-unroll.c: Ditto.
1600         * lra.c: Ditto.
1601         * modulo-sched.c: Ditto.
1602         * omp-low.c: Ditto.
1603         * postreload.c: Ditto.
1604         * ree.c: Ditto.
1605         * reload.c: Ditto.
1606         * reload1.c: Ditto.
1607         * shrink-wrap.c: Ditto.
1608         * simplify-rtx.c: Ditto.
1609         * stmt.c: Ditto.
1610         * target-globals.c: Ditto.
1611         * targhooks.c: Ditto.
1612         * toplev.c: Ditto.
1613         * tree-if-conv.c: Ditto.
1614         * tree-ssa-forwprop.c: Ditto.
1615         * tree-ssa-loop-prefetch.c: Ditto.
1616         * tree-ssa-math-opts.c: Ditto.
1617         * tree-ssa-phiopt.c: Ditto.
1618         * tree-ssa-reassoc.c: Ditto.
1619         * tree-switch-conversion.c: Ditto.
1620         * tree-vect-data-refs.c: Ditto.
1621         * tree-vect-generic.c: Ditto.
1622         * tree-vect-loop.c: Ditto.
1623         * tree-vect-patterns.c: Ditto.
1624         * tree-vect-slp.c: Ditto.
1625         * tree-vect-stmts.c: Ditto.
1626         * tree-vrp.c: Ditto.
1627         * value-prof.c: Ditto.
1628         * config/aarch64/aarch64-builtins.c: Ditto.
1629         * config/alpha/alpha.c: Ditto.
1630         * config/arm/arm.c: Ditto.
1631         * config/cris/cris.c: Ditto.
1632         * config/epiphany/epiphany.c: Ditto.
1633         * config/frv/frv.c: Ditto.
1634         * config/h8300/h8300.c: Ditto.
1635         * config/ia64/ia64.c: Ditto.
1636         * config/iq2000/iq2000.c: Ditto.
1637         * config/m32c/m32c.c: Ditto.
1638         * config/mep/mep.c: Ditto.
1639         * config/microblaze/microblaze.c: Ditto.
1640         * config/mips/mips.c: Ditto.
1641         * config/mn10300/mn10300.c: Ditto.
1642         * config/moxie/moxie.c: Ditto.
1643         * config/msp430/msp430.c: Ditto.
1644         * config/nios2/nios2.c: Ditto.
1645         * config/pa/pa.c: Ditto.
1646         * config/rl78/rl78.c: Ditto.
1647         * config/rs6000/rs6000.c: Ditto.
1648         * config/rx/rx.c: Ditto.
1649         * config/s390/s390.c: Ditto.
1650         * config/sh/sh.c: Ditto.
1651         * config/sh/sh_treg_combine.cc: Ditto.
1652         * config/spu/spu.c: Ditto.
1653         * config/stormy16/stormy16.c: Ditto.
1654         * config/tilegx/mul-tables.c: Ditto.
1655         * config/tilegx/tilegx.c: Ditto.
1656         * config/tilepro/mul-tables.c: Ditto.
1657         * config/tilepro/tilepro.c: Ditto.
1658         * config/vax/vax.c: Ditto.
1660 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1662         * doc/tm.texi.in (MOVE_BY_PIECES_P): Remove.
1663         (CLEAR_BY_PIECES_P): Likewise.
1664         (SET_BY_PIECES_P): Likewise.
1665         (STORE_BY_PIECES_P): Likewise.
1666         * doc/tm.texi: Regenerate.
1667         * system.h: Poison MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P,
1668         SET_BY_PIECES_P, STORE_BY_PIECES_P.
1669         * expr.c (MOVE_BY_PIECES_P): Remove.
1670         (CLEAR_BY_PIECES_P): Likewise.
1671         (SET_BY_PIECES_P): Likewise.
1672         (STORE_BY_PIECES_P): Likewise.
1673         (can_move_by_pieces): Rewrite in terms of
1674         targetm.use_by_pieces_infrastructure_p.
1675         (emit_block_move_hints): Likewise.
1676         (can_store_by_pieces): Likewise.
1677         (store_by_pieces): Likewise.
1678         (clear_storage_hints): Likewise.
1679         (emit_push_insn): Likewise.
1680         (expand_constructor): Likewise.
1682 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1684         * config/aarch64/aarch64.c
1685         (aarch64_use_by_pieces_infrastructre_p): New.
1686         (TARGET_USE_BY_PIECES_INFRASTRUCTURE): Likewise.
1687         * config/aarch64/aarch64.h (STORE_BY_PIECES_P): Delete.
1689 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1691         * config/mips/mips.h (MOVE_BY_PIECES_P): Remove.
1692         (STORE_BY_PIECES_P): Likewise.
1693         * config/mips/mips.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
1694         (mips_move_by_pieces_p): Rename to...
1695         (mips_use_by_pieces_infrastructure_p): ...this, use new hook
1696         parameters, use the default hook implementation as a
1697         fall-back.
1699 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1701         * config/sh/sh.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
1702         (sh_use_by_pieces_infrastructure_p): Likewise.
1703         * config/sh/sh.h (MOVE_BY_PIECES_P): Remove.
1704         (STORE_BY_PIECES_P): Likewise.
1705         (SET_BY_PIECES_P): Likewise.
1707 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1709         * config/arc/arc.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
1710         (arc_use_by_pieces_infrastructure_p): Likewise.
1711         * confir/arc/arc.h (MOVE_BY_PIECES_P): Delete.
1712         (CAN_MOVE_BY_PIECES): Likewise.
1714 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1716         * config/s390/s390.c (s390_use_by_pieces_infrastructure_p): New.
1717         (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): Likewise.
1718         * config/s390/s390.h (MOVE_BY_PIECES_P): Remove.
1719         (CLEAR_BY_PIECES): Likewise.
1720         (SET_BY_PIECES): Likewise.
1721         (STORE_BY_PIECES): Likewise.
1723 2014-11-01  James Greenhalgh  <james.greenhalgh@arm.com>
1725         * target.def (use_by_pieces_infrastructure_p): New.
1726         * doc/tm.texi.in (MOVE_BY_PIECES_P): Describe that this macro
1727         is deprecated.
1728         (STORE_BY_PIECES_P): Likewise.
1729         (CLEAR_BY_PIECES_P): Likewise.
1730         (SET_BY_PIECES_P): Likewise.
1731         (TARGET_MOVE_BY_PIECES_PROFITABLE_P): Add hook.
1732         * doc/tm.texi: Regenerate.
1733         * expr.c (MOVE_BY_PIECES_P): Rewrite in terms of
1734         TARGET_USE_BY_PIECES_INFRASTRUCTURE_P.
1735         (STORE_BY_PIECES_P): Likewise.
1736         (CLEAR_BY_PIECES_P): Likewise.
1737         (SET_BY_PIECES_P): Likewise.
1738         (STORE_MAX_PIECES): Move to...
1739         * defaults.h (STORE_MAX_PIECES): ...here.
1740         * targhooks.c (get_move_ratio): New.
1741         (default_use_by_pieces_infrastructure_p): Likewise.
1742         * targhooks.h (default_use_by_pieces_infrastructure_p): New.
1743         * target.h (by_pieces_operation): New.
1745 2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
1747         PR target/63702
1748         * config/i386/i386.c (ix86_expand_args_builtin): Remove extra
1749         assignment to 'nargs' variable.
1751 2014-10-31  Uros Bizjak  <ubizjak@gmail.com>
1753         PR target/63620
1754         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): Declare.
1755         * config/i386/i386.c (ix86_use_pseudo_pic_reg): Export.
1756         * config/i386/i386.md (*pushtf): Allow only CONST_DOUBLEs that won't
1757         be reloaded through memory.
1758         (*pushxf): Ditto.
1759         (*pushdf): Ditto.
1761 2014-10-31  Jakub Jelinek  <jakub@redhat.com>
1763         PR rtl-optimization/63659
1764         * ree.c (update_reg_equal_equiv_notes): New function.
1765         (combine_set_extension, transform_ifelse): Use it.
1767 2014-10-31  Jeff Law  <law@redhat.com>
1769         * doc/contrib.texi: Add contribution notes for Balaji Iyer (Cilk+)
1770         and Jonny Grant (collect2).
1772 2014-10-31  Richard Biener  <rguenther@suse.de>
1774         * builtins.c (fold_builtin_atomic_always_lock_free): Use
1775         CONVERT_EXPR_P, CONVERT_EXPR_CODE_P and CASE_CONVERT where
1776         approprate.
1777         (fold_builtin_expect): Likewise.
1778         (integer_valued_real_p): Likewise.
1779         * cfgexpand.c (expand_debug_expr): Likewise.
1780         * ipa-inline-analysis.c (eliminated_by_inlining_prob): Likewise.
1781         (find_foldable_builtin_expect): Likewise.
1782         * trans-mem.c (thread_private_new_memory): Likewise.
1783         * tree-affine.c (aff_combination_expand): Likewise.
1784         * tree-data-ref.c (initialize_matrix_A): Likewise.
1785         * tree-inline.c (copy_bb): Likewise.
1786         * tree-pretty-print.c (dump_function_name): Likewise.
1787         (print_call_name): Likewise.
1788         * tree-ssa-forwprop.c (constant_pointer_difference): Likewise.
1789         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise.
1790         * tree-vect-generic.c (expand_vector_operations_1): Likewise.
1791         * tree-vect-patterns.c (vect_handle_widen_op_by_const): Likewise.
1792         (vect_recog_widen_mult_pattern): Likewise.
1793         (vect_operation_fits_smaller_type): Likewise.
1794         * tree-vrp.c (find_assert_locations_1): Likewise.
1795         * tree-ssa-dom.c (initialize_hash_element): Canonicalize
1796         converts to NOP_EXPR.
1798 2014-10-31  Richard Biener  <rguenther@suse.de>
1800         * genmatch.c (expr::gen_transform): Use NOP_EXPRs instead of
1801         CONVERT_EXPRs in generated code.
1802         (dt_simplify::gen): Likewise.
1804 2014-10-31  Evgeny Stupachenko  <evstupac@gmail.com>
1806         PR target/63534
1807         * config/i386/i386.c (ix86_init_pic_reg): Emit SET_GOT to
1808         REAL_PIC_OFFSET_TABLE_REGNUM for mcount profiling.
1809         (ix86_save_reg): Save REAL_PIC_OFFSET_TABLE_REGNUM when profiling
1810         using mcount in 32bit PIC mode.
1811         (ix86_elim_entry_set_got): New.
1812         (ix86_expand_prologue): For the mcount profiling emit new SET_GOT
1813         in PROLOGUE, delete initial if possible.
1815 2014-10-31  Eric Botcazou  <ebotcazou@adacore.com>
1817         * ipa-inline.c (want_inline_small_function_p): Fix typo and formatting.
1818         (want_inline_function_to_all_callers_p): Fix formatting and simplify.
1820 2014-10-31  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1822         PR tree-optimization/63259
1823         * tree-ssa-math-opts.c (bswap_replace): Replace expression by a
1824         rotation left if it is a 16 bit byte swap.
1825         (pass_optimize_bswap::execute): Also consider bswap in LROTATE_EXPR
1826         and RROTATE_EXPR statements if it is a byte rotation.
1828 2014-10-31  Jakub Jelinek  <jakub@redhat.com>
1830         PR sanitizer/63697
1831         * tree-vrp.c (simplify_internal_call_using_ranges): For subcode ==
1832         MINUS_EXPR, check overflow on vr0.min - vr1.max and vr0.max - vr1.min
1833         instead of vr0.min - vr1.min and vr0.max - vr1.max.
1835 2014-10-31  Max Ostapenko  <m.ostapenko@partner.samsung.com>
1837         PR ipa/63696
1838         * ipa-icf.c (sem_function::~sem_function): Change free to delete to avoid
1839         alloc-dealloc mismatch with new, called in ipa_icf::sem_function::init.
1841 2014-10-30  Felix Yang  <felix.yang@huawei.com>
1843         * config/xtensa/xtensa.h (TARGET_LOOPS): New Macro.
1844         * config/xtensa/xtensa.c: Include dumpfile.h and hw-doloop.h.
1845         (xtensa_reorg, xtensa_reorg_loops): New.
1846         (xtensa_can_use_doloop_p, xtensa_invalid_within_doloop): New.
1847         (hwloop_optimize, hwloop_fail, hwloop_pattern_reg): New.
1848         (xtensa_emit_loop_end): Emit the zero-overhead loop end label.
1849         (xtensa_doloop_hooks): Define.
1850         * config/xtensa/xtensa.md (doloop_end, loop_end): New
1851         (zero_cost_loop_start): Rewritten.
1852         (zero_cost_loop_end): Likewise.
1854 2014-10-30  Steve Ellcey  <sellcey@imgtec.com>
1856         * config.gcc (mips*-*-linux*): Combine 32 and 64 bit cases.
1858 2014-10-30  Richard Biener  <rguenther@suse.de>
1860         * genmatch.c: Remove <map>, <utility> and <string> includes.
1861         Include ggc.h and hash-map.h.
1862         (ggc_internal_cleared_alloc): Provide stub definition.
1863         (ggc_free): Likewise.
1864         (struct capture_id_map_hasher): New traits for hash_map.
1865         (cid_map_t): New typedef.
1866         (everywhere else): Replace std::map use with cid_map_t.
1867         * hash-map.h (hash_map::elements): New member function.
1868         * Makefile.in (build/genmatch.o): Add $(HASH_TABLE_H),
1869         hash-map.h and $(GGC_H) as dependency.
1871 2014-10-30  Richard Biener  <rguenther@suse.de>
1873         * genmatch.c (capture_info::walk_c_expr): Ignore capture
1874         uses inside TREE_TYPE ().
1875         * gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
1876         (find_candidates_dom_walker::before_dom_children): Likewise.
1877         (replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
1878         (replace_profitable_candidates): Likewise.
1879         * tree-ssa-dom.c (initialize_hash_element): Canonicalize
1880         CONVERT_EXPR_CODE_P to CONVERT_EXPR.
1881         * convert.c (convert_to_integer): Use CASE_CONVERT.
1883 2014-10-30  Richard Biener  <rguenther@suse.de>
1885         * match.pd: Implement more patterns that simplify to a single value.
1886         * fold-const.c (fold_binary_loc): Remove them here.
1887         * tree-ssa-forwprop.c (simplify_bitwise_binary): Likewise.
1888         (fwprop_ssa_val): Remove restriction on single uses.
1890 2014-10-30  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
1892         * config/avr/driver-avr.c (avr_set_current_device): Remove.
1894 2014-10-30  Martin Liska  <mliska@suse.cz>
1896         PR ipa/63574
1897         PR ipa/63664
1898         * ipa-icf-gimple.c (func_checker::parse_labels): Missing comment added.
1899         (func_checker::compare_gimple_label): Simlified comparison introduced.
1900         * ipa-icf-gimple.h: Missing comment added.
1902 2014-10-30  Jeff Law  <law@redhat.com>
1904         * config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
1905         argument from rtx to rtx_insn *.
1906         (compute_movmem_length, compute_clrmem_length): Likewise.
1907         (copy_fp_args, length_fp_args): Likewise.
1908         * config/pa/pa.c (legitimize_pic_address): Promote local variable
1909         "insn" from rtx to rtx_insn *.
1910         (legitimize_tls_address, pa_emit_move_sequence): Likewise.
1911         (pa_output_block_move, store_reg, store_reg_modify): Likewise.
1912         (set_reg_plus_d, pa_expand_prologue, hppa_profile_hook): Likewise.
1913         (branch_to_delay_slot_p, branch_needs_nop_p, use_skip_p): Likewise.
1914         (pa_output_arg_descriptor): Strengthen argument to an rtx_insn *.
1915         (compute_movmem_length, compute_clrmem_length): Likewise.
1916         (copy_fp-args, length_fp_args): Likewise.
1918 2014-10-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1920         * config/arm/arm.h (MACHMODE): Treat machine_mode as a
1921         scalar typedef.
1922         (CUMULATIVE_ARGS): Guard against target includes.
1923         (machine_function): Likewise.
1925 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1927         * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
1928         recog state after aarch64_prev_real_insn call.
1930 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1932         * config/aarch64/aarch64.h (MACHMODE): Add 'enum' to machine_mode.
1934 2014-10-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1936         * config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
1937         (struct machine_function): Gate definition on
1938         !defined(USED_FOR_TARGET).
1940 2014-10-29  DJ Delorie  <dj@redhat.com>
1942         * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.
1944 2014-10-29  Martin Liska  <mliska@suse.cz>
1946         PR ipa/63587
1947         * cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put
1948         to local declarations.
1949         * function.c (add_local_decl): Implementation moved from header
1950         file, assert introduced for tree type.
1951         * function.h: Likewise.
1953 2014-10-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1955         * godump.c (go_format_type): Represent "float _Complex" and
1956         "double _Complex" as complex64 or complex128 in Go, as appropriate.
1958 2014-10-29  Richard Biener  <rguenther@suse.de>
1960         * match.pd: Implement a first set of conversion patterns.
1961         * fold-const.c (fold_unary_loc): Remove them here.
1962         * tree-ssa-forwprop.c (simplify_vce): Remove.
1963         (pass_forwprop::execute): Do not call simplify_vce.
1965 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
1967         * addresses.h, alias.c, asan.c, auto-inc-dec.c, bt-load.c, builtins.c,
1968         builtins.h, caller-save.c, calls.c, calls.h, cfgexpand.c, cfgloop.h,
1969         cfgrtl.c, combine.c, compare-elim.c, config/aarch64/aarch64-builtins.c,
1970         config/aarch64/aarch64-protos.h, config/aarch64/aarch64-simd.md,
1971         config/aarch64/aarch64.c, config/aarch64/aarch64.h,
1972         config/aarch64/aarch64.md, config/alpha/alpha-protos.h,
1973         config/alpha/alpha.c, config/arc/arc-protos.h, config/arc/arc.c,
1974         config/arc/arc.h, config/arc/predicates.md,
1975         config/arm/aarch-common-protos.h, config/arm/aarch-common.c,
1976         config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
1977         config/arm/arm.md, config/arm/neon.md, config/arm/thumb2.md,
1978         config/avr/avr-log.c, config/avr/avr-protos.h, config/avr/avr.c,
1979         config/avr/avr.md, config/bfin/bfin-protos.h, config/bfin/bfin.c,
1980         config/c6x/c6x-protos.h, config/c6x/c6x.c, config/c6x/c6x.md,
1981         config/cr16/cr16-protos.h, config/cr16/cr16.c,
1982         config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.md,
1983         config/darwin-protos.h, config/darwin.c,
1984         config/epiphany/epiphany-protos.h, config/epiphany/epiphany.c,
1985         config/epiphany/epiphany.md, config/fr30/fr30.c,
1986         config/frv/frv-protos.h, config/frv/frv.c, config/frv/predicates.md,
1987         config/h8300/h8300-protos.h, config/h8300/h8300.c,
1988         config/i386/i386-builtin-types.awk, config/i386/i386-protos.h,
1989         config/i386/i386.c, config/i386/i386.md, config/i386/predicates.md,
1990         config/i386/sse.md, config/i386/sync.md, config/ia64/ia64-protos.h,
1991         config/ia64/ia64.c, config/iq2000/iq2000-protos.h,
1992         config/iq2000/iq2000.c, config/iq2000/iq2000.md,
1993         config/lm32/lm32-protos.h, config/lm32/lm32.c,
1994         config/m32c/m32c-protos.h, config/m32c/m32c.c,
1995         config/m32r/m32r-protos.h, config/m32r/m32r.c,
1996         config/m68k/m68k-protos.h, config/m68k/m68k.c,
1997         config/mcore/mcore-protos.h, config/mcore/mcore.c,
1998         config/mcore/mcore.md, config/mep/mep-protos.h, config/mep/mep.c,
1999         config/microblaze/microblaze-protos.h, config/microblaze/microblaze.c,
2000         config/mips/mips-protos.h, config/mips/mips.c,
2001         config/mmix/mmix-protos.h, config/mmix/mmix.c,
2002         config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
2003         config/moxie/moxie.c, config/msp430/msp430-protos.h,
2004         config/msp430/msp430.c, config/nds32/nds32-cost.c,
2005         config/nds32/nds32-intrinsic.c, config/nds32/nds32-md-auxiliary.c,
2006         config/nds32/nds32-protos.h, config/nds32/nds32.c,
2007         config/nios2/nios2-protos.h, config/nios2/nios2.c,
2008         config/pa/pa-protos.h, config/pa/pa.c, config/pdp11/pdp11-protos.h,
2009         config/pdp11/pdp11.c, config/rl78/rl78-protos.h, config/rl78/rl78.c,
2010         config/rs6000/altivec.md, config/rs6000/rs6000-c.c,
2011         config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
2012         config/rs6000/rs6000.h, config/rx/rx-protos.h, config/rx/rx.c,
2013         config/s390/predicates.md, config/s390/s390-protos.h,
2014         config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
2015         config/sh/predicates.md, config/sh/sh-protos.h, config/sh/sh.c,
2016         config/sh/sh.md, config/sparc/predicates.md,
2017         config/sparc/sparc-protos.h, config/sparc/sparc.c,
2018         config/sparc/sparc.md, config/spu/spu-protos.h, config/spu/spu.c,
2019         config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
2020         config/tilegx/tilegx-protos.h, config/tilegx/tilegx.c,
2021         config/tilegx/tilegx.md, config/tilepro/tilepro-protos.h,
2022         config/tilepro/tilepro.c, config/v850/v850-protos.h,
2023         config/v850/v850.c, config/v850/v850.md, config/vax/vax-protos.h,
2024         config/vax/vax.c, config/vms/vms-c.c, config/xtensa/xtensa-protos.h,
2025         config/xtensa/xtensa.c, coverage.c, cprop.c, cse.c, cselib.c, cselib.h,
2026         dbxout.c, ddg.c, df-problems.c, dfp.c, dfp.h, doc/md.texi,
2027         doc/rtl.texi, doc/tm.texi, doc/tm.texi.in, dojump.c, dse.c,
2028         dwarf2cfi.c, dwarf2out.c, dwarf2out.h, emit-rtl.c, emit-rtl.h,
2029         except.c, explow.c, expmed.c, expmed.h, expr.c, expr.h, final.c,
2030         fixed-value.c, fixed-value.h, fold-const.c, function.c, function.h,
2031         fwprop.c, gcse.c, gengenrtl.c, genmodes.c, genopinit.c, genoutput.c,
2032         genpreds.c, genrecog.c, gensupport.c, gimple-ssa-strength-reduction.c,
2033         graphite-clast-to-gimple.c, haifa-sched.c, hooks.c, hooks.h, ifcvt.c,
2034         internal-fn.c, ira-build.c, ira-color.c, ira-conflicts.c, ira-costs.c,
2035         ira-emit.c, ira-int.h, ira-lives.c, ira.c, ira.h, jump.c, langhooks.h,
2036         libfuncs.h, lists.c, loop-doloop.c, loop-invariant.c, loop-iv.c,
2037         loop-unroll.c, lower-subreg.c, lower-subreg.h, lra-assigns.c,
2038         lra-constraints.c, lra-eliminations.c, lra-int.h, lra-lives.c,
2039         lra-spills.c, lra.c, lra.h, machmode.h, omp-low.c, optabs.c, optabs.h,
2040         output.h, postreload.c, print-tree.c, read-rtl.c, real.c, real.h,
2041         recog.c, recog.h, ree.c, reg-stack.c, regcprop.c, reginfo.c,
2042         regrename.c, regs.h, reload.c, reload.h, reload1.c, rtl.c, rtl.h,
2043         rtlanal.c, rtlhash.c, rtlhooks-def.h, rtlhooks.c, sched-deps.c,
2044         sel-sched-dump.c, sel-sched-ir.c, sel-sched-ir.h, sel-sched.c,
2045         simplify-rtx.c, stmt.c, stor-layout.c, stor-layout.h, target.def,
2046         targhooks.c, targhooks.h, tree-affine.c, tree-call-cdce.c,
2047         tree-complex.c, tree-data-ref.c, tree-dfa.c, tree-if-conv.c,
2048         tree-inline.c, tree-outof-ssa.c, tree-scalar-evolution.c,
2049         tree-ssa-address.c, tree-ssa-ccp.c, tree-ssa-loop-ivopts.c,
2050         tree-ssa-loop-ivopts.h, tree-ssa-loop-manip.c,
2051         tree-ssa-loop-prefetch.c, tree-ssa-math-opts.c, tree-ssa-reassoc.c,
2052         tree-ssa-sccvn.c, tree-streamer-in.c, tree-switch-conversion.c,
2053         tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop.c,
2054         tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
2055         tree-vrp.c, tree.c, tree.h, tsan.c, ubsan.c, valtrack.c,
2056         var-tracking.c, varasm.c: Remove redundant enum from
2057         machine_mode.
2058         * gengtype.c (main): Treat machine_mode as a scalar typedef.
2059         * genmodes.c (emit_insn_modes_h): Hide inline functions if
2060         USED_FOR_TARGET.
2062 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
2064         PR rtl-optimization/63340 (part 2)
2065         * rtl.h (invalid_mode_change_p): Delete.
2066         (valid_mode_changes_for_regno): New function.
2067         * reginfo.c (invalid_mode_change_p): Delete.
2068         (valid_mode_changes_for_regno): New function.
2069         * ira-costs.c (setup_regno_cost_classes_by_aclass): Restrict the
2070         classes to registers that are allowed by valid_mode_changes_for_regno.
2071         (setup_regno_cost_classes_by_mode): Likewise.
2072         (print_allocno_costs): Remove invalid_mode_change_p test.
2073         (print_pseudo_costs, find_costs_and_classes): Likewise.
2075 2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
2077         PR rtl-optimization/63340 (part 1)
2078         * ira-costs.c (all_cost_classes): New variable.
2079         (complete_cost_classes): New function, split out from...
2080         (setup_cost_classes): ...here.
2081         (initiate_regno_cost_classes): Set up all_cost_classes.
2082         (restrict_cost_classes): New function.
2083         (setup_regno_cost_classes_by_aclass): Restrict the cost classes to
2084         registers that are valid for the register's mode.
2085         (setup_regno_cost_classes_by_mode): Model the mode cache as a
2086         restriction of all_cost_classes to a particular mode.
2087         (print_allocno_costs): Remove contains_reg_of_mode check.
2088         (print_pseudo_costs, find_costs_and_classes): Likewise.
2090 2014-10-29  Richard Biener  <rguenther@suse.de>
2092         PR tree-optimization/63666
2093         * tree-vect-slp.c (vect_get_mask_element): Properly handle
2094         accessing out-of-bound elements.
2096 2014-10-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2097             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2098             Anna Tikhonova  <anna.tikhonova@intel.com>
2099             Ilya Tocar  <ilya.tocar@intel.com>
2100             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2101             Ilya Verbin  <ilya.verbin@intel.com>
2102             Kirill Yukhin  <kirill.yukhin@intel.com>
2103             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2105         * config/i386/i386.md
2106         (movhi_internal): Always detect maskmov.
2107         (movqi_internal): Fix target check.
2109 2014-10-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2110             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2111             Anna Tikhonova  <anna.tikhonova@intel.com>
2112             Ilya Tocar  <ilya.tocar@intel.com>
2113             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2114             Ilya Verbin  <ilya.verbin@intel.com>
2115             Kirill Yukhin  <kirill.yukhin@intel.com>
2116             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2118         * config/i386/avx512bwintrin.h: Add new intrinsics.
2119         * config/i386/avx512vlbwintrin.h: Ditto.
2120         * config/i386/avx512vlintrin.h: Ditto.
2122 2014-10-28  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2124         * godump.c (precision_to_units): New helper function.
2125         (go_append_artificial_name): Ditto.
2126         (go_append_decl_name): Ditto.
2127         (go_append_bitfield): Ditto.
2128         (go_get_uinttype_for_precision): Ditto.
2129         (go_append_padding): Ditto.
2130         (go_force_record_alignment): Ditto.
2131         (go_format_type): Represent unions with an array of uints of the size
2132         of the alignment in go.  This fixes the 'random' size of the union's
2133         representation using just the first field.
2134         (go_format_type): Add argument that indicates whether a record is
2135         nested (used for generation of artificial go names).
2136         (go_output_fndecl): Adapt to new go_format_type signature.
2137         (go_output_typedef): Ditto.
2138         (go_output_var): Ditto.
2139         (go_output_var): Prefer to output type as alias (typedef).
2140         (go_format_type): Bitfields in records are simulated as arrays of bytes
2141         in go.
2143         * godump.c (go_format_type): Fix handling of arrays with zero elements.
2145 2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
2147         * cgraph.h: Flatten.  Remove all include files.
2148         (symbol_table::initialize): Move to cgraph.c.
2149         * cgraph.c: Adjust include files.
2150         (symbol_table::initialize): Relocate from cgraph.h.
2151         * gengtype.c (open_base_files): Adjust include files.
2152         * gccplugin.h: Add hash-map.h, is-a.h, plugin-api.h, and ipa-ref.h to
2153         included files.
2154         * ipa-inline.h: Remove all include files.
2155         * ipa-prop.h: Ditto.
2156         * ipa-reference.h: Ditto.
2157         * ipa-utils.h: Ditto:
2158         * lto-streamer.h: Remove cgraph.h from include list.
2159         * asan.c: Adjust include files.
2160         * auto-profile.c: Ditto.
2161         * bb-reorder.c: Ditto.
2162         * calls.c: Ditto.
2163         * cfgexpand.c: Ditto.
2164         * cgraphbuild.c: Ditto.
2165         * cgraphclones.c: Ditto.
2166         * cgraphunit.c: Ditto.
2167         * combine.c: Ditto.
2168         * coverage.c: Ditto.
2169         * data-streamer.c: Ditto.
2170         * data-streamer-in.c: Ditto.
2171         * data-streamer-out.c: Ditto.
2172         * dbxout.c: Ditto.
2173         * dwarf2out.c: Ditto.
2174         * except.c: Ditto.
2175         * expr.c: Ditto.
2176         * final.c: Ditto.
2177         * fold-const.c: Ditto.
2178         * ggc-page.c: Ditto.
2179         * gimple-fold.c: Ditto.
2180         * gimple-iterator.c: Ditto.
2181         * gimple-pretty-print.c: Ditto.
2182         * gimple-streamer-in.c: Ditto.
2183         * gimple-streamer-out.c: Ditto.
2184         * gimplify.c: Ditto.
2185         * ipa.c: Ditto.
2186         * ipa-comdats.c: Ditto.
2187         * ipa-cp.c: Ditto.
2188         * ipa-devirt.c: Ditto.
2189         * ipa-icf.c: Ditto.
2190         * ipa-icf-gimple.c: Ditto.
2191         * ipa-inline-analysis.c: Ditto.
2192         * ipa-inline.c: Ditto.
2193         * ipa-inline-transform.c: Ditto.
2194         * ipa-polymorphic-call.c: Ditto.
2195         * ipa-profile.c: Ditto.
2196         * ipa-prop.c: Ditto.
2197         * ipa-pure-const.c: Ditto.
2198         * ipa-ref.c: Ditto.
2199         * ipa-reference.c: Ditto.
2200         * ipa-split.c: Ditto.
2201         * ipa-utils.c: Ditto.
2202         * ipa-visibility.c: Ditto.
2203         * langhooks.c: Ditto.
2204         * lto-cgraph.c: Ditto.
2205         * lto-compress.c: Ditto.
2206         * lto-opts.c: Ditto.
2207         * lto-section-in.c: Ditto.
2208         * lto-section-out.c: Ditto.
2209         * lto-streamer.c: Ditto.
2210         * lto-streamer-in.c: Ditto.
2211         * lto-streamer-out.c: Ditto.
2212         * omp-low.c: Ditto.
2213         * opts-global.c: Ditto.
2214         * passes.c: Ditto.
2215         * predict.c: Ditto.
2216         * print-tree.c: Ditto.
2217         * profile.c: Ditto.
2218         * ree.c: Ditto.
2219         * stor-layout.c: Ditto.
2220         * symtab.c: Ditto.
2221         * toplev.c: Ditto.
2222         * trans-mem.c: Ditto.
2223         * tree.c: Ditto.
2224         * tree-cfg.c: Ditto.
2225         * tree-eh.c: Ditto.
2226         * tree-emutls.c: Ditto.
2227         * tree-inline.c: Ditto.
2228         * tree-nested.c: Ditto.
2229         * tree-pretty-print.c: Ditto.
2230         * tree-profile.c: Ditto.
2231         * tree-sra.c: Ditto.
2232         * tree-ssa-alias.c: Ditto.
2233         * tree-ssa-loop-ivcanon.c: Ditto.
2234         * tree-ssa-loop-ivopts.c: Ditto.
2235         * tree-ssa-pre.c: Ditto.
2236         * tree-ssa-structalias.c: Ditto.
2237         * tree-streamer.c: Ditto.
2238         * tree-streamer-in.c: Ditto.
2239         * tree-streamer-out.c: Ditto.
2240         * tree-switch-conversion.c: Ditto.
2241         * tree-tailcall.c: Ditto.
2242         * tree-vect-data-refs.c: Ditto.
2243         * tree-vectorizer.c: Ditto.
2244         * tree-vect-stmts.c: Ditto.
2245         * tsan.c: Ditto.
2246         * ubsan.c: Ditto.
2247         * value-prof.c: Ditto.
2248         * varasm.c: Ditto.
2249         * varpool.c: Ditto.
2250         * config/arm/arm.c: Ditto.
2251         * config/bfin/bfin.c: Ditto.
2252         * config/c6x/c6x.c: Ditto.
2253         * config/cris/cris.c: Ditto.
2254         * config/darwin.c: Ditto.
2255         * config/darwin-c.c: Ditto.
2256         * config/i386/i386.c: Ditto.
2257         * config/i386/winnt.c: Ditto.
2258         * config/microblaze/microblaze.c: Ditto.
2259         * config/mips/mips.c: Ditto.
2260         * config/rs6000/rs6000.c: Ditto.
2261         * config/rx/rx.c: Ditto.
2263 2014-10-28  Richard Biener  <rguenther@suse.de>
2265         * gimple-fold.h (follow_single_use_edges): Declare.
2266         * gimple-fold.c (follow_single_use_edges): New function.
2267         (gimple_fold_stmt_to_constant_1): Dispatch to gimple_simplify.
2268         * tree-ssa-propagate.c
2269         (substitute_and_fold_dom_walker::before_dom_children): Allow
2270         following single-use edges when folding stmts we propagated into.
2272 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2273             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2274             Anna Tikhonova  <anna.tikhonova@intel.com>
2275             Ilya Tocar  <ilya.tocar@intel.com>
2276             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2277             Ilya Verbin  <ilya.verbin@intel.com>
2278             Kirill Yukhin  <kirill.yukhin@intel.com>
2279             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2281         * config/i386/avx512bwintrin.h: New.
2282         * config/i386/avx512dqintrin.h: Ditto.
2283         * config/i386/avx512vlbwintrin.h: Ditto.
2284         * config/i386/avx512vldqintrin.h: Ditto.
2285         * config/i386/avx512vlintrin.h: Ditto.
2286         * config/i386/immintrin.h: Include avx512vlintrin.h, avx512bwintrin.h,
2287         avx512dqintrin.h, avx512vlbwintrin.h, avx512vldqintrin.h.
2289 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2290             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2291             Anna Tikhonova  <anna.tikhonova@intel.com>
2292             Ilya Tocar  <ilya.tocar@intel.com>
2293             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2294             Ilya Verbin  <ilya.verbin@intel.com>
2295             Kirill Yukhin  <kirill.yukhin@intel.com>
2296             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2298         * config/i386/i386.c
2299         (ix86_expand_args_builtin): Handle avx_vpermilv4df_mask,
2300         avx_shufpd256_mask, avx_vpermilv2df_mask.
2302 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2303             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2304             Anna Tikhonova  <anna.tikhonova@intel.com>
2305             Ilya Tocar  <ilya.tocar@intel.com>
2306             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2307             Ilya Verbin  <ilya.verbin@intel.com>
2308             Kirill Yukhin  <kirill.yukhin@intel.com>
2309             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2311         * config/i386/i386.c
2312         (ix86_init_mmx_sse_builtins):
2313         Define __builtin_ia32_gather3siv2df, __builtin_ia32_gather3siv4df,
2314         __builtin_ia32_gather3div2df, __builtin_ia32_gather3div4df,
2315         __builtin_ia32_gather3siv4sf, __builtin_ia32_gather3siv8sf,
2316         __builtin_ia32_gather3div4sf, __builtin_ia32_gather3div8sf,
2317         __builtin_ia32_gather3siv2di, __builtin_ia32_gather3siv4di,
2318         __builtin_ia32_gather3div2di, __builtin_ia32_gather3div4di,
2319         __builtin_ia32_gather3siv4si, __builtin_ia32_gather3siv8si,
2320         __builtin_ia32_gather3div4si, __builtin_ia32_gather3div8si,
2321         __builtin_ia32_gather3altsiv4df, __builtin_ia32_gather3altdiv8sf,
2322         __builtin_ia32_gather3altsiv4di, __builtin_ia32_gather3altdiv8si,
2323         __builtin_ia32_scattersiv8sf, __builtin_ia32_scattersiv4sf,
2324         __builtin_ia32_scattersiv4df, __builtin_ia32_scattersiv2df,
2325         __builtin_ia32_scatterdiv8sf, __builtin_ia32_scatterdiv4sf,
2326         __builtin_ia32_scatterdiv4df, __builtin_ia32_scatterdiv2df,
2327         __builtin_ia32_scattersiv8si, __builtin_ia32_scattersiv4si,
2328         __builtin_ia32_scattersiv4di, __builtin_ia32_scattersiv2di,
2329         __builtin_ia32_scatterdiv8si, __builtin_ia32_scatterdiv4si,
2330         __builtin_ia32_scatterdiv4di, __builtin_ia32_scatterdiv2di.
2332 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2333             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2334             Anna Tikhonova  <anna.tikhonova@intel.com>
2335             Ilya Tocar  <ilya.tocar@intel.com>
2336             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2337             Ilya Verbin  <ilya.verbin@intel.com>
2338             Kirill Yukhin  <kirill.yukhin@intel.com>
2339             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2341         * config/i386/i386.c
2342         (ix86_builtins): Add IX86_BUILTIN_GATHER3ALTSIV4DF,
2343         IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTSIV4DI,
2344         IX86_BUILTIN_GATHER3ALTDIV8SI.
2345         (ix86_expand_builtin):
2346         Handle IX86_BUILTIN_GATHER3ALTDIV8SF, IX86_BUILTIN_GATHER3ALTDIV8SI,
2347         IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV4DI,
2348         IX86_BUILTIN_SCATTERDIV2DF, IX86_BUILTIN_SCATTERDIV4DF,
2349         IX86_BUILTIN_GATHER3ALTSIV4DI, IX86_BUILTIN_GATHER3ALTSIV4DF,
2350         IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
2351         IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3DIV8SI,
2352         IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV4DI,
2353         IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3SIV8SF,
2354         IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
2355         IX86_BUILTIN_GATHER3DIV2DI, IX86_BUILTIN_GATHER3DIV4DI,
2356         IX86_BUILTIN_SCATTERDIV4SF, IX86_BUILTIN_SCATTERSIV2DI,
2357         IX86_BUILTIN_GATHER3SIV2DI, IX86_BUILTIN_GATHER3SIV4SI,
2358         IX86_BUILTIN_GATHER3SIV4SF, IX86_BUILTIN_GATHER3SIV2DF,
2359         IX86_BUILTIN_SCATTERSIV2DF, IX86_BUILTIN_SCATTERDIV4SI,
2360         IX86_BUILTIN_SCATTERSIV4SF, IX86_BUILTIN_SCATTERSIV4SI,
2361         IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
2362         IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV8SF,
2363         IX86_BUILTIN_GATHER3DIV4SF, IX86_BUILTIN_SCATTERDIV8SF.
2364         (ix86_vectorize_builtin_gather): Update V2DFmode, V4DFmode, V2DImode,
2365         V4DImode, V4SFmode, V8SFmode, V4SImode, V8SImode.
2367 2014-10-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
2368             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
2369             Anna Tikhonova  <anna.tikhonova@intel.com>
2370             Ilya Tocar  <ilya.tocar@intel.com>
2371             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2372             Ilya Verbin  <ilya.verbin@intel.com>
2373             Kirill Yukhin  <kirill.yukhin@intel.com>
2374             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
2376         * config/i386/i386-builtin-types.def
2377         (SHORT): New.
2378         (V32HI): Ditto.
2379         (V12QI): Ditto.
2380         (V14QI): Ditto.
2381         (V32SI): Ditto.
2382         (V8UDI): Ditto.
2383         (V16USI): Ditto.
2384         (V32UHI): Ditto.
2385         (PSHORT): Ditto.
2386         (PV32QI): Ditto.
2387         (PV32HI): Ditto.
2388         (PV64QI): Ditto.
2389         (PCV8HI): Ditto.
2390         (PCV16QI): Ditto.
2391         (PCV16HI): Ditto.
2392         (PCV32QI): Ditto.
2393         (PCV32HI): Ditto.
2394         (PCV64QI): Ditto.
2395         (V4SF_FTYPE_V2DF_V4SF_QI): Ditto.
2396         (V4SF_FTYPE_V4DF_V4SF_QI): Ditto.
2397         (V4SF_FTYPE_V8HI_V4SF_QI): Ditto.
2398         (V8SF_FTYPE_V8HI_V8SF_QI): Ditto.
2399         (V16SF_FTYPE_V16HI): Ditto.
2400         (V16SF_FTYPE_V16HI_V16SF_HI): Ditto.
2401         (V16SF_FTYPE_V16SI): Ditto.
2402         (V4DI_FTYPE_V4DI): Ditto.
2403         (V16SI_FTYPE_V16SF): Ditto.
2404         (V8DI_FTYPE_PV2DI): Ditto.
2405         (V8DF_FTYPE_PV2DF): Ditto.
2406         (V4DI_FTYPE_PV2DI): Ditto.
2407         (V4DF_FTYPE_PV2DF): Ditto.
2408         (V16SI_FTYPE_PV2SI): Ditto.
2409         (V16SF_FTYPE_PV2SF): Ditto.
2410         (V8SF_FTYPE_FLOAT): Ditto.
2411         (V4SF_FTYPE_FLOAT): Ditto.
2412         (V4DF_FTYPE_DOUBLE): Ditto.
2413         (V8SF_FTYPE_PV4SF): Ditto.
2414         (V8SI_FTYPE_PV4SI): Ditto.
2415         (V4SI_FTYPE_PV2SI): Ditto.
2416         (V8SF_FTYPE_PV2SF): Ditto.
2417         (V8SI_FTYPE_PV2SI): Ditto.
2418         (V16SF_FTYPE_PV8SF): Ditto.
2419         (V16SI_FTYPE_PV8SI): Ditto.
2420         (V8DI_FTYPE_V8SF): Ditto.
2421         (V4DI_FTYPE_V4SF): Ditto.
2422         (V2DI_FTYPE_V4SF): Ditto.
2423         (V64QI_FTYPE_QI): Ditto.
2424         (V32HI_FTYPE_HI): Ditto.
2425         (V16UHI_FTYPE_V16UHI): Ditto.
2426         (V32UHI_FTYPE_V32UHI): Ditto.
2427         (V2UDI_FTYPE_V2UDI): Ditto.
2428         (V4UDI_FTYPE_V4UDI): Ditto.
2429         (V8UDI_FTYPE_V8UDI): Ditto.
2430         (V4USI_FTYPE_V4USI): Ditto.
2431         (V16USI_FTYPE_V16USI): Ditto.
2432         (V2DF_FTYPE_V4DF_INT_V2DF_QI): Ditto.
2433         (V2DF_FTYPE_V8DF_INT): Ditto.
2434         (V2DF_FTYPE_V8DF_INT_V2DF_QI): Ditto.
2435         (V2DI_FTYPE_V2DI_INT_V2DI_QI): Ditto.
2436         (V8DF_FTYPE_V8DF_INT): Ditto.
2437         (V4SF_FTYPE_V8SF_INT_V4SF_QI): Ditto.
2438         (V4SI_FTYPE_V2DF_V4SI_QI): Ditto.
2439         (V4SI_FTYPE_V4SI_INT_V4SI_QI): Ditto.
2440         (V4SI_FTYPE_V8HI_V8HI_V4SI_QI): Ditto.
2441         (V4SI_FTYPE_V8SI_INT_V4SI_QI): Ditto.
2442         (V8HI_FTYPE_V16QI_V16QI_V8HI_QI): Ditto.
2443         (V8DI_FTYPE_V8DI_INT): Ditto.
2444         (V8HI_FTYPE_V8SF_INT_V8HI_QI): Ditto.
2445         (V8HI_FTYPE_V4SF_INT_V8HI_QI): Ditto.
2446         (V8SF_FTYPE_V16SF_INT): Ditto.
2447         (V8SF_FTYPE_V16SF_INT_V8SF_QI): Ditto.
2448         (V64QI_FTYPE_V32HI_V32HI): Ditto.
2449         (V32HI_FTYPE_V16SI_V16SI): Ditto.
2450         (V8DF_FTYPE_V8DF_V2DF_INT): Ditto.
2451         (V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI): Ditto.
2452         (V8DF_FTYPE_V8DF_V8DF_INT): Ditto.
2453         (V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT): Ditto.
2454         (V8DF_FTYPE_V8DF_V8DF_V8DI_INT): Ditto.
2455         (V8DF_FTYPE_V8DF_V8DF_V8DI_INT_QI): Ditto.
2456         (V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI): Ditto.
2457         (V2DF_FTYPE_V2DF_V2DF_V2DI_INT_QI): Ditto.
2458         (V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT): Ditto.
2459         (V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI): Ditto.
2460         (V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI): Ditto.
2461         (V32HI_FTYPE_V64QI_V64QI): Ditto.
2462         (V16HI_FTYPE_V32QI_V32QI_V16HI_HI): Ditto.
2463         (V32HI_FTYPE_V64QI_V64QI_V32HI_SI): Ditto.
2464         (V32HI_FTYPE_V32HI_V32HI): Ditto.
2465         (V32HI_FTYPE_V32HI_INT): Ditto.
2466         (V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI): Ditto.
2467         (V16SI_FTYPE_V32HI_V32HI): Ditto.
2468         (V8SI_FTYPE_V16HI_V16HI_V8SI_QI): Ditto.
2469         (V16SI_FTYPE_V32HI_V32HI_V16SI_HI): Ditto.
2470         (V8SI_FTYPE_V8SI_INT_V8SI_QI): Ditto.
2471         (V8SI_FTYPE_V16SI_INT): Ditto.
2472         (V8SI_FTYPE_V16SI_INT_V8SI_QI): Ditto.
2473         (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
2474         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
2475         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
2476         (V8DI_FTYPE_V8DI_V4DI_INT): Ditto.
2477         (V8DI_FTYPE_V8DI_V2DI_INT): Ditto.
2478         (V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI): Ditto.
2479         (V8DI_FTYPE_V16SI_V16SI): Ditto.
2480         (V8DI_FTYPE_V64QI_V64QI): Ditto.
2481         (V4DI_FTYPE_V4DI_INT_V4DI_QI): Ditto.
2482         (V2DI_FTYPE_V4DI_INT_V2DI_QI): Ditto.
2483         (V2DI_FTYPE_V8DI_INT): Ditto.
2484         (V2DI_FTYPE_V8DI_INT_V2DI_QI): Ditto.
2485         (QI_FTYPE_QI): Ditto.
2486         (SI_FTYPE_SI): Ditto.
2487         (DI_FTYPE_DI): Ditto.
2488         (HI_FTYPE_V16QI): Ditto.
2489         (SI_FTYPE_V32QI): Ditto.
2490         (DI_FTYPE_V64QI): Ditto.
2491         (QI_FTYPE_V8HI): Ditto.
2492         (HI_FTYPE_V16HI): Ditto.
2493         (SI_FTYPE_V32HI): Ditto.
2494         (QI_FTYPE_V4SI): Ditto.
2495         (QI_FTYPE_V8SI): Ditto.
2496         (HI_FTYPE_V16SI): Ditto.
2497         (QI_FTYPE_V2DI): Ditto.
2498         (QI_FTYPE_V4DI): Ditto.
2499         (QI_FTYPE_V8DI): Ditto.
2500         (V16QI_FTYPE_HI): Ditto.
2501         (V32QI_FTYPE_SI): Ditto.
2502         (V64QI_FTYPE_DI): Ditto.
2503         (V8HI_FTYPE_QI): Ditto.
2504         (V16HI_FTYPE_HI): Ditto.
2505         (V32HI_FTYPE_SI): Ditto.
2506         (V4SI_FTYPE_QI): Ditto.
2507         (V4SI_FTYPE_HI): Ditto.
2508         (V8SI_FTYPE_QI): Ditto.
2509         (V8SI_FTYPE_HI): Ditto.
2510         (V2DI_FTYPE_QI): Ditto.
2511         (V4DI_FTYPE_QI): Ditto.
2512         (QI_FTYPE_QI_QI): Ditto.
2513         (SI_FTYPE_SI_SI): Ditto.
2514         (DI_FTYPE_DI_DI): Ditto.
2515         (QI_FTYPE_QI_INT): Ditto.
2516         (SI_FTYPE_SI_INT): Ditto.
2517         (DI_FTYPE_DI_INT): Ditto.
2518         (HI_FTYPE_V16QI_V16QI): Ditto.
2519         (HI_FTYPE_V16QI_V16QI_HI): Ditto.
2520         (HI_FTYPE_V16QI_V16QI_INT_HI): Ditto.
2521         (SI_FTYPE_V32QI_V32QI): Ditto.
2522         (SI_FTYPE_V32QI_V32QI_SI): Ditto.
2523         (SI_FTYPE_V32QI_V32QI_INT_SI): Ditto.
2524         (DI_FTYPE_V64QI_V64QI): Ditto.
2525         (DI_FTYPE_V64QI_V64QI_DI): Ditto.
2526         (DI_FTYPE_V64QI_V64QI_INT_DI): Ditto.
2527         (QI_FTYPE_V8HI_V8HI): Ditto.
2528         (QI_FTYPE_V8HI_V8HI_QI): Ditto.
2529         (QI_FTYPE_V8HI_V8HI_INT_QI): Ditto.
2530         (HI_FTYPE_V16HI_V16HI): Ditto.
2531         (HI_FTYPE_V16HI_V16HI_HI): Ditto.
2532         (HI_FTYPE_V16HI_V16HI_INT_HI): Ditto.
2533         (SI_FTYPE_V32HI_V32HI): Ditto.
2534         (SI_FTYPE_V32HI_V32HI_SI): Ditto.
2535         (SI_FTYPE_V32HI_V32HI_INT_SI): Ditto.
2536         (QI_FTYPE_V4SI_V4SI): Ditto.
2537         (QI_FTYPE_V4SI_V4SI_QI): Ditto.
2538         (QI_FTYPE_V4SI_V4SI_INT_QI): Ditto.
2539         (QI_FTYPE_V8SI_V8SI): Ditto.
2540         (QI_FTYPE_V8SI_V8SI_QI): Ditto.
2541         (QI_FTYPE_V8SI_V8SI_INT_QI): Ditto.
2542         (QI_FTYPE_V2DI_V2DI): Ditto.
2543         (QI_FTYPE_V2DI_V2DI_QI): Ditto.
2544         (QI_FTYPE_V2DI_V2DI_INT_QI): Ditto.
2545         (QI_FTYPE_V4DI_V4DI): Ditto.
2546         (QI_FTYPE_V4DI_V4DI_QI): Ditto.
2547         (QI_FTYPE_V4DI_V4DI_INT_QI): Ditto.
2548         (V32HI_FTYPE_V32HI_V32HI_V32HI): Ditto.
2549         (V4DF_FTYPE_V4DF_V4DI_INT): Ditto.
2550         (V2DF_FTYPE_V2DI_V2DF_V2DF_QI): Ditto.
2551         (V2DF_FTYPE_V2DF_V2DI_V2DF_QI): Ditto.
2552         (V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI): Ditto.
2553         (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
2554         (V4SF_FTYPE_V4SI_V4SF_V4SF_QI): Ditto.
2555         (V4SF_FTYPE_V4SF_V4SI_V4SF_QI): Ditto.
2556         (V4SF_FTYPE_V4SF_V4SF_V4SF_QI): Ditto.
2557         (V4SF_FTYPE_V4SF_V2DF_V4SF_QI): Ditto.
2558         (V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI): Ditto.
2559         (V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI): Ditto.
2560         (V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI): Ditto.
2561         (V2DF_FTYPE_V2DF_V2DF_QI): Ditto.
2562         (V2DF_FTYPE_V4SF_V2DF_QI): Ditto.
2563         (V2DF_FTYPE_V4SI_V2DF_QI): Ditto.
2564         (V4DF_FTYPE_V4DF_V4DF_QI): Ditto.
2565         (V4DF_FTYPE_V4SF_V4DF_QI): Ditto.
2566         (V4DF_FTYPE_V4SI_V4DF_QI): Ditto.
2567         (V2DI_FTYPE_V4SI_V2DI_QI): Ditto.
2568         (V2DI_FTYPE_V8HI_V2DI_QI): Ditto.
2569         (V8DI_FTYPE_V8DF_V8DI_QI): Ditto.
2570         (V4DI_FTYPE_V4DF_V4DI_QI): Ditto.
2571         (V2DI_FTYPE_V2DF_V2DI_QI): Ditto.
2572         (V2DI_FTYPE_V2DI_V2DI_V2DI_QI): Ditto.
2573         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI): Ditto.
2574         (V4DI_FTYPE_V4DI_V4DI_V4DI_QI): Ditto.
2575         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI): Ditto.
2576         (V2DI_FTYPE_V16QI_V2DI_QI): Ditto.
2577         (V4DI_FTYPE_V16QI_V4DI_QI): Ditto.
2578         (V4DI_FTYPE_V4DI_V4DI_QI): Ditto.
2579         (V4DI_FTYPE_V4SI_V4DI_QI): Ditto.
2580         (V4DI_FTYPE_V8HI_V4DI_QI): Ditto.
2581         (V4DF_FTYPE_V4DI_V4DF_V4DF_QI): Ditto.
2582         (V4DF_FTYPE_V4DF_V4DI_V4DF_QI): Ditto.
2583         (V4DF_FTYPE_V4DF_V4DF_V4DF_QI): Ditto.
2584         (V16QI_FTYPE_V16QI_V16QI_V16QI_HI): Ditto.
2585         (V16HI_FTYPE_V16HI_V16HI_V16HI_HI): Ditto.
2586         (V32HI_FTYPE_V32HI_V32HI_V32HI_SI): Ditto.
2587         (V64QI_FTYPE_V64QI_V64QI_V64QI_DI): Ditto.
2588         (V32QI_FTYPE_V32QI_V32QI_V32QI_SI): Ditto.
2589         (V8HI_FTYPE_V8HI_V8HI_V8HI_QI): Ditto.
2590         (V4SF_FTYPE_V4SF_V4SF_QI): Ditto.
2591         (V4SF_FTYPE_V4SI_V4SF_QI): Ditto.
2592         (V8SF_FTYPE_V8SF_V8SF_QI): Ditto.
2593         (V8SF_FTYPE_V8SI_V8SF_QI): Ditto.
2594         (V4SI_FTYPE_V16QI_V4SI_QI): Ditto.
2595         (V4SI_FTYPE_V8HI_V4SI_QI): Ditto.
2596         (V8SI_FTYPE_V8SI_V8SI_QI): Ditto.
2597         (V8SI_FTYPE_V8HI_V8SI_QI): Ditto.
2598         (V8SI_FTYPE_V16QI_V8SI_QI): Ditto.
2599         (V4SI_FTYPE_V4SI_V4SI_V4SI_QI): Ditto.
2600         (V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI): Ditto.
2601         (V8SF_FTYPE_V8SF_V8SF_V8SF_QI): Ditto.
2602         (V8SF_FTYPE_V8SI_V8SF_V8SF_QI): Ditto.
2603         (V8SF_FTYPE_V8SF_V8SI_V8SF_QI): Ditto.
2604         (V8SI_FTYPE_V8SI_V8SI_V8SI_QI): Ditto.
2605         (V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI): Ditto.
2606         (V16SF_FTYPE_V8SF_V16SF_HI): Ditto.
2607         (V16SI_FTYPE_V8SI_V16SI_HI): Ditto.
2608         (V4SI_FTYPE_V4DF_V4SI_QI): Ditto.
2609         (V8DI_FTYPE_PCCHAR_V8DI_QI): Ditto.
2610         (V8SF_FTYPE_PCFLOAT_V8SF_QI): Ditto.
2611         (V4SF_FTYPE_PCFLOAT_V4SF_QI): Ditto.
2612         (V4DF_FTYPE_PCDOUBLE_V4DF_QI): Ditto.
2613         (V2DF_FTYPE_PCDOUBLE_V2DF_QI): Ditto.
2614         (V8SI_FTYPE_PCCHAR_V8SI_QI): Ditto.
2615         (V4SI_FTYPE_PCCHAR_V4SI_QI): Ditto.
2616         (V4DI_FTYPE_PCCHAR_V4DI_QI): Ditto.
2617         (V2DI_FTYPE_PCCHAR_V2DI_QI): Ditto.
2618         (V16QI_FTYPE_V16SI_V16QI_HI): Ditto.
2619         (V16QI_FTYPE_V8DI_V16QI_QI): Ditto.
2620         (V32HI_FTYPE_V32HI_V32HI_SI): Ditto.
2621         (V32HI_FTYPE_V64QI_V64QI_INT): Ditto.
2622         (V32HI_FTYPE_V32QI_V32HI_SI): Ditto.
2623         (V16HI_FTYPE_V16HI_V16HI_HI): Ditto.
2624         (V16HI_FTYPE_V32QI_V32QI_INT): Ditto.
2625         (V16HI_FTYPE_V16QI_V16HI_HI): Ditto.
2626         (V8HI_FTYPE_V16QI_V8HI_QI): Ditto.
2627         (V8HI_FTYPE_V16QI_V16QI_INT): Ditto.
2628         (V8SF_FTYPE_V4SF_V8SF_QI): Ditto.
2629         (V4DF_FTYPE_V2DF_V4DF_QI): Ditto.
2630         (V8SI_FTYPE_V4SI_V8SI_QI): Ditto.
2631         (V8SI_FTYPE_SI_V8SI_QI): Ditto.
2632         (V4SI_FTYPE_V4SI_V4SI_QI): Ditto.
2633         (V4SI_FTYPE_SI_V4SI_QI): Ditto.
2634         (V4DI_FTYPE_V2DI_V4DI_QI): Ditto.
2635         (V4DI_FTYPE_DI_V4DI_QI): Ditto.
2636         (V2DI_FTYPE_V2DI_V2DI_QI): Ditto.
2637         (V2DI_FTYPE_DI_V2DI_QI): Ditto.
2638         (V64QI_FTYPE_V64QI_V64QI_DI): Ditto.
2639         (V64QI_FTYPE_V16QI_V64QI_DI): Ditto.
2640         (V64QI_FTYPE_QI_V64QI_DI): Ditto.
2641         (V32QI_FTYPE_V32QI_V32QI_SI): Ditto.
2642         (V32QI_FTYPE_V16QI_V32QI_SI): Ditto.
2643         (V32QI_FTYPE_QI_V32QI_SI): Ditto.
2644         (V16QI_FTYPE_V16QI_V16QI_HI): Ditto.
2645         (V16QI_FTYPE_QI_V16QI_HI): Ditto.
2646         (V32HI_FTYPE_V8HI_V32HI_SI): Ditto.
2647         (V32HI_FTYPE_HI_V32HI_SI): Ditto.
2648         (V16HI_FTYPE_V8HI_V16HI_HI): Ditto.
2649         (V16HI_FTYPE_HI_V16HI_HI): Ditto.
2650         (V8HI_FTYPE_V8HI_V8HI_QI): Ditto.
2651         (V8HI_FTYPE_HI_V8HI_QI): Ditto.
2652         (V64QI_FTYPE_PCV64QI_V64QI_DI): Ditto.
2653         (V32HI_FTYPE_PCV32HI_V32HI_SI): Ditto.
2654         (V32QI_FTYPE_PCV32QI_V32QI_SI): Ditto.
2655         (V16SF_FTYPE_PCV8SF_V16SF_HI): Ditto.
2656         (V16SI_FTYPE_PCV8SI_V16SI_HI): Ditto.
2657         (V16HI_FTYPE_PCV16HI_V16HI_HI): Ditto.
2658         (V16QI_FTYPE_PCV16QI_V16QI_HI): Ditto.
2659         (V8DF_FTYPE_PCV2DF_V8DF_QI): Ditto.
2660         (V8SF_FTYPE_PCV8SF_V8SF_QI): Ditto.
2661         (V8SF_FTYPE_PCV4SF_V8SF_QI): Ditto.
2662         (V8DI_FTYPE_PCV2DI_V8DI_QI): Ditto.
2663         (V8SI_FTYPE_PCV8SI_V8SI_QI): Ditto.
2664         (V8SI_FTYPE_PCV4SI_V8SI_QI): Ditto.
2665         (V8HI_FTYPE_PCV8HI_V8HI_QI): Ditto.
2666         (V4DF_FTYPE_PCV2DF_V4DF_QI): Ditto.
2667         (V4DF_FTYPE_PCV4DF_V4DF_QI): Ditto.
2668         (V4SF_FTYPE_PCV4SF_V4SF_QI): Ditto.
2669         (V4DI_FTYPE_PCV4DI_V4DI_QI): Ditto.
2670         (V4DI_FTYPE_PCV2DI_V4DI_QI): Ditto.
2671         (V4SI_FTYPE_PCV4SI_V4SI_QI): Ditto.
2672         (V2DF_FTYPE_PCV2DF_V2DF_QI): Ditto.
2673         (V2DI_FTYPE_PCV2DI_V2DI_QI): Ditto.
2674         (V16QI_FTYPE_V8HI_V16QI_QI): Ditto.
2675         (V16QI_FTYPE_V16HI_V16QI_HI): Ditto.
2676         (V16QI_FTYPE_V4SI_V16QI_QI): Ditto.
2677         (V16QI_FTYPE_V8SI_V16QI_QI): Ditto.
2678         (V8HI_FTYPE_V4SI_V8HI_QI): Ditto.
2679         (V8HI_FTYPE_V8SI_V8HI_QI): Ditto.
2680         (V16QI_FTYPE_V2DI_V16QI_QI): Ditto.
2681         (V16QI_FTYPE_V4DI_V16QI_QI): Ditto.
2682         (V8HI_FTYPE_V2DI_V8HI_QI): Ditto.
2683         (V8HI_FTYPE_V4DI_V8HI_QI): Ditto.
2684         (V4SI_FTYPE_V2DI_V4SI_QI): Ditto.
2685         (V4SI_FTYPE_V4DI_V4SI_QI): Ditto.
2686         (V32QI_FTYPE_V32HI_V32QI_SI): Ditto.
2687         (V2DF_FTYPE_V2DF_INT_V2DF_QI): Ditto.
2688         (V4DF_FTYPE_V4DF_INT_V4DF_QI): Ditto.
2689         (V4SF_FTYPE_V4SF_INT_V4SF_QI): Ditto.
2690         (V8SF_FTYPE_V8SF_INT_V8SF_QI): Ditto.
2691         (V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI): Ditto.
2692         (V2DF_FTYPE_V2DF_V2DF_INT_V2DF_QI): Ditto.
2693         (V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI): Ditto.
2694         (V4SF_FTYPE_V4SF_V4SF_INT_V4SF_QI): Ditto.
2695         (VOID_FTYPE_PV8HI_V4DI_QI): Ditto.
2696         (VOID_FTYPE_PV8HI_V2DI_QI): Ditto.
2697         (VOID_FTYPE_PV4SI_V4DI_QI): Ditto.
2698         (VOID_FTYPE_PV4SI_V2DI_QI): Ditto.
2699         (VOID_FTYPE_PV8HI_V8SI_QI): Ditto.
2700         (VOID_FTYPE_PV8HI_V4SI_QI): Ditto.
2701         (VOID_FTYPE_PV4DF_V4DF_QI): Ditto.
2702         (VOID_FTYPE_PV2DF_V2DF_QI): Ditto.
2703         (VOID_FTYPE_PV8SF_V8SF_QI): Ditto.
2704         (VOID_FTYPE_PV4SF_V4SF_QI): Ditto.
2705         (VOID_FTYPE_PV4DI_V4DI_QI): Ditto.
2706         (VOID_FTYPE_PV2DI_V2DI_QI): Ditto.
2707         (VOID_FTYPE_PV16QI_V8SI_QI): Ditto.
2708         (VOID_FTYPE_PV16QI_V4SI_QI): Ditto.
2709         (VOID_FTYPE_PV16QI_V4DI_QI): Ditto.
2710         (VOID_FTYPE_PV16QI_V2DI_QI): Ditto.
2711         (VOID_FTYPE_PV8SI_V8SI_QI): Ditto.
2712         (VOID_FTYPE_PV4SI_V4SI_QI): Ditto.
2713         (VOID_FTYPE_PV32HI_V32HI_SI): Ditto.
2714         (VOID_FTYPE_PV16HI_V16HI_HI): Ditto.
2715         (VOID_FTYPE_PV8HI_V8HI_QI): Ditto.
2716         (VOID_FTYPE_PV64QI_V64QI_DI): Ditto.
2717         (VOID_FTYPE_PV32QI_V32QI_SI): Ditto.
2718         (VOID_FTYPE_PV16QI_V16QI_HI): Ditto.
2719         (V8SI_FTYPE_V8SF_V8SI_QI): Ditto.
2720         (V4SI_FTYPE_V4SF_V4SI_QI): Ditto.
2721         (V8DI_FTYPE_V8SF_V8DI_QI): Ditto.
2722         (V4DI_FTYPE_V4SF_V4DI_QI): Ditto.
2723         (V2DI_FTYPE_V4SF_V2DI_QI): Ditto.
2724         (V8SF_FTYPE_V8DI_V8SF_QI): Ditto.
2725         (V4SF_FTYPE_V4DI_V4SF_QI): Ditto.
2726         (V4SF_FTYPE_V2DI_V4SF_QI): Ditto.
2727         (V8DF_FTYPE_V8DI_V8DF_QI): Ditto.
2728         (V4DF_FTYPE_V4DI_V4DF_QI): Ditto.
2729         (V2DF_FTYPE_V2DI_V2DF_QI): Ditto.
2730         (V32HI_FTYPE_V32HI_INT_V32HI_SI): Ditto.
2731         (V32HI_FTYPE_V32HI_V8HI_V32HI_SI): Ditto.
2732         (V16HI_FTYPE_V16HI_INT_V16HI_HI): Ditto.
2733         (V16HI_FTYPE_V16HI_V8HI_V16HI_HI): Ditto.
2734         (V8HI_FTYPE_V8HI_INT_V8HI_QI): Ditto.
2735         (V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI): Ditto.
2736         (V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI): Ditto.
2737         (V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI): Ditto.
2738         (V64QI_FTYPE_V32HI_V32HI_V64QI_DI): Ditto.
2739         (V32QI_FTYPE_V16HI_V16HI_V32QI_SI): Ditto.
2740         (V16QI_FTYPE_V8HI_V8HI_V16QI_HI): Ditto.
2741         (V32HI_FTYPE_V16SI_V16SI_V32HI_SI): Ditto.
2742         (V16HI_FTYPE_V8SI_V8SI_V16HI_HI): Ditto.
2743         (V8HI_FTYPE_V4SI_V4SI_V8HI_QI): Ditto.
2744         (V8DI_FTYPE_V16SI_V16SI_V8DI_QI): Ditto.
2745         (V4DI_FTYPE_V8SI_V8SI_V4DI_QI): Ditto.
2746         (V2DI_FTYPE_V4SI_V4SI_V2DI_QI): Ditto.
2747         (V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI): Ditto.
2748         (V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI): Ditto.
2749         (V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI): Ditto.
2750         (V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI): Ditto.
2751         (V2DF_FTYPE_V2DF_V2DI_V2DF): Ditto.
2752         (V4DF_FTYPE_V4DF_V4DI_V4DF): Ditto.
2753         (V4SF_FTYPE_V4SF_V4SI_V4SF): Ditto.
2754         (V8SF_FTYPE_V8SF_V8SI_V8SF): Ditto.
2755         (V8SI_FTYPE_V8SI_V4SI_V8SI_QI): Ditto.
2756         (V4DI_FTYPE_V4DI_V2DI_V4DI_QI): Ditto.
2757         (QI_FTYPE_V8DF_INT): Ditto.
2758         (QI_FTYPE_V4DF_INT): Ditto.
2759         (QI_FTYPE_V4DF_V4DF_INT_QI): Ditto.
2760         (QI_FTYPE_V2DF_INT): Ditto.
2761         (HI_FTYPE_V16SF_INT): Ditto.
2762         (QI_FTYPE_V8SF_INT): Ditto.
2763         (QI_FTYPE_V8SF_V8SF_INT_QI): Ditto.
2764         (QI_FTYPE_V4SF_INT): Ditto.
2765         (QI_FTYPE_V8DF_INT_QI): Ditto.
2766         (QI_FTYPE_V4DF_INT_QI): Ditto.
2767         (QI_FTYPE_V2DF_INT_QI): Ditto.
2768         (HI_FTYPE_V16SF_INT_HI): Ditto.
2769         (QI_FTYPE_V8SF_INT_QI): Ditto.
2770         (QI_FTYPE_V4SF_INT_QI): Ditto.
2771         (V8DI_FTYPE_V8DF_V8DI_QI_INT): Ditto.
2772         (V8DI_FTYPE_V8SF_V8DI_QI_INT): Ditto.
2773         (V8DF_FTYPE_V8DI_V8DF_QI_INT): Ditto.
2774         (V8SF_FTYPE_V8DI_V8SF_QI_INT): Ditto.
2775         (V2DF_FTYPE_V2DF_PCDOUBLE_V4SI_QI_INT): Ditto.
2776         (V4DF_FTYPE_V4DF_PCDOUBLE_V4SI_QI_INT): Ditto.
2777         (V4DF_FTYPE_V4DF_PCDOUBLE_V8SI_QI_INT): Ditto.
2778         (V2DF_FTYPE_V2DF_PCDOUBLE_V2DI_QI_INT): Ditto.
2779         (V4DF_FTYPE_V4DF_PCDOUBLE_V4DI_QI_INT): Ditto.
2780         (V4SF_FTYPE_V4SF_PCFLOAT_V4SI_QI_INT): Ditto.
2781         (V8SF_FTYPE_V8SF_PCFLOAT_V8SI_QI_INT): Ditto.
2782         (V4SF_FTYPE_V4SF_PCFLOAT_V2DI_QI_INT): Ditto.
2783         (V4SF_FTYPE_V4SF_PCFLOAT_V4DI_QI_INT): Ditto.
2784         (V8SF_FTYPE_V8SF_PCFLOAT_V4DI_QI_INT): Ditto.
2785         (V2DI_FTYPE_V2DI_PCINT64_V4SI_QI_INT): Ditto.
2786         (V4DI_FTYPE_V4DI_PCINT64_V4SI_QI_INT): Ditto.
2787         (V4DI_FTYPE_V4DI_PCINT64_V8SI_QI_INT): Ditto.
2788         (V2DI_FTYPE_V2DI_PCINT64_V2DI_QI_INT): Ditto.
2789         (V4DI_FTYPE_V4DI_PCINT64_V4DI_QI_INT): Ditto.
2790         (V4SI_FTYPE_V4SI_PCINT_V4SI_QI_INT): Ditto.
2791         (V8SI_FTYPE_V8SI_PCINT_V8SI_QI_INT): Ditto.
2792         (V4SI_FTYPE_V4SI_PCINT_V2DI_QI_INT): Ditto.
2793         (V4SI_FTYPE_V4SI_PCINT_V4DI_QI_INT): Ditto.
2794         (V8SI_FTYPE_V8SI_PCINT_V4DI_QI_INT): Ditto.
2795         (VOID_FTYPE_PFLOAT_QI_V8SI_V8SF_INT): Ditto.
2796         (VOID_FTYPE_PFLOAT_QI_V4SI_V4SF_INT): Ditto.
2797         (VOID_FTYPE_PDOUBLE_QI_V4SI_V4DF_INT): Ditto.
2798         (VOID_FTYPE_PDOUBLE_QI_V4SI_V2DF_INT): Ditto.
2799         (VOID_FTYPE_PFLOAT_QI_V4DI_V4SF_INT): Ditto.
2800         (VOID_FTYPE_PFLOAT_QI_V2DI_V4SF_INT): Ditto.
2801         (VOID_FTYPE_PDOUBLE_QI_V4DI_V4DF_INT): Ditto.
2802         (VOID_FTYPE_PDOUBLE_QI_V2DI_V2DF_INT): Ditto.
2803         (VOID_FTYPE_PINT_QI_V8SI_V8SI_INT): Ditto.
2804         (VOID_FTYPE_PINT_QI_V4SI_V4SI_INT): Ditto.
2805         (VOID_FTYPE_PLONGLONG_QI_V4SI_V4DI_INT): Ditto.
2806         (VOID_FTYPE_PLONGLONG_QI_V4SI_V2DI_INT): Ditto.
2807         (VOID_FTYPE_PINT_QI_V4DI_V4SI_INT): Ditto.
2808         (VOID_FTYPE_PINT_QI_V2DI_V4SI_INT): Ditto.
2809         (VOID_FTYPE_PLONGLONG_QI_V4DI_V4DI_INT): Ditto.
2810         (VOID_FTYPE_PLONGLONG_QI_V2DI_V2DI_INT): Ditto.
2811         (V8DI_FTYPE_V8DI_INT): Ditto.
2812         (V8DI_FTYPE_V8DI_V8DI_INT): Ditto.
2813         (V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI): Ditto.
2814         (V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI): Ditto.
2815         (V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI): Ditto.
2816         (V2DF_FTYPE_ V2DF_ V2DF_ V2DI_ INT_ QI): Remove.
2817         (V4SF_FTYPE_ V4SF_ V2DF_ V4SF_ QI): Ditto.
2818         (V4SF_FTYPE_ V4SF_ V4SF_ V4SF_ QI): Ditto.
2819         (V2DF_FTYPE_ PCDOUBLE_ V2DF_ QI): Ditto.
2820         (V4SF_FTYPE_ PCFLOAT_ V4SF_ QI): Ditto.
2821         (V16QI_FTYPE_ V16SI_ V16QI_ HI): Ditto.
2822         (V16QI_FTYPE_ V8DI_ V16QI_ QI): Ditto.
2823         (V4SF_FTYPE_ V4SF_ V4SF_ INT_ V4SF_ QI): Ditto.
2824         (V2DF_FTYPE_ V2DF_ V2DF_ INT_ V2DF_ QI): Ditto.
2825         (V8DI_FTYPE_ V16SI_ V16SI_ V8DI_ QI): Ditto.
2826         * config/i386/i386.c (ix86_builtins):
2827         Add IX86_BUILTIN_PMOVUSQD256_MEM, IX86_BUILTIN_PMOVUSQD128_MEM,
2828         IX86_BUILTIN_PMOVSQD256_MEM, IX86_BUILTIN_PMOVSQD128_MEM,
2829         IX86_BUILTIN_PMOVQD256_MEM, IX86_BUILTIN_PMOVQD128_MEM,
2830         IX86_BUILTIN_PMOVUSQW256_MEM, IX86_BUILTIN_PMOVUSQW128_MEM,
2831         IX86_BUILTIN_PMOVSQW256_MEM, IX86_BUILTIN_PMOVSQW128_MEM,
2832         IX86_BUILTIN_PMOVQW256_MEM, IX86_BUILTIN_PMOVQW128_MEM,
2833         IX86_BUILTIN_PMOVUSQB256_MEM, IX86_BUILTIN_PMOVUSQB128_MEM,
2834         IX86_BUILTIN_PMOVSQB256_MEM, IX86_BUILTIN_PMOVSQB128_MEM,
2835         IX86_BUILTIN_PMOVQB256_MEM, IX86_BUILTIN_PMOVQB128_MEM,
2836         IX86_BUILTIN_PMOVUSDW256_MEM, IX86_BUILTIN_PMOVUSDW128_MEM,
2837         IX86_BUILTIN_PMOVSDW256_MEM, IX86_BUILTIN_PMOVSDW128_MEM,
2838         IX86_BUILTIN_PMOVDW256_MEM, IX86_BUILTIN_PMOVDW128_MEM,
2839         IX86_BUILTIN_PMOVUSDB256_MEM, IX86_BUILTIN_PMOVUSDB128_MEM,
2840         IX86_BUILTIN_PMOVSDB256_MEM, IX86_BUILTIN_PMOVSDB128_MEM,
2841         IX86_BUILTIN_PMOVDB256_MEM, IX86_BUILTIN_PMOVDB128_MEM,
2842         IX86_BUILTIN_MOVDQA64LOAD256_MASK, IX86_BUILTIN_MOVDQA64LOAD128_MASK,
2843         IX86_BUILTIN_MOVDQA32LOAD256_MASK, IX86_BUILTIN_MOVDQA32LOAD128_MASK,
2844         IX86_BUILTIN_MOVDQA64STORE256_MASK, IX86_BUILTIN_MOVDQA64STORE128_MASK,
2845         IX86_BUILTIN_MOVDQA32STORE256_MASK, IX86_BUILTIN_MOVDQA32STORE128_MASK,
2846         IX86_BUILTIN_LOADAPD256_MASK, IX86_BUILTIN_LOADAPD128_MASK,
2847         IX86_BUILTIN_LOADAPS256_MASK, IX86_BUILTIN_LOADAPS128_MASK,
2848         IX86_BUILTIN_STOREAPD256_MASK, IX86_BUILTIN_STOREAPD128_MASK,
2849         IX86_BUILTIN_STOREAPS256_MASK, IX86_BUILTIN_STOREAPS128_MASK,
2850         IX86_BUILTIN_LOADUPD256_MASK, IX86_BUILTIN_LOADUPD128_MASK,
2851         IX86_BUILTIN_LOADUPS256_MASK, IX86_BUILTIN_LOADUPS128_MASK,
2852         IX86_BUILTIN_STOREUPD256_MASK, IX86_BUILTIN_STOREUPD128_MASK,
2853         IX86_BUILTIN_STOREUPS256_MASK, IX86_BUILTIN_STOREUPS128_MASK,
2854         IX86_BUILTIN_LOADDQUDI256_MASK, IX86_BUILTIN_LOADDQUDI128_MASK,
2855         IX86_BUILTIN_LOADDQUSI256_MASK, IX86_BUILTIN_LOADDQUSI128_MASK,
2856         IX86_BUILTIN_LOADDQUHI256_MASK, IX86_BUILTIN_LOADDQUHI128_MASK,
2857         IX86_BUILTIN_LOADDQUQI256_MASK, IX86_BUILTIN_LOADDQUQI128_MASK,
2858         IX86_BUILTIN_STOREDQUDI256_MASK, IX86_BUILTIN_STOREDQUDI128_MASK,
2859         IX86_BUILTIN_STOREDQUSI256_MASK, IX86_BUILTIN_STOREDQUSI128_MASK,
2860         IX86_BUILTIN_STOREDQUHI256_MASK, IX86_BUILTIN_STOREDQUHI128_MASK,
2861         IX86_BUILTIN_STOREDQUQI256_MASK, IX86_BUILTIN_STOREDQUQI128_MASK,
2862         IX86_BUILTIN_COMPRESSPDSTORE256, IX86_BUILTIN_COMPRESSPDSTORE128,
2863         IX86_BUILTIN_COMPRESSPSSTORE256, IX86_BUILTIN_COMPRESSPSSTORE128,
2864         IX86_BUILTIN_PCOMPRESSQSTORE256, IX86_BUILTIN_PCOMPRESSQSTORE128,
2865         IX86_BUILTIN_PCOMPRESSDSTORE256, IX86_BUILTIN_PCOMPRESSDSTORE128,
2866         IX86_BUILTIN_EXPANDPDLOAD256, IX86_BUILTIN_EXPANDPDLOAD128,
2867         IX86_BUILTIN_EXPANDPSLOAD256, IX86_BUILTIN_EXPANDPSLOAD128,
2868         IX86_BUILTIN_PEXPANDQLOAD256, IX86_BUILTIN_PEXPANDQLOAD128,
2869         IX86_BUILTIN_PEXPANDDLOAD256, IX86_BUILTIN_PEXPANDDLOAD128,
2870         IX86_BUILTIN_EXPANDPDLOAD256Z, IX86_BUILTIN_EXPANDPDLOAD128Z,
2871         IX86_BUILTIN_EXPANDPSLOAD256Z, IX86_BUILTIN_EXPANDPSLOAD128Z,
2872         IX86_BUILTIN_PEXPANDQLOAD256Z, IX86_BUILTIN_PEXPANDQLOAD128Z,
2873         IX86_BUILTIN_PEXPANDDLOAD256Z, IX86_BUILTIN_PEXPANDDLOAD128Z,
2874         IX86_BUILTIN_PALIGNR256_MASK, IX86_BUILTIN_PALIGNR128_MASK,
2875         IX86_BUILTIN_MOVDQA64_256_MASK, IX86_BUILTIN_MOVDQA64_128_MASK,
2876         IX86_BUILTIN_MOVDQA32_256_MASK, IX86_BUILTIN_MOVDQA32_128_MASK,
2877         IX86_BUILTIN_MOVAPD256_MASK, IX86_BUILTIN_MOVAPD128_MASK,
2878         IX86_BUILTIN_MOVAPS256_MASK, IX86_BUILTIN_MOVAPS128_MASK,
2879         IX86_BUILTIN_MOVDQUHI256_MASK, IX86_BUILTIN_MOVDQUHI128_MASK,
2880         IX86_BUILTIN_MOVDQUQI256_MASK, IX86_BUILTIN_MOVDQUQI128_MASK,
2881         IX86_BUILTIN_MINPS128_MASK, IX86_BUILTIN_MAXPS128_MASK,
2882         IX86_BUILTIN_MINPD128_MASK, IX86_BUILTIN_MAXPD128_MASK,
2883         IX86_BUILTIN_MAXPD256_MASK, IX86_BUILTIN_MAXPS256_MASK,
2884         IX86_BUILTIN_MINPD256_MASK, IX86_BUILTIN_MINPS256_MASK,
2885         IX86_BUILTIN_MULPS128_MASK, IX86_BUILTIN_DIVPS128_MASK,
2886         IX86_BUILTIN_MULPD128_MASK, IX86_BUILTIN_DIVPD128_MASK,
2887         IX86_BUILTIN_DIVPD256_MASK, IX86_BUILTIN_DIVPS256_MASK,
2888         IX86_BUILTIN_MULPD256_MASK, IX86_BUILTIN_MULPS256_MASK,
2889         IX86_BUILTIN_ADDPD128_MASK, IX86_BUILTIN_ADDPD256_MASK,
2890         IX86_BUILTIN_ADDPS128_MASK, IX86_BUILTIN_ADDPS256_MASK,
2891         IX86_BUILTIN_SUBPD128_MASK, IX86_BUILTIN_SUBPD256_MASK,
2892         IX86_BUILTIN_SUBPS128_MASK, IX86_BUILTIN_SUBPS256_MASK,
2893         IX86_BUILTIN_XORPD256_MASK, IX86_BUILTIN_XORPD128_MASK,
2894         IX86_BUILTIN_XORPS256_MASK, IX86_BUILTIN_XORPS128_MASK,
2895         IX86_BUILTIN_ORPD256_MASK, IX86_BUILTIN_ORPD128_MASK,
2896         IX86_BUILTIN_ORPS256_MASK, IX86_BUILTIN_ORPS128_MASK,
2897         IX86_BUILTIN_BROADCASTF32x2_256, IX86_BUILTIN_BROADCASTI32x2_256,
2898         IX86_BUILTIN_BROADCASTI32x2_128, IX86_BUILTIN_BROADCASTF64X2_256,
2899         IX86_BUILTIN_BROADCASTI64X2_256, IX86_BUILTIN_BROADCASTF32X4_256,
2900         IX86_BUILTIN_BROADCASTI32X4_256, IX86_BUILTIN_EXTRACTF32X4_256,
2901         IX86_BUILTIN_EXTRACTI32X4_256, IX86_BUILTIN_DBPSADBW256,
2902         IX86_BUILTIN_DBPSADBW128, IX86_BUILTIN_CVTTPD2QQ256,
2903         IX86_BUILTIN_CVTTPD2QQ128, IX86_BUILTIN_CVTTPD2UQQ256,
2904         IX86_BUILTIN_CVTTPD2UQQ128, IX86_BUILTIN_CVTPD2QQ256,
2905         IX86_BUILTIN_CVTPD2QQ128, IX86_BUILTIN_CVTPD2UQQ256,
2906         IX86_BUILTIN_CVTPD2UQQ128, IX86_BUILTIN_CVTPD2UDQ256_MASK,
2907         IX86_BUILTIN_CVTPD2UDQ128_MASK, IX86_BUILTIN_CVTTPS2QQ256,
2908         IX86_BUILTIN_CVTTPS2QQ128, IX86_BUILTIN_CVTTPS2UQQ256,
2909         IX86_BUILTIN_CVTTPS2UQQ128, IX86_BUILTIN_CVTTPS2DQ256_MASK,
2910         IX86_BUILTIN_CVTTPS2DQ128_MASK, IX86_BUILTIN_CVTTPS2UDQ256,
2911         IX86_BUILTIN_CVTTPS2UDQ128, IX86_BUILTIN_CVTTPD2DQ256_MASK,
2912         IX86_BUILTIN_CVTTPD2DQ128_MASK, IX86_BUILTIN_CVTTPD2UDQ256_MASK,
2913         IX86_BUILTIN_CVTTPD2UDQ128_MASK, IX86_BUILTIN_CVTPD2DQ256_MASK,
2914         IX86_BUILTIN_CVTPD2DQ128_MASK, IX86_BUILTIN_CVTDQ2PD256_MASK,
2915         IX86_BUILTIN_CVTDQ2PD128_MASK, IX86_BUILTIN_CVTUDQ2PD256_MASK,
2916         IX86_BUILTIN_CVTUDQ2PD128_MASK, IX86_BUILTIN_CVTDQ2PS256_MASK,
2917         IX86_BUILTIN_CVTDQ2PS128_MASK, IX86_BUILTIN_CVTUDQ2PS256_MASK,
2918         IX86_BUILTIN_CVTUDQ2PS128_MASK, IX86_BUILTIN_CVTPS2PD256_MASK,
2919         IX86_BUILTIN_CVTPS2PD128_MASK, IX86_BUILTIN_PBROADCASTB256_MASK,
2920         IX86_BUILTIN_PBROADCASTB256_GPR_MASK, IX86_BUILTIN_PBROADCASTB128_MASK,
2921         IX86_BUILTIN_PBROADCASTB128_GPR_MASK, IX86_BUILTIN_PBROADCASTW256_MASK,
2922         IX86_BUILTIN_PBROADCASTW256_GPR_MASK, IX86_BUILTIN_PBROADCASTW128_MASK,
2923         IX86_BUILTIN_PBROADCASTW128_GPR_MASK, IX86_BUILTIN_PBROADCASTD256_MASK,
2924         IX86_BUILTIN_PBROADCASTD256_GPR_MASK, IX86_BUILTIN_PBROADCASTD128_MASK,
2925         IX86_BUILTIN_PBROADCASTD128_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MASK,
2926         IX86_BUILTIN_PBROADCASTQ256_GPR_MASK, IX86_BUILTIN_PBROADCASTQ256_MEM_MASK,
2927         IX86_BUILTIN_PBROADCASTQ128_MASK, IX86_BUILTIN_PBROADCASTQ128_GPR_MASK,
2928         IX86_BUILTIN_PBROADCASTQ128_MEM_MASK, IX86_BUILTIN_BROADCASTSS256,
2929         IX86_BUILTIN_BROADCASTSS128, IX86_BUILTIN_BROADCASTSD256,
2930         IX86_BUILTIN_EXTRACTF64X2_256, IX86_BUILTIN_EXTRACTI64X2_256,
2931         IX86_BUILTIN_INSERTF32X4_256, IX86_BUILTIN_INSERTI32X4_256,
2932         IX86_BUILTIN_PMOVSXBW256_MASK, IX86_BUILTIN_PMOVSXBW128_MASK,
2933         IX86_BUILTIN_PMOVSXBD256_MASK, IX86_BUILTIN_PMOVSXBD128_MASK,
2934         IX86_BUILTIN_PMOVSXBQ256_MASK, IX86_BUILTIN_PMOVSXBQ128_MASK,
2935         IX86_BUILTIN_PMOVSXWD256_MASK, IX86_BUILTIN_PMOVSXWD128_MASK,
2936         IX86_BUILTIN_PMOVSXWQ256_MASK, IX86_BUILTIN_PMOVSXWQ128_MASK,
2937         IX86_BUILTIN_PMOVSXDQ256_MASK, IX86_BUILTIN_PMOVSXDQ128_MASK,
2938         IX86_BUILTIN_PMOVZXBW256_MASK, IX86_BUILTIN_PMOVZXBW128_MASK,
2939         IX86_BUILTIN_PMOVZXBD256_MASK, IX86_BUILTIN_PMOVZXBD128_MASK,
2940         IX86_BUILTIN_PMOVZXBQ256_MASK, IX86_BUILTIN_PMOVZXBQ128_MASK,
2941         IX86_BUILTIN_PMOVZXWD256_MASK, IX86_BUILTIN_PMOVZXWD128_MASK,
2942         IX86_BUILTIN_PMOVZXWQ256_MASK, IX86_BUILTIN_PMOVZXWQ128_MASK,
2943         IX86_BUILTIN_PMOVZXDQ256_MASK, IX86_BUILTIN_PMOVZXDQ128_MASK,
2944         IX86_BUILTIN_REDUCEPD256_MASK, IX86_BUILTIN_REDUCEPD128_MASK,
2945         IX86_BUILTIN_REDUCEPS256_MASK, IX86_BUILTIN_REDUCEPS128_MASK,
2946         IX86_BUILTIN_REDUCESD_MASK, IX86_BUILTIN_REDUCESS_MASK,
2947         IX86_BUILTIN_VPERMVARHI256_MASK, IX86_BUILTIN_VPERMVARHI128_MASK,
2948         IX86_BUILTIN_VPERMT2VARHI256, IX86_BUILTIN_VPERMT2VARHI256_MASKZ,
2949         IX86_BUILTIN_VPERMT2VARHI128, IX86_BUILTIN_VPERMT2VARHI128_MASKZ,
2950         IX86_BUILTIN_VPERMI2VARHI256, IX86_BUILTIN_VPERMI2VARHI128,
2951         IX86_BUILTIN_RCP14PD256, IX86_BUILTIN_RCP14PD128,
2952         IX86_BUILTIN_RCP14PS256, IX86_BUILTIN_RCP14PS128,
2953         IX86_BUILTIN_RSQRT14PD256_MASK, IX86_BUILTIN_RSQRT14PD128_MASK,
2954         IX86_BUILTIN_RSQRT14PS256_MASK, IX86_BUILTIN_RSQRT14PS128_MASK,
2955         IX86_BUILTIN_SQRTPD256_MASK, IX86_BUILTIN_SQRTPD128_MASK,
2956         IX86_BUILTIN_SQRTPS256_MASK, IX86_BUILTIN_SQRTPS128_MASK,
2957         IX86_BUILTIN_PADDB128_MASK, IX86_BUILTIN_PADDW128_MASK,
2958         IX86_BUILTIN_PADDD128_MASK, IX86_BUILTIN_PADDQ128_MASK,
2959         IX86_BUILTIN_PSUBB128_MASK, IX86_BUILTIN_PSUBW128_MASK,
2960         IX86_BUILTIN_PSUBD128_MASK, IX86_BUILTIN_PSUBQ128_MASK,
2961         IX86_BUILTIN_PADDSB128_MASK, IX86_BUILTIN_PADDSW128_MASK,
2962         IX86_BUILTIN_PSUBSB128_MASK, IX86_BUILTIN_PSUBSW128_MASK,
2963         IX86_BUILTIN_PADDUSB128_MASK, IX86_BUILTIN_PADDUSW128_MASK,
2964         IX86_BUILTIN_PSUBUSB128_MASK, IX86_BUILTIN_PSUBUSW128_MASK,
2965         IX86_BUILTIN_PADDB256_MASK, IX86_BUILTIN_PADDW256_MASK,
2966         IX86_BUILTIN_PADDD256_MASK, IX86_BUILTIN_PADDQ256_MASK,
2967         IX86_BUILTIN_PADDSB256_MASK, IX86_BUILTIN_PADDSW256_MASK,
2968         IX86_BUILTIN_PADDUSB256_MASK, IX86_BUILTIN_PADDUSW256_MASK,
2969         IX86_BUILTIN_PSUBB256_MASK, IX86_BUILTIN_PSUBW256_MASK,
2970         IX86_BUILTIN_PSUBD256_MASK, IX86_BUILTIN_PSUBQ256_MASK,
2971         IX86_BUILTIN_PSUBSB256_MASK, IX86_BUILTIN_PSUBSW256_MASK,
2972         IX86_BUILTIN_PSUBUSB256_MASK, IX86_BUILTIN_PSUBUSW256_MASK,
2973         IX86_BUILTIN_SHUF_F64x2_256, IX86_BUILTIN_SHUF_I64x2_256,
2974         IX86_BUILTIN_SHUF_I32x4_256, IX86_BUILTIN_SHUF_F32x4_256,
2975         IX86_BUILTIN_PMOVWB128, IX86_BUILTIN_PMOVWB256,
2976         IX86_BUILTIN_PMOVSWB128, IX86_BUILTIN_PMOVSWB256,
2977         IX86_BUILTIN_PMOVUSWB128, IX86_BUILTIN_PMOVUSWB256,
2978         IX86_BUILTIN_PMOVDB128, IX86_BUILTIN_PMOVDB256,
2979         IX86_BUILTIN_PMOVSDB128, IX86_BUILTIN_PMOVSDB256,
2980         IX86_BUILTIN_PMOVUSDB128, IX86_BUILTIN_PMOVUSDB256,
2981         IX86_BUILTIN_PMOVDW128, IX86_BUILTIN_PMOVDW256,
2982         IX86_BUILTIN_PMOVSDW128, IX86_BUILTIN_PMOVSDW256,
2983         IX86_BUILTIN_PMOVUSDW128, IX86_BUILTIN_PMOVUSDW256,
2984         IX86_BUILTIN_PMOVQB128, IX86_BUILTIN_PMOVQB256,
2985         IX86_BUILTIN_PMOVSQB128, IX86_BUILTIN_PMOVSQB256,
2986         IX86_BUILTIN_PMOVUSQB128, IX86_BUILTIN_PMOVUSQB256,
2987         IX86_BUILTIN_PMOVQW128, IX86_BUILTIN_PMOVQW256,
2988         IX86_BUILTIN_PMOVSQW128, IX86_BUILTIN_PMOVSQW256,
2989         IX86_BUILTIN_PMOVUSQW128, IX86_BUILTIN_PMOVUSQW256,
2990         IX86_BUILTIN_PMOVQD128, IX86_BUILTIN_PMOVQD256,
2991         IX86_BUILTIN_PMOVSQD128, IX86_BUILTIN_PMOVSQD256,
2992         IX86_BUILTIN_PMOVUSQD128, IX86_BUILTIN_PMOVUSQD256,
2993         IX86_BUILTIN_RANGEPD256, IX86_BUILTIN_RANGEPD128,
2994         IX86_BUILTIN_RANGEPS256, IX86_BUILTIN_RANGEPS128,
2995         IX86_BUILTIN_GETEXPPS256, IX86_BUILTIN_GETEXPPD256,
2996         IX86_BUILTIN_GETEXPPS128, IX86_BUILTIN_GETEXPPD128,
2997         IX86_BUILTIN_FIXUPIMMPD256_MASK, IX86_BUILTIN_FIXUPIMMPD256_MASKZ,
2998         IX86_BUILTIN_FIXUPIMMPS256_MASK, IX86_BUILTIN_FIXUPIMMPS256_MASKZ,
2999         IX86_BUILTIN_FIXUPIMMPD128_MASK, IX86_BUILTIN_FIXUPIMMPD128_MASKZ,
3000         IX86_BUILTIN_FIXUPIMMPS128_MASK, IX86_BUILTIN_FIXUPIMMPS128_MASKZ,
3001         IX86_BUILTIN_PABSQ256, IX86_BUILTIN_PABSQ128,
3002         IX86_BUILTIN_PABSD256_MASK, IX86_BUILTIN_PABSD128_MASK,
3003         IX86_BUILTIN_PMULHRSW256_MASK, IX86_BUILTIN_PMULHRSW128_MASK,
3004         IX86_BUILTIN_PMULHUW128_MASK, IX86_BUILTIN_PMULHUW256_MASK,
3005         IX86_BUILTIN_PMULHW256_MASK, IX86_BUILTIN_PMULHW128_MASK,
3006         IX86_BUILTIN_PMULLW256_MASK, IX86_BUILTIN_PMULLW128_MASK,
3007         IX86_BUILTIN_PMULLQ256, IX86_BUILTIN_PMULLQ128,
3008         IX86_BUILTIN_ANDPD256_MASK, IX86_BUILTIN_ANDPD128_MASK,
3009         IX86_BUILTIN_ANDPS256_MASK, IX86_BUILTIN_ANDPS128_MASK,
3010         IX86_BUILTIN_ANDNPD256_MASK, IX86_BUILTIN_ANDNPD128_MASK,
3011         IX86_BUILTIN_ANDNPS256_MASK, IX86_BUILTIN_ANDNPS128_MASK,
3012         IX86_BUILTIN_PSLLWI128_MASK, IX86_BUILTIN_PSLLDI128_MASK,
3013         IX86_BUILTIN_PSLLQI128_MASK, IX86_BUILTIN_PSLLW128_MASK,
3014         IX86_BUILTIN_PSLLD128_MASK, IX86_BUILTIN_PSLLQ128_MASK,
3015         IX86_BUILTIN_PSLLWI256_MASK , IX86_BUILTIN_PSLLW256_MASK,
3016         IX86_BUILTIN_PSLLDI256_MASK, IX86_BUILTIN_PSLLD256_MASK,
3017         IX86_BUILTIN_PSLLQI256_MASK, IX86_BUILTIN_PSLLQ256_MASK,
3018         IX86_BUILTIN_PSRADI128_MASK, IX86_BUILTIN_PSRAD128_MASK,
3019         IX86_BUILTIN_PSRADI256_MASK, IX86_BUILTIN_PSRAD256_MASK,
3020         IX86_BUILTIN_PSRAQI128_MASK, IX86_BUILTIN_PSRAQ128_MASK,
3021         IX86_BUILTIN_PSRAQI256_MASK, IX86_BUILTIN_PSRAQ256_MASK,
3022         IX86_BUILTIN_PANDD256, IX86_BUILTIN_PANDD128,
3023         IX86_BUILTIN_PSRLDI128_MASK, IX86_BUILTIN_PSRLD128_MASK,
3024         IX86_BUILTIN_PSRLDI256_MASK, IX86_BUILTIN_PSRLD256_MASK,
3025         IX86_BUILTIN_PSRLQI128_MASK, IX86_BUILTIN_PSRLQ128_MASK,
3026         IX86_BUILTIN_PSRLQI256_MASK, IX86_BUILTIN_PSRLQ256_MASK,
3027         IX86_BUILTIN_PANDQ256, IX86_BUILTIN_PANDQ128,
3028         IX86_BUILTIN_PANDND256, IX86_BUILTIN_PANDND128,
3029         IX86_BUILTIN_PANDNQ256, IX86_BUILTIN_PANDNQ128,
3030         IX86_BUILTIN_PORD256, IX86_BUILTIN_PORD128,
3031         IX86_BUILTIN_PORQ256, IX86_BUILTIN_PORQ128,
3032         IX86_BUILTIN_PXORD256, IX86_BUILTIN_PXORD128,
3033         IX86_BUILTIN_PXORQ256, IX86_BUILTIN_PXORQ128,
3034         IX86_BUILTIN_PACKSSWB256_MASK, IX86_BUILTIN_PACKSSWB128_MASK,
3035         IX86_BUILTIN_PACKUSWB256_MASK, IX86_BUILTIN_PACKUSWB128_MASK,
3036         IX86_BUILTIN_RNDSCALEPS256, IX86_BUILTIN_RNDSCALEPD256,
3037         IX86_BUILTIN_RNDSCALEPS128, IX86_BUILTIN_RNDSCALEPD128,
3038         IX86_BUILTIN_VTERNLOGQ256_MASK, IX86_BUILTIN_VTERNLOGQ256_MASKZ,
3039         IX86_BUILTIN_VTERNLOGD256_MASK, IX86_BUILTIN_VTERNLOGD256_MASKZ,
3040         IX86_BUILTIN_VTERNLOGQ128_MASK, IX86_BUILTIN_VTERNLOGQ128_MASKZ,
3041         IX86_BUILTIN_VTERNLOGD128_MASK, IX86_BUILTIN_VTERNLOGD128_MASKZ,
3042         IX86_BUILTIN_SCALEFPD256, IX86_BUILTIN_SCALEFPS256,
3043         IX86_BUILTIN_SCALEFPD128, IX86_BUILTIN_SCALEFPS128,
3044         IX86_BUILTIN_VFMADDPD256_MASK, IX86_BUILTIN_VFMADDPD256_MASK3,
3045         IX86_BUILTIN_VFMADDPD256_MASKZ, IX86_BUILTIN_VFMADDPD128_MASK,
3046         IX86_BUILTIN_VFMADDPD128_MASK3, IX86_BUILTIN_VFMADDPD128_MASKZ,
3047         IX86_BUILTIN_VFMADDPS256_MASK, IX86_BUILTIN_VFMADDPS256_MASK3,
3048         IX86_BUILTIN_VFMADDPS256_MASKZ, IX86_BUILTIN_VFMADDPS128_MASK,
3049         IX86_BUILTIN_VFMADDPS128_MASK3, IX86_BUILTIN_VFMADDPS128_MASKZ,
3050         IX86_BUILTIN_VFMSUBPD256_MASK3, IX86_BUILTIN_VFMSUBPD128_MASK3,
3051         IX86_BUILTIN_VFMSUBPS256_MASK3, IX86_BUILTIN_VFMSUBPS128_MASK3,
3052         IX86_BUILTIN_VFNMADDPD256_MASK, IX86_BUILTIN_VFNMADDPD128_MASK,
3053         IX86_BUILTIN_VFNMADDPS256_MASK, IX86_BUILTIN_VFNMADDPS128_MASK,
3054         IX86_BUILTIN_VFNMSUBPD256_MASK, IX86_BUILTIN_VFNMSUBPD256_MASK3,
3055         IX86_BUILTIN_VFNMSUBPD128_MASK, IX86_BUILTIN_VFNMSUBPD128_MASK3,
3056         IX86_BUILTIN_VFNMSUBPS256_MASK, IX86_BUILTIN_VFNMSUBPS256_MASK3,
3057         IX86_BUILTIN_VFNMSUBPS128_MASK, IX86_BUILTIN_VFNMSUBPS128_MASK3,
3058         IX86_BUILTIN_VFMADDSUBPD256_MASK, IX86_BUILTIN_VFMADDSUBPD256_MASK3,
3059         IX86_BUILTIN_VFMADDSUBPD256_MASKZ, IX86_BUILTIN_VFMADDSUBPD128_MASK,
3060         IX86_BUILTIN_VFMADDSUBPD128_MASK3, IX86_BUILTIN_VFMADDSUBPD128_MASKZ,
3061         IX86_BUILTIN_VFMADDSUBPS256_MASK, IX86_BUILTIN_VFMADDSUBPS256_MASK3,
3062         IX86_BUILTIN_VFMADDSUBPS256_MASKZ, IX86_BUILTIN_VFMADDSUBPS128_MASK,
3063         IX86_BUILTIN_VFMADDSUBPS128_MASK3, IX86_BUILTIN_VFMADDSUBPS128_MASKZ,
3064         IX86_BUILTIN_VFMSUBADDPD256_MASK3, IX86_BUILTIN_VFMSUBADDPD128_MASK3,
3065         IX86_BUILTIN_VFMSUBADDPS256_MASK3, IX86_BUILTIN_VFMSUBADDPS128_MASK3,
3066         IX86_BUILTIN_INSERTF64X2_256, IX86_BUILTIN_INSERTI64X2_256,
3067         IX86_BUILTIN_PSRAVV16HI, IX86_BUILTIN_PSRAVV8HI,
3068         IX86_BUILTIN_PMADDUBSW256_MASK, IX86_BUILTIN_PMADDUBSW128_MASK,
3069         IX86_BUILTIN_PMADDWD256_MASK, IX86_BUILTIN_PMADDWD128_MASK,
3070         IX86_BUILTIN_PSRLVV16HI, IX86_BUILTIN_PSRLVV8HI,
3071         IX86_BUILTIN_CVTPS2DQ256_MASK, IX86_BUILTIN_CVTPS2DQ128_MASK,
3072         IX86_BUILTIN_CVTPS2UDQ256, IX86_BUILTIN_CVTPS2UDQ128,
3073         IX86_BUILTIN_CVTPS2QQ256, IX86_BUILTIN_CVTPS2QQ128,
3074         IX86_BUILTIN_CVTPS2UQQ256, IX86_BUILTIN_CVTPS2UQQ128,
3075         IX86_BUILTIN_GETMANTPS256, IX86_BUILTIN_GETMANTPS128,
3076         IX86_BUILTIN_GETMANTPD256, IX86_BUILTIN_GETMANTPD128,
3077         IX86_BUILTIN_MOVDDUP256_MASK, IX86_BUILTIN_MOVDDUP128_MASK,
3078         IX86_BUILTIN_MOVSHDUP256_MASK, IX86_BUILTIN_MOVSHDUP128_MASK,
3079         IX86_BUILTIN_MOVSLDUP256_MASK, IX86_BUILTIN_MOVSLDUP128_MASK,
3080         IX86_BUILTIN_CVTQQ2PS256, IX86_BUILTIN_CVTQQ2PS128,
3081         IX86_BUILTIN_CVTUQQ2PS256, IX86_BUILTIN_CVTUQQ2PS128,
3082         IX86_BUILTIN_CVTQQ2PD256, IX86_BUILTIN_CVTQQ2PD128,
3083         IX86_BUILTIN_CVTUQQ2PD256, IX86_BUILTIN_CVTUQQ2PD128,
3084         IX86_BUILTIN_VPERMT2VARQ256, IX86_BUILTIN_VPERMT2VARQ256_MASKZ,
3085         IX86_BUILTIN_VPERMT2VARD256, IX86_BUILTIN_VPERMT2VARD256_MASKZ,
3086         IX86_BUILTIN_VPERMI2VARQ256, IX86_BUILTIN_VPERMI2VARD256,
3087         IX86_BUILTIN_VPERMT2VARPD256, IX86_BUILTIN_VPERMT2VARPD256_MASKZ,
3088         IX86_BUILTIN_VPERMT2VARPS256, IX86_BUILTIN_VPERMT2VARPS256_MASKZ,
3089         IX86_BUILTIN_VPERMI2VARPD256, IX86_BUILTIN_VPERMI2VARPS256,
3090         IX86_BUILTIN_VPERMT2VARQ128, IX86_BUILTIN_VPERMT2VARQ128_MASKZ,
3091         IX86_BUILTIN_VPERMT2VARD128, IX86_BUILTIN_VPERMT2VARD128_MASKZ,
3092         IX86_BUILTIN_VPERMI2VARQ128, IX86_BUILTIN_VPERMI2VARD128,
3093         IX86_BUILTIN_VPERMT2VARPD128, IX86_BUILTIN_VPERMT2VARPD128_MASKZ,
3094         IX86_BUILTIN_VPERMT2VARPS128, IX86_BUILTIN_VPERMT2VARPS128_MASKZ,
3095         IX86_BUILTIN_VPERMI2VARPD128, IX86_BUILTIN_VPERMI2VARPS128,
3096         IX86_BUILTIN_PSHUFB256_MASK, IX86_BUILTIN_PSHUFB128_MASK,
3097         IX86_BUILTIN_PSHUFHW256_MASK, IX86_BUILTIN_PSHUFHW128_MASK,
3098         IX86_BUILTIN_PSHUFLW256_MASK, IX86_BUILTIN_PSHUFLW128_MASK,
3099         IX86_BUILTIN_PSHUFD256_MASK, IX86_BUILTIN_PSHUFD128_MASK,
3100         IX86_BUILTIN_SHUFPD256_MASK, IX86_BUILTIN_SHUFPD128_MASK,
3101         IX86_BUILTIN_SHUFPS256_MASK, IX86_BUILTIN_SHUFPS128_MASK,
3102         IX86_BUILTIN_PROLVQ256, IX86_BUILTIN_PROLVQ128,
3103         IX86_BUILTIN_PROLQ256, IX86_BUILTIN_PROLQ128,
3104         IX86_BUILTIN_PRORVQ256, IX86_BUILTIN_PRORVQ128,
3105         IX86_BUILTIN_PRORQ256, IX86_BUILTIN_PRORQ128,
3106         IX86_BUILTIN_PSRAVQ128, IX86_BUILTIN_PSRAVQ256,
3107         IX86_BUILTIN_PSLLVV4DI_MASK, IX86_BUILTIN_PSLLVV2DI_MASK,
3108         IX86_BUILTIN_PSLLVV8SI_MASK, IX86_BUILTIN_PSLLVV4SI_MASK,
3109         IX86_BUILTIN_PSRAVV8SI_MASK, IX86_BUILTIN_PSRAVV4SI_MASK,
3110         IX86_BUILTIN_PSRLVV4DI_MASK, IX86_BUILTIN_PSRLVV2DI_MASK,
3111         IX86_BUILTIN_PSRLVV8SI_MASK, IX86_BUILTIN_PSRLVV4SI_MASK,
3112         IX86_BUILTIN_PSRAWI256_MASK, IX86_BUILTIN_PSRAW256_MASK,
3113         IX86_BUILTIN_PSRAWI128_MASK, IX86_BUILTIN_PSRAW128_MASK,
3114         IX86_BUILTIN_PSRLWI256_MASK, IX86_BUILTIN_PSRLW256_MASK,
3115         IX86_BUILTIN_PSRLWI128_MASK, IX86_BUILTIN_PSRLW128_MASK,
3116         IX86_BUILTIN_PRORVD256, IX86_BUILTIN_PROLVD256,
3117         IX86_BUILTIN_PRORD256, IX86_BUILTIN_PROLD256,
3118         IX86_BUILTIN_PRORVD128, IX86_BUILTIN_PROLVD128,
3119         IX86_BUILTIN_PRORD128, IX86_BUILTIN_PROLD128,
3120         IX86_BUILTIN_FPCLASSPD256, IX86_BUILTIN_FPCLASSPD128,
3121         IX86_BUILTIN_FPCLASSSD, IX86_BUILTIN_FPCLASSPS256,
3122         IX86_BUILTIN_FPCLASSPS128, IX86_BUILTIN_FPCLASSSS,
3123         IX86_BUILTIN_CVTB2MASK128, IX86_BUILTIN_CVTB2MASK256,
3124         IX86_BUILTIN_CVTW2MASK128, IX86_BUILTIN_CVTW2MASK256,
3125         IX86_BUILTIN_CVTD2MASK128, IX86_BUILTIN_CVTD2MASK256,
3126         IX86_BUILTIN_CVTQ2MASK128, IX86_BUILTIN_CVTQ2MASK256,
3127         IX86_BUILTIN_CVTMASK2B128, IX86_BUILTIN_CVTMASK2B256,
3128         IX86_BUILTIN_CVTMASK2W128, IX86_BUILTIN_CVTMASK2W256,
3129         IX86_BUILTIN_CVTMASK2D128, IX86_BUILTIN_CVTMASK2D256,
3130         IX86_BUILTIN_CVTMASK2Q128, IX86_BUILTIN_CVTMASK2Q256,
3131         IX86_BUILTIN_PCMPEQB128_MASK, IX86_BUILTIN_PCMPEQB256_MASK,
3132         IX86_BUILTIN_PCMPEQW128_MASK, IX86_BUILTIN_PCMPEQW256_MASK,
3133         IX86_BUILTIN_PCMPEQD128_MASK, IX86_BUILTIN_PCMPEQD256_MASK,
3134         IX86_BUILTIN_PCMPEQQ128_MASK, IX86_BUILTIN_PCMPEQQ256_MASK,
3135         IX86_BUILTIN_PCMPGTB128_MASK, IX86_BUILTIN_PCMPGTB256_MASK,
3136         IX86_BUILTIN_PCMPGTW128_MASK, IX86_BUILTIN_PCMPGTW256_MASK,
3137         IX86_BUILTIN_PCMPGTD128_MASK, IX86_BUILTIN_PCMPGTD256_MASK,
3138         IX86_BUILTIN_PCMPGTQ128_MASK, IX86_BUILTIN_PCMPGTQ256_MASK,
3139         IX86_BUILTIN_PTESTMB128, IX86_BUILTIN_PTESTMB256,
3140         IX86_BUILTIN_PTESTMW128, IX86_BUILTIN_PTESTMW256,
3141         IX86_BUILTIN_PTESTMD128, IX86_BUILTIN_PTESTMD256,
3142         IX86_BUILTIN_PTESTMQ128, IX86_BUILTIN_PTESTMQ256,
3143         IX86_BUILTIN_PTESTNMB128, IX86_BUILTIN_PTESTNMB256,
3144         IX86_BUILTIN_PTESTNMW128, IX86_BUILTIN_PTESTNMW256,
3145         IX86_BUILTIN_PTESTNMD128, IX86_BUILTIN_PTESTNMD256,
3146         IX86_BUILTIN_PTESTNMQ128, IX86_BUILTIN_PTESTNMQ256,
3147         IX86_BUILTIN_PBROADCASTMB128, IX86_BUILTIN_PBROADCASTMB256,
3148         IX86_BUILTIN_PBROADCASTMW128, IX86_BUILTIN_PBROADCASTMW256,
3149         IX86_BUILTIN_COMPRESSPD256, IX86_BUILTIN_COMPRESSPD128,
3150         IX86_BUILTIN_COMPRESSPS256, IX86_BUILTIN_COMPRESSPS128,
3151         IX86_BUILTIN_PCOMPRESSQ256, IX86_BUILTIN_PCOMPRESSQ128,
3152         IX86_BUILTIN_PCOMPRESSD256, IX86_BUILTIN_PCOMPRESSD128,
3153         IX86_BUILTIN_EXPANDPD256, IX86_BUILTIN_EXPANDPD128,
3154         IX86_BUILTIN_EXPANDPS256, IX86_BUILTIN_EXPANDPS128,
3155         IX86_BUILTIN_PEXPANDQ256, IX86_BUILTIN_PEXPANDQ128,
3156         IX86_BUILTIN_PEXPANDD256, IX86_BUILTIN_PEXPANDD128,
3157         IX86_BUILTIN_EXPANDPD256Z, IX86_BUILTIN_EXPANDPD128Z,
3158         IX86_BUILTIN_EXPANDPS256Z, IX86_BUILTIN_EXPANDPS128Z,
3159         IX86_BUILTIN_PEXPANDQ256Z, IX86_BUILTIN_PEXPANDQ128Z,
3160         IX86_BUILTIN_PEXPANDD256Z, IX86_BUILTIN_PEXPANDD128Z,
3161         IX86_BUILTIN_PMAXSD256_MASK, IX86_BUILTIN_PMINSD256_MASK,
3162         IX86_BUILTIN_PMAXUD256_MASK, IX86_BUILTIN_PMINUD256_MASK,
3163         IX86_BUILTIN_PMAXSD128_MASK, IX86_BUILTIN_PMINSD128_MASK,
3164         IX86_BUILTIN_PMAXUD128_MASK, IX86_BUILTIN_PMINUD128_MASK,
3165         IX86_BUILTIN_PMAXSQ256_MASK, IX86_BUILTIN_PMINSQ256_MASK,
3166         IX86_BUILTIN_PMAXUQ256_MASK, IX86_BUILTIN_PMINUQ256_MASK,
3167         IX86_BUILTIN_PMAXSQ128_MASK, IX86_BUILTIN_PMINSQ128_MASK,
3168         IX86_BUILTIN_PMAXUQ128_MASK, IX86_BUILTIN_PMINUQ128_MASK,
3169         IX86_BUILTIN_PMINSB256_MASK, IX86_BUILTIN_PMINUB256_MASK,
3170         IX86_BUILTIN_PMAXSB256_MASK, IX86_BUILTIN_PMAXUB256_MASK,
3171         IX86_BUILTIN_PMINSB128_MASK, IX86_BUILTIN_PMINUB128_MASK,
3172         IX86_BUILTIN_PMAXSB128_MASK, IX86_BUILTIN_PMAXUB128_MASK,
3173         IX86_BUILTIN_PMINSW256_MASK, IX86_BUILTIN_PMINUW256_MASK,
3174         IX86_BUILTIN_PMAXSW256_MASK, IX86_BUILTIN_PMAXUW256_MASK,
3175         IX86_BUILTIN_PMINSW128_MASK, IX86_BUILTIN_PMINUW128_MASK,
3176         IX86_BUILTIN_PMAXSW128_MASK, IX86_BUILTIN_PMAXUW128_MASK,
3177         IX86_BUILTIN_VPCONFLICTQ256, IX86_BUILTIN_VPCONFLICTD256,
3178         IX86_BUILTIN_VPCLZCNTQ256, IX86_BUILTIN_VPCLZCNTD256,
3179         IX86_BUILTIN_UNPCKHPD256_MASK, IX86_BUILTIN_UNPCKHPD128_MASK,
3180         IX86_BUILTIN_UNPCKHPS256_MASK, IX86_BUILTIN_UNPCKHPS128_MASK,
3181         IX86_BUILTIN_UNPCKLPD256_MASK, IX86_BUILTIN_UNPCKLPD128_MASK,
3182         IX86_BUILTIN_UNPCKLPS256_MASK, IX86_BUILTIN_VPCONFLICTQ128,
3183         IX86_BUILTIN_VPCONFLICTD128, IX86_BUILTIN_VPCLZCNTQ128,
3184         IX86_BUILTIN_VPCLZCNTD128, IX86_BUILTIN_UNPCKLPS128_MASK,
3185         IX86_BUILTIN_ALIGND256, IX86_BUILTIN_ALIGNQ256,
3186         IX86_BUILTIN_ALIGND128, IX86_BUILTIN_ALIGNQ128,
3187         IX86_BUILTIN_CVTPS2PH256_MASK, IX86_BUILTIN_CVTPS2PH_MASK,
3188         IX86_BUILTIN_CVTPH2PS_MASK, IX86_BUILTIN_CVTPH2PS256_MASK,
3189         IX86_BUILTIN_PUNPCKHDQ128_MASK, IX86_BUILTIN_PUNPCKHDQ256_MASK,
3190         IX86_BUILTIN_PUNPCKHQDQ128_MASK, IX86_BUILTIN_PUNPCKHQDQ256_MASK,
3191         IX86_BUILTIN_PUNPCKLDQ128_MASK, IX86_BUILTIN_PUNPCKLDQ256_MASK,
3192         IX86_BUILTIN_PUNPCKLQDQ128_MASK, IX86_BUILTIN_PUNPCKLQDQ256_MASK,
3193         IX86_BUILTIN_PUNPCKHBW128_MASK, IX86_BUILTIN_PUNPCKHBW256_MASK,
3194         IX86_BUILTIN_PUNPCKHWD128_MASK, IX86_BUILTIN_PUNPCKHWD256_MASK,
3195         IX86_BUILTIN_PUNPCKLBW128_MASK, IX86_BUILTIN_PUNPCKLBW256_MASK,
3196         IX86_BUILTIN_PUNPCKLWD128_MASK, IX86_BUILTIN_PUNPCKLWD256_MASK,
3197         IX86_BUILTIN_PSLLVV16HI, IX86_BUILTIN_PSLLVV8HI,
3198         IX86_BUILTIN_PACKSSDW256_MASK, IX86_BUILTIN_PACKSSDW128_MASK,
3199         IX86_BUILTIN_PACKUSDW256_MASK, IX86_BUILTIN_PACKUSDW128_MASK,
3200         IX86_BUILTIN_PAVGB256_MASK, IX86_BUILTIN_PAVGW256_MASK,
3201         IX86_BUILTIN_PAVGB128_MASK, IX86_BUILTIN_PAVGW128_MASK,
3202         IX86_BUILTIN_VPERMVARSF256_MASK, IX86_BUILTIN_VPERMVARDF256_MASK,
3203         IX86_BUILTIN_VPERMDF256_MASK, IX86_BUILTIN_PABSB256_MASK,
3204         IX86_BUILTIN_PABSB128_MASK, IX86_BUILTIN_PABSW256_MASK,
3205         IX86_BUILTIN_PABSW128_MASK, IX86_BUILTIN_VPERMILVARPD_MASK,
3206         IX86_BUILTIN_VPERMILVARPS_MASK, IX86_BUILTIN_VPERMILVARPD256_MASK,
3207         IX86_BUILTIN_VPERMILVARPS256_MASK, IX86_BUILTIN_VPERMILPD_MASK,
3208         IX86_BUILTIN_VPERMILPS_MASK, IX86_BUILTIN_VPERMILPD256_MASK,
3209         IX86_BUILTIN_VPERMILPS256_MASK, IX86_BUILTIN_BLENDMQ256,
3210         IX86_BUILTIN_BLENDMD256, IX86_BUILTIN_BLENDMPD256,
3211         IX86_BUILTIN_BLENDMPS256, IX86_BUILTIN_BLENDMQ128,
3212         IX86_BUILTIN_BLENDMD128, IX86_BUILTIN_BLENDMPD128,
3213         IX86_BUILTIN_BLENDMPS128, IX86_BUILTIN_BLENDMW256,
3214         IX86_BUILTIN_BLENDMB256, IX86_BUILTIN_BLENDMW128,
3215         IX86_BUILTIN_BLENDMB128, IX86_BUILTIN_PMULLD256_MASK,
3216         IX86_BUILTIN_PMULLD128_MASK, IX86_BUILTIN_PMULUDQ256_MASK,
3217         IX86_BUILTIN_PMULDQ256_MASK, IX86_BUILTIN_PMULDQ128_MASK,
3218         IX86_BUILTIN_PMULUDQ128_MASK, IX86_BUILTIN_CVTPD2PS256_MASK,
3219         IX86_BUILTIN_CVTPD2PS_MASK, IX86_BUILTIN_VPERMVARSI256_MASK,
3220         IX86_BUILTIN_VPERMVARDI256_MASK, IX86_BUILTIN_VPERMDI256_MASK,
3221         IX86_BUILTIN_CMPQ256, IX86_BUILTIN_CMPD256,
3222         IX86_BUILTIN_UCMPQ256, IX86_BUILTIN_UCMPD256,
3223         IX86_BUILTIN_CMPB256, IX86_BUILTIN_CMPW256,
3224         IX86_BUILTIN_UCMPB256, IX86_BUILTIN_UCMPW256,
3225         IX86_BUILTIN_CMPPD256_MASK, IX86_BUILTIN_CMPPS256_MASK,
3226         IX86_BUILTIN_CMPQ128, IX86_BUILTIN_CMPD128,
3227         IX86_BUILTIN_UCMPQ128, IX86_BUILTIN_UCMPD128,
3228         IX86_BUILTIN_CMPB128, IX86_BUILTIN_CMPW128,
3229         IX86_BUILTIN_UCMPB128, IX86_BUILTIN_UCMPW128,
3230         IX86_BUILTIN_CMPPD128_MASK, IX86_BUILTIN_CMPPS128_MASK,
3231         IX86_BUILTIN_GATHER3SIV8SF, IX86_BUILTIN_GATHER3SIV4SF,
3232         IX86_BUILTIN_GATHER3SIV4DF, IX86_BUILTIN_GATHER3SIV2DF,
3233         IX86_BUILTIN_GATHER3DIV8SF, IX86_BUILTIN_GATHER3DIV4SF,
3234         IX86_BUILTIN_GATHER3DIV4DF, IX86_BUILTIN_GATHER3DIV2DF,
3235         IX86_BUILTIN_GATHER3SIV8SI, IX86_BUILTIN_GATHER3SIV4SI,
3236         IX86_BUILTIN_GATHER3SIV4DI, IX86_BUILTIN_GATHER3SIV2DI,
3237         IX86_BUILTIN_GATHER3DIV8SI, IX86_BUILTIN_GATHER3DIV4SI,
3238         IX86_BUILTIN_GATHER3DIV4DI, IX86_BUILTIN_GATHER3DIV2DI,
3239         IX86_BUILTIN_SCATTERSIV8SF, IX86_BUILTIN_SCATTERSIV4SF,
3240         IX86_BUILTIN_SCATTERSIV4DF, IX86_BUILTIN_SCATTERSIV2DF,
3241         IX86_BUILTIN_SCATTERDIV8SF, IX86_BUILTIN_SCATTERDIV4SF,
3242         IX86_BUILTIN_SCATTERDIV4DF, IX86_BUILTIN_SCATTERDIV2DF,
3243         IX86_BUILTIN_SCATTERSIV8SI, IX86_BUILTIN_SCATTERSIV4SI,
3244         IX86_BUILTIN_SCATTERSIV4DI, IX86_BUILTIN_SCATTERSIV2DI,
3245         IX86_BUILTIN_SCATTERDIV8SI, IX86_BUILTIN_SCATTERDIV4SI,
3246         IX86_BUILTIN_SCATTERDIV4DI, IX86_BUILTIN_SCATTERDIV2DI,
3247         IX86_BUILTIN_RANGESD128, IX86_BUILTIN_RANGESS128,
3248         IX86_BUILTIN_KUNPCKWD, IX86_BUILTIN_KUNPCKDQ,
3249         IX86_BUILTIN_BROADCASTF32x2_512, IX86_BUILTIN_BROADCASTI32x2_512,
3250         IX86_BUILTIN_BROADCASTF64X2_512, IX86_BUILTIN_BROADCASTI64X2_512,
3251         IX86_BUILTIN_BROADCASTF32X8_512, IX86_BUILTIN_BROADCASTI32X8_512,
3252         IX86_BUILTIN_EXTRACTF64X2_512, IX86_BUILTIN_EXTRACTF32X8,
3253         IX86_BUILTIN_EXTRACTI64X2_512, IX86_BUILTIN_EXTRACTI32X8,
3254         IX86_BUILTIN_REDUCEPD512_MASK, IX86_BUILTIN_REDUCEPS512_MASK,
3255         IX86_BUILTIN_PMULLQ512, IX86_BUILTIN_XORPD512,
3256         IX86_BUILTIN_XORPS512, IX86_BUILTIN_ORPD512,
3257         IX86_BUILTIN_ORPS512, IX86_BUILTIN_ANDPD512,
3258         IX86_BUILTIN_ANDPS512, IX86_BUILTIN_ANDNPD512,
3259         IX86_BUILTIN_ANDNPS512, IX86_BUILTIN_INSERTF32X8,
3260         IX86_BUILTIN_INSERTI32X8, IX86_BUILTIN_INSERTF64X2_512,
3261         IX86_BUILTIN_INSERTI64X2_512, IX86_BUILTIN_FPCLASSPD512,
3262         IX86_BUILTIN_FPCLASSPS512, IX86_BUILTIN_CVTD2MASK512,
3263         IX86_BUILTIN_CVTQ2MASK512, IX86_BUILTIN_CVTMASK2D512,
3264         IX86_BUILTIN_CVTMASK2Q512, IX86_BUILTIN_CVTPD2QQ512,
3265         IX86_BUILTIN_CVTPS2QQ512, IX86_BUILTIN_CVTPD2UQQ512,
3266         IX86_BUILTIN_CVTPS2UQQ512, IX86_BUILTIN_CVTQQ2PS512,
3267         IX86_BUILTIN_CVTUQQ2PS512, IX86_BUILTIN_CVTQQ2PD512,
3268         IX86_BUILTIN_CVTUQQ2PD512, IX86_BUILTIN_CVTTPS2QQ512,
3269         IX86_BUILTIN_CVTTPS2UQQ512, IX86_BUILTIN_CVTTPD2QQ512,
3270         IX86_BUILTIN_CVTTPD2UQQ512, IX86_BUILTIN_RANGEPS512,
3271         IX86_BUILTIN_RANGEPD512, IX86_BUILTIN_PACKUSDW512,
3272         IX86_BUILTIN_PACKSSDW512, IX86_BUILTIN_LOADDQUHI512_MASK,
3273         IX86_BUILTIN_LOADDQUQI512_MASK, IX86_BUILTIN_PSLLDQ512,
3274         IX86_BUILTIN_PSRLDQ512, IX86_BUILTIN_STOREDQUHI512_MASK,
3275         IX86_BUILTIN_STOREDQUQI512_MASK, IX86_BUILTIN_PALIGNR512,
3276         IX86_BUILTIN_PALIGNR512_MASK, IX86_BUILTIN_MOVDQUHI512_MASK,
3277         IX86_BUILTIN_MOVDQUQI512_MASK, IX86_BUILTIN_PSADBW512,
3278         IX86_BUILTIN_DBPSADBW512, IX86_BUILTIN_PBROADCASTB512,
3279         IX86_BUILTIN_PBROADCASTB512_GPR, IX86_BUILTIN_PBROADCASTW512,
3280         IX86_BUILTIN_PBROADCASTW512_GPR, IX86_BUILTIN_PMOVSXBW512_MASK,
3281         IX86_BUILTIN_PMOVZXBW512_MASK, IX86_BUILTIN_VPERMVARHI512_MASK,
3282         IX86_BUILTIN_VPERMT2VARHI512, IX86_BUILTIN_VPERMT2VARHI512_MASKZ,
3283         IX86_BUILTIN_VPERMI2VARHI512, IX86_BUILTIN_PAVGB512,
3284         IX86_BUILTIN_PAVGW512, IX86_BUILTIN_PADDB512,
3285         IX86_BUILTIN_PSUBB512, IX86_BUILTIN_PSUBSB512,
3286         IX86_BUILTIN_PADDSB512, IX86_BUILTIN_PSUBUSB512,
3287         IX86_BUILTIN_PADDUSB512, IX86_BUILTIN_PSUBW512,
3288         IX86_BUILTIN_PADDW512, IX86_BUILTIN_PSUBSW512,
3289         IX86_BUILTIN_PADDSW512, IX86_BUILTIN_PSUBUSW512,
3290         IX86_BUILTIN_PADDUSW512, IX86_BUILTIN_PMAXUW512,
3291         IX86_BUILTIN_PMAXSW512, IX86_BUILTIN_PMINUW512,
3292         IX86_BUILTIN_PMINSW512, IX86_BUILTIN_PMAXUB512,
3293         IX86_BUILTIN_PMAXSB512, IX86_BUILTIN_PMINUB512,
3294         IX86_BUILTIN_PMINSB512, IX86_BUILTIN_PMOVWB512,
3295         IX86_BUILTIN_PMOVSWB512, IX86_BUILTIN_PMOVUSWB512,
3296         IX86_BUILTIN_PMULHRSW512_MASK, IX86_BUILTIN_PMULHUW512_MASK,
3297         IX86_BUILTIN_PMULHW512_MASK, IX86_BUILTIN_PMULLW512_MASK,
3298         IX86_BUILTIN_PSLLWI512_MASK, IX86_BUILTIN_PSLLW512_MASK,
3299         IX86_BUILTIN_PACKSSWB512, IX86_BUILTIN_PACKUSWB512,
3300         IX86_BUILTIN_PSRAVV32HI, IX86_BUILTIN_PMADDUBSW512_MASK,
3301         IX86_BUILTIN_PMADDWD512_MASK, IX86_BUILTIN_PSRLVV32HI,
3302         IX86_BUILTIN_PUNPCKHBW512, IX86_BUILTIN_PUNPCKHWD512,
3303         IX86_BUILTIN_PUNPCKLBW512, IX86_BUILTIN_PUNPCKLWD512,
3304         IX86_BUILTIN_PSHUFB512, IX86_BUILTIN_PSHUFHW512,
3305         IX86_BUILTIN_PSHUFLW512, IX86_BUILTIN_PSRAWI512,
3306         IX86_BUILTIN_PSRAW512, IX86_BUILTIN_PSRLWI512,
3307         IX86_BUILTIN_PSRLW512, IX86_BUILTIN_CVTB2MASK512,
3308         IX86_BUILTIN_CVTW2MASK512, IX86_BUILTIN_CVTMASK2B512,
3309         IX86_BUILTIN_CVTMASK2W512, IX86_BUILTIN_PCMPEQB512_MASK,
3310         IX86_BUILTIN_PCMPEQW512_MASK, IX86_BUILTIN_PCMPGTB512_MASK,
3311         IX86_BUILTIN_PCMPGTW512_MASK, IX86_BUILTIN_PTESTMB512,
3312         IX86_BUILTIN_PTESTMW512, IX86_BUILTIN_PTESTNMB512,
3313         IX86_BUILTIN_PTESTNMW512, IX86_BUILTIN_PSLLVV32HI,
3314         IX86_BUILTIN_PABSB512, IX86_BUILTIN_PABSW512,
3315         IX86_BUILTIN_BLENDMW512, IX86_BUILTIN_BLENDMB512,
3316         IX86_BUILTIN_CMPB512, IX86_BUILTIN_CMPW512,
3317         IX86_BUILTIN_UCMPB512, IX86_BUILTIN_UCMPW512.
3318         (bdesc_special_args):
3319         Add __builtin_ia32_loaddquhi512_mask, __builtin_ia32_loaddquqi512_mask,
3320         __builtin_ia32_storedquhi512_mask, __builtin_ia32_storedquqi512_mask,
3321         __builtin_ia32_loaddquhi256_mask, __builtin_ia32_loaddquhi128_mask,
3322         __builtin_ia32_loaddquqi256_mask, __builtin_ia32_loaddquqi128_mask,
3323         __builtin_ia32_movdqa64load256_mask, __builtin_ia32_movdqa64load128_mask,
3324         __builtin_ia32_movdqa32load256_mask, __builtin_ia32_movdqa32load128_mask,
3325         __builtin_ia32_movdqa64store256_mask, __builtin_ia32_movdqa64store128_mask,
3326         __builtin_ia32_movdqa32store256_mask, __builtin_ia32_movdqa32store128_mask,
3327         __builtin_ia32_loadapd256_mask, __builtin_ia32_loadapd128_mask,
3328         __builtin_ia32_loadaps256_mask, __builtin_ia32_loadaps128_mask,
3329         __builtin_ia32_storeapd256_mask, __builtin_ia32_storeapd128_mask,
3330         __builtin_ia32_storeaps256_mask, __builtin_ia32_storeaps128_mask,
3331         __builtin_ia32_loadupd256_mask, __builtin_ia32_loadupd128_mask,
3332         __builtin_ia32_loadups256_mask, __builtin_ia32_loadups128_mask,
3333         __builtin_ia32_storeupd256_mask, __builtin_ia32_storeupd128_mask,
3334         __builtin_ia32_storeups256_mask, __builtin_ia32_storeups128_mask,
3335         __builtin_ia32_loaddqudi256_mask, __builtin_ia32_loaddqudi128_mask,
3336         __builtin_ia32_loaddqusi256_mask, __builtin_ia32_loaddqusi128_mask,
3337         __builtin_ia32_storedqudi256_mask, __builtin_ia32_storedqudi128_mask,
3338         __builtin_ia32_storedqusi256_mask, __builtin_ia32_storedqusi128_mask,
3339         __builtin_ia32_storedquhi256_mask, __builtin_ia32_storedquhi128_mask,
3340         __builtin_ia32_storedquqi256_mask, __builtin_ia32_storedquqi128_mask,
3341         __builtin_ia32_compressstoredf256_mask, __builtin_ia32_compressstoredf128_mask,
3342         __builtin_ia32_compressstoresf256_mask, __builtin_ia32_compressstoresf128_mask,
3343         __builtin_ia32_compressstoredi256_mask, __builtin_ia32_compressstoredi128_mask,
3344         __builtin_ia32_compressstoresi256_mask, __builtin_ia32_compressstoresi128_mask,
3345         __builtin_ia32_expandloaddf256_mask, __builtin_ia32_expandloaddf128_mask,
3346         __builtin_ia32_expandloadsf256_mask, __builtin_ia32_expandloadsf128_mask,
3347         __builtin_ia32_expandloaddi256_mask, __builtin_ia32_expandloaddi128_mask,
3348         __builtin_ia32_expandloadsi256_mask, __builtin_ia32_expandloadsi128_mask,
3349         __builtin_ia32_expandloaddf256_maskz, __builtin_ia32_expandloaddf128_maskz,
3350         __builtin_ia32_expandloadsf256_maskz, __builtin_ia32_expandloadsf128_maskz,
3351         __builtin_ia32_expandloaddi256_maskz, __builtin_ia32_expandloaddi128_maskz,
3352         __builtin_ia32_expandloadsi256_maskz, __builtin_ia32_expandloadsi128_maskz,
3353         __builtin_ia32_pmovqd256mem_mask, __builtin_ia32_pmovqd128mem_mask,
3354         __builtin_ia32_pmovsqd256mem_mask, __builtin_ia32_pmovsqd128mem_mask,
3355         __builtin_ia32_pmovusqd256mem_mask, __builtin_ia32_pmovusqd128mem_mask,
3356         __builtin_ia32_pmovqw256mem_mask, __builtin_ia32_pmovqw128mem_mask,
3357         __builtin_ia32_pmovsqw256mem_mask, __builtin_ia32_pmovsqw128mem_mask,
3358         __builtin_ia32_pmovusqw256mem_mask, __builtin_ia32_pmovusqw128mem_mask,
3359         __builtin_ia32_pmovqb256mem_mask, __builtin_ia32_pmovqb128mem_mask,
3360         __builtin_ia32_pmovsqb256mem_mask, __builtin_ia32_pmovsqb128mem_mask,
3361         __builtin_ia32_pmovusqb256mem_mask, __builtin_ia32_pmovusqb128mem_mask,
3362         __builtin_ia32_pmovdb256mem_mask, __builtin_ia32_pmovdb128mem_mask,
3363         __builtin_ia32_pmovsdb256mem_mask, __builtin_ia32_pmovsdb128mem_mask,
3364         __builtin_ia32_pmovusdb256mem_mask, __builtin_ia32_pmovusdb128mem_mask,
3365         __builtin_ia32_pmovdw256mem_mask, __builtin_ia32_pmovdw128mem_mask,
3366         __builtin_ia32_pmovsdw256mem_mask, __builtin_ia32_pmovsdw128mem_mask,
3367         __builtin_ia32_pmovusdw256mem_mask, __builtin_ia32_pmovusdw128mem_mask,
3368         __builtin_ia32_palignr256_mask, __builtin_ia32_palignr128_mask,
3369         __builtin_ia32_movdqa64_256_mask, __builtin_ia32_movdqa64_128_mask,
3370         __builtin_ia32_movdqa32_256_mask, __builtin_ia32_movdqa32_128_mask,
3371         __builtin_ia32_movapd256_mask, __builtin_ia32_movapd128_mask,
3372         __builtin_ia32_movaps256_mask, __builtin_ia32_movaps128_mask,
3373         __builtin_ia32_movdquhi256_mask, __builtin_ia32_movdquhi128_mask,
3374         __builtin_ia32_movdquqi256_mask, __builtin_ia32_movdquqi128_mask,
3375         __builtin_ia32_minps_mask, __builtin_ia32_maxps_mask,
3376         __builtin_ia32_minpd_mask, __builtin_ia32_maxpd_mask,
3377         __builtin_ia32_maxpd256_mask, __builtin_ia32_maxps256_mask,
3378         __builtin_ia32_minpd256_mask, __builtin_ia32_minps256_mask,
3379         __builtin_ia32_mulps_mask, __builtin_ia32_divps_mask,
3380         __builtin_ia32_mulpd_mask, __builtin_ia32_divpd_mask,
3381         __builtin_ia32_divpd256_mask, __builtin_ia32_divps256_mask,
3382         __builtin_ia32_mulpd256_mask, __builtin_ia32_mulps256_mask,
3383         __builtin_ia32_addpd128_mask, __builtin_ia32_addpd256_mask,
3384         __builtin_ia32_addps128_mask, __builtin_ia32_addps256_mask,
3385         __builtin_ia32_subpd128_mask, __builtin_ia32_subpd256_mask,
3386         __builtin_ia32_subps128_mask, __builtin_ia32_subps256_mask,
3387         __builtin_ia32_xorpd256_mask, __builtin_ia32_xorpd128_mask,
3388         __builtin_ia32_xorps256_mask, __builtin_ia32_xorps128_mask,
3389         __builtin_ia32_orpd256_mask, __builtin_ia32_orpd128_mask,
3390         __builtin_ia32_orps256_mask, __builtin_ia32_orps128_mask,
3391         __builtin_ia32_broadcastf32x2_256_mask, __builtin_ia32_broadcasti32x2_256_mask,
3392         __builtin_ia32_broadcasti32x2_128_mask, __builtin_ia32_broadcastf64x2_256_mask,
3393         __builtin_ia32_broadcasti64x2_256_mask, __builtin_ia32_broadcastf32x4_256_mask,
3394         __builtin_ia32_broadcasti32x4_256_mask, __builtin_ia32_extractf32x4_256_mask,
3395         __builtin_ia32_extracti32x4_256_mask, __builtin_ia32_dbpsadbw256_mask,
3396         __builtin_ia32_dbpsadbw128_mask, __builtin_ia32_cvttpd2qq256_mask,
3397         __builtin_ia32_cvttpd2qq128_mask, __builtin_ia32_cvttpd2uqq256_mask,
3398         __builtin_ia32_cvttpd2uqq128_mask, __builtin_ia32_cvtpd2qq256_mask,
3399         __builtin_ia32_cvtpd2qq128_mask, __builtin_ia32_cvtpd2uqq256_mask,
3400         __builtin_ia32_cvtpd2uqq128_mask, __builtin_ia32_cvtpd2udq256_mask,
3401         __builtin_ia32_cvtpd2udq128_mask, __builtin_ia32_cvttps2qq256_mask,
3402         __builtin_ia32_cvttps2qq128_mask, __builtin_ia32_cvttps2uqq256_mask,
3403         __builtin_ia32_cvttps2uqq128_mask, __builtin_ia32_cvttps2dq256_mask,
3404         __builtin_ia32_cvttps2dq128_mask, __builtin_ia32_cvttps2udq256_mask,
3405         __builtin_ia32_cvttps2udq128_mask, __builtin_ia32_cvttpd2dq256_mask,
3406         __builtin_ia32_cvttpd2dq128_mask, __builtin_ia32_cvttpd2udq256_mask,
3407         __builtin_ia32_cvttpd2udq128_mask, __builtin_ia32_cvtpd2dq256_mask,
3408         __builtin_ia32_cvtpd2dq128_mask, __builtin_ia32_cvtdq2pd256_mask,
3409         __builtin_ia32_cvtdq2pd128_mask, __builtin_ia32_cvtudq2pd256_mask,
3410         __builtin_ia32_cvtudq2pd128_mask, __builtin_ia32_cvtdq2ps256_mask,
3411         __builtin_ia32_cvtdq2ps128_mask, __builtin_ia32_cvtudq2ps256_mask,
3412         __builtin_ia32_cvtudq2ps128_mask, __builtin_ia32_cvtps2pd256_mask,
3413         __builtin_ia32_cvtps2pd128_mask, __builtin_ia32_pbroadcastb256_mask,
3414         __builtin_ia32_pbroadcastb256_gpr_mask, __builtin_ia32_pbroadcastb128_mask,
3415         __builtin_ia32_pbroadcastb128_gpr_mask, __builtin_ia32_pbroadcastw256_mask,
3416         __builtin_ia32_pbroadcastw256_gpr_mask, __builtin_ia32_pbroadcastw128_mask,
3417         __builtin_ia32_pbroadcastw128_gpr_mask, __builtin_ia32_pbroadcastd256_mask,
3418         __builtin_ia32_pbroadcastd256_gpr_mask, __builtin_ia32_pbroadcastd128_mask,
3419         __builtin_ia32_pbroadcastd128_gpr_mask, __builtin_ia32_pbroadcastq256_mask,
3420         __builtin_ia32_pbroadcastq256_gpr_mask, __builtin_ia32_pbroadcastq256_mem_mask,
3421         __builtin_ia32_pbroadcastq128_mask, __builtin_ia32_pbroadcastq128_gpr_mask,
3422         __builtin_ia32_pbroadcastq128_mem_mask, __builtin_ia32_broadcastss256_mask,
3423         __builtin_ia32_broadcastss128_mask, __builtin_ia32_broadcastsd256_mask,
3424         __builtin_ia32_extractf64x2_256_mask, __builtin_ia32_extracti64x2_256_mask,
3425         __builtin_ia32_insertf32x4_256_mask, __builtin_ia32_inserti32x4_256_mask,
3426         __builtin_ia32_pmovsxbw256_mask, __builtin_ia32_pmovsxbw128_mask,
3427         __builtin_ia32_pmovsxbd256_mask, __builtin_ia32_pmovsxbd128_mask,
3428         __builtin_ia32_pmovsxbq256_mask, __builtin_ia32_pmovsxbq128_mask,
3429         __builtin_ia32_pmovsxwd256_mask, __builtin_ia32_pmovsxwd128_mask,
3430         __builtin_ia32_pmovsxwq256_mask, __builtin_ia32_pmovsxwq128_mask,
3431         __builtin_ia32_pmovsxdq256_mask, __builtin_ia32_pmovsxdq128_mask,
3432         __builtin_ia32_pmovzxbw256_mask, __builtin_ia32_pmovzxbw128_mask,
3433         __builtin_ia32_pmovzxbd256_mask, __builtin_ia32_pmovzxbd128_mask,
3434         __builtin_ia32_pmovzxbq256_mask, __builtin_ia32_pmovzxbq128_mask,
3435         __builtin_ia32_pmovzxwd256_mask, __builtin_ia32_pmovzxwd128_mask,
3436         __builtin_ia32_pmovzxwq256_mask, __builtin_ia32_pmovzxwq128_mask,
3437         __builtin_ia32_pmovzxdq256_mask, __builtin_ia32_pmovzxdq128_mask,
3438         __builtin_ia32_reducepd256_mask, __builtin_ia32_reducepd128_mask,
3439         __builtin_ia32_reduceps256_mask, __builtin_ia32_reduceps128_mask,
3440         __builtin_ia32_reducesd, __builtin_ia32_reducess,
3441         __builtin_ia32_permvarhi256_mask, __builtin_ia32_permvarhi128_mask,
3442         __builtin_ia32_vpermt2varhi256_mask, __builtin_ia32_vpermt2varhi256_maskz,
3443         __builtin_ia32_vpermt2varhi128_mask, __builtin_ia32_vpermt2varhi128_maskz,
3444         __builtin_ia32_vpermi2varhi256_mask, __builtin_ia32_vpermi2varhi128_mask,
3445         __builtin_ia32_rcp14pd256_mask, __builtin_ia32_rcp14pd128_mask,
3446         __builtin_ia32_rcp14ps256_mask, __builtin_ia32_rcp14ps128_mask,
3447         __builtin_ia32_rsqrt14pd256_mask, __builtin_ia32_rsqrt14pd128_mask,
3448         __builtin_ia32_rsqrt14ps256_mask, __builtin_ia32_rsqrt14ps128_mask,
3449         __builtin_ia32_sqrtpd256_mask, __builtin_ia32_sqrtpd128_mask,
3450         __builtin_ia32_sqrtps256_mask, __builtin_ia32_sqrtps128_mask,
3451         __builtin_ia32_paddb128_mask, __builtin_ia32_paddw128_mask,
3452         __builtin_ia32_paddd128_mask, __builtin_ia32_paddq128_mask,
3453         __builtin_ia32_psubb128_mask, __builtin_ia32_psubw128_mask,
3454         __builtin_ia32_psubd128_mask, __builtin_ia32_psubq128_mask,
3455         __builtin_ia32_paddsb128_mask, __builtin_ia32_paddsw128_mask,
3456         __builtin_ia32_psubsb128_mask, __builtin_ia32_psubsw128_mask,
3457         __builtin_ia32_paddusb128_mask, __builtin_ia32_paddusw128_mask,
3458         __builtin_ia32_psubusb128_mask, __builtin_ia32_psubusw128_mask,
3459         __builtin_ia32_paddb256_mask, __builtin_ia32_paddw256_mask,
3460         __builtin_ia32_paddd256_mask, __builtin_ia32_paddq256_mask,
3461         __builtin_ia32_paddsb256_mask, __builtin_ia32_paddsw256_mask,
3462         __builtin_ia32_paddusb256_mask, __builtin_ia32_paddusw256_mask,
3463         __builtin_ia32_psubb256_mask, __builtin_ia32_psubw256_mask,
3464         __builtin_ia32_psubd256_mask, __builtin_ia32_psubq256_mask,
3465         __builtin_ia32_psubsb256_mask, __builtin_ia32_psubsw256_mask,
3466         __builtin_ia32_psubusb256_mask, __builtin_ia32_psubusw256_mask,
3467         __builtin_ia32_shuf_f64x2_256_mask, __builtin_ia32_shuf_i64x2_256_mask,
3468         __builtin_ia32_shuf_i32x4_256_mask, __builtin_ia32_shuf_f32x4_256_mask,
3469         __builtin_ia32_pmovwb128_mask, __builtin_ia32_pmovwb256_mask,
3470         __builtin_ia32_pmovswb128_mask, __builtin_ia32_pmovswb256_mask,
3471         __builtin_ia32_pmovuswb128_mask, __builtin_ia32_pmovuswb256_mask,
3472         __builtin_ia32_pmovdb128_mask, __builtin_ia32_pmovdb256_mask,
3473         __builtin_ia32_pmovsdb128_mask, __builtin_ia32_pmovsdb256_mask,
3474         __builtin_ia32_pmovusdb128_mask, __builtin_ia32_pmovusdb256_mask,
3475         __builtin_ia32_pmovdw128_mask, __builtin_ia32_pmovdw256_mask,
3476         __builtin_ia32_pmovsdw128_mask, __builtin_ia32_pmovsdw256_mask,
3477         __builtin_ia32_pmovusdw128_mask, __builtin_ia32_pmovusdw256_mask,
3478         __builtin_ia32_pmovqb128_mask, __builtin_ia32_pmovqb256_mask,
3479         __builtin_ia32_pmovsqb128_mask, __builtin_ia32_pmovsqb256_mask,
3480         __builtin_ia32_pmovusqb128_mask, __builtin_ia32_pmovusqb256_mask,
3481         __builtin_ia32_pmovqw128_mask, __builtin_ia32_pmovqw256_mask,
3482         __builtin_ia32_pmovsqw128_mask, __builtin_ia32_pmovsqw256_mask,
3483         __builtin_ia32_pmovusqw128_mask, __builtin_ia32_pmovusqw256_mask,
3484         __builtin_ia32_pmovqd128_mask, __builtin_ia32_pmovqd256_mask,
3485         __builtin_ia32_pmovsqd128_mask, __builtin_ia32_pmovsqd256_mask,
3486         __builtin_ia32_pmovusqd128_mask, __builtin_ia32_pmovusqd256_mask,
3487         __builtin_ia32_rangepd256_mask, __builtin_ia32_rangepd128_mask,
3488         __builtin_ia32_rangeps256_mask, __builtin_ia32_rangeps128_mask,
3489         __builtin_ia32_getexpps256_mask, __builtin_ia32_getexppd256_mask,
3490         __builtin_ia32_getexpps128_mask, __builtin_ia32_getexppd128_mask,
3491         __builtin_ia32_fixupimmpd256, __builtin_ia32_fixupimmpd256_mask,
3492         __builtin_ia32_fixupimmpd256_maskz, __builtin_ia32_fixupimmps256,
3493         __builtin_ia32_fixupimmps256_mask, __builtin_ia32_fixupimmps256_maskz,
3494         __builtin_ia32_fixupimmpd128, __builtin_ia32_fixupimmpd128_mask,
3495         __builtin_ia32_fixupimmpd128_maskz, __builtin_ia32_fixupimmps128,
3496         __builtin_ia32_fixupimmps128_mask, __builtin_ia32_fixupimmps128_maskz,
3497         __builtin_ia32_pabsq256_mask, __builtin_ia32_pabsq128_mask,
3498         __builtin_ia32_pabsd256_mask, __builtin_ia32_pabsd128_mask,
3499         __builtin_ia32_pmulhrsw256_mask, __builtin_ia32_pmulhrsw128_mask,
3500         __builtin_ia32_pmulhuw128_mask, __builtin_ia32_pmulhuw256_mask,
3501         __builtin_ia32_pmulhw256_mask, __builtin_ia32_pmulhw128_mask,
3502         __builtin_ia32_pmullw256_mask, __builtin_ia32_pmullw128_mask,
3503         __builtin_ia32_pmullq256_mask, __builtin_ia32_pmullq128_mask,
3504         __builtin_ia32_andpd256_mask, __builtin_ia32_andpd128_mask,
3505         __builtin_ia32_andps256_mask, __builtin_ia32_andps128_mask,
3506         __builtin_ia32_andnpd256_mask, __builtin_ia32_andnpd128_mask,
3507         __builtin_ia32_andnps256_mask, __builtin_ia32_andnps128_mask,
3508         __builtin_ia32_psllwi128_mask, __builtin_ia32_pslldi128_mask,
3509         __builtin_ia32_psllqi128_mask, __builtin_ia32_psllw128_mask,
3510         __builtin_ia32_pslld128_mask, __builtin_ia32_psllq128_mask,
3511         __builtin_ia32_psllwi256_mask, __builtin_ia32_psllw256_mask,
3512         __builtin_ia32_pslldi256_mask, __builtin_ia32_pslld256_mask,
3513         __builtin_ia32_psllqi256_mask, __builtin_ia32_psllq256_mask,
3514         __builtin_ia32_psradi128_mask, __builtin_ia32_psrad128_mask,
3515         __builtin_ia32_psradi256_mask, __builtin_ia32_psrad256_mask,
3516         __builtin_ia32_psraqi128_mask, __builtin_ia32_psraq128_mask,
3517         __builtin_ia32_psraqi256_mask, __builtin_ia32_psraq256_mask,
3518         __builtin_ia32_pandd256_mask, __builtin_ia32_pandd128_mask,
3519         __builtin_ia32_psrldi128_mask, __builtin_ia32_psrld128_mask,
3520         __builtin_ia32_psrldi256_mask, __builtin_ia32_psrld256_mask,
3521         __builtin_ia32_psrlqi128_mask, __builtin_ia32_psrlq128_mask,
3522         __builtin_ia32_psrlqi256_mask, __builtin_ia32_psrlq256_mask,
3523         __builtin_ia32_pandq256_mask, __builtin_ia32_pandq128_mask,
3524         __builtin_ia32_pandnd256_mask, __builtin_ia32_pandnd128_mask,
3525         __builtin_ia32_pandnq256_mask, __builtin_ia32_pandnq128_mask,
3526         __builtin_ia32_pord256_mask, __builtin_ia32_pord128_mask,
3527         __builtin_ia32_porq256_mask, __builtin_ia32_porq128_mask,
3528         __builtin_ia32_pxord256_mask, __builtin_ia32_pxord128_mask,
3529         __builtin_ia32_pxorq256_mask, __builtin_ia32_pxorq128_mask,
3530         __builtin_ia32_packsswb256_mask, __builtin_ia32_packsswb128_mask,
3531         __builtin_ia32_packuswb256_mask, __builtin_ia32_packuswb128_mask,
3532         __builtin_ia32_rndscaleps_256_mask, __builtin_ia32_rndscalepd_256_mask,
3533         __builtin_ia32_rndscaleps_128_mask, __builtin_ia32_rndscalepd_128_mask,
3534         __builtin_ia32_pternlogq256_mask, __builtin_ia32_pternlogq256_maskz,
3535         __builtin_ia32_pternlogd256_mask, __builtin_ia32_pternlogd256_maskz,
3536         __builtin_ia32_pternlogq128_mask, __builtin_ia32_pternlogq128_maskz,
3537         __builtin_ia32_pternlogd128_mask, __builtin_ia32_pternlogd128_maskz,
3538         __builtin_ia32_scalefpd256_mask, __builtin_ia32_scalefps256_mask,
3539         __builtin_ia32_scalefpd128_mask, __builtin_ia32_scalefps128_mask,
3540         __builtin_ia32_vfmaddpd256_mask, __builtin_ia32_vfmaddpd256_mask3,
3541         __builtin_ia32_vfmaddpd256_maskz, __builtin_ia32_vfmaddpd128_mask,
3542         __builtin_ia32_vfmaddpd128_mask3, __builtin_ia32_vfmaddpd128_maskz,
3543         __builtin_ia32_vfmaddps256_mask, __builtin_ia32_vfmaddps256_mask3,
3544         __builtin_ia32_vfmaddps256_maskz, __builtin_ia32_vfmaddps128_mask,
3545         __builtin_ia32_vfmaddps128_mask3, __builtin_ia32_vfmaddps128_maskz,
3546         __builtin_ia32_vfmsubpd256_mask3, __builtin_ia32_vfmsubpd128_mask3,
3547         __builtin_ia32_vfmsubps256_mask3, __builtin_ia32_vfmsubps128_mask3,
3548         __builtin_ia32_vfnmaddpd256_mask, __builtin_ia32_vfnmaddpd128_mask,
3549         __builtin_ia32_vfnmaddps256_mask, __builtin_ia32_vfnmaddps128_mask,
3550         __builtin_ia32_vfnmsubpd256_mask, __builtin_ia32_vfnmsubpd256_mask3,
3551         __builtin_ia32_vfnmsubpd128_mask, __builtin_ia32_vfnmsubpd128_mask3,
3552         __builtin_ia32_vfnmsubps256_mask, __builtin_ia32_vfnmsubps256_mask3,
3553         __builtin_ia32_vfnmsubps128_mask, __builtin_ia32_vfnmsubps128_mask3,
3554         __builtin_ia32_vfmaddsubpd256_mask, __builtin_ia32_vfmaddsubpd256_mask3,
3555         __builtin_ia32_vfmaddsubpd256_maskz, __builtin_ia32_vfmaddsubpd128_mask,
3556         __builtin_ia32_vfmaddsubpd128_mask3, __builtin_ia32_vfmaddsubpd128_maskz,
3557         __builtin_ia32_vfmaddsubps256_mask, __builtin_ia32_vfmaddsubps256_mask3,
3558         __builtin_ia32_vfmaddsubps256_maskz, __builtin_ia32_vfmaddsubps128_mask,
3559         __builtin_ia32_vfmaddsubps128_mask3, __builtin_ia32_vfmaddsubps128_maskz,
3560         __builtin_ia32_vfmsubaddpd256_mask3, __builtin_ia32_vfmsubaddpd128_mask3,
3561         __builtin_ia32_vfmsubaddps256_mask3, __builtin_ia32_vfmsubaddps128_mask3,
3562         __builtin_ia32_insertf64x2_256_mask, __builtin_ia32_inserti64x2_256_mask,
3563         __builtin_ia32_psrav16hi_mask, __builtin_ia32_psrav8hi_mask,
3564         __builtin_ia32_pmaddubsw256_mask, __builtin_ia32_pmaddubsw128_mask,
3565         __builtin_ia32_pmaddwd256_mask, __builtin_ia32_pmaddwd128_mask,
3566         __builtin_ia32_psrlv16hi_mask, __builtin_ia32_psrlv8hi_mask,
3567         __builtin_ia32_cvtps2dq256_mask, __builtin_ia32_cvtps2dq128_mask,
3568         __builtin_ia32_cvtps2udq256_mask, __builtin_ia32_cvtps2udq128_mask,
3569         __builtin_ia32_cvtps2qq256_mask, __builtin_ia32_cvtps2qq128_mask,
3570         __builtin_ia32_cvtps2uqq256_mask, __builtin_ia32_cvtps2uqq128_mask,
3571         __builtin_ia32_getmantps256_mask, __builtin_ia32_getmantps128_mask,
3572         __builtin_ia32_getmantpd256_mask, __builtin_ia32_getmantpd128_mask,
3573         __builtin_ia32_movddup256_mask, __builtin_ia32_movddup128_mask,
3574         __builtin_ia32_movshdup256_mask, __builtin_ia32_movshdup128_mask,
3575         __builtin_ia32_movsldup256_mask, __builtin_ia32_movsldup128_mask,
3576         __builtin_ia32_cvtqq2ps256_mask, __builtin_ia32_cvtqq2ps128_mask,
3577         __builtin_ia32_cvtuqq2ps256_mask, __builtin_ia32_cvtuqq2ps128_mask,
3578         __builtin_ia32_cvtqq2pd256_mask, __builtin_ia32_cvtqq2pd128_mask,
3579         __builtin_ia32_cvtuqq2pd256_mask, __builtin_ia32_cvtuqq2pd128_mask,
3580         __builtin_ia32_vpermt2varq256_mask, __builtin_ia32_vpermt2varq256_maskz,
3581         __builtin_ia32_vpermt2vard256_mask, __builtin_ia32_vpermt2vard256_maskz,
3582         __builtin_ia32_vpermi2varq256_mask, __builtin_ia32_vpermi2vard256_mask,
3583         __builtin_ia32_vpermt2varpd256_mask, __builtin_ia32_vpermt2varpd256_maskz,
3584         __builtin_ia32_vpermt2varps256_mask, __builtin_ia32_vpermt2varps256_maskz,
3585         __builtin_ia32_vpermi2varpd256_mask, __builtin_ia32_vpermi2varps256_mask,
3586         __builtin_ia32_vpermt2varq128_mask, __builtin_ia32_vpermt2varq128_maskz,
3587         __builtin_ia32_vpermt2vard128_mask, __builtin_ia32_vpermt2vard128_maskz,
3588         __builtin_ia32_vpermi2varq128_mask, __builtin_ia32_vpermi2vard128_mask,
3589         __builtin_ia32_vpermt2varpd128_mask, __builtin_ia32_vpermt2varpd128_maskz,
3590         __builtin_ia32_vpermt2varps128_mask, __builtin_ia32_vpermt2varps128_maskz,
3591         __builtin_ia32_vpermi2varpd128_mask, __builtin_ia32_vpermi2varps128_mask,
3592         __builtin_ia32_pshufb256_mask, __builtin_ia32_pshufb128_mask,
3593         __builtin_ia32_pshufhw256_mask, __builtin_ia32_pshufhw128_mask,
3594         __builtin_ia32_pshuflw256_mask, __builtin_ia32_pshuflw128_mask,
3595         __builtin_ia32_pshufd256_mask, __builtin_ia32_pshufd128_mask,
3596         __builtin_ia32_shufpd256_mask, __builtin_ia32_shufpd128_mask,
3597         __builtin_ia32_shufps256_mask, __builtin_ia32_shufps128_mask,
3598         __builtin_ia32_prolvq256_mask, __builtin_ia32_prolvq128_mask,
3599         __builtin_ia32_prolq256_mask, __builtin_ia32_prolq128_mask,
3600         __builtin_ia32_prorvq256_mask, __builtin_ia32_prorvq128_mask,
3601         __builtin_ia32_prorq256_mask, __builtin_ia32_prorq128_mask,
3602         __builtin_ia32_psravq128_mask, __builtin_ia32_psravq256_mask,
3603         __builtin_ia32_psllv4di_mask, __builtin_ia32_psllv2di_mask,
3604         __builtin_ia32_psllv8si_mask, __builtin_ia32_psllv4si_mask,
3605         __builtin_ia32_psrav8si_mask, __builtin_ia32_psrav4si_mask,
3606         __builtin_ia32_psrlv4di_mask, __builtin_ia32_psrlv2di_mask,
3607         __builtin_ia32_psrlv8si_mask, __builtin_ia32_psrlv4si_mask,
3608         __builtin_ia32_psrawi256_mask, __builtin_ia32_psraw256_mask,
3609         __builtin_ia32_psrawi128_mask, __builtin_ia32_psraw128_mask,
3610         __builtin_ia32_psrlwi256_mask, __builtin_ia32_psrlw256_mask,
3611         __builtin_ia32_psrlwi128_mask, __builtin_ia32_psrlw128_mask,
3612         __builtin_ia32_prorvd256_mask, __builtin_ia32_prolvd256_mask,
3613         __builtin_ia32_prord256_mask, __builtin_ia32_prold256_mask,
3614         __builtin_ia32_prorvd128_mask, __builtin_ia32_prolvd128_mask,
3615         __builtin_ia32_prord128_mask, __builtin_ia32_prold128_mask,
3616         __builtin_ia32_fpclasspd256_mask, __builtin_ia32_fpclasspd128_mask,
3617         __builtin_ia32_fpclasssd, __builtin_ia32_fpclassps256_mask,
3618         __builtin_ia32_fpclassps128_mask, __builtin_ia32_fpclassss,
3619         __builtin_ia32_cvtb2mask128, __builtin_ia32_cvtb2mask256,
3620         __builtin_ia32_cvtw2mask128, __builtin_ia32_cvtw2mask256,
3621         __builtin_ia32_cvtd2mask128, __builtin_ia32_cvtd2mask256,
3622         __builtin_ia32_cvtq2mask128, __builtin_ia32_cvtq2mask256,
3623         __builtin_ia32_cvtmask2b128, __builtin_ia32_cvtmask2b256,
3624         __builtin_ia32_cvtmask2w128, __builtin_ia32_cvtmask2w256,
3625         __builtin_ia32_cvtmask2d128, __builtin_ia32_cvtmask2d256,
3626         __builtin_ia32_cvtmask2q128, __builtin_ia32_cvtmask2q256,
3627         __builtin_ia32_pcmpeqb128_mask, __builtin_ia32_pcmpeqb256_mask,
3628         __builtin_ia32_pcmpeqw128_mask, __builtin_ia32_pcmpeqw256_mask,
3629         __builtin_ia32_pcmpeqd128_mask, __builtin_ia32_pcmpeqd256_mask,
3630         __builtin_ia32_pcmpeqq128_mask, __builtin_ia32_pcmpeqq256_mask,
3631         __builtin_ia32_pcmpgtb128_mask, __builtin_ia32_pcmpgtb256_mask,
3632         __builtin_ia32_pcmpgtw128_mask, __builtin_ia32_pcmpgtw256_mask,
3633         __builtin_ia32_pcmpgtd128_mask, __builtin_ia32_pcmpgtd256_mask,
3634         __builtin_ia32_pcmpgtq128_mask, __builtin_ia32_pcmpgtq256_mask,
3635         __builtin_ia32_ptestmb128, __builtin_ia32_ptestmb256,
3636         __builtin_ia32_ptestmw128, __builtin_ia32_ptestmw256,
3637         __builtin_ia32_ptestmd128, __builtin_ia32_ptestmd256,
3638         __builtin_ia32_ptestmq128, __builtin_ia32_ptestmq256,
3639         __builtin_ia32_ptestnmb128, __builtin_ia32_ptestnmb256,
3640         __builtin_ia32_ptestnmw128, __builtin_ia32_ptestnmw256,
3641         __builtin_ia32_ptestnmd128, __builtin_ia32_ptestnmd256,
3642         __builtin_ia32_ptestnmq128, __builtin_ia32_ptestnmq256,
3643         __builtin_ia32_broadcastmb128, __builtin_ia32_broadcastmb256,
3644         __builtin_ia32_broadcastmw128, __builtin_ia32_broadcastmw256,
3645         __builtin_ia32_compressdf256_mask, __builtin_ia32_compressdf128_mask,
3646         __builtin_ia32_compresssf256_mask, __builtin_ia32_compresssf128_mask,
3647         __builtin_ia32_compressdi256_mask, __builtin_ia32_compressdi128_mask,
3648         __builtin_ia32_compresssi256_mask, __builtin_ia32_compresssi128_mask,
3649         __builtin_ia32_expanddf256_mask, __builtin_ia32_expanddf128_mask,
3650         __builtin_ia32_expandsf256_mask, __builtin_ia32_expandsf128_mask,
3651         __builtin_ia32_expanddi256_mask, __builtin_ia32_expanddi128_mask,
3652         __builtin_ia32_expandsi256_mask, __builtin_ia32_expandsi128_mask,
3653         __builtin_ia32_expanddf256_maskz, __builtin_ia32_expanddf128_maskz,
3654         __builtin_ia32_expandsf256_maskz, __builtin_ia32_expandsf128_maskz,
3655         __builtin_ia32_expanddi256_maskz, __builtin_ia32_expanddi128_maskz,
3656         __builtin_ia32_expandsi256_maskz, __builtin_ia32_expandsi128_maskz,
3657         __builtin_ia32_pmaxsd256_mask, __builtin_ia32_pminsd256_mask,
3658         __builtin_ia32_pmaxud256_mask, __builtin_ia32_pminud256_mask,
3659         __builtin_ia32_pmaxsd128_mask, __builtin_ia32_pminsd128_mask,
3660         __builtin_ia32_pmaxud128_mask, __builtin_ia32_pminud128_mask,
3661         __builtin_ia32_pmaxsq256_mask, __builtin_ia32_pminsq256_mask,
3662         __builtin_ia32_pmaxuq256_mask, __builtin_ia32_pminuq256_mask,
3663         __builtin_ia32_pmaxsq128_mask, __builtin_ia32_pminsq128_mask,
3664         __builtin_ia32_pmaxuq128_mask, __builtin_ia32_pminuq128_mask,
3665         __builtin_ia32_pminsb256_mask, __builtin_ia32_pminub256_mask,
3666         __builtin_ia32_pmaxsb256_mask, __builtin_ia32_pmaxub256_mask,
3667         __builtin_ia32_pminsb128_mask, __builtin_ia32_pminub128_mask,
3668         __builtin_ia32_pmaxsb128_mask, __builtin_ia32_pmaxub128_mask,
3669         __builtin_ia32_pminsw256_mask, __builtin_ia32_pminuw256_mask,
3670         __builtin_ia32_pmaxsw256_mask, __builtin_ia32_pmaxuw256_mask,
3671         __builtin_ia32_pminsw128_mask, __builtin_ia32_pminuw128_mask,
3672         __builtin_ia32_pmaxsw128_mask, __builtin_ia32_pmaxuw128_mask,
3673         __builtin_ia32_vpconflictdi_256_mask, __builtin_ia32_vpconflictsi_256_mask,
3674         __builtin_ia32_vplzcntq_256_mask, __builtin_ia32_vplzcntd_256_mask,
3675         __builtin_ia32_unpckhpd256_mask, __builtin_ia32_unpckhpd128_mask,
3676         __builtin_ia32_unpckhps256_mask, __builtin_ia32_unpckhps128_mask,
3677         __builtin_ia32_unpcklpd256_mask, __builtin_ia32_unpcklpd128_mask,
3678         __builtin_ia32_unpcklps256_mask, __builtin_ia32_vpconflictdi_128_mask,
3679         __builtin_ia32_vpconflictsi_128_mask, __builtin_ia32_vplzcntq_128_mask,
3680         __builtin_ia32_vplzcntd_128_mask, __builtin_ia32_unpcklps128_mask,
3681         __builtin_ia32_alignd256_mask, __builtin_ia32_alignq256_mask,
3682         __builtin_ia32_alignd128_mask, __builtin_ia32_alignq128_mask,
3683         __builtin_ia32_vcvtps2ph256_mask, __builtin_ia32_vcvtps2ph_mask,
3684         __builtin_ia32_vcvtph2ps_mask, __builtin_ia32_vcvtph2ps256_mask,
3685         __builtin_ia32_punpckhdq128_mask, __builtin_ia32_punpckhdq256_mask,
3686         __builtin_ia32_punpckhqdq128_mask, __builtin_ia32_punpckhqdq256_mask,
3687         __builtin_ia32_punpckldq128_mask, __builtin_ia32_punpckldq256_mask,
3688         __builtin_ia32_punpcklqdq128_mask, __builtin_ia32_punpcklqdq256_mask,
3689         __builtin_ia32_punpckhbw128_mask, __builtin_ia32_punpckhbw256_mask,
3690         __builtin_ia32_punpckhwd128_mask, __builtin_ia32_punpckhwd256_mask,
3691         __builtin_ia32_punpcklbw128_mask, __builtin_ia32_punpcklbw256_mask,
3692         __builtin_ia32_punpcklwd128_mask, __builtin_ia32_punpcklwd256_mask,
3693         __builtin_ia32_psllv16hi_mask, __builtin_ia32_psllv8hi_mask,
3694         __builtin_ia32_packssdw256_mask, __builtin_ia32_packssdw128_mask,
3695         __builtin_ia32_packusdw256_mask, __builtin_ia32_packusdw128_mask,
3696         __builtin_ia32_pavgb256_mask, __builtin_ia32_pavgw256_mask,
3697         __builtin_ia32_pavgb128_mask, __builtin_ia32_pavgw128_mask,
3698         __builtin_ia32_permvarsf256_mask, __builtin_ia32_permvardf256_mask,
3699         __builtin_ia32_permdf256_mask, __builtin_ia32_pabsb256_mask,
3700         __builtin_ia32_pabsb128_mask, __builtin_ia32_pabsw256_mask,
3701         __builtin_ia32_pabsw128_mask, __builtin_ia32_vpermilvarpd_mask,
3702         __builtin_ia32_vpermilvarps_mask, __builtin_ia32_vpermilvarpd256_mask,
3703         __builtin_ia32_vpermilvarps256_mask, __builtin_ia32_vpermilpd_mask,
3704         __builtin_ia32_vpermilps_mask, __builtin_ia32_vpermilpd256_mask,
3705         __builtin_ia32_vpermilps256_mask, __builtin_ia32_blendmq_256_mask,
3706         __builtin_ia32_blendmd_256_mask, __builtin_ia32_blendmpd_256_mask,
3707         __builtin_ia32_blendmps_256_mask, __builtin_ia32_blendmq_128_mask,
3708         __builtin_ia32_blendmd_128_mask, __builtin_ia32_blendmpd_128_mask,
3709         __builtin_ia32_blendmps_128_mask, __builtin_ia32_blendmw_256_mask,
3710         __builtin_ia32_blendmb_256_mask, __builtin_ia32_blendmw_128_mask,
3711         __builtin_ia32_blendmb_128_mask, __builtin_ia32_pmulld256_mask,
3712         __builtin_ia32_pmulld128_mask, __builtin_ia32_pmuludq256_mask,
3713         __builtin_ia32_pmuldq256_mask, __builtin_ia32_pmuldq128_mask,
3714         __builtin_ia32_pmuludq128_mask, __builtin_ia32_cvtpd2ps256_mask,
3715         __builtin_ia32_cvtpd2ps_mask, __builtin_ia32_permvarsi256_mask,
3716         __builtin_ia32_permvardi256_mask, __builtin_ia32_permdi256_mask,
3717         __builtin_ia32_cmpq256_mask, __builtin_ia32_cmpd256_mask,
3718         __builtin_ia32_ucmpq256_mask, __builtin_ia32_ucmpd256_mask,
3719         __builtin_ia32_cmpb256_mask, __builtin_ia32_cmpw256_mask,
3720         __builtin_ia32_ucmpb256_mask, __builtin_ia32_ucmpw256_mask,
3721         __builtin_ia32_cmppd256_mask, __builtin_ia32_cmpps256_mask,
3722         __builtin_ia32_cmpq128_mask, __builtin_ia32_cmpd128_mask,
3723         __builtin_ia32_ucmpq128_mask, __builtin_ia32_ucmpd128_mask,
3724         __builtin_ia32_cmpb128_mask, __builtin_ia32_cmpw128_mask,
3725         __builtin_ia32_ucmpb128_mask, __builtin_ia32_ucmpw128_mask,
3726         __builtin_ia32_cmppd128_mask, __builtin_ia32_cmpps128_mask,
3727         __builtin_ia32_broadcastf32x2_512_mask, __builtin_ia32_broadcasti32x2_512_mask,
3728         __builtin_ia32_broadcastf64x2_512_mask, __builtin_ia32_broadcasti64x2_512_mask,
3729         __builtin_ia32_broadcastf32x8_512_mask, __builtin_ia32_broadcasti32x8_512_mask,
3730         __builtin_ia32_extractf64x2_512_mask, __builtin_ia32_extractf32x8_mask,
3731         __builtin_ia32_extracti64x2_512_mask, __builtin_ia32_extracti32x8_mask,
3732         __builtin_ia32_reducepd512_mask, __builtin_ia32_reduceps512_mask,
3733         __builtin_ia32_pmullq512_mask, __builtin_ia32_xorpd512_mask,
3734         __builtin_ia32_xorps512_mask, __builtin_ia32_orpd512_mask,
3735         __builtin_ia32_orps512_mask, __builtin_ia32_andpd512_mask,
3736         __builtin_ia32_andps512_mask, __builtin_ia32_andnpd512_mask,
3737         __builtin_ia32_andnps512_mask, __builtin_ia32_insertf32x8_mask,
3738         __builtin_ia32_inserti32x8_mask, __builtin_ia32_insertf64x2_512_mask,
3739         __builtin_ia32_inserti64x2_512_mask, __builtin_ia32_fpclasspd512_mask,
3740         __builtin_ia32_fpclassps512_mask, __builtin_ia32_cvtd2mask512,
3741         __builtin_ia32_cvtq2mask512, __builtin_ia32_cvtmask2d512,
3742         __builtin_ia32_cvtmask2q512, __builtin_ia32_kunpcksi,
3743         __builtin_ia32_kunpckdi, __builtin_ia32_packusdw512_mask,
3744         __builtin_ia32_pslldq512, __builtin_ia32_psrldq512,
3745         __builtin_ia32_packssdw512_mask, __builtin_ia32_palignr512,
3746         __builtin_ia32_palignr512_mask, __builtin_ia32_movdquhi512_mask,
3747         __builtin_ia32_movdquqi512_mask, __builtin_ia32_psadbw512,
3748         __builtin_ia32_dbpsadbw512_mask, __builtin_ia32_pbroadcastb512_mask,
3749         __builtin_ia32_pbroadcastb512_gpr_mask, __builtin_ia32_pbroadcastw512_mask,
3750         __builtin_ia32_pbroadcastw512_gpr_mask, __builtin_ia32_pmovsxbw512_mask,
3751         __builtin_ia32_pmovzxbw512_mask, __builtin_ia32_permvarhi512_mask,
3752         __builtin_ia32_vpermt2varhi512_mask, __builtin_ia32_vpermt2varhi512_maskz,
3753         __builtin_ia32_vpermi2varhi512_mask, __builtin_ia32_pavgb512_mask,
3754         __builtin_ia32_pavgw512_mask, __builtin_ia32_paddb512_mask,
3755         __builtin_ia32_psubb512_mask, __builtin_ia32_psubsb512_mask,
3756         __builtin_ia32_paddsb512_mask, __builtin_ia32_psubusb512_mask,
3757         __builtin_ia32_paddusb512_mask, __builtin_ia32_psubw512_mask,
3758         __builtin_ia32_paddw512_mask, __builtin_ia32_psubsw512_mask,
3759         __builtin_ia32_paddsw512_mask, __builtin_ia32_psubusw512_mask,
3760         __builtin_ia32_paddusw512_mask, __builtin_ia32_pmaxuw512_mask,
3761         __builtin_ia32_pmaxsw512_mask, __builtin_ia32_pminuw512_mask,
3762         __builtin_ia32_pminsw512_mask, __builtin_ia32_pmaxub512_mask,
3763         __builtin_ia32_pmaxsb512_mask, __builtin_ia32_pminub512_mask,
3764         __builtin_ia32_pminsb512_mask, __builtin_ia32_pmovwb512_mask,
3765         __builtin_ia32_pmovswb512_mask, __builtin_ia32_pmovuswb512_mask,
3766         __builtin_ia32_pmulhrsw512_mask, __builtin_ia32_pmulhuw512_mask,
3767         __builtin_ia32_pmulhw512_mask, __builtin_ia32_pmullw512_mask,
3768         __builtin_ia32_psllwi512_mask, __builtin_ia32_psllw512_mask,
3769         __builtin_ia32_packsswb512_mask, __builtin_ia32_packuswb512_mask,
3770         __builtin_ia32_psrav32hi_mask, __builtin_ia32_pmaddubsw512_mask,
3771         __builtin_ia32_pmaddwd512_mask, __builtin_ia32_psrlv32hi_mask,
3772         __builtin_ia32_punpckhbw512_mask, __builtin_ia32_punpckhwd512_mask,
3773         __builtin_ia32_punpcklbw512_mask, __builtin_ia32_punpcklwd512_mask,
3774         __builtin_ia32_pshufb512_mask, __builtin_ia32_pshufhw512_mask,
3775         __builtin_ia32_pshuflw512_mask, __builtin_ia32_psrawi512_mask,
3776         __builtin_ia32_psraw512_mask, __builtin_ia32_psrlwi512_mask,
3777         __builtin_ia32_psrlw512_mask, __builtin_ia32_cvtb2mask512,
3778         __builtin_ia32_cvtw2mask512, __builtin_ia32_cvtmask2b512,
3779         __builtin_ia32_cvtmask2w512, __builtin_ia32_pcmpeqb512_mask,
3780         __builtin_ia32_pcmpeqw512_mask, __builtin_ia32_pcmpgtb512_mask,
3781         __builtin_ia32_pcmpgtw512_mask, __builtin_ia32_ptestmb512,
3782         __builtin_ia32_ptestmw512, __builtin_ia32_ptestnmb512,
3783         __builtin_ia32_ptestnmw512, __builtin_ia32_psllv32hi_mask,
3784         __builtin_ia32_pabsb512_mask, __builtin_ia32_pabsw512_mask,
3785         __builtin_ia32_blendmw_512_mask, __builtin_ia32_blendmb_512_mask,
3786         __builtin_ia32_cmpb512_mask, __builtin_ia32_cmpw512_mask,
3787         __builtin_ia32_ucmpb512_mask, __builtin_ia32_ucmpw512_mask,
3788         __builtin_ia32_rangesd128_round, __builtin_ia32_rangess128_round,
3789         __builtin_ia32_cvtpd2qq512_mask, __builtin_ia32_cvtps2qq512_mask,
3790         __builtin_ia32_cvtpd2uqq512_mask, __builtin_ia32_cvtps2uqq512_mask,
3791         __builtin_ia32_cvtqq2ps512_mask, __builtin_ia32_cvtuqq2ps512_mask,
3792         __builtin_ia32_cvtqq2pd512_mask, __builtin_ia32_cvtuqq2pd512_mask,
3793         __builtin_ia32_cvttps2qq512_mask, __builtin_ia32_cvttps2uqq512_mask,
3794         __builtin_ia32_cvttpd2qq512_mask, __builtin_ia32_cvttpd2uqq512_mask,
3795         __builtin_ia32_rangeps512_mask, __builtin_ia32_rangepd512_mask.
3796         (ix86_expand_args_builtin): Handle HI_FTYPE_V16QI, SI_FTYPE_V32QI,
3797         DI_FTYPE_V64QI, V16QI_FTYPE_HI, V32QI_FTYPE_SI, V64QI_FTYPE_DI,
3798         V8HI_FTYPE_QI, V16HI_FTYPE_HI, V32HI_FTYPE_SI, V4SI_FTYPE_QI,
3799         V8SI_FTYPE_QI, V4SI_FTYPE_HI, V8SI_FTYPE_HI, QI_FTYPE_V8HI,
3800         HI_FTYPE_V16HI, SI_FTYPE_V32HI, QI_FTYPE_V4SI, QI_FTYPE_V8SI,
3801         HI_FTYPE_V16SI, QI_FTYPE_V2DI, QI_FTYPE_V4DI, QI_FTYPE_V8DI,
3802         V2DI_FTYPE_QI, V4DI_FTYPE_QI, V8DI_FTYPE_V64QI_V64QI,
3803         SI_FTYPE_SI_SI,DI_FTYPE_DI_DI, V8DI_FTYPE_V8DI_INT_CONVERT,
3804         QI_FTYPE_V4SF_INT, QI_FTYPE_V2DF_INT,
3805         V8SF_FTYPE_V4SF_V8SF_QI, V4DF_FTYPE_V2DF_V4DF_QI,
3806         V8SI_FTYPE_V4SI_V8SI_QI, V8SI_FTYPE_SI_V8SI_QI,
3807         V4SI_FTYPE_V4SI_V4SI_QI, V4SI_FTYPE_SI_V4SI_QI,
3808         V4DI_FTYPE_V2DI_V4DI_QI, V4DI_FTYPE_DI_V4DI_QI,
3809         V2DI_FTYPE_V2DI_V2DI_QI, V2DI_FTYPE_DI_V2DI_QI,
3810         V64QI_FTYPE_V64QI_V64QI_DI, V64QI_FTYPE_V16QI_V64QI_DI,
3811         V64QI_FTYPE_QI_V64QI_DI, V32QI_FTYPE_V32QI_V32QI_SI,
3812         V32QI_FTYPE_V16QI_V32QI_SI, V32QI_FTYPE_QI_V32QI_SI,
3813         V16QI_FTYPE_V16QI_V16QI_HI, V16QI_FTYPE_QI_V16QI_HI,
3814         V32HI_FTYPE_V8HI_V32HI_SI, V32HI_FTYPE_HI_V32HI_SI,
3815         V16HI_FTYPE_V8HI_V16HI_HI, V16HI_FTYPE_HI_V16HI_HI,
3816         V8HI_FTYPE_V8HI_V8HI_QI, V8HI_FTYPE_HI_V8HI_QI,
3817         V8SF_FTYPE_V8HI_V8SF_QI, V4SF_FTYPE_V8HI_V4SF_QI,
3818         V8SI_FTYPE_V8SF_V8SI_QI, V4SI_FTYPE_V4SF_V4SI_QI,
3819         V8DI_FTYPE_V8SF_V8DI_QI, V4DI_FTYPE_V4SF_V4DI_QI,
3820         V2DI_FTYPE_V4SF_V2DI_QI, V8SF_FTYPE_V8DI_V8SF_QI,
3821         V4SF_FTYPE_V4DI_V4SF_QI, V4SF_FTYPE_V2DI_V4SF_QI,
3822         V8DF_FTYPE_V8DI_V8DF_QI, V4DF_FTYPE_V4DI_V4DF_QI,
3823         V2DF_FTYPE_V2DI_V2DF_QI, V16QI_FTYPE_V8HI_V16QI_QI,
3824         V16QI_FTYPE_V16HI_V16QI_HI, V16QI_FTYPE_V4SI_V16QI_QI,
3825         V16QI_FTYPE_V8SI_V16QI_QI, V8HI_FTYPE_V4SI_V8HI_QI,
3826         V8HI_FTYPE_V8SI_V8HI_QI, V16QI_FTYPE_V2DI_V16QI_QI,
3827         V16QI_FTYPE_V4DI_V16QI_QI, V8HI_FTYPE_V2DI_V8HI_QI,
3828         V8HI_FTYPE_V4DI_V8HI_QI, V4SI_FTYPE_V2DI_V4SI_QI,
3829         V4SI_FTYPE_V4DI_V4SI_QI, V32QI_FTYPE_V32HI_V32QI_SI,
3830         HI_FTYPE_V16QI_V16QI_HI, SI_FTYPE_V32QI_V32QI_SI,
3831         DI_FTYPE_V64QI_V64QI_DI, QI_FTYPE_V8HI_V8HI_QI,
3832         HI_FTYPE_V16HI_V16HI_HI, SI_FTYPE_V32HI_V32HI_SI,
3833         QI_FTYPE_V4SI_V4SI_QI, QI_FTYPE_V8SI_V8SI_QI,
3834         QI_FTYPE_V2DI_V2DI_QI, QI_FTYPE_V4DI_V4DI_QI,
3835         V4SF_FTYPE_V2DF_V4SF_QI, V4SF_FTYPE_V4DF_V4SF_QI,
3836         V2DI_FTYPE_V4SI_V2DI_QI, V2DI_FTYPE_V8HI_V2DI_QI,
3837         V2DI_FTYPE_V16QI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_QI,
3838         V4DI_FTYPE_V4SI_V4DI_QI, V4DI_FTYPE_V8HI_V4DI_QI,
3839         V4DI_FTYPE_V16QI_V4DI_QI, V8DI_FTYPE_V8DF_V8DI_QI,
3840         V4DI_FTYPE_V4DF_V4DI_QI, V2DI_FTYPE_V2DF_V2DI_QI,
3841         V4SI_FTYPE_V4DF_V4SI_QI, V4SI_FTYPE_V2DF_V4SI_QI,
3842         V4SI_FTYPE_V8HI_V4SI_QI, V4SI_FTYPE_V16QI_V4SI_QI,
3843         V8SI_FTYPE_V8SI_V8SI_V8SI, V8SF_FTYPE_V8SF_V8SF_QI,
3844         V8SF_FTYPE_V8SI_V8SF_QI, V4DF_FTYPE_V4DF_V4DF_QI,
3845         V4SF_FTYPE_V4SF_V4SF_QI, V2DF_FTYPE_V2DF_V2DF_QI,
3846         V2DF_FTYPE_V4SF_V2DF_QI, V2DF_FTYPE_V4SI_V2DF_QI,
3847         V4SF_FTYPE_V4SI_V4SF_QI, V4DF_FTYPE_V4SF_V4DF_QI,
3848         V4DF_FTYPE_V4SI_V4DF_QI, V8SI_FTYPE_V8SI_V8SI_QI,
3849         V8SI_FTYPE_V8HI_V8SI_QI, V8SI_FTYPE_V16QI_V8SI_QI,
3850         V16SF_FTYPE_V8SF_V16SF_HI, V16SI_FTYPE_V8SI_V16SI_HI,
3851         V16HI_FTYPE_V16HI_V16HI_HI, V8HI_FTYPE_V16QI_V8HI_QI,
3852         V16HI_FTYPE_V16QI_V16HI_HI, V32HI_FTYPE_V32HI_V32HI_SI,
3853         V32HI_FTYPE_V32QI_V32HI_SI, V8DI_FTYPE_V8DI_V8DI_INT_CONVERT,
3854         V8DI_FTYPE_V8DI_V8DI_INT_V8DI_DI_CONVERT, QI_FTYPE_V8DF_INT_QI,
3855         QI_FTYPE_V4DF_INT_QI, QI_FTYPE_V2DF_INT_QI,
3856         HI_FTYPE_V16SF_INT_HI, QI_FTYPE_V8SF_INT_QI,
3857         QI_FTYPE_V4SF_INT_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_SI_CONVERT,
3858         V2DI_FTYPE_V2DI_V2DI_INT_V2DI_HI_CONVERT, V32QI_FTYPE_V32QI_V32QI_V32QI_SI,
3859         V32HI_FTYPE_V32HI_V32HI_V32HI_SI, V32HI_FTYPE_V64QI_V64QI_V32HI_SI,
3860         V16SI_FTYPE_V32HI_V32HI_V16SI_HI, V64QI_FTYPE_V64QI_V64QI_V64QI_DI,
3861         V32HI_FTYPE_V32HI_V8HI_V32HI_SI, V16HI_FTYPE_V16HI_V8HI_V16HI_HI,
3862         V8SI_FTYPE_V8SI_V4SI_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_V4DI_QI,
3863         V64QI_FTYPE_V32HI_V32HI_V64QI_DI, V32QI_FTYPE_V16HI_V16HI_V32QI_SI,
3864         V16QI_FTYPE_V8HI_V8HI_V16QI_HI, V32HI_FTYPE_V16SI_V16SI_V32HI_SI,
3865         V16HI_FTYPE_V8SI_V8SI_V16HI_HI, V8HI_FTYPE_V4SI_V4SI_V8HI_QI,
3866         V4DF_FTYPE_V4DF_V4DI_V4DF_QI, V8SF_FTYPE_V8SF_V8SI_V8SF_QI,
3867         V4SF_FTYPE_V4SF_V4SI_V4SF_QI, V2DF_FTYPE_V2DF_V2DI_V2DF_QI,
3868         V2DI_FTYPE_V4SI_V4SI_V2DI_QI, V4DI_FTYPE_V8SI_V8SI_V4DI_QI,
3869         V4DF_FTYPE_V4DI_V4DF_V4DF_QI, V8SF_FTYPE_V8SI_V8SF_V8SF_QI,
3870         V2DF_FTYPE_V2DI_V2DF_V2DF_QI, V4SF_FTYPE_V4SI_V4SF_V4SF_QI,
3871         V8HI_FTYPE_V8HI_V8HI_V8HI_QI, V8SI_FTYPE_V8SI_V8SI_V8SI_QI,
3872         V4SI_FTYPE_V4SI_V4SI_V4SI_QI, V8SF_FTYPE_V8SF_V8SF_V8SF_QI,
3873         V16QI_FTYPE_V16QI_V16QI_V16QI_HI, V16HI_FTYPE_V16HI_V16HI_V16HI_HI,
3874         V2DI_FTYPE_V2DI_V2DI_V2DI_QI, V4DI_FTYPE_V4DI_V4DI_V4DI_QI,
3875         V4DF_FTYPE_V4DF_V4DF_V4DF_QI, V8HI_FTYPE_V16QI_V16QI_V8HI_QI,
3876         V16HI_FTYPE_V32QI_V32QI_V16HI_HI, V8SI_FTYPE_V16HI_V16HI_V8SI_QI,
3877         V4SI_FTYPE_V8HI_V8HI_V4SI_QI, QI_FTYPE_V4DI_V4DI_INT_QI,
3878         QI_FTYPE_V8SI_V8SI_INT_QI, QI_FTYPE_V4DF_V4DF_INT_QI,
3879         QI_FTYPE_V8SF_V8SF_INT_QI, QI_FTYPE_V2DI_V2DI_INT_QI,
3880         QI_FTYPE_V4SI_V4SI_INT_QI, DI_FTYPE_V64QI_V64QI_INT_DI,
3881         SI_FTYPE_V32QI_V32QI_INT_SI, HI_FTYPE_V16QI_V16QI_INT_HI,
3882         SI_FTYPE_V32HI_V32HI_INT_SI, HI_FTYPE_V16HI_V16HI_INT_HI,
3883         QI_FTYPE_V8HI_V8HI_INT_QI, V8SF_FTYPE_V8SF_INT_V8SF_QI,
3884         V4SF_FTYPE_V4SF_INT_V4SF_QI, V2DF_FTYPE_V4DF_INT_V2DF_QI,
3885         V2DI_FTYPE_V4DI_INT_V2DI_QI, V8SF_FTYPE_V16SF_INT_V8SF_QI,
3886         V8SI_FTYPE_V16SI_INT_V8SI_QI, V2DF_FTYPE_V8DF_INT_V2DF_QI,
3887         V2DI_FTYPE_V8DI_INT_V2DI_QI, V4SF_FTYPE_V8SF_INT_V4SF_QI,
3888         V4SI_FTYPE_V8SI_INT_V4SI_QI, V8HI_FTYPE_V8SF_INT_V8HI_QI,
3889         V8HI_FTYPE_V4SF_INT_V8HI_QI, V32HI_FTYPE_V32HI_INT_V32HI_SI,
3890         V16HI_FTYPE_V16HI_INT_V16HI_HI, V8HI_FTYPE_V8HI_INT_V8HI_QI,
3891         V4DI_FTYPE_V4DI_INT_V4DI_QI, V2DI_FTYPE_V2DI_INT_V2DI_QI,
3892         V8SI_FTYPE_V8SI_INT_V8SI_QI, V4SI_FTYPE_V4SI_INT_V4SI_QI,
3893         V4DF_FTYPE_V4DF_INT_V4DF_QI, V2DF_FTYPE_V2DF_INT_V2DF_QI,
3894         V4DF_FTYPE_V4DF_V4DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_INT_V8SF_QI,
3895         V8DF_FTYPE_V8DF_V2DF_INT_V8DF_QI, V8DI_FTYPE_V8DI_V2DI_INT_V8DI_QI,
3896         V8SI_FTYPE_V8SI_V8SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V4DI_INT_V4DI_QI,
3897         V4SI_FTYPE_V4SI_V4SI_INT_V4SI_QI, V2DI_FTYPE_V2DI_V2DI_INT_V2DI_QI,
3898         V32HI_FTYPE_V64QI_V64QI_INT_V32HI_SI, V16HI_FTYPE_V32QI_V32QI_INT_V16HI_HI,
3899         V8HI_FTYPE_V16QI_V16QI_INT_V8HI_QI, V16SF_FTYPE_V16SF_V8SF_INT_V16SF_HI,
3900         V16SI_FTYPE_V16SI_V8SI_INT_V16SI_HI, V8SF_FTYPE_V8SF_V4SF_INT_V8SF_QI,
3901         V8SI_FTYPE_V8SI_V4SI_INT_V8SI_QI, V4DI_FTYPE_V4DI_V2DI_INT_V4DI_QI,
3902         V4DF_FTYPE_V4DF_V2DF_INT_V4DF_QI, V8SF_FTYPE_V8SF_V8SF_V8SI_INT_QI,
3903         V8SI_FTYPE_V8SI_V8SI_V8SI_INT_QI, V4DF_FTYPE_V4DF_V4DF_V4DI_INT_QI,
3904         V4DI_FTYPE_V4DI_V4DI_V4DI_INT_QI, V4SI_FTYPE_V4SI_V4SI_V4SI_INT_QI,
3905         V2DI_FTYPE_V2DI_V2DI_V2DI_INT_QI, V8DI_FTYPE_V8DF_V8DI_QI_INT,
3906         V8SF_FTYPE_V8DI_V8SF_QI_INT, V8DF_FTYPE_V8DI_V8DF_QI_INT,
3907         V8DI_FTYPE_V8SF_V8DI_QI_INT, V16SF_FTYPE_V16SF_V16SF_INT_V16SF_HI_INT,
3908         V8DF_FTYPE_V8DF_V8DF_INT_V8DF_QI_INT, VOID_FTYPE_PV4DI_V4DI_QI,
3909         VOID_FTYPE_PV2DI_V2DI_QI, VOID_FTYPE_PV8SI_V8SI_QI,
3910         VOID_FTYPE_PV4SI_V4SI_QI, VOID_FTYPE_PV4SI_V4DI_QI,
3911         VOID_FTYPE_PV4SI_V2DI_QI, VOID_FTYPE_PV8HI_V4DI_QI,
3912         VOID_FTYPE_PV8HI_V2DI_QI, VOID_FTYPE_PV8HI_V8SI_QI,
3913         VOID_FTYPE_PV8HI_V4SI_QI, VOID_FTYPE_PV16QI_V4DI_QI,
3914         VOID_FTYPE_PV16QI_V2DI_QI, VOID_FTYPE_PV16QI_V8SI_QI,
3915         VOID_FTYPE_PV16QI_V4SI_QI, VOID_FTYPE_PV8HI_V8HI_QI,
3916         VOID_FTYPE_PV16HI_V16HI_HI, VOID_FTYPE_PV32HI_V32HI_SI,
3917         VOID_FTYPE_PV16QI_V16QI_HI, VOID_FTYPE_PV32QI_V32QI_SI,
3918         VOID_FTYPE_PV64QI_V64QI_DI, VOID_FTYPE_PV4DF_V4DF_QI,
3919         VOID_FTYPE_PV2DF_V2DF_QI, VOID_FTYPE_PV8SF_V8SF_QI,
3920         VOID_FTYPE_PV4SF_V4SF_QI, V4SF_FTYPE_PCV4SF_V4SF_QI,
3921         V8SF_FTYPE_PCV8SF_V8SF_QI, V4SI_FTYPE_PCV4SI_V4SI_QI,
3922         V8SI_FTYPE_PCV8SI_V8SI_QI, V2DF_FTYPE_PCV2DF_V2DF_QI,
3923         V4DF_FTYPE_PCV4DF_V4DF_QI, V2DI_FTYPE_PCV2DI_V2DI_QI,
3924         V4DI_FTYPE_PCV4DI_V4DI_QI, V8HI_FTYPE_PCV8HI_V8HI_QI,
3925         V16HI_FTYPE_PCV16HI_V16HI_HI, V32HI_FTYPE_PCV32HI_V32HI_SI,
3926         V16QI_FTYPE_PCV16QI_V16QI_HI, V32QI_FTYPE_PCV32QI_V32QI_SI,
3927         V64QI_FTYPE_PCV64QI_V64QI_DI, do not handle V8USI_FTYPE_V8USI.
3929 2014-10-28  Jakub Jelinek  <jakub@redhat.com>
3931         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Use uint64_t
3932         type for the left shift in CASE_CONVERT case.
3934 2014-10-28  Max Ostapenko  <m.ostapenko@partner.samsung.com>
3936         * asan.h (asan_intercepted_p): New function.
3937         * asan.c (asan_mem_ref_hasher::hash): Remove MEM_REF access size from
3938         hash value construction.  Call iterative_hash_expr instead of explicit
3939         hash building.
3940         (asan_mem_ref_hasher::equal): Change condition.
3941         (has_mem_ref_been_instrumented): Likewise.
3942         (update_mem_ref_hash_table): Likewise.
3943         (maybe_update_mem_ref_hash_table): New function.
3944         (instrument_strlen_call): Removed.
3945         (get_mem_refs_of_builtin_call): Handle new parameter.
3946         (instrument_builtin_call): Call maybe_update_mem_ref_hash_table instead
3947         of instrument_mem_region_access if intercepted_p is true.
3948         (instrument_mem_region_access): Instrument only base with len instead of
3949         base and end with 1.
3950         (build_check_stmt): Remove start_instrumented and end_instrumented
3951         parameters.
3952         (enum asan_check_flags): Remove ASAN_CHECK_START_INSTRUMENTED and
3953         ASAN_CHECK_END_INSTRUMENTED.  Change ASAN_CHECK_LAST.
3954         (asan_expand_check_ifn): Remove start_instrumented and end_instrumented.
3955         * builtins.c (expand_builtin): Include asan.h.  Don't expand string/memory
3956         builtin functions that have interceptors if ASan is enabled.
3958 2014-10-28  Richard Biener  <rguenther@suse.de>
3960         PR middle-end/63665
3961         * fold-const.c (fold_comparison): Properly guard simplifying
3962         against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.
3964 2014-10-28  Alan Lawrence  <alan.lawrence@arm.com>
3966         * expr.c (expand_expr_real_2): Remove code handling VEC_LSHIFT_EXPR.
3967         * fold-const.c (const_binop): Likewise.
3968         * cfgexpand.c (expand_debug_expr): Likewise.
3969         * tree-inline.c (estimate_operator_cost): Likewise.
3970         * tree-vect-generic.c (expand_vector_operations_1): Likewise.
3971         * optabs.c (optab_for_tree_code): Likewise.
3972         (expand_vec_shift_expr): Likewise, update comment.
3973         * tree.def: Delete VEC_LSHIFT_EXPR, remove comment.
3974         * optabs.h (expand_vec_shift_expr): Remove comment re. VEC_LSHIFT_EXPR.
3975         * optabs.def: Remove vec_shl_optab.
3976         * doc/md.texi: Remove references to vec_shr_m.
3978 2014-10-28  Yury Gribov  <y.gribov@samsung.com>
3980         * asan.c (report_error_func): Add noabort path.
3981         (check_func): Ditto.  Formatting.
3982         (asan_expand_check_ifn): Handle noabort path.
3983         * common.opt (flag_sanitize_recover): Add SANITIZE_KERNEL_ADDRESS
3984         to default value.
3985         * doc/invoke.texi (-fsanitize-recover=): Mention KASan.
3986         * opts.c (finish_options): Reword comment.
3987         * sanitizer.def: Add noabort ASan builtins.
3989 2014-10-28  Yury Gribov  <y.gribov@samsung.com>
3991         * asan.c (set_asan_shadow_offset): New function.
3992         (asan_shadow_offset): Likewise.
3993         (asan_emit_stack_protection): Call asan_shadow_offset.
3994         (build_shadow_mem_access): Likewise.
3995         * asan.h (set_asan_shadow_offset): Declare.
3996         * common.opt (fasan-shadow-offset): New option.
3997         (frandom-seed): Fixed parameter name.
3998         * doc/invoke.texi (fasan-shadow-offset): Describe new option.
3999         (frandom-seed): Fixed parameter name.
4000         * opts-global.c (handle_common_deferred_options): Handle
4001         -fasan-shadow-offset.
4002         * opts.c (common_handle_option): Likewise.
4004 2014-10-27  Jiong Wang <jiong.wang@arm.com>
4006         PR target/63442
4007         * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
4009 2014-10-27  DJ Delorie  <dj@redhat.com>
4011         * tree.c (build_common_tree_nodes): Don't even store the
4012         __int128 types if they're not supported.
4014 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4016         * config/i386/i386.c (ix86_loop_memcount): Delete.
4017         (ix86_loop_unroll_adjust): Use FOR_EACH_SUBRTX.
4019 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4021         * config/i386/i386.c (find_constant_1): Delete.
4022         (find_constant): Use FOR_EACH_SUBRTX.
4024 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4026         * config/i386/i386.c (extended_reg_mentioned_1): Delete.
4027         (x86_extended_reg_mentioned_p): Use FOR_EACH_SUBRTX.
4029 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4031         * config/i386/i386.c: Include rtl-iter.h
4032         (ix86_check_avx256_register): Take a const_rtx and return a bool.
4033         (ix86_check_avx256_stores): Update call accordingly.
4034         (ix86_avx_u128_mode_entry, ix86_avx_u128_mode_exit): Likewise.
4035         (ix86_avx_u128_mode_needed): Likewise.  Use FOR_EACH_SUBRTX.
4037 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4039         * config/alpha/alpha-protos.h (some_small_symbolic_operand_int):
4040         Take an rtx and return a bool.
4041         * config/alpha/alpha.c (some_small_symbolic_operand_int): Likewise.
4042         Use FOR_EACH_SUBRTX_VAR.
4043         * config/alpha/predicates.md (some_small_symbolic_operand): Update
4044         accordingly.
4046 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4048         * config/alpha/alpha-protos.h (alpha_find_lo_sum_using_gp): Return
4049         a bool.
4050         * config/alpha/alpha.c (find_lo_sum_using_gp): Delete.
4051         (alpha_find_lo_sum_using_gp): Use FOR_EACH_SUBRTX.  Return a bool.
4053 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4055         * config/alpha/alpha.c (alpha_set_memflags_1): Delete.
4056         (alpha_set_memflags): Use FOR_EACH_SUBRTX_VAR.
4058 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4060         * config/alpha/alpha.c: Include rtl-iter.h.
4061         (split_small_symbolic_operand_1): Delete.
4062         (split_small_symbolic_operand): Use FOR_EACH_SUBRTX_PTR.
4064 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4066         * config/s390/s390.c: Include rtl-iter.h.
4067         (check_dpu): Delete.
4068         (s390_loop_unroll_adjust): Only iterate over patterns.
4069         Use FOR_EACH_SUBRTX.
4071 2014-10-27  Richard Sandiford  <richard.sandiford@arm.com>
4073         * config/spu/spu.c: Include rtl-iter.h
4074         (ea_symbol_ref): Replace with...
4075         (ea_symbol_ref_p): ...this new function.
4076         (spu_legitimate_address_p): Update call accordingly.
4077         (spu_legitimate_constant_p): Likewise.  Use FOR_EACH_SUBRTX.
4079 2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
4080             Tom Tromey  <tromey@redhat.com>
4082         * aclocal.m4, configure: Rebuild.
4083         * Makefile.in (aclocal_deps): Add gcc-plugin.m4.
4084         * configure.ac: Use GCC_ENABLE_PLUGINS.
4085         * stor-layout.c (finish_bitfield_layout): Now public.  Change
4086         argument type to 'tree'.
4087         (finish_record_layout): Update.
4088         * stor-layout.h (finish_bitfield_layout): Declare.
4090 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4092         * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Define again.
4093         * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
4094         Restore, enable for bigendian, update to use __builtin..._scal...
4096 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4098         * config/aarch64/aarch64-simd-builtins.def (reduc_smax_, reduc_smin_,
4099         reduc_umax_, reduc_umin_, reduc_smax_nan_, reduc_smin_nan_): Remove.
4100         (reduc_smax_scal_, reduc_smin_scal_, reduc_umax_scal_,
4101         reduc_umin_scal_, reduc_smax_nan_scal_, reduc_smin_nan_scal_): New.
4103         * config/aarch64/aarch64-simd.md
4104         (reduc_<maxmin_uns>_<mode>): Rename VDQV_S variant to...
4105         (reduc_<maxmin_uns>_internal<mode>): ...this.
4106         (reduc_<maxmin_uns>_<mode>): New (VDQ_BHSI).
4107         (reduc_<maxmin_uns>_scal_<mode>): New (*2).
4109         (reduc_<maxmin_uns>_v2si): Combine with below, renaming...
4110         (reduc_<maxmin_uns>_<mode>): Combine V2F with above, renaming...
4111         (reduc_<maxmin_uns>_internal_<mode>): ...to this (VDQF).
4113         * config/aarch64/arm_neon.h (vmaxv_f32, vmaxv_s8, vmaxv_s16,
4114         vmaxv_s32, vmaxv_u8, vmaxv_u16, vmaxv_u32, vmaxvq_f32, vmaxvq_f64,
4115         vmaxvq_s8, vmaxvq_s16, vmaxvq_s32, vmaxvq_u8, vmaxvq_u16, vmaxvq_u32,
4116         vmaxnmv_f32, vmaxnmvq_f32, vmaxnmvq_f64, vminv_f32, vminv_s8,
4117         vminv_s16, vminv_s32, vminv_u8, vminv_u16, vminv_u32, vminvq_f32,
4118         vminvq_f64, vminvq_s8, vminvq_s16, vminvq_s32, vminvq_u8, vminvq_u16,
4119         vminvq_u32, vminnmv_f32, vminnmvq_f32, vminnmvq_f64): Update to use
4120         __builtin_aarch64_reduc_..._scal; remove vget_lane wrapper.
4122 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4124         * config/aarch64/aarch64-simd-builtins.def
4125         (reduc_splus_<mode>/VDQF, reduc_uplus_<mode>/VDQF, reduc_splus_v4sf):
4126         Remove.
4127         (reduc_plus_scal_<mode>, reduc_plus_scal_v4sf): New.
4129         * config/aarch64/aarch64-simd.md (reduc_<sur>plus_mode): Remove.
4130         (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_plus_scal_<mode>): New.
4132         (reduc_<sur>plus_mode): Change SUADDV -> UNSPEC_ADDV, rename to...
4133         (aarch64_reduc_plus_internal<mode>): ...this.
4135         (reduc_<sur>plus_v2si): Change SUADDV -> UNSPEC_ADDV, rename to...
4136         (aarch64_reduc_plus_internalv2si): ...this.
4138         (reduc_splus_<mode>/V2F): Rename to...
4139         (aarch64_reduc_plus_internal<mode>): ...this.
4141         * config/aarch64/iterators.md
4142         (UNSPEC_SADDV, UNSPEC_UADDV, SUADDV): Remove.
4143         (UNSPEC_ADDV): New.
4144         (sur): Remove elements for UNSPEC_SADDV and UNSPEC_UADDV.
4146         * config/aarch64/arm_neon.h (vaddv_s8, vaddv_s16, vaddv_s32, vaddv_u8,
4147         vaddv_u16, vaddv_u32, vaddvq_s8, vaddvq_s16, vaddvq_s32, vaddvq_s64,
4148         vaddvq_u8, vaddvq_u16, vaddvq_u32, vaddvq_u64, vaddv_f32, vaddvq_f32,
4149         vaddvq_f64): Change __builtin_aarch64_reduc_[us]plus_... to
4150         __builtin_aarch64_reduc_plus_scal, remove vget_lane wrapper.
4152 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4154         PR tree-optimization/61114
4155         * doc/md.texi (Standard Names): Add reduc_(plus,[us](min|max))|scal
4156         optabs, and note in reduc_[us](plus|min|max) to prefer the former.
4158         * expr.c (expand_expr_real_2): Use reduc_..._scal if available, fall
4159         back to old reduc_... + BIT_FIELD_REF only if not.
4161         * optabs.c (optab_for_tree_code): for REDUC_(MAX,MIN,PLUS)_EXPR,
4162         return the reduce-to-scalar (reduc_..._scal) optab.
4163         (scalar_reduc_to_vector): New.
4165         * optabs.def (reduc_smax_scal_optab, reduc_smin_scal_optab,
4166         reduc_plus_scal_optab, reduc_umax_scal_optab, reduc_umin_scal_optab):
4167         New.
4169         * optabs.h (scalar_reduc_to_vector): Declare.
4171         * tree-vect-loop.c (vectorizable_reduction): Look for optabs reducing
4172         to either scalar or vector.
4174 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4176         PR tree-optimization/61114
4177         * expr.c (expand_expr_real_2): For REDUC_{MIN,MAX,PLUS}_EXPR, add
4178         extract_bit_field around optab result.
4180         * fold-const.c (fold_unary_loc): For REDUC_{MIN,MAX,PLUS}_EXPR, produce
4181         scalar not vector.
4183         * tree-cfg.c (verify_gimple_assign_unary): Check result vs operand type
4184         for REDUC_{MIN,MAX,PLUS}_EXPR.
4186         * tree-vect-loop.c (vect_analyze_loop): Update comment.
4187         (vect_create_epilog_for_reduction): For direct vector reduction, use
4188         result of tree code directly without extract_bit_field.
4190         * tree.def (REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR): Update
4191         comment.
4193 2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
4195         * basic-block.h: Remove all includes.
4196         (enum profile_status_d, struct control_flow_graph): Move to cfg.h
4197         * cfg.h (profile_status_d, struct control_flow_graph): Relocate here.
4198         * Makefile.in (GTFILES): Add cfg.h to list.
4199         * cgraph.h (symbol_table::create_empty): Move to cgraph.c.
4200         * cgraph.c (symbol_table::create_empty): Relocate from cgraph.h.
4201         * genconditions.c (write_header): Add predict.h and basic-block.h to
4202         lits of includes.
4203         * genemit.c (main): Ditto.
4204         * genpreds.c (write_insn_preds_c): Ditto.
4205         * genrecog.c (write_header): Ditto.
4206         * gengtype.c (open_base_files): Add predict.h, basic-block.h, and cfg.h
4207         to list of includes.
4208         * alias.c: Adjust include files.
4209         * asan.c: Ditto.
4210         * auto-inc-dec.c: Ditto.
4211         * auto-profile.c: Ditto.
4212         * bb-reorder.c: Ditto.
4213         * bt-load.c: Ditto.
4214         * builtins.c: Ditto.
4215         * caller-save.c: Ditto.
4216         * calls.c: Ditto.
4217         * cfg.c: Ditto.
4218         * cfganal.c: Ditto.
4219         * cfgbuild.c: Ditto.
4220         * cfgcleanup.c: Ditto.
4221         * cfgexpand.c: Ditto.
4222         * cfghooks.c: Ditto.
4223         * cfgloop.c: Ditto.
4224         * cfgloopanal.c: Ditto.
4225         * cfgloopmanip.c: Ditto.
4226         * cfgrtl.c: Ditto.
4227         * cgraphbuild.c: Ditto.
4228         * cgraphclones.c: Ditto.
4229         * cgraphunit.c: Ditto.
4230         * combine-stack-adj.c: Ditto.
4231         * combine.c: Ditto.
4232         * compare-elim.c: Ditto.
4233         * coverage.c: Ditto.
4234         * cprop.c: Ditto.
4235         * cse.c: Ditto.
4236         * cselib.c: Ditto.
4237         * data-streamer-in.c: Ditto.
4238         * data-streamer-out.c: Ditto.
4239         * data-streamer.c: Ditto.
4240         * dce.c: Ditto.
4241         * ddg.c: Ditto.
4242         * ddg.h: Ditto.
4243         * df-core.c: Ditto.
4244         * df-problems.c: Ditto.
4245         * df-scan.c: Ditto.
4246         * df.h: Ditto.
4247         * dojump.c: Ditto.
4248         * dominance.c: Ditto.
4249         * domwalk.c: Ditto.
4250         * dse.c: Ditto.
4251         * dwarf2cfi.c: Ditto.
4252         * emit-rtl.c: Ditto.
4253         * et-forest.c: Ditto.
4254         * except.c: Ditto.
4255         * expmed.c: Ditto.
4256         * expr.c: Ditto.
4257         * final.c: Ditto.
4258         * fold-const.c: Ditto.
4259         * function.c: Ditto.
4260         * fwprop.c: Ditto.
4261         * gcc-plugin.h: Ditto.
4262         * gcse.c: Ditto.
4263         * generic-match-head.c: Ditto.
4264         * ggc-page.c: Ditto.
4265         * gimple-builder.c: Ditto.
4266         * gimple-expr.c: Ditto.
4267         * gimple-fold.c: Ditto.
4268         * gimple-iterator.c: Ditto.
4269         * gimple-low.c: Ditto.
4270         * gimple-match-head.c: Ditto.
4271         * gimple-pretty-print.c: Ditto.
4272         * gimple-ssa-isolate-paths.c: Ditto.
4273         * gimple-ssa-strength-reduction.c: Ditto.
4274         * gimple-streamer-in.c: Ditto.
4275         * gimple-streamer-out.c: Ditto.
4276         * gimple-streamer.h: Ditto.
4277         * gimple-walk.c: Ditto.
4278         * gimple.c: Ditto.
4279         * gimplify-me.c: Ditto.
4280         * gimplify.c: Ditto.
4281         * graph.c: Ditto.
4282         * graphite-blocking.c: Ditto.
4283         * graphite-clast-to-gimple.c: Ditto.
4284         * graphite-dependences.c: Ditto.
4285         * graphite-interchange.c: Ditto.
4286         * graphite-isl-ast-to-gimple.c: Ditto.
4287         * graphite-optimize-isl.c: Ditto.
4288         * graphite-poly.c: Ditto.
4289         * graphite-scop-detection.c: Ditto.
4290         * graphite-sese-to-poly.c: Ditto.
4291         * graphite.c: Ditto.
4292         * haifa-sched.c: Ditto.
4293         * hw-doloop.c: Ditto.
4294         * ifcvt.c: Ditto.
4295         * init-regs.c: Ditto.
4296         * internal-fn.c: Ditto.
4297         * ipa-cp.c: Ditto.
4298         * ipa-devirt.c: Ditto.
4299         * ipa-icf-gimple.c: Ditto.
4300         * ipa-icf.c: Ditto.
4301         * ipa-inline-analysis.c: Ditto.
4302         * ipa-inline.c: Ditto.
4303         * ipa-polymorphic-call.c: Ditto.
4304         * ipa-profile.c: Ditto.
4305         * ipa-prop.c: Ditto.
4306         * ipa-pure-const.c: Ditto.
4307         * ipa-reference.c: Ditto.
4308         * ipa-split.c: Ditto.
4309         * ipa-utils.c: Ditto.
4310         * ipa.c: Ditto.
4311         * ira-build.c: Ditto.
4312         * ira-color.c: Ditto.
4313         * ira-conflicts.c: Ditto.
4314         * ira-costs.c: Ditto.
4315         * ira-emit.c: Ditto.
4316         * ira-lives.c: Ditto.
4317         * ira.c: Ditto.
4318         * jump.c: Ditto.
4319         * lcm.c: Ditto.
4320         * loop-doloop.c: Ditto.
4321         * loop-init.c: Ditto.
4322         * loop-invariant.c: Ditto.
4323         * loop-iv.c: Ditto.
4324         * loop-unroll.c: Ditto.
4325         * lower-subreg.c: Ditto.
4326         * lra-assigns.c: Ditto.
4327         * lra-coalesce.c: Ditto.
4328         * lra-constraints.c: Ditto.
4329         * lra-eliminations.c: Ditto.
4330         * lra-lives.c: Ditto.
4331         * lra-spills.c: Ditto.
4332         * lra.c: Ditto.
4333         * lto-cgraph.c: Ditto.
4334         * lto-compress.c: Ditto.
4335         * lto-opts.c: Ditto.
4336         * lto-section-in.c: Ditto.
4337         * lto-section-out.c: Ditto.
4338         * lto-streamer-in.c: Ditto.
4339         * lto-streamer-out.c: Ditto.
4340         * lto-streamer.c: Ditto.
4341         * mcf.c: Ditto.
4342         * mode-switching.c: Ditto.
4343         * modulo-sched.c: Ditto.
4344         * omp-low.c: Ditto.
4345         * optabs.c: Ditto.
4346         * opts-global.c: Ditto.
4347         * passes.c: Ditto.
4348         * postreload-gcse.c: Ditto.
4349         * postreload.c: Ditto.
4350         * predict.c: Ditto.
4351         * print-rtl.c: Ditto.
4352         * profile.c: Ditto.
4353         * recog.c: Ditto.
4354         * ree.c: Ditto.
4355         * reg-stack.c: Ditto.
4356         * regcprop.c: Ditto.
4357         * regcprop.h: Ditto.
4358         * reginfo.c: Ditto.
4359         * regrename.c: Ditto.
4360         * regstat.c: Ditto.
4361         * reload.c: Ditto.
4362         * reload1.c: Ditto.
4363         * reorg.c: Ditto.
4364         * resource.c: Ditto.
4365         * rtlanal.c: Ditto.
4366         * sched-deps.c: Ditto.
4367         * sched-ebb.c: Ditto.
4368         * sched-int.h: Ditto.
4369         * sched-rgn.c: Ditto.
4370         * sched-vis.c: Ditto.
4371         * sel-sched-dump.c: Ditto.
4372         * sel-sched-ir.c: Ditto.
4373         * sel-sched-ir.h: Ditto.
4374         * sel-sched.c: Ditto.
4375         * sese.c: Ditto.
4376         * shrink-wrap.c: Ditto.
4377         * stack-ptr-mod.c: Ditto.
4378         * stmt.c: Ditto.
4379         * store-motion.c: Ditto.
4380         * symtab.c: Ditto.
4381         * toplev.c: Ditto.
4382         * tracer.c: Ditto.
4383         * trans-mem.c: Ditto.
4384         * tree-affine.c: Ditto.
4385         * tree-call-cdce.c: Ditto.
4386         * tree-cfg.c: Ditto.
4387         * tree-cfgcleanup.c: Ditto.
4388         * tree-chrec.c: Ditto.
4389         * tree-complex.c: Ditto.
4390         * tree-data-ref.c: Ditto.
4391         * tree-dfa.c: Ditto.
4392         * tree-eh.c: Ditto.
4393         * tree-emutls.c: Ditto.
4394         * tree-if-conv.c: Ditto.
4395         * tree-inline.c: Ditto.
4396         * tree-into-ssa.c: Ditto.
4397         * tree-loop-distribution.c: Ditto.
4398         * tree-nested.c: Ditto.
4399         * tree-nrv.c: Ditto.
4400         * tree-object-size.c: Ditto.
4401         * tree-outof-ssa.c: Ditto.
4402         * tree-parloops.c: Ditto.
4403         * tree-phinodes.c: Ditto.
4404         * tree-predcom.c: Ditto.
4405         * tree-pretty-print.c: Ditto.
4406         * tree-profile.c: Ditto.
4407         * tree-scalar-evolution.c: Ditto.
4408         * tree-sra.c: Ditto.
4409         * tree-ssa-address.c: Ditto.
4410         * tree-ssa-alias.c: Ditto.
4411         * tree-ssa-ccp.c: Ditto.
4412         * tree-ssa-coalesce.c: Ditto.
4413         * tree-ssa-copy.c: Ditto.
4414         * tree-ssa-copyrename.c: Ditto.
4415         * tree-ssa-dce.c: Ditto.
4416         * tree-ssa-dom.c: Ditto.
4417         * tree-ssa-dse.c: Ditto.
4418         * tree-ssa-forwprop.c: Ditto.
4419         * tree-ssa-ifcombine.c: Ditto.
4420         * tree-ssa-live.c: Ditto.
4421         * tree-ssa-loop-ch.c: Ditto.
4422         * tree-ssa-loop-im.c: Ditto.
4423         * tree-ssa-loop-ivcanon.c: Ditto.
4424         * tree-ssa-loop-ivopts.c: Ditto.
4425         * tree-ssa-loop-manip.c: Ditto.
4426         * tree-ssa-loop-niter.c: Ditto.
4427         * tree-ssa-loop-prefetch.c: Ditto.
4428         * tree-ssa-loop-unswitch.c: Ditto.
4429         * tree-ssa-loop.c: Ditto.
4430         * tree-ssa-math-opts.c: Ditto.
4431         * tree-ssa-operands.c: Ditto.
4432         * tree-ssa-phiopt.c: Ditto.
4433         * tree-ssa-phiprop.c: Ditto.
4434         * tree-ssa-pre.c: Ditto.
4435         * tree-ssa-propagate.c: Ditto.
4436         * tree-ssa-reassoc.c: Ditto.
4437         * tree-ssa-sccvn.c: Ditto.
4438         * tree-ssa-sink.c: Ditto.
4439         * tree-ssa-strlen.c: Ditto.
4440         * tree-ssa-structalias.c: Ditto.
4441         * tree-ssa-tail-merge.c: Ditto.
4442         * tree-ssa-ter.c: Ditto.
4443         * tree-ssa-threadedge.c: Ditto.
4444         * tree-ssa-threadupdate.c: Ditto.
4445         * tree-ssa-uncprop.c: Ditto.
4446         * tree-ssa-uninit.c: Ditto.
4447         * tree-ssa.c: Ditto.
4448         * tree-ssanames.c: Ditto.
4449         * tree-stdarg.c: Ditto.
4450         * tree-streamer-in.c: Ditto.
4451         * tree-streamer-out.c: Ditto.
4452         * tree-streamer.c: Ditto.
4453         * tree-switch-conversion.c: Ditto.
4454         * tree-tailcall.c: Ditto.
4455         * tree-vect-data-refs.c: Ditto.
4456         * tree-vect-generic.c: Ditto.
4457         * tree-vect-loop-manip.c: Ditto.
4458         * tree-vect-loop.c: Ditto.
4459         * tree-vect-patterns.c: Ditto.
4460         * tree-vect-slp.c: Ditto.
4461         * tree-vect-stmts.c: Ditto.
4462         * tree-vectorizer.c: Ditto.
4463         * tree-vrp.c: Ditto.
4464         * tree.c: Ditto.
4465         * tsan.c: Ditto.
4466         * ubsan.c: Ditto.
4467         * valtrack.c: Ditto.
4468         * valtrack.h: Ditto.
4469         * value-prof.c: Ditto.
4470         * var-tracking.c: Ditto.
4471         * varasm.c: Ditto.
4472         * varpool.c: Ditto.
4473         * vtable-verify.c: Ditto.
4474         * web.c: Ditto.
4475         * config/aarch64/aarch64-builtins.c: Ditto.
4476         * config/aarch64/aarch64.c: Ditto.
4477         * config/alpha/alpha.c: Ditto.
4478         * config/arc/arc.c: Ditto.
4479         * config/arm/arm.c: Ditto.
4480         * config/avr/avr.c: Ditto.
4481         * config/bfin/bfin.c: Ditto.
4482         * config/c6x/c6x.c: Ditto.
4483         * config/cr16/cr16.c: Ditto.
4484         * config/cris/cris.c: Ditto.
4485         * config/darwin-c.c: Ditto.
4486         * config/darwin.c: Ditto.
4487         * config/epiphany/epiphany.c: Ditto.
4488         * config/epiphany/mode-switch-use.c: Ditto.
4489         * config/epiphany/resolve-sw-modes.c: Ditto.
4490         * config/fr30/fr30.c: Ditto.
4491         * config/frv/frv.c: Ditto.
4492         * config/h8300/h8300.c: Ditto.
4493         * config/i386/i386.c: Ditto.
4494         * config/i386/winnt.c: Ditto.
4495         * config/ia64/ia64.c: Ditto.
4496         * config/iq2000/iq2000.c: Ditto.
4497         * config/lm32/lm32.c: Ditto.
4498         * config/m32c/m32c.c: Ditto.
4499         * config/m32r/m32r.c: Ditto.
4500         * config/m68k/m68k.c: Ditto.
4501         * config/mcore/mcore.c: Ditto.
4502         * config/mep/mep.c: Ditto.
4503         * config/microblaze/microblaze.c: Ditto.
4504         * config/mips/mips.c: Ditto.
4505         * config/mmix/mmix.c: Ditto.
4506         * config/mn10300/mn10300.c: Ditto.
4507         * config/moxie/moxie.c: Ditto.
4508         * config/msp430/msp430.c: Ditto.
4509         * config/nds32/nds32-cost.c: Ditto.
4510         * config/nds32/nds32-fp-as-gp.c: Ditto.
4511         * config/nds32/nds32-intrinsic.c: Ditto.
4512         * config/nds32/nds32-isr.c: Ditto.
4513         * config/nds32/nds32-md-auxiliary.c: Ditto.
4514         * config/nds32/nds32-memory-manipulation.c: Ditto.
4515         * config/nds32/nds32-pipelines-auxiliary.c: Ditto.
4516         * config/nds32/nds32-predicates.c: Ditto.
4517         * config/nds32/nds32.c: Ditto.
4518         * config/nios2/nios2.c: Ditto.
4519         * config/pa/pa.c: Ditto.
4520         * config/pdp11/pdp11.c: Ditto.
4521         * config/rl78/rl78.c: Ditto.
4522         * config/rs6000/rs6000.c: Ditto.
4523         * config/rx/rx.c: Ditto.
4524         * config/s390/s390.c: Ditto.
4525         * config/sh/sh-mem.cc: Ditto.
4526         * config/sh/sh.c: Ditto.
4527         * config/sh/sh_optimize_sett_clrt.cc: Ditto.
4528         * config/sh/sh_treg_combine.cc: Ditto.
4529         * config/sparc/sparc.c: Ditto.
4530         * config/spu/spu.c: Ditto.
4531         * config/stormy16/stormy16.c: Ditto.
4532         * config/tilegx/tilegx.c: Ditto.
4533         * config/tilepro/tilepro.c: Ditto.
4534         * config/v850/v850.c: Ditto.
4535         * config/vax/vax.c: Ditto.
4536         * config/xtensa/xtensa.c: Ditto.
4538 2014-10-27  Alan Lawrence  <alan.lawrence@arm.com>
4540         * config/aarch64/aarch64.c (TARGET_GIMPLE_FOLD_BUILTIN): Comment out.
4541         * config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
4542         Remove using preprocessor directives.
4544 2014-10-27  Richard Biener  <rguenther@suse.de>
4546         * match.pd (0 % X): Properly use the iterator iterating over
4547         all modulo operators.
4548         (X % 1): Likewise.
4550 2014-10-27  Richard Biener  <rguenther@suse.de>
4552         * tree-ssa-forwprop.c: Include tree-cfgcleanup.h and tree-into-ssa.h.
4553         (lattice): New global.
4554         (fwprop_ssa_val): New function.
4555         (fold_all_stmts): Likewise.
4556         (pass_forwprop::execute): Finally fold all stmts.
4558 2014-10-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
4560         PR c++/53061
4561         * doc/invoke.texi (fmessage-length): Update text to match reality.
4563 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4565         * config/microblaze/microblaze.c: Include rtl-iter.h.
4566         (microblaze_tls_referenced_p_1): Delete.
4567         (microblaze_tls_referenced_p): Use FOR_EACH_SUBRTX.
4569 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4571         * config/mips/mips.c (mips_at_reg_p): Delete.
4572         (mips_need_noat_wrapper_p): Use FOR_EACH_SUBRTX.
4574 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4576         * config/mips/mips.c (mips_record_lo_sum): Replace with...
4577         (mips_record_lo_sums): ...this new function.
4578         (mips_reorg_process_insns): Update accordingly.
4580 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4582         * config/mips/mips.c (mips_sim_insn): Update comment.
4583         (mips_sim_wait_regs_2): Delete.
4584         (mips_sim_wait_regs_1): Use FOR_EACH_SUBRTX_VAR.
4586 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4588         * config/mips/mips.c (r10k_needs_protection_p_call): Take a const_rtx
4589         and return a bool.  Iterate over all subrtxes here.
4590         (r10k_needs_protection_p): Update accordingly.
4592 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4594         * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx
4595         rather than an rtx pointer.  Change type of insn from "void *"
4596         to its real type.  Return bool rather than int.  Iterate over
4597         all subrtxes here.
4598         (r10k_needs_protection_p_store): Update accordingly.
4599         (r10k_needs_protection_p): Likewise.
4601 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4603         * config/mips/mips.c (mips16_rewrite_pool_refs_info): Delete.
4604         (mips16_rewrite_pool_refs): Take the insn and constant pool as
4605         parameters.  Iterate over the instruction's pattern and return void.
4606         (mips16_lay_out_constants): Update accordingly.
4608 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4610         * config/mips/mips.c (mips_kernel_reg_p): Replace with...
4611         (mips_refers_to_kernel_reg_p): ...this new function.
4612         (mips_expand_prologue): Update accordingly.
4614 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4616         * config/mips/mips.c (mips_rewrite_small_data_1): Take the context
4617         as a parameter instead of the containing MEM.  Iterate over all
4618         subrtxes.  Don't return a value.
4619         (mips_rewrite_small_data): Update call accordingly.
4621 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4623         * config/mips/mips.c: Include rtl-iter.h.
4624         (mips_small_data_pattern_1): Take an rtx rather than an rtx pointer.
4625         Take the context as a parameter instead of the containing MEM.
4626         Iterate over all subrtxes.
4627         (mips_small_data_pattern_p): Update call accordingly.
4629 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4631         * config/mep/mep.c (mep_mul_hilo_bypass_1): Delete.
4632         (mep_mul_hilo_bypass_p): Use FOR_EACH_SUBRTX.
4634 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4636         * config/mep/mep.c (mep_store_find_set): Take a const_rtx and
4637         return a bool.  Replace "void *" with specific type.  Iterate
4638         over all subrtxes.
4639         (mep_store_data_bypass_1): Update calls accordingly.
4641 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4643         * config/mep/mep.c: Include rtl-iter.h.
4644         (global_reg_mentioned_p_1): Take a const_rtx and return a bool.
4645         (xtensa_tls_referenced_p): Return a bool.  Use FOR_EACH_SUBRTX.
4647 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4649         * config/xtensa/xtensa.c: Include rtl-iter.h.
4650         (xtensa_tls_referenced_p_1): Delete.
4651         (xtensa_tls_referenced_p): Use FOR_EACH_SUBRTX.
4653 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4655         * config/sh/sh.c (sh_contains_memref_p_1): Delete.
4656         (sh_contains_memref_p): Use FOR_EACH_SUBRTX.
4658 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4660         * config/sh/sh-protos.h (shmedia_cleanup_truncate): Take an
4661         rtx as argument and return the number of changes.
4662         * config/sh/sh.c: Include rtl-iter.h.
4663         (shmedia_cleanup_truncate): Take an rtx as argument and iterate
4664         over all subrtxes.  Return the number of changes made.
4665         * config/sh/sh.md: Update caller accordingly.
4667 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4669         * config/m68k/m68k.c (m68k_tls_reference_p_1): Delete.
4670         (m68k_tls_reference_p): Use FOR_EACH_SUBRTX_VAR.
4672 2014-10-26  Richard Sandiford  <richard.sandiford@arm.com>
4674         * config/m68k/m68k.c: Include rtl-iter.h.
4675         (m68k_final_prescan_insn_1): Delete.
4676         (m68k_final_prescan_insn): Use FOR_EACH_SUBRTX_VAR.
4678 2014-10-25  Jakub Jelinek  <jakub@redhat.com>
4680         PR tree-optimization/63641
4681         * tree-ssa-reassoc.c (optimize_range_tests_to_bit_test): Set high
4682         to low + prec - 1 - clz (mask) instead of low + prec - clz (mask).
4684 2014-10-25  Alan Modra  <amodra@gmail.com>
4686         PR rtl-optimization/63615
4687         * simplify-rtx.c (simplify_plus_minus): Set "canonicalized" on
4688         decomposing PLUS or MINUS if operands are not placed adjacent
4689         in the "ops" array.
4691 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
4693         * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Do
4694         not allow e500 double in registers not satisyfing
4695         SPE_SIMD_REGNO_P.
4697 2014-10-24  Aldy Hernandez  <aldyh@redhat.com>
4699         * dwarf2out.c (declare_in_namespace): Only emit external
4700         declarations in the local scope once.
4702 2014-10-24  Jonathan Wakely  <jwakely@redhat.com>
4704         * ginclude/stdbool.h: Do not define bool, true or false in C++11.
4706 2014-10-24  Charles Baylis  <charles.baylis@linaro.org>
4708         * config/aarch64/arm_neon.h (__LD2_LANE_FUNC): Rewrite using builtins,
4709         update uses to use new macro arguments.
4710         (__LD3_LANE_FUNC): Likewise.
4711         (__LD4_LANE_FUNC): Likewise.
4713 2014-10-24  Charles Baylis  <charles.baylis@linaro.org>
4715         * config/aarch64/aarch64-builtins.c
4716         (aarch64_types_loadstruct_lane_qualifiers): Define.
4717         * config/aarch64/aarch64-simd-builtins.def (ld2_lane, ld3_lane,
4718         ld4_lane): New builtins.
4719         * config/aarch64/aarch64-simd.md (aarch64_vec_load_lanesoi_lane<mode>):
4720         New pattern.
4721         (aarch64_vec_load_lanesci_lane<mode>): Likewise.
4722         (aarch64_vec_load_lanesxi_lane<mode>): Likewise.
4723         (aarch64_ld2_lane<mode>): New expand.
4724         (aarch64_ld3_lane<mode>): Likewise.
4725         (aarch64_ld4_lane<mode>): Likewise.
4726         * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
4727         UNSPEC_LD2_LANE, UNSPEC_LD3_LANE, UNSPEC_LD4_LANE.
4729 2014-10-24  Georg-Johann Lay  <avr@gjlay.de>
4731         * avr-protos.h (avr_out_sign_extend): New.
4732         * avr.c (avr_adjust_insn_length) [ADJUST_LEN_SEXT]: Handle.
4733         (avr_out_sign_extend): New function.
4734         * avr.md (extendqihi2, extendqipsi2, extendqisi2, extendhipsi2)
4735         (extendhisi2, extendpsisi2): Use it.
4736         (adjust_len) [sext]: New.
4738 2014-10-24  Martin Liska  <mliska@suse.cz>
4740         * ipa-icf.c (sem_function::compare_phi_node): PHI result comparison
4741         added.
4743 2014-10-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4745         * config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Define.
4746         (LINK_SPEC): Include CA53_ERR_835769_SPEC.
4747         * config/aarch64/aarch64-linux.h (CA53_ERR_835769_SPEC): Define.
4748         (LINK_SPEC): Include CA53_ERR_835769_SPEC.
4750 2014-10-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4752         * config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Wrap definition in
4753         do while (0).
4754         * config/aarch64/aarch64.c (is_mem_p): Delete.
4755         (is_memory_op): Rename to...
4756         (has_memory_op): ... This.  Use FOR_EACH_SUBRTX.
4757         (dep_between_memop_and_curr): Assert that the input is a SET.
4758         (aarch64_madd_needs_nop): Add comment.  Do not call
4759         dep_between_memop_and_curr on NULL body.
4760         (aarch64_final_prescan_insn): Add comment.
4761         Include rtl-iter.h.
4763 2014-10-24  Richard Biener  <rguenther@suse.de>
4765         * Makefile.in (BUILD_CPPLIB): Move $(LIBINTL) $(LIBICONV)
4766         to genmatch BUILD_LIBS instead.
4768 2014-10-24  Richard Biener  <rguenther@suse.de>
4770         * genmatch.c (expr::gen_transform): Use fold_buildN_loc
4771         and build_call_expr_loc.
4772         (dt_simplify::gen): Drop non_lvalue for GIMPLE, use
4773         non_lvalue_loc to build it for GENERIC.
4774         (decision_tree::gen_generic): Add location argument to
4775         generic_simplify prototype.
4776         (capture_info): New class.
4777         (capture_info::capture_info): New constructor.
4778         (capture_info::walk_match): New method.
4779         (capture_info::walk_result): New method.
4780         (capture_info::walk_c_expr): New method.
4781         (dt_simplify::gen): Handle preserving side-effects for
4782         GENERIC code generation.
4783         (decision_tree::gen_generic): Do not reject operands
4784         with TREE_SIDE_EFFECTS.
4785         * generic-match.h: New file.
4786         * generic-match-head.c: Include generic-match.h, not gimple-match.h.
4787         * match.pd: Add some constant folding patterns from fold-const.c.
4788         * fold-const.c: Include generic-match.h.
4789         (fold_unary_loc): Dispatch to generic_simplify.
4790         (fold_ternary_loc): Likewise.
4791         (fold_binary_loc): Likewise.  Remove patterns now implemented
4792         by generic_simplify.
4793         * gimple-fold.c (replace_stmt_with_simplification): New function.
4794         (fold_stmt_1): Add valueize parameter, dispatch to gimple_simplify.
4795         (no_follow_ssa_edges): New function.
4796         (fold_stmt): New overload with valueization hook.  Use
4797         no_follow_ssa_edges for the overload without hook.
4798         (fold_stmt_inplace): Likewise.
4799         * gimple-fold.h (no_follow_ssa_edges): Declare.
4801 2014-10-24  Felix Yang  <felix.yang@huawei.com>
4802         Jiji Jiang  <jiangjiji@huawei.com>
4804         PR target/63173
4805         * config/aarch64/arm_neon.h (__LD2R_FUNC): Remove macro.
4806         (__LD3R_FUNC): Ditto.
4807         (__LD4R_FUNC): Ditto.
4808         (vld2_dup_s8, vld2_dup_s16, vld2_dup_s32, vld2_dup_f32, vld2_dup_f64,
4809          vld2_dup_u8, vld2_dup_u16, vld2_dup_u32, vld2_dup_p8, vld2_dup_p16
4810          vld2_dup_s64, vld2_dup_u64, vld2q_dup_s8, vld2q_dup_p8,
4811          vld2q_dup_s16, vld2q_dup_p16, vld2q_dup_s32, vld2q_dup_s64,
4812          vld2q_dup_u8, vld2q_dup_u16, vld2q_dup_u32, vld2q_dup_u64
4813          vld2q_dup_f32, vld2q_dup_f64): Rewrite using builtin functions.
4814         (vld3_dup_s64, vld3_dup_u64, vld3_dup_f64, vld3_dup_s8
4815          vld3_dup_p8, vld3_dup_s16, vld3_dup_p16, vld3_dup_s32
4816          vld3_dup_u8, vld3_dup_u16, vld3_dup_u32, vld3_dup_f32
4817          vld3q_dup_s8, vld3q_dup_p8, vld3q_dup_s16, vld3q_dup_p16
4818          vld3q_dup_s32, vld3q_dup_s64, vld3q_dup_u8, vld3q_dup_u16
4819          vld3q_dup_u32, vld3q_dup_u64, vld3q_dup_f32, vld3q_dup_f64): Likewise.
4820         (vld4_dup_s64, vld4_dup_u64, vld4_dup_f64, vld4_dup_s8
4821          vld4_dup_p8, vld4_dup_s16, vld4_dup_p16, vld4_dup_s32
4822          vld4_dup_u8, vld4_dup_u16, vld4_dup_u32, vld4_dup_f32
4823          vld4q_dup_s8, vld4q_dup_p8, vld4q_dup_s16, vld4q_dup_p16
4824          vld4q_dup_s32, vld4q_dup_s64, vld4q_dup_u8, vld4q_dup_u16
4825          vld4q_dup_u32, vld4q_dup_u64, vld4q_dup_f32, vld4q_dup_f64): Likewise.
4826         * config/aarch64/aarch64.md (define_c_enum "unspec"): Add
4827         UNSPEC_LD2_DUP, UNSPEC_LD3_DUP, UNSPEC_LD4_DUP.
4828         * config/aarch64/aarch64-simd-builtins.def (ld2r, ld3r, ld4r): New
4829         builtins.
4830         * config/aarch64/aarch64-simd.md (aarch64_simd_ld2r<mode>): New pattern.
4831         (aarch64_simd_ld3r<mode>): Likewise.
4832         (aarch64_simd_ld4r<mode>): Likewise.
4833         (aarch64_ld2r<mode>): New expand.
4834         (aarch64_ld3r<mode>): Likewise.
4835         (aarch64_ld4r<mode>): Likewise.
4837 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4839         * rtlanal.c (get_base_term): Handle SCRATCH.
4841 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4843         * haifa-sched.c (sched_init): Disable max_issue when scheduling for
4844         register pressure.
4846 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4848         * haifa-sched.c (cached_first_cycle_multipass_dfa_lookahead,)
4849         (cached_issue_rate): Remove.  Use dfa_lookahead and issue_rate instead.
4850         (max_issue, choose_ready, sched_init): Update.
4852 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4854         * sched-int.h (struct _haifa_insn_data:last_rfs_win): New field.
4855         * haifa-sched.c (INSN_LAST_RFS_WIN): New access macro.
4856         (rfs_result): Set INSN_LAST_RFS_WIN.  Update signature.
4857         (rank_for_schedule): Update calls to rfs_result to pass new parameters.
4858         (print_rank_for_schedule_stats): Print out elements of ready list that
4859         ended up on their respective places due to each of the sorting
4860         heuristics.
4861         (ready_sort): Update.
4862         (debug_ready_list_1): Improve printout for SCHED_PRESSURE_MODEL.
4863         (schedule_block): Update.
4865 2014-10-24  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
4867         * haifa-sched.c (sched_class_regs_num, call_used_regs_num): New static
4868         arrays.  Use sched_class_regs_num instead of ira_class_hard_regs_num.
4869         (print_curr_reg_pressure, setup_insn_reg_pressure_info,)
4870         (model_update_pressure, model_spill_cost): Use sched_class_regs_num.
4871         (model_start_schedule): Update.
4872         (sched_pressure_start_bb): New static function.  Calculate
4873         sched_class_regs_num.
4874         (schedule_block): Use it.
4875         (alloc_global_sched_pressure_data): Calculate call_used_regs_num.
4877 2014-10-24  Richard Biener  <rguenther@suse.de>
4879         * Makefile.in (BUILD_CPPLIB): When in stage2+ use the
4880         host library and make sure to pull in the required libintl
4881         and libiconv dependencies.
4883 2014-10-24  Richard Biener  <rguenther@suse.de>
4885         * fold-const.c (fold_binary_loc): Fix copy-and-pasto.
4887 2014-10-24  Markus Trippelsdorf  <markus@trippelsdorf.de>
4889         PR bootstrap/63632
4890         * collect2.c (main): Filter out -fno-lto.
4892 2014-10-24  Martin Liska  <mliska@suse.cz>
4894         * ipa-icf.c (sem_item_optimizer::parse_nonsingleton_classes): Guard
4895         division by zero in dumps.
4896         (sem_item_optimizer::merge_classes): Ditto.
4898 2014-10-23  John David Anglin  <danglin@gcc.gnu.org>
4900         * config/pa/pa.c (pa_can_combine_p): Fix typo in last change.
4902 2014-10-23  Ian Lance Taylor  <iant@google.com>
4904         * tree-vrp.c (extract_range_from_assert): Fix typo in comment.
4906 2014-10-23  Ian Lance Taylor  <iant@google.com>
4908         * config/mep/mep.h (TARGET_HAS_F_SETLKW): Don't undefine.
4910 2014-10-23  Jakub Jelinek  <jakub@redhat.com>
4912         PR debug/63623
4913         * var-tracking.c (stack_adjust_offset_pre_post_cb): New function.
4914         (stack_adjust_offset_pre_post): Use it through for_each_inc_dec,
4915         instead of only handling autoinc in dest if it is a MEM.
4916         (vt_stack_adjustments): Fix up formatting.
4918 2014-10-23  DJ Delorie  <dj@redhat.com>
4920         * config/msp430/msp430.c (msp430_print_operand): 'x' modifier is
4921         independend of -mlarge.
4922         * config/msp430/constraints.md (Ys): Update comment.
4924 2014-10-23  Evgeny Stupachenko  <evstupac@gmail.com>
4926         PR target/63534
4927         PR target/63618
4928         * cse.c (delete_trivially_dead_insns): Consider PIC register is used
4929         while it is pseudo.
4930         * dse.c (deletable_insn_p): Likewise.
4932 2014-10-23  Georg-Johann Lay  <avr@gjlay.de>
4934         * config/avr/avr.c: Fix GNU coding rules and typos.
4935         * config/avr/avr.h: Dito.
4936         * config/avr/avr-c.c: Dito.
4937         * config/avr/avr.md: Dito.
4939 2014-10-23  Kirill Yukhin  <kirill.yukhin@intel.com>
4941         * config/i386/sse.md (define_mode_iterator VI1248_AVX512VL_AVX512BW):
4942         New.
4943         (define_insn "*abs<mode>2"): Use VI1248_AVX512VL_AVX512BW mode
4944         iterator.
4945         (define_expand "abs<mode>2"): Ditto.
4947 2014-10-23  Kirill Yukhin  <kirill.yukhin@intel.com>
4949         * tree-core.h (tree_var_decl): Extend `function_code' field
4950         by one bit, move `regdecl_flag' field to ...
4951         (tree_decl_with_vis): Here.
4952         * tree.h (DECL_STATIC_CHAIN): Update struct name.
4954 2014-10-23  Richard Biener  <rguenther@suse.de>
4956         * Makefile.in (BUILD_CPPLIB): Add.
4957         (build/genmatch$(build_exeext)): Use BUILD_CPPLIB, not CPPLIB.
4958         Drop LIBIBERTY.
4960 2014-10-23  Richard Biener  <rguenther@suse.de>
4962         * fold-const.c (fold_binary_loc): Preserve side-effects of
4963         X - X when simplifying to 0.
4964         * stor-layout.c (finish_bitfield_representative): Strip
4965         side-effects of evaluating the difference of two DECL_FIELD_OFFSET.
4967 2014-10-22  Richard Biener  <rguenther@suse.de>
4968             Tobias Burnus <burnus@net-b.de>
4970         PR lto/63603
4971         * gcc.c (LINK_COMMAND_SPEC): Add %{fno-lto}.
4973 2014-10-22  Dehao Chen  <dehao@google.com>
4975         * auto-profile.c: Change order of header files.
4977 2014-10-22  Guozhi Wei  <carrot@google.com>
4979         PR tree-optimization/63530
4980         tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Set
4981         pointer alignment according to DR_MISALIGNMENT.
4983 2014-10-22  David Malcolm  <dmalcolm@redhat.com>
4985         * ipa-icf.c (ipa_icf_driver): Set optimizer to NULL when done.
4987 2014-10-22  Andrew MacLeod  <amacleod@redhat.com>
4989         * cfgbuild.h: New.  Add prototypes for cfgbuild.c.
4990         * cfgcleanup.h: New.  Add prototypes for cfgcleanup.c.
4991         * cfgloopmanip.h: New.  Add prototypes for cfgloopmanip.c.
4992         * dominance.h: New.  Add prototypes for dominance.c.
4993         * cfgloop.h: Move some prototypes/enum to cfgloopmanip.h and include it.
4994         * cfghooks.h: (struct profile_record) Relocate here.
4995         Relocate 2 prototypes from basic-block.h.
4996         * basic-block.h: Move prototypes and struct to new header files.
4997         Include cfgbuild.h, cfgcleanup.h, and dominance.h.
4998         * rtl.h: Move a few prototypes to new header files.
4999         * cfgcleanup.c (merge_memattrs): Make static.
5000         * genopinit.c (main): Add predict.h to list of includes.
5001         * predict.h: Update prototype list to match predict.c.
5002         * predict.c (maybe_hot_count_p): Export.
5003         (cgraph_edge::maybe_hot_p): Move to cgraph.c.
5004         (cgraph_node::optimize_for_size_p): Move to cgraph.h.
5005         * cgraph.h (cgraph_node::optimize_for_size_p): Relocate here.
5006         * cgraph.c (cgraph_edge::maybe_hot_p): Relocate here.
5007         * profile.h: Adjust prototypes.
5008         * ifcvt.h: New.  Relocate struct ce_if_block here.
5009         * ifcvt.c: Include ifcvt.h.
5010         * config/frv/frv.c: Include ifcvt.h.
5011         * config/frv/frv-protos.h: Add 'struct' to ce_if_block * parameters.
5013 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
5015         * lra.c (lra): Remove call to recog_init.
5016         * config/i386/i386.md (preferred_for_speed): New attribute
5017         (*float<SWI48:mode><MODEF:mode>2_sse): Override it instead of
5018         "enabled".  Remove check for sched1.
5020 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
5022         * recog.h (recog_data_d): Remove enabled_alternatives.
5023         * recog.c (extract_insn): Don't set it.
5024         * reload.c (find_reloads): Call get_enabled_alternatives.
5026 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
5028         * recog.h (constrain_operands): Add an alternative_mask parameter.
5029         (constrain_operands_cached): Likewise.
5030         (get_preferred_alternatives): Declare new form.
5031         * recog.c (get_preferred_alternatives): New bb-taking instance.
5032         (constrain_operands): Take the set of available alternatives as
5033         a parameter.
5034         (check_asm_operands, insn_invalid_p, extract_constrain_insn)
5035         (extract_constrain_insn_cached): Update calls to constrain_operands.
5036         * caller-save.c (reg_save_code): Likewise.
5037         * ira.c (setup_prohibited_mode_move_regs): Likewise.
5038         * postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
5039         * ree.c (combine_reaching_defs): Likewise.
5040         * reload.c (can_reload_into): Likewise.
5041         * reload1.c (reload, reload_as_needed, inc_for_reload): Likewise.
5042         (gen_reload_chain_without_interm_reg_p, emit_input_reload_insns)
5043         (emit_insn_if_valid_for_reload): Likewise.
5044         * reorg.c (fill_slots_from_thread): Likewise.
5045         * config/i386/i386.c (ix86_attr_length_address_default): Likewise.
5046         * config/pa/pa.c (pa_can_combine_p): Likewise.
5047         * config/rl78/rl78.c (insn_ok_now): Likewise.
5048         * config/sh/sh.md (define_peephole2): Likewise.
5049         * final.c (final_scan_insn): Update call to constrain_operands_cached.
5051 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
5053         * doc/md.texi: Document "preferred_for_size" and "preferred_for_speed"
5054         attributes.
5055         * genattr.c (main): Handle "preferred_for_size" and
5056         "preferred_for_speed" in the same way as "enabled".
5057         * recog.h (bool_attr): New enum.
5058         (target_recog): Replace x_enabled_alternatives with x_bool_attr_masks.
5059         (get_preferred_alternatives, check_bool_attrs): Declare.
5060         * recog.c (have_bool_attr, get_bool_attr, get_bool_attr_mask_uncached)
5061         (get_bool_attr_mask, get_preferred_alternatives, check_bool_attrs):
5062         New functions.
5063         (get_enabled_alternatives): Use get_bool_attr_mask.
5064         * ira-costs.c (record_reg_classes): Use get_preferred_alternatives
5065         instead of recog_data.enabled_alternatives.
5066         * ira.c (ira_setup_alts): Likewise.
5067         * postreload.c (reload_cse_simplify_operands): Likewise.
5068         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
5069         * ira-lives.c (preferred_alternatives): New variable.
5070         (process_bb_node_lives): Set it.
5071         (check_and_make_def_conflict, make_early_clobber_and_input_conflicts)
5072         (single_reg_class, ira_implicitly_set_insn_hard_regs): Use it instead
5073         of recog_data.enabled_alternatives.
5074         * lra-int.h (lra_insn_recog_data): Replace enabled_alternatives
5075         to preferred_alternatives.
5076         * lra-constraints.c (process_alt_operands): Update accordingly.
5077         * lra.c (lra_set_insn_recog_data): Likewise.
5078         (lra_update_insn_recog_data): Assert check_bool_attrs.
5080 2014-10-22  Richard Sandiford  <richard.sandiford@arm.com>
5082         * recog.h (extract_constrain_insn): Declare.
5083         * recog.c (extract_constrain_insn): New function.
5084         * lra.c (check_rtl): Use it.
5085         * postreload.c (reload_cse_simplify_operands): Likewise.
5086         * reg-stack.c (check_asm_stack_operands): Likewise.
5087         (subst_asm_stack_regs): Likewise.
5088         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
5089         * regrename.c (build_def_use): Likewise.
5090         * sel-sched.c (get_reg_class): Likewise.
5091         * config/arm/arm.c (note_invalid_constants): Likewise.
5092         * config/s390/predicates.md (execute_operation): Likewise.
5094 2014-10-22  Jakub Jelinek  <jakub@redhat.com>
5095             Yury Gribov  <y.gribov@samsung.com>
5097         * common.opt (flag_sanitize_recover): New variable.
5098         (fsanitize-recover): Remove Var/Init, deprecate.
5099         (fsanitize-recover=): New option.
5100         * doc/invoke.texi (fsanitize-recover): Update docs.
5101         * opts.c (finish_options): Use opts->x_flag_sanitize
5102         instead of flag_sanitize.  Prohibit -fsanitize-recover
5103         for anything besides UBSan.  Formatting.
5104         (common_handle_option): Handle OPT_fsanitize_recover_
5105         and OPT_fsanitize_recover.  Use opts->x_flag_sanitize
5106         instead of flag_sanitize.
5107         * asan.c (pass_sanopt::execute): Fix up formatting.
5108         * ubsan.c (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn,
5109         ubsan_expand_objsize_ifn, ubsan_build_overflow_builtin,
5110         instrument_bool_enum_load, ubsan_instrument_float_cast,
5111         instrument_nonnull_arg, instrument_nonnull_return): Check
5112         bits in flag_sanitize_recover bitmask instead of
5113         flag_sanitize_recover as bool flag.
5115 2014-10-22  Jiong Wang <jiong.wang@arm.com>
5117         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add missing '\'.
5119 2014-10-22  Renlin Li <renlin.li@arm.com>
5121         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
5122         __ARM_FEATURE_IDIV__.
5124 2014-10-22  Richard Biener  <rguenther@suse.de>
5126         * Makefile.in (s-match): Adjust dependencies to only catch
5127         match.pd.
5129 2014-10-22  Richard Biener  <rguenther@suse.de>
5130         Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
5132         * Makefile.in (OBJS): Add gimple-match.o and generic-match.o.
5133         (MOSTLYCLEANFILES): Add gimple-match.c and generic-match.c.
5134         (gimple-match.c): Generate by triggering s-match.
5135         (generic-match.c): Likewise.
5136         (s-match): Rule to build gimple-match.c and generic-match.c
5137         by running the genmatch generator program.
5138         (build/hash-table.o): Dependencies to build hash-table.c for the host.
5139         (build/genmatch.o): Dependencies to build genmatch.
5140         (genprog): Add match.
5141         (build/genmatch): Likewise.
5142         (TEXI_GCCINT_FILES): Add match-and-simplify.texi.
5143         * generic-match-head.c: New file.
5144         * gimple-match-head.c: Likewise.
5145         * gimple-match.h: Likewise.
5146         * genmatch.c: Likewise.
5147         * match.pd: Likewise.
5148         * builtins.h (fold_builtin_n): Export.
5149         * builtins.c (fold_builtin_n): Likewise.
5150         * gimple-fold.h (gimple_build): Declare various overloads.
5151         (gimple_simplify): Likewise.
5152         (gimple_convert): Re-implement in terms of gimple_build.
5153         * gimple-fold.c (gimple_convert): Remove.
5154         (gimple_build): New functions.
5155         * doc/match-and-simplify.texi: New file.
5156         * doc/gccint.texi: Add menu item Match and Simplify and include
5157         match-and-simplify.texi.
5159 2014-10-22  Jakub Jelinek  <jakub@redhat.com>
5161         PR target/63594
5162         * config/i386/i386.c (ix86_expand_vector_init_duplicate): For
5163         V{8HI,16QI,16HI,32QI}mode call ix86_vector_duplicate_value
5164         even for just TARGET_AVX2, not only for
5165         TARGET_AVX512VL && TARGET_AVX512BW.  For V{32HI,64QI}mode,
5166         call ix86_vector_duplicate_value only if TARGET_AVX512BW,
5167         otherwise build it using concatenation of 256-bit
5168         broadcast.
5169         * config/i386/sse.md (AVX_VEC_DUP_MODE): Moved after
5170         avx512 broadcast patterns.
5171         (vec_dup<mode>): Likewise.  For avx2 use
5172         v<sseintprefix>broadcast<bcstscalarsuff> instead of
5173         vbroadcast<ssescalarmodesuffix>.
5174         (AVX2_VEC_DUP_MODE): New mode iterator.
5175         (*vec_dup<mode>): New TARGET_AVX2 define_insn with
5176         AVX2_VEC_DUP_MODE iterator, add a splitter for that.
5178         PR target/63542
5179         * config/i386/i386.c (ix86_pic_register_p): Also return
5180         true if x is a hard register with ORIGINAL_REGNO equal to
5181         pic_offset_table_rtx pseudo REGNO.
5182         (ix86_delegitimize_address): For ix86_use_pseudo_pic_reg ()
5183         after reload, subtract GOT_SYMBOL_NAME symbol if possible.
5185 2014-10-22  Alan Modra  <amodra@gmail.com>
5187         * gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
5188         * coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
5189         (gcc_obstack_init): Use obstack_specify_allocation in place of
5190         _obstack_begin.
5191         * genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
5192         (regexp_representation): Likewise.
5193         * godump.c (go_output_type): Likewise.
5195 2014-10-21  John David Anglin  <danglin@gcc.gnu.org>
5197         * config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
5198         * config/pa/pa.h (TARGET_DEFAULT): Remove MASK_JUMP_IN_DELAY.
5199         * config/pa/pa.opt (mjump-in-delay): Ignore option.  Update comment.
5201 2014-10-21 Manuel López-Ibáñez  <manu@gcc.gnu.org>
5203         * doc/invoke.texi (pedantic-errors): Explain better.
5205 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5206             Vidya Praveen <vidya.praveen@atmel.com>
5207             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5208             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5209             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5211         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Don't define
5212         __MEMX for avrtiny.
5213         * config/avr/avr.c (avr_insert_attributes): Reject __memx for avrtiny.
5214         (avr_nonconst_pointer_addrspace): Likewise.
5215         * config/avr/avr.h (AVR_HAVE_LPM): Define.
5217         Added AVRTINY architecture to avr target.
5218         * config/avr/avr-arch.h (avr_arch): Added AVRTINY architecture.
5219         (base_arch_s): member added for AVRTINY architecture.
5220         * config/avr/avr.c: Added TINY_ADIW, TINY_SBIW macros as AVRTINY
5221         alternate for adiw/sbiw instructions. Added AVR_TMP_REGNO and
5222         AVR_ZERO_REGNO macros for tmp and zero registers. Replaced TMP_REGNO
5223         and ZERO_REGNO occurrences by AVR_TMP_REGNO and AVR_ZERO_REGNO
5224         respectively. LAST_CALLEE_SAVED_REG macro added for the last register
5225         in callee saved register list.
5226         (avr_option_override): CCP address updated for AVRTINY.
5227         (avr_init_expanders): tmp and zero rtx initialized as per arch.
5228         Reset avr_have_dimode if AVRTINY.
5229         (sequent_regs_live): Use LAST_CALLEE_SAVED_REG instead magic number.
5230         (emit_push_sfr): Use AVR_TMP_REGNO for tmp register number.
5231         (avr_prologue_setup_frame): Don't minimize prologue if AVRTINY.
5232         Use LAST_CALLEE_SAVED_REG to refer last callee saved register.
5233         (expand_epilogue): Likewise.
5234         (avr_print_operand): Print CCP address in case of AVRTINY also.
5235         <TBD>bad address
5236         (function_arg_regno_p): Check different register list for arguments
5237         if AVRTINY.
5238         (init_cumulative_args): Check for AVRTINY to update number of argument
5239         registers.
5240         (tiny_valid_direct_memory_access_range): New function. Return false if
5241         direct memory access range is not in accepted range for AVRTINY.
5242         (avr_out_movqi_r_mr_reg_disp_tiny): New function to handle register
5243         indirect load (with displacement) for AVRTINY.
5244         (out_movqi_r_mr): Updated instruction length for AVRTINY. Call
5245         avr_out_movqi_r_mr_reg_disp_tiny for load from reg+displacement.
5246         (avr_out_movhi_r_mr_reg_no_disp_tiny): New function to handle register
5247         indirect load (no displacement) for AVRTINY.
5248         (avr_out_movhi_r_mr_reg_disp_tiny): New function to handle register
5249         indirect load (with displacement) for AVRTINY.
5250         (avr_out_movhi_r_mr_pre_dec_tiny): New function to handle register
5251         indirect load for pre-decrement address.
5252         (out_movhi_r_mr): In case of AVRTINY, call tiny register indirect load
5253         functions. Update instruction length for AVRTINY.
5254         (avr_out_movsi_r_mr_reg_no_disp_tiny): New function. Likewise, for
5255         SImode.
5256         (avr_out_movsi_r_mr_reg_disp_tiny): New function. Likewise, for SImode.
5257         (out_movsi_r_mr): Likewise, for SImode.
5258         (avr_out_movsi_mr_r_reg_no_disp_tiny): New function to handle register
5259         indirect store (no displacement) for AVRTINY.
5260         (avr_out_movsi_mr_r_reg_disp_tiny): New function to handle register
5261         indirect store (with displacement) for AVRTINY.
5262         (out_movsi_mr_r): Emit out insn for IO address store. Update store
5263         instruction's size for AVRTINY. For AVRTINY, call tiny SImode indirect
5264         store functions.
5265         (avr_out_load_psi_reg_no_disp_tiny): New function to handle register
5266         indirect load (no displacement) for PSImode in AVRTINY.
5267         (avr_out_load_psi_reg_disp_tiny): New function to handle register
5268         indirect load (with displacement) for PSImode in AVRTINY.
5269         (avr_out_load_psi): Call PSImode register indirect load functions for
5270         AVRTINY. Update instruction length for AVRTINY.
5271         (avr_out_store_psi_reg_no_disp_tiny): New function to handle register
5272         indirect store (no displacement) for PSImode in AVRTINY.
5273         (avr_out_store_psi_reg_disp_tiny): New function to handle register
5274         indirect store (with displacement) for PSImode in AVRTINY.
5275         (avr_out_store_psi): Update instruction length for AVRTINY. Call tiny
5276         register indirect store functions for AVRTINY.
5277         (avr_out_movqi_mr_r_reg_disp_tiny): New function to handle QImode
5278         register indirect store (with displacement) for AVRTINY.
5279         (out_movqi_mr_r): Update instruction length for AVRTINY. Call tiny
5280         register indirect store function for QImode in AVRTINY.
5281         (avr_out_movhi_mr_r_xmega): Update instruction length for AVRTINY.
5282         (avr_out_movhi_mr_r_reg_no_disp_tiny): New function to handle register
5283         indirect store (no displacement) for HImode in AVRTINY.
5284         (avr_out_movhi_mr_r_reg_disp_tiny): New function to handle register
5285         indirect store (with displacement) for HImode in AVRTINY.
5286         (avr_out_movhi_mr_r_post_inc_tiny): New function to handle register
5287         indirect store for post-increment address in HImode.
5288         (out_movhi_mr_r): Update instruction length for AVRTINY. Call tiny
5289         register indirect store function for HImode in AVRTINY.
5290         (avr_out_compare): Use TINY_SBIW/ TINY_ADIW in place of sbiw/adiw
5291         in case of AVRTINY.
5292         (order_regs_for_local_alloc): Updated register allocation order for
5293         AVRTINY.
5294         (avr_conditional_register_usage): New function. It is a target hook
5295         (TARGET_CONDITIONAL_REGISTER_USAGE) function which updates fixed, call
5296         used registers list and register allocation order for AVRTINY.
5297         (avr_return_in_memory): Update return value size for AVRTINY.
5298         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Added builtin macros
5299         for AVRTINY arch and tiny program memory base address.
5300         * config/avr/avr-devices.c (avr_arch_types): Added AVRTINY arch.
5301         (avr_texinfo): Added description for AVRTINY arch.
5302         * config/avr/avr.h: Added macro to identify AVRTINY arch. Updated
5303         STATIC_CHAIN_REGNUM for AVRTINY.
5304         * config/avr/avr-mcus.def: Added AVRTINY arch devices.
5305         * config/avr/avr.md: Added constants for tmp/ zero registers in
5306         AVRTINY. Attributes for AVRTINY added.
5307         (mov<mode>): Move src/ dest address to register if it is not in AVRTINY
5308         memory access range.
5309         (mov<mode>_insn): Avoid QImode direct load for AVRTINY if address not
5310         in AVRTINY memory access range.
5311         (*mov<mode>): Likewise for HImode and SImode.
5312         (*movsf): Likewise for SFmode.
5313         (delay_cycles_2): Updated instructions to be emitted as AVRTINY does
5314         not have sbiw.
5315         * config/avr/avr-protos.h: Added function prototype for
5316         tiny_valid_direct_memory_access_range.
5317         * config/avr/avr-tables.opt: Regenerate.
5318         * gcc/config/avr/t-multilib: Regenerate.
5319         * doc/avr-mmcu.texi: Regenerate.
5321 2014-10-21  Andrew Pinski  <apinski@cavium.com>
5323         * doc/invoke.texi (AARCH64/mtune): Document thunderx as an
5324         available option also.
5325         * config/aarch64/aarch64-cost-tables.h: New file.
5326         * config/aarch64/aarch64-cores.def (thunderx): New core.
5327         * config/aarch64/aarch64-tune.md: Regenerate.
5328         * config/aarch64/aarch64.c: Include aarch64-cost-tables.h instead
5329         of config/arm/aarch-cost-tables.h.
5330         (thunderx_regmove_cost): New variable.
5331         (thunderx_tunings): New variable.
5333 2014-10-21  Dehao Chen  <dehao@google.com>
5335         * auto-profile.c: New file.
5336         * auto-profile.h: New file.
5337         * basic-block.h (maybe_hot_count_p): New export func.
5338         (add_working_set): New export func.
5339         * gcov-io.h (GCOV_TAG_AFDO_FILE_NAMES): New tag.
5340         (GCOV_TAG_AFDO_FUNCTION): Likewise.
5341         (GCOV_TAG_AFDO_WORKING_SET): Likewise.
5342         * opts.c (enable_fdo_optimizations): New func.
5343         (common_handle_option): Handle -fauto-profile flag.
5344         * ipa-inline.c (want_early_inline_function_p): Iterative-einline.
5345         (class pass_early_inline): Export early_inliner.
5346         (early_inliner): Likewise.
5347         (pass_early_inline::execute): Likewise.
5348         * ipa-inline.h (early_inliner): Likewise.
5349         * predict.c (maybe_hot_count_p): New export func.
5350         (counts_to_freqs): AutoFDO logic.
5351         (rebuild_frequencies): Likewise.
5352         * tree-profile.c (pass_ipa_tree_profile::gate): Likewise.
5353         * profile.c (add_working_set): New func.
5354         * Makefile.in (auto-profile.o): New object file.
5355         * passes.def (pass_ipa_auto_profile): New pass.
5356         * tree-ssa-live.c (remove_unused_scope_block_p): AutoFDO logic.
5357         * tree-pass.h (make_pass_ipa_auto_profile): New pass.
5358         * toplev.c (compile_file): AutoFDO logic.
5359         * doc/invoke.texi (-fauto-profile): New doc.
5360         * coverage.c (coverage_init): AutoFDO logic.
5361         * common.opt (-fauto-profile): New flag.
5362         * timevar.def (TV_IPA_AUTOFDO): New tag.
5363         * value-prof.c (gimple_alloc_histogram_value): New export func.
5364         (check_ic_target): Likewise.
5365         * value-prof.h (gimple_alloc_histogram_value): Likewise.
5366         (check_ic_target): Likewise.
5368 2014-10-21  David Malcolm  <dmalcolm@redhat.com>
5370         * cgraph.c (cgraph_c_finalize): New function.
5371         * cgraph.h (cgraph_c_finalize): New prototype.
5372         (cgraphunit_c_finalize): New prototype.
5373         * cgraphunit.c (first_analyzed): Move from analyze_functions
5374         to file-scope.
5375         (first_analyzed_var): Likewise.
5376         (analyze_functions): Move static variables into file-scope.
5377         (cgraphunit_c_finalize): New function.
5378         * diagnostic.c (diagnostic_finish): Free the memory for
5379         context->classify_diagnostic and context->printer, running the
5380         destructor for the latter.
5381         (bt_stop): Use toplev::main.
5382         * dwarf2out.c (dwarf2out_finalize): New function.
5383         * dwarf2out.h (dwarf2out_c_finalize): New prototype.
5384         * gcse.c (gcse_c_finalize): New function.
5385         * gcse.h (gcse_c_finalize): New prototype.
5386         * ggc-page.c (init_ggc): Make idempotent.
5387         * input.c (input_location): Initialize to UNKNOWN_LOCATION.
5388         * ipa-cp.c (ipa_cp_c_finalize): New function.
5389         * ipa-prop.h (ipa_cp_c_finalize): New prototype.
5390         * ipa-pure-const.c (function_insertion_hook_holder): Move to be
5391         a field of class pass_ipa_pure_const.
5392         (node_duplication_hook_holder): Likewise.
5393         (node_removal_hook_holder): Likewise.
5394         (register_hooks): Convert to method...
5395         (pass_ipa_pure_const::register_hooks): ...here, converting
5396         static variable init_p into...
5397         (pass_ipa_pure_const::init_p): ...new field.
5398         (pure_const_generate_summary): Update invocation of
5399         register_hooks to invoke as a method of current_pass.
5400         (pure_const_read_summary): Likewise.
5401         (propagate): Convert to...
5402         (pass_ipa_pure_const::execute): ...method.
5403         * ipa-reference.c (ipa_init): Move static bool init_p from here
5404         to...
5405         (ipa_init_p): New file-scope variable, so that it can be reset
5406         when repeatedly invoking the compiler within one process by...
5407         (ipa_reference_c_finalize): New function.
5408         * ipa-reference.h (ipa_reference_c_finalize): New.
5409         * main.c (main): Replace invocation of toplev_main with
5410         construction of a toplev instance, and call its "main" method.
5411         * params.c (global_init_params): Add an assert that
5412         params_finished is false.
5413         (params_c_finalize): New.
5414         * params.h (params_c_finalize): New.
5415         * passes.c (execute_ipa_summary_passes): Set "current_pass" before
5416         invoking generate_summary, for the benefit of pass_ipa_pure_const.
5417         (ipa_write_summaries_2): Assign "pass" to "current_pass" global
5418         before calling write_summary hook.
5419         (ipa_write_optimization_summaries_1): Likewise when calling
5420         write_optimization_summary hook.
5421         (ipa_read_summaries_1): Likewise for read_summary hook.
5422         (ipa_read_optimization_summaries_1): Likewise for
5423         read_optimization_summary hook.
5424         (execute_ipa_stmt_fixups): Likewise.
5425         * stringpool.c (init_stringpool): Clean up if we're called more
5426         than once.
5427         * timevar.c (timevar_init): Ignore repeated calls.
5428         * toplev.c: Include "dwarf2out.h", "ipa-reference.h", "gcse.h",
5429         "ipa-prop.h".
5430         (general_init): Reset "input_location" to UNKNOWN_LOCATION.
5431         (initialize_rtl): Move static local "initialized_once"
5432         into file scope, and rename to...
5433         (rtl_initialized): New variable.
5434         (do_compile): Move timevar initialization from here to
5435         toplev::start_timevars.
5436         (toplev::toplev, toplev::~toplev, toplev::start_timevars,
5437         toplev::finalize): New functions.
5438         (toplev_main): Rename to...
5439         (toplev::main): ...this.
5440         * toplev.h (class toplev): New class.
5442 2014-10-21  Andrew MacLeod  <amacleod@redhat.com>
5444         * loop-doloop.c: Include loop-unroll.h.
5446 2014-10-21  Andrew MacLeod  <amacleod@redhat.com>
5448         * cfg.h: New.  Header file for cfg.c.
5449         * cfganal.h: New.  Header file for cfganal.c.
5450         * lcm.h: New.  Header file for lcm.c.
5451         * loop-unroll.h: New.  Header file for loop-unroll.h.
5452         * cfgloop.h: (unroll_loops): Remove prototype.
5453         * basic-block.h: Move prototypes and structs to new header files.
5454         Include cfg.h, cfganal.h, and lcm.h.
5455         * loop-init.c: Include loop-unroll.h.
5456         * loop-unroll.c: (referenced_in_one_insn_in_loop_p): Make static.
5457         * modulo-sched.c: Include loop-unroll.h.
5459 2014-10-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5461         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Fix creation of
5462         MARKER_BYTE_UNKNOWN markers when handling casts.
5464 2014-10-21  Richard Biener  <rguenther@suse.de>
5466         * tree-ssa-phiopt.c (value_replacement): Properly verify we
5467         are the non-singleton PHI.
5469 2014-10-21  Jakub Jelinek  <jakub@redhat.com>
5471         PR tree-optimization/63563
5472         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Bail out
5473         if either dra or drb stmts are not normal loads/stores.
5475 2014-10-21  Ilya Tocar  <ilya.tocar@intel.com>
5477         * config/i386/i386.c (expand_vec_perm_1): Fix
5478         expand_vec_perm_palignr case.
5479         * config/i386/sse.md (<ssse3_avx2>_palignr<mode>_mask): Use
5480         VI1_AVX512.
5482 2014-10-21  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5484         * cfgloopanal.c (seq_cost): Delete.
5485         * rtl.h (seq_cost): New prototype.
5486         * rtlanal.c (seq_cost): New function.
5487         * tree-ssa-loop-ivopts.c (seq_cost): Delete.
5489 2014-10-20  Andrew MacLeod  <amacleod@redhat.com>
5491         * cfgrtl.h: New.  Add prototypes for cfgrtl.c.
5492         * basic-block.h: Remove prototypes for cfgrtl.c.
5493         * cfghooks.h (cfg_layout_initialize, cfg_layout_finalize): Move
5494         prototypes to cfgrtl.h.
5495         * profile.h (profile_info): Add extern export declaration.
5496         * rtl.h: Remove prototypes for cfgrtl.h.
5497         * tree-cfg.h (gt_ggc_mx, gt_pch_nx): Move prototypes to here.
5498         * ipa-inline.c: Include profile.h.
5499         * loop-unroll.c: Ditto.
5500         * modulo-sched.c: Ditto.
5501         * postreload-gcse.c: Ditto.
5502         * predict.c: Ditto.
5503         * sched-ebb.c: Ditto.
5504         * sched-rgn.c: Ditto.
5505         * tracer.c: Ditto.
5506         * tree-ssa-loop-ivcanon.c: Ditto.
5508 2014-10-20  Richard Biener  <rguenther@suse.de>
5510         * tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping
5511         operands to get a def operand kind match.  Signal mismatches
5512         to the parent so we can try swapping its operands.
5513         (vect_build_slp_tree): Try swapping operands if they have
5514         a mismatched operand kind.
5516 2014-10-20  Alan Modra  <amodra@gmail.com>
5518         PR debug/60655
5519         * simplify-rtx.c (simplify_plus_minus): Delete unused "input_ops".
5520         Increase "ops" array size.  Correct array size tests.  Init
5521         n_constants in loop.  Break out of innermost loop when finding
5522         a trivial CONST expression.
5524 2014-10-20  Martin Liska  <mliska@suse.cz>
5526         PR ipa/63583
5527         * ipa-icf-gimple.c (func_checker::compare_gimple_asm):
5528         Gimple tempate string is compared.
5530 2014-10-20  Uros Bizjak  <ubizjak@gmail.com>
5532         * varasm.c (const_alias_set): Remove.
5533         (init_varasm_once): Remove initialization of const_alias_set.
5534         (build_constant_desc): Do not set alias set to const_alias_set.
5536 2014-10-19  Ilya Verbin  <ilya.verbin@intel.com>
5538         * configure: Regenerate.
5539         * configure.ac: Move the test for section attribute specifier "e" in GAS
5540         out to all i[34567]86-*-* | x86_64-*-* targets and add --fatal-warnings.
5541         * langhooks.c (lhd_begin_section): Set SECTION_EXCLUDE flag.
5542         * varasm.c (default_elf_asm_named_section): Guard SECTION_EXCLUDE with
5543         ifdef HAVE_GAS_SECTION_EXCLUDE.
5545 2014-10-19  Andreas Schwab  <schwab@linux-m68k.org>
5547         * doc/md.texi (RTL Template) [match_scratch]: Correct equivalent
5548         match_operand expression.
5550 2014-10-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5551             David Edelsohn  <dje.gcc@gmail.com>
5553         * config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): New
5554         function.
5555         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
5557 2014-10-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>
5559         * doc/invoke.texi (Options to Request or Suppress Warnings):
5560         Explain options precedence.
5561         (Wtrampolines): Do not indent paragraph.
5563 2014-10-18  John David Anglin  <danglin@gcc.gnu.org>
5565         * doc/invoke.texi: Update documentation of hppa -mjump-in-delay option.
5566         * config/pa/pa-protos.h (pa_following_call): Delete declaration.
5567         (pa_jump_in_call_delay): Likewise.
5568         * config/pa/pa.c (pa_option_override): Remove jump in call delay
5569         override.
5570         (pa_output_millicode_call): Remove support for jump in call delay.
5571         (pa_output_call): Likewise.
5572         (pa_jump_in_call_delay): Delete.
5573         (pa_following_call): Likewise.
5574         * config/pa/pa.md (in_call_delay): Remove jump in delay check.
5575         (uncond_branch): Remove following call check from attribute length.
5577 2014-10-18  Oleg Endo  <olegendo@gcc.gnu.org>
5579         PR target/53513
5580         * config/sh/sh-modes.def (PSI): Remove.
5581         * config/sh/sh-protos.h (get_fpscr_rtx): Remove.
5582         * config/sh/sh.c (fpscr_rtx, get_fpscr_rtx): Remove.
5583         (sh_reorg): Remove commented out FPSCR code.
5584         (fpscr_set_from_mem): Use SImode instead of PSImode.  Emit lds_fpscr
5585         insn instead of move insn.
5586         (sh_hard_regno_mode_ok): Return SImode for FPSCR.
5587         (sh_legitimate_address_p, sh_legitimize_reload_address): Remove PSImode
5588         handling.
5589         (sh_emit_mode_set): Emit lds_fpscr and sts_fpscr insns.
5590         (sh1_builtin_p): Uncomment.
5591         (SH_BLTIN_UV 25, SH_BLTIN_VU 26): New macros.
5592         (bdesc): Add __builtin_sh_get_fpscr and __builtin_sh_set_fpscr.
5593         * config/sh/sh/predicates.md (fpscr_operand): Simplify.
5594         (fpscr_movsrc_operand, fpscr_movdst_operand): New predicates.
5595         (general_movsrc_operand, general_movdst_operand): Disallow
5596         fpscr_operand.
5597         * config/sh/sh.md (FPSCR_FR): New constant.
5598         (push_fpscr): Emit sts_fpscr insn.
5599         (pop_fpscr): Emit lds_fpscr_insn.
5600         (movsi_ie): Disallow FPSCR operands.
5601         (fpu_switch, unnamed related split, extend_psi_si,
5602         truncate_si_psi): Remove insns.
5603         (lds_fpscr, sts_fpscr): New insns.
5604         (toggle_sz, toggle_pr): Use SImode for FPSCR_REG instead of PSImode.
5606 2014-10-17  Eric Botcazou  <ebotcazou@adacore.com>
5608         * ipa-inline-transform.c (master_clone_with_noninline_clones_p): New.
5609         (clone_inlined_nodes): Do not overwrite the clone if above predicate
5610         returns true.
5612 2014-10-17  Ilya Tocar  <ilya.tocar@intel.com>
5614         * config/i386/i386.c (MAX_VECT_LEN): Move earlier.
5615         (expand_vec_perm_d): Ditto.
5616         (ix86_expand_vec_perm_vpermi2): Handle V8HImode, V16HImode, V32HImode,
5617         V32HImode, V4SImode, V8SImode, V4SFmode, V8SFmode, V2DImode, V4DImode,
5618         V4DFmode.
5619         (ix86_expand_vec_perm): Update call to ix86_expand_vec_perm_vpermi2.
5620         (ix86_expand_sse_unpack): Handle V64QImode.
5621         (expand_vec_perm_blend): Update conditions for TARGET, handle
5622         V8DFmode, V16SFmode, V32HImode, V64QImode, V16SImode, V8DImode.
5623         (expand_vec_perm_pshufb): Handle V64QImode.
5624         (expand_vec_perm_1): Handle V64QImode, V32HImode, V16SImode, V16SFmode,
5625         V8DFmode, V8DImode, V4DFmode, V2DFmode, V8SFmode, V4SFmode.
5626         (ix86_expand_vec_perm_const_1): Call  ix86_expand_vec_perm_vpermi2.
5627         (ix86_vectorize_vec_perm_const_ok): Handle V32HImode, V64QImode.
5628         (ix86_expand_vecop_qihi): Handle V64QImode.
5629         * config/i386/sse.md (define_mode_iterator VI1_AVX512): New.
5630         (define_mode_iterator VEC_PERM_AVX2): Add V32HI.
5631         (define_mode_iterator VEC_PERM_CONST): Add V32HI.
5632         (define_insn "<ssse3_avx2>_pshufb<mode>3<mask_name>"): Add masking.
5633         (mul<mode>3): Use VI1_AVX512.
5634         (<sse2_avx2>_packsswb): Ditto.
5635         (<sse2_avx2>_packuswb): Ditto.
5636         (<ssse3_avx2>_pshufb<mode>3): Ditto.
5637         (<shift_insn><mode>3): Ditto.
5639 2014-10-17  Kirill Yukhin  <kirill.yukhin@intel.com>
5641         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Refactor
5642         conditions to fix bootstrap.
5644 2014-10-17  Andrew MacLeod  <amacleod@redhat.com>
5646         gcc-plugin.h:  Add tm.h and flattened includes from function.h.
5648 2014-10-17  Alexander Ivchenko  <alexander.ivchenko@intel.com>
5649             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
5650             Anna Tikhonova  <anna.tikhonova@intel.com>
5651             Ilya Tocar  <ilya.tocar@intel.com>
5652             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5653             Ilya Verbin  <ilya.verbin@intel.com>
5654             Kirill Yukhin  <kirill.yukhin@intel.com>
5655             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
5657         * config/i386/i386.c (ix86_expand_vector_init_duplicate): Handle V64QI
5658         and V32HI modes, update V8HI, V16QI, V32QI modes handling.
5659         (ix86_expand_vector_init_general): Handle V64QI and V32HI modes.
5660         * config/i386/sse.md (define_mode_iterator VI48F_512): Rename to ...
5661         (define_mode_iterator VF48_I1248): ... this. Extend to AVX-512 modes.
5662         (define_expand "vec_init<mode>"): Use VF48_I1248.
5664 2014-10-17  Alexander Ivchenko  <alexander.ivchenko@intel.com>
5665             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
5666             Anna Tikhonova  <anna.tikhonova@intel.com>
5667             Ilya Tocar  <ilya.tocar@intel.com>
5668             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5669             Ilya Verbin  <ilya.verbin@intel.com>
5670             Kirill Yukhin  <kirill.yukhin@intel.com>
5671             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
5673         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Extend
5674         expand_sse2_mulvxdi3.
5676 2014-10-17  Richard Biener  <rguenther@suse.de>
5678         * fold-const.c (fold_comparison): Remove redundant constant
5679         folding and operand swapping.
5680         (fold_binary_loc): Do comparison operand swapping here.
5681         (fold_ternary_loc): Canonicalize operand order for
5682         commutative ternary operations.
5683         * tree.c (commutative_ternary_tree_code): Add DOT_PROD_EXPR
5684         and FMA_EXPR.
5686 2014-10-17  Jakub Jelinek  <jakub@redhat.com>
5688         PR tree-optimization/63464
5689         * gimple.h (gimple_seq_discard): New prototype.
5690         * gimple.c: Include stringpool.h and tree-ssanames.h.
5691         (gimple_seq_discard): New function.
5692         * optabs.h (lshift_cheap_p): New prototype.
5693         * optabs.c (lshift_cheap_p): New function, moved from...
5694         * tree-switch-conversion.c (lshift_cheap_p): ... here.
5695         * tree-ssa-reassoc.c: Include gimplify.h and optabs.h.
5696         (reassoc_branch_fixups): New variable.
5697         (update_range_test): Add otherrangep and seq arguments.
5698         Unshare exp.  If otherrange is NULL, use for other ranges
5699         array of pointers pointed by otherrangep instead.
5700         Emit seq before gimplified statements for tem.
5701         (optimize_range_tests_diff): Adjust update_range_test
5702         caller.
5703         (optimize_range_tests_xor): Likewise.  Fix up comment.
5704         (extract_bit_test_mask, optimize_range_tests_to_bit_test): New
5705         functions.
5706         (optimize_range_tests): Adjust update_range_test caller.
5707         Call optimize_range_tests_to_bit_test.
5708         (branch_fixup): New function.
5709         (execute_reassoc): Call branch_fixup.
5711         PR tree-optimization/63302
5712         * tree-ssa-reassoc.c (optimize_range_tests_xor,
5713         optimize_range_tests_diff): Use !integer_pow2p () instead of
5714         tree_log2 () < 0.
5716 2014-10-17  Martin Liska  <mliska@suse.cz>
5718         * ipa-icf.c (sem_function::merge): Local flags are set to false
5719         to enforce equal calling convention to be used.
5720         * opts.c (common_handle_option): Indentation fix.
5722 2014-10-17  Marc Glisse  <marc.glisse@inria.fr>
5724         * tree-into-ssa.c (is_old_name): Replace "new" with "old".
5726 2014-10-17  Tom de Vries  <tom@codesourcery.com>
5728         PR rtl-optimization/61605
5729         * regcprop.c (copyprop_hardreg_forward_1): Use
5730         regs_invalidated_by_this_call instead of regs_invalidated_by_call.
5732 2014-10-17  Tom de Vries  <tom@codesourcery.com>
5734         PR rtl-optimization/61605
5735         * regcprop.c (copyprop_hardreg_forward_1): Add copy_p and noop_p.  Don't
5736         notice stores for noops.  Don't regard noops as copies.
5738 2014-10-17  Uros Bizjak  <ubizjak@gmail.com>
5740         * config/i386/cpuid.h (__cpuid): Remove definitions that handle %ebx
5741         register in a special way.
5742         (__cpuid_count): Ditto.
5743         * config/i386/driver-i386.h: Protect with
5744         "#if defined(__GNUC__) && (__GNUC__ >= 5 || !defined(__PIC__))".
5745         (host_detect_local_cpu): Mention that GCC with non-fixed %ebx
5746         is required to compile the function.
5748 2014-10-16  DJ Delorie  <dj@redhat.com>
5750         * flag-types.h (sanitize_code): Don't assume targets have 32-bit
5751         integers.
5753         * config/rs6000/rs6000-c.c (rid_int128): New.
5754         (rs6000_macro_to_expand): Use instead of RID_INT128.
5756 2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
5758         * function.h: Flatten file.  Remove includes, adjust prototypes to
5759         reflect only what is in function.h.
5760         (enum direction, struct args_size, struct locate_and_pad_arg_data,
5761         ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Relocate
5762         from expr.h.
5763         (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Relocate from rtl.h.
5764         (optimize_function_for_size_p, optimize_function_for_speed_p): Move
5765         prototypes to predict.h.
5766         (init_varasm_status): Move prototype to varasm.h.
5767         * expr.h: Adjust include files.
5768         (enum direction, struct args_size, struct locate_and_pad_arg_data,
5769         ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE, ARGS_SIZE_RTX): Move
5770         to function.h.
5771         (locate_and_pad_parm): Move prototype to function.h.
5772         * rtl.h: (assign_stack_local, ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD,
5773         assign_stack_local_1, assign_stack_temp, assign_stack_temp_for_type,
5774         assign_temp, reposition_prologue_and_epilogue_notes,
5775         prologue_epilogue_contains, sibcall_epilogue_contains,
5776         update_temp_slot_address, maybe_copy_prologue_epilogue_insn,
5777         set_return_jump_label): Move prototypes to function.h.
5778         * predict.h (optimize_function_for_size_p,
5779         optimize_function_for_speed_p): Relocate prototypes from function.h.
5780         * shrink-wrap.h (emit_return_into_block, active_insn_between,
5781         convert_jumps_to_returns, emit_return_for_exit): Move prototypes to
5782         function.h.
5783         * varasm.h (init_varasm_status): Relocate prototype from function.h.
5784         * genattrtab.c (write_header): Add predict.h to include list.
5785         * genconditions.c (write_header): Add predict.h to include list.
5786         * genemit.c (main): Adjust header file includes.
5787         * gengtype.c (ifiles): Add flattened function.h header files.
5788         * genoutput.c (output_prologue): Add predict.h to include list.
5789         * genpreds.c (write_insn_preds_c): Adjust header file includes.
5790         * genrecog.c (write_header): Add flattened function.h header files.
5791         * alias.c: Adjust include files.
5792         * auto-inc-dec.c: Likewise.
5793         * basic-block.h: Likewise.
5794         * bb-reorder.c: Likewise.
5795         * bt-load.c: Likewise.
5796         * builtins.c: Likewise.
5797         * caller-save.c: Likewise.
5798         * calls.c: Likewise.
5799         * cfgbuild.c: Likewise.
5800         * cfgcleanup.c: Likewise.
5801         * cfgexpand.c: Likewise.
5802         * cfgloop.c: Likewise.
5803         * cfgloop.h: Likewise.
5804         * cfgrtl.c: Likewise.
5805         * cgraph.h: Likewise.
5806         * cgraphclones.c: Likewise.
5807         * cgraphunit.c: Likewise.
5808         * combine-stack-adj.c: Likewise.
5809         * combine.c: Likewise.
5810         * coverage.c: Likewise.
5811         * cprop.c: Likewise.
5812         * cse.c: Likewise.
5813         * cselib.c: Likewise.
5814         * dbxout.c: Likewise.
5815         * ddg.c: Likewise.
5816         * df-core.c: Likewise.
5817         * df-problems.c: Likewise.
5818         * df-scan.c: Likewise.
5819         * dojump.c: Likewise.
5820         * dwarf2cfi.c: Likewise.
5821         * dwarf2out.c: Likewise.
5822         * emit-rtl.c: Likewise.
5823         * except.c: Likewise.
5824         * explow.c: Likewise.
5825         * expr.c: Likewise.
5826         * final.c: Likewise.
5827         * function.c: Likewise.
5828         * gcse.c: Likewise.
5829         * gimple-fold.c: Likewise.
5830         * gimple-low.c: Likewise.
5831         * gimple-streamer.h: Likewise.
5832         * haifa-sched.c: Likewise.
5833         * ifcvt.c: Likewise.
5834         * ira.c: Likewise.
5835         * jump.c: Likewise.
5836         * lcm.c: Likewise.
5837         * loop-invariant.c: Likewise.
5838         * lra-assigns.c: Likewise.
5839         * lra-coalesce.c: Likewise.
5840         * lra-constraints.c: Likewise.
5841         * lra-eliminations.c: Likewise.
5842         * lra-lives.c: Likewise.
5843         * lra-spills.c: Likewise.
5844         * lra.c: Likewise.
5845         * lto-cgraph.c: Likewise.
5846         * lto-section-in.c: Likewise.
5847         * lto-section-out.c: Likewise.
5848         * lto-streamer-in.c: Likewise.
5849         * lto-streamer-out.c: Likewise.
5850         * mode-switching.c: Likewise.
5851         * modulo-sched.c: Likewise.
5852         * omp-low.c: Likewise.
5853         * optabs.c: Likewise.
5854         * passes.c: Likewise.
5855         * postreload-gcse.c: Likewise.
5856         * postreload.c: Likewise.
5857         * predict.c: Likewise.
5858         * profile.c: Likewise.
5859         * recog.c: Likewise.
5860         * ree.c: Likewise.
5861         * reg-stack.c: Likewise.
5862         * regcprop.c: Likewise.
5863         * reginfo.c: Likewise.
5864         * regrename.c: Likewise.
5865         * reload.c: Likewise.
5866         * reload1.c: Likewise.
5867         * reorg.c: Likewise.
5868         * resource.c: Likewise.
5869         * rtlanal.c: Likewise.
5870         * sched-deps.c: Likewise.
5871         * sched-ebb.c: Likewise.
5872         * sched-rgn.c: Likewise.
5873         * sel-sched-dump.c: Likewise.
5874         * sel-sched-ir.c: Likewise.
5875         * sel-sched.c: Likewise.
5876         * shrink-wrap.c: Likewise.
5877         * simplify-rtx.c: Likewise.
5878         * statistics.c: Likewise.
5879         * stmt.c: Likewise.
5880         * stor-layout.c: Likewise.
5881         * store-motion.c: Likewise.
5882         * symtab.c: Likewise.
5883         * targhooks.c: Likewise.
5884         * toplev.c: Likewise.
5885         * trans-mem.c: Likewise.
5886         * tree-cfg.c: Likewise.
5887         * tree-cfgcleanup.c: Likewise.
5888         * tree-dfa.c: Likewise.
5889         * tree-eh.c: Likewise.
5890         * tree-inline.c: Likewise.
5891         * tree-into-ssa.c: Likewise.
5892         * tree-nested.c: Likewise.
5893         * tree-nrv.c: Likewise.
5894         * tree-profile.c: Likewise.
5895         * tree-ssa-alias.c: Likewise.
5896         * tree-ssa-ccp.c: Likewise.
5897         * tree-ssa-copy.c: Likewise.
5898         * tree-ssa-copyrename.c: Likewise.
5899         * tree-ssa-dom.c: Likewise.
5900         * tree-ssa-operands.c: Likewise.
5901         * tree-ssa-propagate.c: Likewise.
5902         * tree-ssa-structalias.c: Likewise.
5903         * tree-ssa-tail-merge.c: Likewise.
5904         * tree-ssa-threadedge.c: Likewise.
5905         * tree-ssa-threadupdate.c: Likewise.
5906         * tree-ssa-uncprop.c: Likewise.
5907         * tree-ssa-uninit.c: Likewise.
5908         * tree-ssa.c: Likewise.
5909         * tree-stdarg.c: Likewise.
5910         * tree-tailcall.c: Likewise.
5911         * tree.c: Likewise.
5912         * tsan.c: Likewise.
5913         * valtrack.c: Likewise.
5914         * varasm.c: Likewise.
5915         * vmsdbgout.c: Likewise.
5916         * web.c: Likewise.
5917         * config/aarch64/aarch64.c: Add flattened includes from function.h.
5918         * config/alpha/alpha.c: Likewise.
5919         * config/arc/arc.c: Likewise.
5920         * config/arm/arm.c: Likewise.
5921         * config/avr/avr-log.c: Likewise.
5922         * config/avr/avr.c: Likewise.
5923         * config/bfin/bfin.c: Likewise.
5924         * config/c6x/c6x.c: Likewise.
5925         * config/cr16/cr16.c: Likewise.
5926         * config/cris/cris.c: Likewise.
5927         * config/darwin.c: Likewise.
5928         * config/epiphany/epiphany.c: Likewise.
5929         * config/epiphany/mode-switch-use.c: Likewise.
5930         * config/epiphany/resolve-sw-modes.c: Likewise.
5931         * config/fr30/fr30.c: Likewise.
5932         * config/frv/frv.c: Likewise.
5933         * config/h8300/h8300.c: Likewise.
5934         * config/i386/i386.c: Likewise.
5935         * config/ia64/ia64.c: Likewise.
5936         * config/iq2000/iq2000.c: Likewise.
5937         * config/lm32/lm32.c: Likewise.
5938         * config/m32c/m32c.c: Likewise.
5939         * config/m32r/m32r.c: Likewise.
5940         * config/m68k/m68k.c: Likewise.
5941         * config/mcore/mcore.c: Likewise.
5942         * config/mep/mep-pragma.c: Likewise.
5943         * config/mep/mep.c: Likewise.
5944         * config/microblaze/microblaze.c: Likewise.
5945         * config/mips/mips.c: Likewise.
5946         * config/mmix/mmix.c: Likewise.
5947         * config/mn10300/mn10300.c: Likewise.
5948         * config/moxie/moxie.c: Likewise.
5949         * config/msp430/msp430.c: Likewise.
5950         * config/nds32/nds32-cost.c: Likewise.
5951         * config/nds32/nds32-fp-as-gp.c: Likewise.
5952         * config/nds32/nds32-intrinsic.c: Likewise.
5953         * config/nds32/nds32-isr.c: Likewise.
5954         * config/nds32/nds32-md-auxiliary.c: Likewise.
5955         * config/nds32/nds32-memory-manipulation.c: Likewise.
5956         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
5957         * config/nds32/nds32-predicates.c: Likewise.
5958         * config/nds32/nds32.c: Likewise.
5959         * config/nios2/nios2.c: Likewise.
5960         * config/pa/pa.c: Likewise.
5961         * config/pdp11/pdp11.c: Likewise.
5962         * config/rl78/rl78.c: Likewise.
5963         * config/rs6000/rs6000.c: Likewise.
5964         * config/rx/rx.c: Likewise.
5965         * config/s390/s390.c: Likewise.
5966         * config/score/score.c: Likewise.
5967         * config/sh/sh.c: Likewise.
5968         * config/sparc/sparc.c: Likewise.
5969         * config/spu/spu.c: Likewise.
5970         * config/stormy16/stormy16.c: Likewise.
5971         * config/tilegx/tilegx.c: Likewise.
5972         * config/tilepro/tilepro.c: Likewise.
5973         * config/v850/v850.c: Likewise.
5974         * config/vax/vax.c: Likewise.
5975         * config/xtensa/xtensa.c: Likewise.
5977 2014-10-16  Richard Earnshaw  <rearnsha@arm.com>
5979         * config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
5980         (TARGET_LEGITIMIZE_ADDRESS): Redefine.
5982 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
5984         * config/sh/sh-protos.h (fldi_ok): Remove.
5985         * config/sh/sh.c (fldi_ok): Likewise.
5986         (sh_secondary_reload): Don't use fldi_ok.
5987         * config/sh/constraints.md (G constraint, H constraint): Don't use
5988         fldi_ok.
5990 2014-10-16  Martin Liska  <mliska@suse.cz>
5992         * ipa-icf.c (sem_item_optimizer::process_cong_reduction):
5993         Cast to unsigned long.
5994         (sem_item_optimizer::dump_cong_classes): Likewise.
5996 2014-10-16  Tom de Vries  <tom@codesourcery.com>
5998         * tree-into-ssa.c (update_ssa): Assert that there's no ssa use operand
5999         with SSA_NAME_IN_FREELIST.
6001 2014-10-16  Richard Biener  <rguenther@suse.de>
6003         PR middle-end/63554
6004         * builtins.c (fold_builtin_4): Do not call fold_builtin_strncat_chk.
6005         (fold_builtin_strncat_chk): Move ...
6006         * gimple-fold.c (gimple_fold_builtin_strncat_chk): ... here.
6007         (gimple_fold_builtin): Call gimple_fold_builtin_strncat_chk.
6009 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
6011         PR target/59401
6012         * config/sh/sh.h (CALL_REALLY_USED_REGISTERS): Expand macro and set
6013         GBR to 0.
6015 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6016             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6017             Anna Tikhonova  <anna.tikhonova@intel.com>
6018             Ilya Tocar  <ilya.tocar@intel.com>
6019             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6020             Ilya Verbin  <ilya.verbin@intel.com>
6021             Kirill Yukhin  <kirill.yukhin@intel.com>
6022             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6024         * config/i386/i386.c (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI,
6025         V64QI modes.
6027 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6028             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6029             Anna Tikhonova  <anna.tikhonova@intel.com>
6030             Ilya Tocar  <ilya.tocar@intel.com>
6031             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6032             Ilya Verbin  <ilya.verbin@intel.com>
6033             Kirill Yukhin  <kirill.yukhin@intel.com>
6034             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6036         * config/i386/i386.c (ix86_expand_vector_set): Handle V8DF, V8DI, V16SF,
6037         V16SI, V32HI, V64QI modes.
6039 2014-10-16  Oleg Endo  <olegendo@gcc.gnu.org>
6041         PR target/53513
6042         * config/sh/sh-protos.h (emit_sf_insn, emit_df_insn, expand_sf_unop,
6043         expand_sf_binop, expand_df_unop, expand_df_binop): Remove.
6045         * config/sh/sh.c (sh_emit_set_t_insn): Adjust generated insn pattern
6046         to match fp insn patterns.
6047         (calc_live_regs): Add FPSCR_MODES_REG and FPSCR_STAT_REG to the ignore
6048         list.
6049         (emit_sf_insn, emit_df_insn, expand_sf_unop, expand_sf_binop,
6050         expand_df_unop, expand_df_binop): Remove.
6051         (sh_conditional_register_usage): Mark FPSCR_MODES_REG and
6052         FPSCR_STAT_REG as not call clobbered.
6053         (sh_emit_mode_set): Emit fpscr store-modify-load sequence instead of
6054         invoking fpscr_set_from_mem.
6056         * config/sh/sh.h (MAX_REGISTER_NAME_LENGTH): Increase to 6.
6057         (SH_REGISTER_NAMES_INITIALIZER): Add names for FPSCR_MODES_REG and
6058         FPSCR_STAT_REG.
6059         (REGISTER_NAMES): Adjust.
6060         (SPECIAL_REGISTER_P): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
6061         (FIRST_PSEUDO_REGISTER): Increase to 156.
6062         (DWARF_FRAME_REGISTERS): Define as 153 to keep the original value.
6063         (FIXED_REGISTERS, CALL_USED_REGISTERS): Add FPSCR_MODES_REG and
6064         FPSCR_STAT_REG.
6065         (REG_CLASS_CONTENTS): Adjust ALL_REGS bit mask to include
6066         FPSCR_MODES_REG and FPSCR_STAT_REG.
6067         (REG_ALLOC_ORDER): Add FPSCR_MODES_REG and FPSCR_STAT_REG.
6069         * config/sh/sh.md (FPSCR_MODES_REG, FPSCR_STAT_REG, FPSCR_PR,
6070         FPSCR_SZ): Add new constants.
6071         (UNSPECV_FPSCR_MODES, UNSPECV_FPSCR_STAT): Add new unspecv constants.
6073         (movpsi): Use TARGET_FPU_ANY condition, invoke gen_fpu_switch.
6074         (fpu_switch): Add use and set of FPSCR_STAT_REG and FPSCR_MODES_REG.
6075         Use TARGET_FPU_ANY condition.
6076         (fpu_switch peephole2): Remove.
6077         (fpu_switch split): Use simple_mem_operand to capture the mem and
6078         adjust split implementation.
6079         (extend_psi_si, truncate_si_psi): New insns.
6080         (toggle_sz, toggle_pr): Use FPSCR_SZ, FPSCR_PR constants.  Add
6081         set of FPSCR_MODES_REG.
6083         (push_e, push_4, pop_e, pop_4, movdf_i4, reload_indf__frn, movsf_ie,
6084         reload_insf__frn, force_mode_for_call, calli, calli_tbr_rel,
6085         calli_pcrel, call_pcrel, call_compact, call_compact_rettramp,
6086         call_valuei, call_valuei_tbr_rel, call_valuei_pcrel, call_value_pcrel,
6087         call_value_compact, call_value_compact_rettramp, call,
6088         call_pop_compact, call_pop_compact_rettramp, call_value, sibcalli,
6089         sibcalli_pcrel, sibcalli_thunk, sibcall_pcrel, sibcall_compact,
6090         sibcall, sibcall_valuei, sibcall_valuei_pcrel, sibcall_value_pcrel,
6091         sibcall_value_compact, sibcall_value, call_value_pop_compact,
6092         call_value_pop_compact_rettramp, various unnamed splits):
6093         Replace use of FPSCR_REG with use of FPSCR_MODES_REG.  Adjust gen_*
6094         function uses.
6096         (floatsisf2_i4, *floatsisf2_ie): Merge into floatsisf2_i4.
6097         (fix_truncsfsi2_i4, *fixsfsi): Merge into fix_truncsfsi2_i4.
6098         (cmpgtsf_t, cmpgtsf_t_i4): Merge into cmpgtsf_t.
6099         (cmpeqsf_t, cmpeqsf_t_i4): Merge into cmpeqsf_t.
6100         (ieee_ccmpeqsf_t, *ieee_ccmpeqsf_t_4): Merge into ieee_ccmpeqsf_t.
6102         (udivsi3_i4, divsi3_i4, addsf3_i, subsf3_i, mulsf3_i, fmasf4_i,
6103         *fmasf4, divsf3_i, floatsisf2_i4, fix_truncsfsi2_i4, cmpgtsf_t,
6104         cmpeqsf_t, ieee_ccmpeqsf_t, sqrtsf2_i, rsqrtsf2, fsca, adddf3_i,
6105         subdf3_i, muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i,
6106         cmpgtdf_t, cmpeqdf_t, *ieee_ccmpeqdf_t, sqrtdf2_i, extendsfdf2_i4,
6107         truncdfsf2_i4): Replace use of FPSCR_REG with clobber of FPSCR_STAT_REG
6108         and use of FPSCR_MODES_REG.  Adjust gen_* function uses.
6110 2014-10-16  Martin Liska  <mliska@suse.cz>
6111             Jan Hubicka  <hubicka@ucw.cz>
6113         * Makefile.in: New object files included.
6114         * cgraph.c (cgraph_node::dump): New cgraph_node flag icf_merged
6115         is printed.
6116         (verify_edge_corresponds_to_fndecl): More sensitive verification
6117         of nodes that are merged by IPA ICF.
6118         * cgraph.h (cgraph_node::num_references): New function.
6119         * cgraphunit.c (cgraph_node::expand_thunk): White space fixed.
6120         * common.opt: New options ipa-icf, ipa-icf-functions and
6121         ipa-icf-variables introduced.
6122         * doc/invoke.texi: Documentation of new options introduced.
6123         * ipa-icf-gimple.c: New file.
6124         * ipa-icf-gimple.h: New file.
6125         * ipa-icf.c: New file.
6126         * ipa-icf.h: New file.
6127         * lto-cgraph.c (lto_output_node): Streaming of icf_merged flag added.
6128         (input_overwrite_node): Likewise.
6129         * lto-section-in.c: New icf section added.
6130         * lto-streamer.h (enum lto_section_type): Likewise.
6131         * opts.c (common_handle_option): New option added.
6132         * passes.def: New pass included.
6133         * timevar.def: Time variable for IPA ICF added.
6134         * tree-pass.h: New IPA ICF pass entry point added.
6136 2014-10-16  Richard Biener  <rguenther@suse.de>
6138         PR tree-optimization/63168
6139         * tree-cfg.c (gimple_can_merge_blocks_p): Only protect
6140         latches if after merging they are no longer simple.
6141         * cfghooks.c (merge_blocks): Handle merging a latch block
6142         into another block.
6144 2014-10-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6145             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6146             Anna Tikhonova  <anna.tikhonova@intel.com>
6147             Ilya Tocar  <ilya.tocar@intel.com>
6148             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6149             Ilya Verbin  <ilya.verbin@intel.com>
6150             Kirill Yukhin  <kirill.yukhin@intel.com>
6151             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6153         * config/i386/sse.md
6154         (define_expand "floatuns<sseintvecmodelower><mode>2"): Extend to
6155         support AVX-512VL instructions.
6157 2014-10-16  DJ Delorie  <dj@redhat.com>
6159         * tree-core.h: Fix comment to not assume pointers are multiples of
6160         bytes.
6162 2014-10-15  Tom Tromey  <tromey@redhat.com>
6164         * timevar.h (class auto_timevar): New class.
6166 2014-10-15  Uros Bizjak  <ubizjak@gmail.com>
6168         PR go/59432
6169         * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
6170         Remove the second alternative.
6171         (regprefix): Remove mode attribute.
6172         (atomic_compare_and_swap<mode>): Do not fixup operand 2.
6173         * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.
6175         Revert:
6176         2013-11-05  Ian Lance Taylor  <iant@google.com>
6178         * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
6179         If possible, add .cfi directives to record change to bx.
6180         * config/i386/i386.c (ix86_emit_cfi): New function.
6181         * config/i386/i386-protos.h (ix86_emit_cfi): Declare.
6183 2014-10-15  Jan Hubicka  <hubicka@ucw.cz>
6185         PR lto/62026
6186         * cgraphclones.c (duplicate_thunk_for_node): Get body to have args
6187         to duplicate.
6188         * lto-streamer-out.c (lto_output): Handle correctly thunks that was born
6189         at WPA time.
6191 2014-10-15  Vladimir Makarov  <vmakarov@redhat.com>
6193         PR rtl-optimization/63448
6194         * lra-int.h (LRA_MAX_CONSTRAINT_ITERATION_NUMBER): Remove.
6195         (LRA_MAX_ASSIGNMENT_ITERATION_NUMBER): New.
6196         (LRA_MAX_INHERITANCE_PASSES): Use it.
6197         (lra_constraint_iter_after_spill): Remove.
6198         (lra_assignment_iter): New.
6199         (lra_assignment_iter_after_spill): New.
6200         * lra-assigns.c (lra_assignment_iter): New.
6201         (lra_assignment_iter_after_spill): New.
6202         (former_reload_pseudo_spill_p): New.
6203         (spill_for): Set up former_reload_pseudo_spill_p.
6204         (setup_live_pseudos_and_spill_after_risky): Ditto.
6205         (assign_by_spills): Ditto.
6206         (lra_assign): Increment lra_assignment_iter.  Print the iteration
6207         number.  Reset former_reload_pseudo_spill_p.  Check
6208         lra_assignment_iter_after_spill.
6209         * lra.c (lra): Remove lra_constraint_iter_after_spill.  Initialize
6210         lra_assignment_iter and lra_assignment_iter_after_spill.
6211         * lra-constraints.c (lra_constraint_iter_after_spill): Remove.
6212         (lra_constraints): Remove code with
6213         lra_assignment_iter_after_spill.
6215 2014-10-15  Teresa Johnson  <tejohnson@google.com>
6217         PR bootstrap/63432
6218         * tree-ssa-threadupdate.c (recompute_probabilities): Better
6219         overflow checking.
6221 2014-10-15  Renlin Li <renlin.li@arm.com>
6223         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
6224         __ARM_BIG_ENDIAN, __ARM_SIZEOF_MINIMAL_ENUM. Add __ARM_64BIT_STATE,
6225         __ARM_ARCH_ISA_A64, __ARM_FEATURE_CLZ, __ARM_FEATURE_IDIV,
6226         __ARM_FEATURE_UNALIGNED, __ARM_PCS_AAPCS64, __ARM_SIZEOF_WCHAR_T.
6228 2014-10-15  Richard Biener  <rguenther@suse.de>
6230         * gimple-fold.c (gimple_fold_call): Properly keep virtual
6231         SSA form up-to-date when devirtualizing a call to
6232         __builtin_unreachable and avoid fixing up EH info here.
6234 2014-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6235             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6236             Anna Tikhonova  <anna.tikhonova@intel.com>
6237             Ilya Tocar  <ilya.tocar@intel.com>
6238             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6239             Ilya Verbin  <ilya.verbin@intel.com>
6240             Kirill Yukhin  <kirill.yukhin@intel.com>
6241             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6243         * config/i386/sse.md (define_mode_iterator VI_AVX2): Extend
6244         to support AVX-512BW.
6245         (define_mode_iterator VI124_AVX2_48_AVX512F): Remove.
6246         (define_expand "<plusminus_insn><mode>3"): Remove masking support.
6247         (define_insn "*<plusminus_insn><mode>3"): Ditto.
6248         (define_expand "<plusminus_insn><VI48_AVX512VL:mode>3_mask"): New.
6249         (define_expand "<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
6250         (define_insn "*<plusminus_insn><VI48_AVX512VL:mode>3_mask"): Ditto.
6251         (define_insn "*<plusminus_insn><VI12_AVX512VL:mode>3_mask"): Ditto.
6252         (define_expand "<sse2_avx2>_andnot<mode>3"): Remove masking support.
6253         (define_insn "*andnot<mode>3"): Ditto.
6254         (define_expand "<sse2_avx2>_andnot<VI48_AVX512VL:mode>3_mask"): New.
6255         (define_expand "<sse2_avx2>_andnot<VI12_AVX512VL:mode>3_mask"): Ditto.
6256         (define_insn "*andnot<VI48_AVX512VL:mode>3<mask_name>"): Ditto.
6257         (define_insn "*andnot<VI12_AVX512VL:mode>3<mask_name>"): Ditto.
6258         (define_insn "*abs<mode>2"): Remove masking support.
6259         (define_insn "abs<VI48_AVX512VL:mode>2_mask"): New.
6260         (define_insn "abs<VI12_AVX512VL:mode>2_mask"): Ditto.
6261         (define_expand "abs<mode>2"): Use VI_AVX2 mode iterator.
6263 2014-10-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6264             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6265             Anna Tikhonova  <anna.tikhonova@intel.com>
6266             Ilya Tocar  <ilya.tocar@intel.com>
6267             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6268             Ilya Verbin  <ilya.verbin@intel.com>
6269             Kirill Yukhin  <kirill.yukhin@intel.com>
6270             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6272         * config/i386/predicates.md (define_predicate "constm1_operand"): New.
6273         * config/i386/sse.md
6274         (define_c_enum "unspec"): Add UNSPEC_CVTINT2MASK.
6275         (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI12_AVX512VL:mode>"): New.
6276         (define_insn "<avx512>_cvt<ssemodesuffix>2mask<VI48_AVX512VL:mode>"): Ditto.
6277         (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
6278         (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI12_AVX512VL:mode>"): Ditto.
6279         (define_expand "<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
6280         (define_insn "*<avx512>_cvtmask2<ssemodesuffix><VI48_AVX512VL:mode>"): Ditto.
6282 2014-10-15  Renlin Li <renlin.li@arm.com>
6284         * config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.
6286 2014-10-15  Jakub Jelinek  <jakub@redhat.com>
6288         * tree-ssa-reassoc.c (optimize_range_tests_diff): Perform
6289         MINUS_EXPR in unsigned type to avoid undefined behavior.
6291 2014-10-15  Eric Botcazou  <ebotcazou@adacore.com>
6293         * stor-layout.c (self_referential_size): Do not promote arguments.
6295 2014-10-15  Marek Polacek  <polacek@redhat.com>
6297         * doc/invoke.texi: Update to reflect that GNU11 is the default
6298         mode for C.
6299         * c-common.h (c_language_kind): Update comment.
6301 2014-10-15  Richard Biener  <rguenther@suse.de>
6303         * hash-table.c: Include bconfig.h if building for the host.
6304         * hash-table.h: Do not include ggc.h on the host but just declare
6305         a few ggc allocation templates.
6307 2014-10-15  Joern Rennecke  <joern.rennecke@embecosm.com>
6308             Jeff Law  <law@redhat.com>
6310         * caller-save.c (replace_reg_with_saved_mem): If saved_mode covers
6311         multiple hard registers, use smaller mode derived from MODE.
6313 2014-10-15  Andreas Schwab  <schwab@suse.de>
6315         * explow.c (convert_memory_address_addr_space_1): Mark in_const
6316         as ATTRIBUTE_UNUSED.
6318 2014-10-14  Jan Hubicka  <hubicka@ucw.cz>
6320         * loop-unroll.c: (decide_unrolling_and_peeling): Rename to
6321         (decide_unrolling): ... this one.
6322         (peel_loops_completely): Remove.
6323         (decide_peel_simple): Remove.
6324         (decide_peel_once_rolling): Remove.
6325         (decide_peel_completely): Remove.
6326         (peel_loop_simple): Remove.
6327         (peel_loop_completely): Remove.
6328         (unroll_and_peel_loops): Rename to ...
6329         (unroll_loops): ... this one; handle only unrolling.
6330         * cfgloop.h (lpt_dec): Remove LPT_PEEL_COMPLETELY and
6331         LPT_PEEL_SIMPLE.
6332         (UAP_PEEL): Remove.
6333         (unroll_and_peel_loops): Remove.
6334         (unroll_loops): New.
6335         * passes.def: Replace
6336         pass_rtl_unroll_and_peel_loops by pass_rtl_unroll_loops.
6337         * loop-init.c (gate_rtl_unroll_and_peel_loops,
6338         rtl_unroll_and_peel_loops): Rename to ...
6339         (gate_rtl_unroll_loops, rtl_unroll_loops): ... these; update.
6340         (pass_rtl_unroll_and_peel_loops): Rename to ...
6341         (pass_rtl_unroll_loops): ... this one.
6342         * tree-pass.h (make_pass_rtl_unroll_and_peel_loops): Remove.
6343         (make_pass_rtl_unroll_loops): New.
6344         * tree-ssa-loop-ivcanon.c: (estimated_peeled_sequence_size, try_peel_loop): New.
6345         (canonicalize_loop_induction_variables): Update.
6347 2014-10-14  Max Filippov  <jcmvbkbc@gmail.com>
6349         * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_POSTINC): new macro.
6350         * config/xtensa/xtensa.md (*lsiu, *ssiu): add dependency on
6351         !TARGET_HARD_FLOAT_POSTINC.
6352         (*lsip, *ssip): new instructions.
6354 2014-10-14  Max Filippov  <jcmvbkbc@gmail.com>
6356         * config/xtensa/xtensa.md (divsf3, *recipsf2, sqrtsf2, *rsqrtsf2):
6357         remove.
6359 2014-10-14  Andrew Pinski  <apinski@cavium.com>
6361         * explow.c (convert_memory_address_addr_space): Rename to ...
6362         (convert_memory_address_addr_space_1): This.  Add in_const argument.
6363         Inside a CONST RTL, permute the conversion and addition of constant
6364         for zero and sign extended pointers.
6365         (convert_memory_address_addr_space): New function.
6367 2014-10-14  Andrew Pinski  <apinski@cavium.com>
6369         Revert:
6370         2011-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6372         PR middle-end/49721
6373         * explow.c (convert_memory_address_addr_space): Also permute the
6374         conversion and addition of constant for zero-extend.
6376 2014-10-14  DJ Delorie  <dj@redhat.com>
6378         * config/msp430/msp430-modes.def (PSI): Add.
6380         * config/msp430/msp430-protos.h (msp430_hard_regno_nregs_has_padding): New.
6381         (msp430_hard_regno_nregs_with_padding): New.
6382         * config/msp430/msp430.c (msp430_scalar_mode_supported_p): New.
6383         (msp430_hard_regno_nregs_has_padding): New.
6384         (msp430_hard_regno_nregs_with_padding): New.
6385         (msp430_unwind_word_mode): Use PSImode instead of SImode.
6386         (msp430_addr_space_legitimate_address_p): New.
6387         (msp430_asm_integer): New.
6388         (msp430_init_dwarf_reg_sizes_extra): New.
6389         (msp430_print_operand): Use X suffix for PSImode even in small model.
6390         * config/msp430/msp430.h (POINTER_SIZE): Use 20 bits, not 32.
6391         (PTR_SIZE): ...but 4 bytes for EH.
6392         (SIZE_TYPE): Use __int20.
6393         (PTRDIFF_TYPE): Likewise.
6394         (INCOMING_FRAME_SP_OFFSET): Adjust.
6395         * config/msp430/msp430.md (movqi_topbyte): New.
6396         (movpsi): Use fixed suffixes.
6397         (movsipsi2): Enable for 430X, not large model.
6398         (extendhipsi2): Likewise.
6399         (zero_extendhisi2): Likewise.
6400         (zero_extendhisipsi2): Likewise.
6401         (extend_and_shift1_hipsi2): Likewise.
6402         (extendpsisi2): Likewise.
6403         (*bitbranch<mode>4_z): Fix suffix logic.
6405 2014-10-14  Eric Botcazou  <ebotcazou@adacore.com>
6407         PR ada/62019
6408         * tree-eh.c (tree_could_trap) <FUNCTION_DECL>: Revamp and really
6409         do not choke on null node.
6410         <VAR_DECL>: Likewise.
6412 2014-10-14  DJ Delorie  <dj@redhat.com>
6414         * machmode.h (int_n_data_t): New.
6415         (int_n_enabled_p): New.
6416         (int_n_data): New.
6417         * tree.c (int_n_enabled_p): New.
6418         (int_n_trees): New.
6419         (make_or_reuse_type): Check for all __intN types, not just
6420         __int128.
6421         (build_common_tree_nodes): Likewise.  Also fill in integer_typs[]
6422         entries.
6423         * tree.h (int128_integer_type_node): Remove.
6424         (int128_unsigned_type_node): Remove.
6425         (int_n_trees_t): New.
6426         (int_n_enabled_p): New.
6427         (int_n_trees): New.
6428         * toplev.c (standard_type_bitsize): New.
6429         (do_compile): Check which __intN types are enabled for the current
6430         run.
6431         * builtin-types.def (BT_INT128): Remove.
6432         (BT_UINT128): Remove.
6433         * machmode.def: Add macro to create __int128 for all targets.
6434         * stor-layout.c (mode_for_size): Support __intN types.
6435         (smallest_mode_for_size): Likewise.
6436         (initialize_sizetypes): Support __intN types.
6437         * genmodes.c (struct mode_data): Add int_n field.
6438         (blank_mode): Likewise.
6439         (INT_N): New.
6440         (make_int_n): New.
6441         (emit_insn_modes_h): Count __intN entries and define
6442         NUM_INT_N_ENTS.
6443         (emit_mode_int_n): New.
6444         (emit_insn_modes_c): Call it.
6445         * gimple.c (gimple_signed_or_unsigned_type): Check for all __intN
6446         types, not just __int128.
6447         * tree-core.h (integer_type_kind): Remove __int128-specific
6448         entries, reserve spots for __intN entries.
6450         * config/msp430/msp430-modes.def (PSI): Add.
6452 2014-10-14  Kito Cheng  <kito@0xlab.org>
6454         * ira.c: Fix typo in comment.
6455         * ira.h: Ditto.
6456         * ira-build.c: Ditto.
6457         * ira-color.c: Ditto.
6458         * ira-emit.c: Ditto.
6459         * ira-int.h: Ditto.
6460         * ira-lives.c: Ditto.
6462 2014-10-14  Uros Bizjak  <ubizjak@gmail.com>
6464         PR rtl-optimization/63475
6465         * alias.c (true_dependence_1): Always use get_addr to extract
6466         true address operands from x_addr and mem_addr.  Use extracted
6467         address operands to check for references with alignment ANDs.
6468         Use extracted address operands with find_base_term and
6469         base_alias_check. For noncanonicalized operands call canon_rtx with
6470         extracted address operand.
6471         (write_dependence_1): Ditto.
6472         (may_alias_p): Ditto.  Remove unused calls to canon_rtx.
6474 2014-10-14  Evgeny Stupachenko  <evstupac@gmail.com>
6476         PR target/63534
6477         * config/i386/i386.c (ix86_expand_split_stack_prologue): Make
6478         __morestack local.
6480 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6481             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6482             Anna Tikhonova  <anna.tikhonova@intel.com>
6483             Ilya Tocar  <ilya.tocar@intel.com>
6484             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6485             Ilya Verbin  <ilya.verbin@intel.com>
6486             Kirill Yukhin  <kirill.yukhin@intel.com>
6487             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6489         * config/i386/i386.c
6490         (ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
6491         (ix86_expand_int_vcond): Ditto.
6493 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6494             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6495             Anna Tikhonova  <anna.tikhonova@intel.com>
6496             Ilya Tocar  <ilya.tocar@intel.com>
6497             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6498             Ilya Verbin  <ilya.verbin@intel.com>
6499             Kirill Yukhin  <kirill.yukhin@intel.com>
6500             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6502         * config/i386/i386.c
6503         (emit_reduc_half): Handle V64QI and V32HI mode.
6504         * config/i386/sse.md
6505         (define_mode_iterator VI_AVX512BW): New.
6506         (define_expand "reduc_<code>_<mode>"): Use VI512_48F_12BW.
6508 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6509             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6510             Anna Tikhonova  <anna.tikhonova@intel.com>
6511             Ilya Tocar  <ilya.tocar@intel.com>
6512             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6513             Ilya Verbin  <ilya.verbin@intel.com>
6514             Kirill Yukhin  <kirill.yukhin@intel.com>
6515             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6517         * config/i386/sse.md
6518         (define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.
6520 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6521             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6522             Anna Tikhonova  <anna.tikhonova@intel.com>
6523             Ilya Tocar  <ilya.tocar@intel.com>
6524             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6525             Ilya Verbin  <ilya.verbin@intel.com>
6526             Kirill Yukhin  <kirill.yukhin@intel.com>
6527             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6529         * config/i386/i386.c
6530         (ix86_expand_vector_logical_operator): Handle V16SF and V8DF modes.
6531         * config/i386/sse.md
6532         (define_mode_iterator VI): Add V64QI and V32HI modes.
6534 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6535             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6536             Anna Tikhonova  <anna.tikhonova@intel.com>
6537             Ilya Tocar  <ilya.tocar@intel.com>
6538             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6539             Ilya Verbin  <ilya.verbin@intel.com>
6540             Kirill Yukhin  <kirill.yukhin@intel.com>
6541             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6543         * config/i386/sse.md (define_mode_attr avx2_avx512f): Remove.
6545 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6546             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6547             Anna Tikhonova  <anna.tikhonova@intel.com>
6548             Ilya Tocar  <ilya.tocar@intel.com>
6549             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6550             Ilya Verbin  <ilya.verbin@intel.com>
6551             Kirill Yukhin  <kirill.yukhin@intel.com>
6552             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6554         * config/i386/sse.md
6555         (define_insn "*sse4_1_<code><mode>3<mask_name>"): Add masking.
6556         (define_insn "*sse4_1_<code><mode>3<mask_name>"): Ditto.
6558 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6559             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6560             Anna Tikhonova  <anna.tikhonova@intel.com>
6561             Ilya Tocar  <ilya.tocar@intel.com>
6562             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6563             Ilya Verbin  <ilya.verbin@intel.com>
6564             Kirill Yukhin  <kirill.yukhin@intel.com>
6565             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6567         * config/i386/sse.md
6568         (define_insn "avx512bw_umulhrswv32hi3<mask_name>"): New.
6569         (define_expand "<ssse3_avx2>_pmulhrsw<mode>3_mask"): Ditto.
6571 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6572             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6573             Anna Tikhonova  <anna.tikhonova@intel.com>
6574             Ilya Tocar  <ilya.tocar@intel.com>
6575             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6576             Ilya Verbin  <ilya.verbin@intel.com>
6577             Kirill Yukhin  <kirill.yukhin@intel.com>
6578             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6580         * config/i386/sse.md
6581         (define_c_enum "unspec"): Add UNSPEC_PMADDWD512.
6582         (define_mode_iterator VI2_AVX2): Add V32HI mode.
6583         (define_expand "mul<mode>3<mask_name>"): Add masking.
6584         (define_insn "*mul<mode>3<mask_name>"): Ditto.
6585         (define_expand "<s>mul<mode>3_highpart<mask_name>"): Ditto.
6586         (define_insn "*<s>mul<mode>3_highpart<mask_name>"): Ditto.
6587         (define_insn "avx512bw_pmaddwd512<mode><mask_name>"): New.
6588         (define_mode_attr SDOT_PMADD_SUF): Ditto.
6589         (define_expand "sdot_prod<mode>"): Add <SDOT_PMADD_SUF>.
6590         (define_insn "<sse2_avx2>_packssdw<mask_name>"): Add masking.
6591         (define_insn "*<ssse3_avx2>_pmulhrsw<mode>3<mask_name>"): Ditto.
6592         (define_insn "avx2_packusdw"): Delete.
6593         (define_insn "sse4_1_packusdw"): Ditto.
6594         (define_insn "<sse4_1_avx2>_packusdw<mask_name>"): New.
6596 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6597             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6598             Anna Tikhonova  <anna.tikhonova@intel.com>
6599             Ilya Tocar  <ilya.tocar@intel.com>
6600             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6601             Ilya Verbin  <ilya.verbin@intel.com>
6602             Kirill Yukhin  <kirill.yukhin@intel.com>
6603             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6605         * config/i386/sse.md
6606         (define_insn "vec_dup<mode>"): Update constraints.
6608 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6609             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6610             Anna Tikhonova  <anna.tikhonova@intel.com>
6611             Ilya Tocar  <ilya.tocar@intel.com>
6612             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6613             Ilya Verbin  <ilya.verbin@intel.com>
6614             Kirill Yukhin  <kirill.yukhin@intel.com>
6615             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6617         * config/i386/sse.md
6618         (define_mode_iterator SSESCALARMODE): Add V4TI mode.
6619         (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New.
6620         (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
6622 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6623             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6624             Anna Tikhonova  <anna.tikhonova@intel.com>
6625             Ilya Tocar  <ilya.tocar@intel.com>
6626             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6627             Ilya Verbin  <ilya.verbin@intel.com>
6628             Kirill Yukhin  <kirill.yukhin@intel.com>
6629             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6631         * config/i386/sse.md
6632         (define_expand "mul<mode>3<mask_name>"): Add masking.
6634 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6635             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6636             Anna Tikhonova  <anna.tikhonova@intel.com>
6637             Ilya Tocar  <ilya.tocar@intel.com>
6638             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6639             Ilya Verbin  <ilya.verbin@intel.com>
6640             Kirill Yukhin  <kirill.yukhin@intel.com>
6641             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6643         * config/i386/sse.md
6644         (define_insn "<sse2_avx2>_packsswb<mask_name>"): Add masking.
6645         (define_insn "<sse2_avx2>_packuswb<mask_name>"): Ditto.
6647 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6648             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6649             Anna Tikhonova  <anna.tikhonova@intel.com>
6650             Ilya Tocar  <ilya.tocar@intel.com>
6651             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6652             Ilya Verbin  <ilya.verbin@intel.com>
6653             Kirill Yukhin  <kirill.yukhin@intel.com>
6654             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6656         * config/i386/sse.md
6657         (define_c_enum "unspec"): Add UNSPEC_DBPSADBW, UNSPEC_PMADDUBSW512.
6658         (define_insn "avx512bw_pmaddubsw512<mode><mask_name>"): New.
6659         (define_insn "<mask_codefor>avx512bw_dbpsadbw<mode><mask_name>"):
6660         Ditto.
6662 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6663             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6664             Anna Tikhonova  <anna.tikhonova@intel.com>
6665             Ilya Tocar  <ilya.tocar@intel.com>
6666             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6667             Ilya Verbin  <ilya.verbin@intel.com>
6668             Kirill Yukhin  <kirill.yukhin@intel.com>
6669             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6671         * config/i386/sse.md
6672         (define_insn "<sse>_andnot<VF_128_256:mode>3<mask_name>"): Add masking,
6673         use VF_128_256 mode iterator and update assembler emit code.
6674         (define_insn "<sse>_andnot<VF_512:mode>3<mask_name>"): New.
6675         (define_expand "<any_logic:code><VF_128_256:mode>3<mask_name>"):
6676         Add masking, use VF_128_256 mode iterator.
6677         (define_expand "<any_logic:code><VF_512:mode>3<mask_name>"): New.
6678         (define_insn "*<any_logic:code><VF_128_256:mode>3<mask_name>"):
6679         Add masking, use VF_128_256 mode iterator and update assembler emit
6680         code.
6681         (define_insn "*<any_logic:code><VF_512:mode>3<mask_name>"): New.
6682         (define_mode_attr avx512flogicsuff): Delete.
6683         (define_insn "avx512f_<logic><mode>"): Ditto.
6684         (define_insn "*andnot<mode>3<mask_name>"): Update MODE_XI, MODE_OI,
6685         MODE_TI.
6686         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
6688 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6689             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6690             Anna Tikhonova  <anna.tikhonova@intel.com>
6691             Ilya Tocar  <ilya.tocar@intel.com>
6692             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6693             Ilya Verbin  <ilya.verbin@intel.com>
6694             Kirill Yukhin  <kirill.yukhin@intel.com>
6695             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6697         * config/i386/sse.md
6698         (define_mode_iterator VI128_128 [V16QI V8HI V2DI]): Delete.
6699         (define_expand "vashr<mode>3<mask_name>"): Add masking,
6700         use VI12_128 mode iterator.
6701         (define_expand "ashrv2di3<mask_name>"): New.
6703 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6704             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6705             Anna Tikhonova  <anna.tikhonova@intel.com>
6706             Ilya Tocar  <ilya.tocar@intel.com>
6707             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6708             Ilya Verbin  <ilya.verbin@intel.com>
6709             Kirill Yukhin  <kirill.yukhin@intel.com>
6710             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6712         * config/i386/i386.c
6713         (ix86_expand_args_builtin): Handle CODE_FOR_avx512vl_cmpv4di3_mask,
6714         CODE_FOR_avx512vl_cmpv8si3_mask, CODE_FOR_avx512vl_ucmpv4di3_mask,
6715         CODE_FOR_avx512vl_ucmpv8si3_mask, CODE_FOR_avx512vl_cmpv2di3_mask,
6716         CODE_FOR_avx512vl_cmpv4si3_mask, CODE_FOR_avx512vl_ucmpv2di3_mask,
6717         CODE_FOR_avx512vl_ucmpv4si3_mask.
6718         * config/i386/sse.md
6719         (define_insn "avx512f_ucmp<mode>3<mask_scalar_merge_name>"): Delete.
6720         "<avx512>_ucmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name>"):New.
6721         (define_insn
6722         "<avx512>_ucmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name>"):Ditto.
6723         (define_expand "<avx512>_eq<mode>3<mask_scalar_merge_name>"): Ditto.
6724         (define_insn "<avx512>_eq<mode>3<mask_scalar_merge_name>_1"): Ditto.
6725         (define_insn "<avx512>_gt<mode>3<mask_scalar_merge_name>"): Ditto.
6726         (define_insn "<avx512>_testm<mode>3<mask_scalar_merge_name>"): Ditto.
6727         (define_insn "<avx512>_testnm<mode>3<mask_scalar_merge_name>"): Ditto.
6729 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6730             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6731             Anna Tikhonova  <anna.tikhonova@intel.com>
6732             Ilya Tocar  <ilya.tocar@intel.com>
6733             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6734             Ilya Verbin  <ilya.verbin@intel.com>
6735             Kirill Yukhin  <kirill.yukhin@intel.com>
6736             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6738         * config/i386/sse.md
6739         (define_expand "vec_widen_umult_even_v8si<mask_name>"): Add masking.
6740         (define_insn "*vec_widen_umult_even_v8si<mask_name>"): Ditto.
6741         (define_expand "vec_widen_umult_even_v4si<mask_name>"): Ditto.
6742         (define_insn "*vec_widen_umult_even_v4si<mask_name>"): Ditto.
6743         (define_expand "vec_widen_smult_even_v8si<mask_name>"): Ditto.
6744         (define_insn "*vec_widen_smult_even_v8si<mask_name>"): Ditto.
6745         (define_expand "sse4_1_mulv2siv2di3<mask_name>"): Ditto.
6746         (define_insn "*sse4_1_mulv2siv2di3<mask_name>"): Ditto.
6747         (define_insn "avx512dq_mul<mode>3<mask_name>"): New.
6749 2014-10-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
6750             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
6751             Anna Tikhonova  <anna.tikhonova@intel.com>
6752             Ilya Tocar  <ilya.tocar@intel.com>
6753             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6754             Ilya Verbin  <ilya.verbin@intel.com>
6755             Kirill Yukhin  <kirill.yukhin@intel.com>
6756             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
6758         * config/i386/sse.md
6759         (define_insn "avx512f_blendm<mode>"): Delete.
6760         (define_insn "<avx512>_blendm<VI48_AVX512VL:mode>"): New.
6761         (define_insn "<avx512>_blendm<VI12_AVX512VL:mode>"): Ditto..
6762         (define_mode_attr cmp_imm_predicate): Add V8SF, V4DF, V8SI, V4DI, V4SF,
6763         V2DF, V4SI, V2DI, V32HI, V64QI, V16HI, V32QI, V8HI, V16QI modes.
6764         (define_insn
6765         "avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>"):
6766         Remove.
6767         (define_insn
6768         "<avx512>_cmp<VI48_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
6769         New.
6770         (define_insn
6771         "<avx512>_cmp<VI12_AVX512VL:mode>3<mask_scalar_merge_name><round_saeonly_name>"):
6772         Ditto.
6773         (define_insn "<mask_codefor>avx512f_vec_dup<mode><mask_name>"): Delete.
6774         (define_insn "<avx512>_vec_dup<V48_AVX512VL:mode><mask_name>"): New.
6775         (define_insn "<avx512>_vec_dup<V12_AVX512VL:mode><mask_name>"): Ditto.
6776         (define_insn "<mask_codefor>avx512f_vec_dup_gpr<mode><mask_name>"):
6777         Delete.
6778         (define_insn
6779         "<mask_codefor><avx512>_vec_dup_gpr<VI48_AVX512VL:mode><mask_name>"):
6780         New.
6781         (define_insn
6782         "<mask_codefor><avx512>_vec_dup_gpr<VI12_AVX512VL:mode><mask_name>"):
6783         Ditto.
6784         (define_insn·"<mask_codefor>avx512f_vec_dup_mem<mode><mask_name>"):
6785         Delete.
6786         (define_insn
6787         "<mask_codefor><avx512>_vec_dup_mem<VI48_AVX512VL:mode><mask_name>"):
6788         New.
6789         (define_insn
6790         "<mask_codefor><avx512>_vec_dup_mem<VI12_AVX512VL:mode><mask_name>"):
6791         Ditto.
6793 2014-10-14  Richard Biener  <rguenther@suse.de>
6795         PR tree-optimization/63512
6796         * tree-ssa-pre.c (create_expression_by_pieces): Mark stmts
6797         modified.
6799 2014-10-14  Oleg Endo  <olegendo@gcc.gnu.org>
6801         PR target/63260
6802         * config/sh/sh.md (negsf2, negsf2_i, negdf2, negdf2_i, abssf2,
6803         abssf2_i, absdf2, absdf2_i): Remove fp_mode attribute.  Remove use
6804         of FPSCR.
6805         (negsf2_i): Rename to *negsf2_i.
6806         (abssf2_i): Rename to *abssf2_i.
6807         (negdf2_i): Rename to *negdf2_i.
6808         (absdf2_i): Rename to *absdf2_i.
6810 2014-10-14  Felix Yang  <felix.yang@huawei.com>
6811             Jeff Law  <law@redhat.com>
6813         * ira.c (struct equivalence): Change member "is_arg_equivalence" and
6814         "replace" into boolean bitfields; turn member "loop_depth" into a short
6815         integer; add new member "no_equiv" and "reserved".
6816         (no_equiv): Set no_equiv of struct equivalence if register is marked
6817         as having no known equivalence.
6818         (update_equiv_regs): Check all definitions for a multiple-set
6819         register to make sure that the RHS have the same value.
6821 2014-10-13  Richard Henderson  <rth@redhat.com>
6823         * combine-stack-adj.c (no_unhandled_cfa): New.
6824         (maybe_merge_cfa_adjust): New.
6825         (combine_stack_adjustments_for_block): Use them.
6827 2014-10-13  Aldy Hernandez  <aldyh@redhat.com>
6829         * Makefile.in (TAGS): Tag ../include files.
6831 2014-10-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6833         * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Pass format argument
6834         to rs6000_dbx_register_number.
6835         (DWARF_FRAME_REGNUM): Redefine as identity map.
6836         (DWARF2_FRAME_REG_OUT): Call rs6000_dbx_register_number.
6837         * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Update.
6838         * config/rs6000/rs6000.c (rs6000_dbx_register_number): Add format
6839         argument to handle .debug_frame and .eh_frame directly.  Always
6840         translate SPE high register numbers.  Add special treatment for CR,
6841         but only in .debug_frame.  Respect RS6000_USE_DWARF_NUMBERING.
6843         * config/rs6000/sysv.h (DBX_REGISTER_NUMBER): Do not undefine.
6844         * config/rs6000/freebsd.h (DBX_REGISTER_NUMBER): Remove.
6845         (RS6000_USE_DWARF_NUMBERING): Define.
6846         * config/rs6000/freebsd64.h (DBX_REGISTER_NUMBER): Remove.
6847         (RS6000_USE_DWARF_NUMBERING): Define.
6848         * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Remove.
6849         (RS6000_USE_DWARF_NUMBERING): Define.
6850         * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Remove.
6851         (RS6000_USE_DWARF_NUMBERING): Define.
6852         * config/rs6000/aix.h (RS6000_USE_DWARF_NUMBERING): Define.
6853         * config/rs6000/darwin.h (RS6000_USE_DWARF_NUMBERING): Define.
6855 2014-10-13  Evgeny Stupachenko  <evstupac@gmail.com>
6857         * config/i386/i386.c (ix86_address_cost): Lower cost for
6858         when address contains GOT register.
6860 2014-10-13  Ilya Enkovich  <ilya.enkovich@intel.com>
6861             Vladimir Makarov  <vmakarov@redhat.com>
6863         PR target/8340
6864         PR middle-end/47602
6865         PR rtl-optimization/55458
6866         * config/i386/i386.c (ix86_use_pseudo_pic_reg): New.
6867         (ix86_init_pic_reg): New.
6868         (ix86_select_alt_pic_regnum): Add check on pseudo register.
6869         (ix86_save_reg): Likewise.
6870         (ix86_expand_prologue): Remove PIC register initialization
6871         now performed in ix86_init_pic_reg.
6872         (ix86_output_function_epilogue): Add check on pseudo register.
6873         (set_pic_reg_ever_alive): New.
6874         (legitimize_pic_address): Replace df_set_regs_ever_live with new
6875         set_pic_reg_ever_alive.
6876         (legitimize_tls_address): Likewise.
6877         (ix86_pic_register_p): New check.
6878         (ix86_delegitimize_address): Add check on pseudo register.
6879         (ix86_expand_call): Insert move from pseudo PIC register to ABI
6880         defined REAL_PIC_OFFSET_TABLE_REGNUM.
6881         (TARGET_INIT_PIC_REG): New.
6882         (TARGET_USE_PSEUDO_PIC_REG): New.
6883         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Return INVALID_REGNUM
6884         if pic_offset_table_rtx exists.
6885         * doc/tm.texi.in (TARGET_USE_PSEUDO_PIC_REG, TARGET_INIT_PIC_REG):
6886         Document.
6887         * doc/tm.texi: Regenerate.
6888         * function.c (assign_parms): Generate pseudo register for PIC.
6889         * init-regs.c (initialize_uninitialized_regs): Ignor pseudo PIC
6890         register.
6891         * ira-color.c (color_pass): Add check on pseudo register.
6892         * ira-emit.c (change_loop): Don't create copies for PIC pseudo
6893         register.
6894         * ira.c (split_live_ranges_for_shrink_wrap): Add check on pseudo
6895         register.
6896         (ira): Add target specific PIC register initialization.
6897         (do_reload): Keep PIC pseudo register.
6898         * lra-assigns.c (spill_for): Add checks on pseudo register.
6899         * lra-constraints.c (contains_symbol_ref_p): New.
6900         (lra_constraints): Enable lra risky transformations when PIC is pseudo
6901         register.
6902         * shrink-wrap.c (try_shrink_wrapping): Add check on pseudo register.
6903         * target.def (use_pseudo_pic_reg): New.
6904         (init_pic_reg): New.
6906 2014-10-13  Evgeny Stupachenko  <evstupac@gmail.com>
6908         * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY):
6909         Remove m_SILVERMONT and m_INTEL from the tune.
6911 2014-10-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6913         PR libfortran/63471
6914         * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
6915         when _HPUX_SOURCE is defined.
6917 2014-10-13  Jan Hubicka  <hubicka@ucw.cz>
6919         PR tree-optimization/62127
6920         * tree.c (remap_type_1): When remapping array, remap
6921         also its type.
6923 2014-10-13  Christophe Lyon  <christophe.lyon@linaro.org>
6925         * Makefile.in: (check-%): Update comment, as RUNTESTFLAGS no
6926         longer impact parallelization.
6928 2014-10-13  Jan Hubicka  <hubicka@ucw.cz>
6930         PR bootstrap/63496
6931         * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
6933 2014-10-13  Marat Zakirov  <m.zakirov@samsung.com>
6935         * asan.c (instrument_derefs): BIT_FIELD_REF added.
6937 2014-10-13  Richard Biener  <rguenther@suse.de>
6939         PR tree-optimization/63419
6940         * gimple-fold.h (gimple_convert): New function.
6941         * gimple-fold.c (gimple_convert): Likewise.
6942         * tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
6943         to split out required conversions early.
6945 2014-10-13  Richard Sandiford  <richard.sandiford@arm.com>
6947         * rtlanal.c (generic_subrtx_iterator <T>::add_subrtxes_to_queue):
6948         Add the parts of an insn in reverse order, with the pattern at
6949         the top of the queue.  Detect when we're iterating over a SEQUENCE
6950         pattern and in that case just consider patterns of subinstructions.
6952 2014-10-12  Oleg Endo  <olegendo@gcc.gnu.org>
6954         PR target/59401
6955         * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
6956         of rtx.
6957         * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
6958         insn walking.
6959         (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
6960         address.  Use def chains to handle GBR clobbering call insns.
6962 2014-10-12  Trevor Saunders  <tsaunders@mozilla.com>
6964         * asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
6965         config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
6966         config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
6967         function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
6968         output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
6969         tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
6970         * doc/gty.texi (for_user): Document new option.
6971         * gengtype.c (create_user_defined_type): Don't try to get a struct for
6972         char.
6973         (walk_type): Don't error out on for_user option.
6974         (write_func_for_structure): Emit user marking routines if requested by
6975         for_user option.
6976         (write_local_func_for_structure): Likewise.
6977         (main): Mark types with for_user option as used.
6978         * ggc.h (gt_pch_nx): Add overload for unsigned int.
6979         * hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
6980         * hash-table.h (ggc_hasher): New struct.
6981         (hash_table::create_ggc): New function.
6982         (gt_pch_nx): New overload for hash_table.
6984 2014-10-11  Oleg Endo  <olegendo@gcc.gnu.org>
6986         * config/sh/sh.h (TARGET_SH4A_ARCH): Remove macro.
6987         * config/sh/sh.h: Replace uses of TARGET_SH4A_ARCH with TARGET_SH4A.
6988         * config/sh/sh.c: Likewise.
6989         * config/sh/sh-mem.cc: Likewise.
6990         * config/sh/sh.md: Likewise.
6991         * config/sh/predicates.md: Likewise.
6992         * config/sh/sync.md: Likewise.
6994 2014-10-11  Martin Liska  <mliska@suse.cz>
6996         PR middle-end/63376
6997         * cgraphunit.c (symbol_table::process_new_functions): Missing call
6998         for call_cgraph_insertion_hooks added.
7000 2014-10-10  Jakub Jelinek  <jakub@redhat.com>
7002         PR c/63495
7003         * stor-layout.c (min_align_of_type): Don't decrease alignment
7004         through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
7005         TYPE_USER_ALIGN is set.
7007 2014-10-10  Uros Bizjak  <ubizjak@gmail.com>
7009         PR rtl-optimization/63483
7010         * alias.c (true_dependence_1): Do not exit early for MEM_READONLY_P
7011         references when alignment ANDs are involved.
7012         (write_dependence_p): Ditto.
7013         (may_alias_p): Ditto.
7015 2014-10-10  Marek Polacek  <polacek@redhat.com>
7017         * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_OBJECT_SIZE.
7018         * doc/invoke.texi: Document -fsanitize=object-size.
7019         * flag-types.h (enum sanitize_code): Add SANITIZE_OBJECT_SIZE and
7020         or it into SANITIZE_UNDEFINED.
7021         * gimple-fold.c (gimple_fold_call): Optimize IFN_UBSAN_OBJECT_SIZE.
7022         * internal-fn.c (expand_UBSAN_OBJECT_SIZE): New function.
7023         * internal-fn.def (UBSAN_OBJECT_SIZE): Define.
7024         * opts.c (common_handle_option): Handle -fsanitize=object-size.
7025         * ubsan.c: Include tree-object-size.h.
7026         (ubsan_type_descriptor): Call tree_to_uhwi instead of tree_to_shwi.
7027         (ubsan_expand_bounds_ifn): Use false instead of 0.
7028         (ubsan_expand_objsize_ifn): New function.
7029         (instrument_object_size): New function.
7030         (pass_ubsan::execute): Add object size instrumentation.
7031         * ubsan.h (ubsan_expand_objsize_ifn): Declare.
7033 2014-10-10  Richard Henderson  <rth@redhat.com>
7035         PR target/63404
7036         * shrink-wrap.c (move_insn_for_shrink_wrap): Don't use single_set.
7037         Restrict the set of expressions we're willing to move.
7039 2014-10-10  Jeff Law  <law@redhat.com>
7041         * ira.c (struct equivalence): Promote INIT_INSNs field to
7042         an rtx_insn_list.  Add comments.
7043         (no_equiv): Promote LIST to an rtx_insn_list.  Update
7044         testing for and creating the special marker.  Use methods
7045         to extract the insn and next pointers.  Promote INSN to an
7046         rtx_insn.
7047         (update_equiv_regs): Update test for special marker in the
7048         INIT_INSNs list.
7050 2014-10-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7052         * configure.ac: Add --enable-fix-cortex-a53-835769 option.
7053         * configure: Regenerate.
7054         * config/aarch64/aarch64.c (aarch64_override_options): Handle
7055         TARGET_FIX_ERR_A53_835769_DEFAULT.
7056         * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init
7057         value to 2.
7058         * doc/install.texi (aarch64*-*-*): Document
7059         new --enable-fix-cortex-a53-835769 option.
7061 2014-10-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7062             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7064         * config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
7065         (ADJUST_INSN_LENGTH): Define.
7066         * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
7067         * config/aarch64/aarch64.c (is_mem_p): New function.
7068         (is_memory_op): Likewise.
7069         (aarch64_prev_real_insn): Likewise.
7070         (is_madd_op): Likewise.
7071         (dep_between_memop_and_curr): Likewise.
7072         (aarch64_madd_needs_nop): Likewise.
7073         (aarch64_final_prescan_insn): Likewise.
7074         * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
7075         and -mno-fix-cortex-a53-835769 options.
7077 2014-10-10  Jakub Jelinek  <jakub@redhat.com>
7079         PR tree-optimization/63464
7080         * tree-switch-conversion.c (struct case_bit_test): Remove
7081         hi and lo fields, add wide_int mask field.
7082         (emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
7083         hi/lo fields into wide_int mask operations, optimize by pretending
7084         minval to be 0 if maxval is small enough.
7085         (process_switch): Adjust caller.
7087 2014-10-10  Richard Biener  <rguenther@suse.de>
7089         PR tree-optimization/63379
7090         * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
7091         a neutral operand for min/max when it is not a reduction chain.
7093 2014-10-10  Richard Biener  <rguenther@suse.de>
7095         PR tree-optimization/63476
7096         * tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
7097         (BB_LIVE_VOP_ON_EXIT): New define.
7098         (create_expression_by_pieces): Assign VUSEs to stmts.
7099         (compute_avail): Track BB_LIVE_VOP_ON_EXIT.
7100         (pass_pre::execute): Assert virtual SSA form is up-to-date
7101         after insertion.
7103 2014-10-10  Eric Botcazou  <ebotcazou@adacore.com>
7105         * lra-assigns.c (assign_by_spills): Error out on spill failure.
7107 2014-10-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7109         * pa-polymorphic-call.c (check_stmt_for_type_change): Move
7110         assertion.
7112 2014-10-09  Richard Biener  <rguenther@suse.de>
7114         PR tree-optimization/63380
7115         * tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
7116         may trap.
7118 2014-10-09  Joern Rennecke  <joern.rennecke@embecosm.com>
7120         * config/avr/avr.opt (mmcu=): Change to have a string value.
7121         (mn-flash=, mskip-bug, march=, mrmw): New options.
7122         (HeaderInclude): New.
7123         (mmcu=): Remove Var / Init clauses.
7124         * config/avr/avr.h (DRIVER_SELF_SPECS): Translate -mmcu into a
7125         -specs option.
7126         (SYMBOL_FLAG_IO, SYMBOL_FLAG_ADDRESS): Define.
7127         (ASM_OUTPUT_ALIGNED_BSS): Use avr_asm_asm_output_aligned_bss.
7128         (SYMBOL_FLAG_IO_LOW): Define.
7129         (avr_device_to_as, avr_device_to_ld): Don't declare.
7130         (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
7131         (avr_device_to_devicelib, avr_device_to_sp8): Likewise.
7132         (EXTRA_SPEC_FUNCTIONS): Don't define.
7133         (ASM_SPEC): Translate -arch= option to -mmcu= option.
7134         (LINK_SPEC): Translate -arch= option to -m= option.
7135         Don't use device_to_ld / device_to_data_start.
7136         (STARTFILE_SPEC): Now empty.
7137         (ASM_SPEC): Add -%{mrelax: --mlink-relax}.
7138         * config/avr/gen-avr-mmcu-specs.c: New file.
7139         * config/avr/t-avr (gen-avr-mmcu-specs$(build_exeext)): New rule.
7140         (s-device-specs): Likewise.
7141         (GCC_PASSES): Add s-device-specs.
7142         (install-driver): Depend on install-device-specs.
7143         (install-device-specs): New rule.
7144         * config/avr/avr.c (avr_option_override): Look up mcu arch by
7145         avr_arch_index and provide fallback initialization for avr_n_flash.
7146         (varasm.h): #include.
7147         (avr_print_operand) <i>: Allow SYMBOL_REF with SYMBOL_FLAG_IO;
7148         (avr_handle_addr_attribute, avr_eval_addr_attrib): New functions.
7149         (avr_attribute_table): Add "io", "address" and "io_low".
7150         (avr_asm_output_aligned_decl_common): Change type of decl to tree.
7151         Add special handling for symbols with "io" and/or "address" attributes.
7152         (avr_asm_asm_output_aligned_bss): New function.
7153         (avr_encode_section_info): Set SYMBOL_FLAG_IO and SYMBOL_FLAG_ADDRESS
7154         as appropriate.  Handle io_low attribute.
7155         (avr_out_sbxx_branch): Handle symbolic io addresses.
7156         (avr_xload_libgcc_p, avr_nonconst_pointer_addrspace): Use
7157         avr_n_flash instead of avr_current_device->n_flash.
7158         (avr_pgm_check_var_decl, avr_insert_attributes): Likewise.
7159         (avr_emit_movmemhi): Likewise.
7160         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Likewise.
7161         Use TARGET_RMW instead of avr_current_device->dev_attributes.
7162         Don't define avr_current_device->macro (that's the specfile's job).
7163         Use TARGET_SKIP_BUG instead of avr_current_device->errata_skip.
7164         * config/avr/avr.c (avr_2word_insn_p): Likewise.
7165         * config/avr/avr.md (*cpse.ne): Likewise.
7166         (mov<mode>): Use avr_eval_addr_attrib.
7167         (cbi): Change constraint for low_io_address_operand operand to "i".
7168         (sbi, sbix_branch, sbix_branch_bit7, insv.io, insv.not.io): Likewise.
7169         * config/avr/predicates.md (io_address_operand):
7170         Allow SYMBOL_REF with SYMBOL_FLAG_IO.
7171         (low_io_address_operand): Allow SYMBOL_REF with SYMBOL_FLAG_IO_LOW.
7172         * config/avr/avr-protos.h (avr_asm_output_aligned_decl_common):
7173         Update prototype.
7174         (avr_eval_addr_attrib, avr_asm_asm_output_aligned_bss): Prototype.
7175         * config/avr/genmultilib.awk: Use -march=.
7176         Remove Multilib matches processing.
7177         * config/avr/t-multilib, config/avr/avr-tables.opt: Regenerate.
7178         * config/avr/avr-arch.h: Add double include guard.
7179         (avr_mcu_t) <library_name>: Update comment.
7180         * config/avr/driver-avr.c (avr_device_to_as): Delete.
7181         (avr_device_to_ld, avr_device_to_data_start): Likewise.
7182         (avr_device_to_startfiles, avr_device_to_devicelib): Likewise.
7183         (avr_device_to_sp8): Likewise.
7184         * config/avr/genopt.sh:  Instead avr_mcu, emit an Enum for avr_arch.
7186         * doc/extend.texi (io, address): Document new AVR variable attributes.
7187         (io_low): Likewise.
7189 2014-10-09  Marek Polacek  <polacek@redhat.com>
7191         * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
7193 2014-10-08  Richard Biener  <rguenther@suse.de>
7195         PR tree-optimization/61969
7196         * tree-nrv.c (pass_nrv::execute): Properly test for automatic
7197         variables.
7199 2014-10-09  Richard Biener  <rguenther@suse.de>
7201         PR tree-optimization/63445
7202         * tree-vrp.c (simplify_cond_using_ranges): Only warn about
7203         overflow for non-equality compares.
7205 2014-10-09  Uros Bizjak  <ubizjak@gmail.com>
7207         PR rtl-optimization/57003
7208         * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
7209         also check CALL_INSN_FUNCTION_USAGE for clobbers again after
7210         killing regs_invalidated_by_call.
7212 2014-10-08  Teresa Johnson  <tejohnson@google.com>
7214         PR bootstrap/63432.
7215         * tree-ssa-threadupdate.c (estimated_freqs_path): New function.
7216         (ssa_fix_duplicate_block_edges): Invoke it.
7217         (mark_threaded_blocks): Make two passes to avoid ordering dependences.
7219 2014-10-08  Oleg Endo  <olegendo@gcc.gnu.org>
7221         PR target/52941
7222         * config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
7223         atomic_fetch_<fetchop_name>si_hard,
7224         atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
7225         atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
7226         atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
7227         atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
7229 2014-10-08  Rong Xu  <xur@google.com>
7231         * gcov-tool.c (profile_overlap): New driver function
7232         to compute profile overlap.
7233         (print_overlap_usage_message): New.
7234         (overlap_usage): New.
7235         (do_overlap): New.
7236         (print_usage): Add calls to overlap function.
7237         (main): Ditto.
7238         * doc/gcov-tool.texi: Add documentation.
7240 2014-10-08  Steve Ellcey  <sellcey@mips.com>
7242         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Change
7243         LINUX64_DRIVER_SELF_SPECS to LINUX_DRIVER_SELF_SPECS
7245 2014-10-08  Jan Hubicka  <hubicka@ucw.cz>
7247         * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better
7248         pattern matching of MEM_REF.
7249         (check_stmt_for_type_change): Update.
7251 2014-10-08  Steve Ellcey  <sellcey@mips.com>
7253         * config/mips/linux64.h: Remove.
7254         * config/mips/gnu-user64.h: Remove.
7255         * gcc.config (mips*-*-*): Remove references to linux64.h and
7256         gnu-user64.h
7257         * config/mips/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Replace
7258         with modified version from gnu-user64.h.
7259         (LINUX_DRIVER_SELF_SPECS): Update parts from gnu-user64.h.
7260         (LOCAL_LABEL_PREFIX): Copy from gnu-user64.h.
7261         * config/mips/linux.h (GNU_USER_LINK_EMULATION32): Copy from
7262         linux64.h.
7263         (GNU_USER_LINK_EMULATION64): Ditto.
7264         (GNU_USER_LINK_EMULATIONN32): Ditto.
7265         (GLIBC_DYNAMIC_LINKER32): Ditto.
7266         (GLIBC_DYNAMIC_LINKER64): Ditto.
7267         (GLIBC_DYNAMIC_LINKERN32): Ditto.
7268         (UCLIBC_DYNAMIC_LINKER32): Ditto.
7269         (UCLIBC_DYNAMIC_LINKER64): Ditto.
7270         (UCLIBC_DYNAMIC_LINKERN32): Ditto.
7271         (BIONIC_DYNAMIC_LINKERN32): Ditto.
7272         (GNU_USER_DYNAMIC_LINKERN32): Ditto.
7273         (GLIBC_DYNAMIC_LINKER): Delete.
7274         (UCLIBC_DYNAMIC_LINKER): Delete.
7276 2014-10-08  Joern Rennecke  <joern.rennecke@embecosm.com>
7277             Richard Biener  <rguenther@suse.de>
7279         * cfgexpand.c (expand_debug_expr) <TARGET_MEM_REF>:
7280         Get address space from operand 0 (BASE).
7282 2014-10-07  Iain Sandoe  <iain@codesourcery.com>
7284         PR target/61387
7285         * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
7287 2014-10-07  Aldy Hernandez  <aldyh@redhat.com>
7289         * dwarf2out.c: Remove current_function_has_inlines.
7290         (gen_subprogram_die): Same.
7291         (gen_inlined_subroutine_die): Same.
7293 2014-10-07  Ilya Tocar  <ilya.tocar@intel.com>
7295         * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
7296         type.
7297         (_addcarry_u64): Ditto.
7298         (_addcarryx_u64): Ditto.
7300 2014-10-07  Eric Botcazou  <ebotcazou@adacore.com>
7302         * cgraph.h (cgraph_node::get_fun): Declare.
7303         * cgraph.c (cgraph_node::get_fun): New method.
7304         * ipa-inline.c (can_inline_edge_p): Use it.
7306 2014-10-07  Eric Botcazou  <ebotcazou@adacore.com>
7308         * lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
7309         and -ftrapping-math.
7310         * lto-wrapper.c (merge_and_complain): Likewise.
7311         (run_gcc): Likewise.
7313 2014-10-06  Rong Xu  <xur@google.com>
7315         * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
7316         * tree-profile.c: (params.h): New include.
7317         (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
7318         and __gcov_indirect_call_topn_counters for
7319         indirect_call_topn_profile.
7320         (gimple_init_edge_profiler): New decls for
7321         __gcov_indirect_call_topn_profiler.
7322         (gimple_gen_ic_profiler): Generate the correct profiler call.
7323         (gimple_gen_ic_func_profiler): Fix format.
7324         * value-prof.c (params.h): New include.
7325         (dump_histogram_value): Hanlde indirect_call_topn counters.
7326         (stream_in_histogram_value): Ditto.
7327         (gimple_indirect_call_to_profile): Use indirect_call_topn
7328         profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
7329         (gimple_find_values_to_profile): Hanlde indirect_call_topn
7330         counters.
7331         * value-prof.h (enum hist_type): Histrogram type for
7332         indirect_call_topn counters.
7333         * profile.c (instrument_values): Instrument
7334         indirect_call_topn counters.
7336 2014-10-06  Rong Xu  <xur@google.com>
7338         * Makefile.in: Fix dependence.
7339         * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
7340         indirect call topn profiler.
7341         * gcov-io.h: Ditto.
7343 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
7345         * calls.c (expand_call): Do not use the target as the return slot if
7346         it is not sufficiently aligned.
7348 2014-10-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
7350         * config/rs6000/rs6000.c (analyze_swaps commentary): Add
7351         discussion of permutes and why we don't handle them.
7353 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
7355         * config/sparc/predicates.md (int_register_operand): Delete.
7357 2014-10-06  Eric Botcazou  <ebotcazou@adacore.com>
7359         * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
7361 2014-10-06  Jakub Jelinek  <jakub@redhat.com>
7363         * ubsan.h (ubsan_get_source_location): New prototype.
7364         * ubsan.c (ubsan_source_location_type): New variable.
7365         Function renamed to ...
7366         (ubsan_get_source_location_type): ... this.  Cache
7367         return value in ubsan_source_location_type variable.
7368         (ubsan_source_location, ubsan_create_data): Use
7369         ubsan_get_source_location_type instead of
7370         ubsan_source_location_type.
7371         * asan.c (asan_protect_global): Don't protect globals
7372         with ubsan_get_source_location_type () type.
7373         (asan_add_global): Provide global decl location info
7374         if possible.
7376 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
7378         * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
7379         sanity check.
7381 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
7383         * ipa-polymorphic-call.c (possible_placement_new): Fix condition
7384         on size.
7385         (ipa_polymorphic_call_context::restrict_to_inner_type): Do not walk
7386         into vptr pointer.
7387         (ipa_polymorphic_call_context::dump): Fix formating.
7388         (walk_ssa_copies): Add logic avoiding loops; update uses.
7389         * ipa-prop.c (ipa_analyze_call_uses): Compute vptr_changed.
7391 2014-10-02  Mark Wielaard  <mjw@redhat.com>
7393         PR debug/63239
7394         * dwarf2out.c (gen_subprogram_die): When a member function is
7395         explicitly deleted then add a DW_AT_GNU_deleted attribute.
7396         * langhooks.h (struct lang_hooks_for_decls): Add
7397         function_decl_deleted_p langhook.
7398         * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_DELETED_P): Define.
7399         (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_DELETED_P.
7401 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
7403         * ipa-polymorphic-call.c (walk_ssa_copies): Recognize
7404         NULL pointer checks.
7405         (ipa_polymorphic_call_context::get_dynamic_type): Return true
7406         if type doesn't change.
7407         * cgraph.h (cgraph_indirect_call_info): New flag.
7408         * cgraph.c (cgraph_node::create_indirect_edge): Initialize it.
7409         (cgraph_node::dump): Dump it.
7410         * ipa-prop.c (ipa_analyze_call_uses):  Ignore return valud
7411         of context.get_dynamic_type.
7412         (ipa_make_edge_direct_to_target): Do not speculate
7413         edge that is already speuclative.
7414         (try_make_edge_direct_virtual_call): Use VPTR_CHANGED; Do not
7415         speculate to __builtin_unreachable
7416         (ipa_write_indirect_edge_info, ipa_read_indirect_edge_info): Stream
7417         vptr_changed.
7418         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use vptr_changed.
7420 2014-10-04  Jan Hubicka  <hubicka@ucw.cz>
7422         * ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
7423         get_dynamic_type; drop TODO.
7424         * ipa-polymorphic-call.c
7425         (ipa_polymorphic_call_context::get_dynamic_type): Be ready
7426         for otr_type to be unknown.
7428 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7430         * common/config/score/score-common.c: Remove.
7431         * config.gcc: Remove support for score-*.
7432         * config/score/constraints.md: Remove.
7433         * config/score/elf.h: Remove.
7434         * config/score/predicates.md: Remove.
7435         * config/score/score-conv.h: Remove.
7436         * config/score/score-generic.md: Remove.
7437         * config/score/score-modes.def: Remove.
7438         * config/score/score-protos.h: Remove.
7439         * config/score/score.c: Remove.
7440         * config/score/score.h: Remove.
7441         * config/score/score.md: Remove.
7442         * config/score/score.opt: Remove.
7443         * doc/md.texi: Don't document score-*.
7445 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7447         PR pch/63429
7448         * genconditions.c: Directly include ggc.h before rtl.h.
7450 2014-10-03  Jan Hubicka  <hubicka@ucw.cz>
7452         * ipa-polymorphic-call.c
7453         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
7454         code determining speculative type.
7455         (ipa_polymorphic_call_context::combine_with): Fix speculation merge.
7457 2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
7459         * altivec.md (altivec_lvsl): New define_expand.
7460         (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
7461         (altivec_lvsr): New define_expand.
7462         (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
7463         * rs6000.c (rs6000_expand_builtin): Change to use
7464         altivec_lvs[lr]_direct; remove commented-out code.
7466 2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
7468         * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
7469         Issue a warning message when vec_lvsl or vec_lvsr is used with a
7470         little endian target.
7472 2014-10-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
7474         * tree-pretty-print.c (dump_location): Make it extern. Dump also
7475         the column.
7476         * tree-pretty-print.h (dump_location): Declare.
7477         * gimple-pretty-print.c (dump_gimple_phi): Use dump_location.
7478         (pp_gimple_stmt_1): Likewise.
7479         (dump_implicit_edges): Likewise.
7480         * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and
7481         LOCATION_LINE.
7484 2014-10-03  David Malcolm  <dmalcolm@redhat.com>
7486         * gcc.c (driver::global_initializations): Remove "const" so
7487         that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
7488         and decoded_options_count.
7490 2014-10-03  Maciej W. Rozycki  <macro@codesourcery.com>
7492         * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
7493         macro.
7494         * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Handle
7495         TARGET_E500_DOUBLE case here.
7497 2014-10-03  Marc Glisse  <marc.glisse@inria.fr>
7499         PR c++/54427
7500         PR c++/57198
7501         PR c++/58845
7502         * doc/extend.texi (Vector Extensions): Document &&, ||, ! in C++.
7504 2014-10-03  Jan Hubicka  <hubicka@ucw.cz>
7506         * cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
7507         * lto-cgraph.c (lto_output_edge, input_edge): Stream
7508         in_polymorphic_cdtor
7509         * cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
7510         (cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
7511         * cgraphclones.c (cgraph_edge::clone): Likewise.
7512         * ipa-prop.c (update_jump_functions_after_inlining,
7513         try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
7514         to possible_dynamic_type_change.
7515         (decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
7516         (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
7517         IN_POLY_CDOTR argument.
7519         * ipa-polymorphic-call.c (decl_maybe_in_construction_p): Be ready
7520         for BASE and OUTER_TYPE being NULL.
7521         (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
7522         in_poly_cdtor parameter.
7524 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
7526         * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Fix up formatting.
7527         (ix86_expand_vec_perm): Only call ix86_expand_vec_perm_vpermi2 if
7528         TARGET_AVX512F.
7529         (expand_vec_perm_1): Likewise.
7531 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
7532             Uros Bizjak  <ubizjak@gmail.com>
7534         PR tree-optimization/61403
7535         * config/i386/i386.c (expand_vec_perm_palignr): Fix a spelling
7536         error in comment.  Also optimize 256-bit vectors for AVX2
7537         or AVX (floating vectors only), provided the first permutation
7538         can be performed in one insn.
7540 2014-10-03  David Malcolm  <dmalcolm@redhat.com>
7542         * gcc.c (class driver): New class.
7543         (main): Reimplement in terms of driver::main, moving most of the
7544         locals to be locals within individual methods of class driver.
7545         The remaining locals "explicit_link_files", "decoded_options" and
7546         "decoded_options_count" are used by multiple driver:: methods, and
7547         so become member data.  Doing so isolates the argc/argv reads and
7548         writes.  Replace "goto out" with a special exit code from
7549         new method driver::prepare_infiles.  Split out the old
7550         implementation of main into the following...
7551         (driver::main): New function, corresponding to the old "main"
7552         implementation.
7553         (driver::set_progname): New function, taken from the old
7554         "main" implementation.
7555         (driver::expand_at_files): Likewise.
7556         (driver::decode_argv): Likewise.
7557         (driver::global_initializations): Likewise.
7558         (driver::build_multilib_strings): Likewise.
7559         (driver::set_up_specs): Likewise.
7560         (driver::putenv_COLLECT_GCC): Likewise.
7561         (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
7562         (driver::handle_unrecognized_options): Likewise.
7563         (driver::maybe_print_and_exit): Likewise.
7564         (driver::prepare_infiles): Likewise.
7565         (driver::do_spec_on_infiles): Likewise.
7566         (driver::maybe_run_linker): Likewise.
7567         (driver::final_actions): Likewise.
7568         (driver::get_exit_code): Likewise.
7570 2014-10-03  Yury Gribov  <y.gribov@samsung.com>
7572         * asan.c (asan_finish_file): Disable __asan_init calls for KASan;
7573         don't emit empty ctors.
7575 2014-10-03  Eric Botcazou  <ebotcazou@adacore.com>
7577         * convert.c (convert_to_integer): Do not introduce useless conversions
7578         between integral types.
7580 2014-10-03  David Sherwood  <david.sherwood@arm.com>
7582         * ira-int.h (ira_allocno): Mark hard_regno as signed.
7584 2014-10-03  Ilya Enkovich  <ilya.enkovich@intel.com>
7586         * lra-constraints.c (inherit_in_ebb): Handle calls with
7587         multiple return values.
7588         * caller-save.c (save_call_clobbered_regs): Likewise.
7590 2014-10-03  Jakub Jelinek  <jakub@redhat.com>
7592         * tree-vect-data-refs.c (vect_permute_load_chain,
7593         vect_shift_permute_load_chain): Fix a typo in temporary var names,
7594         suffle3 to shuffle3.
7596         PR libgomp/61200
7597         * omp-low.c (taskreg_contexts): New variable.
7598         (scan_omp_parallel): Push newly created context into taskreg_contexts
7599         vector and move record layout code to finish_taskreg_scan.
7600         (scan_omp_task): Likewise.
7601         (finish_taskreg_scan): New function.
7602         (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
7603         vector elements and release it.
7605         PR target/62128
7606         * config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
7607         of palignr arguments can't be used due to min 0 or max - min
7608         too high, try also op0, op1 order of palignr arguments.
7610 2014-10-02  Jan Hubicka  <hubicka@ucw.cz>
7612         * cgraph.h (ipa_polymorphic_call_context):
7613         Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
7614         private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
7615         * ipa-polymorphic-call.c
7616         (ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
7617         past end of dynamic types.
7618         (ipa_polymorphic_call_context::stream_out,
7619         speculative_outer_type): Stream dynamic flag.
7620         (ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
7621         (ipa_polymorphic_call_context::ipa_polymorphic_call_context):
7622         Clear DYNAMIC.
7623         (ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
7624         set it.
7625         (ipa_polymorphic_call_context::combine_with): Propagate dynamic.
7626         * ipa-prop.c (update_jump_functions_after_inlining,
7627         try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.
7629 2014-10-02  Teresa Johnson  <tejohnson@google.com>
7631         * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
7632         up when synthesizing counts to avoid rounding errors.
7634 2014-10-02  Teresa Johnson  <tejohnson@google.com>
7636         PR middle-end/63422
7637         * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove
7638         asserts to handle incoming insanities.
7640 2014-10-02  Martin Jambor  <mjambor@suse.cz>
7642         PR tree-optimization/63375
7643         * tree-sra.c (build_access_from_expr_1): Disqualify volatile
7644         references.
7646 2014-10-02  Olivier Hainque  <hainque@adacore.com>
7648         * Makefile.in (CROSS): Define, to @CROSS.
7650 2014-10-02  Jakub Jelinek  <jakub@redhat.com>
7652         PR target/62128
7653         * config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
7654         if it expands to a single insn only.
7655         (expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument.  If true,
7656         fail unless in_order is true.  Add forward declaration.
7657         (expand_vec_perm_vperm2f128): Fix up comment about which permutation
7658         is useful for one_operand_p.
7659         (ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.
7661 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
7663         * cgraphclones.c (build_function_type_skip_args): Do not make new
7664         type variant of old.
7666 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
7668         * ipa-prop.h (ipa_get_controlled_uses): Add hack to avoid ICE
7669         when speculation is added.
7670         (ipa_edge_args): Add polymorphic_call_contexts.
7671         (ipa_get_ith_polymorhic_call_context): New accesor.
7672         (ipa_make_edge_direct_to_target): Add SPECULATIVE parameter.
7673         * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Print contexts.
7674         (ipa_compute_jump_functions_for_edge): Compute contexts.
7675         (update_jump_functions_after_inlining): Update contexts.
7676         (ipa_make_edge_direct_to_target): Add SPECULATIVE argument;
7677         update dumping; add speculative edge creation.
7678         (try_make_edge_direct_virtual_call): Add CTX_PTR parameter; handle
7679         context updating.
7680         (update_indirect_edges_after_inlining): Pass down context.
7681         (ipa_edge_duplication_hook): Duplicate contexts.
7682         (ipa_write_node_info): Stream out contexts.
7683         (ipa_read_node_info): Stream in contexts.
7684         * ipa-devirt.c (type_all_derivations_known_p): Avoid ICE on non-ODR
7685         types.
7686         (try_speculative_devirtualization): New function.
7687         * ipa-utils.h (try_speculative_devirtualization): Declare.
7689 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
7691         * ipa.c (walk_polymorphic_call_targets): Avoid ICE when
7692         dumping during WPA.
7694 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
7696         * ipa-prop.c (ipa_modify_formal_parameters): Do not merge
7697         type variants.
7699 2014-10-01  Jan Hubicka  <hubicka@ucw.cz>
7701         * ipa-polymorphic-call.c
7702         (ipa_polymorphic_call_context::restrict_to_inner_class):
7703         Rename EXPECTED_TYPE to OTR_TYPE; Validate speculation late;
7704         use speculation_consistent_p to do so; Add CONSDER_BASES
7705         and CONSIDER_PLACEMENT_NEW parameters.
7706         (contains_type_p): Add CONSDER_PLACEMENT_NEW and CONSIDER_BASES;
7707         short circuit obvious cases.
7708         (ipa_polymorphic_call_context::dump): Improve formatting.
7709         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Use
7710         combine_speculation_with to record speculations; Do not ICE when
7711         object is located in pointer type decl; do not ICE for methods
7712         of UNION_TYPE; do not record nonpolymorphic types.
7713         (ipa_polymorphic_call_context::speculation_consistent_p): New method.
7714         (ipa_polymorphic_call_context::combine_speculation_with): New method.
7715         (ipa_polymorphic_call_context::combine_with): New method.
7716         (ipa_polymorphic_call_context::make_speculative): Move here; use
7717         combine speculation.
7718         * cgraph.h (ipa_polymorphic_call_context): Update
7719         restrict_to_inner_class prototype; add offset_by, make_speculative,
7720         combine_with, useless_p, combine_speculation_with and
7721         speculation_consistent_p methods.
7722         (ipa_polymorphic_call_context::offset_by): New method.
7723         (ipa_polymorphic_call_context::useless_p): New method.
7725 2014-10-01  Segher Boessenkool  <segher@kernel.crashing.org>
7727         PR rtl-optimization/62151
7728         * combine.c (can_combine_p): Allow the destination register of INSN
7729         to be clobbered in I3.
7730         (subst): Do not substitute into clobbers of registers.
7732 2014-10-01  Jakub Jelinek  <jakub@redhat.com>
7734         PR debug/63342
7735         * dwarf2out.c (loc_list_from_tree): Handle MEM_REF with non-zero
7736         offset, TARGET_MEM_REF and SSA_NAME.
7738         * config/i386/i386.c (expand_vec_perm_palignr): Handle
7739         256-bit vectors for TARGET_AVX2.
7741         * config/i386/i386.c (expand_vec_perm_vperm2f128): Canonicalize
7742         dfirst permutation.
7744         PR target/63428
7745         * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
7746         argument to avx2_permv2ti.
7748 2014-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
7750         * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
7752 2014-09-30  Uros Bizjak  <ubizjak@gmail.com>
7754         * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
7755         (fmod<mode>3): Ditto.
7756         (fpremxf4_i387): Ditto.
7757         (reminderxf3): Ditto.
7758         (reminder<mode>3): Ditto.
7759         (fprem1xf4_i387): Ditto.
7761 2014-09-30  Teresa Johnson  <tejohnson@google.com>
7763         * tree-ssa-threadupdate.c (struct ssa_local_info_t): New
7764         duplicate_blocks bitmap.
7765         (remove_ctrl_stmt_and_useless_edges): Ditto.
7766         (create_block_for_threading): Ditto.
7767         (compute_path_counts): New function.
7768         (update_profile): Ditto.
7769         (recompute_probabilities): Ditto.
7770         (update_joiner_offpath_counts): Ditto.
7771         (freqs_to_counts_path): Ditto.
7772         (clear_counts_path): Ditto.
7773         (ssa_fix_duplicate_block_edges): Update profile info.
7774         (ssa_create_duplicates): Pass new parameter.
7775         (ssa_redirect_edges): Remove old profile update.
7776         (thread_block_1): New duplicate_blocks bitmap,
7777         remove old profile update.
7778         (thread_single_edge): Pass new parameter.
7780 2014-09-30  Ilya Tocar  <ilya.tocar@intel.com>
7782         PR middle-end/62120
7783         * varasm.c (decode_reg_name_and_count): Check availability for
7784         registers from ADDITIONAL_REGISTER_NAMES.
7786 2014-09-30  David Malcolm  <dmalcolm@redhat.com>
7788         PR plugins/63410
7789         * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
7790         (PLUGIN_HEADERS): Add pass-instances.def.
7792 2014-09-30  James Greenhalgh  <james.greenhalgh@arm.com>
7794         * config/aarch64/aarch64-simd-builtins.def (sqdmull_laneq): Expand
7795         iterator.
7796         * config/aarch64/aarch64-simd.md
7797         (aarch64_sqdmull_laneq<mode>): Expand iterator.
7798         * config/aarch64/arm_neon.h (vqdmullh_laneq_s16): New.
7799         (vqdmulls_lane_s32): Fix return type.
7800         (vqdmulls_laneq_s32): New.
7802 2014-09-30  Jakub Jelinek  <jakub@redhat.com>
7804         PR inline-asm/63282
7805         * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
7806         or invert_jump_1 if jump isn't any_condjump_p.
7808 2014-09-30  Terry Guo  <terry.guo@arm.com>
7810         * config/arm/arm-cores.def (cortex-m7): New core name.
7811         * config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
7812         (fpv5-d16): Ditto.
7813         * config/arm/arm-tables.opt: Regenerated.
7814         * config/arm/arm-tune.md: Regenerated.
7815         * config/arm/arm.h (TARGET_VFP5): New macro.
7816         * config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
7817         * config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
7818         smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
7819         * doc/invoke.texi: Document new cpu and fpu names.
7821 2014-09-30  Jiong Wang  <jiong.wang@arm.com>
7823         * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
7824         before sinking insn.
7826 2014-09-30  David Sherwood  <david.sherwood@arm.com>
7828         * ira-int.h (ira_allocno): Add "wmode" field.
7829         * ira-build.c (create_insn_allocnos): Add new "parent" function
7830         parameter.
7831         * ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
7832         that cannot be accessed in wmode.
7834 2014-09-30  Markus Trippelsdorf  <markus@trippelsdorf.de>
7836         * data-streamer.c (bp_unpack_var_len_int): Avoid signed
7837         integer overflow.
7839 2014-09-29  Andi Kleen  <ak@linux.intel.com>
7841         * opts.c (print_filtered_help): Print --param min/max/default
7842         with -Q.
7844 2014-09-29  Kaz Kojima  <kkojima@gcc.gnu.org>
7846         * config/sh/sh.md: Use define_c_enum for "unspec" and "unspecv".
7848 2014-09-29  Eric Botcazou  <ebotcazou@adacore.com>
7850         * tree-vrp.c (get_single_symbol): New function.
7851         (build_symbolic_expr): Likewise.
7852         (symbolic_range_based_on_p): New predicate.
7853         (extract_range_from_binary_expr_1): Deal with single-symbolic ranges
7854         for PLUS and MINUS.  Do not drop symbolic ranges at the end.
7855         (extract_range_from_binary_expr): Try harder for PLUS and MINUS if
7856         operand is symbolic and based on the other operand.
7858 2014-09-29  Chen Gang  <gang.chen.5i5j@gmail.com>
7860         * config/microblaze/microblaze.md (call_internal1): Use VOID
7861         instead of SI to fix "((void (*)(void)) 0)()" issue
7863 2014-09-29  Nick Clifton  <nickc@redhat.com>
7865         * config/msp430/msp430.c (msp430_expand_prologue): Return a
7866         CLOBBER rtx for naked functions.
7867         (msp430_expand_epilogue): Likewise.
7868         (msp430_use_f5_series_hwmult): Cache result.
7869         (use_32bit_hwmult): Cache result.
7870         (msp430_no_hwmult): New function.
7871         (msp430_output_labelref): Use it.
7873 2014-09-29  Jakub Jelinek  <jakub@redhat.com>
7875         PR middle-end/63247
7876         * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER
7877         of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION
7878         use the alignment of avar rather than ovar.
7880 2014-09-28  John David Anglin  <danglin@gcc.gnu.org>
7882         * config/pa/pa.c (pa_output_function_epilogue): Only update
7883         last_address when a nonnote insn is found.
7885 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
7887         PR ipa/60665
7888         * ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.
7890 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
7892         PR ipa/62121
7893         * ipa-polymorphic-call.c (ipa_polymorphic_call_context::restrict_to_inner_class):
7894         fix pasto in checking array size.
7896 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
7898         PR middle-end/35545
7899         * passes.def (pass_tracer): Move before last dominator pass.
7901 2014-09-26  Thomas Schwinge  <thomas@codesourcery.com>
7903         * gcc.c (try_generate_repro): Remove argument "prog".  Change all
7904         users.
7905         (run_attempt): Handle errors of "pex_run" invocation.
7907 2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>
7909         * config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
7910         (CC1_SPEC): Define.
7911         * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
7912         (TARGET_ASAN_SHADOW_OFFSET): Define.
7914 2014-09-26  Martin Liska  <mliska@suse.cz>
7916         * cgraph.c (cgraph_node::release_body): New argument keep_arguments
7917         introduced.
7918         * cgraph.h: Likewise.
7919         * cgraphunit.c (cgraph_node::create_wrapper): Usage of new argument introduced.
7920         * ipa-utils.h (polymorphic_type_binfo_p): Safe check for binfos created by Java.
7921         * tree-ssa-alias.c (ao_ref_base_alias_set): Static function transformed to global.
7922         * tree-ssa-alias.h: Likewise.
7924 2014-09-26  Jakub Jelinek  <jakub@redhat.com>
7925             Max Ostapenko  <m.ostapenko@partner.samsung.com>
7927         * common.opt: New option.
7928         * doc/invoke.texi: Describe new option.
7929         * gcc.c (execute): Don't free first string early, but at the end
7930         of the function.  Call retry_ice if compiler exited with
7931         ICE_EXIT_CODE.
7932         (main): Factor out common code.
7933         (print_configuration): New function.
7934         (files_equal_p): Likewise.
7935         (check_repro): Likewise.
7936         (run_attempt): Likewise.
7937         (do_report_bug): Likewise.
7938         (append_text): Likewise.
7939         (try_generate_repro): Likewise
7941 2014-09-25  Andi Kleen  <ak@linux.intel.com>
7943         * config/i386/i386.c (x86_print_call_or_nop): New function.
7944         (x86_function_profiler): Support -mnop-mcount and
7945         -mrecord-mcount.
7946         * config/i386/i386.opt (-mnop-mcount, -mrecord-mcount): Add
7947         * doc/invoke.texi: Document -mnop-mcount, -mrecord-mcount.
7949 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
7951         * ipa-prop.c (ipa_intraprocedural_devirtualization): Remove.
7952         * ipa-prop.h (ipa_intraprocedural_devirtualization): Remove.
7953         * tree-ssa-prop.c (eliminate_dom_walker::before_dom_children):
7954         Remove.
7956 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
7958         * ipa-utils.h (subbinfo_with_vtable_at_offset, type_all_derivations_known_p,
7959         type_known_to_have_no_deriavations_p, types_must_be_same_for_odr,
7960         types_odr_comparable): Declare.
7961         (polymorphic_type_binfo_p): Move here from ipa-devirt.c
7962         * ipa-polymorphic-call.c: New file.
7963         (contains_polymorphic_type_p, possible_placement_new,
7964         ipa_polymorphic_call_context::restrict_to_inner_class,
7965         contains_type_p, decl_maybe_in_construction_p,
7966         ipa_polymorphic_call_context::stream_out,
7967         ipa_polymorphic_call_context::debug,
7968         ipa_polymorphic_call_context::stream_in,
7969         ipa_polymorphic_call_context::set_by_decl,
7970         ipa_polymorphic_call_context::set_by_invariant,
7971         walk_ssa_copies,
7972         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
7973         type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
7974         extr_type_from_vtbl_ptr_store, record_known_type
7975         check_stmt_for_type_change,
7976         ipa_polymorphic_call_context::get_dynamic_type): Move here from
7977         ipa-devirt.c
7978         * ipa-devirt.c: No longer include data-streamer.h, lto-streamer.h
7979         and streamer-hooks.h
7980         (contains_polymorphic_type_p, possible_placement_new,
7981         ipa_polymorphic_call_context::restrict_to_inner_class,
7982         contains_type_p, decl_maybe_in_construction_p,
7983         ipa_polymorphic_call_context::stream_out,
7984         ipa_polymorphic_call_context::debug,
7985         ipa_polymorphic_call_context::stream_in,
7986         ipa_polymorphic_call_context::set_by_decl,
7987         ipa_polymorphic_call_context::set_by_invariant,
7988         walk_ssa_copies,
7989         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
7990         type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
7991         extr_type_from_vtbl_ptr_store, record_known_type
7992         check_stmt_for_type_change,
7993         ipa_polymorphic_call_context::get_dynamic_type): Move to
7994         ipa-polymorphic-call.c
7995         (type_all_derivations_known_p, types_odr_comparable,
7996         types_must_be_same_for_odr): Export.
7997         (type_known_to_have_no_deriavations_p): New function.
7998         * Makefile.in: Add ipa-polymorphic-call.c
8000 2014-09-25  Jan Hubicka  <hubicka@ucw.cz>
8002         * ipa-devirt.c (polymorphic_call_target_d): Add SPECULATIVE; reorder
8003         for better storage.
8004         (polymorphic_call_target_hasher::hash): Hash SPECULATIVE.
8005         (possible_polymorphic_call_targets): Instead of computing both
8006         speculative and non-speculative answers, do just one at a time.
8007         Replace NONSPECULATIVE_TARGETSP parameter with SPECULATIVE flag.
8008         (dump_targets): Break out from ...
8009         (dump_possible_polymorphic_call_targets): ... here; dump both speculative
8010         and non-speculative lists.
8011         (ipa_devirt): Update for new possible_polymorphic_call_targets API.
8012         * ipa-utils.h (possible_polymorphic_call_targets): Update.
8014 2014-09-25  Uros Bizjak  <ubizjak@gmail.com>
8016         PR rtl-optimization/63348
8017         * emit-rtl.c (try_split): Do not emit extra barrier.
8019 2014-09-25  James Greenhalgh  <james.greenhalgh@arm.com>
8021         * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete.
8022         * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shl<mode>): Use
8023         new predicates.
8024         (aarch64_<sur>shll2_n<mode>): Likewise.
8025         (aarch64_<sur>shr_n<mode>): Likewise.
8026         (aarch64_<sur>sra_n<mode>: Likewise.
8027         (aarch64_<sur>s<lr>i_n<mode>): Likewise.
8028         (aarch64_<sur>qshl<u>_n<mode>): Likewise.
8029         * config/aarch64/aarch64.c (aarch64_simd_const_bounds): Delete.
8030         * config/aarch64/iterators.md (ve_mode): New.
8031         (offsetlr): Remap to infix text for use in new predicates.
8032         * config/aarch64/predicates.md (aarch64_simd_shift_imm_qi): New.
8033         (aarch64_simd_shift_imm_hi): Likewise.
8034         (aarch64_simd_shift_imm_si): Likewise.
8035         (aarch64_simd_shift_imm_di): Likewise.
8036         (aarch64_simd_shift_imm_offset_qi): Likewise.
8037         (aarch64_simd_shift_imm_offset_hi): Likewise.
8038         (aarch64_simd_shift_imm_offset_si): Likewise.
8039         (aarch64_simd_shift_imm_offset_di): Likewise.
8040         (aarch64_simd_shift_imm_bitsize_qi): Likewise.
8041         (aarch64_simd_shift_imm_bitsize_hi): Likewise.
8042         (aarch64_simd_shift_imm_bitsize_si): Likewise.
8043         (aarch64_simd_shift_imm_bitsize_di): Likewise.
8045 2014-09-25  Jiong Wang  <jiong.wang@arm.com>
8047         * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of
8048         new created BB as the intersection of live-in from "old_dest" and
8049         live-out from "bb".
8051 2014-09-25  Felix Yang  <felix.yang@huawei.com>
8053         * lra.c (lra_set_insn_recog_data): Fix typo in comment.
8054         * genautomata.c (merge_states): Ditto.
8056 2014-09-25  Oleg Endo  <olegendo@gcc.gnu.org>
8058         PR target/62218
8059         * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
8060         in instruction sequence.
8062 2014-09-25  Nick Clifton  <nickc@redhat.com>
8064         PR target/62218
8065         * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
8066         in instruction sequence.
8068 2014-09-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
8070         PR target/63335
8071         * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
8072         Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.
8074 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8075             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8076             Anna Tikhonova  <anna.tikhonova@intel.com>
8077             Ilya Tocar  <ilya.tocar@intel.com>
8078             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8079             Ilya Verbin  <ilya.verbin@intel.com>
8080             Kirill Yukhin  <kirill.yukhin@intel.com>
8081             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8083         * config/i386/sse.md
8084         (define_expand "<avx2_avx512f>_perm<mode>"): Rename to ...
8085         (define_expand "<avx2_avx512>_perm<mode>"): ... this.
8086         (define_expand "avx512f_perm<mode>_mask"): Rename to ...
8087         (define_expand "<avx512>_perm<mode>_mask"): ... this.
8088         Use VI8F_256_512 mode iterator.
8089         (define_insn "<avx2_avx512f>_perm<mode>_1<mask_name>"): Rename to ...
8090         (define_insn "<avx2_avx512bw>_perm<mode>_1<mask_name>"): ... this.
8092 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8093             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8094             Anna Tikhonova  <anna.tikhonova@intel.com>
8095             Ilya Tocar  <ilya.tocar@intel.com>
8096             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8097             Ilya Verbin  <ilya.verbin@intel.com>
8098             Kirill Yukhin  <kirill.yukhin@intel.com>
8099             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8101         * config/i386/sse.md
8102         (define_insn "avx_movshdup256<mask_name>"): Add masking.
8103         (define_insn "sse3_movshdup<mask_name>"): Ditto.
8104         (define_insn "avx_movsldup256<mask_name>"): Ditto.
8105         (define_insn "sse3_movsldup<mask_name>"): Ditto.
8106         (define_insn "vec_dupv2df<mask_name>"): Ditto.
8107         (define_insn "*vec_concatv2df"): Add EVEX version.
8109 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8110             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8111             Anna Tikhonova  <anna.tikhonova@intel.com>
8112             Ilya Tocar  <ilya.tocar@intel.com>
8113             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8114             Ilya Verbin  <ilya.verbin@intel.com>
8115             Kirill Yukhin  <kirill.yukhin@intel.com>
8116             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8118         * config/i386/sse.md
8119         (define_insn "vec_set<mode>_0"): Add EVEX version.
8121 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8122             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8123             Anna Tikhonova  <anna.tikhonova@intel.com>
8124             Ilya Tocar  <ilya.tocar@intel.com>
8125             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8126             Ilya Verbin  <ilya.verbin@intel.com>
8127             Kirill Yukhin  <kirill.yukhin@intel.com>
8128             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8130         * config/i386/sse.md
8131         (define_insn
8132         "<fixsuffix>fix_trunc<mode><sselongvecmodelower>2<mask_name><round_saeonly_name>"):
8133         New.
8134         (define_insn "<fixsuffix>fix_truncv2sfv2di2<mask_name>"): Ditto.
8135         (define_insn "ufix_trunc<mode><sseintvecmodelower>2<mask_name>"): Ditto.
8136         (define_insn "sse2_cvtss2sd<round_saeonly_name>"): Change
8137         "nonimmediate_operand" to "<round_saeonly_nimm_predicate>".
8138         (define_insn "avx_cvtpd2ps256<mask_name>"): Add masking.
8139         (define_expand "sse2_cvtpd2ps_mask): New.
8140         (define_insn "*sse2_cvtpd2ps<mask_name>"): Add masking.
8141         (define_insn "sse2_cvtps2pd<mask_name>"): Add masking.
8143 2014-09-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8144             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8145             Anna Tikhonova  <anna.tikhonova@intel.com>
8146             Ilya Tocar  <ilya.tocar@intel.com>
8147             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8148             Ilya Verbin  <ilya.verbin@intel.com>
8149             Kirill Yukhin  <kirill.yukhin@intel.com>
8150             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8152         * config/i386/i386.c
8153         (avx512f_ufix_notruncv8dfv8si_mask_round): Rename to ...
8154         (ufix_notruncv8dfv8si2_mask_round): ... this.
8155         * config/i386/sse.md
8156         (define_insn "avx512f_cvtdq2pd512_2): Update TARGET check.
8157         (define_insn "avx_cvtdq2pd256_2"): Add EVEX version.
8158         (define_insn "sse2_cvtdq2pd<mask_name>"): Add masking.
8159         (define_insn "avx_cvtpd2dq256<mask_name>"): Ditto.
8160         (define_expand "sse2_cvtpd2dq"): Delete.
8161         (define_insn "sse2_cvtpd2dq<mask_name>"): Add masking and
8162         make 2nd operand const0 vector.
8163         (define_insn "avx512f_ufix_notruncv8dfv8si<mask_name><round_name>"):
8164         Delete.
8165         (define_mode_attr pd2udqsuff): New.
8166         (define_insn
8167         "ufix_notrunc<mode><si2dfmodelower>2<mask_name><round_name>"): Ditto.
8168         (define_insn "ufix_notruncv2dfv2si2<mask_name>"): Ditto.
8169         (define_insn "*avx_cvttpd2dq256_2"): Delete.
8170         (define_expand "sse2_cvttpd2dq"): Ditto.
8171         (define_insn "sse2_cvttpd2dq<mask_name>"): Add masking and
8172         make 2nd operand const0 vector.
8174 2014-09-25  Jakub Jelinek  <jakub@redhat.com>
8176         PR tree-optimization/63341
8177         * tree-vectorizer.h (vect_create_data_ref_ptr,
8178         vect_create_addr_base_for_vector_ref): Add another tree argument
8179         defaulting to NULL_TREE.
8180         * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
8181         argument, pass it down to vect_create_addr_base_for_vector_ref.
8182         (vect_create_addr_base_for_vector_ref): Add byte_offset argument,
8183         add that to base_offset too if non-NULL.
8184         * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
8185         for dr_explicit_realign_optimized set it to vector byte size
8186         - 1 instead of setting offset, pass byte_offset down to
8187         vect_create_data_ref_ptr.
8189 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
8191         * ipa-devirt.c (possible_polymorphic_call_targets): Remove
8192         forgotten debug output; canonicalize querries more wtih LTO.
8194 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
8196         * cgraph.h (class ipa_polymorphic_call_context): Move here from
8197         ipa-utils.h; add stream_int and stream_out methods.
8198         (cgraph_indirect_call_info): Remove SPECILATIVE_OFFSET,
8199         OUTER_TYPE, SPECULATIVE_OUTER_TYPE, MAYBE_IN_CONSTRUCTION
8200         MAYBE_DERIVED_TYPE and SPECULATIEVE_MAYBE_DERIVED_TYPE;
8201         add CONTEXT.
8202         (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
8203         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
8204         ipa_polymorphic_call_context::clear_speculation,
8205         ipa_polymorphic_call_context::clear_outer_type): Move here from
8206         ipa-utils.h
8207         * ipa-utils.h (class ipa_polymorphic_call_context): Move to cgraph.h
8208         (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
8209         ipa_polymorphic_call_context::ipa_polymorphic_call_context,
8210         ipa_polymorphic_call_context::clear_speculation,
8211         ipa_polymorphic_call_context::clear_outer_type): Likewise.
8212         * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
8213         streamer-hooks.h
8214         (ipa_polymorphic_call_context::stream_out): New method.
8215         (ipa_polymorphic_call_context::stream_in): New method.
8216         (noncall_stmt_may_be_vtbl_ptr_store): Add forgotten static.
8217         * ipa-prop.c (ipa_analyze_indirect_call_uses): Do not care about
8218         OUTER_TYPE.
8219         (ipa_analyze_call_uses): Simplify.
8220         (update_indirect_edges_after_inlining): Do not care about outer_type.
8221         (ipa_write_indirect_edge_info): Update.
8222         (ipa_write_indirect_edge_info): Likewise.
8223         * cgraph.c (cgraph_node::create_indirect_edge): Simplify.
8224         (dump_edge_flags): Break out from ...
8225         (cgraph_node::dump): ... here; dump indirect edges.
8227 2014-09-24  Jan Hubicka  <hubicka@ucw.cz>
8229         * ipa-utils.h (polymorphic_call_context): Add
8230         metdhos dump, debug and clear_outer_type.
8231         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
8232         (ipa_polymorphic_call_context::clear_outer_type): New method.
8233         * ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
8234         * ipa-devirt.c (types_odr_comparable): New function.
8235         (types_must_be_same_for_odr): New function.
8236         (odr_subtypes_equivalent_p): Simplify.
8237         (possible_placement_new): Break out from ...
8238         (ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
8239         be more cuatious about returning false in cases the context may be
8240         valid in derived type or via placement new.
8241         (contains_type_p): Clear maybe_derived_type
8242         (ipa_polymorphic_call_context::dump): New method.
8243         (ipa_polymorphic_call_context::debug): New method.
8244         (ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
8245         (ipa_polymorphic_call_context::set_by_invariant): Simplify.
8246         (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
8247         (possible_polymorphic_call_targets): Trust context.restrict_to_inner_class
8248         to suceed on all valid cases; remove confused sanity check.
8249         (dump_possible_polymorphic_call_targets): Simplify.
8251 2014-09-24  Aldy Hernandez  <aldyh@redhat.com>
8253         * cgraph.h, dbxout.c, dwarfout2.c, gimple-fold.c,
8254         lto-streamer-out.c, print-tree.c, symtab.c, tree-inline.c,
8255         tree-streamer-in.c, tree-streamer-out.c, tree.c, tree.h,
8256         varpool.c: Rename all instances of DECL_ABSTRACT to
8257         DECL_ABSTRACT_P.
8259 2014-09-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
8261         * config/rs6000/rs6000.c (insn_is_swappable_p): Don't provide
8262         special handling for stores whose SET_SRC is an UNSPEC (such as
8263         UNSPEC_STVE).
8265 2014-09-24  Jiong Wang  <jiong.wang@arm.com>
8267         * shrink-wrap.c (move_insn_for_shrink_wrap): Add further check when
8268         !REG_P (src) to release more instruction sink opportunities.
8270 2014-09-24  Wilco Dijkstra  <wilco.dijkstra@arm.com>
8272         * config/aarch64/aarch64.c (aarch64_register_move_cost): Add register
8273         move costs for 128-bit types.
8275 2014-09-24  Martin Jambor  <mjambor@suse.cz>
8277         * ipa-prop.c (ipa_edge_duplication_hook): Update controlled_use_count
8278         when duplicating a PASS_THROUGH jump function when creating a
8279         speculative edge.
8281 2014-09-24  Marek Polacek  <polacek@redhat.com>
8283         PR c/61405
8284         PR c/53874
8285         * asan.c (maybe_instrument_call): Add default case.
8286         * ipa-pure-const.c (special_builtin_state): Likewise.
8287         * predict.c (expr_expected_value_1): Likewise.
8288         * lto-streamer-out.c (write_symbol): Initialize variable.
8290 2014-09-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
8292         * config/aarch64/arm_neon.h (vmuld_lane_f64): Use macro for getting
8293         the lane.
8294         (vmuld_laneq_f64): Likewise.
8295         (vmuls_lane_f32): Likewise.
8296         (vmuls_laneq_f32): Likewise.
8298 2014-09-24  Kirill Yukhin  <kirill.yukhin@intel.com>
8300         PR bootstrap/63235
8301         * varpool.c (varpool_node::add): Pass decl attributes
8302         to lookup_attribute.
8304 2014-09-24  Jakub Jelinek  <jakub@redhat.com>
8306         PR sanitizer/63316
8307         * asan.c (asan_expand_check_ifn): Fix up align >= 8 optimization.
8309 2014-09-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8311         PR tree-optimization/63266
8312         * tree-ssa-math-opts.c (struct symbolic_number): Add comment about
8313         marker for unknown byte value.
8314         (MARKER_MASK): New macro.
8315         (MARKER_BYTE_UNKNOWN): New macro.
8316         (HEAD_MARKER): New macro.
8317         (do_shift_rotate): Mark bytes with unknown values due to sign
8318         extension when doing an arithmetic right shift. Replace hardcoded
8319         mask for marker by new MARKER_MASK macro.
8320         (find_bswap_or_nop_1): Likewise and adjust ORing of two symbolic
8321         numbers accordingly.
8323 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8324             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8325             Anna Tikhonova  <anna.tikhonova@intel.com>
8326             Ilya Tocar  <ilya.tocar@intel.com>
8327             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8328             Ilya Verbin  <ilya.verbin@intel.com>
8329             Kirill Yukhin  <kirill.yukhin@intel.com>
8330             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8332         * config/i386/sse.md
8333         (define_insn
8334         "<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode><mask_name>"):
8335         Add masking.
8336         (define_insn "fix_truncv8sfv8si2<mask_name>"): Ditto.
8337         (define_insn "fix_truncv4sfv4si2<mask_name>"): Ditto.
8339 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8340             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8341             Anna Tikhonova  <anna.tikhonova@intel.com>
8342             Ilya Tocar  <ilya.tocar@intel.com>
8343             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8344             Ilya Verbin  <ilya.verbin@intel.com>
8345             Kirill Yukhin  <kirill.yukhin@intel.com>
8346             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8348         * config/i386/sse.md
8349         (define_c_enum "unspec"): Add UNSPEC_PSHUFHW, UNSPEC_PSHUFLW.
8350         (define_insn "<mask_codefor>avx512bw_pshuflwv32hi<mask_name>"): New.
8351         (define_expand "avx512vl_pshuflwv3_mask"): Ditto.
8352         (define_insn "avx2_pshuflw_1<mask_name>"): Add masking.
8353         (define_expand "avx512vl_pshuflw_mask"): New.
8354         (define_insn "sse2_pshuflw_1<mask_name>"): Add masking.
8355         (define_insn "<mask_codefor>avx512bw_pshufhwv32hi<mask_name>"): New.
8356         (define_expand "avx512vl_pshufhwv3_mask"): Ditto.
8357         (define_insn "avx2_pshufhw_1<mask_name>"): Add masking.
8358         (define_expand "avx512vl_pshufhw_mask"): New.
8359         (define_insn "sse2_pshufhw_1<mask_name>"): Add masking.
8361 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8362             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8363             Anna Tikhonova  <anna.tikhonova@intel.com>
8364             Ilya Tocar  <ilya.tocar@intel.com>
8365             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8366             Ilya Verbin  <ilya.verbin@intel.com>
8367             Kirill Yukhin  <kirill.yukhin@intel.com>
8368             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8370         * config/i386/i386.c
8371         (ix86_expand_args_builtin): Handle CODE_FOR_sse2_shufpd,
8372         CODE_FOR_sse2_sse2_shufpd_mask, CODE_FOR_sse2_avx512dq_shuf_f64x2_mask,
8373         CODE_FOR_sse2_avx512dq_shuf_i64x2_mask,
8374         CODE_FOR_sse2_avx512vl_shuf_i32x4_mask and
8375         CODE_FOR_sse2_avx512vl_shuf_f32x4_mask.
8376         * config/i386/sse.md
8377         (define_expand "avx512dq_shuf_<shuffletype>64x2_mask"): New.
8378         (define_insn
8379         "<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>"): Ditto.
8380         (define_expand "avx512vl_shuf_<shuffletype>32x4_mask"): Ditto.
8381         (define_insn
8382         "<mask_codefor>avx512vl_shuf_<shuffletype>32x4_1<mask_name>"): Ditto.
8383         (define_expand "avx512vl_pshufdv3_mask"): Ditto.
8384         (define_insn "avx2_pshufd_1<mask_name>"): Add masking.
8385         (define_expand "avx512vl_pshufd_mask"): New.
8386         (define_insn "sse2_pshufd_1<mask_name>"): Add masking.
8388 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8389             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8390             Anna Tikhonova  <anna.tikhonova@intel.com>
8391             Ilya Tocar  <ilya.tocar@intel.com>
8392             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8393             Ilya Verbin  <ilya.verbin@intel.com>
8394             Kirill Yukhin  <kirill.yukhin@intel.com>
8395             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8397         * config/i386/i386.c
8398         (CODE_FOR_avx2_extracti128): Rename to ...
8399         (CODE_FOR_avx_vextractf128v4di): this.
8400         (CODE_FOR_avx2_inserti128): Rename to ...
8401         (CODE_FOR_avx_vinsertf128v4di): this.
8402         (ix86_expand_args_builtin): Handle CODE_FOR_avx_vinsertf128v4di,
8403         CODE_FOR_avx_vextractf128v4di.
8404         (ix86_expand_args_builtin): Handle CODE_FOR_avx512dq_vinsertf32x8_mask,
8405         CODE_FOR_avx512dq_vinserti32x8_mask, CODE_FOR_avx512vl_vinsertv4df,
8406         CODE_FOR_avx512vl_vinsertv4di, CODE_FOR_avx512vl_vinsertv8sf,
8407         CODE_FOR_avx512vl_vinsertv8si.
8408         * config/i386/sse.md
8409         (define_expand
8410         "<extract_type>_vinsert<shuffletype><extract_suf>_mask"): Use
8411         AVX512_VEC mode iterator.
8412         (define_insn
8413         "<mask_codefor><extract_type>_vinsert<shuffletype><extract_suf>_1<mask_name>"):
8414         Ditto.
8415         (define_expand
8416         "<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask"): Use
8417         AVX512_VEC_2 mode iterator.
8418         (define_insn "vec_set_lo_<mode><mask_name>"): New.
8419         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
8420         (define_expand "avx512vl_vinsert<mode>"): Ditto.
8421         (define_insn "avx2_vec_set_lo_v4di"): Delete.
8422         (define_insn "avx2_vec_set_hi_v4di"): Ditto.
8423         (define_insn "vec_set_lo_<mode><mask_name>"): Add masking.
8424         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
8425         (define_insn "vec_set_lo_<mode><mask_name>"): Ditto.
8426         (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
8427         (define_expand "avx2_extracti128"): Delete.
8428         (define_expand "avx2_inserti128"): Ditto.
8430 2014-09-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8431             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8432             Anna Tikhonova  <anna.tikhonova@intel.com>
8433             Ilya Tocar  <ilya.tocar@intel.com>
8434             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8435             Ilya Verbin  <ilya.verbin@intel.com>
8436             Kirill Yukhin  <kirill.yukhin@intel.com>
8437             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8439         * config/i386/sse.md
8440         (define_insn "avx2_<code>v16qiv16hi2<mask_name>"): Add masking.
8441         (define_insn "avx512bw_<code>v32qiv32hi2<mask_name>"): New.
8442         (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>"): Add masking.
8443         (define_insn "avx2_<code>v8qiv8si2<mask_name>"): Ditto.
8444         (define_insn "sse4_1_<code>v4qiv4si2<mask_name>"): Ditto.
8445         (define_insn "avx2_<code>v8hiv8si2<mask_name>"): Ditto.
8446         (define_insn "sse4_1_<code>v4hiv4si2<mask_name>"): Ditto.
8447         (define_insn "avx2_<code>v4qiv4di2<mask_name>"): Ditto.
8448         (define_insn "sse4_1_<code>v2qiv2di2<mask_name>"): Ditto.
8449         (define_insn "avx2_<code>v4hiv4di2<mask_name>"): Ditto.
8450         (define_insn "sse4_1_<code>v2hiv2di2<mask_name>"): Ditto.
8451         (define_insn "avx2_<code>v4siv4di2<mask_name>"): Ditto.
8452         (define_insn "sse4_1_<code>v2siv2di2<mask_name>"): Ditto.
8454 2014-09-24  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8456         PR rtl-optimization/63210
8457         * ira-color.c (assign_hard_reg): Ignore conflict cost if the
8458         HARD_REGNO is not available for CONFLICT_A.
8460 2014-09-23  Andi Kleen  <ak@linux.intel.com>
8462         * cgraph.h (symtab_node): Add no_reorder attribute.
8463         (symbol_table::output_asm_statements): Remove.
8464         * cgraphclones.c (cgraph_node::create_clone): Copy no_reorder.
8465         (cgraph_node::create_version_clone): Dito.
8466         (symbol_table::output_asm_statements): Remove.
8467         * trans-mem.c (ipa_tm_create_version_alias): Dito.
8468         * cgraphunit.c (varpool_node::finalize_decl): Check no_reorder.
8469         (output_in_order): Add no_reorder flag. Only handle no_reorder
8470         nodes when set.
8471         (symbol_table::compile): Add separate pass for no_reorder nodes.
8472         (process_common_attributes): Set no_reorder flag in symtab node.
8473         Add node argument.
8474         (process_function_and_variable_attributes): Pass symtab nodes to
8475         process_common_attributes.
8476         * doc/extend.texi (no_reorder): Document no_reorder attribute.
8477         * lto-cgraph.c (lto_output_node): Serialize no_reorder.
8478         (lto_output_varpool_node): Dito.
8479         (input_overwrite_node): Dito.
8480         (input_varpool_node): Dito.
8481         * varpool.c (varpool_node::add): Set no_reorder attribute.
8482         (symbol_table::remove_unreferenced_decls): Handle no_reorder.
8483         (symbol_table::output_variables): Dito.
8484         * symtab.c (symtab_node::dump_base): Print no_reorder.
8486 2014-09-23  Jiong Wang  <jiong.wang@arm.com>
8488         * shrink-wrap.c (try_shrink_wrapping): Check PIC_OFFSET_TABLE_REGNUM not
8489         be INVALID_REGNUM.
8491 2014-09-23  Thomas Schwinge  <thomas@codesourcery.com>
8493         * configure: Regenerate.
8495 2014-09-23  Alan Lawrence  <alan.lawrence@arm.com>
8497         * combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
8498         when result_mode == shift_mode.
8500 2014-09-23  Kostya Serebryany  <kcc@google.com>
8502         Update to match the changed asan API.
8503         * asan.c (asan_global_struct): Update the __asan_global definition
8504         to match the new API.
8505         (asan_add_global): Ditto.
8506         * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
8507         to __asan_init_v4.
8509 2014-09-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
8511         * config/rs6000/rs6000.md (f32_vsx): New mode attributes to
8512         refine the constraints used on 32/64-bit floating point moves.
8513         (f32_av): Likewise.
8514         (f64_vsx): Likewise.
8515         (f64_dm): Likewise.
8516         (f64_av): Likewise.
8517         (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
8518         (BOOL_REGS_OP1): Likewise.
8519         (BOOL_REGS_OP2): Likewise.
8520         (BOOL_REGS_UNARY): Likewise.
8521         (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
8522         32/64-bit floating point moves.  Do not use wa, instead use ww/ws
8523         for moves involving VSX registers.  Do not use constraints that
8524         target VSX registers for decimal types.
8525         (mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
8526         (mov<mode>_hardfloat64, DFmode/DDmode): Likewise.
8528 2014-09-23  Jan Hubicka  <hubicka@ucw.cz>
8530         * tree.h (int_bit_position): Turn into inline function;
8531         implement using wide int.
8532         * tree.c (int_bit_position): Remove.
8534 2014-09-23  Richard Sandiford  <richard.sandiford@arm.com>
8536         PR bootstrap/63280
8537         * target-globals.c (target_globals::~target_globals): Fix location
8538         of ira_int destruction.
8540 2014-09-23  Renlin Li  <renlin.li@arm.com>
8542         * config/aarch64/aarch64.md (return): New.
8543         (simple_return): Likewise.
8544         * config/aarch64/aarch64.c (aarch64_use_return_insn_p): New.
8545         * config/aarch64/aarch64-protos.h (aarch64_use_return_insn_p): New.
8547 2014-09-23  Wilco Dijkstra  <wdijkstr@arm.com>
8549         * common/config/aarch64/aarch64-common.c:
8550         (default_options aarch_option_optimization_table):
8551         Default to -fsched-pressure.
8553 2014-09-23  Ilya Enkovich  <ilya.enkovich@intel.com>
8555         * cfgcleanup.c (try_optimize_cfg): Do not remove label
8556         with LABEL_PRESERVE_P flag set.
8558 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8559             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8560             Anna Tikhonova  <anna.tikhonova@intel.com>
8561             Ilya Tocar  <ilya.tocar@intel.com>
8562             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8563             Ilya Verbin  <ilya.verbin@intel.com>
8564             Kirill Yukhin  <kirill.yukhin@intel.com>
8565             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8567         * config/i386/sse.md
8568         (define_expand "avx_shufpd256<mask_expand4_name>"): Add masking.
8569         (define_insn "avx_shufpd256_1<mask_name>"): Ditto.
8570         (define_expand "sse2_shufpd<mask_expand4_name>"): Ditto.
8571         (define_insn "sse2_shufpd_v2df_mask"): New.
8573 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8574             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8575             Anna Tikhonova  <anna.tikhonova@intel.com>
8576             Ilya Tocar  <ilya.tocar@intel.com>
8577             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8578             Ilya Verbin  <ilya.verbin@intel.com>
8579             Kirill Yukhin  <kirill.yukhin@intel.com>
8580             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8582         * config/i386/sse.md
8583         (define_expand "avx_shufps256<mask_expand4_name>"): Add masking.
8584         (define_insn "avx_shufps256_1<mask_name>"): Ditto.
8585         (define_expand "sse_shufps<mask_expand4_name>"): Ditto.
8586         (define_insn "sse_shufps_v4sf_mask"): New.
8588 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8589             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8590             Anna Tikhonova  <anna.tikhonova@intel.com>
8591             Ilya Tocar  <ilya.tocar@intel.com>
8592             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8593             Ilya Verbin  <ilya.verbin@intel.com>
8594             Kirill Yukhin  <kirill.yukhin@intel.com>
8595             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8597         * config/i386/sse.md
8598         (define_insn "avx_unpckhps256<mask_name>"): Add masking.
8599         (define_insn "vec_interleave_highv4sf<mask_name>"): Ditto.
8600         (define_insn "avx_unpcklps256<mask_name>"): Ditto.
8601         (define_insn "unpcklps128_mask"): New.
8603 2014-09-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
8604             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
8605             Anna Tikhonova  <anna.tikhonova@intel.com>
8606             Ilya Tocar  <ilya.tocar@intel.com>
8607             Andrey Turetskiy  <andrey.turetskiy@intel.com>
8608             Ilya Verbin  <ilya.verbin@intel.com>
8609             Kirill Yukhin  <kirill.yukhin@intel.com>
8610             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
8612         * config/i386/sse.md
8613         (define_insn "avx_unpckhpd256<mask_name>"): Add masking.
8614         (define_insn "avx512vl_unpckhpd128_mask"): New.
8615         (define_expand "avx_movddup256<mask_name>"): Add masking.
8616         (define_expand "avx_unpcklpd256<mask_name>"): Ditto.
8617         (define_insn "*avx_unpcklpd256<mask_name>"): Ditto.
8618         (define_insn "avx512vl_unpcklpd128_mask"): New.
8620 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
8622         * doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8623         * doc/tm.texi: Regenerate.
8624         * system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
8625         * config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8626         * config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
8627         Remove.
8628         * config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8629         * config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8630         * config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8631         * config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8632         * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
8633         Remove.
8634         * config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8635         * config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8636         * config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8637         * config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8638         * config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8639         * config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8640         * config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8641         * config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8642         * config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8643         * config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
8644         * config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
8645         Remove.
8647 2014-09-22  Jan Hubicka  <hubicka@ucw.cz>
8649         * tree-ssa-ccp.c (prop_value_d): Rename to ...
8650         (ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
8651         * ipa-prop.c (struct type_change_info): Rename to ...
8652         (prop_type_change_info): ... this; update uses.
8653         * ggc-page.c (globals): Rename to ...
8654         (static struct ggc_globals): ... this; update uses.
8655         * tree-ssa-loop-im.c (mem_ref): Rename to ...
8656         (im_mem_ref): ... this; update uses.
8657         * ggc-common.c (loc_descriptor): Rename to ...
8658         (ggc_loc_descriptor): ... this; update uses.
8659         * lra-eliminations.c (elim_table): Rename to ...
8660         (lra_elim_table): ... this; update uses.
8661         * bitmap.c (output_info): Rename to ...
8662         (bitmap_output_info): ... this; update uses.
8663         * gcse.c (expr): Rename to ...
8664         (gcse_expr) ... this; update uses.
8665         (occr): Rename to ...
8666         (gcse_occr): .. this; update uses.
8667         * tree-ssa-copy.c (prop_value_d): Rename to ...
8668         (prop_value_t): ... this.
8669         * predict.c (block_info_def): Rename to ...
8670         (block_info): ... this; update uses.
8671         (edge_info_def): Rename to ...
8672         (edge_info): ... this; update uses.
8673         * profile.c (bb_info): Rename to ...
8674         (bb_profile_info): ... this; update uses.
8675         * alloc-pool.c (output_info): Rename to ...
8676         (pool_output_info): ... this; update uses.
8677         * ipa-cp.c (topo_info): Rename to ..
8678         (ipa_topo_info): ... this; update uses.
8679         * tree-nrv.c (nrv_data): Rename to ...
8680         (nrv_data_t): ... this; update uses.
8681         * ipa-split.c (bb_info): Rename to ...
8682         (split_bb_info): ... this one.
8683         * profile.h (edge_info): Rename to ...
8684         (edge_profile_info): ... this one; update uses.
8685         * dse.c (bb_info): Rename to ...
8686         (dse_bb_info): ... this one; update uses.
8687         * cprop.c (occr): Rename to ...
8688         (cprop_occr): ... this one; update uses.
8689         (expr): Rename to ...
8690         (cprop_expr): ... this one; update uses.
8692 2014-09-22  Jason Merrill  <jason@redhat.com>
8694         * Makefile.in (check-parallel-%): Add @.
8696 2014-09-22  James Greenhalgh  <james.greenhalgh@arm.com>
8698         * config/aarch64/geniterators.sh: New.
8699         * config/aarch64/iterators.md (VDQF_DF): New.
8700         * config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
8701         * config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
8703 2014-09-22  Peter A. Bigot  <pab@pabigot.com>
8705         * config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
8706         -lnosys when -msim absent.
8708 2014-09-22  Alan Lawrence  <alan.lawrence@arm.com>
8710         * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
8712 2014-09-22  Richard Biener  <rguenther@suse.de>
8714         * gimplify.c (gimplify_init_constructor): Do not leave
8715         non-GIMPLE vector constructors around.
8716         * tree-cfg.c (verify_gimple_assign_single): Verify that
8717         CONSTRUCTORs have gimple elements.
8719 2014-09-22  Jakub Jelinek  <jakub@redhat.com>
8721         PR debug/63328
8722         * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
8723         insert a debug source bind stmt setting DEBUG_EXPR_DECL
8724         instead of a normal gimple assignment stmt.
8726 2014-09-22  James Greenhalgh  <james.greenhalgh@arm.com>
8728         * config/bfin/bfin.md: Fix use of constraints in define_split.
8730 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
8732         * config/i386/i386.c (ix86_cannot_change_mode_class): Remove
8733         GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
8735 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
8737         * hard-reg-set.h: Include hash-table.h.
8738         (target_hard_regs): Add a finalize method and a x_simplifiable_subregs
8739         field.
8740         * target-globals.c (target_globals::~target_globals): Call
8741         hard_regs->finalize.
8742         * rtl.h (subreg_shape): New structure.
8743         (shape_of_subreg): New function.
8744         (simplifiable_subregs): Declare.
8745         * reginfo.c (simplifiable_subreg): New structure.
8746         (simplifiable_subregs_hasher): Likewise.
8747         (simplifiable_subregs): New function.
8748         (invalid_mode_changes): Delete.
8749         (alid_mode_changes, valid_mode_changes_obstack): New variables.
8750         (record_subregs_of_mode): Remove subregs_of_mode parameter.
8751         Record valid mode changes in valid_mode_changes.
8752         (find_subregs_of_mode): Remove subregs_of_mode parameter.
8753         Update calls to record_subregs_of_mode.
8754         (init_subregs_of_mode): Remove invalid_mode_changes and bitmap
8755         handling.  Initialize new variables.  Update call to
8756         find_subregs_of_mode.
8757         (invalid_mode_change_p): Check new variables instead of
8758         invalid_mode_changes.
8759         (finish_subregs_of_mode): Finalize new variables instead of
8760         invalid_mode_changes.
8761         (target_hard_regs::finalize): New function.
8762         * ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
8763         even when CLASS_CANNOT_CHANGE_MODE is undefined.
8765 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
8767         * combine.c (subst): Use simplify_subreg_regno rather than
8768         REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
8770 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
8772         * rtl.h (subreg_info): Expand commentary
8773         * rtlanal.c (subreg_get_info): Likewise.
8775 2014-09-22  Richard Sandiford  <richard.sandiford@arm.com>
8777         * hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
8778         (AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
8779         (IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
8781 2014-09-22  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8783         * config/arm/arm.c: #include "tm-constrs.h"
8784         (thumb1_size_rtx_costs): Adjust rtx costs.
8786 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
8788         * configure.ac (target_header_dir): Move block defining
8789         this to before the block setting inhibit_libc.
8790         (inhibit_libc): When considering $with_headers, just
8791         check it it's explicitly "no".  If not, also check if
8792         $target_header_dir/stdio.h is present.  If not, set
8793         inhibit_libc=true.
8794         * configure: Regenerate.
8796 2014-09-21  Patrick Oppenlander  <pattyo.lists@gmail.com>
8798         * config/rs6000/t-spe (MULTILIB_EXCEPTIONS): Allow isel without SPE.
8800 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8802         * config/rs6000/rs6000.md (div<mode>3): Fix comment.  Use a different
8803         insn for divides by integer powers of two.
8804         (div<mode>3_sra, *div<mode>3_sra_dot, *div<mode>3_sra_dot2): New.
8805         (mod<mode>3): Fix formatting.
8806         (three anonymous define_insn and two define_split): Delete.
8808 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8810         * config/rs6000/rs6000.md (ashr<mode>3, *ashr<mode>3, *ashrsi3_64,
8811         *ashr<mode>3_dot, *ashr<mode>3_dot2): Clobber CA_REGNO.
8812         (floatdisf2_internal2): Ditto.
8813         (ashrdi3_no_power): Ditto.  Fix formatting.
8815 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8817         * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
8818         popcntb<mode>2, popcntd<mode>2, parity<mode>2, parity<mode>2_cmpb):
8819         Tidy.
8821 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8823         * config/rs6000/rs6000.md (strlensi): Don't use subsi3 with a
8824         constant, use addsi3 directly.
8825         (three anonymous define_insn, two define_split): Delete.
8826         (sub<mode>3): Move.  Do not allow constant second operand.
8827         Generate different insn for constant first operand.
8828         (*subf<mode>3, *subf<mode>3_dot, *subf<mode>3_dot2): New.
8829         (subf<mode>3_imm): New.
8830         (ctz<mode>2, ffs<mode>2): Clobber CA_REGNO where required.
8831         (*plus_ltu<mode>): Only handle registers.
8832         (*plus_ltu<mode>_1): New.  Handle integer third operand.
8833         (*plus_gtu<mode>): Only handle registers.
8834         (*plus_gtu<mode>_1): New.  Handle integer third operand.
8836 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8838         * config/rs6000/rs6000.md (iorxor): New code_iterator.
8839         (iorxor): New code_attr.
8840         (IORXOR): New code_attr.
8841         (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): Delete.
8842         (ior<mode>3, xor<mode>3): Delete.
8843         (<iorxor><mode>3): New.
8844         (splitter for "big" integer ior, xor): New.
8845         (*bool<mode>3): Move.  Also handle AND.
8846         (*bool<mode>3_dot, *bool<mode>3_dot2): Also handle AND.
8847         (splitter for "big" integer ior, xor): Delete.
8849 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8851         * config/rs6000/rs6000.md (*neg<mode>2_internal): Delete.
8852         (two anonymous define_insn and two define_split): Delete.
8853         (*neg<mode>2, *neg<mode>2_dot, *neg<mode>2_dot2): New.
8855 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8857         * config/rs6000/rs6000.md (*one_cmpl<mode>2): Generate "not" insn.
8858         (two anonymous define_insn and two define_split): Delete.
8859         (*one_cmpl<mode>2_dot, *one_cmpl<mode>2_dot2): New.
8861 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8863         * config/rs6000/rs6000.c (rs6000_rtx_costs) <NE>: New.
8865 2014-09-21  Segher Boessenkool  <segher@kernel.crashing.org>
8867         * config/rs6000/predicates.md (ca_operand): Allow subregs.
8868         (input_operand): Do not allow ca_operand.
8869         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
8870         carry bit, allow SImode and Pmode.
8871         (rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.
8873 2014-09-21  Uros Bizjak  <ubizjak@gmail.com>
8875         * config/i386/i386.c (ix86_expand_call): Generate MS->SYSV extra
8876         clobbered registers using clobber_reg.  Remove UNSPEC decoration.
8877         * config/i386/i386.md (unspec) <UNSPEC_MS_TO_SYSV_CALL>: Remove.
8878         (*call_rex64_ms_sysv): Remove.
8879         (*call_value_rex64_ms_sysv): Ditto.
8880         * config/i386/predicates.md (call_rex64_ms_sysv_operation): Remove.
8882 2014-09-20  Joern Rennecke  <joern.rennecke@embecosm.com>
8884         * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of
8885         operand 3 to "CnL".
8887 2014-09-20  Andreas Schwab  <schwab@suse.de>
8889         * config/ia64/ia64.md: Remove constraints from define_split
8890         patterns.
8892 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8894         * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
8895         (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
8896         possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
8897         (get_dynamic_type): Remove.
8898         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
8899         (clear_speculation): Bring to ipa-deivrt.h
8900         (get_class_context): Rename to ...
8901         (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
8902         (contains_type_p): Update.
8903         (get_dynamic_type): Rename to ...
8904         ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
8905         (possible_polymorphic_call_targets): UPdate.
8906         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
8907         * ipa-prop.c (ipa_analyze_call_uses): Update.
8909 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8911         * ipa-visibility.c (varpool_node::externally_visible_p): Do not
8912         privatize dynamic TLS variables.
8914 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8916         * diagnostic.c (warning_n): New function.
8917         * diagnostic-core.h (warning_n): Declare.
8918         * ipa-devirt.c (ipa_devirt): Handle singulars correctly;
8919         output dynamic counts when available.
8921 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8923         PR tree-optimization/63255
8924         * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering
8925         issue in setting body_removed flag.
8927 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8929         PR c++/61825
8930         * c-family/c-common.c (handle_alias_ifunc_attribute): Check
8931         that visibility change is possible
8932         (handle_weakref_attribute): Likewise.
8933         * cgraph.h (symtab_node): Add method get_create and
8934         field refuse_visibility_changes.
8935         (symtab_node::get_create): New method.
8936         * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
8937         * varasm.c (mark_weak): Verify that visibility change is
8938         possible.
8940 2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
8942         * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
8943         for base_reg_operand to be common between LO_SUM and PLUS.
8944         (fusion_gpr_mem_combo): New predicate to match a fused address
8945         that combines the addis and memory offset address.
8947         * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
8948         calling signature.
8949         (emit_fusion_gpr_load): Likewise.
8951         * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
8952         signature to pass each argument separately, rather than
8953         using an operands array.  Rewrite the insns found by peephole2 to
8954         be a single insn, rather than hoping the insns will still be
8955         together when the peephole pass is done.  Drop being called via a
8956         normal peephole.
8957         (emit_fusion_gpr_load): Change calling signature to be called from
8958         the fusion_gpr_load_<mode> insns with a combined memory address
8959         instead of the peephole pass passing the addis and offset
8960         separately.
8962         * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
8963         fusion.
8964         (power8 fusion peephole): Drop support for doing power8 via a
8965         normal peephole that was created by the peephole2 pass.
8966         (power8 fusion peephole2): Create a new insn with the fused
8967         address, so that the fused operation is kept together after
8968         register allocation is done.
8969         (fusion_gpr_load_<mode>): Likewise.
8971 2014-09-19  Jan Hubicka  <hubicka@ucw.cz>
8973         PR lto/63286
8974         * tree.c (need_assembler_name_p): Do not mangle variadic types.
8976 2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
8978         * recog.c (scratch_operand): Do not simply allow all hard registers:
8979         only allow those that are allocatable.
8981 2014-09-19  Felix Yang  <felix.yang@huawei.com>
8983         * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
8984         comments and fix spacing to conform to coding style.
8986 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
8988         * genrecog.c (validate_pattern): Allow empty constraints in
8989         a match_scratch.
8991 2014-09-19  Aldy Hernandez  <aldyh@redhat.com>
8993         * dwarf2out.c (decl_ultimate_origin): Update comment.
8994         * tree.c (block_ultimate_origin): Same.
8996 2014-09-19  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8998         * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
8999         Update GCC version name to GCC 5.
9000         (rs6000_function_arg_boundary): Likewise.
9001         (rs6000_function_arg): Likewise.
9003 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
9005         * config/sh/sh.md: Fix use of constraints in define_split.
9007 2014-09-19  Markus Trippelsdorf  <markus@trippelsdorf.de>
9009         PR ipa/61998
9010         * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.
9012 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
9014         * doc/md.texi (Modifiers): Consistently use "read/write"
9015         nomenclature rather than "input/output".
9016         * genrecog.c (constraints_supported_in_insn_p): New.
9017         (validate_pattern): If needed, also check constraints on
9018         MATCH_SCRATCH operands.
9019         * genoutput.c (validate_insn_alternatives): Catch earlyclobber
9020         operands with no '=' or '+' modifier.
9022 2014-09-19  James Greenhalgh  <james.greenhalgh@arm.com>
9024         * config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
9025         scratch register as written.
9027 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9029         * config/s390/s390.c (s390_emit_epilogue): Remove bogus
9030         assignment.
9032 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9034         * config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
9035         expanders.
9037 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9039         PR target/62662
9040         * config/s390/s390.c (s390_emit_epilogue): When doing the return
9041         address load optimization force s390_optimize_prologue to leave it
9042         that way.  Only do the optimization if we already decided to push
9043         r14 into a stack slot.
9045 2014-09-19  Marat Zakirov  <m.zakirov@samsung.com>
9047         * asan.c (build_check_stmt): Alignment arg was added.
9048         (asan_expand_check_ifn): Optimization for alignment >= 8.
9050 2014-09-19  Olivier Hainque  <hainque@adacore.com>
9052         * config/i386/vxworksae.h: Remove obsolete definitions.
9053         (STACK_CHECK_PROTECT): Define.
9054         * config/i386/vx-common.h: Remove.  Merge contents within
9055         config/i386/vxworks.h.
9056         * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
9057         i386/vx-common.h.
9059 2014-09-19  Olivier Hainque  <hainque@adacore.com>
9061         * config.gcc (powerpc-wrs-vxworksmils): New configuration.
9062         * config/rs6000/t-vxworksmils: New file.
9063         * config/rs6000/vxworksmils.h: New file.
9065 2014-09-19  Olivier Hainque  <hainque@adacore.com>
9067         * varasm.c (default_section_type_flags): Flag .persistent.bss
9068         sections as SECTION_BSS.
9070 2014-09-19  Nick Clifton  <nickc@redhat.com>
9072         * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
9073         pop'ed registers so that DCE does not eliminate them.
9075 2014-09-18  Jan Hubicka  <hubicka@ucw.cz>
9077         PR lto/63298
9078         * ipa-devirt.c (odr_subtypes_equivalent_p): Fix thinko in a condition.
9080 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
9082         * system.h (LIBGCC2_TF_CEXT): Poison.
9083         * config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
9084         * config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
9085         * config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
9086         * config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
9087         * config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
9088         * config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
9089         * config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
9090         * config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
9091         * config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
9093 2014-09-19  Kito Cheng  <kito@0xlab.org>
9095         * except.h: Fix header guard.
9096         * addresses.h: Add missing header guard.
9097         * cfghooks.h: Likewise.
9098         * collect-utils.h: Likewise.
9099         * collect2-aix.h: Likewise.
9100         * conditions.h: Likewise.
9101         * cselib.h: Likewise.
9102         * dwarf2asm.h: Likewise.
9103         * graphds.h: Likewise.
9104         * graphite-scop-detection.h: Likewise.
9105         * gsyms.h: Likewise.
9106         * hw-doloop.h: Likewise.
9107         * incpath.h: Likewise.
9108         * ipa-inline.h: Likewise.
9109         * ipa-ref.h: Likewise.
9110         * ira-int.h: Likewise.
9111         * ira.h: Likewise.
9112         * lra-int.h: Likewise.
9113         * lra.h: Likewise.
9114         * lto-section-names.h: Likewise.
9115         * read-md.h: Likewise.
9116         * reload.h: Likewise.
9117         * rtl-error.h: Likewise.
9118         * sdbout.h: Likewise.
9119         * targhooks.h: Likewise.
9120         * tree-affine.h: Likewise.
9121         * xcoff.h: Likewise.
9122         * xcoffout.h: Likewise.
9124 2014-09-18  Vladimir Makarov  <vmakarov@redhat.com>
9126         PR debug/63285
9127         * haifa-sched.c (schedule_block): Advance cycle at the end of BB
9128         if advance != 0.
9130 2014-09-18  Vladimir Makarov  <vmakarov@redhat.com>
9132         PR target/61360
9133         * lra.c (lra): Call recog_init.
9135 2014-09-18  Jakub Jelinek  <jakub@redhat.com>
9137         PR c++/62017
9138         * asan.c (transform_statements): Don't instrument clobber statements.
9140 2014-09-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
9142         * config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
9143         to neon_load1_1reg<q>.
9145 2014-09-17  Jakub Jelinek  <jakub@redhat.com>
9147         PR debug/63284
9148         * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
9149         if there are only debug stmts after the noreturn call, instead
9150         remove the debug stmts.
9152 2014-09-17  Jan Hubicka  <hubicka@ucw.cz>
9154         * ipa-devirt.c (type_pair, default_hashset_traits): New types.
9155         (odr_types_equivalent_p): Use pair hash.
9156         (odr_subtypes_equivalent_p): Likewise, do structural compare
9157         on ODR types that may be mismatched.
9158         (warn_odr): Support warning when only one field is given.
9159         (odr_types_equivalent_p): Strenghten comparsions made;
9160         support VOIDtype.
9161         (add_type_duplicate): Update VISITED hash set.
9163 2014-09-17  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9165         * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
9166         Enable selection of 'posix' or no thread model.
9168 2014-09-17  Andrew Stubbs  <ams@codesourcery.com>
9170         * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
9171         when architecture is older than ARMv7.
9173 2014-09-16  John David Anglin  <danglin@gcc.gnu.org>
9175         PR target/61853
9176         * config/pa/pa.c (pa_function_value): Directly handle aggregates
9177         that fit exactly in a word or double word.
9179 2014-09-16  Ilya Tocar  <ilya.tocar@intel.com>
9181         * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
9182         zmm/k regs support.
9184 2014-09-16  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9185             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9186             Anna Tikhonova  <anna.tikhonova@intel.com>
9187             Ilya Tocar  <ilya.tocar@intel.com>
9188             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9189             Ilya Verbin  <ilya.verbin@intel.com>
9190             Kirill Yukhin  <kirill.yukhin@intel.com>
9191             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9193         * config/i386/i386.c
9194         (ix86_expand_vector_extract): Handle V32HI and V64QI modes.
9195         * config/i386/sse.md
9196         (define_mode_iterator VI48F_256): New.
9197         (define_mode_attr extract_type): Ditto.
9198         (define_mode_attr extract_suf): Ditto.
9199         (define_mode_iterator AVX512_VEC): Ditto.
9200         (define_expand
9201         "<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
9202         AVX512_VEC.
9203         (define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
9204         (define_insn
9205         "<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
9206         Ditto.
9207         (define_mode_attr extract_type_2): Ditto.
9208         (define_mode_attr extract_suf_2): Ditto.
9209         (define_mode_iterator AVX512_VEC_2): Ditto.
9210         (define_expand
9211         "<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
9212         AVX512_VEC_2 mode iterator.
9213         (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
9214         (define_expand "avx512vl_vextractf128<mode>"): Ditto.
9215         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
9216         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
9217         (define_split for V16FI mode): Ditto.
9218         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
9219         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
9220         (define_split for VI8F_256 mode): Ditto.
9221         (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
9222         (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
9223         (define_insn "vec_extract_lo_<mode><mask_name>"): New.
9224         (define_split for VI4F_256 mode): Ditto.
9225         (define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
9226         (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
9227         (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
9228         (define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
9229         (define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
9230         (define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
9231         (define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
9232         Update `type' attribute, remove explicit `memory' attribute calculation.
9234 2014-09-16  Kito Cheng  <kito@0xlab.org>
9236         * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
9237         ira_spilled_reg_stack_slots_num if using lra.
9238         (do_reload): Remove release ira_spilled_reg_stack_slots part.
9239         * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
9240         make sure not using lra.
9241         (ira_reuse_stack_slot): Likewise.
9242         (ira_mark_new_stack_slot): Likewise.
9244 2014-09-15  Andi Kleen  <ak@linux.intel.com>
9246         * function.c (allocate_struct_function): Force
9247         DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
9248         profiling is disabled.
9250 2014-09-15  Trevor Saunders  <tsaunders@mozilla.com>
9252         * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
9253         config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
9254         emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
9255         reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
9256         macro with statically checked member functions.
9257         * rtl.h (rtx_insn::deleted): New method.
9258         (rtx_insn::set_deleted): Likewise.
9259         (rtx_insn::set_undeleted): Likewise.
9260         (INSN_DELETED_P): Remove.
9262 2014-09-15  Trevor Saunders  <tsaunders@mozilla.com>
9264         * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
9265         result of emit_jump_insn_before to a new variable.
9266         * jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
9267         (mark_jump_label_1): Likewise.
9268         (mark_jump_label_asm): Likewise.
9269         * reload1.c (gen_reload): Change type of tem to rtx_insn *.
9270         * rtl.h (mark_jump_label): Adjust.
9272 2014-09-15  Jakub Jelinek  <jakub@redhat.com>
9274         * Makefile.in (dg_target_exps): Remove.
9275         (check_gcc_parallelize): Change to just an upper bound number.
9276         (check-%-subtargets): Always print the non-parallelized goals.
9277         (check_p_vars, check_p_comma, check_p_subwork): Remove.
9278         (check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
9279         check_p_numbers3, check_p_numbers4, check_p_numbers5,
9280         check_p_numbers6): New variables.
9281         (check_p_numbers): Set to sequence from 1 to 9999.
9282         (check_p_subdirs): Set to sequence from 1 to minimum of
9283         $(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
9284         or 128.
9285         (check-%, check-parallel-%): Rewritten so that for parallelized
9286         testing each job runs all the *.exp files, with
9287         GCC_RUNTEST_PARALLELIZE_DIR set in environment.
9289 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
9291         * config/arc/arc-protos.h (arc_attr_type): Strengthen param from
9292         rtx to rtx_insn *.
9293         (arc_sets_cc_p): Likewise.
9294         * config/arc/arc.c (arc_print_operand): Use methods of
9295         "final_sequence" for clarity, and to enable strengthening of
9296         locals "jump" and "delay" from rtx to rtx_insn *.
9297         (arc_adjust_insn_length): Strengthen local "prev" from rtx to
9298         rtx_insn *; use method of rtx_sequence for typesafety.
9299         (arc_get_insn_variants): Use insn method of rtx_sequence for
9300         typesafety.
9301         (arc_pad_return): Likewise.
9302         (arc_attr_type): Strengthen param from rtx to rtx_insn *.
9303         (arc_sets_cc_p): Likewise.  Also, convert a GET_CODE check to a
9304         dyn_cast to rtx_sequence *, using insn method for typesafety.
9305         * config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
9306         rtx_sequence * and use insn method when invoking get_attr_length.
9307         * config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
9308         to rtx_insn *.  Replace a GET_CODE check with a dyn_cast to
9309         rtx_sequence *, introducing a local "seq", using its insn method
9310         from typesafety and clarity.
9311         (add_sched_insns_for_speculation): Strengthen local "next" from
9312         rtx to rtx_insn *.
9313         * config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
9314         (predicate_insn): Likewise.
9315         * config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
9316         second param.
9317         * config/cris/cris.c (cris_notice_update_cc): Likewise.
9318         * config/epiphany/epiphany-protos.h
9319         (extern void epiphany_insert_mode_switch_use): Likewise for param
9320         "insn".
9321         (get_attr_sched_use_fpu): Likewise for param.
9322         * config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
9323         Likewise for param "insn".
9324         * config/epiphany/mode-switch-use.c (insert_uses): Likewise for
9325         param "insn" of "target_insert_mode_switch_use" callback.
9326         * config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
9327         (frv_issues_to_branch_unit_p): Likewise.
9328         (frv_pack_insn_p): Likewise.
9329         (frv_compare_insns): Strengthen locals "insn1" and "insn2" from
9330         const rtx * (i.e. mutable rtx_def * const *) to
9331         rtx_insn * const *.
9332         * config/i386/i386-protos.h (standard_sse_constant_opcode):
9333         Strengthen first param from rtx to rtx_insn *.
9334         (output_fix_trunc): Likewise.
9335         * config/i386/i386.c (standard_sse_constant_opcode): Likewise.
9336         (output_fix_trunc): Likewise.
9337         (core2i7_first_cycle_multipass_filter_ready_try): Likewise for
9338         local "insn".
9339         (min_insn_size): Likewise for param "insn".
9340         (get_mem_group): Likewise.
9341         (is_cmp): Likewise.
9342         (get_insn_path): Likewise.
9343         (get_insn_group): Likewise.
9344         (count_num_restricted): Likewise.
9345         (fits_dispatch_window): Likewise.
9346         (add_insn_window): Likewise.
9347         (add_to_dispatch_window): Likewise.
9348         (debug_insn_dispatch_info_file): Likewise.
9349         * config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
9350         first param.
9351         * config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
9352         "cmp" and local "prev".
9353         (m32c_output_compare): Likewise for param "insn".
9354         * config/m32r/predicates.md (define_predicate "small_insn_p"): Add
9355         a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
9356         (define_predicate "large_insn_p"): Likewise.
9357         * config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
9358         param from rtx to rtx_insn *.
9359         (attr_op_mem m68k_sched_attr_op_mem): Likewise.
9360         * config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
9361         (m68k_sched_attr_size): Likewise.
9362         (sched_get_opxy_mem_type): Likewise for param "insn".
9363         (m68k_sched_attr_op_mem): Likewise.
9364         (sched_mem_operand_p): Likewise.
9365         * config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
9366         * config/mep/mep.c (mep_multi_slot): Likewise.
9367         * config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
9368         first param.
9369         (mips_sync_loop_insns): Likewise.
9370         * config/mips/mips.c (mips_print_operand_punctuation): Use insn
9371         method of "final_sequence" for typesafety.
9372         (mips_process_sync_loop): Strengthen param "insn" from rtx to
9373         rtx_insn *.
9374         (mips_output_sync_loop): Likewise.
9375         (mips_sync_loop_insns): Likewise.
9376         (mips_74k_agen_init): Likewise.
9377         (mips_sched_init): Use NULL rather than NULL_RTX when working with
9378         insns.
9379         * config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
9380         Strengthen param "insn" from rtx to rtx_insn *.
9381         * config/nds32/nds32.c (nds32_target_alignment): Likewise for
9382         local "insn".
9383         * config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for
9384         param.
9385         * config/pa/pa.c (pa_output_function_epilogue): Likewise for local
9386         "insn".  Use method of rtx_sequence for typesafety.
9387         (branch_to_delay_slot_p): Strengthen param "insn" from rtx to
9388         rtx_insn *.
9389         (branch_needs_nop_p): Likewise.
9390         (use_skip_p): Likewise.
9391         (pa_insn_refs_are_delayed): Likewise.
9392         * config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
9393         for locals "insn", "ninsn".
9394         * config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
9395         "insn".
9396         (is_cracked_insn): Likewise.
9397         (is_branch_slot_insn): Likewise.
9398         (is_nonpipeline_insn): Likewise.
9399         (insn_terminates_group_p): Likewise.
9400         (insn_must_be_first_in_group): Likewise.
9401         (insn_must_be_last_in_group): Likewise.
9402         (force_new_group): Likewise for param "next_insn".
9403         * config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
9404         "insn".
9405         (s390_sched_score): Likewise.
9406         * config/sh/sh-protos.h (output_branch): Likewise for param 2.
9407         (rtx sfunc_uses_reg): Likewise for sole param.
9408         * config/sh/sh.c (sh_print_operand): Use insn method of
9409         final_sequence for typesafety.
9410         (output_branch): Strengthen param "insn" from rtx to rtx_insn *.
9411         Use insn method of final_sequence for typesafety.
9412         (sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
9413         * config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
9414         for param.
9415         (eligible_for_return_delay): Likewise.
9416         (eligible_for_sibcall_delay): Likewise.
9417         * config/sparc/sparc.c (eligible_for_call_delay): Likewise.
9418         (eligible_for_return_delay): Likewise.
9419         (eligible_for_sibcall_delay): Likewise.
9420         * config/stormy16/stormy16-protos.h
9421         (xstormy16_output_cbranch_hi): Likewise for final param.
9422         (xstormy16_output_cbranch_si): Likewise.
9423         * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
9424         (xstormy16_output_cbranch_si): Likewise.
9425         * config/v850/v850-protos.h (notice_update_cc): Likewise.
9426         * config/v850/v850.c (notice_update_cc): Likewise.
9428         * final.c (get_attr_length_1): Strengthen param "insn" and param
9429         of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
9430         (get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
9431         (get_attr_min_length): Likewise.
9432         (shorten_branches): Likewise for signature of locals "length_fun"
9433         and "inner_length_fun".  Introduce local rtx_sequence * "seqn"
9434         from a checked cast and use its methods for clarity and to enable
9435         strengthening local "inner_insn" from rtx to rtx_insn *.
9436         * genattr.c (gen_attr): When writing out the prototypes of the
9437         various generated "get_attr_" functions, strengthen the params of
9438         the non-const functions from rtx to rtx_insn *.
9439         Similarly, strengthen the params of insn_default_length,
9440         insn_min_length, insn_variable_length_p, insn_current_length.
9441         (main): Similarly, strengthen the param of num_delay_slots,
9442         internal_dfa_insn_code, insn_default_latency, bypass_p,
9443         insn_latency, min_issue_delay, print_reservation,
9444         insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
9445         "insn_default_latency" callbacks.  Rename hook_int_rtx_unreachable
9446         to hook_int_rtx_insn_unreachable.
9447         * genattrtab.c (write_attr_get): When writing out the generated
9448         "get_attr_" functions, strengthen the param "insn" from rtx to
9449         rtx_insn *, eliminating a checked cast.
9450         (make_automaton_attrs): When writing out prototypes of
9451         "internal_dfa_insn_code_", "insn_default_latency_" functions
9452         and the "internal_dfa_insn_code" and "insn_default_latency"
9453         callbacks, strengthen their params from rtx to rtx_insn *
9454         * genautomata.c (output_internal_insn_code_evaluation): When
9455         writing out code, add a checked cast from rtx to rtx_insn * when
9456         invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
9457         (output_dfa_insn_code_func): Strengthen param of generated
9458         function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
9459         (output_trans_func): Likewise for generated function
9460         "state_transition".
9461         (output_internal_insn_latency_func): When writing out generated
9462         function "internal_insn_latency", rename params from "insn" and
9463         "insn2" to "insn_or_const0" and "insn2_or_const0".  Reintroduce
9464         locals "insn" and "insn2" as rtx_insn * with checked casts once
9465         we've proven that we're not dealing with const0_rtx.
9466         (output_insn_latency_func):  Strengthen param of generated
9467         function "insn_latency" from rtx to rtx_insn *.
9468         (output_print_reservation_func): Likewise for generated function
9469         "print_reservation".
9470         (output_insn_has_dfa_reservation_p): Likewise for generated
9471         function "insn_has_dfa_reservation_p".
9472         * hooks.c (hook_int_rtx_unreachable): Rename to...
9473         (hook_int_rtx_insn_unreachable): ...this, and strengthen param
9474         from rtx to rtx_insn *.
9475         * hooks.h (hook_int_rtx_unreachable): Likewise.
9476         (extern int hook_int_rtx_insn_unreachable): Likewise.
9477         * output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
9478         (get_attr_min_length): Likewise.
9479         * recog.c (get_enabled_alternatives): Likewise.
9480         * recog.h (alternative_mask get_enabled_alternatives): Likewise.
9481         * reorg.c (find_end_label): Introduce local rtx "pat" and
9482         strengthen local "insn" from rtx to rtx_insn *.
9483         (redundant_insn): Use insn method of "seq" rather than element for
9484         typesafety; strengthen local "control" from rtx to rtx_insn *.
9485         * resource.c (mark_referenced_resources): Add checked cast to
9486         rtx_insn * within INSN/JUMP_INSN case.
9487         (mark_set_resources): Likewise.
9488         * sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
9489         rtx to rtx_insn *.
9491 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
9493         * config/rs6000/rs6000.c (rs6000_loop_align_max_skip): Strengthen
9494         param "label" from rtx to rtx_insn *.
9495         * config/rx/rx.c (rx_max_skip_for_label): Likewise for param "lab"
9496         and local "op".
9497         * doc/tm.texi (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Autogenerated changes.
9498         (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Likewise.
9499         (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
9500         (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
9501         * final.c (default_label_align_after_barrier_max_skip): Strengthen
9502         param from rtx to rtx_insn *.
9503         (default_loop_align_max_skip): Likewise.
9504         (default_label_align_max_skip): Likewise.
9505         (default_jump_align_max_skip): Likewise.
9506         * target.def (label_align_after_barrier_max_skip): Likewise.
9507         (loop_align_max_skip): Likewise.
9508         (label_align_max_skip): Likewise.
9509         (jump_align_max_skip): Likewise.
9510         * targhooks.h (default_label_align_after_barrier_max_skip):
9511         Likewise.
9512         (default_loop_align_max_skip): Likewise.
9513         (default_label_align_max_skip): Likewise.
9514         (default_jump_align_max_skip): Likewise.
9516 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
9518         * config/arc/arc.c (arc_can_follow_jump): Strengthen both params
9519         from const_rtx to const rtx_insn *.  Update union members from rtx
9520         to rtx_insn *.
9521         * doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
9522         * hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
9523         (hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
9524         strengthen both params from const_rtx to const rtx_insn *.
9525         * hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
9526         (hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
9527         * reorg.c (follow_jumps): Strengthen param "jump" from rtx to
9528         rtx_insn *.
9529         * target.def (can_follow_jump): Strengthen both params from
9530         const_rtx to const rtx_insn *, and update default implementation
9531         from hook_bool_const_rtx_const_rtx_true to
9532         hook_bool_const_rtx_insn_const_rtx_insn_true.
9534 2014-09-15  David Malcolm  <dmalcolm@redhat.com>
9536         * sched-deps.c (deps_start_bb): Strengthen param "head" and local
9537         "insn" from rtx to rtx_insn *.
9538         * sched-int.h (deps_start_bb): Likewise for 2nd param.
9540 2014-09-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9541             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9542             Anna Tikhonova  <anna.tikhonova@intel.com>
9543             Ilya Tocar  <ilya.tocar@intel.com>
9544             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9545             Ilya Verbin  <ilya.verbin@intel.com>
9546             Kirill Yukhin  <kirill.yukhin@intel.com>
9547             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9549         * config/i386/sse.md
9550         (define_insn "vcvtph2ps<mask_name>"): Add masking.
9551         (define_insn "*vcvtph2ps_load<mask_name>"): Ditto.
9552         (define_insn "vcvtph2ps256<mask_name>"): Ditto.
9553         (define_expand "vcvtps2ph_mask"): New.
9554         (define_insn "*vcvtps2ph<mask_name>"): Add masking.
9555         (define_insn "*vcvtps2ph_store<mask_name>"): Ditto.
9556         (define_insn "vcvtps2ph256<mask_name>"): Ditto.
9558 2014-09-15  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9559             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9560             Anna Tikhonova  <anna.tikhonova@intel.com>
9561             Ilya Tocar  <ilya.tocar@intel.com>
9562             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9563             Ilya Verbin  <ilya.verbin@intel.com>
9564             Kirill Yukhin  <kirill.yukhin@intel.com>
9565             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9567         * config/i386/sse.md (define_mode_iterator VI248_AVX512BW_AVX512VL):
9568         New.
9569         (define_mode_iterator VI24_AVX512BW_1): Ditto.
9570         (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
9571         (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
9572         (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Enable
9573         also for TARGET_AVX512VL.
9574         (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.
9576 2014-09-15  Markus Trippelsdorf  <markus@trippelsdorf.de>
9578         * doc/install.texi (Options specification): add
9579         --disable-libsanitizer item.
9581 2014-09-14  James Clarke  <jrtc27@jrtc27.com>
9582             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
9584         PR target/61407
9585         * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
9586         and above.
9587         * config/darwin-driver.c (darwin_find_version_from_kernel): Removed
9588         kernel version check to avoid incrementing it after every major OS X
9589         release.
9590         (darwin_default_min_version): Avoid static memory buffer.
9592 2014-09-13  Jan Hubicka  <hubicka@ucw.cz>
9594         * tree.c (need_assembler_name_p): Store C++ type mangling only
9595         for aggregates.
9597 2014-09-13  Marek Polacek  <polacek@redhat.com>
9599         * tree.c (protected_set_expr_location): Don't check whether T is
9600         non-null here.
9602 2014-09-12  DJ Delorie  <dj@redhat.com>
9604         * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
9605         (extend_and_shift1_hipsi2): Likewise.
9606         (extend_and_shift2_hipsi2): Likewise.
9608 2014-09-12  David Malcolm  <dmalcolm@redhat.com>
9610         * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
9611         with NULL when dealing with an insn.
9612         * config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
9613         from rtx to rtx_insn *.
9614         * rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
9615         const_rtx to const rtx_insn *.
9616         * rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
9618 2014-09-12  Trevor Saunders  <tsaunders@mozilla.com>
9620         * hash-table.h (gt_pch_nx): Don't call gt_pch_note_object within an
9621         assert.
9623 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
9625         * target.def (libgcc_floating_mode_supported_p): New hook.
9626         * targhooks.c (default_libgcc_floating_mode_supported_p): New
9627         function.
9628         * targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
9629         * doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
9630         (LIBGCC2_HAS_TF_MODE): Remove.
9631         (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
9632         * doc/tm.texi: Regenerate.
9633         * genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
9634         machine mode.
9635         * system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
9636         (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
9637         * config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
9638         * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
9639         * config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9640         * config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
9641         * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
9642         * config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
9643         * config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
9644         * config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
9645         function.
9646         (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
9647         * config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9648         * config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9649         * config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9650         * config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9651         * config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9652         * config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9653         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
9654         * config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
9655         * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
9656         * config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
9657         * config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
9658         * config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
9659         * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
9660         Remove.
9661         * config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
9662         New macro.
9663         (ia64_libgcc_floating_mode_supported_p): New function.
9664         * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
9665         * config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
9666         (IA64_NO_LIBGCC_TFMODE): Define.
9667         * config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
9668         * config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New
9669         macro.
9670         (pdp11_scalar_mode_supported_p): New function.
9671         * config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
9672         * config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
9674 2014-09-12  Richard Biener  <rguenther@suse.de>
9676         PR middle-end/63237
9677         * gimple-fold.c (get_maxval_strlen): Gimplify string length.
9679 2014-09-12  Marc Glisse  <marc.glisse@inria.fr>
9681         * tree.c (integer_each_onep): New function.
9682         * tree.h (integer_each_onep): Declare it.
9683         * fold-const.c (fold_binary_loc): Use it for ~A + 1 to -A and
9684         -A - 1 to ~A.  Disable (X & 1) ^ 1, (X ^ 1) & 1 and ~X & 1 to
9685         (X & 1) == 0 for vector and complex.
9687 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
9689         * gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
9690         for A57.
9691         (cortexa53_regmove_cost): New cost table for A53.  Increase GP2FP/FP2GP
9692         cost to spilling from integer to FP registers.
9694 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
9696         * config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
9697         move handling.
9698         (generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
9699         are now handled correctly.
9701 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
9703         * config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
9704         handling of CALLER_SAVE_REGS and POINTER_REGS.
9706 2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>
9708         * gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
9709         the number of hard registers.
9711 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9712             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9713             Anna Tikhonova  <anna.tikhonova@intel.com>
9714             Ilya Tocar  <ilya.tocar@intel.com>
9715             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9716             Ilya Verbin  <ilya.verbin@intel.com>
9717             Kirill Yukhin  <kirill.yukhin@intel.com>
9718             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9720         * config/i386/sse.md
9721         (define_mode_iterator VI48_AVX512VL): New.
9722         (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
9723         "avx512f_vternlog<mode>_maskz" and update mode iterator.
9724         (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
9725         from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
9726         (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
9727         "avx512f_vternlog<mode>_mask" and update mode iterator.
9728         (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
9729         from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
9730         iterator.
9731         (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
9732         "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
9733         (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
9734         "avx512f_<rotate><mode><mask_name>" and update mode iterator.
9735         (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL mode iterator.
9736         (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
9738 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9739             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9740             Anna Tikhonova  <anna.tikhonova@intel.com>
9741             Ilya Tocar  <ilya.tocar@intel.com>
9742             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9743             Ilya Verbin  <ilya.verbin@intel.com>
9744             Kirill Yukhin  <kirill.yukhin@intel.com>
9745             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9747         * config/i386/sse.md (VI128_256): Delete.
9748         (define_mode_iterator VI124_256): New.
9749         (define_mode_iterator VI124_256_AVX512F_AVX512BW): Ditto.
9750         (define_expand "<code><mode>3<mask_name><round_name>"): Delete.
9751         (define_expand "<code><VI124_256_AVX512F_AVX512BW:mode>3"): New.
9752         (define_insn "*avx2_<code><VI124_256:mode>3"): Rename from
9753         "*avx2_<code><mode>3<mask_name><round_name>" and update mode iterator.
9754         (define_expand "<code><VI48_AVX512VL:mode>3_mask"): New.
9755         (define_insn "*avx512bw_<code><VI48_AVX512VL:mode>3<mask_name>"): Ditto.
9756         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Update mode
9757         iterator.
9758         (define_expand "<code><VI8_AVX2:mode>3"): Update pettern generation
9759         in presence of AVX-512.
9761 2014-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9762             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9763             Anna Tikhonova  <anna.tikhonova@intel.com>
9764             Ilya Tocar  <ilya.tocar@intel.com>
9765             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9766             Ilya Verbin  <ilya.verbin@intel.com>
9767             Kirill Yukhin  <kirill.yukhin@intel.com>
9768             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9770         * config/i386/sse.md
9771         (define_expand "<avx512>_gathersi<mode>"): Rename from
9772         "avx512f_gathersi<mode>".
9773         (define_insn "*avx512f_gathersi<mode>"): Use VI48F.
9774         (define_insn "*avx512f_gathersi<mode>_2"): Ditto.
9775         (define_expand "<avx512>_gatherdi<mode>"): Rename from
9776         "avx512f_gatherdi<mode>".
9777         (define_insn "*avx512f_gatherdi<mode>"): Use VI48F.
9778         (define_insn "*avx512f_gatherdi<mode>_2"): Use VI48F, add 128/256-bit
9779         wide versions.
9780         (define_expand "<avx512>_scattersi<mode>"): Rename from
9781         "avx512f_scattersi<mode>".
9782         (define_insn "*avx512f_scattersi<mode>"): Use VI48F.
9783         (define_expand "<avx512>_scatterdi<mode>"): Rename from
9784         "avx512f_scatterdi<mode>".
9785         (define_insn "*avx512f_scatterdi<mode>"): Use VI48F.
9787 2014-09-12  Richard Sandiford  <richard.sandiford@arm.com>
9789         * ira.h (ira_finish_once): Delete.
9790         * ira-int.h (target_ira_int::~target_ira_int): Declare.
9791         (target_ira_int::free_ira_costs): Likewise.
9792         (target_ira_int::free_register_move_costs): Likewise.
9793         (ira_finish_costs_once): Delete.
9794         * ira.c (free_register_move_costs): Replace with...
9795         (target_ira_int::free_register_move_costs): ...this new function.
9796         (target_ira_int::~target_ira_int): Define.
9797         (ira_init): Call free_register_move_costs as a member function rather
9798         than a global function.
9799         (ira_finish_once): Delete.
9800         * ira-costs.c (free_ira_costs): Replace with...
9801         (target_ira_int::free_ira_costs): ...this new function.
9802         (ira_init_costs): Call free_ira_costs as a member function rather
9803         than a global function.
9804         (ira_finish_costs_once): Delete.
9805         * target-globals.c (target_globals::~target_globals): Call the
9806         target_ira_int destructor.
9807         * toplev.c: Include lra.h.
9808         (finalize): Call lra_finish_once rather than ira_finish_once.
9810 2014-09-11  Jan Hubicka  <hubicka@ucw.cz>
9812         * common.opt (flto-odr-type-merging): New flag.
9813         * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
9814         (types_same_for_odr): Likewise.
9815         (odr_subtypes_equivalent_p): Likewise.
9816         (add_type_duplicate): Do not walk type variants.
9817         (register_odr_type): New function.
9818         * ipa-utils.h (register_odr_type): Declare.
9819         (odr_type_p): New function.
9820         * langhooks.c (lhd_set_decl_assembler_name): Do not compute
9821         TYPE_DECLs
9822         * doc/invoke.texi (-flto-odr-type-merging): Document.
9823         * tree.c (need_assembler_name_p): Compute ODR names when asked
9824         for it.
9825         * tree.h (DECL_ASSEMBLER_NAME): Update comment.
9827 2014-09-11  H.J. Lu  <hongjiu.lu@intel.com>
9829         PR target/63228
9830         * config/i386/i386.c (ix86_option_override_internal): Also turn
9831         off OPTION_MASK_ABI_X32 for -m16.
9833 2014-09-11  Segher Boessenkool  <segher@kernel.crashing.org>
9835         * config/rs6000/rs6000.md (rs6000_mftb_<mode>): Use mode iterator
9836         GPR instead of P.
9838 2014-09-11  Marc Glisse  <marc.glisse@inria.fr>
9840         PR target/58757
9841         * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
9842         Directly forward to __*_DENORM_MIN__.
9844 2014-09-11  David Malcolm  <dmalcolm@redhat.com>
9846         * rtl.h (LABEL_REF_LABEL): New macro.
9848         * alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
9849         of XEXP (, 0), where we know that we have a LABEL_REF.
9850         * cfgbuild.c (make_edges): Likewise.
9851         (purge_dead_tablejump_edges): Likewise.
9852         * cfgexpand.c (convert_debug_memory_address): Likewise.
9853         * cfgrtl.c (patch_jump_insn): Likewise.
9854         * combine.c (distribute_notes): Likewise.
9855         * cse.c (hash_rtx_cb): Likewise.
9856         (exp_equiv_p): Likewise.
9857         (fold_rtx): Likewise.
9858         (check_for_label_ref): Likewise.
9859         * cselib.c (rtx_equal_for_cselib_1): Likewise.
9860         (cselib_hash_rtx): Likewise.
9861         * emit-rtl.c (mark_label_nuses): Likewise.
9862         * explow.c (convert_memory_address_addr_space): Likewise.
9863         * final.c (output_asm_label): Likewise.
9864         (output_addr_const): Likewise.
9865         * gcse.c (add_label_notes): Likewise.
9866         * genconfig.c (walk_insn_part): Likewise.
9867         * genrecog.c (validate_pattern): Likewise.
9868         * ifcvt.c (cond_exec_get_condition): Likewise.
9869         (noce_emit_store_flag): Likewise.
9870         (noce_get_alt_condition): Likewise.
9871         (noce_get_condition): Likewise.
9872         * jump.c (maybe_propagate_label_ref): Likewise.
9873         (mark_jump_label_1): Likewise.
9874         (redirect_exp_1): Likewise.
9875         (rtx_renumbered_equal_p): Likewise.
9876         * lra-constraints.c (operands_match_p): Likewise.
9877         * reload.c (operands_match_p): Likewise.
9878         (find_reloads): Likewise.
9879         * reload1.c (set_label_offsets): Likewise.
9880         * reorg.c (get_branch_condition): Likewise.
9881         * rtl.c (rtx_equal_p_cb): Likewise.
9882         (rtx_equal_p): Likewise.
9883         * rtlanal.c (reg_mentioned_p): Likewise.
9884         (rtx_referenced_p): Likewise.
9885         (get_condition): Likewise.
9886         * sched-vis.c (print_value): Likewise.
9887         * varasm.c (const_hash_1): Likewise.
9888         (compare_constant): Likewise.
9889         (const_rtx_hash_1): Likewise.
9890         (output_constant_pool_1): Likewise.
9892 2014-09-11  Segher Boessenkool  <segher@kernel.crashing.org>
9894         * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
9895         tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
9896         instead of minus.
9897         * config/rs6000/vector.md (cr6_test_for_zero_reverse,
9898         cr6_test_for_lt_reverse): Ditto.
9900 2014-09-11  Paolo Carlini  <paolo.carlini@oracle.com>
9902         PR c++/61489
9903         * doc/invoke.texi ([-Wmissing-field-initializers]): Update.
9905 2014-09-11  Alan Lawrence  <alan.lawrence@arm.com>
9907         * config/aarch64/aarch64-builtins.c (aarch64_types_unop_su_qualifiers,
9908         TYPES_REINTERP_SU, aarch64_types_unop_sp_qualifiers, TYPE_REINTERP_SP,
9909         aarch64_types_unop_us_qualifiers, TYPES_REINTERP_US,
9910         aarch64_types_unop_ps_qualifiers, TYPES_REINTERP_PS, BUILTIN_VD):
9911         Delete.
9913         (aarch64_fold_builtin): Remove all reinterpret cases.
9915         * config/aarch64/aarch64-protos.h (aarch64_simd_reinterpret): Delete.
9917         * config/aarch64/aarch64-simd-builtins.def (reinterpret*) : Delete.
9919         * config/aarch64/aarch64-simd.md (aarch64_reinterpretv8qi<mode>,
9920         aarch64_reinterpretv4hi<mode>, aarch64_reinterpretv2si<mode>,
9921         aarch64_reinterpretv2sf<mode>, aarch64_reinterpretdi<mode>,
9922         aarch64_reinterpretv1df<mode>, aarch64_reinterpretv16qi<mode>,
9923         aarch64_reinterpretv8hi<mode>, aarch64_reinterpretv4si<mode>,
9924         aarch64_reinterpretv4sf<mode>, aarch64_reinterpretv2di<mode>,
9925         aarch64_reinterpretv2df<mode>): Delete.
9927         * config/aarch64/aarch64.c (aarch64_simd_reinterpret): Delete.
9929         * config/aarch64/arm_neon.h (vreinterpret_p8_f64,
9930         vreinterpret_p16_f64, vreinterpret_f32_f64, vreinterpret_f64_f32,
9931         vreinterpret_f64_p8, vreinterpret_f64_p16, vreinterpret_f64_s8,
9932         vreinterpret_f64_s16, vreinterpret_f64_s32, vreinterpret_f64_u8,
9933         vreinterpret_f64_u16, vreinterpret_f64_u32, vreinterpret_s64_f64,
9934         vreinterpret_u64_f64, vreinterpret_s8_f64, vreinterpret_s16_f64,
9935         vreinterpret_s32_f64, vreinterpret_u8_f64, vreinterpret_u16_f64,
9936         vreinterpret_u32_f64): Use cast.
9938         * config/aarch64/iterators.md (VD_RE): Delete.
9940 2014-09-11  Alan Lawrence  <alan.lawrence@arm.com>
9942         * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2).
9943         (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
9944         vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
9945         vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64,
9946         vsetq_lane_f32, vsetq_lane_f64, vsetq_lane_p8, vsetq_lane_p16,
9947         vsetq_lane_s8, vsetq_lane_s16, vsetq_lane_s32, vsetq_lane_s64,
9948         vsetq_lane_u8, vsetq_lane_u16, vsetq_lane_u32, vsetq_lane_u64):
9949         Replace inline assembler with __aarch64_vset_lane_any.
9951 2014-09-11  James Greenhalgh  <james.greenhalgh@arm.com>
9953         * config/aarch64/arm_neon.h (vmull_high_lane_s16): Fix argument
9954         types.
9955         (vmull_high_lane_s32): Likewise.
9956         (vmull_high_lane_u16): Likewise.
9957         (vmull_high_lane_u32): Likewise.
9959 2014-09-11  Jason Merrill  <jason@redhat.com>
9961         PR c++/58678
9962         * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT.
9964 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
9966         PR target/63223
9967         * config/avr/avr.md (*tablejump.3byte-pc): New insn.
9968         (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL.  Add void clobber.
9969         (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
9971 2014-09-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
9972             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
9973             Anna Tikhonova  <anna.tikhonova@intel.com>
9974             Ilya Tocar  <ilya.tocar@intel.com>
9975             Andrey Turetskiy  <andrey.turetskiy@intel.com>
9976             Ilya Verbin  <ilya.verbin@intel.com>
9977             Kirill Yukhin  <kirill.yukhin@intel.com>
9978             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
9980         * config/i386/sse.md
9981         (define_expand "<avx512>_vpermi2var<VI48F:mode>3_maskz"): Rename from
9982         "avx512f_vpermi2var<mode>3_maskz" and update mode iterator.
9983         (define_expand "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_maskz"):
9984         New.
9985         (define_insn "<avx512>_vpermi2var<VI48F:mode>3<sd_maskz_name>"): Rename
9986         from "avx512f_vpermi2var<mode>3<sd_maskz_name>" and update mode
9987         iterator.
9988         (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
9989         New.
9990         (define_insn "<avx512>_vpermi2var<VI48F:mode>3_mask"): Rename from
9991         "avx512f_vpermi2var<mode>3_mask" and update mode iterator.
9992         (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_mask"): New.
9993         (define_expand "<avx512>_vpermt2var<VI48F:mode>3_maskz"): Rename from
9994         "avx512f_vpermt2var<mode>3_maskz" and update mode iterator.
9995         (define_expand "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_maskz"): New.
9996         (define_insn "<avx512>_vpermt2var<VI48F:mode>3<sd_maskz_name>"): Rename
9997         from "avx512f_vpermt2var<mode>3<sd_maskz_name>" and update mode
9998         iterator.
9999         (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
10000         New.
10001         (define_insn "<avx512>_vpermt2var<VI48F:mode>3_mask"): Rename from
10002         "avx512f_vpermt2var<mode>3_mask" and update mode iterator.
10003         (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_mask"): New.
10005 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
10007         * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
10008         to access removed nodes.
10010 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
10012         PR tree-optimization/63186
10013         * ipa-split.c (test_nonssa_use): Skip nonforced labels.
10014         (mark_nonssa_use): Likewise.
10015         (verify_non_ssa_vars): Verify all header blocks for label
10016         definitions.
10018 2014-09-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
10019             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
10020             Anna Tikhonova  <anna.tikhonova@intel.com>
10021             Ilya Tocar  <ilya.tocar@intel.com>
10022             Andrey Turetskiy  <andrey.turetskiy@intel.com>
10023             Ilya Verbin  <ilya.verbin@intel.com>
10024             Kirill Yukhin  <kirill.yukhin@intel.com>
10025             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
10027         * config/i386/sse.md
10028         (define_mode_attr avx2_avx512): Rename from avx2_avx512bw.
10029         (define_mode_iterator VI48F_256_512): Extend to AVX-512VL.
10030         (define_insn "<avx2_avx512>_permvar<mode><mask_name>"): Rename from
10031         "<avx2_avx512f>_permvar<mode><mask_name>".
10032         (define_insn "<avx512>_permvar<mode><mask_name>"): New.
10033         (define_insn "<avx2_avx512>_ashrv<VI48_AVX512F_AVX512VL:mode><mask_name>"):
10034         Rename from "<avx2_avx512f>_ashrv<mode><mask_name>".
10035         (define_insn "<avx2_avx512>_ashrv<VI2_AVX512VL:mode><mask_name>"):
10036         Ditto.
10037         (define_insn "<avx2_avx512>_<shift_insn>v<VI48_AVX512F:mode><mask_name>"):
10038         Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
10039         (define_insn "<avx2_avx512>_<shift_insn>v<VI2_AVX512VL:mode><mask_name>"):
10040         Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
10042 2014-09-10  Michael Meissner  <meissner@linux.vnet.ibm.com>
10044         * config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
10045         V2DF, V4SF, DF, and DI modes.
10046         (vsx_fmav2df2): Likewise.
10047         (vsx_float_fix_<mode>2): Likewise.
10048         (vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.
10050 2014-09-10  Xinliang David Li  <davidxl@google.com>
10052         PR target/63209
10053         * config/arm/arm.md (movcond_addsi): Handle case where source
10054         and target operands are the same.
10056 2014-09-10  David Malcolm  <dmalcolm@redhat.com>
10058         * final.c (this_is_asm_operands): Strengthen this variable from
10059         rtx to const rtx_insn *.
10060         * output.h (this_is_asm_operands): Likewise.
10061         * rtl-error.c (location_for_asm): Strengthen param "insn" from
10062         const_rtx to const rtx_insn *.
10063         (diagnostic_for_asm): Likewise.
10064         * rtl-error.h (error_for_asm): Likewise.
10065         (warning_for_asm): Likewise.
10067 2014-09-10  David Malcolm  <dmalcolm@redhat.com>
10069         * genextract.c (print_header): When writing out insn_extract to
10070         insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
10071         * recog.h (insn_extract): Strengthen the param from rtx to
10072         rtx_insn *.
10074 2014-09-10  Mike Stump  <mikestump@comcast.net>
10076         * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in
10077         8.6.1.
10079 2014-09-10  Martin Jambor  <mjambor@suse.cz>
10081         * cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
10082         (analyze): Do not set analyze flag if expand_thunk returns false;.
10083         (create_wrapper): Likewise.
10084         * cgraphclones.c (duplicate_thunk_for_node): Likewise.
10086 2014-09-10  Martin Jambor  <mjambor@suse.cz>
10088         PR ipa/61654
10089         * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
10090         new decl properly.  Analyze the new thunk if it is expanded.
10092 2014-09-10  Andreas Schwab  <schwab@suse.de>
10094         * coretypes.h (struct _dont_use_rtx_insn_here_, rtx_insn)
10095         [USED_FOR_TARGET]: Define.
10097 2014-09-10  Matthew Fortune  <matthew.fortune@imgtec.com>
10099         * config/mips/mips.c (mips_secondary_reload_class): Handle
10100         regno < 0 case.
10102 2014-09-10  Robert Suchanek   <robert.suchanek@imgtec.com>
10104         * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
10105         assignment.
10107 2014-09-10  Jakub Jelinek  <jakub@redhat.com>
10109         * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
10110         and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
10111         * opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
10112         SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
10113         flag_delete_null_pointer_checks for them.
10114         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
10115         BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
10116         BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
10117         BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
10118         * ubsan.c (instrument_bool_enum_load): Set *gsi back to
10119         stmt's iterator.
10120         (instrument_nonnull_arg, instrument_nonnull_return): New functions.
10121         (pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
10122         or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
10123         (pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
10124         * doc/invoke.texi (-fsanitize=nonnull-attribute,
10125         -fsanitize=returns-nonnull-attribute): Document.
10127         * ubsan.h (struct ubsan_mismatch_data): Removed.
10128         (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
10129         * ubsan.c (ubsan_source_location): For unknown locations,
10130         pass { NULL, 0, 0 } instead of { "<unknown>", x, y }.
10131         (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
10132         Allow more than one location and arbitrary extra arguments passed
10133         in ... instead of through MISMATCH pointer.
10134         (ubsan_instrument_unreachable, ubsan_expand_bounds_ifn,
10135         ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
10136         instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust
10137         callers.
10139 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
10140             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
10141             Anna Tikhonova  <anna.tikhonova@intel.com>
10142             Ilya Tocar  <ilya.tocar@intel.com>
10143             Andrey Turetskiy  <andrey.turetskiy@intel.com>
10144             Ilya Verbin  <ilya.verbin@intel.com>
10145             Kirill Yukhin  <kirill.yukhin@intel.com>
10146             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
10148         * config/i386/sse.md
10149         (define_mode_iterator VI48F): New.
10150         (define_insn "<avx512>_compress<mode>_mask"): Rename from
10151         "avx512f_compress<mode>_mask" and update mode iterator.
10152         (define_insn "<avx512>_compressstore<mode>_mask"): Rename from
10153         "avx512f_compressstore<mode>_mask" and update mode iterator.
10154         (define_expand "<avx512>_expand<mode>_maskz"): Rename from
10155         "avx512f_expand<mode>_maskz" and update mode iterator.
10156         (define_insn "<avx512>_expand<mode>_mask"): Rename from
10157         "avx512f_expand<mode>_mask" and update mode iterator.
10159 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
10160             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
10161             Anna Tikhonova  <anna.tikhonova@intel.com>
10162             Ilya Tocar  <ilya.tocar@intel.com>
10163             Andrey Turetskiy  <andrey.turetskiy@intel.com>
10164             Ilya Verbin  <ilya.verbin@intel.com>
10165             Kirill Yukhin  <kirill.yukhin@intel.com>
10166             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
10168         * config/i386/i386.c
10169         (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
10170         avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
10171         avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
10172         avx512dq_rangepv4sf_mask.
10173         * config/i386/sse.md
10174         (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
10175         UNSPEC_RANGE.
10176         (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
10177         (define_insn "reduces<mode>"): Ditto.
10178         (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
10179         Ditto.
10180         (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Ditto.
10181         (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): Ditto.
10182         (define_insn "avx512dq_vmfpclass<mode>"): Ditto..
10184 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
10185             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
10186             Anna Tikhonova  <anna.tikhonova@intel.com>
10187             Ilya Tocar  <ilya.tocar@intel.com>
10188             Andrey Turetskiy  <andrey.turetskiy@intel.com>
10189             Ilya Verbin  <ilya.verbin@intel.com>
10190             Kirill Yukhin  <kirill.yukhin@intel.com>
10191             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
10193         * config/i386/i386.c
10194         (avx512f_vgetmantv2df_round): Rename from "avx512f_getmantv2df_round".
10195         (avx512f_vgetmantv4sf_round): Rename from "avx512f_vgetmantv4sf_round".
10196         (ix86_expand_args_builtin): Handle avx512vl_getmantv8sf_mask,
10197         avx512vl_getmantv4df_mask, avx512vl_getmantv4sf_mask,
10198         avx512vl_getmantv2df_mask.
10199         (ix86_expand_round_builtin): Handle avx512f_vgetmantv2df_round,
10200         avx512f_vgetmantv4sf_round.
10201         * config/i386/sse.md
10202         (define_insn "<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask"):
10203         Rename from "avx512f_storeu<ssemodesuffix>512_mask" and update
10204         mode iterator.
10205         (define_insn "<mask_codefor>rcp14<mode><mask_name>"): Use VF_AVX512VL.
10206         (define_insn "<mask_codefor>rsqrt14<mode><mask_name>"): Ditto.
10207         (define_insn "<avx512>_scalef<mode><mask_name><round_name>"): Rename
10208         from "avx512f_scalef<mode><mask_name><round_name>" and update mode
10209         iterator..
10210         (define_insn "<avx512>_getexp<mode><mask_name><round_saeonly_name>"):
10211         Rename from "avx512f_getexp<mode><mask_name><round_saeonly_name>" and
10212         update mode iterator.
10213         (define_expand
10214         "<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>"): Rename from
10215         "avx512f_fixupimm<mode>_maskz<round_saeonly_expand_name>" and update
10216         mode iterator.
10217         (define_insn
10218         "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"): Rename
10219         from "avx512f_fixupimm<mode><sd_maskz_name><round_saeonly_name>" and
10220         update mode iterator.
10221         (define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"): Rename
10222         from "avx512f_fixupimm<mode>_mask<round_saeonly_name>" and update mode
10223         iterator..
10224         (define_insn
10225         "<avx512>_rndscale<mode><mask_name><round_saeonly_name>"): rename from
10226         "avx512f_rndscale<mode><mask_name><round_saeonly_name>" and update
10227         mode iterator..
10228         (define_insn "<avx512>_getmant<mode><mask_name><round_saeonly_name>"):
10229         Rename from "avx512f_getmant<mode><mask_name><round_saeonly_name>" and
10230         update mode iterator.
10231         (define_insn "avx512f_vgetmant<mode><round_saeonly_name>"): Rename from
10232         "avx512f_getmant<mode><round_saeonly_name>".
10234 2014-09-10  Jan Hubicka  <hubicka@ucw.cz>
10236         PR ipa/63166
10237         * ipa-prop.c (compute_known_type_jump_func): Fix conditional.
10239 2014-09-10  Alexander Ivchenko  <alexander.ivchenko@intel.com>
10240             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
10241             Anna Tikhonova  <anna.tikhonova@intel.com>
10242             Ilya Tocar  <ilya.tocar@intel.com>
10243             Andrey Turetskiy  <andrey.turetskiy@intel.com>
10244             Ilya Verbin  <ilya.verbin@intel.com>
10245             Kirill Yukhin  <kirill.yukhin@intel.com>
10246             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
10248         * config/i386/sse.md (define_mode_iterator VF_AVX512VL): New.
10249         (define_mode_iterator FMAMODEM): Allow 128/256bit EVEX version.
10250         (define_mode_iterator FMAMODE_AVX512): New.
10251         (define_mode_iterator FMAMODE): Remove conditions.
10252         (define_expand "fma4i_fmadd_<mode>"): Use FMAMODE_AVX512 mode iterator.
10253         (define_expand "<avx512>_fmadd_<mode>_maskz<round_expand_name>"): Rename
10254         from "<avx512>_fmadd_<mode>_maskz<round_expand_name>" and use VF_AVX512VL
10255         mode iterator.
10256         (define_mode_iterator FMAMODE_NOVF512): Remove.
10257         (define_insn "*fma_fmadd_<mode>"): Rename from
10258         "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>" and use
10259         FMAMODE mode iterator.
10260         (define_mode_iterator VF_SF_AVX512VL): New.
10261         (define_insn "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>"):
10262         Use VF_SF_AVX512VL mode iterator.
10263         (define_insn "<avx512>_fmadd_<mode>_mask<round_name>"): Rename from
10264         "avx512f_fmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
10265         iterator.
10266         (define_insn "<avx512>_fmadd_<mode>_mask3<round_name>"): Rename from
10267         "avx512f_fmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10268         iterator.
10269         (define_insn "*fma_fmsub_<mode>"): Rename from
10270         "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>" and use
10271         FMAMODE mode iterator.
10272         (define_insn "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>"):
10273         Use VF_SF_AVX512VL mode iterator.
10274         (define_insn "<avx512>_fmsub_<mode>_mask<round_name>"): Rename from
10275         "avx512f_fmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
10276         iterator.
10277         (define_insn "<avx512>_fmsub_<mode>_mask3<round_name>"): Rename from
10278         "avx512f_fmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10279         iterator.
10280         (define_insn "*fma_fnmadd_<mode>"): Rename from
10281         "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>" and
10282         use FMAMODE mode iterator.
10283         (define_insn "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>"):
10284         Use VF_SF_AVX512VL mode iterator.
10285         (define_insn "<avx512>_fnmadd_<mode>_mask<round_name>"): Rename from
10286         "avx512f_fnmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
10287         iterator.
10288         (define_insn "<avx512>_fnmadd_<mode>_mask3<round_name>"): Rename from
10289         "avx512f_fnmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10290         iterator.
10291         (define_insn "*fma_fnmsub_<mode>"): Rename from
10292         "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>" and use
10293         FMAMODE mode iterator.
10294         (define_insn "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>"):
10295         Use VF_SF_AVX512VL mode iterator.
10296         (define_insn "<avx512>_fnmsub_<mode>_mask<round_name>"): Rename from
10297         "avx512f_fnmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
10298         iterator.
10299         (define_insn "<avx512>_fnmsub_<mode>_mask3<round_name>"): Rename from
10300         "avx512f_fnmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10301         iterator.
10302         (define_expand "<avx512>_fmaddsub_<mode>_maskz<round_expand_name>"):
10303         Rename from "avx512f_fmaddsub_<mode>_maskz<round_expand_name>" and
10304         use VF_AVX512VL mode iterator.
10305         (define_insn "*fma_fmaddsub_<mode>"): Rename from
10306         "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>" and
10307         remove subst usage.
10308         (define_insn "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>"):
10309         Use VF_SF_AVX512VL mode iterator.
10310         (define_insn "<avx512>_fmaddsub_<mode>_mask<round_name>"): Rename from
10311         "avx512f_fmaddsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
10312         iterator.
10313         (define_insn "<avx512>_fmaddsub_<mode>_mask3<round_name>"): Rename from
10314         "avx512f_fmaddsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10315         iterator.
10316         (define_insn "*fma_fmsubadd_<mode>"): Rename from
10317         "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>" and
10318         remove usage of subst.
10319         (define_insn "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>"):
10320         Use VF_SF_AVX512VL mode iterator.
10321         (define_insn "<avx512>_fmsubadd_<mode>_mask<round_name>"): Rename from
10322         "avx512f_fmsubadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
10323         iterator.
10324         (define_insn "<avx512>_fmsubadd_<mode>_mask3<round_name>"): Rename from
10325         "avx512f_fmsubadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
10326         iterator.
10328 2014-09-10  Kugan Vivekanandarajah  <kuganv@linaro.org>
10330         Revert r213751:
10331         * calls.c (precompute_arguments): Check
10332          promoted_for_signed_and_unsigned_p and set the promoted mode.
10333         (promoted_for_signed_and_unsigned_p): New function.
10334         (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
10335         and set the promoted mode.
10336         * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
10337         * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
10338         SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
10340 2014-09-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
10342         * opth-gen.awk: Generate mapping from cpp message reasons to the
10343         options that enable them.
10344         * doc/options.texi (CppReason): Document.
10346 2014-09-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
10348         * doc/invoke.texi (Wnormalized=): Update.
10350 2014-09-09  Segher Boessenkool  <segher@kernel.crashing.org>
10352         PR target/63195
10353         * config/rs6000/rs6000.md (*bool<mode>3): Allow only register
10354         operands.  Split off the constant operand alternative to ...
10355         (*bool<mode>3_imm): New.
10357 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
10359         * rtl.h (single_set_2): Strengthen first param from const_rtx to
10360         const rtx_insn *, and move prototype to above...
10361         (single_set): ...this.  Convert this from a macro to an inline
10362         function, enforcing the requirement that the param is a const
10363         rtx_insn *.
10364         (find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
10366         * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
10367         Strengthen both params from rtx to rtx_insn *.
10368         * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
10369         Likewise; introduce locals "producer_set", "consumer_set", using
10370         them in place of "producer" and "consumer" when dealing with SET
10371         rather than insn.
10372         * config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
10373         when invoking single_set in region guarded by INSN_P.
10374         (avr_out_bitop): Likewise.
10375         (_reg_unused_after): Introduce local rtx_sequence * "seq" in
10376         region guarded by GET_CODE check, using methods to strengthen
10377         local "this_insn" from rtx to rtx_insn *, and for clarity.
10378         * config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
10379         Strengthen local "insn" from rtx to rtx_insn *.
10380         (define_insn_and_split "xload<mode>_A"): Likewise.
10381         * config/bfin/bfin.c (trapping_loads_p): Likewise for param
10382         "insn".
10383         (find_load): Likewise for return type.
10384         (workaround_speculation): Likewise for both locals named
10385         "load_insn".
10386         * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
10387         local "cc0_user".
10388         * config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
10389         for local "prev".
10390         * config/h8300/h8300-protos.h (notice_update_cc): Likewise for
10391         param 2.
10392         * config/h8300/h8300.c (notice_update_cc): Likewise.
10393         * config/i386/i386.c (ix86_flags_dependent): Likewise for params
10394         "insn" and "dep_insn".
10395         (exact_store_load_dependency): Likewise for both params.
10396         (ix86_macro_fusion_pair_p): Eliminate local named "single_set"
10397         since this now clashes with inline function.  Instead, delay
10398         calling single_set until the point where its needed, and then
10399         assign the result to "compare_set" and rework the conditional that
10400         follows.
10401         * config/ia64/ia64.md (define_expand "tablejump"): Strengthen
10402         local "last" from rtx to rtx_insn *.
10403         * config/mips/mips-protos.h (mips_load_store_insns): Likewise for
10404         second param.
10405         (mips_store_data_bypass_p): Likewise for both params.
10406         * config/mips/mips.c (mips_load_store_insns): Likewise for second
10407         param.
10408         (mips_store_data_bypass_p): Likewise for both params.
10409         (mips_orphaned_high_part_p): Likewise for param "insn".
10410         * config/mn10300/mn10300.c (extract_bundle): Likewise.
10411         (mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
10412         Introduce local rtx "insn2_pat".
10413         * config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
10414         "ninsn".
10415         (rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
10416         Introduce local rtx "set", using it in place of "insn" for the
10417         result of single_set.  This appears to fix a bug, since the call
10418         to find_regno_note on a SET does nothing.
10419         * config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
10420         params from rtx to rtx_insn *.
10421         (set_to_load_agen): Likewise.
10422         * config/s390/s390.c (s390_label_align): Likewise for local
10423         "prev_insn".  Introduce new rtx locals "set" and "src", using
10424         them in place of "prev_insn" for the results of single_set
10425         and SET_SRC respectively.
10426         (s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
10427         Introduce new rtx local "set" using in place of "jump" for the
10428         result of single_set.  Use SET_SRC (set) rather than plain
10429         XEXP (set, 1).
10430         * config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
10431         rtx to rtx_insn *.
10432         (noncall_uses_reg): Likewise.
10433         (reg_unused_after): Introduce local rtx_sequence * "seq" in region
10434         guarded by GET_CODE check, using its methods for clarity, and to
10435         enable strengthening local "this_insn" from rtx to rtx_insn *.
10436         * config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
10437         "insn" from rtx to rtx_insn *.
10438         (define_expand "umulhisi3"): Likewise.
10439         (define_expand "smulsi3_highpart"): Likewise.
10440         (define_expand "umulsi3_highpart"): Likewise.
10441         * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
10442         local "after".  Replace GET_CODE check with a dyn_cast,
10443         introducing new local rtx_sequence * "seq", using insn method for
10444         typesafety.
10446         * dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
10447         from rtx to rtx_insn *.  Introduce local rtx "pat", using it in
10448         place of "insn" once we're dealing with patterns rather than the
10449         input insn.
10450         (scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
10451         (scan_trace): Likewise for local "elt", updating lookups within
10452         sequence to use insn method rather than element method.
10453         * expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
10454         to rtx_insn *.
10455         * gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
10456         * ifcvt.c (noce_try_abs): Likewise for local "insn".
10457         * ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
10458         invoking single_set.
10459         * lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
10460         "insn" from rtx to rtx_insn *.
10461         (skip_usage_debug_insns): Likewise for return type, adding a
10462         checked cast.
10463         (check_secondary_memory_needed_p): Likewise for local "insn".
10464         (inherit_reload_reg): Likewise.
10465         * modulo-sched.c (sms_schedule): Likewise for local "count_init".
10466         * recog.c (peep2_attempt): Likewise for local "old_insn", adding
10467         checked casts.
10468         (store_data_bypass_p): Likewise for both params.
10469         (if_test_bypass_p): Likewise.
10470         * recog.h (store_data_bypass_p): Likewise for both params.
10471         (if_test_bypass_p): Likewise.
10472         * reload.c (find_equiv_reg): Likewise for local "where".
10473         * reorg.c (delete_jump): Likewise for param "insn".
10474         * rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
10475         to const rtx_insn *.
10476         * store-motion.c (replace_store_insn): Likewise for param "del".
10477         (delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
10478         and use its methods for clarity, and to strengthen local "del"
10479         from rtx to rtx_insn *.
10480         (build_store_vectors): Use insn method of "st" when calling
10481         replace_store_insn for typesafety and clarity.
10483 2014-09-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
10485         * config/rs6000/rs6000.c (rtx_is_swappable_p): Add
10486         UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary
10487         on how to make it legal in future.
10489 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
10491         * caller-save.c (rtx saveinsn): Strengthen this variable from rtx
10492         to rtx_insn *.
10493         (restinsn): Likewise.
10494         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_move):
10495         Likewise for param.
10496         * config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
10497         Likewise.
10498         * config/arc/arc-protos.h (arc_adjust_insn_length): Likewise for
10499         first param.
10500         (arc_hazard): Likewise for both params.
10501         * config/arc/arc.c (arc600_corereg_hazard): Likewise, adding
10502         checked casts to rtx_sequence * and uses of the insn method for
10503         type-safety.
10504         (arc_hazard): Strengthen both params from rtx to rtx_insn *.
10505         (arc_adjust_insn_length): Likewise for param "insn".
10506         (struct insn_length_parameters_s): Likewise for first param of
10507         "get_variants" callback field.
10508         (arc_get_insn_variants): Likewise for first param and local
10509         "inner".  Replace a check of GET_CODE with a dyn_cast to
10510         rtx_sequence *, using methods for type-safety and clarity.
10511         * config/arc/arc.h (ADJUST_INSN_LENGTH): Use casts to
10512         rtx_sequence * and uses of the insn method for type-safety when
10513         invoking arc_adjust_insn_length.
10514         * config/arm/arm-protos.h (arm_attr_length_move_neon): Likewise
10515         for param.
10516         (arm_address_offset_is_imm): Likewise.
10517         (struct tune_params): Likewise for params 1 and 3 of the
10518         "sched_adjust_cost" callback field.
10519         * config/arm/arm.c (cortex_a9_sched_adjust_cost): Likewise for
10520         params 1 and 3 ("insn" and "dep").
10521         (xscale_sched_adjust_cost): Likewise.
10522         (fa726te_sched_adjust_cost): Likewise.
10523         (cortexa7_older_only): Likewise for param "insn".
10524         (cortexa7_younger): Likewise.
10525         (arm_attr_length_move_neon): Likewise.
10526         (arm_address_offset_is_imm): Likewise.
10527         * config/avr/avr-protos.h (avr_notice_update_cc): Likewise.
10528         * config/avr/avr.c (avr_notice_update_cc): Likewise.
10529         * config/bfin/bfin.c (hwloop_pattern_reg): Likewise.
10530         (workaround_speculation): Likewise for local "last_condjump".
10531         * config/c6x/c6x.c (shadow_p): Likewise for param "insn".
10532         (shadow_or_blockage_p): Likewise.
10533         (get_unit_reqs): Likewise.
10534         (get_unit_operand_masks): Likewise.
10535         (c6x_registers_update): Likewise.
10536         (returning_call_p): Likewise.
10537         (can_use_callp): Likewise.
10538         (convert_to_callp): Likewise.
10539         (find_last_same_clock): Likwise for local "t".
10540         (reorg_split_calls): Likewise for local "shadow".
10541         (hwloop_pattern_reg): Likewise for param "insn".
10542         * config/frv/frv-protos.h (frv_final_prescan_insn): Likewise.
10543         * config/frv/frv.c (frv_final_prescan_insn): Likewise.
10544         (frv_extract_membar): Likewise.
10545         (frv_optimize_membar_local): Strengthen param "last_membar" from
10546         rtx * to rtx_insn **.
10547         (frv_optimize_membar_global): Strengthen param "membar" from rtx
10548         to rtx_insn *.
10549         (frv_optimize_membar): Strengthen local "last_membar" from rtx *
10550         to rtx_insn **.
10551         * config/ia64/ia64-protos.h (ia64_st_address_bypass_p): Strengthen
10552         both params from rtx to rtx_insn *.
10553         (ia64_ld_address_bypass_p): Likewise.
10554         * config/ia64/ia64.c (ia64_safe_itanium_class): Likewise for param
10555         "insn".
10556         (ia64_safe_type): Likewise.
10557         (group_barrier_needed): Likewise.
10558         (safe_group_barrier_needed): Likewise.
10559         (ia64_single_set): Likewise.
10560         (is_load_p): Likewise.
10561         (record_memory_reference): Likewise.
10562         (get_mode_no_for_insn): Likewise.
10563         (important_for_bundling_p): Likewise.
10564         (unknown_for_bundling_p): Likewise.
10565         (ia64_st_address_bypass_p): Likewise for both params.
10566         (ia64_ld_address_bypass_p): Likewise.
10567         (expand_vselect): Introduce new local rtx_insn * "insn", using it
10568         in place of rtx "x" after the emit_insn call.
10569         * config/i386/i386-protos.h (x86_extended_QIreg_mentioned_p):
10570         Strengthen param from rtx to rtx_insn *.
10571         (ix86_agi_dependent): Likewise for both params.
10572         (ix86_attr_length_immediate_default): Likewise for param 1.
10573         (ix86_attr_length_address_default): Likewise for param.
10574         (ix86_attr_length_vex_default): Likewise for param 1.
10575         * config/i386/i386.c (ix86_attr_length_immediate_default):
10576         Likewise for param "insn".
10577         (ix86_attr_length_address_default): Likewise.
10578         (ix86_attr_length_vex_default): Likewise.
10579         (ix86_agi_dependent): Likewise for both params.
10580         (x86_extended_QIreg_mentioned_p): Likewise for param "insn".
10581         (vselect_insn): Likewise for this variable.
10582         * config/m68k/m68k-protos.h (m68k_sched_attr_opx_type): Likewise
10583         for param 1.
10584         (m68k_sched_attr_opy_type): Likewise.
10585         * config/m68k/m68k.c (sched_get_operand): Likewise.
10586         (sched_attr_op_type): Likewise.
10587         (m68k_sched_attr_opx_type): Likewise.
10588         (m68k_sched_attr_opy_type): Likewise.
10589         (sched_get_reg_operand): Likewise.
10590         (sched_get_mem_operand): Likewise.
10591         (m68k_sched_address_bypass_p): Likewise for both params.
10592         (sched_get_indexed_address_scale): Likewise.
10593         (m68k_sched_indexed_address_bypass_p): Likewise.
10594         * config/m68k/m68k.h (m68k_sched_address_bypass_p): Likewise.
10595         (m68k_sched_indexed_address_bypass_p): Likewise.
10596         * config/mep/mep.c (mep_jmp_return_reorg): Strengthen locals
10597         "label", "ret" from rtx to rtx_insn *, adding a checked cast and
10598         removing another.
10599         * config/mips/mips-protos.h (mips_linked_madd_p): Strengthen both
10600         params from rtx to rtx_insn *.
10601         (mips_fmadd_bypass): Likewise.
10602         * config/mips/mips.c (mips_fmadd_bypass): Likewise.
10603         (mips_linked_madd_p): Likewise.
10604         (mips_macc_chains_last_hilo): Likewise for this variable.
10605         (mips_macc_chains_record): Likewise for param.
10606         (vr4130_last_insn): Likewise for this variable.
10607         (vr4130_swap_insns_p): Likewise for both params.
10608         (mips_ls2_variable_issue): Likewise for param.
10609         (mips_need_noat_wrapper_p): Likewise for param "insn".
10610         (mips_expand_vselect): Add a new local rtx_insn * "insn", using it
10611         in place of "x" after the emit_insn.
10612         * config/pa/pa-protos.h (pa_fpstore_bypass_p): Strengthen both
10613         params from rtx to rtx_insn *.
10614         * config/pa/pa.c (pa_fpstore_bypass_p): Likewise.
10615         (pa_combine_instructions): Introduce local "par" for result of
10616         gen_rtx_PARALLEL, moving decl and usage of new_rtx for after call
10617         to make_insn_raw.
10618         (pa_can_combine_p): Strengthen param "new_rtx" from rtx to rtx_insn *.
10619         * config/rl78/rl78.c (insn_ok_now): Likewise for param "insn".
10620         (rl78_alloc_physical_registers_op1): Likewise.
10621         (rl78_alloc_physical_registers_op2): Likewise.
10622         (rl78_alloc_physical_registers_ro1): Likewise.
10623         (rl78_alloc_physical_registers_cmp): Likewise.
10624         (rl78_alloc_physical_registers_umul): Likewise.
10625         (rl78_alloc_address_registers_macax): Likewise.
10626         (rl78_alloc_physical_registers): Likewise for locals "insn", "curr".
10627         * config/s390/predicates.md (execute_operation): Likewise for
10628         local "insn".
10629         * config/s390/s390-protos.h (s390_agen_dep_p): Likewise for both
10630         params.
10631         * config/s390/s390.c (s390_safe_attr_type): Likewise for param.
10632         (addr_generation_dependency_p): Likewise for param "insn".
10633         (s390_agen_dep_p): Likewise for both params.
10634         (s390_fpload_toreg): Likewise for param "insn".
10635         * config/sh/sh-protos.h (sh_loop_align): Likewise for param.
10636         * config/sh/sh.c (sh_loop_align): Likewise for param and local
10637         "next".
10638         * config/sh/sh.md (define_peephole2): Likewise for local "insn2".
10639         * config/sh/sh_treg_combine.cc
10640         (sh_treg_combine::make_inv_ccreg_insn): Likewise for return type
10641         and local "i".
10642         (sh_treg_combine::try_eliminate_cstores): Likewise for local "i".
10643         * config/stormy16/stormy16.c (combine_bnp): Likewise for locals
10644         "and_insn", "load", "shift".
10645         * config/tilegx/tilegx.c (match_pcrel_step2): Likewise for param
10646         "insn".
10647         * final.c (final_scan_insn): Introduce local rtx_insn * "other"
10648         for XEXP (note, 0) of the REG_CC_SETTER note.
10649         (cleanup_subreg_operands): Strengthen param "insn" from rtx to
10650         rtx_insn *, eliminating a checked cast made redundant by this.
10651         * gcse.c (process_insert_insn): Strengthen local "insn" from rtx
10652         to rtx_insn *.
10653         * genattr.c (main): When writing out the prototype to
10654         const_num_delay_slots, strengthen the param from rtx to
10655         rtx_insn *.
10656         * genattrtab.c (write_const_num_delay_slots): Likewise when
10657         writing out the implementation of const_num_delay_slots.
10658         * hw-doloop.h (struct hw_doloop_hooks): Strengthen the param
10659         "insn" of callback field "end_pattern_reg" from rtx to rtx_insn *.
10660         * ifcvt.c (noce_emit_store_flag): Eliminate local rtx "tmp" in
10661         favor of new rtx locals "src" and "set" and new local rtx_insn *
10662         "insn" and "seq".
10663         (noce_emit_move_insn): Strengthen locals "seq" and "insn" from rtx
10664         to rtx_insn *.
10665         (noce_emit_cmove): Eliminate local rtx "tmp" in favor of new rtx
10666         locals "cond", "if_then_else", "set" and new rtx_insn * locals
10667         "insn" and "seq".
10668         (noce_try_cmove_arith): Strengthen locals "insn_a" and "insn_b",
10669         "last" from rtx to rtx_insn *.  Likewise for a local "tmp",
10670         renaming to "tmp_insn".  Eliminate the other local rtx "tmp" from
10671         the top-level scope, replacing with new more tightly-scoped rtx
10672         locals "reg", "pat", "mem" and rtx_insn * "insn", "copy_of_a",
10673         "new_insn", "copy_of_insn_b", and make local rtx "set" more
10674         tightly-scoped.
10675         * ira-int.h (ira_setup_alts): Strengthen param "insn" from rtx to
10676         rtx_insn *.
10677         * ira.c (setup_prohibited_mode_move_regs): Likewise for local
10678         "move_insn".
10679         (ira_setup_alts): Likewise for param "insn".
10680         * lra-constraints.c (emit_inc): Likewise for local "add_insn".
10681         * lra.c (emit_add3_insn): Split local rtx "insn" in two, an rtx
10682         and an rtx_insn *.
10683         (lra_emit_add): Eliminate top-level local rtx "insn" in favor of
10684         new more-tightly scoped rtx locals "add3_insn", "insn",
10685         "add2_insn" and rtx_insn * "move_insn".
10686         * postreload-gcse.c (eliminate_partially_redundant_load): Add
10687         checked cast on result of gen_move_insn when invoking
10688         extract_insn.
10689         * recog.c (insn_invalid_p): Strengthen param "insn" from rtx to
10690         rtx_insn *.
10691         (verify_changes): Add a checked cast on "object" when invoking
10692         insn_invalid_p.
10693         (extract_insn_cached): Strengthen param "insn" from rtx to
10694         rtx_insn *.
10695         (extract_constrain_insn_cached): Likewise.
10696         (extract_insn): Likewise.
10697         * recog.h (insn_invalid_p): Likewise for param 1.
10698         (recog_memoized): Likewise for param.
10699         (extract_insn): Likewise.
10700         (extract_constrain_insn_cached): Likewise.
10701         (extract_insn_cached): Likewise.
10702         * reload.c (can_reload_into): Likewise for local "test_insn".
10703         * reload.h (cleanup_subreg_operands): Likewise for param.
10704         * reload1.c (emit_insn_if_valid_for_reload): Rename param from
10705         "insn" to "pat", reintroducing "insn" as an rtx_insn * on the
10706         result of emit_insn.  Remove a checked cast made redundant by this
10707         change.
10708         * sel-sched-ir.c (sel_insn_rtx_cost): Strengthen param "insn" from
10709         rtx to rtx_insn *.
10710         * sel-sched.c (get_reg_class): Likewise.
10712 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10713             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
10715         * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
10716         * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
10717         Define.
10718         (ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
10720 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
10722         * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
10723         const rtx_insn *, and from rtx to rtx_insn * for the other
10724         overloaded variant.
10725         (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
10726         INSN_LOCATION, since we know INSN_P holds.
10727         (insn_line): Strengthen param from const_rtx to const rtx_insn *.
10728         (insn_file): Likewise.
10729         (insn_scope): Likewise.
10730         (insn_location): Likewise.
10732         * config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
10733         "insn" from rtx to rtx_insn *, introducing a new local rtx "set"
10734         for the result of gen_load_const_gp.
10735         * config/rs6000/rs6000-protos.h (output_call): Strengthen first
10736         param from rtx to rtx_insn *.
10737         * config/rs6000/rs6000.c (output_call): Likewise.
10738         * dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
10739         introducing a checked cast to rtx_sequence * and use of the insn
10740         method.
10741         * emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
10742         from rtx to rtx_insn *.
10743         (insn_scope): Strengthen param from const_rtx to const rtx_insn *.
10744         (insn_line): Likewise.
10745         (insn_file): Likewise.
10746         (insn_location): Likewise.
10747         * emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
10748         from rtx to rtx_insn *.
10749         * print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
10750         cast, using it for calls to INSN_HAS_LOCATION and insn_location.
10751         * recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
10752         via a checked cast.
10753         * reorg.c (relax_delay_slots): Strengthen locals named "after"
10754         from rtx to rtx_insn *; use methods of "pat" for type-safety.
10756 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
10758         * combine.c (try_combine): Eliminate checked cast on result of
10759         gen_rtx_INSN.
10760         * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
10761         autogenerated one by strengthening the return type and params 2 and 3
10762         from rtx to rtx_insn *, and by naming the params.
10763         * gengenrtl.c (special_rtx): Add INSN to those that are
10764         special-cased.
10765         * rtl.h (gen_rtx_INSN): New prototype.
10767 2014-09-09  David Malcolm  <dmalcolm@redhat.com>
10769         * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
10770         than NULL_RTX.
10771         (no_equiv): Likewise.
10772         (update_equiv_regs): Likewise.
10773         (setup_reg_equiv): Likewise.  Strengthen locals "elem",
10774         "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
10775         from rtx to rtx_insn *.  Use methods of "elem" for typesafety and
10776         clarity.
10777         * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
10778         from rtx to rtx_insn_list *.
10779         * lra-assigns.c (spill_for): Strengthen local "x" from rtx to
10780         rtx_insn_list * and use methods for clarity and typesafety.
10781         * lra-constraints.c (contains_deleted_insn_p): Likewise for param
10782         "list".
10783         (init_insn_rhs_dead_pseudo_p): Likewise for local "insns".  Remove
10784         redundant check on INSN_P (insns): this cannot hold, as "insns" is
10785         an INSN_LIST, not an insn.
10786         (reverse_equiv_p): Strengthen local "insns" from rtx to
10787         rtx_insn_list * and use methods for clarity and typesafety.
10788         (contains_reloaded_insn_p): Likewise for local "list".
10790 2014-09-09  Jiong Wang  <jiong.wang@arm.com>
10792         * config/arm/arm.c (NEON_COPYSIGNF): New enum.
10793         (arm_init_neon_builtins): Support NEON_COPYSIGNF.
10794         (arm_builtin_vectorized_function): Likewise.
10795         * config/arm/arm_neon_builtins.def: New macro for copysignf.
10796         * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector copysignf.
10798 2014-09-09  Richard Sandiford  <richard.sandiford@arm.com>
10800         * bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
10801         * builtins.h (default_target_builtins): Likewise.
10802         * gcse.h (default_target_gcse): Likewise.
10803         * target-globals.h (target_globals): Add a destructor.  Convert
10804         void-pointer fields back to their real type and change from
10805         GTY((atomic)) to GTY((skip)).
10806         (restore_target_globals): Remove casts accordingly.
10807         * target-globals.c (save_target_globals): Use XCNEW rather than
10808         ggc_internal_cleared_alloc to allocate non-GC structures.
10809         Use ggc_cleared_alloc to allocate the target_globals structure
10810         itself.
10811         (target_globals::~target_globals): Define.
10813 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10815         * config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
10816         mnemonic instead of fldmfdd.
10817         * config/arm/arm.c (vfp_output_fstmd): Rename to...
10818         (vfp_output_vstmd): ... This.  Convert output to UAL syntax.
10819         Output vpush when address register is SP.
10820         * config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
10821         (vfp_output_vstmd): ... This.
10822         * config/arm/vfp.md (push_multi_vfp): Update call to
10823         vfp_output_vstmd.
10825 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10827         * config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
10829 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10831         * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
10832         (*sqrtdf2_vfp): Likewise.
10833         (*cmpsf_vfp): Likewise.
10834         (*cmpsf_trap_vfp): Likewise.
10835         (*cmpdf_vfp): Likewise.
10836         (*cmpdf_trap_vfp): Likewise.
10838 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10840         * config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
10841         (*truncdfsf2_vfp): Likewise.
10842         (*truncsisf2_vfp): Likewise.
10843         (*truncsidf2_vfp): Likewise.
10844         (fixuns_truncsfsi2): Likewise.
10845         (fixuns_truncdfsi2): Likewise.
10846         (*floatsisf2_vfp): Likewise.
10847         (*floatsidf2_vfp): Likewise.
10848         (floatunssisf2): Likewise.
10849         (floatunssidf2): Likewise.
10851 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10853         * config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
10854         (*muldf3_vfp): Likewise.
10855         (*mulsf3negsf_vfp): Likewise.
10856         (*muldf3negdf_vfp): Likewise.
10857         (*mulsf3addsf_vfp): Likewise.
10858         (*muldf3adddf_vfp): Likewise.
10859         (*mulsf3subsf_vfp): Likewise.
10860         (*muldf3subdf_vfp): Likewise.
10861         (*mulsf3negsfaddsf_vfp): Likewise.
10862         (*fmuldf3negdfadddf_vfp): Likewise.
10863         (*mulsf3negsfsubsf_vfp): Likewise.
10864         (*muldf3negdfsubdf_vfp): Likewise.
10866 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10868         * config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
10869         (*absdf2_vfp): Likewise.
10870         (*negsf2_vfp): Likewise.
10871         (*negdf2_vfp): Likewise.
10872         (*addsf3_vfp): Likewise.
10873         (*adddf3_vfp): Likewise.
10874         (*subsf3_vfp): Likewise.
10875         (*subdf3_vfp): Likewise.
10876         (*divsf3_vfp): Likewise.
10877         (*divdf3_vfp): Likewise.
10879 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10881         * config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
10882         multiple.
10883         (arm_print_operand): Don't convert real values to decimal
10884         representation in default case.
10885         (fp_immediate_constant): Delete.
10886         * config/arm/arm-protos.h (fp_immediate_constant): Likewise.
10887         * config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
10888         syntax.
10889         (*thumb2_movsi_vfp): Likewise.
10890         (*movdi_vfp): Likewise.
10891         (*movdi_vfp_cortexa8): Likewise.
10892         (*movhf_vfp_neon): Likewise.
10893         (*movhf_vfp): Likewise.
10894         (*movsf_vfp): Likewise.
10895         (*thumb2_movsf_vfp): Likewise.
10896         (*movdf_vfp): Likewise.
10897         (*thumb2_movdf_vfp): Likewise.
10898         (*movsfcc_vfp): Likewise.
10899         (*thumb2_movsfcc_vfp): Likewise.
10900         (*movdfcc_vfp): Likewise.
10901         (*thumb2_movdfcc_vfp): Likewise.
10903 2014-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
10905         * doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
10906         (-mtune): Likewise.
10907         (-mcpu): Likewise.
10909 2014-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
10911         PR target/61749
10912         * config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
10913         Use qualifier_immediate for last operand.  Rename to...
10914         (aarch64_types_ternop_lane_qualifiers): ... This.
10915         (TYPES_QUADOP): Rename to...
10916         (TYPES_TERNOP_LANE): ... This.
10917         (aarch64_simd_expand_args): Return const0_rtx when encountering user
10918         error.  Change return of 0 to return of NULL_RTX.
10919         (aarch64_crc32_expand_builtin): Likewise.
10920         (aarch64_expand_builtin): Return NULL_RTX instead of 0.
10921         ICE when expanding unknown builtin.
10922         * config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
10923         TERNOP_LANE qualifiers.
10924         (sqdmlsl_lane): Likewise.
10925         (sqdmlal_laneq): Likewise.
10926         (sqdmlsl_laneq): Likewise.
10927         (sqdmlal2_lane): Likewise.
10928         (sqdmlsl2_lane): Likewise.
10929         (sqdmlal2_laneq): Likewise.
10930         (sqdmlsl2_laneq): Likewise.
10932 2014-09-09  Nick Clifton  <nickc@redhat.com>
10934         * doc/invoke.texi (Optimization Options): Add missing @gol to the
10935         end of a line.
10936         (S/390 and zSeries Options): Remove superfluous word from the
10937         description of the -mhotpatch option.
10939 2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>
10941         * shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
10942         * ira.c: #include "shrink-wrap.h"
10943         (split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
10944         * ifcvt.c: #include "shrink-wrap.h"
10945         (dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
10947 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
10949         * common/config/picochip/picochip-common.c: Remove.
10950         * config.gcc: Remove support for picochip.
10951         * config/picochip/constraints.md: Remove.
10952         * config/picochip/dfa_space.md: Remove.
10953         * config/picochip/dfa_speed.md: Remove.
10954         * config/picochip/picochip-protos.h: Remove.
10955         * config/picochip/picochip.c: Remove.
10956         * config/picochip/picochip.h: Remove.
10957         * config/picochip/picochip.md: Remove.
10958         * config/picochip/picochip.opt: Remove.
10959         * config/picochip/predicates.md: Remove.
10960         * config/picochip/t-picochip: Remove.
10961         * doc/md.texi: Don't document picochi.
10963 2014-09-08  David Malcolm  <dmalcolm@redhat.com>
10965         * basic-block.h (control_flow_insn_p): Strengthen param from
10966         const_rtx to const rtx_insn *.
10967         * cfgbuild.c (control_flow_insn_p): Likewise.
10969 2014-09-08  David Malcolm  <dmalcolm@redhat.com>
10971         * gcse.c (modify_mem_list): Strengthen this variable from
10972         vec<rtx> * to vec<rtx_insn *> *.
10973         (vec_rtx_heap): Strengthen this typedef from vec<rtx> to
10974         vec<rtx_insn *>.
10975         (load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
10976         vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
10977         (record_last_mem_set_info): Strengthen param "insn" from rtx to
10978         rtx_insn *.
10979         (record_last_set_info): Likewise for local "last_set_insn".
10981 2014-09-08  DJ Delorie  <dj@redhat.com>
10983         * doc/invoke.texi (MSP430 Options): Add -minrt.
10985 2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
10987         * config/rs6000/rs6000.c (special_handling_values):  Add SH_SPLAT.
10988         (rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
10989         statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
10990         handling SH_SPLAT.
10991         (adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
10992         of extracted lane.
10993         (adjust_splat): New function.
10994         (handle_special_swappables): Call adjust_splat for SH_SPLAT.
10995         (dump_swap_insn_table): Add case for SH_SPLAT.
10997 2014-09-08  Richard Biener  <rguenther@suse.de>
10999         PR ipa/63196
11000         * tree-inline.c (copy_loops): The source loop header should
11001         always be non-NULL.
11002         (tree_function_versioning): If loops need fixup after removing
11003         unreachable blocks fix them.
11004         * omp-low.c (simd_clone_adjust): Do not add incr block to
11005         loop under construction.
11007 2014-09-08  Alan Lawrence  <alan.lawrence@arm.com>
11009         * config/aarch64/aarch64-builtins.c
11010         (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
11012 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
11014         * config/i386/cygming.h (TF_SIZE): Remove.
11015         * config/i386/darwin.h (TF_SIZE): Remove.
11016         * config/i386/dragonfly.h (TF_SIZE): Remove.
11017         * config/i386/freebsd.h (TF_SIZE): Remove.
11018         * config/i386/gnu-user-common.h (TF_SIZE): Remove.
11019         * config/i386/openbsdelf.h (TF_SIZE): Remove.
11020         * config/i386/sol2.h (TF_SIZE): Remove.
11021         * config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
11022         * config/ia64/linux.h (TF_SIZE): Remove.
11023         * doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
11024         * doc/tm.texi: Regenerate.
11025         * system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
11027 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
11029         * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
11030         Remove.
11031         * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
11032         Remove.
11033         * doc/tm.texi: Regenerate.
11034         * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
11035         Poison.
11036         * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
11037         * config/cris/cris.h (__make_dp): Remove.
11039 2014-09-08  Richard Biener  <rguenther@suse.de>
11041         PR bootstrap/63204
11042         * cfgloop.c (mark_loop_for_removal): Track former header
11043         unconditionally.
11044         * cfgloop.h (struct loop): Add former_header member unconditionally.
11045         * loop-init.c (fix_loop_structure): Enable bogus loop removal
11046         diagnostic unconditionally.
11048 2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11050         PR target/63190
11051         * config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
11052         constraint for operand0 and remove write only modifier from operand3.
11054 2014-09-07  Richard Sandiford  <richard.sandiford@arm.com>
11056         PR rtl-optimization/62208
11057         * simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
11058         rather than const0_rtx in eq/ne-xor simplifications.
11060 2014-09-06  Joern Rennecke  <joern.rennecke@embecosm.com>
11062         * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
11063         (arc_output_mi_thunk): Likewise.
11065         * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
11066         arguments to silence bogus warning.
11068 2014-09-06  Richard Sandiford  <richard.sandiford@arm.com>
11070         PR middle-end/63171
11071         * rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
11073 2014-09-06  Tom de Vries  <tom@codesourcery.com>
11075         * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
11076         IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
11077         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
11079 2014-09-05  Dominique Dhumieres  <dominiq@lps.ens.fr>
11081         PR target/63188
11082         * config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
11083         * config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.
11085 2014-09-05  Easwaran Raman  <eraman@google.com>
11087         PR rtl-optimization/62146
11088         * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
11089         hoisted instruction unconditional.
11091 2014-09-05  Segher Boessenkool  <segher@kernel.crashing.org>
11093         PR target/63187
11094         * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
11095         Do not allow any_mask_operand for operands[2].
11096         (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
11098 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11100         * config/arc/arc.c (arc_print_operand): Use insn method of
11101         final_sequence for type-safety.
11102         * config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
11103         "insn" from rtx to rtx_insn *.
11104         * config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
11105         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
11106         Likewise for locals "branch", "label".
11107         * config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
11108         locals "i1", "i2".  Use NULL rather than NULL_RTX in comparisons.
11109         (same_cmp_following_p): Likewise for locals "i2", "i3".
11110         * config/sh/sh_optimize_sett_clrt.cc
11111         (sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
11112         param "cbranch_insn".
11113         * function.c (convert_jumps_to_returns): Likewis for local "jump".
11114         * ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
11115         * jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
11116         const rtx_insn *.
11117         (condjump_p): Likewise.
11118         (condjump_in_parallel_p): Likewise.
11119         (pc_set): Likewise.
11120         (any_uncondjump_p): Likewise.
11121         (any_condjump_p): Likewise.
11122         (condjump_label): Likewise.
11123         (returnjump_p): Strengthen param "insn" from rtx to
11124         const rtx_insn *.
11125         (onlyjump_p): Strengthen param "insn" from const_rtx to
11126         const rtx_insn *.
11127         (jump_to_label_p): Likewise.
11128         (invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
11129         (invert_jump): Likewise.
11130         * reorg.c (simplejump_or_return_p): Add checked cast when calling
11131         simplejump_p.
11132         (get_jump_flags): Strengthen param "insn" from rtx to
11133         const rtx_insn *.
11134         (get_branch_condition): Likewise.
11135         (condition_dominates_p): Likewise.
11136         (make_return_insns): Move declaration of local "pat" earlier, to
11137         after we've handled NONJUMP_INSN_P and non-sequences, using its
11138         methods to simplify the code and for type-safety.
11139         * rtl.h (find_constant_src): Strengthen param from const_rtx to
11140         const rtx_insn *.
11141         (jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
11142         (condjump_p): Strengthen param from const_rtx to
11143         const rtx_insn *.
11144         (any_condjump_p): Likewise.
11145         (any_uncondjump_p): Likewise.
11146         (pc_set): Likewise.
11147         (condjump_label): Likewise.
11148         (simplejump_p): Likewise.
11149         (returnjump_p): Likewise.
11150         (onlyjump_p): Likewise.
11151         (invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
11152         (invert_jump): Likewise.
11153         (condjump_in_parallel_p): Strengthen param from const_rtx to
11154         const rtx_insn *.
11155         * rtlanal.c (find_constant_src): Strengthen param from const_rtx
11156         to const rtx_insn *.
11157         * sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
11158         to const rtx_insn *.
11159         * sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
11161 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11163         * reorg.c (relax_delay_slots): Move declaration of "trial_seq"
11164         above the conditional, and convert the check on GET_CODE to a
11165         dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
11166         the conditional.  Simplify the conditional by using methods of
11167         "trial_seq".
11169 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11171         * haifa-sched.c (check_clobbered_conditions): Strengthen local
11172         "link" from rtx to rtx_insn_list *, and use its methods for
11173         clarity and type-safety.
11174         (toggle_cancelled_flags): Likewise.
11175         (restore_last_backtrack_point): Likewise.
11176         (queue_to_ready): Use insn method of "link" in one place.
11177         (schedule_block): Strengthen local "link" from rtx to
11178         rtx_insn_list *, and use its methods for clarity and type-safety.
11180 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11182         * sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
11183         param "insn" from const_rtx to const rtx_insn *.
11184         (sched_get_reverse_condition_uncached): Likewise.
11185         (sched_get_condition_with_rev): Likewise.
11186         (sched_has_condition_p): Likewise.
11187         (sched_insns_conditions_mutex_p): Likewise for both params.
11188         (sched_insn_is_legitimate_for_speculation_p): Likewise for param
11189         "insn"; conver use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
11190         (setup_insn_reg_uses): Move local "list" to be more tightly
11191         scoped, strengthening it from an rtx to an rtx_insn_list *.  Use
11192         its methods for clarity and type-safety.
11193         (sched_analyze_1): Strengthen local "pending" from rtx to
11194         rtx_insn_list *, and local "pending_mem" from rtx to
11195         rtx_expr_list *.  Use methods of each for clarity and type-safety.
11196         (sched_analyze_2): Likewise.
11197         (sched_analyze_insn): Likewise.
11199         * sched-int.h (sched_get_reverse_condition_uncached): Strengthen
11200         param from const_rtx to const rtx_insn *.
11201         (sched_insns_conditions_mutex_p): Likewise for both params.
11202         (sched_insn_is_legitimate_for_speculation_p): Likewise for first
11203         param.
11205         * system.h (CONST_CAST_RTX_INSN): New macro.
11207 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11209         * recog.c (peep2_attempt): Strengthen return type from rtx to
11210         rtx_insn *.
11211         (peep2_update_life): Likewise for params "last", "prev", removing
11212         a checked cast made redundant by this.
11213         (peephole2_optimize): Likewise for local "last".
11215 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11217         * basic-block.h (set_block_for_insn): Eliminate this macro in
11218         favor of...
11219         * rtl.h (set_block_for_insn): New inline function, imposing the
11220         requirement that the "insn" param is an rtx_insn *.
11222 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11224         * caller-save.c (setup_save_areas): Strengthen local "insn" from
11225         rtx to rtx_insn *.
11226         * final.c (get_call_reg_set_usage): Likewise for first param,
11227         eliminating a checked cast.
11228         * regs.h (get_call_reg_set_usage): Likewise for first param.
11229         * resource.c (mark_set_resources): Introduce local rtx_call_insn *
11230         "call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
11231         cast, replacing references to "x" with "call_insn" where
11232         appropriate.
11233         (mark_target_live_regs): Strengthen local "real_insn" from rtx to
11234         rtx_insn *, adding a checked cast.
11236 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11238         * output.h (final_scan_insn): Strengthen first param from rtx to
11239         rtx_insn *.
11241         * final.c (final_scan_insn): Likewise, renaming it back from
11242         "uncast_insn" to "insn", eliminating the checked cast.
11244         * config/h8300/h8300.md (define_insn "jump"): Replace local rtx
11245         "vec" with an rtx_sequence * "seq", taking a copy of
11246         "final_sequence", and using methods of "seq" for clarity, and for
11247         type-safety in the calls to final_scan_insn.
11248         * config/mips/mips.c (mips_output_conditional_branch): Use methods
11249         of "final_sequence" for clarity, and for type-safety in the call to
11250         final_scan_insn.
11251         * config/sh/sh.c (print_slot): Strengthen param from rtx to
11252         rtx_sequence * and rename from "insn" to "seq".
11254 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11256         * jump.c (delete_related_insns): Introduce a new local "table" by
11257         replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
11258         get_labels method of "table" to simplify access to the labels in
11259         the jump table.
11261 2014-09-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
11263         * config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
11264         f_minmaxs, f_minmaxd types.
11266 2014-09-05  Richard Biener  <rguenther@suse.de>
11268         * cfgloop.c (mark_loop_for_removal): Record former header
11269         when ENABLE_CHECKING.
11270         * cfgloop.h (strut loop): Add former_header member when
11271         ENABLE_CHECKING.
11272         * loop-init.c (fix_loop_structure): Sanity check loops
11273         marked for removal if they re-appeared.
11275 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11277         * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
11278         uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.
11280         (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
11281         vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
11282         vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
11283         vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
11284         vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
11285         vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
11286         vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
11287         vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
11288         vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
11289         vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
11290         vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
11291         vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
11292         vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
11293         vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
11294         vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
11295         vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
11296         vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
11297         vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
11298         vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
11299         vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
11300         with int{32,16,8}_t.
11302 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11304         * config/aarch64/arm_neon.h (__GET_HIGH): New macro.
11305         (vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
11306         vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
11307         vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
11308         Remove temporary __asm__ and reimplement.
11310 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11312         * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
11313         handling cmge, cmgt, cmeq, cmtst.
11315         * config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
11316         cmlt, cmgeu, cmgtu, cmtst): Remove.
11318         * config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
11319         vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
11320         vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
11321         vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
11323 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11325         * config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
11326         TYPES_TST): Define.
11327         (aarch64_fold_builtin): Update pattern for cmtst.
11329         * config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
11330         Declare.
11332         * config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
11334         * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
11335         Switch operands, separate out more cases, refactor.
11337         (aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
11339         * config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
11340         argument; rename old version to...
11341         (aarch64_const_vec_all_same_in_range_p): ...this.
11342         (aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
11344         * config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
11346 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11348         * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
11349         Remove qualifier_const_pointer, update comment.
11351 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11353         * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.
11355 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11357         * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
11358         varargs with pointer parameter.
11359         (aarch64_simd_expand_builtin): pass pointer into previous.
11361 2014-09-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
11363         * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
11364         alus_ext.
11366 2014-09-05  Alan Lawrence  <alan.lawrence@arm.com>
11368         * config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
11369         * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
11370         * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
11371         Replace temporary asm with call to builtin.
11372         (vrbit_p8, vrbitq_p8): New functions.
11374 2014-09-05  Richard Biener  <rguenther@suse.de>
11376         * cfgloop.c (mark_loop_for_removal): New function.
11377         * cfgloop.h (mark_loop_for_removal): Declare.
11378         * cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
11379         (merge_blocks): Likewise.
11380         (duplicate_block): Likewise.
11381         * except.c (sjlj_emit_dispatch_table): Likewise.
11382         * tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
11383         * tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
11384         (thread_through_loop_header): Likewise.
11386 2014-09-05  Richard Biener  <rguenther@suse.de>
11388         PR middle-end/63148
11389         * fold-const.c (try_move_mult_to_index): Remove.
11390         (fold_binary_loc): Do not call it.
11391         * tree-data-ref.c (dr_analyze_indices): Strip conversions
11392         from the base object again.
11394 2014-09-05  James Greenhalgh  <james.greenhalgh@arm.com>
11396         * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
11397         DImode.
11399 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
11401         PR target/55701
11402         * config/arm/arm.md (setmem): New pattern.
11403         * config/arm/arm-protos.h (struct tune_params): New fields.
11404         (arm_gen_setmem): New prototype.
11405         * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
11406         (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
11407         (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
11408         (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
11409         (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
11410         (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
11411         (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
11412         (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
11413         (arm_const_inline_cost): New function.
11414         (arm_block_set_max_insns): New function.
11415         (arm_block_set_non_vect_profit_p): New function.
11416         (arm_block_set_vect_profit_p): New function.
11417         (arm_block_set_unaligned_vect): New function.
11418         (arm_block_set_aligned_vect): New function.
11419         (arm_block_set_unaligned_non_vect): New function.
11420         (arm_block_set_aligned_non_vect): New function.
11421         (arm_block_set_vect, arm_gen_setmem): New functions.
11423 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
11425         * config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.
11427 2014-09-05  Bin Cheng  <bin.cheng@arm.com>
11429         * config/arm/arm.c (output_move_neon): Handle REG explicitly.
11431 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
11433         * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
11434         an rtx.
11435         * valtrack.h: Adjust.
11437 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
11439         * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
11440         an rtx.
11441         (emit_jump_insn_before_noloc): Likewise.
11442         (emit_call_insn_before_noloc): Likewise.
11443         (emit_label_before): Likewise.
11444         (emit_label_after): Likewise.
11445         (emit_insn_before_setloc): Likewise.
11446         (emit_jump_insn_before_setloc): Likewise.
11447         (emit_call_insn_before_setloc): Likewise.
11448         (emit_call_insn_before): Likewise.
11449         * rtl.h: Adjust.
11451 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11453         * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
11454         rtx_insn *, eliminating a checked cast.
11456 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11458         * rtl.h (modified_between_p): Strengthen params 2 and 3 from
11459         const_rtx to const rtx_insn *.
11460         * rtlanal.c (modified_between_p): Likewise, eliminating a checked
11461         cast.
11463 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11465         * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
11466         fixup_args_size_notes.
11467         * expr.c (fixup_args_size_notes): Strengthen first two params from
11468         rtx to rtx_insn *, eliminating a checked cast.
11469         * rtl.h (fixup_args_size_notes): Strengthen first two params from
11470         rtx to rtx_insn *.
11472 2014-09-05  David Malcolm  <dmalcolm@redhat.com>
11474         * haifa-sched.c (get_ready_element): Strengthen return type from
11475         rtx to rtx_insn *.
11476         * sched-int.h (get_ready_element): Likewise.
11478 2014-09-04  Segher Boessenkool  <segher@kernel.crashing.org>
11480         PR target/63165
11481         * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
11482         indexed_or_indirect_operand instead of memory_operand.
11483         (floatsi<mode>2_lfiwzx_mem): Ditto.
11485 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
11487         * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
11488         config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
11489         ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
11491 2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>
11493         * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
11494         rtx.
11495         (get_last_nonnote_insn): Likewise.
11496         (next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
11497         * resource.c (find_basic_block): Likewise.
11498         * rtl.h: Adjust.
11499         * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
11500         const_rtx.
11502 2014-09-04  David Malcolm  <dmalcolm@redhat.com>
11504         * genattr.c (main): Within the prototype of insn_latency written
11505         out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
11506         * genautomata.c (output_internal_maximal_insn_latency_func):
11507         Within the implementation of insn_latency written out to
11508         insn-automata.c, strengthen both params from rtx to rtx_insn *,
11509         eliminating a pair of checked casts.
11511 2014-09-04  David Malcolm  <dmalcolm@redhat.com>
11513         * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
11514         rtx_insn *.
11516         * rtl.h (eh_returnjump_p): Likewise.
11518 2014-09-04  Aldy Hernandez  <aldyh@redhat.com>
11520         * Makefile.in (TAGS): Handle constructs in timevar.def.
11522 2014-09-04  Guozhi Wei  <carrot@google.com>
11524         PR target/62040
11525         * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators.
11526         * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split
11527         it into two patterns.
11528         (move_lo_quad_internal_be_<mode>): Likewise.
11530 2014-09-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
11532         * doc/options.texi: Document that Var and Init are required if CPP
11533         is given.
11534         * optc-gen.awk: Require Var and Init if CPP is given.
11535         * common.opt (Wpedantic): Use Init.
11537 2014-09-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
11539         * config/rs6000/rs6000.c (special_handling_values): Add
11540         SH_EXTRACT.
11541         (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps
11542         wrapped in a VEC_DUPLICATE, representing an extract.  Mark these
11543         as swappable with special handling SH_EXTRACT.  Remove
11544         UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the
11545         optimization.
11546         (adjust_extract): New function.
11547         (handle_special_swappables): Add default to case statement; add
11548         case for SH_EXTRACT that calls adjust_extract.
11549         (dump_swap_insn_table): Handle SH_EXTRACT.
11551 2014-09-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
11553         * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match
11554         selection of 0th memory doubleword, regardless of endianness.
11556 2014-09-04  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
11558         * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces.
11560 2014-09-04  Alan Modra  <amodra@gmail.com>
11562         PR debug/60655
11563         * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
11564         can't be output.
11566 2014-09-03  Matthew Fortune  <matthew.fortune@imgtec.com>
11568         * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
11569         * targhooks.c (default_dwarf_frame_reg_mode): New function.
11570         * targhooks.h (default_dwarf_frame_reg_mode): New prototype.
11571         * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
11572         * doc/tm.texi: Regenerate.
11573         * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
11574         selection logic to default_dwarf_frame_reg_mode.
11576 2014-09-03  Marek Polacek  <polacek@redhat.com>
11578         * doc/invoke.texi: Document that -Wlogical-not-parentheses is enabled
11579         by -Wall.
11581 2014-09-03  Richard Sandiford  <richard.sandiford@arm.com>
11583         * doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
11584         the automodified register.
11586 2014-09-03  Richard Sandiford  <richard.sandiford@arm.com>
11588         * output.h (get_some_local_dynamic_name): Declare.
11589         * final.c (some_local_dynamic_name): New variable.
11590         (get_some_local_dynamic_name): New function.
11591         (final_end_function): Clear some_local_dynamic_name.
11592         * config/alpha/alpha.c (machine_function): Remove some_ld_name.
11593         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
11594         (print_operand): Report an error if '%&' is used inappropriately.
11595         * config/i386/i386.c (get_some_local_dynamic_name): Delete.
11596         (get_some_local_dynamic_name_1): Delete.
11597         * config/rs6000/rs6000.c (machine_function): Remove some_ld_name.
11598         (rs6000_get_some_local_dynamic_name): Delete.
11599         (rs6000_get_some_local_dynamic_name_1): Delete.
11600         (print_operand): Report an error if '%&' is used inappropriately.
11601         * config/s390/s390.c (machine_function): Remove some_ld_name.
11602         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
11603         (print_operand): Assert that get_some_local_dynamic_name is nonnull.
11604         * config/sparc/sparc.c: Include rtl-iter.h.
11605         (machine_function): Remove some_ld_name.
11606         (sparc_print_operand): Report an error if '%&' is used inappropriately.
11607         (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
11609 2014-09-03  Richard Henderson  <rth@redhat.com>
11611         * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
11612         (aarch64_popwb_pair_reg): Remove.
11613         (aarch64_set_frame_expr): Remove.
11614         (aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
11615         the restore ops performed by the insns generated.
11616         (aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
11617         insn.  Perform the calls_eh_return addition later; do not attempt to
11618         preserve the CFA in that case.  Don't use aarch64_set_frame_expr.
11619         (aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
11620         special markup at all.  Load cfun->machine->frame.hard_fp_offset
11621         into a local variable.
11622         (aarch64_frame_pointer_required): Don't check calls_alloca.
11624 2014-09-03  Richard Biener  <rguenther@suse.de>
11626         * opts.c (default_options_optimization): Adjust
11627         max-combine-insns to 2 for -Og.
11629 2014-09-03  Martin Jambor  <mjambor@suse.cz>
11631         PR ipa/62015
11632         * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
11633         pass-trough jump functions correctly.
11635 2014-09-03  Martin Jambor  <mjambor@suse.cz>
11637         PR ipa/61986
11638         * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
11639         created replacements in ascending order of offsets.
11640         (known_aggs_to_agg_replacement_list): Likewise.
11642 2014-09-03  Martin Liska  <mliska@suse.cz>
11644         * tree-ssa-sccvn.c (vn_reference_lookup_call): default (NULL) value
11645         is set to set uninitialized value for vnresult.
11647 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11649         * config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
11650         for TARGET_MUST_PASS_IN_STACK.
11652 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11654         * config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
11655         for TARGET_ARG_PARTIAL_BYTES.
11657 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11659         * config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
11660         instructions for varargs implementation.
11661         (nds32_expand_epilogue): Emit stack adjustment instructions for
11662         varargs implementation.
11664 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11666         * config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
11667         optimization detection.
11669 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11671         * config/nds32/nds32.c (nds32_function_arg): Deal with nameless
11672         arguments.
11673         (nds32_function_arg_advance): Deal with nameless arguments.
11674         * config/nds32/nds32.h (NDS32_ARG_PASS_IN_REG_P): Split it into ...
11675         (NDS32_ARG_ENTIRE_IN_GPR_REG_P): ... this one and ...
11676         (NDS32_ARG_PARTIAL_IN_GPR_REG_P): ... this one.
11678 2014-09-03  Richard Biener  <rguenther@suse.de>
11680         * tree-ssa-pre.c (alloc_expression_id): Use quick_grow_cleared.
11681         (struct bb_bitmap_sets): Remove deferred member.
11682         (BB_DEFERRED): Remove.
11683         (defer_or_phi_translate_block): Remove.
11684         (compute_antic_aux): Remove deferring of blocks, assert
11685         proper iteration order.
11686         (compute_antic): Do not set BB_DEFERRED.
11687         (eliminate): Allocate el_avail of proper size initially.
11689 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11691         * config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
11692         according to the value of crtl->args.pretend_args_size.
11694 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11696         * config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
11697         varargs information.
11699 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11701         * config/nds32/nds32.c (nds32_setup_incoming_varargs): New
11702         implementation for TARGET_SETUP_INCOMING_VARARGS.
11703         (nds32_strict_argument_naming): Refine comment.
11704         * config/nds32/nds32.h (TARGET_SOFT_FLOAT, TARGET_HARD_FLOAT):
11705         Define for future implementation.
11707 2014-09-03  Ilya Tocar  <ilya.tocar@intel.com>
11709         * config/i386/adxintrin.h (_subborrow_u32): New.
11710         (_addcarry_u32): Ditto.
11711         (_subborrow_u64): Ditto.
11712         (_addcarry_u64): Ditto.
11713         * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
11714         IX86_BUILTIN_SBB64.
11715         (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
11716         __builtin_ia32_sbb_u64
11718 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11720         * config/nds32/nds32.c (nds32_function_arg): Define and rename some
11721         GPR-specific stuff.
11722         (nds32_function_arg_advance): Likewise.
11723         (nds32_init_cumulative_args): Likewise.
11724         * config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
11725         (NDS32_FIRST_GPR_REGNUM): Define.
11726         (NDS32_LAST_GPR_REGNUM): Define.
11727         (NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
11728         (NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
11729         (FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
11730         (machine_function): Use GRP-specific stuff.
11732 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11734         * config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
11735         (nds32_expand_epilogue): Likewise.
11736         (nds32_expand_prologue_v3push): Likewise.
11737         (nds32_expand_epilogue_v3pop): Likewise.
11739 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11741         * config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
11742         v3push/v3pop for variadic function.
11743         * config/nds32/nds32.md (prologue, epilogue): Likewise.
11745 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11747         * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
11748         Check rtx for varargs implementation.
11749         (nds32_output_stack_pop): Likewise.
11750         * config/nds32/nds32-protos.h: Have a rtx argument for
11751         nds32_output_stack_push and nds32_output_stack_pop.
11752         * config/nds32/nds32.md: Likewise.
11754 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11756         * config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
11757         to check if FUNC is an interrupt service routine.
11758         * config/nds32/nds32-protos.h (nds32_isr_function_p): Declaration.
11760 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11762         * config/nds32/nds32.h (machine_function): Add some fields for variadic
11763         arguments implementation.
11765 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11767         * config/nds32/nds32-predicates.c
11768         (nds32_valid_stack_push_pop): Rename to ...
11769         (nds32_valid_stack_push_pop_p): ... this.
11770         * config/nds32/nds32-protos.h: Likewise.
11771         * config/nds32/predicates.md: Likewise.
11773 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11775         * config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
11776         (nds32_emit_stack_v3push): ... this.
11777         (nds32_gen_stack_v3pop): Rename to ...
11778         (nds32_emit_stack_v3pop): ... this and consider CFA restore
11779         information.
11781 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11783         * config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
11784         (nds32_emit_stack_push_multiple): ... this.
11785         (nds32_gen_stack_pop_multiple): Rename to ...
11786         (nds32_emit_stack_pop_multiple): ... this and consider CFA restore
11787         information.
11789 2014-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11791         PR target/61078
11792         * config/s390/s390.md ("*negdi2_31"): Add s390_split_ok_p check
11793         and add a second splitter to handle the remaining cases.
11795 2014-09-03  Chung-Ju Wu  <jasonwucj@gmail.com>
11797         * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
11799 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
11801         * cfgexpand.c (label_rtx_for_bb): Change type to
11802         hash_map<basic_block, rtx_code_label *> *.
11803         (expand_gimple_basic_block): Adjust.
11804         (pass_expand::execute): Likewise.
11806 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
11808         * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
11809         config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
11810         config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
11811         config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
11812         config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
11813         config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
11814         stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
11815         of rtx.
11817 2014-09-02  Trevor Saunders  <tsaunders@mozilla.com>
11819         * alloc-pool.c: Include coretypes.h.
11820         * cgraph.h, dbxout.c, dwarf2out.c, except.c, except.h, function.c,
11821         function.h, symtab.c, tree-cfg.c, tree-eh.c: Use hash_map and
11822         hash_set instead of htab.
11823         * ggc-page.c (in_gc): New variable.
11824         (ggc_free): Do nothing if a collection is taking place.
11825         (ggc_collect): Set in_gc appropriately.
11826         * ggc.h (gt_ggc_mx(const char *)): New function.
11827         (gt_pch_nx(const char *)): Likewise.
11828         (gt_ggc_mx(int)): Likewise.
11829         (gt_pch_nx(int)): Likewise.
11830         * hash-map.h (hash_map::hash_entry::ggc_mx): Likewise.
11831         (hash_map::hash_entry::pch_nx): Likewise.
11832         (hash_map::hash_entry::pch_nx_helper): Likewise.
11833 (hash_map::hash_map): Adjust.
11834 (hash_map::create_ggc): New function.
11835 (gt_ggc_mx): Likewise.
11836 (gt_pch_nx): Likewise.
11837         * hash-set.h (default_hashset_traits::ggc_mx): Likewise.
11838 (default_hashset_traits::pch_nx): Likewise.
11839 (hash_set::hash_entry::ggc_mx): Likewise.
11840 (hash_set::hash_entry::pch_nx): Likewise.
11841 (hash_set::hash_entry::pch_nx_helper): Likewise.
11842 (hash_set::hash_set): Adjust.
11843 (hash_set::create_ggc): New function.
11844 (hash_set::elements): Likewise.
11845 (gt_ggc_mx): Likewise.
11846 (gt_pch_nx): Likewise.
11847         * hash-table.h (hash_table::hash_table): Adjust.
11848 (hash_table::m_ggc): New member.
11849         (hash_table::~hash_table): Adjust.
11850         (hash_table::expand): Likewise.
11851         (hash_table::empty): Likewise.
11852 (gt_ggc_mx): New function.
11853         (hashtab_entry_note_pointers): Likewise.
11854 (gt_pch_nx): Likewise.
11856 2014-09-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
11858         * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE):  New
11859         built-in definition.
11860         (XVCVUXDDP_SCALE): Likewise.
11861         (XVCVDPSXDS_SCALE): Likewise.
11862         (XVCVDPUXDS_SCALE): Likewise.
11863         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins):  Add
11864         entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
11865         VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
11866         VSX_BUILTIN_XVCVDPUXDS_SCALE.
11867         * config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
11868         prototype.
11869         * config/rs6000/rs6000.c (real.h): New include.
11870         (rs6000_scale_v2df): New function.
11871         * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
11872         (UNSPEC_VSX_XVCVUXDDP): Likewise.
11873         (UNSPEC_VSX_XVCVDPSXDS): Likewise.
11874         (UNSPEC_VSX_XVCVDPUXDS): Likewise.
11875         (vsx_xvcvsxddp_scale): New define_expand.
11876         (vsx_xvcvsxddp): New define_insn.
11877         (vsx_xvcvuxddp_scale): New define_expand.
11878         (vsx_xvcvuxddp): New define_insn.
11879         (vsx_xvcvdpsxds_scale): New define_expand.
11880         (vsx_xvcvdpsxds): New define_insn.
11881         (vsx_xvcvdpuxds_scale): New define_expand.
11882         (vsx_xvcvdpuxds): New define_insn.
11883         * doc/extend.texi (vec_ctf): Add new prototypes.
11884         (vec_cts): Likewise.
11885         (vec_ctu): Likewise.
11886         (vec_splat): Likewise.
11887         (vec_div): Likewise.
11888         (vec_mul): Likewise.
11890 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
11892         PR target/62275
11893         * config/arm/neon.md
11894         (neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
11895         <v_cmp_result>): New pattern.
11896         * config/arm/iterators.md (NEON_VCVT): New int iterator.
11897         * config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
11898         vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
11899         vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
11900         * config/arm/arm.c (arm_builtin_vectorized_function): Handle
11901         BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
11903 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
11905         PR target/62275
11906         * config/arm/iterators.md (FIXUORS): New code iterator.
11907         (VCVT): New int iterator.
11908         (su_optab): New code attribute.
11909         (su): Likewise.
11910         * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
11912 2014-09-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
11914         * config/aarch64/predicates.md (aarch64_comparison_operation):
11915         New special predicate.
11916         * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
11917         aarch64_comparison_operation instead of matching an operator.
11918         Update operand numbers.
11919         (csinc3<mode>_insn): Likewise.
11920         (*csinv3<mode>_insn): Likewise.
11921         (*csneg3<mode>_insn): Likewise.
11922         (ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
11923         * config/aarch64/aarch64.c (aarch64_get_condition_code):
11924         Return -1 instead of aborting on invalid condition codes.
11925         (aarch64_print_operand): Update aarch64_get_condition_code callsites
11926         to assert that the returned condition code is valid.
11927         * config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
11929 2014-09-02  Aldy Hernandez  <aldyh@redhat.com>
11931         * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
11932         tree.def, and gimple.def
11934 2014-09-02  Jakub Jelinek  <jakub@redhat.com>
11935             Balaji V. Iyer  <balaji.v.iyer@intel.com>
11936             Igor Zamyatin  <igor.zamyatin@intel.com>
11938         * cilk-builtins.def (__cilkrts_cilk_for_32): New.
11939         (__cilkrts_cilk_for_64): Likewise.
11940         * cilk-common.c (declare_cilk_for_builtin): New function.
11941         (cilk_init_builtins): Declare __cilkrts_cilk_for_32 and
11942         __cilkrts_cilk_for_64 bultins.
11943         * cilk.h (enum cilk_tree_index): Added CILK_TI_F_LOOP_32 and
11944         CILK_TI_F_LOOP_64.
11945         (cilk_for_32_fndecl): New define.
11946         (cilk_for_64_fndecl): Likewise.
11947         * gimple-pretty-print.c (dump_gimple_omp_for): Correct hadling of
11948         GF_OMP_FOR_KIND_CILKFOR cases; Added NE_EXPR case.
11949         * gimple.h (enum gf_mask): Added GF_OMP_FOR_KIND_CILKFOR; adjusted
11950         GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED,
11951         GF_OMP_FOR_COMBINED_INTO.
11952         * gimplify.c (gimplify_scan_omp_clauses): Added
11953         OMP_CLAUSE__CILK_FOR_COUNT_ case.
11954         (gimplify_adjust_omp_clauses): Ditto.
11955         (gimplify_omp_for): Added CILK_FOR case.
11956         (gimplify_expr): Ditto.
11957         * omp-low.c: Include cilk.h.
11958         (extract_omp_for_data): Set appropriate kind for
11959         GF_OMP_FOR_KIND_CILKFOR; added check for GF_OMP_FOR_KIND_CILKFOR.
11960         (scan_sharing_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ cases.
11961         (create_omp_child_function_name): Added second argument to handle
11962         cilk_for case.
11963         (cilk_for_check_loop_diff_type): New function.
11964         (expand_cilk_for_call): Likewise.
11965         (expand_cilk_for): Likewise.
11966         (create_omp_child_function): Set cilk_for_count; handle the cases when
11967         it is true; call create_omp_child_function_name with second argument.
11968         (expand_omp_taskreg): Set is_cilk_for and handle cases when it's true.
11969         (expand_omp_for): Handle case of GF_OMP_FOR_KIND_CILKFOR.
11970         * tree-core.h (omp_clause_code): Added OMP_CLAUSE__CILK_FOR_COUNT_.
11971         * tree-nested.c (convert_nonlocal_omp_clauses): Added
11972         OMP_CLAUSE__CILK_FOR_COUNT_ case.
11973         (convert_local_omp_clauses): Ditto.
11974         * tree-pretty-print.c (dump_omp_clause): Added
11975         OMP_CLAUSE__CILK_FOR_COUNT_ and OMP_CLAUSE_SCHEDULE_CILKFOR cases.
11976         (dump_generic_node): Added CILK_FOR case.
11977         * tree.c (omp_clause_num_ops): New element
11978         OMP_CLAUSE__CILK_FOR_COUNT_ (1).
11979         (omp_clause_code_name): New element _Cilk_for_count_.
11980         (walk_tree_1): Added OMP_CLAUSE__CILK_FOR_COUNT_ case.
11981         * tree.def: Add tree code for CILK_FOR.
11983 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
11985         * config/rs6000/40x.md (ppc403-integer): Move "exts" to "no dot".
11986         (ppc403-compare): Add "exts with dot" case.
11987         * config/rs6000/440.md (ppc440-integer, ppc440-compare): As above.
11988         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Ditto.
11989         * config/rs6000/601.md (ppc601-integer, ppc601-compare): Ditto.
11990         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Ditto.
11991         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Ditto.
11992         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Ditto.
11993         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Ditto.
11994         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
11995         cell-cmp-microcoded): Similarly.
11996         * config/rs6000/e300c2c3.md (ppce300c3_iu, ppce300c3_cmp): As before.
11997         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Ditto.
11998         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Ditto.
11999         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Ditto.
12000         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Ditto.
12001         * config/rs6000/power4.md (power4-integer, power4-compare): Ditto.
12002         * config/rs6000/power5.md (power5-integer, power5-compare): Ditto.
12003         * config/rs6000/power6.md (power6-exts): Add "no dot" condition.
12004         (power6-compare): Add "exts with dot" case.
12005         * config/rs6000/power7.md (power7-integer, power7-compare): As before.
12006         * config/rs6000/power8.md (power8-1cyc, power8-compare): Ditto.
12007         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Ditto.
12009         * config/rs6000/predicates.md (lwa_operand): Don't allow memory
12010         if avoiding Cell microcode.
12011         * config/rs6000/rs6000.c (rs6000_adjust_cost): Handle exts+dot case.
12012         (is_cracked_insn): Ditto.
12013         (insn_must_be_first_in_group): Ditto.
12014         * config/rs6000/rs6000.md (dot): Adjust comment.
12015         (cell_micro): Handle exts+dot.
12016         (extendqidi2, extendhidi2, extendsidi2, *extendsidi2_lfiwax,
12017         *extendsidi2_nocell, *extendsidi2_nocell, extendqisi2, extendqihi2,
12018         extendhisi2, 16 anonymous instructions, and 12 splitters): Delete.
12019         (extendqi<mode>2, *extendqi<mode>2_dot, *extendqi<mode>2_dot2,
12020         extendhi<mode>2, *extendhi<mode>2, *extendhi<mode>2_noload,
12021         *extendhi<mode>2_dot, *extendhi<mode>2_dot2, extendsi<mode>2,
12022         *extendsi<mode>2_dot, *extendsi<mode>2_dot2): New.
12024 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
12026         * config/rs6000/rs6000.md (QHSI): Delete.
12027         (EXTQI, EXTHI, EXTSI): New mode iterators.
12028         (zero_extend<mode>di2, *zero_extend<mode>di2_internal1,
12029         *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
12030         *zero_extendsidi2_lfiwzx, zero_extendqisi2, zero_extendhisi2,
12031         9 anonymous instructions, and 8 splitters): Delete.
12032         (zero_extendqi<mode>2, *zero_extendqi<mode>2_dot,
12033         *zero_extendqi<mode>2_dot2, zero_extendhi<mode>2,
12034         *zero_extendhi<mode>2_dot, *zero_extendhi<mode>2_dot2,
12035         zero_extendsi<mode>2, *zero_extendsi<mode>2_dot,
12036         *zero_extendsi<mode>2_dot2): New.
12038 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
12040         * config/rs6000/rs6000.md (any_extend): New code iterator.
12041         (u, su): New code attributes.
12042         (dmode, DMODE): New mode attributes.
12043         (<su>mul<mode>3_highpart): New.
12044         (*<su>mul<mode>3_highpart): New.
12045         (<su>mulsi3_highpart_le): New.
12046         (<su>muldi3_highpart_le): New.
12047         (<su>mulsi3_highpart_64): New.
12048         (<u>mul<mode><dmode>3): New.
12049         (mulsidi3, umulsidi3, smulsi3_highpart, umulsi3_highpart, and two
12050         splitters): Delete.
12051         (mulditi3, umulditi3, smuldi3_highpart, umuldi3_highpart, and two
12052         splitters): Delete.
12054 2014-09-02  Segher Boessenkool  <segher@kernel.crashing.org>
12056         * config/rs6000/rs6000.md (mulsi3, *mulsi3_internal1,
12057         *mulsi3_internal2, and two splitters): Delete.
12058         (muldi3, *muldi3_internal1, *muldi3_internal2, and two splitters):
12059         Delete.
12060         (mul<mode>3, mul<mode>3_dot, mul<mode>3_dot2): New.
12062 2014-09-02  Richard Biener  <rguenther@suse.de>
12064         PR tree-optimization/62695
12065         * tree-ssa-structalias.c (find_func_clobbers): Add missing
12066         vector truncate.
12068 2014-09-01  Oleg Endo  <olegendo@gcc.gnu.org>
12070         PR target/62312
12071         * config/sh/sh.md (*cmp_div0s_0): Add missing constraints.
12073 2014-09-01  Andi Kleen  <ak@linux.intel.com>
12075         * file-find.c (add_prefix_begin): Add.
12076         (do_add_prefix): Rename from add_prefix with first argument.
12077         (add_prefix): Add new wrapper.
12078         * file-find.h (add_prefix_begin): Add.
12079         * gcc-ar.c (main): Support -B option.
12081 2014-09-01  Segher Boessenkool  <segher@kernel.crashing.org>
12083         * genemit.c: Include dumpfile.h.
12084         (gen_split): Print name of splitter function to dump file.
12086 2014-09-01  Richard Biener  <rguenther@suse.de>
12088         * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
12089         Use stack auto_vecs for constraint expressions.
12090         (find_func_aliases_for_call): Likewise.
12091         (find_func_aliases): Likewise.
12092         (find_func_clobbers): Likewise.
12094 2014-09-01  Richard Biener  <rguenther@suse.de>
12096         * tree-ssa-pre.c (phi_translate_1): Avoid re-allocating the
12097         operands vector in most cases.  Remove redundant code.
12099 2014-09-01  Olivier Hainque  <hainque@adacore.com>
12101         * config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
12102         $WIND_BASE instead of designating a harcoded arbitrary home dir.
12103         (VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
12105 2014-09-01  Richard Biener  <rguenther@suse.de>
12107         * tree-ssa-sccvn.h (copy_reference_ops_from_ref,
12108         copy_reference_ops_from_call, vn_nary_op_compute_hash,
12109         vn_reference_compute_hash, vn_reference_insert): Remove.
12110         (vn_reference_lookup_call): New function.
12111         * tree-ssa-sccvn.c (vn_reference_compute_hash,
12112         copy_reference_ops_from_ref, copy_reference_ops_from_call,
12113         vn_reference_insert, vn_nary_op_compute_hash): Make static.
12114         (create_reference_ops_from_call): Remove.
12115         (vn_reference_lookup_3): Properly update shared_lookup_references.
12116         (vn_reference_lookup_pieces): Assert that we updated
12117         shared_lookup_references properly.
12118         (vn_reference_lookup): Likewise.
12119         (vn_reference_lookup_call): New function.
12120         (visit_reference_op_call): Use it.  Avoid re-building the
12121         reference ops.
12122         (visit_reference_op_load): Remove redundant lookup.
12123         (visit_reference_op_store): Perform special tail-merging work
12124         only when possibly doing tail-merging.
12125         (visit_use): Likewise.
12126         * tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.
12128 2014-09-01  Jakub Jelinek  <jakub@redhat.com>
12130         PR target/62025
12131         * sched-deps.c (add_or_update_dep_1): If ask_dependency_caches
12132         returned DEP_PRESENT, make sure to set DEP_MULTIPLE on present_dep.
12133         (find_inc): Revert 2014-08-13 change.
12135 2014-09-01  Marek Polacek  <polacek@redhat.com>
12137         PR middle-end/61903
12138         * expmed.c (store_fixed_bit_field_1): Shift UHWI 1 instead of HWI 1.
12139         Change the type of V to unsigned HOST_WIDE_INT.
12141 2014-09-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
12143         * tree-ssa-math-opts.c (struct symbolic_number): Clarify comment about
12144         the size of byte markers.
12145         (do_shift_rotate): Fix confusion between host, target and marker byte
12146         size.
12147         (verify_symbolic_number_p): Likewise.
12148         (find_bswap_or_nop_1): Likewise.
12149         (find_bswap_or_nop): Likewise.
12151 2014-09-01  Olivier Hainque  <hainque@adacore.com>
12153         * Makefile.in (FLAGS_TO_PASS): Propagate INSTALL, INSTALL_DATA,
12154         INSTALL_SCRIPT and INSTALL_PROGRAM as well.
12156 2014-09-01  Jakub Jelinek  <jakub@redhat.com>
12158         * config/gnu-user.h (LIBLSAN_EARLY_SPEC): Define.
12159         * gcc.c (LIBLSAN_SPEC, LIBLSAN_EARLY_SPEC): Follow LIBTSAN*_SPEC.
12160         (SANITIZER_EARLY_SPEC): Include LIBLSAN_EARLY_SPEC for -fsanitize=leak.
12162 2014-09-01  Yury Gribov  <y.gribov@samsung.com>
12164         PR sanitizer/61897
12165         PR sanitizer/62140
12166         * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
12167         (build_check_stmt): Likewise.
12168         (instrument_strlen_call): Likewise.
12169         (asan_expand_check_ifn): Likewise and fix types.
12170         (maybe_cast_to_ptrmode): New function.
12172 2014-09-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
12174         * config/mcore/mcore.c (try_constant_tricks): Fix declaration.
12176 2014-08-31  Gerald Pfeifer  <gerald@pfeifer.com>
12178         * doc/generic.texi (Deficiencies): Add note on exemplary mistakes.
12180 2014-08-30  John David Anglin  <danglin@gcc.gnu.org>
12182         * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
12183         prefix to function labels when generating fast indirect calls.
12185 2014-08-30  David Malcolm  <dmalcolm@redhat.com>
12187         PR bootstrap/62304
12189         * gcc/reorg.c (skip_consecutive_labels): Convert return type and
12190         param back from rtx_insn * to rtx.  Rename param from "label" to
12191         "label_or_return", reintroducing "label" as an rtx_insn * after
12192         we've ensured it's not a RETURN.
12193         (first_active_target_insn): Likewise for return type and param;
12194         add a checked cast to rtx_insn * once we've ensured "insn" is not
12195         a RETURN.
12196         (steal_delay_list_from_target): Convert param "pnew_thread" back
12197         from rtx_insn ** to rtx *.  Replace use of JUMP_LABEL_AS_INSN
12198         with JUMP_LABEL.
12199         (own_thread_p): Convert param "thread" back from an rtx_insn * to
12200         an rtx.  Introduce local rtx_insn * "thread_insn" with a checked
12201         cast once we've established we're not dealing with a RETURN,
12202         renaming subsequent uses of "thread" to "thread_insn".
12203         (fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
12204         to JUMP_LABEL.
12205         (follow_jumps): Convert return type and param "label" from
12206         rtx_insn * back to rtx.  Move initialization of "value" to after
12207         the handling for ANY_RETURN_P, adding a checked cast there to
12208         rtx_insn *.  Convert local rtx_insn * "this_label" to an rtx and
12209         rename to "this_label_or_return", reintroducing "this_label" as
12210         an rtx_insn * once we've handled the case where it could be an
12211         ANY_RETURN_P.
12212         (fill_slots_from_thread): Rename param "thread" to
12213         "thread_or_return", converting from an rtx_insn * back to an rtx.
12214         Reintroduce name "thread" as an rtx_insn * local with a checked
12215         cast once we've handled the case of it being an ANY_RETURN_P.
12216         Convert local "new_thread" from an rtx_insn * back to an rtx.
12217         Add a checked cast when assigning to "trial" from "new_thread".
12218         Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL.  Add a
12219         checked cast to rtx_insn * from "new_thread" when invoking
12220         get_label_before.
12221         (fill_eager_delay_slots): Convert locals "target_label",
12222         "insn_at_target" from rtx_insn * back to rtx.
12223         Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
12224         (relax_delay_slots): Convert locals "trial", "target_label" from
12225         rtx_insn * back to rtx.  Convert uses of JUMP_LABEL_AS_INSN back
12226         to JUMP_LABEL.  Add a checked cast to rtx_insn * on "trial" when
12227         invoking update_block.
12228         (dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
12229         JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
12231         * resource.h (mark_target_live_regs): Undo erroneous conversion
12232         of second param of r214693, converting it back from rtx_insn * to
12233         rtx, since it could be a RETURN.
12235         * resource.c (find_dead_or_set_registers): Similarly, convert
12236         param "jump_target" back from an rtx_insn ** to an rtx *, as we
12237         could be writing back a RETURN.  Rename local rtx_insn * "next" to
12238         "next_insn", and introduce "lab_or_return" as a local rtx,
12239         handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
12240         (mark_target_live_regs): Undo erroneous conversion
12241         of second param of r214693, converting it back from rtx_insn * to
12242         rtx, since it could be a RETURN.  Rename it from "target" to
12243         "target_maybe_return", reintroducing the name "target" as a local
12244         rtx_insn * with a checked cast, after we've handled the case of
12245         ANY_RETURN_P.
12247 2014-08-29  DJ Delorie  <dj@redhat.com>
12249         * cppbuiltin.c (define_builtin_macros_for_type_sizes): Round
12250         pointer size up to a power of two.
12251         * defaults.h (DWARF2_ADDR_SIZE): Round up.
12252         (POINTER_SIZE_UNITS): New, rounded up value.
12253         * dwarf2asm.c (size_of_encoded_value): Use it.
12254         (dw2_output_indirect_constant_1): Likewise.
12255         * expmed.c (init_expmed_one_conv): We now know the sizes of
12256         partial int modes.
12257         * loop-iv.c (iv_number_of_iterations): Use precision, not size.
12258         * optabs.c (expand_float): Use precision, not size.
12259         (expand_fix): Likewise.
12260         * simplify-rtx (simplify_unary_operation_1): Likewise.
12261         * tree-dfa.c (get_ref_base_and_extent): Likewise.
12262         * varasm.c (assemble_addr_to_section): Round up pointer sizes.
12263         (default_assemble_integer) Likewise.
12264         (dump_tm_clone_pairs): Likewise.
12265         * dwarf2out.c (mem_loc_descriptor): Allow partial-int modes also.
12266         * var-tracking.c (adjust_mems): Allow partial-int modes also.
12267         (prepare_call_arguments): Likewise.
12268         * stor-layout.c (finalize_type_size): Preserve precision.
12269         (layout_type): Use precision, not size.
12271         * expr.c (convert_move): If the target has an explicit converter,
12272         use it.
12274 2014-08-29  David Malcolm  <dmalcolm@redhat.com>
12276         * gdbinit.in: Skip various inline functions in rtl.h when
12277         stepping.
12279 2014-08-29  Richard Sandiford  <richard.sandiford@arm.com>
12281         PR bootstrap/62301
12282         * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call.
12284 2014-08-29  Richard Biener  <rguenther@suse.de>
12286         PR tree-optimization/62291
12287         * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve
12288         exactly the vector size needed and use quick_push.
12289         (phi_translate_1): Adjust comment.
12290         (valid_in_sets): Remove block argument and remove pointless
12291         checking of NAMEs.
12292         (dependent_clean): Adjust for removal of block argument.
12293         (clean): Likewise.
12294         (compute_antic_aux): Likewise.
12295         (compute_partial_antic_aux): Likewise.
12297 2014-08-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12298             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12299             Anna Tikhonova  <anna.tikhonova@intel.com>
12300             Ilya Tocar  <ilya.tocar@intel.com>
12301             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12302             Ilya Verbin  <ilya.verbin@intel.com>
12303             Kirill Yukhin  <kirill.yukhin@intel.com>
12304             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12306         * config/i386/sse.md
12307         (define_insn "avx2_interleave_highv4di<mask_name>"): Add masking.
12308         (define_insn "vec_interleave_highv2di<mask_name>"): Ditto.
12309         (define_insn "avx2_interleave_lowv4di<mask_name>"): Ditto.
12310         (define_insn "vec_interleave_lowv2di<mask_name>"): Ditto.
12312 2014-08-29  Alexander Ivchenko  <alexander.ivchenko@intel.com>
12313             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
12314             Anna Tikhonova  <anna.tikhonova@intel.com>
12315             Ilya Tocar  <ilya.tocar@intel.com>
12316             Andrey Turetskiy  <andrey.turetskiy@intel.com>
12317             Ilya Verbin  <ilya.verbin@intel.com>
12318             Kirill Yukhin  <kirill.yukhin@intel.com>
12319             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
12321         * config/i386/i386-modes.def: Add V12QI, V14QI, V6HI modes.
12322         * config/i386/sse.md
12323         (define_mode_iterator VI4_128_8_256): New.
12324         (define_mode_iterator VI2_128_4_256): Ditto.
12325         (define_mode_iterator PMOV_DST_MODE): Rename into
12326         (define_mode_iterator PMOV_DST_MODE_1): this.
12327         (define_insn "*avx512f_<code><pmov_src_lower><mode>2"):
12328         Use PMOV_DST_MODE_1 mode iterator.
12329         (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
12330         Ditto.
12331         (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
12332         Ditto.
12333         (define_insn "*avx512bw_<code>v32hiv32qi2"): New.
12334         (define_insn "avx512bw_<code>v32hiv32qi2_mask"): Ditto.
12335         (define_expand "avx512bw_<code>v32hiv32qi2_store_mask"): Ditto.
12336         (define_mode_iterator PMOV_DST_MODE_2): New.
12337         (define_insn "*avx512vl_<code><ssedoublemodelower><mode>2"): Ditto.
12338         (define_insn "<avx512>_<code><ssedoublemodelower><mode>2_mask"): Ditto.
12339         (define_expand "<avx512>_<code><ssedoublemodelower><mode>2_store_mask"):
12340         Ditto.
12341         (define_mode_iterator PMOV_SRC_MODE_3): Ditto.
12342         (define_mode_attr pmov_dst_3): Ditto.
12343         (define_mode_attr pmov_dst_zeroed_3): Ditto.
12344         (define_mode_attr pmov_suff_3): Ditto.
12345         (define_insn "*avx512vl_<code><mode>v<ssescalarnum>qi2"): Ditto.
12346         (define_insn "*avx512vl_<code>v2div2qi2_store"): Ditto.
12347         (define_insn "avx512vl_<code>v2div2qi2_mask"): Ditto.
12348         (define_insn "avx512vl_<code>v2div2qi2_store_mask"): Ditto.
12349         (define_insn "*avx512vl_<code><mode>v4qi2_store"): Ditto.
12350         (define_insn "avx512vl_<code><mode>v4qi2_mask"): Ditto.
12351         (define_insn "avx512vl_<code><mode>v4qi2_store_mask"): Ditto.
12352         (define_insn "*avx512vl_<code><mode>v8qi2_store"): Ditto.
12353         (define_insn "avx512vl_<code><mode>v8qi2_mask"): Ditto.
12354         (define_insn "avx512vl_<code><mode>v8qi2_store_mask"): Ditto.
12355         (define_mode_iterator PMOV_SRC_MODE_4): Ditto.
12356         (define_mode_attr pmov_dst_4): Ditto.
12357         (define_mode_attr pmov_dst_zeroed_4): Ditto.
12358         (define_mode_attr pmov_suff_4): Ditto.
12359         (define_insn "*avx512vl_<code><mode>v<ssescalarnum>hi2"): Ditto.
12360         (define_insn "*avx512vl_<code><mode>v4hi2_store"): Ditto.
12361         (define_insn "avx512vl_<code><mode>v4hi2_mask"): Ditto.
12362         (define_insn "avx512vl_<code><mode>v4hi2_store_mask"): Ditto.
12363         (define_insn "*avx512vl_<code>v2div2hi2_store"): Ditto.
12364         (define_insn "avx512vl_<code>v2div2hi2_mask"): Ditto.
12365         (define_insn "avx512vl_<code>v2div2hi2_store_mask"): Ditto.
12366         (define_insn "*avx512vl_<code>v2div2si2"): Ditto.
12367         (define_insn "*avx512vl_<code>v2div2si2_store"): Ditto.
12368         (define_insn "avx512vl_<code>v2div2si2_mask"): Ditto.
12369         (define_insn "avx512vl_<code>v2div2si2_store_mask"): Ditto.
12371 2014-08-29  Richard Biener  <rguenther@suse.de>
12373         * tree-cfg.c (verify_gimple_assign_unary): Do not allow
12374         NON_LVALUE_EXPR in gimple.
12376 2014-08-29  Richard Biener  <rguenther@suse.de>
12378         PR middle-end/62292
12379         * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
12380         from previous refactoring.
12381         (gimple_fold_builtin_strncpy): Likewise.
12383 2014-08-29  David Malcolm  <dmalcolm@redhat.com>
12385         PR bootstrap/62300
12386         * function.c (assign_parm_setup_reg): Remove erroneous checked
12387         cast to rtx_insn * on result of gen_extend_insn in favor of
12388         introducing a new local rtx "pat".
12390 2014-08-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
12392         * config/mep/mep-pragma.c (mep_pragma_coprocessor_subclass): Rework
12393         to silence warning.
12394         * config/mep/mep.c (VECTOR_TYPE_P): Remove duplicate definition.
12396 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12398         * rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
12399         (next_insn): Likewise.
12400         * emit-rtl.c (next_insn): Likewise.
12401         (previous_insn): Likewise.
12402         * config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
12403         "insn" and "next" from rtx to rtx_insn *.
12404         * config/picochip/picochip.c (picochip_reorg): Likewise for locals
12405         "insn", "insn1", "vliw_start",  "prologue_end_note",
12406         "last_insn_in_packet".
12408 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12410         * shrink-wrap.h (active_insn_between): Strengthen both params from
12411         rtx to rtx_insn *.
12412         * function.c (active_insn_between): Likewise.
12414 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12416         * genattr.c (main): When writing out insn-attr.h, strengthen param
12417         of dfa_clear_single_insn_cache from rtx to rtx_insn *.
12418         * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
12419         writing out the definition of dfa_clear_single_insn_cache to the
12420         generated insn-automata.c
12422 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12424         * resource.h (clear_hashed_info_for_insn): Strengthen param from
12425         rtx to rtx_insn *.
12426         (incr_ticks_for_insn): Likewise.
12427         (init_resource_info): Likewise.
12429         * resource.c (init_resource_info): Likewise.
12430         (clear_hashed_info_for_insn): Likewise.
12431         (incr_ticks_for_insn): Likewise.
12433         * reorg.c (delete_scheduled_jump): Strengthen param "insn" from
12434         rtx to rtx_insn *.
12435         (steal_delay_list_from_target): Use methods of "seq".
12436         (try_merge_delay_insns): Use methods of "merged_insns".
12437         (update_block): Strengthen param "insn" from rtx to rtx_insn *.
12438         (reorg_redirect_jump): Likewise for param "jump".
12440 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12442         * insn-addr.h (insn_addresses_new): Strengthen param "insn" from
12443         rtx to rtx_insn *.
12444         * config/s390/s390.c (s390_split_branches): Eliminate top-level
12445         local rtx "tmp", in favor of new local rtx "mem" and rtx_insn *
12446         "set_insn".
12447         (s390_mainpool_finish): In three places, split out a local rtx
12448         "insn" into a local rtx - "set" or "pat" - and a rtx_insn *
12449         "insn".  Strengthen local "pool_end" from rtx to rtx_code_label *
12450         and split another local rtx "insn" out into rtx "pat" and
12451         rtx_insn * "insn".
12452         * config/sh/sh.c (output_branchy_insn): Rather than working
12453         directly on operands[9], introduce local rtx_code_label *
12454         variables named "lab" in two places, working on them, and then
12455         assigning them to operands[9], so that the intervening operations
12456         are known by the type system to be on insns.
12458 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12460         * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
12461         const rtx_insn *.
12463         * print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
12464         in invocation of INSN_HAS_LOCATION.
12466 2014-08-28  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
12468         * config/rs6000/altivec.h (vec_xl): New #define.
12469         (vec_xst): Likewise.
12470         * config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
12471         (XXSPLTD_V2DI): Likewise.
12472         (DIV_V2DI): Likewise.
12473         (UDIV_V2DI): Likewise.
12474         (MUL_V2DI): Likewise.
12475         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
12476         entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
12477         VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
12478         VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
12479         * config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
12480         (UNSPEC_VSX_DIVSD): Likewise.
12481         (UNSPEC_VSX_DIVUD): Likewise.
12482         (UNSPEC_VSX_MULSD): Likewise.
12483         (vsx_mul_v2di): New insn-and-split.
12484         (vsx_div_v2di): Likewise.
12485         (vsx_udiv_v2di): Likewise.
12486         (vsx_xxspltd_<mode>): New insn.
12488 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12490         * rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
12491         NEXT_INSN.
12492         (PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
12493         (NEXT_INSN): Likewise.
12494         (JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
12495         (reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
12496         const rtx_insn *.
12497         (no_labels_between_p): Likewise for both params.
12499         * config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
12500         cast when using NEXT_INSN on operands[2].
12501         * config/alpha/alpha.c (alpha_set_memflags): Strengthen local
12502         "insn" from rtx to rtx_insn *, adding a checked cast.
12503         (alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
12504         rtx_insn *.
12505         * config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
12506         for third param.
12507         (arc_text_label): Likewise for param "insn".
12508         * config/arc/arc.c (arc_expand_epilogue): Likewise for local
12509         "insn".
12510         (arc_ccfsm_record_condition): Likewise for param "jump".
12511         (arc_text_label): Likewise for local "label".
12512         * config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
12513         Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
12514         a method for typesafety.  Add a checked cast.
12515         * config/arc/constraints.md (Clb): Add a checked cast when getting
12516         the CODE_LABEL from a LABEL_REF.
12517         * config/arm/arm.c (require_pic_register): Strengthen locals
12518         "seq", "insn" from rtx to rtx_insn *.
12519         (create_fix_barrier): Likewise for locals "selected", "next".
12520         (thumb1_reorg): Likewise for locals "prev", "insn".
12521         (arm_expand_prologue): Likewise for local "last".
12522         (thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
12523         operands[0].
12524         (thumb2_output_casesi): Likewise for operands[2].
12525         * config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
12526         strengthen local "insn" from rtx to rtx_insn *.
12527         * config/bfin/bfin.c (find_next_insn_start): Likewise for return
12528         type and param "insn".
12529         (find_prev_insn_start): Likewise.
12530         (hwloop_optimize): Likewise for locals "insn", "last_insn",
12531         "prev".
12532         (gen_one_bundle): Likewise for loal "t".
12533         (find_load): Likewise for param "insn".
12534         (workaround_speculation): Likewise for locals "insn", "next",
12535         "target", "next_tgt".
12536         * config/c6x/c6x.c (assign_reservations): Likewise for both params
12537         and for locals "insn", "within", "last".
12538         (count_unit_reqs): Likewise for params "head", "tail" and local
12539         "insn".
12540         (try_rename_operands): Likewise for params "head", "tail".
12541         (reshuffle_units): Likewise for locals "head", "tail", "insn".
12542         (struct c6x_sched_context): Likewise for fields
12543         "last_scheduled_insn", "last_scheduled_iter0".
12544         (init_sched_state): Replace NULL_RTX with NULL.
12545         (reorg_split_calls): Strengthen local "new_cycle_first" from rtx
12546         to rtx_insn *.
12547         (undo_split_delayed_nonbranch): Likewise for param and for local
12548         "prev".
12549         (conditionalize_after_sched): Likewise for local "insn".
12550         (bb_earliest_end_cycle): Likewise.
12551         (filter_insns_above): Likewise for locals "insn", "next".
12552         (hwloop_optimize): Remove redundant checked cast.
12553         (hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
12554         * config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
12555         NULL_RTX with NULL.
12556         (cris_simple_epilogue): Likewise.
12557         (cris_expand_prologue): Likewise.
12558         (cris_expand_epilogue): Likewise.
12559         * config/frv/frv.c (frv_function_contains_far_jump): Strengthen
12560         local "insn" from rtx to rtx_insn *.
12561         (frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
12562         (struct frv_packet_group): Likewise for the elements within array
12563         fields "insns", "sorted", and for field "nop".
12564         (frv_packet): Likewise for the elements within array field
12565         "insns".
12566         (frv_add_insn_to_packet): Likewise for param "insn".
12567         (frv_insert_nop_in_packet): Likewise for param "insn" and local
12568         "last".
12569         (frv_for_each_packet): Likewise for locals "insn", "next_insn".
12570         (frv_sort_insn_group_1): Likewise for local "insn".
12571         (frv_optimize_membar_local): Likewise.
12572         (frv_align_label): Likewise for locals "x", "last", "barrier",
12573         "label".
12574         * config/ia64/ia64.c (last_scheduled_insn): Likewise for this
12575         local.
12576         (ia64_sched_init): Likewise for local "insn".
12577         (scheduled_good_insn): Likewise for param "last".
12578         (struct _ia64_sched_context): Likewise for field
12579         "last_scheduled_insn".
12580         (ia64_init_sched_context): Replace NULL_RTX with NULL.
12581         (struct bundle_state): Likewise for field "insn".
12582         (issue_nops_and_insn): Likewise for param "insn".
12583         (get_next_important_insn): Likewise for return type and both
12584         params.
12585         (ia64_add_bundle_selector_before): Likewise for param "insn".
12586         (bundling): Likewise for params "prev_head_insn", "tail" and
12587         locals "insn", "next_insn", "b".  Eliminate top-level local rtx
12588         "nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
12589         * config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
12590         Strengthen final param from rtx to rtx_insn *.
12591         (iq2000_move_1word): Likewise for second param.
12592         * config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
12593         param "cur_insn" and local "next_insn".
12594         (iq2000_move_1word): Likewise for param "insn".
12595         * config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
12596         casts when using NEXT_INSN on operands[1].
12597         * config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
12598         "insn" from rtx to rtx_insn *.
12599         * config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
12600         "x", introducing local rtx_insn * "insn" for when working with the
12601         CODE_LABEL of the LABEL_REF.
12602         (m68k_sched_md_init_global): Strengthen local "insn" from rtx to
12603         rtx_insn *.
12604         * config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
12605         param.
12606         * config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
12607         type.
12608         (conditionalize_block): Likewise for return type and param.
12609         (mcore_is_dead): Likewise for param "first" and local "insn".
12610         (emit_new_cond_insn): Likewise for return type.
12611         (conditionalize_block): Likewise for return type, param, and
12612         locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
12613         "newinsn".
12614         (conditionalize_optimization): Likewise for local "insn".
12615         * config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
12616         using NEXT_INSN.
12617         * config/microblaze/microblaze.md: Add checked casts when using
12618         NEXT_INSN.
12619         * config/mips/mips.c (mips_expand_prologue): Eliminate top-level
12620         rtx "insn" in favor of various more tightly-scoped rtx "insn" and
12621         and rtx_insn * "insn".
12622         * config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
12623         checked cast when using NEXT_INSN on operands[2].
12624         * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
12625         local "insn" from rtx to rtx_insn *.
12626         * config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
12627         Likewise.
12628         * config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
12629         Add a checked cast when using NEXT_INSN on operands[1].
12630         * config/pa/pa-protos.h (pa_following_call): Strengthen param from
12631         rtx to rtx_insn *.
12632         (pa_output_cbranch): Likewise for final param.
12633         (pa_output_lbranch): Likewise for second param.
12634         (pa_output_bb): Likewise for third param.
12635         (pa_output_bvb): Likewise.
12636         (pa_output_dbra): Likewise for second param.
12637         (pa_output_movb): Likewise.
12638         (pa_output_parallel_movb): Likewise.
12639         (pa_output_parallel_addb): Likewise.
12640         (pa_output_millicode_call): Likewise for first param.
12641         (pa_output_mul_insn): Likewise for second param.
12642         (pa_output_div_insn): Likewise for third param.
12643         (pa_output_mod_insn): Likewise for second param.
12644         (pa_jump_in_call_delay): Likewise for param.
12645         * config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
12646         (pa_output_div_insn): Likewise.
12647         (pa_output_mod_insn): Likewise.
12648         (pa_output_cbranch): Likewise.
12649         (pa_output_lbranch): Likewise.
12650         (pa_output_bb): Likewise.
12651         (pa_output_bvb): Likewise.
12652         (pa_output_dbra): Likewise.
12653         (pa_output_movb): Likewise.
12654         (pa_output_millicode_call): Likewise; use method of rtx_sequence *
12655         to simplify and for typesafety.
12656         (pa_output_call): Use method of rtx_sequence *.
12657         (forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
12658         (pa_jump_in_call_delay): Likewise.
12659         (pa_output_parallel_movb): Likewise.
12660         (pa_output_parallel_addb): Likewise.
12661         (pa_following_call): Likewise.
12662         (pa_combine_instructions): Likewise for locals "anchor",
12663         "floater".
12664         (pa_can_combine_p): Likewise for params "anchor", "floater" and
12665         locals "start", "end".
12666         * config/picochip/picochip.c (picochip_reset_vliw): Likewise for
12667         param "insn" and local "local_insn".
12668         (picochip_final_prescan_insn): Likewise for local "local_insn".
12669         * config/rs6000/rs6000.c (compute_save_world_info): Likewise for
12670         local "insn".
12671         (uses_TOC): Likewise.
12672         * config/s390/s390.c (get_some_local_dynamic_name): Likewise.
12673         (s390_mainpool_finish): Eliminate top-level local rtx "insn",
12674         splitting out to more tightly-scoped locals, 3 as rtx and one as
12675         rtx_insn *.
12676         (s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
12677         to rtx_insn *.
12678         (s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
12679         where needed.
12680         * config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
12681         to rtx_insn *.
12682         (fixup_addr_diff_vecs): Likewise.
12683         (reg_unused_after): Likewise for param 2.
12684         (sh_can_redirect_branch): Likewise for both params.
12685         (check_use_sfunc_addr): Likewise for param 1.
12686         * config/sh/sh.c (fixup_mova): Likewise for local "worker".
12687         (find_barrier): Likewise for local "last_got".
12688         (gen_block_redirect): Likewise for return type, param "jump" and
12689         locals "prev", "scan", "next", "insn".
12690         (struct far_branch): Likewise for fields "near_label",
12691         "insert_place", "far_label".
12692         (gen_far_branch): Likewise for local "jump".
12693         (fixup_addr_diff_vecs): Likewise for param "first" and locals
12694         "insn", "prev".
12695         (barrier_align): Likewise for param and for locals "prev", "x".
12696         Introduce local rtx_sequence * "prev_seq" and use insn method for
12697         typesafety and clarity.
12698         (sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
12699         (get_dest_uid): Likewise for local "dest".
12700         (split_branches): Likewise for locals "next", "beyond", "label",
12701         "block", "far_label".  Add checked casts when assigning to
12702         bp->far_label and "far_label".
12703         (reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
12704         (sequence_insn_p): Likewise.
12705         (mark_constant_pool_use): Likewise for locals "insn", "lab".  Add a
12706         more loop-scoped rtx "insn" when walking LABEL_REFS.
12707         (sh_can_redirect_branch): Strengthen both params from rtx to
12708         rtx_insn *.
12709         (check_use_sfunc_addr): Likewise for param "insn".  Introduce a
12710         new local rtx_sequence * "seq" via a dyn_cast, and use a method
12711         for clarity and typesafety.
12712         * config/sh/sh.md (define_expand "epilogue"): Strengthen local
12713         "insn" from rtx to rtx_insn *.
12714         (define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
12715         when using NEXT_INSN on the CODE_LABEL in operands[2].
12716         (define_insn "casesi_worker_2"): Likewise.
12717         (define_insn "casesi_shift_media"): Likewise.
12718         (define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
12719         operands[3].
12720         * config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
12721         Strengthen field "insn" from rtx to rtx_insn *.
12722         (sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
12723         (sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
12724         param "start_insn" and local "start_insn".
12725         * config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
12726         field "insn".
12727         (find_set_of_reg_bb): Likewise for param "insn".
12728         (trace_reg_uses_1): Likewise for param "start_insn" and local "i".
12729         (trace_reg_uses): Likewise for param "start_insn".
12730         (sh_treg_combine::cbranch_trace): Likewise for field
12731         "cbranch_insn".
12732         (sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
12733         param "insn".
12734         (sh_treg_combine::record_set_of_reg): Likewise for param
12735         "start_insn" and local "i".
12736         (sh_treg_combine::can_remove_cstore): Likewise for local
12737         "prev_insn".
12738         (sh_treg_combine::try_optimize_cbranch): Likewise for param
12739         "insn".
12740         (sh_treg_combine::execute): Likewise for local "i".
12741         * config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
12742         param.
12743         (sparc_check_64): Likewise for second param.
12744         * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
12745         locals "insn", "next".  Introduce local rtx_sequence * "seq" via a
12746         dyn_cast, using its insn method for typesafety and clarity.
12747         (empty_delay_slot): Strengthen param "insn" from rtx to
12748         rtx_insn *.
12749         (set_extends): Likewise.
12750         (sparc_check_64): Likewise.
12751         * config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
12752         for locals "seq", "last_insn".
12753         (combine_bnp): Likewise for param "insn".
12754         (xstormy16_reorg): Likewise for local "insn".
12755         * config/v850/v850.c (substitute_ep_register): Likewise for params
12756         "first_insn", "last_insn" and local "insn".
12757         (v850_reorg): Likewise for fields "first_insn", "last_insn" within
12758         elements of "regs" array, and local "insn".
12759         * except.c (emit_note_eh_region_end): Likewise for param "insn".
12760         * final.c (final_sequence): Strengthen this global from rtx to
12761         rtx_sequence *.
12762         (shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
12763         rtx_insn *.
12764         (final_scan_insn): Update assignment to "final_sequence" to be
12765         from "seq", the cast version of "body", for type-safety.
12766         * function.c (assign_parm_setup_reg): Strengthen locals "insn",
12767         "insns" from rtx to rtx_insn *.
12768         (thread_prologue_and_epilogue_insns): Likewise for local "seq".
12769         * genattr.c (main): When writing out generated insn-attr.h,
12770         strengthen params 1 and 3 of eligible_for_delay,
12771         eligible_for_annul_true, eligible_for_annul_false from rtx to
12772         rtx_insn *.
12773         * genattrtab.c (write_eligible_delay): Likewise when writing out
12774         generated insn-attrtab.c; also local "insn" the generated
12775         functions.
12776         * hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
12777         to rtx_insn *.
12778         * hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
12779         "start_label" from rtx to rtx_insn *.
12780         * ira.c (decrease_live_ranges_number): Likewise for local "p".
12781         (ira_update_equiv_info_by_shuffle_insn): Likewise for param
12782         "insns" and local "insn".
12783         (validate_equiv_mem): Likewise for param "start" and local "insn".
12784         (memref_used_between_p): Likewise for params "start", "end" and
12785         local "insn".
12786         * ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
12787         final param.
12788         * loop-doloop.c (doloop_optimize): Within region guarded by
12789         INSN_P (doloop_pat), introduce a new local rtx_insn *
12790         "doloop_insn" via a checked cast, and use it for typesafety,
12791         eventually writing the value back into doloop_pat.
12792         * output.h (final_sequence): Strengthen this global from rtx to
12793         rtx_sequence *.
12794         * recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
12795         reintroducing "insn" as an rtx_insn * via a checked cast.
12796         Strengthen param "attempt" and local "new_insn"from rtx to
12797         rtx_insn *.
12798         (peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
12799         to rtx_insn *.
12800         * ree.c (emit_note_eh_region_end): Likewise for local "insn".
12801         * reload1.c (reload_as_needed): Eliminate top-level locals "x" and
12802         "p" in favor of more tightly-scoped replacements, sometimes rtx
12803         and sometimes rtx_insn *, as appropriate.
12804         (delete_output_reload): Eliminate top-level rtx "i1", splitting
12805         into two loop-scoped locals, one an rtx, the other an rtx_insn *.
12806         * reorg.c (delete_scheduled_jump): Add checked cast.  Strengthen
12807         local "trial" from rtx to rtx_insn *.
12808         (redirect_with_delay_slots_safe_p): Strengthen param "jump" from
12809         rtx to rtx_insn *.  Strenghten local "pat" from rtx to
12810         rtx_sequence * and use methods for clarity and typesafety.
12811         (redirect_with_delay_list_safe_p): Strengthen param "jump" from
12812         rtx to rtx_insn *.  Strenghten local "li" from rtx to
12813         rtx_insn_list * and use its methods for clarity and typesafety.
12814         (steal_delay_list_from_target): Strengthen param "insn" from rtx
12815         to rtx_insn *.
12816         (steal_delay_list_from_fallthrough): Likewise.
12817         (try_merge_delay_insns): Likewise for param "thread" and locals
12818         "trial", "next_trial", "delay_insn".
12819         (redundant_insn): Likewise for param "target" and local "trial".
12820         (own_thread_p): Likewise for param "thread" and locals
12821         "active_insn", "insn".
12822         (get_label_before): Likewise for param "insn".
12823         (fill_simple_delay_slots): Likewise for local "new_label"; use
12824         JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
12825         (label_before_next_insn): Strengthen return type and local "insn"
12826         from rtx to rtx_insn *.
12827         (relax_delay_slots): Likewise for locals "other", "tmp".
12828         (make_return_insns): Likewise for param "first" and locals "insn",
12829         "jump_insn", "prev".  Move declaration of "pat" to its assignment
12830         and strengthen from rtx to rtx_sequence *.  Use its methods for
12831         clarity and typesafety.
12832         * rtlanal.c (no_labels_between_p): Strengthen params from
12833         const_rtx to const rtx_insn *.  Strengthen local "p" from rtx to
12834         rtx_insn *.
12835         (reg_used_between_p): Strengthen params "from_insn", "to_insn"
12836         from const_rtx to const rtx_insn *.
12837         (reg_set_between_p): Rename param "from_insn" to
12838         "uncast_from_insn", and reintroduce "from_insn" as a
12839         const rtx_insn * via a checked cast.
12840         (modified_between_p): Likewise for param "start" as "uncast_start".
12841         (tablejump_p): Add a cast when invoking NEXT_INSN on "label".
12842         * sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
12843         "tmp", head" from rtx to rtx_insn *.
12844         (recompute_rev_top_order): Likewise for local "insn".
12845         * sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
12846         * store-motion.c (build_store_vectors): Likewise for local "insn".
12847         Strengthen local "st" from rtx to rtx_insn_list * and use methods
12848         for clarity and typesafety.
12849         * tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
12850         rtx to rtx_insn *.
12851         (computation_cost): Likewise for local "seq".
12852         (get_address_cost): Likewise.
12854 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12856         * rtl.h (tablejump_p): Strengthen first param from const_rtx to
12857         const rtx_insn *.
12858         (label_is_jump_target_p): Likewise for second param.
12860         * rtlanal.c (tablejump_p): Likewise for param "insn".
12861         (label_is_jump_target_p): Likewise for param "jump_insn".
12863 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12865         * rtl.h (find_first_parameter_load): Strengthen return type and
12866         both params from rtx to rtx_insn *.
12867         * rtlanal.c (find_first_parameter_load): Strengthen return type,
12868         both params and locals "before", "first_set" from rtx to
12869         rtx_insn *.  Remove now-redundant cast.
12870         * except.c (sjlj_mark_call_sites): Use NULL rather than NULL_RTX.
12872 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12874         * rtl.h (find_last_value): Delete.
12875         * rtlanal.c (find_last_value): Delete.
12877 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
12879         * cfgexpand.c (pass_expand::execute): Strengthen local "after"
12880         from rtx to rtx_insn *.
12881         * cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
12882         rtx "note" with new local rtx_insn * "new_head" when calculating
12883         head insn of new basic block.
12884         * combine.c (combine_split_insns): Strengthen return type and local
12885         "ret" from rtx to rtx_insn *.
12886         (likely_spilled_retval_p): Likewise for locals "use" and "p".
12887         (try_combine): Eliminate local "m_split", splitting into new
12888         locals "m_split_insn" and "m_split_pat".
12889         (find_split_point): Strengthen local "seq" from rtx into
12890         rtx_insn *.
12891         * config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
12892         locals "label", "branch".
12893         * config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
12894         for local "insn".
12895         (define_expand "umulsi3_highpart"): Likewise for local "insn".
12896         * dse.c (note_add_store_info): Likewise for fields "first",
12897         "current".
12898         (note_add_store): Likewise for local "insn".
12899         (emit_inc_dec_insn_before): Likewise for locals "insn",
12900         "new_insn", "cur".
12901         (find_shift_sequence): Likewise for locals "shift_seq", "insn".
12902         (replace_read): Likewise for locals "insns", "this_insn".
12903         * dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
12904         (notice_eh_throw): Likewise for param "insn".
12905         (before_next_cfi_note): Likewise for return type, param, and local
12906         "prev".
12907         (connect_traces): Likewise for local "note".
12908         * emit-rtl.c (reset_all_used_flags): Likewise for local "p".
12909         (verify_rtl_sharing): Likewise.
12910         (unshare_all_rtl_in_chain): Likewise for param "insn".
12911         (get_first_nonnote_insn): Likewise for local "insn".
12912         (get_last_nonnote_insn): Likewise.  Introduce local rtx_sequence *
12913         "seq" and use its methods to clarify things.
12914         (next_insn): Strengthen return type from rtx to rtx_insn *.
12915         Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
12916         local rtx_insn * using a checked cast, dropping a checked cast
12917         made redundant by this change.  Use a cast to and method of
12918         rtx_sequence to clarify the code.
12919         (previous_insn): Rename param "insn" to "uncast_insn" and
12920         reintroduce "insn" as a local rtx_insn * using a checked cast,
12921         dropping a checked cast made redundant by this change.  Use a cast
12922         to and method of rtx_sequence to clarify the code.
12923         (next_nonnote_insn): Rename param "insn" to "uncast_insn" and
12924         reintroduce "insn" as a local rtx_insn * using a checked cast,
12925         dropping a checked cast made redundant by this change.
12926         (next_nonnote_insn_bb): Likewise.
12927         (prev_nonnote_insn): Likewise.
12928         (prev_nonnote_insn_bb): Likewise.
12929         (next_nondebug_insn): Likewise.
12930         (prev_nondebug_insn): Likewise.
12931         (next_nonnote_nondebug_insn): Likewise.
12932         (prev_nonnote_nondebug_insn): Likewise.
12933         (next_real_insn): Likewise.
12934         (prev_real_insn): Likewise.
12935         (next_active_insn): Likewise.
12936         (prev_active_insn): Likewise.
12937         (next_cc0_user): Likewise.  Use rtx_sequence and a method for
12938         clarity.
12939         (prev_cc0_setter): Likewise.
12940         (try_split): Rename param "trial" to "uncast_trial" and
12941         reintroduce "insn" as a local rtx_insn * using a checked cast,
12942         dropping checked casts made redundant by this change.
12943         Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
12944         rtx to rtx_insn *.
12945         (remove_insn): Rename param "insn" to "uncast_insn" and
12946         reintroduce "insn" as a local rtx_insn * using a checked cast.
12947         (emit_pattern_after_setloc): Likewise for param "after", as
12948         "uncast_after".
12949         (emit_pattern_after): Likewise.  Strengthen local "prev" from
12950         rtx to rtx_insn *.
12951         (emit_pattern_before_setloc): Rename param "before" to
12952         "uncast_before" and reintroduce "before" as a local rtx_insn *
12953         using a checked cast.  Strengthen locals "first", "last" from
12954         rtx to rtx_insn *.
12955         (emit_pattern_before): Likewise rename/cast param "before" to
12956         "uncast_before". Strengthen local "next" from rtx to rtx_insn *.
12957         * except.c (copy_reg_eh_region_note_forward): Strengthen param
12958         "first" and local "insn" from rtx to rtx_insn *.
12959         (copy_reg_eh_region_note_backward): Likewise for param "last"
12960         and local "insn".
12961         * expr.c (fixup_args_size_notes): Rename param "last" to
12962         "uncast_last" and reintroduce "last" as a local rtx_insn *
12963         using a checked cast.  Strengthen local "insn" from rtx to
12964         rtx_insn *.
12965         * function.c (set_insn_locations): Strengthen param "insn" from
12966         rtx to rtx_insn *.
12967         (record_insns): Likewise for param "insns" and local "tmp".
12968         (active_insn_between): Rename param "tail" to
12969         "uncast_tail" and reintroduce "tail" as a local rtx_insn *
12970         using a checked cast.
12971         (thread_prologue_and_epilogue_insns): Split out top-level local
12972         rtx "seq" into three different rtx_insn * locals.  Strengthen
12973         local "prologue_seq" from rtx to rtx_insn *.
12974         * gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
12975         from rtx to rtx_insn *.
12976         * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
12977         (priority): Likewise for locals "prev_first", "twin".
12978         (setup_insn_max_reg_pressure): Likewise for param "after".
12979         (sched_setup_bb_reg_pressure_info): Likewise.
12980         (no_real_insns_p): Strengthen params from const_rtx to
12981         const rtx_insn *.
12982         (schedule_block): Strengthen local "next_tail" from rtx to
12983         rtx_insn *.
12984         * ifcvt.c (find_active_insn_before): Strengthen return type and
12985         param "insn" from rtx to rtx_insn *.
12986         (find_active_insn_after): Likewise.
12987         (cond_exec_process_insns): Likewise for param "start" and local "insn".
12988         (cond_exec_process_if_block): Likewise for locals "then_start",
12989         "then_end", "else_start", "else_end", "insn", "start", "end", "from".
12990         (noce_process_if_block): Likewise for local "jump".
12991         (merge_if_block): Likewise for two locals named "end".
12992         (cond_exec_find_if_block): Likewise for local "last_insn".
12993         * jump.c (delete_related_insns): Rename param "insn" to
12994         "uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
12995         checked cast.  Strengthen local "p" from rtx to rtx_insn *.
12996         * lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
12997         NULL.
12998         (split_reg): Likewise.
12999         * lra.c (lra_process_new_insns): Likewise.
13000         * modulo-sched.c (permute_partial_schedule): Strengthen param
13001         "last" from rtx to rtx_insn *.
13002         * optabs.c (add_equal_note): Likewise for param "insns" and local
13003         "last_insn".
13004         (expand_binop_directly): Add checked casts to rtx_insn * within
13005         NEXT_INSN (pat) uses.
13006         (expand_unop_direct): Likewise.
13007         (maybe_emit_unop_insn): Likewise.
13008         * recog.c (peep2_attempt): Strengthen locals "last",
13009         "before_try", "x" from rtx to rtx_insn *.
13010         * reorg.c (optimize_skip): Strengthen return type and local
13011         "delay_list" from rtx to rtx_insn_list *.  Strengthen param "insn"
13012         and locals "trial", "next_trial" from rtx to rtx_insn *.
13013         * resource.c (next_insn_no_annul): Strengthen return type and
13014         param "insn" from rtx to rtx_insn *.  Use a cast to and method of
13015         rtx_sequence to clarify the code.
13016         (mark_referenced_resources): Add a checked cast to rtx_insn *
13017         within PREV_INSN (x).
13018         (find_dead_or_set_registers): Strengthen return type, param
13019         "target", locals "insn", "next", "jump_insn", "this_jump_insn"
13020         from rtx to rtx_insn *.  Strengthen param "jump_target" from rtx *
13021         to rtx_insn **.
13022         (mark_target_live_regs): Strengthen params "insns" and "target",
13023         locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
13024         to rtx_insn *.  Use cast to and method of rtx_sequence to clarify
13025         the code.
13026         * resource.h (mark_target_live_regs): Strengthen params 1 and 2
13027         from rtx to rtx_insn *.
13028         * rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
13029         from rtx to rtx_insn *.
13030         (copy_reg_eh_region_note_backward): Likewise.
13031         (unshare_all_rtl_in_chain): Likewise for sole param.
13032         (dump_rtl_slim): Strengthen second and third params from const_rtx
13033         to const rtx_insn *.
13034         * sched-deps.c (sched_free_deps): Strengthen params "head" and
13035         "tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
13036         * sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
13037         "next_tail" from rtx to rtx_insn *.
13038         (begin_move_insn): Likewise for local "next".
13039         * sched-int.h (sched_free_deps): Likewise for first and second
13040         params.
13041         (no_real_insns_p): Strengthen both params from const_rtx to
13042         const rtx_insn *.
13043         (sched_setup_bb_reg_pressure_info): Strengthen second params from
13044         rtx to rtx_insn *.
13045         * sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
13046         "next_tail".
13047         * sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
13048         and locals "insn", "tail" from const_rtx to const rtx_insn *.
13049         (rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
13050         rtx_insn *.
13051         (debug_rtl_slim): Strengthen params "first" and "last" from
13052         const_rtx to const rtx_insn *.
13053         * shrink-wrap.c (try_shrink_wrapping): Strengthen param
13054         "prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
13055         (convert_to_simple_return): Likewise for param "returnjump".
13056         * shrink-wrap.h (try_shrink_wrapping): Likewise for param
13057         "prologue_seq".
13058         (convert_to_simple_return): Likewise for param "returnjump".
13059         * valtrack.c (propagate_for_debug): Likewise for params
13060         "insn", "last".
13061         * valtrack.h (propagate_for_debug): Likewise for second param.
13063 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13065         * output.h (insn_current_reference_address): Strengthen param
13066         from rtx to rtx_insn *.
13067         * final.c (insn_current_reference_address): Likewise.
13069 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13071         * basic-block.h (inside_basic_block_p): Strengthen param from
13072         const_rtx to const rtx_insn *.
13073         * cfgbuild.c (inside_basic_block_p): Likewise.
13075 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13077         * dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
13078         rtx_insn *.
13079         (get_trace_info): Likewise for param "insn".
13080         (save_point_p): Likewise.
13081         (maybe_record_trace_start): Likewise for both params.
13082         (maybe_record_trace_start_abnormal): Likewise.
13083         (create_trace_edges): Likewise for sole param and for three of the
13084         locals named "lab".
13085         (scan_trace): Strengthen local "prev", "insn", "control" from rtx
13086         to rtx_insn *, and update a call to pat->element to pat->insn.
13088 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13090         * function.h (struct expr_status): Convert field "x_forced_labels"
13091         from rtx_expr_list * to rtx_insn_list *.
13093         * cfgbuild.c (make_edges): Convert local "x" from an
13094         rtx_expr_list * to an rtx_insn_list *, replacing use of
13095         "element" method with "insn" method.
13096         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
13097         * except.c (sjlj_emit_dispatch_table): Replace use of
13098         gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
13099         forced_labels.
13100         * jump.c (rebuild_jump_labels_1): Convert local "insn" from an
13101         rtx_expr_list * to an rtx_insn_list *, replacing use of
13102         "element" method with "insn" method.
13103         * reload1.c (set_initial_label_offsets): Likewise for local "x".
13104         * stmt.c (label_rtx): Strengthen local "ref" from rtx to
13105         rtx_insn *, adding a checked cast.  Replace use of
13106         gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
13107         forced_labels.
13108         (expand_label): Likewise for local "label_r".
13110 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13112         * function.h (struct rtl_data): Convert field
13113         "x_nonlocal_goto_handler_labels" from rtx_expr_list * to
13114         rtx_insn_list *.
13115         * rtl.h (remove_node_from_insn_list): New prototype.
13117         * builtins.c (expand_builtin): When prepending to
13118         nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
13119         gen_rtx_EXPR_LIST.
13120         * cfgbuild.c (make_edges): Convert local "x" from rtx_expr_list *
13121         to rtx_insn_list *, and use its "insn" method rather than
13122         "element" method.
13123         * cfgrtl.c (delete_insn): Use new function
13124         remove_node_from_insn_list rather than
13125         remove_node_from_expr_list.
13126         (cfg_layout_initialize): Convert local "x" from rtx_expr_list *
13127         to rtx_insn_list *, and use its "insn" method rather than
13128         "element" method.
13129         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
13130         * reload1.c (set_initial_label_offsets): Likewise for local "x".
13131         * rtlanal.c (remove_node_from_insn_list): New function, adapted
13132         from remove_node_from_expr_list.
13133         * stmt.c (expand_label): When prepending to
13134         nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
13135         gen_rtx_EXPR_LIST.
13137 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13139         * function.h (struct rtl_data): Strengthen fields "x_return_label"
13140         and "x_naked_return_label" from rtx to rtx_code_label *.
13142 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13144         * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *.
13145         (SET_NEXT_INSN): Likewise.
13146         (gen_rtvec_v): Add an overload for param types (int, rtx_insn **).
13148         * config/c6x/c6x.c (gen_one_bundle): Strengthen param "slot" from
13149         rtx * to rtx_insn **.  Introduce a new local rtx "seq", using it
13150         to split out the SEQUENCE from local "bundle", strengthening the
13151         latter from rtx to rtx_insn * to hold the insn holding the SEQUENCE.
13152         Strengthen locals "t" and "insn" from rtx to rtx_insn *.
13153         (c6x_gen_bundles): Strengthen locals "insn", "next", "last_call"
13154         and the type of the elements of the "slot" array from rtx to
13155         rtx_insn *.
13156         (reorg_split_calls): Likewise for locals "insn" and "next", and
13157         the type of the elements of the "slot" array.
13159         * config/frv/frv.c (frv_nops): Likewise for the elements of this
13160         array.
13161         (frv_function_prologue): Likewise for locals "insn", "next",
13162         "last_call".
13163         (frv_register_nop): Introduce a local "nop_insn" to be the
13164         rtx_insn * containing rtx "nop".
13166         * config/mep/mep.c (mep_make_bundle): Param "core" is sometimes
13167         used as an insn and sometimes as a pattern, so rename it to
13168         "core_insn_or_pat", and introduce local rtx_insn * "core_insn",
13169         using it where dealing with the core insn.
13171         * config/picochip/picochip.c (reorder_var_tracking_notes):
13172         Strengthen locals "insn", "next", "last_insn", "queue",
13173         "next_queue", "prev" from rtx to rtx_insn *.
13175         * emit-rtl.c (gen_rtvec_v): Add overloaded implementation for when
13176         the second param is an rtx_insn ** rather than an rtx **.
13177         (link_insn_into_chain): Strengthen locals "seq" and "sequence"
13178         from rtx to rtx_sequence *, and introduce local named "sequence",
13179         using methods of rtx_sequence to clarify the code.
13180         (remove_insn): Introduce local rtx_sequence * named "sequence" and
13181         use its methods.
13182         (emit_insn_after_1): Strengthen return type from rtx to rtx_insn *.
13183         Rename param "after" to "uncast_after", reintroducing "after" as a
13184         local rtx_insn * with a checked cast.
13185         (emit_pattern_after_noloc): Rename param "after" to "uncast_after",
13186         reintroducing "after" as a local rtx_insn * with a checked cast.
13187         Strengthen local "last" from rtx to rtx_insn * and remove the
13188         now-redundant checked casts.
13189         (copy_delay_slot_insn): Strengthen return type and param from rtx
13190         to rtx_insn *.
13192         * haifa-sched.c (reemit_notes): Strengthen params "insn" and
13193         "last" from rtx to rtx_insn *.
13195 2014-08-28  David Malcolm  <dmalcolm@redhat.com>
13197         * emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
13198         param from rtx to rtx_insn *.
13200         * emit-rtl.c (copy_delay_slot_insn): Likewise.
13202         * reorg.c (skip_consecutive_labels): Strengthen return type, param
13203         and local "insn" from rtx to rtx_insn *.
13204         (unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
13205         (unfilled_slots_next): Likewise.
13206         (function_return_label): Strengthen from rtx to rtx_code_label *.
13207         (function_simple_return_label): Likewise.
13208         (first_active_target_insn): Strengthen return type and param from
13209         rtx to rtx_insn *.
13210         (find_end_label): Strengthen return type from rtx to
13211         rtx_code_label *; strengthen locals as appropriate.
13212         (emit_delay_sequence): Strengthen return type, param "insn" and
13213         local "seq_insn" from rtx to rtx_insn *.  Strengthen param "list"
13214         and local "li" from rtx to rtx_insn_list *, using methods of
13215         rtx_insn_list for clarity and typesafety.
13216         (add_to_delay_list): Strengthen return type and param "insn" from
13217         rtx to rtx_insn *.  Strengthen param "delay_list" from rtx to
13218         rtx_insn_list * and use methods of rtx_insn_list.
13219         (delete_from_delay_slot): Strengthen return type, param "insn",
13220         locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
13221         Strengthen local "seq" from rtx to rtx_sequence *, and local
13222         "delay_list" from rtx to rtx_insn_list *, using methods of
13223         rtx_sequence for clarity and type-safety.
13224         (delete_scheduled_jump): Add checked cast when invoking
13225         delete_from_delay_slot.  Strengthen local "trial" from rtx to
13226         rtx_insn *.
13227         (optimize_skip): Strengthen return type and local "delay_list"
13228         from rtx to rtx_insn_list *.  Strengthen local "trial" from rtx to
13229         rtx_insn *.
13230         (steal_delay_list_from_target): Strengthen return type, param
13231         "delay_list" and local "new_delay_list" from rtx to
13232         rtx_insn_list *.  Strengthen param "seq" from rtx to
13233         rtx_sequence *.  Strengthen param "pnew_thread" from rtx * to
13234         rtx_insn **.
13235         Split out local "temp" into multiple more-tightly scoped locals:
13236         sometimes an rtx_insn_list *, and once a rtx_insn *.  Use methods
13237         of rtx_insn_list and rtx_sequence for clarity and typesafety.
13238         Strengthen locals named "trial" from rtx to rtx_insn *.
13239         (steal_delay_list_from_fallthrough): Strengthen return type and
13240         param "delay_list" from rtx to rtx_insn_list *.  Strengthen param
13241         "seq" from rtx to rtx_sequence *.  Use methods of rtx_sequence.
13242         Strengthen local "trial" from rtx to rtx_insn *.
13243         (try_merge_delay_insns): Strength local "merged_insns" from rtx
13244         to rtx_insn_list * and use its methods.  Strengthen local "pat"
13245         from rtx to rtx_sequence * and use its methods.  Strengthen locals
13246         "dtrial" and "new_rtx" from rtx to rtx_insn *.
13247         (get_label_before): Strengthen return type and local "label" from
13248         rtx to rtx_insn *.
13249         (fill_simple_delay_slots): Likewise for locals "insn", "trial",
13250         "next_trial", "next", prev".  Strengthen local "delay_list" from
13251         rtx to rtx_insn_list *  Strengthen local "tmp" from rtx * to
13252         rtx_insn **.
13253         (follow_jumps): Strengthen return type, param "label" and locals
13254         "insn", "next", "value", "this_label" from rtx to rtx_insn *.
13255         (fill_slots_from_thread): Strengthen return type, param
13256         "delay_list" from rtx to rtx_insn_list *.  Strengthen params
13257         "insn", "thread", "opposite_thread" and locals "new_thread",
13258         "trial", "temp", "ninsn" from rtx to rtx_insn *.  Introduce local
13259         "sequence" from a checked cast to rtx_sequence so that we can call
13260         steal_delay_list_from_target and steal_delay_list_from_fallthrough
13261         with an rtx_sequence *.
13262         (fill_eager_delay_slots): Strengthen locals "insn", "target_label",
13263         "insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
13264         Strengthen local "delay_list" from rtx to rtx_insn_list *.
13265         (relax_delay_slots): Strengthen param "first" and locals "insn",
13266         "next", "trial", "delay_insn", "target_label" from rtx to
13267         rtx_insn *.  Strengthen local "pat" from rtx to rtx_sequence *.
13268         Introduce a local "trial_seq" for PATTERN (trial) of type
13269         rtx_sequence *, in both cases using methods of rtx_sequence.
13270         (dbr_schedule): Strengthen param "first" and locals "insn",
13271         "next", "epilogue_insn" from rtx to rtx_insn *.
13273 2014-08-28  Richard Biener  <rguenther@suse.de>
13275         PR tree-optimization/62283
13276         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
13277         Do not peel loops for alignment where the vector loop likely
13278         doesn't run at least VF times.
13280 2014-08-28  Bin Cheng  <bin.cheng@arm.com>
13282         * tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
13283         important_candidates.  Consider all important candidates if
13284         IVS doesn't give any result.  Remove check on ivs->upto.
13285         (try_add_cand_for): Call iv_ca_add_use only once.
13287 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13288             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13289             Anna Tikhonova  <anna.tikhonova@intel.com>
13290             Ilya Tocar  <ilya.tocar@intel.com>
13291             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13292             Ilya Verbin  <ilya.verbin@intel.com>
13293             Kirill Yukhin  <kirill.yukhin@intel.com>
13294             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13296         (define_mode_iterator VI12_AVX2): Add V64QI and V32HI modes.
13297         (define_expand "<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Add
13298         masking.
13299         (define_insn "*<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Ditto.
13300         (define_expand "<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
13301         (define_insn "*<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
13302         (define_insn "*mul<mode>3"): Add EVEX version.
13304 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13305             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13306             Anna Tikhonova  <anna.tikhonova@intel.com>
13307             Ilya Tocar  <ilya.tocar@intel.com>
13308             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13309             Ilya Verbin  <ilya.verbin@intel.com>
13310             Kirill Yukhin  <kirill.yukhin@intel.com>
13311             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13313         * config/i386/sse.md
13314         (define_insn "avx512bw_interleave_highv64qi<mask_name>"): New.
13315         (define_insn "avx2_interleave_highv32qi<mask_name>"): Add masking.
13316         (define_insn "vec_interleave_highv16qi<mask_name>"): Ditto.
13317         (define_insn "avx2_interleave_lowv32qi<mask_name>"): Ditto.
13318         (define_insn "vec_interleave_lowv16qi<mask_name>"): Ditto.
13319         (define_insn "avx2_interleave_highv16hi<mask_name>"): Ditto.
13320         (define_insn "vec_interleave_highv8hi<mask_name>"): Ditto.
13321         (define_insn "avx2_interleave_lowv16hi<mask_name>"): Ditto.
13322         (define_insn "vec_interleave_lowv8hi<mask_name>"): Ditto.
13323         (define_insn "avx2_interleave_highv8si<mask_name>"): Ditto.
13324         (define_insn "vec_interleave_highv4si<mask_name>"): Ditto.
13325         (define_insn "avx2_interleave_lowv8si<mask_name>"): Ditto.
13326         (define_insn "vec_interleave_lowv4si<mask_name>"): Ditto.
13327         (define_insn "vec_interleave_highv16qi<mask_name>"): New.
13328         (define_insn "avx512bw_interleave_highv32hi<mask_name>"): Ditto.
13329         (define_insn "<mask_codefor>avx512bw_interleave_lowv32hi<mask_name>"): Ditto.
13331 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13332             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13333             Anna Tikhonova  <anna.tikhonova@intel.com>
13334             Ilya Tocar  <ilya.tocar@intel.com>
13335             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13336             Ilya Verbin  <ilya.verbin@intel.com>
13337             Kirill Yukhin  <kirill.yukhin@intel.com>
13338             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13340         * config/i386/sse.md
13341         (define_mode_iterator VIMAX_AVX2): Add V4TI mode.
13342         (define_insn "<sse2_avx2>_ashl<mode>3"): Add EVEX version.
13343         (define_insn "<sse2_avx2>_lshr<mode>3"): Ditto.
13345 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13346             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13347             Anna Tikhonova  <anna.tikhonova@intel.com>
13348             Ilya Tocar  <ilya.tocar@intel.com>
13349             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13350             Ilya Verbin  <ilya.verbin@intel.com>
13351             Kirill Yukhin  <kirill.yukhin@intel.com>
13352             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13354         * config/i386/sse.md
13355         (define_mode_iterator VI128_256): New.
13356         (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
13358 2014-08-28  Alexander Ivchenko  <alexander.ivchenko@intel.com>
13359             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
13360             Anna Tikhonova  <anna.tikhonova@intel.com>
13361             Ilya Tocar  <ilya.tocar@intel.com>
13362             Andrey Turetskiy  <andrey.turetskiy@intel.com>
13363             Ilya Verbin  <ilya.verbin@intel.com>
13364             Kirill Yukhin  <kirill.yukhin@intel.com>
13365             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
13367         * config/i386/sse.md
13368         (define_mode_iterator VI8_256_512): New.
13369         (define_insn "<mask_codefor>avx512dq_cvtps2qq<mode><mask_name><round_name>"):
13370         Ditto.
13371         (define_insn "<mask_codefor>avx512dq_cvtps2qqv2di<mask_name>"): Ditto.
13372         (define_insn "<mask_codefor>avx512dq_cvtps2uqq<mode><mask_name><round_name>"):
13373         Ditto.
13374         (define_insn "<mask_codefor>avx512dq_cvtps2uqqv2di<mask_name>"): Ditto.
13376 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13378         * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx.  Remove the
13379         pointer to the cumulative reloc value and return the value for
13380         this reloc instead.
13381         (compute_reloc_for_rtx): Take a const_rtx.  Call
13382         compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
13383         avoiding any recursion.  Use FOR_EACH_SUBRTX rather than
13384         for_each_rtx for the CONST case.
13386 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13388         * varasm.c (mark_constant): Replace this for_each_rtx callback with...
13389         (mark_constants_in_pattern): ...this new function to iterate over
13390         all the subrtxes.
13391         (mark_constants): Update accordingly.
13393 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13395         * varasm.c: Include rtl-iter.h.
13396         (const_rtx_hash_1): Take a const_rtx rather than an rtx *.
13397         Remove the pointer to the cumulative hashval_t and just return
13398         the hash for this rtx instead.  Remove recursive CONST_VECTOR case.
13399         (const_rtx_hash): Use FOR_EACH_SUBRTX instead of for_each_rtx.
13400         Accumulate the hashval_ts here instead of const_rtx_hash_1.
13402 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13404         * var-tracking.c (add_uses): Take an rtx rather than an rtx *.
13405         Give real type of data parameter.  Remove return value.
13406         (add_uses_1): Use FOR_EACH_SUBRTX_VAR rather than for_each_rtx
13407         to iterate over subrtxes.
13409 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13411         * var-tracking.c (use_narrower_mode_test): Turn from being a
13412         for_each_rtx callback to being a function that examines each
13413         subrtx itself.
13414         (adjust_mems): Update accordingly.
13416 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13418         * var-tracking.c (non_suitable_const): Turn from being a for_each_rtx
13419         callback to being a function that examines each subrtx itself.
13420         Remove handling of null rtxes.
13421         (add_uses): Update accordingly.
13423 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13425         * var-tracking.c: Include rtl-iter.h.
13426         (rtx_debug_expr_p): Turn from being a for_each_rtx callback
13427         to being a function that examines each subrtx itself.
13428         (use_type): Update accordingly.
13430 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13432         * store-motion.c: Include rtl-iter.h.
13433         (extract_mentioned_regs_1): Delete.
13434         (extract_mentioned_regs): Use FOR_EACH_SUBRTX_VAR rather than
13435         for_each_rtx to iterate over subrtxes.
13437 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13439         * sel-sched.c: Include rtl-iter.h
13440         (count_occurrences_1): Delete.
13441         (count_occurrences_equiv): Turn rtxes into const_rtxes.
13442         Use FOR_EACH_SUBRTX rather than for_each_rtx.
13444 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13446         * rtl.h (tls_referenced_p): Take a const_rtx rather than an rtx.
13447         * rtlanal.c (tls_referenced_p_1): Delete.
13448         (tls_referenced_p): Take a const_rtx rather than an rtx.
13449         Use FOR_EACH_SUBRTX rather than for_each_rtx.
13451 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13453         * rtl.h (for_each_inc_dec_fn): Remove special case for -1.
13454         (for_each_inc_dec): Take an rtx rather than an rtx *.
13455         * cselib.c (cselib_record_autoinc_cb): Update accordingly.
13456         (cselib_record_sets): Likewise.
13457         * dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
13458         (check_for_inc_dec): Likewise.
13459         * rtlanal.c (for_each_inc_dec_ops): Delete.
13460         (for_each_inc_dec_find_inc_dec): Take the MEM as argument,
13461         rather than a pointer to the memory address.  Replace
13462         for_each_inc_dec_ops argument with separate function and data
13463         arguments.  Abort on non-autoinc addresses.
13464         (for_each_inc_dec_find_mem): Delete.
13465         (for_each_inc_dec): Take an rtx rather than an rtx *.  Use
13466         FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.
13468 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13470         * rtl.h (find_all_hard_regs): Declare.
13471         * rtlanal.c (find_all_hard_regs): New function.
13472         (record_hard_reg_uses_1): Delete.
13473         (record_hard_reg_uses): Use find_all_hard_regs.
13475 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13477         * rtl.h (replace_label_data): Delete.
13478         (replace_label): Take the old label, new label and update-nuses flag
13479         as direct arguments.  Return void.
13480         * cfgcleanup.c (outgoing_edges_match): Update accordingly.
13481         * rtlanal.c (replace_label): Update interface as above.  Handle
13482         JUMP_TABLE_DATA as a special case.  Handle JUMPs outside the
13483         iterator.  Use FOR_EACH_SUBRTX_PTR.
13485 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13487         * rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
13488         with const_rtx parameters.
13489         * varasm.c (get_pool_constant): Likewise.
13490         * rtlanal.c (rtx_referenced_p_1): Delete.
13491         (rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
13492         Assert that the rtx we're looking for is nonnull.  Allow searches
13493         for constant pool SYMBOL_REFs.
13495 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13497         * reload1.c: Include rtl-iter.h.
13498         (note_reg_elim_costly): Turn from being a for_each_rtx callback
13499         to being a function that examines each subrtx itself.
13500         (eliminate_regs_1, elimination_costs_in_insn): Update accordingly.
13502 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13504         * regcprop.c (cprop_find_used_regs_1): Delete.
13505         (cprop_find_used_regs): Use FOR_EACH_SUBRTX instead of for_each_rtx.
13507 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13509         * regcprop.c: Include rtl-iter.h.
13510         (kill_value): Take a const_rtx.
13511         (kill_autoinc_value): Turn from being a for_each_rtx callback
13512         to being a function that examines each subrtx itself.
13513         (copyprop_hardreg_forward_1): Update accordingly.
13515 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13517         * reg-stack.c: Include rtl-iter.h.
13518         (subst_stack_regs_in_debug_insn): Delete.
13519         (subst_all_stack_regs_in_debug_insn): Use FOR_EACH_SUBRTX_PTR
13520         instead of for_each_rtx.
13522 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13524         * lower-subreg.c (find_decomposable_subregs): Turn from being
13525         a for_each_rtx callback to being a function that examines each
13526         subrtx itself.  Remove handling of null rtxes.
13527         (decompose_multiword_subregs): Update accordingly.
13529 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13531         * lower-subreg.c (adjust_decomposed_uses): Delete.
13532         (resolve_debug): Use FOR_EACH_SUBRTX_PTR rather than for_each_rtx.
13533         Remove handling of null rtxes.
13535 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13537         * lower-subreg.c: Include rtl-iter.h.
13538         (resolve_subreg_use): Turn from being a for_each_rtx callback
13539         to being a function that examines each subrtx itself.  Remove
13540         handling of null rtxes.
13541         (resolve_reg_notes, resolve_simple_move): Update accordingly.
13542         (decompose_multiword_subregs): Likewise.
13544 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13546         * loop-iv.c (altered_reg_used): Turn from being a for_each_rtx callback
13547         to being a function that examines each subrtx itself.
13548         (simplify_using_condition, simplify_using_initial_values): Update
13549         accordingly.
13551 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13553         * loop-iv.c: Include rtl-iter.h.
13554         (find_single_def_src): New function.
13555         (replace_single_def_regs): Turn from being a for_each_rtx callback
13556         to being a function that examines each subrtx itself.
13557         (replace_in_expr, simplify_using_initial_values): Update accordingly.
13559 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13561         * jump.c (eh_returnjump_p_1): Delete.
13562         (eh_returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
13563         Remove handling of null rtxes.
13565 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13567         * jump.c: Include rtl-iter.h.
13568         (returnjump_p_1): Delete.
13569         (returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
13570         Remove handling of null rtxes.
13572 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13574         * ira.c: Include rtl-iter.h.
13575         (set_paradoxical_subreg): Turn from being a for_each_rtx callback
13576         to being a function that examines each subrtx itself.  Remove
13577         handling of null rtxes.
13578         (update_equiv_regs): Update call accordingly.
13580 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13582         * fwprop.c: Include rtl-iter.h.
13583         (varying_mem_p): Turn from being a for_each_rtx callback to being
13584         a function that examines each subrtx itself.
13585         (propagate_rtx): Update accordingly.
13587 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13589         * function.c: Include rtl-iter.h
13590         (instantiate_virtual_regs_in_rtx): Turn from being a for_each_rtx
13591         callback to being a function that examines each subrtx itself.
13592         Return the changed flag.
13593         (instantiate_virtual_regs_in_insn, instantiate_decl_rtl)
13594         (instantiate_virtual_regs): Update calls accordingly.
13596 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13598         * final.c: Include rtl-iter.h.
13599         (mark_symbol_ref_as_used): Delete.
13600         (mark_symbol_refs_as_used): Use FOR_EACH_SUBRTX instead of
13601         for_each_rtx.
13603 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13605         * emit-rtl.c: Include rtl-iter.h.
13606         (find_auto_inc): Turn from being a for_each_rtx callback to being
13607         a function that examines each subrtx itself.  Assume the first operand
13608         to an RTX_AUTOINC is the automodified register.
13609         (try_split): Update call accordingly.
13611 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13613         * dwarf2out.c (resolve_one_addr): Remove unused data parameter.
13614         Return a bool, inverting the result so that 0/false means "not ok".
13615         Use FOR_EACH_SUBRTX_PTR instead of for_each_rtx to iterate over
13616         subrtxes of a CONST.
13617         (mem_loc_descriptor, add_const_value_attribute)
13618         (resolve_addr_in_expr): Update calls accordingly.
13620 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13622         * dwarf2out.c: Include rtl-iter.h.
13623         (const_ok_for_output_1): Take the rtx instead of a pointer to it.
13624         Remove unused data parameter.  Return a bool, inverting the result
13625         so that 0/false means "not ok".
13626         (const_ok_for_output): Update accordingly.  Use FOR_EACH_SUBRTX_VAR
13627         instead of for_each_rtx.
13629 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13631         * dse.c: Include rtl-iter.h.
13632         (check_mem_read_rtx): Change void * parameter to real type.
13633         Remove return value.
13634         (check_mem_read_use): Fix comment.  Use FOR_EACH_SUBRTX_PTR instead of
13635         for_each_rtx.  Don't handle null rtxes.
13637 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13639         * df-problems.c: Include rtl-iter.h.
13640         (find_memory): Turn from being a for_each_rtx callback to being
13641         a function that examines each subrtx itself.  Continue to look for
13642         volatile references even after a nonvolatile one has been found.
13643         (can_move_insns_across): Update calls accordingly.
13645 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13647         * ddg.c (walk_mems_2, walk_mems_1): Delete.
13648         (insns_may_alias_p): Use FOR_EACH_SUBRTX rather than for_each_rtx
13649         to iterate over subrtxes.  Return a bool rather than an int.
13651 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13653         * ddg.c: Include rtl-iter.h.
13654         (mark_mem_use_1): Rename to...
13655         (mark_mem_use): ...deleting old mark_mem_use.  Use FOR_EACH_SUBRTX
13656         instead of for_each_rtx.
13657         (mem_read_insn_p): Update accordingly.
13659 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13661         * cse.c (change_cc_mode_args): Delete.
13662         (cse_change_cc_mode): Turn from being a for_each_rtx callback to being
13663         a function that examines each subrtx itself.  Take the fields of
13664         change_cc_mode_args as argument and return void.
13665         (cse_change_cc_mode_insn): Update calls accordingly.
13667 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13669         * cse.c (is_dead_reg): Change argument to const_rtx.
13670         (dead_debug_insn_data): Delete.
13671         (is_dead_debug_insn): Expand commentary.  Turn from being a
13672         for_each_rtx callback to being a function that examines
13673         each subrtx itself.  Take the fields of dead_debug_insn_data
13674         as argument.
13675         (delete_trivially_dead_insns): Update call accordingly.
13677 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13679         * cse.c (check_for_label_ref): Move earlier in file.  Turn from
13680         being a for_each_rtx callback to being a function that examines
13681         each subrtx itself.
13682         (cse_extended_basic_block): Update call accordingly.
13684 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13686         * cse.c (check_dependence_data): Delete.
13687         (check_dependence): Change from being a for_each_rtx callback to being
13688         a function that examines all subrtxes itself.  Don't handle null rtxes.
13689         (invalidate): Update call accordingly.
13691 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13693         * cse.c: Include rtl-iter.h.
13694         (approx_reg_cost_1): Delete.
13695         (approx_reg_cost): Use FOR_EACH_SUBRTX instead of for_each_rtx.
13696         Don't handle null rtxes.
13698 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13700         * cfgcleanup.c: Include rtl-iter.h.
13701         (mentions_nonequal_regs): Turn from being a for_each_rtx callback
13702         to being a function that examines each subrtx itself.
13703         (thread_jump): Update accordingly.
13705 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13707         * combine-stack-adj.c: Include rtl-iter.h.
13708         (record_stack_refs_data): Delete.
13709         (record_stack_refs): Turn from being a for_each_rtx callback
13710         to being a function that examines each subrtx itself.
13711         Take a pointer to the reflist.  Invert sense of return value
13712         so that true means success and false means failure.  Don't
13713         handle null rtxes.
13714         (combine_stack_adjustments_for_block): Update accordingly.
13716 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13718         * combine.c (record_truncated_value): Turn from being a for_each_rtx
13719         callback to a function that takes an rtx and returns a bool
13720         (record_truncated_values): Use FOR_EACH_SUBRTX_VAR instead of
13721         for_each_rtx.
13723 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13725         * combine.c: Include rtl-iter.h.
13726         (unmentioned_reg_p_1): Delete.
13727         (unmentioned_reg_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
13728         Don't handle null rtxes.
13730 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13732         * calls.c: Include rtl-iter.h.
13733         (internal_arg_pointer_based_exp_1): Delete.
13734         (internal_arg_pointer_based_exp): Take a const_rtx.
13735         Use FOR_EACH_SUBRTX to iterate over subrtxes.
13737 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13739         * caller-save.c: Include rtl-iter.h.
13740         (add_used_regs_1): Delete.
13741         (add_used_regs): Use FOR_EACH_SUBRTX rather than for_each_rtx
13742         to iterate over subrtxes.  Assert that any remaining pseudos
13743         have been spilled.
13745 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13747         * bt-load.c: Include rtl-iter.h.
13748         (btr_reference_found, find_btr_reference, btr_referenced_p): Delete.
13749         (find_btr_use): Move further up file.  Use FOR_EACH_SUBRTX_PTR
13750         to iterate over subrtxes.
13751         (insn_sets_btr_p, new_btr_user, compute_defs_uses_and_gen): Use
13752         find_btr_use rather than btr_referenced_p.
13754 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13756         * alias.c: Include rtl-iter.h.
13757         (refs_newer_value_cb): Delete.
13758         (refs_newer_value_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
13760 2014-08-28  Richard Sandiford  <rdsandiford@googlemail.com>
13762         * rtl-iter.h: New file.
13763         * rtlanal.c: Include it.
13764         (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables.
13765         (generic_subrtx_iterator <T>::add_single_to_queue)
13766         (generic_subrtx_iterator <T>::add_subrtxes_to_queue)
13767         (generic_subrtx_iterator <T>::free_array): New functions.
13768         (generic_subrtx_iterator <T>::LOCAL_ELEMS): Define.
13769         (generic_subrtx_iterator <const_rtx_accessor>)
13770         (generic_subrtx_iterator <rtx_var_accessor>
13771         (generic_subrtx_iterator <rtx_ptr_accessor>): Instantiate.
13772         (setup_reg_subrtx_bounds): New function.
13773         (init_rtlanal): Call it.
13775 2014-08-27  Kaz Kojima  <kkojima@gcc.gnu.org>
13777         PR target/62261
13778         * config/sh/sh.md (ashlsi3): Handle negative shift count for
13779         TARGET_SHMEDIA.
13780         (ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
13782 2014-08-27  Richard Sandiford  <rdsandiford@googlemail.com>
13784         * emit-rtl.c (set_unique_reg_note): Discard notes with side effects.
13786 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13788         * rtl.h (JUMP_LABEL_AS_INSN): New.
13790 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13792         * rtl.h (free_EXPR_LIST_list): Strengthen param from rtx * to
13793         rtx_expr_list **.
13794         (alloc_EXPR_LIST): Strengthen return type from rtx to
13795         rtx_expr_list *.
13796         (remove_free_EXPR_LIST_node): Likewise for param.
13797         * reload.h (struct reg_equivs_t): Strengthen field "alt_mem_list"
13798         from rtx to rtx_expr_list *.
13799         * sched-int.h (struct deps_desc): Strengthen fields
13800         "pending_read_mems" and "pending_write_mems" from rtx to
13801         rtx_expr_list *.
13803         * dwarf2out.c (decl_piece_varloc_ptr): Strengthen return type from
13804         rtx to rtx_expr_list *.
13805         * lists.c (alloc_INSN_LIST): Likewise, also for local "r".
13806         (free_EXPR_LIST_list): Strengthen param "listp" from rtx * to
13807         rtx_expr_list **.
13808         (remove_free_EXPR_LIST_node): Likewise.  Strengthen local "node"
13809         from rtx to rtx_expr_list *.
13810         * loop-iv.c (simplify_using_initial_values): Strengthen local
13811         "cond_list" from rtx to rtx_expr_list *, and locals "pnode",
13812         "pnote_next" from rtx * to rtx_expr_list **.
13813         * sched-deps.c (remove_from_both_dependence_lists):  Strengthen
13814         param "exprp" from rtx * to rtx_expr_list **.
13815         (add_insn_mem_dependence): Strengthen local "mem_list" from
13816         rtx * to rtx_expr_list **.  Strengthen local "mem_node" from rtx
13817         to rtx_expr_list *.
13818         * sched-rgn.c (concat_insn_mem_list): Strengthen param "copy_mems"
13819         and local "new_mems" from rtx to rtx_expr_list *.  Strengthen
13820         param "old_mems_p" from rtx * to rtx_expr_list **.
13821         * var-tracking.c (struct adjust_mem_data): Strengthen field
13822         "side_effects" from rtx to rtx_expr_list *.
13823         (adjust_insn): Replace NULL_RTX with NULL when assigning to
13824         rtx_expr_list *.
13825         (prepare_call_arguments): Likewise.
13827 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13829         * function.h (struct rtl_data): Strengthen field
13830         "x_stack_slot_list" from rtx to rtx_expr_list *.
13832         * emit-rtl.c (unshare_all_rtl_1): Add a checked cast
13833         when assigning to stack_slot_list.
13835 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13837         * function.h (struct rtl_data): Strengthen field
13838         x_nonlocal_goto_handler_labels from rtx to rtx_expr_list *.
13839         * rtl.h (remove_node_from_expr_list): Strengthen second param from
13840         rtx * to rtx_expr_list **.
13842         * cfgbuild.c (make_edges): In loop over
13843         nonlocal_goto_handler_labels, strengthen local "x" from rtx to
13844         rtx_expr_list *, and use methods of the latter class to clarify
13845         the code.
13846         * cfgrtl.c (cfg_layout_initialize): Strengthen local "x" from rtx to
13847         rtx_expr_list *, and use methods of the latter class to clarify
13848         the code.
13849         * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
13850         * reload1.c (set_initial_label_offsets): Likewise for local "x".
13851         * rtlanal.c (remove_node_from_expr_list): Strengthen param "listp"
13852         from rtx * to rtx_expr_list **.  Strengthen local "temp" from rtx
13853         to rtx_expr_list *.  Use methods of the latter class to clarify
13854         the code.
13856 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13858         * function.h (struct expr_status): Strengthen field
13859         "x_forced_labels" from rtx to rtx_expr_list *.
13861         * cfgbuild.c (make_edges): Split local "x" into two locals,
13862         strengthening one from rtx to rtx_expr_list *, and using methods
13863         of said class.
13864         * dwarf2cfi.c (create_trace_edges): Split local "lab" out; within
13865         loop over forced_labels, introduce strengthen it from rtx to
13866         rtx_expr_list *, using methods to clarify the code.
13867         * jump.c (rebuild_jump_labels_1): Strengthen local "insn" from rtx
13868         to rtx_expr_list *, using methods of said class to clarify the
13869         code.
13870         * reload1.c (set_initial_label_offsets): Split local "x" into two
13871         per-loop variables, strengthening the first from rtx to
13872         rtx_expr_list * and using methods.
13874 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13876         * coretypes.h (class rtx_expr_list): Add forward declaration.
13877         * emit-rtl.c (gen_rtx_EXPR_LIST): New.
13878         * gengenrtl.c (special_rtx): Add EXPR_LIST.
13879         * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding
13880         invariant: GET_CODE (X) == EXPR_LIST.
13881         (is_a_helper <rtx_expr_list *>::test): New.
13882         (rtx_expr_list::next): New.
13883         (rtx_expr_list::element): New.
13884         (gen_rtx_EXPR_LIST): New.
13886 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13888         * varasm.c (mark_constants): Convert a GET_CODE check into a
13889         dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
13890         Use methods of rtx_sequence to clarify the code.
13892 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13894         * sched-vis.c (print_pattern): Within SEQUENCE case, introduce a
13895         local "seq" via a checked cast, and use methods of rtx_sequence
13896         to simplify the code.
13898 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13900         * resource.c (mark_referenced_resources): Strengthen local
13901         "sequence" from rtx to rtx_sequence *, adding a checked cast, and
13902         using methods of rtx_sequence to clarify the code.
13903         (find_dead_or_set_registers): Within the switch statement, convert
13904         a GET_CODE check to a dyn_cast, introducing local "seq".  Within
13905         the JUMP_P handling, introduce another local "seq", adding a
13906         checked cast to rtx_sequence *.  In both cases, use methods of
13907         rtx_sequence to clarify the code.
13908         (mark_set_resources): Within SEQUENCE case, introduce local "seq"
13909         via a checked cast, and use methods of rtx_sequence to simplify
13910         the code.
13912 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13914         * reorg.c (redundant_insn): In two places in the function, replace
13915         a check of GET_CODE with a dyn_cast, introducing local "seq", and
13916         usings methods of rtx_sequence to clarify the code.
13918 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13920         * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
13921         local "seq" with a checked cast, and use methods of rtx_sequence
13922         to clarify the code.
13924 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13926         * function.c (contains): Introduce local "seq" for PATTERN (insn),
13927         with a checked cast, in the region for where we know it's a
13928         SEQUENCE.  Use methods of rtx_sequence.
13930 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13932         * final.c (get_attr_length_1): Replace GET_CODE check with a
13933         dyn_cast, introducing local "seq" and the use of methods of
13934         rtx_sequence.
13935         (shorten_branches): Likewise, introducing local "body_seq".
13936         Strengthen local "inner_insn" from rtx to rtx_insn *.
13937         (reemit_insn_block_notes): Replace GET_CODE check with a
13938         dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
13939         Use methods of rtx_sequence.
13940         (final_scan_insn): Likewise, introducing local "seq" for when
13941         "body" is known to be a SEQUENCE, using its methods.
13943 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13945         * except.c (can_throw_external): Strengthen local "seq" from rtx
13946         to rtx_sequence *.  Use methods of rtx_sequence.
13947         (insn_nothrow_p): Likewise.
13949 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13951         * dwarf2cfi.c (create_trace_edges): Convert GET_CODE check into a
13952         dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
13953         Use methods of rtx_sequence.
13954         (scan_trace): Likewise for local "pat".
13956 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13958         * coretypes.h (class rtx_sequence): Add forward declaration.
13959         * rtl.h (class rtx_sequence): New subclass of rtx_def, adding
13960         invariant: GET_CODE (X) == SEQUENCE.
13961         (is_a_helper <rtx_sequence *>::test): New.
13962         (is_a_helper <const rtx_sequence *>::test): New.
13963         (rtx_sequence::len): New.
13964         (rtx_sequence::element): New.
13965         (rtx_sequence::insn): New.
13967 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
13969         * rtl.h (free_INSN_LIST_list): Strengthen param from rtx * to
13970         rtx_insn_list **.
13971         (alloc_INSN_LIST): Strengthen return type from rtx to
13972         rtx_insn_list *.
13973         (copy_INSN_LIST): Likewise for return type and param.
13974         (concat_INSN_LIST): Likewise for both params and return type.
13975         (remove_free_INSN_LIST_elem): Strenghten first param from rtx to
13976         rtx_insn *.  Strengthen second param from rtx * to rtx_insn_list **.
13977         (remove_free_INSN_LIST_node): Strenghten return type from rtx to
13978         rtx_insn *.  Strengthen param from rtx * to rtx_insn_list **.
13980         * sched-int.h (struct deps_reg): Strengthen fields "uses", "sets",
13981         "implicit_sets", "control_uses", "clobbers" from rtx to
13982         rtx_insn_list *.
13983         (struct deps_desc): Likewise for fields "pending_read_insns",
13984         "pending_write_insns", "pending_jump_insns",
13985         "last_pending_memory_flush", "last_function_call",
13986         "last_function_call_may_noreturn", "sched_before_next_call",
13987         "sched_before_next_jump".
13988         (struct _haifa_deps_insn_data): Likewise for field "cond_deps".
13989         (remove_from_deps): Strengthen second param from rtx to rtx_insn *.
13991         * gcse.c (struct ls_expr): Strengthen fields "loads" and "stores"
13992         from rtx to rtx_insn_list *.
13993         (ldst_entry): Replace use of NULL_RTX with NULL when dealing with
13994         rtx_insn_list *.
13996         * haifa-sched.c (insn_queue): Strengthen this variable from rtx *
13997         to rtx_insn_list **.
13998         (dep_cost_1): Strengthen local "dep_cost_rtx_link" from rtx to
13999         rtx_insn_list *.
14000         (queue_insn): Likewise for local "link".
14001         (struct haifa_saved_data): Strengthen field "insn_queue" from
14002         rtx * to rtx_insn_list **.
14003         (save_backtrack_point): Update allocation of save->insn_queue to
14004         reflect the strengthening of elements from rtx to rtx_insn_list *.
14005         (queue_to_ready): Strengthen local "link" from rtx to
14006         rtx_insn_list *; use methods "next" and "insn" when traversing the
14007         list.
14008         (early_queue_to_ready): Likewise for locals "link", "next_link",
14009         "prev_link".
14010         (schedule_block): Update allocation of insn_queue to reflect the
14011         strengthening of elements from rtx to rtx_insn_list *.  Strengthen
14012         local "link" from rtx to rtx_insn_list *, and use methods when
14013         working it.
14014         (add_to_speculative_block): Strengthen locals "twins" and
14015         "next_node" from rtx to rtx_insn_list *, and use methods when
14016         working with them.  Strengthen local "twin" from rtx to
14017         rtx_insn *, eliminating a checked cast.
14018         (fix_recovery_deps): Strengthen locals "ready_list" and "link"
14019         from rtx to rtx_insn_list *, and use methods when working with
14020         them.
14022         * lists.c (alloc_INSN_LIST): Strengthen return type and local "r"
14023         from rtx to rtx_insn_list *, adding a checked cast.
14024         (free_INSN_LIST_list): Strengthen param "listp" from rtx * to
14025         rtx_insn_list **.
14026         (copy_INSN_LIST): Strengthen return type and locals "new_queue",
14027         "newlink" from rtx to rtx_insn_list *.  Strengthen local
14028         "pqueue" from rtx * to rtx_insn_list **.  Strengthen local "x"
14029         from rtx to rtx_insn *.
14030         (concat_INSN_LIST): Strengthen return type and local "new_rtx",
14031         from rtx to rtx_insn_list *.  Use methods of the latter class.
14032         (remove_free_INSN_LIST_elem): Strengthen param "elem" from rtx to
14033         rtx_insn *, and param "listp" from rtx * to rtx_insn_list **.
14034         (remove_free_INSN_LIST_node): Strengthen return type and local
14035         "elem" from rtx to rtx_insn *.  Strenghten param "listp" from
14036         rtx * to rtx_insn_list **.  Strengthen local "node" from rtx to
14037         rtx_insn_list *, using "insn" method.
14039         * sched-deps.c (add_dependence_list):  Strengthen param "list"
14040         from rtx to rtx_insn_list *, and use methods when working with it.
14041         (add_dependence_list_and_free):  Strengthen param "listp" from
14042         rtx * to rtx_insn_list **.
14043         (remove_from_dependence_list): Strenghten param "listp" from rtx *
14044         to rtx_insn_list **, and use methods when working with *listp.
14045         (remove_from_both_dependence_lists): Strengthen param "listp" from
14046         rtx * to rtx_insn_list **
14047         (add_insn_mem_dependence): Strengthen local "insn_list" from rtx *
14048         to rtx_insn_list **.  Eliminate local "link", in favor of two new
14049         locals "insn_node" and "mem_node", an rtx_insn_list * and an rtx
14050         respectively.
14051         (deps_analyze_insn): Split out uses 'f local "t" as an INSN_LIST
14052         by introducing local "cond_deps".
14053         (remove_from_deps): Strengthen param "insn" from rtx to
14054         rtx_insn *.
14056         * sched-rgn.c (concat_insn_mem_list): Strengthen param
14057         "copy_insns" and local "new_insns" from rtx to rtx_insn_list *.
14058         Strengthen param "old_insns_p" from rtx * to rtx_insn_list **.
14059         Use methods of rtx_insn_list.
14061         * store-motion.c (struct st_expr): Strengthen fields
14062         "antic_stores" and "avail_stores" from rtx to rtx_insn_list *.
14063         (st_expr_entry): Replace NULL_RTX with NULL when dealing with
14064         rtx_insn_list *.
14065         (find_moveable_store): Split out "tmp" into multiple more-tightly
14066         scoped locals.  Use methods of rtx_insn_list *.
14067         (compute_store_table): Strengthen local "tmp" from rtx to
14068         rtx_insn *.  Use methods of rtx_insn_list *.
14070 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14072         * coretypes.h (class rtx_insn_list): Add forward declaration.
14073         * rtl.h (class rtx_insn_list): New subclass of rtx_def
14074         (is_a_helper <rtx_insn_list *>::test): New.
14075         (rtx_insn_list::next): New.
14076         (rtx_insn_list::insn): New.
14077         (gen_rtx_INSN_LIST): Add prototype.
14078         * emit-rtl.c (gen_rtx_INSN_LIST): New.
14079         * gengenrtl.c (special_rtx): Add INSN_LIST.
14081 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14083         * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
14084         "prev" from rtx to rtx_insn *.
14086 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14088         * rtl.h (INSN_UID): Convert from a macro to a pair of inline
14089         functions.  Require merely an rtx for now, not an rtx_insn *.
14090         (BLOCK_FOR_INSN): Likewise.
14091         (INSN_LOCATION): Likewise.
14092         (INSN_HAS_LOCATION): Convert from a macro to an inline function.
14094 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14096         * rtl.h (PATTERN): Convert this macro into a pair of inline
14097         functions, for now, requiring const_rtx and rtx.
14099 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14101         * target.def (unwind_emit): Strengthen param "insn" from rtx to
14102         rtx_insn *.
14103         (final_postscan_insn): Likewise.
14104         (adjust_cost): Likewise.
14105         (adjust_priority): Likewise.
14106         (variable_issue): Likewise.
14107         (macro_fusion_pair_p): Likewise.
14108         (dfa_post_cycle_insn): Likewise.
14109         (first_cycle_multipass_dfa_lookahead_guard): Likewise.
14110         (first_cycle_multipass_issue): Likewise.
14111         (dfa_new_cycle): Likewise.
14112         (adjust_cost_2): Likewise for params "insn" and "dep_insn".
14113         (speculate_insn): Likewise for param "insn".
14114         (gen_spec_check): Likewise for params "insn" and "label".
14115         (get_insn_spec_ds): Likewise for param "insn".
14116         (get_insn_checked_ds): Likewise.
14117         (dispatch_do): Likewise.
14118         (dispatch): Likewise.
14119         (cannot_copy_insn_p): Likewise.
14120         (invalid_within_doloop): Likewise.
14121         (legitimate_combined_insn): Likewise.
14122         (needed): Likewise.
14123         (after): Likewise.
14125         * doc/tm.texi: Automatically updated to reflect changes to
14126         target.def.
14128         * haifa-sched.c (choose_ready): Convert NULL_RTX to NULL when
14129         working with insn.
14130         (schedule_block): Likewise.
14131         (sched_init): Likewise.
14132         (sched_speculate_insn): Strengthen param "insn" from rtx to
14133         rtx_insn *.
14134         (ready_remove_first_dispatch): Convert NULL_RTX to NULL when
14135         working with insn.
14136         * hooks.c (hook_bool_rtx_true): Rename to...
14137         hook_bool_rtx_insn_true): ...this, and strengthen first param from
14138         rtx to rtx_insn *.
14139         (hook_constcharptr_const_rtx_null): Rename to...
14140         (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
14141         first param from const_rtx to const rtx_insn *.
14142         (hook_bool_rtx_int_false): Rename to...
14143         (hook_bool_rtx_insn_int_false): ...this, and strengthen first
14144         param from rtx to rtx_insn *.
14145         (hook_void_rtx_int): Rename to...
14146         (hook_void_rtx_insn_int): ...this, and strengthen first param from
14147         rtx to rtx_insn *.
14149         * hooks.h (hook_bool_rtx_true): Rename to...
14150         (hook_bool_rtx_insn_true): ...this, and strengthen first param from
14151         rtx to rtx_insn *.
14152         (hook_bool_rtx_int_false): Rename to...
14153         (hook_bool_rtx_insn_int_false): ...this, and strengthen first
14154         param from rtx to rtx_insn *.
14155         (hook_void_rtx_int): Rename to...
14156         (hook_void_rtx_insn_int): ...this, and strengthen first param from
14157         rtx to rtx_insn *.
14158         (hook_constcharptr_const_rtx_null): Rename to...
14159         (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
14160         first param from const_rtx to const rtx_insn *.
14162         * sched-deps.c (sched_macro_fuse_insns): Strengthen param "insn"
14163         and local "prev" from rtx to rtx_insn *.
14165         * sched-int.h (sched_speculate_insn): Strengthen first param from
14166         rtx to rtx_insn *.
14168         * sel-sched.c (create_speculation_check): Likewise for local "label".
14169         * targhooks.c (default_invalid_within_doloop): Strengthen param
14170         "insn" from const_rtx to const rtx_insn *.
14171         * targhooks.h (default_invalid_within_doloop): Strengthen param
14172         from const_rtx to const rtx_insn *.
14174         * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Likewise.
14175         (alpha_adjust_cost): Likewise for params "insn", "dep_insn".
14177         * config/arc/arc.c (arc_sched_adjust_priority): Likewise for param
14178         "insn".
14179         (arc_invalid_within_doloop): Likewise, with const.
14181         * config/arm/arm.c (arm_adjust_cost): Likewise for params "insn", "dep".
14182         (arm_cannot_copy_insn_p): Likewise for param "insn".
14183         (arm_unwind_emit): Likewise.
14185         * config/bfin/bfin.c (bfin_adjust_cost): Likewise for params "insn",
14186         "dep_insn".
14188         * config/c6x/c6x.c (c6x_dfa_new_cycle): Likewise for param "insn".
14189         (c6x_variable_issue): Likewise.  Removed now-redundant checked
14190         cast.
14191         (c6x_adjust_cost): Likewise for params "insn", "dep_insn".
14193         * config/epiphany/epiphany-protos.h (epiphany_mode_needed):
14194         Likewise for param "insn".
14195         (epiphany_mode_after): Likewise.
14196         * config/epiphany/epiphany.c (epiphany_adjust_cost): Likewise for
14197         params "insn", "dep_insn".
14198         (epiphany_mode_needed): Likewise for param "insn".
14199         (epiphany_mode_after): Likewise.
14201         * config/i386/i386-protos.h (i386_pe_seh_unwind_emit): Likewise.
14202         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
14203         (ix86_avx_u128_mode_needed): Likewise.
14204         (ix86_i387_mode_needed): Likewise.
14205         (ix86_mode_needed): Likewise.
14206         (ix86_avx_u128_mode_after): Likewise.
14207         (ix86_mode_after): Likewise.
14208         (ix86_adjust_cost): Likewise for params "insn", "dep_insn".
14209         (ix86_macro_fusion_pair_p): Likewise for params "condgen", "condjmp".
14210         (ix86_adjust_priority): Likewise for param "insn".
14211         (core2i7_first_cycle_multipass_issue): Likewise for param "insn".
14212         (do_dispatch): Likewise.
14213         (has_dispatch): Likewise.
14214         * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
14216         * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Update to
14217         reflect renaming of default hook implementation from
14218         hook_constcharptr_const_rtx_null to
14219         hook_constcharptr_const_rtx_insn_null.
14220         (ia64_adjust_cost_2): Strengthen params "insn", "dep_insn" from
14221         rtx to rtx_insn *.
14222         (ia64_variable_issue): Likewise for param "insn".
14223         (ia64_first_cycle_multipass_dfa_lookahead_guard): Likewise.
14224         (ia64_dfa_new_cycle): Likewise.
14225         (ia64_get_insn_spec_ds): Likewise.
14226         (ia64_get_insn_checked_ds): Likewise.
14227         (ia64_speculate_insn): Likewise.
14228         (ia64_gen_spec_check): Likewise for params "insn", "label".
14229         (ia64_asm_unwind_emit): Likewise for param "insn".
14231         * config/m32r/m32r.c (m32r_adjust_priority): Likewise.
14233         * config/m68k/m68k.c (m68k_sched_adjust_cost): Likewise for params
14234         "insn", "def_insn".
14235         (m68k_sched_variable_issue): Likewise for param "insn".
14237         * config/mep/mep.c (mep_adjust_cost): Likewise for params "insn",
14238         "def_insn".
14240         * config/microblaze/microblaze.c (microblaze_adjust_cost):
14241         Likewise for params "insn", "dep".
14243         * config/mips/mips.c (mips_adjust_cost): Likewise.
14244         (mips_variable_issue): Likewise for param "insn".
14245         (mips_final_postscan_insn): Likewise.
14247         * config/mn10300/mn10300.c (mn10300_adjust_sched_cost): Likewise
14248         for params "insn", "dep".
14250         * config/pa/pa.c (pa_adjust_cost): Likewise for params "insn",
14251         "dep_insn".
14252         (pa_adjust_priority): Likewise for param "insn".
14254         * config/picochip/picochip.c (picochip_sched_adjust_cost):
14255         Likewise for params "insn", "dep_insn".
14257         * config/rs6000/rs6000.c (rs6000_variable_issue_1): Likewise for
14258         param "insn".
14259         (rs6000_variable_issue): Likewise.
14260         (rs6000_adjust_cost): Likewise for params "insn", "dep_insn".
14261         (rs6000_debug_adjust_cost): Likewise.
14262         (rs6000_adjust_priority): Likewise for param "insn".
14263         (rs6000_use_sched_lookahead_guard): Likewise.
14264         (get_next_active_insn): Likewise for return type and both params.
14265         (redefine_groups): Likewise for params "prev_head_insn", "tail"
14266         and locals "insn", "next_insn".
14267         (pad_groups): Likewise.
14269         * config/s390/s390.c (s390_adjust_priority): Likewise for param
14270         "insn".
14271         (s390_cannot_copy_insn_p): Likewise.
14272         (s390_sched_variable_issue): Likewise for third param, eliminating
14273         checked cast.
14274         (TARGET_INVALID_WITHIN_DOLOOP): Update to reflect renaming of
14275         default hook implementation from hook_constcharptr_const_rtx_null
14276         to hook_constcharptr_const_rtx_insn_null.
14278         * config/sh/sh.c (sh_cannot_copy_insn_p): Strengthen param "insn"
14279         from rtx to rtx_insn *.
14280         (sh_adjust_cost): Likewise for params "insn", "dep_insn".
14281         (sh_variable_issue): Likewise for param "insn".
14282         (sh_dfa_new_cycle): Likewise.
14283         (sh_mode_needed): Likewise.
14284         (sh_mode_after): Likewise.
14286         * config/sparc/sparc.c (supersparc_adjust_cost): Likewise for
14287         params "insn", "dep_insn".
14288         (hypersparc_adjust_cost): Likewise.
14289         (sparc_adjust_cost): Likewise.
14291         * config/spu/spu.c (spu_sched_variable_issue): Likewise for third
14292         param, eliminated checked cast.
14293         (spu_sched_adjust_cost): Likewise for first and third params.
14295         * config/tilegx/tilegx.c (tilegx_sched_adjust_cost): Strengthen
14296         params "insn" and "dep_insn" from rtx to rtx_insn *.
14298         * config/tilepro/tilepro.c (tilepro_sched_adjust_cost): Likewise.
14300 2014-08-27  David Malcolm  <dmalcolm@redhat.com>
14302         * gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
14303         (set_is_load_p): ...this, updating to work on a SET pattern rather
14304         than an insn.
14305         (is_store_insn): Rename to...
14306         (set_is_store_p): ...this, updating to work on a SET pattern
14307         rather than an insn.
14308         (mn10300_adjust_sched_cost): Move call to get_attr_timings from
14309         top of function to where it is needed.  Rewrite the bogus
14310         condition that checks for "insn" and "dep" being PARALLEL to
14311         instead use single_set, introducing locals "insn_set" and
14312         "dep_set".  Given that we only ever returned "cost" for a non-pair
14313         of SETs, bail out early if we don't have a pair of SET.
14314         Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
14315         use the new locals "insn_set" and "dep_set", and update calls to
14316         is_load_insn and is_store_insn to be calls to set_is_load_p and
14317         set_is_store_p.
14319 2014-08-27  Guozhi Wei  <carrot@google.com>
14321         PR target/62262
14322         * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
14323         amount before using it.
14325 2014-08-27  Richard Biener  <rguenther@suse.de>
14327         * gimple-fold.c (get_maxval_strlen): Add overload wrapping
14328         get_maxval_strlen inside a more useful API.
14329         (gimple_fold_builtin_with_strlen): Remove and fold into ...
14330         (gimple_fold_builtin): ... caller.
14331         (gimple_fold_builtin_strlen, gimple_fold_builtin_strcpy,
14332         gimple_fold_builtin_strncpy, gimple_fold_builtin_strcat,
14333         gimple_fold_builtin_fputs, gimple_fold_builtin_memory_chk,
14334         gimple_fold_builtin_stxcpy_chk, gimple_fold_builtin_stxncpy_chk,
14335         gimple_fold_builtin_snprintf_chk, gimple_fold_builtin_snprintf,
14336         gimple_fold_builtin_sprintf): Adjust to compute maxval
14337         themselves.
14339 2014-08-27  Yvan Roux  <yvan.roux@linaro.org>
14341         PR other/62248
14342         * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
14344 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14345             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14346             Anna Tikhonova  <anna.tikhonova@intel.com>
14347             Ilya Tocar  <ilya.tocar@intel.com>
14348             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14349             Ilya Verbin  <ilya.verbin@intel.com>
14350             Kirill Yukhin  <kirill.yukhin@intel.com>
14351             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14353         * config/i386/sse.md
14354         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"):
14355         Use `concat_tg_mode' attribute to determine asm register size.
14357 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14358             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14359             Anna Tikhonova  <anna.tikhonova@intel.com>
14360             Ilya Tocar  <ilya.tocar@intel.com>
14361             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14362             Ilya Verbin  <ilya.verbin@intel.com>
14363             Kirill Yukhin  <kirill.yukhin@intel.com>
14364             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14366         * config/i386/sse.md
14367         (define_mode_iterator VI48_AVX512VL): New.
14368         (define_mode_iterator VI_UNALIGNED_LOADSTORE): Delete.
14369         (define_mode_iterator VI_ULOADSTORE_BW_AVX512VL): New.
14370         (define_mode_iterator VI_ULOADSTORE_F_AVX512VL): Ditto.
14371         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14372         with VI1): Change mode iterator.
14373         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14374         with VI_ULOADSTORE_BW_AVX512VL): New.
14375         (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14376         with VI_ULOADSTORE_F_AVX512VL): Ditto.
14377         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14378         with VI1): Change mode iterator.
14379         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14380         with VI_ULOADSTORE_BW_AVX512VL): New.
14381         (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
14382         with VI_ULOADSTORE_F_AVX512VL): Ditto.
14383         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
14384         with VI1): Change mode iterator.
14385         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
14386         with VI_ULOADSTORE_BW_AVX512VL): New.
14387         (define_insn "<sse2_avx_avx512f>_storedqu<mode>
14388         with VI_ULOADSTORE_BW_AVX512VL): Ditto.
14389         (define_insn "avx512f_storedqu<mode>_mask"): Delete.
14390         (define_insn "<avx512>_storedqu<mode>_mask" with
14391         VI48_AVX512VL): New.
14392         (define_insn "<avx512>_storedqu<mode>_mask" with
14393         VI12_AVX512VL): Ditto.
14395 2014-08-27  Alexander Ivchenko  <alexander.ivchenko@intel.com>
14396             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
14397             Anna Tikhonova  <anna.tikhonova@intel.com>
14398             Ilya Tocar  <ilya.tocar@intel.com>
14399             Andrey Turetskiy  <andrey.turetskiy@intel.com>
14400             Ilya Verbin  <ilya.verbin@intel.com>
14401             Kirill Yukhin  <kirill.yukhin@intel.com>
14402             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
14404         * config/i386/sse.md
14405         (define_mode_iterator VI48_AVX2_48_AVX512F): Delete.
14406         (define_mode_iterator VI48_AVX512BW): New.
14407         (define_insn "<avx2_avx512f>_<shift_insn>v<mode><mask_name>"): Delete.
14408         (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
14409         with VI48_AVX2_48_AVX512F): New.
14410         (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
14411         with VI2_AVX512VL): Ditto.
14413 2014-08-27  Richard Biener  <rguenther@suse.de>
14415         PR middle-end/62239
14416         * builtins.c (fold_builtin_strcat_chk): Move to gimple-fold.c.
14417         (fold_builtin_3): Do not fold strcat_chk here.
14418         * gimple-fold.c (gimple_fold_builtin_strcat_chk): Move here
14419         from builtins.c.
14420         (gimple_fold_builtin): Fold strcat_chk here.
14422 2014-08-26  Aldy Hernandez  <aldyh@redhat.com>
14424         * dwarf2out.h (dwarf2out_decl): Remove prototype.
14425         * dwarf2out.c (dwarf2out_decl): Make static.
14427 2014-08-26  Joel Sherrill <joel.sherrill@oarcorp.com>
14429         * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
14431 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14433         * cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
14434         from rtx to rtx_insn *.
14435         (cselib_lookup_from_insn): Likewise for final param.
14436         (cselib_subst_to_values_from_insn): Likewise.
14437         (cselib_add_permanent_equiv): Likewise.
14439         * cselib.c (cselib_current_insn): Likewise for this variable.
14440         (cselib_subst_to_values_from_insn): Likewise for param "insn".
14441         (cselib_lookup_from_insn): Likewise.
14442         (cselib_add_permanent_equiv): Likewise for param "insn" and local
14443         "save_cselib_current_insn".
14444         (cselib_process_insn): Replace use of NULL_RTX with NULL.
14446         * sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
14447         from rtx to rtx_insn *.
14449 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14451         * dse.c (dse_step6): Strengthen local "rinsn" from rtx to
14452         rtx_insn *.
14454 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14456         * df.h (df_dump_insn_problem_function): Strengthen first param of
14457         this callback from const_rtx to const rtx_insn *.
14458         (struct df_insn_info): Strengthen field "insn" from rtx to
14459         rtx_insn *.
14460         (DF_REF_INSN): Eliminate this function, reinstating the older
14461         macro definition.
14462         (df_find_def): Strengthen param 1 from rtx to rtx_insn *.
14463         (df_reg_defined): Likewise.
14464         (df_find_use): Likewise.
14465         (df_reg_used): Likewise.
14466         (df_dump_insn_top): Strengthen param 1 from const_rtx to
14467         const rtx_insn *.
14468         (df_dump_insn_bottom): Likewise.
14469         (df_insn_debug): Strengthen param 1 from rtx to rtx_insn *.
14470         (df_insn_debug_regno): Likewise.
14471         (debug_df_insn): Likewise.
14472         (df_rd_simulate_one_insn): Likewise for param 2.
14473         (df_word_lr_simulate_defs): Likewise for param 1.
14474         (df_word_lr_simulate_uses): Likewise.
14475         (df_md_simulate_one_insn): Likewise for param 2.
14476         (df_simulate_find_noclobber_defs): Likewise for param 1.
14477         (df_simulate_find_defs): Likewise.
14478         (df_simulate_defs): Likewise.
14479         (df_simulate_uses): Likewise.
14480         (df_simulate_one_insn_backwards): Likewise for param 2.
14481         (df_simulate_one_insn_forwards): Likewise.
14482         (df_uses_create): Likewise for param 2.
14483         (df_insn_create_insn_record): Likewise for param 1.
14484         (df_insn_delete): Likewise.
14485         (df_insn_rescan): Likewise.
14486         (df_insn_rescan_debug_internal): Likewise.
14487         (df_insn_change_bb): Likewise.
14488         (df_notes_rescan): Likewise.
14489         * rtl.h (remove_death): Likewise for param 2.
14490         (print_rtl_with_bb): Strengthen param 2 from const_rtx to
14491         const rtx_insn *.
14492         * sched-int.h (reemit_notes): Strengthen param from rtx to
14493         rtx_insn *.
14494         * valtrack.h (propagate_for_debug): Likewise for param 1.
14496         * cfgrtl.c (print_rtl_with_bb): Strengthen param "rtx_first" and
14497         local "tmp_rtx" from const_rtx to const rtx_insn *.
14498         * combine.c (remove_death): Strengthen param "insn" from rtx to
14499         rtx_insn *.
14500         (move_deaths): Likewise for local "where_dead".
14501         * cse.c (delete_trivially_dead_insns): Introduce local
14502         "bind_var_loc" so that "bind" can be strengthened to an rtx_insn *.
14503         * df-core.c (df_find_def): Strengthen param "insn" from rtx to
14504         rtx_insn *.
14505         (df_reg_defined): Likewise.
14506         (df_find_use): Likewise.
14507         (df_reg_used): Likewise.
14508         (df_dump_insn_problem_data): Strengthen param "insn" from
14509         const_rtx to const rtx_insn *.
14510         (df_dump_insn_top): Likewise.
14511         (df_dump_insn_bottom): Likewise.
14512         (df_insn_debug): Strengthen param "insn" from rtx to rtx_insn *.
14513         (df_insn_debug_regno): Likewise.
14514         (debug_df_insn): Likewise.
14515         (DF_REF_INSN): Delete.
14516         * df-problems.c (df_rd_simulate_one_insn): Strengthen param "insn"
14517         from rtx to rtx_insn *.
14518         (df_chain_insn_top_dump): Strengthen param "insn" from
14519         const_rtx to const rtx_insn *.
14520         (df_chain_insn_bottom_dump): Likewise.
14521         (df_word_lr_simulate_defs): Strengthen param "insn" from rtx to
14522         rtx_insn *.
14523         (df_word_lr_simulate_uses): Likewise.
14524         (df_print_note): Likewise.
14525         (df_remove_dead_and_unused_notes): Likewise.
14526         (df_set_unused_notes_for_mw): Likewise.
14527         (df_set_dead_notes_for_mw): Likewise.
14528         (df_create_unused_note): Likewise.
14529         (df_simulate_find_defs): Likewise.
14530         (df_simulate_find_uses): Likewise.
14531         (df_simulate_find_noclobber_defs): Likewise.
14532         (df_simulate_defs): Likewise.
14533         (df_simulate_uses): Likewise.
14534         (df_simulate_one_insn_backwards): Likewise.
14535         (df_simulate_one_insn_forwards): Likewise.
14536         (df_md_simulate_one_insn): Likewise.
14537         * df-scan.c (df_uses_create): Likewise.
14538         (df_insn_create_insn_record): Likewise.
14539         (df_insn_delete): Likewise.
14540         (df_insn_rescan): Likewise.
14541         (df_insn_rescan_debug_internal): Likewise.
14542         (df_insn_change_bb): Likewise.
14543         (df_notes_rescan): Likewise.
14544         (df_refs_add_to_chains): Likewise.
14545         (df_insn_refs_verify): Likewise.
14546         * emit-rtl.c (set_insn_deleted): Add checked cast to rtx_insn *
14547         when invoking df_insn_delete.
14548         (reorder_insns): Strengthen local "x" from rtx to rtx_insn *.
14549         (set_unique_reg_note): Add checked cast.
14550         * final.c (cleanup_subreg_operands): Likewise.
14551         * gcse.c (update_ld_motion_stores): Likewise, strengthening local
14552         "insn" from rtx to rtx_insn *.
14553         * haifa-sched.c (reemit_notes): Strengthen param "insn" and local
14554         "last" from rtx to rtx_insn *.
14555         * ira-emit.c (change_regs_in_insn): New function.
14556         (change_loop): Strengthen local "insn" from rtx to rtx_insn *.
14557         Invoke change_regs_in_insn rather than change_regs.
14558         * ira.c (update_equiv_regs): Strengthen locals "insn",
14559         "init_insn", "new_insn" from rtx to rtx_insn *.  Invoke
14560         for_each_rtx_in_insn rather than for_each_rtx.
14561         * recog.c (confirm_change_group): Add checked casts.
14562         (peep2_update_life): Strengthen local "x" from rtx to rtx_insn *.
14563         Add checked cast.
14564         (peep2_fill_buffer): Add checked cast.
14565         * rtlanal.c (remove_note): Likewise.
14566         * valtrack.c (propagate_for_debug): Strengthen param "insn" and
14567         locals "next" "end" from rtx to rtx_insn *.
14569 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14571         * sched-int.h (sched_init_insn_luid): Strengthen param 1 from rtx
14572         to rtx_insn *.
14573         (struct reg_use_data): Likewise for field "insn".
14574         (insn_cost): Likewise for param.
14575         (real_insn_for_shadow): Likewise for return type and param.
14576         (increase_insn_priority): Likewise for param 1.
14577         (debug_dependencies): Likewise for both params.
14579         * haifa-sched.c (insn_delay): Likewise for param "insn".
14580         (real_insn_for_shadow): Likewise for return type and param "insn".
14581         (update_insn_after_change): Likewise for param "insn".
14582         (recompute_todo_spec): Likewise for param "next" and locals "pro",
14583         "other".
14584         (insn_cost): Likewise for param "insn".
14585         (increase_insn_priority): Likewise.
14586         (calculate_reg_deaths): Likewise.
14587         (setup_insn_reg_pressure_info): Likewise.
14588         (model_schedule): Strengthen from vec<rtx> to vec<rtx_insn *>.
14589         (model_index): Strengthen param "insn" from rtx to rtx_insn *.
14590         (model_recompute): Likewise.
14591         (must_restore_pattern_p): Likewise for param "next".
14592         (model_excess_cost): Likewise for param "insn".
14593         (queue_remove): Likewise.
14594         (adjust_priority): Likewise for param "prev".
14595         (update_register_pressure): Likewise for param "insn".
14596         (setup_insn_max_reg_pressure): Likewise for local "insn".
14597         (update_reg_and_insn_max_reg_pressure): Likewise for param "insn".
14598         (model_add_to_schedule): Likewise.
14599         (model_reset_queue_indices): Likewise for local "insn".
14600         (unschedule_insns_until): Strengthen local "recompute_vec" from
14601         auto_vec<rtx> to auto_vec<rtx_insn *>.  Strengthen locals "last",
14602         "con" from rtx to rtx_insn *.
14603         (restore_last_backtrack_point): Likewise for both locals "x". Add
14604         checked casts.
14605         (estimate_insn_tick): Likewise for param "insn".
14606         (commit_schedule): Likewise for params "prev_head", "tail" and
14607         local "x".
14608         (verify_shadows): Likewise for locals "i1", "i2".
14609         (dump_insn_stream): Likewise for params "head", "tail" and locals
14610         "next_tail", "insn".
14611         (schedule_block): Likewise for locals "insn", "x".  Add a checked
14612         cast.
14613         (fix_inter_tick): Likewise for params "head", "tail".
14614         (create_check_block_twin): Likewise for local "jump".
14615         (haifa_change_pattern): Likewise for param "insn".
14616         (haifa_speculate_insn): Likewise.
14617         (dump_new_block_header): Likewise for params "head", "tail".
14618         (fix_jump_move): Likewise for param "jump".
14619         (move_block_after_check): Likewise.
14620         (sched_init_insn_luid): Likewise for param "insn".
14621         (sched_init_luids): Likewise for local "insn".
14622         (insn_luid): Likewise for param "insn".
14623         (init_h_i_d): Likewise.
14624         (haifa_init_h_i_d): Likewise for local "insn".
14625         (haifa_init_insn): Likewise for param "insn".
14626         * sched-deps.c (add_dependence): Likewise for local "real_pro",
14627         "other".
14628         (create_insn_reg_use): Likewise for param "insn".
14629         (setup_insn_reg_uses): Likewise.  Add a checked cast.
14630         * sched-ebb.c (debug_ebb_dependencies): Strengthen params "head",
14631         "tail" from rtx to rtx_insn *.
14632         * sched-rgn.c (void debug_dependencies): Likewise, also for locals
14633         "insn", "next_tail".
14635 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14637         * haifa-sched.c (struct model_insn_info): Strengthen field "insn"
14638         from rtx to rtx_insn *.
14639         (model_add_to_schedule): Likewise for locals "start", "end",
14640         "iter".
14642 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14644         * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
14645         rtx_insn *.
14646         * cfgrtl.c (duplicate_insn_chain): Likewise for  params "from",
14647         "to" and locals "insn", "next", "copy".  Remove now-redundant
14648         checked cast.
14650 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14652         * rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
14653         rtx_insn * and param 4 from rtx * to rtx_insn **.
14654         (get_condition): Strengthen param 1 from rtx to rtx_insn * and
14655         param 2 from rtx * to rtx_insn **.
14657         * df.h (can_move_insns_across): Strengthen params 1-4 from rtx to
14658         rtx_insn * and final param from rtx * to rtx_insn **.
14660         * cfgcleanup.c (try_head_merge_bb): Strengthen local "move_before"
14661         from rtx to rtx_insn *.
14662         (try_head_merge_bb): Likewise for both locals named "move_upto".
14663         * df-problems.c (can_move_insns_across): Likewise for params
14664         "from", "to", "across_from", "across_to" and locals "insn",
14665         "next", "max_to".  Strengthen param "pmove_upto" from rtx * to
14666         rtx_insn **.
14667         * ifcvt.c (struct noce_if_info): Strengthen field "cond_earliest"
14668         from rtx to rtx_insn *.
14669         (noce_get_alt_condition): Strengthen param "earliest" from rtx *
14670         to rtx_insn **.  Strengthen local "insn" from rtx to rtx_insn *.
14671         (noce_try_minmax): Strengthen locals "earliest", "seq" from rtx to
14672         rtx_insn *.
14673         (noce_try_abs): Likewise.
14674         (noce_get_condition): Likewise for param "jump".  Strengthen param
14675         "earliest" from rtx * to rtx_insn **.
14676         (noce_find_if_block): Strengthen local "cond_earliest" from rtx to
14677         rtx_insn *.
14678         (find_cond_trap): Likewise.
14679         (dead_or_predicable): Likewise for local "earliest".
14680         * loop-iv.c (check_simple_exit): Likewise for local "at".  Add
14681         checked cast.
14682         * rtlanal.c (canonicalize_condition): Likewise for param "insn"
14683         and local "prev".  Strengthen param "earliest" from rtx * to
14684         rtx_insn **.
14685         (get_condition): Strengthen param "jump" from rtx to rtx_insn *
14686         Strengthen param "earliest" from rtx * to rtx_insn **.
14688 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14690         * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
14691         "to" and local "insn" from rtx to rtx_insn *.
14693 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14695         * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
14696         from rtx to rtx_insn *.
14697         (need_nop_to_preserve_insn_bb): Likewise for param "insn".
14698         (code_motion_path_driver): Likewise for local "last_insn".
14699         (simplify_changed_insns): Likewise for local "insn".
14701 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14703         * rtl.h (push_to_sequence): Strengthen param from rtx to
14704         rtx_insn *.
14705         (push_to_sequence2): Likewise for both params.
14706         (delete_insns_since): Likewise for param.
14707         (reorder_insns_nobb): Likewise for all three params.
14708         (set_new_first_and_last_insn): Likewise for both params.
14710         * emit-rtl.h (set_first_insn): Strengthen param "insn" from rtx to
14711         rtx_insn *.  Remove now-redundant cast.
14712         (set_last_insn): Likewise.
14714         * builtins.c (expand_builtin_return): Strengthen local
14715         "call_fusage" from rtx to rtx_insn *.
14716         * cfgrtl.c (create_basic_block_structure): Likewise for local
14717         "after".
14718         * emit-rtl.c (set_new_first_and_last_insn): Likewise for params
14719         "first", "last" and local "insn".
14720         (delete_insns_since): Likewise for param "from".
14721         (reorder_insns_nobb): Likewise for params "from", "to", "after"
14722         and local "x".
14723         (push_to_sequence): Likewise for param "first" and local "last".
14724         (push_to_sequence2): Likewise for params "first" and "last".
14725         * lra.c (emit_add3_insn): Likewise for local "last".
14726         (lra_emit_add): Likewise.
14727         * lra-constraints.c (base_to_reg): Likewise for locals "insn",
14728         "last_insn".
14729         (process_address_1): Likewise for locals "insn", last".
14730         * modulo-sched.c (ps_first_note): Likewise for return type.
14731         * optabs.c (expand_binop_directly): Likewise for param "last".
14733 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14735         * rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
14736         to rtx_insn*.
14737         * emit-rtl.c (get_last_insn_anywhere): Likewise.
14739 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14741         * function.h (struct sequence_stack): Strengthen fields "first"
14742         and "last" from rtx to rtx_insn *.
14743         (struct emit_status): Likewise for fields "x_first_insn" and
14744         "x_last_insn".
14746         * emit-rtl.h (get_insns): Remove now-redundant checked cast.
14747         (set_first_insn): Add checked cast.
14748         (get_last_insn): Remove now-redundant checked cast.
14749         (set_last_insn): Add checked cast.
14751         * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals
14752         "saved_first" and "saved_last" from rtx to rtx_insn *.
14754 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14756         * rtl.h (add_insn): Strengthen param from rtx to rtx_insn *.
14757         (unlink_insn_chain): Strengthen both params from rtx to
14758         rtx_insn *.
14760         * cfgrtl.c (cfg_layout_function_header): Likewise for this
14761         variable.
14762         (unlink_insn_chain): Likewise for params "first" and "last".
14763         Remove now-redundant checked cast.
14764         (record_effective_endpoints): Replace use of NULL_RTX with NULL.
14765         (fixup_reorder_chain): Strengthen local "insn" from rtx to
14766         rtx_insn *.
14767         * emit-rtl.c (link_insn_into_chain): Likewise for all three
14768         params.
14769         (add_insn): Likewise for param "insn" and local "prev".
14770         (add_insn_after_nobb): Likewise for both params and local "next".
14771         (add_insn_before_nobb): Likewise for both params and local "prev".
14772         (add_insn_after): Rename param "after" to "uncast_after",
14773         introducing local "after" with another checked cast.
14774         (add_insn_before): Rename params "insn" and "before", giving them
14775         "uncast_" prefixes, adding the old names back using checked casts.
14776         (emit_note_after): Likewise for param "after".
14777         (emit_note_before): Likewise for param "before".
14778         (emit_label): Add a checked cast.
14780 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14782         * cselib.h (cselib_record_sets_hook):  Strengthen initial param
14783         "insn" from rtx to rtx_insn *.
14785         * cselib.c (cselib_record_sets_hook): Likewise.
14787         * var-tracking.c (add_with_sets): Likewise, renaming back from
14788         "uncast_insn" to "insn" and eliminating the checked cast from rtx
14789         to rtx_insn *.
14791 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14793         * basic-block.h (struct rtl_bb_info): Strengthen fields "end_"
14794         and "header_" from rtx to rtx_insn *.
14795         (struct basic_block_d): Likewise for field "head_" within "x"
14796         field of union basic_block_il_dependent.
14797         (BB_HEAD): Drop function...
14798         (SET_BB_HEAD): ...and this function in favor of...
14799         (BB_HEAD): ...reinstate macro.
14800         (BB_END): Drop function...
14801         (SET_BB_END): ...and this function in favor of...
14802         (BB_END): ...reinstate macro.
14803         (BB_HEADER): Drop function...
14804         (SET_BB_HEADER): ...and this function in favor of...
14805         (BB_HEADER): ...reinstate macro.
14807         * bb-reorder.c (add_labels_and_missing_jumps): Drop use of BB_END.
14808         (fix_crossing_unconditional_branches): Likewise.
14809         * caller-save.c (save_call_clobbered_regs): Likewise.
14810         (insert_one_insn): Drop use of SET_BB_HEAD and SET_BB_END.
14811         * cfgbuild.c (find_bb_boundaries): Drop use of SET_BB_END.
14812         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
14813         (merge_blocks_move_successor_nojumps): Likewise.
14814         (outgoing_edges_match): Update use of for_each_rtx to
14815         for_each_rtx_in_insn.
14816         * cfgexpand.c (expand_gimple_cond): Drop use of SET_BB_END.
14817         (expand_gimple_cond): Likewise.
14818         (expand_gimple_tailcall): Likewise.
14819         (expand_gimple_basic_block): Drop use of SET_BB_HEAD and
14820         SET_BB_END.
14821         (construct_exit_block): Drop use of SET_BB_END.
14822         * cfgrtl.c (cfg_layout_function_footer): Strengthen from rtx to
14823         rtx_insn *.
14824         (delete_insn): Rename param "insn" to "uncast_insn", introducing
14825         a new local "insn" with a checked cast to rtx_insn *.  Drop use of
14826         SET_BB_HEAD and SET_BB_END.
14827         (create_basic_block_structure): Drop use of SET_BB_HEAD and
14828         SET_BB_END.
14829         (rtl_delete_block): Drop use of SET_BB_HEAD.
14830         (rtl_split_block): Drop use of SET_BB_END.
14831         (emit_nop_for_unique_locus_between): Likewise.
14832         (rtl_merge_blocks): Drop use of SET_BB_END and SET_BB_HEAD.
14833         (block_label): Drop use of SET_BB_HEAD.
14834         (fixup_abnormal_edges): Drop use of SET_BB_END.
14835         (record_effective_endpoints): Drop use of SET_BB_HEADER.
14836         (relink_block_chain): Likewise.
14837         (fixup_reorder_chain): Drop use of SET_BB_END.
14838         (cfg_layout_duplicate_bb): Drop use of SET_BB_HEADER.
14839         (cfg_layout_delete_block): Strengthen local "to" from rtx * to
14840         rtx_insn **.  Drop use of SET_BB_HEADER.
14841         (cfg_layout_merge_blocks): Drop use of SET_BB_HEADER, SET_BB_END,
14842         SET_BB_HEAD.
14843         (BB_HEAD): Delete this function.
14844         (SET_BB_HEAD): Likewise.
14845         (BB_END): Likewise.
14846         (SET_BB_END): Likewise.
14847         (BB_HEADER): Likewise.
14848         (SET_BB_HEADER): Likewise.
14849         * emit-rtl.c (add_insn_after):  Rename param "insn" to
14850         "uncast_insn", adding a new local "insn" and a checked cast to
14851         rtx_insn *.  Drop use of SET_BB_END.
14852         (remove_insn): Strengthen locals "next" and "prev" from rtx to
14853         rtx_insn *.  Drop use of SET_BB_HEAD and SET_BB_END.
14854         (reorder_insns): Drop use of SET_BB_END.
14855         (emit_insn_after_1): Strengthen param "first" and locals "last",
14856         "after_after" from rtx to rtx_insn *.  Drop use of SET_BB_END.
14857         (emit_pattern_after_noloc): Add checked cast.
14858         * haifa-sched.c (get_ebb_head_tail): Drop use of SET_BB_END.
14859         (restore_other_notes): Likewise.
14860         (move_insn): Likewise.
14861         (sched_extend_bb): Likewise.
14862         (fix_jump_move): Likewise.
14863         * ifcvt.c (noce_process_if_block): Likewise.
14864         (dead_or_predicable): Likewise.
14865         * ira.c (update_equiv_regs): Drop use of SET_BB_HEAD.
14866         * reg-stack.c (change_stack): Drop use of SET_BB_END.
14867         * sel-sched-ir.c (sel_move_insn): Likewise.
14868         * sel-sched.c (move_nop_to_previous_block): Likewise.
14870         * config/c6x/c6x.c (hwloop_optimize): Drop use of SET_BB_HEAD and
14871         SET_BB_END.
14872         * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
14874 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14876         * basic-block.h (create_basic_block_structure): Strengthen params
14877         1 "head" and 2 "end" from rtx to rtx_insn *.
14878         * cfgrtl.c (create_basic_block_structure): Likewise.
14879         (rtl_create_basic_block): Update casts from void * to rtx to
14880         rtx_insn *, so that we can pass them as rtx_insn * to
14881         create_basic_block_structure.
14882         * sel-sched-ir.c (sel_create_basic_block): Likewise.
14884 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14886         * rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
14887         rtx_insn **.
14888         (check_for_inc_dec): Strengthen param "insn" from rtx to
14889         rtx_insn *.
14891         * cselib.h (cselib_process_insn): Likewise.
14893         * cselib.c (cselib_record_sets): Likewise.
14894         (cselib_process_insn): Likewise.
14896         * dse.c (struct insn_info): Likewise for field "insn".
14897         (check_for_inc_dec_1): Likewise for local "insn".
14898         (check_for_inc_dec): Likewise for param "insn".
14899         (scan_insn): Likewise.
14900         (dse_step1): Likewise for local "insn".
14902         * rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
14903         rtx_insn **.  Use for_each_rtx_in_insn rather than for_each_rtx.
14905 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14907         * sched-int.h (struct _dep): Strengthen fields "pro" and "con"
14908         from rtx to rtx_insn *.
14909         (DEP_PRO): Delete this function and...
14910         (SET_DEP_PRO): ...this function in favor of...
14911         (DEP_PRO): ...reinstate this macro.
14912         (DEP_CON): Delete this function and...
14913         (SET_DEP_CON): ...this function in favor of...
14914         (DEP_CON): ...reinstate this old macro.
14915         (init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
14916         (init_dep): Likewise.
14917         (set_priorities): Likewise for both params.
14918         (sd_copy_back_deps): Likewise for params 1 and 2.
14920         * haifa-sched.c (priority): Likewise for param "insn" and local
14921         "next".
14922         (set_priorities): Likewise for params "head" and "tail" and local
14923         "insn".
14924         (process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
14925         local "consumer".
14926         (add_to_speculative_block): Add a checked cast.
14927         (create_check_block_twin): Drop use of SET_DEP_CON.
14928         (add_jump_dependencies): Strengthen params "insn" and "jump" from
14929         rtx to rtx_insn *.
14931         * sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
14932         Drop use of SET_DEP_PRO
14933         (init_dep): Strengthen params "pro" and "con" from rtx to
14934         rtx_insn *.
14935         (sd_copy_back_deps): Likewise for params "to" and "from".  Drop
14936         use of SET_DEP_CON.
14937         (DEP_PRO): Delete.
14938         (DEP_CON): Delete.
14939         (SET_DEP_PRO): Delete.
14940         (SET_DEP_CON): Delete.
14942 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14944         * sel-sched-ir.h (struct vinsn_def): Strengthen field "insn_rtx"
14945         from rtx to rtx_insn *.
14946         (VINSN_INSN_RTX): Eliminate rvalue function and...
14947         (SET_VINSN_INSN): ...lvalue function in favor of...
14948         (VINSN_INSN_RTX): reinstate this old macro.
14950         * sel-sched-ir.c (vinsn_init): Eliminate use of SET_VINSN_INSN_RTX
14951         in favor of VINSN_INSN_RTX.
14952         (VINSN_INSN_RTX): Delete this function.
14953         (SET_VINSN_INSN_RTX): Likewise.
14955 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
14957         * sel-sched-ir.h (insn_t): Strengthen from rtx to rtx_insn *.
14958         (BND_TO): Delete this function and...
14959         (SET_BND_TO): ...this functions in favor of...
14960         (BND_TO): ...reinstating this macro.
14961         (struct _fence): Strengthen field "executing_insns" from
14962         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.  Strengthen fields
14963         "last_scheduled_insn" and "sched_next" from rtx to rtx_insn *.
14964         (_succ_iter_cond): Update param "succp" from rtx * to insn_t *
14965         and param "insn" from rtx to insn_t.
14966         (create_vinsn_from_insn_rtx): Strengthen first param from rtx to
14967         rtx_insn *.
14969         * sched-int.h (insn_vec_t): Strengthen from vec<rtx> to
14970         vec<rtx_insn *> .
14971         (rtx_vec_t): Likewise.
14972         (struct sched_deps_info_def): Strengthen param of "start_insn"
14973         callback from rtx to rtx_insn *.  Likewise for param "insn2" of
14974         "note_mem_dep" callback and first param of "note_dep" callback.
14976         * haifa-sched.c (add_to_speculative_block): Strengthen param
14977         "insn" from rtx to rtx_insn *.
14978         (clear_priorities): Likewise.
14979         (calc_priorities): Likewise for local "insn".
14981         * sched-deps.c (haifa_start_insn): Likewise for param "insn".
14982         Remove redundant checked cast.
14983         (haifa_note_mem_dep): Likewise for param "pending_insn".
14984         (haifa_note_dep): Likewise for param "elem".
14985         (note_mem_dep): Likewise for param "e".
14986         (sched_analyze_1): Add checked casts.
14987         (sched_analyze_2): Likewise.
14989         * sel-sched-dump.c (dump_insn_vector): Strengthen local "succ"
14990         from rtx to rtx_insn *.
14991         (debug): Update param from vec<rtx> & to vec<rtx_insn *>, and
14992         from vec<rtx> * to vec<rtx_insn *> *.
14994         * sel-sched-ir.c (blist_add): Remove use of SET_BND_TO
14995         scaffolding.
14996         (flist_add): Strengthen param "executing_insns" from
14997         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
14998         (advance_deps_context): Remove now-redundant checked cast.
14999         (init_fences): Replace uses of NULL_RTX with NULL.
15000         (merge_fences): Strengthen params "last_scheduled_insn" and
15001         "sched_next" from rtx to rtx_insn * and "executing_insns" from
15002         vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
15003         (add_clean_fence_to_fences): Replace uses of NULL_RTX with NULL.
15004         (get_nop_from_pool): Add local "nop_pat" so that "nop" can be
15005         an instruction, rather than doing double-duty as a pattern.
15006         (return_nop_to_pool): Update for change of insn_t.
15007         (deps_init_id): Remove now-redundant checked cast.
15008         (struct sched_scan_info_def): Strengthen param of "init_insn"
15009         callback from rtx to insn_t.
15010         (sched_scan): Strengthen local "insn" from rtx to rtx_insn *.
15011         (init_global_and_expr_for_insn): Replace uses of NULL_RTX with
15012         NULL.
15013         (get_seqno_by_succs): Strengthen param "insn" and locals "tmp",
15014         "end" from rtx to rtx_insn *.
15015         (create_vinsn_from_insn_rtx): Likewise for param "insn_rtx".
15016         (rtx insn_rtx, bool force_unique_p)
15017         (BND_TO): Delete function.
15018         (SET_BND_TO): Delete function.
15020         * sel-sched.c (advance_one_cycle): Strengthen local "insn" from
15021         rtx to rtx_insn *.
15022         (extract_new_fences_from): Replace uses of NULL_RTX with NULL.
15023         (replace_dest_with_reg_in_expr): Strengthen local "insn_rtx" from
15024         rtx to rtx_insn *.
15025         (undo_transformations): Likewise for param "insn".
15026         (update_liveness_on_insn): Likewise.
15027         (compute_live_below_insn): Likewise for param "insn" and local
15028         "succ".
15029         (update_data_sets): Likewise for param "insn".
15030         (fill_vec_av_set): Replace uses of NULL_RTX with NULL.
15031         (convert_vec_av_set_to_ready): Drop now-redundant checked cast.
15032         (invoke_aftermath_hooks): Strengthen param "best_insn" from rtx to
15033         rtx_insn *.
15034         (move_cond_jump): Likewise for param "insn".
15035         (move_cond_jump): Drop use of SET_BND_TO.
15036         (compute_av_set_on_boundaries): Likewise.
15037         (update_fence_and_insn): Replace uses of NULL_RTX with NULL.
15038         (update_and_record_unavailable_insns): Strengthen local "bb_end"
15039         from rtx to rtx_insn *.
15040         (maybe_emit_renaming_copy): Likewise for param "insn".
15041         (maybe_emit_speculative_check): Likewise.
15042         (handle_emitting_transformations): Likewise.
15043         (remove_insn_from_stream): Likewise.
15044         (code_motion_process_successors): Strengthen local "succ" from rtx
15045         to insn_t.
15047 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
15049         * sel-sched-ir.h (ilist_t): Redefine this typedef in terms of
15050         ilist_t, not _xlist_t;
15051         (ILIST_INSN): Define in terms of new union field "insn".
15052         (ILIST_NEXT): Define in terms of _LIST_NEXT rather than
15053         _XLIST_NEXT.
15054         (struct _list_node): Add new field "insn" to the union, of type
15055         insn_t.
15056         (ilist_add): Replace macro with an inline function, requiring an
15057         insn_t.
15058         (ilist_remove): Define this macro directly in terms of
15059         _list_remove, rather than indirectly via _xlist_remove.
15060         (ilist_clear): Likewise, in terms of _list_clear rather than
15061         _xlist_clear.
15062         (ilist_is_in_p): Replace macro with an inline function, requiring
15063         an insn_t.
15064         (_list_iter_cond_insn): New function.
15065         (ilist_iter_remove): Define this macro directly in terms of
15066         _list_iter_remove, rather than indirectly via _xlist_iter_remove.
15067         (ilist_iterator): Define directly in terms of _list_iterator
15068         rather than indirectly through _xlist_iterator.
15069         (FOR_EACH_INSN): Define in terms of _list_iter_cond_insn rather
15070         than in terms of _FOR_EACH_X.
15071         (FOR_EACH_INSN_1): Likewise.
15073 2014-08-26  Joseph Myers  <joseph@codesourcery.com>
15075         PR target/60606
15076         PR target/61330
15077         * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
15078         DECL_HARD_REGISTER and return for invalid register specifications.
15079         * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
15080         DECL_HARD_REGISTER, call expand_one_error_var.
15081         * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
15082         CC_REGNUM with non-MODE_CC modes.
15083         (arm_regno_class): Return NO_REGS for PC_REGNUM.
15085 2014-08-26  Marek Polacek  <polacek@redhat.com>
15087         PR c/61271
15088         * sel-sched-ir.c (make_regions_from_the_rest): Fix condition.
15090 2014-08-26  Evandro Menezes <e.menezes@samsung.com>
15092         * config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
15093         qi cost; add di cost.
15094         (cortexa57_addrcost_table): Likewise.
15096 2014-08-26  Marek Polacek  <polacek@redhat.com>
15098         PR c/61271
15099         * expr.c (is_aligning_offset): Remove logical not.
15101 2014-08-26  Marek Polacek  <polacek@redhat.com>
15103         PR c/61271
15104         * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
15105         LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
15107 2014-08-26  Richard Biener  <rguenther@suse.de>
15109         PR tree-optimization/62175
15110         * tree-ssa-loop-niter.c (expand_simple_operations): Do not
15111         expand possibly trapping operations.
15113 2014-08-26  David Malcolm  <dmalcolm@redhat.com>
15115         * config/rs6000/rs6000.c (class swap_web_entry): Strengthen field
15116         "insn" from rtx to rtx_insn *.
15117         (permute_load): Likewise for param "insn".
15118         (permute_store): Likewise.
15119         (handle_special_swappables): Likewise for local "insn".
15120         (replace_swap_with_copy): Likewise for locals "insn" and
15121         "new_insn".
15122         (rs6000_analyze_swaps): Likewise for local "insn".
15124 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15126         * regrename.h (struct du_chain): Strengthen field "insn" from rtx
15127         to rtx_insn *.
15129 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15131         * sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
15132         "note_list" from rtx to rtx_insn *.
15133         (BB_NOTE_LIST): Replace this function and...
15134         (SET_BB_NOTE_LIST): ...this function with...
15135         (BB_NOTE_LIST): ...the former macro implementation.
15137         * sched-int.h (concat_note_lists): Strengthen param "from_end" and
15138         local "from_start" from rtx to rtx_insn *.  Strengthen param
15139         "to_endp" from rtx * to rtx_insn **.
15141         * haifa-sched.c (concat_note_lists): Likewise.
15142         * sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
15143         BB_NOTE_LIST.
15144         (sel_restore_notes): Likewise.
15145         (move_bb_info): Likewise.
15146         (BB_NOTE_LIST): Delete this function.
15147         (SET_BB_NOTE_LIST): Delete this function.
15148         * sel-sched.c (create_block_for_bookkeeping): Eliminate
15149         SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.
15151 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15153         * target.def (reorder): Strengthen param "ready" of this DEFHOOK
15154         from rtx * to rtx_insn **.
15155         (reorder2): Likewise.
15156         (dependencies_evaluation_hook): Strengthen params "head", "tail"
15157         from rtx to rtx_insn *.
15159         * doc/tm.texi: Update mechanically for above change to target.def.
15161         * sched-int.h (note_list): Strengthen this variable from rtx to
15162         rtx_insn *.
15163         (remove_notes): Likewise for both params.
15164         (restore_other_notes): Likewise for return type and first param.
15165         (struct ready_list): Strengthen field "vec" from rtx * to
15166         rtx_insn **.
15167         (struct dep_replacement): Strenghten field "insn" from rtx to
15168         rtx_insn *.
15169         (struct deps_desc): Likewise for fields "last_debug_insn",
15170         "last_args_size".
15171         (struct haifa_sched_info): Likewise for callback field
15172         "can_schedule_ready_p"'s param, for first param of "new_ready"
15173         callback field, for both params of "rank" callback field, for
15174         first field of "print_insn" callback field (with a const), for
15175         both params of "contributes_to_priority" callback, for param
15176         of "insn_finishes_block_p" callback, for fields "prev_head",
15177         "next_tail", "head", "tail", for first param of "add_remove_insn"
15178         callback, for first param of "begin_schedule_ready" callback, for
15179         both params of "begin_move_insn" callback, and for second param
15180         of "advance_target_bb" callback.
15181         (add_dependence): Likewise for params 1 and 2.
15182         (sched_analyze): Likewise for params 2 and 3.
15183         (deps_analyze_insn): Likewise for param 2.
15184         (ready_element): Likewise for return type.
15185         (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
15186         (try_ready): Strenghten param from rtx to rtx_insn *.
15187         (sched_emit_insn): Likewise for return type.
15188         (record_delay_slot_pair): Likewise for params 1 and 2.
15189         (add_delay_dependencies): Likewise for param.
15190         (contributes_to_priority): Likewise for both params.
15191         (find_modifiable_mems): Likewise.
15193         * config/arm/arm.c (cortexa7_sched_reorder):  Strengthen param
15194         "ready" from rtx * to rtx_insn **.  Strengthen locals "insn",
15195         "first_older_only_insn" from rtx to rtx_insn *.
15196         (arm_sched_reorder):  Strengthen param "ready"  from rtx * to
15197         rtx_insn **.
15199         * config/c6x/c6x.c (struct c6x_sched_context): Strengthen field
15200         "last_scheduled_iter0" from rtx to rtx_insn *.
15201         (init_sched_state): Replace use of NULL_RTX with NULL for insn.
15202         (c6x_sched_reorder_1): Strengthen param "ready" and locals
15203         "e_ready", "insnp" from rtx * to rtx_insn **.  Strengthen local
15204         "insn" from rtx to rtx_insn *.
15205         (c6x_sched_reorder): Strengthen param "ready" from rtx * to
15206         rtx_insn **.
15207         (c6x_sched_reorder2): Strengthen param "ready" and locals
15208         "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
15209         "insn" from rtx to rtx_insn *.
15210         (c6x_variable_issue):  Add a checked cast when assigning from insn
15211         to ss.last_scheduled_iter0.
15212         (split_delayed_branch): Strengthen param "insn" and local "i1"
15213         from rtx to rtx_insn *.
15214         (split_delayed_nonbranch): Likewise.
15215         (undo_split_delayed_nonbranch): Likewise for local "insn".
15216         (hwloop_optimize): Likewise for locals "seq", "insn", "prev",
15217         "entry_after", "end_packet", "head_insn", "tail_insn",
15218         "new_insns", "last_insn", "this_iter", "prev_stage_insn".
15219         Strengthen locals "orig_vec", "copies", "insn_copies" from rtx *
15220         to rtx_insn **.  Remove now-redundant checked cast on last_insn,
15221         but add a checked cast on loop->start_label.  Consolidate calls to
15222         avoid assigning result of gen_spkernel to "insn", now an
15223         rtx_insn *.
15225         * config/i386/i386.c (do_reorder_for_imul): Strengthen param
15226         "ready" from rtx * to rtx_insn **.  Strengthen local "insn" from
15227         rtx to rtx_insn *.
15228         (swap_top_of_ready_list): Strengthen param "ready" from rtx * to
15229         rtx_insn **.  Strengthen locals "top", "next" from rtx to
15230         rtx_insn *.
15231         (ix86_sched_reorder): Strengthen param "ready" from rtx * to
15232         rtx_insn **.  Strengthen local "insn" from rtx to rtx_insn *.
15233         (add_parameter_dependencies): Strengthen params "call", "head" and
15234         locals "insn", "last", "first_arg" from rtx to rtx_insn *.
15235         (avoid_func_arg_motion): Likewise for params "first_arg", "insn".
15236         (add_dependee_for_func_arg): Likewise for param "arg" and local
15237         "insn".
15238         (ix86_dependencies_evaluation_hook): Likewise for params "head",
15239         "tail" and locals "insn", "first_arg".
15241         * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Likewise
15242         for params "head", "tail" and locals "insn", "next", "next_tail".
15243         (ia64_dfa_sched_reorder): Strengthen param "ready" and locals
15244         "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen locals
15245         "insn", "lowest", "highest" from rtx to rtx_insn *.
15246         (ia64_sched_reorder): Strengthen param "ready" from rtx * to
15247         rtx_insn **.
15248         (ia64_sched_reorder2): Likewise.
15250         * config/mep/mep.c (mep_find_ready_insn): Strengthen return type
15251         and local "insn" from rtx to rtx_insn *.  Strengthen param "ready"
15252         from rtx * to rtx_insn **.
15253         (mep_move_ready_insn): Strengthen param "ready" from rtx * to
15254         rtx_insn **.
15255         (mep_print_sched_insn): Strengthen param "insn" from rtx to
15256         rtx_insn *.
15257         (mep_sched_reorder): Strengthen param "ready" from rtx * to
15258         rtx_insn **.  Strengthen locals "core_insn", "cop_insn" from rtx
15259         to rtx_insn *.
15261         * config/mips/mips.c (mips_promote_ready): Strengthen param "ready"
15262         from rtx * to rtx_insn **.  Strengthen local "new_head" from rtx
15263         to rtx_insn *.
15264         (mips_maybe_swap_ready): Strengthen param "ready" from rtx * to
15265         rtx_insn **.  Strengthen local "temp" from rtx to rtx_insn *.
15266         (mips_macc_chains_reorder): Strengthen param "ready" from rtx * to
15267         rtx_insn **.
15268         (vr4130_reorder): Likewise.
15269         (mips_74k_agen_reorder): Likewise.  Strengthen local "insn" from
15270         rtx to rtx_insn *.
15271         (mips_sched_reorder_1): Strengthen param "ready" from rtx * to
15272         rtx_insn **.
15273         (mips_sched_reorder): Likewise.
15274         (mips_sched_reorder2): Likewise.
15276         * config/picochip/picochip.c (picochip_sched_reorder): Likewise.
15278         * config/rs6000/rs6000.c (rs6000_sched_reorder): Likewise.
15279         Strengthen local "tmp" from rtx to rtx_insn *.
15280         (rs6000_sched_reorder2): Likewise.
15282         * config/s390/s390.c (s390_z10_prevent_earlyload_conflicts):
15283         Likewise.  Update sizeof(rtx) to sizeof(rtx_insn *) in memmove.
15284         (s390_sched_reorder): Strengthen param "ready" from rtx * to
15285         rtx_insn **.  Strengthen local "tmp" from rtx to rtx_insn *.
15287         * config/sh/sh.c (rank_for_reorder): Strengthen locals "tmp",
15288         "tmp2" from rtx to rtx_insn *.
15289         (swap_reorder): Strengthen param "a" from rtx * to rtx_insn **.
15290         Strengthen local "insn" from rtx to rtx_insn *.
15291         (ready_reorder): Strengthen param "ready" from rtx * to
15292         rtx_insn **.  Update sizeof(rtx) to sizeof(rtx_insn *) in qsort.
15293         (sh_reorder):  Strengthen param "ready" from rtx * to rtx_insn **.
15294         (sh_reorder2): Likewise.
15296         * config/spu/spu.c (spu_sched_reorder): Likewise.  Strengthen
15297         local "insn" from rtx to rtx_insn *.
15299         * haifa-sched.c (note_list): Strengthen this variable from rtx to
15300         rtx_insn *.
15301         (scheduled_insns): Strengthen this variable from vec<rtx> to
15302         vec<rtx_insn *>.
15303         (set_modulo_params): Likewise for locals "i1", "i2".
15304         (record_delay_slot_pair): Likewise for params "i1", "i2".
15305         (add_delay_dependencies): Likewise for param "insn".
15306         (cond_clobbered_p): Likewise.
15307         (recompute_todo_spec): Likewise for local "prev".
15308         (last_scheduled_insn): Likewise for this variable.
15309         (nonscheduled_insns_begin): Likewise.
15310         (model_set_excess_costs): Strengthen param "insns" from rtx * to
15311         rtx_insn **.
15312         (rank_for_schedule): Strengthen locals "tmp", "tmp2" from rtx to
15313         rtx_insn *.
15314         (swap_sort): Strengthen param "a" from rtx * to rtx_insn **.
15315         Strengthen local "insn" from rtx to rtx_insn *.
15316         (queue_insn): Strengthen param "insn" from rtx to rtx_insn *.
15317         (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
15318         (ready_add): Strengthen param "insn" from rtx to rtx_insn *.
15319         (ready_remove_first): Likewise for return type and local "t".
15320         (ready_element): Likewise for return type.
15321         (ready_remove): Likewise for return type and local "t".
15322         (ready_sort): Strengthen local "first" from rtx * to rtx_insn **.
15323         (check_clobbered_conditions): Strengthen local "x" from rtx to
15324         rtx_insn *, adding a checked cast.
15325         (schedule_insn): Likewise for param "insn".
15326         (remove_notes): Likewise for params "head", "tail" and locals
15327         "next_tail", "insn", "next".
15328         (struct haifa_saved_data): Likewise for fields
15329         "last_scheduled_insn", "nonscheduled_insns_begin".
15330         (save_backtrack_point): Update for change to field "vec" of
15331         struct ready_list.
15332         (toggle_cancelled_flags): Strengthen local "first" from rtx * to
15333         rtx_insn **.
15334         (restore_last_backtrack_point): Likewise.  Strengthen local "insn"
15335         from rtx to rtx_insn *
15336         (resolve_dependencies): Strengthen param "insn" from rtx to
15337         rtx_insn *
15338         (restore_other_notes): Likewise for return type, for param "head"
15339         and local "note_head".
15340         (undo_all_replacements): Likewise for local "insn".
15341         (first_nonscheduled_insn): Likewise for return type and local "insn".
15342         (queue_to_ready): Likewise for local "insn", adding checked casts.
15343         (early_queue_to_ready): Likewise for local "insn".
15344         (debug_ready_list_1): Strengthen local "p" from rtx * to
15345         rtx_insn **.
15346         (move_insn): Strengthen param "insn" and local "note" from rtx to
15347         rtx_insn *
15348         (insn_finishes_cycle_p): Likewise for param "insn".
15349         (max_issue): Likewise for local "insn".
15350         (choose_ready): Likewise.  Strengthen param "insn_ptr" from rtx *
15351         to rtx_insn **.
15352         (commit_schedule): Strengthen param "prev_head" and local "insn"
15353         from rtx to rtx_insn *
15354         (prune_ready_list): Likewise for local "insn".
15355         (schedule_block): Likewise for locals "prev_head", "head", "tail",
15356         "skip_insn", "insn", "failed_insn", "x", adding a checked cast.
15357         (set_priorities): Likewise for local "prev_head".
15358         (try_ready): Likewise for param "next".
15359         (fix_tick_ready): Likewise.
15360         (change_queue_index): Likewise.
15361         (sched_extend_ready_list): Update for change to field "vec" of
15362         struct ready_list.
15363         (generate_recovery_code): Strengthen param "insn" from rtx to
15364         rtx_insn *.
15365         (begin_speculative_block): Likewise.
15366         (create_check_block_twin): Likewise for param "insn" and locals
15367         "label", "check", "twin".  Introduce local "check_pat" to avoid
15368         "check" being used as a plain rtx before being used as an insn.
15369         (fix_recovery_deps): Add a checked cast to rtx_insn * when
15370         extracting elements from ready_list.
15371         (sched_remove_insn): Strengthen param "insn" from rtx to
15372         rtx_insn *.
15373         (sched_emit_insn): Likewise for return type.
15374         (ready_remove_first_dispatch): Likewise for return type and local
15375         "insn".
15377         * hw-doloop.c (discover_loop): Add a checked cast to rtx_insn *.
15379         * modulo-sched.c (sms_print_insn): Strengthen from const_rtx to
15380         const rtx_insn *.
15382         * sched-deps.c (add_dependence): Strengthen params "con", "pro"
15383         from rtx to rtx_insn *.
15384         (add_dependence_list): Likewise for param "insn".  Add a checked
15385         cast.
15386         (add_dependence_list_and_free): Strengthen param "insn" from rtx
15387         to rtx_insn *.  Strengthen param "list_p" from rtx * to
15388         rtx_insn **.
15389         (chain_to_prev_insn): Strengthen param "insn" and locals
15390         "prec_nonnote", "i" from rtx to rtx_insn *.
15391         (flush_pending_lists): Likewise for param "insn".
15392         (cur_insn): Likewise for this variable.
15393         (haifa_start_insn): Add a checked cast.
15394         (note_dep): Strengthen param "e" from rtx to rtx_insn *.
15395         (sched_analyze_reg): Likewise for param "insn".
15396         (sched_analyze_1): Likewise.
15397         (sched_analyze_2): Likewise.  Add checked casts.
15398         (sched_analyze_insn): Likewise.  Also for local "prev".
15399         (deps_analyze_insn): Likewise for param "insn".
15400         (sched_analyze): Likewise for params "head", "tail" and local "insn".
15401         (add_dependence_1): Likewise for params "insn", "elem".
15402         (struct mem_inc_info): Likewise for fields "inc_insn", "mem_insn".
15403         (parse_add_or_inc): Likewise for param "insn".
15404         (find_inc): Likewise for local "inc_cand".
15405         (find_modifiable_mems): Likewise for params "head", "tail" and
15406         locals "insn", "next_tail".
15408         * sched-ebb.c (init_ready_list): Likewise for local "insn".
15409         (begin_schedule_ready): Likewise for param "insn".
15410         (begin_move_insn): Likewise for params "insn" and "last".
15411         (ebb_print_insn): Strengthen param "insn" from const_rtx to
15412         const rtx_insn *.
15413         (rank): Strengthen params "insn1", "insn2" from rtx to rtx_insn *.
15414         (ebb_contributes_to_priority): Likewise for params "next", "insn".
15415         (ebb_add_remove_insn): Likewise for param "insn".
15416         (advance_target_bb): Likewise.
15418         * sched-rgn.c (rgn_estimate_number_of_insns): Likewise for local
15419         "insn".
15420         (check_live): Likewise for param "insn".
15421         (init_ready_list): Likewise for local "insn".
15422         (can_schedule_ready_p): Likewise for param "insn".
15423         (begin_schedule_ready): Likewise.
15424         (new_ready): Likewise for param "next".
15425         (rgn_print_insn): Likewise for param "insn".
15426         (rgn_rank): Likewise for params "insn1", "insn2".
15427         (contributes_to_priority): Likewise for params "next", "insn".
15428         (rgn_insn_finishes_block_p): Likewise for param "insn".
15429         (add_branch_dependences): Likewise for params "head", "tail" and
15430         locals "insn", "last".
15431         (rgn_add_remove_insn): Likewise for param "insn".
15432         (advance_target_bb): Likewise.
15434         * sel-sched-dump.c (sel_print_insn): Strengthen param "insn" from
15435         const_rtx to const rtx_insn *.
15437         * sel-sched-dump.h (sel_print_insn): Likewise.
15439         * sel-sched-ir.c (advance_deps_context): Add a checked cast.
15440         (deps_init_id): Likewise.
15442         * sel-sched.c (convert_vec_av_set_to_ready): Likewise.
15443         (invoke_reorder_hooks): Strengthen local "arr" from rtx * to
15444         rtx_insn **.
15446 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15448         * output.h (final_start_function): Strengthen param 1 from rtx to
15449         rtx_insn *.
15451         * final.c (final_start_function): Likewise, renaming back from
15452         "uncast_first" to "first", and dropping the checked cast from rtx
15453         to rtx_insn *.
15455 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15457         * output.h (final): Strengthen param 1 from rtx to rtx_insn *.
15458         * final.c (final): Likewise.  Rename param back from
15459         "uncast_first" to "first" and eliminate the checked cast from rtx
15460         to rtx_insn *.
15462 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15464         * output.h (shorten_branches): Strengthen param from rtx to
15465         rtx_insn *.
15467         * final.c (shorten_branches): Likewise, renaming param back from
15468         "uncast_first" to "first", and dropping the checked cast from rtx
15469         to rtx_insn *.
15471         * genattr.c (gen_attr): Likewise when writing out the prototype of
15472         shorten_branches.
15474 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15476         * sched-int.h (struct haifa_sched_info): Strengthen fields
15477         "prev_head" and "next_tail" from rtx to rtx_insn *.
15479 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15481         * rtl.h (rtx_jump_table_data::get_labels): New method.
15482         * cfgbuild.c (make_edges): Replace hand-coded lookup of labels
15483         with use of the new rtx_jump_table_data::get_labels method.
15484         (purge_dead_tablejump_edges): Strengthen param "table" from rtx
15485         to rtx_jump_table_data *.  Simplify by using get_labels method.
15486         * cfgrtl.c (delete_insn): Replace use of JUMP_TABLE_DATA_P with
15487         a dyn_cast, introducing local "table", using it to replace
15488         label-lookup logic with a get_labels method call.
15489         (patch_jump_insn): Simplify using get_labels method.
15490         * dwarf2cfi.c (create_trace_edges): Likewise.
15491         * rtlanal.c (label_is_jump_target_p): Likewise.
15493 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15495         * rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
15496         to rtx_insn *.
15498         * emit-rtl.c (unshare_all_rtl_1): Likewise.
15499         (unshare_all_rtl_again): Likewise, also for local "p".
15501 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15503         * rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
15504         to rtx_insn *.
15505         * cfgrtl.c (delete_insn_and_edges): Likewise.
15507 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15509         * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
15510         from rtx to rtx_insn *.
15512         * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
15514 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15516         * function.c (thread_prologue_and_epilogue_insns): Likewise for
15517         locals "returnjump", "epilogue_end", "insn", "next".
15519         * shrink-wrap.h (get_unconverted_simple_return): Strengthen param
15520         "returnjump" from rtx * to rtx_insn **.
15521         * shrink-wrap.c (get_unconverted_simple_return): Likewise.
15523 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15525         * basic-block.h (struct edge_def). Strengthen "r" within
15526         union edge_def_insns from rtx to rtx_insn *.
15528         * cfgexpand.c (pass_expand::execute): Remove now-redundant cast
15529         from rtx to rtx_insn *.  Strengthen local "insns" from rtx to
15530         rtx_insn *.
15531         * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
15532         from rtx to rtx_insn *.
15533         * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
15534         rtx_insn *.
15535         * postreload-gcse.c (reg_killed_on_edge): Likewise.
15536         (reg_used_on_edge): Likewise.
15537         * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
15538         (gt_pch_nx): New overload for rtx_insn *&.
15539         * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
15540         from rtx to rtx_insn *.
15542 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15544         * basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
15545         from rtx to rtx_insn *.
15546         (BB_FOOTER): Replace function with access macro.
15547         (SET_BB_FOOTER): Delete.
15549         * cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
15550         with BB_FOOTER.
15551         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
15552         (emit_barrier_after_bb): Likewise.
15553         (record_effective_endpoints): Likewise.
15554         (relink_block_chain): Likewise.
15555         (fixup_fallthru_exit_predecessor): Likewise.
15556         (cfg_layout_duplicate_bb): Likewise.
15557         (cfg_layout_split_block): Likewise.
15558         (cfg_layout_delete_block): Likewise.
15559         (cfg_layout_merge_blocks): Likewise.
15560         (BB_FOOTER): Delete function.
15561         (SET_BB_FOOTER): Delete function.
15562         * combine.c (update_cfg_for_uncondjump): Replace uses of
15563         SET_BB_FOOTER with BB_FOOTER.
15565 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15567         * except.h (struct eh_landing_pad_d): Strengthen field
15568         "landing_pad" from rtx to rtx_code_label *.
15570         * except.c (sjlj_emit_dispatch_table): Likewise for param
15571         "dispatch_label"
15572         (sjlj_build_landing_pads): Likewise for local "dispatch_label".
15574 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15576         * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
15577         first param from rtx to rtx_insn *.
15578         * config/xtensa/xtensa.c (struct machine_function): Likewise for
15579         field "set_frame_ptr_insn".
15580         (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
15581         "csend" from rtx to rtx_code_label *.
15582         (xtensa_expand_atomic): Likewise for local "csloop".
15583         (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
15584         rtx_insn *.
15585         (xtensa_call_tls_desc): Likewise for return type and locals
15586         "call_insn", "insns".
15587         (xtensa_legitimize_tls_address): Likewise for local "insns".
15588         (xtensa_expand_prologue): Likewise for locals "insn", "first".
15590 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15592         * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
15593         first param from rtx to rtx_insn *.
15594         * config/v850/v850.c (v850_adjust_insn_length): Likewise for param
15595         "insn".
15597 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15599         * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):
15600         Strengthen param 1 from rtx to rtx_insn *.
15601         (tilepro_output_cbranch): Likewise.
15602         (tilepro_adjust_insn_length): Likewise.
15603         (tilepro_final_prescan_insn): Likewise for sole param.
15605         * config/tilepro/tilepro.c (tilepro_legitimize_tls_address):
15606         Likewise for local "last".
15607         (cbranch_predicted_p): Likewise for param "insn".
15608         (tilepro_output_simple_cbranch_with_opcode): Likewise.
15609         (tilepro_output_cbranch_with_opcode): Likewise.
15610         (tilepro_output_cbranch): Likewise.
15611         (frame_emit_load): Likewise for return type and locals "seq",
15612         "insn".
15613         (emit_sp_adjust): Likewise for return type and local "insn".
15614         (tilepro_expand_epilogue): Likewise for locals "last_insn",
15615         "insn".
15616         (tilepro_adjust_insn_length): Likewise for param "insn".
15617         (next_insn_to_bundle): Likewise for return type and params
15618         "r", "end".
15619         (tilepro_gen_bundles): Likewise for locals "insn", "next", "end".
15620         (replace_pc_relative_symbol_ref): Likewise for param "insn" and
15621         local "new_insns".
15622         (match_addli_pcrel): Likewise for param "insn".
15623         (replace_addli_pcrel): Likewise.
15624         (match_auli_pcrel): Likewise.
15625         (replace_auli_pcrel): Likewise.
15626         (tilepro_fixup_pcrel_references): Likewise for locals "insn",
15627         "next_insn".
15628         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
15629         "queue", "next_queue", "prev".
15630         (tilepro_asm_output_mi_thunk): Likewise for local "insn".
15631         (tilepro_final_prescan_insn): Likewise for param "insn".
15633 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15635         * config/tilegx/tilegx-protos.h (tilegx_output_cbranch_with_opcode):
15636         Strengthen param 1 from rtx to rtx_insn *.
15637         (tilegx_output_cbranch): Likewise.
15638         (tilegx_adjust_insn_length): Likewise.
15639         (tilegx_final_prescan_insn): Likewise for sole param.
15641         * config/tilegx/tilegx.c (tilegx_legitimize_tls_address): Likewise
15642         or local "last".
15643         (cbranch_predicted_p): Likewise for param "insn".
15644         (tilegx_output_simple_cbranch_with_opcode): Likewise.
15645         (tilegx_output_cbranch_with_opcode): Likewise.
15646         (tilegx_output_cbranch): Likewise.
15647         (frame_emit_load): Likewise for return type.
15648         (set_frame_related_p): Likewise for locals "seq", "insn".
15649         (emit_sp_adjust): Likewise for return type, and for local "insn".
15650         Introduce local "pat" for use in place of "insn" where the latter
15651         isn't an instruction.
15652         (tilegx_expand_epilogue): Strengthen locals "last_insn", "insn"
15653         from rtx to rtx_insn *.
15654         (tilegx_adjust_insn_length): Likewise for param "insn".
15655         (next_insn_to_bundle): Likewise for return type and params "r" and
15656         "end".
15657         (tilegx_gen_bundles): Likewise for locals "insn", "next", "prev",
15658         "end".
15659         (replace_insns): Likewise for params "old_insn", "new_insns".
15660         (replace_mov_pcrel_step1): Likewise for param "insn" and local
15661         "new_insns".
15662         (replace_mov_pcrel_step2): Likewise.
15663         (replace_mov_pcrel_step3): Likewise.
15664         (tilegx_fixup_pcrel_references): Likewise for locals "insn",
15665         "next_insn".
15666         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
15667         "queue", "next_queue", "prev".
15668         (tilegx_output_mi_thunk): Likewise for local "insn".
15669         (tilegx_final_prescan_insn): Likewise for param "insn".
15671 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15673         * config/spu/spu.c (frame_emit_store): Strengthen return type from
15674         rtx to rtx_insn *.
15675         (frame_emit_load): Likewise.
15676         (frame_emit_add_imm): Likewise, also for local "insn".
15677         (spu_expand_prologue): Likewise for local "insn".
15678         (struct spu_bb_info): Likewise for field "prop_jump".
15679         (emit_nop_for_insn): Likewise for param "insn" and local
15680         "new_insn".
15681         (pad_bb): Likewise for locals "insn", "next_insn", "prev_insn",
15682         "hbr_insn".
15683         (spu_emit_branch_hint): Likewise for params "before", "branch" and
15684         locals "hint", "insn".
15685         (get_branch_target): Likewise for param "branch".
15686         (insn_clobbers_hbr): Likewise for param "insn".
15687         (insert_hbrp_for_ilb_runout): Likewise for param "first" and
15688         locals "insn", "before_4", "before_16".
15689         (insert_hbrp): Likewise for local "insn".
15690         (spu_machine_dependent_reorg): Likewise for locals "branch",
15691         "insn", "next", "bbend".
15692         (uses_ls_unit): Likewise for param "insn".
15693         (get_pipe): Likewise.
15694         (spu_sched_variable_issue): Rename param "insn" to "uncast_insn",
15695         introducing a checked cast.
15696         (spu_sched_adjust_cost): Likewise for params "insn" and
15697         "dep_insn".
15698         (ea_load_store_inline): Strengthen local "insn" from rtx to rtx_insn *.
15699         (spu_sms_res_mii): Likewise.
15701 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15703         * config/sparc/sparc-protos.h (output_ubranch): Strengthen param 2
15704         from rtx to rtx_insn *.
15705         (output_cbranch): Likewise for param 6.
15706         (output_return): Likewise for param 1.
15707         (output_sibcall): Likewise.
15708         (output_v8plus_shift): Likewise.
15709         (output_v8plus_mult): Likewise.
15710         (output_v9branch): Likewise for param 7.
15711         (output_cbcond):  Likewise for param 3.
15713         * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise
15714         for local "insn".
15715         (sparc_legitimize_pic_address): Likewise.
15716         (sparc_emit_call_insn): Likewise.
15717         (emit_save_or_restore_regs): Likewise.
15718         (emit_window_save): Likewise for return type and local "insn".
15719         (sparc_expand_prologue): Likewise for local "insn".
15720         (sparc_flat_expand_prologue): Likewise.
15721         (output_return): Likewise for param "insn".
15722         (output_sibcall): Likewise for param "insn" and local "delay".
15723         (output_ubranch): Likewise for param "insn".
15724         (output_cbranch): Likewise.
15725         (output_cbcond): Likewise.
15726         (output_v9branch): Likewise.
15727         (output_v8plus_shift): Likewise.
15728         (sparc_output_mi_thunk): Likewise for local "insn".
15729         (get_some_local_dynamic_name): Likewise.
15730         (output_v8plus_mult): Likewise for param "insn".
15732 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15734         * config/sh/sh-protos.h (output_ieee_ccmpeq): Strengthen param 1
15735         from rtx to rtx_insn *.
15736         (output_branchy_insn): Likewise for param 3.
15737         (output_far_jump): Likewise for param 1.
15738         (final_prescan_insn): Likewise.
15739         (sh_insn_length_adjustment): Likewise for sole param.
15741         * config/sh/sh.c (expand_cbranchsi4): Likewise for local "jump".
15742         (expand_cbranchdi4): Strengthen local "skip_label" from rtx to
15743         rtx_code_label *.
15744         (sh_emit_compare_and_set): Likewise for local "lab".
15745         (output_far_jump): Strengthen param "insn" and local "prev" from
15746         rtx to rtx_insn *.
15747         (output_branchy_insn): Likewise for param "insn" and local
15748         "next_insn".
15749         (output_ieee_ccmpeq): Likewise for param "insn".
15750         (struct label_ref_list_d): Strengthen field "label" from rtx to
15751         rtx_code_label *.
15752         (pool_node): Likewise.
15753         (pool_window_label): Likewise for this global.
15754         (add_constant): Likewise for return type and locals "lab", "new_rtx".
15755         (dump_table): Strengthen params "start", "barrier" and local
15756         "scan" from rtx to rtx_insn *.
15757         (broken_move): Likewise for param "insn".
15758         (untangle_mova): Likewise for params "first_mova" and "new_mova".
15759         Strengthen param "first_mova" from rtx * to rtx_insn **.
15760         (mova_p): Likewise for param "insn".
15761         (fixup_mova): Likewise for param "mova".
15762         (find_barrier): Likewise for return type, params "mova" and
15763         "from", and locals "barrier_before_mova", "found_barrier",
15764         "good_barrier", "orig", "last_symoff", "next".  Strengthen local
15765         "label" from rtx to rtx_code_label *.
15766         (sh_loop_align): Strengthen locals "first", "insn", "mova" from
15767         rtx to rtx_insn *.
15768         (sh_reorg): Likewise for locals "link", "scan", "barrier".
15769         (split_branches): Likewise for param "first" and local "insn".
15770         (final_prescan_insn): Likewise for param "insn".
15771         (sequence_insn_p): Likewise for locals "prev", "next".
15772         (sh_insn_length_adjustment): Likewise for param "insn".
15773         (sh_can_redirect_branch): Likewise for local "insn".
15774         (find_r0_life_regions): Likewise for locals "end", "insn".
15775         (sh_output_mi_thunk): Likewise for local "insns".
15777 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15779         * config/score/score.c (score_output_mi_thunk): Strengthen local
15780         "insn" from rtx to rtx_insn *.
15781         (score_prologue): Likewise.
15783 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15785         * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param
15786         1 from rtx to rtx_insn *.
15787         (s390_emit_jump): Likewise for return type.
15788         (s390_emit_call): Likewise.
15789         (s390_load_got): Likewise.
15791         * config/s390/s390.c (last_scheduled_insn): Likewise for this
15792         variable.
15793         (s390_match_ccmode): Likewise for param "insn".
15794         (s390_emit_jump): Likewise for return type.
15795         (s390_split_branches): Likewise for local "label".
15796         (struct constant): Strengthen field "label" from rtx to
15797         rtx_code_label *.
15798         (struct constant_pool): Likewise for field "label".  Strengthen
15799         fields "first_insn", "pool_insn", "emit_pool_after" from rtx to
15800         rtx_insn *.
15801         (s390_alloc_pool): Replace NULL_RTX with NULL when dealing with
15802         insns.
15803         (s390_start_pool): Strengthen param "insn" from rtx to rtx_insn *.
15804         (s390_end_pool): Likewise.
15805         (s390_dump_pool): Likewise for local "insn".
15806         (s390_mainpool_start): Likewise.
15807         (s390_chunkify_start): Likewise.
15808         (s390_chunkify_start): Replace NULL_RTX with NULL when dealing
15809         with insns.  Strengthen locals "label", "jump", "barrier", "next",
15810         "prev", "vec_insn", "insn" from rtx to rtx_insn *.
15811         (s390_chunkify_finish): Strengthen local "insn" from rtx to
15812         rtx_insn *.
15813         (s390_chunkify_cancel): Likewise for locals "insn", "barrier",
15814         "jump", "label", "next_insn".
15815         (s390_regs_ever_clobbered): Likewise for local "cur_insn".
15816         (s390_optimize_nonescaping_tx): Likewise for locals "insn",
15817         "tbegin_insn".
15818         (s390_load_got): Likewise for return type and local "insns".
15819         (s390_save_gprs_to_fprs): Likewise for local "insn".
15820         (s390_restore_gprs_from_fprs): Likewise.
15821         (pass_s390_early_mach::execute): Likewise.
15822         (s390_emit_prologue): Likewise for local "insns".
15823         (s390_expand_tbegin): Strengthen local "leave_label" from rtx to
15824         rtx_code_label *.
15825         (s390_emit_call): Strengthen return type and local "insn" from
15826         rtx to rtx_insn *.
15827         (s390_emit_tpf_eh_return): Likewise for local "insn".
15828         (s390_optimize_prologue): Likewise for locals "insn", "new_insn",
15829         "next_insn", introducing locals "s_pat", "rpat" to allow this.
15830         (s390_fix_long_loop_prediction): Likewise for param "insn" and
15831         local "cur_insn".
15832         (s390_non_addr_reg_read_p): Likewise for param "insn".
15833         (find_cond_jump): Likewise for return type and param "insn".
15834         (s390_swap_cmp): Likewise for param "insn".
15835         (s390_z10_optimize_cmp): Likewise for param "insn" and locals
15836         "prev_insn", "next_insn".
15837         (s390_reorg): Likewise for locals "insn", "target".
15838         (s390_z10_prevent_earlyload_conflicts): Likewise for local "insn".
15839         (s390_sched_variable_issue): For now, rename param "insn" to
15840         "uncast_insn", introducing a checked cast.
15841         (s390_sched_init): Replace NULL_RTX with NULL when dealing with
15842         insn.
15843         (s390_loop_unroll_adjust): Strengthen local "insn" from rtx to
15844         rtx_insn *.  Use for_each_rtx_in_insn rather than for_each_rtx.
15846 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15848         * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first
15849         param from rtx to rtx_insn *.
15850         * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn".
15852 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15854         * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param
15855         4 from rtx to rtx_insn *.
15856         (rs6000_final_prescan_insn): Likewise for first param.
15857         * config/rs6000/rs6000.c (rs6000_emit_set_const): Likewise for
15858         local "insn".
15859         (rs6000_get_some_local_dynamic_name): Likewise.
15860         (output_cbranch): Likewise for param "insn".
15861         (spe_func_has_64bit_regs_p): Likewise for locals "insns", "insn".
15862         (rs6000_function_ok_for_sibcall): Likewise for locals "top", "insn".
15863         (rs6000_emit_allocate_stack): Likewise for local "insn".
15864         (load_cr_save): Likewise.
15865         (restore_saved_cr): Likewise.
15866         (restore_saved_lr): Likewise.
15867         (emit_cfa_restores): Likewise.
15868         (rs6000_output_function_epilogue): Likewise for locals "insn" and
15869         "deleted_debug_label".
15870         (rs6000_output_mi_thunk): Likewise for local "insn".
15871         (rs6000_final_prescan_insn): Likewise for param "insn".
15873 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15875         * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
15876         Strengthen param "insn" from rtx to rtx_insn *.
15877         * config/picochip/picochip.c (picochip_current_prescan_insn):
15878         Likewise for this variable.
15879         (picochip_final_prescan_insn): Likewise for param "insn".
15881 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15883         * config/pa/pa-protos.h (pa_output_call): Strengthen first param
15884         from rtx to rtx_insn *.
15885         (pa_output_indirect_call): Likewise.
15886         (pa_adjust_insn_length): Likewise.
15887         (pa_attr_length_millicode_call): Likewise.
15888         (pa_attr_length_call): Likewise.
15889         (pa_attr_length_indirect_call): Likewise.
15891         * config/pa/pa.c (pa_adjust_insn_length): Likewise for param
15892         "insn".
15893         (pa_attr_length_millicode_call): Likewise.
15894         (pa_attr_length_call): Likewise.
15895         (pa_output_call): Likewise.
15896         (pa_attr_length_indirect_call): Likewise.
15897         (pa_output_indirect_call): Likewise.
15899 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15901         * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
15902         Strengthen first param from rtx to rtx_insn *.
15903         * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
15904         param "insn".
15906 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
15908         * config/mips/mips-protos.h (mips_emit_move): Strengthen return
15909         type from rtx to rtx_insn *.
15910         (mips_expand_call): Likewise.
15911         (mips_adjust_insn_length): Likewise for first param.
15912         (mips_output_conditional_branch): Likewise.
15913         (mips_output_order_conditional_branch): Likewise.
15914         (mips_final_prescan_insn): Likewise.
15916         * config/mips/mips.c (SEQ_BEGIN): For now, add checked cast to
15917         rtx_insn * for the SEQUENCE case.
15918         (SEQ_END): Likewise.
15919         (mips_emit_move): Strengthen return type from rtx to rtx_insn *.
15920         (mips_emit_call_insn): Likewise, also for local "insn".
15921         (mips16_gp_pseudo_reg): Likewise for local "scan".
15922         (mips16_build_call_stub): Likewise for return type and for local
15923         "insn".  Introduce a new local "pattern" so that "insn" can indeed
15924         be an insn.
15925         (mips_expand_call): Strengthen return type and local "insn" from
15926         rtx to rtx_insn *.
15927         (mips_block_move_loop): Strengthen local "label" from rtx to
15928         rtx_code_label *.
15929         (mips_expand_synci_loop): Likewise for locals "label",
15930         "end_label".
15931         (mips_set_frame_expr): Strengthen local "insn" from rtx to
15932         rtx_insn *.
15933         (mips16e_collect_argument_saves): Likewise for locals "insn",
15934         "next".
15935         (mips_find_gp_ref): Likewise for param of callback for "pred"
15936         param, and for local "insn".
15937         (mips_insn_has_inflexible_gp_ref_p): Likewise for param "insn".
15938         (mips_insn_has_flexible_gp_ref_p): Likewise.
15939         (mips_epilogue_emit_cfa_restores): Likewise for return type and
15940         local "insn".
15941         (mips_epilogue_set_cfa): Likewise for local "insn".
15942         (mips_expand_epilogue): Likewise.
15943         (mips_adjust_insn_length): Likewise for param "insn".
15944         (mips_output_conditional_branch): Likewise.
15945         (mips_output_order_conditional_branch): Likewise.
15946         (struct mips_ls2): Likewise for fields "alu1_turn_enabled_insn",
15947         "alu2_turn_enabled_insn", "falu1_turn_enabled_insn",
15948         "falu2_turn_enabled_insn".
15949         (mips_builtin_branch_and_move): Strengthen locals "true_label",
15950         "done_label" from rtx to rtx_code_label *.
15951         (struct mips16_constant): Likewise for field "label".
15952         (mips16_add_constant): Likewise for return type.
15953         (mips16_emit_constants_1): Strengthen return type and param "insn"
15954         from rtx to rtx_insn *.
15955         (mips16_emit_constants): Likewise for param "insn".
15956         (mips16_insn_length): Likewise.
15957         (mips16_rewrite_pool_constant): Strengthen local "label" from rtx
15958         to rtx_code_label *.
15959         (struct mips16_rewrite_pool_refs_info): Strengthen field "insn"
15960         from rtx to rtx_insn *.
15961         (mips16_lay_out_constants): Likewise for locals "insn", "barrier",
15962         "jump".  Strengthen local "label" from rtx to rtx_code_label *.
15963         (r10k_simplify_address): Strengthen param "insn" and local
15964         "def_insn" from rtx to rtx_insn *.
15965         (r10k_safe_address_p): Strengthen param "insn" from rtx to
15966         rtx_insn *.
15967         (r10k_needs_protection_p_1): Update target type of cast of data
15968         from to rtx to rtx_insn *.
15969         (r10k_needs_protection_p_store): Strengthen local "insn_ptr" from
15970         rtx * to rtx_insn **.
15971         (r10k_needs_protection_p): Strengthen param "insn" from rtx to
15972         rtx_insn *.
15973         (r10k_insert_cache_barriers): Likewise for locals "insn", "end".
15974         (mips_call_expr_from_insn): Likewise for param "insn".
15975         (mips_pic_call_symbol_from_set): Likewise for local "def_insn".
15976         (mips_find_pic_call_symbol): Likewise for param "insn".
15977         (mips_annotate_pic_calls): Likewise for local "insn".
15978         (mips_sim_insn): Likewise for this variable.
15979         (struct mips_sim): Likewise for field "insn" within elements of
15980         last_set array.
15981         (mips_sim_wait_reg): Likewise for param "insn".
15982         (mips_sim_wait_regs): Likewise.
15983         (mips_sim_wait_units): Likewise.
15984         (mips_sim_wait_insn): Likewise.
15985         (mips_sim_issue_insn): Likewise.
15986         (mips_sim_finish_insn): Likewise.
15987         (mips_seq_time): Likewise for param "seq" and local "insn".
15988         (vr4130_avoid_branch_rt_conflict): Likewise for param "insn" and
15989         locals "first", "second".
15990         (vr4130_align_insns): Likewise for locals "insn", "subinsn",
15991         "last", "last2", "next".
15992         (mips_avoid_hazard): Likewise for params "after", "insn".
15993         (mips_reorg_process_insns): Likewise for locals "insn",
15994         "last_insn", "subinsn", "next_insn".
15995         (mips_has_long_branch_p): Likewise for locals "insn", "subinsn".
15996         (mips16_split_long_branches): Likewise for locals "insn" "jump",
15997         "jump_sequence".
15998         (mips_output_mi_thunk): Likewise for local "insn".
15999         (mips_final_prescan_insn): Likewise for param "insn".
16001 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16003         * config/microblaze/microblaze.c (microblaze_call_tls_get_addr):
16004         Strengthen return type and local "insns" from rtx to rtx_insn *.
16005         (microblaze_legitimize_tls_address): Likewise for local "insns".
16006         (microblaze_block_move_loop): Strengthen local "label" from rtx
16007         to rtx_code_label *.
16008         (microblaze_expand_prologue): Strengthen two locals named "insn"
16009         from rtx to rtx_insn *.
16010         (microblaze_asm_output_mi_thunk): Likewise for local "insn".
16011         (microblaze_expand_divide): Likewise for locals "jump", "cjump",
16012         "insn".  Strengthen locals "div_label", "div_end_label" from rtx
16013         to rtx_code_label *.
16015 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16017         * config/mep/mep-protos.h (mep_mulr_source): Strengthen first
16018         param from rtx to rtx_insn *.
16019         (mep_reuse_lo): Likewise for third param.
16020         (mep_use_post_modify_p): Likewise for first param.
16021         (mep_core_address_length): Likewise.
16022         (mep_cop_address_length): Likewise.
16023         (mep_final_prescan_insn): Likewise.
16024         (mep_store_data_bypass_p): Likewise for both params.
16025         (mep_mul_hilo_bypass_p): Likewise.
16026         (mep_ipipe_ldc_p): Likewise for param.
16028         * config/mep/mep.c (mep_mulr_source): Likewise for param "insn".
16029         (mep_rewrite_mult): Likewise.
16030         (mep_rewrite_mulsi3): Likewise.
16031         (mep_rewrite_maddsi3): Likewise.
16032         (mep_reuse_lo_p_1): Likewise.
16033         (mep_reuse_lo_p): Likewise.
16034         (mep_frame_expr): Likewise.
16035         (mep_make_parallel): Likewise for both params.
16036         (mep_use_post_modify_p_1): Likewise for param "set_insn" and
16037         local "insn".
16038         (mep_use_post_modify_p): Likewise for param "insn".
16039         (mep_core_address_length): Likewise.
16040         (mep_cop_address_length): Likewise.
16041         (mep_reg_set_in_function): Likewise for local "insn".
16042         (mep_asm_without_operands_p): Likewise.
16043         (F): Likewise for return type and param "x".
16044         (add_constant): Likewise for local "insn".
16045         (maybe_dead_move): Likewise for return type and local "insn".
16046         (mep_expand_prologue): Likewise for local "insn".
16047         (mep_final_prescan_insn): Likewise for param "insn".
16048         (mep_reorg_regmove): Likewise for param "insns" and locals "insn",
16049         "next", "follow", "x".
16050         (mep_insert_repeat_label_last): Likewise for return type, param
16051         "last_insn", and locals "next", "prev".  Strengthen param "label"
16052         from rtx to rtx_code_label *.
16053         (struct mep_doloop_begin): Strengthen field "insn" from rtx to
16054         rtx_insn *.
16055         (struct mep_doloop_end): Likewise for fields "insn" and
16056         "fallthrough".
16057         (mep_reorg_repeat): Likewise for param "insns" and local "insn".
16058         Strengthen local "repeat_label" from rtx to rtx_code_label *.
16059         (mep_invertable_branch_p): Strengthen param "insn" from rtx to
16060         rtx_insn *.
16061         (mep_invert_branch): Likewise for params "insn" and "after".
16062         (mep_reorg_erepeat): Likewise for param "insns" and locals
16063         "insn", "prev", "new_last", "barrier", "user".  Strengthen local
16064         "l" from rtx to rtx_code_label *.
16065         (mep_jmp_return_reorg): Strengthen param "insns" and local "insn"
16066         from rtx to rtx_insn *.
16067         (mep_reorg_addcombine): Likewise for param "insns" and locals
16068         "i", "n".
16069         (add_sp_insn_p): Likewise for param "insn".
16070         (mep_reorg_noframe): Likewise for param "insns" and locals
16071         "start_frame_insn", "end_frame_insn", "next".
16072         (mep_reorg): Likewise for local "insns".
16073         (mep_store_data_bypass_1): Likewise for param "prev".  Add checked
16074         cast.
16075         (mep_store_data_bypass_p): Likewise for params "prev", "insn".
16076         (mep_mul_hilo_bypass_p): Likewise.
16077         (mep_ipipe_ldc_p): Likewise for param "insn".
16078         (mep_make_bundle): Likewise for return type, param "cop" and local
16079         "insn", splitting out the latter into a new local "seq" for when it
16080         is a SEQUENCE rather than an insn.
16081         (core_insn_p): Likewise for param "insn".
16082         (mep_bundle_insns): Likewise for param "insns" and locals "insn",
16083         "last", "first", "note", "prev", "core_insn".
16085 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16087         * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
16088         rtx to rtx_insn *.
16089         (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
16090         (m68k_final_prescan_insn): Likewise for first param.
16092         * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
16093         (m68k_set_frame_related): Likewise for param "insn".
16094         (output_btst): Likewise for param "insn".
16095         (m68k_final_prescan_insn): Likewise.
16096         (m68k_move_to_reg): Likewise for local "insn".
16097         (m68k_call_tls_get_addr): Likewise for local "insns".
16098         (m68k_call_m68k_read_tp): Likewise.
16099         (strict_low_part_peephole_ok): Likewise for param "first_insn".
16100         (m68k_output_mi_thunk): Likewise for local "insn".
16102 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16104         * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
16105         first param from rtx to rtx_insn *.
16106         (iq2000_adjust_insn_length): Likewise.
16107         (iq2000_output_conditional_branch): Likewise.
16108         * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
16109         "insn" and local "nop_insn".
16110         (iq2000_annotate_frame_insn): Likewise for param "insn".
16111         (iq2000_expand_prologue): Likewise for both locals "insn".
16112         (iq2000_adjust_insn_length): Likewise for param "insn".
16113         (iq2000_output_conditional_branch): Likewise.
16115 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16117         * config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
16118         "insns" from rtx to rtx_insn *.
16119         (ia64_emit_cond_move): Likewise for locals "insn", "first".
16120         (struct spill_fill_data): Likewise for field "init_after" and for
16121         elements of array field "prev_insn".
16122         (spill_restore_mem): Likewise for locals "insn", "first".
16123         (do_spill): Likewise for local "insn".
16124         (do_restore): Likewise.
16125         (ia64_expand_prologue): Likewise.
16126         (ia64_expand_epilogue): Likewise.
16127         (emit_insn_group_barriers): Likewise for locals "insn",
16128         "last_label".
16129         (emit_all_insn_group_barriers): Likewise for locals "insn",
16130         "last".
16131         (dfa_stop_insn): Likewise for this global.
16132         (dfa_pre_cycle_insn): Likewise.
16133         (ia64_nop): Likewise.
16134         (final_emit_insn_group_barriers): Likewise for locals "insn",
16135         "last".
16136         (emit_predicate_relation_info): Likewise for locals "head", "n",
16137         "insn", "b", "a".
16138         (ia64_reorg): Likewise for local "insn".
16139         (ia64_output_mi_thunk): Likewise.
16140         (expand_vec_perm_interleave_2): Likewise for local "seq".
16142 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16144         * config/i386/i386-protos.h (ix86_avoid_lea_for_add): Strengthen
16145         param 1 "insn" from rtx to rtx_insn *.
16146         (ix86_use_lea_for_mov): Likewise.
16147         (ix86_avoid_lea_for_addr): Likewise.
16148         (ix86_split_lea_for_addr): Likewise.
16149         (ix86_lea_for_add_ok): Likewise.
16150         (ix86_output_call_insn): Likewise.
16152         * config/i386/i386.c (ix86_va_start): Likewise for local "seq".
16153         (ix86_get_drap_rtx): Likewise for locals "seq", "insn".
16154         (ix86_output_function_epilogue): Likewise for locals "insn",
16155         "deleted_debug_label".
16156         (legitimize_tls_address): Likewise for local "insn".
16157         (get_some_local_dynamic_name): Likewise.
16158         (increase_distance): Likewise for params "prev", "next".
16159         (distance_non_agu_define_in_bb): Likewise for params "insn",
16160         "start" and locals "prev", "next".
16161         (distance_non_agu_define): Likewise for param "insn".
16162         (distance_agu_use_in_bb): Likewise for params "insn", "start" and
16163         locals "next", "prev".
16164         (distance_agu_use): Likewise for param "insn".
16165         (ix86_lea_outperforms): Likewise.
16166         (ix86_ok_to_clobber_flags): Likewise.
16167         (ix86_avoid_lea_for_add): Likewise.
16168         (ix86_use_lea_for_mov): Likewise.
16169         (ix86_avoid_lea_for_addr): Likewise.
16170         (find_nearest_reg_def): Likewise, also for locals "prev", "start".
16171         (ix86_split_lea_for_addr): Likewise for param "insn".
16172         (ix86_lea_for_add_ok): Likewise for param "insn".
16173         (ix86_expand_carry_flag_compare): Likewise for local
16174         "compare_seq".
16175         (ix86_expand_int_movcc): Likewise.
16176         (ix86_output_call_insn): Likewise for param "insn".
16177         (ix86_output_call_insn): Likewise for local "i".
16178         (x86_output_mi_thunk): Introduce local "insn", using it in place
16179         of "tmp" when dealing with insns.
16180         (ix86_avoid_jump_mispredicts): Likewise for locals "insn",
16181         "start".
16182         (ix86_pad_returns): Likewise for locals "ret", "prev".
16183         (ix86_count_insn_bb): Likewise for local "insn".
16184         (ix86_pad_short_function): Likewise for locals "ret", "insn".
16185         (ix86_seh_fixup_eh_fallthru): Likewise for locals "insn", "next".
16186         (ix86_vector_duplicate_value): Likewise for local "insn", "seq".
16187         (expand_vec_perm_interleave2): Likewise for local "seq".
16188         (expand_vec_perm_vperm2f128_vblend): Likewise.
16189         (ix86_loop_unroll_adjust): Likewise for local "insn".  Convert
16190         call to for_each_rtx with for_each_rtx_in_insn.
16192 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16194         * config/i386/i386.c (setup_incoming_varargs_64): Strengthen local
16195         "label" from rtx to rtx_code_label *.
16196         (ix86_expand_prologue): Likewise.
16197         (ix86_expand_split_stack_prologue): Likewise for locals "label",
16198         "varargs_label".
16199         (ix86_split_idivmod): Likewise for locals "end_label" and
16200         "qimode_label".
16201         (ix86_expand_branch): Likewise for local "label2".
16202         (ix86_expand_aligntest): Likewise for return type and local "label".
16203         (expand_set_or_movmem_via_loop): Likewise for locals "out_label" and
16204         "top_label".
16205         (expand_movmem_epilogue): Likewise for the various locals named
16206         "label".
16207         (expand_setmem_epilogue): Likewise.
16208         (expand_small_movmem_or_setmem): Likewise for local "label".
16209         (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
16210         Strengthen param "done_label" from rtx * to rtx_code_label **.
16211         Strengthen locals "loop_label" and "label" from rtx to
16212         rtx_code_label *.
16213         (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
16214         Likewise for locals "loop_label", "label".
16215         (ix86_expand_set_or_movmem): Likewise for locals "label",
16216         "jump_around_label", "hot_label".
16217         (ix86_expand_strlensi_unroll_1): Likewise for locals
16218         "align_2_label", align_3_label", "align_4_label", "end_0_label",
16219         "end_2_label".
16220         (x86_emit_floatuns): Likewise for locals "neglab", "donelab".
16221         (void ix86_emit_i387_log1p): Likewise for locals "label1",
16222         "label2", "jump_label".
16223         (ix86_expand_sse_compare_and_jump): Likewise for return type and
16224         local "label".
16225         (ix86_expand_lfloorceil): Likewise for local "label".
16226         (ix86_expand_rint): Likewise.
16227         (ix86_expand_floorceildf_32): Likewise.
16228         (ix86_expand_floorceil): Likewise.
16229         (ix86_expand_rounddf_32): Likewise.
16230         (ix86_expand_trunc): Likewise.
16231         (ix86_expand_truncdf_32): Likewise.
16232         (ix86_expand_round): Likewise.
16234 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16236         * config/h8300/h8300-protos.h (final_prescan_insn): Strengthen
16237         first param from rtx to rtx_insn *.
16238         (h8300_insn_length_from_table): Likewise.
16239         * config/h8300/h8300.c (F): Likewise for return type and param
16240         "x".
16241         (Fpa): Add a checked cast to rtx_insn *.
16242         (h8300_emit_stack_adjustment): Strengthen local "x" from rtx to
16243         rtx_insn *.
16244         (final_prescan_insn): Likewise for param "insn".
16245         (h8300_binary_length): Likewise.
16246         (h8300_insn_length_from_table): Likewise.
16248 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16250         * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn):
16251         Strengthen first param "insn" from rtx to rtx_insn *.
16253         * config/epiphany/epiphany.c (epiphany_final_prescan_insn):
16254         Likewise.
16255         (frame_insn): Likewise for return type.  Introduce local "insn"
16256         for use in place of local "x" for use as an rtx_insn *.
16257         (frame_move_insn): Strengthen return type from rtx to rtx_insn *.
16258         (epiphany_expand_prologue): Likewise for local "insn".
16259         * config/epiphany/mode-switch-use.c (insert_uses): Likewise.
16260         * config/epiphany/resolve-sw-modes.c
16261         (pass_resolve_sw_modes::execute): Likewise for locals "insn" and
16262         "seq".
16264 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16266         * config/c6x/c6x-protos.h (c6x_get_unit_specifier): Strengthen
16267         param from rtx to rtx_insn *.
16268         (c6x_final_prescan_insn): Likewise for first param.
16270         * config/c6x/c6x.c (c6x_current_insn): Likewise for this variable.
16271         (c6x_output_mi_thunk): Replace use of NULL_RTX with NULL.
16272         (c6x_expand_compare): Strengthen local "insns" from rtx to
16273         rtx_insn *.
16274         (c6x_get_unit_specifier): Likewise for param "insn".
16275         (c6x_print_unit_specifier_field): Likewise.
16276         (c6x_final_prescan_insn): Likewise.
16277         (emit_add_sp_const): Likewise for local "insn".
16278         (c6x_expand_prologue): Likewise.
16280 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16282         * config/bfin/bfin-protos.h (asm_conditional_branch): Strengthen
16283         param 1 from rtx to rtx_insn *.
16284         * config/bfin/bfin.c (expand_prologue_reg_save): Likewise for
16285         the various locals named "insn".
16286         (expand_epilogue_reg_restore): Likewise.
16287         (frame_related_constant_load): Likewise.
16288         (add_to_reg): Likewise.
16289         (emit_link_insn): Likewise.
16290         (do_link): Likewise.
16291         (expand_interrupt_handler_prologue): Likewise.
16292         (branch_dest): Likewise for param "branch".
16293         (asm_conditional_branch): Likewise for param "insn".
16294         (gen_one_bundle): Likewise for elements of param "slot" and local
16295         "t".
16296         (bfin_gen_bundles): Likewise for locals "insn", "next" and
16297         elements of local "slot".
16298         (reorder_var_tracking_notes): Likewise for locals "insn", "next",
16299         "queue", "next_queue", "prev".
16300         (workaround_rts_anomaly): Likewise for locals "insn", "first_insn".
16301         (add_sched_insns_for_speculation): Likewise for local "insn".
16303 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16305         * config/avr/avr-protos.h (output_movqi): Strengthen first param
16306         from rtx to rtx_insn *.
16307         (output_movhi): Likewise.
16308         (output_movsisf): Likewise.
16309         (avr_out_tstsi): Likewise.
16310         (avr_out_tsthi): Likewise.
16311         (avr_out_tstpsi): Likewise.
16312         (avr_out_compare): Likewise.
16313         (avr_out_compare64): Likewise.
16314         (avr_out_movpsi): Likewise.
16315         (ashlqi3_out): Likewise.
16316         (ashlhi3_out): Likewise.
16317         (ashlsi3_out): Likewise.
16318         (ashrqi3_out): Likewise.
16319         (ashrhi3_out): Likewise.
16320         (ashrsi3_out): Likewise.
16321         (lshrqi3_out): Likewise.
16322         (lshrhi3_out): Likewise.
16323         (lshrsi3_out): Likewise.
16324         (avr_out_ashlpsi3): Likewise.
16325         (avr_out_ashrpsi3): Likewise.
16326         (avr_out_lshrpsi3): Likewise.
16327         (avr_out_fract): Likewise.
16328         (avr_out_sbxx_branch): Likewise.
16329         (avr_out_round): Likewise.
16330         (avr_out_xload): Likewise.
16331         (avr_out_movmem): Likewise.
16332         (adjust_insn_length): Likewise.
16333         (avr_out_lpm): Likewise.
16334         (reg_unused_after): Likewise.
16335         (_reg_unused_after): Likewise.
16336         (avr_jump_mode): Likewise for second param.
16337         (jump_over_one_insn): Likewise for first param.
16338         (avr_final_prescan_insn): Likewise.
16339         (out_shift_with_cnt): Likewise for second param.
16341         * config/avr/avr.c (get_sequence_length): Likewise for param
16342         "insns" and local "insn".
16343         (emit_push_byte): Likewise for local "insn".
16344         (emit_push_sfr): Likewise.
16345         (avr_prologue_setup_frame): Likewise for locals "insn",
16346         "fp_plus_insns", "sp_plus_insns".
16347         (avr_expand_epilogue): Likewise for local "fp_plus_insns",
16348         "sp_plus_insns".
16349         (avr_jump_mode): Likewise for param "insn".
16350         (avr_final_prescan_insn): Likewise.
16351         (avr_find_unused_d_reg): Likewise.
16352         (avr_out_lpm_no_lpmx): Likewise.
16353         (avr_out_lpm): Likewise.
16354         (avr_out_xload): Likewise.
16355         (output_movqi): Likewise.
16356         (output_movhi): Likewise.
16357         (out_movqi_r_mr): Likewise.
16358         (out_movhi_r_mr): Likewise.
16359         (out_movsi_r_mr): Likewise.
16360         (out_movsi_mr_r): Likewise.
16361         (output_movsisf): Likewise.
16362         (avr_out_load_psi): Likewise.
16363         (avr_out_store_psi): Likewise.
16364         (avr_out_movpsi): Likewise.
16365         (out_movqi_mr_r): Likewise.
16366         (avr_out_movhi_mr_r_xmega): Likewise.
16367         (out_movhi_mr_r): Likewise.
16368         (compare_condition): Likewise for param "insn" and local "next".
16369         (compare_sign_p): Likewise for param "insn".
16370         (compare_diff_p): Likewise.
16371         (compare_eq_p): Likewise.
16372         (avr_out_compare): Likewise.
16373         (avr_out_compare64): Likewise.
16374         (avr_out_tsthi): Likewise.
16375         (avr_out_tstpsi): Likewise.
16376         (avr_out_tstsi): Likewise.
16377         (out_shift_with_cnt): Likewise.
16378         (ashlqi3_out): Likewise.
16379         (ashlhi3_out): Likewise.
16380         (avr_out_ashlpsi3): Likewise.
16381         (ashlsi3_out): Likewise.
16382         (ashrqi3_out): Likewise.
16383         (ashrhi3_out): Likewise.
16384         (avr_out_ashrpsi3): Likewise.
16385         (ashrsi3_out): Likewise.
16386         (lshrqi3_out): Likewise.
16387         (lshrhi3_out): Likewise.
16388         (avr_out_lshrpsi3): Likewise.
16389         (lshrsi3_out): Likewise.
16390         (avr_out_fract): Likewise.
16391         (avr_out_round): Likewise.
16392         (avr_adjust_insn_length): Likewise.
16393         (reg_unused_after): Likewise.
16394         (_reg_unused_after): Likewise.
16395         (avr_compare_pattern): Likewise.
16396         (avr_reorg_remove_redundant_compare): Likewise for param "insn1"
16397         and locals "branch1", "branch2", "insn2", "jump".
16398         (avr_reorg): Likewise for local "insn".
16399         (avr_2word_insn_p): Likewise for param "insn".
16400         (jump_over_one_insn_p): Likewise.
16401         (avr_out_sbxx_branch): Likewise.
16402         (avr_out_movmem): Likewise.
16404 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16406         * config/arm/arm-protos.h (arm_final_prescan_insn): Strengthen
16407         param from rtx to rtx_insn *.
16408         (thumb1_final_prescan_insn): Likewise.
16409         (thumb2_final_prescan_insn): Likewise.
16411         * config/arm/arm.c (emit_set_insn): Strengthen return type from
16412         rtx to rtx_insn *.
16413         (struct minipool_node): Likewise for field "insn".
16414         (dump_minipool): Likewise for param "scan".
16415         (create_fix_barrier): Likewise for local "from".  Strengthen local
16416         "label" from rtx to rtx_code_label *.
16417         (push_minipool_barrier): Strengthen param "insn" from rtx to
16418         rtx_insn *.
16419         (push_minipool_fix): Likewise.
16420         (note_invalid_constants): Likewise.
16421         (thumb2_reorg): Likewise for local "insn".
16422         (arm_reorg): Likewise.
16423         (thumb2_final_prescan_insn): Likewise for param
16424         "insn" and local "first_insn".
16425         (arm_final_prescan_insn): Likewise for param "insn" and locals
16426         "start_insn", "this_insn".
16427         (arm_debugger_arg_offset): Likewise for param "insn".
16428         (thumb1_emit_multi_reg_push): Likewise for return type and local
16429         "insn".
16430         (thumb1_final_prescan_insn): Likewise for param "insn".
16431         (thumb_far_jump_used_p): Likewise for local "insn".
16432         (thumb1_expand_prologue): Likewise.
16433         (arm_expand_epilogue_apcs_frame): Likewise.
16434         (arm_expand_epilogue): Likewise for locals "insn", "tmp".
16435         (arm_split_compare_and_swap): Strengthen locals "label1", "label2"
16436         from rtx to rtx_code_label *.
16437         (arm_split_atomic_op): Likewise for local "label".
16438         (arm_emit_coreregs_64bit_shift): Likewise for local "done_label".
16440 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16442         * config/arc/arc-protos.h (arc_final_prescan_insn): Strengthen
16443         first param from rtx to rtx_insn *.
16444         (arc_verify_short): Likewise.
16445         (arc_short_long): Likewise.
16446         (arc_need_delay): Likewise.
16448         * config/arc/arc.c (struct arc_ccfsm): Likewise for field
16449         "target_insn".
16450         (arc_ccfsm_advance): Likewise for param "insn" and locals
16451         "start_insn", "this_insn".
16452         (arc_ccfsm_record_condition): Likewise for local "seq_insn".
16453         (arc_ccfsm_post_advance): Likewise for param "insn".
16454         (arc_next_active_insn): Likewise for return type and param "insn".
16455         Convert NULL_RTX to NULL as appropriate.  Add a checked cast.
16456         (arc_verify_short): Strengthen param "insn" from rtx to rtx_insn *.
16457         (output_short_suffix): Likewise for local "insn".
16458         (arc_final_prescan_insn): Likewise for param "insn".  Remove
16459         now-redundant checked cast.
16460         (arc_reorg): Strengthen locals "insn", "top_label", "lp", "prev",
16461         "lp_simple", "next", "mov", "scan", "link_insn" from rtx to
16462         rtx_insn *.  Add a checked cast.  Introduce local "lc_set_insn"
16463         for use where lc_set became an insn.
16464         (arc_adjust_insn_length): Strengthen locals "prev", "succ" from
16465         rtx to rtx_insn *.
16466         (arc_get_insn_variants): Likewise for local "prev".
16467         (arc_ifcvt): Likewise for locals "insn", "seq", "prev", "pprev",
16468         "next".
16469         (arc_predicate_delay_insns): Likewise for local "insn".
16470         (arc_pad_return): Likewise for local "prev".  For now, add a
16471         checked cast when extracting the insn from "final_sequence".
16472         (arc_short_long): Likewise for param "insn".
16473         (arc_need_delay): Likewise for param "insn" and local "next".
16474         (arc_label_align): Likewise for locals "prev", "next".
16476 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16478         * config/alpha/alpha.c (alpha_emit_set_const): Strengthen local
16479         "insn" from rtx to rtx_insn *.
16480         (alpha_gp_save_rtx): Likewise for local "seq".
16481         (alpha_instantiate_decls): Likewise for local "top".
16482         (get_some_local_dynamic_name): Likewise for local "insn".
16483         (alpha_does_function_need_gp): Likewise.
16484         (set_frame_related_p): Likewise for return type and for locals
16485         "seq" and "insn".
16486         (emit_frame_store_1): Likewise for local "insn".
16487         (alpha_expand_prologue): Likewise for locals "insn", "seq".
16488         (alpha_end_function): Likewise for local "insn".
16489         (alpha_output_mi_thunk_osf): Likewise.
16490         (alphaev4_insn_pipe): Likewise for param "insn".
16491         (alphaev5_insn_pipe): Likewise.
16492         (alphaev4_next_group): Likewise for return type and param 1
16493         "insn".
16494         (alphaev5_next_group): Likewise.
16495         (alpha_align_insns_1): Likewise for return type and param 1 of
16496         callback param "next_group", and for locals "i", "next", "prev",
16497         "where", "where2", "insn".
16499 2014-08-25  Bernd Schmidt  <bernds@codesourcery.com>
16501         * tree-nested.c (finalize_nesting_tree_1): Initialize temporary earlier
16502         rather than modifying the stmt.
16504 2014-08-25  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
16506         * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from
16507         cgraph_state conversion.
16509 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
16511         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
16512         Strengthen local "insns" from rtx to rtx_insn *.
16513         (aarch64_set_frame_expr): Likewise for local "insn".
16514         (aarch64_save_or_restore_fprs): Likewise.
16515         (aarch64_save_or_restore_callee_save_registers): Likewise.
16516         (aarch64_expand_prologue): Likewise.
16517         (aarch64_expand_epilogue): Likewise.
16518         (aarch64_output_mi_thunk): Likewise.
16519         (aarch64_split_compare_and_swap): Strengthen locals "label1" and
16520         "label2" from rtx to rtx_code_label *.
16521         (aarch64_split_atomic_op): Likewise for local "label".
16523 2014-08-25  Martin Liska  <mliska@suse.cz>
16525         * cgraph.h (symtab_node):
16526         (bool needed_p (void)): created from decide_is_symbol_needed
16527         (bool referred_to_p (void)): created from referred_to_p
16528         (static cgraph_node *get_for_asmname (tree asmname)): created from symtab_node_for_asm
16529         * cgraph.h (cgraph_node):
16530         (void assemble_thunks_and_aliases (void)): created from assemble_thunks_and_aliases
16531         (void expand (void)): created from expand_function
16532         (static void finalize_function (tree, bool)): created from cgraph_finalize_function
16533         (static cgraph_local_info *local_info (tree decl)): created from cgraph_local_info
16534         (static cgraph_global_info *global_info (tree)): created from cgraph_global_info
16535         (static cgraph_rtl_info *rtl_info (tree)): created from cgraph_rtl_info
16536         * cgraph.h (varpool_node):
16537         (static void add (tree decl): created from varpool_add_new_variable
16538         * cgraph.h (cgraph_edge):
16539         void remove (void);
16540         (void remove_caller (void)): created from cgraph_edge_remove_caller
16541         (void remove_callee (void)): created from cgraph_edge_remove_callee
16542         (void set_call_stmt (gimple new_stmt, bool update_speculative = true)):
16543           created from cgraph_set_call_stmt
16544         (void redirect_callee (cgraph_node *n)): created from cgraph_redirect_edge_callee
16545         (cgraph_edge *make_direct (cgraph_node *callee)): created from cgraph_make_edge_direct
16546         (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count,
16547           gimple redirect_call_stmt_to_callee (void)): created from cgraph_turn_edge_to_speculative
16548         (void speculative_call_info (cgraph_edge *&direct, cgraph_edge *&indirect, ipa_ref *&reference)):
16549           created from cgraph_speculative_call_info
16550         (cgraph_edge * clone (cgraph_node *n, gimple call_stmt, unsigned stmt_uid, gcov_type count_scale,
16551           int freq_scale, bool update_original)): created from cgraph_clone_edge
16552         (cgraph_edge *resolve_speculation (tree callee_decl)): created from cgraph_resolve_speculation
16553         (bool cannot_lead_to_return_p (void)): created from cannot_lead_to_return_p
16554         (bool recursive_p (void)): created from cgraph_edge_recursive_p
16555         (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p
16556         (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges
16557         (static void rebuild_references (void)): created from cgraph_rebuild_references
16558         * cgraph.h (symbol_table):
16559         (create_reference): renamed from add_reference
16560         (maybe_create_reference): renamed from maybe_add_reference
16561         (void register_symbol (symtab_node *node)): new function
16562         (void clear_asm_symbols (void)): new function
16563         (void unregister (symtab_node *node)): new function
16564         (void release_symbol (cgraph_node *node, int uid)): new function
16565         (cgraph_node * allocate_cgraph_symbol (void)): new function
16566         (void initialize (void)): created from cgraph_init
16567         (symtab_node *first_symbol (void)):new function
16568         (asm_node *first_asm_symbol (void)):new function
16569         (symtab_node *first_defined_symbol (void)):new function
16570         (varpool_node *first_variable (void)):new function
16571         (varpool_node *next_variable (varpool_node *node)):new function
16572         (varpool_node *first_static_initializer (void)):new function
16573         (varpool_node *next_static_initializer (varpool_node *node)):new function
16574         (varpool_node *first_defined_variable (void)):new function
16575         (varpool_node *next_defined_variable (varpool_node *node)):new function
16576         (cgraph_node *first_defined_function (void)):new function
16577         (cgraph_node *next_defined_function (cgraph_node *node)):new function
16578         (cgraph_node *first_function (void)):new function
16579         (cgraph_node *next_function (cgraph_node *node)):new function
16580         (cgraph_node *first_function_with_gimple_body (void)):new function
16581         (asm_node *finalize_toplevel_asm (tree asm_str)): created from add_asm_node
16582         (bool remove_unreachable_nodes (bool before_inlining_p, FILE *file)):
16583           created from symtab_remove_unreachable_nodes
16584         (void remove_unreferenced_decls (void)): created from varpool_remove_unreferenced_decls
16585         (void process_new_functions (void)): created from cgraph_process_new_functions
16586         (void process_same_body_aliases (void)): created from cgraph_process_same_body_aliases
16587         (bool output_variables (void)): created from varpool_node::output_variables
16588         (void output_asm_statements (void)): created from output_asm_statements
16589         (void finalize_compilation_unit (void)): created from finalize_compilation_unit
16590         (void compile (void)): created from compile
16591         (void output_weakrefs (void)): created from output_weakrefs
16592         (cgraph_node *create_empty (void)): created from cgraph_node::create_empty
16593         (cgraph_edge *create_edge (cgraph_node *caller, cgraph_node *callee, gimple call_stmt,
16594           gcov_type count, int freq, bool indir_unknown_callee)): created from cgraph_node::create_edge
16595         (void free_edge (cgraph_edge *e)): created from cgraph_free_edge
16596         (cgraph_node *next_function_with_gimple_body (cgraph_node *node)):
16597           created from cgraph_next_function_with_gimple_body
16598         (void remove_edge_removal_hook (cgraph_edge_hook_list *)):
16599           created from cgraph_remove_edge_removal_hook
16600         (cgraph_node_hook_list *add_cgraph_removal_hook (cgraph_node_hook, void *)):
16601           created from cgraph_add_node_removal_hook
16602         (void remove_cgraph_removal_hook (cgraph_node_hook_list *)):
16603           created from cgraph_remove_node_removal_hook
16604         (varpool_node_hook_list *add_varpool_removal_hook (varpool_node_hook, void *)):
16605           created from varpool_add_node_removal_hook
16606         (void remove_varpool_removal_hook (varpool_node_hook_list *)):
16607           created from varpool_remove_node_removal_hook
16608         (cgraph_node_hook_list *add_cgraph_insertion_hook (cgraph_node_hook, void *)):
16609           created from cgraph_add_function_insertion_hook
16610         (void remove_cgraph_insertion_hook (cgraph_node_hook_list *)):
16611           created from cgraph_remove_function_insertion_hook
16612         (varpool_node_hook_list *add_varpool_insertion_hook (varpool_node_hook, void *)):
16613           created from varpool_add_variable_insertion_hook
16614         (void remove_varpool_insertion_hook (varpool_node_hook_list *)):
16615           created from varpool_remove_variable_insertion_hook
16616         (cgraph_2edge_hook_list *add_edge_duplication_hook (cgraph_2edge_hook, void *)):
16617           created from cgraph_add_edge_duplication_hook
16618         (void remove_edge_duplication_hook (cgraph_2edge_hook_list *)):
16619           created from cgraph_remove_edge_duplication_hook
16620         (cgraph_2node_hook_list *add_cgraph_duplication_hook (cgraph_2node_hook, void *)):
16621           created from cgraph_add_node_duplication_hook
16622         (void remove_cgraph_duplication_hook (cgraph_2node_hook_list *)):
16623           created from cgraph_remove_node_duplication_hook
16624         (void call_edge_removal_hooks (cgraph_edge *e)):
16625           created from cgraph_call_edge_removal_hooks
16626         (void call_cgraph_insertion_hooks (cgraph_node *node)):
16627           created from call_function_insertion_hooks
16628         (void call_cgraph_removal_hooks (cgraph_node *node)):
16629           created from cgraph_call_node_removal_hooks
16630         (void call_cgraph_duplication_hooks (cgraph_node *node, cgraph_node *node2)):
16631           created from cgraph_node::call_duplication_hooks
16632         (void call_edge_duplication_hooks (cgraph_edge *cs1, cgraph_edge *cs2)):
16633           created from cgraph_call_edge_duplication_hooks
16634         (void call_varpool_removal_hooks (varpool_node *node)):
16635           created from varpool_call_node_removal_hooks
16636         (void call_varpool_insertion_hooks (varpool_node *node)):
16637           created from varpool_call_variable_insertion_hooks
16638         (void insert_to_assembler_name_hash (symtab_node *node, bool with_clones)):
16639           created from insert_to_assembler_name_hash
16640         (void unlink_from_assembler_name_hash (symtab_node *node, bool with_clones)):
16641           created from unlink_from_assembler_name_hash
16642         (void symtab_prevail_in_asm_name_hash (symtab_node *node)):
16643           created from symtab_prevail_in_asm_name_hash
16644         (void symtab_initialize_asm_name_hash (void)):
16645           created from symtab_initialize_asm_name_hash
16646         (void change_decl_assembler_name (tree decl, tree name)):
16647           created from change_decl_assembler_name
16648         (void materialize_all_clones (void)): created from cgraph_materialize_all_clones
16649         (static hashval_t decl_assembler_name_hash (const_tree asmname)):
16650           created from decl_assembler_name_hash
16651         (static bool decl_assembler_name_equal (tree decl, const_tree asmname)):
16652           created from decl_assembler_name_equal
16653         (static hashval_t hash_node_by_assembler_name (const void *p)):
16654           created from hash_node_by_assembler_name
16655         (static int eq_assembler_name (const void *p1, const void *p2)):
16656           created from eq_assembler_name
16658 2014-08-25  Marek Polacek  <polacek@redhat.com>
16660         * config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.
16662 2014-08-25  Petr Murzin  <petr.murzin@intel.com>
16664         * config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
16665         (*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
16666         SWI1248_AVX512BW mode iterator.
16668 2014-08-25  Kaz Kojima  <kkojima@gcc.gnu.org>
16670         PR target/62111
16671         * config/sh/predicates.md (general_extend_operand): Disable
16672         TRUNCATE before reload completes.
16674 2014-08-24  Gerald Pfeifer  <gerald@pfeifer.com>
16676         * doc/invoke.texi (Optimize Options): Fix markup in two cases.
16678 2014-08-24  Oleg Endo  <olegendo@gcc.gnu.org>
16680         PR target/61996
16681         * config/sh/sh.opt (musermode): Allow negative form.
16682         * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
16683         targets that don't support it.
16684         * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
16685         Document -mno-usermode option.
16687 2014-08-24  Kito Cheng  <kito@0xlab.org>
16689         * system.h (CALLER_SAVE_PROFITABLE): Poison.
16690         * regs.h (CALLER_SAVE_PROFITABLE): Remove.
16691         * doc/tm.texi.in (CALLER_SAVE_PROFITABLE): Remove.
16692         * doc/tm.texi: Regenerate.
16694 2014-08-24  Kito Cheng  <kito@0xlab.org>
16696         * ira.c: Fix typo in comment.
16698 2014-08-23  Edward Smith-Rowland  <3dw4rd@verizon.net>
16700         * doc/invoke.texi: Change c++1y to c++14 and gnu++1y to gnu++14.
16701         Deprecate c++1y. Change language to reflect greater confidence in C++14.
16703 2014-08-23  John David Anglin  <danglin@gcc.gnu.org>
16705         PR target/62038
16706         * config/pa/pa.c (pa_output_function_epilogue): Don't set
16707         last_address when the current function is a thunk.
16708         (pa_asm_output_mi_thunk): When we don't have named sections or they
16709         are not being used, check that thunk can reach the stub table with a
16710         short branch.
16712 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
16714         * web.c (union_match_dups): Strengthen param "insn" from rtx to
16715         rtx_insn *.
16716         (pass_web::execute): Likewise for local "insn".
16718 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
16720         * var-tracking.c (struct micro_operation_def): Strengthen field
16721         "insn" from rtx to rtx_insn *.
16722         (struct emit_note_data_def): Likewise.
16723         (insn_stack_adjust_offset_pre_post): Likewise for param "insn".
16724         (vt_stack_adjustments): Likewise for local "insn".
16725         (adjust_insn): Likewise for param "insn".
16726         (val_store): Likewise.
16727         (val_resolve): Likewise.
16728         (struct count_use_info): Likewise for field "insn".
16729         (log_op_type): Likewise for param "insn".
16730         (reverse_op): Likewise.
16731         (prepare_call_arguments): Likewise.
16732         (add_with_sets):  The initial param takes an insn, but we can't
16733         yet strengthen it from rtx to rtx_insn * since it's used as a
16734         cselib_record_sets_hook callback.  For now rename initial param
16735         from "insn" to "uncast_insn", and introduce a local "insn" of
16736         the stronger rtx_insn * type, with a checked cast.
16737         (compute_bb_dataflow): Strengthen local "insn" from rtx to
16738         rtx_insn *.
16739         (emit_note_insn_var_location): Likewise.
16740         (emit_notes_for_changes): Likewise.
16741         (emit_notes_for_differences): Likewise.
16742         (next_non_note_insn_var_location): Likewise for return type and
16743         for param "insn".
16744         (emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
16745         (vt_initialize): Likewise for local "insn".
16746         (delete_debug_insns): Likewise for locals "insn" and "next".
16748 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
16750         * varasm.c (mark_constants): Strengthen param "insn" from rtx to
16751         rtx_insn *.
16752         (mark_constant_pool): Likewise for local "insn".
16754 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
16756         * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
16757         rtx to rtx_insn *.
16758         (dead_debug_promote_uses): Likewise.
16759         (dead_debug_insert_temp): Likewise.
16761 2014-08-23  David Malcolm  <dmalcolm@redhat.com>
16763         * store-motion.c (store_killed_in_insn): Strengthen param "insn"
16764         from const_rtx to const rtx_insn *.
16765         (store_killed_after): Likewise.  Strengthen locals "last", "act"
16766         from rtx to rtx_insn *.
16767         (store_killed_before): Strengthen param "insn" from const_rtx to
16768         const rtx_insn *.  Strengthen local "first" from rtx to rtx_insn *.
16769         (find_moveable_store): Strengthen param "insn" from rtx to
16770         rtx_insn *.
16771         (compute_store_table): Likewise for local "insn".
16772         (insert_insn_start_basic_block): Likewise for param "insn" and
16773         locals "prev", "before", "insn".
16774         (insert_store): For now, add a checked cast to rtx_insn * on the
16775         result of gen_move_insn.
16776         (remove_reachable_equiv_notes): Strengthen local "insn" from rtx
16777         to rtx_insn *.
16778         (replace_store_insn): Likewise.  For now, add a checked cast to
16779         rtx_insn * on the result of gen_move_insn.
16781 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16783         * stmt.c (expand_case): Strengthen local "before_case" from rtx to
16784         rtx_insn *.
16785         (expand_sjlj_dispatch_table): Likewise.
16787 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16789         * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
16790         "insn" from rtx to rtx_insn *.
16792 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16794         * shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
16795         "insn" from rtx to rtx_insn *.
16796         (dup_block_and_redirect): Likewise for param 3 "before".
16798         * shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
16799         from rtx to rtx_insn *.
16800         (move_insn_for_shrink_wrap): Likewise.
16801         (prepare_shrink_wrap): Likewise for locals "insn", "curr".
16802         (dup_block_and_redirect): Likewise for param "before" and local
16803         "insn".
16804         (try_shrink_wrapping): Likewise for locals "insn", "insert_point",
16805         "end".
16806         (convert_to_simple_return): Likewise for local "start".
16808         * config/i386/i386.c (ix86_finalize_stack_realign_flags):
16809         Strengthen local "insn" from rtx to rtx_insn *, for use when
16810         invoking requires_stack_frame_p.
16812 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16814         * sel-sched-ir.c (vinsn_copy): Strengthen local "copy" from rtx to
16815         rtx_insn *.
16816         (speculate_expr): Likewise for locals "orig_insn_rtx",
16817         "spec_insn_rtx".
16818         (eq_transformed_insns): Likewise for locals "i1", "i2".
16819         (check_for_new_jump): Likewise for return type and local "end".
16820         (find_new_jump): Likewise for return type and local "jump".
16821         (sel_split_edge): Likewise for local "jump".
16822         (sel_create_recovery_block): Likewise.
16823         (sel_redirect_edge_and_branch_force): Likewise.
16824         (sel_redirect_edge_and_branch): Likewise.
16826 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16828         * sel-sched.c (substitute_reg_in_expr): Strengthen local
16829         "new_insn" from rtx to rtx_insn *.
16830         (create_insn_rtx_with_rhs): Likewise for return type and for local
16831         "insn_rtx".
16832         (create_insn_rtx_with_lhs): Likewise.
16833         (create_speculation_check): Likewise for local "insn_rtx".
16834         (implicit_clobber_conflict_p): Likewise for local "insn".
16835         (get_expr_cost): Likewise.
16836         (emit_bookkeeping_insn): Likewise for local "new_insn_rtx".
16837         (move_cond_jump): Likewise for locals "next", "prev", "link",
16838         "head", "from", "to".
16840 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16842         * sched-rgn.c (is_cfg_nonregular): Strengthen locals "insn" and
16843         "next" from rtx to rtx_insn *.
16844         (find_conditional_protection): Likewise for local "next".
16845         (is_conditionally_protected): Likewise for local "insn1".
16846         (is_pfree): Likewise for locals "insn1", "insn2".
16848 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16850         * sched-int.h (schedule_ebb): Strengthen params "head", "tail"
16851         from rtx to rtx_insn *.
16853         * sched-ebb.c (earliest_block_with_similiar_load): Strengthen
16854         locals "insn1", "insn2" from rtx to rtx_insn *.
16855         (add_deps_for_risky_insns): Likewise for params "head", "tail" and
16856         locals "insn", "prev", "last_jump", "next_tail".
16857         (schedule_ebb): Likewise for params "head", "tail".
16858         (schedule_ebbs): Likewise for locals "tail", "head".
16860         * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
16861         to rtx_insn on "last_insn" in one of the invocations of
16862         schedule_ebb.
16864 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16866         * sched-deps.c (maybe_add_or_update_dep_1): Strengthen locals
16867         "elem", "insn" from rtx to rtx_insn *.
16868         (change_spec_dep_to_hard): Likewise.
16869         (get_back_and_forw_lists): Likewise for local "con".
16870         (sd_add_dep): Likewise for locals "elem", "insn".
16871         (sd_resolve_dep): Likewise for locals "pro", "con".
16872         (sd_unresolve_dep): Likewise.
16873         (sd_delete_dep): Likewise.
16874         (chain_to_prev_insn): Likewise for local "pro".
16875         (find_inc): Likewise for locals "pro", "con".
16877 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16879         * rtlanal.c (reg_used_between_p): Strengthen local "insn" from rtx
16880         to rtx_insn *.
16881         (reg_set_between_p): Strengthen local "insn" from const_rtx to
16882         const rtx_insn *.
16883         (modified_between_p): Strengthen local "insn" from rtx to
16884         rtx_insn *.
16885         (remove_reg_equal_equiv_notes_for_regno): Likewise.
16886         (keep_with_call_p): Strengthen local "i2" from const_rtx to
16887         const rtx_insn *.
16889 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16891         * resource.c (next_insn_no_annul): Strengthen local "next" from
16892         rtx to rtx_insn *.
16893         (mark_referenced_resources): Likewise for local "insn".
16895 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
16897         * reload.h (struct insn_chain): Strengthen field "insn" from rtx
16898         to rtx_insn *.
16899         (find_reloads): Likewise for param 1.
16900         (subst_reloads): Likewise for sole param.
16901         (find_equiv_reg): Likwise for param 2.
16902         (regno_clobbered_p): Likwise for param 2.
16903         (reload): Likewise for param 1.
16905         * caller-save.c (save_call_clobbered_regs): Strengthen local
16906         "insn" from rtx to rtx_insn *.
16907         (insert_one_insn): Likewise for local "insn".
16909         * reload.c (this_insn): Likewise for this global.
16910         (find_reloads): Likewise for param "insn".
16911         (find_reloads_toplev): Likewise.
16912         (find_reloads_address): Likewise.
16913         (subst_reg_equivs): Likewise.
16914         (update_auto_inc_notes): Likewise.
16915         (find_reloads_address_1): Likewise.
16916         (find_reloads_subreg_address): Likewise.
16917         (subst_reloads): Likewise.
16918         (find_equiv_reg): Likewise, also for local "p".
16919         (regno_clobbered_p): Likewise for param "insn".
16921         * reload1.c (reg_reloaded_insn): Likewise for the elements of this
16922         array.
16923         (spill_reg_store): Likewise for the elements of this array.
16924         (remove_init_insns): Likewise for local "equiv_insn".
16925         (will_delete_init_insn_p): Likewise for param "insn".
16926         (reload): Likewise for param ""first" and local "insn".
16927         (calculate_needs_all_insns): Strengthen local "insn" from rtx to
16928         rtx_insn *.
16929         (calculate_elim_costs_all_insns): Likewise.
16930         (delete_caller_save_insns): Likewise.
16931         (spill_failure): Likewise for param "insn".
16932         (delete_dead_insn): Likewise.
16933         (set_label_offsets): Likewise.
16934         (eliminate_regs_in_insn): Likewise, also for locals "base_insn" and
16935         "prev_insn".
16936         (elimination_costs_in_insn): Likewise for param "insn".
16937         (set_initial_eh_label_offset): Replace use of NULL_RTX with NULL
16938         when referring to an insn.
16939         (set_initial_label_offsets): Likewise.
16940         (set_offsets_for_label): Strengthen param "insn" from rtx to
16941         rtx_insn *.
16942         (init_eliminable_invariants): Likewise for param "first" and local
16943         "insn".
16944         (fixup_eh_region_note): Likewise for param "insn".
16945         (reload_as_needed): Likewise for locals "prev", "insn",
16946         "old_next", "old_prev", "next".
16947         (gen_reload_chain_without_interm_reg_p): Likewise for locals "insn",
16948         "last".
16949         (reload_inheritance_insn): Strengthen elements of this array from
16950         rtx to rtx_insn *.
16951         (failed_reload): Likewise for param "insn".
16952         (choose_reload_regs): Likewise for local "insn".  Replace use of
16953         NULL_RTX with NULL when referring to an insn.
16954         (input_reload_insns): Strengthen elements of this array from rtx
16955         to rtx_insn *.
16956         (other_input_address_reload_insns): Likewise for this global.
16957         (other_input_reload_insns): Likewise for this global.
16958         (input_address_reload_insns): Likwise for the elements of this
16959         array.
16960         (inpaddr_address_reload_insns): Likwise for the elements of this
16961         array.
16962         (output_reload_insns): Likewise for the elements of this array.
16963         (output_address_reload_insns): Likewise for the elements of this
16964         array.
16965         (outaddr_address_reload_insns): Likewise for the elements of this
16966         array.
16967         (operand_reload_insns): Likewise for this global.
16968         (other_operand_reload_insns): Likewise for this global.
16969         (other_output_reload_insns): Likewise for the elements of this
16970         array.
16971         (new_spill_reg_store): Likewise for the elements of this
16972         array.
16973         (emit_input_reload_insns): Likewise for locals "insn", "temp".
16974         Strengthen local "where" from rtx * to rtx_insn **.
16975         (emit_output_reload_insns): Strengthen locals "insn", "p", "next"
16976         from rtx to rtx_insn *.
16977         (do_input_reload): Likewise for local "insn".
16978         (do_output_reload): Likewise for local "insn".
16979         (emit_reload_insns): Likewise for locals "insn" and "store_insn".
16980         (emit_insn_if_valid_for_reload): Likewise for return type and local
16981         "last".  Add checked cast to rtx_insn when returning "insn" since
16982         this has been through emit_insn.
16983         (gen_reload): Strengthen return type and locals "last", "insn", "set"
16984         from rtx to rtx_insn *.  Add checked cast to rtx_insn when
16985         returning "insn" since it's been through
16986         emit_insn_if_valid_for_reload at this point.
16987         (delete_output_reload): Strengthen param "insn" and locals
16988         "output_reload_insn", "i2" from rtx to rtx_insn *.
16989         (delete_address_reloads): Likewise for params "dead_insn",
16990         "current_insn" and locals "prev", "next".
16991         (delete_address_reloads_1): Likewise for params "dead_insn",
16992         "current_insn" and locals "prev", "i2".
16993         (inc_for_reload): Likewise for locals "last", "add_insn".
16994         (add_auto_inc_notes): Strengthen param "insn" from rtx to
16995         rtx_insn *.
16997         * config/arc/arc-protos.h (regno_clobbered_p): Likewise for 2nd
16998         param of this duplicate of the prototype from reload.h
17000 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17002         * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
17003         rtx to rtx_insn *.
17004         (regstat_bb_compute_calls_crossed): Likewise.
17006 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17008         * regrename.c (create_new_chain): Strengthen param "insn" from rtx
17009         to rtx_insn *.
17010         (init_rename_info): Replace use of NULL_RTX with NULL when dealing
17011         with an insn.
17012         (regrename_analyze): Strengthen local "insn" from rtx to
17013         rtx_insn *.
17014         (scan_rtx_reg): Likewise for param "insn".
17015         (scan_rtx_address): Likewise.
17016         (scan_rtx): Likewise.
17017         (restore_operands): Likewise.
17018         (record_out_operands): Likewise.
17019         (build_def_use): Likewise for local "insn".  Replace use of
17020         NULL_RTX with NULL when dealing with an insn.
17022 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17024         * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *.
17025         * reginfo.c (reg_scan): Likewise, also for local "insn".
17026         (reg_scan_mark_refs): Likewise for param "insn".
17027         (init_subregs_of_mode): Likewise for local "insn".
17029 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17031         * regcprop.c (struct queued_debug_insn_change): Strengthen field
17032         "insn" from rtx to rtx_insn *.
17033         (replace_oldest_value_reg): Likewise for param "insn".
17034         (replace_oldest_value_addr): Likewise.
17035         (replace_oldest_value_mem): Likewise.
17036         (apply_debug_insn_changes): Likewise for local "last_insn".
17037         (copyprop_hardreg_forward_1): Likewise for local "insn".
17039 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17041         * reg-stack.c (next_flags_user): Strengthen return type and param
17042         "insn" from rtx to rtx_insn *.
17043         (straighten_stack): Likewise for param "insn".
17044         (check_asm_stack_operands): Likewise.
17045         (remove_regno_note): Likewise.
17046         (emit_pop_insn): Likewise for return type, param "insn", local
17047         "pop_insn".
17048         (emit_swap_insn):  Strengthen param "insn" and locals "i1", "tmp",
17049         "limit" from rtx to rtx_insn *.
17050         (swap_to_top): Likewise for param "insn".
17051         (move_for_stack_reg): Likewise.
17052         (move_nan_for_stack_reg): Likewise.
17053         (swap_rtx_condition): Likewise.
17054         (compare_for_stack_reg): Likewise.
17055         (subst_all_stack_regs_in_debug_insn): Likewise.
17056         (subst_stack_regs_pat): Likewise, and local "insn2".
17057         (subst_asm_stack_regs): Strengthen param "insn" from rtx to
17058         rtx_insn *.
17059         (subst_stack_regs): Likewise.
17060         (change_stack): Likewise.
17061         (convert_regs_1): Likewise for locals "insn", "next".
17063 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17065         * ree.c (struct ext_cand): Strengthen field "insn" from rtx to
17066         rtx_insn *.
17067         (combine_set_extension): Likewise for param "curr_insn".
17068         (transform_ifelse): Likewise for param "def_insn".
17069         (get_defs): Likewise for param "def_insn".  Strengthen param "dest"
17070         from vec<rtx> * to vec<rtx_insn *> *.
17071         (is_cond_copy_insn): Likewise for param "insn".
17072         (struct ext_state): Strengthen the four vec fields from vec<rtx>
17073         to vec<rtx_insn *>.
17074         (make_defs_and_copies_lists): Strengthen param "extend_insn" and
17075         local "def_insn" from rtx to rtx_insn *.
17076         (get_sub_rtx): Likewise for param "def_insn".
17077         (merge_def_and_ext): Likewise.
17078         (combine_reaching_defs): Likewise.
17079         (add_removable_extension): Likewise for param "insn".
17080         (find_removable_extensions): Likewise for local "insn".
17081         (find_and_remove_re): Likewise for locals "curr_insn" and
17082         "def_insn".  Strengthen locals "reinsn_del_list" and
17083         "reinsn_del_list" from auto_vec<rtx> to auto_vec<rtx_insn *>.
17085 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17087         * recog.c (split_insn): Strengthen param "insn" and locals
17088         "first", "last" from rtx to rtx_insn *.
17089         (split_all_insns): Likewise for locals "insn", "next".
17090         (split_all_insns_noflow): Likewise.
17092 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17094         * rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
17095         const rtx_insn *.
17096         (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
17097         (debug_rtx_find): Likewise for param 1 "x".
17099         * print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
17100         const_rtx to const rtx_insn *.  Likewise for local "insn".
17101         (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
17102         (debug_rtx_find): Likewise for param 1 "x".
17103         (print_rtl): Likewise for local "tmp_rtx", adding a checked cast
17104         from const_rtx to const rtx_insn * within the appropriate cases of
17105         the switch statement.
17107         * config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
17108         Strengthen local "insns" from rtx to rtx_insn * since this is
17109         passed to a call to debug_rtx_list.
17111 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17113         * predict.h (predict_insn_def): Strengthen param "insn" from rtx
17114         to rtx_insn *.
17116         * function.c (stack_protect_epilogue): Add checked cast to
17117         rtx_insn for now when invoking predict_insn_def.
17119         * predict.c (predict_insn): Strengthen param "insn" from rtx to
17120         rtx_insn *.
17121         (predict_insn_def): Likewise.
17122         (rtl_predict_edge): Likewise for local "last_insn".
17123         (can_predict_insn_p): Strengthen param "insn" from const_rtx to
17124         const rtx_insn *.
17125         (combine_predictions_for_insn): Strengthen param "insn" from rtx
17126         to rtx_insn *.
17127         (bb_estimate_probability_locally): Likewise for local "last_insn".
17128         (expensive_function_p): Likewise for local "insn".
17130         * config/cris/cris.c (cris_emit_trap_for_misalignment): Likewise for
17131         local "jmp", since this is used when invoking predict_insn_def.
17133 2014-08-22  Marek Polacek  <polacek@redhat.com>
17135         PR c++/62199
17136         * doc/invoke.texi: Update -Wlogical-not-parentheses description.
17138 2014-08-22  Marek Polacek  <polacek@redhat.com>
17140         PR c/61271
17141         * ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
17142         a comparison in parens.
17143         * lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
17144         in parens.
17146 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17148         * rtl.h (fis_get_condition): Strengthen param "jump" from rtx to
17149         rtx_insn *.
17151         * cprop.c (fis_get_condition): Likewise.
17153         * postreload.c (reload_cse_regs): Likewise for param "first".
17154         (reload_cse_simplify): Likewise for param "insn".
17155         (reload_cse_regs_1): Likewise for local "insn".
17156         (reload_cse_simplify_set): Likewise for param "insn".
17157         (reload_cse_simplify_operands): Likewise.
17158         (struct reg_use): Likewise for field "insn".
17159         (reload_combine_purge_insn_uses): Likewise for param "insn".
17160         (fixup_debug_insns): Likewise for params "from", "to" and local
17161         "insn".
17162         (try_replace_in_use): Likewise for local "use_insn".
17163         (reload_combine_recognize_const_pattern): Likewise for param
17164         "insn" and locals "add_moved_after_insn", "use_insn".
17165         (reload_combine_recognize_pattern): Likewise for param "insn" and
17166         local "prev".
17167         (reload_combine): Likewise for locals "insn", "prev".
17168         (reload_combine_note_use): Likewise for param "insn".
17169         (move2add_use_add2_insn): Likewise.
17170         (move2add_use_add3_insn): Likewise.
17171         (reload_cse_move2add): Likewise, also for local "next".
17172         (move2add_note_store): Likewise for local "insn".
17174 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17176         * postreload-gcse.c (struct occr): Strengthen field "insn" from
17177         rtx to rtx_insn *.
17178         (struct unoccr): Likewise.
17179         (struct modifies_mem): Likewise.
17180         (alloc_mem): Likewise for local "insn".
17181         (insert_expr_in_table): Likewise for param "insn".
17182         (dump_expr_hash_table_entry): Likewise for local "insn".
17183         (oprs_unchanged_p): Likewise for param "insn".
17184         (load_killed_in_block_p): Likewise for local "setter".
17185         (record_last_reg_set_info): Likewise for param "insn".
17186         (record_last_reg_set_info_regno): Likewise.
17187         (record_last_mem_set_info): Likewise.
17188         (record_last_set_info): Likewise for local "last_set_insn".
17189         (record_opr_changes): Likewise for param "insn".
17190         (hash_scan_set): Likewise.
17191         (compute_hash_table): Likewise for local "insn".
17192         (get_avail_load_store_reg): Likewise for param "insn".
17193         (eliminate_partially_redundant_load): Likewise, also for locals
17194         "avail_insn", "next_pred_bb_end".  Replace use of NULL_RTX with
17195         RTX for insns.
17196         (eliminate_partially_redundant_loads): Likewise for local "insn".
17198 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17200         * optabs.c (expand_doubleword_shift): Strengthen local "insn" from
17201         rtx to rtx_insn *.
17202         (expand_binop): Likewise for locals "entry_last", "last", "insns"
17203         (expand_twoval_unop): Likewise for locals entry_last", "last".
17204         (expand_twoval_binop): Likewise.
17205         (expand_twoval_binop_libfunc): Likewise for local "insns".
17206         (widen_leading): Likewise for local "last".
17207         (expand_doubleword_clz): Likewise for local "seq".  Strengthen
17208         locals "hi0_label", "after_label" from rtx to rtx_code_label *.
17209         (widen_bswap): Strengthen local "last" from rtx to rtx_insn *.
17210         (expand_parity): Likewise for locals "last" and "seq".
17211         (expand_ffs): Likewise for local "seq".  Strengthen local
17212         "nonzero_label" from rtx to rtx_code_label *.
17213         (expand_absneg_bit): Strengthen local "insns" from rtx to
17214         rtx_insn *.
17215         (expand_unop_direct): Likewise for local "last".
17216         (expand_unop): Likewise for locals "last", "insns".
17217         (expand_abs_nojump): Likewise for local "last".
17218         (expand_abs): Strengthen local "op1" from rtx to rtx_code_label *.
17219         (expand_one_cmpl_abs_nojump): Strengthen local "last" from rtx to
17220         rtx_insn *.
17221         (expand_copysign_absneg): Strengthen local "label" from rtx to
17222         rtx_code_label *.
17223         (expand_copysign_bit): Strengthen local "insns" from rtx to
17224         rtx_insn *.
17225         (struct no_conflict_data): Likewise for fields "first", "insn".
17226         (emit_libcall_block_1): Likewise for param "insns" and locals
17227         "next", "last", "insn".
17228         (emit_libcall_block): For now, add a checked cast to rtx_insn *
17229         on "insns" when invoking emit_libcall_block_1.  Ultimately we
17230         want to strengthen insns itself.
17231         (prepare_cmp_insn): Strengthen local "last" from rtx to
17232         rtx_insn *.
17233         (emit_cmp_and_jump_insn_1): Likewise for local "insn".
17234         (prepare_float_lib_cmp): Likewise for local "insns".
17235         (emit_conditional_move): Likewise for local "last".
17236         (emit_conditional_add): Likewise.
17237         (have_sub2_insn): Likewise for local "seq".
17238         (expand_float): Likewise for local "insns".  Strengthen locals
17239         "label", "neglabel" from rtx to rtx_code_label *.
17240         (expand_fix): Likewise for locals "last", "insn", "insns" (to
17241         rtx_insn *) and locals "lab1", "lab2" (to rtx_code_label *).
17242         (expand_fixed_convert): Likewise for local "insns" (to
17243         rtx_insn *).
17244         (expand_sfix_optab): Likewise for local "last".
17245         (expand_compare_and_swap_loop): Strengthen local "label" from rtx
17246         to rtx_code_label *.
17247         (maybe_emit_sync_lock_test_and_set): Strengthen local "last_insn"
17248         from rtx to rtx_insn *.
17249         (expand_atomic_fetch_op): Likewise for local "insn".
17250         (maybe_legitimize_operand_same_code): Likewise for local "last".
17251         (maybe_legitimize_operands): Likewise.
17253 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17255         * modulo-sched.c (struct ps_reg_move_info): Strengthen field
17256         "insn" from rtx to rtx_insn *.
17257         (ps_rtl_insn): Likewise for return type.
17258         (doloop_register_get): Likewise for params "head", "tail" and
17259         locals "insn", "first_insn_not_to_check".
17260         (schedule_reg_move): Likewise for local "this_insn".
17261         (schedule_reg_moves): Add a checked cast to rtx_insn * to result
17262         of gen_move_insn for now.
17263         (reset_sched_times): Strengthen local "insn" from rtx to
17264         rtx_insn *.
17265         (permute_partial_schedule): Likewise.
17266         (duplicate_insns_of_cycles): Likewise for local "u_insn".
17267         (dump_insn_location): Likewise for param "insn".
17268         (loop_canon_p): Likewise for local "insn".
17269         (sms_schedule): Likewise.
17270         (print_partial_schedule): Likewise.
17271         (ps_has_conflicts): Likewise.
17273 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17275         * sched-int.h (get_ebb_head_tail): Strengthen params "headp" and
17276         "tailp" from rtx * to rtx_insn **.
17278         * ddg.c (build_intra_loop_deps): Strengthen locals head", "tail"
17279         from rtx to rtx_insn *.
17280         * haifa-sched.c (get_ebb_head_tail): Strengthen params "headp" and
17281         "tailp" from rtx * to rtx_insn **.  Strengthen locals "beg_head",
17282         "beg_tail", "end_head", "end_tail", "note", "next", "prev" from
17283         rtx to rtx_insn *.
17284         * modulo-sched.c (const_iteration_count): Strengthen return type
17285         and locals "insn", "head", "tail" from rtx to rtx_insn *.  Replace
17286         use of NULL_RTX with NULL when working with insns.
17287         (loop_single_full_bb_p): Strengthen locals "head", "tail" from rtx
17288         to rtx_insn *.
17289         (sms_schedule): Likewise.
17290         * sched-rgn.c (init_ready_list): Likewise, also for locals
17291         "src_head" and "src_next_tail".
17292         (compute_block_dependences): Likewise.
17293         (free_block_dependencies): Likewise.
17294         (debug_rgn_dependencies): Likewise.
17295         (free_rgn_deps): Likewise.
17296         (compute_priorities): Likewise.
17297         (schedule_region): Likewise.
17298         * sel-sched.c (find_ebb_boundaries): Likewise.
17300         * config/sh/sh.c (find_insn_regmode_weight): Strengthen locals
17301         "insn", "next_tail", "head", "tail" from rtx to rtx_insn *.
17303 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17305         * mode-switching.c (struct seginfo): Strengthen field "insn_ptr"
17306         from rtx to rtx_insn *.
17307         (new_seginfo): Likewise for param "insn".
17308         (create_pre_exit): Likewise for locals "last_insn",
17309         "before_return_copy", "return_copy".
17310         (optimize_mode_switching): Likewise for locals "insn", "ins_pos",
17311         "mode_set".
17313 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17315         * lra-int.h (struct lra_insn_recog_data): Strengthen field "insn"
17316         from rtx to rtx_insn *.
17317         (lra_push_insn): Likewise for 1st param.
17318         (lra_push_insn_and_update_insn_regno_info): Likewise.
17319         (lra_pop_insn): Likewise for return type.
17320         (lra_invalidate_insn_data): Likewise for 1st param.
17321         (lra_set_insn_deleted): Likewise.
17322         (lra_delete_dead_insn): Likewise.
17323         (lra_process_new_insns): Likewise for first 3 params.
17324         (lra_set_insn_recog_data): Likewise for 1st param.
17325         (lra_update_insn_recog_data): Likewise.
17326         (lra_set_used_insn_alternative): Likewise.
17327         (lra_invalidate_insn_regno_info): Likewise.
17328         (lra_update_insn_regno_info): Likewise.
17329         (lra_former_scratch_operand_p): Likewise.
17330         (lra_eliminate_regs_1): Likewise.
17331         (lra_get_insn_recog_data): Likewise.
17333         * lra-assigns.c (assign_by_spills): Strengthen local "insn" from
17334         rtx to rtx_insn *.
17336         * lra-coalesce.c (move_freq_compare_func): Likewise for locals
17337         "mv1" and "mv2".
17338         (substitute_within_insn): New.
17339         (lra_coalesce): Strengthen locals "mv", "insn", "next" from rtx to
17340         rtx_insn *.  Strengthen sorted_moves from rtx * to rxt_insn **.
17341         Replace call to "substitute" with call to substitute_within_insn.
17343         * lra-constraints.c (curr_insn): Strengthen from rtx to
17344         rtx_insn *.
17345         (get_equiv_with_elimination): Likewise for param "insn".
17346         (match_reload): Strengthen params "before" and "after" from rtx *
17347         to rtx_insn **.
17348         (emit_spill_move): Likewise for return type.  Add a checked cast
17349         to rtx_insn * on result of gen_move_insn for now.
17350         (check_and_process_move): Likewise for local "before".  Replace
17351         NULL_RTX with NULL when referring to insns.
17352         (process_addr_reg): Strengthen params "before" and "after" from
17353         rtx * to rtx_insn **.
17354         (insert_move_for_subreg): Likewise.
17355         (simplify_operand_subreg): Strengthen locals "before" and "after"
17356         from rtx to rtx_insn *.
17357         (process_address_1): Strengthen params "before" and "after" from
17358         rtx * to rtx_insn **.  Strengthen locals "insns", "last_insn" from
17359         rtx to rtx_insn *.
17360         (process_address): Strengthen params "before" and "after" from
17361         rtx * to rtx_insn **.
17362         (emit_inc): Strengthen local "last" from rtx to rtx_insn *.
17363         (curr_insn_transform): Strengthen locals "before" and "after"
17364         from rtx to rtx_insn *.  Replace NULL_RTX with NULL when referring
17365         to insns.
17366         (loc_equivalence_callback): Update cast of "data", changing
17367         resulting type from rtx to rtx_insn *.
17368         (substitute_pseudo_within_insn): New.
17369         (inherit_reload_reg): Strengthen param "insn" from rtx to
17370         rtx_insn *; likewise for local "new_insns".  Replace NULL_RTX with
17371         NULL when referring to insns.  Add a checked cast to rtx_insn *
17372         when using usage_insn to invoke lra_update_insn_regno_info.
17373         (split_reg): Strengthen param "insn" from rtx to rtx_insn *;
17374         likewise for locals "restore", "save".  Add checked casts to
17375         rtx_insn * when using usage_insn to invoke
17376         lra_update_insn_regno_info and lra_process_new_insns.  Replace
17377         NULL_RTX with NULL when referring to insns.
17378         (split_if_necessary): Strengthen param "insn" from rtx to
17379         rtx_insn *.
17380         (update_ebb_live_info): Likewise for params "head", "tail" and local
17381         "prev_insn".
17382         (get_last_insertion_point): Likewise for return type and local "insn".
17383         (get_live_on_other_edges): Likewise for local "last".
17384         (inherit_in_ebb): Likewise for params "head", "tail" and locals
17385         "prev_insn", "next_insn", "restore".
17386         (remove_inheritance_pseudos): Likewise for local "prev_insn".
17387         (undo_optional_reloads): Likewise for local "insn".
17389         * lra-eliminations.c (lra_eliminate_regs_1): Likewise for param
17390         "insn".
17391         (lra_eliminate_regs): Replace NULL_RTX with NULL when referring to
17392         insns.
17393         (eliminate_regs_in_insn): Strengthen param "insn" from rtx to
17394         rtx_insn *.
17395         (spill_pseudos): Likewise for local "insn".
17396         (init_elimination): Likewise.
17397         (process_insn_for_elimination): Likewise for param "insn".
17399         * lra-lives.c (curr_insn): Likewise.;
17401         * lra-spills.c (assign_spill_hard_regs): Likewise for local "insn".
17402         (remove_pseudos): Likewise for param "insn".
17403         (spill_pseudos): Likewise for local "insn".
17404         (lra_final_code_change): Likewise for locals "insn", "curr".
17406         * lra.c (lra_invalidate_insn_data): Likewise for param "insn".
17407         (lra_set_insn_deleted): Likewise.
17408         (lra_delete_dead_insn): Likewise, and for local "prev".
17409         (new_insn_reg): Likewise for param "insn".
17410         (lra_set_insn_recog_data): Likewise.
17411         (lra_update_insn_recog_data): Likewise.
17412         (lra_set_used_insn_alternative): Likewise.
17413         (get_insn_freq): Likewise.
17414         (invalidate_insn_data_regno_info): Likewise.
17415         (lra_invalidate_insn_regno_info): Likewise.
17416         (lra_update_insn_regno_info): Likewise.
17417         (lra_constraint_insn_stack): Strengthen from vec<rtx> to
17418         vec<rtx_insn *>.
17419         (lra_push_insn_1): Strengthen param "insn" from rtx to
17420         rtx_insn *.
17421         (lra_push_insn): Likewise.
17422         (lra_push_insn_and_update_insn_regno_info): Likewise.
17423         (lra_pop_insn): Likewise for return type and local "insn".
17424         (push_insns): Likewise for params "from", "to", and local "insn".
17425         (setup_sp_offset): Likewise for params "from", "last" and locals
17426         "before", "insn".
17427         (lra_process_new_insns): Likewise for params "insn", "before",
17428         "after" and local "last".
17429         (struct sloc): Likewise for field "insn".
17430         (lra_former_scratch_operand_p): Likewise for param "insn".
17431         (remove_scratches): Likewise for locals "insn", "last".
17432         (check_rtl): Likewise for local "insn".
17433         (add_auto_inc_notes): Likewise for param "insn".
17434         (update_inc_notes): Likewise for local "insn".
17435         (lra): Replace NULL_RTX with NULL when referring to insn.
17437 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17439         * lower-subreg.c (simple_move): Strengthen param "insn" from rtx
17440         to rtx_insn *.
17441         (resolve_reg_notes): Likewise.
17442         (resolve_simple_move): Likewise for return type, param "insn", and
17443         locals "insns", "minsn".
17444         (resolve_clobber): Strengthen param "insn" from rtx to rtx_insn *.
17445         (resolve_use): Likewise.
17446         (resolve_debug): Likewise.
17447         (find_decomposable_shift_zext): Likewise.
17448         (resolve_shift_zext): Likewise for return type, param "insn", and
17449         locals "insns", "in".  Eliminate use of NULL_RTX in favor of NULL.
17450         (decompose_multiword_subregs): Likewise for local "insn",
17451         "orig_insn", "decomposed_shift", "end".
17453 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17455         * basic-block.h (basic_block split_edge_and_insert): Strengthen
17456         param "insns" from rtx to rtx_insn *.
17458         * loop-unroll.c (struct iv_to_split): Strengthen field "insn" from
17459         rtx to rtx_insn *.
17460         (struct iv_to_split): Likewise.
17461         (loop_exit_at_end_p): Likewise for local "insn".
17462         (split_edge_and_insert): Likewise for param "insns".
17463         (compare_and_jump_seq): Likewise for return type, param "cinsn",
17464         and locals "seq", "jump".
17465         (unroll_loop_runtime_iterations): Likewise for locals "init_code",
17466         "branch_code"; update invocations of compare_and_jump_seq to
17467         eliminate NULL_RTX in favor of NULL.
17468         (referenced_in_one_insn_in_loop_p): Strengthen local "insn" from
17469         rtx to rtx_insn *.
17470         (reset_debug_uses_in_loop): Likewise.
17471         (analyze_insn_to_expand_var): Likewise for param "insn".
17472         (analyze_iv_to_split_insn): Likewise.
17473         (analyze_insns_in_loop): Likewise for local "insn".
17474         (insert_base_initialization): Likewise for param
17475         "insn" and local "seq".
17476         (split_iv): Likewise for param "insn" and local "seq".
17477         (expand_var_during_unrolling): Likewise for param "insn".
17478         (insert_var_expansion_initialization): Likewise for local "seq".
17479         (combine_var_copies_in_loop_exit): Likewise.
17480         (combine_var_copies_in_loop_exit): Likewise for locals "seq" and
17481         "insn".
17482         (maybe_strip_eq_note_for_split_iv): Likewise for param "insn".
17483         (apply_opt_in_copies): Likewise for locals "insn", "orig_insn",
17484         "next".
17486 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17488         * cfgloop.h (iv_analyze): Strengthen param 1 "insn" from rtx to
17489         rtx_insn *.
17490         (iv_analyze_result): Likewise.
17491         (iv_analyze_expr): Likewise.
17492         (biv_p): Likewise.
17494         * loop-iv.c (iv_get_reaching_def): Strengthen param "insn" and
17495         local "def_insn" from rtx to rtx_insn *.
17496         (get_biv_step_1): Likewise for local "insn".
17497         (iv_analyze_expr): Likewise for param "insn".
17498         (iv_analyze_def): Likewise for local "insn".
17499         (iv_analyze_op): Likewise for param "insn".
17500         (iv_analyze): Likewise.
17501         (iv_analyze_result): Likewise.
17502         (biv_p): Likewise.
17503         (suitable_set_for_replacement): Likewise.
17504         (simplify_using_initial_values): Likewise for local "insn".
17505         (iv_number_of_iterations): Likewise for param "insn".
17506         (check_simple_exit): Add checked cast to rtx_insn when invoking
17507         iv_number_of_iterations for now (until get_condition is
17508         strengthened).
17510         * loop-unroll.c (analyze_iv_to_split_insn): Strengthen param
17511         "insn" from rtx to rtx_insn *.
17512         (analyze_insns_in_loop): Likewise for local "insn".
17514 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17516         * loop-invariant.c (struct use): Strengthen field "insn" from rtx
17517         to rtx_insn *.
17518         (struct invariant): Likewise.
17519         (hash_invariant_expr_1): Likewise for param "insn".
17520         (invariant_expr_equal_p): Likewise for param "insn1", "insn2".
17521         (find_exits): Likewise for local "insn".
17522         (create_new_invariant): Likewise for param "insn".
17523         (check_dependencies): Likewise.
17524         (find_invariant_insn): Likewise.
17525         (record_uses): Likewise.
17526         (find_invariants_insn): Likewise.
17527         (find_invariants_bb): Likewise for local "insn".
17528         (get_pressure_class_and_nregs): Likewise for param "insn".
17529         (calculate_loop_reg_pressure): Likewise for local "insn".
17531 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17533         * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx
17534         to rtx_insn *.
17535         (add_test): Likewise for locals "seq", "jump".
17536         (doloop_modify): Likewise for locals "sequence", "jump_insn".
17538 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17540         * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
17541         rtx_insn *.
17542         (rebuild_jump_labels_chain): Likewise for param "chain".
17544         * cfgexpand.c (pass_expand::execute): Add checked cast to
17545         rtx_insn * when calling rebuild_jump_labels_chain in region where
17546         we know e->insns.r is non-NULL.
17548         * jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
17549         rtx_insn *.
17550         (rebuild_jump_labels): Likewise.
17551         (rebuild_jump_labels_chain): Likewise for param "chain".
17552         (cleanup_barriers): Likewise for locals "insn", "next", "prev".
17553         (init_label_info): Likewise for param "f".
17554         (maybe_propagate_label_ref): Likewise for params "jump_insn",
17555         "prev_nonjump_insn".
17556         (mark_all_labels): Likewise for param "f" and locals "insn",
17557         "prev_nonjump_insn".
17559 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17561         * ira-int.h (struct ira_allocno_copy): Strengthen field "insn"
17562         from rtx to rtx_insn *insn.
17563         (ira_create_copy): Strengthen param "insn" from rtx to rtx_insn *.
17564         (ira_add_allocno_copy): Likewise.
17565         * ira-build.c (find_allocno_copy): Strengthen param "insn" from
17566         rtx to rtx_insn *.
17567         (ira_create_copy): Likewise.
17568         (ira_add_allocno_copy): Likewise.
17569         (create_bb_allocnos): Likewise for local "insn".
17570         * ira-conflicts.c (process_regs_for_copy): Likewise for param "insn".
17571         (process_reg_shuffles): Update NULL_RTX to NULL in invocation of
17572         process_regs_for_copy for rtx_insn * param.
17573         (add_insn_allocno_copies): Strengthen param "insn" from rtx to
17574         rtx_insn *insn.  Update NULL_RTX to NULL in invocation of
17575         process_regs_for_copy for rtx_insn * param.
17576         (add_copies): Strengthen local "insn" from rtx to rtx_insn *insn.
17577         * ira-costs.c (record_reg_classes): Likewise for param "insn".
17578         (record_operand_costs): Likewise.
17579         (scan_one_insn): Likewise for return type, and for param "insn".
17580         (process_bb_for_costs): Likewise for local "insn".
17581         (process_bb_node_for_hard_reg_moves): Likewise.
17582         * ira-emit.c (struct move): Likewise for field "insn".
17583         (create_move): Eliminate use of NULL_RTX when dealing with an
17584         rtx_insn *.
17585         (emit_move_list): Strengthen return type and locals "result",
17586         "insn" from rtx to rtx_insn *insn.
17587         (emit_moves): Likewise for locals "insns", "tmp".
17588         (ira_emit): Likewise for local "insn".
17589         * ira-lives.c (mark_hard_reg_early_clobbers): Likewise for param
17590         "insn".
17591         (find_call_crossed_cheap_reg): Likewise.
17592         (process_bb_node_lives): Likewise for local "insn".
17593         * ira.c (decrease_live_ranges_number): Likewise.
17594         (compute_regs_asm_clobbered): Likewise.
17595         (build_insn_chain): Likewise.
17596         (find_moveable_pseudos): Likewise, also locals "def_insn",
17597         "use_insn", "x".  Also strengthen local "closest_uses" from rtx *
17598         to rtx_insn **.  Add a checked cast when assigning from
17599         "closest_use" into closest_uses array in a region where we know
17600         it's a non-NULL insn.
17601         (interesting_dest_for_shprep): Strengthen param "insn" from rtx
17602         to rtx_insn *.
17603         (split_live_ranges_for_shrink_wrap): Likewise for locals "insn",
17604         "last_interesting_insn", "uin".
17605         (move_unallocated_pseudos): Likewise for locals "def_insn",
17606         "move_insn", "newinsn".
17608 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17610         * internal-fn.c (ubsan_expand_si_overflow_addsub_check):
17611         Strengthen locals "done_label", "do_error" from rtx to
17612         rtx_code_label *.
17613         (ubsan_expand_si_overflow_addsub_check): Strengthen local "last"
17614         from rtx to rtx_insn *.  Strengthen local "sub_check from rtx to
17615         rtx_code_label *.
17616         (ubsan_expand_si_overflow_neg_check): Likewise for locals
17617         "done_label", "do_error" to rtx_code_label * and local  "last" to
17618         rtx_insn *.
17619         (ubsan_expand_si_overflow_mul_check): Likewise for locals
17620         "done_label", "do_error", "large_op0", "small_op0_large_op1",
17621         "one_small_one_large", "both_ops_large", "after_hipart_neg",
17622         "after_lopart_neg", "do_overflow", "hipart_different"  to
17623         rtx_code_label * and local  "last" to rtx_insn *.
17625 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17627         * init-regs.c (initialize_uninitialized_regs): Strengthen locals
17628         "insn" and "move_insn" from rtx to rtx_insn *.
17630 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17632         * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
17633         rtx_insn *.
17634         (cheap_bb_rtx_cost_p): Likewise.
17635         (first_active_insn): Likewise for return type and local "insn".
17636         (last_active_insn):  Likewise for return type and locals "insn",
17637         "head".
17638         (struct noce_if_info): Likewise for fields "jump", "insn_a",
17639         "insn_b".
17640         (end_ifcvt_sequence): Likewise for return type and locals "insn",
17641         "seq".
17642         (noce_try_move): Likewise for local "seq".
17643         (noce_try_store_flag): Likewise.
17644         (noce_try_store_flag_constants): Likewise.
17645         (noce_try_addcc): Likewise.
17646         (noce_try_store_flag_mask): Likewise.
17647         (noce_try_cmove): Likewise.
17648         (noce_try_minmax): Likewise.
17649         (noce_try_abs): Likewise.
17650         (noce_try_sign_mask): Likewise.
17651         (noce_try_bitop): Likewise.
17652         (noce_can_store_speculate_p): Likewise for local "insn".
17653         (noce_process_if_block): Likewise for locals "insn_a", "insn_b",
17654         seq".
17655         (check_cond_move_block): Likewise for local "insn".
17656         (cond_move_convert_if_block): Likewise.
17657         (cond_move_process_if_block): Likewise for locals "seq",
17658         "loc_insn".
17659         (noce_find_if_block): Likewise for local "jump".
17660         (merge_if_block): Likewise for local "last".
17661         (block_jumps_and_fallthru_p): Likewise for locals "insn", "end".
17662         (find_cond_trap): Likewise for locals "trap", "jump", "newjump".
17663         (block_has_only_trap): Likewise for return type and local "trap".
17664         (find_if_case_1): Likewise for local "jump".
17665         (dead_or_predicable): Likewise for locals "head", "end", "jump",
17666         "insn".
17668 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17670         * hw-doloop.h (struct hwloop_info_d): Strengthen fields
17671         "last_insn", "loop_end" from rtx to rtx_insn *.
17673         * hw-doloop.c (scan_loop): Likewise for local "insn".
17674         (discover_loop): Likewise for param "tail_insn".
17675         (discover_loops): Likewise for local "tail".
17677         * config/bfin/bfin.c (hwloop_optimize): For now, add a checked
17678         cast to rtx_insn * when assigning from an rtx local to a
17679         hwloop_info's "last_insn" field.
17681 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17683         * haifa-sched.c (bb_header): Strengthen from rtx * to rtx_insn **.
17684         (add_delay_dependencies): Strengthen local "pro" from rtx to
17685         rtx_insn *.
17686         (recompute_todo_spec): Likewise.
17687         (dep_cost_1): Likewise for locals "insn", "used".
17688         (schedule_insn): Likewise for local "dbg".
17689         (schedule_insn): Likewise for locals "pro", "next".
17690         (unschedule_insns_until): Likewise for local "con".
17691         (restore_pattern): Likewise for local "next".
17692         (estimate_insn_tick): Likewise for local "pro".
17693         (resolve_dependencies): Likewise for local "next".
17694         (fix_inter_tick): Likewise.
17695         (fix_tick_ready): Likewise for local "pro".
17696         (add_to_speculative_block): Likewise for locals "check", "twin",
17697         "pro".
17698         (sched_extend_bb): Likewise for locals "end", "insn".
17699         (init_before_recovery): Likewise for local "x".
17700         (sched_create_recovery_block): Likewise for local "barrier".
17701         (create_check_block_twin): Likewise for local "pro".
17702         (fix_recovery_deps): Likewise for locals "note", "insn", "jump",
17703         "consumer".
17704         (unlink_bb_notes): Update for change to type of bb_header.
17705         Strengthen locals "prev", "label", "note", "next" from rtx to
17706         rtx_insn *.
17707         (clear_priorities): Likewise for local "pro".
17709 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17711         * gcse.c (struct occr): Strengthen field "insn" from rtx to
17712         rtx_insn *.
17713         (test_insn): Likewise for this global.
17714         (oprs_unchanged_p): Strengthen param "insn" from const_rtx to
17715         const rtx_insn *.
17716         (oprs_anticipatable_p): Likewise.
17717         (oprs_available_p): Likewise.
17718         (insert_expr_in_table): Strengthen param "insn" from  rtx to
17719         rtx_insn *.
17720         (hash_scan_set): Likewise.
17721         (hash_scan_clobber): Likewise.
17722         (hash_scan_call): Likewise.
17723         (hash_scan_insn): Likewise.
17724         (compute_hash_table_work): Likewise for local "insn".
17725         (process_insert_insn): Likewise for return type and local "pat".
17726         (insert_insn_end_basic_block): Likewise for locals "new_insn",
17727         "pat", "pat_end", "maybe_cc0_setter".
17728         (pre_edge_insert): Likewise for local "insn".
17729         (pre_insert_copy_insn): Likewise for param "insn".
17730         (pre_insert_copies): Likewise for local "insn".
17731         (struct set_data): Likewise for field "insn".
17732         (single_set_gcse): Likewise for param "insn".
17733         (gcse_emit_move_after): Likewise.
17734         (pre_delete): Likewise for local "insn".
17735         (update_bb_reg_pressure): Likewise for param "from" and local
17736         "insn".
17737         (should_hoist_expr_to_dom): Likewise for param "from".
17738         (hoist_code): Likewise for local "insn".
17739         (get_pressure_class_and_nregs): Likewise for param "insn".
17740         (calculate_bb_reg_pressure): Likewise for local "insn".
17741         (compute_ld_motion_mems): Likewise.
17743 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17745         * genpeep.c (main): Rename param back from "uncast_ins1" to
17746         "ins1", strengthening from rtx to rtx_insn *.  Drop now-redundant
17747         checked cast.
17749         * output.h (peephole): Strengthen param from rtx to rtx_insn *.
17751 2014-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
17753         PR target/62195
17754         * doc/md.texi (Machine Constraints): Update PowerPC wi constraint
17755         documentation to state it is only for VSX operations.
17757         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
17758         constraint only active if VSX.
17760         * config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
17761         wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
17762         (lfiwzx): Likewise.
17764 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17766         * fwprop.c (single_def_use_dom_walker::before_dom_children):
17767         Strengthen local "insn" from rtx to rtx_insn *.
17768         (use_killed_between): Likewise for param "target_insn".
17769         (all_uses_available_at): Likewise for param "target_insn" and
17770         local "next".
17771         (update_df_init): Likewise for params "def_insn", "insn".
17772         (update_df): Likewise for param "insn".
17773         (try_fwprop_subst): Likewise for param "def_insn" and local
17774         "insn".
17775         (free_load_extend): Likewise for param "insn".
17776         (forward_propagate_subreg): Likewise for param "def_insn" and
17777         local "use_insn".
17778         (forward_propagate_asm): Likewise for param "def_insn" and local
17779         "use_insn".
17780         (forward_propagate_and_simplify): Likewise for param "def_insn"
17781         and local "use_insn".
17782         (forward_propagate_into): Likewise for locals "def_insn" and
17783         "use_insn".
17785 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17787         * function.c (emit_initial_value_sets): Strengthen local "seq"
17788         from rtx to rtx_insn *.
17789         (instantiate_virtual_regs_in_insn): Likewise for param "insn" and
17790         local "seq".
17791         (instantiate_virtual_regs): Likewise for local "insn".
17792         (assign_parm_setup_reg): Likewise for locals "linsn", "sinsn".
17793         (reorder_blocks_1): Likewise for param "insns" and local "insn".
17794         (expand_function_end): Likewise for locals "insn" and "seq".
17795         (epilogue_done): Likewise for local "insn".
17796         (thread_prologue_and_epilogue_insns): Likewise for locals "prev",
17797         "last", "trial".
17798         (reposition_prologue_and_epilogue_notes): Likewise for locals
17799         "insn", "last", "note", "first".
17800         (match_asm_constraints_1): Likewise for param "insn" and local "insns".
17801         (pass_match_asm_constraints::execute): Likewise for local "insn".
17803 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17805         * output.h (final_scan_insn): Strengthen return type from rtx to
17806         rtx_insn *.
17807         (final_forward_branch_p): Likewise for param.
17808         (current_output_insn): Likewise for this global.
17810         * final.c (rtx debug_insn): Likewise for this variable.
17811         (current_output_insn): Likewise.
17812         (get_attr_length_1): Rename param "insn" to "uncast_insn",
17813         adding "insn" back in as an rtx_insn * with a checked cast, so
17814         that macro ADJUST_INSN_LENGTH can be passed an rtx_insn * as the
17815         first param.
17816         (compute_alignments): Strengthen local "label" from rtx to
17817         rtx_insn *.
17818         (shorten_branches): Rename param from "first" to "uncast_first",
17819         introducing a new local rtx_insn * "first" using a checked cast to
17820         effectively strengthen "first" from rtx to rtx_insn * without
17821         affecting the type signature.  Strengthen locals "insn", "seq",
17822         "next", "label" from rtx to rtx_insn *.
17823         (change_scope): Strengthen param "orig_insn" and local "insn" from
17824         rtx to rtx_insn *.
17825         (final_start_function): Rename param from "first" to "uncast_first",
17826         introducing a new local rtx_insn * "first" using a checked cast to
17827         effectively strengthen "first" from rtx to rtx_insn * without
17828         affecting the type signature.  Strengthen local "insn" from rtx to
17829         rtx_insn *.
17830         (dump_basic_block_info): Strengthen param "insn" from rtx to
17831         rtx_insn *.
17832         (final): Rename param from "first" to "uncast_first",
17833         introducing a new local rtx_insn * "first" using a checked cast to
17834         effectively strengthen "first" from rtx to rtx_insn * without
17835         affecting the type signature.  Strengthen locals "insn", "next"
17836         from rtx to rtx_insn *.
17837         (output_alternate_entry_point): Strengthen param "insn" from rtx to
17838         rtx_insn *.
17839         (call_from_call_insn): Strengthen param "insn" from rtx to
17840         rtx_call_insn *.
17841         (final_scan_insn): Rename param from "insn" to "uncast_insn",
17842         introducing a new local rtx_insn * "insn" using a checked cast to
17843         effectively strengthen "insn" from rtx to rtx_insn * without
17844         affecting the type signature.  Strengthen return type and locals
17845         "next", "note", "prev", "new_rtx" from rtx to rtx_insn *.  Remove
17846         now-redundant checked cast to rtx_insn * from both invocations of
17847         debug_hooks->var_location.  Convert CALL_P into a dyn_cast,
17848         introducing a local "call_insn" for use when invoking
17849         call_from_call_insn.
17850         (notice_source_line): Strengthen param "insn" from rtx to
17851         rtx_insn *.
17852         (leaf_function_p): Likewise for local "insn".
17853         (final_forward_branch_p): Likewise.
17854         (leaf_renumber_regs): Likewise for param "first".
17855         (rest_of_clean_state): Likewise for locals "insn" and "next".
17856         (self_recursive_call_p): Likewise for param "insn".
17857         (collect_fn_hard_reg_usage): Likewise for local "insn".
17858         (get_call_fndecl): Likewise for param "insn".
17859         (get_call_cgraph_rtl_info): Likewise.
17860         (get_call_reg_set_usage): Rename param from "insn" to "uncast_insn",
17861         introducing a new local rtx_insn * "insn" using a checked cast to
17862         effectively strengthen "insn" from rtx to rtx_insn * without
17863         affecting the type signature.
17865         * config/arc/arc.c (arc_final_prescan_insn): For now, add checked
17866         cast when assigning from param "insn" to current_output_insn.
17867         (arc_pad_return): Strengthen local "insn" from rtx to rtx_insn *
17868         so that we can assign it back to current_output_insn.
17870 2014-08-20  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
17872         * config/avr/avr-mcus.def: Remove atmega26hvg, atmega64rfa2,
17873         atmega48hvf, atxmega32x1, atmxt224, atmxt224e, atmxt336s,
17874         atmxt540s and atmxt540sreva devices.
17875         * config/avr/avr-tables.opt: Regenerate.
17876         * config/avr/t-multilib: Regenerate.
17877         * doc/avr-mmcu.texi: Regenerate.
17879 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17881         * expr.c (convert_move): Strengthen local "insns" from rtx to
17882         rtx_insn *.
17883         (emit_block_move_via_loop): Strengthen locals "cmp_label" and
17884         "top_label" from rtx to rtx_code_label *.
17885         (move_block_to_reg): Strengthen local "insn", "last" from rtx to
17886         rtx_insn *.
17887         (emit_single_push_insn): Likewise for locals "prev", "last".
17888         (store_expr): Strengthen locals "lab1", "lab2", "label" from rtx
17889         to rtx_code_label *.
17890         (store_constructor): Likewise for locals "loop_start", "loop_end".
17891         (expand_cond_expr_using_cmove): Strengthen local "seq" from rtx to
17892         rtx_insn *.
17893         (expand_expr_real_2): Likewise.
17894         (expand_expr_real_1): Strengthen local "label" from rtx to
17895         rtx_code_label *.
17897 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17899         * expmed.c (store_bit_field_using_insv): Strengthen local "last"
17900         from rtx to rtx_insn *.
17901         (store_bit_field_1): Likewise.
17902         (extract_bit_field_1): Likewise.
17903         (expand_mult_const): Likewise for local "insns".
17904         (expmed_mult_highpart): Strengthen local "label" from rtx to
17905         rtx_code_label *.
17906         (expand_smod_pow2): Likewise.
17907         (expand_sdiv_pow2): Likewise.
17908         (expand_divmod): Strengthen locals "last", "insn" from rtx to
17909         rtx_insn *.  Strengthen locals "label", "label1", "label2",
17910         "label3", "label4", "label5", "lab" from rtx to rtx_code_label *.
17911         (emit_cstore): Strengthen local "last" from rtx to rtx_insn *.
17912         (emit_store_flag): Likewise.
17913         (emit_store_flag_force): Strengthen local "label" from rtx to
17914         rtx_code_label *.
17915         (do_cmp_and_jump): Likewise for param "label".
17917 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17919         * explow.c (force_reg): Strengthen local "insn" from rtx to
17920         rtx_insn *.
17921         (adjust_stack_1): Likewise.
17922         (allocate_dynamic_stack_space): Likewise.  Strengthen locals
17923         "final_label", "available_label", "space_available" from rtx to
17924         rtx_code_label *.
17925         (probe_stack_range): Likewise for locals "loop_lab", "end_lab".
17926         (anti_adjust_stack_and_probe): Likewise.
17928 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17930         * except.h (sjlj_emit_function_exit_after): Strengthen param
17931         "after" from rtx to rtx_insn *.  This is only called with
17932         result of get_last_insn (in function.c) so type-change should be
17933         self-contained.
17935         * function.h (struct rtl_eh): Strengthen field "ehr_label" from
17936         rtx to rtx_code_label *, and field "sjlj_exit_after" from rtx
17937         to rtx_insn *.  These fields are only used from except.c so this
17938         type-change should be self-contained to this patch.
17940         * except.c (emit_to_new_bb_before): Strengthen param "seq" and
17941         local "last" from rtx to rtx_insn *.
17942         (dw2_build_landing_pads): Likewise for local "seq".
17943         (sjlj_mark_call_sites): Likewise for locals "insn", "before", p".
17944         (sjlj_emit_function_enter): Strengthen param "dispatch_label" from
17945         rtx to rtx_code_label *.  Strengthen locals "fn_begin", "seq" from
17946         rtx to rtx_insn *.
17947         (sjlj_emit_function_exit_after): Strengthen param "after" from rtx
17948         to rtx_insn *.
17949         (sjlj_emit_function_exit): Likewise for locals "seq", "insn".
17950         (sjlj_emit_dispatch_table): Likewise for locals "seq", "seq2".
17951         (sjlj_build_landing_pads): Replace NULL_RTX with NULL when
17952         referring to an insn.  Strengthen local "dispatch_label" from
17953         rtx to rtx_code_label *.
17954         (set_nothrow_function_flags): Strengthen local "insn" from rtx to
17955         rtx_insn *.
17956         (expand_eh_return): Strengthen local "around_label" from
17957         rtx to rtx_code_label *.
17958         (convert_to_eh_region_ranges): Strengthen locals "iter",
17959         "last_action_insn", "first_no_action_insn",
17960         "first_no_action_insn_before_switch",
17961         "last_no_action_insn_before_switch", from rtx to rtx_insn *.
17963 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17965         * dwarf2out.c (last_var_location_insn): Strengthen this variable
17966         from rtx to rtx_insn *.
17967         (cached_next_real_insn): Likewise.
17968         (dwarf2out_end_epilogue): Replace use of NULL_RTX with NULL when
17969         working with insns.
17970         (dwarf2out_var_location): Strengthen locals "next_real",
17971         "next_note", "expected_next_loc_note", "last_start", "insn" from
17972         rtx to rtx_insn *.
17974 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17976         * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
17977         from rtx to rtx_insn *.
17978         (create_pseudo_cfg): Likewise for local "insn".
17980 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
17982         * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
17983         from rtx to rtx_insn *.
17984         (df_bb_regno_last_def_find): Likewise.
17986         * df-problems.c (df_rd_bb_local_compute): Likewise.
17987         (df_lr_bb_local_compute): Likewise.
17988         (df_live_bb_local_compute): Likewise.
17989         (df_chain_remove_problem): Likewise.
17990         (df_chain_create_bb): Likewise.
17991         (df_word_lr_bb_local_compute): Likewise.
17992         (df_remove_dead_eq_notes): Likewise for param "insn".
17993         (df_note_bb_compute): Likewise for local "insn".
17994         (simulate_backwards_to_point): Likewise.
17995         (df_md_bb_local_compute): Likewise.
17997         * df-scan.c (df_scan_free_bb_info): Likewise.
17998         (df_scan_start_dump): Likewise.
17999         (df_scan_start_block): Likewise.
18000         (df_install_ref_incremental): Likewise for local "insn".
18001         (df_insn_rescan_all): Likewise.
18002         (df_reorganize_refs_by_reg_by_insn): Likewise.
18003         (df_reorganize_refs_by_insn_bb): Likewise.
18004         (df_recompute_luids): Likewise.
18005         (df_bb_refs_record): Likewise.
18006         (df_update_entry_exit_and_calls): Likewise.
18007         (df_bb_verify): Likewise.
18009 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18011         * ddg.h (struct ddg_node): Strengthen fields "insn" and
18012         "first_note" from rtx to rtx_insn *.
18013         (get_node_of_insn): Likewise for param 2 "insn".
18014         (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
18016         * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
18017         rtx_insn *.
18018         (mem_write_insn_p): Likewise.
18019         (mem_access_insn_p): Likewise.
18020         (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
18021         (def_has_ccmode_p): Likewise for param "insn".
18022         (add_cross_iteration_register_deps): Likewise for locals
18023         "def_insn" and "use_insn".
18024         (insns_may_alias_p): Likewise for params "insn1" and "insn2".
18025         (build_intra_loop_deps): Likewise for local "src_insn".
18026         (create_ddg): Strengthen locals "insn" and "first_note" from rtx
18027         to rtx_insn *.
18028         (get_node_of_insn): Likewise for param "insn".
18030 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18032         * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
18033         (deletable_insn_p): Strengthen param "insn" from rtx to
18034         rtx_insn *.  Add checked cast to rtx_call_insn when invoking
18035         find_call_stack_args, since this is guarded by CALL_P (insn).
18036         (marked_insn_p): Strengthen param "insn" from rtx to
18037         rtx_insn *.
18038         (mark_insn): Likewise.  Add checked cast to rtx_call_insn when
18039         invoking find_call_stack_args, since this is guarded by
18040         CALL_P (insn).
18041         (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
18042         rtx_insn *; we know this is an insn since this was called by
18043         mark_nonreg_stores.
18044         (mark_nonreg_stores_2): Likewise.
18045         (mark_nonreg_stores): Strengthen param "insn" from rtx to
18046         rtx_insn *.
18047         (find_call_stack_args): Strengthen param "call_insn" from rtx to
18048         rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
18049         to rtx_insn *.
18050         (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
18051         from rtx to rtx_insn *.
18052         (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
18053         "next", "ref_insn".
18054         (delete_unmarked_insns): Likewise for locals "insn", "next".
18055         (prescan_insns_for_dce): Likewise for locals "insn", "prev".
18056         (mark_reg_dependencies): Likewise for param "insn".
18057         (rest_of_handle_ud_dce): Likewise for local "insn".
18058         (word_dce_process_block): Likewise.
18059         (dce_process_block): Likewise.
18061 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18063         * cse.c (struct qty_table_elem): Strengthen field "const_insn"
18064         from rtx to rtx_insn *.
18065         (struct change_cc_mode_args): Likewise for field "insn".
18066         (this_insn): Strengthen from rtx to rtx_insn *.
18067         (make_new_qty): Replace use of NULL_RTX with NULL when dealing
18068         with insn.
18069         (validate_canon_reg): Strengthen param "insn" from rtx to
18070         rtx_insn *.
18071         (canon_reg): Likewise.
18072         (fold_rtx): Likewise.  Replace use of NULL_RTX with NULL when
18073         dealing with insn.
18074         (record_jump_equiv): Strengthen param "insn" from rtx to
18075         rtx_insn *.
18076         (try_back_substitute_reg): Likewise, also for locals "prev",
18077         "bb_head".
18078         (find_sets_in_insn): Likewise for param "insn".
18079         (canonicalize_insn): Likewise.
18080         (cse_insn): Likewise.  Add a checked cast.
18081         (invalidate_from_clobbers): Likewise for param "insn".
18082         (invalidate_from_sets_and_clobbers): Likewise.
18083         (cse_process_notes_1): Replace use of NULL_RTX with NULL when
18084         dealing with insn.
18085         (cse_prescan_path): Strengthen local "insn" from rtx to
18086         rtx_insn *.
18087         (cse_extended_basic_block): Likewise for locals "insn" and
18088         "prev_insn".
18089         (cse_main): Likewise for param "f".
18090         (check_for_label_ref): Likewise for local "insn".
18091         (set_live_p): Likewise for second param ("insn").
18092         (insn_live_p): Likewise for first param ("insn") and for local
18093         "next".
18094         (cse_change_cc_mode_insn): Likewise for first param "insn".
18095         (cse_change_cc_mode_insns): Likewise for first and second params
18096         "start" and "end".
18097         (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
18098         and "end".
18099         (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
18100         "cc_src_insn".
18102 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18103             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18104             Anna Tikhonova  <anna.tikhonova@intel.com>
18105             Ilya Tocar  <ilya.tocar@intel.com>
18106             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18107             Ilya Verbin  <ilya.verbin@intel.com>
18108             Kirill Yukhin  <kirill.yukhin@intel.com>
18109             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18111         * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
18112         New.
18113         * config/i386/sse.md
18114         (define_mode_iterator VI248_AVX2): Delete.
18115         (define_mode_iterator VI2_AVX2_AVX512BW): New.
18116         (define_mode_iterator VI48_AVX2): Ditto.
18117         (define_insn <shift_insn><mode>3): Delete.
18118         (define_insn "<shift_insn><mode>3<mask_name>" with
18119         VI2_AVX2_AVX512BW): New.
18120         (define_insn "<shift_insn><mode>3<mask_name>" with
18121         VI48_AVX2): Ditto.
18123 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18124             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18125             Anna Tikhonova  <anna.tikhonova@intel.com>
18126             Ilya Tocar  <ilya.tocar@intel.com>
18127             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18128             Ilya Verbin  <ilya.verbin@intel.com>
18129             Kirill Yukhin  <kirill.yukhin@intel.com>
18130             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18132         * config/i386/sse.md
18133         (define_mode_iterator VI4F_BRCST32x2): New.
18134         (define_mode_attr 64x2_mode): Ditto.
18135         (define_mode_attr 32x2mode): Ditto.
18136         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
18137         with VI4F_BRCST32x2): Ditto.
18138         (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
18139         with V16FI mode iterator): Ditto.
18140         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
18141         with V16FI): Ditto.
18142         (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
18143         with VI8F_BRCST64x2): Ditto.
18145 2014-08-22  Alexander Ivchenko  <alexander.ivchenko@intel.com>
18146             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
18147             Anna Tikhonova  <anna.tikhonova@intel.com>
18148             Ilya Tocar  <ilya.tocar@intel.com>
18149             Andrey Turetskiy  <andrey.turetskiy@intel.com>
18150             Ilya Verbin  <ilya.verbin@intel.com>
18151             Kirill Yukhin  <kirill.yukhin@intel.com>
18152             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
18154         * config/i386/sse.md
18155         (define_mode_iterator VI8_AVX512VL): New.
18156         (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
18158 2014-08-22  Kirill Yukhin  <kirill.yukhin@intel.com>
18160         * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
18161         (define_mode_iterator V48_AVX512VL): New.
18162         (define_mode_iterator V12_AVX512VL): Ditto.
18163         (define_insn <avx512>_load<mode>_mask): Split into two similar
18164         patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
18165         Refactor output template.
18166         (define_insn "<avx512>_store<mode>_mask"): Ditto.
18168 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18170         * cprop.c (struct occr): Strengthen field "insn" from rtx to
18171         rtx_insn *.
18172         (reg_available_p): Likewise for param "insn".
18173         (insert_set_in_table): Likewise.
18174         (hash_scan_set): Likewise.
18175         (hash_scan_insn): Likewise.
18176         (make_set_regs_unavailable): Likewise.
18177         (compute_hash_table_work): Likewise for local "insn".
18178         (reg_not_set_p): Strengthen param "insn" from const_rtx to
18179         const rtx_insn *.
18180         (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
18181         (try_replace_reg): Likewise.
18182         (find_avail_set): Likewise.
18183         (cprop_jump): Likewise for params "setcc", "jump".
18184         (constprop_register): Likewise for param "insn".
18185         (cprop_insn): Likewise.
18186         (do_local_cprop): Likewise.
18187         (local_cprop_pass): Likewise for local "insn".
18188         (bypass_block): Likewise for params "setcc" and "jump".
18189         (bypass_conditional_jumps): Likewise for locals "setcc" and
18190         "insn".
18191         (one_cprop_pass): Likewise for local "insn".
18193 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18195         * compare-elim.c (struct comparison_use): Strengthen field "insn"
18196         from rtx to rtx_insn *.
18197         (struct comparison): Likewise, also for field "prev_clobber".
18198         (conforming_compare): Likewise for param "insn".
18199         (arithmetic_flags_clobber_p): Likewise.
18200         (find_flags_uses_in_insn): Likewise.
18201         (find_comparison_dom_walker::before_dom_children): Likewise for
18202         locals "insn", "next", "last_clobber".
18203         (try_eliminate_compare): Likewise for locals "insn", "bb_head".
18205 2014-08-22  David Malcolm  <dmalcolm@redhat.com>
18207         * combine-stack-adj.c (struct csa_reflist): Strengthen field
18208         "insn" from rtx to rtx_insn *.
18209         (single_set_for_csa): Likewise for param "insn".
18210         (record_one_stack_ref): Likewise.
18211         (try_apply_stack_adjustment): Likewise.
18212         (struct record_stack_refs_data): Likewise for field "insn".
18213         (maybe_move_args_size_note): Likewise for params "last" and "insn".
18214         (prev_active_insn_bb): Likewise for return type and param "insn".
18215         (next_active_insn_bb): Likewise.
18216         (force_move_args_size_note): Likewise for params "prev" and "last"
18217         and locals "test", "next_candidate", "prev_candidate".
18218         (combine_stack_adjustments_for_block): Strengthen locals
18219         "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
18220         rtx_insn *.
18222 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18224         * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
18225         (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
18226         (subst_insn): Likewise for this variable.
18227         (added_links_insn): Likewise.
18228         (struct insn_link): Likewise for field "insn".
18229         (alloc_insn_link): Likewise for param "insn".
18230         (struct undobuf): Likewise for field "other_insn".
18231         (find_single_use): Likewise for param "insn" and local "next".
18232         (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
18233         (delete_noop_moves): Likewise for locals "insn", "next".
18234         (create_log_links): Likewise for locals "insn", "use_insn".
18235         Strengthen local "next_use" from rtx * to rtx_insn **.
18236         (insn_a_feeds_b): Likewise for params "a", "b".
18237         (combine_instructions): Likewise for param "f" and locals "insn",
18238         "next", "prev", "first", "last_combined_insn", "link", "link1",
18239         "temp".  Replace use of NULL_RTX with NULL when referring to
18240         insns.
18241         (setup_incoming_promotions): Likewise for param "first"
18242         (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
18243         (can_combine_p): Likewise for params "insn", "i3", "pred",
18244         "pred2", "succ", "succ2" and for local "p".
18245         (combinable_i3pat): Likewise for param "i3".
18246         (cant_combine_insn_p): Likewise for param "insn".
18247         (likely_spilled_retval_p): Likewise.
18248         (adjust_for_new_dest): Likewise.
18249         (update_cfg_for_uncondjump): Likewise, also for local "insn".
18250         (try_combine): Likewise for return type and for params "i3", "i2",
18251         "i1", "i0", "last_combined_insn", and for locals "insn",
18252         "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
18253         "i0_insn".  Eliminate local "tem" in favor of new locals
18254         "tem_note" and "tem_insn", the latter being an rtx_insn *.  Add a
18255         checked cast for now to rtx_insn * on the return type of
18256         gen_rtx_INSN.  Replace use of NULL_RTX with NULL when referring to
18257         insns.
18258         (find_split_point): Strengthen param "insn" from rtx to
18259         rtx_insn *.
18260         (simplify_set): Likewise for local "other_insn".
18261         (recog_for_combine): Likewise for param "insn".
18262         (record_value_for_reg): Likewise.
18263         (record_dead_and_set_regs_1): Likewise for local
18264         "record_dead_insn".
18265         (record_dead_and_set_regs): Likewise for param "insn".
18266         (record_promoted_value): Likewise.
18267         (check_promoted_subreg): Likewise.
18268         (get_last_value_validate): Likewise.
18269         (reg_dead_at_p): Likewise.
18270         (move_deaths): Likewise for param "to_insn".
18271         (distribute_notes): Likewise for params "from_insn", "i3", "i2"
18272         and locals "place", "place2", "cc0_setter".  Eliminate local "tem
18273         in favor of new locals "tem_note" and "tem_insn", the latter being
18274         an rtx_insn *.
18275         (distribute_links): Strengthen locals "place", "insn" from rtx to
18276         rtx_insn *.
18278 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18280         * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
18281         than a const_rtx.
18282         (can_delete_label_p): Require a const rtx_code_label * rather than
18283         a const_rtx.
18284         (delete_insn): Add checked cast to rtx_code_label * when we know
18285         we're dealing with LABEL_P (insn).  Strengthen local "bb_note" from
18286         rtx to rtx_insn *.
18287         (delete_insn_chain): Strengthen locals "prev" and "current" from
18288         rtx to rtx_insn *.  Add a checked cast when assigning from
18289         "finish" (strengthening the params will come later).  Add a
18290         checked cast to rtx_note * in region where we know
18291         NOTE_P (current).
18292         (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
18293         rtx_insn *.
18294         (compute_bb_for_insn): Likewise.
18295         (free_bb_for_insn): Likewise for local "insn".
18296         (compute_bb_for_insn): Likewise.
18297         (update_bb_for_insn_chain): Strengthen params "begin", "end" and
18298         local "insn" from rtx to rtx_insn *
18299         (flow_active_insn_p): Require a const rtx_insn * rather than a
18300         const_rtx.
18301         (contains_no_active_insn_p): Strengthen local "insn" from rtx to
18302         rtx_insn *.
18303         (can_fallthru): Likewise for locals "insn" and "insn2".
18304         (bb_note): Likewise for local "note".
18305         (first_insn_after_basic_block_note): Likewise for local "note" and
18306         for return type.
18307         (rtl_split_block): Likewise for locals "insn" and "next".
18308         (unique_locus_on_edge_between_p): Likewise for locals "insn" and
18309         "end".
18310         (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
18311         "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
18312         "prev", "tmp".
18313         (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
18314         them), "kill_from", "barrier", "new_insn".
18315         (patch_jump_insn): Likewise for params "insn", "old_label".
18316         (redirect_branch_edge): Likewise for locals "old_label", "insn".
18317         (force_nonfallthru_and_redirect): Likewise for locals "insn",
18318         "old_label", "new_label".
18319         (rtl_tidy_fallthru_edge): Likewise for local "q".
18320         (rtl_split_edge): Likewise for locals "before", "last".
18321         (commit_one_edge_insertion): Likewise for locals "before",
18322         "after", "insns", "tmp", "last", adding a checked cast where
18323         currently necessary.
18324         (commit_edge_insertions): Likewise.
18325         (rtl_dump_bb): Likewise for locals "insn", "last".
18326         (print_rtl_with_bb): Likewise for local "x".
18327         (rtl_verify_bb_insns): Likewise for local "x".
18328         (rtl_verify_bb_pointers): Likewise for local "insn".
18329         (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
18330         "head", "end".
18331         (rtl_verify_fallthru): Likewise for local "insn".
18332         (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
18333         (purge_dead_edges): Likewise for local "insn".
18334         (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
18335         (skip_insns_after_block): Likewise for return type and for locals
18336         "insn", "last_insn", "next_head", "prev".
18337         (record_effective_endpoints): Likewise for locals "next_insn",
18338         "insn", "end".
18339         (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
18340         (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
18341         (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
18342         (duplicate_insn_chain): For now, add checked cast from rtx to
18343         rtx_insn * when returning insn.
18344         (cfg_layout_duplicate_bb): Likewise for local "insn".
18345         (cfg_layout_delete_block): Likewise for locals "insn", "next",
18346         "prev", "remaints".
18347         (cfg_layout_merge_blocks): Likewise for local "insn", "last".
18348         (rtl_block_empty_p): Likewise.
18349         (rtl_split_block_before_cond_jump): Likewise for locals "insn",
18350         "split_point", "last".
18351         (rtl_block_ends_with_call_p): Likewise for local "insn".
18352         (need_fake_edge_p): Strengthen param "insn" from const_rtx to
18353         const rtx_insn *.
18354         (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
18355         "split_at_insn" from rtx to rtx_insn *.
18356         (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
18357         (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
18358         to const rtx_insn *.
18359         (rtl_account_profile_record): Likewise.
18361 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18363         * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
18364         rtx to rtx_insn *.
18365         (average_num_loop_insns): Likewise.
18366         (init_set_costs): Likewise for local "seq".
18367         (seq_cost): Likewise for param "seq", from const_rtx to const
18368         rtx_insn *.
18370 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18372         * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
18373         rtx to rtx_insn *.
18375 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18377         * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
18378         "f1" and "f2" from rtx * to rtx_insn **.
18379         (flow_find_head_matching_sequence): Likewise.
18381         * cfgcleanup.c (try_simplify_condjump): Strengthen local
18382         "cbranch_insn" from rtx to rtx_insn *.
18383         (thread_jump): Likewise for local "insn".
18384         (try_forward_edges): Likewise for local "last".
18385         (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
18386         (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
18387         "real_b_end".
18388         (can_replace_by): Likewise for params "i1", "i2".
18389         (old_insns_match_p): Likewise.
18390         (merge_notes): Likewise.
18391         (walk_to_nondebug_insn): Likewise for param "i1".
18392         (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
18393         to rtx_insn **.  Strengthen locals "i1", "i2", "last1", "last2",
18394         "afterlast1", "afterlast2" from rtx to rtx_insn *.
18395         (flow_find_head_matching_sequence): Strengthen params "f1" and
18396         "f2" from rtx * to rtx_insn **.  Strengthen locals "i1", "i2",
18397         "last1", "last2", "beforelast1", "beforelast2" from rtx to
18398         rtx_insn *.
18399         (outgoing_edges_match): Likewise for locals "last1", "last2".
18400         (try_crossjump_to_edge): Likewise for local "insn".
18401         Replace call to for_each_rtx with for_each_rtx_in_insn.
18403         (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
18404         (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
18405         "e0_last", "e_last", "head", "curr", "insn".  Strengthen locals
18406         "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
18407         (try_optimize_cfg): Strengthen local "last" from rtx to
18408         rtx_insn *.
18409         (delete_dead_jumptables): Likewise for locals "insn", "next",
18410         "label".
18412         * ifcvt.c (cond_exec_process_if_block): Likewise for locals
18413         "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
18414         "rtx else_first_tail", to reflect the basic-block.h changes above.
18416 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18418         * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
18419         rtx_insn *.
18420         (purge_dead_tablejump_edges): Likewise.
18421         (find_bb_boundaries): Likewise for locals "insn", "end",
18422         "flow_transfer_insn".
18424 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18426         * caller-save.c (save_call_clobbered_regs): Strengthen locals
18427         "ins" and "prev" from rtx to rtx_insn *.
18429 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18431         * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
18432         rtx_insn *.
18433         (internal_arg_pointer_exp_state): Likewise for field "scan_start".
18434         (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
18435         "scan_start".
18436         (load_register_parameters): Likewise for local "before_arg".
18437         (check_sibcall_argument_overlap): Likewise for param "insn".
18438         (expand_call): Likewise for locals "normal_call_insns",
18439         "tail_call_insns", "insns", "before_call", "after_args",
18440         "before_arg", "last", "prev".  Strengthen one of the "last" from
18441         rtx to rtx_call_insn *.
18442         (fixup_tail_calls): Strengthen local "insn" from rtx to
18443         rtx_insn *.
18444         (emit_library_call_value_1): Likewise for locals "before_call" and
18445         "last".
18447 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18449         * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
18450         and "last" from rtx to rtx_insn *.
18451         (expand_builtin_nonlocal_goto): Likewise for local "insn".
18452         (expand_builtin_apply): Strengthen local "call_insn" from rtx to
18453         rtx_call_insn *.
18454         (expand_errno_check): Strengthen local "lab" from rtx to
18455         rtx_code_label *.
18456         (expand_builtin_mathfn): Strengthen local "insns" from rtx to
18457         rtx_insn *.
18458         (expand_builtin_mathfn_2): Likewise.
18459         (expand_builtin_mathfn_ternary): Likewise.
18460         (expand_builtin_mathfn_3): Likewise.
18461         (expand_builtin_interclass_mathfn): Likewise for local "last".
18462         (expand_builtin_int_roundingfn): Likewise for local "insns".
18463         (expand_builtin_int_roundingfn_2): Likewise.
18464         (expand_builtin_strlen): Likewise for local "before_strlen".
18465         (expand_builtin_strncmp): Likewise for local "seq".
18466         (expand_builtin_signbit): Likewise for local "last".
18467         (expand_builtin_atomic_compare_exchange): Strengthen local "label"
18468         from rtx to rtx_code_label *.
18469         (expand_stack_restore):  Strengthen local "prev" from rtx to
18470         rtx_insn *.
18472 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18474         * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
18475         to rtx_insn *.
18476         (struct btr_def_s): Likewise.
18477         (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
18478         const rtx_insn *.
18479         (add_btr_def): Likewise.
18480         (new_btr_user): Likewise.
18481         (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
18482         rtx to rtx_insn *.
18483         (link_btr_uses): Likewise.
18484         (move_btr_def): Likewise for locals "insp", "old_insn",
18485         "new_insn".  Add checked cast to rtx_insn * for now on result of
18486         gen_move_insn.
18487         (can_move_up): Strengthen param "insn" from const_rtx to
18488         const rtx_insn *.
18490 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18492         * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
18493         rtx_insn *.
18494         (get_uncond_jump_length): Likewise for locals "label", "jump".
18495         (fix_up_crossing_landing_pad): Likewise for locals "new_label",
18496         "jump", "insn".
18497         (add_labels_and_missing_jumps): Likewise for local "new_jump".
18498         (fix_up_fall_thru_edges): Likewise for local "old_jump".
18499         (find_jump_block): Likewise for local "insn".
18500         (fix_crossing_conditional_branches): Likewise for locals
18501         "old_jump", "new_jump".
18502         (fix_crossing_unconditional_branches): Likewise for locals
18503         "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
18504         (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
18506 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18508         * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
18509         rtx to rtx_insn *.
18510         (struct mem_insn): Likewise for field "insn".
18511         (reg_next_use): Strengthen from rtx * to rtx_insn **.
18512         (reg_next_inc_use): Likewise.
18513         (reg_next_def): Likewise.
18514         (move_dead_notes): Strengthen params "to_insn" and "from_insn"
18515         from rtx to rtx_insn *.
18516         (move_insn_before): Likewise for param "next_insn" and local "insns".
18517         (attempt_change): Likewise for local "mov_insn".
18518         (try_merge): Likewise for param "last_insn".
18519         (get_next_ref): Likewise for return type and local "insn".
18520         Strengthen param "next_array" from rtx * to rtx_insn **.
18521         (parse_add_or_inc): Strengthen param "insn" from rtx to
18522         rtx_insn *.
18523         (find_inc): Likewise for locals "insn" and "other_insn" (three of
18524         the latter).
18525         (merge_in_block): Likewise for locals "insn", "curr",
18526         "other_insn".
18527         (pass_inc_dec::execute): Update allocations of the arrays to
18528         reflect the stronger types.
18530 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18532         * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
18533         and "jump" from rtx to rtx_insn *.  Strengthen local "top_label"
18534         from rtx to rtx_code_label *.
18536 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18538         * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
18539         to rtx_insn *.
18541 2014-08-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
18543         * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
18544         generated a warning and prevented bootstrapping the compiler.
18546 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18548         * rtl.h (delete_related_insns): Strengthen return type from rtx to
18549         rtx_insn *.
18551         * jump.c (delete_related_insns): Likewise, also for locals "next"
18552         and "prev".
18554 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18556         * genautomata.c (output_internal_insn_latency_func): When writing
18557         the function "internal_insn_latency" to insn-automata.c,
18558         strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
18559         allowing the optional guard function of (define_bypass) clauses to
18560         expect a pair of rtx_insn *, rather than a pair of rtx.
18561         (output_insn_latency_func): When writing the function
18562         "insn_latency", add an "uncast_" prefix to params "insn" and
18563         "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
18564         using checked casts from the params, thus enabling the above
18565         change to the generated "internal_insn_latency" function.
18567 2014-08-21  Jan Hubicka  <hubicka@ucw.cz>
18569         PR tree-optimization/62091
18570         * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
18571         handle correctly arrays.
18572         (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
18573         inheritance binfos.
18574         (record_known_type): Walk into inner type.
18575         (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
18576         condition on no type changes.
18578 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18580         * genattrtab.c (write_attr_get): Within the generated get_attr_
18581         functions, rename param "insn" to "uncast_insn" and reintroduce
18582         "insn" as an local rtx_insn * using a checked cast, so that "insn"
18583         is an rtx_insn * within insn-attrtab.c
18585 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18587         * output.h (peephole): Strengthen return type from rtx to
18588         rtx_insn *.
18589         * rtl.h (delete_for_peephole): Likewise for both params.
18590         * genpeep.c (main): In generated "peephole" function, strengthen
18591         return type and local "insn" from rtx to rtx_insn *.  For now,
18592         rename param "ins1" to "uncast_ins1", adding "ins1" back as an
18593         rtx_insn *, with a checked cast.
18594         * jump.c (delete_for_peephole): Strengthen params "from", "to" and
18595         locals "insn", "next", "prev" from rtx to rtx_insn *.
18597 2014-08-21  Marc Glisse  <marc.glisse@inria.fr>
18599         PR tree-optimization/62112
18600         * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
18601         * gimple-iterator.h (gsi_replace): Return bool.
18602         * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
18603         moved from ref_may_alias_global_p.
18604         (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
18605         New overloads.
18606         (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
18607         (stmt_kills_ref_p_1): Rename...
18608         (stmt_kills_ref_p): ... to this.
18609         * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
18610         stmt_kills_ref_p): Declare.
18611         * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
18612         Move the self-assignment case...
18613         (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
18615 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18617         * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
18619         * emit-rtl.c (try_split): Likewise, also for locals "before" and
18620         "after".  For now, don't strengthen param "trial", which requires
18621         adding checked casts when returning it.
18623 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18625         * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
18626         "label" from rtx to rtx_code_label *.  Strengthen param 1 of
18627         "var_location" hook from rtx to rtx_insn *.
18628         (debug_nothing_rtx): Delete in favor of...
18629         (debug_nothing_rtx_code_label): New prototype.
18630         (debug_nothing_rtx_rtx): Delete unused prototype.
18631         (debug_nothing_rtx_insn): New prototype.
18633         * final.c (final_scan_insn): Add checked cast to rtx_insn * when
18634         invoking debug_hooks->var_location (in two places, one in a NOTE
18635         case of a switch statement, the other guarded by a CALL_P
18636         conditional.  Add checked cast to rtx_code_label * when invoking
18637         debug_hooks->label (within CODE_LABEL case of switch statement).
18639         * dbxout.c (dbx_debug_hooks): Update "label" hook from
18640         debug_nothing_rtx to debug_nothing_rtx_code_label.  Update
18641         "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
18642         (xcoff_debug_hooks): Likewise.
18643         * debug.c (do_nothing_debug_hooks): Likewise.
18644         (debug_nothing_rtx): Delete in favor of...
18645         (debug_nothing_rtx_insn): New function.
18646         (debug_nothing_rtx_rtx): Delete unused function.
18647         (debug_nothing_rtx_code_label): New function.
18648         * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
18649         debug_nothing_rtx to debug_nothing_rtx_code_label.
18650         (dwarf2out_var_location): Strengthen param "loc_note" from rtx
18651         to rtx_insn *.
18652         * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
18653         debug_nothing_rtx to debug_nothing_rtx_insn.
18654         (sdbout_label): Strengthen param "insn" from rtx to
18655         rtx_code_label *.
18656         * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
18657         debug_nothing_rtx to debug_nothing_rtx_code_label.  Update
18658         "var_location" hook from debug_nothing_rtx to
18659         debug_nothing_rtx_insn.
18661 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18663         * recog.h (insn_output_fn): Update this function typedef to match
18664         the changes below to the generated output functions, strengthening
18665         the 2nd param from rtx to rtx_insn *.
18667         * final.c (get_insn_template): Add a checked cast to rtx_insn * on
18668         insn when invoking an output function, to match the new signature
18669         of insn_output_fn with a stronger second param.
18671         * genconditions.c (write_header): In the generated code for
18672         gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
18673         to match the other changes in this patch.
18675         * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
18676         the generated "gen_" functions from rtx to rtx_insn * within their
18677         implementations.
18679         * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
18680         the subfunctions within the generated "recog_", "split", "peephole2"
18681         function trees from rtx to rtx_insn *.  For now, the top-level
18682         generated functions ("recog", "split", "peephole2") continue to
18683         take a plain rtx for "insn", to avoid introducing dependencies on
18684         other patches.  Rename this 2nd param from "insn" to
18685         "uncast_insn", and reintroduce "insn" as a local variable of type
18686         rtx_insn *, initialized at the top of the generated function with
18687         a checked cast on "uncast_insn".
18688         (make_insn_sequence): Strengthen the 1st param "curr_insn" of
18689         the generated "gen_" functions from rtx to rtx_insn * within their
18690         prototypes.
18692         * genoutput.c (process_template): Strengthen the 2nd param within
18693         the generated "output_" functions "insn" from rtx to rtx_insn *.
18695 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
18697         * tree-profile.c (tree_profiling): Skip external functions
18698         when doing coverage instrumentation.
18699         * cgraphunit.c (compile): Do not assert that all nodes are reachable.
18701 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
18703         * config/rs6000/altivec.h (vec_cpsgn): New #define.
18704         (vec_mergee): Likewise.
18705         (vec_mergeo): Likewise.
18706         (vec_cntlz): Likewise.
18707         * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
18708         entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
18709         VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
18710         VMRGEW, and VMRGOW.
18711         * doc/extend.texi: Document various forms of vec_cpsgn,
18712         vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
18713         vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
18714         vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
18715         vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
18716         vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
18718 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
18720         * config/rs6000/rs6000.c (context.h): New include.
18721         (tree-pass.h): Likewise.
18722         (make_pass_analyze_swaps): New decl.
18723         (rs6000_option_override): Register pass_analyze_swaps.
18724         (swap_web_entry): New subsclass of web_entry_base (df.h).
18725         (special_handling_values): New enum.
18726         (union_defs): New function.
18727         (union_uses): Likewise.
18728         (insn_is_load_p): Likewise.
18729         (insn_is_store_p): Likewise.
18730         (insn_is_swap_p): Likewise.
18731         (rtx_is_swappable_p): Likewise.
18732         (insn_is_swappable_p): Likewise.
18733         (chain_purpose): New enum.
18734         (chain_contains_only_swaps): New function.
18735         (mark_swaps_for_removal): Likewise.
18736         (swap_const_vector_halves): Likewise.
18737         (adjust_subreg_index): Likewise.
18738         (permute_load): Likewise.
18739         (permute_store): Likewise.
18740         (handle_special_swappables): Likewise.
18741         (replace_swap_with_copy): Likewise.
18742         (dump_swap_insn_table): Likewise.
18743         (rs6000_analyze_swaps): Likewise.
18744         (pass_data_analyze_swaps): New pass_data.
18745         (pass_analyze_swaps): New rtl_opt_pass.
18746         (make_pass_analyze_swaps): New function.
18747         * config/rs6000/rs6000.opt (moptimize-swaps): New option.
18749 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18751         * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
18752         type from rtx to rtx_insn *.
18753         (create_copy_of_insn_rtx): Likewise.
18754         * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
18755         (create_copy_of_insn_rtx): Likewise, also for local "res".
18757 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18759         * rtl.h (find_first_parameter_load): Strengthen return type from
18760         rtx to rtx_insn *.
18761         * rtlanal.c (find_first_parameter_load): Strengthen return type
18762         from rtx to rtx_insn *.  Add checked cast for now, to postpone
18763         strengthening the params.
18765 2014-08-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
18767         PR fortran/44054
18768         * diagnostic.c: Set default caret.
18769         (diagnostic_show_locus): Use it. Tell pretty-printer that a new
18770         line is needed.
18771         * diagnostic.h (struct diagnostic_context):
18773 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18775         * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
18776         (sel_bb_head): Strengthen return type insn_t (currently just an
18777         rtx) to rtx_insn *.
18778         (sel_bb_end): Likewise.
18780         * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
18781         (sel_bb_head): Strengthen return type and local "head" from
18782         insn_t (currently just an rtx) to rtx_insn *.
18783         (sel_bb_end): Likewise for return type.
18784         (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
18785         working with insn.
18787 2014-08-21  David Malcolm  <dmalcolm@redhat.com>
18789         * basic-block.h (get_last_bb_insn): Strengthen return type from
18790         rtx to rtx_insn *.
18791         * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
18792         end".
18794 2014-08-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
18796         PR fortran/44054
18797         * diagnostic.c (default_diagnostic_finalizer): Move caret printing
18798         to here ...
18799         (diagnostic_report_diagnostic): ... from here.
18800         * toplev.c (general_init): Move code to c-family.
18802 2014-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
18804         * df.h (web_entry_base): Replace existing struct web_entry with a
18805         new class web_entry_base with only the predecessor member.
18806         (unionfind_root): Remove declaration and move to class member.
18807         (unionfind_union): Remove declaration and move to friend
18808         function.
18809         (union_defs): Remove declaration.
18810         * web.c (web_entry_base::unionfind_root): Modify to be member
18811         function and adjust accessors.
18812         (unionfind_union): Modify to be friend function and adjust
18813         accessors.
18814         (web_entry): New subclass of web_entry_base containing the reg
18815         member.
18816         (union_match_dups): Modify for struct -> class changes.
18817         (union_defs): Likewise.
18818         (entry_register): Likewise.
18819         (pass_web::execute): Likewise.
18821 2014-08-20  Bill Schmidt  <wschmidt@vnet.ibm.com>
18823         * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
18824         builtin define __VEC_ELEMENT_REG_ORDER__.
18826 2014-08-20  Martin Jambor  <mjambor@suse.cz>
18827             Wei Mi  <wmi@google.com>
18829         PR ipa/60449
18830         PR middle-end/61776
18831         * tree-ssa-operands.c (update_stmt_operands): Remove
18832         MODIFIED_NORETURN_CALLS.
18833         * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
18834         (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
18835         (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
18836         (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
18837         * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
18838         * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
18839         (gimple_call_set_ctrl_altering): New func.
18840         (gimple_call_ctrl_altering_p): Ditto.
18841         * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
18842         (make_blocks): Use gimple_call_initialize_ctrl_altering.
18843         (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
18844         (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
18845         remove MODIFIED_NORETURN_CALLS.
18847 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
18849         * coverage.c (coverage_compute_profile_id): Return non-0;
18850         also handle symbols with unique name.
18851         (coverage_end_function): Do not skip DECL_EXTERNAL functions.
18853 2014-08-20  Steve Ellcey  <sellcey@mips.com>
18855         PR middle-end/49191
18856         * doc/sourcebuild.texi (non_strict_align): New.
18858 2014-08-20  Jan Hubicka  <hubicka@ucw.cz>
18860         * cgraphunit.c (ipa_passes, compile): Reshedule
18861         symtab_remove_unreachable_nodes passes; update comments.
18862         * ipa-inline.c (pass_data_ipa_inline): Do not schedule
18863         TODO_remove_functions before the pass; the functions ought to be
18864         already removed.
18865         * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
18866         TODO_remove_functions.
18867         * passes.c (pass_data_early_local_passes): Do not schedule function
18868         removal.
18869         (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
18871 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
18873         PR c/59304
18874         * opts-common.c (set_option): Call diagnostic_classify_diagnostic
18875         before setting the option.
18876         * diagnostic.c (diagnostic_classify_diagnostic): Record
18877         command-line status.
18879 2014-08-20  Richard Biener  <rguenther@suse.de>
18881         PR lto/62190
18882         * tree.c (build_common_tree_nodes): Use make_or_reuse_type
18883         to build uint{16,32,64}_type_node.
18885 2014-08-20  Terry Guo  <terry.guo@arm.com>
18887         * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
18888         with immediate_operand.
18890 2014-08-20  David Malcolm  <dmalcolm@redhat.com>
18892         * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
18893         "insn" from an as_a to a safe_as_a, for the case when "insn" is
18894         NULL.
18896 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
18898         PR preprocessor/51303
18899         * incpath.c (remove_duplicates): Use cpp_warning.
18901 2014-08-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
18903         PR c/60975
18904         PR c/53063
18905         * doc/options.texi (CPP): Document it.
18906         * doc/invoke.texi (Wvariadic-macros): Fix documentation.
18907         * optc-gen.awk: Handle CPP.
18908         * opth-gen.awk: Likewise.
18910 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
18912         * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
18913         rtx_insn *.
18914         (duplicate_insn_chain): Likewise.
18915         * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
18916         rtx_insn *, also for locals "prevfirst" and "nextlast".  Add a
18917         checked cast for now (until we can strengthen the params in the
18918         same way).
18919         (duplicate_insn_chain): Likewise.
18921 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
18923         * rtl.h (next_cc0_user): Strengthen return type from rtx to
18924         rtx_insn *.
18925         (prev_cc0_setter): Likewise.
18927         * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
18928         rtx_insn *, adding checked casts for now as necessary.
18929         (prev_cc0_setter): Likewise.
18931 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
18933         * expr.h (emit_move_insn): Strengthen return type from rtx to
18934         rtx_insn *.
18935         (emit_move_insn_1): Likewise.
18936         (emit_move_complex_push): Likewise.
18937         (emit_move_complex_parts): Likewise.
18939         * expr.c (emit_move_via_integer): Strengthen return type from rtx
18940         to rtx_insn *.  Replace use of NULL_RTX with NULL when working
18941         with insns.
18942         (emit_move_complex_push): Strengthen return type from rtx to
18943         rtx_insn *.
18944         (emit_move_complex): Likewise, also for local "ret".
18945         (emit_move_ccmode): Likewise.
18946         (emit_move_multi_word): Likewise for return type and locals
18947         "last_insn", "seq".
18948         (emit_move_insn_1): Likewise for return type and locals "result",
18949         "ret".
18950         (emit_move_insn): Likewise for return type and local "last_insn".
18951         (compress_float_constant): Likewise.
18953 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
18955         * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
18956         from rtx to rtx_insn *.
18958         * rtl.h (emit_insn_before): Likewise.
18959         (emit_insn_before_noloc): Likewise.
18960         (emit_insn_before_setloc): Likewise.
18961         (emit_jump_insn_before): Likewise.
18962         (emit_jump_insn_before_noloc): Likewise.
18963         (emit_jump_insn_before_setloc): Likewise.
18964         (emit_call_insn_before): Likewise.
18965         (emit_call_insn_before_noloc): Likewise.
18966         (emit_call_insn_before_setloc): Likewise.
18967         (emit_debug_insn_before): Likewise.
18968         (emit_debug_insn_before_noloc): Likewise.
18969         (emit_debug_insn_before_setloc): Likewise.
18970         (emit_label_before): Likewise.
18971         (emit_insn_after): Likewise.
18972         (emit_insn_after_noloc): Likewise.
18973         (emit_insn_after_setloc): Likewise.
18974         (emit_jump_insn_after): Likewise.
18975         (emit_jump_insn_after_noloc): Likewise.
18976         (emit_jump_insn_after_setloc): Likewise.
18977         (emit_call_insn_after): Likewise.
18978         (emit_call_insn_after_noloc): Likewise.
18979         (emit_call_insn_after_setloc): Likewise.
18980         (emit_debug_insn_after): Likewise.
18981         (emit_debug_insn_after_noloc): Likewise.
18982         (emit_debug_insn_after_setloc): Likewise.
18983         (emit_label_after): Likewise.
18984         (emit_insn): Likewise.
18985         (emit_debug_insn): Likewise.
18986         (emit_jump_insn): Likewise.
18987         (emit_call_insn): Likewise.
18988         (emit_label): Likewise.
18989         (gen_clobber): Likewise.
18990         (emit_clobber): Likewise.
18991         (gen_use): Likewise.
18992         (emit_use): Likewise.
18993         (emit): Likewise.
18995         (emit_barrier_before): Strengthen return type from rtx to
18996         rtx_barrier *.
18997         (emit_barrier_after): Likewise.
18998         (emit_barrier): Likewise.
19000         * emit-rtl.c (emit_pattern_before_noloc):  Strengthen return type
19001         from rtx to rtx_insn *.  Add checked casts for now when converting
19002         "last" from rtx to rtx_insn *.
19003         (emit_insn_before_noloc): Likewise for return type.
19004         (emit_jump_insn_before_noloc): Likewise.
19005         (emit_call_insn_before_noloc): Likewise.
19006         (emit_debug_insn_before_noloc): Likewise.
19007         (emit_barrier_before): Strengthen return type and local "insn"
19008         from rtx to rtx_barrier *.
19009         (emit_label_before): Strengthen return type from rtx to
19010         rtx_insn *.  Add checked cast for now when returning param
19011         (emit_pattern_after_noloc): Strengthen return type from rtx to
19012         rtx_insn *.  Add checked casts for now when converting "last" from
19013         rtx to rtx_insn *.
19014         (emit_insn_after_noloc): Strengthen return type from rtx to
19015         rtx_insn *.
19016         (emit_jump_insn_after_noloc): Likewise.
19017         (emit_call_insn_after_noloc): Likewise.
19018         (emit_debug_insn_after_noloc): Likewise.
19019         (emit_barrier_after): Strengthen return type from rtx to
19020         rtx_barrier *.
19021         (emit_label_after): Strengthen return type from rtx to rtx_insn *.
19022         Add checked cast for now when converting "label" from rtx to
19023         rtx_insn *.
19024         (emit_pattern_after_setloc): Strengthen return type from rtx to
19025         rtx_insn *.  Add checked casts for now when converting "last" from
19026         rtx to rtx_insn *.
19027         (emit_pattern_after): Strengthen return type from rtx to
19028         rtx_insn *.
19029         (emit_insn_after_setloc): Likewise.
19030         (emit_insn_after): Likewise.
19031         (emit_jump_insn_after_setloc): Likewise.
19032         (emit_jump_insn_after): Likewise.
19033         (emit_call_insn_after_setloc): Likewise.
19034         (emit_call_insn_after): Likewise.
19035         (emit_debug_insn_after_setloc): Likewise.
19036         (emit_debug_insn_after): Likewise.
19037         (emit_pattern_before_setloc): Likewise.  Add checked casts for now
19038         when converting "last" from rtx to rtx_insn *.
19039         (emit_pattern_before): Strengthen return type from rtx to
19040         rtx_insn *.
19041         (emit_insn_before_setloc): Likewise.
19042         (emit_insn_before): Likewise.
19043         (emit_jump_insn_before_setloc): Likewise.
19044         (emit_jump_insn_before): Likewise.
19045         (emit_call_insn_before_setloc): Likewise.
19046         (emit_call_insn_before): Likewise.
19047         (emit_debug_insn_before_setloc): Likewise.
19048         (emit_debug_insn_before): Likewise.
19049         (emit_insn): Strengthen return type and locals "last", "insn",
19050         "next" from rtx to rtx_insn *.  Add checked cast to rtx_insn
19051         within cases where we know we have an insn.
19052         (emit_debug_insn): Likewise.
19053         (emit_jump_insn): Likewise.
19054         (emit_call_insn): Strengthen return type and local "insn" from rtx
19055         to rtx_insn *.
19056         (emit_label): Strengthen return type from rtx to rtx_insn *.  Add
19057         a checked cast to rtx_insn * for now on "label".
19058         (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
19059         (emit_clobber): Strengthen return type from rtx to rtx_insn *.
19060         (emit_use): Likewise.
19061         (gen_use): Likewise, also for local "seq".
19062         (emit): Likewise for return type and local "insn".
19063         (rtx_insn): Likewise for return type and local "new_rtx".
19065         * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
19066         from rtx to rtx_barrier *.
19068         * config/sh/sh.c (output_stack_adjust): Since emit_insn has
19069         changed return type from rtx to rtx_insn *, we must update
19070         "emit_fn" type, and this in turn means updating...
19071         (frame_insn): ...this.  Strengthen return type from rtx to
19072         rtx_insn *.  Introduce a new local "insn" of the appropriate type.
19074 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19076         * emit-rtl.c (emit_jump_table_data): Strengthen return type from
19077         rtx to rtx_jump_table_data *.  Also for local.
19078         * rtl.h (emit_jump_table_data): Likewise.
19080 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19082         * basic-block.h (create_basic_block_structure): Strengthen third
19083         param "bb_note" from rtx to rtx_note *.
19084         * rtl.h (emit_note_before): Strengthen return type from rtx to
19085         rtx_note *.
19086         (emit_note_after): Likewise.
19087         (emit_note): Likewise.
19088         (emit_note_copy): Likewise.  Also, strengthen param similarly.
19089         * function.h (struct rtl_data): Strengthen field
19090         "x_stack_check_probe_note" from rtx to rtx_note *.
19092         * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
19093         from rtx to rtx_note *.
19094         * cfgrtl.c (create_basic_block_structure): Strengthen third param
19095         "bb_note" from rtx to rtx_note *.
19096         (duplicate_insn_chain): Likewise for local "last".  Add a checked cast
19097         when calling emit_note_copy.
19098         * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
19099         rtx_note *.
19100         (emit_note_after): Likewise.
19101         (emit_note_before): Likewise.
19102         (emit_note_copy): Likewise.  Also, strengthen param similarly.
19103         (emit_note): Likewise.
19104         * except.c (emit_note_eh_region_end): Likewise for return type.
19105         Strengthen local "next" from rtx to rtx_insn *.
19106         (convert_to_eh_region_ranges): Strengthen local "note"
19107         from rtx to rtx_note *.
19108         * final.c (change_scope): Likewise.
19109         (reemit_insn_block_notes): Likewise, for both locals named "note".
19110         Also, strengthen local "insn" from rtx to rtx_insn *.
19111         * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
19112         rtx to rtx_note *.
19113         * reg-stack.c (compensate_edge): Likewise for local "after". Also,
19114         strengthen local "seq" from rtx to rtx_insn *.
19115         * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
19116         to rtx_note *.
19117         * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
19118         vec<rtx_note *>.
19119         (get_bb_note_from_pool): Strengthen return type from rtx to
19120         rtx_note *.
19121         (sel_create_basic_block): Strengthen local "new_bb_note" from
19122         insn_t to rtx_note *.
19123         * var-tracking.c (emit_note_insn_var_location): Strengthen local
19124         "note" from rtx to rtx_note *.
19125         (emit_notes_in_bb): Likewise.
19127 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19129         * function.h (struct rtl_data): Strengthen field
19130         "x_parm_birth_insn" from rtx to rtx_insn *.
19131         * function.c (struct assign_parm_data_all): Strengthen fields
19132         "first_conversion_insn" and "last_conversion_insn" from rtx to
19133         rtx_insn *.
19135 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19137         * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
19138         to rtx_insn *; also for local "var_end_seq".
19139         (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
19140         (maybe_cleanup_end_of_block): Likewise for param "last" and local
19141         "insn".
19142         (expand_gimple_cond): Likewise for locals "last2" and "last".
19143         (mark_transaction_restart_calls): Likewise for local "insn".
19144         (expand_gimple_stmt): Likewise for return type and locals "last"
19145         and "insn".
19146         (expand_gimple_tailcall): Likewise for locals "last2" and "last".
19147         (avoid_complex_debug_insns): Likewise for param "insn".
19148         (expand_debug_locations): Likewise for locals "insn", "last",
19149         "prev_insn" and "insn2".
19150         (expand_gimple_basic_block): Likewise for local "last".
19151         (construct_exit_block): Likewise for locals "head", "end",
19152         "orig_end".
19153         (pass_expand::execute): Likewise for locals "var_seq",
19154         "var_ret_seq", "next".
19156 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19158         * asan.h (asan_emit_stack_protection): Strengthen return type from
19159         rtx to rtx_insn *.
19160         * asan.c (asan_emit_stack_protection): Likewise.  Add local
19161         "insns" to hold the return value.
19163 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19165         * basic-block.h (bb_note): Strengthen return type from rtx to
19166         rtx_note *.
19167         * sched-int.h (bb_note): Likewise.
19168         * cfgrtl.c (bb_note): Likewise.  Add a checked cast to rtx_note *.
19170 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19172         * rtl.h (make_insn_raw): Strengthen return type from rtx to
19173         rtx_insn *.
19175         * emit-rtl.c (make_insn_raw): Strengthen return type and local
19176         "insn" from rtx to rtx_insn *.
19177         (make_debug_insn_raw): Strengthen return type from rtx to
19178         rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
19179         (make_jump_insn_raw):  Strengthen return type from rtx to
19180         rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
19181         (make_call_insn_raw):  Strengthen return type from rtx to
19182         rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
19183         (emit_pattern_before_noloc): Strengthen return type of "make_raw"
19184         callback from rtx to rtx_insn *; likewise for local "insn" and
19185         "next", adding a checked cast to rtx_insn in the relevant cases of
19186         the switch statement.
19187         (emit_pattern_after_noloc): Strengthen return type of "make_raw"
19188         callback from rtx to rtx_insn *.
19189         (emit_pattern_after_setloc): Likewise.
19190         (emit_pattern_after): Likewise.
19191         (emit_pattern_before_setloc): Likewise.
19192         (emit_pattern_before): Likewise.
19194 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19196         * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
19197         rtx_call_insn *.
19198         * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
19199         accepting an rtx_insn *.
19200         (last_call_insn): Strengthen return type from rtx to
19201         rtx_call_insn *.
19203 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19205         * rtl.h (delete_trivially_dead_insns): Strengthen initial param
19206         "insns" from rtx to rtx_insn *.
19207         * cse.c (delete_trivially_dead_insns): Likewise, also do it for
19208         locals "insn" and "prev".
19210 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19212         * rtl.h (tablejump_p): Strengthen third param from rtx * to
19213         rtx_jump_table_data **.
19215         * cfgbuild.c (make_edges): Introduce local "table", using it in
19216         place of "tmp" for jump table data.
19217         (find_bb_boundaries): Strengthen local "table" from rtx to
19218         rtx_jump_table_data *.
19219         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
19220         (outgoing_edges_match): Likewise for locals "table1" and "table2".
19221         (try_crossjump_to_edge): Likewise.
19222         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
19223         "table".
19224         (patch_jump_insn): Introduce local "table", using it in place of
19225         "tmp" for jump table data.
19226         (force_nonfallthru_and_redirect): Introduce local "table", so that
19227         call to tablejump_p can receive an rtx_jump_table_data **.  Update
19228         logic around the call to overwrite "note" appropriately if
19229         tablejump_p returns non-zero.
19230         (get_last_bb_insn): Introduce local "table", using it in place of
19231         "tmp" for jump table data.
19232         * dwarf2cfi.c (create_trace_edges): Likewise.
19234         * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
19235         from rtx to rtx_jump_table_data *.
19236         (create_fix_barrier): Strengthen local "tmp" from rtx to
19237         rtx_jump_table_data *.
19238         (arm_reorg): Likewise for local "table".
19240         * config/s390/s390.c (s390_chunkify_start): Likewise.
19242         * config/spu/spu.c (spu_emit_branch_hint): Likewise.
19244         * jump.c (delete_related_insns): Strengthen local "lab_next" from
19245         rtx to rtx_jump_table_data *.
19247         * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
19248         rtx_jump_table_data **.  Add a checked cast when writing through
19249         the pointer: we know there that local "table" is non-NULL and that
19250         JUMP_TABLE_DATA_P (table) holds.
19251         (label_is_jump_target_p): Introduce local "table", using it in
19252         place of "tmp" for jump table data.
19254 2014-08-19  Marek Polacek  <polacek@redhat.com>
19256         PR c++/62153
19257         * doc/invoke.texi: Document -Wbool-compare.
19259 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19261         * rtl.h (entry_of_function): Strengthen return type from rtx to
19262         rtx_insn *.
19263         * cfgrtl.c (entry_of_function): Likewise.
19265 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19267         * emit-rtl.h (get_insns): Strengthen return type from rtx to
19268         rtx_insn *, adding a checked cast for now.
19269         (get_last_insn): Likewise.
19271 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19273         * rtl.h (gen_label_rtx): Strengthen return type from rtx to
19274         rtx_code_label *.
19276         * emit-rtl.c (gen_label_rtx): Likewise.
19278 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19280         * rtl.h (previous_insn): Strengthen return type from rtx to
19281         rtx_insn *.
19282         (next_insn): Likewise.
19283         (prev_nonnote_insn): Likewise.
19284         (prev_nonnote_insn_bb): Likewise.
19285         (next_nonnote_insn): Likewise.
19286         (next_nonnote_insn_bb): Likewise.
19287         (prev_nondebug_insn): Likewise.
19288         (next_nondebug_insn): Likewise.
19289         (prev_nonnote_nondebug_insn): Likewise.
19290         (next_nonnote_nondebug_insn): Likewise.
19291         (prev_real_insn): Likewise.
19292         (next_real_insn): Likewise.
19293         (prev_active_insn): Likewise.
19294         (next_active_insn): Likewise.
19296         * emit-rtl.c (next_insn): Strengthen return type from rtx to
19297         rtx_insn *, adding a checked cast.
19298         (previous_insn): Likewise.
19299         (next_nonnote_insn): Likewise.
19300         (next_nonnote_insn_bb): Likewise.
19301         (prev_nonnote_insn): Likewise.
19302         (prev_nonnote_insn_bb): Likewise.
19303         (next_nondebug_insn): Likewise.
19304         (prev_nondebug_insn): Likewise.
19305         (next_nonnote_nondebug_insn): Likewise.
19306         (prev_nonnote_nondebug_insn): Likewise.
19307         (next_real_insn): Likewise.
19308         (prev_real_insn): Likewise.
19309         (next_active_insn): Likewise.
19310         (prev_active_insn): Likewise.
19312         * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
19313         param "stepfunc" so that it returns an rtx_insn * rather than an
19314         rtx, to track the change to prev_nonnote_insn_bb, which is the
19315         only function this is called with.
19316         * config/sh/sh.c (sh_find_set_of_reg): Likewise.
19318 2014-08-19  Jan Hubicka  <hubicka@ucw.cz>
19320         * ipa-visibility.c (update_visibility_by_resolution_info): Fix
19321         assert.
19323 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19325         * coretypes.h (class rtx_debug_insn): Add forward declaration.
19326         (class rtx_nonjump_insn): Likewise.
19327         (class rtx_jump_insn): Likewise.
19328         (class rtx_call_insn): Likewise.
19329         (class rtx_jump_table_data): Likewise.
19330         (class rtx_barrier): Likewise.
19331         (class rtx_code_label): Likewise.
19332         (class rtx_note): Likewise.
19334         * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
19335         adding the invariant DEBUG_INSN_P (X).
19336         (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
19337         the invariant NONJUMP_INSN_P (X).
19338         (class rtx_jump_insn): New, a subclass of rtx_insn, adding
19339         the invariant JUMP_P (X).
19340         (class rtx_call_insn): New, a subclass of rtx_insn, adding
19341         the invariant CALL_P (X).
19342         (class rtx_jump_table): New, a subclass of rtx_insn, adding the
19343         invariant JUMP_TABLE_DATA_P (X).
19344         (class rtx_barrier): New, a subclass of rtx_insn, adding the
19345         invariant BARRIER_P (X).
19346         (class rtx_code_label): New, a subclass of rtx_insn, adding
19347         the invariant LABEL_P (X).
19348         (class rtx_note): New, a subclass of rtx_insn, adding
19349         the invariant NOTE_P(X).
19350         (is_a_helper <rtx_debug_insn *>::test): New.
19351         (is_a_helper <rtx_nonjump_insn *>::test): New.
19352         (is_a_helper <rtx_jump_insn *>::test): New.
19353         (is_a_helper <rtx_call_insn *>::test): New.
19354         (is_a_helper <rtx_jump_table_data *>::test): New functions,
19355         overloaded for both rtx and rtx_insn *.
19356         (is_a_helper <rtx_barrier *>::test): New.
19357         (is_a_helper <rtx_code_label *>::test): New functions, overloaded
19358         for both rtx and rtx_insn *.
19359         (is_a_helper <rtx_note *>::test): New.
19361 2014-08-19  Marek Polacek  <polacek@redhat.com>
19363         * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
19364         CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
19365         * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
19366         CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
19368 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19370         * sel-sched-ir.h (BND_TO): insn_t will eventually be an
19371         rtx_insn *.  To help with transition, for now, convert from an
19372         access macro into a pair of functions: BND_TO, returning an
19373         rtx_insn *, and...
19374         (SET_BND_TO): New function, for use where BND_TO is used as an
19375         lvalue.
19377         * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
19378         SET_BND_TO.
19379         (BND_TO): New function, adding a checked cast.
19380         (SET_BND_TO): New function.
19382         * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
19383         SET_BND_TO.
19384         (compute_av_set_on_boundaries): Likewise.
19386 2014-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19388         * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
19389         destination if it is used in source.
19390         (*clz<mode>2_lzcnt_falsedep_1): Likewise.
19391         (*popcount<mode>2_falsedep_1): Likewise.
19393 2014-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19395         PR other/62168
19396         * configure.ac: Set install_gold_as_default to no first.
19397         * configure: Regenerated.
19399 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19401         * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
19402         "note_list" field will eventually be an rtx_insn *.  To help with
19403         transition, for now, convert from an access macro into a pair of
19404         functions: BB_NOTE_LIST, returning an rtx_insn *, and...
19405         (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
19406         used as an lvalue.
19408         * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
19409         of BB_NOTE_LIST to SET_BB_NOTE_LIST.
19411         * sel-sched-ir.c (init_bb): Likewise.
19412         (sel_restore_notes): Likewise.
19413         (move_bb_info): Likewise.
19414         (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
19415         (SET_BB_NOTE_LIST): New function.
19417 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19419         * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
19420         field will eventually be an rtx_insn *.  To help with transition,
19421         for now, convert from an access macro into a pair of functions:
19422         VINSN_INSN_RTX, returning an rtx_insn *, and...
19423         (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
19424         is used as an lvalue.
19426         * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
19427         SET_VINSN_INSN_RTX where it's used as an lvalue.
19428         (VINSN_INSN_RTX): New function.
19429         (SET_VINSN_INSN_RTX): New function.
19431 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19433         * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
19434         eventually be rtx_insn *, but to help with transition, for now,
19435         convert from an access macro into a pair of functions: DEP_PRO
19436         returning an rtx_insn * and...
19437         (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
19438         lvalue, returning an rtx&.
19439         (DEP_CON): Analogous changes to DEP_PRO above.
19440         (SET_DEP_CON): Likewise.
19442         * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
19443         an lvalue to SET_DEP_CON.
19444         * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
19445         (sd_copy_back_deps): Likewise for DEP_CON.
19446         (DEP_PRO): New function, adding a checked cast for now.
19447         (DEP_CON): Likewise.
19448         (SET_DEP_PRO): New function.
19449         (SET_DEP_CON): Likewise.
19451 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
19453         * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
19454         (extra_options): Add i386/cygwin.opt.
19455         * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
19456         (CPP_SPEC): Accept -pthread.
19457         (LINK_SPEC): Ditto.
19458         (GOMP_SELF_SPECS): Update comment.
19459         * config/i386/cygwin.opt: New file for -pthread flag.
19461 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19463         * df-core.c (DF_REF_INSN): New, using a checked cast for now.
19464         * df.h (DF_REF_INSN): Convert from a macro to a function, so
19465         that we can return an rtx_insn *.
19467 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
19469         * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
19470         when building executables, not DLLs.  Add --large-address-aware
19471         under the same conditions.
19472         * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
19473         when building executables, not DLLs.  Add --large-address-aware
19474         under the same conditions when using -m32.
19476         * config/i386/cygwin-stdint.h: Throughout, make type
19477         definitions dependent on target architecture, not host.
19479 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19481         * rtl.h (PREV_INSN): Convert to an inline function.  Strengthen
19482         the return type from rtx to rtx_insn *,  which will enable various
19483         conversions in followup patches.  For now this is is done by a
19484         checked cast.
19485         (NEXT_INSN): Likewise.
19486         (SET_PREV_INSN): Convert to an inline function.  This is intended
19487         for use as an lvalue, and so returns an rtx& to allow in-place
19488         modification.
19489         (SET_NEXT_INSN): Likewise.
19491 2014-07-08  Mark Wielaard  <mjw@redhat.com>
19493         PR debug/59051
19494         * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
19496 2014-08-19  Marek Polacek  <polacek@redhat.com>
19498         PR c/61271
19499         * cgraphunit.c (handle_alias_pairs): Fix condition.
19501 2014-08-19  Richard Biener  <rguenther@suse.de>
19503         * gimple-fold.c (fold_gimple_assign): Properly build a
19504         null-pointer constant when devirtualizing addresses.
19506 2014-07-07  Mark Wielaard  <mjw@redhat.com>
19508         * dwarf2out.c (decl_quals): New function.
19509         (modified_type_die): Take one cv_quals argument instead of two,
19510         one for const and one for volatile.
19511         (add_type_attribute): Likewise.
19512         (generic_parameter_die): Call add_type_attribute with one modifier
19513         argument.
19514         (base_type_for_mode): Likewise.
19515         (add_bounds_info): Likewise.
19516         (add_subscript_info): Likewise.
19517         (gen_array_type_die): Likewise.
19518         (gen_descr_array_type_die): Likewise.
19519         (gen_entry_point_die): Likewise.
19520         (gen_enumeration_type_die): Likewise.
19521         (gen_formal_parameter_die): Likewise.
19522         (gen_subprogram_die): Likewise.
19523         (gen_variable_die): Likewise.
19524         (gen_const_die): Likewise.
19525         (gen_field_die): Likewise.
19526         (gen_pointer_type_die): Likewise.
19527         (gen_reference_type_die): Likewise.
19528         (gen_ptr_to_mbr_type_die): Likewise.
19529         (gen_inheritance_die): Likewise.
19530         (gen_subroutine_type_die): Likewise.
19531         (gen_typedef_die): Likewise.
19532         (force_type_die): Likewise.
19534 2014-08-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
19536         * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
19537         if unset.
19538         * configure: Regenerate.
19540 2014-08-19  Richard Biener  <rguenther@suse.de>
19542         * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
19543         DECL_EXTERNALs in BLOCKs as non-references.
19544         * tree-streamer-out.c (streamer_write_chain): Likewise.
19546 2014-08-19  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19547             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19548             Anna Tikhonova  <anna.tikhonova@intel.com>
19549             Ilya Tocar  <ilya.tocar@intel.com>
19550             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19551             Ilya Verbin  <ilya.verbin@intel.com>
19552             Kirill Yukhin  <kirill.yukhin@intel.com>
19553             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19555         * config/i386/sse.md
19556         (define_mode_iterator VI48_AVX512F): Delete.
19557         (define_mode_iterator VI48_AVX512F_AVX512VL): New.
19558         (define_mode_iterator VI2_AVX512VL): Ditto.
19559         (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
19560         Delete.
19561         (define_insn
19562         ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
19563         New.
19564         (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
19565         (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
19566         (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
19567         with VI48_AVX512F_AVX512VL): New.
19568         (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
19569         with VI2_AVX512VL): Ditto.
19571 2014-08-19  Marek Polacek  <polacek@redhat.com>
19573         * doc/invoke.texi: Document -Wc99-c11-compat.
19575 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19577         * rtl.h (PREV_INSN): Split macro in two: the existing one,
19578         for rvalues, and...
19579         (SET_PREV_INSN): New macro, for use as an lvalue.
19580         (NEXT_INSN, SET_NEXT_INSN): Likewise.
19582         * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
19583         PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
19584         * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
19585         (fixup_abnormal_edges): Likewise.
19586         (unlink_insn_chain): Likewise.
19587         (fixup_reorder_chain): Likewise.
19588         (cfg_layout_delete_block): Likewise.
19589         (cfg_layout_merge_blocks): Likewise.
19590         * combine.c (update_cfg_for_uncondjump): Likewise.
19591         * emit-rtl.c (link_insn_into_chain): Likewise.
19592         (remove_insn): Likewise.
19593         (delete_insns_since): Likewise.
19594         (reorder_insns_nobb): Likewise.
19595         (emit_insn_after_1): Likewise.
19596         * final.c (rest_of_clean_state): Likewise.
19597         (final_scan_insn): Likewise.
19598         * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
19599         * haifa-sched.c (concat_note_lists): Likewise.
19600         (remove_notes): Likewise.
19601         (restore_other_notes): Likewise.
19602         (move_insn): Likewise.
19603         (unlink_bb_notes): Likewise.
19604         (restore_bb_notes): Likewise.
19605         * jump.c (delete_for_peephole): Likewise.
19606         * optabs.c (emit_libcall_block_1): Likewise.
19607         * reorg.c (emit_delay_sequence): Likewise.
19608         (fill_simple_delay_slots): Likewise.
19609         * sel-sched-ir.c (sel_move_insn): Likewise.
19610         (sel_remove_insn): Likewise.
19611         (get_bb_note_from_pool): Likewise.
19612         * sel-sched.c (move_nop_to_previous_block): Likewise.
19614         * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
19615         * config/c6x/c6x.c (gen_one_bundle): Likewise.
19616         (c6x_gen_bundles): Likewise.
19617         (hwloop_optimize): Likewise.
19618         * config/frv/frv.c (frv_function_prologue): Likewise.
19619         (frv_register_nop): Likewise.
19620         * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
19621         (ia64_reorg): Likewise.
19622         * config/mep/mep.c (mep_reorg_addcombine): Likewise.
19623         (mep_make_bundle): Likewise.
19624         (mep_bundle_insns): Likewise.
19625         * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
19626         * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
19627         * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
19629 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
19631         * basic-block.h (BB_HEAD): Convert to a function.  Strengthen the
19632         return type from rtx to rtx_insn *.
19633         (BB_END): Likewise.
19634         (BB_HEADER): Likewise.
19635         (BB_FOOTER): Likewise.
19636         (SET_BB_HEAD): Convert to a function.
19637         (SET_BB_END): Likewise.
19638         (SET_BB_HEADER): Likewise.
19639         (SET_BB_FOOTER): Likewise.
19641         * cfgrtl.c (BB_HEAD): New function, from macro of same name.
19642         Strengthen the return type from rtx to rtx_insn *.  For now, this
19643         is done by adding a checked cast, but this will eventually
19644         become a field lookup.
19645         (BB_END): Likewise.
19646         (BB_HEADER): Likewise.
19647         (BB_FOOTER): Likewise.
19648         (SET_BB_HEAD): New function, from macro of same name.  This is
19649         intended for use as an lvalue, and so returns an rtx& to allow
19650         in-place modification.
19651         (SET_BB_END): Likewise.
19652         (SET_BB_HEADER): Likewise.
19653         (SET_BB_FOOTER): Likewise.
19655 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
19657         * basic-block.h (BB_HEAD): Split macro in two: the existing one,
19658         for rvalues, and...
19659         (SET_BB_HEAD): New macro, for use as a lvalue.
19660         (BB_END, SET_BB_END): Likewise.
19661         (BB_HEADER, SET_BB_HEADER): Likewise.
19662         (BB_FOOTER, SET_BB_FOOTER): Likewise.
19664         * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
19665         of BB_* macros into SET_BB_* macros.
19666         (fix_crossing_unconditional_branches): Likewise.
19667         * caller-save.c (save_call_clobbered_regs): Likewise.
19668         (insert_one_insn): Likewise.
19669         * cfgbuild.c (find_bb_boundaries): Likewise.
19670         * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
19671         (outgoing_edges_match): Likewise.
19672         (try_optimize_cfg): Likewise.
19673         * cfgexpand.c (expand_gimple_cond): Likewise.
19674         (expand_gimple_tailcall): Likewise.
19675         (expand_gimple_basic_block): Likewise.
19676         (construct_exit_block): Likewise.
19677         * cfgrtl.c (delete_insn): Likewise.
19678         (create_basic_block_structure): Likewise.
19679         (rtl_delete_block): Likewise.
19680         (rtl_split_block): Likewise.
19681         (emit_nop_for_unique_locus_between): Likewise.
19682         (rtl_merge_blocks): Likewise.
19683         (block_label): Likewise.
19684         (try_redirect_by_replacing_jump): Likewise.
19685         (emit_barrier_after_bb): Likewise.
19686         (fixup_abnormal_edges): Likewise.
19687         (record_effective_endpoints): Likewise.
19688         (relink_block_chain): Likewise.
19689         (fixup_reorder_chain): Likewise.
19690         (fixup_fallthru_exit_predecessor): Likewise.
19691         (cfg_layout_duplicate_bb): Likewise.
19692         (cfg_layout_split_block): Likewise.
19693         (cfg_layout_delete_block): Likewise.
19694         (cfg_layout_merge_blocks): Likewise.
19695         * combine.c (update_cfg_for_uncondjump): Likewise.
19696         * emit-rtl.c (add_insn_after): Likewise.
19697         (remove_insn): Likewise.
19698         (reorder_insns): Likewise.
19699         (emit_insn_after_1): Likewise.
19700         * haifa-sched.c (get_ebb_head_tail): Likewise.
19701         (restore_other_notes): Likewise.
19702         (move_insn): Likewise.
19703         (sched_extend_bb): Likewise.
19704         (fix_jump_move): Likewise.
19705         * ifcvt.c (noce_process_if_block): Likewise.
19706         (dead_or_predicable): Likewise.
19707         * ira.c (update_equiv_regs): Likewise.
19708         * reg-stack.c (change_stack): Likewise.
19709         * sel-sched-ir.c (sel_move_insn): Likewise.
19710         * sel-sched.c (move_nop_to_previous_block): Likewise.
19712         * config/c6x/c6x.c (hwloop_optimize): Likewise.
19713         * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
19715 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
19717         * rtl.h (for_each_rtx_in_insn): New function.
19718         * rtlanal.c (for_each_rtx_in_insn): Likewise.
19720 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
19722         * coretypes.h (class rtx_insn): Add forward declaration.
19724         * rtl.h: Include is-a.h.
19725         (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
19726         workaround to ensure gengtype knows inheritance is occurring,
19727         whilst continuing to use the pre-existing special-casing for
19728         rtx_def.
19729         (class rtx_insn): New subclass of rtx_def, adding the
19730         invariant that we're dealing with something we can sanely use
19731         INSN_UID, NEXT_INSN, PREV_INSN on.
19732         (is_a_helper <rtx_insn *>::test): New.
19733         (is_a_helper <const rtx_insn *>::test): New.
19735 2014-08-18  David Malcolm  <dmalcolm@redhat.com>
19737         * is-a.h (template<T, U> safe_as_a <U *p>) New function.
19739 2014-08-18  Jan Hubicka  <hubicka@ucw.cz>
19741         * ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
19742         comdats as extern.
19744 2014-08-18  Jan Hubicka  <hubicka@ucw.cz>
19746         * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
19747         to BUILT_IN_UNREACHABLE.
19749 2014-08-18  Uros Bizjak  <ubizjak@gmail.com>
19751         PR target/62011
19752         * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
19753         New tune flag.
19754         * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
19755         * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
19756         (ffs<mode>2): Do not expand with tzcnt for
19757         TARGET_AVOID_FALSE_DEP_FOR_BMI.
19758         (ffssi2_no_cmove): Ditto.
19759         (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
19760         (ctz<mode>2): New expander.
19761         (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
19762         (*ctz<mode>2_falsedep): New insn.
19763         (*ctz<mode>2): Rename from ctz<mode>2.
19764         (clz<mode>2_lzcnt): New expander.
19765         (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
19766         (*clz<mode>2_lzcnt_falsedep): New insn.
19767         (*clz<mode>2): Rename from ctz<mode>2.
19768         (popcount<mode>2): New expander.
19769         (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
19770         (*popcount<mode>2_falsedep): New insn.
19771         (*popcount<mode>2): Rename from ctz<mode>2.
19772         (*popcount<mode>2_cmp): Remove.
19773         (*popcountsi2_cmp_zext): Ditto.
19775 2014-08-18  Ajit Agarwal  <ajitkum@xilinx.com>
19777         * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
19778         (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
19779         * config/microblaze/microblaze.h
19780         (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
19782 2014-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19784         PR other/62168
19785         * configure.ac: Set install_gold_as_default to no for
19786         --enable-gold=no.
19787         * configure: Regenerated.
19789 2014-08-18 Roman Gareev  <gareevroman@gmail.com>
19791         * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
19792         * config.in: Add undef of HAVE_isl.
19793         * configure: Regenerate.
19794         * configure.ac: Add definition of HAVE_isl.
19795         * graphite-blocking.c: Add checking of HAVE_isl.
19796         * graphite-dependences.c: Likewise.
19797         * graphite-interchange.c: Likewise.
19798         * graphite-isl-ast-to-gimple.c: Likewise.
19799         * graphite-optimize-isl.c: Likewise.
19800         * graphite-poly.c: Likewise.
19801         * graphite-scop-detection.c: Likewise.
19802         * graphite-sese-to-poly.c: Likewise.
19803         * graphite.c: Likewise.
19804         * toplev.c: Replace the checking of HAVE_cloog with the checking
19805         of HAVE_isl.
19807 2014-08-18  Richard Biener  <rguenther@suse.de>
19809         PR tree-optimization/62090
19810         * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
19811         (fold_builtin_3): Do not fold snprintf.
19812         (fold_builtin_4): Likewise.
19813         * gimple-fold.c (gimple_fold_builtin_snprintf): New function
19814         moved from builtins.c.
19815         (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
19816         (gimple_fold_builtin): Do not fold sprintf here.
19818 2014-08-18  Richard Biener  <rguenther@suse.de>
19820         * gimple-fold.c (maybe_fold_reference): Move re-gimplification
19821         code to ...
19822         (maybe_canonicalize_mem_ref_addr): ... this function.
19823         (fold_stmt_1): Apply it here before all simplification.
19825 2014-08-18  Ilya Enkovich  <ilya.enkovich@intel.com>
19827         PR ipa/61800
19828         * cgraph.h (cgraph_node::create_indirect_edge): Add
19829         compute_indirect_info param.
19830         * cgraph.c (cgraph_node::create_indirect_edge): Compute
19831         indirect_info only when it is required.
19832         * cgraphclones.c (cgraph_clone_edge): Do not recompute
19833         indirect_info fore cloned indirect edge.
19835 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19836             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19837             Anna Tikhonova  <anna.tikhonova@intel.com>
19838             Ilya Tocar  <ilya.tocar@intel.com>
19839             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19840             Ilya Verbin  <ilya.verbin@intel.com>
19841             Kirill Yukhin  <kirill.yukhin@intel.com>
19842             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19844         * config/i386/sse.md
19845         (define_mode_iterator VI8_AVX2_AVX512BW): New.
19846         (define_insn "<sse2_avx2>_psadbw"): Add evex version.
19848 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19849             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19850             Anna Tikhonova  <anna.tikhonova@intel.com>
19851             Ilya Tocar  <ilya.tocar@intel.com>
19852             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19853             Ilya Verbin  <ilya.verbin@intel.com>
19854             Kirill Yukhin  <kirill.yukhin@intel.com>
19855             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19857         * config/i386/sse.md
19858         (define_mode_iterator VF1_AVX512VL): New.
19859         (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
19860         (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
19861         New.
19863 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19864             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19865             Anna Tikhonova  <anna.tikhonova@intel.com>
19866             Ilya Tocar  <ilya.tocar@intel.com>
19867             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19868             Ilya Verbin  <ilya.verbin@intel.com>
19869             Kirill Yukhin  <kirill.yukhin@intel.com>
19870             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19872         * config/i386/i386.c: Rename ufloatv8siv8df_mask to ufloatv8siv8df2_mask.
19873         * config/i386/i386.md
19874         (define_code_iterator any_float): New.
19875         (define_code_attr floatsuffix): New.
19876         * config/i386/sse.md
19877         (define_mode_iterator VF1_128_256VL): New.
19878         (define_mode_iterator VF2_512_256VL): New.
19879         (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove unnecessary
19880         TARGET check.
19881         (define_insn "ufloatv8siv8df<mask_name>"): Delete.
19882         (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
19883         New.
19884         (define_mode_attr qq2pssuff): New.
19885         (define_mode_attr sselongvecmode): New.
19886         (define_mode_attr sselongvecmodelower): New.
19887         (define_mode_attr sseintvecmode3): New.
19888         (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
19889         New.
19890         (define_insn "*<floatsuffix>floatv2div2sf2"): New.
19891         (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
19892         (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
19893         (define_insn "ufloatv2siv2df2<mask_name>"): New.
19895 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19896             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19897             Anna Tikhonova  <anna.tikhonova@intel.com>
19898             Ilya Tocar  <ilya.tocar@intel.com>
19899             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19900             Ilya Verbin  <ilya.verbin@intel.com>
19901             Kirill Yukhin  <kirill.yukhin@intel.com>
19902             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19904         * config/i386/sse.md
19905         (define_mode_iterator VF2_AVX512VL): New.
19906         (define_mode_attr sseintvecmode2): New.
19907         (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
19908         (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
19909         (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
19910         (define_insn
19911         "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
19912         Ditto.
19913         (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
19914         Ditto.
19915         (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
19916         Ditto.
19918 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19919             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19920             Anna Tikhonova  <anna.tikhonova@intel.com>
19921             Ilya Tocar  <ilya.tocar@intel.com>
19922             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19923             Ilya Verbin  <ilya.verbin@intel.com>
19924             Kirill Yukhin  <kirill.yukhin@intel.com>
19925             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19927         * config/i386/i386.md
19928         (define_insn "*movoi_internal_avx"): Add evex version.
19929         (define_insn "*movti_internal"): Ditto.
19931 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19932             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19933             Anna Tikhonova  <anna.tikhonova@intel.com>
19934             Ilya Tocar  <ilya.tocar@intel.com>
19935             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19936             Ilya Verbin  <ilya.verbin@intel.com>
19937             Kirill Yukhin  <kirill.yukhin@intel.com>
19938             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19940         * config/i386/i386.md
19941         (define_attr "isa"): Add avx512dq, noavx512dq.
19942         (define_attr "enabled"): Ditto.
19943         * config/i386/sse.md
19944         (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
19946 2014-08-18  Alexander Ivchenko  <alexander.ivchenko@intel.com>
19947             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
19948             Anna Tikhonova  <anna.tikhonova@intel.com>
19949             Ilya Tocar  <ilya.tocar@intel.com>
19950             Andrey Turetskiy  <andrey.turetskiy@intel.com>
19951             Ilya Verbin  <ilya.verbin@intel.com>
19952             Kirill Yukhin  <kirill.yukhin@intel.com>
19953             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
19955         * config/i386/i386.c
19956         (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
19957         avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
19958         avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
19959         avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
19960         avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
19961         avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
19962         avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
19963         avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
19964         * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
19965         * config/i386/sse.md
19966         (define_mode_iterator VMOVE): Allow V4TI mode.
19967         (define_mode_iterator V_AVX512VL): New.
19968         (define_mode_iterator V): New handling for AVX512VL.
19969         (define_insn "avx512f_load<mode>_mask"): Delete.
19970         (define_insn "<avx512>_load<mode>_mask"): New.
19971         (define_insn "avx512f_store<mode>_mask"): Delete.
19972         (define_insn "<avx512>_store<mode>_mask"): New.
19975 2014-08-18  Yury Gribov  <y.gribov@samsung.com>
19977         PR sanitizer/62089
19978         * asan.c (instrument_derefs): Fix bitfield check.
19980 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
19982         * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
19983         * config/rs6000/htm.md (ttest): Remove clobber.
19984         * config/rs6000/predicates.md (any_mask_operand): New predicate.
19985         (and_operand): Reformat.
19986         (and_2rld_operand): New predicate.
19987         * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
19988         parameter.
19989         * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
19990         parameter.  Handle AND directly.
19991         (rs6000_split_logical_di): Remove last parameter.
19992         (rs6000_split_logical): Remove last parameter.  Remove obsolete
19993         comment.
19994         * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
19995         (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
19996         (ctz<mode>2, ffs<mode>2): Delete clobber.  Reformat.
19997         (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
19998         *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
19999         and 5 anonymous splitters):  Delete.
20000         (and<mode>3): New expander.
20001         (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
20002         (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
20003         (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
20004         (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
20005         (floatdisf2_internal1): Remove clobbers.
20006         (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
20007         *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
20008         (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
20009         (and<mode>3 for BOOL_128): Remove clobber.
20010         (*and<mode>3_internal for BOOL_128): Remove clobber.  Adjust call of
20011         rs6000_split_logical.
20012         (*bool<mode>3_internal for BOOL_128): Adjust call of
20013         rs6000_split_logical.
20014         (*boolc<mode>3_internal1 for BOOL_128,
20015         *boolc<mode>3_internal2 for BOOL_128,
20016         *boolcc<mode>3_internal1 for BOOL_128,
20017         *boolcc<mode>3_internal2 for BOOL_128,
20018         *eqv<mode>3_internal1 for BOOL_128,
20019         *eqv<mode>3_internal2 for BOOL_128,
20020         *one_cmpl<mode>3_internal for BOOL_128): Ditto.
20021         * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
20022         clobber.
20023         (*vec_reload_and_reg_<mptrsize>): Delete.
20025 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
20027         * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
20028         and split, *boolccsi3_internal3 and split): Delete.
20029         (*boolccdi3_internal1, *boolccdi3_internal2 and split,
20030         *boolccdi3_internal3 and split): Delete.
20031         (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
20032         (*eqv<mode>3): Move.  Add TODO comment.  Fix attributes.
20034 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
20036         * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
20037         and split, *boolcsi3_internal3 and split): Delete.
20038         (*boolcdi3_internal1, *boolcdi3_internal2 and split,
20039         *boolcdi3_internal3 and split): Delete.
20040         (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
20042 2014-08-17  Segher Boessenkool  <segher@kernel.crashing.org>
20044         * config/rs6000/rs6000.c (print_operand) <'e'>: New.
20045         <'u'>: Also support printing the low-order 16 bits.
20046         * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
20047         *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
20048         (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
20049         *booldi3_internal3 and split): Delete.
20050         (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
20051         *bool<mode>3_dot2): New.
20052         (two anonymous define_splits for non_logical_cint_operand): Merge.
20054 2014-08-17  Marek Polacek  <polacek@redhat.com>
20055             Manuel López-Ibáñez  <manu@gcc.gnu.org>
20057         PR c/62059
20058         * diagnostic.c (adjust_line): Add gcc_checking_assert.
20059         (diagnostic_show_locus): Don't print caret diagnostic
20060         if a column is larger than the line_width.
20062 2014-08-17 Roman Gareev  <gareevroman@gmail.com>
20064         * common.opt: Make the ISL AST generator to be the main code generator
20065         of Graphite.
20067 2014-08-16  Gerald Pfeifer  <gerald@pfeifer.com>
20069         * wide-int.h (generic_wide_int): Declare as class instead of struct.
20071 2014-08-16  John David Anglin  <danglin@gcc.gnu.org>
20073         PR target/61641
20074         * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
20075         Declare.
20076         * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
20077         (pa_output_addr_vec, pa_output_addr_diff_vec): New.
20078         * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
20079         Define.
20080         * config/pa/pa.md (begin_brtab): Delete insn.
20081         (end_brtab): Likewise.
20083 2014-08-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
20085         * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
20087 2014-08-15  Jan Hubicka  <hubicka@ucw.cz>
20089         * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
20090         (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
20091         possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
20092         (get_dynamic_type): Remove.
20093         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
20094         (clear_speculation): Bring to ipa-deivrt.h
20095         (get_class_context): Rename to ...
20096         (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
20097         (contains_type_p): Update.
20098         (get_dynamic_type): Rename to ...
20099         ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
20100         (possible_polymorphic_call_targets): UPdate.
20101         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
20102         * ipa-prop.c (ipa_analyze_call_uses): Update.
20104 2014-08-15  Oleg Endo  <olegendo@gcc.gnu.org>
20106         * doc/invoke.texi (SH options): Document missing processor variant
20107         options.  Remove references to Hitachi.  Undocument deprecated mspace
20108         option.
20110 2014-08-15  Jason Merrill  <jason@redhat.com>
20112         * tree.c (type_hash_canon): Uncomment assert.
20114 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
20116         * input.h (in_system_header_at): Add comment.
20118 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
20120         PR fortran/44054
20121         * diagnostic.c (build_message_string): Make it extern.
20122         * diagnostic.h (build_message_string): Make it extern.
20124 2014-08-15  Vladimir Makarov  <vmakarov@redhat.com>
20126         * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
20127         load/store from/to non-floating class pseudo.
20129 2014-08-15  Manuel López-Ibáñez  <manu@gcc.gnu.org>
20131         * input.c (diagnostic_file_cache_fini): Fix typo in comment.
20133 2014-08-15  Richard Biener  <rguenther@suse.de>
20135         * tree-ssa-structalias.c (readonly_id): Rename to string_id.
20136         (get_constraint_for_ssa_var): Remove dead code.
20137         (get_constraint_for_1): Adjust.
20138         (find_what_var_points_to): Likewise.
20139         (init_base_vars): Likewise.  STRING_CSTs do not contain pointers.
20141 2014-08-15  Ilya Tocar  <tocarip@gmail.com>
20143         PR target/61878
20144         * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
20145         (_mm512_mask_cmpge_epu32_mask): Ditto.
20146         (_mm512_cmpge_epu32_mask): Ditto.
20147         (_mm512_mask_cmpge_epi64_mask): Ditto.
20148         (_mm512_cmpge_epi64_mask): Ditto.
20149         (_mm512_mask_cmpge_epu64_mask): Ditto.
20150         (_mm512_cmpge_epu64_mask): Ditto.
20151         (_mm512_mask_cmple_epi32_mask): Ditto.
20152         (_mm512_cmple_epi32_mask): Ditto.
20153         (_mm512_mask_cmple_epu32_mask): Ditto.
20154         (_mm512_cmple_epu32_mask): Ditto.
20155         (_mm512_mask_cmple_epi64_mask): Ditto.
20156         (_mm512_cmple_epi64_mask): Ditto.
20157         (_mm512_mask_cmple_epu64_mask): Ditto.
20158         (_mm512_cmple_epu64_mask): Ditto.
20159         (_mm512_mask_cmplt_epi32_mask): Ditto.
20160         (_mm512_cmplt_epi32_mask): Ditto.
20161         (_mm512_mask_cmplt_epu32_mask): Ditto.
20162         (_mm512_cmplt_epu32_mask): Ditto.
20163         (_mm512_mask_cmplt_epi64_mask): Ditto.
20164         (_mm512_cmplt_epi64_mask): Ditto.
20165         (_mm512_mask_cmplt_epu64_mask): Ditto.
20166         (_mm512_cmplt_epu64_mask): Ditto.
20167         (_mm512_mask_cmpneq_epi32_mask): Ditto.
20168         (_mm512_mask_cmpneq_epu32_mask): Ditto.
20169         (_mm512_cmpneq_epu32_mask): Ditto.
20170         (_mm512_mask_cmpneq_epi64_mask): Ditto.
20171         (_mm512_cmpneq_epi64_mask): Ditto.
20172         (_mm512_mask_cmpneq_epu64_mask): Ditto.
20173         (_mm512_cmpneq_epu64_mask): Ditto.
20174         (_mm512_castpd_ps): Ditto.
20175         (_mm512_castpd_si512): Ditto.
20176         (_mm512_castps_pd): Ditto.
20177         (_mm512_castps_si512): Ditto.
20178         (_mm512_castsi512_ps): Ditto.
20179         (_mm512_castsi512_pd): Ditto.
20180         (_mm512_castpd512_pd128): Ditto.
20181         (_mm512_castps512_ps128): Ditto.
20182         (_mm512_castsi512_si128): Ditto.
20183         (_mm512_castpd512_pd256): Ditto.
20184         (_mm512_castps512_ps256): Ditto.
20185         (_mm512_castsi512_si256): Ditto.
20186         (_mm512_castpd128_pd512): Ditto.
20187         (_mm512_castps128_ps512): Ditto.
20188         (_mm512_castsi128_si512): Ditto.
20189         (_mm512_castpd256_pd512): Ditto.
20190         (_mm512_castps256_ps512): Ditto.
20191         (_mm512_castsi256_si512): Ditto.
20192         (_mm512_cmpeq_epu32_mask): Ditto.
20193         (_mm512_mask_cmpeq_epu32_mask): Ditto.
20194         (_mm512_mask_cmpeq_epu64_mask): Ditto.
20195         (_mm512_cmpeq_epu64_mask): Ditto.
20196         (_mm512_cmpgt_epu32_mask): Ditto.
20197         (_mm512_mask_cmpgt_epu32_mask): Ditto.
20198         (_mm512_mask_cmpgt_epu64_mask): Ditto.
20199         (_mm512_cmpgt_epu64_mask): Ditto.
20200         * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
20201         V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
20202         * config/i386/i386.c (enum ix86_builtins): Add
20203         IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
20204         IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
20205         IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
20206         (bdesc_args): Add __builtin_ia32_si512_256si,
20207         __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
20208         __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
20209         __builtin_ia32_pd512_pd.
20210         (ix86_expand_args_builtin): Handle new FTYPEs.
20211         * config/i386/sse.md (castmode): Add 512-bit modes.
20212         (AVX512MODE2P): New.
20213         (avx512f_<castmode><avxsizesuffix>_<castmode): New.
20214         (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
20216 2014-08-15  Richard Biener  <rguenther@suse.de>
20218         * fold-const.c (tree_swap_operands_p): Put all constants
20219         last, also strip sign-changing NOPs when considering further
20220         canonicalization.  Canonicalize also when optimizing for size.
20222 2014-08-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
20224         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
20225         one_match > zero_match case to just before simple_sequence.
20227 2014-08-15  Richard Biener  <rguenther@suse.de>
20229         * data-streamer.h (streamer_string_index, string_for_index):
20230         Remove.
20231         * data-streamer-out.c (streamer_string_index): Make static.
20232         * data-streamer-in.c (string_for_index): Likewise.
20233         * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
20234         * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
20236 2014-08-15  Richard Biener  <rguenther@suse.de>
20238         PR tree-optimization/62031
20239         * tree-data-ref.c (dr_analyze_indices): Do not set
20240         DR_UNCONSTRAINED_BASE.
20241         (dr_may_alias_p): All indirect accesses have to go the
20242         formerly DR_UNCONSTRAINED_BASE path.
20243         * tree-data-ref.h (struct indices): Remove
20244         unconstrained_base member.
20245         (DR_UNCONSTRAINED_BASE): Remove.
20247 2014-08-15  Jakub Jelinek  <jakub@redhat.com>
20249         PR middle-end/62092
20250         * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
20251         OMP_CLAUSE_SHARED for global vars if the global var is mentioned
20252         in OMP_CLAUSE_MAP in some outer target region.
20254 2014-08-15  Bin Cheng  <bin.cheng@arm.com>
20256         * tree-ssa-loop-ivopts.c (ivopts_data): New field
20257         name_expansion_cache.
20258         (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
20259         (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
20260         (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
20261         (difference_cannot_overflow_p): New parameter.  Use affine
20262         expansion for equality check.
20263         (iv_elimination_compare_lt): Pass new argument.
20265 2014-08-14  DJ Delorie  <dj@redhat.com>
20267         * config/rl78/rl78-real.md (addqi3_real): Allow adding global
20268         variables to the accumulator.
20270         * config/rl78/predicates.md (rl78_near_mem_operand): New.
20271         * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
20272         (movhi_virt_mm): Split out near mem-mem moves to avoid problems
20273         with far-far moves.
20275         * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
20276         * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
20277         (umulqihi3_virt): Likewise.
20278         * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
20279         (umulqihi3_real): Likewise.
20281         * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
20283 2014-08-14  Jan Hubicka  <hubicka@ucw.cz>
20285         PR tree-optimization/62091
20286         * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
20287         function_entry_reached.
20288         (walk_aliased_vdefs): Clear it here.
20289         * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
20291 2014-08-14  Jan Hubicka  <hubicka@ucw.cz>
20293         * ipa-utils.h (compare_virtual_tables): Declare.
20294         * ipa-devirt.c (odr_subtypes_equivalent_p): New function
20296 2014-08-14  Marek Polacek  <polacek@redhat.com>
20298         DR 458
20299         * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
20300         (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
20302 2014-08-14  Tom de Vries  <tom@codesourcery.com>
20304         * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
20306 2014-08-14  Tom de Vries  <tom@codesourcery.com>
20308         PR rtl-optimization/62004
20309         PR rtl-optimization/62030
20310         * ifcvt.c (rtx_interchangeable_p): New function.
20311         (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
20312         * emit-rtl.h (mem_attrs_eq_p): Declare.
20314 2014-08-14  Roman Gareev  <gareevroman@gmail.com>
20316         * graphite-scop-detection.c:
20317         Add inclusion of cp-tree.h.
20318         (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
20319         in case they are pointers to object types
20321 2014-08-14  Richard Biener  <rguenther@suse.de>
20323         * BASE-VER: Change to 5.0.0
20325 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20326             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20327             Anna Tikhonova  <anna.tikhonova@intel.com>
20328             Ilya Tocar  <ilya.tocar@intel.com>
20329             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20330             Ilya Verbin  <ilya.verbin@intel.com>
20331             Kirill Yukhin  <kirill.yukhin@intel.com>
20332             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20334         * config/i386/sse.md (define_mode_attr avx512): New.
20335         (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
20336         V4DI modes.
20337         (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
20338         (define_mode_attr ssse3_avx2): Ditto.
20339         (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
20340         (define_mode_attr avx2_avx512bw): New.
20341         (define_mode_attr ssedoublemodelower): New.
20342         (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
20343         V32HI, V64QI modes.
20344         (define_mode_attr ssebytemode): Allow V8DI modes.
20345         (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
20346         (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
20347         (define_mode_attr ssePSmode2): New.
20348         (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
20349         V16HI, V32HI modes.
20350         (define_mode_attr dbpsadbwmode): New.
20351         (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
20352         V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
20353         (vi8_sse4_1_avx2_avx512): New.
20354         (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
20355         mode attribute.
20356         (define_mode_attr blendbits): Move before its immediate use.
20358 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20359             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20360             Anna Tikhonova  <anna.tikhonova@intel.com>
20361             Ilya Tocar  <ilya.tocar@intel.com>
20362             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20363             Ilya Verbin  <ilya.verbin@intel.com>
20364             Kirill Yukhin  <kirill.yukhin@intel.com>
20365             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20367         * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
20368         * config/i386/subst.md
20369         (define_mode_iterator SUBST_V): Update.
20370         (define_mode_iterator SUBST_A): Ditto.
20371         (define_subst_attr "mask_operand7"): New.
20372         (define_subst_attr "mask_operand10"): New.
20373         (define_subst_attr "mask_operand_arg34") : New.
20374         (define_subst_attr "mask_expand_op3"): New.
20375         (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
20376         (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
20377         (define_subst_attr "mask_avx512vl_condition"): New.
20378         (define_subst_attr "round_mask_operand4"): Ditto.
20379         (define_subst_attr "round_mask_scalar_op3"): Delete.
20380         (define_subst_attr "round_mask_op4"): New.
20381         (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
20382         V16SImode.
20383         (define_subst_attr "round_modev8sf_condition"): New.
20384         (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
20385         <MODE>mode.
20386         (define_subst_attr "round_saeonly_mask_operand4"): New.
20387         (define_subst_attr "round_saeonly_mask_op4"): New.
20388         (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
20389         V8DImode, V16SImode.
20390         (define_subst_attr "round_saeonly_modev8sf_condition"): New.
20391         (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
20392         (define_subst_attr "mask_expand4_args"): New.
20393         (define_subst "mask_expand4"): New.
20395 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20396             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20397             Anna Tikhonova  <anna.tikhonova@intel.com>
20398             Ilya Tocar  <ilya.tocar@intel.com>
20399             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20400             Ilya Verbin  <ilya.verbin@intel.com>
20401             Kirill Yukhin  <kirill.yukhin@intel.com>
20402             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20404         * config/i386/i386.md
20405         (define_attr "isa"): Add avx512bw,noavx512bw.
20406         (define_attr "enabled"): Ditto.
20407         (define_split): Add 32/64-bit mask logic.
20408         (define_insn "*k<logic>qi"): New.
20409         (define_insn "*k<logic>hi"): New.
20410         (define_insn "*anddi_1"): Add mask version.
20411         (define_insn "*andsi_1"): Ditto.
20412         (define_insn "*<code><mode>_1"): Ditto.
20413         (define_insn "*<code>hi_1"): Ditto.
20414         (define_insn "kxnor<mode>"): New.
20415         (define_insn "kunpcksi"): New.
20416         (define_insn "kunpckdi"): New.
20417         (define_insn "*one_cmpl<mode>2_1"): Add mask version.
20418         (define_insn "*one_cmplhi2_1"): Ditto.
20420 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20421             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20422             Anna Tikhonova  <anna.tikhonova@intel.com>
20423             Ilya Tocar  <ilya.tocar@intel.com>
20424             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20425             Ilya Verbin  <ilya.verbin@intel.com>
20426             Kirill Yukhin  <kirill.yukhin@intel.com>
20427             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20429         * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
20430         V32HImode.
20432 2014-08-14  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20433             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20434             Anna Tikhonova  <anna.tikhonova@intel.com>
20435             Ilya Tocar  <ilya.tocar@intel.com>
20436             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20437             Ilya Verbin  <ilya.verbin@intel.com>
20438             Kirill Yukhin  <kirill.yukhin@intel.com>
20439             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20441         * config/i386/i386.c (print_reg): Сorrectly print 64-bit mask
20442         registers.
20443         (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
20444         (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
20445         xmm/ymm16+ when availble.
20446         * config/i386/i386.h
20447         (HARD_REGNO_NREGS): Add mask regs.
20448         (VALID_AVX512F_REG_MODE): Ditto.
20449         (VALID_AVX512F_REG_MODE) : Define.
20450         (VALID_MASK_AVX512BW_MODE): Ditto.
20451         (reg_class) (MASK_REG_P(X)): Define.
20452         * config/i386/i386.md: Do not split long moves with mask register,
20453         use kmovb if avx512bw is availible.
20454         (movdi_internal): Handle mask registers.
20456 2014-08-14  Richard Biener  <rguenther@suse.de>
20458         PR tree-optimization/62081
20459         * tree-ssa-loop.c (pass_fix_loops): New pass.
20460         (pass_tree_loop::gate):  Do not fixup loops here.
20461         * tree-pass.h (make_pass_fix_loops): Declare.
20462         * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
20464 2014-08-14  Richard Biener  <rguenther@suse.de>
20466         * tree.c (type_hash_lookup, type_hash_add): Merge into ...
20467         (type_hash_canon): ... this and avoid 2nd lookup for the add.
20469 2014-08-14  Richard Biener  <rguenther@suse.de>
20471         PR tree-optimization/62090
20472         * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
20473         (fold_builtin_2): Do not fold sprintf.
20474         (fold_builtin_3): Likewise.
20475         * gimple-fold.c (gimple_fold_builtin_sprintf): New function
20476         moved from builtins.c.
20477         (gimple_fold_builtin): Fold sprintf.
20479 2014-08-14  Richard Biener  <rguenther@suse.de>
20481         PR rtl-optimization/62079
20482         * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
20483         run cleanup_cfg.
20485 2014-08-14  Ilya Enkovich  <ilya.enkovich@intel.com>
20487         * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
20488         current_function_decl.
20490 2014-08-14  Ilya Enkovich  <ilya.enkovich@intel.com>
20492         * cgraph.c (cgraph_node::function_symbol): Fix wrong
20493         cgraph_function_node to cgraph_node::function_symbol
20494         refactoring.
20496 2014-08-14  Zhenqiang Chen  <zhenqiang.chen@arm.com>
20498         * config/arm/arm.c (arm_option_override): Set max_insns_skipped
20499         to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
20501 2014-08-13  Chen Gang  gang.chen.5i5j@gmail.com
20503         * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
20504         warning.
20506 2014-08-13  Roman Gareev  <gareevroman@gmail.com>
20508         * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
20509         generator.
20511 2014-08-12  Jakub Jelinek  <jakub@redhat.com>
20513         PR target/62025
20514         * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
20515         any registers that are used in mem_insn.
20517 2014-08-12  Steve Ellcey  <sellcey@mips.com>
20519         * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
20521 2014-08-12  Steve Ellcey  <sellcey@mips.com>
20523         * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
20524         (MULTILIB_DIRNAMES): Ditto.
20525         * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
20526         * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
20527         * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
20528         * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
20529         * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
20530         * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
20532 2014-08-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
20534         PR target/61413
20535         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
20536         of __ARM_SIZEOF_WCHAR_T.
20538 2014-08-12  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
20540         PR target/62098
20541         * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
20542         Remove unnecessary attributes.
20544 2014-08-12  Yury Gribov  <y.gribov@samsung.com>
20546         * internal-fn.c (init_internal_fns): Fix off-by-one.
20548 2014-08-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20549             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20550             Anna Tikhonova  <anna.tikhonova@intel.com>
20551             Ilya Tocar  <ilya.tocar@intel.com>
20552             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20553             Ilya Verbin  <ilya.verbin@intel.com>
20554             Kirill Yukhin  <kirill.yukhin@intel.com>
20555             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20557         * config/i386/i386.c (standard_sse_constant_opcode): Use
20558         vpxord/vpternlog if avx512 is availible.
20560 2014-08-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
20562         PR middle-end/62103
20563         * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
20564         bitfields, that is when size doesn't match the size of type or the
20565         size of the constructor.
20567 2014-08-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
20569         * config/rs6000/constraints.md (wh constraint): New constraint,
20570         for FP registers if direct move is available.
20571         (wi constraint): New constraint, for VSX/FP registers that can
20572         handle 64-bit integers.
20573         (wj constraint): New constraint for VSX/FP registers that can
20574         handle 64-bit integers for direct moves.
20575         (wk constraint): New constraint for VSX/FP registers that can
20576         handle 64-bit doubles for direct moves.
20577         (wy constraint): Make documentation match implementation.
20579         * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
20580         scalar_in_vmx_p field to simplify tests of whether SFmode or
20581         DFmode can go in the Altivec registers.
20582         (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
20583         (rs6000_setup_reg_addr_masks): Likewise.
20584         (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
20585         field, and wh/wi/wj/wk constraints.
20586         (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
20587         the wh/wi/wj/wk constraints.
20588         (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
20589         upper registers, prefer VSX registers unless the operation is a
20590         memory operation with REG+OFFSET addressing.
20592         * config/rs6000/vsx.md (VSr mode attribute): Add support for
20593         DImode.  Change SFmode to use ww constraint instead of d to allow
20594         SF registers in the upper registers.
20595         (VSr2): Likewise.
20596         (VSr3): Likewise.
20597         (VSr5): Fix thinko in comment.
20598         (VSa): New mode attribute that is an alternative to wa, that
20599         returns the VSX register class that a mode can go in, but may not
20600         be the preferred register class.
20601         (VS_64dm): New mode attribute for appropriate register classes for
20602         referencing 64-bit elements of vectors for direct moves and normal
20603         moves.
20604         (VS_64reg): Likewise.
20605         (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
20606         register allocator to only registers the data type can handle.
20607         (vsx_le_perm_load_<mode>): Likewise.
20608         (vsx_le_perm_store_<mode>): Likewise.
20609         (vsx_xxpermdi2_le_<mode>): Likewise.
20610         (vsx_xxpermdi4_le_<mode>): Likewise.
20611         (vsx_lxvd2x2_le_<mode>): Likewise.
20612         (vsx_lxvd2x4_le_<mode>): Likewise.
20613         (vsx_stxvd2x2_le_<mode>): Likewise.
20614         (vsx_add<mode>3): Likewise.
20615         (vsx_sub<mode>3): Likewise.
20616         (vsx_mul<mode>3): Likewise.
20617         (vsx_div<mode>3): Likewise.
20618         (vsx_tdiv<mode>3_internal): Likewise.
20619         (vsx_fre<mode>2): Likewise.
20620         (vsx_neg<mode>2): Likewise.
20621         (vsx_abs<mode>2): Likewise.
20622         (vsx_nabs<mode>2): Likewise.
20623         (vsx_smax<mode>3): Likewise.
20624         (vsx_smin<mode>3): Likewise.
20625         (vsx_sqrt<mode>2): Likewise.
20626         (vsx_rsqrte<mode>2): Likewise.
20627         (vsx_tsqrt<mode>2_internal): Likewise.
20628         (vsx_fms<mode>4): Likewise.
20629         (vsx_nfma<mode>4): Likewise.
20630         (vsx_eq<mode>): Likewise.
20631         (vsx_gt<mode>): Likewise.
20632         (vsx_ge<mode>): Likewise.
20633         (vsx_eq<mode>_p): Likewise.
20634         (vsx_gt<mode>_p): Likewise.
20635         (vsx_ge<mode>_p): Likewise.
20636         (vsx_xxsel<mode>): Likewise.
20637         (vsx_xxsel<mode>_uns): Likewise.
20638         (vsx_copysign<mode>3): Likewise.
20639         (vsx_float<VSi><mode>2): Likewise.
20640         (vsx_floatuns<VSi><mode>2): Likewise.
20641         (vsx_fix_trunc<mode><VSi>2): Likewise.
20642         (vsx_fixuns_trunc<mode><VSi>2): Likewise.
20643         (vsx_x<VSv>r<VSs>i): Likewise.
20644         (vsx_x<VSv>r<VSs>ic): Likewise.
20645         (vsx_btrunc<mode>2): Likewise.
20646         (vsx_b2trunc<mode>2): Likewise.
20647         (vsx_floor<mode>2): Likewise.
20648         (vsx_ceil<mode>2): Likewise.
20649         (vsx_<VS_spdp_insn>): Likewise.
20650         (vsx_xscvspdp): Likewise.
20651         (vsx_xvcvspuxds): Likewise.
20652         (vsx_float_fix_<mode>2): Likewise.
20653         (vsx_set_<mode>): Likewise.
20654         (vsx_extract_<mode>_internal1): Likewise.
20655         (vsx_extract_<mode>_internal2): Likewise.
20656         (vsx_extract_<mode>_load): Likewise.
20657         (vsx_extract_<mode>_store): Likewise.
20658         (vsx_splat_<mode>): Likewise.
20659         (vsx_xxspltw_<mode>): Likewise.
20660         (vsx_xxspltw_<mode>_direct): Likewise.
20661         (vsx_xxmrghw_<mode>): Likewise.
20662         (vsx_xxmrglw_<mode>): Likewise.
20663         (vsx_xxsldwi_<mode>): Likewise.
20664         (vsx_xscvdpspn): Tighten constraints to only use register classes
20665         the types use.
20666         (vsx_xscvspdpn): Likewise.
20667         (vsx_xscvdpspn_scalar): Likewise.
20669         * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
20670         wj, and wk constraints.
20671         (GPR_REG_CLASS_P): New helper macro for register classes targeting
20672         general purpose registers.
20674         * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
20675         direct moves.
20676         (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
20677         DImode instead of wm.  Use wk constraint for direct move of DFmode
20678         instead of wm.
20679         (extendsidi2_lfiwax): Likewise.
20680         (lfiwax): Likewise.
20681         (lfiwzx): Likewise.
20682         (movdi_internal64): Likewise.
20684         * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
20685         wk constraints. Make the wy constraint documentation match them
20686         implementation.
20688 2014-08-11  Mircea Namolaru  <mircea.namolaru@inria.fr>
20690         Replacement of isl_int by isl_val
20691         * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
20692         (compute_bounds_for_param): use isl_val instead of isl_int
20693         (compute_bounds_for_loop): likewise
20694         * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
20695         (build_linearized_memory_access): use isl_val instead of isl_int
20696         (pdr_stride_in_loop): likewise
20697         * graphite-optimize-isl.c:
20698         (getPrevectorMap): use isl_val instead of isl_int
20699         * graphite-poly.c:
20700         (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
20701         graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
20702         (extern the_isl_ctx): declare
20703         (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
20704         (extract_affine_gmp): likewise
20705         (wrap): likewise
20706         (build_loop_iteration_domains): likewise
20707         (add_param_constraints): likewise
20709 2014-08-11  Richard Biener  <rguenther@suse.de>
20711         PR tree-optimization/62075
20712         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
20713         handle uses in patterns.
20715 2014-08-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20716             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20717             Anna Tikhonova  <anna.tikhonova@intel.com>
20718             Ilya Tocar  <ilya.tocar@intel.com>
20719             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20720             Ilya Verbin  <ilya.verbin@intel.com>
20721             Kirill Yukhin  <kirill.yukhin@intel.com>
20722             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20724         * common/config/i386/i386-common.c
20725         (OPTION_MASK_ISA_AVX512VL_SET): Define.
20726         (OPTION_MASK_ISA_AVX512F_UNSET): Update.
20727         (ix86_handle_option): Handle OPT_mavx512vl.
20728         * config/i386/cpuid.h (bit_AVX512VL): Define.
20729         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
20730         set -mavx512vl accordingly.
20731         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
20732         OPTION_MASK_ISA_AVX512VL.
20733         * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
20734         (ix86_option_override_internal): Define PTA_AVX512VL, handle
20735         PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
20736         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
20737         * config/i386/i386.h (TARGET_AVX512VL): Define.
20738         (TARGET_AVX512VL_P(x)): Ditto.
20739         * config/i386/i386.opt: Add mavx512vl.
20741 2014-08-11  Felix Yang  <fei.yang0953@gmail.com>
20743         PR tree-optimization/62073
20744         * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
20745         a basic block.
20747 2014-08-11  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20748             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20749             Anna Tikhonova  <anna.tikhonova@intel.com>
20750             Ilya Tocar  <ilya.tocar@intel.com>
20751             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20752             Ilya Verbin  <ilya.verbin@intel.com>
20753             Kirill Yukhin  <kirill.yukhin@intel.com>
20754             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20756         * common/config/i386/i386-common.c
20757         (OPTION_MASK_ISA_AVX512BW_SET) : Define.
20758         (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
20759         (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
20760         (ix86_handle_option): Handle OPT_mavx512bw.
20761         * config/i386/cpuid.h (bit_AVX512BW): Define.
20762         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
20763         set -mavx512bw accordingly.
20764         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
20765         OPTION_MASK_ISA_AVX512BW.
20766         * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
20767         (ix86_option_override_internal): Define PTA_AVX512BW, handle
20768         PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
20769         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
20770         * config/i386/i386.h (TARGET_AVX512BW): Define.
20771         (TARGET_AVX512BW_P(x)): Ditto.
20772         * config/i386/i386.opt: Add mavx512bw.
20774 2014-08-11  Richard Biener  <rguenther@suse.de>
20776         PR tree-optimization/62070
20777         * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
20778         Remove SSA checking.
20780 2014-08-11  Yury Gribov  <y.gribov@samsung.com>
20782         * asan.c (asan_check_flags): New enum.
20783         (build_check_stmt_with_calls): Removed function.
20784         (build_check_stmt): Split inlining logic to
20785         asan_expand_check_ifn.
20786         (instrument_derefs): Rename parameter.
20787         (instrument_mem_region_access): Rename parameter.
20788         (instrument_strlen_call): Likewise.
20789         (asan_expand_check_ifn): New function.
20790         (asan_instrument): Remove old code.
20791         (pass_sanopt::execute): Change handling of
20792         asan-instrumentation-with-call-threshold.
20793         (asan_clear_shadow): Fix formatting.
20794         (asan_function_start): Likewise.
20795         (asan_emit_stack_protection): Likewise.
20796         * doc/invoke.texi (asan-instrumentation-with-call-threshold):
20797         Update description.
20798         * internal-fn.c (expand_ASAN_CHECK): New function.
20799         * internal-fn.def (ASAN_CHECK): New internal function.
20800         * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
20801         Update description.
20802         (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
20803         * tree.c: Small comment fix.
20805 2014-08-11  Yury Gribov  <y.gribov@samsung.com>
20807         * gimple.c (gimple_call_fnspec): Support internal functions.
20808         (gimple_call_return_flags): Use const.
20809         * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
20810         * internal-fn.def: Add fnspec information.
20811         * internal-fn.h (internal_fn_fnspec): New function.
20812         (init_internal_fns): Declare new function.
20813         * internal-fn.c (internal_fn_fnspec_array): New global variable.
20814         (init_internal_fns): New function.
20815         * tree-core.h: Update macro call.
20816         * tree.c (build_common_builtin_nodes): Initialize internal fns.
20818 2014-08-10  Gerald Pfeifer  <gerald@pfeifer.com>
20820         * lto-streamer.h (struct output_block::symbol): Change from
20821         struct symtab_node to plain symtab_node.
20822         (referenced_from_this_partition_p): Change first parameter
20823         from struct symtab_node to plain symtab_node.
20825 2014-08-10  Marek Polacek  <polacek@redhat.com>
20827         PR c/51849
20828         * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
20830 2014-08-09  Jan Hubicka  <hubicka@ucw.cz>
20832         * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
20833         DECL correctly; do not give up on types in static storage.
20835 2014-08-09  Paolo Carlini  <paolo.carlini@oracle.com>
20837         * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
20839 2014-08-09  Roman Gareev  <gareevroman@gmail.com>
20841         * graphite-isl-ast-to-gimple.c:
20842         (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
20844         * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
20846 2014-08-08  Guozhi Wei  <carrot@google.com>
20848         * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
20850 2014-08-08  Cary Coutant  <ccoutant@google.com>
20852         * dwarf2out.c (get_skeleton_type_unit): Remove.
20853         (output_skeleton_debug_sections): Remove skeleton type units.
20854         (output_comdat_type_unit): Likewise.
20855         (dwarf2out_finish): Likewise.
20857 2014-08-07  Yi Yang  <ahyangyi@google.com>
20859         * predict.c (expr_expected_value_1): Remove the redundant assignment.
20861 2014-08-08  Richard Biener  <rguenther@suse.de>
20863         * lto-streamer.h (struct lto_input_block): Make it a class
20864         with a constructor.
20865         (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
20866         (struct lto_function_header, struct lto_simple_header,
20867         struct lto_simple_header_with_strings,
20868         struct lto_decl_header, struct lto_function_header): Make
20869         a simple inheritance hieararchy.  Remove unused fields.
20870         (struct lto_asm_header): Remove.
20871         * lto-streamer-out.c (produce_asm): Adjust.
20872         (lto_output_toplevel_asms): Likewise.
20873         (produce_asm_for_decls): Likewise.
20874         * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
20875         * data-streamer-in.c (string_for_index): Likewise.
20876         * ipa-inline-analysis.c (inline_read_section): Likewise.
20877         * ipa-prop.c (ipa_prop_read_section): Likewise.
20878         (read_replacements_section): Likewise.
20879         * lto-cgraph.c (input_cgraph_opt_section): Likewise.
20880         * lto-section-in.c (lto_create_simple_input_block): Likewise.
20881         (lto_destroy_simple_input_block): Likewise.
20882         * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
20883         (lto_input_toplevel_asms): Likewise.
20885 2014-08-08  Alexander Ivchenko  <alexander.ivchenko@intel.com>
20886             Maxim Kuznetsov  <maxim.kuznetsov@intel.com>
20887             Anna Tikhonova  <anna.tikhonova@intel.com>
20888             Ilya Tocar  <ilya.tocar@intel.com>
20889             Andrey Turetskiy  <andrey.turetskiy@intel.com>
20890             Ilya Verbin  <ilya.verbin@intel.com>
20891             Kirill Yukhin  <kirill.yukhin@intel.com>
20892             Michael Zolotukhin  <michael.v.zolotukhin@intel.com>
20894         * common/config/i386/i386-common.c
20895         (OPTION_MASK_ISA_AVX512DQ_SET): Define.
20896         (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
20897         (ix86_handle_option): Handle OPT_mavx512dq.
20898         * config/i386/cpuid.h (bit_AVX512DQ): Define.
20899         * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
20900         set -mavx512dq accordingly.
20901         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
20902         OPTION_MASK_ISA_AVX512DQ.
20903         * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
20904         (ix86_option_override_internal): Define PTA_AVX512DQ, handle
20905         PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
20906         (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
20907         * config/i386/i386.h (TARGET_AVX512DQ): Define.
20908         (TARGET_AVX512DQ_P(x)): Ditto.
20909         * config/i386/i386.opt: Add mavx512dq.
20911 2014-08-08  Richard Biener  <rguenther@suse.de>
20913         * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
20914         target_percent, target_percent_s): Export.
20915         (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
20916         fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
20917         fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
20918         fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
20919         fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
20920         Move to gimple-fold.c.
20921         (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
20922         strcat and strcpy.
20923         (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
20924         mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
20925         (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
20926         memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
20927         (rewrite_call_expr_array): Remove.
20928         (fold_builtin_sprintf_chk): Likewise.
20929         (fold_builtin_snprintf_chk): Likewise.
20930         (fold_builtin_varargs): Remove handling of sprintf_chk,
20931         vsprintf_chk, snprintf_chk and vsnprintf_chk.
20932         (gimple_fold_builtin_sprintf_chk): Remove.
20933         (gimple_fold_builtin_snprintf_chk): Likewise.
20934         (gimple_fold_builtin_varargs): Likewise.
20935         (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
20936         * predict.c (optimize_bb_for_size_p): Handle NULL bb.
20937         * gimple.c (gimple_seq_add_seq_without_update): New function.
20938         * gimple.h (gimple_seq_add_seq_without_update): Declare.
20939         * gimple-fold.c: Include output.h.
20940         (gsi_replace_with_seq_vops): New function, split out from ...
20941         (gimplify_and_update_call_from_tree): ... here.
20942         (replace_call_with_value): New function.
20943         (replace_call_with_call_and_fold): Likewise.
20944         (var_decl_component_p): Moved from builtins.c.
20945         (gimple_fold_builtin_memory_op): Moved from builtins.c
20946         fold_builtin_memory_op and rewritten to GIMPLE.
20947         (gimple_fold_builtin_memset): Likewise.
20948         (gimple_fold_builtin_strcpy): Likewise.
20949         (gimple_fold_builtin_strncpy): Likewise.
20950         (gimple_fold_builtin_strcat): Likewise.
20951         (gimple_fold_builtin_fputs): Likewise.
20952         (gimple_fold_builtin_memory_chk): Likewise.
20953         (gimple_fold_builtin_stxcpy_chk): Likewise.
20954         (gimple_fold_builtin_stxncpy_chk): Likewise.
20955         (gimple_fold_builtin_snprintf_chk): Likewise.
20956         (gimple_fold_builtin_sprintf_chk): Likewise.
20957         (gimple_fold_builtin_strlen): New function.
20958         (gimple_fold_builtin_with_strlen): New function split out from
20959         gimple_fold_builtin.
20960         (gimple_fold_builtin): Change signature and handle
20961         bzero, memset, bcopy, memcpy, mempcpy and memmove folding
20962         here.  Call gimple_fold_builtin_with_strlen.
20963         (gimple_fold_call): Adjust.
20965 2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
20967         * calls.c (precompute_arguments): Check
20968         promoted_for_signed_and_unsigned_p and set the promoted mode.
20969         (promoted_for_signed_and_unsigned_p): New function.
20970         (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
20971         and set the promoted mode.
20972         * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
20973         * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
20974         SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
20977 2014-08-08  Kugan Vivekanandarajah  <kuganv@linaro.org>
20979         * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
20980         instead of SUBREG_PROMOTED_UNSIGNED_SET.
20981         (expand_call): Likewise.
20982         * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
20983         to get promoted mode.
20984         * combine.c (record_promoted_value): Skip > 0 comparison with
20985         SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
20986         * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
20987         of SUBREG_PROMOTED_UNSIGNED_P.
20988         (convert_modes): Likewise.
20989         (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
20990         Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
20991         (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
20992         SUBREG_PROMOTED_UNSIGNED_SET.
20993         * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
20994         instead of SUBREG_PROMOTED_UNSIGNED_SET.
20995         * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
20996         SUBREG_PROMOTED_SET.
20997         * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
20998         SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
20999         * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
21000         of SUBREG_PROMOTED_UNSIGNED_P.
21001         * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
21002         (SUBREG_PROMOTED_SET): New define.
21003         (SUBREG_PROMOTED_GET): Likewise.
21004         (SUBREG_PROMOTED_SIGN): Likewise.
21005         (SUBREG_PROMOTED_SIGNED_P): Likewise.
21006         (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
21007         (SUBREG_PROMOTED_UNSIGNED_P): Updated.
21008         * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
21009         instead of SUBREG_PROMOTED_UNSIGNED_GET.
21010         (nonzero_bits1): Skip > 0 comparison with the results as
21011         SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
21012         (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
21013         of !SUBREG_PROMOTED_UNSIGNED_P.
21014         * simplify-rtx.c (simplify_unary_operation_1): Use new
21015         SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
21016         (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
21017         SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
21018         SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
21020 2014-08-07  Jan Hubicka  <hubicka@ucw.cz>
21022         * ipa-devirt.c: Include gimple-pretty-print.h
21023         (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
21024         further tests.
21025         (decl_maybe_in_construction_p): Fix conditional on cdtor check
21026         (get_polymorphic_call_info): Fix return value
21027         (type_change_info): New sturcture based on ipa-prop
21028         variant.
21029         (noncall_stmt_may_be_vtbl_ptr_store): New predicate
21030         based on ipa-prop variant.
21031         (extr_type_from_vtbl_ptr_store): New function
21032         based on ipa-prop variant.
21033         (record_known_type): New function.
21034         (check_stmt_for_type_change): New function.
21035         (get_dynamic_type): New function.
21036         * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
21037         * tree-ssa-pre.c: ipa-utils.h
21038         (eliminate_dom_walker::before_dom_children): Use ipa-devirt
21039         machinery; sanity check with ipa-prop devirtualization.
21040         * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
21041         polymorphic flag.
21043 2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
21045         * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
21046         * alias.c, cfgexpand.c, cgraphbuild.c,
21047         config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
21048         config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
21049         config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
21050         config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
21051         config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
21052         config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
21053         config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
21054         dse.c, except.c, gengtype.c, gimple-expr.c,
21055         gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
21056         ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
21057         tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
21058         tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
21059         tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
21060         tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
21061         pointer-set.h.
21062         * pointer-set.c: Remove file.
21063         * pointer-set.h: Remove file.
21065 2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21067         * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
21068         * config/arm/types.md (f_sels, f_seld): Delete.
21070 2014-08-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21072         * config/aarch64/aarch64.md (absdi2): Set simd attribute.
21073         (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
21074         (aarch64_movdi_<mode>high): Likewise.
21075         (aarch64_mov<mode>high_di): Likewise.
21076         (aarch64_movdi_<mode>low): Likewise.
21077         (aarch64_mov<mode>low_di): Likewise.
21078         (aarch64_movtilow_tilow): Likewise.
21079         Add comment explaining usage of fp,simd attributes and of
21080         TARGET_FLOAT and TARGET_SIMD.
21082 2014-08-07  Ian Bolton  <ian.bolton@arm.com>
21083             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21085         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
21086         Use MOVN when one of the half-words is 0xffff.
21088 2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>
21090         * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
21092 2014-08-07  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
21094         * haifa-sched.c (SCHED_SORT): Delete.  Macro used exactly once.
21095         (enum rfs_decition:RFS_*): New constants wrapped in an enum.
21096         (rfs_str): String corresponding to RFS_* constants.
21097         (rank_for_schedule_stats_t): New typedef.
21098         (rank_for_schedule_stats): New static variable.
21099         (rfs_result): New static function.
21100         (rank_for_schedule): Track statistics for deciding heuristics.
21101         (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
21102         static functions.
21103         (ready_sort): Use them for debug printouts.
21104         (schedule_block): Init statistics state.  Print statistics on
21105         rank_for_schedule decisions.
21107 2014-08-07  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
21109         * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
21111 2014-08-07  Ilya Tocar  <ilya.tocar@intel.com>
21113         * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
21114         constraint.
21116 2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
21118         * hash-map.h (default_hashmap_traits): Adjust overloads of hash
21119         function to not conflict.
21120         * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
21121         gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
21122         lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
21123         tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
21124         tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
21125         of pointer_map.
21127 2014-08-07  Marek Polacek  <polacek@redhat.com>
21129         * fold-const.c (fold_binary_loc): Add folding of
21130         (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
21132 2013-08-07  Ilya Enkovich  <ilya.enkovich@intel.com>
21134         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
21135         instead of type size.
21136         (ASM_FINISH_DECLARE_OBJECT): Likewise.
21138 2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>
21140         * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
21141         (*thumb1_movqi_insn): Likewise.
21142         * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
21144 2014-08-07  Tom de Vries  <tom@codesourcery.com>
21146         * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
21147         (glibc_2_11_or_earlier): Remove effective-target keywords.
21149 2014-08-07  Kugan Vivekanandarajah  <kuganv@linaro.org>
21151         * config/arm/arm.c (bdesc_2arg): Fix typo.
21152         (arm_atomic_assign_expand_fenv): Remove The default implementation.
21154 2014-08-07  Zhenqiang Chen  <zhenqiang.chen@arm.com>
21156         * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
21158 2014-08-06  Vladimir Makarov  <vmakarov@redhat.com>
21160         PR debug/61923
21161         * haifa-sched.c (advance_one_cycle): Fix dump.
21162         (schedule_block): Don't advance cycle if we are already at the
21163         beginning of the cycle.
21165 2014-08-06  Martin Jambor  <mjambor@suse.cz>
21167         PR ipa/61393
21168         * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
21170 2014-08-06  Richard Biener  <rguenther@suse.de>
21172         PR lto/62034
21173         * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
21174         SCCs here.
21175         (lto_input_tree): Pop SCCs here.
21177 2014-08-06  Richard Biener  <rguenther@suse.de>
21179         PR tree-optimization/61320
21180         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
21181         handle misaligned loads.
21183 2014-08-06  Alan Lawrence  <alan.lawrence@arm.com>
21185         * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
21186         (aarch64_expand_vec_perm_const): Check for dup before zip.
21188 2014-08-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21190         * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
21191         CONST_INT_P instead of GET_CODE and compare.
21192         (aarch64_select_cc_mode): Likewise.
21193         (aarch64_print_operand): Likewise.
21194         (aarch64_rtx_costs): Likewise.
21195         (aarch64_simd_valid_immediate): Likewise.
21196         (aarch64_simd_check_vect_par_cnst_half): Likewise.
21197         (aarch64_simd_emit_pair_result_insn): Likewise.
21199 2014-08-05  David Malcolm  <dmalcolm@redhat.com>
21201         * gdbhooks.py (find_gcc_source_dir): New helper function.
21202         (class PassNames): New class, locating and parsing passes.def.
21203         (class BreakOnPass): New command "break-on-pass".
21205 2014-08-05  Trevor Saunders  <tsaunders@mozilla.com>
21207         * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
21208         getting olde.
21210 2014-08-05  Richard Biener  <rguenther@suse.de>
21212         PR rtl-optimization/61672
21213         * emit-rtl.h (mem_attrs_eq_p): Declare.
21214         * emit-rtl.c (mem_attrs_eq_p): Export.  Handle NULL mem-attrs.
21215         * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
21216         * cfgcleanup.c (merge_memattrs): Likewise.
21217         Include emit-rtl.h.
21219 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21221         * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
21222         rather than singleton vectors.
21223         (vqdmlsls_lane_s32): Likewise.
21225 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21227         * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
21228         Use VSDQ_HSI mode iterator.
21229         (aarch64_sqrdmulh_laneq<mode>): Likewise.
21230         (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
21231         * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
21232         Use BUILTIN_VDQHS macro.
21233         (sqrdmulh_laneq): Likewise.
21234         * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
21235         (vqdmlals_laneq_s32): Likewise.
21236         (vqdmlslh_laneq_s16): Likewise.
21237         (vqdmlsls_laneq_s32): Likewise.
21238         (vqdmulhh_laneq_s16): Likewise.
21239         (vqdmulhs_laneq_s32): Likewise.
21240         (vqrdmulhh_laneq_s16): Likewise.
21241         (vqrdmulhs_laneq_s32): Likewise.
21243 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21245         * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
21246         (vmuld_laneq_f64): Likewise.
21247         (vmuls_laneq_f32): Likewise.
21248         (vmul_n_f64): Likewise.
21249         (vmuld_lane_f64): Reimplement in C.
21250         (vmuls_lane_f32): Likewise.
21252 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21254         * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
21255         to reservation.
21256         * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
21258 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21260         * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
21261         (rbitsi2): Likewise.
21262         (*arm_rev): Set predicable and predicable_short_it attributes.
21264 2014-08-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21266         * convert.c (convert_to_integer): Guard transformation to lrint by
21267         -fno-math-errno.
21269 2014-08-05  James Greenhalgh  <james.greenhalgh@arm.com>
21271         * config/aarch64/aarch64-builtins.c
21272         (aarch64_simd_builtin_type_mode): Delete.
21273         (v8qi_UP): Remap to V8QImode.
21274         (v4hi_UP): Remap to V4HImode.
21275         (v2si_UP): Remap to V2SImode.
21276         (v2sf_UP): Remap to V2SFmode.
21277         (v1df_UP): Remap to V1DFmode.
21278         (di_UP): Remap to DImode.
21279         (df_UP): Remap to DFmode.
21280         (v16qi_UP):V16QImode.
21281         (v8hi_UP): Remap to V8HImode.
21282         (v4si_UP): Remap to V4SImode.
21283         (v4sf_UP): Remap to V4SFmode.
21284         (v2di_UP): Remap to V2DImode.
21285         (v2df_UP): Remap to V2DFmode.
21286         (ti_UP): Remap to TImode.
21287         (ei_UP): Remap to EImode.
21288         (oi_UP): Remap to OImode.
21289         (ci_UP): Map to CImode.
21290         (xi_UP): Remap to XImode.
21291         (si_UP): Remap to SImode.
21292         (sf_UP): Remap to SFmode.
21293         (hi_UP): Remap to HImode.
21294         (qi_UP): Remap to QImode.
21295         (aarch64_simd_builtin_datum): Make mode a machine_mode.
21296         (VAR1): Build builtin name.
21297         (aarch64_init_simd_builtins): Remove dead code.
21299 2014-08-05  Roman Gareev  <gareevroman@gmail.com>
21301         * graphite-isl-ast-to-gimple.c:
21302         (set_options): New function.
21303         (scop_to_isl_ast): Add calling of set_options.
21305 2014-08-05  Jakub Jelinek  <jakub@redhat.com>
21307         * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
21308         (analyze_iv_to_split_insn): Don't initialize them.
21309         (get_ivts_expr): Removed.
21310         (allocate_basic_variable, insert_base_initialization): Use
21311         SET_SRC instead of *get_ivts_expr.
21312         (split_iv): Use &SET_SRC instead of get_ivts_expr.
21314 2014-08-05  Roman Gareev  <gareevroman@gmail.com>
21316         * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
21317         (translate_isl_ast_for_loop): Add checking of the
21318         flag_loop_parallelize_all.
21319         (ast_build_before_for): New function.
21320         (scop_to_isl_ast): Add checking of the
21321         flag_loop_parallelize_all.
21322         * graphite-dependences.c: Move the defenition of the
21323         scop_get_dependences from graphite-optimize-isl.c to this file.
21324         (apply_schedule_on_deps): Add checking of the ux's emptiness.
21325         (carries_deps): Add checking of the x's value.
21326         * graphite-optimize-isl.c: Move the defenition of the
21327         scop_get_dependences to graphite-dependences.c.
21328         * graphite-poly.h: Add declarations of scop_get_dependences
21329         and carries_deps.
21331 2014-08-04  Rohit  <rohitarulraj@freescale.com>
21333         PR target/60102
21334         * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
21335         names.
21336         (alt_reg_names): Likewise.
21337         (rs6000_dwarf_register_span): For SPE high registers, replace
21338         dwarf register numbers with GCC hard register numbers.
21339         (rs6000_init_dwarf_reg_sizes_extra): Likewise.
21340         (rs6000_dbx_register_number): For SPE high registers, return dwarf
21341         register number for the corresponding GCC hard register number.
21342         * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
21343         newly added GCC hard register numbers for SPE high registers.
21344         (DWARF_FRAME_REGISTERS):  Likewise.
21345         (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
21346         (DWARF_FRAME_REGNUM): Likewise.
21347         (FIXED_REGISTERS): Likewise.
21348         (CALL_USED_REGISTERS): Likewise.
21349         (CALL_REALLY_USED_REGISTERS): Likewise.
21350         (REG_ALLOC_ORDER): Likewise.
21351         (enum reg_class): Likewise.
21352         (REG_CLASS_NAMES): Likewise.
21353         (REG_CLASS_CONTENTS): Likewise.
21354         (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
21356 2014-08-04  Richard Biener  <rguenther@suse.de>
21358         * gimple-fold.h (gimple_fold_builtin): Remove.
21359         * gimple-fold.c (gimple_fold_builtin): Make static.
21360         * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
21361         fold_stmt, not gimple_fold_builtin.
21363 2014-08-04  Martin Liska <mliska@suse.cz>
21365         * cgraph.h (csi_end_p): Removed.
21366         (csi_next): Likewise.
21367         (csi_node): Likewise.
21368         (csi_start): Likewise.
21369         (cgraph_node_in_set_p): Likewise.
21370         (cgraph_node_set_size): Likewise.
21371         (vsi_end_p): Likewise.
21372         (vsi_next): Likewise.
21373         (vsi_node): Likewise.
21374         (vsi_start): Likewise.
21375         (varpool_node_set_size): Likewise.
21376         (cgraph_node_set_nonempty_p): Likewise.
21377         (varpool_node_set_nonempty_p): Likewise.
21378         * cgraphunit.c (cgraph_process_new_functions): vec replaces
21379         cgraph_node_set.
21380         * ipa-inline-transform.c: Likewise.
21381         * ipa-utils.c (cgraph_node_set_new): Removed.
21382         (cgraph_node_set_add): Likewise.
21383         (cgraph_node_set_remove): Likewise.
21384         (cgraph_node_set_find): Likewise.
21385         (dump_cgraph_node_set): Likewise.
21386         (debug_cgraph_node_set): Likewise.
21387         (free_cgraph_node_set): Likewise.
21388         (varpool_node_set_new): Likewise.
21389         (varpool_node_set_add): Likewise.
21390         (varpool_node_set_remove): Likewise.
21391         (varpool_node_set_find): Likewise.
21392         (dump_varpool_node_set): Likewise.
21393         (free_varpool_node_set): Likewise.
21394         (debug_varpool_node_set): Likewise.
21395         * tree-emutls.c (struct tls_var_data):
21396         (emutls_index): Removed.
21397         (emutls_decl): Likewise.
21398         (gen_emutls_addr): Function implementation uses newly added
21399         hash_map<varpool_node *, tls_var_data>.
21400         (clear_access_vars): Likewise.
21401         (create_emultls_var): Likewise.
21402         (ipa_lower_emutls): Likewise.
21403         (reset_access): New function.
21405 2014-08-04 Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
21407         * config/i386/i386.c (ix86_option_override_internal): Add
21408         PTA_RDRND and PTA_MOVBE for bdver4.
21410 2014-08-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21411             James Greenhalgh  <james.greenhalgh@arm.com>
21413         * doc/md.texi (clrsb): Document.
21414         (clz): Change reference to x into operand 1.
21415         (ctz): Likewise.
21416         (popcount): Likewise.
21418 2014-08-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21420         PR target/61713
21421         * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
21422         move to subtarget in serial version if result is ignored.
21424 2014-08-04  Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
21425             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
21427         * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
21428         to any two insns.  Update comment.  Rename to sched_macro_fuse_insns.
21429         (sched_analyze_insn): Update use of try_group_insn to
21430         sched_macro_fuse_insns.
21431         * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
21432         arguments that are not conditional jumps.
21434 2014-08-04 Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
21436         * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's extended
21437         family information. Handle BTVER2 cpu with cpuid family value.
21439 2014-08-04  Tom de Vries  <tom@codesourcery.com>
21441         * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
21442         (glibc_2_11_or_earlier): Document effective-target keywords.
21444 2014-08-01  Jan Hubicka  <hubicka@ucw.cz>
21446         * ipa-devirt.c (odr_type_warn_count): Add type.
21447         (possible_polymorphic_call_targets): Set it.
21448         (ipa_devirt): Use it.
21450 2014-08-01  Jan Hubicka  <hubicka@ucw.cz>
21452         * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
21453         Document.
21454         * ipa-devirt.c: Include hash-map.h
21455         (struct polymorphic_call_target_d): Add type_warning and decl_warning.
21456         (clear_speculation): Break out of ...
21457         (get_class_context): ... here; speed up handling obviously useless
21458         speculations.
21459         (odr_type_warn_count, decl_warn_count): New structures.
21460         (final_warning_record): New structure.
21461         (final_warning_records): New static variable.
21462         (possible_polymorphic_call_targets): Cleanup handling of
21463         speculative info; do not build speculation when user do not care;
21464         record info about warnings when asked for.
21465         (add_decl_warning): New function.
21466         (type_warning_cmp): New function.
21467         (decl_warning_cmp): New function.
21468         (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
21469         (gate): Enable pass when warnings are requested.
21470         * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
21471         options.
21473 2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
21475         * hash-map.h (default_hashmap_traits::mark_key_deleted):
21476         Fix cast.
21477         (hash_map::remove): New method.
21478         (hash_map::traverse): New method.
21479         * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
21480         ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
21481         tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
21482         tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
21483         tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
21484         tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
21485         pointer_map.
21487 2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
21489         * hash-set.h: new File.
21490         * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
21491         cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
21492         ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
21493         lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
21494         tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
21495         tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
21496         tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
21497         varpool.c: Use hash_set instead of pointer_set.
21499 2014-08-01  Alan Lawrence  <alan.lawrence@arm.com>
21501         * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
21503 2014-08-01  Jiong Wang <jiong.wang@arm.com>
21505         * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
21506         for frame access when strict_p is false.
21508 2014-08-01  Renlin Li <renlin.li@arm.com>
21509 2014-08-01  Jiong Wang <jiong.wang@arm.com>
21511         * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
21512         aarch64_offset_7bit_signed_scaled_p, remove static and use it.
21513         * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
21514         Declaration.
21515         * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
21516         predicate.
21517         * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
21518         aarch64_mem_pair_offset.
21520 2014-08-01  Jiong Wang <jiong.wang@arm.com>
21522         * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
21523         offset.
21524         (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
21525         * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
21527 2014-08-01  Matthew Fortune  <matthew.fortune@imgtec.com>
21529         * config/mips/mips.h (REGISTER_PREFIX): Define macro.
21531 2014-08-01  James Greenhalgh  <james.greenhalgh@arm.com>
21533         PR regression/61510
21534         * cgraphunit.c (analyze_functions): Use get_create rather than get
21535         for decls which are clones of abstract functions.
21537 2014-08-01  Martin Liska  <mliska@suse.cz>
21539         * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
21540         * ipa-prop.h (count_formal_params): Global function created from static.
21541         * ipa-prop.c (count_formal_params): Likewise.
21542         * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
21543         profiles for semantically equivalent functions.
21544         * passes.c (do_per_function): If we load body of a function
21545         during WPA, this condition should behave same.
21546         * varpool.c (ctor_for_folding): More tolerant assert for variable
21547         aliases created during WPA.
21549 2014-08-01  Martin Liska  <mliska@suse.cz>
21551         * doc/invoke.texi (Options That Control Optimization): Documentation
21552         for -foptimize-strlen introduced. Optimization levels default options
21553         fixed.
21555 2014-08-01  Jakub Jelinek  <jakub@redhat.com>
21557         * opts.c (common_handle_option): Handle -fsanitize=alignment.
21558         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
21559         (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
21560         type to bool.
21561         * stor-layout.h (min_align_of_type): New prototype.
21562         * asan.c (pass_sanopt::execute): Don't perform gsi_next if
21563         ubsan_expand* told us not to do it.  Remove the extra gsi_end_p
21564         check.
21565         * ubsan.c: Include builtins.h.
21566         (ubsan_expand_bounds_ifn): Change return type to bool,
21567         always return true.
21568         (ubsan_expand_null_ifn): Change return type to bool, change
21569         argument to gimple_stmt_iterator *.  Handle both null and alignment
21570         sanitization, take type from ckind argument's type rather than
21571         first argument.
21572         (instrument_member_call): Removed.
21573         (instrument_mem_ref): Remove t argument, add mem and base arguments.
21574         Handle both null and alignment sanitization, don't say whole
21575         struct access is member access.  Build 3 argument IFN_UBSAN_NULL
21576         call instead of 2 argument.
21577         (instrument_null): Adjust instrument_mem_ref caller.  Don't
21578         instrument calls here.
21579         (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
21580         like SANITIZE_NULL.
21581         * stor-layout.c (min_align_of_type): New function.
21582         * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
21583         Or it into SANITIZE_UNDEFINED.
21584         * doc/invoke.texi (-fsanitize=alignment): Document.
21586 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21588         * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
21590 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21592         * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
21593         inchash.
21594         (vn_reference_compute_hash): Dito.
21595         (vn_nary_op_compute_hash): Dito.
21596         (vn_phi_compute_hash): Dito.
21597         * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
21599 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21601         * tree-ssa-dom.c (iterative_hash_exprs_commutative):
21602         Rename to inchash:add_expr_commutative. Convert to inchash.
21603         (iterative_hash_hashable_expr): Rename to
21604         inchash:add_hashable_expr. Convert to inchash.
21605         (avail_expr_hash): Dito.
21607 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21609         * ipa-devirt.c (polymorphic_call_target_hasher::hash):
21610         Convert to inchash.
21612 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21614         * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
21616 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21618         * Makefile.in (OBJS): Add rtlhash.o
21619         * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
21620         (loc_checksum): Dito.
21621         (loc_checksum_ordered): Dito.
21622         (hash_loc_operands): Dito.
21623         (hash_locs): Dito.
21624         (hash_loc_list): Dito.
21625         * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
21626         * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
21627         * rtlhash.c: New file.
21628         * rtlhash.h: New file.
21630 2014-07-31  Andi Kleen  <ak@linux.intel.com>
21632         * inchash.h (inchash): Change inchash class to namespace.
21633         (class hash): ... Rename from inchash.
21634         (add_object): Move from macro to class template.
21635         * lto-streamer-out.c (hash_tree): Change inchash
21636         to inchash::hash.
21637         * tree.c (build_type_attribute_qual_variant): Dito.
21638         (type_hash_list): Dito.
21639         (attribute_hash_list): Dito.
21640         (iterative_hstate_expr): Rename to inchash::add_expr
21641         (build_range_type_1): Change inchash to inchash::hash
21642         and use hash::add_expr.
21643         (build_array_type_1): Dito.
21644         (build_function_type): Dito
21645         (build_method_type_directly): Dito.
21646         (build_offset_type): Dito.
21647         (build_complex_type): Dito.
21648         (make_vector_type): Dito.
21649         * tree.h (iterative_hash_expr): Dito.
21651 2014-07-31  Chen Gang  <gang.chen.5i5j@gmail.com>
21653         * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
21655 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
21657         * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
21658         correct alphabetical position.
21659         (vpaddd_f64): Rewrite using builtins.
21660         (vpaddd_s64): Move to correct alphabetical position.
21661         (vpaddd_u64): New.
21663 2014-07-31  Oleg Endo  <olegendo@gcc.gnu.org>
21665         PR target/61844
21666         * config/sh/sh.c (sh_legitimate_address_p,
21667         sh_legitimize_reload_address): Handle reg+reg address modes when
21668         ALLOW_INDEXED_ADDRESS is false.
21669         * config/sh/predicates.md (general_movsrc_operand,
21670         general_movdst_operand): Likewise.
21672 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
21674         * config/aarch64/aarch64-builtins.c
21675         (aarch64_gimple_fold_builtin): Don't fold reduction operations for
21676         BYTES_BIG_ENDIAN.
21678 2014-07-31  James Greenhalgh  <james.greenhalgh@arm.com>
21680         * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
21681         the generated mask based on BYTES_BIG_ENDIAN.
21682         (aarch64_simd_check_vect_par_cnst_half): New.
21683         * config/aarch64/aarch64-protos.h
21684         (aarch64_simd_check_vect_par_cnst_half): New.
21685         * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
21686         the check out to aarch64_simd_check_vect_par_cnst_half.
21687         (vect_par_cnst_lo_half): Likewise.
21688         * config/aarch64/aarch64-simd.md
21689         (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
21690         (move_hi_quad_<mode>): Always generate a low mask.
21692 2014-07-30  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
21694         * doc/invoke.texi (AVR Options): Add documentation about
21695         __AVR_DEVICE_NAME__ built-in macro.
21697 2014-07-31  Charles Baylis  <charles.baylis@linaro.org>
21699         PR target/61948
21700         * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
21701         constraints are satisfied.
21702         (<shift>di3_neon): Likewise.
21704 2014-07-31  Richard Biener  <rguenther@suse.de>
21706         PR tree-optimization/61964
21707         * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
21708         by structural equality.
21710 2014-07-31  Yury Gribov  <y.gribov@samsung.com>
21712         * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
21713         * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
21714         * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
21715         New enums.
21716         * gcc.c (sanitize_spec_function): Support new option.
21717         (SANITIZER_SPEC): Remove now redundant check.
21718         * opts.c (common_handle_option): Support new option.
21719         (finish_options): Check for incompatibilities.
21720         * toplev.c (process_options): Split userspace-specific checks.
21722 2014-07-31  Richard Biener  <rguenther@suse.de>
21724         * lto-streamer.h (struct output_block): Remove global.
21725         (struct data_in): Remove labels, num_named_labels and
21726         num_unnamed_labels.
21727         * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
21728         * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
21730 2014-07-31  Marc Glisse  <marc.glisse@inria.fr>
21732         PR c++/60517
21733         * common.opt (-Wreturn-local-addr): Moved from c.opt.
21734         * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
21735         (isolate_path): New argument to avoid inserting a trap.
21736         (find_implicit_erroneous_behaviour): Handle returning the address
21737         of a local variable.
21738         (find_explicit_erroneous_behaviour): Likewise.
21740 2014-07-31  Bingfeng Mei <bmei@broadcom.com>
21742         PR lto/61868
21743         * toplev.c (init_random_seed): Move piece of code never called to
21744         set_random_seed.
21745         (set_random_seed): see above.
21747 2014-07-31  Tom de Vries  <tom@codesourcery.com>
21749         * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
21751 2014-07-31  Richard Sandiford  <rdsandiford@googlemail.com>
21753         * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
21754         (compute_regs_asm_clobbered): Use extract_asm_operands instead.
21756 2014-07-31  Richard Biener  <rguenther@suse.de>
21758         * data-streamer.h (streamer_write_data_stream): Declare here,
21759         renamed from ...
21760         * lto-streamer.h (lto_output_data_stream): ... this.  Remove.
21761         * lto-cgraph.c (lto_output_node): Adjust.
21762         (lto_output_varpool_node): Likewise.
21763         * data-streamer-out.c (streamer_string_index): Likewise.
21764         (streamer_write_data_stream, lto_append_block): Move from ...
21765         * lto-section-out.c (lto_output_data_stream,
21766         lto_append_block): ... here.
21768 2014-07-30  Mike Stump  <mikestump@comcast.net>
21770         * configure.ac: Also check for popen.
21771         * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
21772         * configure: Regenerate.
21773         * config.in:  Regenerate.
21775 2014-07-30  Martin Jambor  <mjambor@suse.cz>
21777         * tree-sra.c (sra_ipa_modify_assign): Change type of the first
21778         parameter to gimple.
21780 2014-07-30  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21782         * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
21783         address as second parameter to __tpf_eh_return routine.
21785 2014-07-30  Jiong Wang  <jiong.wang@arm.com>
21787         * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
21788         Thumb2.
21790 2014-07-30  Tom Tromey  <tromey@redhat.com>
21792         PR c/59855
21793         * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
21794         * doc/extend.texi (Type Attributes): Document designated_init
21795         attribute.
21797 2014-07-30  Roman Gareev  <gareevroman@gmail.com>
21799         * graphite-isl-ast-to-gimple.c:
21800         (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
21801         (gcc_expression_from_isl_expression): Pass type to
21802         gcc_expression_from_isl_ast_expr_id.
21804 2014-07-30  Richard Biener  <rguenther@suse.de>
21806         * lto-streamer.h (lto_write_data): New function.
21807         * langhooks.c (lhd_append_data): Do not free block.
21808         * lto-section-out.c (lto_write_data): New function writing
21809         raw data to the current section.
21810         (lto_write_stream): Adjust for langhook semantic change.
21811         (lto_destroy_simple_output_block): Write header directly.
21812         * lto-opts.c (lto_write_options): Write options directly.
21813         * lto-streamer-out.c (produce_asm): Write heaeder directly.
21814         (lto_output_toplevel_asms): Likewise.
21815         (copy_function_or_variable): Copy data directly.
21816         (write_global_references): Output index table directly.
21817         (lto_output_decl_state_refs): Likewise.
21818         (write_symbol): Write data directly.
21819         (produce_symtab): Adjust.
21820         (produce_asm_for_decls): Output header and refs directly.
21822 2014-07-29  Jan Hubicka  <hubicka@ucw.cz>
21824         * ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets
21825         to speculative_targets
21826         (get_class_context): Fix handling of contextes without outer type;
21827         avoid matching non-polymorphic types in LTO.
21828         (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
21829         parameter to speculative_targetsp; handle speculation.
21830         (dump_possible_polymorphic_call_targets): Update dumping.
21832 2014-07-29  Jan Hubicka  <hubicka@ucw.cz>
21834         * common.opt (Wodr): Enable by default.
21836 2014-07-29  Olivier Hainque  <hainque@adacore.com>
21838         * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
21840 2014-07-29  H.J. Lu  <hongjiu.lu@intel.com>
21842         PR bootstrap/61914
21843         * gengtype.c (strtoken): New function.
21844         (create_user_defined_type): Replace strtok with strtoken.
21846 2014-07-29  Nathan Sidwell  <nathan@acm.org>
21848         * gcov-io.c (gcov_var): Make hidden.
21849         * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
21850         (gcov_do_dump): Declare.
21851         (gcov_output_files): Call gcov_do_dump, not gcov_exit).
21853 2014-07-29  Martin Jambor  <mjambor@suse.cz>
21855         * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
21856         parameter to gimple.
21857         (sra_modify_assign): Likewise.
21859 2014-07-29  Richard Biener  <rguenther@suse.de>
21861         PR middle-end/52478
21862         * expr.c (expand_expr_real_2): Revert last change.
21864 2014-07-28  Jan Hubicka  <hubicka@ucw.cz>
21866         * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
21867         * cgraph.h (cgraph_indirect_call_info): Add speculative data.
21868         * gimple-fold.c (fold_gimple_assign): Fix check for virtual
21869         call.
21870         * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
21871         (contains_type_p): Forward declare.
21872         (polymorphic_call_target_hasher::hash): Hash speculative info.
21873         (polymorphic_call_target_hasher::equal): Compare speculative info.
21874         (get_class_context): Handle speuclation.
21875         (contains_type_p): Update.
21876         (get_polymorphic_call_info_for_decl): Update.
21877         (walk_ssa_copies): Break out from ...
21878         (get_polymorphic_call_info): ... here; set speculative context
21879         before giving up.
21880         * ipa-prop.c (ipa_write_indirect_edge_info,
21881         ipa_read_indirect_edge_info): Stream speculative context.
21882         * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
21883         (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
21884         SPECULATIVE_MAYBE_DERIVED_TYPE).
21885         (possible_polymorphic_call_targets overriders): Update.
21886         (dump_possible_polymorphic_call_targets overriders): Update.
21887         (dump_possible_polymorphic_call_target_p overriders): Update.
21889 2014-07-28  Jan Hubicka  <hubicka@ucw.cz>
21891         * gimple-fold.c (fold_gimple_assign): Fix condition guarding
21892         ipa-devirt path; fix thinko there.
21894 2014-07-28  Trevor Saunders  <tsaunders@mozilla.com>
21896         * config/i386/i386.c (ix86_return_in_memory): Replace one
21897         ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
21899 2014-07-28  Marek Polacek  <polacek@redhat.com>
21901         * doc/invoke.texi (-Wno-odr): Fix @item entry.  Tweak wording.
21903 2014-07-28  Peter Bergner  <bergner@vnet.ibm.com>
21905         * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
21906         * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
21907         * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
21908         (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
21909         (USE_LD_AS_NEEDED): Likewise.
21910         (ASM_APP_ON): Likewise.
21911         (ASM_APP_OFF): Likewise.
21912         (TARGET_POSIX_IO): Likewise.
21913         * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
21914         (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
21915         (USE_LD_AS_NEEDED): Likewise.
21916         (ASM_APP_ON): Likewise.
21917         (ASM_APP_OFF): Likewise.
21918         (TARGET_POSIX_IO): Likewise.
21920 2014-07-28  Eric Botcazou  <ebotcazou@adacore.com>
21922         PR middle-end/61734
21923         * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
21924         operators other than the equality operators.
21926 2014-07-28  Richard Biener  <rguenther@suse.de>
21928         PR middle-end/52478
21929         * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
21930         sure to register SImode ones, not only >= word_mode ones.
21931         * expr.c (expand_expr_real_2): When expanding -ftrapv
21932         binops do not use OPTAB_LIB_WIDEN.
21934 2014-07-28  Richard Sandiford  <rdsandiford@googlemail.com>
21936         PR middle-end/61919
21937         * tree-outof-ssa.c (insert_partition_copy_on_edge)
21938         (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
21939         (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
21940         inserting them in the insn stream.
21942 2014-07-28  Marek Polacek  <polacek@redhat.com>
21944         PR middle-end/61913
21945         * common.opt (Wodr): Add Var.
21947 2014-07-28  Richard Biener  <rguenther@suse.de>
21949         PR tree-optimization/61921
21950         * tree-ssa-structalias.c (create_variable_info_for_1): Check
21951         if there is a varpool node before dereferencing it.
21953 2014-07-28  Roman Gareev  <gareevroman@gmail.com>
21955         * graphite-sese-to-poly.c:
21956         (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
21957         id of the pbb), which contains pointer to the pbb1.
21959         * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
21961 2014-07-28  Roman Gareev  <gareevroman@gmail.com>
21963         * graphite-isl-ast-to-gimple.c:
21964         (graphite_create_new_guard): New function.
21965         (translate_isl_ast_node_if): New function.
21966         (translate_isl_ast): Add calling of translate_isl_ast_node_if.
21968         * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
21970 2014-07-27  Anthony Green  <green@moxielogic.com>
21972         * config.gcc: Add moxie-*-moxiebox* configuration.
21973         * config/moxie/moxiebox.h: New file.
21975 2014-07-26  Andrew Pinski  <apinski@cavium.com>
21977         * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
21978         from the read only register.
21980 2014-07-26  Richard Sandiford  <rdsandiford@googlemail.com>
21982         * ira-costs.c (find_costs_and_classes): For -O0, use the best class
21983         as the allocation class if it isn't likely to be spilled.
21985 2014-07-26  Richard Sandiford  <rdsandiford@googlemail.com>
21987         * rtl.h (tls_referenced_p): Declare.
21988         * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
21989         * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
21990         (mips_cannot_force_const_mem): Use tls_referenced_p.
21991         * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
21992         * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
21993         instead of pa_tls_referenced_p.
21994         * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
21995         (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
21996         (pa_legitimate_constant_p): Likewise.
21997         (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
21998         * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
21999         (rs6000_cannot_force_const_mem, rs6000_emit_move)
22000         (rs6000_address_for_altivec): Use tls_referenced_p instead of
22001         rs6000_tls_referenced_p.
22002         (rs6000_tls_symbol_ref_1): Delete.
22004 2014-07-26  Marc Glisse  <marc.glisse@inria.fr>
22006         PR target/44551
22007         * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
22008         Optimize inverse of a VEC_CONCAT.
22010 2014-07-25  Xinliang David Li  <davidxl@google.com>
22012         * params.def: New parameter.
22013         * coverage.c (get_coverage_counts): Check new flag.
22014         (coverage_compute_profile_id): Check new flag.
22015         (coverage_begin_function): Check new flag.
22016         (coverage_end_function): Check new flag.
22017         * value-prof.c (coverage_node_map_initialized_p): New function.
22018         (init_node_map): Populate map with all functions.
22019         * doc/invoke.texi: Document new parameter.
22021 2014-07-25  Jan Hubicka  <hubicka@ucw.cz>
22022             Richard Biener <rguenther@suse.de>
22024         * lto-streamer-out.c (struct sccs): Turn to ...
22025         (class DFS): ... this one; refactor the DFS walk so it can
22026         be re-done on per-SCC basis.
22027         (DFS::DFS): New constructor.
22028         (DFS::~DFS): New destructor.
22029         (hash_tree): Add new MAP argument holding in-SCC hash values;
22030         remove POINTER_TYPE hashing hack.
22031         (scc_entry_compare): Rename to ...
22032         (DFS::scc_entry_compare): ... this one.
22033         (hash_scc): Rename to ...
22034         (DFS::hash_scc): ... this one; pass output_block instead
22035         of streamer_cache; work harder to get unique and stable SCC
22036         hashes.
22037         (DFS_write_tree): Rename to ...
22038         (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
22039         (lto_output_tree): Update.
22041 2014-07-25  Andi Kleen  <ak@linux.intel.com>
22043         * lto-streamer-out.c (hash_tree): Convert to inchash.
22045 2014-07-25  Andi Kleen  <ak@linux.intel.com>
22047         * tree.c (build_type_attribute_qual_variant): Use inchash.
22048         (type_hash_list): Dito.
22049         (attribute_hash_list): Dito
22050         (iterative_hstate_expr): Dito.
22051         (iterative_hash_expr): Dito.
22052         (build_range_type_1): Dito.
22053         (build_array_type_1): Dito.
22054         (build_function_type): Dito.
22055         (build_method_type_directly): Dito.
22056         (build_offset_type): Dito.
22057         (build_complex_type): Dito.
22058         (make_vector_type): Dito.
22059         * tree.h (iterative_hash_expr): Add compat wrapper.
22060         (iterative_hstate_expr): Add.
22062 2014-07-25  Andi Kleen  <ak@linux.intel.com>
22064         * Makefile.in (OBJS): Add inchash.o.
22065         (PLUGIN_HEADERS): Add inchash.h.
22066         * ipa-devirt.c: Include inchash.h.
22067         * lto-streamer-out.c: Dito.
22068         * tree-ssa-dom.c: Dito.
22069         * tree-ssa-pre.c: Dito.
22070         * tree-ssa-sccvn.c: Dito.
22071         * tree-ssa-tail-merge.c: Dito.
22072         * asan.c: Dito.
22073         * tree.c (iterative_hash_hashval_t): Move to ...
22074         (iterative_hash_host_wide_int): Move to ...
22075         * inchash.c: Here. New file.
22076         * tree.h (iterative_hash_hashval_t): Move to ...
22077         (iterative_hash_host_wide_int): Move to ...
22078         * inchash.h: Here. New file.
22080 2014-07-25  Richard Biener  <rguenther@suse.de>
22082         PR middle-end/61762
22083         PR middle-end/61894
22084         * fold-const.c (native_encode_int): Add and handle offset
22085         parameter to do partial encodings of expr.
22086         (native_encode_fixed): Likewise.
22087         (native_encode_real): Likewise.
22088         (native_encode_complex): Likewise.
22089         (native_encode_vector): Likewise.
22090         (native_encode_string): Likewise.
22091         (native_encode_expr): Likewise.
22092         * fold-const.c (native_encode_expr): Add offset parameter
22093         defaulting to -1.
22094         * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
22095         (fold_ctor_reference): Handle all reads from tcc_constant
22096         ctors.
22098 2014-07-25  Richard Biener  <rguenther@suse.de>
22100         * tree-inline.c (estimate_move_cost): Mark speed_p argument
22101         as possibly unused.
22103 2014-07-23  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
22105         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
22107 2014-07-24  Kyle McMartin  <kyle@redhat.com>
22109         * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
22111 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22113         * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
22114         Add prototype.
22115         * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
22116         function.
22117         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
22118         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
22119         * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
22121 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22123         * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
22124         and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
22125         aggregate types.  Instead, *all* aggregate types, except for single-
22126         element or homogeneous float/vector aggregates, are quadword-aligned
22127         if required by their type alignment.  Issue -Wpsabi note when a type
22128         is now treated differently than before.
22130 2014-07-24  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22132         * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
22133         does not fit fully into floating-point registers, and there is still
22134         space in the register parameter area, use GPRs to pass those parts
22135         of the argument.  Issue -Wpsabi note if any parameter is now treated
22136         differently than before.
22137         (rs6000_arg_partial_bytes): Update.
22139 2014-07-24  Uros Bizjak  <ubizjak@gmail.com>
22141         * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
22143 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
22145         * rtl.h (target_rtl): Remove lang_dependent_initialized.
22146         * toplev.c (initialize_rtl): Don't use it.  Move previously
22147         "language-dependent" calls to...
22148         (backend_init): ...here.
22149         (lang_dependent_init_target): Don't set lang_dependent_initialized.
22150         Assert that RTL initialization hasn't happend yet.
22152 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
22154         PR rtl-optimization/61629
22155         * reginfo.c (reinit_regs): Only call ira_init and recog_init if
22156         they have already been initialized.
22158 2014-07-24  Richard Sandiford  <rdsandiford@googlemail.com>
22160         PR middle-end/61268
22161         * function.c (assign_parm_setup_reg): Prevent invalid sharing of
22162         DECL_INCOMING_RTL and entry_parm.
22163         (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
22164         * calls.c (load_register_parameters): Likewise argument values.
22165         (emit_library_call_value_1, store_one_arg): Likewise argument
22166         save areas.
22167         * config/i386/i386.c (assign_386_stack_local): Likewise the local
22168         stack slot.
22169         * explow.c (validize_mem): Modify the argument in-place.
22171 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
22173         * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
22174         (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
22176 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
22178         * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
22179         (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
22181 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
22183         * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
22184         (aarch64_save_callee_saves): New parameter "skip_wb".
22185         (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
22187 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
22189         * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
22190         "wb_candidate2".
22191         * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
22193 2014-07-24  Roman Gareev  <gareevroman@gmail.com>
22195         * graphite-isl-ast-to-gimple.c:
22196         (graphite_create_new_loop): Add calling of isl_id_free to properly
22197         decrement reference counts.
22199         * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
22201 2014-07-24  Martin Liska  <mliska@suse.cz>
22202         * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
22203         function used.
22204         * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
22205         (rs6000_code_end): Likewise.
22207 2014-07-24  Martin Liska  <mliska@suse.cz>
22209         * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
22210         symtab_node funtion used.
22211         (rs6000_xcoff_declare_object_name): Likewise.
22213 2014-07-24  Martin Liska  <mliska@suse.cz>
22215         * cgraphunit.c (compile): Correct function used.
22217 2014-07-24  Jan Hubicka  <hubicka@ucw.cz>
22219         * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
22220         as non-indexable.
22222 2014-07-24  Jan Hubicka  <hubicka@ucw.cz>
22224         PR lto/61802
22225         * varasm.c (bss_initializer_p): Handle offlined ctors.
22226         (align_variable, get_variable_align): Likewise.
22227         (make_decl_one_only): Likewise.
22228         (default_binds_local_p_1): Likewise.
22229         (decl_binds_to_current_def_p): Likewise.
22230         (get_variable_section): Get constructor if it is offlined.
22231         (assemble_variable_contents): Sanity check that the caller
22232         streamed in the ctor in LTO.
22234 2014-07-24  Roman Gareev  <gareevroman@gmail.com>
22236         * graphite-isl-ast-to-gimple.c:
22237         (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
22238         (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
22239         isl_ast_op_pdiv_r to the different case.
22241         * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
22243 2014-07-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22245         PR middle-end/61876
22246         * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
22247         when flag_errno_math is on.
22249 2014-07-24  Martin Liska  <mliska@suse.cz>
22251         * cgraph.h (varpool_node):
22252         (availability get_availability (void)):
22253         created from cgraph_variable_initializer_availability
22254         (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
22255         created from: cgraph_variable_initializer_availability
22256         (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
22257         (void finalize_named_section_flags (void)):
22258         created from varpool_finalize_named_section_flags
22259         (bool assemble_decl (void)): created from varpool_assemble_decl
22260         (void analyze (void)): created from varpool_analyze_node
22261         (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
22262         void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
22263         (void remove_initializer (void)): created from varpool_remove_initializer
22264         (tree get_constructor (void)): created from varpool_get_constructor
22265         (bool externally_visible_p (void)): created from varpool_externally_visible_p
22266         (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
22267         (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
22268         (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
22269         (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
22270         (static void finalize_decl (tree decl)): created from varpool_finalize_decl
22271         (static bool output_variables (void)): created from varpool_output_variables
22272         (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
22273         created from varpool_extra_name_alias
22274         (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
22275         (static void dump_varpool (FILE *f)): created from dump_varpool
22276         (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
22277         (static varpool_node *create_empty (void)): created from varpool_create_empty_node
22278         (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
22279         (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
22280         (void assemble_aliases (void)): created from assemble_aliases
22282 2014-07-24  Martin Liska  <mliska@suse.cz>
22284         * cgraph.h (symtab_node):
22285         (void register_symbol (void)): created from symtab_register_node
22286         (void remove (void)): created from symtab_remove_node
22287         (void dump (FILE *f)): created from dump_symtab_node
22288         (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
22289         (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
22290         (struct ipa_ref *add_reference (symtab_node *referred_node,
22291         enum ipa_ref_use use_type)): created from add_reference
22292         (struct ipa_ref *add_reference (symtab_node *referred_node,
22293         enum ipa_ref_use use_type, gimple stmt)): created from add_reference
22294         (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
22295         gimple stmt)): created from maybe_add_reference
22296         (bool semantically_equivalent_p (symtab_node *target)): created from
22297         symtab_semantically_equivalent_p
22298         (void remove_from_same_comdat_group (void)): created from
22299         remove_from_same_comdat_group
22300         (void add_to_same_comdat_group (symtab_node *old_node)): created from
22301         symtab_add_to_same_comdat_group
22302         (void dissolve_same_comdat_group_list (void)): created from
22303         symtab_dissolve_same_comdat_group_list
22304         (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
22305         (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
22306         created from symtab_alias_ultimate_target
22307         (inline symtab_node *next_defined_symbol (void)): created from
22308         symtab_next_defined_symbol
22309         (bool resolve_alias (symtab_node *target)): created from
22310         symtab_resolve_alias
22311         (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
22312         void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
22313         (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
22314         (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
22315         (void set_section (const char *section)): created from set_section_1
22316         (enum availability get_availability (void)): created from symtab_node_availability
22317         (void make_decl_local (void)): created from symtab_make_decl_local
22318         (bool real_symbol_p (void)): created from symtab_read_node
22319         (can_be_discarded_p (void)): created from symtab_can_be_discarded
22320         (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
22321         (inline bool in_same_comdat_group_p (symtab_node *target)): created from
22322         symtab_in_same_comdat_p;
22323         (bool address_taken_from_non_vtable_p (void)): created from
22324         address_taken_from_non_vtable_p
22325         (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
22326         (static void dump_table (FILE *)): created from dump_symtab
22327         (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
22328         (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
22329         (static bool used_from_object_file_p_worker (symtab_node *node)): created from
22330         symtab_used_from_object_file_p
22331         (void dump_base (FILE *)): created from dump_symtab_base
22332         (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
22333         (void unregister (void)): created from symtab_unregister_node
22334         (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
22335         (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
22336         (static bool noninterposable_alias (symtab_node *node, void *data)): created from
22337         symtab_nonoverwritable_alias_1
22338         * cgraph.h (cgraph_node):
22339         (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
22340         created from cgraph_remove_node_and_inline_clones
22341         (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
22342         (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
22343         bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
22344         (cgraph_node *function_symbol (enum availability *avail = NULL)):
22345         created from cgraph_function_node
22346         (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
22347         vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
22348         struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
22349         created from cgraph_create_clone
22350         (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
22351         vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
22352         created from cgraph_create_virtual_clone
22353         (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
22354         (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
22355         bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
22356         (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
22357         vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
22358         bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
22359         created from cgraph_function_version_info
22360         (struct cgraph_function_version_info *insert_new_function_version (void)):
22361         created from insert_new_cgraph_node_version
22362         (struct cgraph_function_version_info *function_version (void)): created from
22363         get_cgraph_node_version
22364         (void analyze (void)): created from analyze_function
22365         (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
22366         HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
22367         tree real_alias) cgraph_add_thunk
22368         (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
22369         (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
22370         created from cgraph_function_or_thunk_node
22371         (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
22372         created from expand_thunk
22373         (void reset (void)): created from cgraph_reset_node
22374         (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
22375         (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
22376         (void remove (void)): created from cgraph_remove_node
22377         (void dump (FILE *f)): created from dump_cgraph_node
22378         (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
22379         (bool get_body (void)): created from cgraph_get_body
22380         (void release_body (void)): created from cgraph_release_function_body
22381         (void unnest (void)): created from cgraph_unnest_node
22382         (void make_local (void)): created from cgraph_make_node_local
22383         (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
22384         (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
22385         gcov_type count, int freq)): created from cgraph_create_edge
22386         (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
22387         gcov_type count, int freq)): created from cgraph_create_indirect_edge
22388         (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
22389         gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
22390         created from cgraph_create_edge_including_clones
22391         (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
22392         (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
22393         (void remove_callers (void)): created from cgraph_node_remove_callers
22394         (void remove_callees (void)): created from cgraph_node_remove_callees
22395         (enum availability get_availability (void)): created from cgraph_function_body_availability
22396         (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
22397         (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
22398         (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
22399         (void call_duplication_hooks (cgraph_node *node2)): created from
22400         cgraph_call_node_duplication_hooks
22401         (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
22402         void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
22403         (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
22404         void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
22405         (void call_function_insertion_hooks (void)):
22406         created from cgraph_call_function_insertion_hooks
22407         (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
22408         (bool local_p (void)): created from cgraph_local_node
22409         (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
22410         (bool cannot_return_p (void)): created from cgraph_node_cannot_return
22411         (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
22412         (inline bool only_called_directly_or_aliased_p (void)):
22413         created from cgraph_only_called_directly_or_aliased_p
22414         (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
22415         created from cgraph_will_be_removed_from_program_if_no_direct_calls
22416         (bool can_remove_if_no_direct_calls_and_refs_p (void)):
22417         created from cgraph_can_remove_if_no_direct_calls_and_refs_p
22418         (bool can_remove_if_no_direct_calls_p (void)):
22419         created from cgraph_can_remove_if_no_direct_calls_p
22420         (inline bool has_gimple_body_p (void)):
22421         created from cgraph_function_with_gimple_body_p
22422         (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
22423         (static void dump_cgraph (FILE *f)): created from dump_cgraph
22424         (static inline void debug_cgraph (void)): created from debug_cgraph
22425         (static void record_function_versions (tree decl1, tree decl2)):
22426         created from record_function_versions
22427         (static void delete_function_version (tree decl)):
22428         created from delete_function_version
22429         (static void add_new_function (tree fndecl, bool lowered)):
22430         created from cgraph_add_new_function
22431         (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
22432         (static cgraph_node * create (tree decl)): created from cgraph_create_node
22433         (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
22434         (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
22435         (static cgraph_node *get_for_asmname (tree asmname)):
22436         created from cgraph_node_for_asm
22437         (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
22438         created from cgraph_same_body_alias
22439         (static bool used_from_object_file_p_worker (cgraph_node *node,
22440         void *): new function
22441         (static bool non_local_p (cgraph_node *node, void *)):
22442         created from cgraph_non_local_node_p_1
22443         (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
22444         created from verify_cgraph
22445         (static bool make_local (cgraph_node *node, void *)):
22446         created from cgraph_make_node_local
22447         (static cgraph_node *create_alias (tree alias, tree target)):
22448         created from cgraph_create_function_alias
22449         (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
22450         gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
22451         created from cgraph_create_edge_1
22452         * cgraph.h (varpool_node):
22453         (void remove (void)): created from varpool_remove_node
22454         (void dump (FILE *f)): created from dump_varpool_node
22456 2014-07-24  Richard Biener  <rguenther@suse.de>
22458         PR ipa/61823
22459         * tree-ssa-structalias.c (create_variable_info_for_1):
22460         Use varpool_get_constructor.
22461         (create_variable_info_for): Likewise.
22463 2014-07-24  Jiong Wang  <jiong.wang@arm.com>
22465         * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
22466         subtract outgoing area size when restoring stack_pointer_rtx.
22468 2014-07-24  Nick Clifton  <nickc@redhat.com>
22470         * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
22471         that operations are taking place in parallel.
22472         * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
22474 2014-07-24  Thomas Schwinge  <thomas@codesourcery.com>
22476         * omp-low.c (extract_omp_for_data): Add missing break statement.
22478 2014-07-24  Richard Biener  <rguenther@suse.de>
22480         * tree-inline.h (estimate_move_cost): Add speed_p parameter.
22481         * tree-inline.c (estimate_move_cost): Add speed_p parameter
22482         and adjust MOVE_RATIO query accordingly.
22483         (estimate_num_insns): Adjust callers.
22484         * ipa-prop.c (ipa_populate_param_decls): Likewise.
22485         * ipa-cp.c (gather_context_independent_values,
22486         estimate_local_effects): Likewise.
22487         * ipa-split.c (consider_split): Likewise.
22489 2014-07-24  Trevor Saunders  <tsaunders@mozilla.com>
22491         * config/i386/driver-i386.c: Remove names of unused arguments and
22492         unnecessary unused attributes.
22493         * config/i386/host-mingw32.c: Likewise.
22494         * config/i386/i386.c: Likewise.
22495         * config/i386/winnt-stubs.c: Likewise.
22496         * config/i386/winnt.c: Likewise.
22498 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22500         * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
22501         (aarch64_gen_loadwb_pair): New helper function.
22502         (aarch64_expand_epilogue): Simplify code using new helper functions.
22503         * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
22505 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22507         * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
22508         (aarch64_gen_storewb_pair): New helper function.
22509         (aarch64_expand_prologue): Simplify code using new helper functions.
22510         * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
22512 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22514         * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
22515         Rename to aarch64_save_callee_saves, remove restore code.
22516         (aarch64_restore_callee_saves): New function.
22518 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22520         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
22521         (aarch64_save_callee_saves): New function to handle reg save
22522         for both core and vectore regs.
22524 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22526         * config/aarch64/aarch64.c (aarch64_gen_load_pair)
22527         (aarch64_gen_store_pair): New helper function.
22528         (aarch64_save_or_restore_callee_save_registers)
22529         (aarch64_save_or_restore_fprs): Use new helper functions.
22531 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22533         * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
22534         (aarch64_save_or_restore_callee_save_registers)
22535         (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
22537 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22539         * config/aarch64/aarch64.c
22540         (aarch64_save_or_restore_callee_save_registers)
22541         (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
22543 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22545         * config/aarch64/aarch64.c
22546         (aarch64_save_or_restore_callee_save_registers)
22547         (aarch64_save_or_restore_fprs): Remove 'increment'.
22549 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22551         * config/aarch64/aarch64.c
22552         (aarch64_save_or_restore_callee_save_registers)
22553         (aarch64_save_or_restore_fprs): Use register offset in
22554         cfun->machine->frame.reg_offset.
22556 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22558         * config/aarch64/aarch64.c
22559         (aarch64_save_or_restore_callee_save_registers)
22560         (aarch64_save_or_restore_fprs): Remove base_rtx.
22562 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22564         * config/aarch64/aarch64.c
22565         (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
22566         to 'start_offset'.  Remove local variable 'start_offset'.
22568 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22570         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
22571         type to HOST_WIDE_INT.
22573 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22575         * config/aarch64/aarch64.c (aarch64_expand_prologue)
22576         (aarch64_save_or_restore_fprs)
22577         (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
22579 2014-07-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
22581         * config/arm/t-rtems-eabi: Add
22582         mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
22583         mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
22584         mbig-endian/mthumb/march=armv7-r, and
22585         mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
22586         multilibs.
22588 2014-07-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
22589             Chris Johns <chrisj@rtems.org>
22590             Joel Sherrill <joel.sherrill@oarcorp.com>
22592         * config.gcc: Add nios2-*-rtems*.
22593         * config/nios2/rtems.h: New file.
22594         * gcc/config/nios2/t-rtems: New file.
22596 2014-07-23  Segher Boessenkool  <segher@kernel.crashing.org>
22598         PR target/61396
22599         * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
22600         constant numbers, not general constants.
22601         (rs6000_expand_vector_init): Ditto.
22603 2014-07-23  Nathan Sidwell  <nathan@acm.org>
22605         * gcov-tool.c (gcov_list): Declare here.
22606         (set_gcov_list): Remove.
22607         (gcov_output_files): Set gcov_list directly.
22609 2014-07-23  Host Schirmeier  <horst@schirmeier.com>
22611         * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
22613 2014-07-23  Jiong Wang  <jiong.wang@arm.com>
22615         * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
22616         callee-saved registers are available for padding purpose
22617         and r3 is not mandatory, then prefer use those callee-saved
22618         instead of r3.
22620 2014-07-23  Richard Biener  <rguenther@suse.de>
22622         * params.def (PARAM_MAX_COMBINE_INSNS): New.
22623         * combine.c: Include statistics.h and params.h.
22624         (combine_instructions): Guard three and four insn combines
22625         with max-combine-insns value.  Record statistics for combines
22626         performed.
22627         * doc/invoke.texi (max-combine-insns): Document new param.
22629 2014-07-23  Roman Gareev  <gareevroman@gmail.com>
22631         * graphite-isl-ast-to-gimple.c:
22632         (translate_isl_ast_node_block): New function.
22633         (translate_isl_ast): Add calling of translate_isl_ast_node_block.
22635         * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
22636         * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
22638 2014-07-23  Roman Gareev  <gareevroman@gmail.com>
22640         * graphite-isl-ast-to-gimple.c:
22641         (get_max_schedule_dimensions): New function.
22642         (extend_schedule): Likewise.
22643         (generate_isl_schedule): Add calling of extend_schedule and
22644         get_max_schedule_dimensions.
22646 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22648         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
22649         (case UNSPEC): Handle UNSPEC_RBIT.
22651 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22653         * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
22654         (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
22656 2014-07-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22658         * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
22660 2014-07-22  Roman Gareev  <gareevroman@gmail.com>
22662         * graphite-isl-ast-to-gimple.c:
22663         Add inclusion of gimple-ssa.h, tree-into-ssa.h.
22664         (ivs_params_clear):
22665         (build_iv_mapping): New function.
22666         (translate_isl_ast_node_user): Likewise.
22667         (translate_isl_ast): Add calling of translate_isl_ast_node_user.
22669         * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
22670         * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
22671         * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
22673 2014-07-21  Bin Cheng  <bin.cheng@arm.com>
22675         PR target/55701
22676         * config/arm/arm.md (setmem): New pattern.
22677         * config/arm/arm-protos.h (struct tune_params): New fields.
22678         (arm_gen_setmem): New prototype.
22679         * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
22680         (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
22681         (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
22682         (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
22683         (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
22684         (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
22685         (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
22686         (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
22687         (arm_const_inline_cost): New function.
22688         (arm_block_set_max_insns): New function.
22689         (arm_block_set_non_vect_profit_p): New function.
22690         (arm_block_set_vect_profit_p): New function.
22691         (arm_block_set_unaligned_vect): New function.
22692         (arm_block_set_aligned_vect): New function.
22693         (arm_block_set_unaligned_non_vect): New function.
22694         (arm_block_set_aligned_non_vect): New function.
22695         (arm_block_set_vect, arm_gen_setmem): New functions.
22697 2014-07-21  Bin Cheng  <bin.cheng@arm.com>
22699         * config/arm/arm.c (output_move_neon): Handle REG explicitly.
22701 2014-07-21  Uros Bizjak  <ubizjak@gmail.com>
22703         PR target/61855
22704         * config/i386/avx512fintrin.h: Move constants for mantissa extraction
22705         out of #ifdef __OPTIMIZE__.
22707 2014-07-20  Eric Botcazou  <ebotcazou@adacore.com>
22709         * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
22710         different trapping status if -fnon-call-exceptions is enabled.
22712 2014-07-20  Eric Botcazou  <ebotcazou@adacore.com>
22714         * expr.c (store_field): Handle VOIDmode for calls that return values
22715         in multiple locations.
22717 2014-07-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
22719         * config/rs6000/altivec.md (unspec enum):  Fix typo in UNSPEC_VSLDOI.
22720         (altivec_vsldoi_<mode>): Likewise.
22722 2014-07-20  Roman Gareev  <gareevroman@gmail.com>
22724         * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
22725         to the number of characters in the line.
22727 2014-07-20  Roman Gareev  <gareevroman@gmail.com>
22729         * graphite-isl-ast-to-gimple.c: Add using of
22730         build_nonstandard_integer_type instead of int128_integer_type_node.
22732 2014-07-19  Eric Botcazou  <ebotcazou@adacore.com>
22734         * toplev.c (output_stack_usage): Adjust the location of the warning.
22736 2014-07-19  Daniel Cederman  <cederman@gaisler.com>
22738         * config/sparc/sync.md (*membar_storeload_leon3): New insn.
22739         (*membar_storeload): Disable for LEON3.
22741 2014-07-18  Bernd Edlinger  <bernd.edlinger@hotmail.de>
22743         PR rtl-optimization/61461
22744         * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
22746 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
22748         PR target/61794
22749         * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
22750         Fix instruction constraint.
22751         (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
22753 2014-07-18  Jonathan Wakely  <jwakely@redhat.com>
22755         * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
22757 2014-07-18  Chung-Ju Wu  <jasonwucj@gmail.com>
22759         * config/nds32/nds32.c (nds32_can_eliminate): Follow the
22760         GNU coding standards.
22761         (nds32_register_move_cost): Likewise.
22762         (nds32_memory_move_cost): Likewise.
22763         (nds32_address_cost): Likewise.
22765 2014-07-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
22767         * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
22769 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
22771         * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
22772         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
22773         and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
22774         (HAVE_sync_compare_and_swapqi): Define.
22775         (HAVE_sync_compare_and_swaphi): Likewise.
22776         (HAVE_sync_compare_and_swapsi): Likewise.
22778 2014-07-17  Richard Sandiford  <rdsandiford@googlemail.com>
22780         * config/mips/p5600.md: Add missing cpu tests.
22782 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22784         * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
22785         (vmla_f64): Likewise.
22786         (vfms_f64): Likewise.
22787         (vmls_f64): Likewise.
22789 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22791         * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
22792         (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
22794 2014-07-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
22796         * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
22797         (vmlal_high_lane_s32): Likewise.
22798         (vmlal_high_lane_u16): Likewise.
22799         (vmlal_high_lane_u32): Likewise.
22800         (vmlsl_high_lane_s16): Likewise.
22801         (vmlsl_high_lane_s32): Likewise.
22802         (vmlsl_high_lane_u16): Likewise.
22803         (vmlsl_high_lane_u32): Likewise.
22805 2014-07-17  Terry Guo  <terry.guo@arm.com>
22807         * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
22808         (alus_reg): Renamed to alus_sreg.
22809         * config/arm/arm-fixed.md: Change type of non-dsp instructions
22810         from alu_reg to alu_sreg.  Change type of dsp instructions from
22811         alu_reg to alu_dsp_reg.
22812         * config/arm/thumb1.md: Likewise.
22813         * config/arm/thumb2.md: Likewise.
22814         * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
22815         * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
22816         with alu_sreg and alus_sreg.
22817         * config/arm/arm1026ejs.md (alu_op): Likewise.
22818         * config/arm/arm1136jfs.md (11_alu_op): Likewise.
22819         * config/arm/arm926ejs.md (9_alu_op): Likewise.
22820         * config/arm/fa526.md (526_alu_op): Likewise.
22821         * config/arm/fa606te.md (606te_alu_op): Likewise.
22822         * config/arm/fa626te.md (626te_alu_op): Likewise.
22823         * config/arm/fa726te.md (726te_alu_op): Likewise.
22824         * config/arm/fmp626.md (mp626_alu_op): Likewise.
22825         * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
22826         alu_sreg, alu_dsp_reg and alus_sreg.
22827         * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
22828         * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
22829         * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
22830         * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
22831         * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
22832         * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
22833         * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
22834         * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
22835         * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
22836         * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
22837         subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
22838         *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
22839         (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
22840         sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
22841         subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
22842         alus_reg to alus_sreg.
22844 2014-07-17  Andreas Schwab  <schwab@linux-m68k.org>
22846         * real.c (encode_ieee_extended_motorola): Clear integer bit in the
22847         infinity format.
22849 2014-07-17  Richard Biener  <rguenther@suse.de>
22851         PR rtl-optimization/61801
22852         * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
22853         don't set reg_pending_barrier if it appears in a debug-insn.
22855 2014-07-16  DJ Delorie  <dj@redhat.com>
22857         * config/rx/rx.c (rx_option_override): Fix alignment values.
22858         (rx_align_for_label): Likewise.
22860 2014-07-17  Hans-Peter Nilsson  <hp@axis.com>
22862         PR target/61737.
22863         * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
22864         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
22865         (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
22866         functions.
22867         (cris_print_index, cris_print_operand, cris_constant_index_p)
22868         (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
22869         (cris_address_cost): Ditto last CONSTANT_P.
22870         (cris_symbol_type_of): Rename from cris_pic_symbol_type_of.  All
22871         callers changed.  Yield cris_offsettable_symbol for non-PIC
22872         constant symbolic expressions including labels.  Yield cris_unspec
22873         for all unspecs.
22874         (cris_expand_pic_call_address): New parameter MARKERP.  Set its
22875         target to pic_offset_table_rtx for calls that will likely go
22876         through PLT, const0_rtx when they can't.  All callers changed.
22877         Assert flag_pic.  Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
22878         symbolic expressions to be PICified.  Remove second, redundant,
22879         assert on can_create_pseudo_p returning non-zero.  Use
22880         replace_equiv_address_nv, not replace_equiv_address, for final
22881         operand update.
22882         * config/cris/cris.md ("movsi"): Move variable t to pattern
22883         toplevel. Adjust assert for new cris_symbol_type member.  Use
22884         CONSTANT_P instead of CONSTANT_ADDRESS_P.
22885         ("*movsi_internal") <case 9>: Make check for valid unspec operands
22886         for lapc stricter.
22887         <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
22888         ("call", "call_value"): Use second incoming operand as a marker
22889         for pic-offset-table-register being used.
22890         ("*expanded_call_non_v32", "*expanded_call_v32")
22891         ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
22892         second incoming operand to CALL, match cris_call_type_marker.
22893         ("*expanded_call_value_side"): Ditto.  Disable before reload_completed.
22894         ("*expanded_call_side"): Ditto.  Fix typo in comment.
22895         (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
22896         CONSTANT_P.
22897         * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
22898         * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
22899         (enum cris_symbol_type): Rename from cris_pic_symbol_type.  All
22900         users changed.  Add members cris_offsettable_symbol and cris_unspec.
22901         (cris_symbol_type): Rename from cris_pic_symbol_type.
22902         * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
22903         just CONSTANT_P.
22904         * config/cris/cris-protos.h (cris_symbol_type_of,
22905         cris_expand_pic_call_address): Adjust prototypes.
22906         (cris_legitimate_constant_p): New prototype.
22908         * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
22909         an existing tmake_file.  Don't add t-slibgcc and t-linux.
22911 2014-07-17  Jason Merrill  <jason@redhat.com>
22913         PR c++/61623
22914         * symtab.c (symtab_remove_from_same_comdat_group): Also
22915         set_comdat_group to NULL_TREE.
22916         (verify_symtab): Fix diagnostic.
22918 2014-07-16  David Wohlferd  <dw@LimeGreenSocks.com>
22920         PR target/61662
22921         * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
22923 2014-07-16  Dodji Seketeli  <dodji@redhat.com>
22925         Support location tracking for built-in macro tokens
22926         * input.h (is_location_from_builtin_token): New function declaration.
22927         * input.c (is_location_from_builtin_token): New function definition.
22928         * toplev.c (general_init): Tell libcpp what the pre-defined
22929         spelling location for built-in tokens is.
22931 2014-07-16  Jakub Jelinek  <jakub@redhat.com>
22933         * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
22934         on the FUNCTION_DECL.
22936 2014-07-16  Richard Biener  <rguenther@suse.de>
22938         PR other/61782
22939         * doc/extend.texi (always_inline): Clarify.
22941 2014-07-15  Eric Christopher  <echristo@gmail.com>
22943         * doc/invoke.texi (Link Options): Document -z option.
22945 2014-07-15  Uros Bizjak  <ubizjak@gmail.com>
22947         * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
22948         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
22950 2014-07-15  Jan Hubicka  <hubicka@ucw.cz>
22952         * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
22954 2014-07-15  Bernd Schmidt  <bernds@codesourcery.com>
22956         * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
22957         varpool_assemble_decl.
22958         * varpool.c (varpool_assemble_decl): Assert that node->definition is
22959         true.
22961 2014-07-15  Michael Matz  <matz@suse.de>
22963         PR rtl-optimization/61772
22964         * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
22966 2014-07-15  Richard Biener  <rguenther@suse.de>
22968         * opts.c (default_options_table): Disable bit-ccp at -Og.
22970 2014-07-14  Jan Hubicka  <hubicka@ucw.cz>
22972         * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
22974 2014-07-14  Jan Hubicka  <hubicka@ucw.cz>
22976         * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
22977         NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
22978         call langhook for unknown declaration.
22979         (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
22980         * tree.h (DECL_ARGUMENTS): Update.
22981         * print-tree.c (print_node): Update.
22982         * tree-core.h (tree_decl_non_common): Remove arguments.
22983         (tree_function_decl): Add arguments.
22985 2014-07-14  Richard Earnshaw  <rearnsha@arm.com>
22987         * aarch64.md (add_losym_<mode>): Set type to alu_imm.
22989 2014-07-14  Richard Biener  <rguenther@suse.de>
22991         PR tree-optimization/61779
22992         * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
22993         simplifying a condition.
22995 2014-07-14  Richard Biener  <rguenther@suse.de>
22997         * builtins.c (c_strlen): Make only_value == 2 really only
22998         affect warning generation.
23000 2014-07-14  Richard Biener  <rguenther@suse.de>
23002         PR tree-optimization/61757
23003         PR tree-optimization/61783
23004         PR tree-optimization/61787
23005         * tree-ssa-dom.c (record_equality): Revert canonicalization
23006         change and add comment.
23007         (propagate_rhs_into_lhs): Revert previous fix, removing
23008         loop depth restriction again.
23010 2014-07-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
23012         * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
23013         * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
23014         * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
23015         * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
23016         * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
23017         * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
23018         * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
23020 2014-07-14  Richard Biener  <rguenther@suse.de>
23022         * cgraph.h (decl_in_symtab_p): Make inline.
23024 2014-07-14  Jakub Jelinek  <jakub@redhat.com>
23026         PR middle-end/61294
23027         * doc/invoke.texi (-Wmemset-transposed-args): Document.
23029         PR target/61656
23030         * config/i386/i386.c (classify_argument): Don't merge classes above
23031         number of words.
23033 2014-07-13  Jan Hubicka  <hubicka@ucw.cz>
23035         * cgraph.h (symtab_node): Add nonzero_address.
23036         (decl_in_symtab_p): Break out from ...
23037         (symtab_get_node): ... here.
23038         * fold-const.c: Include cgraph.h
23039         (tree_single_nonzero_warnv_p): Use symtab to determine
23040         if symbol is non-zero.
23041         * symtab.c (symtab_node::nonzero_address): New method.
23043 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
23045         * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
23046         forgotten in previous commit.
23048 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
23050         * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
23051         on builtin types.
23052         * ipa-devirt.c: Include stor-layout.h and intl.h
23053         (odr_subtypes_equivalent_p): New function.
23054         (warn_odr): New function.
23055         (warn_type_mismatch): New function.
23056         (odr_types_equivalent_p): New function.
23057         (add_type_duplicate): Use it.
23058         * common.opt (Wodr): New flag.
23059         * doc/invoke.texi (Wodr): Document new warning.
23061 2014-07-12  Jan Hubicka  <hubicka@ucw.cz>
23063         * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
23064         (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
23065         * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
23066         (varpool_get_constructor): Push CTORS_IN timevar.
23067         * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
23069 2014-07-12  Uros Bizjak  <ubizjak@gmail.com>
23071         * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
23072         Remove VOID_FTYPE_PUSHORT.
23073         * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
23074         Change code to USHORT_FTYPE_VOID.
23075         (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
23076         (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
23077         (ix86_atomic_assign_expand_fenv): Update for
23078         __builtin_ia32_fnstsw changes.
23079         * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
23080         (fnstsw): Change operand 0 to nonimmediate operand.
23082 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
23084         * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
23085         (varpool_get_constructor): New function.
23086         (varpool_ctor_useable_for_folding_p): Break out from ...
23087         (ctor_for_folding): ... here; use varpool_get_constructor.
23088         (varpool_assemble_decl): Likewise.
23089         * lto-streamer.h (struct output_block): Turn cgraph_node
23090         to symbol filed.
23091         (lto_input_variable_constructor): Declare.
23092         * ipa-visibility.c (function_and_variable_visibility): Use
23093         varpool_get_constructor.
23094         * cgraph.h (varpool_get_constructor): Declare.
23095         (varpool_ctor_useable_for_folding_p): New function.
23096         * lto-streamer-out.c (get_symbol_initial_value): Take encoder
23097         parameter; return error_mark_node for non-trivial constructors.
23098         (lto_write_tree_1, DFS_write_tree): Update use of
23099         get_symbol_initial_value.
23100         (output_function): Update initialization of symbol.
23101         (output_constructor): New function.
23102         (copy_function): Rename to ..
23103         (copy_function_or_variable): ... this one; handle vars too.
23104         (lto_output): Output variable sections.
23105         * lto-streamer-in.c (input_constructor): New function.
23106         (lto_read_body): Rename from ...
23107         (lto_read_body_or_constructor): ... this one; handle vars too.
23108         (lto_input_variable_constructor): New function.
23109         * ipa-prop.c (ipa_prop_write_jump_functions,
23110         ipa_prop_write_all_agg_replacement): Update.
23111         * lto-cgraph.c (compute_ltrans_boundary): Use it.
23112         (output_cgraph_opt_summary): Set symbol to NULL.
23114 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
23116         * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
23117         non-polymorphic types.
23118         * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
23119         * ipa-devirt.c (types_same_for_odr): Do not explode when one
23120         of types is not polymorphic.
23122 2014-07-11  Vladimir Makarov  <vmakarov@redhat.com>
23124         * lra-constraints.c (remove_inheritance_pseudos): Process
23125         destination pseudo too.
23127 2014-07-11  Rong Xu  <xur@google.com>
23129         * gcov-tool.c (gcov_output_files): Fix build error introduced in
23130         commit r212448.
23132 2014-07-11  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
23134         * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
23135         * config/avr/avr-devices.c (AVR_MCU): Same.
23136         (avr_mcu_types): add text start value to end of device list.
23137         * config/avr/avr-mcus.def: Add text section start for all devices.
23138         (ata5782): Add new avr5 device.
23139         (ata5831): Same.
23140         * config/avr/avr-tables.opt: Regenerate.
23141         * config/avr/avr.h: Add declaration for text section start handler.
23142         (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
23143         SPEC functions.
23144         (LINK_SPEC): Include text section start handler to linker spec.
23145         * config/avr/driver-avr.c (avr_device_to_text_start): New function to
23146         pass -Ttext option to linker if the text section start for the device
23147         is not zero.
23148         * config/avr/t-multilib: Regenerate.
23149         * doc/avr-mmcu.texi: Regenerate.
23151 2014-07-11  David Edelsohn  <dje.gcc@gmail.com>
23153         * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
23154         * config/rs6000/aix52.h (LINK_SPEC): Same.
23155         * config/rs6000/aix53.h (LINK_SPEC): Same.
23156         * config/rs6000/aix61.h (LINK_SPEC): Same.
23157         * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
23159 2014-07-11  Roman Gareev  <gareevroman@gmail.com>
23161         * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
23162         (graphite_verify): New function.
23163         (ivs_params_clear): New function.
23164         (gcc_expression_from_isl_ast_expr_id): New function.
23165         (gcc_expression_from_isl_expr_int): New function.
23166         (binary_op_to_tree): New function.
23167         (ternary_op_to_tree): New function.
23168         (unary_op_to_tree): New function.
23169         (nary_op_to_tree): New function.
23170         (gcc_expression_from_isl_expr_op): New function.
23171         (gcc_expression_from_isl_expression): New function.
23172         (graphite_create_new_loop): New function.
23173         (translate_isl_ast_for_loop): New function.
23174         (get_upper_bound): New function.
23175         (graphite_create_new_loop_guard): New function.
23176         (translate_isl_ast_node_for): New function.
23177         (translate_isl_ast): New function.
23178         (add_parameters_to_ivs_params): New function.
23179         (scop_to_isl_ast): New parameter ip.
23180         (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
23182 2014-07-11  Jan Hubicka  <hubicka@ucw.cz>
23184         * config/xtensa/predicates.md (call expander): Update for
23185         DECL_SECTION_NAME being string.
23187 2014-07-11  Richard Biener  <rguenther@suse.de>
23189         PR middle-end/61473
23190         * builtins.c (fold_builtin_memory_op): Inline memory moves that
23191         can be implemented with a single load followed by a single store.
23192         (c_strlen): Only warn when only_value is not 2.
23194 2014-07-11  Evgeny Stupachenko  <evstupac@gmail.com>
23196         * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
23198 2014-07-11  Marat Zakirov  <m.zakirov@samsung.com>
23200         PR target/61561
23201         * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
23202         (*movhi_bytes): Likewise.
23203         (*arm_movqi_insn): Likewise.
23205 2014-07-11  Uros Bizjak  <ubizjak@gmail.com>
23207         PR target/56858
23208         * config/alpha/alpha.c: Include tree-pass.h, context.h
23209         and pass_manager.h.
23210         (pass_data_handle_trap_shadows): New pass.
23211         (pass_handle_trap_shadows::gate): New pass gate function.
23212         (make_pass_handle_trap_shadows): New function.
23213         (rest_of_handle_trap_shadows): Ditto.
23215         (alpha_align_insns_1): Rename from alpha_align_insns.
23216         (pass_data_align_insns): New pass.
23217         (pass_align_insns::gate): New pass gate function.
23218         (make_pass_aling_insns): New function.
23219         (rest_of_align_insns): Ditto.
23220         (alpha_align_insns): Ditto.
23222         (alpha_option_override): Declare handle_trap_shadows info
23223         and align_insns_info.  Register handle_trap_shadows and align_insns
23224         passes here.
23225         (alpha_reorg): Do not call alpha_trap_shadows and
23226         alpha_align_insn from here.
23228         (alpha_pad_function_end): Do not skip BARRIERs.
23230 2014-07-10  Rong Xu  <xur@google.com>
23232         Add gcov-tool: an offline gcda profile processing tool support.
23233         * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
23234         (gcov_is_error): Ditto.
23235         (gcov_read_string): Ditto.
23236         (gcov_read_sync): Ditto.
23237         * gcov-io.h: Move counter defines to gcov-counter.def.
23238         * gcov-dump.c (tag_counters): Use gcov-counter.def.
23239         * coverage.c: Ditto.
23240         * gcov-tool.c: Offline gcda profile processing tool.
23241         (unlink_gcda_file): Remove one gcda file.
23242         (unlink_profile_dir): Remove gcda files from the profile path.
23243         (gcov_output_files): Output gcda files to an output dir.
23244         (profile_merge): Merge two profiles in directory.
23245         (print_merge_usage_message): Print merge usage.
23246         (merge_usage): Print merge usage and exit.
23247         (do_merge): Driver for profile merge sub-command.
23248         (profile_rewrite): Rewrite profile.
23249         (print_rewrite_usage_message): Print rewrite usage.
23250         (rewrite_usage): Print rewrite usage and exit.
23251         (do_rewrite): Driver for profile rewrite sub-command.
23252         (print_usage): Print gcov-info usage and exit.
23253         (print_version): Print gcov-info version.
23254         (process_args): Process arguments.
23255         (main): Main routine for gcov-tool.
23256         * Makefile.in: Build and install gcov-tool.
23257         * gcov-counter.def: New file split from gcov-io.h.
23258         * doc/gcc.texi: Include gcov-tool.texi.
23259         * doc/gcov-tool.texi: Document for gcov-tool.
23261 2014-07-10  Richard Biener  <rguenther@suse.de>
23263         PR tree-optimization/61757
23264         * tree-ssa-dom.c (loop_depth_of_name): Restore.
23265         (propagate_rhs_into_lhs): Revert part of last change.
23267 2014-07-10  Thomas Schwinge  <thomas@codesourcery.com>
23269         * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
23270         FUNCTION_DECLs.
23272 2014-07-10  Eric Botcazou  <ebotcazou@adacore.com>
23274         PR middle-end/53590
23275         * function.c (allocate_struct_function): Revert r188667 change.
23277         * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
23279 2014-07-10  Tom G. Christensen  <tgc@jupiterrise.com>
23281         * doc/install.texi: Remove links to defunct package providers for
23282         Solaris.
23284 2014-07-09  Tom de Vries  <tom@codesourcery.com>
23286         * final.c (get_call_fndecl): Declare.
23287         (self_recursive_call_p): New function.
23288         (collect_fn_hard_reg_usage): Handle self-recursive function calls.
23290 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23292         * ipa-devirt.c (record_node): Walk through aliases.
23294 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23296         * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
23298 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23300         Revert:
23301         * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
23303 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23305         * ipa-visibility.c (function_and_variable_visibility): Remove
23306         temporary hack disabling local aliases on AIX.
23308 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23310         * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
23311         * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
23313 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23315         * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
23316         * rs6000/rs6000.c: Inline output of .set instruction.
23317         (declare_alias_data): New struct.
23318         (rs6000_declare_alias): New function.
23319         (rs6000_xcoff_declare_function_name): Use it.
23320         (rs6000_xcoff_declare_object_name): New function.
23321         * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
23322         (ASM_OUTPUT_DEF): Turn to empty definition.
23324 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
23326         PR bootstrap/61679
23327         * hash-table.h: use hash_table::value_type instead of
23328         Descriptor::value_type in the return types of several methods.
23330 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
23332         * tree-pass.h (pass_data): Remove has_execute member.
23333         * passes.c (execute_one_pass): Don't check pass->has_execute.
23334         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
23335         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
23336         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
23337         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
23338         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
23339         config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
23340         config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
23341         dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
23342         gimple-low.c, gimple-ssa-isolate-paths.c,
23343         gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
23344         ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
23345         ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
23346         ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
23347         lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
23348         postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
23349         reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
23350         stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
23351         tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
23352         tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
23353         tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
23354         tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
23355         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
23356         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
23357         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
23358         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
23359         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
23360         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
23361         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
23362         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
23363         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
23364         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
23365         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
23366         web.c: Remove initializer for pass_data::has_execute.
23368 2014-07-08  Trevor Saunders  <tsaunders@mozilla.com>
23370         * graphite-htab.h: Use hash_map instead of hash_table.
23371         * graphite-clast-to-gimple.c: Adjust.
23372         * passes.c: Use hash_map instead of hash_table.
23373         * sese.c: Likewise.
23374         * sese.h: Remove now unused code.
23376 2014-07-08  Sriraman Tallam  <tmsriram@google.com>
23378         PR target/61599
23379         * config/i386/i386.c (ix86_in_large_data_p): Check for size less
23380         than zero.
23382 2014-07-08  Jakub Jelinek  <jakub@redhat.com>
23384         PR rtl-optimization/61673
23385         * combine.c (simplify_comparison): Test just mode's sign bit
23386         in tmode rather than the sign bit and any bits above it.
23388 2014-07-08  Roman Gareev  <gareevroman@gmail.com>
23390         * graphite-isl-ast-to-gimple.c (generate_isl_context):
23391         Add __isl_give to the declaration.
23392         (generate_isl_schedule): Likewise.
23393         (scop_to_isl_ast): Likewise.
23395 2014-07-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
23397         * config/arm/arm.c (cortexa5_extra_costs): New table.
23398         (arm_cortex_a5_tune): Use cortexa5_extra_costs.
23400 2014-07-08  Jakub Jelinek  <jakub@redhat.com>
23402         PR tree-optimization/61725
23403         * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
23404         range, use range_includes_zerop_p instead of integer_zerop on
23405         vr0->min, only use log2 of max if min is not negative.
23407 2014-07-08  Richard Biener  <rguenther@suse.de>
23409         * tree-ssa-dom.h (loop_depth_of_name): Remove.
23410         * tree-ssa-dom.c (record_equivalences_from_phis): Remove
23411         restriction on loop depth difference.
23412         (record_equality): Likewise.
23413         (propagate_rhs_into_lhs): Likewise.  Simplify condition.
23414         (loop_depth_of_name): Remove.
23415         * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
23416         restriction on loop depth difference.
23417         (init_copy_prop): Likewise.
23419 2014-07-08  Jan Hubicka  <hubicka@ucw.cz>
23421         * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
23422         parameter.
23423         (walk_aliased_vdefs): Likewise.
23424         * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
23425         * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
23426         (detect_type_change_from_memory_writes): Check if entry was reached.
23428 2014-07-08  Richard Biener  <rguenther@suse.de>
23430         PR tree-optimization/61681
23431         * tree-ssa-structalias.c (find_what_var_points_to): Expand
23432         NONLOCAL inside ESCAPED.
23434 2014-07-08  Richard Biener  <rguenther@suse.de>
23436         PR tree-optimization/61680
23437         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
23438         Handle properly all read-write dependences with group accesses.
23440 2014-07-08  Yuri Rumyantsev  <ysrumyan@gmail.com>
23442         PR tree-optimization/61576
23443         * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
23444         block containing reduction statement is predecessor of phi basi block.
23446 2014-07-08  Marek Polacek  <polacek@redhat.com>
23448         PR c/60226
23449         * fold-const.c (round_up_loc): Change the parameter type.
23450         Remove assert.
23451         * fold-const.h (round_up_loc): Adjust declaration.
23452         * stor-layout.c (finalize_record_size): Check for too large types.
23454 2014-07-07  Jan Hubicka  <hubicka@ucw.cz>
23456         * symtab.c: Include calls.h.
23457         (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
23459 2014-07-07  Maciej W. Rozycki  <macro@codesourcery.com>
23461         * config/rs6000/rs6000.c (output_vec_const_move): Handle
23462         little-endian code generation.
23463         * config/rs6000/spe.md (spe_evmergehi): Rename to...
23464         (vec_perm00_v2si): ... this.  Handle little-endian code generation.
23465         (spe_evmergehilo): Rename to...
23466         (vec_perm01_v2si): ... this.  Handle little-endian code generation.
23467         (spe_evmergelo): Rename to...
23468         (vec_perm11_v2si): ... this.  Handle little-endian code generation.
23469         (spe_evmergelohi): Rename to...
23470         (vec_perm10_v2si): ... this.  Handle little-endian code generation.
23471         (spe_evmergehi, spe_evmergehilo): New expanders.
23472         (spe_evmergelo, spe_evmergelohi): Likewise.
23473         (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
23474         (*frob_tf_ti): Likewise.
23475         (*frob_<mode>_di_2): Likewise.
23476         (*frob_tf_di_8_2): Likewise.
23477         (*frob_di_<mode>): Likewise.
23478         (*frob_ti_tf): Likewise.
23479         (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
23480         (*frob_ti_<mode>_8_2): Likewise.
23481         (*frob_ti_tf_2): Likewise.
23482         (mov_si<mode>_e500_subreg0): Rename to...
23483         (mov_si<mode>_e500_subreg0_be): ... this.  Restrict to the big
23484         endianness only.
23485         (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
23486         (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
23487         (*mov_si<mode>_e500_subreg0_elf_low_be): ... this.  Restrict to
23488         the big endianness only.
23489         (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
23490         (*mov_si<mode>_e500_subreg0_2): Rename to...
23491         (*mov_si<mode>_e500_subreg0_2_be): ... this.  Restrict to the
23492         big big endianness only.
23493         (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
23494         (*mov_si<mode>_e500_subreg4): Rename to...
23495         (*mov_si<mode>_e500_subreg4_be): ... this.  Restrict to the big
23496         endianness only.
23497         (mov_si<mode>_e500_subreg4_le): New instruction pattern.
23498         (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
23499         (*mov_si<mode>_e500_subreg4_elf_low_be): ... this.  Restrict to
23500         the big endianness only.
23501         (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
23502         pattern.
23503         (*mov_si<mode>_e500_subreg4_2): Rename to...
23504         (*mov_si<mode>_e500_subreg4_2_be): ... this.  Restrict to the big
23505         endianness only.
23506         (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
23507         (*mov_sitf_e500_subreg8): Rename to...
23508         (*mov_sitf_e500_subreg8_be): ... this.  Restrict to the big
23509         endianness only.
23510         (*mov_sitf_e500_subreg8_le): New instruction pattern.
23511         (*mov_sitf_e500_subreg8_2): Rename to...
23512         (*mov_sitf_e500_subreg8_2_be): ... this.  Restrict to the big
23513         endianness only.
23514         (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
23515         (*mov_sitf_e500_subreg12): Rename to...
23516         (*mov_sitf_e500_subreg12_be): ... this.  Restrict to the big
23517         endianness only.
23518         (*mov_sitf_e500_subreg12_le): New instruction pattern.
23519         (*mov_sitf_e500_subreg12_2): Rename to...
23520         (*mov_sitf_e500_subreg12_2_be): ... this.  Restrict to the big
23521         endianness only.
23522         (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
23524 2014-07-07  Max Ostapenko  <m.ostapenko@partner.samsung.com>
23526         * asan.c (instrument_strlen_call): Do not instrument first byte
23527         in strlen if already instrumented.
23529 2014-07-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
23531         * config/arm/arm.opt (mwords-little-endian): Delete.
23532         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
23533         of TARGET_LITTLE_WORDS.
23534         (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
23535         * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
23536         warning.
23537         * doc/invoke.texi: Remove references to -mwords-little-endian.
23539 2014-07-07  Jakub Jelinek  <jakub@redhat.com>
23541         * expmed.c (struct init_expmed_rtl): Change all fields but
23542         pow2 and cint from struct rtx_def to rtx.
23543         (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
23544         (init_expmed): Likewise.  Allocate all the 18 rtxes and ggc_free them
23545         at the end again.
23547 2014-07-06  Marek Polacek  <polacek@redhat.com>
23549         PR c/6940
23550         * doc/invoke.texi: Document -Wsizeof-array-argument.
23552 2014-07-05  Gerald Pfeifer  <gerald@pfeifer.com>
23554         * wide-int.h (wide_int_storage): Change declaration from struct
23555         to class.
23557 2014-07-05  Jan Hubicka  <hubicka@ucw.cz>
23559         * cgraph.c (cgraph_create_indirect_edge): Update call of
23560         get_polymorphic_call_info.
23561         * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
23562         (possible_polymorphic_call_targets): Add parameter call.
23563         (decl_maybe_in_construction_p): New predicate.
23564         (get_polymorphic_call_info): Add parameter call;
23565         use decl_maybe_in_construction_p.
23566         * gimple-fold.c (fold_gimple_assign): Update use of
23567         possible_polymorphic_call_targets.
23568         (gimple_fold_call): Likewise.
23569         * ipa-prop.c: Inlcude calls.h
23570         (ipa_binfo_from_known_type_jfunc): Check that known type is record.
23571         (param_type_may_change_p): New predicate.
23572         (detect_type_change_from_memory_writes): Break out from ...
23573         (detect_type_change): ... this one; use param_type_may_change_p.
23574         (detect_type_change_ssa): Use param_type_may_change_p.
23575         (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
23577 2014-07-05  Charles Baylis  <charles.baylis@linaro.org>
23579         PR target/49423
23580         * config/arm/arm-protos.h (arm_legitimate_address_p,
23581         arm_is_constant_pool_ref): Add prototypes.
23582         * config/arm/arm.c (arm_legitimate_address_p): Remove static.
23583         (arm_is_constant_pool_ref) New function.
23584         * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
23585         arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
23586         (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
23587         operand. Remove pool_range and neg_pool_range attributes.
23588         (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
23589         pool_range and neg_pool_range attributes.
23590         * config/arm/constraints.md (Uh): New constraint.
23591         (Uq): Don't allow constant pool references.
23593 2014-07-04  James Greenhalgh  <james.greenhalgh@arm.com>
23595         * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
23596         (move_lo_quad_internal_be_<mode>): Likewise.
23597         (move_lo_quad_<mode>): Convert to define_expand.
23598         (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
23599         (aarch64_simd_move_hi_quad_be_<mode>): New.
23600         (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
23601         (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
23602         (aarch64_combinez_be<mode>): New.
23603         (aarch64_combine<mode>): Convert to define_expand.
23604         (aarch64_combine_internal<mode>): New.
23605         (aarch64_simd_combine<mode>): Remove bogus RTL description.
23607 2014-07-04  Tom de Vries  <tom@codesourcery.com>
23609         * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
23610         combination of earlyclobber and read/write modifiers.
23612 2014-07-04  Tom de Vries  <tom@codesourcery.com>
23614         * config/aarch64/aarch64-simd.md
23615         (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
23617 2014-07-04  Richard Earnshaw  <rearnsha@arm.com>
23619         PR target/61714
23620         * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
23622 2014-07-04  Jakub Jelinek  <jakub@redhat.com>
23624         PR middle-end/61654
23625         * cgraphunit.c (expand_thunk): Call free_dominance_info.
23627         PR tree-optimization/61684
23628         * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
23629         rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
23631 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23632             Kito Cheng  <kito@0xlab.org>
23633             Monk Chiang  <sh.chiang04@gmail.com>
23635         * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
23636         (nds32_symbol_load_store_p): Move to ...
23637         (nds32_fp_as_gp_check_available): Move to ...
23638         * config/nds32/nds32-fp-as-gp.c: ... here.
23639         * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
23640         extern declaration.
23642 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23643             Kito Cheng  <kito@0xlab.org>
23644             Monk Chiang  <sh.chiang04@gmail.com>
23646         * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
23647         (nds32_expand_store_multiple): Move to ...
23648         (nds32_expand_movmemqi): Move to ...
23649         * config/nds32/nds32-memory-manipulation.c: ... here.
23651 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23652             Kito Cheng  <kito@0xlab.org>
23653             Monk Chiang  <sh.chiang04@gmail.com>
23655         * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
23656         (nds32_output_casesi_pc_relative): Move to ...
23657         (nds32_output_casesi): Move to ...
23658         (nds32_mem_format): Move to ...
23659         (nds32_output_16bit_store): Move to ...
23660         (nds32_output_16bit_load): Move to ...
23661         (nds32_output_32bit_store): Move to ...
23662         (nds32_output_32bit_load): Move to ...
23663         (nds32_output_32bit_load_s): Move to ...
23664         (nds32_output_stack_push): Move to ...
23665         (nds32_output_stack_pop): Move to ...
23666         * config/nds32/nds32-md-auxiliary.c: ... here.
23668 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23669             Ling-Hua Tseng  <uranus@tinlans.org>
23671         * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
23672         the purpose of this file.
23674 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23675             Kito Cheng  <kito@0xlab.org>
23676             Monk Chiang  <sh.chiang04@gmail.com>
23678         * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
23679         (nds32_address_cost): Move implementation to ...
23680         * config/nds32/nds32-cost.c: ... here.
23681         * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
23682         (nds32_address_cost_impl): Declare.
23684 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23685             Kito Cheng  <kito@0xlab.org>
23686             Monk Chiang  <sh.chiang04@gmail.com>
23688         * config/nds32/nds32.c
23689         (nds32_consecutive_registers_load_store_p): Move to ...
23690         (nds32_valid_multiple_load_store): Move to ...
23691         (nds32_valid_stack_push_pop): Move to ...
23692         (nds32_can_use_bclr_p): Move to ...
23693         (nds32_can_use_bset_p): Move to ...
23694         (nds32_can_use_btgl_p): Move to ...
23695         (nds32_can_use_bitci_p): Move to ...
23696         * config/nds32/nds32-predicates.c: ... here.
23698 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23699             Kito Cheng  <kito@0xlab.org>
23700             Monk Chiang  <sh.chiang04@gmail.com>
23702         * config/nds32/nds32.c
23703         (nds32_expand_builtin_null_ftype_reg): Move to ...
23704         (nds32_expand_builtin_reg_ftype_imm): Move to ...
23705         (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
23706         (nds32_init_builtins): Move implementation to ...
23707         (nds32_expand_builtin): Move implementation to ...
23708         * config/nds32/nds32-intrinsic.c: ... here.
23709         * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
23710         (nds32_expand_builtin_impl): Declare.
23712 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23713             Kito Cheng  <kito@0xlab.org>
23714             Monk Chiang  <sh.chiang04@gmail.com>
23716         * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
23717         (nds32_emit_section_tail_template): Move to ...
23718         (nds32_emit_isr_jmptbl_section): Move to ...
23719         (nds32_emit_isr_vector_section): Move to ...
23720         (nds32_emit_isr_reset_conten): Move to ...
23721         (nds32_check_isr_attrs_conflict): Move to ...
23722         (nds32_construct_isr_vectors_information): Move to ...
23723         (nds32_asm_file_start): Move implementation to ...
23724         (nds32_asm_file_end): Move implementation to ...
23725         * config/nds32/nds32-isr.c: ... here.
23726         * config/nds32/nds32-protos.h
23727         (nds32_check_isr_attrs_conflict): Declare.
23728         (nds32_construct_isr_vectors_information): Declare.
23729         (nds32_asm_file_start_for_isr): Declare.
23730         (nds32_asm_file_end_for_isr): Declare.
23732 2014-07-04  Chung-Ju Wu  <jasonwucj@gmail.com>
23733             Kito Cheng  <kito@0xlab.org>
23734             Monk Chiang  <sh.chiang04@gmail.com>
23736         * config.gcc (nds32*): Add new modules to extra_objs.
23737         (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
23738         (nds32be-*-*): Likewise.
23739         * config/nds32/nds32-cost.c: New file.
23740         * config/nds32/nds32-fp-as-gp.c: New file.
23741         * config/nds32/nds32-intrinsic.c: New file.
23742         * config/nds32/nds32-isr.c: New file.
23743         * config/nds32/nds32-md-auxiliary.c: New file.
23744         * config/nds32/nds32-memory-manipulation.c: New file.
23745         * config/nds32/nds32-pipelines-auxiliary.c: New file.
23746         * config/nds32/nds32-predicates.c: New file.
23747         * config/nds32/t-nds32: New file.
23749 2014-07-03  Jakub Jelinek  <jakub@redhat.com>
23751         PR tree-optimization/61682
23752         * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
23753         using cases and when one of the operands is equal to 1.
23755 2014-07-03  Segher Boessenkool  <segher@kernel.crashing.org>
23757         * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
23758         ashr<mode>3): Correct mode of operands[2].
23759         (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
23760         lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
23761         Correct mode of operands[2].  Fix split condition.
23763 2014-07-03  Richard Earnshaw  <rearnsha@arm.com>
23765         * arm.md (arch): Add armv6_or_vfpv3.
23766         (arch_enabled): Add test for the above.
23767         * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
23768         on VFP9.
23769         (sqrtsf_vfp, sqrtdf_vfp): Likewise.
23771 2014-07-03  Jakub Jelinek  <jakub@redhat.com>
23773         * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
23774         * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
23775         HWI 1 and negate the unsigned value.
23776         * expmed.c (expand_sdiv_pow2): For modes wider than word always
23777         use AND instead of shift.
23778         * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
23780 2014-07-03  Marek Polacek  <polacek@redhat.com>
23782         * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
23783         (-fsanitize=float-divide-by-zero): Move to the table with
23784         -fsanitize=undefined suboptions.
23785         (-fsanitize=float-cast-overflow): Likewise.
23787 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23789         * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
23790         BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
23791         endianness.
23793 2014-07-03  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
23795         * loop-invariant.c (struct invariant): Add a new member: eqno;
23796         (find_identical_invariants): Update eqno;
23797         (create_new_invariant): Init eqno;
23798         (get_inv_cost): Compute comp_cost with eqno;
23800 2014-07-02  Segher Boessenkool  <segher@kernel.crashing.org>
23802         * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
23803         (walk_insn_part) <ROTATE, ROTATERT>: New cases.
23804         (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
23805         * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
23806         Only do the transformation if both HAVE_rotate and HAVE_rotatert.
23808 2014-07-02  Christian Bruel  <christian.bruel@st.com>
23810         PR target/29349
23811         PR target/53513
23812         * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
23813         (make_preds_opaque): Delete.
23814         (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
23815         (commit_mode_sets): New function.
23816         (optimize_mode_switching): Handle current_mode to mode_switching_emit.
23817         Process all modes at once.
23818         * basic-block.h (pre_edge_lcm_avs): Declare.
23819         * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
23820         Call clear_aux_for_edges. Fix comments.
23821         (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
23822         (pre_edge_rev_lcm): Idem.
23823         * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
23824         parameter.
23825         * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
23826         * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
23827         Idem.
23828         * config/i386/i386.c (x96_emit_mode_set): Idem.
23829         * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
23830         * config/sh/sh.md (toggle_pr):  Defined if TARGET_FPU_SINGLE.
23831         (fpscr_toggle) Disallow from delay slot.
23832         * target.def (emit_mode_set): Add prev_mode parameter.
23833         * doc/tm.texi: Regenerate.
23835 2014-07-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
23837         * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
23838         variable i.
23840 2014-07-01  Jan Hubicka  <hubicka@ucw.cz>
23842         * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
23843         vtable_pointer_value_to_vtable): Constify.
23844         (contains_polymorphic_type_p): Declare.
23845         * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
23846         vtable_pointer_value_to_vtable): Constify.
23847         (contains_polymorphic_type_p): New predicate.
23848         * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
23849         polymorphic types.
23850         (ipa_set_ancestor_jf): Likewise.
23851         (detect_type_change): Return false in easy cases.
23852         (compute_complex_assign_jump_func): Require type to contain
23853         polymorphic type.
23854         (compute_known_type_jump_func): Likewise.
23856 2014-07-01  Jan Hubicka  <hubicka@ucw.cz>
23858         * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
23859         Remove.
23860         (type_in_anonymous_namespace_p): Constify argument.
23861         * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
23862         * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
23863         (main_odr_variant): New function.
23864         (hash_type_name): Make static; update assert; do not ICE on
23865         non-records.
23866         (types_same_for_odr): Bring here from tree.c; simplify and remove
23867         old structural comparing code that doesn't work for templates.
23868         (odr_hasher::equal): Update assert.
23869         (add_type_duplicate): Return true when bases should be computed;
23870         replace incomplete loader by complete; do not output duplicated
23871         warnings; do not ICE on non-records; set odr_violated flag.
23872         (get_odr_type): Be ready to replace incomplete type by complete
23873         one; work on ODR variants instead of main variants; reorder item
23874         in array so bases have still smaller indexes.
23875         (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
23876         (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
23878 2014-07-01  Cary Coutant  <ccoutant@google.com>
23880         * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
23881         lookup.
23882         (resolve_addr_in_expr): When replacing the rtx in a location list
23883         entry, get a new address table entry.
23884         (dwarf2out_finish): Call index_location_lists even if there are no
23885         addr_index_table entries yet.
23887 2014-07-01  Trevor Saunders  <tsaunders@mozilla.com>
23889         * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
23890         change for not being obvious.
23892 2014-07-01  Trevor Saunders  <tsaunders@mozilla.com>
23894         * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
23895         unused argument.
23897 2014-07-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
23899         * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
23900         (vcagt_f64): Likewise.
23901         (vcale_f64): Likewise.
23902         (vcaled_f64): Likewise.
23903         (vcales_f32): Likewise.
23904         (vcalt_f64): Likewise.
23905         (vcaltd_f64): Likewise.
23906         (vcalts_f32): Likewise.
23908 2014-07-01  Marek Polacek  <polacek@redhat.com>
23910         * doc/invoke.texi: Document -Wint-conversion.
23912 2014-07-01  Marek Polacek  <polacek@redhat.com>
23914         PR c/58286
23915         * doc/invoke.texi: Document -Wincompatible-pointer-types.
23917 2014-07-01  Martin Liska  <mliska@suse.cz>
23919         IPA REF alias refactoring
23920         * cgraph.h (iterate_direct_aliases): New function.
23921         (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
23922         * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
23923         FOR_EACH_ALIAS added.
23924         (cgraph_for_node_and_aliases): Likewise.
23925         * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
23926         * ipa-inline.c (reset_edge_caches): Likewise.
23927         (update_caller_keys): Likewise.
23928         * trans-mem.c (ipa_tm_execute): Likewise.
23929         *varpool.c (varpool_analyze_node): Likewise.
23930         (varpool_for_node_and_aliases): Likewise.
23931         * ipa-ref.h (first_alias): New function.
23932         (last_alias): Likewise.
23933         (has_aliases_p): Likewise.
23934         * ipa-ref.c (ipa_ref::remove_reference): Removal function
23935         is sensitive to IPA_REF_ALIASes.
23936         * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
23937         are put at the beginning of the list.
23938         (symtab_node::iterate_direct_aliases): New function.
23940 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
23942         Revert:
23943         * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
23944         type is complete.
23945         (write_ts_type_common_tree_pointers): Do not stream fields not set
23946         for incomplete types; do not stream duplicated fields for variants;
23947         sanity check that variant and type match.
23948         (write_ts_type_non_common_tree_pointers): Likewise.
23949         * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
23950         TYPE_SIZE whether type is complete.
23951         (lto_input_ts_type_common_tree_pointers): Do same changes as in
23952         write_ts_type_common_tree_pointers
23953         (lto_input_ts_type_non_common_tree_pointers): Likewise.
23955 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23957         * var-tracking.c (add_stores): Return instead of asserting if old
23958         and new values for conditional store are the same.
23960 2014-06-30  Richard Henderson  <rth@redhat.com>
23962         PR rtl-opt/61608
23963         PR target/39284
23964         * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
23965         the cfg if there were any changes.
23966         * passes.def: Revert move of peephole2 after reorder_blocks;
23967         move duplicate_computed_gotos before peephole2.
23969 2014-06-30  Uros Bizjak  <ubizjak@gmail.com>
23971         * except.c (emit_note_eh_region_end): New helper function.
23972         (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
23973         emit EH_REGION_END note.
23974         * jump.c (cleanup_barriers): Do not split a call and its
23975         corresponding CALL_ARG_LOCATION note.
23977 2014-06-30  Jeff Law  <law@redhat.com>
23979         PR tree-optimization/61607
23980         * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
23981         deeper into the SSA_NAME_VALUE chain.
23983 2014-06-30  Marek Polacek  <polacek@redhat.com>
23985         * convert.c (convert_to_integer): Don't instrument conversions if the
23986         function has no_sanitize_undefined attribute.
23987         * ubsan.c: Don't run the ubsan pass if the function has
23988         no_sanitize_undefined attribute.
23990 2014-06-30  Jakub Jelinek  <jakub@redhat.com>
23992         * doc/invoke.texi (-fsanitize=bounds): Move to the table with
23993         -fsanitize=undefined suboptions.
23995 2014-06-30  Alan Lawrence  <alan.lawrence@arm.com>
23997         * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
23998         * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
23999         against bigendian and adjust indices.
24001 2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
24003         * doc/install.texi (Specific, aarch64*-*-*): Fix markup.  Reword a bit.
24005 2014-06-30  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24007         PR target/61633
24008         * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
24009         Add alternative; make early clobber.  Adjust both split patterns
24010         to use operand 0 as the working register.
24012 2014-06-30  Jakub Jelinek  <jakub@redhat.com>
24014         * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
24015         as ira_object_id_map might be NULL, or 1.
24017 2014-06-30  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
24019         * loop-invariant.c (get_inv_cost): Handle register class.
24020         (gain_for_invariant): Check the register pressure of the inv
24021         and its overlapped register class, other than all.
24023 2014-06-30  Gerald Pfeifer  <gerald@pfeifer.com>
24025         * doc/invoke.texi (Optimize Options): Fix descriptions of
24026         ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
24028 2014-06-29  David Wohlferd <dw@LimeGreenSocks.com>
24030         * doc/extend.texi (Function Attributes): Update 'naked' attribute
24031         documentation.
24033 2014-06-29  Tobias Grosser <tobias@grosser.es>
24035         PR bootstrap/61650
24036         * graphite-isl-ast-to-gimple.c: Add missing guards.
24038 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
24040         * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
24041         * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
24042         * flag-types.h: Add new enum fgraphite_generator.
24043         * graphite-isl-ast-to-gimple.c: New.
24044         * graphite-isl-ast-to-gimple.h: New.
24045         * graphite.c (graphite_transform_loops): Add choice of Graphite
24046         code generator, which depends on flag_graphite_code_gen.
24048 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
24050         * graphite-dependences.c (subtract_commutative_associative_deps):
24051         Add NULL checking of the following variables: must_raw_no_source,
24052         may_raw_no_source, must_war_no_source, may_war_no_source,
24053         must_waw_no_source, may_waw_no_source, must_raw, may_raw,
24054         must_war, may_war, must_waw, may_waw.
24056 2014-06-29  Roman Gareev  <gareevroman@gmail.com>
24058         * graphite-clast-to-gimple.c: gloog is renamed to
24059         graphite_regenerate_ast_cloog.  gloog_error is renamed to
24060         graphite_regenerate_error.
24061         * graphite-clast-to-gimple.h: The definition of the struct
24062         bb_pbb_def is moved to graphite-htab.h.
24063         Add inclusion of the hash-table.h.
24064         * graphite-htab.h: The declaration of the function gloog is moved
24065         to graphite-clast-to-gimple.h and renamed to
24066         graphite_regenerate_ast_cloog.
24067         * graphite.c (graphite_transform_loops): gloog is renamed
24068         to graphite_regenerate_ast_cloog.
24070 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24072         * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
24073         type is complete.
24074         (write_ts_type_common_tree_pointers): Do not stream fields not set
24075         for incomplete types; do not stream duplicated fields for variants;
24076         sanity check that variant and type match.
24077         (write_ts_type_non_common_tree_pointers): Likewise.
24078         * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
24079         TYPE_SIZE whether type is complete.
24080         (lto_input_ts_type_common_tree_pointers): Do same changes as in
24081         write_ts_type_common_tree_pointers
24082         (lto_input_ts_type_non_common_tree_pointers): Likewise.
24084 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24086         * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
24088 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24090         * tree-inline.c (remap_type_1): Do not duplicate fields
24091         that are shared in between type and its main variant.
24093 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24095         * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
24096         of the type.
24097         (ipa_set_ancestor_jf) Likewise.
24098         (check_stmt_for_type_change): Check that we work on main variant.
24099         (detect_type_change): Look into main variant.
24100         (compute_known_type_jump_func): Check that main variant has BINFO.
24102 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24104         * ipa-devirt.c (set_type_binfo): New function.
24105         (add_type_duplicate): Use it.
24106         (get_odr_type): Sanity check that binfos points to main variants.
24107         (get_class_context): Be sure the context's outer_type is main variant.
24108         (contains_type_p): Walk main variant.
24109         (get_polymorphic_call_info_for_decl): Set outer_type to be
24110         main variant.
24111         (get_polymorphic_call_info): Likewise.
24112         (possible_polymorphic_call_targets): Sanity check that we operate
24113         on main variant.
24115 2014-06-28  Jan Hubicka  <hubicka@ucw.cz>
24117         * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
24119 2014-06-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24121         * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
24122         accidental change due to wide-int branch merge.
24124 2014-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
24126         * configure.ac (gcc_cv_as_compress_debug): Check for assembler
24127         compressed debug support.
24128         (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
24129         * configure: Regenerate.
24130         * config.in: Regenerate.
24131         * common.opt (compressed_debug_sections): New enum.
24132         (gz, gz=): New options.
24133         * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
24134         (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
24135         (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
24136         * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
24137         LINK_COMPRESS_DEBUG_SPEC.
24138         * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
24139         * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
24140         * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
24141         (Debugging Options): Document -gz[=type].
24143 2014-06-27  Martin Jambor  <mjambor@suse.cz>
24145         PR ipa/61160
24146         * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
24147         args_to_skip, use those from node instead.  Copy args_to_skip and
24148         combined_args_to_skip from node to the new thunk.
24149         (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
24150         (cgraph_create_virtual_clone): Moved computation of
24151         combined_args_to_skip...
24152         (cgraph_clone_node): ...here, simplify it to bitmap_ior..
24154 2014-06-27  trevor Saunders  <tsaunders@mozilla.com>
24156         * config/i386/winnt.c (i386_pe_section_type_flags): Remove
24157         redundant diagnostic machinary.
24159 2014-06-27  Richard Biener  <rguenther@suse.de>
24161         * tree-ssa-math-opts.c (bswap_replace): Fix
24162         SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
24164 2014-06-27  Martin Liska  <mliska@suse.cz>
24166         * gimple.h (gimple_location_safe): New function introduced.
24167         * cgraphunit.c (walk_polymorphic_call_targets): Usage
24168         of gimple_location_safe replaces gimple_location.
24169         (gimple_fold_call): Likewise.
24170         * ipa-devirt.c (ipa_devirt): Likewise.
24171         * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
24172         * ipa.c (walk_polymorphic_call_targets): Likewise.
24173         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
24175 2014-06-27  Jakub Jelinek  <jakub@redhat.com>
24177         PR tree-optimization/57233
24178         PR tree-optimization/61299
24179         * tree-vect-generic.c (get_compute_type, count_type_subparts): New
24180         functions.
24181         (expand_vector_operations_1): Use them.  If {L,R}ROTATE_EXPR
24182         would be lowered to scalar shifts, check if corresponding
24183         shifts and vector BIT_IOR_EXPR are supported and don't lower
24184         or lower just to narrower vector type in that case.
24185         * expmed.c (expand_shift_1): Fix up handling of vector
24186         shifts and rotates.
24188 2014-06-26  Uros Bizjak  <ubizjak@gmail.com>
24190         PR target/61586
24191         * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
24193 2014-06-26  Jan Hubicka  <hubicka@ucw.cz>
24195         * doc/invoke.texi (-fsemantic-interposition): Document.
24196         * common.opt (fsemantic-interposition): New flag.
24197         * varasm.c (decl_replaceable_p): Use it.
24199 2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
24201         PR target/61542
24202         * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
24203         extraction other than index 3.
24205 2014-06-26  Teresa Johnson  <tejohnson@google.com>
24207         * doc/invoke.texi: Fix typo.
24208         * dumpfile.c: Add support for documented -fdump-* options
24209         optimized/missed/note/optall.
24211 2014-06-26  Martin Jambor  <mjambor@suse.cz>
24213         * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
24214         (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
24215         (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
24216         (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
24217         * opts.c (default_options_optimization): Set
24218         PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
24219         * doc/invoke.texi (allow-load-data-races)
24220         (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
24221         (allow-store-data-races): Document the new default.
24223 2014-06-26  Martin Jambor  <mjambor@suse.cz>
24225         * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
24226         renamed to ipa_impossible_devirt_target.  Fix typo.
24227         * ipa-prop.h (ipa_impossible_devirt_target): Declare.
24228         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
24229         ipa_impossible_devirt_target.
24231 2014-06-26  Richard Biener  <rguenther@suse.de>
24233         PR tree-optimization/61607
24234         * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
24235         explaining why we restrict copies on loop depth.
24236         * tree-ssa-dom.c (cprop_operand): Remove restriction on
24237         on loop depth.
24238         (record_equivalences_from_phis): Instead add it here.
24240 2014-06-26  Bernd Schmidt  <bernds@codesourcery.com>
24242         * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
24243         (LTO_WRAPPER_OBJS): New variable.
24244         (lto-wrapper$(exeext)): Use it.
24245         * collect2.c: Include "collect-utils.h".
24246         (verbose, debug): Remove variables.
24247         (at_file_supplied): No longer static.
24248         (tool_name): New variable.
24249         (do_wait, fork_execute, maybe_unlink): Don't declare.
24250         (tool_cleanup): No longer static.
24251         (notice): Remove function.
24252         (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
24253         fork_execute calls.
24254         (collect_wait, do_wait, collect_execute): Remove functions.
24255         (maybe_unlink): No longer static.
24256         * collect2.h (verbose, debug): Don't declare.
24257         (at_file_supplied): Declare.
24258         * collect-utils.c (utils_cleanup): New arg from_signal.  All callers
24259         changed.
24260         (collect_execute): Replace with implementation from collect2, plus a
24261         new arg use_atfile.  All callers changed.
24262         (collect_wait): Replace with implementation from collect2.
24263         (maybe_unlink_file): Remove function.
24264         (fork_execute): Replace with implementation from collect2, plus a
24265         new arg use_atfile.  All callers changed.
24266         (do_wait): Add call to utils_cleanup to the error path.
24267         * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
24268         (tool_cleanup): Adjust declarations.
24269         * lto-wrapper.c (tool_cleanup): Add unused bool argument.
24270         * tlink.c: Include "collect-utils.h".
24271         (tlink_execute): New arg use_atfile.  All callers changed.
24272         (tlink_init, tlink_execute): Remove declarations.
24274         * collect-utils.c (save_temps): New variable.
24275         (do_wait): Use it instead of debug.  Use fatal_error.
24276         * collect-utils.h (save_temps): Declare.
24277         * collect2.c (verbose): Rename from vflag.  All uses changed.
24278         (tool_cleanup): New function, copied from collect_atexit.
24279         (collect_atexit, handler): Just call it.
24280         * collect2.h (verbose): Declaration renamed from vflag.
24281         * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
24282         debug.
24284         * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
24285         (lto-wrapper$(exeext)): Link with collect-utils.o.
24286         * collect-utils.c: New file.
24287         * collect-utils.h: New file.
24288         * lto-wrapper.c: Include "collect-utils.h".
24289         (args_name): Delete variable.
24290         (tool_name): New variable.
24291         (tool_cleanup): New function.
24292         (maybe_unlink): Renamed from maybe_unlink_file.  All callers changed.
24293         (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
24294         (fork_execute): Remove functions.
24296 2014-06-26  Nick Clifton  <nickc@redhat.com>
24298         * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
24300         * doc/extend.texi (Function Attributes): Fix typo in description
24301         of RX vector attribute.
24303 2014-06-26  James Greenhalgh  <james.greenhalgh@arm.com>
24305         * config.gcc (supported_defaults): Error when passing either
24306         --with-tune or --with-arch in conjunction with --with-cpu for ARM.
24308 2014-06-26  Richard Biener  <rguenther@suse.de>
24310         * tree-ssa-dom.c (cprop_operand): Remove restriction on
24311         propagating volatile pointers.
24313 2014-06-26  Richard Biener  <rguenther@suse.de>
24315         PR tree-optimization/61607
24316         * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
24317         loop if we redirected its latch edge.
24318         (thread_block_1): Do not cancel loops prematurely.
24320 2014-06-25  Jan Hubicka  <hubicka@ucw.cz>
24322         * toplev.c (backend_init_target): Move init_emit_regs and
24323         init_regs to...
24324         (backend_init) ... here; skip ira_init_once and backend_init_target.
24325         (target_reinit) ... and here; clear
24326         this_target_rtl->lang_dependent_initialized.
24327         (lang_dependent_init_target): Clear
24328         this_target_rtl->lang_dependent_initialized;
24329         break out rtl initialization to ...
24330         (initialize_rtl): ... here; call also backend_init_target
24331         and ira_init_once.
24332         * toplev.h (initialize_rtl): New function.
24333         * function.c: Include toplev.h
24334         (init_function_start): Call initialize_rtl.
24335         * rtl.h (target_rtl): Add target_specific_initialized,
24336         lang_dependent_initialized.
24338 2014-06-25  Paul Gortmaker  <paul.gortmaker@windriver.com>
24339             Jakub Jelinek  <jakub@redhat.com>
24341         * gcc.c (set_multilib_dir): Malloc "." pointer as well.
24343 2014-06-25  Tom de Vries  <tom@codesourcery.com>
24345         * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
24347 2014-06-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
24349         * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
24350         check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
24351         Issue a strict overflow warning if appropriate.
24353 2014-06-25  Martin Liska  <mliska@suse.cz>
24355         IPA REF refactoring
24356         * Makefile.in: Removed header file (ipa-ref-inline.h).
24357         * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
24358         called.
24359         (cgraph_speculative_call_info): Likewise.
24360         (cgraph_for_node_thunks_and_aliases): Likewise.
24361         (cgraph_for_node_and_aliases): Likewise.
24362         (verify_cgraph_node): Likewise.
24363         * cgraph.h: Batch of IPA REF functions become member functions of
24364         symtab_node: add_reference, maybe_add_reference, clone_references,
24365         clone_referring, clone_reference, find_reference,
24366         remove_stmt_references, remove_all_references,
24367         remove_all_referring, dump_references, dump_referring,
24368         has_alias_p, iterate_reference, iterate_referring.
24369         * cgraphbuild.c (record_reference): New IPA REF function used.
24370         (record_type_list): Likewise.
24371         (record_eh_tables): Likewise.
24372         (mark_address): Likewise.
24373         (mark_load): Likewise.
24374         (mark_store): Likewise.
24375         (pass_build_cgraph_edges): Likewise.
24376         (rebuild_cgraph_edge): Likewise.
24377         (cgraph_rebuild_references): Likewise.
24378         (pass_remove_cgraph_callee_edges): Likewise.
24379         * cgraphclones.c (cgraph_clone_node): Likewise.
24380         (cgraph_create_virtual_clone): Likewise.
24381         (cgraph_materialize_clone): Likewise.
24382         (cgraph_materialize_all_clones): Likewise.
24383         * cgraphunit.c (cgraph_reset_node): Likewise.
24384         (cgraph_reset_node): Likewise.
24385         (analyze_function): Likewise.
24386         (assemble_thunks_and_aliases): Likewise.
24387         (expand_function): Likewise.
24388         * ipa-comdats.c (propagate_comdat_group): Likewise.
24389         (enqueue_references): Likewise.
24390         * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
24391         (create_specialized_node): Likewise.
24392         * ipa-devirt.c (referenced_from_vtable_p): Likewise.
24393         * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
24394         * ipa-inline.c (reset_edge_caches): Likewise.
24395         (update_caller_keys): Likewise.
24396         (execute): Likewise.
24397         * ipa-prop.c (remove_described_reference): Likewise.
24398         (propagate_controlled_uses): Likewise.
24399         (ipa_edge_duplication_hook): Likewise.
24400         (ipa_modify_call_arguments): Likewise.
24401         * ipa-pure-const.c (propagate_pure_const): Likewise.
24402         * ipa-ref-inline.h: Header file removed, functions moved
24403         to symtab_node class.
24404         * ipa-ref.c (remove_reference): New class member function.
24405         (cannot_lead_to_return): New class member function.
24406         (referring_ref_list): Likewise.
24407         (referred_ref_list): Likewise.
24408         Rest of functions moved to symtab_node class.
24409         * ipa-ref.h: New member functions remove_reference,
24410         cannot_lead_to_return, referring_ref_list, referred_ref_list added
24411         to ipa_ref class.
24412         ipa_ref_list class has new member functions: first_reference,
24413         first_referring, clear, nreferences.
24414         * ipa-reference.c (analyze_function): New IPA REF function used.
24415         (write_node_summary_p): Likewise.
24416         (ipa_reference_write_optimization_summary): Likewise.
24417         * ipa-split.c (split_function): Likewise.
24418         * ipa-utils.c (ipa_reverse_postorder): Likewise.
24419         * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
24420         (function_and_variable_visibility): Likewise.
24421         * ipa.c (has_addr_references_p): Likewise.
24422         (process_references): Argument type changed.
24423         (symtab_remove_unreachable_nodes): New IPA REF function used.
24424         (process_references): Likewise.
24425         (set_writeonly_bit): Likewise.
24426         * lto-cgraph.c: Implementation of new symtab_node member functions
24427         that uses new IPA REF functions.
24428         * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
24429         function used.
24430         * lto-streamer-out.c (output_symbol_p): Likewise.
24431         * lto-streamer.h (referenced_from_this_partition_p): Argument type
24432         changed.
24433         * symtab.c: Implementation of new IPA REF API.
24434         * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
24435         (ipa_tm_create_version): Likewise.
24436         (ipa_tm_execute): Likewise.
24437         * tree-emutls.c (gen_emutls_addr): Likewise.
24438         * tree-inline.c (copy_bb): Likewise.
24439         (delete_unreachable_blocks_update_callgraph): Likewise.
24440         * varpool.c (varpool_remove_unreferenced_decls): Likewise.
24441         (varpool_for_node_and_aliases): Likewise.
24443 2014-06-25  Trevor Saunders  <tsaunders@mozilla.com>
24445         * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
24447 2014-06-25  Trevor Saunders  <tsaunders@mozilla.com>
24449         PR bootstrap/61598
24450         * fold-const.c (fold_checksum_tree): Use a hash_table of const
24451         tree_node * instead of tree_node *.
24452         (fold): Adjust.
24453         (print_fold_checksum): Likewise.
24454         (fold_check_failed): Likewise.
24455         (debug_fold_checksum): Likewise.
24456         (fold_build1_stat_loc): Likewise.
24457         (fold_build2_stat_loc): Likewise.
24458         (fold_build3_stat_loc): Likewise.
24459         (fold_build_call_array_loc): Likewise.
24461 2014-06-25  David Edelsohn  <dje.gcc@gmail.com>
24463         * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
24464         implementation with call to...
24465         * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
24466         function.
24467         * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
24468         Declare.
24470 2014-06-25  Marc Glisse  <marc.glisse@inria.fr>
24472         PR tree-optimization/57742
24473         * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
24474         after replacing the statement.
24476 2014-06-25  Nick Clifton  <nickc@redhat.com>
24478         * config/v850/v850.c (GHS_default_section_names): Change to const
24479         char * type.
24480         (GHS_current_section_names): Likewise.
24481         (v850_insert_attributes): Do not build strings, just assign the
24482         names directly.  Change the type of 'chosen_section' to const
24483         char*.
24484         * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
24485         directly to the array entry.
24486         * config/v850/v850.h (GHS_default_section_names): Change to const
24487         char * type.
24488         (GHS_current_section_names): Likewise.
24490 2014-06-25  Jakub Jelinek  <jakub@redhat.com>
24492         * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
24493         (LANG_HOOKS_DECLS): Add it.
24494         * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
24495         has correct type.
24496         * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
24497         * langhooks.h (struct lang_hooks_for_decls): Add
24498         omp_clause_linear_ctor hook.
24499         * omp-low.c (lower_rec_input_clauses): Set max_vf even if
24500         OMP_CLAUSE_LINEAR_ARRAY is set.  Don't fold_convert
24501         OMP_CLAUSE_LINEAR_STEP.  For OMP_CLAUSE_LINEAR_ARRAY in
24502         combined simd loop use omp_clause_linear_ctor hook.
24504 2014-06-24  Cong Hou  <congh@google.com>
24506         * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
24507         pattern recognition.
24508         (type_conversion_p): PROMOTION is true if it's a type promotion
24509         conversion, and false otherwise.  Return true if the given expression
24510         is a type conversion one.
24511         * tree-vectorizer.h: Adjust the number of patterns.
24512         * tree.def: Add SAD_EXPR.
24513         * optabs.def: Add sad_optab.
24514         * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
24515         * expr.c (expand_expr_real_2): Likewise.
24516         * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
24517         * gimple.c (get_gimple_rhs_num_ops): Likewise.
24518         * optabs.c (optab_for_tree_code): Likewise.
24519         * tree-cfg.c (estimate_operator_cost): Likewise.
24520         * tree-ssa-operands.c (get_expr_operands): Likewise.
24521         * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
24522         * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
24523         * doc/generic.texi: Add document for SAD_EXPR.
24524         * doc/md.texi: Add document for ssad and usad.
24526 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
24528         * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
24529         qualification in cast.
24531 2014-06-24  Jan Hubicka  <hubicka@ucw.cz>
24533         * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
24534         * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
24535         * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
24536         (tree_function_decl): ... here.
24537         * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
24538         streaming of vindex to ...
24539         (write_ts_function_decl_tree_pointers): ... here.
24540         * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
24541         Do not stream DECL_VINDEX.
24542         (lto_input_ts_function_decl_tree_pointers): Stream it here.
24544 2014-06-24  Catherine Moore  <clm@codesourcery.com>
24545             Sandra Loosemore  <sandra@codesourcery.com>
24547         * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
24548         * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
24549         * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
24551 2014-06-24  Marc Glisse  <marc.glisse@inria.fr>
24553         * doc/invoke.texi (Warning Options): Remove duplicated
24554         -Wmaybe-uninitialized.
24556 2014-06-24  Marc Glisse  <marc.glisse@inria.fr>
24558         PR tree-optimization/57742
24559         * tree-ssa-strlen.c (get_string_length): Ignore malloc.
24560         (handle_builtin_malloc, handle_builtin_memset): New functions.
24561         (strlen_optimize_stmt): Call them.
24562         * passes.def: Move strlen after loop+dom but before vrp.
24564 2014-06-24  Jakub Jelinek  <jakub@redhat.com>
24566         PR target/61570
24567         * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
24568         model family 6 CPU with has_longmode never use a CPU without
24569         64-bit support.
24571 2014-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24573         PR target/61570
24574         * config/i386/driver-i386.c (host_detect_local_cpu): Revert
24575         the last change.
24577 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
24579         * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
24580         * dominance.c (iterate_fix_dominators): Use hash_map instead of
24581         pointer_map.
24582         * hash-map.h: New file.
24583         * ipa-comdats.c: Use hash_map instead of pointer_map.
24584         * ipa.c: Likewise.
24585         * lto-section-out.c: Adjust.
24586         * lto-streamer.h: Replace pointer_map with hash_map.
24587         * symtab.c (verify_symtab): Likewise.
24588         * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
24589         * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
24590         * tree-streamer.h: Likewise.
24591         * tree-streamer.c: Adjust.
24592         * pointer-set.h: Remove pointer_map.
24594 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
24596         * hash-table.h: Add a template arg to choose between storing values
24597         and storing pointers to values, and then provide partial
24598         specializations for both.
24599         * tree-browser.c (tree_upper_hasher): Provide the type the hash table
24600         should store, not the type values should point to.
24601         * tree-into-ssa.c (var_info_hasher): Likewise.
24602         * tree-ssa-dom.c (expr_elt_hasher): Likewise.
24603         * tree-complex.c: Adjust.
24604         * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
24605         table instead of int_tree_map *.
24606         * tree-parloops.c: Adjust.
24607         * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
24608         type is being stored.
24609         * tree-vectorizer.c: Adjust.
24611 2014-06-24  Trevor Saunders  <tsaunders@mozilla.com>
24613         * hash-table.h: Remove a layer of indirection from hash_table so that
24614         it contains the hash table's data instead of a pointer to the data.
24615         * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
24616         config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
24617         config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
24618         data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
24619         fold-const.c, gcse.c, ggc-common.c,
24620         gimple-ssa-strength-reduction.c, gimplify.c,
24621         graphite-clast-to-gimple.c, graphite-dependences.c,
24622         graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
24623         ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
24624         loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
24625         lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
24626         postreload-gcse.c, sese.c, statistics.c, store-motion.c,
24627         trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
24628         tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
24629         tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
24630         tree-ssa-live.c, tree-ssa-loop-im.c,
24631         tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
24632         tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
24633         tree-ssa-structalias.c, tree-ssa-tail-merge.c,
24634         tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
24635         tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
24636         tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
24637         vtable-verify.c, vtable-verify.h: Adjust.
24639 2014-06-24  Richard Biener  <rguenther@suse.de>
24641         PR tree-optimization/61572
24642         * tree-ssa-sink.c (statement_sink_location): Do not sink
24643         loads from hard registers.
24645 2014-06-24  Jakub Jelinek  <jakub@redhat.com>
24647         * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
24648         not mentioned in clauses use private clause if the iterator is
24649         declared in #pragma omp for simd, and when adding lastprivate
24650         instead, add it to the outer #pragma omp for too.  Diagnose
24651         if the variable is private in outer context.  For simd collapse > 1
24652         loops, replace all iterators with temporaries.
24653         * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
24654         same even in collapse > 1 loops.
24656         * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
24657         OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
24658         non-NULL.
24659         <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
24660         (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
24661         non-NULL.
24662         (gimplify_adjust_omp_clauses): Likewise.
24663         * omp-low.c (lower_rec_simd_input_clauses,
24664         lower_rec_input_clauses, expand_omp_simd): Handle non-constant
24665         safelen the same as safelen(1).
24666         * tree-nested.c (convert_nonlocal_omp_clauses,
24667         convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED.  For
24668         OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
24669         (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
24670         Fixup handling of GIMPLE_OMP_TARGET.
24671         (convert_tramp_reference_stmt, convert_gimple_call): Handle
24672         GIMPLE_OMP_TARGET.
24674 2014-06-24  Chung-Lin Tang  <cltang@codesourcery.com>
24676         PR tree-optimization/61554
24677         * tree-ssa-propagate.c: Include "bitmap.h".
24678         (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
24679         properly update constructor/destructor.
24680         (substitute_and_fold_dom_walker::before_dom_children):
24681         Remove call to gimple_purge_dead_eh_edges, add bb->index to
24682         need_eh_cleaup instead.
24683         (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
24684         need_eh_cleanup.
24686 2014-06-23  Jan Hubicka  <hubicka@ucw.cz>
24688         * varpool.c (dump_varpool_node): Dump used_by_single_function.
24689         * tree-pass.h (make_pass_ipa_single_use): New pass.
24690         * cgraph.h (used_by_single_function): New flag.
24691         * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
24692         Stream it.
24693         * passes.def (pass_ipa_single_use): Scedule.
24694         * ipa.c (BOTTOM): New macro.
24695         (meet): New function
24696         (propagate_single_user): New function.
24697         (ipa_single_use): New function.
24698         (pass_data_ipa_single_use): New pass.
24699         (pass_ipa_single_use): New pass.
24700         (pass_ipa_single_use::gate): New gate.
24701         (make_pass_ipa_single_use): New function.
24703 2014-06-23  Kai Tietz  <ktietz@redhat.com>
24705         PR target/39284
24706         * passes.def (peephole2): Move peephole2 pass before sched2 pass.
24707         * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
24709 2014-06-23  Richard Biener  <rguenther@suse.de>
24711         * tree-ssa-loop.c (gate_loop): New function.
24712         (pass_tree_loop::gate): Call it.
24713         (pass_data_tree_no_loop, pass_tree_no_loop,
24714         make_pass_tree_no_loop): New.
24715         * tree-vectorizer.c: Include tree-scalar-evolution.c
24716         (pass_slp_vectorize::execute): Initialize loops and SCEV if
24717         required.
24718         (pass_slp_vectorize::clone): New method.
24719         * timevar.def (TV_TREE_NOLOOP): New.
24720         * tree-pass.h (make_pass_tree_no_loop): Declare.
24721         * passes.def (pass_tree_no_loop): New pass group with
24722         SLP vectorizer.
24724 2014-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24726         PR target/61570
24727         * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
24728         to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
24730 2014-06-23  James Greenhalgh  <james.greenhalgh@arm.com>
24732         * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
24733         "yes" where needed.
24735 2014-06-23  Alan Modra  <amodra@gmail.com>
24737         PR bootstrap/61583
24738         * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
24739         to zero on debug statements.
24741 2014-06-23  Alan Lawrence  <alan.lawrence@arm.com>
24743         PR target/60825
24744         * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
24745         Ignore third operand if present by marking qualifier_internal.
24747         * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
24749         * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
24750         vector extension.
24751         (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
24752         arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
24753         (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
24754         vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
24755         vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
24756         vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
24757         vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
24758         vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
24759         vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
24760         vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
24761         vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
24762         vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
24763         vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
24764         vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
24765         vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
24766         vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
24767         logic in GCC vector extensions
24769         (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
24770         vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
24771         vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
24772         vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
24773         vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
24774         vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
24775         vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
24776         vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
24777         vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
24778         vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
24780         (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
24782         (vget_high_s64, vget_high_u64): Reimplement with GCC vector
24783         extensions.
24785         (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
24786         (vget_low_s64): Use __GET_LOW macro.
24787         (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
24788         gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
24789         (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
24790         (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
24791         __builtin_aarch64_lane_boundsi, use GCC vector extensions.
24793         (vcombine_s64): Use GCC vector extensions; remove cast.
24794         (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
24795         vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
24796         vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
24797         Fix type signature; remove cast.
24799 2014-06-23  Alan Lawrence  <alan.lawrence@arm.com>
24801         PR target/60825
24802         * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
24803         V1DFmode.
24804         * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
24805         add V1DFmode
24806         (BUILTIN_VD1): New.
24807         (BUILTIN_VD_RE): Remove.
24808         (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
24809         (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
24810         * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
24811         variant but not df.
24812         (vreinterpretv1df*, vreinterpret*v1df): New.
24813         (vreinterpretdf*, vreinterpret*df): Remove.
24814         * config/aarch64/aarch64-simd.md (aarch64_create,
24815         aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
24816         * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
24817         (VD1): New.
24818         * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
24819         (vcreate_f64): Remove cast, use v1df builtin.
24820         (vcombine_f64): Remove cast, get elements with gcc vector extensions.
24821         (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
24822         vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
24823         vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
24824         vmov_n_f64, vst1_f64): Use gcc vector extensions.
24825         (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
24826         add range check using __builtin_aarch64_im_lane_boundsi.
24827         (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
24828         vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
24829         type signature, use gcc vector extensions.
24830         (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
24831         vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
24832         vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
24833         vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
24834         vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
24835         vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
24836         vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
24837         vreinterpret_u64_f64): Use v1df builtin not df.
24839 2014-06-23  James Greenhalgh  <james.greenhalgh@arm.com>
24841         * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
24842         vector registers.
24844 2014-06-23  Jan Hubicka  <hubicka@ucw.cz>
24846         * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
24847         priority directly.
24849 2014-06-23  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
24851         * loop-invariant.c (pre_check_invariant_p): New function.
24852         (find_invariant_insn): Call pre_check_invariant_p.
24854 2014-06-22  Richard Henderson  <rth@redhat.com>
24856         PR target/61565
24857         * compare-elim.c (struct comparison): Add eh_note.
24858         (find_comparison_dom_walker::before_dom_children): Don't eliminate
24859         a redundant comparison in a different EH region.  Purge EH edges if
24860         necessary.
24862 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24864         * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
24865         (var_shift): Use it.
24866         (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
24867         *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
24868         *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
24869         *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
24870         *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
24871         *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
24872         *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
24873         *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
24874         *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
24875         *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
24876         *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
24877         *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
24878         *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
24879         *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
24880         *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
24881         *rotldi3_internal15be): Use the new attribute.  Merge register and
24882         integer alternatives.
24884 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24886         * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
24887         define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
24888         split, *ashrdi3_internal3 and split): Delete, merge into...
24889         (ashr<mode>3): New expander.
24890         (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
24891         (*ashrsi3_64): Fix formatting.  Replace "i" by "n".
24893 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24895         * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
24896         *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
24897         *rotldi3_internal3 and split): Delete, merge into...
24898         (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
24899         (*rotlsi3_64): Fix formatting.  Fix condition.  Replace "i" by "n".
24900         Use "rotlw" extended mnemonic.
24902 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24904         * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
24905         and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
24906         and split, *ashldi3_internal3 and split): Delete, merge into...
24907         (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
24908         (*ashlsi3_64): Fix formatting.  Replace "i" by "n".
24910 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24912         * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
24913         (lshrsi3, two anonymous define_insns and define_splits,
24914         lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
24915         *lshrdi3_internal3 and split): Delete, merge into...
24916         (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
24917         (*lshrsi3_64): Fix formatting.  Replace "i" by "n".
24919 2014-06-22  Segher Boessenkool  <segher@kernel.crashing.org>
24921         * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
24922         Remove "O" alternative.
24924 2014-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
24926         * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
24927         (mips_move_from_gpr_cost): Likewise.
24928         (mips_register_move_cost): Update accordingly.
24929         (mips_secondary_reload_class): Remove name of in_p.
24931 2014-06-22  Marc Glisse  <marc.glisse@inria.fr>
24933         PR target/61503
24934         * config/i386/i386.md (x86_64_shrd, x86_shrd,
24935         ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
24937 2014-06-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
24939         * config/nios2/nios2.c: Include "builtins.h".
24941 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
24943         * cgraph.h (tls_model_names): New variable.
24944         * print-tree.c (print_node): Simplify.
24945         * varpool.c (tls_model_names): New variable.
24946         (dump_varpool_node): Output tls model.
24948 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
24950         * ipa-visibility.c (function_and_variable_visibility): Disable
24951         temporarily local aliases for some targets.
24953 2014-06-20  Marek Polacek  <polacek@redhat.com>
24955         * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
24956         * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
24957         into SANITIZE_UNDEFINED.
24958         * doc/invoke.texi: Describe -fsanitize=bounds.
24959         * gimplify.c (gimplify_call_expr): Add gimplification of internal
24960         functions created in the FEs.
24961         * internal-fn.c: Move "internal-fn.h" after "tree.h".
24962         (expand_UBSAN_BOUNDS): New function.
24963         * internal-fn.def (UBSAN_BOUNDS): New internal function.
24964         * internal-fn.h: Don't define internal functions here.
24965         * opts.c (common_handle_option): Add -fsanitize=bounds.
24966         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
24967         BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
24968         * tree-core.h: Define internal functions here.
24969         (struct tree_base): Add ifn field.
24970         * tree-pretty-print.c: Include "internal-fn.h".
24971         (dump_generic_node): Handle functions without CALL_EXPR_FN.
24972         * tree.c (get_callee_fndecl): Likewise.
24973         (build_call_expr_internal_loc): New function.
24974         * tree.def (CALL_EXPR): Update description.
24975         * tree.h (CALL_EXPR_IFN): Define.
24976         (build_call_expr_internal_loc): Declare.
24977         * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
24978         types.
24979         (ubsan_type_descriptor): Change bool parameter to enum
24980         ubsan_print_style.  Adjust the code.  Add handling of
24981         UBSAN_PRINT_ARRAY.
24982         (ubsan_expand_bounds_ifn): New function.
24983         (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
24984         (ubsan_build_overflow_builtin): Likewise.
24985         (instrument_bool_enum_load): Likewise.
24986         (ubsan_instrument_float_cast): Likewise.
24987         * ubsan.h (enum ubsan_print_style): New enum.
24988         (ubsan_expand_bounds_ifn): Declare.
24989         (ubsan_type_descriptor): Adjust declaration.  Use a default parameter.
24991 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24993         * config/rs6000/rs6000.md: Append `DONE' to preparation
24994         statements of `bswap' pattern splitters.
24996 2014-06-20  Tom de Vries  <tom@codesourcery.com>
24998         * target.def (call_fusage_contains_non_callee_clobbers): Update
24999         definition.
25000         * doc/tm.texi: Regenerate.
25002 2014-06-20  Yury Gribov  <y.gribov@samsung.com>
25003             Max Ostapenko  <m.ostapenko@partner.samsung.com>
25005         PR sanitizer/61547
25006         * asan.c (instrument_strlen_call): Fixed instrumentation of
25007         trailing byte.
25009 2014-06-20  Martin Jambor  <mjambor@suse.cz>
25011         PR ipa/61540
25012         * ipa-prop.c (impossible_devirt_target): New function.
25013         (try_make_edge_direct_virtual_call): Use it, also instead of
25014         asserting.
25016 2014-06-20  Yury Gribov  <y.gribov@samsung.com>
25017             Max Ostapenko  <m.ostapenko@partner.samsung.com>
25019         PR sanitizer/61530
25020         * asan.c (build_check_stmt): Add condition.
25022 2014-06-20  Martin Jambor  <mjambor@suse.cz>
25024         PR ipa/61211
25025         * cgraph.c (clone_of_p): Allow skipped_branch to deal with
25026         expanded clones.
25028 2014-06-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
25030         * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
25031         Update comments.
25032         (VCONQ): Make comment more helpful.
25033         (VCON): Delete.
25034         * config/aarch64/aarch64-simd.md
25035         (aarch64_sqdmulh_lane<mode>):
25036         Use VCOND for operands 2.  Update lane checking and flipping logic.
25037         (aarch64_sqrdmulh_lane<mode>): Likewise.
25038         (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
25039         (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
25040         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
25041         attribute of operand 3 to VCOND.
25042         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
25043         (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
25044         (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
25045         (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
25046         (aarch64_sqdmull2_lane<mode>_internal): Likewise.
25047         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
25048         define_insn.
25049         (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
25050         (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
25051         (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
25052         (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
25053         (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
25054         (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
25055         operand to VCOND.  Update lane flipping and bounds checking logic.
25056         (aarch64_sqdmlal2_lane<mode>): Likewise.
25057         (aarch64_sqdmlsl_lane<mode>): Likewise.
25058         (aarch64_sqdmull_lane<mode>): Likewise.
25059         (aarch64_sqdmull2_lane<mode>): Likewise.
25060         (aarch64_sqdmlal_laneq<mode>):
25061         Replace VCON usage with VCONQ.
25062         Emit aarch64_sqdmlal_laneq<mode>_internal insn.
25063         (aarch64_sqdmlal2_laneq<mode>): Emit
25064         aarch64_sqdmlal2_laneq<mode>_internal insn.
25065         Replace VCON with VCONQ.
25066         (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
25067         (aarch64_sqdmlsl2_laneq<mode>): Likewise.
25068         (aarch64_sqdmull_laneq<mode>): Emit
25069         aarch64_sqdmull_laneq<mode>_internal insn.
25070         Replace VCON with VCONQ.
25071         (aarch64_sqdmull2_laneq<mode>): Emit
25072         aarch64_sqdmull2_laneq<mode>_internal insn.
25073         (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
25074         * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
25075         of 3rd argument to int16x4_t.
25076         (vqdmlalh_lane_s16): Likewise.
25077         (vqdmlslh_lane_s16): Likewise.
25078         (vqdmull_high_lane_s16): Likewise.
25079         (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
25080         (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
25081         (vqdmlsl_lane_s16): Likewise.
25082         (vqdmull_lane_s16): Don't create temporary int16x8_t value.
25083         (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
25084         (vqdmlals_lane_s32): Likewise.
25085         (vqdmlsls_lane_s32): Likewise.
25086         (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
25087         (vqdmulls_lane_s32): Likewise.
25088         (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
25089         (vqdmlsl_lane_s32): Likewise.
25090         (vqdmull_lane_s32): Don't create temporary int32x4_t value.
25091         (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
25092         (vqrdmulhh_lane_s16): Likewise.
25093         (vqdmlsl_high_lane_s16): Likewise.
25094         (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
25095         (vqdmlsl_high_lane_s32): Likewise.
25096         (vqrdmulhs_lane_s32): Likewise.
25098 2014-06-20  Tom de Vries  <tom@codesourcery.com>
25100         * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
25101         get_call_reg_set_usage.
25103 2014-06-20  Tom de Vries  <tom@codesourcery.com>
25105         * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
25106         it contains all call_used_regs.
25108 2014-06-20  Tom de Vries  <tom@codesourcery.com>
25110         * final.c (collect_fn_hard_reg_usage): Add and use variable
25111         function_used_regs.
25113 2014-06-20  Jan Hubicka  <hubicka@ucw.cz>
25115         * cgraph.h (struct symtab_node): Add field in_init_priority_hash
25116         (set_init_priority, get_init_priority, set_fini_priority,
25117         get_fini_priority): New methods.
25118         * tree.c (init_priority_for_decl): Remove.
25119         (init_ttree): Do not initialize init priority.
25120         (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
25121         (decl_priority_info): Remove.
25122         (decl_init_priority_insert): Rewrite.
25123         (decl_fini_priority_insert): Rewrite.
25124         * tree.h (tree_priority_map_eq, tree_priority_map_hash,
25125         tree_priority_map_marked_p): Remove.
25126         * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
25127         * lto-streamer-out.c (hash_tree): Do not hash priorities.
25128         * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
25129         not output priorities.
25130         (pack_ts_function_decl_value_fields): Likewise.
25131         * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
25132         not input priorities.
25133         (unpack_ts_function_decl_value_fields): Likewise.
25134         * symtab.c (symbol_priority_map): Declare.
25135         (init_priority_hash): Declare.
25136         (symtab_unregister_node): Unregister from priority hash, too.
25137         (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
25138         New methods.
25139         (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
25140         (symbol_priority_info): New function.
25141         (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
25142         New methods.
25143         * tree-core.h (tree_priority_map): Remove.
25145 2014-06-20  Jakub Jelinek  <jakub@redhat.com>
25147         * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
25148         0xff to uint64_t before shifting it up.
25150 2014-06-20  Julian Brown  <julian@codesourcery.com>
25151             Chung-Lin Tang  <cltang@codesourcery.com>
25153         * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
25154         TARGET_THUMB1_ONLY. Add comments.
25156 2014-06-19  Tom de Vries  <tom@codesourcery.com>
25158         * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
25159         return type to void.
25160         * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
25162 2014-06-19  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
25164         * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
25165         as "move", from depends_on.
25167 2014-06-19  Terry Guo  <terry.guo@arm.com>
25169         * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
25170         stage.
25172 2014-06-18  Segher Boessenkool  <segher@kernel.crashing.org>
25174         * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
25175         Remove cr5.
25176         (REG_ALLOC_ORDER): Update comment.  Move cr5 earlier.
25178 2014-06-18  Kaz Kojima  <kkojima@gcc.gnu.org>
25180         PR target/61550
25181         * config/sh/sh.c (prepare_move_operands): Don't process TLS
25182         addresses here if reload in progress or completed.
25184 2014-06-18  Robert Suchanek  <robert.suchanek@imgtec.com>
25186         * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
25187         "TARGET_MIPS16 ? M16_REGS : GR_REGS".
25188         * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
25189         (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
25190         (mips_register_priority): New function that implements the target
25191         hook TARGET_REGISTER_PRIORITY.
25192         (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
25193         (mips_lra_p): Likewise for TARGET_LRA_P.
25194         (TARGET_REGISTER_PRIORITY): Define macro.
25195         (TARGET_SPILL_CLASS): Likewise.
25196         (TARGET_LRA_P): Likewise.
25197         * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
25198         classes.
25199         (REG_CLASS_NAMES): Likewise.
25200         (REG_CLASS_CONTENTS): Likewise.
25201         (BASE_REG_CLASS): Use M16_SP_REGS.
25202         * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
25203         New set attribute to enable alternatives depending on the register
25204         allocator used.
25205         (*mul_acc_si_r3900, *mul_sub_si): Likewise.
25206         (*lea64): Disable pattern for MIPS16.
25207         * config/mips/mips.opt (mlra): New option.
25209 2014-06-18  Robert Suchanek  <robert.suchanek@imgtec.com>
25211         * lra-constraints.c (base_to_reg): New function.
25212         (process_address): Use new function.
25214 2014-06-18  Tom de Vries  <tom@codesourcery.com>
25216         * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
25217         * config/aarch64/aarch64.c
25218         (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
25219         (aarch64_emit_call_insn): New function.
25220         (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
25221         of emit_call_insn.
25222         * config/aarch64/aarch64.md (define_expand "call_internal")
25223         (define_expand "call_value_internal", define_expand "sibcall_internal")
25224         (define_expand "sibcall_value_internal"): New.
25225         (define_expand "call", define_expand "call_value")
25226         (define_expand "sibcall", define_expand "sibcall_value"): Use internal
25227         expand variant and aarch64_emit_call_insn.
25229 2014-06-18  Radovan Obradovic  <robradovic@mips.com>
25230             Tom de Vries  <tom@codesourcery.com>
25232         * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
25233         * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
25234         Redefine to true.
25235         (arm_emit_call_insn): Add and use sibcall parameter.  Add IP and CC
25236         clobbers to CALL_INSN_FUNCTION_USAGE.
25237         (define_expand "sibcall_internal")
25238         (define_expand "sibcall_value_internal"): New.
25239         (define_expand "call", define_expand "call_value"): Add argument to
25240         arm_emit_call_insn.
25241         (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
25242         (define_expand "sibcall_value"): Use sibcall_value_internal and
25243         arm_emit_call_insn.
25245 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25247         * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
25249 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25251         * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
25252         __udivmoddi4.
25254 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25256         * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
25257         push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
25258         annotations. Fix DWARF information.
25260 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25262         * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
25263         __udivmoddi4, and fixups for negative operands.
25265 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25267         * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
25269 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25271         * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
25272         to __udivmoddi4.
25274 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25276         * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
25277         manipulation.
25279 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25281         * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
25282         describing register usage on function entry and exit.
25284 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25286         * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
25287         (__aeabi_ldivmod): Fix whitespace.
25289 2014-06-18  Andreas Schwab  <schwab@suse.de>
25291         * doc/md.texi (Standard Names): Use @itemx for grouped items.
25292         Remove blank line after @item.
25294 2014-06-18  Richard Henderson  <rth@redhat.com>
25296         PR target/61545
25297         * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
25299 2014-06-18  Charles Baylis  <charles.baylis@linaro.org>
25301         * config/arm/arm.c (neon_vector_mem_operand): Allow register
25302         POST_MODIFY for neon loads and stores.
25303         (arm_print_operand): Output post-index register for neon loads and
25304         stores.
25306 2014-06-18  Richard Biener  <rguenther@suse.de>
25308         * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
25310 2014-06-18  Richard Biener  <rguenther@suse.de>
25312         * tree-pass.h (make_pass_dce_loop): Remove.
25313         * passes.def: Replace pass_dce_loop with pass_dce.
25314         * tree-ssa-dce.c (perform_tree_ssa_dce): If something
25315         changed free niter estimates and reset the scev cache.
25316         (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
25317         make_pass_dce_loop): Remove.
25318         * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
25319         (fini_copy_prop): Return whether something changed.  Always
25320         let substitute_and_fold perform DCE and free niter estimates
25321         and reset the scev cache if so.
25322         (execute_copy_prop): If sth changed schedule cleanup-cfg.
25323         (pass_data_copy_prop): Do not unconditionally schedule
25324         cleanup-cfg or update-ssa.
25326 2014-06-18  Yuri Rumyantsev  <ysrumyan@gmail.com>
25328         PR tree-optimization/61518
25329         * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
25330         reduction var is used in reduction stmt or phi-function only.
25332 2014-06-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
25334         * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
25336 2014-06-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
25338         PR tree-optimization/61517
25339         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
25340         whose rhs's first tree is the source expression instead of the
25341         expression itself.
25342         (find_bswap_or_nop): Likewise.
25343         (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
25344         gimple stmt whose rhs's first tree is the source. In the memory source
25345         case, move the stmt to be replaced close to one of the original load to
25346         avoid the problem of a store between the load and the stmt's original
25347         location.
25348         (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
25349         signature.
25351 2014-06-18  Andreas Schwab  <schwab@suse.de>
25353         PR rtl-optimization/54555
25354         * postreload.c (move2add_use_add2_insn): Substitute
25355         STRICT_LOW_PART only if it is cheaper.
25357 2014-06-18  Uros Bizjak  <ubizjak@gmail.com>
25359         * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
25360         Do not use unspec as call operand.  Use memory_operand instead of
25361         memory_nox32_operand and add "m" operand constraint.  Disable
25362         pattern for TARGET_X32.
25363         (*sibcall_pop_memory): Ditto.
25364         (*sibcall_value_memory): Ditto.
25365         (*sibcall_value_pop_memory): Ditto.
25366         (sibcall peepholes): Merge SImode and DImode patterns using
25367         W mode iterator.  Use memory_operand instead of memory_nox32_operand.
25368         Disable pattern for TARGET_X32.  Check if eliminated register is
25369         really dead after call insn.  Generate call RTX without unspec operand.
25370         (sibcall_value peepholes): Ditto.
25371         (sibcall_pop peepholes): Fix call insn RTXes.  Use memory_operand
25372         instead of memory_nox32_operand.  Check if eliminated register is
25373         really dead after call insn. Generate call RTX without unspec operand.
25374         (sibcall_value_pop peepholes): Ditto.
25375         * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
25377 2014-06-18  Terry Guo  <terry.guo@arm.com>
25379         PR target/61544
25380         * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
25381         reach the head.
25383 2014-06-18  Olivier Hainque  <hainque@adacore.com>
25385         * tree-core.h (tree_block): Add an "end_locus" field, allowing
25386         memorization of the end of block source location.
25387         * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
25388         * gimplify.c (gimplify_bind_expr): Propagate the block start and
25389         end source location info we have on the block entry/exit code we
25390         generate.
25392 2014-06-18  Richard Biener  <rguenther@suse.de>
25394         * common.opt (fssa-phiopt): New option.
25395         * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
25396         but not with -Og.
25397         * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
25398         * doc/invoke.texi (-fssa-phiopt): Document.
25400 2014-06-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
25402         * genattrtab.c (n_bypassed): New variable.
25403         (process_bypasses): Initialise n_bypassed.
25404         Count number of bypassed reservations.
25405         (make_automaton_attrs): Allocate space for bypassed reservations
25406         rather than number of bypasses.
25408 2014-06-18  Richard Biener  <rguenther@suse.de>
25410         * tree-ssa-propagate.c (replace_phi_args_in): Return whether
25411         we propagated anything.
25412         (substitute_and_fold_dom_walker::before_dom_children): Something
25413         changed if we propagated into PHI arguments.
25414         * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
25415         we removed a stmt.
25417 2014-06-18  Evgeny Stupachenko  <evstupac@gmail.com>
25419         * config/i386/i386.c (ix86_reassociation_width): Add alternative for
25420         vector case.
25421         * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
25422         * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
25423         * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
25424         Introduces alternative way of loads group permutaions.
25425         (vect_transform_grouped_load): Try alternative way of permutations.
25427 2014-06-18  Jakub Jelinek  <jakub@redhat.com>
25429         * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
25430         changed in ORT_TARGET region, don't jump to do_outer.
25431         (struct gimplify_adjust_omp_clauses_data): New type.
25432         (gimplify_adjust_omp_clauses_1): Adjust for data being
25433         a struct gimplify_adjust_omp_clauses_data pointer instead
25434         of tree *.  Pass pre_p as a new argument to
25435         lang_hooks.decls.omp_finish_clause hook.
25436         (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
25437         splay_tree_foreach to pass both list_p and pre_p.
25438         (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
25439         gimplify_omp_workshare, gimplify_omp_target_update): Adjust
25440         gimplify_adjust_omp_clauses callers.
25441         * langhooks.c (lhd_omp_finish_clause): New function.
25442         * langhooks-def.h (lhd_omp_finish_clause): New prototype.
25443         (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
25444         * langhooks.h (struct lang_hooks_for_decls): Add a new
25445         gimple_seq * argument to omp_finish_clause hook.
25446         * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
25447         non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
25448         (scan_omp_parallel, lower_omp_for): When adding
25449         _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
25450         * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
25451         * tree-nested.c (convert_nonlocal_omp_clauses,
25452         convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
25453         * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
25455 2014-06-17  Andrew MacLeod  <amacleod@redhat.com>
25457         * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
25458         * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
25460 2014-06-17  Xinliang David Li  <davidxl@google.com>
25462         * tree-pretty-print.c (dump_function_header): Print cgraph uid.
25463         * passes.c (pass_init_dump_file): Do not set initialize
25464         flag to false unconditionally.
25466 2014-06-17  Richard Biener  <rguenther@suse.de>
25468         * genopinit.c (main): Use vec<>::qsort method.
25469         * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
25470         Likewise.
25471         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
25473 2014-06-17  Matthew Fortune  <matthew.fortune@imgtec.com>
25475         * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
25476         * config/mips/mips.c (mips_expand_fcc_reload): Remove.
25477         (mips_move_to_gpr_cost): Remove ST_REGS case.
25478         (mips_move_from_gpr_cost): Likewise.
25479         (mips_register_move_cost): Likewise.
25480         (mips_secondary_reload_class): Likewise.
25482 2014-06-17  Richard Biener  <rguenther@suse.de>
25484         * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
25485         (pass_all_optimizations): Move 3rd copy-prop pass from after
25486         fre to before ifcombine/phiopt.
25488 2014-06-17  Richard Biener  <rguenther@suse.de>
25490         * tree-switch-conversion.c (collect_switch_conv_info): Simplify
25491         and allow all blocks to be forwarders.
25493 2014-06-17  Yufeng Zhang  <yufeng.zhang@arm.com>
25495         PR target/61483
25496         * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
25497         variable 'size'; calculate 'size' right in the front; use
25498         'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
25499         pcum->aapcs_stack_words.
25501 2014-06-17  Nick Clifton  <nickc@redhat.com>
25503         * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
25504         (umulhi3, mulsidi3, umulsidi3): Likewise.
25506 2014-06-17  Thomas Schwinge  <thomas@codesourcery.com>
25508         PR middle-end/61508
25509         * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
25510         check for section name.
25512 2014-06-17  Richard Biener  <rguenther@suse.de>
25514         * tree-ssa-propagate.c: Include domwalk.h.
25515         (substitute_and_fold): Outline main worker into a domwalker ...
25516         (substitute_and_fold_dom_walker::before_dom_children): ... here.
25517         Schedule stmts we can fully propagate for removal.  Remove
25518         poor-mans DCE.
25519         (substitute_and_fold): Apply a dominator walk to perform
25520         substitution.  Process stmts scheduled for removal here.
25522 2014-06-17  Richard Biener  <rguenther@suse.de>
25524         * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
25525         of PHI node moving.
25527 2014-06-17  Kugan Vivekanandarajah  <kuganv@linaro.org>
25529         * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
25530         default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
25531         (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
25532         __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
25533         * config/arm/vfp.md (set_fpscr): Make pattern conditional on
25534         TARGET_HARD_FLOAT.
25535         (get_fpscr) : Likewise.
25537 2014-06-16  Vladimir Makarov  <vmakarov@redhat.com>
25539         PR rtl-optimization/61325
25540         * lra-constraints.c (valid_address_p): Add forward declaration.
25541         (simplify_operand_subreg): Check address validity before and after
25542         alter_reg of memory subreg.
25544 2014-06-16  Uros Bizjak  <ubizjak@gmail.com>
25546         * config/i386/i386.c (decide_alg): Correctly handle
25547         maximum size of stringop algorithm.
25549 2014-06-16  Yury Gribov  <y.gribov@samsung.com>
25551         * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
25553 2014-06-16  Vladimir Makarov  <vmakarov@redhat.com>
25555         PR rtl-optimization/61522
25556         * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
25558 2014-06-16  Jan Hubicka  <hubicka@ucw.cz>
25560         Revert:
25561         * symtab.c (symtab_node::reset_section): New method.
25562         * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
25563         for localization.
25564         * cgraph.h (reset_section): Declare.
25565         * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
25566         do not consider comdat locals.
25567         * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
25568         for new symbol.
25569         * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
25570         (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
25571         reset sections of symbols dragged out of the comdats.
25572         (function_and_variable_visibility): Reset sections of
25573         localized symbols.
25575 2014-06-16  Richard Biener  <rguenther@suse.de>
25577         PR tree-optimization/61482
25578         * tree-vrp.c (adjust_range_with_scev): Avoid setting of
25579         [-INF(OVF), +INF(OVF)] range.
25581 2014-06-16  Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
25583         * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
25584         instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
25585         handling 32-bit multiplication.
25587 2014-06-16  Chung-Lin Tang  <cltang@codesourcery.com>
25589         PR middle-end/61430
25590         * lra-lives.c (process_bb_lives): Skip creating copy during
25591         insn scan when src/dest has constrained to same regno.
25593 2014-06-15  Jan Hubicka  <hubicka@ucw.cz>
25595         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
25596         DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
25598 2014-06-16  Yury Gribov  <y.gribov@samsung.com>
25600         * asan.c (check_func): New function.
25601         (maybe_create_ssa_name): Likewise.
25602         (build_check_stmt_with_calls): Likewise.
25603         (use_calls_p): Likewise.
25604         (report_error_func): Change interface.
25605         (build_check_stmt): Allow non-integer lengths; add support
25606         for new parameter.
25607         (asan_instrument): Likewise.
25608         (instrument_mem_region_access): Moved code to build_check_stmt.
25609         (instrument_derefs): Likewise.
25610         (instrument_strlen_call): Likewise.
25611         * cfgcleanup.c (old_insns_match_p): Add support for new functions.
25612         * doc/invoke.texi: Describe new parameter.
25613         * params.def: Define new parameter.
25614         * params.h: Likewise.
25615         * sanitizer.def: Describe new builtins.
25617 2014-06-16  Richard Biener  <rguenther@suse.de>
25619         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
25620         Make all defs available at the end.
25621         (eliminate): If we remove a PHI node schedule cfg-cleanup.
25623 2014-06-18  Jakub Jelinek  <jakub@redhat.com>
25625         PR plugins/45078
25626         * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
25628 2014-06-16  Richard Sandiford  <rdsandiford@googlemail.com>
25630         PR bootstrap/61516
25631         * auto-inc-dec.c (merge_in_block): Fix location of insn_info
25632         initialization.  Replace remaining use of uid.
25634 2014-06-15  Jan Hubicka  <hubicka@ucw.cz>
25636         * c-family/c-common.c (handle_tls_model_attribute): Use
25637         set_decl_tls_model.
25638         * c-family/c-common.c (handle_tls_model_attribute): Use
25639         set_decl_tls_model.
25640         * cgraph.h (struct varpool_node): Add tls_model.
25641         * tree.c (decl_tls_model, set_decl_tls_model): New functions.
25642         * tree.h (DECL_TLS_MODEL): Update.
25643         (DECL_THREAD_LOCAL_P): Check that variable is static.
25644         (decl_tls_model): Declare.
25645         (set_decl_tls_model): Declare.
25646         * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
25647         set symbol prorperties.
25648         (get_emutls_init_templ_addr): Cleanup.
25649         (new_emutls_decl): Update.
25650         * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
25651         (lto_input_varpool_node): Likewise.
25652         * lto-streamer-out.c (hash_tree): Likewise.
25653         * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
25654         not stream DECL_TLS_MODEL.
25655         * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
25656         * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
25658 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25660         * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
25662 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25664         * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
25665         (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
25666         lists.
25667         (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
25668         (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
25669         (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
25670         (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
25671         (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
25672         (df_get_artificial_defs, df_get_artificial_uses)
25673         (df_single_def, df_single_use): Update accordingly.
25674         (df_refs_chain_dump): Take the first element in a linked list as
25675         parameter, rather than a pointer to an array of pointers.
25676         * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
25677         * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
25678         (df_chain_create_bb_process_use): Likewise.
25679         (df_md_bb_local_compute_process_def): Likewise.
25680         * fwprop.c (process_defs, process_uses): Likewise.
25681         (register_active_defs, update_uses): Likewise.
25682         (forward_propagate_asm): Update for new df_ref linking.
25683         * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
25684         (df_null_ref_rec, df_null_mw_rec): Likewise.
25685         (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
25686         explicitly.
25687         (df_scan_free_bb_info): Remove check for null artificial_defs.
25688         (df_install_ref_incremental): Adjust for new df_ref linking.
25689         Use a single-element insertion rather than a full sort.
25690         (df_ref_chain_delete_du_chain): Take the first element
25691         in a linked list as parameter, rather than a pointer to an array of
25692         pointers.
25693         (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
25694         (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
25695         (df_insn_info_delete): Remove check for null defs and call to
25696         df_scan_free_mws_vec.
25697         (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
25698         null rather than df_null_*_rec.
25699         (df_insn_rescan_debug_internal): Likewise, and update null
25700         checks in the same way.  Remove check for null defs.
25701         (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
25702         Move a single element rather doing a full sort.
25703         (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
25704         linking.
25705         (df_notes_rescan): Likewise.  Use a merge rather than a full sort.
25706         Initialize df_ref and df_mw_hardreg lists to null rather than
25707         df_null_*_rec.
25708         (df_ref_compare): Take df_refs as parameter, transferring the
25709         old interface to...
25710         (df_ref_ptr_compare): ...this new function.
25711         (df_sort_and_compress_refs): Update accordingly.
25712         (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
25713         old interface to...
25714         (df_mw_ptr_compare): ...this new function.
25715         (df_sort_and_compress_mws): Update accordingly.
25716         (df_install_refs, df_install_mws): Return a linked list rather than
25717         an array of pointers.
25718         (df_refs_add_to_chains): Assert that old lists are empty rather
25719         than freeing them.
25720         (df_insn_refs_verify): Don't handle null defs speciailly.
25721         * web.c (union_match_dups): Update for new df_ref linking.
25723 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25725         * df.h (df_ref_create, df_ref_remove): Delete.
25726         * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
25727         (df_ref_remove): Likewise.
25729 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25731         * df.h (df_single_def, df_single_use): New functions.
25732         * ira.c (find_moveable_pseudos): Use them.
25734 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25736         * df.h (FOR_EACH_INSN_INFO_MW): New macro.
25737         * df-problems.c (df_note_bb_compute): Use it.
25738         * regstat.c (regstat_bb_compute_ri): Likewise.
25740 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25742         * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
25743         * cse.c (cse_extended_basic_block): Use them.
25744         * dce.c (mark_artificial_use): Likewise.
25745         * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
25746         (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
25747         (df_chain_remove_problem, df_chain_bb_dump): Likewise.
25748         (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
25749         (df_simulate_initialize_backwards): Likewise.
25750         (df_simulate_finalize_backwards): Likewise.
25751         (df_simulate_initialize_forwards): Likewise.
25752         (df_md_simulate_artificial_defs_at_top): Likewise.
25753         * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
25754         * regrename.c (init_rename_info): Likewise.
25755         * regstat.c (regstat_bb_compute_ri): Likewise.
25756         (regstat_bb_compute_calls_crossed): Likewise.
25758 2014-06-15  Richard Sandiford  <rdsandiford@googlemail.com>
25760         * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
25761         (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
25762         (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
25763         * auto-inc-dec.c (find_inc, merge_in_block): Use them.
25764         * combine.c (create_log_links): Likewise.
25765         * compare-elim.c (find_flags_uses_in_insn): Likewise.
25766         (try_eliminate_compare): Likewise.
25767         * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
25768         * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
25769         (remove_reg_equal_equiv_notes_for_defs): Likewise.
25770         (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
25771         (word_dce_process_block, dce_process_block): Likewise.
25772         * ddg.c (def_has_ccmode_p): Likewise.
25773         * df-core.c (df_bb_regno_first_def_find): Likewise.
25774         (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
25775         * df-problems.c (df_rd_simulate_one_insn): Likewise.
25776         (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
25777         (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
25778         (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
25779         (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
25780         (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
25781         (df_simulate_find_defs, df_simulate_find_uses): Likewise.
25782         (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
25783         (df_simulate_uses, df_md_simulate_one_insn): Likewise.
25784         * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
25785         * fwprop.c (local_ref_killed_between_p): Likewise.
25786         (all_uses_available_at, free_load_extend): Likewise.
25787         * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
25788         * hw-doloop.c (scan_loop): Likewise.
25789         * ifcvt.c (dead_or_predicable): Likewise.
25790         * init-regs.c (initialize_uninitialized_regs): Likewise.
25791         * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
25792         (process_bb_node_lives): Likewise.
25793         * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
25794         (find_moveable_pseudos): Likewise.
25795         * loop-invariant.c (check_dependencies, record_uses): Likewise.
25796         * recog.c (peep2_find_free_register): Likewise.
25797         * ree.c (get_defs): Likewise.
25798         * regstat.c (regstat_bb_compute_ri): Likewise.
25799         (regstat_bb_compute_calls_crossed): Likewise.
25800         * sched-deps.c (find_inc, find_mem): Likewise.
25801         * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
25802         (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
25803         * shrink-wrap.c (requires_stack_frame_p): Likewise.
25804         (prepare_shrink_wrap): Likewise.
25805         * store-motion.c (compute_store_table, build_store_vectors): Likewise.
25806         * web.c (union_defs, pass_web::execute): Likewise.
25807         * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
25808         (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
25810 2014-06-13  Vladimir Makarov  <vmakarov@redhat.com>
25812         * lra-assign.c (assign_by_spills): Add code to assign vector regs
25813         to inheritance pseudos.
25814         * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
25816 2014-06-13  Peter Bergner  <bergner@vnet.ibm.com>
25818         PR target/61415
25819         * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
25820         (BU_MISC_2): Rename to ...
25821         (BU_LDBL128_2): ... this.
25822         * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
25823         (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
25824         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
25825         RS6000_BTM_LDBL128.
25826         (rs6000_invalid_builtin): Add long double 128-bit builtin support.
25827         (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
25828         * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
25829         (unpacktf_1): Likewise.
25830         * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
25831         (__builtin_longdouble_dw1): Likewise.
25832         * doc/sourcebuild.texi (longdouble128): Document.
25834 2014-06-13  Jeff Law  <law@redhat.com>
25836         PR rtl-optimization/61094
25837         PR rtl-optimization/61446
25838         * ree.c (combine_reaching_defs): Get the mode for the copy from
25839         the extension insn rather than the defining insn.
25841 2014-06-13  Dehao Chen  <dehao@google.com>
25843         * dwarf2out.c (add_linkage_name): Emit more linkage name.
25845 2014-06-13  Thomas Schwinge  <thomas@codesourcery.com>
25847         * doc/install.texi (--enable-linker-plugin-configure-flags)
25848         (--enable-linker-plugin-flags): Document new flags.
25850 2014-06-13  Martin Jambor  <mjambor@suse.cz>
25852         PR ipa/61186
25853         * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
25854         cache_token if returning early.
25856 2014-06-13  Nick Clifton  <nickc@redhat.com>
25858         * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
25859         requested alignment is active.
25860         (LABEL_ALIGN): Likewise.
25861         (LOOP_ALIGN): Likewise.
25863 2014-06-13  Richard Biener  <rguenther@suse.de>
25865         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
25866         Rewrite to propagate the VN result into all uses where
25867         possible and to remove stmts becoming dead because of that.
25868         (eliminate): Generalize stmt removal handling, remove in
25869         reverse dominator order to support proper debug stmt
25870         generation.  Update stmts before removing stmts.
25871         * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
25873 2014-06-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
25875         PR tree-optimization/61375
25876         * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
25877         symbolic number cannot be represented in an uint64_t.
25878         (find_bswap_or_nop_1): Likewise.
25880 2014-06-12  Jan Hubicka  <hubicka@ucw.cz>
25882         * symtab.c (symtab_node::reset_section): New method.
25883         * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
25884         for localization.
25885         * cgraph.h (reset_section): Declare.
25886         * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
25887         do not consider comdat locals.
25888         * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
25889         for new symbol.
25890         * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
25891         (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
25892         reset sections of symbols dragged out of the comdats.
25893         (function_and_variable_visibility): Reset sections of
25894         localized symbols.
25896 2014-06-12  Jan Hubicka  <hubicka@ucw.cz>
25898         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
25899         to use symtab and decl_binds_to_current_def_p
25900         * tree-vectorizer.c (increase_alignment): Increase alignment
25901         of alias target, too.
25903 2014-06-12  Jakub Jelinek  <jakub@redhat.com>
25905         PR middle-end/61486
25906         * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
25907         (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
25908         if outer combined construct is distribute.
25909         (gimplify_omp_for): For OMP_DISTRIBUTE set
25910         gimplify_omp_ctxp->distribute.
25911         * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
25912         GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
25913         mapping into decl map.
25915 2014-06-12  Jason Merrill  <jason@redhat.com>
25917         * common.opt (fabi-version): Change default to 0.
25919 2014-06-12  Jason Merrill  <jason@redhat.com>
25921         * toplev.c (process_options): Reject -fabi-version=1.
25923 2014-06-12  Jeff Law  <law@redhat.com>
25925         PR tree-optimization/61009
25926         * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
25927         value when we stop processing a block due to problematic PHIs.
25929 2014-06-12  Alan Lawrence  <alan.lawrence@arm.com>
25931         * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
25932         vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
25933         vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
25934         vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
25935         vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
25936         vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
25937         vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
25938         are not in the spec.
25940 2014-06-10  Alan Lawrence  <alan.lawrence@arm.com>
25942         PR target/59843
25943         * config/aarch64/aarch64-modes.def: Add V1DFmode.
25944         * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
25945         Support V1DFmode.
25947 2014-06-12  Eric Botcazou  <ebotcazou@adacore.com>
25949         * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
25951 2014-06-12  Georg-Johann Lay  <avr@gjlay.de>
25953         PR target/61443
25954         * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
25955         loading from address spaces.
25957 2014-06-12  Martin Liska  <mliska@suse.cz>
25959         PR ipa/61462
25960         * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
25961         statement is reachable.
25963 2014-06-11  Jan Hubicka  <hubicka@ucw.cz>
25965         * symtab.c (section_hash): New hash.
25966         (symtab_unregister_node): Clear section before freeing.
25967         (hash_section_hash_entry): New haser.
25968         (eq_sections): New function.
25969         (symtab_node::set_section_for_node): New method.
25970         (set_section_1): Update.
25971         (symtab_node::set_section): Take string instead of tree as parameter.
25972         (symtab_resolve_alias): Update.
25973         * cgraph.h (section_hash_entry_d): New structure.
25974         (section_hash_entry): New typedef.
25975         (cgraph_node): Change comdat_group_ to x_comdat_group,
25976         change section_ to x_section and turn into section_hash_entry;
25977         update accestors; put set_section_for_node offline.
25978         * tree.c (decl_section_name): Turn into string.
25979         (set_decl_section_name): Change parameter to be string.
25980         * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
25981         * sdbout.c (sdbout_one_type): Update.
25982         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
25983         * varasm.c (IN_NAMED_SECTION, get_named_section,
25984         resolve_unique_section, hot_function_section, get_named_text_section,
25985         USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
25986         make_decl_rtl, default_unique_section): Update.
25987         * config/c6x/c6x.c (c6x_in_small_data_p): Update.
25988         (c6x_elf_unique_section): Update.
25989         * config/nios2/nios2.c (nios2_in_small_data_p): Update.
25990         * config/pa/pa.c (pa_function_section): Update.
25991         * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
25992         * config/ia64/ia64.c (ia64_in_small_data_p): Update.
25993         * config/arc/arc.c (arc_in_small_data_p): Update.
25994         * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
25995         * config/mcore/mcore.c (mcore_unique_section): Update.
25996         * config/mips/mips.c (mips16_build_function_stub): Update.
25997         (mips16_build_call_stub): Update.
25998         (mips_function_rodata_section): Update.
25999         (mips_in_small_data_p): Update.
26000         * config/score/score.c (score_in_small_data_p): Update.
26001         * config/rx/rx.c (rx_in_small_data): Update.
26002         * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
26003         (rs6000_xcoff_asm_named_section): Update.
26004         (rs6000_xcoff_unique_section): Update.
26005         * config/frv/frv.c (frv_string_begins_with): Update.
26006         (frv_in_small_data_p): Update.
26007         * config/v850/v850.c (v850_encode_data_area): Update.
26008         * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
26009         (bfin_handle_l1_data_attribute): Update.
26010         (bfin_handle_l2_attribute): Update.
26011         * config/mep/mep.c (mep_unique_section): Update.
26012         * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
26013         Update.
26014         * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
26015         (h8300_handle_tiny_data_attribute): Update.
26016         * config/m32r/m32r.c (m32r_in_small_data_p): Update.
26017         (m32r_in_small_data_p): Update.
26018         * config/alpha/alpha.c (alpha_in_small_data_p): Update.
26019         * config/i386/i386.c (ix86_in_large_data_p): Update.
26020         * config/i386/winnt.c (i386_pe_unique_section): Update.
26021         * config/darwin.c (darwin_function_section): Update.
26022         * config/lm32/lm32.c (lm32_in_small_data_p): Update.
26023         * tree-emutls.c (get_emutls_init_templ_addr): Update.
26024         (new_emutls_decl): Update.
26025         * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
26026         input_varpool_node): Update.
26027         (ead_string_cst): Turn to ...
26028         (read_string): ... this one.
26029         * dwarf2out.c (secname_for_decl): Update.
26030         * asan.c (asan_protect_global): Update.
26032 2014-06-11  DJ Delorie  <dj@redhat.com>
26034         * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
26035         cache lines.
26036         * config/rx/rx.c (rx_option_override): Likewise.
26037         (rx_align_for_label): Likewise.
26039         * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
26041 2014-06-11  Maciej W. Rozycki  <macro@codesourcery.com>
26043         * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
26044         prototype.
26046 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26048         * common.md: New file.
26049         * doc/md.texi: Update description of generic, machine-independent
26050         constraints.
26051         * config/s390/constraints.md (e): Delete.
26052         * Makefile.in (md_file): Include common.md.
26053         * config/m32c/t-m32c (md_file): Likewise.
26054         * genpreds.c (general_mem): New array.
26055         (generic_constraint_letters): Remove constraints now defined by
26056         common.md.
26057         (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
26058         Allow the first character to be '<' or '>' as well.
26059         * genoutput.c (general_mem): New array.
26060         (indep_constraints): Remove constraints now defined by common.md.
26061         (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
26062         Remove special handling of 'm'.
26063         * ira-costs.c (record_reg_classes): Remove special handling of
26064         constraints now defined by common.md.
26065         * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
26066         * ira-lives.c (single_reg_class): Likewise.
26067         (ira_implicitly_set_insn_hard_regs): Likewise.
26068         * lra-constraints.c (reg_class_from_constraints): Likewise.
26069         (process_alt_operands, process_address, curr_insn_transform): Likewise.
26070         * postreload.c (reload_cse_simplify_operands): Likewise.
26071         * reload.c (push_secondary_reload, scratch_reload_class)
26072         (find_reloads, alternative_allows_const_pool_ref): Likewise.
26073         * reload1.c (maybe_fix_stack_asms): Likewise.
26074         * targhooks.c (default_secondary_reload): Likewise.
26075         * stmt.c (parse_output_constraint): Likewise.
26076         * recog.c (preprocess_constraints): Likewise.
26077         (constrain_operands, peep2_find_free_register): Likewise.
26078         (asm_operand_ok): Likewise, but add a comment saying why 'o'
26079         must be handled specially.
26081 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26083         * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
26084         * genpreds.c (have_const_dbl_constraints): Delete.
26085         (add_constraint): Don't set it.
26086         (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
26087         * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
26088         constraints using the lookup_constraint logic.
26089         * ira-lives.c (single_reg_class): Likewise.
26090         * ira.c (ira_setup_alts): Likewise.
26091         * lra-constraints.c (process_alt_operands): Likewise.
26092         * recog.c (asm_operand_ok, constrain_operands): Likewise.
26093         * reload.c (find_reloads): Likewise.
26095 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26097         * genpreds.c (const_int_start, const_int_end): New variables.
26098         (choose_enum_order): Output CONST_INT constraints before memory
26099         constraints.
26100         (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
26101         Add CT_CONST_INT.
26102         * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
26103         * ira.c (ira_setup_alts): Likewise.
26104         * lra-constraints.c (process_alt_operands): Likewise.
26105         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
26106         * reload.c (find_reloads): Likewise.
26108 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26110         * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
26111         decmem_ok and incmem_ok.  Reformat other bitfields for consistency.
26112         * recog.c (preprocess_constraints): Update accordingly.
26114 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26116         * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
26117         (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
26118         (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
26119         * genpreds.c (print_type_tree): New function.
26120         (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
26121         REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
26122         EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
26123         Write out enum constraint_type and get_constraint_type.
26124         * lra-constraints.c (satisfies_memory_constraint_p): Take a
26125         constraint_num rather than a constraint string.
26126         (satisfies_address_constraint_p): Likewise.
26127         (reg_class_from_constraints): Avoid old constraint macros.
26128         (process_alt_operands, process_address_1): Likewise.
26129         (curr_insn_transform): Likewise.
26130         * ira-costs.c (record_reg_classes): Likewise.
26131         (record_operand_costs): Likewise.
26132         * ira-lives.c (single_reg_class): Likewise.
26133         (ira_implicitly_set_insn_hard_regs): Likewise.
26134         * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
26135         * postreload.c (reload_cse_simplify_operands): Likewise.
26136         * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
26137         (constrain_operands, peep2_find_free_register): Likewise.
26138         * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
26139         (find_reloads, alternative_allows_const_pool_ref): Likewise.
26140         * reload1.c (maybe_fix_stack_asms): Likewise.
26141         * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
26142         * targhooks.c (default_secondary_reload): Likewise.
26143         * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
26144         to EXTRA_CONSTRAINT_STR.
26145         * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
26147 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26149         * genpreds.c (write_constraint_satisfied_p_1): Replace with...
26150         (write_constraint_satisfied_p_array): ...this new function.
26151         (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
26152         an array.
26153         (write_insn_preds_c): Update accordingly.
26155 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26157         * genpreds.c (write_lookup_constraint): Rename to...
26158         (write_lookup_constraint_1): ...this.
26159         (write_lookup_constraint_array): New function.
26160         (write_tm_preds_h): Define lookup_constraint as an inline function
26161         that uses write_lookup_constraint_array where possible.
26162         (write_insn_preds_c): Update for the changes above.
26164 2014-06-11  Richard Sandiford  <rdsandiford@googlemail.com>
26166         * doc/md.texi (regclass_for_constraint): Rename to...
26167         (reg_class_for_constraint): ...this.
26168         * genpreds.c (num_constraints, enum_order, register_start)
26169         (register_end, satisfied_start, memory_start, memory_end)
26170         (address_start, address_end): New variables.
26171         (add_constraint): Count the number of constraints.
26172         (choose_enum_order): New function.
26173         (write_enum_constraint_num): Iterate over enum_order.
26174         (write_regclass_for_constraint): Rename to...
26175         (write_reg_class_for_constraint_1): ...this and update output
26176         accordingly.
26177         (write_constraint_satisfied_p): Rename to...
26178         (write_constraint_satisfied_p_1): ...this and update output
26179         accordingly.  Do nothing if all extra constraints are register
26180         constraints.
26181         (write_insn_extra_memory_constraint): Delete.
26182         (write_insn_extra_address_constraint): Delete.
26183         (write_range_function): New function.
26184         (write_tm_preds_h): Define constraint_satisfied_p and
26185         reg_class_for_constraint as inline functions that do a range check
26186         before calling the out-of-line function.  Use write_range_function
26187         to implement insn_extra_{register,memory,address}_constraint,
26188         the first of which is new.
26189         (write_insn_preds_c): Update after above changes to write_* functions.
26190         (main): Call choose_enum_order.
26192 2014-06-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>
26194         PR tree-optimization/61306
26195         * tree-ssa-math-opts.c (struct symbolic_number): Store type of
26196         expression instead of its size.
26197         (do_shift_rotate): Adapt to change in struct symbolic_number. Return
26198         false to prevent optimization when the result is unpredictable due to
26199         arithmetic right shift of signed type with highest byte is set.
26200         (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
26201         (init_symbolic_number): Likewise.
26202         (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
26203         when the result is unpredictable due to sign extension.
26205 2014-06-11  Terry Guo  <terry.guo@arm.com>
26207         * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
26208         (*thumb1_addsi3): Ditto.
26209         (*thumb_subdi3): Ditto.
26210         (thumb1_subsi3_insn): Ditto.
26211         (*thumb_mulsi3): Ditto.
26212         (*thumb_mulsi3_v6): Ditto.
26213         (*thumb1_andsi3_insn): Ditto.
26214         (thumb1_bicsi3): Ditto.
26215         (*thumb1_iorsi3_insn): Ditto.
26216         (*thumb1_xorsi3_insn): Ditto.
26217         (*thumb1_ashlsi3): Ditto.
26218         (*thumb1_ashrsi3): Ditto.
26219         (*thumb1_lshrsi3): Ditto.
26220         (*thumb1_rotrsi3): Ditto.
26221         (*thumb1_negdi2): Ditto.
26222         (*thumb1_negsi2): Ditto.
26223         (*thumb1_abssi2): Ditto.
26224         (*thumb1_neg_abssi2): Ditto.
26225         (*thumb1_one_cmplsi2): Ditto.
26226         (*thumb1_zero_extendhisi2): Ditto.
26227         (*thumb1_zero_extendqisi2): Ditto.
26228         (*thumb1_zero_extendqisi2_v6): Ditto.
26229         (thumb1_extendhisi2): Ditto.
26230         (thumb1_extendqisi2): Ditto.
26231         (*thumb1_movdi_insn): Ditto.
26232         (*thumb1_movsi_insn): Ditto.
26233         (*thumb1_movhi_insn): Ditto.
26234         (thumb_movhi_clobber): Ditto.
26235         (*thumb1_movqi_insn): Ditto.
26236         (*thumb1_movhf): Ditto.
26237         (*thumb1_movsf_insn): Ditto.
26238         (*thumb_movdf_insn): Ditto.
26239         (movmem12b): Ditto.
26240         (movmem8b): Ditto.
26241         (cbranchqi4): Ditto.
26242         (cbranchsi4_insn): Ditto.
26243         (cbranchsi4_scratch): Ditto.
26244         (*negated_cbranchsi4): Ditto.
26245         (*tbit_cbranch): Ditto.
26246         (*tlobits_cbranch): Ditto.
26247         (*tstsi3_cbranch): Ditto.
26248         (*cbranchne_decr1): Ditto.
26249         (*addsi3_cbranch): Ditto.
26250         (*addsi3_cbranch_scratch): Ditto.
26251         (*thumb_cmpdi_zero): Ditto.
26252         (cstoresi_eq0_thumb1): Ditto.
26253         (cstoresi_ne0_thumb1): Ditto.
26254         (*cstoresi_eq0_thumb1_insn): Ditto.
26255         (*cstoresi_ne0_thumb1_insn): Ditto.
26256         (cstoresi_nltu_thumb1): Ditto.
26257         (cstoresi_ltu_thumb1): Ditto.
26258         (thumb1_addsi3_addgeu): Ditto.
26259         (*thumb_jump): Ditto.
26260         (*call_reg_thumb1_v5): Ditto.
26261         (*call_reg_thumb1): Ditto.
26262         (*call_value_reg_thumb1_v5): Ditto.
26263         (*call_value_reg_thumb1): Ditto.
26264         (*call_insn): Ditto.
26265         (*call_value_insn): Ditto.
26266         (thumb1_casesi_internal_pic): Ditto.
26267         (thumb1_casesi_dispatch): Ditto.
26268         (*thumb1_indirect_jump): Ditto.
26269         (prologue_thumb1_interwork): Ditto.
26270         (*epilogue_insns): Ditto.
26271         (consttable_1): Ditto.
26272         (consttable_2): Ditto.
26273         (tablejump): Ditto.
26274         (*thumb1_tablejump): Ditto.
26275         (thumb_eh_return): Ditto.
26276         (define_peephole2): Two of them are thumb1 only and got moved into
26277         new file thumb1.md.
26278         (define_split): Six of them are thumb1 only and got moved into new
26279         file thumb1.md.
26280         * config/arm/thumb1.md: New file comprised of above thumb1 only
26281         patterns.
26283 2014-06-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26285         * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
26286         * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
26287         dependencies.
26288         * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
26289         (aarch64_crc_builtin_datum): New struct.
26290         (aarch64_crc_builtin_data): New.
26291         (aarch64_init_crc32_builtins): New function.
26292         (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
26293         (aarch64_crc32_expand_builtin): New.
26294         (aarch64_expand_builtin): Add CRC32 builtin expansion case.
26295         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
26296         __ARM_FEATURE_CRC32 when appropriate.
26297         (TARGET_CRC32): Define.
26298         * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
26299         UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
26300         UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
26301         (aarch64_<crc_variant>): New pattern.
26302         * config/aarch64/arm_acle.h: New file.
26303         * config/aarch64/iterators.md (CRC): New int iterator.
26304         (crc_variant, crc_mode): New int attributes.
26305         * doc/aarch64-acle-intrinsics.texi: New file.
26306         * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
26307         Include aarch64-acle-intrinsics.texi.
26309 2014-06-11  Evgeny Stupachenko  <evstupac@gmail.com>
26311         * tree-vect-data-refs.c (vect_grouped_store_supported): New
26312         check for stores group of length 3.
26313         (vect_permute_store_chain): New permutations for stores group of
26314         length 3.
26315         * tree-vect-stmts.c (vect_model_store_cost): Change cost
26316         of vec_perm_shuffle for the new permutations.
26318 2014-06-11  Jan Hubicka  <hubicka@ucw.cz>
26320         * ipa-visibility.c (function_and_variable_visibility): Disable virtual
26321         table rewriting temporarily on targets not supporting ONE_ONLY.
26323 2014-06-11  Richard Biener  <rguenther@suse.de>
26325         PR middle-end/61437
26326         Revert
26327         2014-06-04  Richard Biener  <rguenther@suse.de>
26329         * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
26330         TREE_PUBLIC and DECL_EXTERNAL decls.
26332 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
26334         * varasm.c (set_implicit_section): New function.
26335         (resolve_unique_section): Use it to set implicit section
26336         for aliases, too.
26337         (get_named_text_section): Use symtab_get_node (decl)->implicit_section
26338         (default_function_section): Likewise.
26339         (decl_binds_to_current_def_p): Constify argument.
26340         * varasm.h (decl_binds_to_current_def_p): Update prototype.
26341         * asan.c (asan_protect_global): Use
26342         symtab_get_node (decl)->implicit_section.
26343         * symtab.c (dump_symtab_base): Dump implicit sections.
26344         (verify_symtab_base): Verify sanity of sectoins and comdats.
26345         (symtab_resolve_alias): Alias share the section of its target.
26346         (set_section_1): New function.
26347         (symtab_node::set_section): Move here, recurse to aliases.
26348         (verify_symtab): Check for duplicated symtab lists.
26349         * tree-core.h (implicit_section_name_p): Remove.
26350         * tree-vect-data-refs.c: Include varasm.h.
26351         (vect_can_force_dr_alignment_p): Fix conditional on when
26352         decl bints to current definition; use
26353         symtab_get_node (decl)->implicit_section.
26354         * cgraph.c (cgraph_make_node_local_1): Fix section set.
26355         * cgraph.h (struct symtab_node): Add implicit_section.
26356         (set_section): Rename to ...
26357         (set_section_for_node): ... this one.
26358         (set_section): Declare.
26359         * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
26360         * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
26361         input_overwrite_node, input_varpool_node): Stream implicit_section.
26362         * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
26363         removal; it will fail in LTO.
26365 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26367         * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
26368         Change second alternative type to f_mcr.
26369         * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
26370         and 12th alternatives' types to f_mcr and f_mrc.
26371         (*movdi_aarch64): Same for 12th and 13th alternatives.
26372         (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
26373         (aarch64_movtilow_tilow): Change type to fmov.
26375 2014-06-10  Jiong Wang  <jiong.wang@arm.com>
26377         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
26378         (aarch64_save_or_restore_callee_save_registers): Fix layout.
26380 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26382         * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
26383         New expander.
26384         (aarch64_sqrdmulh_lane<mode>): Likewise.
26385         (aarch64_sq<r>dmulh_lane<mode>): Rename to...
26386         (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
26387         (aarch64_sqdmulh_laneq<mode>): New expander.
26388         (aarch64_sqrdmulh_laneq<mode>): Likewise.
26389         (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
26390         (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
26391         (aarch64_sqdmulh_lane<mode>): New expander.
26392         (aarch64_sqrdmulh_lane<mode>): Likewise.
26393         (aarch64_sq<r>dmulh_lane<mode>): Rename to...
26394         (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
26395         (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
26396         (aarch64_sqdmlal_laneq<mode>): Likewise.
26397         (aarch64_sqdmlsl_lane<mode>): Likewise.
26398         (aarch64_sqdmlsl_laneq<mode>): Likewise.
26399         (aarch64_sqdmlal2_lane<mode>): Likewise.
26400         (aarch64_sqdmlal2_laneq<mode>): Likewise.
26401         (aarch64_sqdmlsl2_lane<mode>): Likewise.
26402         (aarch64_sqdmlsl2_laneq<mode>): Likewise.
26403         (aarch64_sqdmull_lane<mode>): Likewise.
26404         (aarch64_sqdmull_laneq<mode>): Likewise.
26405         (aarch64_sqdmull2_lane<mode>): Likewise.
26406         (aarch64_sqdmull2_laneq<mode>): Likewise.
26408 2014-06-10  Richard Biener  <rguenther@suse.de>
26410         PR tree-optimization/61438
26411         * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
26412         (eliminate_dom_walker::before_dom_children): Only try to inhibit
26413         insertion of IVs if running PRE.
26414         (eliminate): Adjust.
26415         (pass_pre::execute): Likewise.
26416         (pass_fre::execute): Likewise.
26418 2014-06-10  Richard Biener  <rguenther@suse.de>
26420         PR middle-end/61456
26421         * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
26422         Do not use the main variant for the type comparison.
26423         (ncr_compar): Likewise.
26424         (nonoverlapping_component_refs_p): Likewise.
26426 2014-06-10  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26428         * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
26429         REG_CFA_RESTORE mode.
26431 2014-06-10  Evgeny Stupachenko  <evstupac@gmail.com>
26433         * config/i386/i386.c (expand_vec_perm_pblendv): New.
26434         * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
26435         expand_vec_perm_pblendv.
26437 2014-06-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
26439         * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
26440         available.
26441         Simplify description of __crc32d and __crc32cd intrinsics.
26442         * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
26443         availability.
26445 2014-06-10  Thomas Schwinge  <thomas@codesourcery.com>
26447         PR lto/61334
26448         * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
26449         * config.in: Regenerate.
26450         * configure: Likewise.
26452 2014-06-10  Jan Hubicka  <hubicka@ucw.cz>
26454         * ipa-reference.c (is_proper_for_analysis): Exclude addressable
26455         and public vars.
26456         (intersect_static_var_sets): Remove.
26457         (propagate): Do not prune local statics.
26459 2014-06-10  Jakub Jelinek  <jakub@redhat.com>
26461         PR fortran/60928
26462         * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
26463         Set lastprivate_firstprivate even if omp_private_outer_ref
26464         langhook returns true.
26465         <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
26466         langhook, call unshare_expr on new_var and call
26467         build_outer_var_ref to get the last argument.
26469 2014-06-10  Marek Polacek  <polacek@redhat.com>
26471         PR c/60988
26472         * doc/extend.texi: Add cindex for transparent_union.
26474 2014-06-09  Thomas Preud'homme  <thomas.preudhomme@arm.com>
26476         * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
26477         init_symbolic_number ().
26479 2014-05-18  John David Anglin  <danglin@gcc.gnu.org>
26481         PR middle-end/61141
26482         * emit-rtl.c (reset_all_used_flags): In a sequence, check that
26483         XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
26484         (verify_rtl_sharing): Likewise.
26486 2014-06-09  Marc Glisse  <marc.glisse@inria.fr>
26488         PR c++/54442
26489         * tree.c (build_qualified_type): Use a canonical type for
26490         TYPE_CANONICAL.
26492 2014-06-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
26494         * config/arm/arm-modes.def: Remove XFmode.
26496 2014-06-09  Alan Lawrence  <alan.lawrence@arm.com>
26498         PR target/61062
26499         * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
26500         vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
26501         vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
26502         vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
26503         vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
26504         vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
26505         vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
26506         vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
26507         vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
26509 2014-06-09  Jan Hubicka  <hubicka@ucw.cz>
26511         * tree-core.h (tree_decl_with_vis): Remove section_name.
26513 2014-06-09  Kito Cheng  <kito@0xlab.org>
26515         * ira.c (ira): Don't call init_caller_save if LRA enabled
26516         since LRA use its own infrastructure to handle that.
26518 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
26520         * symtab.c (dump_symtab_base): Update dumping.
26521         (symtab_make_decl_local): Clear only DECL_COMDAT.
26522         * tree-vect-data-refs.c (Check that variable is static before
26523         tampering with sections.
26524         * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
26525         (cgraph_create_virtual_clone): Likewise.
26526         * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
26527         (decl_section_name, set_decl_section_name): New accessors.
26528         (find_decls_types_r): Do not walk section name
26529         * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
26530         (decl_comdat_group, decl_comdat_group_id): Constify.
26531         (decl_section_name, set_decl_section_name): Update.
26532         * varpool.c (varpool_finalize_named_section_flags): Use get_section.
26533         * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
26534         (cgraph_make_node_local_1): Clear section and comdat group.
26535         * cgraph.h (set_comdat_group): Sanity check.
26536         (get_section, set_section): New.
26537         * ipa-comdats.c (ipa_comdats): Use get_section.
26538         * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
26539         * lto-streamer-out.c: Do not follow section names.
26540         * c-family/c-common.c (handle_section_attribute): Update.
26541         * lto-cgraph.c (lto_output_node): Output section.
26542         (lto_output_varpool_node): Likewise.
26543         (read_comdat_group): Rename to ...
26544         (read_identifier): ... this one.
26545         (read_string_cst): New function.
26546         (input_node, input_varpool_node): Input section names.
26547         * tree-emutls.c (get_emutls_init_templ_addr): Update.
26548         (new_emutls_decl): Update.
26549         (secname_for_decl): Check section names only of static vars.
26550         * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
26551         * config/i386/winnt.c (i386_pe_unique_section): Likewise.
26552         * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
26553         * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
26554         * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
26555         * config/mcore/mcore.c (mcore_unique_section): Likewise.
26556         * config/mips/mips.c (mips16_build_function_stub): Likewise.
26557         * config/v850/v850.c (v850_insert_attributes): Likewise.
26558         * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
26559         Likewise.
26560         (h8300_handle_tiny_data_attribute): Likewise.
26561         * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
26562         (bfin_handle_l2_attribute): Likewise.
26564 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
26566         * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
26567         remove static initializer.
26569 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
26571         * varasm.c (use_blocks_for_decl_p): Check symbol table
26572         instead of alias attribute.
26573         (place_block_symbol): Recurse on aliases.
26575 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
26577         * ipa-visibility.c: Include varasm.h
26578         (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
26580 2014-06-07  Jan Hubicka  <hubicka@ucw.cz>
26582         * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
26583         outputting aliases.
26585 2014-06-07  Steven Bosscher  <steven@gcc.gnu.org>
26587         * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
26588         from test_insn into GGC space escape via SET_SRC.
26590 2014-06-07  Eric Botcazou  <ebotcazou@adacore.com>
26592         * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
26593         call statement, if any.
26594         (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
26595         statements, if any.  Tidy up.
26597 2014-06-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
26599         PR target/61431
26600         * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
26601         iterators, VSX_D that handles 64-bit types, and VSX_LE that
26602         handles swapping the two 64-bit double words on little endian
26603         systems.  Include V1TImode and optionally TImode in VSX_LE so that
26604         these types are properly swapped.  Change all of the insns and
26605         splits that do the 64-bit swaps to use VSX_LE.
26606         (vsx_le_perm_load_<mode>): Likewise.
26607         (vsx_le_perm_store_<mode>): Likewise.
26608         (splitters for little endian memory operations): Likewise.
26609         (vsx_xxpermdi2_le_<mode>): Likewise.
26610         (vsx_lxvd2x2_le_<mode>): Likewise.
26611         (vsx_stxvd2x2_le_<mode>): Likewise.
26613 2014-06-06  Uros Bizjak  <ubizjak@gmail.com>
26615         PR target/61423
26616         * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
26617         define_insn_and_split pattern, merged from *floatunssi<mode>2_1
26618         and corresponding splitters.  Zero extend general register
26619         or memory input operand to XMM temporary.  Enable for
26620         TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
26621         (floatunssi<mode>2): Update expander predicate.
26623 2014-06-06  Vladimir Makarov  <vmakarov@redhat.com>
26625         PR rtl-optimization/61325
26626         * lra-constraints.c (process_address_1): Check scale equal to one
26627         to prevent transformation: base + scale * index => base + new_reg.
26629 2014-06-06  Richard Biener  <rguenther@suse.de>
26631         PR tree-optimization/59299
26632         * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
26633         a def operand.
26634         (nearest_common_dominator_of_uses): Likewise.
26635         (statement_sink_location): Adjust.  Support sinking loads.
26637 2014-06-06  Martin Jambor  <mjambor@suse.cz>
26639         * ipa-prop.c (get_place_in_agg_contents_list): New function.
26640         (build_agg_jump_func_from_list): Likewise.
26641         (determine_known_aggregate_parts): Renamed to
26642         determine_locally_known_aggregate_parts.  Moved some functionality
26643         to the two functions above, removed bound checks.
26645 2014-06-06  James Greenhalgh  <james.greenhalgh@arm.com>
26647         * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
26648         * config/aarch64/aarch64.c (aarch64_move_pointer): New.
26649         (aarch64_progress_pointer): Likewise.
26650         (aarch64_copy_one_part_and_move_pointers): Likewise.
26651         (aarch64_expand_movmen): Likewise.
26652         * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
26653         * config/aarch64/aarch64.md (movmem<mode>): New.
26655 2014-06-06  Bingfeng Mei  <bmei@broadcom.com>
26657         * targhooks.c (default_add_stmt_cost): Call target specific
26658         hook instead of default one.
26660 2014-06-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
26662         * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
26663         endianness instead of host endianness.
26664         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
26665         comments.
26667 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
26669         PR debug/53927
26670         * function.c (instantiate_decls): Process the saved static chain.
26671         (expand_function_start): If not optimizing, save the static chain
26672         onto the stack.
26673         * tree-nested.c (convert_all_function_calls): Always create the static
26674         chain for nested functions if not optimizing.
26676 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
26678         * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
26680 2014-06-06  Richard Biener  <rguenther@suse.de>
26682         * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
26683         (construct_init_block): Likewise.
26684         (construct_exit_block): Likewise.
26685         (pass_expand::execute): Likewise.
26686         * graphite.c (graphite_transforms): Replace check for current_loops
26687         with a check for > 1 loops.
26688         (pass_graphite_transforms::execute): Adjust.
26689         * ipa-split.c (split_function): Remove check for current_loops.
26690         * omp-low.c (expand_parallel_call): Likewise.
26691         (expand_omp_for_init_counts): Likewise.
26692         (extract_omp_for_update_vars): Likewise.
26693         (expand_omp_for_generic): Likewise.
26694         (expand_omp_sections): Likewise.
26695         (expand_omp_target): Likewise.
26696         * tracer.c (tail_duplicate): Likewise.
26697         (pass_tracer::execute): Likewise.
26698         * trans-mem.c (expand_transaction): Likewise.
26699         * tree-complex.c (expand_complex_div_wide): Likewise.
26700         * tree-eh.c (lower_resx): Likewise.
26701         (cleanup_empty_eh_merge_phis): Likewise.
26702         * tree-predcom.c (run_tree_predictive_commoning): Replace check for
26703         current_loops with a check for > 1 loops.
26704         (pass_predcom::execute): Adjust.
26705         * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
26706         * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
26707         * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
26708         * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
26709         * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
26710         * tree-switch-conversion.c (process_switch): Likewise.
26711         * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
26712         * tree-vrp.c (vrp_visit_phi_node): Likewise.
26713         (execute_vrp): Likewise.
26714         * ubsan.c (ubsan_expand_null_ifn): Likewise.
26716 2014-06-06  Eric Botcazou  <ebotcazou@adacore.com>
26718         * rtl.h (insn_location): Declare.
26719         * cfgcleanup.c (try_forward_edges): Compare the locus of locations
26720         with UNKNOWN_LOCATION.
26721         * emit-rtl.c (insn_location): New function.
26722         * final.c (notice_source_line): Check that the instruction has a
26723         location before retrieving it and use insn_location.
26724         * modulo-sched.c (loop_single_full_bb_p): Likewise.
26725         * print-rtl.c (print_rtx): Likewise.
26727 2014-06-06  Richard Biener  <rguenther@suse.de>
26729         * passes.def: Move 2nd VRP pass before phi-only-cprop.
26731 2014-06-06  Christian Bruel  <christian.bruel@st.com>
26733         PR tree-optimization/43934
26734         * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
26735         cost.
26737 2014-06-06  Richard Sandiford  <rdsandiford@googlemail.com>
26739         * ira-lives.c (single_reg_class): Add missing break.  Explicitly
26740         return NO_REGS for extra address and memory constraints.  Handle
26741         operands that match (or are equivalent to something that matches)
26742         extra constant constraints.  Ignore other non-register operands.
26744 2014-06-06  Alan Modra  <amodra@gmail.com>
26746         PR target/61300
26747         * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
26748         * doc/tm.texi: Regenerate.
26749         * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
26750         Use throughout in place of REG_PARM_STACK_SPACE.
26751         * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
26752         "incoming" param.  Pass to rs6000_function_parms_need_stack.
26753         (rs6000_function_parms_need_stack): Add "incoming" param, ignore
26754         prototype_p when incoming.  Use function decl when incoming
26755         to handle K&R style functions.
26756         * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
26757         (INCOMING_REG_PARM_STACK_SPACE): Define.
26759 2014-06-05  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
26761         PR target/52472
26762         * cfgexpand.c (expand_debug_expr): Use address space of nested
26763         TREE_TYPE for ADDR_EXPR and MEM_REF.
26765 2014-06-05  Jeff Law  <law@redhat.com>
26767         PR tree-optimization/61289
26768         * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
26769         DST_MAP parameters.   Invalidate by walking all the SSA_NAME_VALUES
26770         looking for those which match LHS.  All callers changed.
26771         (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
26772         parameters and code which manipulated them.  All callers changed.
26773         (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
26774         and DST_MAP parameters.  Simplify invalidation code by just calling
26775         invalidate_equivalences.  All callers changed.
26776         (thread_across_edge): Simplify now that we don't need to maintain
26777         the map of equivalences to invalidate.
26779 2014-06-05  Kai Tietz  <ktietz@redhat.com>
26780             Richard Henderson  <rth@redhat.com>
26782         PR target/46219
26783         * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
26784         checking for !TARGET_X32.
26785         * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
26786         (sibcall_intern): New define_insn, plus required peepholes.
26787         (sibcall_pop_intern): Likewise.
26788         (sibcall_value_intern): Likewise.
26789         (sibcall_value_pop_intern): Likewise.
26791 2014-06-05  Ilya Enkovich  <ilya.enkovich@intel.com>
26793         * tree-inline.c (tree_function_versioning): Check DF info existence
26794         before accessing it.
26796 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26798         * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
26799         frame_size.
26800         * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
26801         aarch64_frame hard_fp_offset and frame_size.
26802         (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
26803         frame_size; remove original_frame_size.
26804         (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
26805         (aarch64_initial_elimination_offset): Remove frame_size and
26806         offset.  Use aarch64_frame frame_size.
26808 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26809             Jiong Wang  <jiong.wang@arm.com>
26810             Renlin  <renlin.li@arm.com>
26812         * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
26813         initialization of R30 offset.  Update offset.  Iterate core
26814         regisers upto X30.  Remove X29, X30 specific code.
26816 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26817             Jiong Wang  <jiong.wang@arm.com>
26819         * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
26820         (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
26821         (aarch64_register_saved_on_entry): Adjust test.
26823 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26825         * config/aarch64/aarch64.h (machine_function): Move
26826         saved_varargs_size from here...
26827         (aarch64_frame): ... to here.
26829         * config/aarch64/aarch64.c (aarch64_expand_prologue)
26830         (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
26831         (aarch64_initial_elimination_offset)
26832         (aarch64_setup_incoming_varargs): Adjust location of
26833         saved_varargs_size.
26835 2014-06-05  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26837         * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
26838         layout comment.
26840 2014-06-05  Jaydeep Patil  <Jaydeep.Patil@imgtec.com>
26841             Prachi Godbole  <Prachi.Godbole@imgtec.com>
26843         * config/mips/mips-cpus.def: Add definition for p5600.  Updated
26844         mips32r5 entry to use PROCESSOR_P5600.
26845         * config/mips/mips-tables.opt: Regenerate.
26846         * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
26847         * config/mips/mips.c (mips_fmadd_bypass): New function.
26848         (mips_rtx_cost_data): Add costs for p5600.
26849         (mips_issue_rate): Add support for p5600.
26850         (mips_multipass_dfa_lookahead): Likewise.
26851         * config/mips/mips.h (TUNE_P5600): New define.
26852         (TUNE_MACC_CHAINS): Add TUNE_P5600.
26853         (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
26854         * config/mips/mips.md: Include p5600.md.
26855         (processor): Add p5600.
26856         * config/mips/p5600.md: New file.
26858 2014-06-05  Evgeny Stupachenko  <evstupac@gmail.com>
26860         * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
26861         * config/i386/predicates.md (palignr_operand): New.
26862         Indicates if permutation is suitable for palignr instruction.
26864 2014-06-05  Yuri Rumyantsev  <ysrumyan@gmail.com>
26866         PR tree-optimization/61319
26867         * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
26868         stmt belongs to loop.
26870 2014-06-05  Richard Biener  <rguenther@suse.de>
26872         * gimplify.c (create_tmp_from_val): Remove is_formal parameter
26873         and set DECL_GIMPLE_REG_P unconditionally if appropriate.
26874         (lookup_tmp_var): Adjust.
26875         (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
26877 2014-06-05  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
26879         * config/arm/arm.md (enabled): Disable opt_enabled attribute.
26881 2014-06-05  Marek Polacek  <polacek@redhat.com>
26883         PR c/49706
26884         * doc/invoke.texi: Document -Wlogical-not-parentheses.
26886 2014-06-04  Tom de Vries  <tom@codesourcery.com>
26888         * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
26889         CONST_INT.
26891 2014-06-04  Marc Glisse  <marc.glisse@inria.fr>
26893         PR tree-optimization/61385
26894         * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
26896 2014-06-04  Bernd Schmidt  <bernds@codesourcery.com>
26898         * lto-wrapper.c (fatal, fatal_perror): Remove functions.  All callers
26899         changed to use fatal_error.
26900         (main): Ensure lto_wrapper_cleanup is run atexit.
26902 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26904         * lra-constraints.c (valid_address_p): Move earlier in file.
26905         (address_eliminator): New structure.
26906         (satisfies_memory_constraint_p): New function.
26907         (satisfies_address_constraint_p): Likewise.
26908         (process_alt_operands, process_address, curr_insn_transform): Use them.
26910 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26912         * lra-int.h (lra_static_insn_data): Make operand_alternative a
26913         const pointer.
26914         (target_lra_int, default_target_lra_int, this_target_lra_int)
26915         (op_alt_data): Delete.
26916         * lra.h (lra_init): Delete.
26917         * lra.c (default_target_lra_int, this_target_lra_int): Delete.
26918         (init_insn_code_data_once): Remove op_alt_data handling.
26919         (finish_insn_code_data_once): Likewise.
26920         (init_op_alt_data): Delete.
26921         (get_static_insn_data): Initialize operand_alternative to null.
26922         (free_insn_recog_data): Cast operand_alternative before freeing it.
26923         (setup_operand_alternative): Take the operand_alternative as
26924         parameter and assume it isn't already cached in the static
26925         insn data.
26926         (lra_set_insn_recog_data): Update accordingly.
26927         (lra_init): Delete.
26928         * ira.c (ira_init): Don't call lra_init.
26929         * target-globals.h (this_target_lra_int): Declare.
26930         (target_globals): Remove lra_int.
26931         (restore_target_globals): Update accordingly.
26932         * target-globals.c: Don't include lra-int.h.
26933         (default_target_globals, save_target_globals): Remove lra_int.
26935 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26937         * recog.h (operand_alternative): Convert reg_class, reject,
26938         matched and matches into bitfields.
26939         (preprocess_constraints): New overload.
26940         (preprocess_insn_constraints): New function.
26941         (preprocess_constraints): Take the insn as parameter.
26942         (recog_op_alt): Change into a pointer.
26943         (target_recog): Add x_op_alt.
26944         * recog.c (asm_op_alt): New variable.
26945         (recog_op_alt): Change into a pointer.
26946         (preprocess_constraints): New overload, replacing the old function
26947         definition with one that doesn't use global state.
26948         (preprocess_insn_constraints): New function.
26949         (preprocess_constraints): Use them.  Take the insn as parameter.
26950         Use asm_op_alt for asms.
26951         (recog_init): Free existing x_op_alt entries.
26952         * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
26953         pointer const.
26954         (make_early_clobber_and_input_conflicts): Likewise.
26955         (process_bb_node_lives): Pass the insn to process_constraints.
26956         * reg-stack.c (check_asm_stack_operands): Likewise.
26957         (subst_asm_stack_regs): Likewise.
26958         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
26959         * regrename.c (build_def_use): Likewise.
26960         * sched-deps.c (sched_analyze_insn): Likewise.
26961         * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
26962         * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
26963         (note_invalid_constants): Likewise.
26964         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
26965         (ix86_legitimate_combined_insn): Make operand_alternative pointer
26966         const.
26968 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26970         * recog.c (preprocess_constraints): Don't skip disabled alternatives.
26971         * ira-lives.c (check_and_make_def_conflict): Check for disabled
26972         alternatives.
26973         (make_early_clobber_and_input_conflicts): Likewise.
26974         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
26976 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26978         * recog.h (alternative_class): New function.
26979         (which_op_alt): Return a const recog_op_alt.
26980         * reg-stack.c (check_asm_stack_operands): Update type accordingly.
26981         (subst_asm_stack_regs): Likewise.
26982         * config/arm/arm.c (note_invalid_constants): Likewise.
26983         * regcprop.c (copyprop_hardreg_forward_1): Likewise.  Don't modify
26984         the operand_alternative; use alternative class instead.
26985         * sel-sched.c (get_reg_class): Likewise.
26986         * regrename.c (build_def_use): Likewise.
26987         (hide_operands, restore_operands, record_out_operands): Update type
26988         accordingly.
26990 2014-06-04  Richard Sandiford  <rdsandiford@googlemail.com>
26992         * recog.h (recog_op_alt): Convert to a flat array.
26993         (which_op_alt): New function.
26994         * recog.c (recog_op_alt): Convert to a flat array.
26995         (preprocess_constraints): Update accordingly, grouping all
26996         operands of the same alternative together, rather than the
26997         other way around.
26998         * ira-lives.c (check_and_make_def_conflict): Likewise.
26999         (make_early_clobber_and_input_conflicts): Likewise.
27000         * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
27001         * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
27002         (subst_asm_stack_regs): Likewise.
27003         * regcprop.c (copyprop_hardreg_forward_1): Likewise.
27004         * regrename.c (hide_operands, record_out_operands): Likewise.
27005         (build_def_use): Likewise.
27006         * sel-sched.c (get_reg_class): Likewise.
27007         * config/arm/arm.c (note_invalid_constants): Likewise.
27009 2014-06-04  Jason Merrill  <jason@redhat.com>
27011         PR c++/51253
27012         PR c++/61382
27013         * gimplify.c (gimplify_arg): Non-static.
27014         * gimplify.h: Declare it.
27016 2014-06-04  Richard Biener  <rguenther@suse.de>
27018         * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
27019         TREE_PUBLIC and DECL_EXTERNAL decls.
27021 2014-06-04  Matthew Fortune  <matthew.fortune@imgtec.com>
27023         * regcprop.c (copyprop_hardreg_forward_1): Account for
27024         HARD_REGNO_CALL_PART_CLOBBERED.
27026 2014-06-04  Richard Biener  <rguenther@suse.de>
27028         * configure.ac: Check whether the underlying type of int64_t
27029         is long or long long.
27030         * configure: Regenerate.
27031         * config.in: Likewise.
27032         * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
27033         (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
27035 2014-06-04  Richard Biener  <rguenther@suse.de>
27037         PR tree-optimization/60098
27038         * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
27039         we hit a kill.
27040         (dse_optimize_stmt): Simplify, now that we found a kill
27041         earlier.
27043 2014-06-04  Richard Biener  <rguenther@suse.de>
27045         * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
27046         of accesses with non-invariant address.
27048 2014-06-04  Martin Liska  <mliska@suse.cz>
27050         * cgraph.h (cgraph_make_wrapper): New function introduced.
27051         * cgraphunit.c (cgraph_make_wrapper): The function implementation.
27052         * ipa-inline.h (inline_analyze_function): The function is global.
27053         * ipa-inline-analysis.c (inline_analyze_function): Likewise.
27055 2014-06-04  Martin Liska  <mliska@suse.cz>
27057         * tree.h (private_lookup_attribute_starting): New function.
27058         (lookup_attribute_starting): Likewise.
27059         * tree.c (private_lookup_attribute_starting): Likewise.
27061 2014-06-04  Martin Liska  <mliska@suse.cz>
27063         * cgraph.h (expand_thunk): New argument added.
27064         (address_taken_from_non_vtable_p): New global function.
27065         * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
27066         * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
27067         * cgraphunit.c (analyze_function): Likewise.
27068         (assemble_thunks_and_aliases): Argument added to call.
27069         (expand_thunk): New argument forces to produce GIMPLE thunk.
27071 2014-06-04  Martin Liska  <mliska@suse.cz>
27073         * coverage.h (coverage_compute_cfg_checksum): Argument added.
27074         * coverage.c (coverage_compute_cfg_checksum): Likewise.
27075         * profile.c (branch_prob): Likewise.
27077 2014-06-04  Martin Jambor  <mjambor@suse.cz>
27079         PR ipa/61340
27080         * ipa-pure-const.c (propagate_pure_const): Add unreachable default
27081         handler for switch on an ipa_ref_use enum.
27082         * ipa-reference.c (analyze_function): Likewise.
27084 2014-06-04  Kai Tietz  <ktietz@redhat.com>
27086         * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
27087         from old call-instruction.
27089 2014-06-04  Bin Cheng  <bin.cheng@arm.com>
27091         * config/aarch64/aarch64.c (aarch64_classify_address)
27092         (aarch64_legitimize_reload_address): Support full addressing modes
27093         for vector modes.
27094         * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
27095         (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
27097 2014-06-03  Andrew Pinski  <apinski@cavium.com>
27099         * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
27100         for OP0.
27102 2014-06-03  Andrew Pinski  <apinski@cavium.com>
27104         * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
27105         (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
27107 2014-06-03  Kai Tietz  <ktietz@redhat.com>
27109         * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
27110         for 64-bit ms-abi.
27112 2014-06-03  Dehao Chen  <dehao@google.com>
27114         * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
27115         the same loop.
27117 2014-06-03  Marek Polacek  <polacek@redhat.com>
27119         PR c/60439
27120         * doc/invoke.texi: Document -Wswitch-bool.
27121         * function.c (stack_protect_epilogue): Cast controlling expression of
27122         the switch to int.
27123         * gengtype.c (walk_type): Generate switch expression with its
27124         controlling expression cast to int.
27126 2014-06-03  Vishnu K S  <Vishnu.k_s@atmel.com>
27128         * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
27129         and attiny841.
27130         * config/avr/avr-tables.opt: Regenerate.
27131         * config/avr/t-multilib: Regenerate.
27132         * doc/avr-mmcu.texi: Regenerate.
27134 2014-06-03  Vishnu K S  <vishnu.k_s@atmel.com>
27135             Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
27137         * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
27138         (ata6617c, ata664251): Add new avr35 devices.
27139         (ata6612c): Add new avr4 device.
27140         (ata6613c, ata6614q): Add new avr5 devices.
27141         * config/avr/avr-tables.opt: Regenerate.
27142         * config/avr/t-multilib: Regenerate.
27143         * doc/avr-mmcu.texi: Regenerate.
27145 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
27147         * gcc/config/aarch64/aarch64-builtins.c
27148         (aarch64_types_binop_ssu_qualifiers): New static data.
27149         (TYPES_BINOP_SSU): Define.
27150         * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
27151         urshr_n, ushll_n): Use appropriate unsigned qualifiers.
27152         * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
27153         vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
27154         vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
27155         vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
27156         vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
27157         vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
27158         vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
27159         suffix to builtin function name, remove cast.
27160         (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
27161         vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
27162         vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
27164 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
27166         * gcc/config/aarch64/aarch64-builtins.c
27167         (aarch64_types_binop_uus_qualifiers,
27168         aarch64_types_shift_to_unsigned_qualifiers,
27169         aarch64_types_unsigned_shiftacc_qualifiers): Define.
27170         * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
27171         uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
27172         sqshlu_n, uqshl_n): Update qualifiers.
27173         * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
27174         vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
27175         vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
27176         vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
27177         vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
27178         vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
27179         vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
27180         vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
27181         vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
27182         vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
27183         vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
27184         vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
27185         vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
27186         vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
27187         vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
27188         vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
27189         vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
27190         vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
27191         vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
27192         vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
27193         vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
27194         vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
27195         vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
27196         vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
27197         vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
27198         vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
27199         vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
27201 2014-06-03  Teresa Johnson  <tejohnson@google.com>
27203         * tree-sra.c (modify_function): Record caller nodes after rebuild.
27205 2014-06-02  Jason Merrill  <jason@redhat.com>
27207         PR c++/61020
27208         * varpool.c (ctor_for_folding): Handle uninitialized vtables.
27210 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
27212         * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
27213         location == 0.
27215 2014-06-03  Alan Lawrence  <alan.lawrence@arm.com>
27217         * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
27218         New pattern.
27219         * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
27220         (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
27221         * config/aarch64/iterators.md (REVERSE): New iterator.
27222         (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
27223         (rev_op): New int_attribute.
27224         * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
27225         vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
27226         vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
27227         vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
27228         vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
27229         vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
27230         vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
27231         Replace temporary __asm__ with __builtin_shuffle.
27233 2014-06-03  Andrew Bennett  <andrew.bennett@imgtec.com>
27235         * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
27236         mips64r5.
27237         * config/mips/mips-tables.opt: Regenerate.
27238         * config/mips/mips.c (mips_compute_frame_info): Changed if statement
27239         to use mips_isa_rev rather than ISA_MIPS32R2.
27240         * config/mips/mips.h (ISA_MIPS32R3): New define.
27241         (ISA_MIPS32R5): New define.
27242         (ISA_MIPS64R3): New define.
27243         (ISA_MIPS64R5): New define.
27244         (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
27245         ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
27246         (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
27247         and mips64r5.
27248         (MIPS_ISA_SYNCI_SPEC): Likewise.
27249         (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
27250         (LINK_SPEC): Added mips32r3 and mips32r5.
27251         * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
27252         to mips32r2; and mips64r3 and mips64r5 to mips64r2.
27253         * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
27254         * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
27255         * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
27256         * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
27257         * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
27259 2014-06-03  Andrew Bennett  <andrew.bennett@imgtec.com>
27261         * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
27262         options.
27263         * config/mips/mips.opt (mxpa): New option.
27264         * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
27265         assembler.
27267 2014-06-03  Martin Jambor  <mjambor@suse.cz>
27269         PR ipa/61160
27270         * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
27271         thunks.
27273 2014-06-03  Thomas Preud'homme  <thomas.preudhomme@arm.com>
27275         PR tree-optimization/61328
27276         * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
27277         initialization from find_bswap_or_nop_1.
27278         (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
27279         in source_expr2 before using the size value the function sets. Also
27280         make use of init_symbolic_number () in both the old place and
27281         find_bswap_or_nop_load () to avoid reading uninitialized memory when
27282         doing recursion in the GIMPLE_BINARY_RHS case.
27284 2014-06-03  Richard Biener  <rguenther@suse.de>
27286         PR tree-optimization/61383
27287         * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
27288         stmts can't trap.
27290 2014-06-03  Richard Sandiford  <rdsandiford@googlemail.com>
27292         * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
27293         (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
27294         (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
27295         (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
27296         in this file.
27297         (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
27298         (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
27299         * system.h: ...here and make it unconditional.
27300         * target.def (conditional_register_usage): Mention
27301         define_register_constraint instead of old-style constraint macros.
27302         * doc/tm.texi.in: Remove documentation for old-style constraint macros.
27303         * doc/tm.texi: Regenerate.
27304         * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
27305         protected by !USE_MD_CONSTRAINTS.
27306         * config/frv/frv.md: Remove quote from old version of documentation.
27307         * config/frv/frv.c (frv_conditional_register_usage): Likewise.
27308         * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
27309         CONST_DOUBLE_OK_FOR_LETTER.
27310         * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
27312 2014-06-02  Andrew Pinski  <apinski@cavium.com>
27314         * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
27315         /lib/ld-linux32-aarch64.so.1 is used for ILP32.
27316         (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
27317         file whose name depends on -mabi= and -mbig-endian.
27318         * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
27319         Handle LP64 better and handle ilp32 too.
27320         (MULTILIB_OPTIONS): Delete.
27321         (MULTILIB_DIRNAMES): Delete.
27323 2014-06-02  Andrew MacLeod  <amacleod@redhat.com>
27325         * expr.h: Remove prototypes of functions defined in builtins.c.
27326         * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
27327         Remove prototypes of functions defined in builtins.c.
27328         * builtins.h: Update prototype list to include all exported functions.
27329         * builtins.c: (default_libc_has_function, gnu_libc_has_function,
27330         no_c99_libc_has_function): Move to targhooks.c
27331         (build_string_literal, build_call_expr_loc_array,
27332         build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
27333         to tree.c.
27334         (expand_builtin_object_size, fold_builtin_object_size): Make static.
27335         * targhooks.c (default_libc_has_function, gnu_libc_has_function,
27336         no_c99_libc_has_function): Relocate from builtins.c.
27337         * tree.c: Include builtins.h.
27338         (build_call_expr_loc_array, build_call_expr_loc_vec,
27339         build_call_expr_loc, build_call_expr, build_string_literal): Relocate
27340         from builtins.c.
27341         * fold-const.h (fold_fma): Move prototype to builtins.h.
27342         * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
27343         * asan.c: Include builtins.h.
27344         * cfgexpand.c: Likewise.
27345         * convert.c: Likewise.
27346         * emit-rtl.c: Likewise.
27347         * except.c: Likewise.
27348         * expr.c: Likewise.
27349         * fold-const.c: Likewise.
27350         * gimple-fold.c: Likewise.
27351         * gimple-ssa-strength-reduction.c: Likewise.
27352         * gimplify.c: Likewise.
27353         * ipa-inline.c: Likewise.
27354         * ipa-prop.c: Likewise.
27355         * lto-streamer-out.c: Likewise.
27356         * stmt.c: Likewise.
27357         * tree-inline.c: Likewise.
27358         * tree-object-size.c: Likewise.
27359         * tree-sra.c: Likewise.
27360         * tree-ssa-ccp.c: Likewise.
27361         * tree-ssa-forwprop.c: Likewise.
27362         * tree-ssa-loop-ivcanon.c: Likewise.
27363         * tree-ssa-loop-ivopts.c: Likewise.
27364         * tree-ssa-math-opts.c: Likewise.
27365         * tree-ssa-reassoc.c: Likewise.
27366         * tree-ssa-threadedge.c: Likewise.
27367         * tree-streamer-in.c: Likewise.
27368         * tree-vect-data-refs.c: Likewise.
27369         * tree-vect-patterns.c: Likewise.
27370         * tree-vect-stmts.c: Likewise.
27371         * config/aarch64/aarch64.c: Likewise.
27372         * config/alpha/alpha.c: Likewise.
27373         * config/arc/arc.c: Likewise.
27374         * config/arm/arm.c: Likewise.
27375         * config/avr/avr.c: Likewise.
27376         * config/bfin/bfin.c: Likewise.
27377         * config/c6x/c6x.c: Likewise.
27378         * config/cr16/cr16.c: Likewise.
27379         * config/cris/cris.c: Likewise.
27380         * config/epiphany/epiphany.c: Likewise.
27381         * config/fr30/fr30.c: Likewise.
27382         * config/frv/frv.c: Likewise.
27383         * config/h8300/h8300.c: Likewise.
27384         * config/i386/i386.c: Likewise.
27385         * config/i386/winnt.c: Likewise.
27386         * config/ia64/ia64.c: Likewise.
27387         * config/iq2000/iq2000.c: Likewise.
27388         * config/lm32/lm32.c: Likewise.
27389         * config/m32c/m32c.c: Likewise.
27390         * config/m32r/m32r.c: Likewise.
27391         * config/m68k/m68k.c: Likewise.
27392         * config/mcore/mcore.c: Likewise.
27393         * config/mep/mep.c: Likewise.
27394         * config/microblaze/microblaze.c: Likewise.
27395         * config/mips/mips.c: Likewise.
27396         * config/mmix/mmix.c: Likewise.
27397         * config/mn10300/mn10300.c: Likewise.
27398         * config/moxie/moxie.c: Likewise.
27399         * config/msp430/msp430.c: Likewise.
27400         * config/nds32/nds32.c: Likewise.
27401         * config/pa/pa.c: Likewise.
27402         * config/pdp11/pdp11.c: Likewise.
27403         * config/picochip/picochip.c: Likewise.
27404         * config/rl78/rl78.c: Likewise.
27405         * config/rs6000/rs6000.c: Likewise.
27406         * config/rx/rx.c: Likewise.
27407         * config/s390/s390.c: Likewise.
27408         * config/score/score.c: Likewise.
27409         * config/sh/sh.c: Likewise.
27410         * config/sparc/sparc.c: Likewise.
27411         * config/spu/spu.c: Likewise.
27412         * config/stormy16/stormy16.c: Likewise.
27413         * config/tilegx/tilegx.c: Likewise.
27414         * config/tilepro/tilepro.c: Likewise.
27415         * config/v850/v850.c: Likewise.
27416         * config/vax/vax.c: Likewise.
27417         * config/xtensa/xtensa.c: Likewise.
27419 2014-06-02  Jeff Law  <law@redhat.com>
27421         PR rtl-optimization/61094
27422         * ree.c (combine_reaching_defs): Do not reextend an insn if it
27423         was marked as do_no_reextend.  If a copy is needed to eliminate
27424         an extension, then mark it as do_not_reextend.
27426 2014-06-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27428         * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
27430 2014-06-02  Richard Henderson  <rth@redhat.com>
27432         PR target/61336
27433         * config/alpha/alpha.c (print_operand_address): Allow symbolic
27434         addresses inside asms.  Use output_operand_lossage instead of
27435         gcc_unreachable.
27437 2014-06-02  Uros Bizjak  <ubizjak@gmail.com>
27439         PR target/61239
27440         * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
27441         GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
27443 2014-06-02  Tom de Vries  <tom@codesourcery.com>
27445         * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
27446         case that x has VOIDmode.
27448 2014-06-02  Bernd Schmidt  <bernds@codesourcery.com>
27450         * varasm.c (copy_constant): Delete function.
27451         (build_constant_desc): Don't call it.
27453 2014-06-02  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
27455         PR target/61154
27456         * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
27457         * config/arm/arm.md (mov64 splitter): Replace const_double_operand
27458         with immediate_operand.
27460 2014-06-02  Andreas Schwab  <schwab@suse.de>
27462         * config/ia64/ia64.c
27463         (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
27464         pending_data_specs first.
27466 2014-06-02  Richard Biener  <rguenther@suse.de>
27468         PR tree-optimization/61378
27469         * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
27470         valueized_anything.
27472 2014-06-01  Uros Bizjak  <ubizjak@gmail.com>
27474         * config/i386/constraints.md (Bw): Rename from 'w'.
27475         (Bz): Rename from 'z'.
27476         * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
27478 2014-06-01  Kai Tietz  <ktietz@redhat.com>
27480         PR target/61377
27481         * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
27482         * config/i386/i386.md (sibcall_insn_operand): Use Bs
27483         instead of m constraint.
27485 2014-05-31  Andreas Schwab  <schwab@linux-m68k.org>
27487         * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
27488         a separate alternative where the scratch operand 2 is marked as
27489         early clobber.
27491 2014-05-31  Kugan Vivekanandarajah  <kuganv@linaro.org>
27493         * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
27494         (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
27495         (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
27496         and __builtins_arm_get_fpscr.
27497         (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
27498         __builtins_arm_get_fpscr.
27499         (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
27500         __builtins_arm_ldfpscr.
27501         (arm_atomic_assign_expand_fenv): New function.
27502         * config/arm/vfp.md (set_fpscr): New pattern.
27503         (get_fpscr) : Likewise.
27504         * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
27505         VUNSPEC_SET_FPSCR.
27506         * doc/extend.texi (AARCH64 Built-in Functions) : Document
27507         __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
27509 2014-05-30  Jakub Jelinek  <jakub@redhat.com>
27511         * asan.c (report_error_func): Add SLOW_P argument, use
27512         BUILT_IN_ASAN_*_N if set.
27513         (build_check_stmt): Likewise.
27514         (instrument_derefs): If T has insufficient alignment,
27515         force same handling as for odd sizes.
27517         * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
27518         BUILT_IN_ASAN_REPORT_STORE_N): New.
27519         * asan.c (struct asan_mem_ref): Change access_size type to
27520         HOST_WIDE_INT.
27521         (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
27522         update_mem_ref_hash_table): Likewise.
27523         (asan_mem_ref_hasher::hash): Hash in a HWI.
27524         (report_error_func): Change size_in_bytes argument to HWI.
27525         Use *_N builtins if size_in_bytes is larger than 16 or not power of
27526         two.
27527         (build_shadow_mem_access): New function.
27528         (build_check_stmt): Use it.  Change size_in_bytes argument to HWI.
27529         Handle size_in_bytes not power of two or larger than 16.
27530         (instrument_derefs): Don't give up if size_in_bytes is not
27531         power of two or is larger than 16.
27533 2014-05-30  Kai Tietz  <ktietz@redhat.com>
27535         PR target/60104
27536         * config/i386/i386.c (x86_output_mi_thunk): Add memory case
27537         for sibling-tail-calls.
27538         * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
27539         to its use.
27540         * config/i386/predicates.md (sibcall_memory_operand): New predicate.
27541         (sibcall_insn_operand): Add check for sibcall_memory_operand.
27543 2014-05-30  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
27545         * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
27546         * config/avr/avr-tables.opt: Regenerate.
27547         * config/avr/t-multilib: Regenerate.
27548         * doc/avr-mmcu.texi: Regenerate.
27550 2014-05-30  Ian Lance Taylor  <iant@google.com>
27552         * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
27553         target("sse").
27555 2014-05-30  Tom de Vries  <tom@codesourcery.com>
27557         * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
27558         Redefine as true.
27560 2014-05-30  Tom de Vries  <tom@codesourcery.com>
27562         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
27563         * lra.c (initialize_lra_reg_info_element): Add init of
27564         actual_call_used_reg_set field.
27565         (lra): Call lra_create_live_ranges before lra_inheritance for
27566         -fuse-caller-save.
27567         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
27568         -fuse-caller-save.
27569         * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
27570         instead of call_used_reg_set for -fuse-caller-save.
27571         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
27573 2014-05-30  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
27575         * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
27576         to mov_imm.
27577         * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
27579 2014-05-30  Richard Sandiford  <rdsandiford@googlemail.com>
27581         * ira.c (ira_get_dup_out_num): Check for output operands at
27582         the start of the loop.  Handle cases where an included alternative
27583         follows an excluded one.
27585 2014-05-29  Mike Stump  <mikestump@comcast.net>
27587         PR debug/61352
27588         * collect2.c (maybe_run_lto_and_relink): Be sure to always run
27589         post ld passes when lto is used.
27591 2014-05-29  Vladimir Makarov  <vmakarov@redhat.com>
27593         PR rtl-optimization/61325
27594         * lra-constraints.c (process_address): Rename to process_address_1.
27595         (process_address): New function.
27597 2014-05-29  Alan Lawrence  <alan.lawrence@arm.com>
27599         * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
27600         TYPES_BINOPV): New static data.
27601         * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
27602         New builtin.
27603         * config/aarch64/aarch64-simd.md (aarch64_ext,
27604         aarch64_im_lane_boundsi): New patterns.
27605         * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
27606         patterns for EXT.
27607         (aarch64_evpc_ext): New function.
27609         * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
27611         * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
27612         vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
27613         vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
27614         vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
27615         vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
27617 2014-05-29  Tom de Vries  <tom@codesourcery.com>
27619         * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
27621 2014-05-29  Richard Earnshaw <rearnsha@arm.com>
27622             Richard Sandiford  <rdsandiford@googlemail.com>
27624         * arm/iterators.md (shiftable_ops): New code iterator.
27625         (t2_binop0, arith_shift_insn): New code attributes.
27626         * arm/predicates.md (shift_nomul_operator): New predicate.
27627         * arm/arm.md (insn_enabled): Delete.
27628         (enabled): Remove insn_enabled test.
27629         (*arith_shiftsi): Delete.  Replace with ...
27630         (*<arith_shift_insn>_multsi): ... new pattern.
27631         (*<arith_shift_insn>_shiftsi): ... new pattern.
27632         * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
27634 2014-05-29  Radovan Obradovic  <robradovic@mips.com>
27635             Tom de Vries  <tom@codesourcery.com>
27637         * config/mips/mips.h (POST_CALL_TMP_REG): Define.
27638         * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
27639         clobber.
27640         (mips_split_call): Use POST_CALL_TMP_REG.
27641         (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
27643 2014-05-29  Tom de Vries  <tom@codesourcery.com>
27645         * final.c (collect_fn_hard_reg_usage): Guard variable declaration
27646         with #ifdef STACK_REGS.
27648 2014-05-28  Jan Hubicka  <hubicka@ucw.cz>
27650         * varasm.c (get_variable_section): Walk aliases.
27651         (place_block_symbol): Walk aliases.
27653 2014-05-28  Tom de Vries  <tom@codesourcery.com>
27655         Revert:
27656         2014-05-28  Tom de Vries  <tom@codesourcery.com>
27658         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
27659         * lra.c (initialize_lra_reg_info_element): Add init of
27660         actual_call_used_reg_set field.
27661         (lra): Call lra_create_live_ranges before lra_inheritance for
27662         -fuse-caller-save.
27663         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
27664         -fuse-caller-save.
27665         * lra-constraints.c (need_for_call_save_p): Use
27666         actual_call_used_reg_set instead of call_used_reg_set for
27667         -fuse-caller-save.
27668         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
27670 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
27672         * doc/md.texi: Document that the % constraint character must
27673         be at the beginning of the string.
27674         * genoutput.c (validate_insn_alternatives): Check that '=',
27675         '+' and '%' only appear at the beginning of a constraint.
27676         * ira.c (commutative_constraint_p): Delete.
27677         (ira_get_dup_out_num): Expect the '%' commutativity marker to be
27678         at the start of the string.
27679         * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
27680         duplicate '='s.
27681         * config/arm/neon.md (bicdi3_neon): Likewise.
27682         * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
27683         (slt_si, sltu_si): Likewise.
27684         * config/vax/vax.md (sbcdi3): Likewise.
27685         * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
27686         * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
27687         (mul64): Move '%' to beginning of constraint.
27688         * config/arm/arm.md (*xordi3_insn): Likewise.
27689         * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
27690         (xorsi3): Likewise.
27692 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
27694         * doc/md.texi: Document the restrictions on the "enabled" attribute.
27696 2014-05-28  Jason Merrill  <jason@redhat.com>
27698         PR c++/47202
27699         * cgraph.h (symtab_node::get_comdat_group_id): New.
27700         * cgraphunit.c (analyze_functions): Call it.
27701         * symtab.c (dump_symtab_node): Likewise.
27702         * tree.c (decl_comdat_group_id): New.
27703         * tree.h: Declare it.
27704         * lto-streamer-out.c (write_symbol): Use it.
27705         * trans-mem.c (ipa_tm_create_version_alias): Likewise.
27707 2014-05-28  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
27709         PR bootstrap/PR61146
27710         * wide-int.cc: Do not include longlong.h when compiling with clang.
27712 2014-05-28  Richard Biener  <rguenther@suse.de>
27714         * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
27715         * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
27716         (vrp_visit_assignment_or_call): Print less vertical space.
27717         (vrp_visit_stmt): Likewise.
27718         (vrp_visit_phi_node): Likewise.  For a PHI argument with
27719         VR_VARYING range consider recording it as copy.
27721 2014-05-28  Richard Biener  <rguenther@suse.de>
27723         Revert
27724         2014-05-28  Richard Biener  <rguenther@suse.de>
27726         * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
27728 2014-05-28  Bernd Edlinger  <bernd.edlinger@hotmail.de>
27730         * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
27731         sufficiently aligned and an offset is used at the same time.
27732         (expand_expr_real_1): Likewise.
27734 2014-05-28  Richard Biener  <rguenther@suse.de>
27736         PR middle-end/61045
27737         * fold-const.c (fold_comparison): When folding
27738         X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
27739         the sign of the remaining constant operand stays the same.
27741 2014-05-28  Kaushik Phatak  <kaushik.phatak@kpit.com>
27743         * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
27744         __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
27745         (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
27746         to the assembler.
27747         (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
27748         * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
27749         (m32bit-doubles) Likewise.
27750         * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
27751         * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
27752         option for RL78.
27754 2014-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
27756         * configure.ac ($gcc_cv_ld_clearcap): New test.
27757         * configure: Regenerate.
27758         * config.in: Regenerate.
27759         * config/sol2.opt (mclear-hwcap): New option.
27760         * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
27761         * config/sol2-clearcap.map: Moved here from
27762         testsuite/gcc.target/i386/clearcap.map.
27763         * config/sol2-clearcapv2.map: Move here from
27764         gcc.target/i386/clearcapv2.map.
27765         * config/t-sol2 (install): Depend on install-clearcap-map.
27766         (install-clearcap-map): New target.
27767         * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
27768         -mclear-hwcap.
27770 2014-05-28  Richard Biener  <rguenther@suse.de>
27772         * hwint.h (*_HALF_WIDE_INT*): Move to ...
27773         * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
27774         ... here and remove the rest.
27775         * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
27777 2014-05-28  Richard Biener  <rguenther@suse.de>
27779         PR tree-optimization/61335
27780         * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
27781         new range fails, drop to varying.
27783 2014-05-28  Olivier Hainque  <hainque@adacore.com>
27785         * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
27786         (CPP_SPEC): Add entry for -mcpu=8548.
27787         * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
27788         * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
27790 2014-05-28  Tom de Vries  <tom@codesourcery.com>
27792         * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
27793         * lra.c (initialize_lra_reg_info_element): Add init of
27794         actual_call_used_reg_set field.
27795         (lra): Call lra_create_live_ranges before lra_inheritance for
27796         -fuse-caller-save.
27797         * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
27798         -fuse-caller-save.
27799         * lra-constraints.c (need_for_call_save_p): Use
27800         actual_call_used_reg_set instead of call_used_reg_set for
27801         -fuse-caller-save.
27802         * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
27804 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
27805             Tom de Vries  <tom@codesourcery.com>
27807         * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
27808         to gccoptlist.
27809         (@item -fuse-caller-save): New item.
27811 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
27812             Tom de Vries  <tom@codesourcery.com>
27814         * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
27815         OPT_fuse_caller_save.
27817 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
27818             Tom de Vries  <tom@codesourcery.com>
27820         * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
27821         * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
27822         get_call_reg_set_usage.
27823         * resource.c (mark_set_resources, mark_target_live_regs): Use
27824         get_call_reg_set_usage.
27825         * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
27826         field.
27827         (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
27828         * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
27829         Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
27830         * ira-build.c (ira_create_allocno): Init
27831         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
27832         (create_cap_allocno, propagate_allocno_info)
27833         (propagate_some_info_from_allocno)
27834         (copy_info_to_removed_store_destinations): Handle
27835         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
27836         * ira-costs.c (ira_tune_allocno_costs): Use
27837         ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
27839 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
27840             Tom de Vries  <tom@codesourcery.com>
27842         * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
27843         and function_used_regs_valid fields.
27844         * final.c: Move include of hard-reg-set.h to before rtl.h to declare
27845         find_all_hard_reg_sets.
27846         (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
27847         (get_call_reg_set_usage): New function.
27848         (rest_of_handle_final): Use collect_fn_hard_reg_usage.
27849         * regs.h (get_call_reg_set_usage): Declare.
27851 2014-05-28  Georg-Johann Lay  <avr@gjlay.de>
27853         PR libgcc/61152
27854         * config/dbx.h (License): Add Runtime Library Exception.
27855         * config/newlib-stdint.h (License): Same.
27856         * config/rtems.h (License): Same
27857         * config/initfini-array.h (License): Same
27858         * config/v850/v850.h (License): Same.
27859         * config/v850/v850-opts.h (License): Same
27860         * config/v850/rtems.h (License): Same.
27862 2014-05-28  Georg-Johann Lay  <avr@gjlay.de>
27864         PR target/61044
27865         * doc/extend.texi (Local Labels): Note that label differences are
27866         not supported for AVR.
27868 2014-05-28  Richard Sandiford  <rdsandiford@googlemail.com>
27869             Olivier Hainque  <hainque@adacore.com>
27871         * rtl.h (set_for_reg_notes): Declare.
27872         * emit-rtl.c (set_for_reg_notes): New function.
27873         (set_unique_reg_note): Use it.
27874         * optabs.c (add_equal_note): Likewise
27876 2014-05-27  Andrew Pinski  <apinski@cavium.com>
27878         * config/aarch64/aarch64.md (stack_protect_set_<mode>):
27879         Use <w> for the register in assembly template.
27880         (stack_protect_test): Use the mode of operands[0] for the result.
27881         (stack_protect_test_<mode>): Use <w> for the register
27882         in assembly template.
27884 2014-05-27  DJ Delorie  <dj@redhat.com>
27886         * config/rx/rx.c (add_vector_labels): New.
27887         (rx_output_function_prologue): Call it.
27888         (rx_handle_func_attribute): Don't require empty arguments.
27889         (rx_handle_vector_attribute): New.
27890         (rx_attribute_table): Add "vector" attribute.
27891         * doc/extend.texi (interrupt, vector): Document new/changed
27892         RX-specific attributes.
27894         * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
27896 2014-05-27  Eric Botcazou  <ebotcazou@adacore.com>
27898         * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
27899         predicate to detect a negative quotient.
27901 2014-05-27  Eric Botcazou  <ebotcazou@adacore.com>
27903         * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
27904         to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
27905         Add X - Y CMP 0 to X CMP Y transformation.
27906         (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
27908 2014-05-27  Segher Boessenkool  <segher@kernel.crashing.org>
27910         * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
27911         before printing.
27913 2014-05-27  Steve Ellcey  <sellcey@mips.com>
27915         * config/mips/mips.c: Add include of cgraph.h.
27917 2014-05-27  Richard Biener  <rguenther@suse.de>
27919         * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
27921 2014-05-27  Georg-Johann Lay  <avr@gjlay.de>
27923         PR libgcc/61152
27924         * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
27925         * config/arm/arm-cores.def (License): Same.
27926         * config/arm/arm-opts.h (License): Same.
27927         * config/arm/aout.h (License): Same.
27928         * config/arm/bpabi.h (License): Same.
27929         * config/arm/elf.h (License): Same.
27930         * config/arm/linux-elf.h (License): Same.
27931         * config/arm/linux-gas.h (License): Same.
27932         * config/arm/netbsd-elf.h (License): Same.
27933         * config/arm/uclinux-eabi.h (License): Same.
27934         * config/arm/uclinux-elf.h (License): Same.
27935         * config/arm/vxworks.h (License): Same.
27937 2014-05-27  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
27939         * config/arm/neon.md (neon_bswap<mode>): New pattern.
27940         * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
27941         (arm_init_neon_builtins): Handle NEON_BSWAP.
27942         Define required type nodes.
27943         (arm_expand_neon_builtin): Handle NEON_BSWAP.
27944         (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
27945         * config/arm/arm_neon_builtins.def (bswap): Define builtins.
27946         * config/arm/iterators.md (VDQHSD): New mode iterator.
27948 2014-05-27  Richard Biener  <rguenther@suse.de>
27950         * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
27951         Try using literal operands when comparing value-ranges failed.
27953 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
27955         * ira.c (commutative_operand): Adjust for change to recog_data.
27956         [Missing from previous commit.]
27958 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
27960         * system.h (TEST_BIT): New macro.
27961         * recog.h (alternative_mask): New type.
27962         (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
27963         (recog_data_d): Replace alternative_enabled_p array with
27964         enabled_alternatives.
27965         (target_recog): New structure.
27966         (default_target_recog, this_target_recog): Declare.
27967         (get_enabled_alternatives, recog_init): Likewise.
27968         * recog.c (default_target_recog, this_target_recog): New variables.
27969         (get_enabled_alternatives): New function.
27970         (extract_insn): Use it.
27971         (recog_init): New function.
27972         (preprocess_constraints, constrain_operands): Adjust for change to
27973         recog_data.
27974         * postreload.c (reload_cse_simplify_operands): Likewise.
27975         * reload.c (find_reloads): Likewise.
27976         * ira-costs.c (record_reg_classes): Likewise.
27977         * ira-lives.c (single_reg_class): Likewise.  Fix bug in which
27978         all alternatives after a disabled one would be skipped.
27979         (ira_implicitly_set_insn_hard_regs): Likewise.
27980         * ira.c (ira_setup_alts): Adjust for change to recog_data.
27981         * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
27982         with enabled_alternatives.
27983         * lra.c (free_insn_recog_data): Update accordingly.
27984         (lra_update_insn_recog_data): Likewise.
27985         (lra_set_insn_recog_data): Likewise.  Use get_enabled_alternatives.
27986         * lra-constraints.c (process_alt_operands): Likewise.  Handle
27987         only_alternative as part of the enabled mask.
27988         * target-globals.h (this_target_recog): Declare.
27989         (target_globals): Add a recog field.
27990         (restore_target_globals): Restore this_target_recog.
27991         * target-globals.c: Include recog.h.
27992         (default_target_globals): Initialize recog field.
27993         (save_target_globals): Likewise.
27994         * reginfo.c (reinit_regs): Call recog_init.
27995         * toplev.c (backend_init_target): Likewise.
27997 2014-05-27  Richard Sandiford  <rdsandiford@googlemail.com>
27999         * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
28000         rather than any named insn's code.
28002 2014-05-27  Georg-Johann Lay  <avr@gjlay.de>
28004         PR libgcc/61152
28005         * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
28006         * config/arm/arm-cores.def (License): Same.
28008 2014-05-26  Jan Hubicka  <hubicka@ucw.cz>
28010         * tree.h (decl_comdat_group): Declare.
28011         * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
28012         * tree.c (decl_comdat_group): Here.
28014 2014-05-26  Richard Sandiford  <r.sandiford@uk.ibm.com>
28016         PR rtl-optimization/61222
28017         * combine.c (simplify_shift_const_1): When moving a PLUS outside
28018         the shift, truncate the PLUS operand to the result mode.
28020 2014-05-26  Uros Bizjak  <ubizjak@gmail.com>
28022         PR target/61271
28023         * config/i386/i386.c (ix86_rtx_costs)
28024         <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
28025         Fix condition.
28027 2014-05-26  Martin Jambor  <mjambor@suse.cz>
28029         * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
28030         subreg uses.
28032 2014-05-26  Richard Biener  <rguenther@suse.de>
28034         * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
28035         wi::int_traits <long long>, wi::int_traits <unsigned long long>):
28036         Provide specializations.
28037         (wi::int_traits <HOST_WIDE_INT>,
28038         wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
28040 2014-05-26  Alan Modra  <amodra@gmail.com>
28042         PR target/61098
28043         * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
28044         params and return a bool.  Remove dead code.  Update comment.
28045         Assert we have a const_int source.  Remove bogus code from
28046         32-bit HWI days.  Move !TARGET_POWERPC64 handling, and correct
28047         handling of constants > 2G and reg_equal note, from..
28048         (rs6000_emit_set_long_const): ..here.  Remove unneeded param and
28049         return value.  Update comment.  If we can, use a new pseudo
28050         for intermediate calculations.
28051         * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
28052         prototype.
28053         * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
28054         call to rs6000_emit_set_const in splitter.
28055         (movdi_internal64+2, +3): Likewise.
28057 2014-05-26  Richard Biener  <rguenther@suse.de>
28059         * system.h: Define __STDC_FORMAT_MACROS before
28060         including inttypes.h.
28061         * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
28062         HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
28063         HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
28064         HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
28065         HOST_WIDEST_INT_C): Remove.
28066         (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
28067         if C99 inttypes.h is not available.
28068         * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
28069         * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
28070         * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
28071         * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
28072         * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
28073         (struct output_info): Likewise.
28074         (print_statistics): Adjust.
28075         (dump_bitmap_statistics): Likewise.
28076         * bt-load.c (migrate_btr_defs): Print with PRId64.
28077         * cfg.c (dump_edge_info, dump_bb_info): Likewise.
28078         (MAX_SAFE_MULTIPLIER): Adjust.
28079         * cfghooks.c (dump_bb_for_graph): Print with PRId64.
28080         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
28081         dump_cgraph_node): Likewise.
28082         * final.c (dump_basic_block_info): Likewise.
28083         * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
28084         * gcov.c (format_gcov): Likewise.
28085         * ipa-cp.c (good_cloning_opportunity_p): Likewise.  Use int64_t
28086         for calculation.
28087         (get_clone_agg_value): Use HOST_WIDE_INT for offset.
28088         * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
28089         (inline_small_functions, dump_overall_stats, dump_inline_stats):
28090         Use PRId64 for dumping.
28091         * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
28092         * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
28093         (add_allocno_hard_regs): Adjust.
28094         * loop-doloop.c (doloop_modify): Print using PRId64.
28095         * loop-iv.c (inverse): Compute in uint64_t.
28096         (determine_max_iter, iv_number_of_iterations): Likewise.
28097         * loop-unroll.c (decide_peel_completely, decide_peel_simple):
28098         Print using PRId64.
28099         * lto-streamer-out.c (write_symbol): Use uint64_t.
28100         * mcf.c (CAP_INFINITY): Use int64_t maximum.
28101         (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
28102         find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
28103         * modulo-sched.c (const_iteration_count): Use int64_t.
28104         (sms_schedule): Dump using PRId64.
28105         * predict.c (dump_prediction): Likewise.
28106         * pretty-print.h (pp_widest_integer): Remove.
28107         * profile.c (get_working_sets, is_edge_inconsistent,
28108         is_inconsistent, read_profile_edge_counts): Dump using PRId64.
28109         * tree-pretty-print.c (pp_double_int): Remove case handling
28110         HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
28111         * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
28112         and adjust users.
28113         (pass_optimize_bswap::execute): Remove restriction on hosts.
28114         * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
28115         * tree-streamer-out.c (streamer_write_tree_header): Likewise.
28116         * tree.c (widest_int_cst_value): Remove.
28117         * tree.h (widest_int_cst_value): Likewise.
28118         * value-prof.c (dump_histogram_value): Print using PRId64.
28119         * gengtype.c (main): Also inject int64_t.
28120         * ggc-page.c (struct max_alignment): Use int64_t.
28121         * alloc-pool.c (struct allocation_object_def): Likewise.
28122         * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
28123         for computation.
28124         * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
28125         * doc/tm.texi: Regenerated.
28126         * gengtype-lex.l (IWORD): Handle [u]int64_t.
28127         * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
28128         * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
28129         mmix_output_register_setting): Use [u]int64_t in prototypes.
28130         * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
28131         mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
28132         mmix_output_octa, mmix_output_shifted_value): Adjust.
28133         (mmix_intval): Adjust.  Remove unreachable case.
28134         * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
28136 2014-05-26  Richard Biener  <rguenther@suse.de>
28138         * configure.ac: Drop __int64 type check.  Insist that we
28139         found uint64_t and int64_t.
28140         * hwint.h (HOST_BITS_PER___INT64): Remove.
28141         (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
28142         (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
28143         (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
28144         (HOST_WIDEST_FAST_INT): Remove __int64 case.
28145         * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
28146         for dst_q_src_df_rms_cdt.
28147         * configure: Regenerate.
28148         * config.in: Likewise.
28150 2014-05-26  Michael Tautschnig  <mt@debian.org>
28152         PR target/61249
28153         * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
28154         __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
28156 2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
28158         PR rtl-optimization/61278
28159         * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
28161 2014-05-26  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
28163         PR rtl-optimization/61220
28164         Part of PR rtl-optimization/61225
28165         * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
28166         insn; skip split_edge for a block with only one successor.
28168 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28170         * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
28171         for variables.
28173 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28175         * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
28176         (update_vtable_references): New function.
28177         (function_and_variable_visibility): Rewrite also vtable initializers.
28178         * varpool.c (cgraph_variable_initializer_availability): Remove assert.
28180 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28182         * ggc.h (ggc_grow): New function.
28183         * ggc-none.c (ggc_grow): New function.
28184         * ggc-page.c (ggc_grow): Likewise.
28186 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28188         * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
28189         address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
28190         comdat_can_be_unshared_p, cgraph_externally_visible_p,
28191         varpool_externally_visible_p, can_replace_by_local_alias,
28192         update_visibility_by_resolution_info, function_and_variable_visibility,
28193         pass_data_ipa_function_and_variable_visibility,
28194         make_pass_ipa_function_and_variable_visibility,
28195         whole_program_function_and_variable_visibility,
28196         pass_data_ipa_whole_program_visibility,
28197         make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
28198         * cgraph.h (cgraph_local_node_p): Declare.
28199         * ipa-visibility.c: New file.
28200         * Makefile.in (OBJS): Add ipa-visiblity.o
28202 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28204         * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
28205         that var decl is available.
28207 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28209         * tree-core.h (tree_decl_with_vis): Replace comdat_group by
28210         symtab_node pointer.
28211         * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
28212         (find_decls_types_r): Do not walk COMDAT_GROUP.
28213         * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
28214         * varasm.c (make_decl_one_only): Use set_comdat_group;
28215         create node if needed.
28216         * ipa-inline-transform.c (save_inline_function_body): Update
28217         way we decl->symtab mapping.
28218         * symtab.c (symtab_hash, hash_node, eq_node
28219         symtab_insert_node_to_hashtable): Remove.
28220         (symtab_register_node): Update.
28221         (symtab_unregister_node): Update.
28222         (symtab_get_node): Reimplement as inline function.
28223         (symtab_add_to_same_comdat_group): Update.
28224         (symtab_dissolve_same_comdat_group_list): Update.
28225         (dump_symtab_base): Update.
28226         (verify_symtab_base): Update.
28227         (symtab_make_decl_local): Update.
28228         (fixup_same_cpp_alias_visibility): Update.
28229         (symtab_nonoverwritable_alias): Update.
28230         * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
28231         * ipa.c (update_visibility_by_resolution_info): UPdate.
28232         * bb-reorder.c: Include cgraph.h
28233         * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
28234         with comdat groups.
28235         * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
28236         * cgraph.c (cgraph_get_create_node): Update.
28237         * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
28238         and comdat_group_.
28239         (symtab_get_node): Make inline.
28240         (symtab_insert_node_to_hashtable): Remove.
28241         (symtab_can_be_discarded): Update.
28242         (decl_comdat_group): New function.
28243         * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
28244         Update.
28245         * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
28246         comdat group name.
28247         (read_comdat_group): New function.
28248         (input_node, input_varpool_node): Use it.
28249         * trans-mem.c (ipa_tm_create_version_alias): Update code creating
28250         comdat groups.
28251         * mips.c (mips_start_unique_function): Likewise.
28252         (ix86_code_end): Likewise.
28253         (rs6000_code_end): Likweise.
28254         * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
28256 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28258         * gengtype-state.c (fatal_reading_state): Bring offline.
28259         * optabs.c (widening_optab_handler): Bring offline.
28260         * optabs.h (widening_optab_handler): Likewise.
28261         * final.c (get_attr_length_1): Likewise.
28263 2014-05-23  Jan Hubicka  <hubicka@ucw.cz>
28265         * sched-int.h (sd_iterator_cond): Manually tail recurse.
28267 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28269         * config/rs6000/440.md (ppc440-integer): Include shift without dot.
28270         (ppc440-compare): Include shift with dot.
28271         * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
28272         * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
28273         without dot.
28274         * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
28275         without dot.
28276         (e6500_sfx2): Include it.
28277         * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
28278         *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
28279         *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
28280         andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
28281         *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
28282         *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
28283         *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
28284         *lshiftrt_internal1le, *lshiftrt_internal1be,
28285         *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
28286         *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
28287         *rotldi3_internal10le, *rotldi3_internal10be,
28288         *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
28289         ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
28290         ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
28291         *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
28292         define_insns): Use type "shift" in the appropriate alternatives.
28294 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28296         * config/rs6000/rs6000.md (type): Add "logical".  Delete
28297         "fast_compare".
28298         (dot): Adjust comment.
28299         (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
28300         *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
28301         *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
28302         anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
28303         *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
28304         *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
28305         *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
28306         * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
28308         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
28309         * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
28310         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
28311         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
28312         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
28313         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
28314         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
28315         * config/rs6000/8540.md (ppc8540_su): Adjust.
28316         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
28317         cell-cmp-microcoded): Adjust.
28318         * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
28319         * config/rs6000/e500mc.md (e500mc_su): Adjust.
28320         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
28321         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
28322         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
28323         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
28324         * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
28325         * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
28326         * config/rs6000/power6.md (power6-integer, power6-fast-compare):
28327         Adjust.
28328         * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
28329         * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
28330         Adjust.  Adjust comment.
28331         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
28332         * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
28334 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28336         * config/rs6000/rs6000.md (type): Add "add".
28337         (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
28338         *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
28339         define_insns): Use it.
28340         * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
28342         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
28343         * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
28344         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
28345         * config/rs6000/601.md (ppc601-integer): Adjust.
28346         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
28347         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
28348         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
28349         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
28350         * config/rs6000/8540.md (ppc8540_su): Adjust.
28351         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
28352         cell-cmp-microcoded): Adjust.
28353         * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
28354         * config/rs6000/e500mc.md (e500mc_su): Adjust.
28355         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
28356         * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
28357         * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
28358         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
28359         * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
28360         * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
28361         * config/rs6000/power6.md (power6-integer, power6-fast-compare):
28362         Adjust.
28363         * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
28364         * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
28365         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
28366         * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
28368 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28370         * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
28371         "delayed_compare", "var_delayed_compare".
28372         (var_shift): New attribute.
28373         (cell_micro): Adjust.
28374         (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
28375         *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
28376         rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
28377         *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
28378         *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
28379         *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
28380         *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
28381         *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
28382         *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
28383         *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
28384         *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
28385         rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
28386         *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
28387         *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
28388         *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
28389         *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
28390         *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
28391         *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
28392         *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
28393         *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
28394         *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
28395         *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
28396         *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
28397         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
28398         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
28400         * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
28401         * config/rs6000/440.md (ppc440-integer): Adjust.
28402         * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
28403         * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
28404         * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
28405         * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
28406         * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
28407         * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
28408         * config/rs6000/8540.md (ppc8540_su): Adjust.
28409         * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
28410         cell-cmp-microcoded): Adjust.
28411         * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
28412         * config/rs6000/e500mc.md (e500mc_su): Adjust.
28413         * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
28414         e500mc64_delayed): Adjust.
28415         * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
28416         * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
28417         * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
28418         * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
28419         * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
28420         * config/rs6000/power6.md (power6-shift, power6-var-rotate,
28421         power6-delayed-compare, power6-var-delayed-compare): Adjust.
28422         * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
28423         * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
28424         Adjust comment.
28425         * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
28426         * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
28428 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28430         * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv".  Add "div".
28431         (bits): New mode_attr.
28432         (idiv_ldiv): Delete mode_attr.
28433         (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
28434         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
28435         rs6000_adjust_priority, is_nonpipeline_insn,
28436         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
28438         * config/rs6000/40x.md (ppc403-idiv): Adjust.
28439         * config/rs6000/440.md (ppc440-idiv): Adjust.
28440         * config/rs6000/476.md (ppc476-idiv): Adjust.
28441         * config/rs6000/601.md (ppc601-idiv): Adjust.
28442         * config/rs6000/603.md (ppc603-idiv): Adjust.
28443         * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
28444         ppc620-ldiv): Adjust.
28445         * config/rs6000/7450.md (ppc7450-idiv): Adjust.
28446         * config/rs6000/7xx.md (ppc750-idiv): Adjust.
28447         * config/rs6000/8540.md (ppc8540_divide): Adjust.
28448         * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
28449         * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
28450         * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
28451         * config/rs6000/e500mc.md (e500mc_divide): Adjust.
28452         * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
28453         * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
28454         * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
28455         * config/rs6000/mpc.md (mpccore-idiv): Adjust.
28456         * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
28457         * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
28458         * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
28459         * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
28460         * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
28461         * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
28462         * config/rs6000/titan.md (titan_fxu_div): Adjust.
28464 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28466         * config/rs6000/rs6000.md (type): Delete "insert_word",
28467         "insert_dword".  Add "insert".
28468         (size): Update comment.
28469         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
28470         insn_must_be_first_in_group): Adjust.
28471         (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
28472         *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
28473         *insvsi_internal6, insvdi_internal): Adjust.
28475         * config/rs6000/40x.md (ppc403-integer): Adjust.
28476         * config/rs6000/440.md (ppc440-integer): Adjust.
28477         * config/rs6000/476.md (ppc476-simple-integer): Adjust.
28478         * config/rs6000/601.md (ppc601-integer): Adjust.
28479         * config/rs6000/603.md (ppc603-integer): Adjust.
28480         * config/rs6000/6xx.md (ppc604-integer): Adjust.
28481         * config/rs6000/7450.md (ppc7450-integer): Adjust.
28482         * config/rs6000/7xx.md (ppc750-integer): Adjust.
28483         * config/rs6000/8540.md (ppc8540_su): Adjust.
28484         * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
28485         * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
28486         * config/rs6000/e500mc.md (e500mc_su): Adjust.
28487         * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
28488         * config/rs6000/e5500.md (e5500_sfx): Adjust.
28489         * config/rs6000/e6500.md (e6500_sfx): Adjust.
28490         * config/rs6000/mpc.md (mpccore-integer): Adjust.
28491         * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
28492         * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
28493         * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
28494         * config/rs6000/power7.md (power7-integer): Adjust.
28495         * config/rs6000/power8.md (power8-1cyc): Adjust.
28496         * config/rs6000/rs64.md (rs64a-integer): Adjust.
28497         * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
28499 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28501         * config/rs6000/rs6000.md (type): Add "mul".  Delete "imul",
28502         "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
28503         (size): New attribute.
28504         (dot): New attribute.
28505         (cell_micro): Adjust.
28506         (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
28507         umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
28508         *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
28509         umuldi3_highpart): Adjust.
28510         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
28511         rs6000_adjust_priority, is_nonpipeline_insn,
28512         insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
28514         * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
28515         ppc405-imul3): Adjust.
28516         * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
28517         * config/rs6000/476.md (ppc476-imul): Adjust.
28518         * config/rs6000/601.md (ppc601-imul): Adjust.
28519         * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
28520         * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
28521         ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
28522         * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
28523         * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
28524         Adjust.
28525         * config/rs6000/8540.md (ppc8540_multiply): Adjust.
28526         * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
28527         * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
28528         cell-imul): Adjust.
28529         * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
28530         * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
28531         * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
28532         * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
28533         * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
28534         * config/rs6000/mpc.md (mpccore-imul): Adjust.
28535         * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
28536         power4-lmul, power4-imul, power4-imul3): Adjust.
28537         * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
28538         power5-lmul, power5-imul, power5-imul3): Adjust.
28539         * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
28540         power6-lmul, power6-imul, power6-imul3): Adjust.
28541         * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
28542         * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
28544         * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
28545         rs64a-lmul): Adjust.
28546         * config/rs6000/titan.md (titan_imul): Adjust.
28548 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28550         * config/rs6000/rs6000.md (type): Add new value "halfmul".
28551         (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
28552         *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
28553         *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
28554         *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
28555         *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
28556         * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
28557         * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
28558         * config/rs6000/476.md (ppc476-imul): Add type halfmul.
28559         * config/rs6000/titan.md: Delete nonsensical comment.
28560         (titan_imul): Add type imul3.
28561         (titan_mulhw): Remove type imul3; add type halfmul.
28563 2014-05-23  Segher Boessenkool  <segher@kernel.crashing.org>
28565         * config/rs6000/rs6000.md (type): Reorder, reformat.
28567 2014-05-23  Martin Jambor  <mjambor@suse.cz>
28569         PR tree-optimization/53787
28570         * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
28571         * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
28572         analysis_done, update all uses.
28573         * ipa-prop.c: Include domwalk.h
28574         (param_analysis_info): Removed.
28575         (param_aa_status): New type.
28576         (ipa_bb_info): Likewise.
28577         (func_body_info): Likewise.
28578         (ipa_get_bb_info): New function.
28579         (aa_overwalked): Likewise.
28580         (find_dominating_aa_status): Likewise.
28581         (parm_bb_aa_status_for_bb): Likewise.
28582         (parm_preserved_before_stmt_p): Changed to use new param AA info.
28583         (load_from_unmodified_param): Accept func_body_info as a parameter
28584         instead of parms_ainfo.
28585         (parm_ref_data_preserved_p): Changed to use new param AA info.
28586         (parm_ref_data_pass_through_p): Likewise.
28587         (ipa_load_from_parm_agg_1): Likewise.  Update callers.
28588         (compute_complex_assign_jump_func): Changed to use new param AA info.
28589         (compute_complex_ancestor_jump_func): Likewise.
28590         (ipa_compute_jump_functions_for_edge): Likewise.
28591         (ipa_compute_jump_functions): Removed.
28592         (ipa_compute_jump_functions_for_bb): New function.
28593         (ipa_analyze_indirect_call_uses): Likewise, moved variable
28594         declarations down.
28595         (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
28596         and info, moved variable declarations down.
28597         (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
28598         node and info.
28599         (ipa_analyze_stmt_uses): Likewise.
28600         (ipa_analyze_params_uses): Removed.
28601         (ipa_analyze_params_uses_in_bb): New function.
28602         (ipa_analyze_controlled_uses): Likewise.
28603         (free_ipa_bb_info): Likewise.
28604         (analysis_dom_walker): New class.
28605         (ipa_analyze_node): Handle node-specific forbidden analysis,
28606         initialize and free func_body_info, use dominator walker.
28607         (ipcp_modif_dom_walker): New class.
28608         (ipcp_transform_function): Create and free func_body_info, use
28609         ipcp_modif_dom_walker, moved a lot of functionality there.
28611 2014-05-23  Marek Polacek  <polacek@redhat.com>
28612             Jakub Jelinek  <jakub@redhat.com>
28614         * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
28615         * gcc.c (sanitize_spec_function): Likewise.
28616         * convert.c (convert_to_integer): Include "ubsan.h".  Add
28617         floating-point to integer instrumentation.
28618         * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
28619         * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
28620         SANITIZE_NONDEFAULT.
28621         * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
28622         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
28623         BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
28624         * ubsan.c: Include "realmpfr.h" and "dfp.h".
28625         (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
28626         (ubsan_type_descriptor): Set tkind to 0xffff for types other than
28627         float/double/long double.
28628         (ubsan_instrument_float_cast): New function.
28629         * ubsan.h (ubsan_instrument_float_cast): Declare.
28631 2014-05-23 Jiong Wang  <jiong.wang@arm.com>
28633         * config/aarch64/predicates.md (aarch64_call_insn_operand): New
28634         predicate.
28635         * config/aarch64/constraints.md ("Ucs", "Usf"):  New constraints.
28636         * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
28637         Adjust for tailcalling through registers.
28638         * config/aarch64/aarch64.h (enum reg_class): New caller save
28639         register class.
28640         (REG_CLASS_NAMES): Likewise.
28641         (REG_CLASS_CONTENTS): Likewise.
28642         * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
28643         Allow tailcalling without decls.
28645 2014-05-23  Thomas Schwinge  <thomas@codesourcery.com>
28647         * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
28648         Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
28650         * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
28651         gsi, and variables v_* to v*.
28653 2014-05-23  Eric Botcazou  <ebotcazou@adacore.com>
28655         * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
28657 2014-05-23  Thomas Schwinge  <thomas@codesourcery.com>
28659         * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
28660         * omp-low.c: Update accordingly.
28662         * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
28663         for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
28664         GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
28665         GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
28666         GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
28667         GF_OMP_TARGET_KIND_UPDATE.
28669         * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
28670         Explicitly enumerate the expected region types.
28672 2014-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28674         PR other/56955
28675         * doc/extend.texi (Function Attributes): Fix  __attribute__ ((malloc))
28676         documentation; the old documentation didn't clearly state the
28677         constraints on the contents of the pointed-to storage.
28679 2014-05-23  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
28681         Fix bootstrap error on ia64
28682         * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
28683         Return default value.
28685 2014-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
28687         PR tree-optimization/54733
28688         * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
28689         (CMPNOP): Define.
28690         (find_bswap_or_nop_load): New.
28691         (find_bswap_1): Renamed to ...
28692         (find_bswap_or_nop_1): This. Also add support for memory source.
28693         (find_bswap): Renamed to ...
28694         (find_bswap_or_nop): This. Also add support for memory source and
28695         detection of bitwise operations equivalent to load in target
28696         endianness.
28697         (execute_optimize_bswap): Likewise. Also move its leading comment back
28698         in place and split statement transformation into ...
28699         (bswap_replace): This.
28701 2014-05-22  Vladimir Makarov  <vmakarov@redhat.com>
28703         PR rtl-optimization/61215
28704         * lra-elelimination.c (lra_eliminate_regs_1): Don't use
28705         simplify_gen_subreg until final substitution.
28707 2014-05-23  Alan Modra  <amodra@gmail.com>
28709         PR target/61231
28710         * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
28711         * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
28712         Use "Y" constraint rather than "m".
28714 2014-05-23  Kugan Vivekanandarajah  <kuganv@linaro.org>
28716         * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
28717         define.
28718         * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
28719         New function declaration.
28720         * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
28721         AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
28722         AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
28723         (aarch64_init_builtins) : Initialize builtins
28724         __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
28725         __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
28726         (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
28727         __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
28728         and __builtins_aarch64_set_fpsr.
28729         (aarch64_atomic_assign_expand_fenv): New function.
28730         * config/aarch64/aarch64.md (set_fpcr): New pattern.
28731         (get_fpcr) : Likewise.
28732         (set_fpsr) : Likewise.
28733         (get_fpsr) : Likewise.
28734         (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
28735         and UNSPECV_SET_FPSR.
28736         * doc/extend.texi (AARCH64 Built-in Functions) : Document
28737         __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
28738         __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
28740 2014-05-22  Vladimir Makarov  <vmakarov@redhat.com>
28742         PR rtl-optimization/60969
28743         * ira-costs.c (record_reg_classes): Process NO_REGS for matching
28744         constraints.  Set up mem cost for NO_REGS case.
28746 2014-05-22  Thomas Schwinge  <thomas@codesourcery.com>
28748         * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
28750 2012-05-22  Bernd Schmidt  <bernds@codesourcery.com>
28752         * config/darwin.c: Include "lto-section-names.h".
28753         (LTO_SEGMENT_NAME): Don't define.
28754         * config/i386/winnt.c: Include "lto-section-names.h".
28755         * lto-streamer.c: Include "lto-section-names.h".
28756         * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
28757         * lto-wrapper.c: Include "lto-section-names.h".
28758         (LTO_SECTION_NAME_PREFIX): Don't define.
28759         * lto-section-names.h: New file.
28760         * cgraphunit.c: Include "lto-section-names.h".
28762 2014-05-22  Peter Bergner  <bergner@vnet.ibm.com>
28764         * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
28766 2014-05-22  Richard Earnshaw  <rearnsha@arm.com>
28768         PR target/61208
28769         * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
28771 2014-05-22  Nick Clifton  <nickc@redhat.com>
28773         * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
28775 2014-05-22  Eric Botcazou  <ebotcazou@adacore.com>
28777         * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
28778         -> (T)A transformation to integer types.
28780 2014-05-22  Teresa Johnson  <tejohnson@google.com>
28782         * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
28783         (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
28784         (gcov_rewrite): Use gcov_nonruntime_assert.
28785         (gcov_open): Ditto.
28786         (gcov_write_words): Ditto.
28787         (gcov_write_length): Ditto.
28788         (gcov_read_words): Use gcov_nonruntime_assert, and remove
28789         gcc_assert from IN_LIBGCOV code.
28790         (gcov_read_summary): Use gcov_error to flag profile corruption.
28791         (gcov_sync): Use gcov_nonruntime_assert.
28792         (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
28793         (gcov_histo_index): Use gcov_nonruntime_assert.
28794         (static void gcov_histogram_merge): Ditto.
28795         (compute_working_sets): Ditto.
28796         * gcov-io.h (gcov_nonruntime_assert): Define.
28797         (gcov_error): Define for !IN_LIBGCOV
28799 2014-05-22  Richard Biener  <rguenther@suse.de>
28801         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
28802         BUILT_IN_REALLOC like BUILT_IN_STRDUP.
28803         (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
28804         and deallocation site.
28805         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
28806         Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
28807         passing through the incoming points-to set.
28808         (handle_lhs_call): Use flags argument instead of recomputing it.
28809         (find_func_aliases_for_call): Call handle_lhs_call with proper
28810         call return flags.
28812 2014-05-22  Jakub Jelinek  <jakub@redhat.com>
28814         * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
28815         all padding bits in REAL_VALUE_TYPE are cleared.
28817 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
28819         Cleanup and improve multipass_dfa_lookahead_guard
28820         * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
28821         (core2i7_first_cycle_multipass_begin,)
28822         (core2i7_first_cycle_multipass_issue,)
28823         (core2i7_first_cycle_multipass_backtrack): Update signature.
28824         * config/ia64/ia64.c
28825         (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
28826         (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
28827         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
28828         hook definition.
28829         (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
28830         ia64_first_cycle_multipass_dfa_lookahead_guard_spec.  Update return
28831         values.
28832         * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
28833         return values.
28834         * doc/tm.texi: Regenerate.
28835         * doc/tm.texi.in
28836         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
28837         * haifa-sched.c (ready_try): Make signed to allow negative values.
28838         (rebug_ready_list_1): Update.
28839         (choose_ready): Simplify.
28840         (sched_extend_ready_list): Update.
28842 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
28844         Remove IA64 speculation tweaking flags
28845         * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
28846         speculation tuning flags.
28847         (msched-prefer-non-data-spec-insns,)
28848         (msched-prefer-non-control-spec-insns): Obsolete options.
28849         * haifa-sched.c (choose_ready): Remove handling of
28850         PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
28851         * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
28852         and PREFER_NON_DATA_SPEC.
28853         * sel-sched.c (process_spec_exprs): Remove handling of
28854         PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
28856 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
28858         Improve scheduling debug output
28859         * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
28860         (advance_one_cycle): Update.
28861         (schedule_insn, queue_to_ready): Add debug printouts.
28862         (debug_ready_list_1): New static function.
28863         (debug_ready_list): Update.
28864         (max_issue): Add debug printouts.
28865         (dump_insn_stream): New static function.
28866         (schedule_block): Use it.  Also better indent printouts.
28868 2014-05-22  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
28870         Fix sched_insn debug counter
28871         * haifa-sched.c (schedule_insn): Update.
28872         (struct haifa_saved_data): Add nonscheduled_insns_begin.
28873         (save_backtrack_point, restore_backtrack_point): Update.
28874         (first_nonscheduled_insn): New static function.
28875         (queue_to_ready, choose_ready): Use it.
28876         (schedule_block): Init nonscheduled_insns_begin.
28877         (sched_emit_insn): Update.
28880 2014-05-22  Kugan Vivekanandarajah  <kuganv@linaro.org>
28882         * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
28883         to GENERAL_REGS.
28884         (aarch64_secondary_reload) : LikeWise.
28885         (aarch64_class_max_nregs) : Remove CORE_REGS.
28886         * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
28887         (REG_CLASS_NAMES) : Likewise.
28888         (REG_CLASS_CONTENTS) : LikeWise.
28889         (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
28891 2014-05-21  Guozhi Wei  <carrot@google.com>
28893         PR target/61202
28894         * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
28895         constraint.
28896         (vqdmulhq_n_s16): Likewise.
28898 2014-05-21  Segher Boessenkool  <segher@kernel.crashing.org>
28900         * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
28902 2014-05-21  Marek Polacek  <polacek@redhat.com>
28904         PR sanitizer/61272
28905         * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
28907 2014-05-21  Martin Jambor  <mjambor@suse.cz>
28909         * doc/invoke.texi (Optimize Options): Document parameters
28910         ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
28911         ipa-cp-array-index-hint-bonus.
28913 2014-05-21  Mark Wielaard  <mjw@redhat.com>
28915         PR debug/16063
28916         * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
28917         version >= 3 or not strict DWARF.
28918         * langhooks.h (struct lang_hooks_for_types): Add
28919         enum_underlying_base_type.
28920         * langhooks.c (lhd_enum_underlying_base_type): New function.
28921         * gcc/langhooks.h (struct lang_hooks_for_types): Add
28922         enum_underlying_base_type.
28923         * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
28924         (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
28925         (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
28927 2014-05-21  Richard Biener  <rguenther@suse.de>
28929         * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
28931 2014-05-21  John Marino  <gnugcc@marino.st>
28933         * config.gcc (*-*-dragonfly*): New target.
28934         * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
28935         * configure: Regenerate.
28936         * config/dragonfly-stdint.h: New.
28937         * config/dragonfly.h: New.
28938         * config/dragonfly.opt: New.
28939         * config/i386/dragonfly.h: New.
28940         * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
28942 2014-05-21  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
28944         * tree.def (VOID_CST): New.
28945         * tree-core.h (TI_VOID): New.
28946         * tree.h (void_node): New.
28947         * tree.c (tree_node_structure_for_code, tree_code_size)
28948         (iterative_hash_expr): Handle VOID_CST.
28949         (build_common_tree_nodes): Initialize void_node.
28951 2014-05-21  Bernd Schmidt  <bernds@codesourcery.com>
28953         * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
28954         functions.
28955         (reload, calculate_needs_all_insns, reload_as_needed): Use them.
28957         * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
28958         more places.
28960         * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
28961         flag_reorder_blocks_and_partition.
28962         * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
28964 2014-05-21  Oleg Endo  <olegendo@gcc.gnu.org>
28966         PR target/54236
28967         * config/sh/sh.md (*addc_r_1): Rename to addc_t_r.  Remove empty
28968         constraints.
28969         (*addc_r_t): Add new insn_and_split.
28971 2014-05-21  Jakub Jelinek  <jakub@redhat.com>
28973         PR middle-end/61252
28974         * omp-low.c (handle_simd_reference): New function.
28975         (lower_rec_input_clauses): Use it.  Defer adding reference
28976         initialization even for reduction without placeholder if in simd,
28977         handle it properly later on.
28979 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
28981         PR tree-optimization/60899
28982         * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
28983         assume all static symbols will have definition wile parsing and
28984         check the do have definition later in compilation; check that
28985         variable referring symbol will be output before concluding that
28986         reference is safe; be conservative for referring local statics;
28987         be more precise about when comdat is output in other partition.
28989 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
28991         PR bootstrap/60984
28992         * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
28993         parameter.
28994         * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
28995         (ipa_inline): Loop inline_to_all_callers until no more aliases
28996         are removed.
28998 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
29000         * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
29001         set writeonly flag only for vars actually written to.
29003 2014-05-20  Dehao Chen  <dehao@google.com>
29005         * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
29006         and callee count to get clone count.
29007         * tree-inline.c (expand_call_inline): Use callee count instead of bb
29008         count in copy_body.
29010 2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
29012         PR rtl-optimization/61243
29013         * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
29015 2014-05-20  Xinliang David Li  <davidxl@google.com>
29017         * cgraphunit.c (walk_polymorphic_call_targets): Add
29018         dbgcnt and fopt-info support.
29019         * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
29020         * ipa-devirt.c (ipa_devirt): Ditto.
29021         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
29022         * ipa.c (walk_polymorphic_call_targets): Ditto.
29023         * gimple-fold.c (fold_gimple_assign): Ditto.
29024         (gimple_fold_call): Ditto.
29025         * dbgcnt.def: New counter.
29027 2014-05-20  DJ Delorie  <dj@redhat.com>
29029         * config/msp430/msp430.md (split): Don't allow subregs when
29030         splitting SImode adds.
29031         (andneghi): Fix subtraction logic.
29032         * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
29034 2014-05-20  Jan Hubicka  <hubicka@ucw.cz>
29036         * tree.h (DECL_ONE_ONLY): Return true only for externally visible
29037         symbols.
29038         * except.c (switch_to_exception_section, resolve_unique_section,
29039         get_named_text_section, default_function_rodata_section,
29040         align_variable, get_block_for_decl, default_section_type_flags):
29041         Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
29042         * symtab.c (symtab_add_to_same_comdat_group,
29043         symtab_make_decl_local, fixup_same_cpp_alias_visibility,
29044         symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
29045         Likewise.
29046         * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
29047         * bb-reorder.c (pass_partition_blocks::gate): Likewise.
29048         * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
29049         (c6x_function_in_section_p): Likewise.
29050         * config/darwin.c (machopic_select_section): Likewise.
29051         * config/arm/arm.c (arm_function_in_section_p): Likewise.
29052         * config/mips/mips.c (mips_function_rodata_section): Likewise.
29053         * config/mep/mep.c (mep_select_section): LIkewise.
29054         * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
29056 2014-05-20  Eric Botcazou  <ebotcazou@adacore.com>
29058         * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
29059         EH region of calls to pure functions that can throw an exception.
29060         * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
29061         (copy_reference_ops_from_call): Also copy the EH region of the call if
29062         it can throw an exception.
29064 2014-05-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
29066         * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
29067         nested VEC_SELECTs that are inverses of each other.
29069 2014-05-20  Richard Biener  <rguenther@suse.de>
29071         * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
29072         (extract_and_process_scc_for_name): not here.
29073         (cond_dom_walker::before_dom_children): Only process
29074         stmts that end the BB in interesting ways.
29075         (run_scc_vn): Mark param uses as visited.
29077 2014-05-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
29079         * config/arm/arm.md (arith_shiftsi): Do not predicate for
29080         arm_restrict_it.
29082 2014-05-20  Nick Clifton  <nickc@redhat.com>
29084         * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
29085         (msp430_gimplify_va_arg_expr): New function.
29086         (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
29088         * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
29089         operand 0 in order to prevent confusion about the number of
29090         registers involved.
29092 2014-05-20  Richard Biener  <rguenther@suse.de>
29094         PR tree-optimization/61221
29095         * tree-ssa-pre.c (el_to_update): Remove.
29096         (eliminate_dom_walker::before_dom_children): Handle released
29097         VDEFs by value-numbering them to the associated VUSE.  Update
29098         stmt immediately for substituted call address.
29099         (eliminate): Remove delayed stmt updating code.
29100         * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
29101         possibly late re-numbered vuses.
29102         (vn_reference_lookup_2): Adjust.
29103         (vn_reference_lookup_pieces): Likewise.
29104         (vn_reference_lookup): Likewise.
29106 2014-05-20  Richard Biener  <rguenther@suse.de>
29108         * config.gcc: Remove need_64bit_hwint.
29109         * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
29110         * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
29111         it to be true.
29112         * config.in: Regenerate.
29113         * configure: Likewise.
29115 2014-05-19  David Wohlferd <dw@LimeGreenSocks.com>
29117         * doc/extend.texi: Create Label Attributes section,
29118         move all label attributes into it and reference it.
29120 2014-05-19  Richard Earnshaw  <rearnsha@arm.com>
29122         * arm.c (thumb1_reorg): When scanning backwards skip anything
29123         that's not a proper insn.
29125 2014-05-19  Richard Biener  <rguenther@suse.de>
29127         PR tree-optimization/61221
29128         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
29129         Do nothing for unreachable blocks.
29130         * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
29131         Improve unreachability detection.
29133 2014-05-19  Richard Biener  <rguenther@suse.de>
29135         PR tree-optimization/61209
29136         * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
29138 2014-05-19  Nick Clifton  <nickc@redhat.com>
29140         * except.c (init_eh): Fix computation of builtin setjmp buffer
29141         size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
29143 2014-05-19  Richard Biener  <rguenther@suse.de>
29145         PR tree-optimization/61184
29146         * tree-vrp.c (is_negative_overflow_infinity): Use
29147         TREE_OVERFLOW_P and do that check first.
29148         (is_positive_overflow_infinity): Likewise.
29149         (is_overflow_infinity): Likewise.
29150         (vrp_operand_equal_p): Properly treat operands with
29151         differing overflow as not equal.
29153 2014-05-19  Bernd Schmidt  <bernds@codesourcery.com>
29155         * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
29156         shift simplification where it was intended.
29158 2014-05-19  Christian Bruel  <christian.bruel@st.com>
29160         PR target/61195
29161         * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
29163 2014-05-19  Richard Sandiford  <r.sandiford@uk.ibm.com>
29165         PR target/61084
29166         * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
29167         than wide_int.
29169 2014-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
29171         * reg-notes.def (CROSSING_JUMP): Likewise.
29172         * rtl.h (rtx_def): Update comment for jump flag.
29173         (CROSSING_JUMP_P): Define.
29174         * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
29175         of a REG_CROSSING_JUMP note.
29176         * cfghooks.c (tidy_fallthru_edges): Likewise.
29177         * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
29178         * emit-rtl.c (try_split): Likewise.
29179         * haifa-sched.c (sched_create_recovery_edges): Likewise.
29180         * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
29181         * jump.c (redirect_jump_2): Likewise.
29182         * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
29183         (relax_delay_slots): Likewise.
29184         * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
29185         (bbit_di): Likewise.
29186         * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
29187         * config/sh/sh.md (jump_compact): Likewise.
29188         * bb-reorder.c (rotate_loop): Likewise.
29189         (pass_duplicate_computed_gotos::execute): Likewise.
29190         (add_reg_crossing_jump_notes): Rename to...
29191         (update_crossing_jump_flags): ...this.
29192         (pass_partition_blocks::execute): Update accordingly.
29194 2014-05-19  Richard Sandiford  <rdsandiford@googlemail.com>
29196         * tree.h: Remove extraneous template <>.
29198 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
29200         * ipa.c (symtab_remove_unreachable_nodes): Remove
29201         symbol from comdat group if its body was eliminated.
29202         (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
29203         * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
29204         (symtab_unregister_node): ... this one.
29205         (verify_symtab_base): More strict checking of comdats.
29206         * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
29208 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
29210         * tree-pass.h (make_pass_ipa_comdats): New pass.
29211         * timevar.def (TV_IPA_COMDATS): New timevar.
29212         * passes.def (pass_ipa_comdats): Add.
29213         * Makefile.in (OBJS): Add ipa-comdats.o
29214         * ipa-comdats.c: New file.
29216 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
29218         * ipa.c (update_visibility_by_resolution_info): New function.
29219         (function_and_variable_visibility): Use it.
29221 2014-05-17  Jan Hubicka  <hubicka@ucw.cz>
29223         * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
29224         New functions.
29225         (FOR_EACH_DEFINED_SYMBOL): New macro.
29226         (varpool_first_static_initializer, varpool_next_static_initializer,
29227         varpool_first_defined_variable, varpool_next_defined_variable):
29228         Fix comments.
29229         (symtab_in_same_comdat_p): Correctly deal with inline functions.
29231 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
29233         * ggc-page.c (ggc_handle_finalizers): Add comment.
29235 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
29237         * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
29238         * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
29239         (ggc_internal_cleared_alloc): Likewise.
29240         * ggc-page.c (finalizer): New class.
29241         (vec_finalizer): Likewise.
29242         (globals::finalizers): New member.
29243         (globals::vec_finalizers): Likewise.
29244         (ggc_internal_alloc): Record the finalizer if any for the block being
29245         allocated.
29246         (ggc_handle_finalizers): New function.
29247         (ggc_collect): Call ggc_handle_finalizers.
29248         * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
29249         finalizer.
29250         (ggc_internal_cleared_alloc): Likewise.
29251         (finalize): New function.
29252         (need_finalization_p): Likewise.
29253         (ggc_alloc): Install the type's destructor as the finalizer if it
29254         might do something.
29255         (ggc_cleared_alloc): Likewise.
29256         (ggc_vec_alloc): Likewise.
29257         (ggc_cleared_vec_alloc): Likewise.
29259 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
29261         * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
29263 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
29265         * alias.c (record_alias_subset): Adjust.
29266         * bitmap.c (bitmap_element_allocate): Likewise.
29267         (bitmap_gc_alloc_stat): Likewise.
29268         * cfg.c (init_flow): Likewise.
29269         (alloc_block): Likewise.
29270         (unchecked_make_edge): Likewise.
29271         * cfgloop.c (alloc_loop): Likewise.
29272         (flow_loops_find): Likewise.
29273         (rescan_loop_exit): Likewise.
29274         * cfgrtl.c (init_rtl_bb_info): Likewise.
29275         * cgraph.c (insert_new_cgraph_node_version): Likewise.
29276         (cgraph_allocate_node): Likewise.
29277         (cgraph_create_edge_1): Likewise.
29278         (cgraph_allocate_init_indirect_info): Likewise.
29279         * cgraphclones.c (cgraph_clone_edge): Likewise.
29280         * cgraphunit.c (add_asm_node): Likewise.
29281         (init_lowered_empty_function): Likewise.
29282         * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
29283         * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
29284         (alpha_use_linkage): Likewise.
29285         * config/arc/arc.c (arc_init_machine_status): Likewise.
29286         * config/arm/arm.c (arm_init_machine_status): Likewise.
29287         * config/avr/avr.c (avr_init_machine_status): Likewise.
29288         * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
29289         * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
29290         * config/cris/cris.c (cris_init_machine_status): Likewise.
29291         * config/darwin.c (machopic_indirection_name): Likewise.
29292         (darwin_build_constant_cfstring): Likewise.
29293         (darwin_enter_string_into_cfstring_table): Likewise.
29294         * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
29295         * config/frv/frv.c (frv_init_machine_status): Likewise.
29296         * config/i386/i386.c (get_dllimport_decl): Likewise.
29297         (ix86_init_machine_status): Likewise.
29298         (assign_386_stack_local): Likewise.
29299         * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
29300         (i386_pe_maybe_record_exported_symbol): Likewise.
29301         (i386_pe_record_stub): Likewise.
29302         * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
29303         * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
29304         * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
29305         (m32c_note_pragma_address): Likewise.
29306         * config/mep/mep.c (mep_init_machine_status): Likewise.
29307         (mep_note_pragma_flag): Likewise.
29308         * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
29309         (mips16_local_alias): Likewise.
29310         (mips_init_machine_status): Likewise.
29311         * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
29312         * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
29313         * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
29314         * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
29315         * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
29316         * config/pa/pa.c (pa_init_machine_status): Likewise.
29317         (pa_get_deferred_plabel): Likewise.
29318         * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
29319         * config/rs6000/rs6000.c (builtin_function_type): Likewise.
29320         (rs6000_init_machine_status): Likewise.
29321         (output_toc): Likewise.
29322         * config/s390/s390.c (s390_init_machine_status): Likewise.
29323         * config/score/score.c (score_output_external): Likewise.
29324         * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
29325         * config/spu/spu.c (spu_init_machine_status): Likewise.
29326         * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
29327         * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
29328         * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
29329         * coverage.c (coverage_end_function): Likewise.
29330         * dbxout.c (dbxout_init): Likewise.
29331         * doc/gty.texi: Don't mention variable_size attribute.
29332         * dwarf2cfi.c (new_cfi): Adjust.
29333         (new_cfi_row): Likewise.
29334         (copy_cfi_row): Likewise.
29335         (create_cie_data): Likewise.
29336         * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
29337         (new_loc_descr): Likewise.
29338         (find_AT_string_in_table): Likewise.
29339         (add_addr_table_entry): Likewise.
29340         (new_die): Likewise.
29341         (add_var_loc_to_decl): Likewise.
29342         (clone_die): Likewise.
29343         (clone_as_declaration): Likewise.
29344         (break_out_comdat_types): Likewise.
29345         (new_loc_list): Likewise.
29346         (add_loc_descr_to_each): Likewise.
29347         (add_location_or_const_value_attribute): Likewise.
29348         (add_linkage_name): Likewise.
29349         (lookup_filename): Likewise.
29350         (dwarf2out_var_location): Likewise.
29351         (new_line_info_table): Likewise.
29352         (dwarf2out_init): Likewise.
29353         (mem_loc_descriptor): Likewise.
29354         (loc_descriptor): Likewise.
29355         (add_const_value_attribute): Likewise.
29356         (tree_add_const_value_attribute): Likewise.
29357         (comp_dir_string): Likewise.
29358         (dwarf2out_vms_debug_main_pointer): Likewise.
29359         (string_cst_pool_decl): Likewise.
29360         * emit-rtl.c (set_mem_attrs): Likewise.
29361         (get_reg_attrs): Likewise.
29362         (start_sequence): Likewise.
29363         (init_emit): Likewise.
29364         (init_emit_regs): Likewise.
29365         * except.c (init_eh_for_function): Likewise.
29366         (gen_eh_region): Likewise.
29367         (gen_eh_region_catch): Likewise.
29368         (gen_eh_landing_pad): Likewise.
29369         (add_call_site): Likewise.
29370         * function.c (add_frame_space): Likewise.
29371         (insert_temp_slot_address): Likewise.
29372         (assign_stack_temp_for_type): Likewise.
29373         (get_hard_reg_initial_val): Likewise.
29374         (allocate_struct_function): Likewise.
29375         (prepare_function_start): Likewise.
29376         (types_used_by_var_decl_insert): Likewise.
29377         * gengtype.c (variable_size_p): Remove function.
29378         (enum alloc_quantity): Remove enum.
29379         (write_typed_alloc_def): Remove function.
29380         (write_typed_struct_alloc_def): Likewise.
29381         (write_typed_typedef_alloc_def): Likewise.
29382         (write_typed_alloc_defns): Likewise.
29383         (main): Adjust.
29384         * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
29385         (ggc_cleared_alloc_ptr_array_two_args): Likewise.
29386         * ggc.h (ggc_alloc): new function.
29387         (ggc_cleared_alloc): Likewise.
29388         (ggc_vec_alloc): Template on type of vector element, and remove
29389         element size argument.
29390         (ggc_cleared_vec_alloc): Likewise.
29391         * gimple.c (gimple_build_omp_for): Adjust.
29392         (gimple_copy): Likewise.
29393         * ipa-cp.c (get_replacement_map): Likewise.
29394         (find_aggregate_values_for_callers_subset): Likewise.
29395         (known_aggs_to_agg_replacement_list): Likewise.
29396         * ipa-devirt.c (get_odr_type): Likewise.
29397         * ipa-prop.c (ipa_node_duplication_hook): Likewise.
29398         (read_agg_replacement_chain): Likewise.
29399         * loop-iv.c (get_simple_loop_desc): Likewise.
29400         * lto-cgraph.c (input_node_opt_summary): Likewise.
29401         * lto-section-in.c (lto_new_in_decl_state): Likewise.
29402         * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
29403         (input_eh_region): Likewise.
29404         (input_eh_lp): Likewise.
29405         (input_cfg): Likewise.
29406         * optabs.c (set_optab_libfunc): Likewise.
29407         (init_tree_optimization_optabs): Likewise.
29408         (set_conv_libfunc): Likewise.
29409         * passes.c (do_per_function_toporder): Likewise.
29410         * rtl.h: Don't use variable_size gty attribute.
29411         * sese.c (if_region_set_false_region): Adjust.
29412         * stringpool.c (gt_pch_save_stringpool): Likewise.
29413         * target-globals.c (save_target_globals): Likewise.
29414         * toplev.c (general_init): Likewise.
29415         * trans-mem.c (record_tm_replacement): Likewise.
29416         (split_bb_make_tm_edge): Likewise.
29417         * tree-cfg.c (move_sese_region_to_fn): Likewise.
29418         * tree-data-ref.h (lambda_vector_new): Likewise.
29419         * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
29420         * tree-iterator.c (tsi_link_before): Likewise.
29421         (tsi_link_after): Likewise.
29422         * tree-scalar-evolution.c (new_scev_info_str): Likewise.
29423         * tree-ssa-loop-niter.c (record_estimate): Likewise.
29424         * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
29425         * tree-ssa-operands.h: Don't use variable_size gty attribute.
29426         * tree-ssa.c (init_tree_ssa): Adjust.
29427         * tree-ssanames.c (set_range_info): Likewise.
29428         (get_ptr_info): Likewise.
29429         (duplicate_ssa_name_ptr_info): Likewise.
29430         (duplicate_ssa_name_range_info): Likewise.
29431         * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
29432         (unpack_ts_fixed_cst_value_fields): Likewise.
29433         * tree.c (build_fixed): Likewise.
29434         (build_real): Likewise.
29435         (build_string): Likewise.
29436         (decl_priority_info): Likewise.
29437         (decl_debug_expr_insert): Likewise.
29438         (decl_value_expr_insert): Likewise.
29439         (decl_debug_args_insert): Likewise.
29440         (type_hash_add): Likewise.
29441         (build_omp_clause): Likewise.
29442         * ubsan.c (decl_for_type_insert): Likewise.
29443         * varasm.c (get_unnamed_section): Likewise.
29444         (get_noswitch_section): Likewise.
29445         (get_section): Likewise.
29446         (get_block_for_section): Likewise.
29447         (create_block_symbol): Likewise.
29448         (build_constant_desc): Likewise.
29449         (create_constant_pool): Likewise.
29450         (force_const_mem): Likewise.
29451         (record_tm_clone_pair): Likewise.
29452         * varpool.c (varpool_create_empty_node): Likewise.
29454 2014-05-17  Trevor Saunders  <tsaunders@mozilla.com>
29456         * dwarf2out.c (tree_add_const_value_attribute): Call
29457         ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
29458         * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
29459         instead of ggc_internal_<x>alloc_stat.
29460         * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
29461         (ggc_realloc): Likewise.
29462         * ggc-none.c (ggc_internal_alloc): Likewise.
29463         (ggc_internal_cleared_alloc): Likewise.
29464         * ggc-page.c: Likewise.
29465         * ggc.h (ggc_internal_alloc_stat): Likewise.
29466         (ggc_internal_alloc): Remove macro.
29467         (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
29468         (ggc_internal_cleared_alloc): Remove macro.
29469         (GGC_RESIZEVEC): Adjust.
29470         (ggc_resizevar): Remove macro.
29471         (ggc_internal_vec_alloc_stat): Drop _stat suffix.
29472         (ggc_internal_cleared_vec_alloc_stat): Likewise.
29473         (ggc_internal_vec_cleared_alloc): Remove macro.
29474         (ggc_alloc_atomic_stat): Drop _stat suffix.
29475         (ggc_alloc_atomic): Remove macro.
29476         (ggc_alloc_cleared_atomic): Remove macro.
29477         (ggc_alloc_string_stat): Drop _stat suffix.
29478         (ggc_alloc_string): Remove macro.
29479         (ggc_alloc_rtx_def_stat): Adjust.
29480         (ggc_alloc_tree_node_stat): Likewise.
29481         (ggc_alloc_cleared_tree_node_stat): Likewise.
29482         (ggc_alloc_cleared_gimple_statement_stat): Likewise.
29483         (ggc_alloc_cleared_simd_clone_stat): Likewise.
29484         * gimple.c (gimple_build_omp_for): Likewise.
29485         (gimple_copy): Likewise.
29486         * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
29487         * toplev.c (realloc_for_line_map): Adjust.
29488         * tree-data-ref.h (lambda_vector_new): Likewise.
29489         * tree-phinodes.c (allocate_phi_node): Likewise.
29490         * tree.c (grow_tree_vec_stat): Likewise.
29491         * vec.h (va_gc::reserve): Adjust.
29493 2014-05-17  Ajit Agarwal  <ajitkum@xilinx.com>
29495         * config/microblaze/microblaze.c (break_handler): New Declaration.
29496         (microblaze_break_function_p,microblaze_is_break_handler): New.
29497         (compute_frame_size): Use microblaze_break_function_p.
29498         Add the test of break_handler.
29499         (microblaze_function_prologue) : Add the test of variable
29500         break_handler.  Check the fnname by BREAK_HANDLER_NAME.
29501         (microblaze_function_epilogue) : Add the test of break_handler.
29502         (microblaze_globalize_label) : Add the test of break_handler.
29503         Check the name by BREAK_HANDLER_NAME.
29505         * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
29507         * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
29508         microblaze_is_break_handler test.
29509         (call_internal1,call_value_intern): Use microblaze_break_function_p.
29510         Use SYMBOL_REF_DECL.
29512         * config/microblaze/microblaze-protos.h
29513         (microblaze_break_function_p,microblaze_is_break_handler):
29514         New Declaration.
29516         * doc/extend.texi (MicroBlaze break_handler Functions): Document
29517         new MicroBlaze break_handler functions.
29519 2014-05-17  Uros Bizjak  <ubizjak@gmail.com>
29521         * doc/extend.texi (Size of an asm): Move node text according
29522         to its @menu entry position.
29524 2014-05-17  Marc Glisse  <marc.glisse@inria.fr>
29526         PR tree-optimization/61140
29527         PR tree-optimization/61150
29528         PR tree-optimization/61197
29529         * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
29531 2014-05-17  Uros Bizjak  <ubizjak@gmail.com>
29533         * doc/invoke.texi (free): Mention Alpha.  Also enabled at -Os.
29535 2014-05-17  Richard Sandiford  <r.sandiford@uk.ibm.com>
29537         * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
29538         __SIZEOF_INT128__ is defined.
29540 2014-05-17  Richard Sandiford  <rdsandiford@googlemail.com>
29542         * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
29543         (rs6000_delegitimize_address): Use it.
29545 2014-05-17  Richard Sandiford  <rdsandiford@googlemail.com>
29547         * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
29548         inplace argument.  Store the new address in the original MEM when true.
29549         * emit-rtl.c (change_address_1): Likewise.
29550         (adjust_address_1, adjust_automodify_address_1, offset_address):
29551         Update accordingly.
29552         * rtl.h (plus_constant): Add an inplace argument.
29553         * explow.c (plus_constant): Likewise.  Try to reuse the original PLUS
29554         when true.  Avoid generating (plus X (const_int 0)).
29555         * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
29556         in-place.  Pass true to plus_constant.
29557         (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
29559 2014-05-16  Dehao Chen  <dehao@google.com>
29561         * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
29563 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
29565         PR target/54089
29566         * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
29567         patterns.
29568         * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
29570 2014-05-16  Dehao Chen  <dehao@google.com>
29572         * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
29573         optimize_function_for_size_p.
29574         * regs.h (REG_FREQ_FROM_BB): Likewise.
29576 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
29578         PR target/51244
29579         * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
29580         negt_reg_operand cases.
29581         * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
29582         predicate.
29583         * config/sh/predicates.md (cbranch_treg_value): Simplify.
29585 2014-05-16  Oleg Endo  <olegendo@gcc.gnu.org>
29587         * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
29588         target variants.
29590 2014-05-16  David Malcolm  <dmalcolm@redhat.com>
29592         Revert:
29593         2014-04-29  David Malcolm  <dmalcolm@redhat.com>
29595         * tree-cfg.c (dump_function_to_file): Dump the return type of
29596         functions, in a line to itself before the function body, mimicking
29597         the layout of a C function.
29599 2014-05-16  Dehao Chen  <dehao@google.com>
29601         * cfghooks.c (make_forwarder_block): Use direct computation to
29602         get fall-through edge's count and frequency.
29604 2014-05-16  Benno Schulenberg  <bensberg@justemail.net>
29606         * config/arc/arc.c (arc_init): Fix typo in error message.
29607         * config/i386/i386.c (ix86_expand_builtin): Likewise.
29608         (split_stack_prologue_scratch_regno): Likewise.
29609         * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
29610         word from error message.
29612 2014-05-16  Zhouyi Zhou <yizhouzhou@ict.ac.cn>
29614         * ira-costs.c: Fix typo in comment.
29616 2014-05-16  David Wohlferd <dw@LimeGreenSocks.com>
29618         * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
29620 2014-05-16  Jan Hubicka  <hubicka@ucw.cz>
29622         * varpool.c (dump_varpool_node): Dump write-only flag.
29623         * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
29624         write-only flag.
29625         * tree-cfg.c (execute_fixup_cfg): Remove statements setting
29626         write-only variables.
29627         * ipa.c (process_references): New function.
29628         (set_readonly_bit): New function.
29629         (set_writeonly_bit): New function.
29630         (clear_addressable_bit): New function.
29631         (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
29632         fix handling of aliases.
29633         * cgraph.h (struct varpool_node): Add writeonly flag.
29635 2014-05-16  Vladimir Makarov  <vmakarov@redhat.com>
29637         PR rtl-optimization/60969
29638         * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
29639         Calculate costs for this case.
29641 2014-05-16  Eric Botcazou  <ebotcazou@adacore.com>
29643         * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
29644         <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
29646 2014-05-16  Richard Biener  <rguenther@suse.de>
29648         PR tree-optimization/61194
29649         * tree-vect-patterns.c (adjust_bool_pattern): Also handle
29650         bool patterns ending in a COND_EXPR.
29652 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29654         * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
29656 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29658         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
29659         where we were unable to cost an RTX.
29661 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29663         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
29664         HIGH, LO_SUM.
29666 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29667             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29669         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
29671 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29672             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29674         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
29675         FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
29677 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29678             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29680         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
29681         operators.
29683 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29684             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29686         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
29687         DIV/MOD.
29689 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29690             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29692         * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
29693         (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
29695 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29696             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29698         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
29699         rotates and shifts.
29701 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29702             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29704         * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
29705         ZERO_EXTEND and SIGN_EXTEND better.
29707 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29708             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29710         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
29711         logical operations.
29713 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29714             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29716         * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
29717         costs when costing loads and stores to memory.
29719 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29720             Philip Tomsich  <philipp.tomsich@theobroma-systems.com>
29722         * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
29723         for SET RTX.
29725 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29727         * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
29729 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29730             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29732         * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
29733         to...
29734         (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
29735         well formed.
29736         (aarch64_rtx_mult_cost): New.
29737         (aarch64_rtx_costs): Use it, refactor as appropriate.
29739 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29740             Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
29742         * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
29743         emit instructions, return number of instructions which would
29744         be emitted.
29745         (aarch64_add_constant): Update call to aarch64_build_constant.
29746         (aarch64_output_mi_thunk): Likewise.
29747         (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
29748         a CONST_DOUBLE.
29750 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29752         * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
29753         (TARGET_RTX_COSTS): Call it.
29755 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29757         * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
29758         (cortexa57_vector_cost): Likewise.
29759         (cortexa57_tunings): Use them.
29761 2014-05-16  James Greenhalgh  <james.greenhalgh@arm.com>
29763         * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
29764         (cpu_addrcost_table): Use it.
29765         * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
29766         (aarch64_address_cost): Rewrite using aarch64_classify_address,
29767         move it.
29769 2014-05-16  Richard Biener  <rguenther@suse.de>
29771         * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
29772         (set_ssa_val_to): Handle unexpected sets to VN_TOP.
29773         (visit_phi): Ignore edges marked as not executable.
29774         (class cond_dom_walker): New.
29775         (cond_dom_walker::before_dom_children): Value-number
29776         control statements and mark successor edges as not
29777         executable if possible.
29778         (run_scc_vn): First walk all control statements in
29779         dominator order, marking edges as not executable.
29780         * tree-inline.c (copy_edges_for_bb): Be not confused
29781         about random edge flags.
29783 2014-05-16  Richard Biener  <rguenther@suse.de>
29785         * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
29787 2014-05-15  Peter Bergner  <bergner@vnet.ibm.com>
29789         PR target/61193
29790         * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
29791         (__TM_simple_begin): Use it.
29792         (__TM_begin): Likewise.
29794 2014-05-15  Martin Jambor  <mjambor@suse.cz>
29796         PR ipa/61085
29797         * ipa-prop.c (update_indirect_edges_after_inlining): Check
29798         type_preserved flag when the indirect edge is polymorphic.
29800 2014-05-15  Martin Jambor  <mjambor@suse.cz>
29802         PR tree-optimization/61090
29803         * tree-sra.c (sra_modify_expr): Pass the current gsi to
29804         build_ref_for_model.
29806 2014-05-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
29808         * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
29809         enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
29811 2014-05-15  Jakub Jelinek  <jakub@redhat.com>
29813         PR tree-optimization/61158
29814         * fold-const.c (fold_binary_loc): If X is zero-extended and
29815         shiftc >= prec, make sure zerobits is all ones instead of
29816         invoking undefined behavior.
29818 2014-05-15  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
29820         * regcprop.h: New file.
29821         * regcprop.c (skip_debug_insn_p): New decl.
29822         (replace_oldest_value_reg): Check skip_debug_insn_p.
29823         (copyprop_hardreg_forward_bb_without_debug_insn): New function.
29824         * shrink-wrap.c: Include regcprop.h.
29825         (prepare_shrink_wrap): Call
29826         copyprop_hardreg_forward_bb_without_debug_insn.
29828 2014-05-15  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
29830         * shrink-wrap.h: Update comment.
29831         * shrink-wrap.c: Update comment.
29832         (next_block_for_reg): Rename to live_edge_for_reg.
29833         (live_edge_for_reg): Allow live_edge->dest has two predecessors.
29834         (move_insn_for_shrink_wrap): Split live_edge.
29835         (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
29837 2014-05-14  Eric Botcazou  <ebotcazou@adacore.com>
29839         * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
29840         Delete.
29841         * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
29842         * config/sparc/sparc.md (fptype_ut699): New attribute.
29843         (in_branch_delay): Return false if -mfix-ut699 is specified and
29844         fptype_ut699 is set to single.
29845         (truncdfsf2): Add fptype_ut699 attribute.
29846         (fix_truncdfsi2): Likewise.
29847         (floatsisf2): Change fptype attribute.
29848         (fix_truncsfsi2): Likewise.
29849         (negtf2_notv9): Delete.
29850         (negtf2_v9): Likewise.
29851         (negtf2_hq): New instruction.
29852         (negtf2): New instruction and splitter.
29853         (negdf2_notv9): Rewrite.
29854         (abstf2_notv9): Delete.
29855         (abstf2_hq_v9): Likewise.
29856         (abstf2_v9): Likewise.
29857         (abstf2_hq): New instruction.
29858         (abstf2): New instruction and splitter.
29859         (absdf2_notv9): Rewrite.
29861 2014-05-14  Cary Coutant  <ccoutant@google.com>
29863         PR debug/61013
29864         * opts.c (common_handle_option): Don't special-case "-g".
29865         (set_debug_level): Default to at least level 2 with "-g".
29867 2014-05-14  DJ Delorie  <dj@redhat.com>
29869         * config/msp430/msp430.c (msp430_builtin): Add
29870         MSP430_BUILTIN_DELAY_CYCLES.
29871         (msp430_init_builtins): Register void __delay_cycles(long long).
29872         (msp430_builtin_decl): Add it.
29873         (cg_magic_constant): New.
29874         (msp430_expand_delay_cycles): New.
29875         (msp430_expand_builtin): Call it.
29876         (msp430_print_operand_raw): Change integer printing from "int" to
29877         HOST_WIDE_INT.
29878         * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
29879         (delay_cycles_start): New.
29880         (delay_cycles_end): New.
29881         (delay_cycles_32): New.
29882         (delay_cycles_32x): New.
29883         (delay_cycles_16): New.
29884         (delay_cycles_16x): New.
29885         (delay_cycles_2): New.
29886         (delay_cycles_1): New.
29887         * doc/extend.texi: Document __delay_cycles().
29889 2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>
29891         * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
29892         length attribute computation.
29894 2014-05-14  Richard Sandiford  <rdsandiford@googlemail.com>
29896         PR debug/61188
29897         * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
29899 2014-05-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
29901         PR target/61084
29902         * config/sparc/sparc.md: Fix types of low and high in DI constant
29903         splitter.  Use gen_int_mode in some other splitters.
29905 2014-05-14  Martin Jambor  <mjambor@suse.cz>
29907         PR ipa/60897
29908         * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
29910 2014-05-14  James Norris  <jnorris@codesourcery.com>
29912         * omp-low.c (expand_parallel_call): Remove shadow variable.
29913         (expand_omp_taskreg): Likewise.
29915 2014-05-14  Ilya Tocar  <ilya.tocar@intel.com>
29917         * common/config/i386/i386-common.c
29918         (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
29919         (OPTION_MASK_ISA_XSAVES_SET): Ditto.
29920         (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
29921         (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
29922         (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
29923         (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
29924         (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
29925         * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
29926         xsavecintrin.h, xsavesintrin.h.
29927         (x86_64-*-*): Ditto.
29928         * config/i386/clflushoptintrin.h: New.
29929         * config/i386/xsavecintrin.h: Ditto.
29930         * config/i386/xsavesintrin.h: Ditto.
29931         * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
29932         (bit_XSAVES): Ditto.
29933         (bit_XSAVES): Ditto.
29934         * config/i386/driver-i386.c (host_detect_local_cpu): Handle
29935         -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
29936         -mno-clflushopt.
29937         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
29938         OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
29939         OPTION_MASK_ISA_XSAVES.
29940         * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
29941         -mxsavec, -mxsaves.
29942         (PTA_CLFLUSHOPT) Define.
29943         (PTA_XSAVEC): Ditto.
29944         (PTA_XSAVES): Ditto.
29945         (ix86_option_override_internal): Handle new options.
29946         (ix86_valid_target_attribute_inner_p): Ditto.
29947         (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
29948         IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
29949         IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
29950         (bdesc_special_args): Add __builtin_ia32_xsaves,
29951         __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
29952         __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
29953         (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
29954         (ix86_expand_builtin): Handle new builtins.
29955         * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
29956         (TARGET_CLFLUSHOPT_P): Ditto.
29957         (TARGET_XSAVEC): Ditto.
29958         (TARGET_XSAVEC_P): Ditto.
29959         (TARGET_XSAVES): Ditto.
29960         (TARGET_XSAVES_P): Ditto.
29961         * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
29962         (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
29963         (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
29964         (ANY_XRSTOR): New.
29965         (ANY_XRSTOR64): Ditto.
29966         (xrstor): Ditto.
29967         (xrstor): Change into <xrstor>.
29968         (xrstor_rex64): Change into <xrstor>_rex64.
29969         (xrstor64): Change into <xrstor>64
29970         (clflushopt): New.
29971         * config/i386/i386.opt (mclflushopt): New.
29972         (mxsavec): Ditto.
29973         (mxsaves): Ditto.
29974         * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
29975         xsavecintrin.h.
29976         * doc/invoke.texi: Document new options.
29978 2014-05-14  Andrey Belevantsev  <abel@ispras.ru>
29980         PR rtl-optimization/60866
29981         * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
29982         Default it to -1.  Pass it down to init_simplejump_data.
29983         (init_simplejump_data): New parameter old_seqno.  Pass it down
29984         to get_seqno_for_a_jump.
29985         (get_seqno_for_a_jump): New parameter old_seqno.  Use it for
29986         initializing new jump seqno as a last resort.  Add comment.
29987         (sel_redirect_edge_and_branch): Save old seqno of the conditional
29988         jump and pass it down to sel_init_new_insn.
29989         (sel_redirect_edge_and_branch_force): Likewise.
29991 2014-05-14  Georg-Johann Lay  <avr@gjlay.de>
29993         * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
29994         shifted values to avoid build warning.
29996 2014-05-14  Eric Botcazou  <ebotcazou@adacore.com>
29998         * cfgcleanup.c (try_forward_edges): Use location_t for locations.
29999         * cfgrtl.c (rtl_merge_blocks): Fix comment.
30000         (cfg_layout_merge_blocks): Likewise.
30001         * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
30003 2014-05-14  Andrey Belevantsev  <abel@ispras.ru>
30005         PR rtl-optimization/60901
30006         * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
30007         bb predecessor belongs to the same scheduling region.  Adjust comment.
30009 2014-05-13  Peter Bergner  <bergner@vnet.ibm.com>
30011         * doc/sourcebuild.texi: (dfp_hw): Document.
30012         (p8vector_hw): Likewise.
30013         (powerpc_eabi_ok): Likewise.
30014         (powerpc_elfv2): Likewise.
30015         (powerpc_htm_ok): Likewise.
30016         (ppc_recip_hw): Likewise.
30017         (vsx_hw): Likewise.
30019 2014-05-13  Cary Coutant  <ccoutant@google.com>
30021         * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
30023 2014-05-13  David Malcolm  <dmalcolm@redhat.com>
30025         * gengtype-parse.c (require3): Eliminate in favor of...
30026         (require4): New.
30027         (require_template_declaration): Update to support optional single *
30028         on a type.
30030         * gengtype.c (get_ultimate_base_class): Add a non-const overload.
30031         (create_user_defined_type): Handle a single level of explicit
30032         pointerness within template arguments.
30033         (struct write_types_data): Add field "kind".
30034         (filter_type_name): Handle "*" character.
30035         (write_user_func_for_structure_ptr): Require a write_types_data
30036         rather than just a prefix string, so that we can look up the kind
30037         of the wtd and use it as an index into wrote_user_func_for_ptr,
30038         ensuring that such functions are written at most once.  Support
30039         subclasses by invoking the marking function of the ultimate base class.
30040         (write_user_func_for_structure_body): Require a write_types_data
30041         rather than just a prefix string, so that we can pass this to
30042         write_user_func_for_structure_ptr.
30043         (write_func_for_structure): Likewise.
30044         (ggc_wtd): Add initializer of new "kind" field.
30045         (pch_wtd): Likewise.
30047         * gengtype.h (enum write_types_kinds): New.
30048         (struct type): Add field wrote_user_func_for_ptr to the "s"
30049         union member.
30051 2014-05-13  Richard Sandiford  <r.sandiford@uk.ibm.com>
30053         * fold-const.c (optimize_bit_field_compare): Use wi:: operations
30054         instead of const_binop.
30055         (fold_binary_loc): Likewise.
30057 2014-05-13  Richard Sandiford  <r.sandiford@uk.ibm.com>
30059         * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
30060         calculation to match get_ref_base_and_extent.
30062 2014-05-13  Catherine Moore  <clm@codesourcery.com>
30063             Sandra Loosemore  <sandra@codesourcery.com>
30065         * configure.ac: Fix assembly for explicit JALR relocation check.
30066         * configure: Regenerate.
30068 2014-05-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
30070         * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
30071         (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
30072         Remove associated type declarations and initialisations.
30073         (arm_expand_neon_builtin): Likewise.
30074         (neon_emit_pair_result_insn): Delete.
30075         * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
30076         * config/arm/neon.md (neon_vtrn<mode>): Delete.
30077         (neon_vzip<mode>): Likewise.
30078         (neon_vuzp<mode>): Likewise.
30080 2014-05-13  Richard Biener  <rguenther@suse.de>
30082         PR ipa/60973
30083         * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
30084         it needs revisiting whether the call still may be tail-called.
30086 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30088         * rtl.def (SYMBOL_REF): Remove middle "0" field.
30089         * rtl.h (block_symbol): Reduce number of fields to 2.
30090         (rtx_def): Add u2.symbol_ref_flags.
30091         (SYMBOL_REF_FLAGS): Use it.
30092         (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
30093         (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
30094         * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
30095         Lower index of SYMBOL_REF_DATA.
30096         * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
30097         Print SYMBOL_REF_FLAGS at the same time.
30098         * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
30100 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30102         * rtl.def (VAR_LOCATION): Remove "i" field.
30103         * rtl.h (rtx_def): Add u2.var_location_status.
30104         (PAT_VAR_LOCATION_STATUS): Use it.
30105         (gen_rtx_VAR_LOCATION): Declare.
30106         * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
30107         * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
30108         * var-tracking.c (emit_note_insn_var_location): Remove casts.
30110 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30112         * rtl.def (scratch): Fix outdated comment and remove "0" field.
30113         * gengtype.c (adjust_field_rtx_def): Update accordingly.
30115 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30117         * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
30118         (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
30119         * rtl.h (rtx_def): Add insn_uid to u2 field.
30120         (RTX_FLAG_CHECK8): Delete in favor of...
30121         (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
30122         (INSN_DELETED_P): Update accordingly.
30123         (INSN_UID): Use u2.insn_uid.
30124         (INSN_CHAIN_CODE_P): Define.
30125         (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
30126         (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
30127         (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
30128         (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
30129         (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
30130         indices accordingly.
30131         * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
30132         Update indices for insn-chain rtxes.
30133         * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
30134         (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
30135         * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
30136         * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
30137         * combine.c (try_combine): Likewise.
30138         * ira.c (setup_prohibited_mode_move_regs): Likewise.
30140 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30142         * rtl.def (REG): Remove middle field.
30143         * rtl.h (rtx_def): Add orignal_regno to u2.
30144         (ORIGINAL_REGNO): Use it instead of field 1.
30145         (REG_ATTRS): Lower field index accordingly.
30146         * gengtype.c (adjust_field_rtx_def): Remove handling of
30147         ORIGINAL_REGNO.  Move REG_ATTRS index down.
30148         * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
30149         code that prints the REGNO.
30151 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30153         * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
30154         GENERATOR_FILE.
30156 2014-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
30158         * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
30160 2014-05-13  Bin Cheng  <bin.cheng@arm.com>
30162         * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
30163         (alloc_iv): Lower base expressions containing ADDR_EXPR.
30165 2014-05-13  Ian Bolton  <ian.bolton@arm.com>
30167         * config/aarch64/aarch64-protos.h
30168         (aarch64_hard_regno_caller_save_mode): New prototype.
30169         * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
30170         New function.
30171         * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
30173 2014-05-13  Christian Bruel  <christian.bruel@st.com>
30175         * target.def (mode_switching): New hook vector.
30176         (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
30177         (mode_exit, modepriority_to_mode): Likewise.
30178         * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
30179         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
30180         * target.h: Include tm.h and hard-reg-set.h.
30181         * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
30182         (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
30183         * doc/tm.texi Regenerate.
30184         * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
30185         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
30186         * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
30187         (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
30188         * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
30189         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
30190         * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
30191         (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
30192         * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
30193         (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
30194         (ix86_emit_mode_set): Hookify.
30195         * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
30196         Delete.
30197         (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
30198         * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
30199         (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
30200         (epiphany_mode_priority_to_mode): Remove declaration.
30201         * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
30202         (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
30203         (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
30204         Likewise.
30205         (epiphany_mode_priority_to_mode): Change priority type.  Hookify.
30206         (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
30207         (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
30209 2014-05-13  Jakub Jelinek  <jakub@redhat.com>
30211         PR target/61060
30212         * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
30213         is const0_rtx, return immediately.  Don't test count == 0 when
30214         it is always true.
30216 2014-05-13  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
30218         * Makefile.in: add shrink-wrap.o.
30219         * config/i386/i386.c: include "shrink-wrap.h"
30220         * function.c: Likewise.
30221         (requires_stack_frame_p, next_block_for_reg,
30222         move_insn_for_shrink_wrap, prepare_shrink_wrap,
30223         dup_block_and_redirect): Move to shrink-wrap.c
30224         (thread_prologue_and_epilogue_insns): Extract three code segments
30225         as functions in shrink-wrap.c
30226         * function.h: Move #ifdef HAVE_simple_return ... #endif block to
30227         shrink-wrap.h
30228         * shrink-wrap.c: New file.
30229         * shrink-wrap.h: New file.
30231 2014-05-12  David Wohlferd  <dw@LimeGreenSocks.com>
30233         * doc/extend.texi: Reflect current numbers of pragmas.  Remove
30234         reference to Solaris.
30236 2014-05-12  Mike Stump  <mikestump@comcast.net>
30238         PR other/31778
30239         * genattrtab.c (filename): Add.
30240         (convert_set_attr_alternative): Improve error message.
30241         (check_defs): Restore read_md_filename for error messages.
30242         (gen_insn): Save filename.
30244 2014-05-12  Dimitris Papavasiliou  <dpapavas@gmail.com>
30246         * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
30247         -fno-local-ivars and -fivar-visibility.
30248         * c-family/c.opt: Make -Wshadow also implicitly enable
30249         -Wshadow-ivar.
30251 2014-05-12  David Wohlferd  <dw@LimeGreenSocks.com>
30253         * doc/tm.texi: Remove reference to deleted macro.
30254         * doc/tm.texi.in: Likewise.
30256 2014-05-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
30258         PR target/60991
30259         * config/avr/avr.c (avr_out_store_psi): Use correct constant
30260         to restore Y.
30262 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
30264         PR libgcc/61152
30265         * config/arm/arm.h (License): Add GCC Runtime Library Exception.
30266         * config/arm/aout.h (License): Same.
30267         * config/arm/bpabi.h (License): Same.
30268         * config/arm/elf.h (License): Same.
30269         * config/arm/linux-elf.h (License): Same.
30270         * config/arm/linux-gas.h (License): Same.
30271         * config/arm/netbsd-elf.h (License): Same.
30272         * config/arm/uclinux-eabi.h (License): Same.
30273         * config/arm/uclinux-elf.h (License): Same.
30274         * config/arm/vxworks.h (License): Same.
30276 2014-05-11  Jakub Jelinek  <jakub@redhat.com>
30278         * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
30279         * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
30280         number of operands to 3.
30281         (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
30282         * tree-nested.c (convert_nonlocal_omp_clauses,
30283         convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
30284         * gimplify.c (gimplify_scan_omp_clauses): Handle
30285         OMP_CLAUSE_LINEAR_STMT.
30286         * omp-low.c (lower_rec_input_clauses): Fix typo.
30287         (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
30288         cast between Fortran boolean_type_node and C _Bool if
30289         needed.
30291 2014-05-11  Richard Sandiford  <rdsandiford@googlemail.com>
30293         PR tree-optimization/61136
30294         * wide-int.h (multiple_of_p): Define a version that doesn't return
30295         the quotient.
30296         * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
30297         integer_zerop/const_binop pair.
30298         (multiple_of_p): Likewise, converting both operands to widest_int
30299         precision.
30301 2014-05-09  Teresa Johnson  <tejohnson@google.com>
30303         * cgraphunit.c (analyze_functions): Use correct dump file.
30305 2014-05-09  Florian Weimer  <fweimer@redhat.com>
30307         * cfgexpand.c (stack_protect_decl_p): New function, extracted from
30308         expand_used_vars.
30309         (stack_protect_return_slot_p): New function.
30310         (expand_used_vars): Call stack_protect_decl_p and
30311         stack_protect_return_slot_p for -fstack-protector-strong.
30313 2014-05-09  David Wohlferd <LimeGreenSocks@yahoo.com>
30314         Andrew Haley <aph@redhat.com>
30315         Richard Sandiford <rdsandiford@googlemail.com>
30317         * doc/extend.texi: Rewrite inline asm page / re-org asm-related
30318         pages.
30320 2014-05-09  Kenneth Zadeck  <zadeck@naturalbridge.com>
30322         PR middle-end/61111
30323         * fold-const.c (fold_binary_loc): Changed width of mask.
30325 2014-05-09  Georg-Johann Lay  <avr@gjlay.de>
30327         * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
30328         unsigned int initializers for regno_in, regno_out.
30330 2014-05-09  Georg-Johann Lay  <avr@gjlay.de>
30332         PR target/61055
30333         * config/avr/avr.md (cc): Add new attribute set_vzn.
30334         (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
30335         Set cc insn attribute to set_vzn instead of set_zn for alternatives
30336         with INC, DEC or NEG.
30337         * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
30338         (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
30339         INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
30341 2014-05-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30343         Revert:
30344         2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30346         * wide-int.cc (UTItype): Define.
30347         (UDWtype): Define for appropriate W_TYPE_SIZE.
30349 2014-05-09  Richard Biener  <rguenther@suse.de>
30351         * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
30352         * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
30353         (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
30354         (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
30355         ssa_propagate): Adjust.
30357 2014-05-08  Jeff Law  <law@redhat.com>
30359         PR tree-optimization/61009
30360         * tree-ssa-threadedge.c (thread_through_normal_block): Return a
30361         tri-state rather than a boolean.  When a block is too big to
30362         thread through, inform caller via negative return value.
30363         (thread_across_edge): If a block was too big for normal threading,
30364         then it's too big for a joiner too, so remove temporary equivalences
30365         and return immediately.
30367 2014-05-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
30368             Matthias Klose  <doko@ubuntu.com>
30370         PR driver/61106
30371         * optc-gen.awk: Fix option handling for -Wunused-parameter.
30373 2014-05-08  Uros Bizjak  <ubizjak@gmail.com>
30375         PR target/59952
30376         * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
30378 2014-05-08  Uros Bizjak  <ubizjak@gmail.com>
30380         PR target/61092
30381         * config/alpha/alpha.c: Include gimple-iterator.h.
30382         (alpha_gimple_fold_builtin): New function.  Move
30383         ALPHA_BUILTIN_UMULH folding from ...
30384         (alpha_fold_builtin): ... here.
30385         (TARGET_GIMPLE_FOLD_BUILTIN): New define.
30387 2014-05-08  Wei Mi  <wmi@google.com>
30389         PR target/58066
30390         * config/i386/i386.c (ix86_compute_frame_layout): Update
30391         preferred_stack_boundary for call, expanded from tls descriptor.
30392         * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
30393         to depend on SP register.
30394         (*tls_local_dynamic_base_32_gnu): Ditto.
30395         (*tls_local_dynamic_32_once): Ditto.
30396         (tls_global_dynamic_64_<mode>): Set
30397         ix86_tls_descriptor_calls_expanded_in_cfun.
30398         (tls_local_dynamic_base_64_<mode>): Ditto.
30399         (tls_global_dynamic_32): Set
30400         ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
30401         to depend on SP register.
30402         (tls_local_dynamic_base_32): Ditto.
30404 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30406         * config/arm/arm_neon.h: Update comment.
30407         * config/arm/neon-docgen.ml: Delete.
30408         * config/arm/neon-gen.ml: Delete.
30409         * doc/arm-neon-intrinsics.texi: Update comment.
30411 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30413         * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
30414         and v4sf versions.
30415         (vand, vorr, veor, vorn, vbic): Remove.
30416         * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
30417         iterator.
30418         (neon_vsub_unspec): Likewise.
30419         (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
30421 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30423         * config/arm/arm_neon.h (vadd_s8): GNU C implementation
30424         (vadd_s16): Likewise.
30425         (vadd_s32): Likewise.
30426         (vadd_f32): Likewise.
30427         (vadd_u8): Likewise.
30428         (vadd_u16): Likewise.
30429         (vadd_u32): Likewise.
30430         (vadd_s64): Likewise.
30431         (vadd_u64): Likewise.
30432         (vaddq_s8): Likewise.
30433         (vaddq_s16): Likewise.
30434         (vaddq_s32): Likewise.
30435         (vaddq_s64): Likewise.
30436         (vaddq_f32): Likewise.
30437         (vaddq_u8): Likewise.
30438         (vaddq_u16): Likewise.
30439         (vaddq_u32): Likewise.
30440         (vaddq_u64): Likewise.
30441         (vmul_s8): Likewise.
30442         (vmul_s16): Likewise.
30443         (vmul_s32): Likewise.
30444         (vmul_f32): Likewise.
30445         (vmul_u8): Likewise.
30446         (vmul_u16): Likewise.
30447         (vmul_u32): Likewise.
30448         (vmul_p8): Likewise.
30449         (vmulq_s8): Likewise.
30450         (vmulq_s16): Likewise.
30451         (vmulq_s32): Likewise.
30452         (vmulq_f32): Likewise.
30453         (vmulq_u8): Likewise.
30454         (vmulq_u16): Likewise.
30455         (vmulq_u32): Likewise.
30456         (vsub_s8): Likewise.
30457         (vsub_s16): Likewise.
30458         (vsub_s32): Likewise.
30459         (vsub_f32): Likewise.
30460         (vsub_u8): Likewise.
30461         (vsub_u16): Likewise.
30462         (vsub_u32): Likewise.
30463         (vsub_s64): Likewise.
30464         (vsub_u64): Likewise.
30465         (vsubq_s8): Likewise.
30466         (vsubq_s16): Likewise.
30467         (vsubq_s32): Likewise.
30468         (vsubq_s64): Likewise.
30469         (vsubq_f32): Likewise.
30470         (vsubq_u8): Likewise.
30471         (vsubq_u16): Likewise.
30472         (vsubq_u32): Likewise.
30473         (vsubq_u64): Likewise.
30474         (vand_s8): Likewise.
30475         (vand_s16): Likewise.
30476         (vand_s32): Likewise.
30477         (vand_u8): Likewise.
30478         (vand_u16): Likewise.
30479         (vand_u32): Likewise.
30480         (vand_s64): Likewise.
30481         (vand_u64): Likewise.
30482         (vandq_s8): Likewise.
30483         (vandq_s16): Likewise.
30484         (vandq_s32): Likewise.
30485         (vandq_s64): Likewise.
30486         (vandq_u8): Likewise.
30487         (vandq_u16): Likewise.
30488         (vandq_u32): Likewise.
30489         (vandq_u64): Likewise.
30490         (vorr_s8): Likewise.
30491         (vorr_s16): Likewise.
30492         (vorr_s32): Likewise.
30493         (vorr_u8): Likewise.
30494         (vorr_u16): Likewise.
30495         (vorr_u32): Likewise.
30496         (vorr_s64): Likewise.
30497         (vorr_u64): Likewise.
30498         (vorrq_s8): Likewise.
30499         (vorrq_s16): Likewise.
30500         (vorrq_s32): Likewise.
30501         (vorrq_s64): Likewise.
30502         (vorrq_u8): Likewise.
30503         (vorrq_u16): Likewise.
30504         (vorrq_u32): Likewise.
30505         (vorrq_u64): Likewise.
30506         (veor_s8): Likewise.
30507         (veor_s16): Likewise.
30508         (veor_s32): Likewise.
30509         (veor_u8): Likewise.
30510         (veor_u16): Likewise.
30511         (veor_u32): Likewise.
30512         (veor_s64): Likewise.
30513         (veor_u64): Likewise.
30514         (veorq_s8): Likewise.
30515         (veorq_s16): Likewise.
30516         (veorq_s32): Likewise.
30517         (veorq_s64): Likewise.
30518         (veorq_u8): Likewise.
30519         (veorq_u16): Likewise.
30520         (veorq_u32): Likewise.
30521         (veorq_u64): Likewise.
30522         (vbic_s8): Likewise.
30523         (vbic_s16): Likewise.
30524         (vbic_s32): Likewise.
30525         (vbic_u8): Likewise.
30526         (vbic_u16): Likewise.
30527         (vbic_u32): Likewise.
30528         (vbic_s64): Likewise.
30529         (vbic_u64): Likewise.
30530         (vbicq_s8): Likewise.
30531         (vbicq_s16): Likewise.
30532         (vbicq_s32): Likewise.
30533         (vbicq_s64): Likewise.
30534         (vbicq_u8): Likewise.
30535         (vbicq_u16): Likewise.
30536         (vbicq_u32): Likewise.
30537         (vbicq_u64): Likewise.
30538         (vorn_s8): Likewise.
30539         (vorn_s16): Likewise.
30540         (vorn_s32): Likewise.
30541         (vorn_u8): Likewise.
30542         (vorn_u16): Likewise.
30543         (vorn_u32): Likewise.
30544         (vorn_s64): Likewise.
30545         (vorn_u64): Likewise.
30546         (vornq_s8): Likewise.
30547         (vornq_s16): Likewise.
30548         (vornq_s32): Likewise.
30549         (vornq_s64): Likewise.
30550         (vornq_u8): Likewise.
30551         (vornq_u16): Likewise.
30552         (vornq_u32): Likewise.
30553         (vornq_u64): Likewise.
30555 2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
30557         * wide-int.cc (UTItype): Define.
30558         (UDWtype): Define for appropriate W_TYPE_SIZE.
30560 2014-05-08  Marc Glisse  <marc.glisse@inria.fr>
30562         PR tree-optimization/59100
30563         * tree-ssa-phiopt.c: Include tree-inline.h.
30564         (neutral_element_p, absorbing_element_p): New functions.
30565         (value_replacement): Handle conditional binary operations with a
30566         neutral or absorbing element.
30568 2014-05-08  Richard Biener  <rguenther@suse.de>
30570         * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
30571         folding the expression.
30572         (valueize_expr): Remove.
30573         (visit_reference_op_load): Do not valueize the result of
30574         vn_get_expr_for.
30575         (simplify_binary_expression): Likewise.
30576         (simplify_unary_expression): Likewise.
30578 2014-05-08  Richard Biener  <rguenther@suse.de>
30580         * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
30581         looking at TYPE_ARG_TYPES.
30583 2014-05-08  Richard Biener  <rguenther@suse.de>
30585         * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
30586         pointer propagation special-case.
30588 2014-05-08  Bin Cheng  <bin.cheng@arm.com>
30590         * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
30591         core part of address expressions.
30593 2014-05-08  Alan Modra  <amodra@gmail.com>
30595         PR target/60737
30596         * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
30597         loads and stores when -mno-strict-align at any alignment.
30598         (expand_block_clear): Similarly.  Also correct calculation of
30599         instruction count.
30601 2014-05-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
30603         PR middle-end/39246
30604         * tree-complex.c (expand_complex_move): Keep line info when expanding
30605         complex move.
30606         * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
30607         of complex expression. Use new argument to display correct location
30608         for values coming from phi statement.
30609         (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
30610         (warn_uninitialized_phi): Pass location of phi argument to
30611         warn_uninit.
30612         * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
30613         COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
30615 2014-05-07  Segher Boessenkool  <segher@kernel.crashing.org>
30617         * config/rs6000/predicates.md (indexed_address_mem): New.
30618         * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
30619         load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
30620         fpstore_ux, fpstore_u.
30621         (sign_extend, indexed, update): New.
30622         (cell_micro): Adjust.
30623         (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
30624         *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
30625         *movsi_internal1, *movsi_internal1_single, *movhi_internal,
30626         *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
30627         *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
30628         *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
30629         *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
30630         *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
30631         *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
30632         *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
30633         *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
30634         *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
30635         *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
30636         *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
30637         *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
30639         * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
30640         * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
30641         *vsx_extract_<mode>_store): Adjust.
30642         * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
30643         is_cracked_insn, insn_must_be_first_in_group,
30644         insn_must_be_last_in_group): Adjust.
30646         * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
30647         Adjust.
30648         * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
30649         ppc440-fpstore): Adjust.
30650         * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
30651         ppc476-fpstore): Adjust.
30652         * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
30653         ppc601-fpstore): Adjust.
30654         * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
30655         Adjust.
30656         * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
30657         Adjust.
30658         * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
30659         ppc7450-fpstore): Adjust.
30660         * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
30661         * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
30662         * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
30663         Adjust.
30664         * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
30665         cell-fpload, cell-fpload-update, cell-store, cell-store-update,
30666         cell-fpstore, cell-fpstore-update): Adjust.
30667         * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
30668         ppce300c3_store, ppce300c3_fpstore): Adjust.
30669         * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
30670         e500mc_fpstore): Adjust.
30671         * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
30672         e500mc64_store, e500mc64_fpstore): Adjust.
30673         * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
30674         e5500_fpstore): Adjust.
30675         * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
30676         e6500_fpstore): Adjust.
30677         * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
30678         Adjust.
30679         * config/rs6000/power4.md (power4-load, power4-load-ext,
30680         power4-load-ext-update, power4-load-ext-update-indexed,
30681         power4-load-update-indexed, power4-load-update, power4-fpload,
30682         power4-fpload-update, power4-store, power4-store-update,
30683         power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
30684         Adjust.
30685         * config/rs6000/power5.md (power5-load, power5-load-ext,
30686         power5-load-ext-update, power5-load-ext-update-indexed,
30687         power5-load-update-indexed, power5-load-update, power5-fpload,
30688         power5-fpload-update, power5-store, power5-store-update,
30689         power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
30690         Adjust.
30691         * config/rs6000/power6.md (power6-load, power6-load-ext,
30692         power6-load-update, power6-load-update-indexed,
30693         power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
30694         power6-fpload-update, power6-store, power6-store-update,
30695         power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
30696         Adjust.
30697         * config/rs6000/power7.md (power7-load, power7-load-ext,
30698         power7-load-update, power7-load-update-indexed,
30699         power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
30700         power7-fpload-update, power7-store, power7-store-update,
30701         power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
30702         Adjust.
30703         * config/rs6000/power8.md (power8-load, power8-load-update,
30704         power8-load-ext, power8-load-ext-update, power8-fpload,
30705         power8-fpload-update, power8-store, power8-store-update-indexed,
30706         power8-fpstore, power8-fpstore-update): Adjust.
30707         * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
30708         Adjust.
30709         * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
30710         titan_lsu_store, titan_lsu_fpstore): Adjust.
30711         * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
30713 2014-05-07  Oleg Endo  <olegendo@gcc.gnu.org>
30715         PR target/60884
30716         * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
30717         unrolled byte insns.  Emit address increments after move insns.
30719 2014-05-07  David Malcolm  <dmalcolm@redhat.com>
30721         * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
30722         const_gimple, rather than a gimple.
30723         (gimple_call_builtin_p): Likewise, for the three variants.
30725         * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
30726         (gimple_call_builtin_p): Likewise, for the three variants.
30728 2014-05-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
30730         PR tree-optimization/61095
30731         * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
30733 2014-05-07  Richard Biener  <rguenther@suse.de>
30735         PR tree-optimization/61034
30736         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
30737         (maybe_skip_until): Use translate to take into account
30738         lattices when trying to do disambiguations.
30739         (get_continuation_for_phi_1): Likewise.
30740         (get_continuation_for_phi): Adjust for added translate arguments.
30741         (walk_non_aliased_vuses): Likewise.
30742         * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
30743         (walk_non_aliased_vuses): Likewise.
30744         (call_may_clobber_ref_p_1): Declare.
30745         * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
30746         calls.  Stop early if we are only supposed to disambiguate.
30747         * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
30749 2014-05-07  Joern Rennecke  <joern.rennecke@embecosm.com>
30751         * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
30752         Emit an error when the function has arguments.
30754 2014-05-07  Thomas Schwinge  <thomas@codesourcery.com>
30756         * cfgloop.h (unswitch_loops): Remove.
30757         * doc/passes.texi: Remove references to loop-unswitch.c
30758         * timevar.def (TV_LOOP_UNSWITCH): Remove.
30760 2014-05-07  Evgeny Stupachenko  <evstupac@gmail.com>
30762         * tree-vect-data-refs.c (vect_grouped_load_supported): New
30763         check for loads group of length 3.
30764         (vect_permute_load_chain): New permutations for loads group of
30765         length 3.
30766         * tree-vect-stmts.c (vect_model_load_cost): Change cost
30767         of vec_perm_shuffle for the new permutations.
30769 2014-05-07  Alan Lawrence  <alan.lawrence@arm.com>
30771         * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
30772         vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
30773         vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
30774         vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
30775         vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
30776         vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
30777         vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
30778         vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
30780 2014-05-07  Thomas Schwinge  <thomas@codesourcery.com>
30782         * loop-unswitch.c: Delete.
30784 2014-05-07  Richard Biener  <rguenther@suse.de>
30786         * config.gcc: Always set need_64bit_hwint to yes.
30788 2014-05-07  Chung-Ju Wu  <jasonwucj@gmail.com>
30790         * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
30791         of using optimize_size.
30793 2014-05-06  Mike Stump  <mikestump@comcast.net>
30795         * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
30797 2014-05-06  Joseph Myers  <joseph@codesourcery.com>
30799         * config/i386/sse.md (*mov<mode>_internal)
30800         (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
30801         (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
30802         (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
30803         (*<code><mode>3, *andnot<mode>3<mask_name>)
30804         (<mask_codefor><code><mode>3<mask_name>): Only consider
30805         TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
30807 2014-05-06  Richard Sandiford  <rdsandiford@googlemail.com>
30809         Revert:
30810         2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
30812         * lra-constraints.c (valid_address_p): Move earlier in file.
30813         Add a constraint argument to the address_info version.
30814         (satisfies_memory_constraint_p): New function.
30815         (satisfies_address_constraint_p): Likewise.
30816         (process_alt_operands, curr_insn_transform): Use them.
30817         (process_address): Pass the constraint to valid_address_p when
30818         checking address operands.
30820 2014-05-06  Richard Sandiford  <r.sandiford@uk.ibm.com>
30822         * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
30823         to their respective blocks.  Fix inadvertent use of "node".
30825 2014-05-06  Richard Sandiford  <rdsandiford@googlemail.com>
30827         * emit-rtl.c (init_derived_machine_modes): New functionm, split
30828         out from...
30829         (init_emit_once): ...here.
30830         * rtl.h (init_derived_machine_modes): Declare.
30831         * toplev.c (do_compile): Call it even if no_backend.
30833 2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>
30834             Mike Stump  <mikestump@comcast.net>
30835             Richard Sandiford  <rdsandiford@googlemail.com>
30836             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
30838         * alias.c (ao_ref_from_mem): Use wide-int interfaces.
30839         (rtx_equal_for_memref_p): Update comment.
30840         (adjust_offset_for_component_ref): Use wide-int interfaces.
30841         * builtins.c (get_object_alignment_2): Likewise.
30842         (c_readstr): Likewise.
30843         (target_char_cast): Add comment.
30844         (determine_block_size): Use wide-int interfaces.
30845         (expand_builtin_signbit): Likewise.
30846         (fold_builtin_int_roundingfn): Likewise.
30847         (fold_builtin_bitop): Likewise.
30848         (fold_builtin_bswap): Likewise.
30849         (fold_builtin_logarithm): Use signop.
30850         (fold_builtin_pow): Likewise.
30851         (fold_builtin_memory_op): Use wide-int interfaces.
30852         (fold_builtin_object_size): Likewise.
30853         * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
30854         nb_iterations_estimate.
30855         (record_niter_bound): Use wide-int interfaces.
30856         (get_estimated_loop_iterations_int): Likewise.
30857         (get_estimated_loop_iterations): Likewise.
30858         (get_max_loop_iterations): Likewise.
30859         * cfgloop.h: Include wide-int.h.
30860         (struct nb_iter_bound): Change bound to widest_int.
30861         (struct loop): Change nb_iterations_upper_bound and
30862         nb_iterations_estimate to widest_int.
30863         (record_niter_bound): Switch to use widest_int.
30864         (get_estimated_loop_iterations): Likewise.
30865         (get_max_loop_iterations): Likewise.
30866         (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
30867         update for wide-int.
30868         * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
30869         * combine.c (try_combine): Likewise.
30870         (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
30871         * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
30872         interfaces.
30873         (aarch64_float_const_representable_p): Likewise.
30874         * config/arc/arc.c: Include wide-int.h.
30875         (arc_can_use_doloop_p): Use wide-int interfaces.
30876         * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
30877         (vfp3_const_double_index): Likewise.
30878         * config/avr/avr.c (avr_out_round): Likewise.
30879         (avr_fold_builtin): Likewise.
30880         * config/bfin/bfin.c (bfin_local_alignment): Likewise.
30881         (bfin_can_use_doloop_p): Likewise.
30882         * config/darwin.c (darwin_mergeable_constant_section): Likewise.
30883         (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
30884         * config/i386/i386.c: Include wide-int.h.
30885         (ix86_data_alignment): Use wide-int interfaces.
30886         (ix86_local_alignment): Likewise.
30887         (ix86_emit_swsqrtsf): Update real_from_integer.
30888         * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
30889         * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
30890         * config/rs6000/predicates.md (any_operand): Add const_wide_int.
30891         (zero_constant): Likewise.
30892         (input_operand): Likewise.
30893         (splat_input_operand): Likewise.
30894         (non_logical_cint_operand): Change const_double to const_wide_int.
30895         * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
30896         (easy_altivec_constant): Remove comment.
30897         (paired_expand_vector_init): Use CONSTANT_P.
30898         (rs6000_legitimize_address): Handle CONST_WIDE_INT.
30899         (rs6000_emit_move): Update checks.
30900         (rs6000_aggregate_candidate): Use wide-int interfaces.
30901         (rs6000_expand_ternop_builtin): Likewise.
30902         (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
30903         (rs6000_assemble_integer): Likewise.
30904         (rs6000_hash_constant): Likewise.
30905         (output_toc): Likewise.
30906         (rs6000_rtx_costs): Likewise.
30907         (rs6000_emit_swrsqrt); Update call to real_from_integer.
30908         * config/rs6000/rs6000-c.c: Include wide-int.h.
30909         (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
30910         * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
30911         * config/rs6000/rs6000.md: Use const_scalar_int_operand.
30912         Handle CONST_WIDE_INT.
30913         * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
30914         Use tree_fits_uhwi_p.
30915         * config/sparc/sparc.c: Include wide-int.h.
30916         (sparc_fold_builtin): Use wide-int interfaces.
30917         * config/vax/vax.c: Include wide-int.h.
30918         (vax_float_literal): Use real_from_integer.
30919         * coretypes.h (struct hwivec_def): New.
30920         (hwivec): New.
30921         (const_hwivec): New.
30922         * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
30923         (equiv_constant): Handle CONST_WIDE_INT.
30924         * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
30925         (cselib_hash_rtx): Handle CONST_WIDE_INT.
30926         * dbxout.c (stabstr_U): Use wide-int interfaces.
30927         (dbxout_type): Update to use cst_fits_shwi_p.
30928         * defaults.h (LOG2_BITS_PER_UNIT): Define.
30929         (TARGET_SUPPORTS_WIDE_INT): Add default.
30930         * dfp.c: Include wide-int.h.
30931         (decimal_real_to_integer2): Use wide-int interfaces and rename to
30932         decimal_real_to_integer.
30933         * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
30934         decimal_real_to_integer.
30935         * doc/generic.texi (Constant expressions): Update for wide_int.
30936         * doc/rtl.texi (const_double): Likewise.
30937         (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
30938         (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
30939         * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
30940         (REAL_VALUE_FROM_INT): Remove.
30941         (TARGET_SUPPORTS_WIDE_INT): New.
30942         * doc/tm.texi: Regenerate.
30943         * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
30944         * double-int.h: Include wide-int.h.
30945         (struct wi::int_traits): New.
30946         * dwarf2out.c (get_full_len): New.
30947         (dw_val_equal_p): Add case dw_val_class_wide_int.
30948         (size_of_loc_descr): Likewise.
30949         (output_loc_operands): Likewise.
30950         (insert_double): Remove.
30951         (insert_wide_int): New.
30952         (add_AT_wide): New.
30953         (print_die): Add case dw_val_class_wide_int.
30954         (attr_checksum): Likewise.
30955         (attr_checksum_ordered): Likewise.
30956         (same_dw_val_p): Likewise.
30957         (size_of_die): Likewise.
30958         (value_format): Likewise.
30959         (output_die): Likewise.
30960         (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
30961         Use wide-int.
30962         (clz_loc_descriptor): Use wide-int interfaces.
30963         (mem_loc_descriptor): Likewise.  Handle CONST_WIDE_INT.
30964         (loc_descriptor): Use wide-int interfaces.  Handle CONST_WIDE_INT.
30965         (round_up_to_align): Use wide-int interfaces.
30966         (field_byte_offset): Likewise.
30967         (insert_double): Rename to insert_wide_int.  Use wide-int interfaces.
30968         (add_const_value_attribute): Handle CONST_WIDE_INT.  Update
30969         CONST_DOUBLE handling.  Use wide-int interfaces.
30970         (add_bound_info): Use tree_fits_uhwi_p.  Use wide-int interfaces.
30971         (gen_enumeration_type_die): Use add_AT_wide.
30972         (hash_loc_operands): Add case dw_val_class_wide_int.
30973         (compare_loc_operands): Likewise.
30974         * dwarf2out.h: Include wide-int.h.
30975         (wide_int_ptr): New.
30976         (enum dw_val_class): Add dw_val_class_wide_int.
30977         (struct dw_val_struct): Add val_wide.
30978         * emit-rtl.c (const_wide_int_htab): New.
30979         (const_wide_int_htab_hash): New.
30980         (const_wide_int_htab_eq): New.
30981         (lookup_const_wide_int): New.
30982         (const_double_htab_hash): Use wide-int interfaces.
30983         (const_double_htab_eq): Likewise.
30984         (rtx_to_double_int): Conditionally compile for wide-int.
30985         (immed_double_int_const): Rename to immed_wide_int_const and
30986         update for wide-int.
30987         (immed_double_const): Conditionally compile for wide-int.
30988         (init_emit_once): Use wide-int interfaces.
30989         * explow.c (plus_constant): Likewise.
30990         * expmed.c (mask_rtx): Move further up file.  Use wide-int interfaces.
30991         (lshift_value): Use wide-int interfaces.
30992         (expand_mult): Likewise.
30993         (choose_multiplier): Likewise.
30994         (expand_smod_pow2): Likewise.
30995         (make_tree): Likewise.
30996         * expr.c (convert_modes): Consolidate handling of constants.
30997         Use wide-int interfaces.
30998         (emit_group_load_1): Add note.
30999         (store_expr): Update comment.
31000         (get_inner_reference): Use wide-int interfaces.
31001         (expand_constructor): Update comment.
31002         (expand_expr_real_2): Use wide-int interfaces.
31003         (expand_expr_real_1): Likewise.
31004         (reduce_to_bit_field_precision): Likewise.
31005         (const_vector_from_tree): Likewise.
31006         * final.c: Include wide-int-print.h.
31007         (output_addr_const): Handle CONST_WIDE_INT.  Use CONST_DOUBLE_AS_INT_P.
31008         * fixed-value.c: Include wide-int.h.
31009         (fixed_from_string): Use wide-int interfaces.
31010         (fixed_to_decimal): Likewise.
31011         (fixed_convert_from_real): Likewise.
31012         (real_convert_from_fixed): Likewise.
31013         * fold-const.h (mem_ref_offset): Return an offset_int.
31014         (div_if_zero_remainder): Remove code parameter.
31015         * fold-const.c (div_if_zero_remainder): Remove code parameter.
31016         Use wide-int interfaces.
31017         (may_negate_without_overflow_p): Use wide-int interfaces.
31018         (negate_expr_p): Likewise.
31019         (fold_negate_expr): Likewise.
31020         (int_const_binop_1): Likewise.
31021         (const_binop): Likewise.
31022         (fold_convert_const_int_from_int): Likewise.
31023         (fold_convert_const_int_from_real): Likewise.
31024         (fold_convert_const_int_from_fixed): Likewise.
31025         (fold_convert_const_fixed_from_int): Likewise.
31026         (all_ones_mask_p): Take an unsigned size.  Use wide-int interfaces.
31027         (sign_bit_p): Use wide-int interfaces.
31028         (make_range_step): Likewise.
31029         (build_range_check): Likewise.  Pass an integer of the correct type
31030         instead of using integer_one_node.
31031         (range_predecessor): Pass an integer of the correct type instead
31032         of using integer_one_node.
31033         (range_successor): Likewise.
31034         (merge_ranges): Likewise.
31035         (unextend): Use wide-int interfaces.
31036         (extract_muldiv_1): Likewise.
31037         (fold_div_compare): Likewise.
31038         (fold_single_bit_test): Likewise.
31039         (fold_sign_changed_comparison): Likewise.
31040         (try_move_mult_to_index): Update calls to div_if_zero_remainder.
31041         (fold_plusminus_mult_expr): Use wide-int interfaces.
31042         (native_encode_int): Likewise.
31043         (native_interpret_int): Likewise.
31044         (fold_unary_loc): Likewise.
31045         (pointer_may_wrap_p): Likewise.
31046         (size_low_cst): Likewise.
31047         (mask_with_tz): Likewise.
31048         (fold_binary_loc): Likewise.
31049         (fold_ternary_loc): Likewise.
31050         (multiple_of_p): Likewise.
31051         (tree_call_nonnegative_warnv_p): Update calls to
31052         tree_int_cst_min_precision and real_from_integer.
31053         (fold_negate_const): Use wide-int interfaces.
31054         (fold_abs_const): Likewise.
31055         (fold_relational_const): Use tree_int_cst_lt.
31056         (round_up_loc): Use wide-int interfaces.
31057         * genemit.c (gen_exp): Add CONST_WIDE_INT case.
31058         * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
31059         * gengtype.c: Remove include of double-int.h.
31060         (do_typedef): Use wide-int interfaces.
31061         (open_base_files): Add wide-int.h.
31062         (main): Add offset_int and widest_int typedefs.
31063         * gengtype-lex.l: Handle "^".
31064         (CXX_KEYWORD): Add "static".
31065         * gengtype-parse.c (require3): New.
31066         (require_template_declaration): Handle constant template arguments
31067         and nested templates.
31068         * gengtype-state.c: Don't include "double-int.h".
31069         * genpreds.c (write_one_predicate_function): Update comment.
31070         (write_tm_constrs_h): Add check for hval and lval use in
31071         CONST_WIDE_INT.
31072         * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
31073         (add_to_sequence): Likewise.
31074         * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
31075         and const_double_operand.
31076         * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
31077         interfaces.
31078         * gimple-fold.c (get_base_constructor): Likewise.
31079         (fold_array_ctor_reference): Likewise.
31080         (fold_nonarray_ctor_reference): Likewise.
31081         (fold_const_aggregate_ref_1): Likewise.
31082         (gimple_val_nonnegative_real_p): Likewise.
31083         (gimple_fold_indirect_ref): Likewise.
31084         * gimple-pretty-print.c (dump_ssaname_info): Likewise.
31085         * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
31086         (struct slsr_cand_d): Change index to be widest_int.
31087         (struct incr_info_d): Change incr to be widest_int.
31088         (alloc_cand_and_find_basis): Use wide-int interfaces.
31089         (slsr_process_phi): Likewise.
31090         (backtrace_base_for_ref): Likewise.  Return a widest_int.
31091         (restructure_reference): Take a widest_int instead of a double_int.
31092         (slsr_process_ref): Use wide-int interfaces.
31093         (create_mul_ssa_cand): Likewise.
31094         (create_mul_imm_cand): Likewise.
31095         (create_add_ssa_cand): Likewise.
31096         (create_add_imm_cand): Take a widest_int instead of a double_int.
31097         (slsr_process_add): Use wide-int interfaces.
31098         (slsr_process_cast): Likewise.
31099         (slsr_process_copy): Likewise.
31100         (dump_candidate): Likewise.
31101         (dump_incr_vec): Likewise.
31102         (replace_ref): Likewise.
31103         (cand_increment): Likewise.  Return a widest_int.
31104         (cand_abs_increment): Likewise.
31105         (replace_mult_candidate): Take a widest_int instead of a double_int.
31106         (replace_unconditional_candidate): Use wide-int interfaces.
31107         (incr_vec_index): Take a widest_int instead of a double_int.
31108         (create_add_on_incoming_edge): Likewise.
31109         (create_phi_basis): Use wide-int interfaces.
31110         (replace_conditional_candidate): Likewise.
31111         (record_increment): Take a widest_int instead of a double_int.
31112         (record_phi_increments): Use wide-int interfaces.
31113         (phi_incr_cost): Take a widest_int instead of a double_int.
31114         (lowest_cost_path): Likewise.
31115         (total_savings): Likewise.
31116         (analyze_increments): Use wide-int interfaces.
31117         (ncd_with_phi): Take a widest_int instead of a double_int.
31118         (ncd_of_cand_and_phis): Likewise.
31119         (nearest_common_dominator_for_cands): Likewise.
31120         (insert_initializers): Use wide-int interfaces.
31121         (all_phi_incrs_profitable): Likewise.
31122         (replace_one_candidate): Likewise.
31123         (replace_profitable_candidates): Likewise.
31124         * godump.c: Include wide-int-print.h.
31125         (go_output_typedef): Use wide-int interfaces.
31126         * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
31127         * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
31128         (build_loop_iteration_domains): Likewise.
31129         * hooks.h: Include wide-int.h rather than double-int.h.
31130         (hook_bool_dint_dint_uint_bool_true): Delete.
31131         (hook_bool_wint_wint_uint_bool_true): Declare.
31132         * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
31133         (hook_bool_wint_wint_uint_bool_true): New.
31134         * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
31135         interfaces.
31136         (ubsan_expand_si_overflow_mul_check): Likewise.
31137         * ipa-devirt.c (get_polymorphic_call_info): Likewise.
31138         * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
31139         (get_ancestor_addr_info): Likewise.
31140         (ipa_modify_call_arguments): Likewise.
31141         * loop-doloop.c (doloop_modify): Likewise.
31142         (doloop_optimize): Likewise.
31143         * loop-iv.c (iv_number_of_iterations): Likewise.
31144         * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
31145         (unroll_loop_constant_iterations): Likewise.
31146         (decide_unroll_runtime_iterations): Likewise.
31147         (unroll_loop_runtime_iterations): Likewise.
31148         (decide_peel_simple): Likewise.
31149         (decide_unroll_stupid): Likewise.
31150         * lto-streamer-in.c (streamer_read_wi): Add.
31151         (input_cfg): Use wide-int interfaces.
31152         (lto_input_tree_1): Likewise.
31153         * lto-streamer-out.c (streamer_write_wi): Add.
31154         (hash_tree): Use wide-int interfaces.
31155         (output_cfg): Likewise.
31156         * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
31157         (GTFILES): Add wide-int.h and signop.h.
31158         (TAGS): Look for .cc files too.
31159         * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
31160         * optabs.c (expand_subword_shift): Likewise.
31161         (expand_doubleword_shift): Likewise.
31162         (expand_absneg_bit): Likewise.
31163         (expand_copysign_absneg): Likewise.
31164         (expand_copysign_bit): Likewise.
31165         * postreload.c (reload_cse_simplify_set): Likewise.
31166         * predict.c (predict_iv_comparison): Likewise.
31167         * pretty-print.h: Include wide-int-print.h.
31168         (pp_wide_int) New.
31169         * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
31170         * print-tree.c: Include wide-int-print.h.
31171         (print_node_brief): Use wide-int interfaces.
31172         (print_node): Likewise.
31173         * read-rtl.c (validate_const_wide_int): New.
31174         (read_rtx_code): Add CONST_WIDE_INT case.
31175         * real.c: Include wide-int.h.
31176         (real_to_integer2): Delete.
31177         (real_to_integer): New function, returning a wide_int.
31178         (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
31179         (ten_to_ptwo): Update call to real_from_integer.
31180         (real_digit): Likewise.
31181         * real.h: Include signop.h, wide-int.h and insn-modes.h.
31182         (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
31183         (REAL_VALUE_TO_INT): Delete.
31184         (real_to_integer): Declare a wide-int form.
31185         (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
31186         * recog.c (const_int_operand): Improve comment.
31187         (const_scalar_int_operand): New.
31188         (const_double_operand): Add a separate definition for CONST_WIDE_INT.
31189         * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
31190         (split_double): Likewise.
31191         * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
31192         (rtx_size): Likewise.
31193         (rtx_alloc_stat_v): New.
31194         (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
31195         (cwi_output_hex): New.
31196         (iterative_hash_rtx): Handle CONST_WIDE_INT.
31197         (cwi_check_failed_bounds): New.
31198         * rtl.def (CONST_WIDE_INT): New.
31199         * rtl.h: Include <utility> and wide-int.h.
31200         (struct hwivec_def): New.
31201         (CWI_GET_NUM_ELEM): New.
31202         (CWI_PUT_NUM_ELEM): New.
31203         (struct rtx_def): Add num_elem and hwiv.
31204         (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
31205         (CASE_CONST_UNIQUE): Likewise.
31206         (CASE_CONST_ANY): Likewise.
31207         (CONST_SCALAR_INT_P): Likewise.
31208         (CONST_WIDE_INT_P): New.
31209         (CWI_ELT): New.
31210         (HWIVEC_CHECK): New.
31211         (cwi_check_failed_bounds): New.
31212         (CWI_ELT): New.
31213         (HWIVEC_CHECK): New.
31214         (CONST_WIDE_INT_VEC) New.
31215         (CONST_WIDE_INT_NUNITS) New.
31216         (CONST_WIDE_INT_ELT) New.
31217         (rtx_mode_t): New type.
31218         (wi::int_traits <rtx_mode_t>): New.
31219         (wi::shwi): New.
31220         (wi::min_value): New.
31221         (wi::max_value): New.
31222         (rtx_alloc_v) New.
31223         (const_wide_int_alloc): New.
31224         (immed_wide_int_const): New.
31225         * sched-vis.c (print_value): Handle CONST_WIDE_INT.
31226         * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
31227         * signop.h: New file.
31228         * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
31229         (simplify_const_unary_operation): Use wide-int interfaces.
31230         (simplify_binary_operation_1): Likewise.
31231         (simplify_const_binary_operation): Likewise.
31232         (simplify_const_relational_operation): Likewise.
31233         (simplify_immed_subreg): Likewise.
31234         * stmt.c (expand_case): Likewise.
31235         * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
31236         signop rather than a bool.
31237         * stor-layout.c (layout_type): Use wide-int interfaces.
31238         (initialize_sizetypes): Update calls to
31239         set_min_and_max_values_for_integral_type.
31240         (set_min_and_max_values_for_integral_type): Take a signop rather
31241         than a bool.  Use wide-int interfaces.
31242         (fixup_signed_type): Update accordingly.  Remove
31243         HOST_BITS_PER_DOUBLE_INT limit.
31244         (fixup_unsigned_type): Likewise.
31245         * system.h (STATIC_CONSTANT_P): New.
31246         (STATIC_ASSERT): New.
31247         * target.def (can_use_doloop_p): Take widest_ints rather than
31248         double_ints.
31249         * target.h: Include wide-int.h rather than double-int.h.
31250         * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
31251         than double_ints.
31252         * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
31253         rather than INT_CST_LT_UNSIGNED.
31254         (can_use_doloop_if_innermost): Take widest_ints rather than
31255         double_ints.
31256         * tree-affine.c: Include wide-int-print.h.
31257         (double_int_ext_for_comb): Delete.
31258         (wide_int_ext_for_comb): New.
31259         (aff_combination_zero): Use wide-int interfaces.
31260         (aff_combination_const): Take a widest_int instead of a double_int.
31261         (aff_combination_elt): Use wide-int interfaces.
31262         (aff_combination_scale): Take a widest_int instead of a double_int.
31263         (aff_combination_add_elt): Likewise.
31264         (aff_combination_add_cst): Likewise.
31265         (aff_combination_add): Use wide-int interfaces.
31266         (aff_combination_convert): Likewise.
31267         (tree_to_aff_combination): Likewise.
31268         (add_elt_to_tree): Take a widest_int instead of a double_int.
31269         (aff_combination_to_tree): Use wide-int interfaces.
31270         (aff_combination_remove_elt): Likewise.
31271         (aff_combination_add_product): Take a widest_int instead of
31272         a double_int.
31273         (aff_combination_mult): Use wide-int interfaces.
31274         (aff_combination_expand): Likewise.
31275         (double_int_constant_multiple_p): Delete.
31276         (wide_int_constant_multiple_p): New.
31277         (aff_combination_constant_multiple_p): Take a widest_int pointer
31278         instead of a double_int pointer.
31279         (print_aff): Use wide-int interfaces.
31280         (get_inner_reference_aff): Take a widest_int pointer
31281         instead of a double_int pointer.
31282         (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
31283         * tree-affine.h: Include wide-int.h.
31284         (struct aff_comb_elt): Change type of coef to widest_int.
31285         (struct affine_tree_combination): Change type of offset to widest_int.
31286         (double_int_ext_for_comb): Delete.
31287         (wide_int_ext_for_comb): New.
31288         (aff_combination_const): Use widest_int instead of double_int.
31289         (aff_combination_scale): Likewise.
31290         (aff_combination_add_elt): Likewise.
31291         (aff_combination_constant_multiple_p): Likewise.
31292         (get_inner_reference_aff): Likewise.
31293         (aff_comb_cannot_overlap_p): Likewise.
31294         (aff_combination_zero_p): Use wide-int interfaces.
31295         * tree.c: Include tree.h.
31296         (init_ttree): Use make_int_cst.
31297         (tree_code_size): Removed code for INTEGER_CST case.
31298         (tree_size): Add INTEGER_CST case.
31299         (make_node_stat): Update comment.
31300         (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
31301         (build_int_cst_type): Use wide-int interfaces.
31302         (double_int_to_tree): Likewise.
31303         (double_int_fits_to_tree_p): Delete.
31304         (force_fit_type_double): Delete.
31305         (force_fit_type): New.
31306         (int_cst_hash_hash): Use wide-int interfaces.
31307         (int_cst_hash_eq): Likewise.
31308         (build_int_cst_wide): Delete.
31309         (wide_int_to_tree): New.
31310         (cache_integer_cst): Use wide-int interfaces.
31311         (build_low_bits_mask): Likewise.
31312         (cst_and_fits_in_hwi): Likewise.
31313         (real_value_from_int_cst): Likewise.
31314         (make_int_cst_stat): New.
31315         (integer_zerop): Use wide_int interfaces.
31316         (integer_onep): Likewise.
31317         (integer_all_onesp): Likewise.
31318         (integer_pow2p): Likewise.
31319         (integer_nonzerop): Likewise.
31320         (tree_log2): Likewise.
31321         (tree_floor_log2): Likewise.
31322         (tree_ctz): Likewise.
31323         (int_size_in_bytes): Likewise.
31324         (mem_ref_offset): Return an offset_int rather than a double_int.
31325         (build_type_attribute_qual_variant): Use wide_int interfaces.
31326         (type_hash_eq): Likewise
31327         (tree_int_cst_equal): Likewise.
31328         (tree_int_cst_lt): Delete.
31329         (tree_int_cst_compare): Likewise.
31330         (tree_fits_shwi_p): Use wide_int interfaces.
31331         (tree_fits_uhwi_p): Likewise.
31332         (tree_int_cst_sign_bit): Likewise.
31333         (tree_int_cst_sgn): Likewise.
31334         (tree_int_cst_min_precision): Take a signop rather than a bool.
31335         (simple_cst_equal): Use wide_int interfaces.
31336         (compare_tree_int): Likewise.
31337         (iterative_hash_expr): Likewise.
31338         (int_fits_type_p): Likewise.  Use tree_int_cst_lt rather than
31339         INT_CST_LT.
31340         (get_type_static_bounds): Use wide_int interfaces.
31341         (tree_int_cst_elt_check_failed): New.
31342         (build_common_tree_nodes): Reordered to set prec before filling in
31343         value.
31344         (int_cst_value): Check cst_and_fits_in_hwi.
31345         (widest_int_cst_value): Use wide_int interfaces.
31346         (upper_bound_in_type): Likewise.
31347         (lower_bound_in_type): Likewise.
31348         (num_ending_zeros): Likewise.
31349         (drop_tree_overflow): Likewise.
31350         * tree-call-cdce.c (check_pow): Update call to real_from_integer.
31351         (gen_conditions_for_pow_cst_base): Likewise.
31352         * tree-cfg.c: Include wide-int.h and wide-int-print.h.
31353         (group_case_labels_stmt): Use wide-int interfaces.
31354         (verify_gimple_assign_binary): Likewise.
31355         (print_loop): Likewise.
31356         * tree-chrec.c (tree_fold_binomial): Likewise.
31357         * tree-core.h (struct tree_base): Add int_length.
31358         (struct tree_int_cst): Change rep of value.
31359         * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
31360         (dr_may_alias_p): Likewise.
31361         (max_stmt_executions_tree): Likewise.
31362         * tree.def (INTEGER_CST): Update comment.
31363         * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
31364         * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
31365         * tree-dump.c: Include wide-int.h and wide-int-print.h.
31366         (dequeue_and_dump): Use wide-int interfaces.
31367         * tree.h: Include wide-int.h.
31368         (NULL_TREE): Moved to earlier loc in file.
31369         (TREE_INT_CST_ELT_CHECK): New.
31370         (tree_int_cst_elt_check_failed): New.
31371         (TYPE_SIGN): New.
31372         (TREE_INT_CST): Delete.
31373         (TREE_INT_CST_LOW): Use wide-int interfaces.
31374         (TREE_INT_CST_HIGH): Delete.
31375         (TREE_INT_CST_NUNITS): New.
31376         (TREE_INT_CST_EXT_NUNITS): Likewise.
31377         (TREE_INT_CST_OFFSET_NUNITS): Likewise.
31378         (TREE_INT_CST_ELT): Likewise.
31379         (INT_CST_LT): Delete.
31380         (tree_int_cst_elt_check): New (two forms).
31381         (type_code_size): Update comment.
31382         (make_int_cst_stat, make_int_cst): New.
31383         (tree_to_double_int): Delete.
31384         (double_int_fits_to_tree_p): Delete.
31385         (force_fit_type_double): Delete.
31386         (build_int_cstu): Replace with out-of-line function.
31387         (build_int_cst_wide): Delete.
31388         (tree_int_cst_lt): Define inline.
31389         (tree_int_cst_le): New.
31390         (tree_int_cst_compare): Define inline.
31391         (tree_int_cst_min_precision): Take a signop rather than a bool.
31392         (wi::int_traits <const_tree>): New.
31393         (wi::int_traits <tree>): New.
31394         (wi::extended_tree): New.
31395         (wi::int_traits <wi::extended_tree>): New.
31396         (wi::to_widest): New.
31397         (wi::to_offset): New.
31398         (wi::fits_to_tree_p): New.
31399         (wi::min_value): New.
31400         (wi::max_value): New.
31401         * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
31402         (copy_tree_body_r): Likewise.
31403         * tree-object-size.c (compute_object_offset): Likewise.
31404         (addr_object_size): Likewise.
31405         * tree-predcom.c: Include wide-int-print.h.
31406         (struct dref_d): Change type of offset to widest_int.
31407         (dump_dref): Call wide-int printer.
31408         (aff_combination_dr_offset): Use wide-int interfaces.
31409         (determine_offset): Take a widest_int pointer rather than a
31410         double_int pointer.
31411         (split_data_refs_to_components): Use wide-int interfaces.
31412         (suitable_component_p): Likewise.
31413         (order_drefs): Likewise.
31414         (add_ref_to_chain): Likewise.
31415         (valid_initializer_p): Likewise.
31416         (determine_roots_comp): Likewise.
31417         * tree-pretty-print.c: Include wide-int-print.h.
31418         (dump_generic_node): Use wide-int interfaces.
31419         * tree-sra.c (sra_ipa_modify_expr): Likewise.
31420         * tree-ssa-address.c (addr_for_mem_ref): Likewise.
31421         (move_fixed_address_to_symbol): Likewise.
31422         (move_hint_to_base): Likewise.
31423         (move_pointer_to_base): Likewise.
31424         (move_variant_to_index): Likewise.
31425         (most_expensive_mult_to_index): Likewise.
31426         (addr_to_parts): Likewise.
31427         (copy_ref_info): Likewise.
31428         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
31429         (indirect_refs_may_alias_p): Likewise.
31430         (stmt_kills_ref_p_1): Likewise.
31431         * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
31432         * tree-ssa-ccp.c: Update comment at top of file.  Include
31433         wide-int-print.h.
31434         (struct prop_value_d): Change type of mask to widest_int.
31435         (extend_mask): New function.
31436         (dump_lattice_value): Use wide-int interfaces.
31437         (get_default_value): Likewise.
31438         (set_constant_value): Likewise.
31439         (set_value_varying): Likewise.
31440         (valid_lattice_transition): Likewise.
31441         (set_lattice_value): Likewise.
31442         (value_to_double_int): Delete.
31443         (value_to_wide_int): New.
31444         (get_value_from_alignment): Use wide-int interfaces.
31445         (get_value_for_expr): Likewise.
31446         (do_dbg_cnt): Likewise.
31447         (ccp_finalize): Likewise.
31448         (ccp_lattice_meet): Likewise.
31449         (bit_value_unop_1): Use widest_ints rather than double_ints.
31450         (bit_value_binop_1): Likewise.
31451         (bit_value_unop): Use wide-int interfaces.
31452         (bit_value_binop): Likewise.
31453         (bit_value_assume_aligned): Likewise.
31454         (evaluate_stmt): Likewise.
31455         (ccp_fold_stmt): Likewise.
31456         (visit_cond_stmt): Likewise.
31457         (ccp_visit_stmt): Likewise.
31458         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
31459         (constant_pointer_difference): Likewise.
31460         (associate_pointerplus): Likewise.
31461         (combine_conversions): Likewise.
31462         * tree-ssa-loop.h: Include wide-int.h.
31463         (struct tree_niter_desc): Change type of max to widest_int.
31464         * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
31465         * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
31466         (remove_redundant_iv_tests): Likewise.
31467         (canonicalize_loop_induction_variables): Likewise.
31468         * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
31469         (constant_multiple_of): Take a widest_int pointer instead of
31470         a double_int pointer.
31471         (get_computation_aff): Use wide-int interfaces.
31472         (ptr_difference_cost): Likewise.
31473         (difference_cost): Likewise.
31474         (get_loop_invariant_expr_id): Likewise.
31475         (get_computation_cost_at): Likewise.
31476         (iv_elimination_compare_lt): Likewise.
31477         (may_eliminate_iv): Likewise.
31478         * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
31479         instead of double_int.
31480         (max_loop_iterations): Likewise.
31481         (max_stmt_executions): Likewise.
31482         (estimated_stmt_executions): Likewise.
31483         * tree-ssa-loop-niter.c: Include wide-int-print.h.
31484         (split_to_var_and_offset): Use wide-int interfaces.
31485         (determine_value_range): Likewise.
31486         (bound_difference_of_offsetted_base): Likewise.
31487         (bounds_add): Take a widest_int instead of a double_int.
31488         (number_of_iterations_ne_max): Use wide-int interfaces.
31489         (number_of_iterations_ne): Likewise.
31490         (number_of_iterations_lt_to_ne): Likewise.
31491         (assert_loop_rolls_lt): Likewise.
31492         (number_of_iterations_lt): Likewise.
31493         (number_of_iterations_le): Likewise.
31494         (number_of_iterations_cond): Likewise.
31495         (number_of_iterations_exit): Likewise.
31496         (finite_loop_p): Likewise.
31497         (derive_constant_upper_bound_assign): Likewise.
31498         (derive_constant_upper_bound): Return a widest_int.
31499         (derive_constant_upper_bound_ops): Likewise.
31500         (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
31501         (record_estimate): Take a widest_int rather than a double_int.
31502         (record_nonwrapping_iv): Use wide-int interfaces.
31503         (double_int_cmp): Delete.
31504         (wide_int_cmp): New.
31505         (bound_index): Take a widest_int rather than a double_int.
31506         (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
31507         (maybe_lower_iteration_bound): Likewise.
31508         (estimate_numbers_of_iterations_loop): Likewise.
31509         (estimated_loop_iterations): Take a widest_int pointer than than
31510         a double_int pointer.
31511         (estimated_loop_iterations_int): Use wide-int interfaces.
31512         (max_loop_iterations): Take a widest_int pointer than than
31513         a double_int pointer.
31514         (max_loop_iterations_int): Use wide-int interfaces.
31515         (max_stmt_executions): Take a widest_int pointer than than
31516         a double_int pointer.
31517         (estimated_stmt_executions): Likewise.
31518         (n_of_executions_at_most): Use wide-int interfaces.
31519         (scev_probably_wraps_p): Likewise.
31520         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
31521         to real_to_integer.
31522         * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
31523         interfaces.
31524         * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
31525         double_ints.  Adjust for trailing_wide_ints <3> representation.
31526         (set_nonzero_bits): Likewise.
31527         (get_range_info): Return wide_ints rather than double_ints.
31528         Adjust for trailing_wide_ints <3> representation.
31529         (get_nonzero_bits): Likewise.
31530         (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
31531         representation.
31532         * tree-ssanames.h (struct range_info_def): Replace min, max and
31533         nonzero_bits with a trailing_wide_ints <3>.
31534         (set_range_info): Use wide_int_refs rather than double_ints.
31535         (set_nonzero_bits): Likewise.
31536         (get_range_info): Return wide_ints rather than double_ints.
31537         (get_nonzero_bits): Likewise.
31538         * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
31539         * tree-ssa-pre.c (phi_translate_1): Likewise.
31540         * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
31541         (acceptable_pow_call): Likewise.
31542         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
31543         interfaces.
31544         (vn_reference_fold_indirect): Likewise.
31545         (vn_reference_maybe_forwprop_address): Likewise.
31546         (valueize_refs_1): Likewise.
31547         * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
31548         * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
31549         tree_int_cst_lt and tree_int_cst_le.
31550         * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
31551         interfaces.
31552         (streamer_alloc_tree): Likewise.
31553         * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
31554         (streamer_write_tree_header): Likewise.
31555         (streamer_write_integer_cst): Likewise.
31556         * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
31557         (build_constructors): Likewise.
31558         (array_value_type): Likewise.
31559         * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
31560         (vect_check_gather): Likewise.
31561         * tree-vect-generic.c (build_replicated_const): Likewise.
31562         (expand_vector_divmod): Likewise.
31563         * tree-vect-loop.c (vect_transform_loop): Likewise.
31564         * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
31565         (vect_do_peeling_for_alignment): Likewise.
31566         * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
31567         * tree-vrp.c: Include wide-int.h.
31568         (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
31569         (extract_range_from_assert): Use wide-int interfaces.
31570         (vrp_int_const_binop): Likewise.
31571         (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
31572         double_int pointers.
31573         (ranges_from_anti_range): Use wide-int interfaces.
31574         (quad_int_cmp): Delete.
31575         (quad_int_pair_sort): Likewise.
31576         (extract_range_from_binary_expr_1): Use wide-int interfaces.
31577         (extract_range_from_unary_expr_1): Likewise.
31578         (adjust_range_with_scev): Likewise.
31579         (masked_increment): Take and return wide_ints rather than double_ints.
31580         (register_edge_assert_for_2): Use wide-int interfaces.
31581         (check_array_ref): Likewise.
31582         (search_for_addr_array): Likewise.
31583         (maybe_set_nonzero_bits): Likewise.
31584         (union_ranges): Pass an integer of the correct type instead of
31585         using integer_one_node.
31586         (intersect_ranges): Likewise.
31587         (simplify_truth_ops_using_ranges): Likewise.
31588         (simplify_bit_ops_using_ranges): Use wide-int interfaces.
31589         (range_fits_type_p): Likewise.
31590         (simplify_cond_using_ranges): Likewise.  Take a signop rather than
31591         a bool.
31592         (simplify_conversion_using_ranges): Use wide-int interfaces.
31593         (simplify_float_conversion_using_ranges): Likewise.
31594         (vrp_finalize): Likewise.
31595         * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
31596         (gimple_stringops_transform): Likewise.
31597         * varasm.c (decode_addr_const): Likewise.
31598         (const_hash_1): Likewise.
31599         (const_rtx_hash_1): Likewise
31600         (output_constant): Likewise.
31601         (array_size_for_constructor): Likewise.
31602         (output_constructor_regular_field): Likewise.
31603         (output_constructor_bitfield): Likewise.
31604         * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
31605         * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
31606         GENERATOR_FILEs.
31607         * gencheck.c: Define BITS_PER_UNIT.
31608         * wide-int.cc: New.
31609         * wide-int.h: New.
31610         * wide-int-print.cc: New.
31611         * wide-int-print.h: New.
31613 2014-05-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
31615         * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
31617 2014-05-06  Richard Biener  <rguenther@suse.de>
31619         * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
31620         TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
31621         (TODO_verify_all): Adjust.
31622         * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
31623         TODO_verify_stmts and TODO_verify_rtl_sharing.
31624         * bb-reorder.c: Likewise.
31625         * cfgexpand.c: Likewise.
31626         * cprop.c: Likewise.
31627         * cse.c: Likewise.
31628         * function.c: Likewise.
31629         * fwprop.c: Likewise.
31630         * gcse.c: Likewise.
31631         * gimple-ssa-isolate-paths.c: Likewise.
31632         * gimple-ssa-strength-reduction.c: Likewise.
31633         * ipa-split.c: Likewise.
31634         * loop-init.c: Likewise.
31635         * loop-unroll.c: Likewise.
31636         * lower-subreg.c: Likewise.
31637         * modulo-sched.c: Likewise.
31638         * postreload-gcse.c: Likewise.
31639         * predict.c: Likewise.
31640         * recog.c: Likewise.
31641         * sched-rgn.c: Likewise.
31642         * store-motion.c: Likewise.
31643         * tracer.c: Likewise.
31644         * trans-mem.c: Likewise.
31645         * tree-call-cdce.c: Likewise.
31646         * tree-cfg.c: Likewise.
31647         * tree-cfgcleanup.c: Likewise.
31648         * tree-complex.c: Likewise.
31649         * tree-eh.c: Likewise.
31650         * tree-emutls.c: Likewise.
31651         * tree-if-conv.c: Likewise.
31652         * tree-into-ssa.c: Likewise.
31653         * tree-loop-distribution.c: Likewise.
31654         * tree-object-size.c: Likewise.
31655         * tree-parloops.c: Likewise.
31656         * tree-pass.h: Likewise.
31657         * tree-sra.c: Likewise.
31658         * tree-ssa-ccp.c: Likewise.
31659         * tree-ssa-copy.c: Likewise.
31660         * tree-ssa-copyrename.c: Likewise.
31661         * tree-ssa-dce.c: Likewise.
31662         * tree-ssa-dom.c: Likewise.
31663         * tree-ssa-dse.c: Likewise.
31664         * tree-ssa-forwprop.c: Likewise.
31665         * tree-ssa-ifcombine.c: Likewise.
31666         * tree-ssa-loop-ch.c: Likewise.
31667         * tree-ssa-loop-ivcanon.c: Likewise.
31668         * tree-ssa-loop.c: Likewise.
31669         * tree-ssa-math-opts.c: Likewise.
31670         * tree-ssa-phiopt.c: Likewise.
31671         * tree-ssa-phiprop.c: Likewise.
31672         * tree-ssa-pre.c: Likewise.
31673         * tree-ssa-reassoc.c: Likewise.
31674         * tree-ssa-sink.c: Likewise.
31675         * tree-ssa-strlen.c: Likewise.
31676         * tree-ssa-tail-merge.c: Likewise.
31677         * tree-ssa-uncprop.c: Likewise.
31678         * tree-switch-conversion.c: Likewise.
31679         * tree-tailcall.c: Likewise.
31680         * tree-vect-generic.c: Likewise.
31681         * tree-vectorizer.c: Likewise.
31682         * tree-vrp.c: Likewise.
31683         * tsan.c: Likewise.
31684         * var-tracking.c: Likewise.
31685         * bt-load.c: Likewise.
31686         * cfgcleanup.c: Likewise.
31687         * combine-stack-adj.c: Likewise.
31688         * combine.c: Likewise.
31689         * compare-elim.c: Likewise.
31690         * config/epiphany/resolve-sw-modes.c: Likewise.
31691         * config/i386/i386.c: Likewise.
31692         * config/mips/mips.c: Likewise.
31693         * config/s390/s390.c: Likewise.
31694         * config/sh/sh_treg_combine.cc: Likewise.
31695         * config/sparc/sparc.c: Likewise.
31696         * dce.c: Likewise.
31697         * dse.c: Likewise.
31698         * final.c: Likewise.
31699         * ifcvt.c: Likewise.
31700         * mode-switching.c: Likewise.
31701         * passes.c: Likewise.
31702         * postreload.c: Likewise.
31703         * ree.c: Likewise.
31704         * reg-stack.c: Likewise.
31705         * regcprop.c: Likewise.
31706         * regrename.c: Likewise.
31707         * web.c: Likewise.
31709 2014-05-06  Richard Biener  <rguenther@suse.de>
31711         PR middle-end/61070
31712         * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
31713         * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
31715 2014-05-05  Jan Hubicka  <hubicka@ucw.cz>
31717         PR ipa/60965
31718         * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
31720 2014-05-05  Radovan Obradovic  <robradovic@mips.com>
31721             Tom de Vries  <tom@codesourcery.com>
31723         * target.def (call_fusage_contains_non_callee_clobbers): New
31724         DEFHOOKPOD.
31725         * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
31726         Hooks to @menu.
31727         (@node Miscellaneous Register Hooks): New node.
31728         (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
31729         * doc/tm.texi: Regenerate.
31731 2014-05-05  Marek Polacek  <polacek@redhat.com>
31733         PR driver/61065
31734         * opts.c (common_handle_option): Call error_at instead of warning_at.
31736 2014-05-05  Richard Biener  <rguenther@suse.de>
31738         * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
31739         from last_verified if update_ssa ran.  Move TODO_verify_rtl_sharing
31740         under the TODO_verify_il umbrella.
31742 2014-05-05  Richard Biener  <rguenther@suse.de>
31744         * passes.c (execute_function_todo): Move TODO_verify_flow under
31745         the TODO_verify_ul umbrella.
31747 2014-05-05  Richard Biener  <rguenther@suse.de>
31749         PR middle-end/61010
31750         * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
31751         X & CST away from a CST that is the mask of a mode.
31753 2014-05-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
31755         * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
31756         int argument to enum machine_mode.
31757         (picochip_class_max_nregs): Ditto.
31758         * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
31759         (picochip_class_max_nregs): Ditto.
31761 2014-05-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31763         * target.def: Add new target hook.
31764         * doc/tm.texi: Regenerate.
31765         * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
31766         * targhooks.c (default_keep_leaf_when_profiled): New function.
31768         * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
31769         (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
31771 2014-05-05  Bin Cheng  <bin.cheng@arm.com>
31773         PR tree-optimization/60363
31774         * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
31775         (copy_phi_args): New parameters.  Call get_value_locus_in_path.
31776         (update_destination_phis): New parameter.
31777         (create_edge_and_update_destination_phis): Ditto.
31778         (ssa_fix_duplicate_block_edges): Pass new arguments.
31779         (thread_single_edge): Ditto.
31781 2014-05-04  Peter Bergner  <bergner@vnet.ibm.com>
31783         * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
31784         (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
31785         (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
31786         * config/rs6000/rs6000-builtin.def (BU_MISC_1):
31787         Use RS6000_BTM_HARD_FLOAT.
31788         (BU_MISC_2): Likewise.
31789         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
31790         RS6000_BTM_HARD_FLOAT.
31791         (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
31792         is explicitly used.
31793         (rs6000_invalid_builtin): Add hard floating builtin support.
31794         (rs6000_expand_builtin): Relax the gcc_assert to allow the new
31795         hard float builtins.
31796         (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
31798 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
31800         * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
31801         Add missing function* argument.
31803 2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
31805         * lra-constraints.c (valid_address_p): Move earlier in file.
31806         Add a constraint argument to the address_info version.
31807         (satisfies_memory_constraint_p): New function.
31808         (satisfies_address_constraint_p): Likewise.
31809         (process_alt_operands, curr_insn_transform): Use them.
31810         (process_address): Pass the constraint to valid_address_p when
31811         checking address operands.
31813 2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>
31815         * config/mips/mips.c (mips_isa_rev): New variable.
31816         (mips_set_architecture): Set it.
31817         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
31818         from mips_isa_rev.
31819         (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
31820         (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
31821         (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
31822         (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
31823         (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
31824         conditions in terms of mips_isa_rev.
31825         (mips_isa_rev): Declare.
31827 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
31829         * config/sh/sh-mem.cc: Use tabs instead of spaces.
31830         (prob_unlikely, prob_likely): Make variables const.
31832 2014-05-03  Denis Chertykov  <chertykov@gmail.com>
31834         * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
31836 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
31838         * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
31840 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
31842         * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
31843         (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
31844         * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
31845         functions.
31846         (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
31847         sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
31848         sh_pass_in_reg_p.
31849         Replace usage of ROUND_REG with sh_round_reg.
31850         Use CEIL instead of ROUND_ADVANCE.
31852 2014-05-03  Oleg Endo  <olegendo@gcc.gnu.org>
31854         PR target/61026
31855         * config/sh/sh.c: Include stdlib headers before everything else.
31857 2014-05-02  Jakub Jelinek  <jakub@redhat.com>
31859         * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
31860         GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
31861         (gimplify_adjust_omp_clauses): Simd region is never
31862         directly nested in combined parallel.  Instead, for linear
31863         with copyin/copyout, if in combined for simd loop, make decl
31864         firstprivate/lastprivate on OMP_FOR.
31865         * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
31866         expand_omp_for_static_chunk): When setting endvar, also set
31867         fd->loop.v to the same value.
31869 2014-05-02  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
31871         * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
31873 2014-05-02  Alan Lawrence  <alan.lawrence@arm.com>
31875         * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
31876         expression.
31878 2014-05-02  Marek Polacek  <polacek@redhat.com>
31880         * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
31882 2014-05-02  Kito Cheng  <kito@0xlab.org>
31884         * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
31885         to a C expression marco.
31886         * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
31887         * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
31888         * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
31889         * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
31890         HONOR_REG_ALLOC_ORDER.
31891         * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
31893 2014-05-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
31895         * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
31897 2014-05-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
31899         * config/arc/arc.c (arc_select_cc_mode): Fix typo.
31901 2014-05-01  Yuri Rumyantsev  <ysrumyan@gmail.com>
31903         * tree-if-conv.c (is_cond_scalar_reduction): New function.
31904         (convert_scalar_cond_reduction): Likewise.
31905         (predicate_scalar_phi): Add recognition and transformation
31906         of simple conditioanl reduction to be vectorizable.
31908 2014-05-01  Marek Polacek  <polacek@redhat.com>
31910         PR c/43245
31911         * doc/invoke.texi: Document -Wdiscarded-qualifiers.
31913 2014-04-30  Alan Lawrence  <alan.lawrence@arm.com>
31915         * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
31916         vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
31917         vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
31918         vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
31919         vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
31920         vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
31921         vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
31922         vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
31924 2014-04-30  Joern Rennecke  <joern.rennecke@embecosm.com>
31926         * config/arc/arc.opt (mlra): Move comment above option name
31927         to avoid mis-parsing as language options.
31929 2014-04-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
31931         * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
31932         * config/sol2.h: ... here.
31933         * config/sol2-10.h: Remove.
31935         * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
31936         (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
31937         (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
31938         (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
31939         (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
31940         * config/sol2.h: ... here.
31941         (SECTION_NAME_FORMAT): Don't redefine.
31942         (STARTFILE_ARCH32_SPEC): Rename to ...
31943         (STARTFILE_ARCH_SPEC): ... this.
31944         (ASM_OUTPUT_ALIGNED_COMMON): Move ...
31945         * config/sparc/sol2.h: ... here.
31946         (SECTION_NAME_FORMAT): Don't undef.
31947         * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
31948         (SUBTARGET_EXTRA_SPECS): Remove.
31949         * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
31951         * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
31952         (MD_STARTFILE_PREFIX): Remove.
31953         (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
31954         (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
31955         (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
31956         (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
31957         (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
31958         (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
31959         * config/i386/sol2.h: ... here.
31960         (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
31961         * config/i386/sol2-bi.h: Remove.
31962         * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
31963         (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
31965         * config/i386/t-sol2-64: Rename to ...
31966         * config/i386/t-sol2: ... this.
31967         * config/sparc/t-sol2-64: Rename to ...
31968         * config/sparc/t-sol2: ... this.
31970         * config.gcc (*-*-solaris2*): Split sol2_tm_file into
31971         sol2_tm_file_head, sol2_tm_file_tail.
31972         Include ${cpu_type}/sol2.h before sol2.h.
31973         Remove sol2-10.h.
31974         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
31975         i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
31976         Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
31977         Reflect i386/t-sol2-64 renaming.
31978         (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
31979         Reflect sparc/t-sol2-64 renaming.
31981 2014-04-30  Richard Biener  <rguenther@suse.de>
31983         * passes.c (execute_function_todo): Move TODO_verify_stmts
31984         and TODO_verify_ssa under the TODO_verify_il umbrella.
31985         * tree-ssa.h (verify_ssa): Adjust prototype.
31986         * tree-ssa.c (verify_ssa): Add parameter to tell whether
31987         we should verify SSA operands.
31988         * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
31989         * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
31990         whether we should verify whether not throwing stmts have EH info.
31991         * graphite-scop-detection.c (create_sese_edges): Adjust.
31992         * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
31993         * tree-eh.c (lower_try_finally_switch): Do not add the
31994         default case label twice.
31996 2014-04-30  Marek Polacek  <polacek@redhat.com>
31998         * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
31999         * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
32000         * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
32001         * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
32003 2014-04-29  Alan Lawrence  <alan.lawrence@arm.com>
32005         * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
32006         vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
32007         vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
32008         vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
32009         vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
32010         vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
32011         vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
32012         vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
32014 2014-04-29  David Malcolm  <dmalcolm@redhat.com>
32016         * tree-cfg.c (dump_function_to_file): Dump the return type of
32017         functions, in a line to itself before the function body, mimicking
32018         the layout of a C function.
32020 2014-04-29  Jakub Jelinek  <jakub@redhat.com>
32022         PR tree-optimization/60971
32023         * tree-tailcall.c (process_assignment): Reject conversions which
32024         reduce precision.
32026 2014-04-29  James Greenhalgh  <james.greenhalgh@arm.com>
32028         * calls.c (initialize_argument_information): Always treat
32029         PUSH_ARGS_REVERSED as 1, simplify code accordingly.
32030         (expand_call): Likewise.
32031         (emit_library_call_calue_1): Likewise.
32032         * expr.c (PUSH_ARGS_REVERSED): Do not define.
32033         (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
32034         code accordingly.
32036 2014-04-29  Nick Clifton  <nickc@redhat.com>
32038         * config/msp430/msp430.md (umulsidi): Fix typo.
32039         (mulhisi3): Enable even inside interrupt handlers.
32040         * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
32041         bigger return address pushed in large mode.
32043 2014-04-29  Nick Clifton  <nickc@redhat.com>
32045         * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
32046         (arc_init_reg_tables): Use a machine_mode enum to iterate over
32047         available modes.
32048         * config/m32r/m32r.c (init_reg_tables): Likewise.
32049         * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
32050         enum to hold the modes.
32052 2014-04-29  Richard Biener  <rguenther@suse.de>
32054         * dominance.c (free_dominance_info): Add overload with
32055         function parameter.
32056         (dom_info_state): Likewise.
32057         (dom_info_available_p): Likewise.
32058         * basic-block.h (free_dominance_info, dom_info_state,
32059         dom_info_available_p): Declare overloads.
32060         * passes.c (execute_function_todo): Verify that verifiers
32061         don't change dominator info state.  Drop dominator info
32062         for IPA pass invocations.
32063         * cgraph.c (release_function_body): Restore asserts that
32064         dominator information is released.
32066 2014-04-29  Patrick Palka  <patrick@parcs.ath.cx>
32068         * doc/invoke.texi: Fix typo.
32069         * tree-vrp.c: Fix typos.
32070         * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
32072 2014-04-29  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
32074         * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
32076 2014-04-28  James Greenhalgh  <james.greenhalgh@arm.com>
32078         * config/aarch64/aarch64-builtins.c
32079         (aarch64_types_storestruct_lane_qualifiers): New.
32080         (TYPES_STORESTRUCT_LANE): Likewise.
32081         * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
32082         (st3_lane): Likewise.
32083         (st4_lane): Likewise.
32084         * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
32085         (vec_store_lanesci_lane<mode>): Likewise.
32086         (vec_store_lanesxi_lane<mode>): Likewise.
32087         (aarch64_st2_lane<VQ:mode>): Likewise.
32088         (aarch64_st3_lane<VQ:mode>): Likewise.
32089         (aarch64_st4_lane<VQ:mode>): Likewise.
32090         * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
32091         * config/aarch64/arm_neon.h
32092         (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
32093         use new macro arguments.
32094         (__ST3_LANE_FUNC): Likewise.
32095         (__ST4_LANE_FUNC): Likewise.
32096         * config/aarch64/iterators.md (V_TWO_ELEM): New.
32097         (V_THREE_ELEM): Likewise.
32098         (V_FOUR_ELEM): Likewise.
32100 2014-04-28  David Malcolm  <dmalcolm@redhat.com>
32102         * doc/gimple.texi: Replace the description of the now-defunct
32103         union gimple_statement_d with a diagram showing the
32104         gimple_statement_base class hierarchy and its relationships to
32105         the GSS_ and GIMPLE_ enums.
32107 2014-04-28  James Greenhalgh  <james.greenhalgh@arm.com>
32109         * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
32110         * config/aarch64/aarch64.c
32111         (aarch64_cannot_change_mode_class): Weaken conditions.
32112         (aarch64_modes_tieable_p): New.
32113         * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
32115 2014-04-28  Pat Haugen  <pthaugen@us.ibm.com>
32117         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
32118         (loadsync_<mode>): Change mode.
32119         (load_quadpti, store_quadpti): New.
32120         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
32121         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
32123 2014-04-28  Martin Jambor  <mjambor@suse.cz>
32125         * tree-sra.c (sra_modify_expr): Generate new memory accesses with
32126         same alias type as the original statement.
32127         (subreplacement_assignment_data): New type.
32128         (handle_unscalarized_data_in_subtree): New type of parameter,
32129         generate new memory accesses with same alias type as the original
32130         statement.
32131         (load_assign_lhs_subreplacements): Likewise.
32132         (sra_modify_constructor_assign): Generate new memory accesses with
32133         same alias type as the original statement.
32135 2014-04-28  Richard Biener  <rguenther@suse.de>
32137         * tree-pass.h (TODO_verify_il): Define.
32138         (TODO_verify_all): Complete properly.
32139         * passes.c (execute_function_todo): Move existing loop-closed
32140         SSA verification under TODO_verify_il.
32141         (execute_one_pass): Trigger TODO_verify_il at todo-after time.
32142         * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
32143         Fix tree sharing issue.
32145 2014-04-28  Richard Biener  <rguenther@suse.de>
32147         PR middle-end/60092
32148         * builtins.def (DEF_C11_BUILTIN): Add.
32149         (BUILT_IN_ALIGNED_ALLOC): Likewise.
32150         * coretypes.h (enum function_class): Add function_c11_misc.
32151         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
32152         BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
32153         (call_may_clobber_ref_p_1): Likewise.
32154         * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
32155         (mark_all_reaching_defs_necessary_1): Likewise.
32156         (propagate_necessity): Likewise.
32157         (eliminate_unnecessary_stmts): Likewise.
32158         * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
32160 2014-04-28  Richard Biener  <rguenther@suse.de>
32162         * tree-vrp.c (vrp_var_may_overflow): Remove.
32163         (vrp_visit_phi_node): Rather than bumping to +-INF possibly
32164         with overflow immediately bump to one before that value and
32165         let iteration figure out overflow status.
32167 2014-04-28  Richard Biener  <rguenther@suse.de>
32169         * configure.ac: Do valgrind header checks unconditionally.
32170         Add --enable-valgrind-annotations.
32171         * system.h: Guard valgrind header inclusion with
32172         ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
32173         * alloc-pool.c (pool_alloc, pool_free): Use
32174         ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
32175         to guard possibly dead code.
32176         * config.in: Regenerated.
32177         * configure: Likewise.
32179 2014-04-28  Jeff Law  <law@redhat.com>
32181         PR tree-optimization/60902
32182         * tree-ssa-threadedge.c
32183         (record_temporary_equivalences_from_stmts_at_dest): Only iterate
32184         over real defs when invalidating outputs from statements that do not
32185         produce useful outputs for threading.
32187 2014-04-28  Richard Biener  <rguenther@suse.de>
32189         PR tree-optimization/60979
32190         * graphite-scop-detection.c (scopdet_basic_block_info): Reject
32191         SCOPs that end in a block with a successor with abnormal
32192         predecessors.
32194 2014-04-28  Richard Biener  <rguenther@suse.de>
32196         * tree-pass.h (execute_pass_list): Adjust prototype.
32197         * passes.c (pass_manager::execute_early_local_passes): Adjust.
32198         (do_per_function): Change callback signature, push all actual
32199         work to the callbals.
32200         (do_per_function_toporder): Likewise.
32201         (execute_function_dump): Adjust.
32202         (execute_function_todo): Likewise.
32203         (clear_last_verified): Likewise.
32204         (verify_curr_properties): Likewise.
32205         (update_properties_after_pass): Likewise.
32206         (execute_pass_list_1): Split out from ...
32207         (execute_pass_list): ... here.  Adjust.
32208         (execute_ipa_pass_list): Likewise.
32209         * cgraphunit.c (cgraph_add_new_function): Adjust.
32210         (analyze_function): Likewise.
32211         (expand_function): Likewise.
32212         * cgraph.c (release_function_body): Free dominance info
32213         here instead of asserting it was magically freed elsewhere.
32215 2014-04-28  Eric Botcazou  <ebotcazou@adacore.com>
32217         * configure.ac: Tweak GAS check for LEON instructions on SPARC.
32218         * configure: Regenerate.
32219         * config/sparc/sparc.opt (muser-mode): New option.
32220         * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
32221         for LEON3.
32222         (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
32223         * doc/invoke.texi (SPARC options): Document -muser-mode.
32225 2014-04-27  Richard Sandiford  <rdsandiford@googlemail.com>
32227         * cselib.c (find_slot_memmode): Delete.
32228         (cselib_hasher): Change compare_type to a struct.
32229         (cselib_hasher::equal): Update accordingly.  Don't expect wrapped
32230         constants.
32231         (preserve_constants_and_equivs): Adjust for new compare_type.
32232         (cselib_find_slot): Likewise.  Take the mode of the rtx as argument.
32233         (wrap_constant): Delete.
32234         (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
32236 2014-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32238         * doc/install.texi (Building with profile feedback): Remove
32239         outdated sentence.
32241 2014-04-26  Tom de Vries  <tom@codesourcery.com>
32243         * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
32244         array accesses.
32246 2014-04-25  Cary Coutant  <ccoutant@google.com>
32248         PR debug/60929
32249         * dwarf2out.c (should_move_die_to_comdat): A type definition
32250         can contain a subprogram definition, but don't move it to a
32251         comdat unit.
32252         (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
32253         (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
32254         from original DIE.
32255         (clone_tree_hash): Rename to...
32256         (clone_tree_partial): ...this; change callers.  Copy
32257         DW_TAG_subprogram DIEs as declarations.
32258         (copy_decls_walk): Don't copy children of a declaration into a
32259         type unit.
32261 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32263         PR target/60969
32264         * config/i386/i386.md (*movsf_internal): Set MODE to SI for
32265         alternative 12.
32267 2014-04-25  Jiong Wang  <jiong.wang@arm.com>
32269         * config/arm/predicates.md (call_insn_operand): Add long_call check.
32270         * config/arm/arm.md (sibcall, sibcall_value): Force the address to
32271         reg for long_call.
32272         * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
32273         restriction.
32275 2014-04-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
32277         * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
32279 2014-04-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
32281         PR tree-optimization/60930
32282         * gimple-ssa-strength-reduction.c (create_mul_imm_cand):  Reject
32283         creating a multiply candidate by folding two constant
32284         multiplicands when the result overflows.
32286 2014-04-25  Jakub Jelinek  <jakub@redhat.com>
32288         PR tree-optimization/60960
32289         * tree-vect-generic.c (expand_vector_operation): Only call
32290         expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
32292 2014-04-25  Tom de Vries  <tom@codesourcery.com>
32294         * expr.c (clobber_reg_mode): New function.
32295         * expr.h (clobber_reg): New function.
32297 2014-04-25  Tom de Vries  <tom@codesourcery.com>
32299         * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
32300         clobbers.
32302 2014-04-25  Radovan Obradovic  <robradovic@mips.com>
32303             Tom de Vries  <tom@codesourcery.com>
32305         * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
32306         handle.
32307         * rtl.h (find_all_hard_reg_sets): Add bool parameter.
32308         * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
32309         new argument to find_all_hard_reg_sets call.
32311 2014-04-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
32313         * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
32314         Use HOST_WIDE_INT_C for mask literal.
32315         (aarch_rev16_shleft_mask_imm_p): Likewise.
32317 2014-04-25  Eric Botcazou  <ebotcazou@adacore.com>
32319         PR target/60941
32320         * config/sparc/sparc.md (ashlsi3_extend): Delete.
32322 2014-04-25  Marc Glisse  <marc.glisse@inria.fr>
32324         PR preprocessor/56540
32325         * config/i386/i386-c.c (ix86_target_macros): Define
32326         __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
32328 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
32330         * configure.ac (tga_func): Remove.
32331         (LIB_TLS_SPEC): Remove.
32332         * configure: Regenerate.
32333         * config.in: Regenerate.
32334         * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
32336 2014-04-25  Richard Biener  <rguenther@suse.de>
32338         PR ipa/60912
32339         * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
32340         call stmt use/clobber sets during stmt walk instead of
32341         walking the possibly incomplete set of caller edges.
32343 2014-04-25  Richard Biener  <rguenther@suse.de>
32345         PR ipa/60911
32346         * passes.c (apply_ipa_transforms): Inline into only caller ...
32347         (execute_one_pass): ... here.  Properly bring in function
32348         bodies for nodes we want to apply IPA transforms to.
32350 2014-04-24  Cong Hou  <congh@google.com>
32352         PR tree-optimization/60896
32353         * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
32354         all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
32355         (vect_mark_pattern_stmts): Set the def type of all statements in
32356         PATTERN_DEF_SEQ as vect_internal_def.
32358 2014-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
32360         * doc/extend.texi (PowerPC Built-in Functions): Document new
32361         powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
32362         (PowerPC AltiVec/VSX Built-in Functions): Likewise.
32364         * config/rs6000/predicates.md (const_0_to_3_operand): New
32365         predicate to match 0..3 integer constants.
32367         * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
32368         to support adding miscellaneous builtin functions.
32369         (BU_DFP_MISC_2): Likewise.
32370         (BU_P7_MISC_1): Likewise.
32371         (BU_P7_MISC_2): Likewise.
32372         (BU_P8V_MISC_3): Likewise.
32373         (BU_MISC_1): Likewise.
32374         (BU_MISC_2): Likewise.
32375         (DIVWE): Add extended divide builtin functions.
32376         (DIVWEO): Likewise.
32377         (DIVWEU): Likewise.
32378         (DIVWEUO): Likewise.
32379         (DIVDE): Likewise.
32380         (DIVDEO): Likewise.
32381         (DIVDEU): Likewise.
32382         (DIVDEUO): Likewise.
32383         (DXEX): Add decimal floating-point builtin functions.
32384         (DXEXQ): Likewise.
32385         (DDEDPD): Likewise.
32386         (DDEDPDQ): Likewise.
32387         (DENBCD): Likewise.
32388         (DENBCDQ): Likewise.
32389         (DIEX): Likewise.
32390         (DIEXQ): Likewise.
32391         (DSCLI): Likewise.
32392         (DSCLIQ): Likewise.
32393         (DSCRI): Likewise.
32394         (DSCRIQ): Likewise.
32395         (CDTBCD): Add new BCD builtin functions.
32396         (CBCDTD): Likewise.
32397         (ADDG6S): Likewise.
32398         (BCDADD): Likewise.
32399         (BCDADD_LT): Likewise.
32400         (BCDADD_EQ): Likewise.
32401         (BCDADD_GT): Likewise.
32402         (BCDADD_OV): Likewise.
32403         (BCDSUB): Likewise.
32404         (BCDSUB_LT): Likewise.
32405         (BCDSUB_EQ): Likewise.
32406         (BCDSUB_GT): Likewise.
32407         (BCDSUB_OV): Likewise.
32408         (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
32409         (UNPACK_TD): Likewise.
32410         (PACK_TF): Likewise.
32411         (UNPACK_TF): Likewise.
32412         (UNPACK_TF_0): Likewise.
32413         (UNPACK_TF_1): Likewise.
32414         (PACK_V1TI): Likewise.
32415         (UNPACK_V1TI): Likewise.
32417         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
32418         support for decimal floating point builtin functions.
32419         (rs6000_expand_ternop_builtin): Add checks for the new builtin
32420         functions that take constant arguments.
32421         (rs6000_invalid_builtin): Add decimal floating point builtin support.
32422         (rs6000_init_builtins): Setup long double, _Decimal64, and
32423         _Decimal128 types for new builtin functions.
32424         (builtin_function_type): Set the unsigned flags appropriately for
32425         the new builtin functions.
32426         (rs6000_opt_masks): Add support for decimal floating point builtin
32427         functions.
32429         * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
32430         floating point builtin functions.
32431         (RS6000_BTM_COMMON): Likewise.
32432         (RS6000_BTI_long_double): Likewise.
32433         (RS6000_BTI_dfloat64): Likewise.
32434         (RS6000_BTI_dfloat128): Likewise.
32435         (long_double_type_internal_node): Likewise.
32436         (dfloat64_type_internal_node): Likewise.
32437         (dfloat128_type_internal_node): Likewise.
32439         * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
32440         2.07 bcd arithmetic instructions.
32441         (UNSPEC_BCDSUB): Likewise.
32442         (UNSPEC_BCD_OVERFLOW): Likewise.
32443         (UNSPEC_BCD_ADD_SUB): Likewise.
32444         (bcd_add_sub): Likewise.
32445         (BCD_TEST): Likewise.
32446         (bcd<bcd_add_sub>): Likewise.
32447         (bcd<bcd_add_sub>_test): Likewise.
32448         (bcd<bcd_add_sub>_test2): Likewise.
32449         (bcd<bcd_add_sub>_<code>): Likewise.
32450         (peephole2 for combined bcd ops): Likewise.
32452         * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
32453         decimal floating point builtin functions.
32454         (UNSPEC_DENBCD): Likewise.
32455         (UNSPEC_DXEX): Likewise.
32456         (UNSPEC_DIEX): Likewise.
32457         (UNSPEC_DSCLI): Likewise.
32458         (UNSPEC_DSCRI): Likewise.
32459         (D64_D128): Likewise.
32460         (dfp_suffix): Likewise.
32461         (dfp_ddedpd_<mode>): Likewise.
32462         (dfp_denbcd_<mode>): Likewise.
32463         (dfp_dxex_<mode>): Likewise.
32464         (dfp_diex_<mode>): Likewise.
32465         (dfp_dscli_<mode>): Likewise.
32466         (dfp_dscri_<mode>): Likewise.
32468         * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
32469         builtin functions.
32470         (UNSPEC_CDTBCD): Likewise.
32471         (UNSPEC_CBCDTD): Likewise.
32472         (UNSPEC_DIVE): Add support for new extended divide builtin functions.
32473         (UNSPEC_DIVEO): Likewise.
32474         (UNSPEC_DIVEU): Likewise.
32475         (UNSPEC_DIVEUO): Likewise.
32476         (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
32477         pack/unpack 128-bit types.
32478         (UNSPEC_PACK_128BIT): Likewise.
32479         (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
32480         (udiv<mode>3): Use idiv_ldiv mode attribute.
32481         (div<mode>3): Likewise.
32482         (addg6s): Add new BCD builtin functions.
32483         (cdtbcd): Likewise.
32484         (cbcdtd): Likewise.
32485         (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
32486         (div_extend): Likewise.
32487         (div<div_extend>_<mode>"): Likewise.
32488         (FP128_64): Add support for new builtin functions to pack/unpack
32489         128-bit types.
32490         (unpack<mode>): Likewise.
32491         (unpacktf_0): Likewise.
32492         (unpacktf_1): Likewise.
32493         (unpack<mode>_dm): Likewise.
32494         (unpack<mode>_nodm): Likewise.
32495         (pack<mode>): Likewise.
32496         (unpackv1ti): Likewise.
32497         (packv1ti): Likewise.
32499 2014-04-24  Vishnu K S  <Vishnu.k_s@atmel.com>
32501         * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
32502         is disabled.
32504 2014-04-24  Jakub Jelinek  <jakub@redhat.com>
32506         * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
32507         * gimplify.c (omp_is_private): Change last argument's type to int.
32508         Only diagnose lastprivate if the simd argument is 1, only diagnose
32509         linear if the simd argument is 2.
32510         (gimplify_omp_for): Adjust omp_is_private callers.  When adding
32511         lastprivate or private, add the clause to OMP_FOR_CLAUSES.  Pass
32512         GOVD_EXPLICIT to omp_add_variable.  For simd with collapse == 1
32513         create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
32514         If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
32515         increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
32516         * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
32517         OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
32518         * tree-nested.c (convert_nonlocal_omp_clauses,
32519         convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
32521 2014-04-24  Segher Boessenkool  <segher@kernel.crashing.org>
32523         PR target/60822
32524         * config/m68k/m68k.md (extendplussidi): Don't allow memory for
32525         operand 1.
32527 2014-04-24  Dimitris Papavasiliou  <dpapavas@gmail.com>
32529         * flag-types.h (enum ivar_visibility): Add.
32531 2014-04-24  Trevor Saunders  <tsaunders@mozilla.com>
32533         * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
32534         function * argument.
32536 2014-04-24  Alan Lawrence  <alan.lawrence@arm.com>
32538         * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
32540 2014-04-24  Radovan Obradovic  <robradovic@mips.com>
32541             Tom de Vries  <tom@codesourcery.com>
32543         * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
32544         * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
32545         reg-note.
32546         * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
32547         * emit-rtl.c (try_split): Same.
32549 2014-04-24  Radovan Obradovic  <robradovic@mips.com>
32550             Tom de Vries  <tom@codesourcery.com>
32552         * common.opt (fuse-caller-save): New option.
32554 2014-04-24  Tejas Belagod  <tejas.belagod@arm.com>
32556         * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
32557         elements for big-endian.
32559 2014-04-24  Richard Biener  <rguenther@suse.de>
32561         * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
32562         during TER and instead use the sepops interface for expanding
32563         non-GIMPLE_SINGLE_RHS.
32565 2014-04-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
32567         * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
32568         if not HAVE_AS_IX86_DIFF_SECT_DELTA.
32570 2014-04-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
32572         * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
32573         assembler 64-bit option.
32574         * configure: Regenerate.
32576 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
32578         * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
32579         TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
32580         (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
32581         (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
32582         (TARGET_CRYPTO): Take TARGET_SIMD into account.
32584 2014-04-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
32586         * config/aarch64/aarch64-builtins.c
32587         (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
32588         BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
32589         * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
32590         * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
32591         builtins.
32592         * config/aarch64/iterator.md (VDQHSD): New mode iterator.
32593         (Vrevsuff): New mode attribute.
32595 2014-04-24  Terry Guo  <terry.guo@arm.com>
32597         * config/arm/arm.h (machine_function): Define variable
32598         after_arm_reorg here.
32599         * config/arm/arm.c (after_arm_reorg): Remove the definition.
32600         (arm_split_constant): Update the way to access variable
32601         after_arm_reorg.
32602         (arm_reorg): Ditto.
32603         (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
32605 2014-04-23  Tom de Vries  <tom@codesourcery.com>
32607         * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
32609 2014-04-23  David Malcolm  <dmalcolm@redhat.com>
32611         * is-a.h: Update comments to reflect the following changes to the
32612         "pointerness" of the API, making the template parameter match the
32613         return type, allowing use of is-a.h with typedefs of pointers.
32614         (is_a_helper::cast): Return a T rather then a pointer to a T, so
32615         that the return type matches the parameter to the is_a_helper.
32616         (as_a): Likewise.
32617         (dyn_cast): Likewise.
32619         * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
32620         pointer from the is-a.h API.
32622         * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
32623         (is_a_helper <cgraph_node *>::test): ...this, matching change to
32624         is-a.h API.
32625         (is_a_helper <varpool_node>::test): Likewise, convert to...
32626         (is_a_helper <varpool_node *>::test): ...this.
32628         (varpool_first_variable): Update for removal of implicit pointer
32629         from the is-a.h API.
32630         (varpool_next_variable): Likewise.
32631         (varpool_first_static_initializer): Likewise.
32632         (varpool_next_static_initializer): Likewise.
32633         (varpool_first_defined_variable): Likewise.
32634         (varpool_next_defined_variable): Likewise.
32635         (cgraph_first_defined_function): Likewise.
32636         (cgraph_next_defined_function): Likewise.
32637         (cgraph_first_function): Likewise.
32638         (cgraph_next_function): Likewise.
32639         (cgraph_first_function_with_gimple_body): Likewise.
32640         (cgraph_next_function_with_gimple_body): Likewise.
32641         (cgraph_alias_target): Likewise.
32642         (varpool_alias_target): Likewise.
32643         (cgraph_function_or_thunk_node): Likewise.
32644         (varpool_variable_node): Likewise.
32645         (symtab_real_symbol_p): Likewise.
32646         * cgraphunit.c (referred_to_p): Likewise.
32647         (analyze_functions): Likewise.
32648         (handle_alias_pairs): Likewise.
32649         * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
32650         * gimple-ssa.h (gimple_vuse_op): Likewise.
32651         (gimple_vdef_op): Likewise.
32652         * gimple-streamer-in.c (input_gimple_stmt): Likewise.
32653         * gimple.c (gimple_build_asm_1): Likewise.
32654         (gimple_build_try): Likewise.
32655         (gimple_build_resx): Likewise.
32656         (gimple_build_eh_dispatch): Likewise.
32657         (gimple_build_omp_for): Likewise.
32658         (gimple_omp_for_set_clauses): Likewise.
32660         * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
32661         (is_a_helper <gimple_statement_asm *>::test): ...this.
32662         (is_a_helper <gimple_statement_bind>::test): Convert to...
32663         (is_a_helper <gimple_statement_bind *>::test): ...this.
32664         (is_a_helper <gimple_statement_call>::test): Convert to...
32665         (is_a_helper <gimple_statement_call *>::test): ...this.
32666         (is_a_helper <gimple_statement_catch>::test): Convert to...
32667         (is_a_helper <gimple_statement_catch *>::test): ...this.
32668         (is_a_helper <gimple_statement_resx>::test): Convert to...
32669         (is_a_helper <gimple_statement_resx *>::test): ...this.
32670         (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
32671         (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
32672         (is_a_helper <gimple_statement_eh_else>::test): Convert to...
32673         (is_a_helper <gimple_statement_eh_else *>::test): ...this.
32674         (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
32675         (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
32676         (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
32677         (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
32678         (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
32679         (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
32680         (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
32681         (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
32682         (is_a_helper <gimple_statement_omp_return>::test): Convert to...
32683         (is_a_helper <gimple_statement_omp_return *>::test): ...this.
32684         (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
32685         (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
32686         (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
32687         (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
32688         (is_a_helper <gimple_statement_omp_for>::test): Convert to...
32689         (is_a_helper <gimple_statement_omp_for *>::test): ...this.
32690         (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
32691         (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
32692         (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
32693         (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
32694         (is_a_helper <gimple_statement_omp_target>::test): Convert to...
32695         (is_a_helper <gimple_statement_omp_target *>::test): ...this.
32696         (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
32697         (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
32698         (is_a_helper <gimple_statement_omp_single>::test): Convert to...
32699         (is_a_helper <gimple_statement_omp_single *>::test): ...this.
32700         (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
32701         (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
32702         (is_a_helper <gimple_statement_omp_task>::test): Convert to...
32703         (is_a_helper <gimple_statement_omp_task *>::test): ...this.
32704         (is_a_helper <gimple_statement_phi>::test): Convert to...
32705         (is_a_helper <gimple_statement_phi *>::test): ...this.
32706         (is_a_helper <gimple_statement_transaction>::test): Convert to...
32707         (is_a_helper <gimple_statement_transaction *>::test): ...this.
32708         (is_a_helper <gimple_statement_try>::test): Convert to...
32709         (is_a_helper <gimple_statement_try *>::test): ...this.
32710         (is_a_helper <gimple_statement_wce>::test): Convert to...
32711         (is_a_helper <gimple_statement_wce *>::test): ...this.
32712         (is_a_helper <const gimple_statement_asm>::test): Convert to...
32713         (is_a_helper <const gimple_statement_asm *>::test): ...this.
32714         (is_a_helper <const gimple_statement_bind>::test): Convert to...
32715         (is_a_helper <const gimple_statement_bind *>::test): ...this.
32716         (is_a_helper <const gimple_statement_call>::test): Convert to...
32717         (is_a_helper <const gimple_statement_call *>::test): ...this.
32718         (is_a_helper <const gimple_statement_catch>::test): Convert to...
32719         (is_a_helper <const gimple_statement_catch *>::test): ...this.
32720         (is_a_helper <const gimple_statement_resx>::test): Convert to...
32721         (is_a_helper <const gimple_statement_resx *>::test): ...this.
32722         (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
32723         (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
32724         (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
32725         (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
32726         (is_a_helper <const gimple_statement_omp_atomic_load>::test):
32727         Convert to...
32728         (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
32729         ...this.
32730         (is_a_helper <const gimple_statement_omp_atomic_store>::test):
32731         Convert to...
32732         (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
32733         ...this.
32734         (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
32735         (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
32736         (is_a_helper <const gimple_statement_omp_continue>::test): Convert
32737         to...
32738         (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
32739         (is_a_helper <const gimple_statement_omp_critical>::test): Convert
32740         to...
32741         (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
32742         (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
32743         (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
32744         (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
32745         (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
32746         (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
32747         to...
32748         (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
32749         (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
32750         (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
32751         (is_a_helper <const gimple_statement_omp_sections>::test): Convert
32752         to...
32753         (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
32754         (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
32755         (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
32756         (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
32757         (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
32758         (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
32759         (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
32760         (is_a_helper <const gimple_statement_phi>::test): Convert to...
32761         (is_a_helper <const gimple_statement_phi *>::test): ...this.
32762         (is_a_helper <const gimple_statement_transaction>::test): Convert to...
32763         (is_a_helper <const gimple_statement_transaction *>::test): ...this.
32764         (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
32765         (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
32766         (is_a_helper <gimple_statement_with_ops>::test): Convert to...
32767         (is_a_helper <gimple_statement_with_ops *>::test): ...this.
32768         (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
32769         to...
32770         (is_a_helper <const gimple_statement_with_memory_ops *>::test):
32771         ...this.
32772         (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
32773         (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
32775         (gimple_use_ops): Update for removal of implicit pointer from the
32776         is-a.h API.
32777         (gimple_set_use_ops): Likewise.
32778         (gimple_vuse): Likewise.
32779         (gimple_vdef): Likewise.
32780         (gimple_vuse_ptr): Likewise.
32781         (gimple_vdef_ptr): Likewise.
32782         (gimple_set_vuse): Likewise.
32783         (gimple_set_vdef): Likewise.
32784         (gimple_omp_return_set_lhs): Likewise.
32785         (gimple_omp_return_lhs): Likewise.
32786         (gimple_omp_return_lhs_ptr): Likewise.
32787         (gimple_call_fntype): Likewise.
32788         (gimple_call_set_fntype): Likewise.
32789         (gimple_call_set_internal_fn): Likewise.
32790         (gimple_call_use_set): Likewise.
32791         (gimple_call_clobber_set): Likewise.
32792         (gimple_bind_vars): Likewise.
32793         (gimple_bind_set_vars): Likewise.
32794         (gimple_bind_body_ptr): Likewise.
32795         (gimple_bind_set_body): Likewise.
32796         (gimple_bind_add_stmt): Likewise.
32797         (gimple_bind_block): Likewise.
32798         (gimple_bind_set_block): Likewise.
32799         (gimple_asm_ninputs): Likewise.
32800         (gimple_asm_noutputs): Likewise.
32801         (gimple_asm_nclobbers): Likewise.
32802         (gimple_asm_nlabels): Likewise.
32803         (gimple_asm_input_op): Likewise.
32804         (gimple_asm_input_op_ptr): Likewise.
32805         (gimple_asm_output_op): Likewise.
32806         (gimple_asm_output_op_ptr): Likewise.
32807         (gimple_asm_set_output_op): Likewise.
32808         (gimple_asm_clobber_op): Likewise.
32809         (gimple_asm_set_clobber_op): Likewise.
32810         (gimple_asm_label_op): Likewise.
32811         (gimple_asm_set_label_op): Likewise.
32812         (gimple_asm_string): Likewise.
32813         (gimple_catch_types): Likewise.
32814         (gimple_catch_types_ptr): Likewise.
32815         (gimple_catch_handler_ptr): Likewise.
32816         (gimple_catch_set_types): Likewise.
32817         (gimple_catch_set_handler): Likewise.
32818         (gimple_eh_filter_types): Likewise.
32819         (gimple_eh_filter_types_ptr): Likewise.
32820         (gimple_eh_filter_failure_ptr): Likewise.
32821         (gimple_eh_filter_set_types): Likewise.
32822         (gimple_eh_filter_set_failure): Likewise.
32823         (gimple_eh_must_not_throw_fndecl): Likewise.
32824         (gimple_eh_must_not_throw_set_fndecl): Likewise.
32825         (gimple_eh_else_n_body_ptr): Likewise.
32826         (gimple_eh_else_e_body_ptr): Likewise.
32827         (gimple_eh_else_set_n_body): Likewise.
32828         (gimple_eh_else_set_e_body): Likewise.
32829         (gimple_try_eval_ptr): Likewise.
32830         (gimple_try_cleanup_ptr): Likewise.
32831         (gimple_try_set_eval): Likewise.
32832         (gimple_try_set_cleanup): Likewise.
32833         (gimple_wce_cleanup_ptr): Likewise.
32834         (gimple_wce_set_cleanup): Likewise.
32835         (gimple_phi_capacity): Likewise.
32836         (gimple_phi_num_args): Likewise.
32837         (gimple_phi_result): Likewise.
32838         (gimple_phi_result_ptr): Likewise.
32839         (gimple_phi_set_result): Likewise.
32840         (gimple_phi_arg): Likewise.
32841         (gimple_phi_set_arg): Likewise.
32842         (gimple_resx_region): Likewise.
32843         (gimple_resx_set_region): Likewise.
32844         (gimple_eh_dispatch_region): Likewise.
32845         (gimple_eh_dispatch_set_region): Likewise.
32846         (gimple_omp_critical_name): Likewise.
32847         (gimple_omp_critical_name_ptr): Likewise.
32848         (gimple_omp_critical_set_name): Likewise.
32849         (gimple_omp_for_clauses): Likewise.
32850         (gimple_omp_for_clauses_ptr): Likewise.
32851         (gimple_omp_for_set_clauses): Likewise.
32852         (gimple_omp_for_collapse): Likewise.
32853         (gimple_omp_for_index): Likewise.
32854         (gimple_omp_for_index_ptr): Likewise.
32855         (gimple_omp_for_set_index): Likewise.
32856         (gimple_omp_for_initial): Likewise.
32857         (gimple_omp_for_initial_ptr): Likewise.
32858         (gimple_omp_for_set_initial): Likewise.
32859         (gimple_omp_for_final): Likewise.
32860         (gimple_omp_for_final_ptr): Likewise.
32861         (gimple_omp_for_set_final): Likewise.
32862         (gimple_omp_for_incr): Likewise.
32863         (gimple_omp_for_incr_ptr): Likewise.
32864         (gimple_omp_for_set_incr): Likewise.
32865         (gimple_omp_for_pre_body_ptr): Likewise.
32866         (gimple_omp_for_set_pre_body): Likewise.
32867         (gimple_omp_parallel_clauses): Likewise.
32868         (gimple_omp_parallel_clauses_ptr): Likewise.
32869         (gimple_omp_parallel_set_clauses): Likewise.
32870         (gimple_omp_parallel_child_fn): Likewise.
32871         (gimple_omp_parallel_child_fn_ptr): Likewise.
32872         (gimple_omp_parallel_set_child_fn): Likewise.
32873         (gimple_omp_parallel_data_arg): Likewise.
32874         (gimple_omp_parallel_data_arg_ptr): Likewise.
32875         (gimple_omp_parallel_set_data_arg): Likewise.
32876         (gimple_omp_task_clauses): Likewise.
32877         (gimple_omp_task_clauses_ptr): Likewise.
32878         (gimple_omp_task_set_clauses): Likewise.
32879         (gimple_omp_task_child_fn): Likewise.
32880         (gimple_omp_task_child_fn_ptr): Likewise.
32881         (gimple_omp_task_set_child_fn): Likewise.
32882         (gimple_omp_task_data_arg): Likewise.
32883         (gimple_omp_task_data_arg_ptr): Likewise.
32884         (gimple_omp_task_set_data_arg): Likewise.
32885         (gimple_omp_taskreg_clauses): Likewise.
32886         (gimple_omp_taskreg_clauses_ptr): Likewise.
32887         (gimple_omp_taskreg_set_clauses): Likewise.
32888         (gimple_omp_taskreg_child_fn): Likewise.
32889         (gimple_omp_taskreg_child_fn_ptr): Likewise.
32890         (gimple_omp_taskreg_set_child_fn): Likewise.
32891         (gimple_omp_taskreg_data_arg): Likewise.
32892         (gimple_omp_taskreg_data_arg_ptr): Likewise.
32893         (gimple_omp_taskreg_set_data_arg): Likewise.
32894         (gimple_omp_task_copy_fn): Likewise.
32895         (gimple_omp_task_copy_fn_ptr): Likewise.
32896         (gimple_omp_task_set_copy_fn): Likewise.
32897         (gimple_omp_task_arg_size): Likewise.
32898         (gimple_omp_task_arg_size_ptr): Likewise.
32899         (gimple_omp_task_set_arg_size): Likewise.
32900         (gimple_omp_task_arg_align): Likewise.
32901         (gimple_omp_task_arg_align_ptr): Likewise.
32902         (gimple_omp_task_set_arg_align): Likewise.
32903         (gimple_omp_single_clauses): Likewise.
32904         (gimple_omp_single_clauses_ptr): Likewise.
32905         (gimple_omp_single_set_clauses): Likewise.
32906         (gimple_omp_target_clauses): Likewise.
32907         (gimple_omp_target_clauses_ptr): Likewise.
32908         (gimple_omp_target_set_clauses): Likewise.
32909         (gimple_omp_target_child_fn): Likewise.
32910         (gimple_omp_target_child_fn_ptr): Likewise.
32911         (gimple_omp_target_set_child_fn): Likewise.
32912         (gimple_omp_target_data_arg): Likewise.
32913         (gimple_omp_target_data_arg_ptr): Likewise.
32914         (gimple_omp_target_set_data_arg): Likewise.
32915         (gimple_omp_teams_clauses): Likewise.
32916         (gimple_omp_teams_clauses_ptr): Likewise.
32917         (gimple_omp_teams_set_clauses): Likewise.
32918         (gimple_omp_sections_clauses): Likewise.
32919         (gimple_omp_sections_clauses_ptr): Likewise.
32920         (gimple_omp_sections_set_clauses): Likewise.
32921         (gimple_omp_sections_control): Likewise.
32922         (gimple_omp_sections_control_ptr): Likewise.
32923         (gimple_omp_sections_set_control): Likewise.
32924         (gimple_omp_for_set_cond): Likewise.
32925         (gimple_omp_for_cond): Likewise.
32926         (gimple_omp_atomic_store_set_val): Likewise.
32927         (gimple_omp_atomic_store_val): Likewise.
32928         (gimple_omp_atomic_store_val_ptr): Likewise.
32929         (gimple_omp_atomic_load_set_lhs): Likewise.
32930         (gimple_omp_atomic_load_lhs): Likewise.
32931         (gimple_omp_atomic_load_lhs_ptr): Likewise.
32932         (gimple_omp_atomic_load_set_rhs): Likewise.
32933         (gimple_omp_atomic_load_rhs): Likewise.
32934         (gimple_omp_atomic_load_rhs_ptr): Likewise.
32935         (gimple_omp_continue_control_def): Likewise.
32936         (gimple_omp_continue_control_def_ptr): Likewise.
32937         (gimple_omp_continue_set_control_def): Likewise.
32938         (gimple_omp_continue_control_use): Likewise.
32939         (gimple_omp_continue_control_use_ptr): Likewise.
32940         (gimple_omp_continue_set_control_use): Likewise.
32941         (gimple_transaction_body_ptr): Likewise.
32942         (gimple_transaction_label): Likewise.
32943         (gimple_transaction_label_ptr): Likewise.
32944         (gimple_transaction_set_body): Likewise.
32945         (gimple_transaction_set_label): Likewise.
32947         * ipa-devirt.c (build_type_inheritance_graph): Likewise.
32948         * ipa-inline-analysis.c (inline_write_summary): Likewise.
32949         * ipa-ref.c (ipa_record_reference): Likewise.
32950         * ipa-reference.c (analyze_function): Likewise.
32951         (ipa_reference_write_optimization_summary): Likewise.
32952         * ipa.c (symtab_remove_unreachable_nodes): Likewise.
32953         (address_taken_from_non_vtable_p): Likewise.
32954         (comdat_can_be_unshared_p_1): Likewise.
32955         * lto-cgraph.c (lto_output_ref): Likewise.
32956         (add_references): Likewise.
32957         (compute_ltrans_boundary): Likewise.
32958         (output_symtab): Likewise.
32959         (input_ref): Likewise.
32960         (input_cgraph_1): Likewise.
32961         (output_cgraph_opt_summary): Likewise.
32962         * lto-streamer-out.c (lto_output): Likewise.
32963         (output_symbol_p): Likewise.
32964         * lto-streamer.h (lsei_next_function_in_partition): Likewise.
32965         (lsei_start_function_in_partition): Likewise.
32966         (lsei_next_variable_in_partition): Likewise.
32967         (lsei_start_variable_in_partition): Likewise.
32968         * symtab.c (insert_to_assembler_name_hash): Likewise.
32969         (unlink_from_assembler_name_hash): Likewise.
32970         (symtab_unregister_node): Likewise.
32971         (symtab_remove_node): Likewise.
32972         (dump_symtab_node): Likewise.
32973         (verify_symtab_base): Likewise.
32974         (verify_symtab_node): Likewise.
32975         (symtab_make_decl_local): Likewise.
32976         (symtab_alias_ultimate_target): Likewise.
32977         (symtab_resolve_alias): Likewise.
32978         (symtab_get_symbol_partitioning_class): Likewise.
32979         * tree-phinodes.c (allocate_phi_node): Likewise.
32980         (reserve_phi_args_for_new_edge): Likewise.
32981         (remove_phi_args): Likewise.
32982         * varpool.c (varpool_node_for_asm): Likewise.
32983         (varpool_remove_unreferenced_decls): Likewise.
32985 2014-04-23  Jeff Law  <law@redhat.com>
32987         PR tree-optimization/60902
32988         * tree-ssa-threadedge.c
32989         (record_temporary_equivalences_from_stmts_at_dest): Make sure to
32990         invalidate outputs from statements that do not produce useful
32991         outputs for threading.
32993 2014-04-23  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32995         * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
32996         (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
32997         machine descriptions for Stack Smashing Protector.
32999 2014-04-23  Richard Earnshaw  <rearnsha@arm.com>
33001         * aarch64.md (<optab>_rol<mode>3): New pattern.
33002         (<optab>_rolsi3_uxtw): Likewise.
33003         * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
33005 2014-04-23  James Greenhalgh  <james.greenhalgh@arm.com>
33007         * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
33008         (arm_cortex_a12_tune): Likewise.
33010 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33012         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
33014 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33016         * config/arm/arm.md (arm_rev16si2): New pattern.
33017         (arm_rev16si2_alt): Likewise.
33018         * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
33020 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33022         * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
33023         (rev16<mode>2_alt): Likewise.
33024         * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
33025         * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
33026         (aarch_rev16_shleft_mask_imm_p): Likewise.
33027         (aarch_rev16_p_1): Likewise.
33028         (aarch_rev16_p): Likewise.
33029         * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
33030         (aarch_rev16_shright_mask_imm_p): Likewise.
33031         (aarch_rev16_shleft_mask_imm_p): Likewise.
33033 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33035         * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
33036         * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
33037         rev cost.
33038         (cortex_a53_extra_costs): Likewise.
33039         (cortex_a57_extra_costs): Likewise.
33040         * config/arm/arm.c (cortexa9_extra_costs): Likewise.
33041         (cortexa7_extra_costs): Likewise.
33042         (cortexa8_extra_costs): Likewise.
33043         (cortexa12_extra_costs): Likewise.
33044         (cortexa15_extra_costs): Likewise.
33045         (v7m_extra_costs): Likewise.
33046         (arm_new_rtx_costs): Handle BSWAP.
33048 2013-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33050         * config/arm/arm.c (cortexa8_extra_costs): New table.
33051         (arm_cortex_a8_tune): New tuning struct.
33052         * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
33054 2014-04-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
33056         * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
33058 2014-04-23  Richard Biener  <rguenther@suse.de>
33060         * Makefile.in (OBJS): Remove loop-unswitch.o.
33061         * tree-pass.h (make_pass_rtl_unswitch): Remove.
33062         * passes.def (pass_rtl_unswitch): Likewise.
33063         * loop-init.c (gate_rtl_unswitch): Likewise.
33064         (rtl_unswitch): Likewise.
33065         (pass_data_rtl_unswitch): Likewise.
33066         (pass_rtl_unswitch): Likewise.
33067         (make_pass_rtl_unswitch): Likewise.
33068         * rtl.h (reversed_condition): Likewise.
33069         (compare_and_jump_seq): Likewise.
33070         * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
33071         and make static.
33072         * loop-unroll.c (compare_and_jump_seq): Likewise.
33074 2014-04-23  Richard Biener  <rguenther@suse.de>
33076         PR tree-optimization/60903
33077         * tree-ssa-loop-im.c (analyze_memory_references): Remove
33078         commented code block.
33079         (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
33080         loop flags to newly created BBs and edges.
33082 2014-04-23  Nick Clifton  <nickc@redhat.com>
33084         * config/msp430/msp430.c (msp430_handle_option): Move function
33085         to msp430-common.c
33086         (msp430_option_override): Simplify mcu and mcpu option handling.
33087         (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult.  Add
33088         support for -mhwmult command line option.
33089         (has_32bit_hwmult): Rename to use_32bit_hwmult.  Add support for
33090         -mhwmult command line option.
33091         (msp430_hwmult_enabled): Delete.
33092         (msp43o_output_labelref): Add support for -mhwmult command line option.
33093         * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
33094         (umulsidi3): Likewise.
33095         * config/msp430/msp430.opt (mmcu): Add Report attribute.
33096         (mcpu, mlarge, msmall): Likewise.
33097         (mhwmult): New option.
33098         * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
33099         prototype.
33100         (msp430_is_f5_mcu): Remove prototype.
33101         (msp430_use_f5_series_hwmult): Add prototype.
33102         * config/msp430/msp430-opts.h: New file.
33103         * common/config/msp430: New directory.
33104         * common/config/msp430/msp430-common.c: New file.
33105         * config.gcc (msp430): Remove target_has_targetm_common.
33106         * doc/invoke.texi: Document -mhwmult command line option.
33108 2014-04-23  Nick Clifton  <nickc@redhat.com>
33110         * config/i386/cygwin.h (ENDFILE_SPEC): Include
33111         default-manifest.o if it can be found in the search path.
33112         * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
33114 2014-04-23  Terry Guo  <terry.guo@arm.com>
33116         * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
33118 2014-04-23  Richard Biener  <rguenther@suse.de>
33120         PR middle-end/60895
33121         * tree-inline.c (declare_return_variable): Use mark_addressable.
33123 2014-04-23  Richard Biener  <rguenther@suse.de>
33125         PR middle-end/60891
33126         * loop-init.c (loop_optimizer_init): Make sure to apply
33127         LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
33129 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
33131         PR sanitizer/60275
33132         * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
33133         New options.
33134         * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
33135         if flag_sanitize_undefined_trap_on_error.
33136         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
33137         BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
33138         BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
33139         BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
33140         BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
33141         BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
33142         BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
33143         BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
33144         BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
33145         * ubsan.c (ubsan_instrument_unreachable): Return
33146         __builtin_trap () if flag_sanitize_undefined_trap_on_error.
33147         (ubsan_expand_null_ifn): Emit __builtin_trap ()
33148         if flag_sanitize_undefined_trap_on_error and
33149         __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
33150         (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
33151         instrument_bool_enum_load): Emit __builtin_trap () if
33152         flag_sanitize_undefined_trap_on_error and
33153         __builtin_handle_*_abort () if !flag_sanitize_recover.
33154         * doc/invoke.texi (-fsanitize-recover,
33155         -fsanitize-undefined-trap-on-error): Document.
33157 2014-04-22  Christian Bruel  <christian.bruel@st.com>
33159         * config/sh/sh.md (mov<mode>): Replace movQIHI.
33160         Force immediates to SImode.
33162 2014-04-22  Sandra Loosemore  <sandra@codesourcery.com>
33164         * config/nios2/nios2.md (UNSPEC_ROUND): New.
33165         (lroundsfsi2): New.
33166         * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
33167         * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
33168         * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
33169         (nios2_fpu_insn): Add entry for round.
33170         (N2FPU_NO_ERRNO_P): Define.
33171         (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
33172         flag_errno_math.
33173         * doc/invoke.texi (Nios II Options): Document -mcustom-round.
33175 2014-04-22  Richard Henderson  <rth@redhat.com>
33177         * config/aarch64/aarch64 (addti3, subti3): New expanders.
33178         (add<GPI>3_compare0): Remove leading * from name.
33179         (add<GPI>3_carryin): Likewise.
33180         (sub<GPI>3_compare0): Likewise.
33181         (sub<GPI>3_carryin): Likewise.
33182         (<su_optab>mulditi3): New expander.
33183         (multi3): New expander.
33184         (madd<GPI>): Remove leading * from name.
33186 2014-04-22  Martin Jambor  <mjambor@suse.cz>
33188         * cgraphclones.c (cgraph_function_versioning): Copy
33189         ipa_transforms_to_apply instead of asserting it is empty.
33191 2014-04-22  H.J. Lu  <hongjiu.lu@intel.com>
33193         PR target/60868
33194         * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
33195         on count_exp to get mode.
33197 2014-04-22  Andrew Pinski  <apinski@cavium.com>
33199         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
33200         Handle TLS for ILP32.
33201         * config/aarch64/aarch64.md (tlsie_small): Rename to ...
33202         (tlsie_small_<mode>): this and handle PTR.
33203         (tlsie_small_sidi): New pattern.
33204         (tlsle_small): Change to an expand to handle ILP32.
33205         (tlsle_small_<mode>): New pattern.
33206         (tlsdesc_small): Rename to ...
33207         (tlsdesc_small_<mode>): this and handle PTR.
33209 2014-04-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
33211         * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
33213 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
33215         * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
33216         (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
33217         (aarch64_types_signed_poly_qualifiers): Likewise.
33218         (aarch64_types_unsigned_signed_qualifiers): Likewise.
33219         (aarch64_types_poly_signed_qualifiers): Likewise.
33220         (TYPES_REINTERP_SS): Type macro added.
33221         (TYPES_REINTERP_SU): Likewise.
33222         (TYPES_REINTERP_SP): Likewise.
33223         (TYPES_REINTERP_US): Likewise.
33224         (TYPES_REINTERP_PS): Likewise.
33225         (aarch64_fold_builtin): New expression folding added.
33226         * config/aarch64/aarch64-simd-builtins.def (REINTERP):
33227         Declarations removed.
33228         (REINTERP_SS): Declarations added.
33229         (REINTERP_US): Likewise.
33230         (REINTERP_PS): Likewise.
33231         (REINTERP_SU): Likewise.
33232         (REINTERP_SP): Likewise.
33233         * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
33234         (vreinterpretq_p8_f64): Likewise.
33235         (vreinterpret_p16_f64): Likewise.
33236         (vreinterpretq_p16_f64): Likewise.
33237         (vreinterpret_f32_f64): Likewise.
33238         (vreinterpretq_f32_f64): Likewise.
33239         (vreinterpret_f64_f32): Likewise.
33240         (vreinterpret_f64_p8): Likewise.
33241         (vreinterpret_f64_p16): Likewise.
33242         (vreinterpret_f64_s8): Likewise.
33243         (vreinterpret_f64_s16): Likewise.
33244         (vreinterpret_f64_s32): Likewise.
33245         (vreinterpret_f64_s64): Likewise.
33246         (vreinterpret_f64_u8): Likewise.
33247         (vreinterpret_f64_u16): Likewise.
33248         (vreinterpret_f64_u32): Likewise.
33249         (vreinterpret_f64_u64): Likewise.
33250         (vreinterpretq_f64_f32): Likewise.
33251         (vreinterpretq_f64_p8): Likewise.
33252         (vreinterpretq_f64_p16): Likewise.
33253         (vreinterpretq_f64_s8): Likewise.
33254         (vreinterpretq_f64_s16): Likewise.
33255         (vreinterpretq_f64_s32): Likewise.
33256         (vreinterpretq_f64_s64): Likewise.
33257         (vreinterpretq_f64_u8): Likewise.
33258         (vreinterpretq_f64_u16): Likewise.
33259         (vreinterpretq_f64_u32): Likewise.
33260         (vreinterpretq_f64_u64): Likewise.
33261         (vreinterpret_s64_f64): Likewise.
33262         (vreinterpretq_s64_f64): Likewise.
33263         (vreinterpret_u64_f64): Likewise.
33264         (vreinterpretq_u64_f64): Likewise.
33265         (vreinterpret_s8_f64): Likewise.
33266         (vreinterpretq_s8_f64): Likewise.
33267         (vreinterpret_s16_f64): Likewise.
33268         (vreinterpretq_s16_f64): Likewise.
33269         (vreinterpret_s32_f64): Likewise.
33270         (vreinterpretq_s32_f64): Likewise.
33271         (vreinterpret_u8_f64): Likewise.
33272         (vreinterpretq_u8_f64): Likewise.
33273         (vreinterpret_u16_f64): Likewise.
33274         (vreinterpretq_u16_f64): Likewise.
33275         (vreinterpret_u32_f64): Likewise.
33276         (vreinterpretq_u32_f64): Likewise.
33278 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
33280         * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
33281         * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
33282         (vreinterpret_p8_s8): Likewise.
33283         * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
33284         (vreinterpret_p8_s16): Likewise.
33285         (vreinterpret_p8_s32): Likewise.
33286         (vreinterpret_p8_s64): Likewise.
33287         (vreinterpret_p8_f32): Likewise.
33288         (vreinterpret_p8_u8): Likewise.
33289         (vreinterpret_p8_u16): Likewise.
33290         (vreinterpret_p8_u32): Likewise.
33291         (vreinterpret_p8_u64): Likewise.
33292         (vreinterpret_p8_p16): Likewise.
33293         (vreinterpretq_p8_s8): Likewise.
33294         (vreinterpretq_p8_s16): Likewise.
33295         (vreinterpretq_p8_s32): Likewise.
33296         (vreinterpretq_p8_s64): Likewise.
33297         (vreinterpretq_p8_f32): Likewise.
33298         (vreinterpretq_p8_u8): Likewise.
33299         (vreinterpretq_p8_u16): Likewise.
33300         (vreinterpretq_p8_u32): Likewise.
33301         (vreinterpretq_p8_u64): Likewise.
33302         (vreinterpretq_p8_p16): Likewise.
33303         (vreinterpret_p16_s8): Likewise.
33304         (vreinterpret_p16_s16): Likewise.
33305         (vreinterpret_p16_s32): Likewise.
33306         (vreinterpret_p16_s64): Likewise.
33307         (vreinterpret_p16_f32): Likewise.
33308         (vreinterpret_p16_u8): Likewise.
33309         (vreinterpret_p16_u16): Likewise.
33310         (vreinterpret_p16_u32): Likewise.
33311         (vreinterpret_p16_u64): Likewise.
33312         (vreinterpret_p16_p8): Likewise.
33313         (vreinterpretq_p16_s8): Likewise.
33314         (vreinterpretq_p16_s16): Likewise.
33315         (vreinterpretq_p16_s32): Likewise.
33316         (vreinterpretq_p16_s64): Likewise.
33317         (vreinterpretq_p16_f32): Likewise.
33318         (vreinterpretq_p16_u8): Likewise.
33319         (vreinterpretq_p16_u16): Likewise.
33320         (vreinterpretq_p16_u32): Likewise.
33321         (vreinterpretq_p16_u64): Likewise.
33322         (vreinterpretq_p16_p8): Likewise.
33323         (vreinterpret_f32_s8): Likewise.
33324         (vreinterpret_f32_s16): Likewise.
33325         (vreinterpret_f32_s32): Likewise.
33326         (vreinterpret_f32_s64): Likewise.
33327         (vreinterpret_f32_u8): Likewise.
33328         (vreinterpret_f32_u16): Likewise.
33329         (vreinterpret_f32_u32): Likewise.
33330         (vreinterpret_f32_u64): Likewise.
33331         (vreinterpret_f32_p8): Likewise.
33332         (vreinterpret_f32_p16): Likewise.
33333         (vreinterpretq_f32_s8): Likewise.
33334         (vreinterpretq_f32_s16): Likewise.
33335         (vreinterpretq_f32_s32): Likewise.
33336         (vreinterpretq_f32_s64): Likewise.
33337         (vreinterpretq_f32_u8): Likewise.
33338         (vreinterpretq_f32_u16): Likewise.
33339         (vreinterpretq_f32_u32): Likewise.
33340         (vreinterpretq_f32_u64): Likewise.
33341         (vreinterpretq_f32_p8): Likewise.
33342         (vreinterpretq_f32_p16): Likewise.
33343         (vreinterpret_s64_s8): Likewise.
33344         (vreinterpret_s64_s16): Likewise.
33345         (vreinterpret_s64_s32): Likewise.
33346         (vreinterpret_s64_f32): Likewise.
33347         (vreinterpret_s64_u8): Likewise.
33348         (vreinterpret_s64_u16): Likewise.
33349         (vreinterpret_s64_u32): Likewise.
33350         (vreinterpret_s64_u64): Likewise.
33351         (vreinterpret_s64_p8): Likewise.
33352         (vreinterpret_s64_p16): Likewise.
33353         (vreinterpretq_s64_s8): Likewise.
33354         (vreinterpretq_s64_s16): Likewise.
33355         (vreinterpretq_s64_s32): Likewise.
33356         (vreinterpretq_s64_f32): Likewise.
33357         (vreinterpretq_s64_u8): Likewise.
33358         (vreinterpretq_s64_u16): Likewise.
33359         (vreinterpretq_s64_u32): Likewise.
33360         (vreinterpretq_s64_u64): Likewise.
33361         (vreinterpretq_s64_p8): Likewise.
33362         (vreinterpretq_s64_p16): Likewise.
33363         (vreinterpret_u64_s8): Likewise.
33364         (vreinterpret_u64_s16): Likewise.
33365         (vreinterpret_u64_s32): Likewise.
33366         (vreinterpret_u64_s64): Likewise.
33367         (vreinterpret_u64_f32): Likewise.
33368         (vreinterpret_u64_u8): Likewise.
33369         (vreinterpret_u64_u16): Likewise.
33370         (vreinterpret_u64_u32): Likewise.
33371         (vreinterpret_u64_p8): Likewise.
33372         (vreinterpret_u64_p16): Likewise.
33373         (vreinterpretq_u64_s8): Likewise.
33374         (vreinterpretq_u64_s16): Likewise.
33375         (vreinterpretq_u64_s32): Likewise.
33376         (vreinterpretq_u64_s64): Likewise.
33377         (vreinterpretq_u64_f32): Likewise.
33378         (vreinterpretq_u64_u8): Likewise.
33379         (vreinterpretq_u64_u16): Likewise.
33380         (vreinterpretq_u64_u32): Likewise.
33381         (vreinterpretq_u64_p8): Likewise.
33382         (vreinterpretq_u64_p16): Likewise.
33383         (vreinterpret_s8_s16): Likewise.
33384         (vreinterpret_s8_s32): Likewise.
33385         (vreinterpret_s8_s64): Likewise.
33386         (vreinterpret_s8_f32): Likewise.
33387         (vreinterpret_s8_u8): Likewise.
33388         (vreinterpret_s8_u16): Likewise.
33389         (vreinterpret_s8_u32): Likewise.
33390         (vreinterpret_s8_u64): Likewise.
33391         (vreinterpret_s8_p8): Likewise.
33392         (vreinterpret_s8_p16): Likewise.
33393         (vreinterpretq_s8_s16): Likewise.
33394         (vreinterpretq_s8_s32): Likewise.
33395         (vreinterpretq_s8_s64): Likewise.
33396         (vreinterpretq_s8_f32): Likewise.
33397         (vreinterpretq_s8_u8): Likewise.
33398         (vreinterpretq_s8_u16): Likewise.
33399         (vreinterpretq_s8_u32): Likewise.
33400         (vreinterpretq_s8_u64): Likewise.
33401         (vreinterpretq_s8_p8): Likewise.
33402         (vreinterpretq_s8_p16): Likewise.
33403         (vreinterpret_s16_s8): Likewise.
33404         (vreinterpret_s16_s32): Likewise.
33405         (vreinterpret_s16_s64): Likewise.
33406         (vreinterpret_s16_f32): Likewise.
33407         (vreinterpret_s16_u8): Likewise.
33408         (vreinterpret_s16_u16): Likewise.
33409         (vreinterpret_s16_u32): Likewise.
33410         (vreinterpret_s16_u64): Likewise.
33411         (vreinterpret_s16_p8): Likewise.
33412         (vreinterpret_s16_p16): Likewise.
33413         (vreinterpretq_s16_s8): Likewise.
33414         (vreinterpretq_s16_s32): Likewise.
33415         (vreinterpretq_s16_s64): Likewise.
33416         (vreinterpretq_s16_f32): Likewise.
33417         (vreinterpretq_s16_u8): Likewise.
33418         (vreinterpretq_s16_u16): Likewise.
33419         (vreinterpretq_s16_u32): Likewise.
33420         (vreinterpretq_s16_u64): Likewise.
33421         (vreinterpretq_s16_p8): Likewise.
33422         (vreinterpretq_s16_p16): Likewise.
33423         (vreinterpret_s32_s8): Likewise.
33424         (vreinterpret_s32_s16): Likewise.
33425         (vreinterpret_s32_s64): Likewise.
33426         (vreinterpret_s32_f32): Likewise.
33427         (vreinterpret_s32_u8): Likewise.
33428         (vreinterpret_s32_u16): Likewise.
33429         (vreinterpret_s32_u32): Likewise.
33430         (vreinterpret_s32_u64): Likewise.
33431         (vreinterpret_s32_p8): Likewise.
33432         (vreinterpret_s32_p16): Likewise.
33433         (vreinterpretq_s32_s8): Likewise.
33434         (vreinterpretq_s32_s16): Likewise.
33435         (vreinterpretq_s32_s64): Likewise.
33436         (vreinterpretq_s32_f32): Likewise.
33437         (vreinterpretq_s32_u8): Likewise.
33438         (vreinterpretq_s32_u16): Likewise.
33439         (vreinterpretq_s32_u32): Likewise.
33440         (vreinterpretq_s32_u64): Likewise.
33441         (vreinterpretq_s32_p8): Likewise.
33442         (vreinterpretq_s32_p16): Likewise.
33443         (vreinterpret_u8_s8): Likewise.
33444         (vreinterpret_u8_s16): Likewise.
33445         (vreinterpret_u8_s32): Likewise.
33446         (vreinterpret_u8_s64): Likewise.
33447         (vreinterpret_u8_f32): Likewise.
33448         (vreinterpret_u8_u16): Likewise.
33449         (vreinterpret_u8_u32): Likewise.
33450         (vreinterpret_u8_u64): Likewise.
33451         (vreinterpret_u8_p8): Likewise.
33452         (vreinterpret_u8_p16): Likewise.
33453         (vreinterpretq_u8_s8): Likewise.
33454         (vreinterpretq_u8_s16): Likewise.
33455         (vreinterpretq_u8_s32): Likewise.
33456         (vreinterpretq_u8_s64): Likewise.
33457         (vreinterpretq_u8_f32): Likewise.
33458         (vreinterpretq_u8_u16): Likewise.
33459         (vreinterpretq_u8_u32): Likewise.
33460         (vreinterpretq_u8_u64): Likewise.
33461         (vreinterpretq_u8_p8): Likewise.
33462         (vreinterpretq_u8_p16): Likewise.
33463         (vreinterpret_u16_s8): Likewise.
33464         (vreinterpret_u16_s16): Likewise.
33465         (vreinterpret_u16_s32): Likewise.
33466         (vreinterpret_u16_s64): Likewise.
33467         (vreinterpret_u16_f32): Likewise.
33468         (vreinterpret_u16_u8): Likewise.
33469         (vreinterpret_u16_u32): Likewise.
33470         (vreinterpret_u16_u64): Likewise.
33471         (vreinterpret_u16_p8): Likewise.
33472         (vreinterpret_u16_p16): Likewise.
33473         (vreinterpretq_u16_s8): Likewise.
33474         (vreinterpretq_u16_s16): Likewise.
33475         (vreinterpretq_u16_s32): Likewise.
33476         (vreinterpretq_u16_s64): Likewise.
33477         (vreinterpretq_u16_f32): Likewise.
33478         (vreinterpretq_u16_u8): Likewise.
33479         (vreinterpretq_u16_u32): Likewise.
33480         (vreinterpretq_u16_u64): Likewise.
33481         (vreinterpretq_u16_p8): Likewise.
33482         (vreinterpretq_u16_p16): Likewise.
33483         (vreinterpret_u32_s8): Likewise.
33484         (vreinterpret_u32_s16): Likewise.
33485         (vreinterpret_u32_s32): Likewise.
33486         (vreinterpret_u32_s64): Likewise.
33487         (vreinterpret_u32_f32): Likewise.
33488         (vreinterpret_u32_u8): Likewise.
33489         (vreinterpret_u32_u16): Likewise.
33490         (vreinterpret_u32_u64): Likewise.
33491         (vreinterpret_u32_p8): Likewise.
33492         (vreinterpret_u32_p16): Likewise.
33493         (vreinterpretq_u32_s8): Likewise.
33494         (vreinterpretq_u32_s16): Likewise.
33495         (vreinterpretq_u32_s32): Likewise.
33496         (vreinterpretq_u32_s64): Likewise.
33497         (vreinterpretq_u32_f32): Likewise.
33498         (vreinterpretq_u32_u8): Likewise.
33499         (vreinterpretq_u32_u16): Likewise.
33500         (vreinterpretq_u32_u64): Likewise.
33501         (vreinterpretq_u32_p8): Likewise.
33502         (vreinterpretq_u32_p16): Likewise.
33504 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
33506         * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
33507         Pattern extended.
33508         * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
33509         (sqabs): Likewise.
33510         * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
33511         (vqnegd_s64): Likewise.
33512         (vqabs_s64): Likewise.
33513         (vqabsd_s64): Likewise.
33515 2014-04-22  Richard Henderson  <rth@redhat.com>
33517         * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
33518         computation to the top of the loop.
33520 2014-04-22  Renlin  <renlin.li@arm.com>
33521             Jiong Wang  <jiong.wang@arm.com>
33523         * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
33524         * config/aarch64/aarch64.c (aarch64_layout_frame)
33525         (aarch64_initial_elimination_offset): Likewise.
33527 2014-04-22  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33529         * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
33530         Fix indentation.
33532 2014-04-22  Richard Sandiford  <rdsandiford@googlemail.com>
33534         * machmode.h (bitwise_mode_for_mode): Declare.
33535         * stor-layout.h (bitwise_type_for_mode): Likewise.
33536         * stor-layout.c (bitwise_mode_for_mode): New function.
33537         (bitwise_type_for_mode): Likewise.
33538         * builtins.c (fold_builtin_memory_op): Use it instead of
33539         int_mode_for_mode and build_nonstandard_integer_type.
33541 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
33543         * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
33544         (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
33545         (*-*-solaris2*): Simplify.
33546         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
33547         (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
33548         *-*-solaris2.9* handling.
33550         * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
33551         as bug.
33552         (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
33553         (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
33554         handling, simplify.
33555         (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
33556         * configure: Regenerate.
33558         * config/i386/sol2-9.h: Remove.
33560         * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
33561         (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
33562         Remove Solaris 9 references.
33564 2014-04-22  Vidya Praveen  <vidyapraveen@arm.com>
33566         * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
33567         (floatuns<GPI:mode><GPF:mode>2): Remove.
33568         (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
33569         and floatuns conversions.
33570         (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
33571         and floatuns conversions.
33572         * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
33573         (w1,w2): New mode attributes for inequal width conversions.
33575 2014-04-22  Renlin Li  <Renlin.Li@arm.com>
33577         * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
33578         the output asm format.
33580 2014-04-22  James Greenhalgh  <james.greenhalgh@arm.com>
33582         * config/aarch64/aarch64-simd.md
33583         (aarch64_cm<optab>di): Always split.
33584         (*aarch64_cm<optab>di): New.
33585         (aarch64_cmtstdi): Always split.
33586         (*aarch64_cmtstdi): New.
33588 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
33590         PR tree-optimization/60823
33591         * omp-low.c (ipa_simd_modify_function_body): Go through
33592         all SSA_NAMEs and for those refering to vector arguments
33593         which are going to be replaced adjust SSA_NAME_VAR and,
33594         if it is a default definition, change it into a non-default
33595         definition assigned at the beginning of function from new_decl.
33596         (ipa_simd_modify_stmt_ops): Rewritten.
33597         * tree-dfa.c (set_ssa_default_def): When removing default def,
33598         check for NULL loc instead of NULL *loc.
33600 2014-04-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
33602         * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
33603         restrictions on core registers for DImode values in Thumb2.
33605 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
33607         * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
33608         * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
33610 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
33612         * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
33613         (*iordi_notzesidi_di): Likewise.
33614         (*iordi_notsesidi_di): Likewise.
33616 2014-04-22  Ian Bolton  <ian.bolton@arm.com>
33618         * config/arm/arm-protos.h (tune_params): New struct members.
33619         * config/arm/arm.c: Initialise tune_params per processor.
33620         (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
33621         for speed, based on new tune_params.
33623 2014-04-22  Alex Velenko  <Alex.Velenko@arm.com>
33625         * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
33626         * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
33627         * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
33628         * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
33629         * config/aarch64/arm_neon.h (vrnd_f64): Added.
33630         (vrnda_f64): Likewise.
33631         (vrndi_f64): Likewise.
33632         (vrndm_f64): Likewise.
33633         (vrndn_f64): Likewise.
33634         (vrndp_f64): Likewise.
33635         (vrndx_f64): Likewise.
33637 2014-04-22  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
33639         * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
33640         GET_MODE_SIZE argument is enum machine_mode.
33642 2014-04-22  Jakub Jelinek  <jakub@redhat.com>
33644         PR target/60910
33645         * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
33646         value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
33648 2014-04-22  Lin Zuojian  <manjian2006@gmail.com>
33650         PR middle-end/60281
33651         * asan.c (asan_emit_stack_protection): Force the base to align to
33652         appropriate bits if STRICT_ALIGNMENT.  Set shadow_mem align to
33653         appropriate bits if STRICT_ALIGNMENT.
33654         * cfgexpand.c (expand_stack_vars): Set base_align appropriately
33655         when asan is on.
33656         (expand_used_vars): Leave a space in the stack frame for alignment
33657         if STRICT_ALIGNMENT.
33659 2014-04-21  David Malcolm  <dmalcolm@redhat.com>
33661         * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
33662         than a gimple.
33663         (gimple_store_p): Likewise.
33664         (gimple_assign_load_p): Likewise.
33665         (gimple_assign_cast_p): Likewise.
33666         (gimple_clobber_p): Likewise.
33668         * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
33669         rather than a gimple.
33670         (gimple_assign_cast_p): Likewise.
33672 2014-04-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
33674         PR target/60735
33675         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
33676         If mode is DDmode and TARGET_E500_DOUBLE allow move.
33678         * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
33679         more debug information for E500 if -mdebug=reg.
33681 2014-04-21  Uros Bizjak  <ubizjak@gmail.com>
33683         PR target/60909
33684         * config/i386/i386.c (ix86_expand_builtin)
33685         <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
33686         register for target RTX.
33687         <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
33689 2014-04-18  Cong Hou  <congh@google.com>
33691         * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
33692         the widen-mult pattern by handling two operands with different sizes,
33693         and operands whose size is smaller than half of the result type.
33695 2014-04-18  Jan Hubicka  <hubicka@ucw.cz>
33697         * ipa-inline.h (INLINE_HINT_known_hot): New hint.
33698         * ipa-inline-analysis.c (dump_inline_hints): Dump it.
33699         (do_estimate_edge_time): Compute it.
33700         * ipa-inline.c (want_inline_small_function_p): Bypass
33701         INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
33703 2014-04-18  Jan Hubicka  <hubicka@ucw.cz>
33705         * ipa-inline.c (spec_rem): New static variable.
33706         (dump_overall_stats): New function.
33707         (dump_inline_stats): New function.
33709 2014-04-18  Richard Henderson  <rth@redhat.com>
33711         * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
33712         to GET_MODE_SIZE, not a reg_class_t.
33714 2014-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
33716         * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
33717         (vsx_xxmrglw_<mode>): Likewise.
33719 2014-04-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
33721         PR target/60876
33722         * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
33723         GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
33724         (rs6000_init_hard_regno_mode_ok): Likewise.
33726 2014-04-17  Jan Hubicka  <hubicka@ucw.cz>
33728         * ipa-inline.c (inline_small_functions): Account only non-cold
33729         functions.
33730         * doc/invoke.texi (inline-unit-growth): Update documentation.
33732 2014-04-17  Pat Haugen  <pthaugen@us.ibm.com>
33734         * config/rs6000/rs6000.md (addti3, subti3): New.
33736 2014-04-17  H.J. Lu  <hongjiu.lu@intel.com>
33738         PR target/60863
33739         * config/i386/i386.c (ix86_expand_clear): Remove outdated
33740         comment.  Check optimize_insn_for_size_p instead of
33741         optimize_insn_for_speed_p.
33743 2014-04-17  Martin Jambor  <mjambor@suse.cz>
33745         * gimple-iterator.c (gsi_start_edge): New function.
33746         * gimple-iterator.h (gsi_start_edge): Declare.
33747         * tree-sra.c (single_non_eh_succ): New function.
33748         (disqualify_ops_if_throwing_stmt): Renamed to
33749         disqualify_if_bad_bb_terminating_stmt.  Allow throwing statements
33750         having one non-EH successor BB.
33751         (sra_modify_expr): If stmt ends bb, use single non-EH successor to
33752         generate loads into replacements.
33753         (sra_modify_assign): Likewise and and also use the simple path for
33754         such statements.
33755         (sra_modify_function_body): Commit statements on edges.
33757 2014-04-17  Richard Biener  <rguenther@suse.de>
33759         PR middle-end/60849
33760         * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
33761         comparison results and add clarifying comment.
33763 2014-04-17  Jakub Jelinek  <jakub@redhat.com>
33765         * genmodes.c (struct mode_data): Add need_bytesize_adj field.
33766         (blank_mode): Initialize it.
33767         (emit_mode_size_inline, emit_mode_nunits_inline,
33768         emit_mode_inner_inline): New functions.
33769         (emit_insn_modes_h): Call them and surround their output with
33770         #if GCC_VERSION >= 4001 ... #endif.
33771         * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
33772         For GCC_VERSION >= 4001 use mode_*_inline routines instead of
33773         mode_* arrays if the argument is __builtin_constant_p.
33774         * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
33775         is enum machine_mode.
33777 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33779         * passes.c (opt_pass::execute): Adjust.
33780         (pass_manager::execute_pass_mode_switching): Likewise.
33781         (early_local_passes::execute): Likewise.
33782         (execute_one_pass): Pass cfun to the pass's execute method.
33783         * tree-pass.h (opt_pass::execute): Add function * argument.
33784         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
33785         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
33786         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
33787         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
33788         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
33789         config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
33790         except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
33791         gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
33792         graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
33793         ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
33794         ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
33795         lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
33796         postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
33797         reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
33798         store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
33799         tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
33800         tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
33801         tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
33802         tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
33803         tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
33804         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
33805         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
33806         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
33807         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
33808         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
33809         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
33810         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
33811         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
33812         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
33813         Adjust.
33815 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33817         * passes.c (opt_pass::gate): Take function * argument.
33818         (gate_all_early_local_passes): Merge into
33819         (early_local_passes::gate): this.
33820         (gate_all_early_optimizations): Merge into
33821         (all_early_optimizations::gate): this.
33822         (gate_all_optimizations): Mege into
33823         (all_optimizations::gate): this.
33824         (gate_all_optimizations_g): Merge into
33825         (all_optimizations_g::gate): this.
33826         (gate_rest_of_compilation): Mege into
33827         (rest_of_compilation::gate): this.
33828         (gate_postreload): Merge into
33829         (postreload::gate): this.
33830         (dump_one_pass): Pass cfun to the pass's gate method.
33831         (execute_ipa_summary_passes): Likewise.
33832         (execute_one_pass): Likewise.
33833         (ipa_write_summaries_2): Likewise.
33834         (ipa_write_optimization_summaries_1): Likewise.
33835         (ipa_read_summaries_1): Likewise.
33836         (ipa_read_optimization_summaries_1): Likewise.
33837         (execute_ipa_stmt_fixups): Likewise.
33838         * tree-pass.h (opt_pass::gate): Add function * argument.
33839         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
33840         combine-stack-adj.c, combine.c, compare-elim.c,
33841         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
33842         config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
33843         config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
33844         dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c,  fwprop.c, gcse.c,
33845         gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
33846         graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
33847         ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
33848         loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
33849         omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
33850         reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
33851         store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
33852         tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
33853         tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
33854         tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
33855         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
33856         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
33857         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
33858         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
33859         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
33860         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
33861         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
33862         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
33863         tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
33864         tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
33865         var-tracking.c, vtable-verify.c, web.c: Adjust.
33867 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33869         * configure.ac: Check for -Woverloaded-virtual and enable it if found.
33870         * configure: Regenerate.
33872 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33874         * passes.c (dump_one_pass): don't check pass->has_gate.
33875         (execute_ipa_summary_passes): Likewise.
33876         (execute_one_pass): Likewise.
33877         (ipa_write_summaries_2): Likewise.
33878         (ipa_write_optimization_summaries_1): Likewise.
33879         (ipa_read_optimization_summaries_1): Likewise.
33880         (execute_ipa_stmt_fixups): Likewise.
33881         * tree-pass.h (pass_data::has_gate): Remove.
33882         * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
33883         cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
33884         compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
33885         config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
33886         config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
33887         config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
33888         config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
33889         dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
33890         gimple-low.c, gimple-ssa-isolate-paths.c,
33891         gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
33892         ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
33893         ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
33894         ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
33895         modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
33896         recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
33897         reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
33898         trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
33899         tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
33900         tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
33901         tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
33902         tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
33903         tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
33904         tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
33905         tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
33906         tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
33907         tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
33908         tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
33909         tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
33910         tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
33911         tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
33912         tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
33913         Adjust.
33915 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33917         * pass_manager.h (pass_manager::register_dump_files_1): Remove
33918         declaration.
33919         * passes.c (pass_manager::register_dump_files_1): Merge into
33920         (pass_manager::register_dump_files): this, and remove its handling of
33921         properties since the pass always has the properties anyway.
33922         (pass_manager::pass_manager): Adjust.
33924 2014-04-17  Trevor Saunders  <tsaunders@mozilla.com>
33926         * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
33927         * passes.c (pass_manager::register_dump_files_1): Remove dead code
33928         dealing with properties.
33929         (pass_manager::register_dump_files): Adjust.
33931 2014-03-20  Mark Wielaard  <mjw@redhat.com>
33933         * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
33934         then represent the bound as normal constant value.
33936 2014-04-17  Jakub Jelinek  <jakub@redhat.com>
33938         PR target/60847
33939         Forward port from 4.8 branch
33940         2013-07-19  Kirill Yukhin  <kirill.yukhin@intel.com>
33942         * config/i386/bmiintrin.h (_blsi_u32): New.
33943         (_blsi_u64): Ditto.
33944         (_blsr_u32): Ditto.
33945         (_blsr_u64): Ditto.
33946         (_blsmsk_u32): Ditto.
33947         (_blsmsk_u64): Ditto.
33948         (_tzcnt_u32): Ditto.
33949         (_tzcnt_u64): Ditto.
33951 2014-04-17  Kito Cheng  <kito@0xlab.org>
33953         * gcc.c (used_arg): Prevent out of bound access for multilib_options.
33955 2014-04-17  Richard Biener  <rguenther@suse.de>
33957         PR middle-end/60849
33958         * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
33959         boolean results for comparisons.
33961 2014-04-17  Richard Biener  <rguenther@suse.de>
33963         PR tree-optimization/60836
33964         * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
33965         initial PHI args to be gimple values.
33967 2014-04-17  Richard Biener  <rguenther@suse.de>
33969         PR tree-optimization/60841
33970         * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
33971         * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
33972         of stmts to SLP build.
33973         * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
33974         (vect_analyze_slp): Likewise.
33975         (vect_analyze_slp_instance): Likewise.
33976         (vect_build_slp_tree): Limit overall SLP tree growth.
33977         * tree-vectorizer.h (vect_analyze_data_refs,
33978         vect_analyze_slp): Adjust prototypes.
33980 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
33982         * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
33983         Silvermont.
33985 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
33987         * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
33988         * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
33989         * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
33990         for TARGET_SLOW_PSHUFB
33992 2014-04-17  Evgeny Stupachenko  <evstupac@gmail.com>
33994         * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
33995         * config/i386/i386.c (intel_cost): Ditto.
33997 2014-04-17  Joey Ye  <joey.ye@arm.com>
33999         * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
34001 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
34003         * opts.c (common_handle_option): Disable -fipa-reference coorectly
34004         with -fuse-profile.
34006 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
34008         * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
34009         (type_all_derivations_known_p): New predicate.
34010         (type_all_ctors_visible_p): New predicate.
34011         (type_possibly_instantiated_p): New predicate.
34012         (get_odr_type): Compute all_derivations_known.
34013         (dump_odr_type): Dump the flag.
34014         (maybe_record_type): Cleanup.
34015         (record_target_from_binfo): Add bases_to_consider array;
34016         record bases for types w/o instances and skip CXX destructor.
34017         (possible_polymorphic_call_targets_1): Add bases_to_consider
34018         and consider_construction parameters; check if type may have instance.
34019         (get_polymorphic_call_info): Set maybe_in_construction to true
34020         when we know nothing.
34021         (record_targets_from_bases): Skip CXX destructors; they are
34022         never called for types in construction.
34023         (possible_polymorphic_call_targets): Do not record target when
34024         type may not have instance.
34026 2014-04-16  Jan Hubicka  <hubicka@ucw.cz>
34028         PR ipa/60854
34029         * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
34030         external aliases alive, too.
34032 2014-04-16  Andrew  Pinski  <apinski@cavium.com>
34034         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
34035         definition.
34037 2014-04-16  Eric Botcazou  <ebotcazou@adacore.com>
34039         * final.c (compute_alignments): Do not apply loop alignment to a block
34040         falling through to the exit.
34042 2014-04-16  Catherine Moore  <clm@codesourcery.com>
34044         * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
34045         Adjust constraints for microMIPS store patterns.
34047 2014-04-16  Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
34049         * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
34051 2014-04-16  Eric Botcazou  <ebotcazou@adacore.com>
34053         * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
34054         (append_use): Run at -O0.
34055         (append_vdef): Likewise.
34056         * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
34057         * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
34059 2014-04-16  Jakub Jelinek  <jakub@redhat.com>
34061         PR tree-optimization/60844
34062         * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
34063         (propagate_op_to_single_use, remove_visited_stmt_chain,
34064         linearize_expr, repropagate_negates, reassociate_bb): Use it
34065         instead of gsi_remove.
34067 2014-04-16  Martin Jambor  <mjambor@suse.cz>
34069         * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
34070         ipa_transforms_to_apply.
34071         (cgraph_function_versioning): Assert that old_node has empty
34072         ipa_transforms_to_apply.
34073         * trans-mem.c (ipa_tm_create_version): Likewise.
34074         * tree-inline.c (tree_function_versioning): Do not duplicate
34075         ipa_transforms_to_apply.
34077 2014-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
34079         PR target/60817
34080         * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
34081         x86_64-*-* cases.
34082         Pass necessary as flags on 64-bit Solaris/x86.
34083         Use lowercase relocs for x86_64-*-*.
34084         * configure: Regenerate.
34086 2014-04-15  Jan Hubicka  <jh@suse.cz>
34088         * ipa-devirt.c (referenced_from_vtable_p): New predicate.
34089         (maybe_record_node, likely_target_p): Use it.
34091 2014-04-15  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
34093         PR target/60839
34094         Revert following patch
34096         2014-04-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
34098         PR target/60735
34099         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
34100         software floating point or no floating point registers, do not
34101         allow any type in the FPRs.  Eliminate a test for SPE SIMD types
34102         in GPRs that occurs after we tested for GPRs that would never be
34103         true.
34105         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
34106         Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
34107         since the FMOVE64 type is DFmode/DDmode.  If TARGET_E500_DOUBLE,
34108         specifically allow DDmode, since that does not use the SPE SIMD
34109         instructions.
34111 2014-03-21  Mark Wielaard  <mjw@redhat.com>
34113         * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
34114         as unsigned or int depending on type and value used.
34116 2014-04-15  Richard Biener  <rguenther@suse.de>
34118         PR rtl-optimization/56965
34119         * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
34120         * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
34121         ... here.
34122         * alias.c (true_dependence_1): Do not call
34123         nonoverlapping_component_refs_p.
34124         * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
34125         nonoverlapping_component_refs_p.
34126         (indirect_refs_may_alias_p): Likewise.
34128 2014-04-15  Teresa Johnson  <tejohnson@google.com>
34130         * cfg.c (dump_bb_info): Fix flags check.
34131         * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
34133 2014-04-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34135         PR rtl-optimization/60663
34136         * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
34137         avoid 0 cost.
34139 2014-04-15  Richard Biener  <rguenther@suse.de>
34141         * lto-streamer.h (LTO_major_version): Bump to 4.
34143 2014-04-15  Richard Biener  <rguenther@suse.de>
34145         * common.opt (lto_partition_model): New enum.
34146         (flto-partition=): Merge separate options with a single with argument,
34147         add -flto-partition=one support.
34148         * flag-types.h (enum lto_partition_model): Declare.
34149         * opts.c (finish_options): Remove duplicate -flto-partition=
34150         option check.
34151         * lto-wrapper.c (run_gcc): Adjust.
34153 2014-04-15  Richard Biener  <rguenther@suse.de>
34155         * alias.c (ncr_compar): New function.
34156         (nonoverlapping_component_refs_p): Re-implement in O (n log n).
34158 2014-04-15  Richard Biener  <rguenther@suse.de>
34160         * alias.c (record_component_aliases): Do not walk BINFOs.
34162 2014-04-15  Richard Biener  <rguenther@suse.de>
34164         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
34165         Add struct function argument and adjust.
34166         (find_func_aliases_for_call): Likewise.
34167         (find_func_aliases): Likewise.
34168         (find_func_clobbers): Likewise.
34169         (intra_create_variable_infos): Likewise.
34170         (compute_points_to_sets): Likewise.
34171         (ipa_pta_execute): Adjust.  Do not push/pop cfun.
34173 2014-04-15  Richard Biener  <rguenther@suse.de>
34175         * tree.c (iterative_hash_expr): Use enum tree_code_class
34176         to store TREE_CODE_CLASS.
34177         (tree_block): Likewise.
34178         (tree_set_block): Likewise.
34179         * tree.h (fold_build_pointer_plus_loc): Use
34180         convert_to_ptrofftype_loc.
34182 2014-04-15  Jakub Jelinek  <jakub@redhat.com>
34184         PR plugins/59335
34185         * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
34186         added in 4.9.
34188 2014-04-15  Eric Botcazou  <ebotcazou@adacore.com>
34190         * cfgloop.h (struct loop): Move force_vectorize down.
34191         * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
34192         (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
34193         * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
34194         * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
34195         * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
34196         * tree-core.h (enum annot_expr_kind): Add new kind values.
34197         * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
34198         * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
34199         kinds.
34200         * tree.def (ANNOTATE_EXPR): Tweak comment.
34202 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
34204         * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
34205         cxa_pure_virtual).
34207 2014-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
34209         * tree.h (TYPE_IDENTIFIER): Declare.
34210         * tree.c (subrange_type_for_debug_p): Use it.
34211         * godump.c (go_format_type): Likewise.
34212         * dwarf2out.c (is_cxx_auto, modified_type_die,
34213         gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
34214         * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
34216 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
34218         PR lto/60820
34219         * varpool.c (varpool_remove_node): Do not alter decls when streaming.
34221 2014-04-14  Uros Bizjak  <ubizjak@gmail.com>
34223         * config/i386/i386.c (examine_argument): Return bool.  Return true if
34224         parameter should be passed in memory.
34225         <case X86_64_COMPLEX_X87_CLASS>: Adjust.
34226         (construct_container): Update calls to examine_argument.
34227         (function_arg_advance_64): Ditto.
34228         (return_in_memory_32): Merge with ix86_return_in_memory.
34229         (return_in_memory_64): Ditto.
34230         (return_in_memory_ms_64): Ditto.
34232 2014-04-14  Jan Hubicka  <hubicka@ucw.cz>
34234         * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
34235         * coverage.c (coverage_compute_profile_id): Handle externally visible
34236         symbols.
34238 2014-04-14  Martin Jambor  <mjambor@suse.cz>
34240         * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
34241         DECL_DISREGARD_INLINE_LIMITS functions.
34243 2014-04-14  H.J. Lu  <hongjiu.lu@intel.com>
34245         PR target/60827
34246         * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
34248 2014-04-14  H.J. Lu  <hongjiu.lu@intel.com>
34250         PR target/60827
34251         * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
34252         optimize_insn_for_speed_p instead of
34253         optimize_function_for_speed_p.
34255 2014-04-14  Yufeng Zhang  <yufeng.zhang@arm.com>
34257         * doc/invoke.texi (free): Document AArch64.
34259 2014-04-14  Richard Biener  <rguenther@suse.de>
34261         PR tree-optimization/60042
34262         * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
34263         (insert_into_preds_of_block): Do not prevent PHI insertion
34264         for REFERENCE exprs here ...
34265         (eliminate_dom_walker::before_dom_children): ... but prevent
34266         their use here under similar conditions when applied to the
34267         IL after PRE optimizations.
34269 2014-04-14  Richard Biener  <rguenther@suse.de>
34271         * passes.def: Move early points-to after early SRA.
34273 2014-04-14  Richard Biener  <rguenther@suse.de>
34275         * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
34276         check for which sign-changes we allow when forwarding
34277         a converted value into a switch.
34279 2014-04-14  Eric Botcazou  <ebotcazou@adacore.com>
34281         * stor-layout.c (place_field): Finalize non-constant offset for the
34282         field, if any.
34284 2014-04-14  Richard Biener  <rguenther@suse.de>
34286         * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
34287         as argument.
34288         (expand_switch_using_bit_tests_p): Likewise.
34289         (process_switch): Compute and pass on speed_p based on the
34290         switch stmt.
34291         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
34292         optimize_bb_for_speed_p.
34294 2014-04-14  Eric Botcazou  <ebotcazou@adacore.com>
34296         * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
34297         * function.h (struct function): Rename has_force_vect_loops into
34298         has_force_vectorize_loops.
34299         * lto-streamer-in.c (input_cfg): Adjust for renaming.
34300         (input_struct_function_base): Likewise.
34301         * lto-streamer-out.c (output_cfg): Likewise.
34302         (output_struct_function_base): Likewise.
34303         * omp-low.c (expand_omp_simd): Likewise.
34304         * tree-cfg.c (move_sese_region_to_fn): Likewise.
34305         * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
34306         (version_loop_for_if_conversion): Likewise.
34307         (tree_if_conversion): Likewise.
34308         (main_tree_if_conversion): Likewise.
34309         (gate_tree_if_conversion): Likewise.
34310         * tree-inline.c (copy_loops): Likewise.
34311         * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
34312         * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
34313         * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
34314         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
34315         * tree-vectorizer.c (vectorize_loops): Likewise.
34316         * tree-vectorizer.h (unlimited_cost_model): Likewise.
34318 2014-04-14  Richard Biener  <rguenther@suse.de>
34320         PR lto/60720
34321         * lto-streamer-out.c (wrap_refs): New function.
34322         (lto_output): Wrap symbol references in global initializes in
34323         type-preserving MEM_REFs.
34325 2014-04-14  Christian Bruel  <christian.bruel@st.com>
34327         * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
34329 2014-04-14  Christian Bruel  <christian.bruel@st.com>
34331         * config/sh/sh.md (setmemqi): New expand pattern.
34332         * config/sh/sh.h (CLEAR_RATIO): Define.
34333         * config/sh/sh-mem.cc (sh_expand_setmem): Define.
34334         * config/sh/sh-protos.h (sh_expand_setmem): Declare.
34336 2014-04-14  Richard Biener  <rguenther@suse.de>
34338         PR middle-end/55022
34339         * fold-const.c (negate_expr_p): Don't negate directional rounding
34340         division.
34341         (fold_negate_expr): Likewise.
34343 2014-04-14  Richard Biener  <rguenther@suse.de>
34345         PR tree-optimization/59817
34346         PR tree-optimization/60453
34347         * graphite-scop-detection.c (graphite_can_represent_scev): Complete
34348         recursion to catch all CHRECs in the scalar evolution and restrict
34349         the predicate for the remains appropriately.
34351 2014-04-12  Catherine Moore  <clm@codesourcery.com>
34353         * config/mips/constraints.md: Add new register constraint "kb".
34354         * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
34355         (*movhi_internal): Likewise.
34356         (*movqi_internal): Likewise.
34357         * config/mips/mips.h (M16_STORE_REGS): New register class.
34358         (REG_CLASS_NAMES): Add M16_STORE_REGS.
34359         (REG_CLASS_CONTENTS): Likewise.
34360         * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
34362 2014-04-11  Tobias Burnus  <burnus@net-b.de>
34364         PR c/60194
34365         * doc/invoke.texi (-Wformat-signedness): Document it.
34366         (Wformat=2): Mention that this enables -Wformat-signedness.
34368 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
34370         * common/config/epiphany/epiphany-common.c
34371         (epiphany_option_optimization_table): Enable section anchors by
34372         default at -O1 or higher.
34373         * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
34374         (TARGET_MIN_ANCHOR_OFFSET): Likewise.
34375         (epiphany_rtx_costs) <SET>: For binary operators, the set as such
34376         carries no extra cost.
34377         (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
34378         * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
34379         * config/epiphany/predicates.md (memclob_operand): New predicate.
34380         * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
34381         Use memclob_operand predicate and X constraint for operand 3.
34383 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
34385         * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
34386         with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
34387         its operands.
34389 2014-04-11  Joern Rennecke  <joern.rennecke@embecosm.com>
34391         PR rtl-optimization/60651
34392         * mode-switching.c (optimize_mode_switching): Make sure to emit
34393         sets of a lower numbered entity before sets of a higher numbered
34394         entity to a mode of the same or lower priority.
34395         When creating a seginfo for a basic block that starts with a code
34396         label, move the insertion point past the code label.
34397         (new_seginfo): Document and enforce requirement that
34398         NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
34399         * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
34400         * doc/tm.texi: Regenerate.
34402 2014-01-11  Joern Rennecke  <joern.rennecke@embecosm.com>
34404         PR target/60811
34405         * config/arc/arc.c (arc_save_restore): Fix assert typo.
34407 2013-04-11  Jakub Jelinek  <jakub@redhat.com>
34409         * BASE-VER: Set to 4.10.0.
34411 2014-04-11  Tobias Burnus  <burnus@net-b.de>
34413         PR other/59055
34414         * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
34415         * doc/gcc.texi (Service): Update description in the @menu
34416         * doc/invoke.texi (Option Summary): Remove misplaced and
34417         duplicated @menu.
34419 2014-04-11  Steve Ellcey  <sellcey@mips.com>
34420             Jakub Jelinek  <jakub@redhat.com>
34422         PR middle-end/60556
34423         * expr.c (convert_move): Use emit_store_flag_force instead of
34424         emit_store_flag.  Pass lowpart_mode instead of VOIDmode as 5th
34425         argument to it.
34427 2014-04-11  Richard Biener  <rguenther@suse.de>
34429         PR middle-end/60797
34430         * varasm.c (assemble_alias): Avoid endless error reporting
34431         recursion by setting TREE_ASM_WRITTEN.
34433 2014-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34435         * config/s390/s390.md: Add a splitter for NOT rtx.
34437 2014-04-11  Jakub Jelinek  <jakub@redhat.com>
34439         PR rtl-optimization/60663
34440         * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
34442 2014-04-10  Jan Hubicka  <hubicka@ucw.cz>
34443             Jakub Jelinek  <jakub@redhat.com>
34445         PR lto/60567
34446         * ipa.c (function_and_variable_visibility): Copy forced_by_abi
34447         flag from decl_node to node.
34449 2014-04-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
34451         PR debug/60655
34452         * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
34453         (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
34454         ameliorating the cases where it can be.
34456 2014-04-09  David Edelsohn  <dje.gcc@gmail.com>
34458         Revert
34459         2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>
34461         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
34462         (loadsync_<mode>): Change mode.
34463         (load_quadpti, store_quadpti): New.
34464         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
34465         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
34466         * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
34468 2014-04-09  Cong Hou  <congh@google.com>
34470         PR testsuite/60773
34471         * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
34472         documentation.
34474 2014-04-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
34476         * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
34477         instead of vnor to exploit possible fusion opportunity in the
34478         future.
34479         (altivec_expand_vec_perm_const_le): Likewise.
34481 2014-04-08  Pat Haugen  <pthaugen@us.ibm.com>
34483         * config/rs6000/sync.md (AINT mode_iterator): Move definition.
34484         (loadsync_<mode>): Change mode.
34485         (load_quadpti, store_quadpti): New.
34486         (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
34487         * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
34489 2014-04-08  Richard Sandiford  <rdsandiford@googlemail.com>
34491         PR target/60763
34492         * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
34493         * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
34494         Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
34496 2014-04-08  Richard Biener  <rguenther@suse.de>
34498         PR middle-end/60706
34499         * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
34500         a 64bit widest int print double-int similar to on HWI64 hosts.
34502 2014-04-08  Richard Biener  <rguenther@suse.de>
34504         PR tree-optimization/60785
34505         * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
34506         default defs properly.
34508 2014-04-08  Nathan Sidwell  <nathan@codesourcery.com>
34510         * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
34511         (Weffc++): Likewise.
34513 2014-04-07  Jan Hubicka  <hubcika@ucw.cz>
34515         * ipa-devirt.c (maybe_record_node): When node is not recorded,
34516         set completep to false rather than true.
34518 2014-04-07  Douglas B Rupp  <rupp@adacore.com>
34520         PR target/60504
34521         * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
34522         ARM_TARGET2_DWARF_FORMAT.
34524 2014-04-07  Charles Baylis  <charles.baylis@linaro.org>
34526         PR target/60609
34527         * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
34528         (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
34529         ADDR_DIFF_VEC.
34531 2014-04-07  Richard Biener  <rguenther@suse.de>
34533         PR tree-optimization/60766
34534         * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
34535         (may_eliminate_iv): Convert cand_value_at result to desired type.
34537 2014-04-07  Jason Merrill  <jason@redhat.com>
34539         PR c++/60731
34540         * common.opt (-fno-gnu-unique): Add.
34541         * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
34543 2014-04-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34545         * haifa-sched.c: Fix outdated function reference and minor
34546         grammar errors in introductory comment.
34548 2014-04-07  Richard Biener  <rguenther@suse.de>
34550         PR middle-end/60750
34551         * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
34552         for noreturn calls.
34553         * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
34555 2014-04-06  John David Anglin  <danglin@gcc.gnu.org>
34557         PR debug/55794
34558         * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
34559         size accounting for thunks.
34560         (pa_asm_output_mi_thunk): Use final_start_function() and
34561         final_end_function() to output function start and end directives.
34563 2014-04-05  Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
34565         * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
34566         device specific ISA/ feature information. Remove short_sp and
34567         errata_skip ds.  Add avr_device_specific_features enum to have device
34568         specific info.
34569         * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
34570         errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
34571         * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
34572         updated device specific info.
34573         * config/avr/avr-mcus.def: Merge device specific details to
34574         dev_attribute field.
34575         * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
34576         errata_skip.
34577         * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
34578         * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
34579         assembler if RMW isa supported by current device.
34580         * config/avr/genmultilib.awk: Update as device info structure changed.
34581         * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
34583 2014-04-04  Cong Hou  <congh@google.com>
34585         PR tree-optimization/60656
34586         * tree-vect-stmts.c (supportable_widening_operation):
34587         Fix a bug that elements in a vector with vect_used_by_reduction
34588         property are incorrectly reordered when the operation on it is not
34589         consistant with the one in reduction operation.
34591 2014-04-04  John David Anglin  <danglin@gcc.gnu.org>
34593         PR rtl-optimization/60155
34594         * gcse.c (record_set_data): New function.
34595         (single_set_gcse): New function.
34596         (gcse_emit_move_after): Use single_set_gcse instead of single_set.
34597         (hoist_code): Likewise.
34598         (get_pressure_class_and_nregs): Likewise.
34600 2014-04-04  Eric Botcazou  <ebotcazou@adacore.com>
34602         * explow.c (probe_stack_range): Emit a final optimization blockage.
34604 2014-04-04  Anthony Green  <green@moxielogic.com>
34606         * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
34607         typos.
34609 2014-04-04  Jan Hubicka  <hubicka@ucw.cz>
34611         PR ipa/59626
34612         * lto-cgraph.c (input_overwrite_node): Check that partitioning
34613         flags are set only during streaming.
34614         * ipa.c (process_references, walk_polymorphic_call_targets,
34615         symtab_remove_unreachable_nodes): Drop bodies of always inline
34616         after early inlining.
34617         (symtab_remove_unreachable_nodes): Remove always_inline attribute.
34619 2014-04-04  Jakub Jelinek  <jakub@redhat.com>
34620         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
34622         PR debug/60655
34623         * dwarf2out.c (const_ok_for_output_1): Reject expressions
34624         containing a NOT.
34626 2014-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34628         PR bootstrap/60743
34629         * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
34630         duration.
34631         (cortex_a53_fdivd): Likewise.
34633 2014-04-04  Martin Jambor  <mjambor@suse.cz>
34635         PR ipa/60640
34636         * cgraph.h (cgraph_clone_node): New parameter added to declaration.
34637         Adjust all callers.
34638         * cgraph.c (clone_of_p): Also return true if thunks match.
34639         (verify_edge_corresponds_to_fndecl): Removed extraneous call to
34640         cgraph_function_or_thunk_node and an obsolete comment.
34641         * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
34642         file.
34643         (build_function_decl_skip_args): Likewise.
34644         (set_new_clone_decl_and_node_flags): New function.
34645         (duplicate_thunk_for_node): Likewise.
34646         (redirect_edge_duplicating_thunks): Likewise.
34647         (cgraph_clone_node): New parameter args_to_skip, pass it to
34648         redirect_edge_duplicating_thunks which is called instead of
34649         cgraph_redirect_edge_callee.
34650         (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
34651         moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
34653 2014-04-04  Jeff Law  <law@redhat.com>
34655         PR target/60657
34656         * config/arm/predicates.md (const_int_I_operand): New predicate.
34657         (const_int_M_operand): Similarly.
34658         * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
34659         const_int_operand.
34660         (insv_t2, extv_reg, extzv_t2): Likewise.
34661         (load_multiple_with_writeback): Similarly for const_int_I_operand.
34662         (pop_multiple_with_writeback_and_return): Likewise.
34663         (vfp_pop_multiple_with_writeback): Likewise
34665 2014-04-04  Richard Biener  <rguenther@suse.de>
34667         PR ipa/60746
34668         * tree-ssanames.c (make_ssa_name_fn): Fix assert.
34669         * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
34670         non-GIMPLE_LABELs.
34671         * gimplify.h (gimple_add_tmp_var_fn): Declare.
34672         * gimplify.c (gimple_add_tmp_var_fn): New function.
34673         * gimple-expr.h (create_tmp_reg_fn): Declare.
34674         * gimple-expr.c (create_tmp_reg_fn): New function.
34675         * gimple-low.c (record_vars_into): Don't change cfun.
34676         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
34677         code generation without cfun.
34679 2014-04-04  Thomas Schwinge  <thomas@codesourcery.com>
34681         PR bootstrap/60719
34682         * Makefile.in (install-driver): Fix shell scripting.
34684 2014-04-03  Cong Hou  <congh@google.com>
34686         PR tree-optimization/60505
34687         * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
34688         threshold of number of iterations below which no vectorization
34689         will be done.
34690         * tree-vect-loop.c (new_loop_vec_info):
34691         Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
34692         * tree-vect-loop.c (vect_analyze_loop_operations):
34693         Set LOOP_VINFO_COST_MODEL_THRESHOLD.
34694         * tree-vect-loop.c (vect_transform_loop):
34695         Use LOOP_VINFO_COST_MODEL_THRESHOLD.
34696         * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
34697         of iterations of the loop and see if we should build the epilogue.
34699 2014-04-03  Richard Biener  <rguenther@suse.de>
34701         * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
34702         (streamer_tree_cache_create): Adjust.
34703         * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
34704         to allow optional nodes array.
34705         (streamer_tree_cache_insert_1): Use next_idx to assign idx.
34706         (streamer_tree_cache_append): Likewise.
34707         (streamer_tree_cache_create): Create nodes array optionally
34708         as specified by parameter.
34709         * lto-streamer-out.c (create_output_block): Avoid maintaining
34710         the node array in the writer cache.
34711         (DFS_write_tree): Remove assertion.
34712         (produce_asm_for_decls): Free the out decl state hash table early.
34713         * lto-streamer-in.c (lto_data_in_create): Adjust for
34714         streamer_tree_cache_create prototype change.
34716 2014-04-03  Richard Biener  <rguenther@suse.de>
34718         * tree-streamer-out.c (streamer_write_chain): Do not temporarily
34719         set TREE_CHAIN to NULL_TREE.
34721 2014-04-03  Richard Biener  <rguenther@suse.de>
34723         PR tree-optimization/60740
34724         * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
34725         over all GIMPLE_COND operands.
34727 2014-04-03  Nathan Sidwell  <nathan@codesourcery.com>
34729         * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
34730         (Weffc++): Remove Scott's numbering, merge lists and reference
34731         Wnon-virtual-dtor.
34733 2014-04-03  Nick Clifton  <nickc@redhat.com>
34735         * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
34736         properly.
34738 2014-04-03  Martin Jambor  <mjambor@suse.cz>
34740         * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
34741         mention gcc_unreachable before failing.
34742         * ipa.c (symtab_remove_unreachable_nodes): Also print order of
34743         removed symbols.
34745 2014-04-02  Jan Hubicka  <hubicka@ucw.cz>
34747         PR ipa/60659
34748         * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
34749         inconsistent code and instead mark the context inconsistent.
34750         (possible_polymorphic_call_targets): For inconsistent contexts
34751         return empty complete list.
34753 2014-04-02  Anthony Green  <green@moxielogic.com>
34755         * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
34756         (extendqisi2, extendhisi2): Define.
34757         * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
34758         (WCHAR_TYPE): Change to unsigned int.
34760 2014-04-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
34762         PR tree-optimization/60733
34763         * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
34764         insertion point for PHI candidates to be the end of the feeding
34765         block for the PHI argument.
34767 2014-04-02  Vladimir Makarov  <vmakarov@redhat.com>
34769         PR rtl-optimization/60650
34770         * lra-constraints.c (process_alt_operands): Decrease reject for
34771         earlyclobber matching.
34773 2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34775         * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
34777 2014-04-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34779         * config/spu/spu.c (pad_bb): Do not crash when the last
34780         insn is CODE_FOR_blockage.
34782 2014-04-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34784         * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
34785         lies outside the target mode.
34787 2014-04-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
34789         PR target/60735
34790         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
34791         software floating point or no floating point registers, do not
34792         allow any type in the FPRs.  Eliminate a test for SPE SIMD types
34793         in GPRs that occurs after we tested for GPRs that would never be
34794         true.
34796         * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
34797         Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
34798         since the FMOVE64 type is DFmode/DDmode.  If TARGET_E500_DOUBLE,
34799         specifically allow DDmode, since that does not use the SPE SIMD
34800         instructions.
34802 2014-04-02  Richard Biener  <rguenther@suse.de>
34804         PR middle-end/60729
34805         * optabs.c (expand_abs_nojump): Honor flag_trapv only for
34806         MODE_INTs.  Properly use negv_optab.
34807         (expand_abs): Likewise.
34809 2014-04-02  Richard Biener  <rguenther@suse.de>
34811         PR bootstrap/60719
34812         * Makefile.in (install-driver): Guard extra installs with special
34813         names properly.
34815 2014-04-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
34817         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
34818         Document vec_vgbbd.
34820 2014-04-01  Richard Henderson  <rth@redhat.com>
34822         PR target/60704
34823         * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
34824         alternative enabled before register allocation.
34826 2014-04-01  Chung-Lin Tang  <cltang@codesourcery.com>
34828         * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
34829         * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
34830         typo.
34831         (nios2_large_got_address): Remove unneeded 'sym' parameter.
34832         (nios2_got_address): Update nios2_large_got_address call site.
34833         (nios2_delegitimize_address): New function.
34834         (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
34835         * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
34836         (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
34838 2014-04-01  Martin Husemann  <martin@duskware.de>
34840         * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
34841         for -mabi=32.
34843 2014-04-01  Richard Sandiford  <rdsandiford@googlemail.com>
34845         PR rtl-optimization/60604
34846         * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
34847         check from register_operand.
34848         (register_operand): Redefine in terms of general_operand.
34849         (nonmemory_operand): Use register_operand for the non-constant cases.
34851 2014-04-01  Richard Biener  <rguenther@suse.de>
34853         * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
34855 2014-04-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
34857         * doc/invoke.texi (mapp-regs): Clarify.
34859 2014-03-31  Ulrich Drepper  <drepper@gmail.com>
34861         * config/i386/avx512fintrin.h (__v32hi): Define type.
34862         (__v64qi): Likewise.
34863         (_mm512_set1_epi8): Define.
34864         (_mm512_set1_epi16): Define.
34865         (_mm512_set4_epi32): Define.
34866         (_mm512_set4_epi64): Define.
34867         (_mm512_set4_pd): Define.
34868         (_mm512_set4_ps): Define.
34869         (_mm512_setr4_epi64): Define.
34870         (_mm512_setr4_epi32): Define.
34871         (_mm512_setr4_pd): Define.
34872         (_mm512_setr4_ps): Define.
34873         (_mm512_setzero_epi32): Define.
34875 2014-03-31  Martin Jambor  <mjambor@suse.cz>
34877         PR middle-end/60647
34878         * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
34879         callsite_arguments_match_p.  Updated all callers.  Also check types of
34880         corresponding formal parameters and actual arguments.
34881         (not_all_callers_have_enough_arguments_p) Renamed to
34882         some_callers_have_mismatched_arguments_p.
34884 2014-03-31  Yuri Rumyantsev  <ysrumyan@gmail.com>
34886         * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
34888 2014-03-31  Kugan Vivekanandarajah  <kuganv@linaro.org>
34890         PR target/60034
34891         * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
34892         section anchor.
34894 2014-03-30  Uros Bizjak  <ubizjak@gmail.com>
34896         * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
34897         (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
34898         Split out
34899         <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
34900         Use FMAMODE_NOVF512 mode iterator.
34901         (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
34902         (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
34903         (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
34904         (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
34905         Split out
34906         <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
34907         Use VF_128_256 mode iterator.
34908         (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
34909         Ditto.
34911 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
34913         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
34914         static chain if needed.
34916 2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>
34918         PR target/60697
34919         * lra-constraints.c (index_part_to_reg): New.
34920         (process_address): Use it.
34922 2014-03-27  Jeff Law  <law@redhat.com>
34923             Jakub Jelinek  <jakub@redhat.com>
34925         PR target/60648
34926         * expr.c (do_tablejump): Use simplify_gen_binary rather than
34927         gen_rtx_{PLUS,MULT} to build up the address expression.
34929         * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
34930         creating non-canonical RTL.
34932 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
34934         PR ipa/60243
34935         * ipa-inline.c (want_inline_small_function_p): Short circuit large
34936         functions; reorganize to make cheap checks first.
34937         (inline_small_functions): Do not estimate growth when dumping;
34938         it is expensive.
34939         * ipa-inline.h (inline_summary): Add min_size.
34940         (growth_likely_positive): New function.
34941         * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
34942         (set_cond_stmt_execution_predicate): Cleanup.
34943         (estimate_edge_size_and_time): Compute min_size.
34944         (estimate_calls_size_and_time): Likewise.
34945         (estimate_node_size_and_time): Likewise.
34946         (inline_update_overall_summary): Update min_size.
34947         (do_estimate_edge_time): Likewise.
34948         (do_estimate_edge_size): Update.
34949         (do_estimate_edge_hints): Update.
34950         (growth_likely_positive): New function.
34952 2014-03-28  Jakub Jelinek  <jakub@redhat.com>
34954         PR target/60693
34955         * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
34956         also if addr has VOIDmode.
34958 2014-03-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34960         * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
34961         * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
34962         Declare extern.
34963         * config/arm/cortex-a53.md: Add reservations and bypass for crypto
34964         instructions as well as AdvancedSIMD loads.
34966 2014-03-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
34968         * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
34969         Use crypto_aese type.
34970         (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
34971         * config/arm/arm.md (is_neon_type): Replace crypto_aes with
34972         crypto_aese, crypto_aesmc.  Move to types.md.
34973         * config/arm/types.md (crypto_aes): Split into crypto_aese,
34974         crypto_aesmc.
34975         * config/arm/iterators.md (crypto_type): Likewise.
34977 2014-03-28  Jan Hubicka  <hubicka@ucw.cz>
34979         * cgraph.c: Include expr.h and tree-dfa.h.
34980         (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
34981         remove LHS.
34983 2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>
34985         PR target/60675
34986         * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
34987         regs from checking multi-reg pseudos.
34989 2014-03-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
34991         * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
34993 2014-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34995         * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
34996         if it would clobber the stack pointer, even temporarily.
34998 2014-03-28  Eric Botcazou  <ebotcazou@adacore.com>
35000         * mode-switching.c: Make small adjustments to the top comment.
35002 2014-03-27  Michael Meissner  <meissner@linux.vnet.ibm.com>
35004         * config/rs6000/constraints.md (wD constraint): New constraint to
35005         match the constant integer to get the top DImode/DFmode out of a
35006         vector in a VSX register.
35008         * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
35009         match the constant integer to get the top DImode/DFmode out of a
35010         vector in a VSX register.
35012         * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
35013         for ISA 2.07.
35015         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
35016         vbpermq builtins.
35018         * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
35019         -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
35021         * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
35022         Optimize vec_extract of 64-bit values, where the value being
35023         extracted is in the top word, where we can use scalar
35024         instructions.  Add direct move and store support.  Combine the big
35025         endian/little endian vector select load support into a single insn.
35026         (vsx_extract_<mode>_internal1): Likewise.
35027         (vsx_extract_<mode>_internal2): Likewise.
35028         (vsx_extract_<mode>_load): Likewise.
35029         (vsx_extract_<mode>_store): Likewise.
35030         (vsx_extract_<mode>_zero): Delete, big and little endian insns are
35031         combined into vsx_extract_<mode>_load.
35032         (vsx_extract_<mode>_one_le): Likewise.
35034         * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
35035         define the top 64-bit vector element.
35037         * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
35038         constraint.
35040         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
35041         Document vec_vbpermq builtin.
35043         PR target/60672
35044         * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
35045         enable use of xxsldwi and xxpermdi builtin functions.
35046         (vec_xxpermdi): Likewise.
35048         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
35049         Document use of vec_xxsldwi and vec_xxpermdi builtins.
35051 2014-03-27  Vladimir Makarov  <vmakarov@redhat.com>
35053         PR rtl-optimization/60650
35054         * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
35055         first_p.  Use it.
35056         (find_spills_for): New.
35057         (assign_by_spills): Pass the new parameter to find_hard_regno_for.
35058         Spill all pseudos on the second iteration.
35060 2014-03-27  Marek Polacek  <polacek@redhat.com>
35062         PR c/50347
35063         * doc/extend.texi (ffs Builtins): Change unsigned types to signed
35064         types.
35066 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35068         * config/s390/s390.c (s390_can_use_return_insn): Check for
35069         call-saved FPRs on 31 bit.
35071 2014-03-27  Jakub Jelinek  <jakub@redhat.com>
35073         PR middle-end/60682
35074         * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
35075         if they need regimplification, just drop them instead of
35076         calling gimple_regimplify_operands on them.
35078 2014-03-27  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35080         PR target/60580
35081         * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
35082         (aarch64_frame_pointer_required): Adjust logic.
35083         (aarch64_can_eliminate): Adjust logic.
35084         (aarch64_override_options_after_change): Adjust logic.
35086 2014-03-27  Dehao Chen  <dehao@google.com>
35088         * ipa-inline.c (early_inliner): Update node's inline info.
35090 2014-03-26  Dehao Chen  <dehao@google.com>
35092         * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
35093         compiler inserted conditional jumps for NAN float check.
35095 2014-03-26  Jakub Jelinek  <jakub@redhat.com>
35097         * ubsan.h (ubsan_create_data): Change second argument's type
35098         to const location_t *.
35099         * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
35100         _("<unknown>").
35101         (ubsan_create_data): Change second argument to const location_t *PLOC.
35102         Create Loc field whenever PLOC is non-NULL.
35103         (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
35104         ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
35105         callers.
35107         PR other/59545
35108         * real.c (real_to_integer2): Change type of low to UHWI.
35110 2014-03-26  Tobias Burnus  <burnus@net-b.de>
35112         * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
35113         (CILK_SELF_SPECS): New define.
35114         (driver_self_specs): Use it.
35116 2014-03-26  Richard Biener  <rguenther@suse.de>
35118         * tree-pretty-print.c (percent_K_format): Implement special
35119         case for LTO and its stripped down BLOCK tree.
35121 2014-03-26  Jakub Jelinek  <jakub@redhat.com>
35123         PR sanitizer/60636
35124         * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
35126         * tree-vrp.c (simplify_internal_call_using_ranges): If only
35127         one range is range_int_cst_p, but not both, at least optimize
35128         addition/subtraction of 0 and multiplication by 0 or 1.
35129         * gimple-fold.c (gimple_fold_call): Fold
35130         IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
35131         (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
35132         INTEGER_CSTs, try to fold at least x * 0 and y - y.
35134 2014-03-26  Eric Botcazou  <ebotcazou@adacore.com>
35136         PR rtl-optimization/60452
35137         * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
35138         <case REG>: Return 1 for invalid offsets from the frame pointer.
35140 2014-03-26  Marek Polacek  <polacek@redhat.com>
35142         PR c/37428
35143         * doc/extend.texi (C Extensions): Mention variable-length arrays in
35144         a structure/union.
35146 2014-03-26  Marek Polacek  <polacek@redhat.com>
35148         PR c/39525
35149         * doc/extend.texi (Designated Inits): Describe what happens to omitted
35150         field members.
35152 2014-03-26  Marek Polacek  <polacek@redhat.com>
35154         PR other/59545
35155         * ira-color.c (update_conflict_hard_regno_costs): Perform the
35156         multiplication in unsigned type.
35158 2014-03-26  Chung-Ju Wu  <jasonwucj@gmail.com>
35160         * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
35162 2014-03-26  Chung-Ju Wu  <jasonwucj@gmail.com>
35164         * doc/contrib.texi: Add myself as Andes nds32 port contributor.
35166 2014-03-25  Jan Hubicka  <hubicka@ucw.cz>
35168         PR ipa/60315
35169         * cif-code.def (UNREACHABLE) New code.
35170         * ipa-inline.c (inline_small_functions): Skip edges to
35171         __builtlin_unreachable.
35172         (estimate_edge_growth): Allow edges to __builtlin_unreachable.
35173         * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
35174         predicate to __bulitin_unreachable.
35175         (set_cond_stmt_execution_predicate): Fix issue when
35176         invert_tree_comparison returns ERROR_MARK.
35177         * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
35178         propagate to inline clones.
35179         * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
35180         to unreachable.
35181         * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
35182         * cgraphclones.c (cgraph_clone_node): If call destination is already
35183         ureachable, do not redirect it back.
35184         * tree-inline.c (fold_marked_statements): Hanlde calls becoming
35185         unreachable.
35187 2014-03-25  Jan Hubicka  <hubicka@ucw.cz>
35189         * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
35190         Do not modify inline clones.
35192 2014-03-25  Jakub Jelinek  <jakub@redhat.com>
35194         * config/i386/i386.md (general_sext_operand): New mode attr.
35195         (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
35196         don't generate (sign_extend (const_int)).
35197         (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
35198         operands[2].  Use We constraint instead of <i> and
35199         <general_sext_operand> predicate instead of <general_operand>.
35200         (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
35201         * config/i386/constraints.md (We): New constraint.
35202         * config/i386/predicates.md (x86_64_sext_operand,
35203         sext_operand): New predicates.
35205 2014-03-25  Martin Jambor  <mjambor@suse.cz>
35207         PR ipa/60600
35208         * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
35209         inconsistent devirtualizations to __builtin_unreachable.
35211 2014-03-25  Marek Polacek  <polacek@redhat.com>
35213         PR c/35449
35214         * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
35216 2014-03-25  Alan Lawrence  <alan.lawrence@arm.com>
35218         * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
35219         order of elements for big-endian.
35221 2014-03-25  Richard Biener  <rguenther@suse.de>
35223         PR middle-end/60635
35224         * gimplify-me.c (gimple_regimplify_operands): Update the
35225         re-gimplifed stmt.
35227 2014-03-25  Martin Jambor  <mjambor@suse.cz>
35229         PR ipa/59176
35230         * lto-cgraph.c (lto_output_node): Stream body_removed flag.
35231         (lto_output_varpool_node): Likewise.
35232         (input_overwrite_node): Likewise.
35233         (input_varpool_node): Likewise.
35235 2014-03-25  Richard Biener  <rguenther@suse.de>
35237         * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
35238         (run_gcc): Likewise.
35240 2014-03-25  Jakub Jelinek  <jakub@redhat.com>
35242         * combine.c (simplify_compare_const): Add MODE argument.
35243         Handle mode_width 0 as very large mode_width.
35244         (try_combine, simplify_comparison): Adjust callers.
35246         * cselib.c (cselib_hash_rtx): Perform addition in unsigned
35247         type to avoid signed integer overflow.
35248         * explow.c (plus_constant): Likewise.
35250 2014-03-25  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35252         * doc/generic.texi: Correct typos.
35254 2014-03-24  Tobias Burnus  <burnus@net-b.de>
35256         * doc/invoke.texi (-flto): Expand section about
35257         using static libraries with LTO.
35259 2014-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35261         PR rtl-optimization/60501
35262         * optabs.def (addptr3_optab): New optab.
35263         * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
35264         * doc/md.texi ("addptrm3"): Document new RTL standard expander.
35265         * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
35267         * lra.c (emit_add3_insn): Use the addptr pattern if available.
35269         * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
35271 2014-03-24  Ulrich Drepper  <drepper@gmail.com>
35273         * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
35274         _mm512_set1_pd.
35276         * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
35277         (_mm256_undefined_ps): Define.
35278         (_mm256_undefined_pd): Define.
35279         * config/i386/emmintrin.h (_mm_undefined_si128): Define.
35280         (_mm_undefined_pd): Define.
35281         * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
35282         * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
35283         (_mm512_undefined_ps): Define.
35284         (_mm512_undefined_pd): Define.
35285         Use _mm*_undefined_*.
35286         * config/i386/avx2intrin.h: Use _mm*_undefined_*.
35288 2014-03-24  Alex Velenko  <Alex.Velenko@arm.com>
35290         * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
35291         (lshr_simd): DI mode added.
35292         * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
35293         (aarch64_ushr_simddi): Likewise.
35294         * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
35295         * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
35296         (vshrd_n_u64): Likewise.
35298 2014-03-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
35300         * Makefile.in (s-macro_list): Depend on cc1.
35302 2014-03-23  Teresa Johnson  <tejohnson@google.com>
35304         * ipa-utils.c (ipa_print_order): Use specified dump file.
35306 2014-03-23  Eric Botcazou  <ebotcazou@adacore.com>
35308         PR rtl-optimization/60601
35309         * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
35311         * gcc.c (eval_spec_function): Initialize save_growing_value.
35313 2014-03-22  Jakub Jelinek  <jakub@redhat.com>
35315         PR sanitizer/60613
35316         * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
35317         code == MINUS_EXPR, never swap op0 with op1.
35319         * toplev.c (init_local_tick): Avoid signed integer multiplication
35320         overflow.
35321         * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
35322         shift by first operand's bitsize.
35324 2014-03-21  Jakub Jelinek  <jakub@redhat.com>
35326         PR target/60610
35327         * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
35328         redefine to 1 or 0.
35329         * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
35330         TARGET_ISA_64BIT_P(x).
35332 2014-03-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
35334         * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
35335         pattern for vector nor instead of subtract from splat(-1).
35336         (altivec_expand_vec_perm_const_le): Likewise.
35338 2014-03-21  Richard Henderson  <rth@twiddle.net>
35340         PR target/60598
35341         * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
35342         related insns after epilogue_completed.
35344 2014-03-21  Martin Jambor  <mjambor@suse.cz>
35346         PR ipa/59176
35347         * cgraph.h (symtab_node): New flag body_removed.
35348         * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
35349         when removing bodies.
35350         * symtab.c (dump_symtab_base): Dump body_removed flag.
35351         * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
35352         had their bodies removed.
35354 2014-03-21  Martin Jambor  <mjambor@suse.cz>
35356         PR ipa/60419
35357         * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
35358         in the border.
35360 2014-03-21  Richard Biener  <rguenther@suse.de>
35362         PR tree-optimization/60577
35363         * tree-core.h (struct tree_base): Document nothrow_flag use
35364         in DECL_NONALIASED.
35365         * tree.h (DECL_NONALIASED): New.
35366         (may_be_aliased): Adjust.
35367         * coverage.c (build_var): Set DECL_NONALIASED.
35369 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
35371         * expr.c (expand_expr_real_1): Remove outdated comment.
35373 2014-03-20  Jakub Jelinek  <jakub@redhat.com>
35375         PR middle-end/60597
35376         * ira.c (adjust_cleared_regs): Call copy_rtx on
35377         *reg_equiv[REGNO (loc)].src_p before passing it to
35378         simplify_replace_fn_rtx.
35380         PR target/60568
35381         * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
35382         into CONST, put pic register as first operand of PLUS.  Use
35383         gen_const_mem for both 32-bit and 64-bit PIC got loads.
35385 2014-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
35387         * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
35389 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
35391         * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
35392         around for store forwarding issue in the FPU on the UT699.
35393         * config/sparc/sparc.md (in_branch_delay): Return false for single FP
35394         loads and operations if -mfix-ut699 is specified.
35395         (divtf3_hq): Tweak attribute.
35396         (sqrttf2_hq): Likewise.
35398 2014-03-20  Eric Botcazou  <ebotcazou@adacore.com>
35400         * calls.c (store_one_arg): Remove incorrect const qualification on the
35401         type of the temporary.
35402         * cfgexpand.c (expand_return): Likewise.
35403         * expr.c (expand_constructor): Likewise.
35404         (expand_expr_real_1): Likewise.
35406 2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
35408         * config/arm/arm.c (arm_dwarf_register_span): Update the element number
35409         of parts.
35411 2014-03-19  Kaz Kojima  <kkojima@gcc.gnu.org>
35413         PR target/60039
35414         * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
35416 2014-03-19  James Greenhalgh  <james.greenhalgh@arm.com>
35418         * config/arm/aarch-common-protos.h
35419         (alu_cost_table): Fix spelling of "extend".
35420         * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
35422 2014-03-19  Richard Biener  <rguenther@suse.de>
35424         PR middle-end/60553
35425         * tree-core.h (tree_type_common): Re-order pointer members
35426         to reduce recursion depth during GC walks.
35428 2014-03-19  Marek Polacek  <polacek@redhat.com>
35430         PR sanitizer/60569
35431         * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
35432         before accessing it.
35434 2014-03-19  Richard Biener  <rguenther@suse.de>
35436         PR lto/59543
35437         * lto-streamer-in.c (input_function): In WPA stage do not drop
35438         debug stmts.
35440 2014-03-19  Jakub Jelinek  <jakub@redhat.com>
35442         PR tree-optimization/60559
35443         * vectorizable_mask_load_store): Replace scalar MASK_LOAD
35444         with build_zero_cst assignment.
35446 2014-03-18  Kai Tietz  <ktietz@redhat.com>
35448         PR rtl-optimization/56356
35449         * sdbout.c (sdbout_parms): Verify that parms'
35450         incoming argument is valid.
35451         (sdbout_reg_parms): Likewise.
35453 2014-03-18  Richard Henderson  <rth@redhat.com>
35455         PR target/60562
35456         * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
35457         be shadowed by *float<SWI48><MODEF>2_sse.  Test X87_ENABLE_FLOAT.
35458         (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
35460 2014-03-18  Basile Starynkevitch  <basile@starynkevitch.net>
35462         * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
35463         * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
35464         Italicize plugin event names in description.  Explain that
35465         PLUGIN_PRAGMAS has no sense for lto1.  Explain PLUGIN_INCLUDE_FILE.
35466         Remind that no GCC functions should be called after PLUGIN_FINISH.
35467         Explain what pragmas with expansion are.
35469 2014-03-18  Martin Liska  <mliska@suse.cz>
35471         * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
35472         gimple call statement is update.
35473         * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
35474         GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
35476 2014-03-18  Jakub Jelinek  <jakub@redhat.com>
35478         PR sanitizer/60557
35479         * ubsan.c (ubsan_instrument_unreachable): Call
35480         initialize_sanitizer_builtins.
35481         (ubsan_pass): Likewise.
35483         PR sanitizer/60535
35484         * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
35485         varpool_finalize_decl instead of rest_of_decl_compilation.
35487 2014-03-18  Richard Biener  <rguenther@suse.de>
35489         * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
35490         by using bitmap_and_compl instead of bitmap_and_compl_into.
35491         (df_rd_transfer_function): Likewise.
35493 2014-03-18  Richard Biener  <rguenther@suse.de>
35495         * doc/lto.texi (fresolution): Fix typo.
35497 2014-03-18  Richard Biener  <rguenther@suse.de>
35499         * doc/invoke.texi (flto): Update for changes in 4.9.
35501 2014-03-18  Richard Biener  <rguenther@suse.de>
35503         * doc/loop.texi: Remove section on the removed lambda framework.
35504         Update loop docs with recent changes in preserving loop structure.
35506 2014-03-18  Richard Biener  <rguenther@suse.de>
35508         * doc/lto.texi (-fresolution): Document.
35510 2014-03-18  Richard Biener  <rguenther@suse.de>
35512         * doc/contrib.texi: Adjust my name.
35514 2014-03-18  Jakub Jelinek  <jakub@redhat.com>
35516         PR ipa/58721
35517         * internal-fn.c: Include diagnostic-core.h.
35518         (expand_BUILTIN_EXPECT): New function.
35519         * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
35520         (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
35521         IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
35522         * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
35523         IFN_BUILTIN_EXPECT.
35524         * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
35525         Revert 3 argument __builtin_expect code.
35526         (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
35527         * gimple-fold.c (gimple_fold_call): Likewise.
35528         * tree.h (fold_builtin_expect): New prototype.
35529         * builtins.c (build_builtin_expect_predicate): Add predictor
35530         argument, if non-NULL, create 3 argument __builtin_expect.
35531         (fold_builtin_expect): No longer static.  Add ARG2 argument,
35532         pass it through to build_builtin_expect_predicate.
35533         (fold_builtin_2): Adjust caller.
35534         (fold_builtin_3): Handle BUILT_IN_EXPECT.
35535         * internal-fn.def (BUILTIN_EXPECT): New.
35537 2014-03-18  Tobias Burnus  <burnus@net-b.de>
35539         PR ipa/58721
35540         * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
35541         PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
35542         PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
35544 2014-03-18  Jan Hubicka  <hubicka@ucw.cz>
35546         PR ipa/58721
35547         * predict.c (combine_predictions_for_bb): Fix up formatting.
35548         (expr_expected_value_1, expr_expected_value): Add predictor argument,
35549         fill what it points to if non-NULL.
35550         (tree_predict_by_opcode): Adjust caller, use the predictor.
35551         * predict.def (PRED_COMPARE_AND_SWAP): Add.
35553 2014-03-18  Eric Botcazou  <ebotcazou@adacore.com>
35555         * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
35556         proper constant for the store mode.
35558 2014-03-18  Ilya Enkovich  <ilya.enkovich@intel.com>
35560         * symtab.c (change_decl_assembler_name): Fix transparent alias
35561         chain construction.
35563 2014-03-16  Renlin Li  <Renlin.Li@arm.com>
35565         * config/aarch64/aarch64.c: Correct the comments about the
35566         aarch64 stack layout.
35568 2014-03-18  Thomas Schwinge  <thomas@codesourcery.com>
35570         * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
35571         check for GF_OMP_FOR_KIND_FOR.
35573 2013-03-18  Kirill Yukhin  <kirill.yukhin@intel.com>
35575         * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
35576         ymm and zmm register names.
35578 2014-03-17  Jakub Jelinek  <jakub@redhat.com>
35580         PR target/60516
35581         * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
35582         note creation for the 2010-08-31 changes.
35584 2014-03-17  Marek Polacek  <polacek@redhat.com>
35586         PR middle-end/60534
35587         * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
35588         as -fno-tree-loop-vectorize.
35589         (expand_omp_simd): Likewise.
35591 2014-03-15  Eric Botcazou  <ebotcazou@adacore.com>
35593         * config/sparc/sparc-protos.h (tls_call_delay): Delete.
35594         (eligible_for_call_delay): New prototype.
35595         * config/sparc/sparc.c (tls_call_delay): Rename into...
35596         (eligible_for_call_delay): ...this.  Return false if the instruction
35597         cannot be put in the delay slot of a branch.
35598         (eligible_for_restore_insn): Simplify.
35599         (eligible_for_return_delay): Return false if the instruction cannot be
35600         put in the delay slot of a branch and simplify.
35601         (eligible_for_sibcall_delay): Return false if the instruction cannot be
35602         put in the delay slot of a branch.
35603         * config/sparc/sparc.md (fix_ut699): New attribute.
35604         (tls_call_delay): Delete.
35605         (in_call_delay): Reimplement.
35606         (eligible_for_sibcall_delay): Rename into...
35607         (in_sibcall_delay): ...this.
35608         (eligible_for_return_delay): Rename into...
35609         (in_return_delay): ...this.
35610         (in_branch_delay): Reimplement.
35611         (in_uncond_branch_delay): Delete.
35612         (in_annul_branch_delay): Delete.
35614 2014-03-14  Richard Henderson  <rth@redhat.com>
35616         PR target/60525
35617         * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
35618         define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
35619         (*floathi<X87MODEF>2_i387_with_temp): Remove.
35620         (floathi splitters): Remove.
35621         (float<SWI48x>xf2): New pattern.
35622         (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2.  Drop
35623         code that tried to handle DImode for 32-bit, but which was excluded
35624         by the pattern's condition.  Drop allocation of stack temporary.
35625         (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
35626         (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
35627         (*float<SWI48><MODEF>2_mixed_interunit): Remove.
35628         (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
35629         (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
35630         (*float<SWI48><MODEF>2_sse_with_temp): Remove.
35631         (*float<SWI48><MODEF>2_sse_interunit): Remove.
35632         (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
35633         (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
35634         (*float<SWI48x><X87MODEF>2_i387): Remove.
35635         (all float _with_temp splitters): Remove.
35636         (*float<SWI48x><MODEF>2_i387): New pattern.
35637         (*float<SWI48><MODEF>2_sse): New pattern.
35638         (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
35639         (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
35641 2014-03-14  Jakub Jelinek  <jakub@redhat.com>
35642             Marek Polacek  <polacek@redhat.com>
35644         PR middle-end/60484
35645         * common.opt (dump_base_name_prefixed): New Variable.
35646         * opts.c (finish_options): Don't prepend directory to x_dump_base_name
35647         if x_dump_base_name_prefixed is already set, set it at the end.
35649 2014-03-14  Vladimir Makarov  <vmakarov@redhat.com>
35651         PR rtl-optimization/60508
35652         * lra-constraints.c (get_reload_reg): Add new parameter
35653         in_subreg_p.
35654         (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
35655         Pass the new parameter values.
35657 2014-03-14  Richard Biener  <rguenther@suse.de>
35659         * common.opt: Revert unintented changes from r205065.
35660         * opts.c: Likewise.
35662 2014-03-14  Richard Biener  <rguenther@suse.de>
35664         PR middle-end/60518
35665         * cfghooks.c (split_block): Properly adjust all loops the
35666         block was a latch of.
35668 2014-03-14  Martin Jambor  <mjambor@suse.cz>
35670         PR lto/60461
35671         * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
35672         and simplify it.
35674 2014-03-14  Georg-Johann Lay  <avr@gjlay.de>
35676         PR target/59396
35677         * config/avr/avr.c (avr_set_current_function): Pass function name
35678         through default_strip_name_encoding before sanity checking instead
35679         of skipping the first char of the assembler name.
35681 2014-03-13  Richard Henderson  <rth@redhat.com>
35683         PR debug/60438
35684         * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
35685         (ix86_force_to_memory, ix86_free_from_memory): Remove.
35686         * config/i386/i386-protos.h: Likewise.
35687         * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
35688         in the expander instead of a splitter.
35689         (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
35690         any possibility of requiring a memory.
35691         (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
35692         (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
35693         (fp branch splitters): Update for ix86_split_fp_branch.
35694         (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
35695         (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
35696         (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
35697         (*fop_<MODEF>_2_i387): Remove f/r alternative.
35698         (*fop_<MODEF>_3_i387): Likewise.
35699         (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
35700         (splitters for the fop_* register patterns): Remove.
35701         (fscalexf4_i387): Rename from *fscalexf4_i387.
35702         (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
35704 2014-03-13  Jakub Jelinek  <jakub@redhat.com>
35706         PR tree-optimization/59779
35707         * tree-dfa.c (get_ref_base_and_extent): Use double_int
35708         type for bitsize and maxsize instead of HOST_WIDE_INT.
35710 2014-03-13  Steven Bosscher  <steven@gcc.gnu.org>
35712         PR rtl-optimization/57320
35713         * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
35714         the CFG after thread_prologue_and_epilogue_insns.
35716 2014-03-13  Vladimir Makarov  <vmakarov@redhat.com>
35718         PR rtl-optimization/57189
35719         * lra-constraints.c (process_alt_operands): Disfavor spilling
35720         vector pseudos.
35722 2014-03-13  Cesar Philippidis  <cesar@codesourcery.com>
35724         * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
35726 2014-03-13  Jakub Jelinek  <jakub@redhat.com>
35728         PR tree-optimization/59025
35729         PR middle-end/60418
35730         * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
35731         same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
35733 2014-03-13  Georg-Johann Lay  <avr@gjlay.de>
35735         PR target/60486
35736         * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
35737         calls of avr_out_plus_1.
35739 2014-03-13  Bin Cheng  <bin.cheng@arm.com>
35741         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
35742         BB's single pred and update the father loop's latch info later.
35744 2014-03-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
35746         * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
35747         (VEC_M): Likewise.
35748         (VEC_N): Likewise.
35749         (VEC_R): Likewise.
35750         (VEC_base): Likewise.
35751         (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
35752         registers, we need to swap double words in little endian mode.
35754         * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
35755         to be a container mode for 128-bit integer operations added in ISA
35756         2.07.  Unlike TImode and PTImode, the preferred register set is
35757         the Altivec/VMX registers for the 128-bit operations.
35759         * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
35760         declarations.
35761         (rs6000_split_128bit_ok_p): Likewise.
35763         * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
35764         macros for creating ISA 2.07 normal and overloaded builtin
35765         functions with 3 arguments.
35766         (BU_P8V_OVERLOAD_3): Likewise.
35767         (VPERM_1T): Add support for V1TImode in 128-bit vector operations
35768         for use as overloaded functions.
35769         (VPERM_1TI_UNS): Likewise.
35770         (VSEL_1TI): Likewise.
35771         (VSEL_1TI_UNS): Likewise.
35772         (ST_INTERNAL_1ti): Likewise.
35773         (LD_INTERNAL_1ti): Likewise.
35774         (XXSEL_1TI): Likewise.
35775         (XXSEL_1TI_UNS): Likewise.
35776         (VPERM_1TI): Likewise.
35777         (VPERM_1TI_UNS): Likewise.
35778         (XXPERMDI_1TI): Likewise.
35779         (SET_1TI): Likewise.
35780         (LXVD2X_V1TI): Likewise.
35781         (STXVD2X_V1TI): Likewise.
35782         (VEC_INIT_V1TI): Likewise.
35783         (VEC_SET_V1TI): Likewise.
35784         (VEC_EXT_V1TI): Likewise.
35785         (EQV_V1TI): Likewise.
35786         (NAND_V1TI): Likewise.
35787         (ORC_V1TI): Likewise.
35788         (VADDCUQ): Add support for 128-bit integer arithmetic instructions
35789         added in ISA 2.07.  Add both normal 'altivec' builtins, and the
35790         overloaded builtin.
35791         (VADDUQM): Likewise.
35792         (VSUBCUQ): Likewise.
35793         (VADDEUQM): Likewise.
35794         (VADDECUQ): Likewise.
35795         (VSUBEUQM): Likewise.
35796         (VSUBECUQ): Likewise.
35798         * config/rs6000/rs6000-c.c (__int128_type): New static to hold
35799         __int128_t and __uint128_t types.
35800         (__uint128_type): Likewise.
35801         (altivec_categorize_keyword): Add support for vector __int128_t,
35802         vector __uint128_t, vector __int128, and vector unsigned __int128
35803         as a container type for TImode operations that need to be done in
35804         VSX/Altivec registers.
35805         (rs6000_macro_to_expand): Likewise.
35806         (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
35807         to support 128-bit integer instructions vaddcuq, vadduqm,
35808         vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
35809         (altivec_resolve_overloaded_builtin): Add support for V1TImode.
35811         * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
35812         for V1TImode, and set up preferences to use VSX/Altivec registers.
35813         Setup VSX reload handlers.
35814         (rs6000_debug_reg_global): Likewise.
35815         (rs6000_init_hard_regno_mode_ok): Likewise.
35816         (rs6000_preferred_simd_mode): Likewise.
35817         (vspltis_constant): Do not allow V1TImode as easy altivec constants.
35818         (easy_altivec_constant): Likewise.
35819         (output_vec_const_move): Likewise.
35820         (rs6000_expand_vector_set): Convert V1TImode set and extract to
35821         simple move.
35822         (rs6000_expand_vector_extract): Likewise.
35823         (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
35824         addressing.
35825         (rs6000_const_vec): Add support for V1TImode.
35826         (rs6000_emit_le_vsx_load): Swap double words when loading or
35827         storing TImode/V1TImode.
35828         (rs6000_emit_le_vsx_store): Likewise.
35829         (rs6000_emit_le_vsx_move): Likewise.
35830         (rs6000_emit_move): Add support for V1TImode.
35831         (altivec_expand_ld_builtin): Likewise.
35832         (altivec_expand_st_builtin): Likewise.
35833         (altivec_expand_vec_init_builtin): Likewise.
35834         (altivec_expand_builtin): Likewise.
35835         (rs6000_init_builtins): Add support for V1TImode type.  Add
35836         support for ISA 2.07 128-bit integer builtins.  Define type names
35837         for the VSX/Altivec vector types.
35838         (altivec_init_builtins): Add support for overloaded vector
35839         functions with V1TImode type.
35840         (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
35841         (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
35842         external function.
35843         (rs6000_split_128bit_ok_p): Likewise.
35844         (rs6000_handle_altivec_attribute): Create V1TImode from vector
35845         __int128_t and vector __uint128_t.
35847         * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
35848         and mode attributes.
35849         (VSX_M): Likewise.
35850         (VSX_M2): Likewise.
35851         (VSm): Likewise.
35852         (VSs): Likewise.
35853         (VSr): Likewise.
35854         (VSv): Likewise.
35855         (VS_scalar): Likewise.
35856         (VS_double): Likewise.
35857         (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
35859         * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
35860         we support the ISA 2.07 128-bit integer arithmetic instructions.
35861         (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
35862         (enum rs6000_builtin_type_index): Add fields to hold V1TImode
35863         and TImode types for use with the builtin functions.
35864         (V1TI_type_node): Likewise.
35865         (unsigned_V1TI_type_node): Likewise.
35866         (intTI_type_internal_node): Likewise.
35867         (uintTI_type_internal_node): Likewise.
35869         * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
35870         128-bit builtin functions.
35871         (UNSPEC_VADDEUQM): Likewise.
35872         (UNSPEC_VADDECUQ): Likewise.
35873         (UNSPEC_VSUBCUQ): Likewise.
35874         (UNSPEC_VSUBEUQM): Likewise.
35875         (UNSPEC_VSUBECUQ): Likewise.
35876         (VM): Add V1TImode to vector mode iterators.
35877         (VM2): Likewise.
35878         (VI_unit): Likewise.
35879         (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
35880         (altivec_vaddcuq): Likewise.
35881         (altivec_vsubuqm): Likewise.
35882         (altivec_vsubcuq): Likewise.
35883         (altivec_vaddeuqm): Likewise.
35884         (altivec_vaddecuq): Likewise.
35885         (altivec_vsubeuqm): Likewise.
35886         (altivec_vsubecuq): Likewise.
35888         * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
35889         mode iterators.
35890         (BOOL_128): Likewise.
35891         (BOOL_REGS_OUTPUT): Likewise.
35892         (BOOL_REGS_OP1): Likewise.
35893         (BOOL_REGS_OP2): Likewise.
35894         (BOOL_REGS_UNARY): Likewise.
35895         (BOOL_REGS_AND_CR0): Likewise.
35897         * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
35898         128-bit integer builtin support.
35899         (vec_vadduqm): Likewise.
35900         (vec_vaddecuq): Likewise.
35901         (vec_vaddeuqm): Likewise.
35902         (vec_vsubecuq): Likewise.
35903         (vec_vsubeuqm): Likewise.
35904         (vec_vsubcuq): Likewise.
35905         (vec_vsubuqm): Likewise.
35907         * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
35908         Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
35909         vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
35910         128-bit integer add/subtract to ISA 2.07.
35912 2014-03-12  Joern Rennecke  <joern.rennecke@embecosm.com>
35914         * config/arc/arc.c (arc_predicate_delay_insns):
35915         Fix third argument passed to conditionalize_nonjump.
35917 2014-03-12  Yufeng Zhang  <yufeng.zhang@arm.com>
35919         * config/aarch64/aarch64-builtins.c
35920         (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
35921         BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
35922         * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
35923         instead of __builtin_lfloor.
35924         (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
35926 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
35928         * tree-ssa-ifcombine.c (forwarder_block_to): New function.
35929         (tree_ssa_ifcombine_bb_1): New function.
35930         (tree_ssa_ifcombine_bb): Use it.  Handle also cases where else_bb
35931         is an empty forwarder block to then_bb or vice versa and then_bb
35932         and else_bb are effectively swapped.
35934 2014-03-12  Christian Bruel  <christian.bruel@st.com>
35936         PR target/60264
35937         * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
35938         REG_CFA_DEF_CFA note.
35939         (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
35940         (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
35942 2014-03-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
35944         PR tree-optimization/60454
35945         * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
35947 2014-03-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
35949         * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
35950         Do not define target_cpu_default2 to generic.
35951         * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
35952         * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
35953         * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
35955 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
35956             Marc Glisse  <marc.glisse@inria.fr>
35958         PR tree-optimization/60502
35959         * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
35960         instead of build_low_bits_mask.
35962 2014-03-12  Jakub Jelinek  <jakub@redhat.com>
35964         PR middle-end/60482
35965         * tree-vrp.c (register_edge_assert_for_1): Don't add assert
35966         if there are multiple uses, but op doesn't live on E edge.
35967         * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
35968         clobber stmts before __builtin_unreachable.
35970 2014-03-11  Richard Sandiford  <rdsandiford@googlemail.com>
35972         * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
35973         hard_frame_pointer_rtx.
35974         * cse.c (cse_insn): Remove volatile check.
35975         * cselib.c (cselib_process_insn): Likewise.
35976         * dse.c (scan_insn): Likewise.
35978 2014-03-11  Joern Rennecke  <joern.rennecke@embecosm.com>
35980         * config/arc/arc.c (conditionalize_nonjump): New function,
35981         broken out of ...
35982         (arc_ifcvt): ... this.
35983         (arc_predicate_delay_insns): Use it.
35985 2014-03-11  Joern Rennecke  <joern.rennecke@embecosm.com>
35987         * config/arc/predicates.md (extend_operand): During/after reload,
35988         allow const_int_operand.
35989         * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
35990         (umulsidi3_700): Likewise.  Change operand 2 constraint back to "cL".
35991         (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
35992         to "i".
35993         (umulsi3_highpart_i): Likewise.
35995 2014-03-11  Richard Biener  <rguenther@suse.de>
35997         * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
35998         Add asserts to guard possible wrong-code bugs.
36000 2014-03-11  Richard Biener  <rguenther@suse.de>
36002         PR tree-optimization/60429
36003         PR tree-optimization/60485
36004         * tree-ssa-structalias.c (set_union_with_increment): Properly
36005         take into account all fields that overlap the shifted vars.
36006         (do_sd_constraint): Likewise.
36007         (do_ds_constraint): Likewise.
36008         (get_constraint_for_ptr_offset): Likewise.
36010 2014-03-11  Chung-Lin Tang  <cltang@codesourcery.com>
36012         * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
36013         (nios2_compute_frame_layout):
36014         Add calculation of cfun->machine->fp_save_offset.
36015         (nios2_expand_prologue): Correct setting of frame pointer register
36016         in prologue.
36017         (nios2_expand_epilogue): Update recovery of stack pointer from
36018         frame pointer accordingly.
36019         (nios2_initial_elimination_offset): Update calculation of offset
36020         for eliminating to HARD_FRAME_POINTER_REGNUM.
36022 2014-03-10  Jakub Jelinek  <jakub@redhat.com>
36024         PR ipa/60457
36025         * ipa.c (symtab_remove_unreachable_nodes): Don't call
36026         cgraph_get_create_node on VAR_DECLs.
36028 2014-03-10  Richard Biener  <rguenther@suse.de>
36030         PR middle-end/60474
36031         * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
36033 2014-03-08  Douglas B Rupp  <rupp@gnat.com>
36035         * config/vms/vms.opt (vms_float_format): New variable.
36037 2014-03-08  Tobias Burnus  <burnus@net-b.de>
36039         * doc/invoke.texi (-fcilkplus): Update implementation status.
36041 2014-03-08  Paulo Matos  <paulo@matos-sorge.com>
36042             Richard Biener  <rguenther@suse.de>
36044         * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
36045         consistently accross all TUs.
36046         (run_gcc): Enable -fshort-double automatically at link at link-time
36047         and disallow override.
36049 2014-03-08  Richard Sandiford  <rdsandiford@googlemail.com>
36051         PR target/58271
36052         * config/mips/mips.c (mips_option_override): Promote -mpaired-single
36053         warning to an error.  Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
36054         if they can't be used.
36056 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
36058         * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
36059         for Solaris 11/x86 ld.
36060         * configure: Regenerate.
36062 2014-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
36064         * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
36065         (LIB_TLS_SPEC): Save as ld_tls_libs.
36066         (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
36067         (HAVE_AS_IX86_TLSLDM): New test.
36068         * configure, config.in: Regenerate.
36069         * config/i386/i386.c (legitimize_tls_address): Fall back to
36070         TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
36071         cannot support TLS_MODEL_LOCAL_DYNAMIC.
36072         * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
36073         instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
36075 2014-03-07  Paulo Matos  <paulo@matos-sorge.com>
36077         * common.opt (fira-loop-pressure): Mark as optimization.
36079 2014-03-07  Thomas Schwinge  <thomas@codesourcery.com>
36081         * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
36082         an OpenMP mappable type.
36084 2014-03-06  Matthias Klose  <doko@ubuntu.com>
36086         * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
36087         MULTILIB_OSDIRNAMES is not defined.
36089 2014-03-06  Jakub Jelinek  <jakub@redhat.com>
36090             Meador Inge  <meadori@codesourcery.com>
36092         PR target/58595
36093         * config/arm/arm.c (arm_tls_symbol_p): Remove.
36094         (arm_legitimize_address): Call legitimize_tls_address for any
36095         arm_tls_referenced_p expression, handle constant addend.  Call it
36096         before testing for !TARGET_ARM.
36097         (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
36099 2014-03-06  Richard Biener  <rguenther@suse.de>
36101         PR middle-end/60445
36102         PR lto/60424
36103         PR lto/60427
36104         Revert
36105         2014-03-04  Paulo Matos  <paulo@matos-sorge.com>
36107         * tree-streamer.c (record_common_node): Assert we don't record
36108         nodes with type double.
36109         (preload_common_node): Skip type double, complex double and double
36110         pointer since it is now frontend dependent due to fshort-double option.
36112 2014-03-06  Richard Biener  <rguenther@suse.de>
36114         * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
36115         or -fno-lto is specified and the linker has full plugin support.
36116         * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
36117         (main): Remove -flto processing, adjust lto_mode using use_plugin late.
36118         * lto-wrapper.c (merge_and_complain): Merge compile-time
36119         optimization levels.
36120         (run_gcc): And pass it through to the link options.
36122 2014-03-06  Alexandre Oliva  <aoliva@redhat.com>
36124         PR debug/60381
36125         Revert:
36126         2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
36127         PR debug/59992
36128         * cselib.c (remove_useless_values): Skip to avoid quadratic
36129         behavior if the condition moved from...
36130         (cselib_process_insn): ... here holds.
36132 2014-03-05  Jakub Jelinek  <jakub@redhat.com>
36134         PR plugins/59335
36135         * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
36136         ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
36138         PR plugins/59335
36139         * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
36140         (TM_H): Add x86-tune.def.
36142 2014-03-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
36144         * config/aarch64/aarch64.c (generic_tunings):
36145         Use cortexa57_extra_costs.
36147 2014-03-05  Jakub Jelinek  <jakub@redhat.com>
36149         PR lto/60404
36150         * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
36151         of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
36152         * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
36153         cost for in_lto_p.
36155 2014-03-04  Heiher  <r@hev.cc>
36157         * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
36158         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
36160 2014-03-04  Uros Bizjak  <ubizjak@gmail.com>
36162         * config/i386/predicates.md (const2356_operand): Change to ...
36163         (const2367_operand): ... this.
36164         * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
36165         const2367_operand.
36166         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
36167         (*avx512pf_scatterpf<mode>sf): Ditto.
36168         (avx512pf_scatterpf<mode>df): Ditto.
36169         (*avx512pf_scatterpf<mode>df_mask): Ditto.
36170         (*avx512pf_scatterpf<mode>df): Ditto.
36171         * config/i386/i386.c (ix86_expand_builtin): Update
36172         incorrect hint operand error message.
36174 2014-03-04  Richard Biener  <rguenther@suse.de>
36176         * lto-section-in.c (lto_get_section_data): Fix const cast.
36178 2014-03-04  Paulo Matos  <paulo@matos-sorge.com>
36180         * tree-streamer.c (record_common_node): Assert we don't record
36181         nodes with type double.
36182         (preload_common_node): Skip type double, complex double and double
36183         pointer since it is now frontend dependent due to fshort-double option.
36185 2014-03-04  Richard Biener  <rguenther@suse.de>
36187         PR lto/60405
36188         * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
36189         (lto_input_toplevel_asms): Likewise.
36190         * lto-section-in.c (lto_get_section_data): Instead do it here
36191         for every section.
36193 2014-03-04  Richard Biener  <rguenther@suse.de>
36195         PR tree-optimization/60382
36196         * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
36197         dead PHIs a reduction.
36199 2014-03-03  Uros Bizjak  <ubizjak@gmail.com>
36201         * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
36202         hint value.
36203         (_mm_prefetch): Move out of GCC target("sse") pragma.
36204         * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
36205         GCC target("prfchw") pragma.
36206         * config/i386/i386.md (prefetch): Emit prefetchwt1 only
36207         for locality <= 2.
36208         * config/i386/i386.c (ix86_option_override_internal): Enable
36209         -mprfchw with -mprefetchwt1.
36211 2014-03-03  Joern Rennecke  <joern.rennecke@embecosm.com>
36213         * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
36214         Mark as varying.
36216 2014-03-03  Joern Rennecke  <joern.rennecke@embecosm.com>
36218         * opts.h (CL_PCH_IGNORE): Define.
36219         * targhooks.c (option_affects_pch_p):
36220         Return false for options that have CL_PCH_IGNORE set.
36221         * opt-functions.awk: Process PchIgnore.
36222         * doc/options.texi: Document PchIgnore.
36224         * config/arc/arc.opt (misize): Add PchIgnore property.
36226 2014-03-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36228         * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
36229         reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
36230         constraint on constants to permit them being loaded into
36231         GENERAL_REGS or BASE_REGS.
36233 2014-03-03  Nick Clifton  <nickc@redhat.com>
36235         * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
36236         anti-cacnonical alternatives.
36237         (negandhi3_real): New pattern.
36238         * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
36240 2014-03-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
36242         * config/avr/avr-mcus.def: Remove atxmega16x1.
36243         * config/avr/avr-tables.opt: Regenerate.
36244         * config/avr/t-multilib: Regenerate.
36245         * doc/avr-mmcu.texi: Regenerate.
36247 2014-03-03  Tobias Grosser  <tobias@grosser.es>
36248             Mircea Namolaru  <mircea.namolaru@inria.fr>
36250         PR tree-optimization/58028
36251         * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
36252         scalar dimensions.
36254 2014-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
36256         * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
36257         not handled by recognizers.
36259 2014-03-03  Jakub Jelinek  <jakub@redhat.com>
36261         PR middle-end/60175
36262         * function.c (expand_function_end): Don't emit
36263         clobber_return_register sequence if clobber_after is a BARRIER.
36264         * cfgexpand.c (construct_exit_block): Append instructions before
36265         return_label to prev_bb.
36267 2014-03-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36269         * config/rs6000/constraints.md: Document reserved use of "wc".
36271 2014-03-02  Jan Hubicka  <hubicka@ucw.cz>
36273         PR ipa/60150
36274         * ipa.c (function_and_variable_visibility): When dissolving comdat
36275         group, also set all symbols to local.
36277 2014-03-02  Jan Hubicka  <hubicka@ucw.cz>
36279         PR ipa/60306
36281         Revert:
36282         2013-12-14  Jan Hubicka  <jh@suse.cz>
36283         PR middle-end/58477
36284         * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
36286 2014-03-02  Jon Beniston  <jon@beniston.com>
36288         PR bootstrap/48230
36289         PR bootstrap/50927
36290         PR bootstrap/52466
36291         PR target/46898
36292         * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
36293         (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
36294         * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
36295         (simple_return, *simple_return): New patterns
36296         * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
36297         * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
36299 2014-03-01  Paolo Carlini  <paolo.carlini@oracle.com>
36301         * dwarf2out.c (gen_subprogram_die): Tidy.
36303 2014-03-01  Oleg Endo  <olegendo@gcc.gnu.org>
36305         PR target/60071
36306         * config/sh/sh.md (*mov_t_msb_neg): Split into ...
36307         (*mov_t_msb_neg_negc): ... this new insn.
36309 2014-02-28  Jason Merrill  <jason@redhat.com>
36311         PR c++/58678
36312         * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
36313         function.
36315 2014-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
36317         PR c++/60314
36318         * dwarf2out.c (decltype_auto_die): New static.
36319         (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
36320         (gen_type_die_with_usage): Handle 'decltype(auto)'.
36321         (is_cxx_auto): Likewise.
36323 2014-02-28  Ian Bolton  <ian.bolton@arm.com>
36325         * config/aarch64/aarch64.h: Define __ARM_NEON by default if
36326         we are not using general regs only.
36328 2014-02-28  Richard Biener  <rguenther@suse.de>
36330         PR target/60280
36331         * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
36332         previous fix and only allow to remove trivial pre-headers
36333         and latches.  Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
36334         (remove_forwarder_block): Properly update the latch of a loop.
36336 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
36338         PR debug/59992
36339         * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
36340         (cselib_preserved_hash_table): New.
36341         (preserve_constants_and_equivs): Move preserved vals to it.
36342         (cselib_find_slot): Look it up first.
36343         (cselib_init): Initialize it.
36344         (cselib_finish): Release it.
36345         (dump_cselib_table): Dump it.
36347 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
36349         PR debug/59992
36350         * cselib.c (remove_useless_values): Skip to avoid quadratic
36351         behavior if the condition moved from...
36352         (cselib_process_insn): ... here holds.
36354 2014-02-28  Alexandre Oliva  <aoliva@redhat.com>
36356         PR debug/57232
36357         * var-tracking.c (vt_initialize): Apply the same condition to
36358         preserve the CFA base value.
36360 2014-02-28  Joey Ye  <joey.ye@arm.com>
36362         PR target/PR60169
36363         * config/arm/arm.c (thumb_far_jump_used_p): Don't change
36364         if reload in progress or completed.
36366 2014-02-28  Tobias Burnus  <burnus@net-b.de>
36368         PR middle-end/60147
36369         * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
36370         NAMELIST_DECL.
36372 2014-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36374         * doc/tm.texi.in (Condition Code Status): Update documention for
36375         relative locations of cc0-setter and cc0-user.
36377 2014-02-27  Jeff Law  <law@redhat.com>
36379         PR rtl-optimization/52714
36380         * combine.c (try_combine): When splitting an unrecognized PARALLEL
36381         into two independent simple sets, if I3 is a jump, ensure the
36382         pattern we place into I3 is a (set (pc) ...).
36384 2014-02-27  Mikael Pettersson  <mikpe@it.uu.se>
36385             Jeff Law  <law@redhat.com>
36387         PR rtl-optimization/49847
36388         * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
36389         are in different blocks.
36390         * doc/tm.texi (Condition Code Status): Update documention for
36391         relative locations of cc0-setter and cc0-user.
36393 2014-02-27  Vladimir Makarov  <vmakarov@redhat.com>
36395         PR target/59222
36396         * lra.c (lra_emit_add): Check SUBREG too.
36398 2014-02-27  Andreas Schwab  <schwab@suse.de>
36400         * config/m68k/m68k.c (m68k_option_override): Disable
36401         -flive-range-shrinkage for classic m68k.
36402         (m68k_override_options_after_change): Likewise.
36404 2014-02-27  Marek Polacek  <polacek@redhat.com>
36406         PR middle-end/59223
36407         * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
36408         -Wmaybe-uninitialized.
36410 2014-02-27  Alan Modra  <amodra@gmail.com>
36412         PR target/57936
36413         * reload1.c (emit_input_reload_insns): When reload_override_in,
36414         set old to rl->in_reg when rl->in_reg is a subreg.
36416 2014-02-26  Richard Biener  <rguenther@suse.de>
36418         PR bootstrap/60343
36419         * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
36421 2014-02-25  Ilya Tocar  <ilya.tocar@intel.com>
36423         * common/config/i386/predicates.md (const1256_operand): Remove.
36424         (const2356_operand): New.
36425         (const_1_to_2_operand): Remove.
36426         * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
36427         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
36428         (*avx512pf_gatherpf<mode>sf): Ditto.
36429         (avx512pf_gatherpf<mode>df): Ditto.
36430         (*avx512pf_gatherpf<mode>df_mask): Ditto.
36431         (*avx512pf_gatherpf<mode>df): Ditto.
36432         (avx512pf_scatterpf<mode>sf): Ditto.
36433         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
36434         (*avx512pf_scatterpf<mode>sf): Ditto.
36435         (avx512pf_scatterpf<mode>df): Ditto.
36436         (*avx512pf_scatterpf<mode>df_mask): Ditto.
36437         (*avx512pf_scatterpf<mode>df): Ditto.
36438         * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
36440 2014-02-26  Ilya Tocar  <ilya.tocar@intel.com>
36442         * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
36443         (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
36444         (_mm512_mask_testn_epi64_mask): Move to ...
36445         * config/i386/avx512cdintrin.h: Here.
36446         * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
36447         * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
36448         (avx512f_scalef<mode><mask_name><round_name>): Ditto.
36449         (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
36450         TARGET_AVX512F from TARGET_AVX512CD.
36452 2014-02-26  Richard Biener  <rguenther@suse.de>
36454         PR ipa/60327
36455         * ipa.c (walk_polymorphic_call_targets): Properly guard
36456         call to inline_update_overall_summary.
36458 2014-02-26  Bin Cheng  <bin.cheng@arm.com>
36460         PR target/60280
36461         * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
36462         and latches only if requested.  Fix latch if it is removed.
36463         * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
36464         LOOPS_HAVE_PREHEADERS.
36466 2014-02-25  Andrew Pinski  <apinski@cavium.com>
36468         * builtins.c (expand_builtin_thread_pointer): Create a new target
36469         when the target is NULL.
36471 2014-02-25  Vladimir Makarov  <vmakarov@redhat.com>
36473         PR rtl-optimization/60317
36474         * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
36475         * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
36476         * lra-assigns.c: Include params.h.
36477         (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
36478         other reload pseudos considerations.
36480 2014-02-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36482         * config/rs6000/vector.md (*vector_unordered<mode>): Change split
36483         to use canonical form for nor<mode>3.
36485 2014-02-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
36487         PR target/55426
36488         * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
36489         conversions.
36491 2014-02-25  Ilya Tocar  <ilya.tocar@intel.com>
36493         * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
36494         (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
36495         (ix86_handle_option): Handle OPT_mprefetchwt1.
36496         * config/i386/cpuid.h (bit_PREFETCHWT1): New.
36497         * config/i386/driver-i386.c (host_detect_local_cpu): Detect
36498         PREFETCHWT1 CPUID.
36499         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
36500         OPTION_MASK_ISA_PREFETCHWT1.
36501         * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
36502         (PTA_PREFETCHWT1): New.
36503         (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
36504         (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
36505         * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
36506         * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
36507         (*prefetch_avx512pf_<mode>_: Change into ...
36508         (*prefetch_prefetchwt1_<mode>: This.
36509         * config/i386/i386.opt (mprefetchwt1): New.
36510         * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
36511         (_mm_prefetch): Handle intent to write.
36512         * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
36514 2014-02-25  Richard Biener  <rguenther@suse.de>
36516         PR middle-end/60291
36517         * emit-rtl.c (mem_attrs_htab): Remove.
36518         (mem_attrs_htab_hash): Likewise.
36519         (mem_attrs_htab_eq): Likewise.
36520         (set_mem_attrs): Always allocate new mem-attrs when something changed.
36521         (init_emit_once): Do not allocate mem_attrs_htab.
36523 2014-02-25  Richard Biener  <rguenther@suse.de>
36525         PR lto/60319
36526         * lto-opts.c (lto_write_options): Output non-explicit conservative
36527         -fwrapv, -fno-trapv and -fno-strict-overflow.
36528         * lto-wrapper.c (merge_and_complain): Handle merging those options.
36529         (run_gcc): And pass them through.
36531 2014-02-25  Andrey Belevantsev  <abel@ispras.ru>
36533         * sel-sched.c (calculate_new_fences): New parameter ptime.
36534         Calculate it as a maximum over all fence cycles.
36535         (sel_sched_region_2): Adjust the call to calculate_new_fences.
36536         Print the final schedule timing when sched_verbose.
36538 2014-02-25  Andrey Belevantsev  <abel@ispras.ru>
36540         PR rtl-optimization/60292
36541         * sel-sched.c (fill_vec_av_set): Do not reset target availability
36542         bit fot the fence instruction.
36544 2014-02-24  Alangi Derick  <alangiderick@gmail.com>
36546         * calls.h: Fix typo in comment.
36548 2014-02-24  John David Anglin  <danglin@gcc.gnu.org>
36550         * config/pa/pa.c (pa_output_move_double): Don't valididate when
36551         adjusting offsetable addresses.
36553 2014-02-24  Guozhi Wei  <carrot@google.com>
36555         * sparseset.h (sparseset_pop): Fix the wrong index.
36557 2014-02-24  Walter Lee  <walt@tilera.com>
36559         * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
36560         (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
36561         triplet.
36562         * common/config/tilegx/tilegx-common.c
36563         (TARGET_DEFAULT_TARGET_FLAGS): Define.
36564         * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
36565         (LINK_SPEC): Ditto.
36566         * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
36567         * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
36568         (tilegx_gimplify_va_arg_expr): Handle big endian.
36569         (tilegx_expand_unaligned_load): Ditto.
36570         (tilegx_expand_unaligned_store): Ditto.
36571         (TARGET_RETURN_IN_MSB): New.
36572         * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
36573         (TARGET_ENDIAN_DEFAULT): New.
36574         (TARGET_BIG_ENDIAN): Handle big endian.
36575         (BYTES_BIG_ENDIAN): Ditto.
36576         (WORDS_BIG_ENDIAN): Ditto.
36577         (FLOAT_WORDS_BIG_ENDIAN): Ditto.
36578         (ENDIAN_SPEC): New.
36579         (EXTRA_SPECS): New.
36580         * config/tilegx/tilegx.md (extv): Handle big endian.
36581         (extzv): Ditto.
36582         (insn_st<n>): Ditto.
36583         (insn_st<n>_add<bitsuffix>): Ditto.
36584         (insn_stnt<n>): Ditto.
36585         (insn_stnt<n>_add<bitsuffix>):Ditto.
36586         (vec_interleave_highv8qi): Handle big endian.
36587         (vec_interleave_highv8qi_be): New.
36588         (vec_interleave_highv8qi_le): New.
36589         (insn_v1int_h): Handle big endian.
36590         (vec_interleave_lowv8qi): Handle big endian.
36591         (vec_interleave_lowv8qi_be): New.
36592         (vec_interleave_lowv8qi_le): New.
36593         (insn_v1int_l): Handle big endian.
36594         (vec_interleave_highv4hi): Handle big endian.
36595         (vec_interleave_highv4hi_be): New.
36596         (vec_interleave_highv4hi_le): New.
36597         (insn_v2int_h): Handle big endian.
36598         (vec_interleave_lowv4hi): Handle big endian.
36599         (vec_interleave_lowv4hi_be): New.
36600         (vec_interleave_lowv4hi_le): New.
36601         (insn_v2int_l): Handle big endian.
36602         (vec_interleave_highv2si): Handle big endian.
36603         (vec_interleave_highv2si_be): New.
36604         (vec_interleave_highv2si_le): New.
36605         (insn_v4int_h): Handle big endian.
36606         (vec_interleave_lowv2si): Handle big endian.
36607         (vec_interleave_lowv2si_be): New.
36608         (vec_interleave_lowv2si_le): New.
36609         (insn_v4int_l): Handle big endian.
36610         * config/tilegx/tilegx.opt (mbig-endian): New option.
36611         (mlittle-endian): New option.
36612         * doc/install.texi: Document tilegxbe-linux.
36613         * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
36615 2014-02-24  Martin Jambor  <mjambor@suse.cz>
36617         PR ipa/60266
36618         * ipa-cp.c (propagate_constants_accross_call): Bail out early if
36619         there are no parameter descriptors.
36621 2014-02-24  Andrey Belevantsev  <abel@ispras.ru>
36623         PR rtl-optimization/60268
36624         * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
36625         initialization to ...
36626         (sched_rgn_init): ... here.
36627         (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
36629 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
36631         * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
36632         names.
36634 2014-02-23  Edgar E. Iglesias  <edgar.iglesias@xilinx.com>
36636         * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
36637         definition.
36639 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
36641         * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
36642         define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
36644 2014-02-23  David Holsgrove  <david.holsgrove@xilinx.com>
36646         * config/microblaze/predicates.md: Add cmp_op predicate.
36647         * config/microblaze/microblaze.md: Add branch_compare instruction
36648         which uses cmp_op predicate and emits cmp insn before branch.
36649         * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
36650         to microblaze_expand_conditional_branch and consolidate logic.
36651         (microblaze_expand_conditional_branch): emit branch_compare
36652         insn instead of handling cmp op separate from branch insn.
36654 2014-02-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36656         * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
36657         to permit subregs.
36659 2014-02-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36661         * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
36662         define_insn with define_expand and new define_insn
36663         *altivec_lve<VI_char>x_internal.
36664         (altivec_stve<VI_char>x): Replace define_insn with define_expand
36665         and new define_insn *altivec_stve<VI_char>x_internal.
36666         * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
36667         prototype.
36668         * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
36669         lve*x built-ins.
36670         (altivec_expand_stvex_be): New function.
36672 2014-02-22  Joern Rennecke  <joern.rennecke@embecosm.com>
36674         * config/avr/avr.c (avr_can_eliminate): Allow elimination from
36675         ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
36676         * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
36677         ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
36679 2014-02-21  Vladimir Makarov  <vmakarov@redhat.com>
36681         PR target/60298
36682         * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
36683         instead of emit_move_insn.
36685 2014-02-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36687         * config/rs6000/altivec.md (altivec_vsumsws): Replace second
36688         vspltw with vsldoi.
36689         (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
36690         gen_altivec_vsumsws.
36692 2014-02-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36694         * config/rs6000/altivec.md (altivec_lvxl): Rename as
36695         *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
36696         (altivec_lvxl_<mode>): New define_expand incorporating
36697         -maltivec=be semantics where needed.
36698         (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
36699         (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
36700         semantics where needed.
36701         (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
36702         (altivec_stvx_<mode>): New define_expand incorporating
36703         -maltivec=be semantics where needed.
36704         (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
36705         VM2 iterator instead of V4SI.
36706         (altivec_stvxl_<mode>): New define_expand incorporating
36707         -maltivec=be semantics where needed.
36708         * config/rs6000/rs6000-builtin.def: Add new built-in definitions
36709         LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
36710         LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
36711         STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
36712         STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
36713         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
36714         ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
36715         similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
36716         ALTIVEC_BUILTIN_STVXL.
36717         * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
36718         (altivec_expand_stvx_be): Likewise.
36719         * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
36720         (altivec_expand_lvx_be): Likewise.
36721         (altivec_expand_stvx_be): Likewise.
36722         (altivec_expand_builtin): Add cases for
36723         ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
36724         ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
36725         (altivec_init_builtins): Add definitions for
36726         __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
36727         __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
36729 2014-02-21  Catherine Moore  <clm@codesourcery.com>
36731         * doc/invoke.texi (mvirt, mno-virt): Document.
36732         * config/mips/mips.opt (mvirt): New option.
36733         * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
36735 2014-02-21  Richard Biener  <rguenther@suse.de>
36737         PR tree-optimization/60276
36738         * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
36739         (STMT_VINFO_MIN_NEG_DIST): New macro.
36740         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
36741         STMT_VINFO_MIN_NEG_DIST.
36742         * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
36743         made for negative dependence distances still hold.
36745 2014-02-21  Richard Biener  <rguenther@suse.de>
36747         PR middle-end/60291
36748         * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
36749         DECL_INITIAL for globals not in the current function context.
36751 2014-02-21  Jakub Jelinek  <jakub@redhat.com>
36753         PR tree-optimization/56490
36754         * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
36755         * tree-ssa-uninit.c: Include params.h.
36756         (compute_control_dep_chain): Add num_calls argument, return false
36757         if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
36758         num_calls to recursive call.
36759         (find_predicates): Change dep_chain into normal array,
36760         cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
36761         variable and adjust compute_control_dep_chain caller.
36762         (find_def_preds): Likewise.
36764 2014-02-21  Thomas Schwinge  <thomas@codesourcery.com>
36766         * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
36767         <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
36769 2014-02-21  Nick Clifton  <nickc@redhat.com>
36771         * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
36772         (pushhi1): Likewise.
36773         (popqi1): Add mode to pre_dec.
36774         (pophi1): Likewise.
36776 2014-02-21  Jakub Jelinek  <jakub@redhat.com>
36778         * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
36779         mode for mask of V8SFmode permutation.
36781 2014-02-20  Richard Henderson  <rth@redhat.com>
36783         PR c++/60272
36784         * builtins.c (expand_builtin_atomic_compare_exchange): Always make
36785         a new pseudo for OLDVAL.
36787 2014-02-20  Jakub Jelinek  <jakub@redhat.com>
36789         PR target/57896
36790         * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
36791         gen_reg_rtx if d->testing_p.
36792         (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
36793         if d->testing_p and we will certainly return true.
36794         (expand_vec_perm_even_odd_1): Likewise.  Don't call gen_reg_rtx
36795         if d->testing_p.
36797 2014-02-20  Uros Bizjak  <ubizjak@gmail.com>
36799         * emit-rtl.c (gen_reg_rtx): Assert that
36800         crtl->emit.regno_pointer_align_length is non-zero.
36802 2014-02-20  Richard Henderson  <rth@redhat.com>
36804         PR c++/60272
36805         * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
36806         on failure the store back into EXPECT.
36808 2014-02-20  Chung-Lin Tang  <cltang@codesourcery.com>
36809             Sandra Loosemore  <sandra@codesourcery.com>
36811         * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
36812         * config/nios2/nios2.c (nios2_function_profiler): Add
36813         -fPIC (flag_pic == 2) support.
36814         (nios2_handle_custom_fpu_cfg): Fix warning parameter.
36815         (nios2_large_offset_p): New function.
36816         (nios2_unspec_reloc_p): Move up position, update to use
36817         nios2_large_offset_p.
36818         (nios2_unspec_address): Remove function.
36819         (nios2_unspec_offset): New function.
36820         (nios2_large_got_address): New function.
36821         (nios2_got_address): Add large offset support.
36822         (nios2_legitimize_tls_address): Update usage of removed and new
36823         functions.
36824         (nios2_symbol_binds_local_p): New function.
36825         (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
36826         (nios2_legitimize_address): Update to use nios2_large_offset_p.
36827         (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
36828         (nios2_print_operand): Merge H/L processing, add hiadj/lo
36829         processing for (const (unspec ...)).
36830         (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
36832 2014-02-20  Richard Biener  <rguenther@suse.de>
36834         * tree-cfg.c (replace_uses_by): Mark altered BBs before
36835         doing the substitution.
36836         (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
36838 2014-02-20  Martin Jambor  <mjambor@suse.cz>
36840         PR ipa/55260
36841         * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
36842         info when checking whether lattices are bottom.
36844 2014-02-20  Richard Biener  <rguenther@suse.de>
36846         PR middle-end/60221
36847         * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
36848         regions at -O0.
36850 2014-02-20  Jan Hubicka  <hubicka@ucw.cz>
36852         PR ipa/58555
36853         * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
36854         parameter specifying the scaling.
36855         (inline_call): Update.
36856         (want_inline_recursively): Guard division by zero.
36857         (recursive_inlining): Update.
36858         * ipa-inline.h (clone_inlined_nodes): Update.
36860 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
36862         PR target/60204
36863         * config/i386/i386.c (classify_argument): Pass structures of size
36864         64 bytes or less in register.
36866 2014-02-20  Ilya Tocar  <ilya.tocar@intel.com>
36867             Kirill Yukhin  <kirill.yukhin@intel.com>
36869         * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
36870         (_mm_rcp28_round_ss): Ditto.
36871         (_mm_rsqrt28_round_sd): Ditto.
36872         (_mm_rsqrt28_round_ss): Ditto.
36873         * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
36874         (_mm_rcp14_round_ss): Ditto.
36875         (_mm_rsqrt14_round_sd): Ditto.
36876         (_mm_rsqrt14_round_ss): Ditto.
36877         * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
36878         the first input operand, get rid of match_dup.
36879         (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
36880         attribute to sse.
36881         (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
36882         Ditto.
36883         (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
36884         operand as the first input operand, set type attribute.
36885         (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
36886         Set type attribute.
36887         (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
36888         operand as the first input operand, set type attribute.
36890 2014-02-19  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
36892         * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
36893         bit of zero.
36895 2014-02-19  H.J. Lu  <hongjiu.lu@intel.com>
36897         PR target/60207
36898         * config/i386/i386.c (construct_container): Remove TFmode check
36899         for X86_64_INTEGER_CLASS.
36901 2014-02-19  Uros Bizjak  <ubizjak@gmail.com>
36903         PR target/59794
36904         * config/i386/i386.c (type_natural_mode): Warn for ABI changes
36905         only when -Wpsabi is enabled.
36907 2014-02-19  Michael Hudson-Doyle  <michael.hudson@linaro.org>
36909         PR target/59799
36910         * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
36911         passing arrays in registers are the same as for structs, so remove the
36912         special case for them.
36914 2014-02-19  Eric Botcazou  <ebotcazou@adacore.com>
36916         * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
36917         destination type, extract only the valid bits if the source type is not
36918         integral and has a different mode.
36920 2014-02-19  Richard Biener  <rguenther@suse.de>
36922         PR ipa/60243
36923         * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
36924         for all calls.
36926 2014-02-19  Richard Biener  <rguenther@suse.de>
36928         PR ipa/60243
36929         * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
36930         (ipa_modify_call_arguments): Emit an argument load explicitely and
36931         preserve virtual SSA form there and for the replacement call.
36932         Do not update SSA form nor free dominance info.
36934 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
36936         * ipa.c (function_and_variable_visibility): Also clear WEAK
36937         flag when disolving COMDAT_GROUP.
36939 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
36941         * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
36942         * ipa-prop.c (ipa_set_jf_known_type): Return early when
36943         not devirtualizing.
36944         (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
36945         do more sanity checks.
36946         (detect_type_change): Return true when giving up early.
36947         (compute_complex_assign_jump_func): Fix type parameter of
36948         ipa_set_ancestor_jf.
36949         (compute_complex_ancestor_jump_func): Likewise.
36950         (update_jump_functions_after_inlining): Fix updating of
36951         ancestor function.
36952         * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
36954 2014-02-18  Jan Hubicka  <hubicka@ucw.cz>
36956         * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
36957         inline clones when edge disappears.
36959 2014-02-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
36961         PR target/60203
36962         * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
36963         Split 64-bit moves into 2 patterns.  Do not allow the use of
36964         direct move for TDmode in little endian, since the decimal value
36965         has little endian bytes within a word, but the 64-bit pieces are
36966         ordered in a big endian fashion, and normal subreg's of TDmode are
36967         not allowed.
36968         (mov<mode>_64bit_dm): Likewise.
36969         (movtd_64bit_nodm): Likewise.
36971 2014-02-18  Eric Botcazou  <ebotcazou@adacore.com>
36973         PR tree-optimization/60174
36974         * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
36975         statement of an SSA_NAME that occurs in an abnormal PHI node.
36977 2014-02-18  Jakub Jelinek  <jakub@redhat.com>
36979         PR sanitizer/60142
36980         * final.c (SEEN_BB): Remove.
36981         (SEEN_NOTE, SEEN_EMITTED): Renumber.
36982         (final_scan_insn): Don't force_source_line on second
36983         NOTE_INSN_BASIC_BLOCK.
36985 2014-02-18  Uros Bizjak  <ubizjak@gmail.com>
36987         PR target/60205
36988         * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
36989         * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
36990         (type_natural_mode): Warn ABI change when %zmm register is not
36991         available for AVX512F vector value passing.
36993 2014-02-18  Kai Tietz  <ktietz@redhat.com>
36995         PR target/60193
36996         * config/i386/i386.c (ix86_expand_prologue): Use value in
36997         rax register as displacement when restoring %r10 or %rax.
36998         Fix wrong offset when restoring both registers.
37000 2014-02-18  Eric Botcazou  <ebotcazou@adacore.com>
37002         * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
37003         assertion with conditional return.
37005 2014-02-18  Jakub Jelinek  <jakub@redhat.com>
37006             Uros Bizjak  <ubizjak@gmail.com>
37008         PR driver/60233
37009         * config/i386/driver-i386.c (host_detect_local_cpu): If
37010         YMM state is not saved by the OS, also clear has_f16c.  Move
37011         CPUID 0x80000001 handling before YMM state saving checking.
37013 2014-02-18  Andrey Belevantsev  <abel@ispras.ru>
37015         PR rtl-optimization/58960
37016         * haifa-sched.c (alloc_global_sched_pressure_data): New,
37017         factored out from ...
37018         (sched_init): ... here.
37019         (free_global_sched_pressure_data): New, factored out from ...
37020         (sched_finish): ... here.
37021         * sched-int.h (free_global_sched_pressure_data): Declare.
37022         * sched-rgn.c (nr_regions_initial): New static global.
37023         (haifa_find_rgns): Initialize it.
37024         (schedule_region): Disable sched-pressure for the newly
37025         generated regions.
37027 2014-02-17  Richard Biener  <rguenther@suse.de>
37029         * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
37030         release SSA defs of pattern stmts.
37032 2014-02-17  Richard Biener  <rguenther@suse.de>
37034         * tree-inline.c (expand_call_inline): Release the virtual
37035         operand defined by the call we are about to inline.
37037 2014-02-17  Richard Biener  <rguenther@suse.de>
37039         * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
37041 2014-02-17  Kirill Yukhin  <kirill.yukhin@intel.com>
37042             Ilya Tocar  <ilya.tocar@intel.com>
37044         * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
37045         arguments order in builtin.
37046         (_mm512_permutexvar_epi64): Ditto.
37047         (_mm512_mask_permutexvar_epi64): Ditto
37048         (_mm512_maskz_permutexvar_epi32): Ditto
37049         (_mm512_permutexvar_epi32): Ditto
37050         (_mm512_mask_permutexvar_epi32): Ditto
37052 2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37054         * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
37055         (p8_vmrgow): Likewise.
37057 2014-02-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37059         * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
37060         endian targets.
37062 2014-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
37064         PR target/60203
37065         * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
37066         (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
37067         into 64-bit and 32-bit moves.  On 64-bit moves, add support for
37068         using direct move instructions on ISA 2.07.  Also adjust
37069         instruction length for 64-bit.
37070         (mov<mode>_64bit, TFmode/TDmode): Likewise.
37071         (mov<mode>_32bit, TFmode/TDmode): Likewise.
37073 2014-02-15  Alan Modra  <amodra@gmail.com>
37075         PR target/58675
37076         PR target/57935
37077         * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
37078         find_replacement on parts of insn rtl that might be reloaded.
37080 2014-02-15  Richard Biener  <rguenther@suse.de>
37082         PR tree-optimization/60183
37083         * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
37084         (tree_ssa_phiprop): Calculate and free post-dominators.
37086 2014-02-14  Jeff Law  <law@redhat.com>
37088         PR rtl-optimization/60131
37089         * ree.c (get_extended_src_reg): New function.
37090         (combine_reaching_defs): Use it rather than assuming location of REG.
37091         (find_and_remove_re): Verify first operand of extension is
37092         a REG before adding the insns to the copy list.
37094 2014-02-14  Roland McGrath  <mcgrathr@google.com>
37096         * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
37097         * configure: Regenerated.
37098         * config.in: Regenerated.
37099         * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
37100         instead of ASM_SHORT.
37102 2014-02-14  Vladimir Makarov  <vmakarov@redhat.com>
37103             Richard Earnshaw  <rearnsha@arm.com>
37105         PR rtl-optimization/59535
37106         * lra-constraints.c (process_alt_operands): Encourage alternative
37107         when unassigned pseudo class is superset of the alternative class.
37108         (inherit_reload_reg): Don't inherit when optimizing for code size.
37109         * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
37110         returning CORE_REGS for anything but Thumb1 and BASE_REGS for
37111         modes not less than 4 for Thumb1.
37113 2014-02-14  Kyle McMartin  <kyle@redhat.com>
37115         PR pch/60010
37116         * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
37118 2014-02-14  Richard Biener  <rguenther@suse.de>
37120         * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
37121         (get_frame_arg): Drop the assert with langhook types_compatible_p.
37122         Do not strip INDIRECT_REFs.
37124 2014-02-14  Richard Biener  <rguenther@suse.de>
37126         PR lto/60179
37127         * lto-streamer-out.c (DFS_write_tree_body): Do not follow
37128         DECL_FUNCTION_SPECIFIC_TARGET.
37129         (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
37130         * tree-streamer-out.c (pack_ts_target_option): Remove.
37131         (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
37132         (write_ts_function_decl_tree_pointers): Do not stream
37133         DECL_FUNCTION_SPECIFIC_TARGET.
37134         * tree-streamer-in.c (unpack_ts_target_option): Remove.
37135         (unpack_value_fields): Do not stream TS_TARGET_OPTION.
37136         (lto_input_ts_function_decl_tree_pointers): Do not stream
37137         DECL_FUNCTION_SPECIFIC_TARGET.
37139 2014-02-14  Jakub Jelinek  <jakub@redhat.com>
37141         * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
37142         (get_initial_def_for_induction, vectorizable_induction): Ignore
37143         debug stmts when looking for exit_phi.
37144         (vectorizable_live_operation): Fix up condition.
37146 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
37148         * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
37149         nreverse() because it changes the content of original tree list.
37151 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
37153         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
37154         * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
37156 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
37158         * config/nds32/nds32.c (nds32_naked_function_p): Follow the
37159         GNU coding standards.
37161 2014-02-13  Jakub Jelinek  <jakub@redhat.com>
37163         PR debug/60152
37164         * dwarf2out.c (gen_subprogram_die): Don't call
37165         add_calling_convention_attribute if subr_die is old_die.
37167 2014-02-13  Sharad Singhai  <singhai@google.com>
37169         * doc/optinfo.texi: Fix order of nodes.
37171 2014-02-13  Uros Bizjak  <ubizjak@gmail.com>
37173         * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
37174         operands[2], not operands[3].
37176 2014-02-13  Richard Biener  <rguenther@suse.de>
37178         PR bootstrap/59878
37179         * doc/install.texi (ISL): Update recommended version to 0.12.2,
37180         mention the possibility of an in-tree build.
37181         (CLooG): Update recommended version to 0.18.1, mention the
37182         possibility of an in-tree build and clarify that the ISL
37183         bundled with CLooG does not work.
37185 2014-02-13  Jakub Jelinek  <jakub@redhat.com>
37187         PR target/43546
37188         * expr.c (compress_float_constant): If x is a hard register,
37189         extend into a pseudo and then move to x.
37191 2014-02-13  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37193         * config/s390/s390.c (s390_asm_output_function_label): Fix crash
37194         caused by bad second argument to warning_at() with -mhotpatch and
37195         nested functions (e.g. with gfortran).
37197 2014-02-13  Richard Sandiford  <rdsandiford@googlemail.com>
37199         * opts.c (option_name): Remove "enabled by default" rider.
37201 2014-02-12  John David Anglin  <danglin@gcc.gnu.org>
37203         * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
37205 2014-02-12  H.J. Lu  <hongjiu.lu@intel.com>
37206             Uros Bizjak  <ubizjak@gmail.com>
37208         PR target/60151
37209         * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
37210         * configure: Regenerated.
37212 2014-02-12  Richard Biener  <rguenther@suse.de>
37214         * vec.c (vec_prefix::calculate_allocation): Move as
37215         inline variant to vec.h.
37216         (vec_prefix::calculate_allocation_1): New out-of-line version.
37217         * vec.h (vec_prefix::calculate_allocation_1): Declare.
37218         (vec_prefix::m_has_auto_buf): Rename to ...
37219         (vec_prefix::m_using_auto_storage): ... this.
37220         (vec_prefix::calculate_allocation): Inline the easy cases
37221         and dispatch to calculate_allocation_1 which doesn't need the
37222         prefix address.
37223         (va_heap::reserve): Use gcc_checking_assert.
37224         (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
37225         m_using_auto_storage.
37226         (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
37227         member and adjust.
37228         (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
37229         (vec<T, va_heap, vl_ptr>::release): Avoid casting.
37230         (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
37232 2014-02-12  Richard Biener  <rguenther@suse.de>
37234         * gcse.c (compute_transp): break from loop over canon_modify_mem_list
37235         when we found a dependence.
37237 2014-02-12  Thomas Schwinge  <thomas@codesourcery.com>
37239         * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
37240         common code...
37241         (maybe_fold_stmt): ... into this new function.
37242         * omp-low.c (lower_omp): Update comment.
37244         * omp-low.c (lower_omp_target): Add clobber for sizes array, after
37245         last use.
37247         * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
37248         dereference.
37250 2014-02-12  James Greenhalgh  <james.greenhalgh@arm.com>
37252         * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
37253         identifiers in comments.
37254         (cortexa53_extra_costs): Likewise.
37255         * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
37256         (cortexa7_extra_costs): Likewise.
37257         (cortexa12_extra_costs): Likewise.
37258         (cortexa15_extra_costs): Likewise.
37259         (v7m_extra_costs): Likewise.
37261 2014-02-12  Richard Biener  <rguenther@suse.de>
37263         PR middle-end/60092
37264         * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
37265         of posix_memalign being successful.
37266         (lower_stmt): Restrict lowering of posix_memalign to when
37267         -ftree-bit-ccp is enabled.
37269 2014-02-12  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
37271         * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
37272         arg_loc.
37273         * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
37275 2014-02-12  Eric Botcazou  <ebotcazou@adacore.com>
37277         PR rtl-optimization/60116
37278         * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
37279         other_insn once the combination has been validated.
37281 2014-02-11  Jan Hubicka  <hubicka@ucw.cz>
37283         PR lto/59468
37284         * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
37285         and wrapper.
37286         * ipa-devirt.c: Include demangle.h
37287         (odr_violation_reported): New static variable.
37288         (add_type_duplicate): Update odr_violations.
37289         (maybe_record_node): Add completep parameter; update it.
37290         (record_target_from_binfo): Add COMPLETEP parameter;
37291         update it as needed.
37292         (possible_polymorphic_call_targets_1): Likewise.
37293         (struct polymorphic_call_target_d): Add nonconstruction_targets;
37294         rename FINAL to COMPLETE.
37295         (record_targets_from_bases): Sanity check we found the binfo;
37296         fix COMPLETEP updating.
37297         (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
37298         parameter, fix computing of COMPLETEP.
37299         (dump_possible_polymorphic_call_targets): Imrove readability of dump;
37300         at LTO time do demangling.
37301         (ipa_devirt): Use nonconstruction_targets; Improve dumps.
37302         * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
37303         parameter.
37304         (gimple_get_virt_method_for_binfo): Likewise.
37305         * gimple-fold.h (gimple_get_virt_method_for_binfo,
37306         gimple_get_virt_method_for_vtable): Update prototypes.
37308 2014-02-11  Vladimir Makarov  <vmakarov@redhat.com>
37310         PR target/49008
37311         * genautomata.c (add_presence_absence): Fix typo with
37312         {final_}presence_list.
37314 2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
37316         PR target/60137
37317         * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
37318         for VSX/Altivec vectors that land in GPR registers.
37320 2014-02-11  Richard Henderson  <rth@redhat.com>
37321             Jakub Jelinek  <jakub@redhat.com>
37323         PR debug/59776
37324         * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
37325         around drhs if type conversion to lacc->type is not useless.
37327 2014-02-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37329         * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
37330         tuning struct.
37331         (cortex-a57.cortex-a53): Likewise.
37332         * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
37334 2014-02-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37336         * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
37337         arm_restrict_it.
37339 2014-02-11  Renlin Li  <Renlin.Li@arm.com>
37341         * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
37342         add_options_for_arm_vfp3.
37344 2014-02-11  Jeff Law  <law@redhat.com>
37346         PR middle-end/54041
37347         * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
37348         object with an undesirable mode.
37350 2014-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37352         PR libgomp/60107
37353         * config/i386/sol2-9.h: New file.
37354         * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
37355         *-*-solaris2.9*): Use it.
37357 2014-02-10  Nagaraju Mekala  <nagaraju.mekala@xilinx.com>
37359         * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
37360         * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
37362 2014-02-10  Nagaraju Mekala  <nagaraju.mekala@xilinx.com>
37364         * config/microblaze/microblaze.c: Extend mcpu version format
37366 2014-02-10  David Holsgrove  <david.holsgrove@xilinx.com>
37368         * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
37370 2014-02-10  Richard Henderson  <rth@redhat.com>
37372         PR target/59927
37373         * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
37374         * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
37375         ms-abi vs -mno-accumulate-outgoing-args.
37376         (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
37377         * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
37378         respect to ms-abi.
37380 2014-02-10  Bernd Edlinger  <bernd.edlinger@hotmail.de>
37382         PR middle-end/60080
37383         * cfgexpand.c (expand_asm_operands): Attach source location to
37384         ASM_INPUT rtx objects.
37385         * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
37387 2014-02-10  Nick Clifton  <nickc@redhat.com>
37389         * config/mn10300/mn10300.c (popcount): New function.
37390         (mn10300_expand_prologue): Include saved registers in stack usage
37391         count.
37393 2014-02-10  Jeff Law  <law@redhat.com>
37395         PR middle-end/52306
37396         * reload1.c (emit_input_reload_insns): Do not create invalid RTL
37397         when changing the SET_DEST of a prior insn to avoid an input reload.
37399 2014-02-10  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37401         * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
37402         big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
37403         -mcall-openbsd, or -mcall-linux.
37404         (CC1_ENDIAN_BIG_SPEC): Remove.
37405         (CC1_ENDIAN_LITTLE_SPEC): Remove.
37406         (CC1_ENDIAN_DEFAULT_SPEC): Remove.
37407         (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
37408         (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
37409         and %cc1_endian_default.
37410         * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
37412 2014-02-10  Richard Biener  <rguenther@suse.de>
37414         PR tree-optimization/60115
37415         * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
37416         MEM_REF handling.  Properly verify that the accesses are not
37417         out of the objects bound.
37419 2014-02-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37421         * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
37422         coretex to cortex.
37424 2014-02-10  Eric Botcazou  <ebotcazou@adacore.com>
37426         * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
37427         proper constants and fix formatting.
37428         (possible_polymorphic_call_targets): Fix formatting.
37430 2014-02-10  Kirill Yukhin  <kirill.yukhin@intel.com>
37431             Ilya Tocar  <ilya.tocar@intel.com>
37433         * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
37434         (_mm512_loadu_epi32): Renamed into...
37435         (_mm512_loadu_si512): This.
37436         (_mm512_storeu_epi32): Renamed into...
37437         (_mm512_storeu_si512): This.
37438         (_mm512_maskz_ceil_ps): Removed.
37439         (_mm512_maskz_ceil_pd): Ditto.
37440         (_mm512_maskz_floor_ps): Ditto.
37441         (_mm512_maskz_floor_pd): Ditto.
37442         (_mm512_floor_round_ps): Ditto.
37443         (_mm512_floor_round_pd): Ditto.
37444         (_mm512_ceil_round_ps): Ditto.
37445         (_mm512_ceil_round_pd): Ditto.
37446         (_mm512_mask_floor_round_ps): Ditto.
37447         (_mm512_mask_floor_round_pd): Ditto.
37448         (_mm512_mask_ceil_round_ps): Ditto.
37449         (_mm512_mask_ceil_round_pd): Ditto.
37450         (_mm512_maskz_floor_round_ps): Ditto.
37451         (_mm512_maskz_floor_round_pd): Ditto.
37452         (_mm512_maskz_ceil_round_ps): Ditto.
37453         (_mm512_maskz_ceil_round_pd): Ditto.
37454         (_mm512_expand_pd): Ditto.
37455         (_mm512_expand_ps): Ditto.
37456         * config/i386/i386.c (ix86_builtins): Remove
37457         IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
37458         (bdesc_args): Ditto.
37459         * config/i386/predicates.md (const1256_operand): New.
37460         (const_1_to_2_operand): Ditto.
37461         * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
37462         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
37463         (*avx512pf_gatherpf<mode>sf): Ditto.
37464         (avx512pf_gatherpf<mode>df): Ditto.
37465         (*avx512pf_gatherpf<mode>df_mask): Ditto.
37466         (*avx512pf_gatherpf<mode>df): Ditto.
37467         (avx512pf_scatterpf<mode>sf): Ditto.
37468         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
37469         (*avx512pf_scatterpf<mode>sf): Ditto.
37470         (avx512pf_scatterpf<mode>df): Ditto.
37471         (*avx512pf_scatterpf<mode>df_mask): Ditto.
37472         (*avx512pf_scatterpf<mode>df): Ditto.
37473         (avx512f_expand<mode>): Removed.
37474         (<shift_insn><mode>3<mask_name>): Change predicate type.
37476 2014-02-08  Jakub Jelinek  <jakub@redhat.com>
37478         * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
37479         not at the end of datarefs vector use ordered_remove to avoid
37480         reordering datarefs vector.
37482         PR c/59984
37483         * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
37484         mark local addressable non-static vars as GOVD_PRIVATE
37485         instead of GOVD_LOCAL.
37486         * omp-low.c (lower_omp_for): Move gimple_bind_vars
37487         and BLOCK_VARS of gimple_bind_block to new_stmt rather
37488         than copying them.
37490         PR middle-end/60092
37491         * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
37492         if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
37493         assume_aligned or alloc_align attributes.
37494         (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
37495         arguments.  Handle also assume_aligned and alloc_align attributes.
37496         (evaluate_stmt): Adjust bit_value_assume_aligned caller.  Handle
37497         calls to functions with assume_aligned or alloc_align attributes.
37498         * doc/extend.texi: Document assume_aligned and alloc_align attributes.
37500 2014-02-08  Terry Guo  <terry.guo@arm.com>
37502         * doc/invoke.texi: Document ARM -march=armv7e-m.
37504 2014-02-08  Jakub Jelinek  <jakub@redhat.com>
37506         * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
37507         flag on __cilkrts_rethrow builtin.
37509         PR ipa/60026
37510         * ipa-cp.c (determine_versionability): Fail at -O0
37511         or __attribute__((optimize (0))) or -fno-ipa-cp functions.
37512         * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
37514         Revert:
37515         2014-02-04  Jakub Jelinek  <jakub@redhat.com>
37517         PR ipa/60026
37518         * tree-inline.c (copy_forbidden): Fail for
37519         __attribute__((optimize (0))) functions.
37521 2014-02-07  Jan Hubicka  <hubicka@ucw.cz>
37523         * varpool.c: Include pointer-set.h.
37524         (varpool_remove_unreferenced_decls): Variables in other partitions
37525         will not be output; be however careful to not lose information
37526         about partitioning.
37528 2014-02-07  Jan Hubicka  <hubicka@ucw.cz>
37530         * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
37531         lookup in the vtable constructor.
37533 2014-02-07  Jeff Law  <law@redhat.com>
37535         PR target/40977
37536         * config/m68k/m68k.md (ashldi_extsi): Turn into a
37537         define_insn_and_split.
37539         * ipa-inline.c (inline_small_functions): Fix typos.
37541 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
37543         * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
37544         (s390_can_use_return_insn): Declare.
37545         * config/s390/s390.h (EPILOGUE_USES): Define.
37546         * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
37547         instructions.
37548         (s390_chunkify_start): Handle return JUMP_LABELs.
37549         (s390_early_mach): Emit a main_pool instruction on the entry edge.
37550         (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
37551         (s390_can_use_return_insn): New functions.
37552         (s390_fix_long_loop_prediction): Handle conditional returns.
37553         (TARGET_SET_UP_BY_PROLOGUE): Define.
37554         * config/s390/s390.md (ANY_RETURN): New code iterator.
37555         (*creturn, *csimple_return, return, simple_return): New patterns.
37557 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
37559         * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
37560         notes to each restore.  Also add REG_CFA_DEF_CFA when restoring %r15.
37561         (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P.  Update the
37562         REG_CFA_RESTORE list when deciding not to restore a register.
37564 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
37566         * config/s390/s390.c: Include tree-pass.h and context.h.
37567         (s390_early_mach): New function, split out from...
37568         (s390_emit_prologue): ...here.
37569         (pass_data_s390_early_mach): New pass structure.
37570         (pass_s390_early_mach): New class.
37571         (s390_option_override): Create and register early_mach pass.
37572         Move to end of file.
37574 2014-02-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
37576         * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
37577         to match for the exit block.
37579 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37581         * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
37582         ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
37583         Reject misaligned operands.
37585 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37587         * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
37589 2014-02-07  Richard Biener  <rguenther@suse.de>
37591         PR middle-end/60092
37592         * gimple-low.c (lower_builtin_posix_memalign): New function.
37593         (lower_stmt): Call it to lower posix_memalign in a way
37594         to make alignment info accessible.
37596 2014-02-07  Jakub Jelinek  <jakub@redhat.com>
37598         PR c++/60082
37599         * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
37600         __builtin_setjmp_receiver.
37602 2014-02-07  Richard Biener  <rguenther@suse.de>
37604         PR middle-end/60092
37605         * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
37606         * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
37607         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
37608         Handle BUILT_IN_POSIX_MEMALIGN.
37609         (find_func_clobbers): Likewise.
37610         * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
37611         (call_may_clobber_ref_p_1): Likewise.
37613 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
37615         PR ipa/59918
37616         * ipa-devirt.c (record_target_from_binfo): Remove overactive
37617         sanity check.
37619 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
37621         PR ipa/59469
37622         * lto-cgraph.c (lto_output_node): Use
37623         symtab_get_symbol_partitioning_class.
37624         (lto_output_varpool_node): likewise.
37625         (symtab_get_symbol_partitioning_class): Move here from
37626         lto/lto-partition.c
37627         * cgraph.h (symbol_partitioning_class): Likewise.
37628         (symtab_get_symbol_partitioning_class): Declare.
37630 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
37632         * ggc.h (ggc_internal_cleared_alloc): New macro.
37633         * vec.h (vec_safe_copy): Handle memory stats.
37634         * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
37635         * target-globals.c (save_target_globals): Likewise.
37637 2014-02-06  Jan Hubicka  <hubicka@ucw.cz>
37639         PR target/60077
37640         * expr.c (emit_move_resolve_push): Export; be bit more selective
37641         on when to clear alias set.
37642         * expr.h (emit_move_resolve_push): Declare.
37643         * function.h (struct function): Add tail_call_marked.
37644         * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
37645         * config/i386/i386-protos.h (ix86_expand_push): Remove.
37646         * config/i386/i386.md (TImode move expander): De not call
37647         ix86_expand_push.
37648         (FP push expanders): Preserve memory attributes.
37649         * config/i386/sse.md (push<mode>1): Remove.
37650         * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
37651         (ix86_expand_push): Remove.
37652         * config/i386/mmx.md (push<mode>1): Remove.
37654 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
37656         PR rtl-optimization/60030
37657         * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
37658         lopart with paradoxical subreg before shifting it up by hprec.
37660 2014-02-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37662         * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
37663         Remove extra newline at end of file.
37664         * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
37665         (arm_issue_rate): Handle cortexa57.
37666         * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
37667         (cortex-a57.cortex-a53): Likewise.
37669 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
37671         PR target/59575
37672         * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
37673         don't record in REG_FRAME_RELATED_EXPR registers not set in that
37674         bitmask.
37675         (arm_expand_prologue): Adjust all callers.
37676         (arm_unwind_emit_sequence): Allow saved, but not important for unwind
37677         info, registers also at the lowest numbered registers side.  Use
37678         gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
37679         XEXP.
37681         PR debug/59992
37682         * var-tracking.c (adjust_mems): Before adding a SET to
37683         amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
37685 2014-02-06  Alan Modra  <amodra@gmail.com>
37687         PR target/60032
37688         * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
37689         change SDmode to DDmode when lra_in_progress.
37691 2014-02-06  Jakub Jelinek  <jakub@redhat.com>
37693         PR middle-end/59150
37694         * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
37695         free_data_ref on the dr first, and before goto again also set dr
37696         to the next dr.  For simd_lane_access, free old datarefs[i] before
37697         overwriting it.  For get_vectype_for_scalar_type failure, don't
37698         free_data_ref if simd_lane_access.
37700         * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
37702         PR target/60062
37703         * tree.h (opts_for_fn): New inline function.
37704         (opt_for_fn): Define.
37705         * config/i386/i386.c (ix86_function_regparm): Use
37706         opt_for_fn (decl, optimize) instead of optimize.
37708 2014-02-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37710         * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
37711         for SYMBOL_REF in large memory model.
37713 2014-02-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
37715         * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
37716         and crypto support.
37717         (cortex-a57): Likewise.
37718         (cortex-a57.cortex-a53): Likewise.
37720 2014-02-06  Yury Gribov  <y.gribov@samsung.com>
37721             Kugan Vivekanandarajah  <kuganv@linaro.org>
37723         * config/arm/arm.c (arm_vector_alignment_reachable): Check
37724         unaligned_access.
37725         * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
37727 2014-02-06  Richard Biener  <rguenther@suse.de>
37729         * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
37730         set_loop_copy and initialize_original_copy_tables.
37732 2014-02-06  Alex Velenko  <Alex.Velenko@arm.com>
37734         * config/aarch64/aarch64-simd.md
37735         (aarch64_ashr_simddi): Change QI to SI.
37737 2014-02-05  Jan Hubicka  <hubicka@ucw.cz>
37738             Jakub Jelinek  <jakub@redhat.com>
37740         PR middle-end/60013
37741         * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
37742         of the dataflow.
37744 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37746         * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
37747         CODE_FOR_altivec_vpku[hw]um to
37748         CODE_FOR_altivec_vpku[hw]um_direct.
37749         * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
37750         UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
37751         (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
37752         UNSPEC_VUNPACK_LO_SIGN_DIRECT.
37754 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37756         * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
37757         generation for -maltivec=be.
37758         (altivec_vsumsws): Simplify redundant test.
37760 2014-02-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
37762         * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
37763         (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
37764         (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
37765         (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
37766         gen_altivec_vpkuwum.
37767         (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
37768         BYTES_BIG_ENDIAN.
37769         (altivec_vpks<VI_char>ss): Likewise.
37770         (altivec_vpks<VI_char>us): Likewise.
37771         (altivec_vpku<VI_char>us): Likewise.
37772         (altivec_vpku<VI_char>um): Likewise.
37773         (altivec_vpku<VI_char>um_direct): New (copy of
37774         altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
37775         internal use).
37776         (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
37777         target is little endian and -maltivec=be is not specified.
37778         (*altivec_vupkhs<VU_char>_direct): New (copy of
37779         altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
37780         (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
37781         target is little endian and -maltivec=be is not specified.
37782         (*altivec_vupkls<VU_char>_direct): New (copy of
37783         altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
37784         (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
37785         little endian and -maltivec=be is not specified.
37786         (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
37787         little endian and -maltivec=be is not specified.
37789 2014-02-05  Richard Henderson  <rth@redhat.com>
37791         PR debug/52727
37792         * combine-stack-adj.c: Revert r206943.
37793         * sched-int.h (struct deps_desc): Add last_args_size.
37794         * sched-deps.c (init_deps): Initialize it.
37795         (sched_analyze_insn): Add OUTPUT dependencies between insns that
37796         contain REG_ARGS_SIZE notes.
37798 2014-02-05  Jan Hubicka  <hubicka@ucw.cz>
37800         * lto-cgraph.c (asm_nodes_output): Make global.
37801         * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
37802         * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
37803         (driver_handle_option): Handle OPT_fwpa.
37805 2014-02-05  Jakub Jelinek  <jakub@redhat.com>
37807         PR ipa/59947
37808         * ipa-devirt.c (possible_polymorphic_call_targets): Fix
37809         a comment typo and formatting issue.  If odr_hash hasn't been
37810         created, return vNULL and set *completep to false.
37812         PR middle-end/57499
37813         * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
37814         bb with no successors.
37816 2014-02-05  James Greenhalgh  <james.greenhalgh@arm.com>
37818         PR target/59718
37819         * doc/invoke.texi (-march): Clarify documentation for ARM.
37820         (-mtune): Likewise.
37821         (-mcpu): Likewise.
37823 2014-02-05  Richard Biener  <rguenther@suse.de>
37825         * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
37826         when not vectorizing because of too many alias checks.
37827         * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
37828         Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
37830 2014-02-05  Nick Clifton  <nickc@redhat.com>
37832         * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
37833         accept extended registers in any mode when compiling for the MN10300.
37835 2014-02-05  Yury Gribov  <y.gribov@samsung.com>
37837         * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
37838         * ipa-inline.c (report_inline_failed_reason): Handle mismatched
37839         sanitization attributes.
37840         (can_inline_edge_p): Likewise.
37841         (sanitize_attrs_match_for_inline_p): New function.
37843 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
37845         * ipa-prop.c (detect_type_change): Shor circuit testing of
37846         type changes on THIS pointer.
37848 2014-02-04  John David Anglin  <danglin@gcc.gnu.org>
37850         PR target/59777
37851         * config/pa/pa.c (legitimize_tls_address): Return original address
37852         if not passed a SYMBOL_REF rtx.
37853         (hppa_legitimize_address): Call legitimize_tls_address for all TLS
37854         addresses.
37855         (pa_emit_move_sequence): Simplify TLS source operands.
37856         (pa_legitimate_constant_p): Reject all TLS constants.
37857         * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
37858         (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
37860 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
37862         * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
37863         groups when we know they are controlled by LTO.
37864         * varasm.c (default_binds_local_p_1): If object is in other partition,
37865         it will be resolved locally.
37867 2014-02-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>
37869         * config/host-linux.c (linux_gt_pch_use_address): Don't
37870         use SSIZE_MAX because it is not always defined.
37872 2014-02-04  Vladimir Makarov  <vmakarov@redhat.com>
37874         PR bootstrap/59913
37875         * lra-constraints.c (need_for_split_p): Use more 3 reloads as
37876         threshold for pseudo splitting.
37877         (update_ebb_live_info): Process call argument hard registers and
37878         hard registers from insn definition too.
37879         (max_small_class_regs_num): New constant.
37880         (inherit_in_ebb): Update live hard regs through EBBs.  Update
37881         reloads_num only for small register classes.  Don't split for
37882         outputs of jumps.
37884 2014-02-04  Markus Trippelsdorf  <markus@trippelsdorf.de>
37886         PR ipa/60058
37887         * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
37888         is non-null.
37890 2014-02-04  Jan Hubicka  <hubicka@ucw.cz>
37892         * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
37893         visibility is safe.
37895 2014-02-04  Marek Polacek  <polacek@redhat.com>
37897         * gdbinit.in (pel): Define.
37899 2014-02-04  Bernd Edlinger  <bernd.edlinger@hotmail.de>
37901         * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
37902         behavior.
37904 2014-02-04  Richard Biener  <rguenther@suse.de>
37906         PR lto/59723
37907         * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
37908         in function context local.
37909         (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
37910         * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
37911         similar to LTO_imported_decl_ref.
37913 2014-02-04  Jakub Jelinek  <jakub@redhat.com>
37915         PR tree-optimization/60002
37916         * cgraphclones.c (build_function_decl_skip_args): Clear
37917         DECL_LANG_SPECIFIC.
37919         PR tree-optimization/60023
37920         * tree-if-conv.c (predicate_mem_writes): Pass true instead of
37921         false to gsi_replace.
37922         * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
37923         has been in some EH region and vec_stmt could throw, add
37924         vec_stmt into the same EH region.
37925         * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
37926         has no lhs, ignore it.
37927         * internal-fn.c (expand_MASK_LOAD): Likewise.
37929         PR ipa/60026
37930         * tree-inline.c (copy_forbidden): Fail for
37931         __attribute__((optimize (0))) functions.
37933         PR other/58712
37934         * omp-low.c (simd_clone_struct_copy): If from->inbranch
37935         is set, copy one less argument.
37936         (expand_simd_clones): Don't subtract clone_info->inbranch
37937         from simd_clone_struct_alloc argument.
37939         PR rtl-optimization/57915
37940         * recog.c (simplify_while_replacing): If all unary/binary/relational
37941         operation arguments are constant, attempt to simplify those.
37943         PR middle-end/59261
37944         * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
37945         if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
37947 2014-02-04  Richard Biener  <rguenther@suse.de>
37949         PR tree-optimization/60012
37950         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
37951         TBAA disambiguation to all DDRs.
37953 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
37955         PR target/59788
37956         * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
37957         (LINK_SPEC): Use it for -shared, -shared-libgcc.
37959 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
37961         PR ipa/59882
37962         * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
37964 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
37966         * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
37967         * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
37969 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
37971         PR ipa/59831
37972         * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
37973         to figure out targets of polymorphic calls with known decl.
37974         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
37975         * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
37976         * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
37977         (get_polymorphic_call_info): ... here.
37978         (get_polymorphic_call_info_from_invariant): New function.
37980 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
37982         * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
37983         lookup via vtable pointer; check for type consistency
37984         and turn inconsitent facts into UNREACHABLE.
37985         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
37986         * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
37987         type inconsistent querries; return UNREACHABLE instead.
37989 2014-02-03  Richard Henderson  <rth@twiddle.net>
37991         PR tree-opt/59924
37992         * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
37993         already processed this node.
37994         (normalize_one_pred_1): Pass along mark_set.
37995         (normalize_one_pred): Create and destroy a pointer_set_t.
37996         (normalize_one_pred_chain): Likewise.
37998 2014-02-03  Laurent Aflonsi  <laurent.alfonsi@st.com>
38000         PR gcov-profile/58602
38001         * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
38003 2014-02-03  Jan Hubicka  <hubicka@ucw.cz>
38005         PR ipa/59831
38006         * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
38007         -fno-devirtualize; try to devirtualize by the knowledge of
38008         virtual table pointer given by aggregate propagation.
38009         * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
38010         (ipa_print_node_jump_functions): Dump also offset that
38011         is relevant for polymorphic calls.
38012         (determine_known_aggregate_parts): Add arg_type parameter; use it
38013         instead of determining the type from pointer type.
38014         (ipa_compute_jump_functions_for_edge): Update call of
38015         determine_known_aggregate_parts.
38016         * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
38017         (gimple_get_virt_method_for_binfo): ... here; simplify using
38018         vtable_pointer_value_to_vtable.
38019         * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
38020         * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
38021         to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
38022         (vtable_pointer_value_to_vtable): Break out from ...; handle also
38023         POINTER_PLUS_EXPR.
38024         (vtable_pointer_value_to_binfo): ... here.
38025         * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
38027 2014-02-03  Teresa Johnson  <tejohnson@google.com>
38029         * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
38030         redef of outer loop index variable.
38032 2014-02-03  Marc Glisse  <marc.glisse@inria.fr>
38034         PR c++/53017
38035         PR c++/59211
38036         * doc/extend.texi (Function Attributes): Typo.
38038 2014-02-03  Cong Hou  <congh@google.com>
38040         PR tree-optimization/60000
38041         * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
38042         if the vectorized statement is a store.  A store statement can only
38043         appear at the end of pattern statements.
38045 2014-02-03  H.J. Lu  <hongjiu.lu@intel.com>
38047         * config/i386/i386.c (flag_opts): Add -mlong-double-128.
38048         (ix86_option_override_internal): Default long double to 64-bit for
38049         32-bit Bionic and to 128-bit for 64-bit Bionic.
38051         * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
38052         TARGET_LONG_DOUBLE_128 is true.
38053         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
38055         * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
38056         (mlong-double-64): Negate -mlong-double-128.
38057         (mlong-double-128): New option.
38059         * config/i386/i386-c.c (ix86_target_macros): Define
38060         __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
38062         * doc/invoke.texi: Document -mlong-double-128.
38064 2014-02-03  H.J. Lu  <hongjiu.lu@intel.com>
38066         PR rtl-optimization/60024
38067         * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
38069 2014-02-03  Markus Trippelsdorf  <markus@trippelsdorf.de>
38071         * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
38073 2014-02-03  Andrey Belevantsev  <abel@ispras.ru>
38075         PR rtl-optimization/57662
38076         * sel-sched.c (code_motion_path_driver): Do not mark already not
38077         existing blocks in the visiting bitmap.
38079 2014-02-03  Andrey Belevantsev  <abel@ispras.ru>
38081         * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
38082         on the insn being emitted.
38084 2014-02-03  James Greenhalgh  <james.greenhalgh@arm.com>
38085             Will Deacon  <will.deacon@arm.com>
38087         * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
38089 2014-02-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38091         * config/arm/arm-tables.opt: Regenerate.
38093 2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38095         * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
38096         for vector types other than V16QImode.
38097         * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
38098         define_expand, and call altivec_expand_vec_perm_le when producing
38099         code with little endian element order.
38100         (*altivec_vperm_<mode>_internal): New insn having previous
38101         behavior of altivec_vperm_<mode>.
38102         (altivec_vperm_<mode>_uns): Change to a define_expand, and call
38103         altivec_expand_vec_perm_le when producing code with little endian
38104         element order.
38105         (*altivec_vperm_<mode>_uns_internal): New insn having previous
38106         behavior of altivec_vperm_<mode>_uns.
38108 2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38110         * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
38111         (altivec_vsumsws): Add handling for -maltivec=be with a little
38112         endian target.
38113         (altivec_vsumsws_direct): New.
38114         (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
38115         gen_altivec_vsumsws.
38117 2014-02-02  Jan Hubicka  <hubicka@ucw.cz>
38119         * ipa-devirt.c (subbinfo_with_vtable_at_offset,
38120         vtable_pointer_value_to_binfo): New functions.
38121         * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
38122         * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
38124 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
38126         * config/nios2/nios2.md (load_got_register): Initialize GOT
38127         pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
38128         * config/nios2/nios2.c (nios2_function_profiler): Likewise.
38130 2014-02-02  Jan Hubicka  <hubicka@ucw.cz>
38132         * ipa-prop.c (update_jump_functions_after_inlining): When type is not
38133         preserverd by passthrough, do not propagate the type.
38135 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
38137         * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
38138         (mips_atomic_assign_expand_fenv): New function.
38139         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
38141 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
38143         * doc/extend.texi (__builtin_mips_get_fcsr): Document.
38144         (__builtin_mips_set_fcsr): Likewise.
38145         * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
38146         MIPS_USI_FTYPE_VOID.
38147         * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
38148         (mips16_expand_set_fcsr): Likewise.
38149         * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
38150         (mips16_set_fcsr_stub): Likewise.
38151         (mips16_get_fcsr_one_only_stub): New class.
38152         (mips16_set_fcsr_one_only_stub): Likewise.
38153         (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
38154         (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
38155         (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
38156         (hard_float): New availability predicate.
38157         (mips_builtins): Add get_fcsr and set_fcsr.
38158         (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
38159         * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
38160         (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
38161         (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
38162         (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
38163         patterns.
38165 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
38167         * config/mips/mips.c (mips_one_only_stub): New class.
38168         (mips_need_mips16_rdhwr_p): Replace with...
38169         (mips16_rdhwr_stub): ...this new variable.
38170         (mips16_stub_call_address): New function.
38171         (mips16_rdhwr_one_only_stub): New class.
38172         (mips_expand_thread_pointer): Use mips16_stub_call_address.
38173         (mips_output_mips16_rdhwr): Delete.
38174         (mips_finish_stub): New function.
38175         (mips_code_end): Use it to handle rdhwr stubs.
38177 2014-02-02  Uros Bizjak  <ubizjak@gmail.com>
38179         PR target/60017
38180         * config/i386/i386.c (classify_argument): Fix handling of bit_offset
38181         when calculating size of integer atomic types.
38183 2014-02-02  H.J. Lu  <hongjiu.lu@intel.com>
38185         * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
38187 2014-02-01  Jakub Jelinek  <jakub@redhat.com>
38189         PR tree-optimization/60003
38190         * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
38191         * profile.c (branch_prob): Use gimple_call_builtin_p
38192         to check for BUILT_IN_SETJMP_RECEIVER.
38193         * tree-inline.c (copy_bb): Call notice_special_calls.
38195 2014-01-31  Vladimir Makarov  <vmakarov@redhat.com>
38197         PR bootstrap/59985
38198         * lra-constraints.c (process_alt_operands): Update reload_sum only
38199         on the first pass.
38201 2014-01-31  Richard Henderson  <rth@redhat.com>
38203         PR middle-end/60004
38204         * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
38205         until after else_eh is processed.
38207 2014-01-31  Ilya Tocar  <ilya.tocar@intel.com>
38209         * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
38210         (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
38211         (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
38212         in smmintrin.h, remove them.
38213         (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
38214         * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
38215         * config/i386/i386.md (ROUND_SAE): Fix value.
38216         * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
38217         (const48_operand): New.
38218         * config/i386/subst.md (round), (round_expand): Use
38219         const_4_or_8_to_11_operand.
38220         (round_saeonly), (round_saeonly_expand): Use const48_operand.
38222 2014-01-31  Ilya Tocar  <ilya.tocar@intel.com>
38224         * config/i386/constraints.md (Yk): Swap meaning with k.
38225         * config/i386/i386.md (movhi_internal): Change Yk to k.
38226         (movqi_internal): Ditto.
38227         (*k<logic><mode>): Ditto.
38228         (*andhi_1): Ditto.
38229         (*andqi_1): Ditto.
38230         (kandn<mode>): Ditto.
38231         (*<code>hi_1): Ditto.
38232         (*<code>qi_1): Ditto.
38233         (kxnor<mode>): Ditto.
38234         (kortestzhi): Ditto.
38235         (kortestchi): Ditto.
38236         (kunpckhi): Ditto.
38237         (*one_cmplhi2_1): Ditto.
38238         (*one_cmplqi2_1): Ditto.
38239         * config/i386/sse.md (): Change k to Yk.
38240         (avx512f_load<mode>_mask): Ditto.
38241         (avx512f_blendm<mode>): Ditto.
38242         (avx512f_store<mode>_mask): Ditto.
38243         (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
38244         (avx512f_storedqu<mode>_mask): Ditto.
38245         (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
38246         Ditto.
38247         (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
38248         (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
38249         (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
38250         (avx512f_maskcmp<mode>3): Ditto.
38251         (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
38252         (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
38253         (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
38254         (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
38255         (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
38256         (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
38257         (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
38258         (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
38259         (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
38260         (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
38261         (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
38262         (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
38263         (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
38264         (vec_extract_lo_<mode>_maskm): Ditto.
38265         (vec_extract_hi_<mode>_maskm): Ditto.
38266         (avx512f_vternlog<mode>_mask): Ditto.
38267         (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
38268         (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
38269         (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
38270         (avx512f_<code>v8div16qi2_mask): Ditto.
38271         (avx512f_<code>v8div16qi2_mask_store): Ditto.
38272         (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
38273         (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
38274         (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
38275         (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
38276         (*avx512pf_gatherpf<mode>sf_mask): Ditto.
38277         (*avx512pf_gatherpf<mode>df_mask): Ditto.
38278         (*avx512pf_scatterpf<mode>sf_mask): Ditto.
38279         (*avx512pf_scatterpf<mode>df_mask): Ditto.
38280         (avx512cd_maskb_vec_dupv8di): Ditto.
38281         (avx512cd_maskw_vec_dupv16si): Ditto.
38282         (avx512f_vpermi2var<mode>3_maskz): Ditto.
38283         (avx512f_vpermi2var<mode>3_mask): Ditto.
38284         (avx512f_vpermi2var<mode>3_mask): Ditto.
38285         (avx512f_vpermt2var<mode>3_maskz): Ditto.
38286         (*avx512f_gathersi<mode>): Ditto.
38287         (*avx512f_gathersi<mode>_2): Ditto.
38288         (*avx512f_gatherdi<mode>): Ditto.
38289         (*avx512f_gatherdi<mode>_2): Ditto.
38290         (*avx512f_scattersi<mode>): Ditto.
38291         (*avx512f_scatterdi<mode>): Ditto.
38292         (avx512f_compress<mode>_mask): Ditto.
38293         (avx512f_compressstore<mode>_mask): Ditto.
38294         (avx512f_expand<mode>_mask): Ditto.
38295         * config/i386/subst.md (mask): Change k to Yk.
38296         (mask_scalar_merge): Ditto.
38297         (sd): Ditto.
38299 2014-01-31  Marc Glisse  <marc.glisse@inria.fr>
38301         * doc/extend.texi (Vector Extensions): Document ?: in C++.
38303 2014-01-31  Richard Biener  <rguenther@suse.de>
38305         PR middle-end/59990
38306         * builtins.c (fold_builtin_memory_op): Make sure to not
38307         use a floating-point mode or a boolean or enumeral type for
38308         the copy operation.
38310 2014-01-30  DJ Delorie  <dj@redhat.com>
38312         * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
38313         * config/msp430/msp430.md (msp430_refsym_need_exit): New.
38314         * config/msp430/msp430.c (msp430_expand_epilogue): Call it
38315         whenever main() has an epilogue.
38317 2014-01-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38319         * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
38320         unused variable "field".
38321         * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
38322         (vsx_mergeh_<mode>): Likewise.
38323         * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
38324         (altivec_vmrghh): Likewise.
38325         (altivec_vmrghw): Likewise.
38326         (altivec_vmrglb): Likewise.
38327         (altivec_vmrglh): Likewise.
38328         (altivec_vmrglw): Likewise.
38329         (altivec_vspltb): Add missing uses.
38330         (altivec_vsplth): Likewise.
38331         (altivec_vspltw): Likewise.
38332         (altivec_vspltsf): Likewise.
38334 2014-01-30  Jakub Jelinek  <jakub@redhat.com>
38336         PR target/59923
38337         * ifcvt.c (cond_exec_process_insns): Don't conditionalize
38338         frame related instructions.
38340 2014-01-30  Vladimir Makarov  <vmakarov@redhat.com>
38342         PR rtl-optimization/59959
38343         * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
38344         any reload of register whose subreg is invalid.
38346 2014-01-30  Jakub Jelinek  <jakub@redhat.com>
38348         * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
38349         * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
38350         Add missing return type - void.
38352 2014-01-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38354         * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
38355         gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
38356         remove element index adjustment for endian (now handled in vsx.md
38357         and altivec.md).
38358         (altivec_expand_vec_perm_const): Use
38359         gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
38360         * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
38361         (vsx_xxspltw_<mode>): Adjust element index for little endian.
38362         * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
38363         define_expand and a new define_insn *altivec_vspltb_internal;
38364         adjust for -maltivec=be on a little endian target.
38365         (altivec_vspltb_direct): New.
38366         (altivec_vsplth): Divide into a define_expand and a new
38367         define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
38368         little endian target.
38369         (altivec_vsplth_direct): New.
38370         (altivec_vspltw): Divide into a define_expand and a new
38371         define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
38372         little endian target.
38373         (altivec_vspltw_direct): New.
38374         (altivec_vspltsf): Divide into a define_expand and a new
38375         define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
38376         a little endian target.
38378 2014-01-30  Richard Biener  <rguenther@suse.de>
38380         PR tree-optimization/59993
38381         * tree-ssa-forwprop.c (associate_pointerplus): Check we
38382         can propagate form the earlier stmt and avoid the transform
38383         when the intermediate result is needed.
38385 2014-01-30  Alangi Derick  <alangiderick@gmail.com>
38387         * README.Portability: Fix typo.
38389 2014-01-30  David Holsgrove  <david.holsgrove@xilinx.com>
38391         * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
38392         comparison_operator with ordered_comparison_operator.
38394 2014-01-30  Nick Clifton  <nickc@redhat.com>
38396         * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
38397         Rename to mn10300_store_multiple_regs.
38398         * config/mn10300/mn10300.c: Likewise.
38399         * config/mn10300/mn10300.md (store_movm): Fix typo: call
38400         store_multiple_regs.
38401         * config/mn10300/predicates.md (mn10300_store_multiple_operation):
38402         Call mn10300_store_multiple_regs.
38404 2014-01-30  Nick Clifton  <nickc@redhat.com>
38405             DJ Delorie  <dj@redhat.com>
38407         * config/rl78/rl78.c (register_sizes): Make the "upper half" of
38408         %fp 2 to keep registers after it properly word-aligned.
38409         (rl78_alloc_physical_registers_umul): Handle the case where both
38410         input operands are the same.
38412 2014-01-30  Richard Biener  <rguenther@suse.de>
38414         PR tree-optimization/59903
38415         * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
38416         check properly.
38418 2014-01-30  Jason Merrill  <jason@redhat.com>
38420         PR c++/59633
38421         * tree.c (walk_type_fields): Handle VECTOR_TYPE.
38423         PR c++/59645
38424         * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
38426 2014-01-30  Richard Biener  <rguenther@suse.de>
38428         PR tree-optimization/59951
38429         * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
38431 2014-01-30  Savin Zlobec  <savin.zlobec@gmail.com>
38433         PR target/59784
38434         * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
38435         SFmode to DFmode case.
38437 2014-01-29  DJ Delorie  <dj@redhat.com>
38439         * config/msp430/msp430.opt (-minrt): New.
38440         * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
38441         if -minrt given.
38442         (ENDFILE_SPEC): Likewise.
38444 2014-01-29  Jan Hubicka  <hubicka@ucw.cz>
38446         * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
38447         (estimate_function_body_sizes): Use it.
38449 2014-01-29  Paolo Carlini  <paolo.carlini@oracle.com>
38451         PR c++/58561
38452         * dwarf2out.c (is_cxx_auto): New.
38453         (is_base_type): Use it.
38454         (gen_type_die_with_usage): Likewise.
38456 2014-01-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38458         * config/rs6000/rs6000.c (altivec_expand_vec_perm_const):  Use
38459         CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
38460         * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
38461         -maltivec=be with LE targets.
38462         (vsx_mergeh_<mode>): Likewise.
38463         * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
38464         (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
38465         (altivec_vmrghb): Replace with define_expand and new
38466         *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
38467         (altivec_vmrghb_direct): New define_insn.
38468         (altivec_vmrghh): Replace with define_expand and new
38469         *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
38470         (altivec_vmrghh_direct): New define_insn.
38471         (altivec_vmrghw): Replace with define_expand and new
38472         *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
38473         (altivec_vmrghw_direct): New define_insn.
38474         (*altivec_vmrghsf): Adjust for endianness.
38475         (altivec_vmrglb): Replace with define_expand and new
38476         *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
38477         (altivec_vmrglb_direct): New define_insn.
38478         (altivec_vmrglh): Replace with define_expand and new
38479         *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
38480         (altivec_vmrglh_direct): New define_insn.
38481         (altivec_vmrglw): Replace with define_expand and new
38482         *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
38483         (altivec_vmrglw_direct): New define_insn.
38484         (*altivec_vmrglsf): Adjust for endianness.
38485         (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
38486         (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
38487         (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
38488         (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
38489         (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
38490         (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
38491         (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
38492         (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
38494 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38496         * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
38497         (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
38498         whitespace.
38500 2014-01-29  Richard Biener  <rguenther@suse.de>
38502         PR tree-optimization/58742
38503         * tree-ssa-forwprop.c (associate_pointerplus): Rename to
38504         associate_pointerplus_align.
38505         (associate_pointerplus_diff): New function.
38506         (associate_pointerplus): Likewise.  Call associate_pointerplus_align
38507         and associate_pointerplus_diff.
38509 2014-01-29  Richard Biener  <rguenther@suse.de>
38511         * lto-streamer.h (LTO_major_version): Bump to 3.
38512         (LTO_minor_version): Reset to 0.
38514 2014-01-29  Renlin Li  <Renlin.Li@arm.com>
38516         * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
38517         * config/arm/arm.c (FL_FOR_ARCH7VE): New.
38518         (arm_file_start): Generate correct asm header for armv7ve.
38519         * config/arm/bpabi.h: Add multilib support for armv7ve.
38520         * config/arm/driver-arm.c: Change the architectures of cortex-a7
38521         and cortex-a15 to armv7ve.
38522         * config/arm/t-aprofile: Add multilib support for armv7ve.
38523         * doc/invoke.texi: Document -march=armv7ve.
38525 2014-01-29  Richard Biener  <rguenther@suse.de>
38527         PR tree-optimization/58742
38528         * tree-ssa-forwprop.c (associate_plusminus): Return true
38529         if we changed sth, defer EH cleanup to ...
38530         (ssa_forward_propagate_and_combine): ... here.  Call simplify_mult.
38531         (simplify_mult): New function.
38533 2014-01-29  Jakub Jelinek  <jakub@redhat.com>
38535         PR middle-end/59917
38536         PR tree-optimization/59920
38537         * tree.c (build_common_builtin_nodes): Remove
38538         __builtin_setjmp_dispatcher initialization.
38539         * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
38540         * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
38541         instead of gsi_after_labels + manually skipping debug stmts.
38542         Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
38543         ignore bbs with IFN_ABNORMAL_DISPATCHER.
38544         * tree-inline.c (copy_edges_for_bb): Remove
38545         can_make_abnormal_goto argument, instead add abnormal_goto_dest
38546         argument.  Ignore computed_goto_p stmts.  Don't call
38547         make_abnormal_goto_edges.  If a call might need abnormal edges
38548         for non-local gotos, see if it already has an edge to
38549         IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
38550         with true argument, don't do anything then, otherwise add
38551         EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
38552         (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
38553         caller.
38554         * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
38555         (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
38556         (lower_stmt): Don't set data->calls_builtin_setjmp.
38557         (lower_builtin_setjmp): Adjust comment.
38558         * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
38559         * tree-cfg.c (found_computed_goto): Remove.
38560         (factor_computed_gotos): Remove.
38561         (make_goto_expr_edges): Return bool, true for computed gotos.
38562         Don't call make_abnormal_goto_edges.
38563         (build_gimple_cfg): Don't set found_computed_goto, don't call
38564         factor_computed_gotos.
38565         (computed_goto_p): No longer static.
38566         (make_blocks): Don't set found_computed_goto.
38567         (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
38568         (make_edges): If make_goto_expr_edges returns true, push bb
38569         into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
38570         instead of calling make_abnormal_goto_edges push bb into ab_edge_call
38571         vector.  Record mapping between bbs and OpenMP regions if there
38572         are any, adjust make_gimple_omp_edges caller.  Call
38573         handle_abnormal_edges.
38574         (make_abnormal_goto_edges): Remove.
38575         * tree-cfg.h (make_abnormal_goto_edges): Remove.
38576         (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
38577         * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
38578         * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
38579         * internal-fn.def (ABNORMAL_DISPATCHER): New.
38580         * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
38581         filling *region also set *region_idx to (*region)->entry->index.
38583         PR other/58712
38584         * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
38585         For REGs set ORIGINAL_REGNO.
38587 2014-01-29  Bingfeng Mei  <bmei@broadcom.com>
38589         * doc/md.texi: Mention that a target shouldn't implement
38590         vec_widen_(s|u)mul_even/odd pair if it is less efficient
38591         than hi/lo pair.
38593 2014-01-29  Jakub Jelinek  <jakub@redhat.com>
38595         PR tree-optimization/59594
38596         * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
38597         a copy of the datarefs vector rather than the vector itself.
38599 2014-01-28  Jason Merrill  <jason@redhat.com>
38601         PR c++/53756
38602         * dwarf2out.c (auto_die): New static.
38603         (gen_type_die_with_usage): Handle C++1y 'auto'.
38604         (gen_subprogram_die): If in-class DIE had 'auto', emit type again
38605         on definition.
38607 2014-01-28  H.J. Lu  <hongjiu.lu@intel.com>
38609         PR target/59672
38610         * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
38611         (SPEC_X32): Likewise.
38612         (SPEC_64): Likewise.
38613         * config/i386/i386.c (ix86_option_override_internal): Turn off
38614         OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
38615         for TARGET_16BIT.
38616         (x86_file_start): Output .code16gcc for TARGET_16BIT.
38617         * config/i386/i386.h (TARGET_16BIT): New macro.
38618         (TARGET_16BIT_P): Likewise.
38619         * config/i386/i386.opt: Add m16.
38620         * doc/invoke.texi: Document -m16.
38622 2014-01-28  Jakub Jelinek  <jakub@redhat.com>
38624         PR preprocessor/59935
38625         * input.c (location_get_source_line): Bail out on when line number
38626         is zero, and test the return value of lookup_or_add_file_to_cache_tab.
38628 2014-01-28  Richard Biener  <rguenther@suse.de>
38630         PR tree-optimization/58742
38631         * tree-ssa-forwprop.c (associate_plusminus): Handle
38632         pointer subtraction of the form (T)(P + A) - (T)P.
38634 2014-01-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
38636         * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
38637         at const_int_cost.
38639 2014-01-28  Richard Biener  <rguenther@suse.de>
38641         Revert
38642         2014-01-28  Richard Biener  <rguenther@suse.de>
38644         PR rtl-optimization/45364
38645         PR rtl-optimization/59890
38646         * var-tracking.c (local_get_addr_clear_given_value): Handle
38647         already cleared slot.
38648         (val_reset): Handle not allocated local_get_addr_cache.
38649         (vt_find_locations): Use post-order on the inverted CFG.
38651 2014-01-28  Richard Biener  <rguenther@suse.de>
38653         * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
38655 2014-01-28  Richard Biener  <rguenther@suse.de>
38657         PR rtl-optimization/45364
38658         PR rtl-optimization/59890
38659         * var-tracking.c (local_get_addr_clear_given_value): Handle
38660         already cleared slot.
38661         (val_reset): Handle not allocated local_get_addr_cache.
38662         (vt_find_locations): Use post-order on the inverted CFG.
38664 2014-01-28  Alan Modra  <amodra@gmail.com>
38666         * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
38667         * configure.ac <recursive call for build != host>: Define
38668         GENERATOR_FILE.  Comment.  Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
38669         and LD_FOR_BUILD too.
38670         * configure: Regenerate.
38672 2014-01-27  Allan Sandfeld Jensen  <sandfeld@kde.org>
38674         * config/i386/i386.c (get_builtin_code_for_version): Separate
38675         Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
38676         Broadwell from Haswell.
38678 2014-01-27  Steve Ellcey  <sellcey@mips.com>
38680         * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
38681         Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
38682         * config/mips/mips.c (mips_option_override): Change setting
38683         of TARGET_DSP.
38684         * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
38685         * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
38686         Change from Mask to Var.
38688 2014-01-27  Jeff Law  <law@redhat.com>
38690         * ipa-inline.c (inline_small_functions): Fix typo.
38692 2014-01-27  Ilya Tocar  <ilya.tocar@intel.com>
38694         * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
38695         (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
38696         (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
38697         (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
38698         (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
38699         (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
38700         (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
38701         (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
38702         (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
38703         (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
38704         (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
38705         (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
38706         (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
38707         (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
38708         (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
38709         (_mm512_storeu_epi64): Ditto.
38710         (_mm512_cmpge_epi32_mask): Ditto.
38711         (_mm512_cmpge_epu32_mask): Ditto.
38712         (_mm512_cmpge_epi64_mask): Ditto.
38713         (_mm512_cmpge_epu64_mask): Ditto.
38714         (_mm512_cmple_epi32_mask): Ditto.
38715         (_mm512_cmple_epu32_mask): Ditto.
38716         (_mm512_cmple_epi64_mask): Ditto.
38717         (_mm512_cmple_epu64_mask): Ditto.
38718         (_mm512_cmplt_epi32_mask): Ditto.
38719         (_mm512_cmplt_epu32_mask): Ditto.
38720         (_mm512_cmplt_epi64_mask): Ditto.
38721         (_mm512_cmplt_epu64_mask): Ditto.
38722         (_mm512_cmpneq_epi32_mask): Ditto.
38723         (_mm512_cmpneq_epu32_mask): Ditto.
38724         (_mm512_cmpneq_epi64_mask): Ditto.
38725         (_mm512_cmpneq_epu64_mask): Ditto.
38726         (_mm512_expand_pd): Ditto.
38727         (_mm512_expand_ps): Ditto.
38728         * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
38729         VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
38730         VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
38731         * config/i386/i386.c (ix86_builtins): Add
38732         IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
38733         IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
38734         IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
38735         IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
38736         IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
38737         IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
38738         IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
38739         IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
38740         IX86_BUILTIN_PMOVUSQW512_MEM.
38741         (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
38742         __builtin_ia32_pmovsqd512mem_mask,
38743         __builtin_ia32_pmovqd512mem_mask,
38744         __builtin_ia32_pmovusqw512mem_mask,
38745         __builtin_ia32_pmovsqw512mem_mask,
38746         __builtin_ia32_pmovqw512mem_mask,
38747         __builtin_ia32_pmovusdw512mem_mask,
38748         __builtin_ia32_pmovsdw512mem_mask,
38749         __builtin_ia32_pmovdw512mem_mask,
38750         __builtin_ia32_pmovqb512mem_mask,
38751         __builtin_ia32_pmovusqb512mem_mask,
38752         __builtin_ia32_pmovsqb512mem_mask,
38753         __builtin_ia32_pmovusdb512mem_mask,
38754         __builtin_ia32_pmovsdb512mem_mask,
38755         __builtin_ia32_pmovdb512mem_mask.
38756         (bdesc_args): Add __builtin_ia32_expanddf512,
38757         __builtin_ia32_expandsf512.
38758         (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
38759         VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
38760         VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
38761         * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
38762         (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
38763         (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
38764         (avx512f_<code>v8div16qi2_mask_store): This.
38765         (avx512f_expand<mode>): New.
38767 2014-01-27  Kirill Yukhin  <kirill.yukhin@intel.com>
38769         * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
38770         New.
38771         (_mm512_mask_prefetch_i64gather_pd): Ditto.
38772         (_mm512_prefetch_i32scatter_pd): Ditto.
38773         (_mm512_mask_prefetch_i32scatter_pd): Ditto.
38774         (_mm512_prefetch_i64scatter_pd): Ditto.
38775         (_mm512_mask_prefetch_i64scatter_pd): Ditto.
38776         (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
38777         (_mm512_mask_prefetch_i64gather_ps): Ditto.
38778         (_mm512_prefetch_i32scatter_ps): Ditto.
38779         (_mm512_mask_prefetch_i32scatter_ps): Ditto.
38780         (_mm512_prefetch_i64scatter_ps): Ditto.
38781         (_mm512_mask_prefetch_i64scatter_ps): Ditto.
38782         * config/i386/i386-builtin-types.def: Define
38783         VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
38784         and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
38785         * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
38786         IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
38787         IX86_BUILTIN_SCATTERPFQPD.
38788         (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
38789         __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
38790         __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
38791         __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
38792         __builtin_ia32_scatterpfqps.
38793         (ix86_expand_builtin): Expand new built-ins.
38794         * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
38795         fix memory access data type.
38796         (*avx512pf_gatherpf<mode>_mask): Ditto.
38797         (*avx512pf_gatherpf<mode>): Ditto.
38798         (avx512pf_scatterpf<mode>): Ditto.
38799         (*avx512pf_scatterpf<mode>_mask): Ditto.
38800         (*avx512pf_scatterpf<mode>): Ditto.
38801         (GATHER_SCATTER_SF_MEM_MODE): New.
38802         (avx512pf_gatherpf<mode>df): Ditto.
38803         (*avx512pf_gatherpf<mode>df_mask): Ditto.
38804         (*avx512pf_scatterpf<mode>df): Ditto.
38806 2014-01-27  Jakub Jelinek  <jakub@redhat.com>
38808         PR bootstrap/59934
38809         * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
38810         know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
38811         reached.
38813 2014-01-27  James Greenhalgh  <james.greenhalgh@arm.com>
38815         * common/config/arm/arm-common.c
38816         (arm_rewrite_mcpu): Handle multiple names.
38817         * config/arm/arm.h
38818         (BIG_LITTLE_SPEC): Do not discard mcpu switches.
38820 2014-01-27  James Greenhalgh  <james.greenhalgh@arm.com>
38822         * gimple-builder.h (create_gimple_tmp): Delete.
38824 2014-01-27  Christian Bruel  <christian.bruel@st.com>
38826         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
38827         words comparisons.
38829 2014-01-26  John David Anglin  <danglin@gcc.gnu.org>
38831         * config/pa/pa.md (call): Generate indirect long calls to non-local
38832         functions when outputing 32-bit code.
38833         (call_value): Likewise except for special call to buggy powf function.
38835         * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
38836         portable runtime and PIC indirect calls.
38837         (pa_output_indirect_call): Remove unnecessary nop from portable runtime
38838         and PIC call sequences.  Use ldo instead of blr to set return register
38839         in PIC call sequence.
38841 2014-01-25  Walter Lee  <walt@tilera.com>
38843         * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
38844         avoid clobbering a live register.
38846 2014-01-25  Walter Lee  <walt@tilera.com>
38848         * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
38849         Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
38850         * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
38851         Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
38853 2014-01-25  Walter Lee  <walt@tilera.com>
38855         * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
38856         arguments on even registers.
38857         (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
38858         STACK_BOUNDARY.
38859         * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
38860         (BIGGEST_ALIGNMENT): Ditto.
38861         (BIGGEST_FIELD_ALIGNMENT): Ditto.
38863 2014-01-25  Walter Lee  <walt@tilera.com>
38865         * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
38866         insns before bundling.
38867         * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
38869 2014-01-25  Walter Lee  <walt@tilera.com>
38871         * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
38872         PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
38873         * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
38875 2014-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
38877         * config/mips/constraints.md (kl): Delete.
38878         * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
38879         define expands, using...
38880         (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
38881         instructions for MIPS16.
38882         (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
38883         non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
38885 2014-01-25  Walter Lee  <walt@tilera.com>
38887         * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
38888         (clzdi2): Ditto.
38889         (ffsdi2): Ditto.
38891 2014-01-25  Walter Lee  <walt@tilera.com>
38893         * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
38894         (TARGET_EXPAND_TO_RTL_HOOK): Define.
38896 2014-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
38898         * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
38899         Handle XOR.
38901 2014-01-25  Jakub Jelinek  <jakub@redhat.com>
38903         * print-rtl.c (in_call_function_usage): New var.
38904         (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
38905         EXPR_LIST mode as mode and not as reg note name.
38907         PR middle-end/59561
38908         * cfgloopmanip.c (copy_loop_info): If
38909         loop->warned_aggressive_loop_optimizations, make sure
38910         the flag is set in target loop too.
38912 2014-01-24  Balaji V. Iyer  <balaji.v.iyer@intel.com>
38914         * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
38915         flag_cilkplus.
38916         * builtins.def: Likewise.
38917         * cilk.h (fn_contains_cilk_spawn_p): Likewise.
38918         * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
38919         * ira.c (ira_setup_eliminable_regset): Likewise.
38920         * omp-low.c (gate_expand_omp): Likewise.
38921         (execute_lower_omp): Likewise.
38922         (diagnose_sb_0): Likewise.
38923         (gate_diagnose_omp_blocks): Likewise.
38924         (simd_clone_clauses_extract): Likewise.
38925         (gate): Likewise.
38927 2014-01-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
38929         * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
38930         correction for little endian...
38931         * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
38932         here.
38934 2014-01-24  Jeff Law  <law@redhat.com>
38936         PR tree-optimization/59919
38937         * tree-vrp.c (find_assert_locations_1): Do not register asserts
38938         for non-returning calls.
38940 2014-01-24  James Greenhalgh  <james.greenhalgh@arm.com>
38942         * common/config/aarch64/aarch64-common.c
38943         (aarch64_rewrite_mcpu): Handle multiple names.
38944         * config/aarch64/aarch64.h
38945         (BIG_LITTLE_SPEC): Do not discard mcpu switches.
38947 2014-01-24  Dodji Seketeli  <dodji@redhat.com>
38949         * input.c (add_file_to_cache_tab): Handle the case where fopen
38950         returns NULL.
38952 2014-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38954         PR target/59929
38955         * config/i386/i386.md (pushsf splitter): Get stack adjustment
38956         from push operand if code of push isn't PRE_DEC.
38958 2014-01-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
38960         PR target/59909
38961         * doc/invoke.texi (RS/6000 and PowerPC Options): Document
38962         -mquad-memory-atomic.  Update -mquad-memory documentation to say
38963         it is only used for non-atomic loads/stores.
38965         * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
38966         -mquad-memory or -mquad-memory-atomic switches.
38968         * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
38969         -mquad-memory-atomic to ISA 2.07 support.
38971         * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
38972         to separate support of normal quad word memory operations (ldq, stq)
38973         from the atomic quad word memory operations.
38975         * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
38976         support to separate non-atomic quad word operations from atomic
38977         quad word operations.  Disable non-atomic quad word operations in
38978         little endian mode so that we don't have to swap words after the
38979         load and before the store.
38980         (quad_load_store_p): Add comment about atomic quad word support.
38981         (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
38982         options printed with -mdebug=reg.
38984         * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
38985         -mquad-memory-atomic as the test for whether we have quad word
38986         atomic instructions.
38987         (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
38988         or -mp8-vector are used, allow byte/half-word atomic operations.
38990         * config/rs6000/sync.md (load_lockedti): Insure that the address
38991         is a proper indexed or indirect address for the lqarx instruction.
38992         On little endian systems, swap the hi/lo registers after the lqarx
38993         instruction.
38994         (load_lockedpti): Use indexed_or_indirect_operand predicate to
38995         insure the address is valid for the lqarx instruction.
38996         (store_conditionalti): Insure that the address is a proper indexed
38997         or indirect address for the stqcrx. instruction.  On little endian
38998         systems, swap the hi/lo registers before doing the stqcrx.
38999         instruction.
39000         (store_conditionalpti): Use indexed_or_indirect_operand predicate to
39001         insure the address is valid for the stqcrx. instruction.
39003         * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
39004         Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
39005         type of quad memory support is available.
39007 2014-01-23  Vladimir Makarov  <vmakarov@redhat.com>
39009         PR regression/59915
39010         * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
39011         there is a danger of looping.
39013 2014-01-23  Pat Haugen  <pthaugen@us.ibm.com>
39015         * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
39016         force flag_ira_loop_pressure if set via command line.
39018 2014-01-23  Alex Velenko  <Alex.Velenko@arm.com>
39020         * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
39021         (ashr_simd): New builtin handling DI mode.
39022         * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
39023         (aarch64_sshr_simddi): New match pattern.
39024         * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
39025         (vshrd_n_s64): Likewise.
39026         * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
39028 2014-01-23  Nick Clifton  <nickc@redhat.com>
39030         * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
39031         (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
39032         favour of mcu specific scripts.
39033         * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
39034         430x multilibs.
39036 2014-01-23  James Greenhalgh  <james.greenhalgh@arm.com>
39037             Alex Velenko  <Alex.Velenko@arm.com>
39039         * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
39040         (vaddv_s16): Likewise.
39041         (vaddv_s32): Likewise.
39042         (vaddv_u8): Likewise.
39043         (vaddv_u16): Likewise.
39044         (vaddv_u32): Likewise.
39045         (vaddvq_s8): Likewise.
39046         (vaddvq_s16): Likewise.
39047         (vaddvq_s32): Likewise.
39048         (vaddvq_s64): Likewise.
39049         (vaddvq_u8): Likewise.
39050         (vaddvq_u16): Likewise.
39051         (vaddvq_u32): Likewise.
39052         (vaddvq_u64): Likewise.
39053         (vaddv_f32): Likewise.
39054         (vaddvq_f32): Likewise.
39055         (vaddvq_f64): Likewise.
39056         (vmaxv_f32): Likewise.
39057         (vmaxv_s8): Likewise.
39058         (vmaxv_s16): Likewise.
39059         (vmaxv_s32): Likewise.
39060         (vmaxv_u8): Likewise.
39061         (vmaxv_u16): Likewise.
39062         (vmaxv_u32): Likewise.
39063         (vmaxvq_f32): Likewise.
39064         (vmaxvq_f64): Likewise.
39065         (vmaxvq_s8): Likewise.
39066         (vmaxvq_s16): Likewise.
39067         (vmaxvq_s32): Likewise.
39068         (vmaxvq_u8): Likewise.
39069         (vmaxvq_u16): Likewise.
39070         (vmaxvq_u32): Likewise.
39071         (vmaxnmv_f32): Likewise.
39072         (vmaxnmvq_f32): Likewise.
39073         (vmaxnmvq_f64): Likewise.
39074         (vminv_f32): Likewise.
39075         (vminv_s8): Likewise.
39076         (vminv_s16): Likewise.
39077         (vminv_s32): Likewise.
39078         (vminv_u8): Likewise.
39079         (vminv_u16): Likewise.
39080         (vminv_u32): Likewise.
39081         (vminvq_f32): Likewise.
39082         (vminvq_f64): Likewise.
39083         (vminvq_s8): Likewise.
39084         (vminvq_s16): Likewise.
39085         (vminvq_s32): Likewise.
39086         (vminvq_u8): Likewise.
39087         (vminvq_u16): Likewise.
39088         (vminvq_u32): Likewise.
39089         (vminnmv_f32): Likewise.
39090         (vminnmvq_f32): Likewise.
39091         (vminnmvq_f64): Likewise.
39093 2014-01-23  James Greenhalgh  <james.greenhalgh@arm.com>
39095         * config/aarch64/aarch64-simd.md
39096         (aarch64_dup_lane<mode>): Correct lane number on big-endian.
39097         (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
39098         (*aarch64_mul3_elt<mode>): Likewise.
39099         (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
39100         (*aarch64_mul3_elt_to_64v2df): Likewise.
39101         (*aarch64_mla_elt<mode>): Likewise.
39102         (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
39103         (*aarch64_mls_elt<mode>): Likewise.
39104         (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
39105         (*aarch64_fma4_elt<mode>): Likewise.
39106         (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
39107         (*aarch64_fma4_elt_to_64v2df): Likewise.
39108         (*aarch64_fnma4_elt<mode>): Likewise.
39109         (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
39110         (*aarch64_fnma4_elt_to_64v2df): Likewise.
39111         (aarch64_sq<r>dmulh_lane<mode>): Likewise.
39112         (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
39113         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
39114         (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
39115         (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
39116         (aarch64_sqdmull_lane<mode>_internal): Likewise.
39117         (aarch64_sqdmull2_lane<mode>_internal): Likewise.
39119 2013-01-23  Alex Velenko  <Alex.Velenko@arm.com>
39121         * config/aarch64/aarch64-simd.md
39122         (aarch64_be_checked_get_lane<mode>): New define_expand.
39123         * config/aarch64/aarch64-simd-builtins.def
39124         (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
39125         New builtin definition.
39126         * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
39127         Use new safe be builtin.
39129 2014-01-23  Alex Velenko  <Alex.Velenko@arm.com>
39131         * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
39132         New define_insn.
39133         (aarch64_be_st1<mode>): Likewise.
39134         (aarch_ld1<VALL:mode>): Define_expand modified.
39135         (aarch_st1<VALL:mode>): Likewise.
39136         * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
39137         (UNSPEC_ST1): Likewise.
39139 2014-01-23  David Holsgrove  <david.holsgrove@xilinx.com>
39141         * config/microblaze/microblaze.md: Add trap insn and attribute
39143 2014-01-23  Dodji Seketeli  <dodji@redhat.com>
39145         PR preprocessor/58580
39146         * input.h (location_get_source_line): Take an additional line_size
39147         parameter.
39148         (void diagnostics_file_cache_fini): Declare new function.
39149         * input.c (struct fcache): New type.
39150         (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
39151         New static constants.
39152         (diagnostic_file_cache_init, total_lines_num)
39153         (lookup_file_in_cache_tab, evicted_cache_tab_entry)
39154         (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
39155         (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
39156         (get_next_line, read_next_line, goto_next_line, read_line_num):
39157         New static function definitions.
39158         (diagnostic_file_cache_fini): New function.
39159         (location_get_source_line): Take an additional output line_len
39160         parameter.  Re-write using lookup_or_add_file_to_cache_tab and
39161         read_line_num.
39162         * diagnostic.c (diagnostic_finish): Call
39163         diagnostic_file_cache_fini.
39164         (adjust_line): Take an additional input parameter for the length
39165         of the line, rather than calculating it with strlen.
39166         (diagnostic_show_locus): Adjust the use of
39167         location_get_source_line and adjust_line with respect to their new
39168         signature.  While displaying a line now, do not stop at the first
39169         null byte.  Rather, display the zero byte as a space and keep
39170         going until we reach the size of the line.
39171         * Makefile.in: Add vec.o to OBJS-libcommon
39173 2014-01-23  Kirill Yukhin  <kirill.yukhin@intel.com>
39174             Ilya Tocar  <ilya.tocar@intel.com>
39176         * config/i386/avx512fintrin.h (_mm512_kmov): New.
39177         * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
39178         (__builtin_ia32_kmov16): Ditto.
39179         * config/i386/i386.md (UNSPEC_KMOV): New.
39180         (kmovw): Ditto.
39182 2014-01-23  Kirill Yukhin  <kirill.yukhin@intel.com>
39184         * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
39185         (_mm512_storeu_si512): Ditto.
39187 2014-01-23  Richard Sandiford  <rdsandiford@googlemail.com>
39189         PR target/52125
39190         * rtl.h (get_referenced_operands): Declare.
39191         * recog.c (get_referenced_operands): New function.
39192         * config/mips/mips.c (mips_reorg_process_insns): Check which asm
39193         operands have been referenced when recording LO_SUM references.
39195 2014-01-22  David Holsgrove  <david.holsgrove@xilinx.com>
39197         * config/microblaze/microblaze.md: Correct bswaphi2 insn.
39199 2014-01-22  Jan Hubicka  <hubicka@ucw.cz>
39201         * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
39202         Enable for generic and recent AMD targets.
39204 2014-01-22  Jan Hubicka  <hubicka@ucw.cz>
39206         * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
39207         ARG_SIZE note when adjustment was eliminated.
39209 2014-01-22  Jeff Law  <law@redhat.com>
39211         PR tree-optimization/59597
39212         * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
39213         in file.  Accept new argument REGISTERING and use it to modify
39214         dump output appropriately.
39215         (register_jump_thread): Corresponding changes.
39216         (mark_threaded_blocks): Reinstate code to cancel unprofitable
39217         thread paths involving joiner blocks.  Add code to dump cancelled
39218         jump threading paths.
39220 2014-01-22  Vladimir Makarov  <vmakarov@redhat.com>
39222         PR rtl-optimization/59477
39223         * lra-constraints.c (inherit_in_ebb): Process call for living hard
39224         regs.  Update reloads_num and potential_reload_hard_regs for all insns.
39226 2014-01-22  Tom Tromey  <tromey@redhat.com>
39228         * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
39229         PARAMS.
39230         * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
39232 2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
39234         PR rtl-optimization/59896
39235         * lra-constraints.c (process_alt_operands): Check unused note for
39236         matched operands of insn with no output reloads.
39238 2014-01-21  Richard Sandiford  <rdsandiford@googlemail.com>
39240         * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
39241         (mips_move_from_gpr_cost): Likewise.
39243 2014-01-21  Vladimir Makarov  <vmakarov@redhat.com>
39245         PR rtl-optimization/59858
39246         * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
39247         ira_class_hard_regs_num.
39248         (process_alt_operands): Increase reject for dying matched operand.
39250 2014-01-21  Jakub Jelinek  <jakub@redhat.com>
39252         PR target/59003
39253         * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
39254         smaller than size, perform several stores or loads and stores
39255         at dst + count - size to store or copy all of size bytes, rather
39256         than just last modesize bytes.
39258 2014-01-20  DJ Delorie  <dj@redhat.com>
39260         * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
39261         that CLOBBERs are REGs before propogating their values.
39263 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39265         PR middle-end/59789
39266         * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
39267         (cgraph_inline_failed_type): New function.
39268         * cgraph.h (DEFCIFCODE): Add type.
39269         (cgraph_inline_failed_type_t): New enum.
39270         (cgraph_inline_failed_type): New prototype.
39271         * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
39272         FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
39273         FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
39274         LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
39275         MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
39276         RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
39277         OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
39278         INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
39279         Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
39280         FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
39281         EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
39282         OPTIMIZATION_MISMATCH.
39283         * tree-inline.c (expand_call_inline): Emit errors during
39284         early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
39286 2014-01-20  Uros Bizjak  <ubizjak@gmail.com>
39288         PR target/59685
39289         * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
39290         mode attribute in insn output.
39292 2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>
39294         * output.h (output_constant): Delete.
39295         * varasm.c (output_constant): Make private.
39297 2014-01-20  Alex Velenko  <Alex.Velenko@arm.com>
39299         * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
39301 2014-01-20  Jakub Jelinek  <jakub@redhat.com>
39303         PR middle-end/59860
39304         * tree.h (fold_builtin_strcat): New prototype.
39305         * builtins.c (fold_builtin_strcat): No longer static.  Add len
39306         argument, if non-NULL, don't call c_strlen.  Optimize
39307         directly into __builtin_memcpy instead of __builtin_strcpy.
39308         (fold_builtin_2): Adjust fold_builtin_strcat caller.
39309         * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
39311 2014-01-20  Uros Bizjak  <ubizjak@gmail.com>
39313         * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
39314         for SImode_address_operand operands, having only a REG argument.
39316 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39318         * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
39319         loader name using mbig-endian.
39320         (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
39322 2014-01-20  James Greenhalgh  <james.greenhalgh@arm.com>
39324         * doc/invoke.texi (-march): Clarify documentation for AArch64.
39325         (-mtune): Likewise.
39326         (-mcpu): Likewise.
39328 2014-01-20  Tejas Belagod  <tejas.belagod@arm.com>
39330         * config/aarch64/aarch64-protos.h
39331         (aarch64_cannot_change_mode_class_ptr): Declare.
39332         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
39333         aarch64_cannot_change_mode_class_ptr): New.
39334         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
39335         backend hook aarch64_cannot_change_mode_class.
39337 2014-01-20  James Greenhalgh  <james.greenhalgh@arm.com>
39339         * common/config/aarch64/aarch64-common.c
39340         (aarch64_handle_option): Don't handle any option order logic here.
39341         * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
39342         selected_cpu, warn on architecture version mismatch.
39343         (aarch64_override_options): Fix parsing order for option strings.
39345 2014-01-20  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
39346             Iain Sandoe  <iain@codesourcery.com>
39348         PR bootstrap/59496
39349         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
39350         warning.  Amend comment to reflect current functionality.
39352 2014-01-20  Richard Biener  <rguenther@suse.de>
39354         PR middle-end/59860
39355         * builtins.c (fold_builtin_strcat): Remove case better handled
39356         by tree-ssa-strlen.c.
39358 2014-01-20  Alan Lawrence  <alan.lawrence@arm.com>
39360         * config/aarch64/aarch64.opt
39361         (mcpu, march, mtune): Make case-insensitive.
39363 2014-01-20  Jakub Jelinek  <jakub@redhat.com>
39365         PR target/59880
39366         * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
39367         if operands[1] is a REG or ZERO_EXTEND of a REG.
39369 2014-01-19  Jan Hubicka  <hubicka@ucw.cz>
39371         * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
39373 2014-01-19  John David Anglin  <danglin@gcc.gnu.org>
39375         * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
39376         long non-pic millicode calls.
39378 2014-01-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
39380         * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
39382 2014-01-19  Kito Cheng  <kito@0xlab.org>
39384         * builtins.c (expand_movstr): Check movstr expand done or fail.
39386 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
39387             H.J. Lu  <hongjiu.lu@intel.com>
39389         PR target/59379
39390         * config/i386/i386.md (*lea<mode>): Zero-extend return register
39391         to DImode for zero-extended addresses.
39393 2014-01-19  Jakub Jelinek  <jakub@redhat.com>
39395         PR rtl-optimization/57763
39396         * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
39397         on the new indirect jump_insn and increment LABEL_NUSES (label).
39399 2014-01-18  H.J. Lu  <hongjiu.lu@intel.com>
39401         PR bootstrap/59580
39402         PR bootstrap/59583
39403         * config.gcc (x86_archs): New variable.
39404         (x86_64_archs): Likewise.
39405         (x86_cpus): Likewise.
39406         Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
39407         --with-arch/--with-cpu= options.
39408         Support --with-arch=/--with-cpu={nehalem,westmere,
39409         sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
39411 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
39413         * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
39414         and PROCESSOR_ATHLON to simplify code.  Move "memory" calculation.
39416 2014-01-18  Uros Bizjak  <ubizjak@gmail.com>
39418         * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
39420 2014-01-18  Jakub Jelinek  <jakub@redhat.com>
39422         PR target/58944
39423         * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
39424         clear cpp_get_options (parse_in)->warn_unused_macros for
39425         ix86_target_macros_internal with cpp_define.
39427 2014-01-18  Richard Sandiford  <rdsandiford@googlemail.com>
39429         * jump.c (delete_related_insns): Keep (use (insn))s.
39430         * reorg.c (redundant_insn): Check for barriers too.
39432 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39434         * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
39436 2014-01-17  John David Anglin  <danglin@gcc.gnu.org>
39438         * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
39439         call to $$dyncall when TARGET_LONG_CALLS is true.
39441 2014-01-17  Jeff Law  <law@redhat.com>
39443         * ree.c (combine_set_extension): Temporarily disable test for
39444         changing number of hard registers.
39446 2014-01-17  Jan Hubicka  <hubicka@ucw.cz>
39448         PR middle-end/58125
39449         * ipa-inline-analysis.c (inline_free_summary):
39450         Do not free summary of aliases.
39452 2014-01-17  Jakub Jelinek  <jakub@redhat.com>
39454         PR middle-end/59706
39455         * gimplify.c (gimplify_expr): Use create_tmp_var
39456         instead of create_tmp_var_raw.  If cond doesn't have
39457         integral type, don't add the IFN_ANNOTATE builtin at all.
39459 2014-01-17  Martin Jambor  <mjambor@suse.cz>
39461         PR ipa/59736
39462         * ipa-cp.c (prev_edge_clone): New variable.
39463         (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
39464         Also resize prev_edge_clone vector.
39465         (ipcp_edge_duplication_hook): Also update prev_edge_clone.
39466         (ipcp_edge_removal_hook): New function.
39467         (ipcp_driver): Register ipcp_edge_removal_hook.
39469 2014-01-17  Andrew Pinski  <apinski@cavium.com>
39470             Steve Ellcey  <sellcey@mips.com>
39472         PR target/59462
39473         * config/mips/mips.c (mips_print_operand): Check operand mode instead
39474         of operator mode.
39476 2014-01-17  Jeff Law  <law@redhat.com>
39478         PR middle-end/57904
39479         * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
39480         so that pass_ccp runs first.
39482 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39484         * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
39485         (ix86_adjust_cost): Use !TARGET_XXX.
39486         (do_reorder_for_imul): Likewise.
39487         (swap_top_of_ready_list): Likewise.
39488         (ix86_sched_reorder): Likewise.
39490 2014-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39492         * config/i386/i386-c.c (ix86_target_macros_internal): Handle
39493         PROCESSOR_INTEL.  Treat like PROCESSOR_GENERIC.
39494         * config/i386/i386.c (intel_memcpy): New.  Duplicate slm_memcpy.
39495         (intel_memset): New.  Duplicate slm_memset.
39496         (intel_cost): New.  Duplicate slm_cost.
39497         (m_INTEL): New macro.
39498         (processor_target_table): Add "intel".
39499         (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
39500         with PROCESSOR_INTEL for "intel".
39501         (ix86_lea_outperforms): Support PROCESSOR_INTEL.  Duplicate
39502         PROCESSOR_SILVERMONT.
39503         (ix86_issue_rate): Likewise.
39504         (ix86_adjust_cost): Likewise.
39505         (ia32_multipass_dfa_lookahead): Likewise.
39506         (swap_top_of_ready_list): Likewise.
39507         (ix86_sched_reorder): Likewise.
39508         (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
39509         instead of TARGET_OPT_AGU.
39510         * config/i386/i386.h (TARGET_INTEL): New.
39511         (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
39512         (processor_type): Add PROCESSOR_INTEL.
39513         * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
39514         Add X86_TUNE_AVOID_LEA_FOR_ADDR.
39516 2014-01-17  Marek Polacek  <polacek@redhat.com>
39518         PR c/58346
39519         * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
39520         size is zero.
39522 2014-01-17  Richard Biener  <rguenther@suse.de>
39524         PR tree-optimization/46590
39525         * opts.c (default_options_table): Add entries for
39526         OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
39527         all enabled at -O1 but not for -Og.
39528         * common.opt (fbranch-count-reg): Remove Init(1).
39529         (fmove-loop-invariants): Likewise.
39530         (ftree-pta): Likewise.
39532 2014-01-17  Jakub Jelinek  <jakub@redhat.com>
39534         * config/i386/i386.c (ix86_data_alignment): For compatibility with
39535         (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
39536         decls to at least the GCC 4.8 used alignments.
39538         PR fortran/59440
39539         * tree-nested.c (convert_nonlocal_reference_stmt,
39540         convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
39541         of GIMPLE_BIND stmts, adjust associated decls.
39543 2014-01-17  Richard Biener  <rguenther@suse.de>
39545         PR tree-optimization/46590
39546         * vec.h (vec<>::bseach): New member function implementing
39547         binary search according to C89 bsearch.
39548         (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
39549         * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
39550         bitmap pointer again.  Make accesses_in_loop a flat array.
39551         (mem_ref_obstack): New global.
39552         (outermost_indep_loop): Adjust for mem_ref->stored changes.
39553         (mark_ref_stored): Likewise.
39554         (ref_indep_loop_p_2): Likewise.
39555         (set_ref_stored_in_loop): New helper function.
39556         (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
39557         (memref_free): Adjust.
39558         (record_mem_ref_loc): Simplify.
39559         (gather_mem_refs_stmt): Adjust.
39560         (sort_locs_in_loop_postorder_cmp): New function.
39561         (analyze_memory_references): Sort accesses_in_loop after
39562         loop postorder number.
39563         (find_ref_loc_in_loop_cmp): New function.
39564         (for_all_locs_in_loop): Find relevant cluster of locs in
39565         accesses_in_loop and iterate without recursion.
39566         (execute_sm): Avoid uninit warning.
39567         (struct ref_always_accessed): Simplify.
39568         (ref_always_accessed::operator ()): Likewise.
39569         (ref_always_accessed_p): Likewise.
39570         (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
39571         loop postorder numbers here.
39572         (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
39573         numbers.
39575 2014-01-17  Jan Hubicka  <hubicka@ucw.cz>
39577         PR c++/57945
39578         * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
39579         on decls for which assemble_alias has been called.
39581 2014-01-17  Nick Clifton  <nickc@redhat.com>
39583         * config/msp430/msp430.opt: (mcpu): New option.
39584         * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
39585         (msp430_option_override): Parse target_cpu.  If the MCU name
39586         matches a generic string, clear target_mcu.
39587         (msp430_attr): Allow numeric interrupt values up to 63.
39588         (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
39589         * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
39590         option.
39591         * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
39592         Add mcpu matches.
39593         * config/msp430/msp430.md (popm): Use %J rather than %I.
39594         (addsi3): Use msp430_nonimmediate_operand for operand 2.
39595         (addhi_cy_i): Use immediate_operand for operand 2.
39596         * doc/invoke.texi: Document -mcpu option.
39598 2014-01-17  Richard Biener  <rguenther@suse.de>
39600         PR rtl-optimization/38518
39601         * df.h (df_analyze_loop): Declare.
39602         * df-core.c: Include cfgloop.h.
39603         (df_analyze_1): Split out main part of df_analyze.
39604         (df_analyze): Adjust.
39605         (loop_inverted_post_order_compute): New function.
39606         (loop_post_order_compute): Likewise.
39607         (df_analyze_loop): New function avoiding whole-function
39608         postorder computes.
39609         * loop-invariant.c (find_defs): Use df_analyze_loop.
39610         (find_invariants): Adjust.
39611         * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
39613 2014-01-17  Zhenqiang Chen  <zhenqiang.chen@arm.com>
39615         * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
39616         (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
39618 2014-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
39620         * ipa-ref.c (ipa_remove_stmt_references): Fix references
39621         traversal when removing references.
39623 2014-01-16  Jan Hubicka  <hubicka@ucw.cz>
39625         PR ipa/59775
39626         * tree.c (get_binfo_at_offset): Look harder for virtual bases.
39628 2014-01-16  Bernd Schmidt  <bernds@codesourcery.com>
39630         PR middle-end/56791
39631         * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
39632         pushing a reload for an autoinc when we had previously reloaded an
39633         inner part of the address.
39635 2014-01-16  Jakub Jelinek  <jakub@redhat.com>
39637         * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
39638         field.
39639         (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
39640         * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
39641         when not giving up or versioning for alias only because of
39642         loop->safelen.
39643         (vect_analyze_data_ref_dependences): Set to true.
39644         * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
39645         is a GIMPLE_PHI.
39646         (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
39647         LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
39648         to the condition.
39650         PR middle-end/58344
39651         * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
39653         PR target/59839
39654         * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
39655         operand 0 predicate for gathers, use a new pseudo as subtarget.
39657 2014-01-16  Vladimir Makarov  <vmakarov@redhat.com>
39659         PR middle-end/59609
39660         * lra-constraints.c (process_alt_operands): Add printing debug info.
39661         Check absence of input/output reloads for matched operands too.
39663 2014-01-16  Vladimir Makarov  <vmakarov@redhat.com>
39665         PR rtl-optimization/59835
39666         * ira.c (ira_init_register_move_cost): Increase cost for
39667         impossible modes.
39669 2014-01-16  Alan Lawrence  <alan.lawrence@arm.com>
39671         * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
39673 2014-01-16  Richard Earnshaw  <rearnsha@arm.com>
39675         PR target/59780
39676         * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
39677         non-register objects.  Use gen_(high/low)part more consistently.
39678         Fix assertions.
39680 2014-01-16  Michael Meissner  <meissner@linux.vnet.ibm.com>
39682         PR target/59844
39683         * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
39684         endian support, remove tests for WORDS_BIG_ENDIAN.
39685         (p8_mfvsrd_3_<mode>): Likewise.
39686         (reload_gpr_from_vsx<mode>): Likewise.
39687         (reload_gpr_from_vsxsf): Likewise.
39688         (p8_mfvsrd_4_disf): Likewise.
39690 2014-01-16  Richard Biener  <rguenther@suse.de>
39692         PR rtl-optimization/46590
39693         * lcm.c (compute_antinout_edge): Use postorder iteration.
39694         (compute_laterin): Use inverted postorder iteration.
39696 2014-01-16  Nick Clifton  <nickc@redhat.com>
39698         PR middle-end/28865
39699         * varasm.c (output_constant): Return the number of bytes actually
39700         emitted.
39701         (output_constructor_array_range): Update the field size with the
39702         number of bytes emitted by output_constant.
39703         (output_constructor_regular_field): Likewise.  Also do not
39704         complain if the total number of bytes emitted is now greater
39705         than the expected fieldpos.
39706         * output.h (output_constant): Update prototype and descriptive comment.
39708 2014-01-16  Marek Polacek  <polacek@redhat.com>
39710         PR middle-end/59827
39711         * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
39712         it is error_mark_node.
39714 2014-01-15  Uros Bizjak  <ubizjak@gmail.com>
39716         * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
39717         VALID_AVX256_REG_OR_OI_MODE.
39719 2014-01-15  Pat Haugen  <pthaugen@us.ibm.com>
39721         * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
39722         current procedure should be profiled.
39724 2014-01-15  Andrew Pinski  <apinski@cavium.com>
39726         * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
39727         of moving from/to the STACK_REG register class.
39729 2014-01-15  Richard Henderson  <rth@redhat.com>
39731         PR debug/54694
39732         * reginfo.c (global_regs_decl): Globalize.
39733         * rtl.h (global_regs_decl): Declare.
39734         * ira.c (do_reload): Diagnose frame_pointer_needed and it
39735         reserved via global_regs.
39737 2014-01-15  Teresa Johnson  <tejohnson@google.com>
39739         * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
39741 2014-01-15  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>
39743         * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
39744         and vmulosh rather than call gen_vec_widen_smult_*.
39745         (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
39746         than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
39747         (vec_widen_smult_even_v16qi): Likewise.
39748         (vec_widen_umult_even_v8hi): Likewise.
39749         (vec_widen_smult_even_v8hi): Likewise.
39750         (vec_widen_umult_odd_v16qi): Likewise.
39751         (vec_widen_smult_odd_v16qi): Likewise.
39752         (vec_widen_umult_odd_v8hi): Likewise.
39753         (vec_widen_smult_odd_v8hi): Likewise.
39754         (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
39755         vmuloub rather than call gen_vec_widen_umult_*.
39756         (vec_widen_umult_lo_v16qi): Likewise.
39757         (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
39758         vmulosb rather than call gen_vec_widen_smult_*.
39759         (vec_widen_smult_lo_v16qi): Likewise.
39760         (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
39761         rather than call gen_vec_widen_umult_*.
39762         (vec_widen_umult_lo_v8hi): Likewise.
39763         (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
39764         rather than call gen_vec_widen_smult_*.
39765         (vec_widen_smult_lo_v8hi): Likewise.
39767 2014-01-15  Jeff Law  <law@redhat.com>
39769         PR tree-optimization/59747
39770         * ree.c (find_and_remove_re): Properly handle case where a second
39771         eliminated extension requires widening a copy created for elimination
39772         of a prior extension.
39773         (combine_set_extension): Ensure that the number of hard regs needed
39774         for a destination register does not change when we widen it.
39776 2014-01-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
39778         * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
39779         (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
39780         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
39781         (arm*-*-rtems*): Use t-rtems from existing tmake_file.
39782         (avr-*-rtems*): Likewise.
39783         (bfin*-rtems*): Likewise.
39784         (moxie-*-rtems*): Likewise.
39785         (h8300-*-rtems*): Likewise.
39786         (i[34567]86-*-rtems*): Likewise.
39787         (lm32-*-rtems*): Likewise.
39788         (m32r-*-rtems*): Likewise.
39789         (m68k-*-rtems*): Likewise.
39790         (microblaze*-*-rtems*): Likewise.
39791         (mips*-*-rtems*): Likewise.
39792         (powerpc-*-rtems*): Likewise.
39793         (sh-*-rtems*): Likewise.
39794         (sparc-*-rtems*): Likewise.
39795         (sparc64-*-rtems*): Likewise.
39796         (v850-*-rtems*): Likewise.
39797         (m32c-*-rtems*): Likewise.
39799 2014-01-15  Vladimir Makarov  <vmakarov@redhat.com>
39801         PR rtl-optimization/59511
39802         * ira.c (ira_init_register_move_cost): Use memory costs for some
39803         cases of register move cost calculations.
39804         * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
39805         instead of BB frequency.
39806         * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
39807         * lra-assigns.c (find_hard_regno_for): Ditto.
39809 2014-01-15  Richard Biener  <rguenther@suse.de>
39811         PR tree-optimization/59822
39812         * tree-vect-stmts.c (hoist_defs_of_uses): New function.
39813         (vectorizable_load): Use it to hoist defs of uses of invariant
39814         loads out of the loop.
39816 2014-01-15  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
39817             Kugan Vivekanandarajah  <kuganv@linaro.org>
39819         PR target/59695
39820         * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
39821         truncation.
39823 2014-01-15  Richard Biener  <rguenther@suse.de>
39825         PR rtl-optimization/59802
39826         * lcm.c (compute_available): Use inverted postorder to seed
39827         the initial worklist.
39829 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39831         PR target/59803
39832         * config/s390/s390.c (s390_preferred_reload_class): Don't return
39833         ADDR_REGS for invalid symrefs in non-PIC code.
39835 2014-01-15  Jakub Jelinek  <jakub@redhat.com>
39837         PR other/58712
39838         * builtins.c (determine_block_size): Initialize *probable_max_size
39839         even if len_rtx is CONST_INT.
39841 2014-01-14  Andrew Pinski  <apinski@cavium.com>
39843         * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
39844         * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
39845         (cortexa53_tunings): Likewise.
39846         (aarch64_sched_issue_rate): New function.
39847         (TARGET_SCHED_ISSUE_RATE): Define.
39849 2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>
39851         * ira-costs.c (find_costs_and_classes): Add missed
39852         ira_init_register_move_cost_if_necessary.
39854 2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>
39856         PR target/59787
39857         * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
39859 2014-01-14  H.J. Lu  <hongjiu.lu@intel.com>
39861         PR target/59794
39862         * config/i386/i386.c (type_natural_mode): Add a bool parameter
39863         to indicate if type is used for function return value.  Warn ABI
39864         change if the vector mode isn't available for function return value.
39865         (ix86_function_arg_advance): Pass false to type_natural_mode.
39866         (ix86_function_arg): Likewise.
39867         (ix86_gimplify_va_arg): Likewise.
39868         (function_arg_32): Don't warn ABI change.
39869         (ix86_function_value): Pass true to type_natural_mode.
39870         (ix86_return_in_memory): Likewise.
39871         (ix86_struct_value_rtx): Removed.
39872         (TARGET_STRUCT_VALUE_RTX): Likewise.
39874 2014-01-14  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
39876         * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
39877         converting a conditional jump into a conditional return.
39879 2014-01-14  Richard Biener  <rguenther@suse.de>
39881         PR tree-optimization/58921
39882         PR tree-optimization/59006
39883         * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
39884         hoisting invariant stmts.
39885         * tree-vect-stmts.c (vectorizable_load): Insert the splat of
39886         invariant loads on the preheader edge if possible.
39888 2014-01-14  Joey Ye  <joey.ye@arm.com>
39890         * doc/plugin.texi (Building GCC plugins): Update to C++.
39892 2014-01-14  Kirill Yukhin  <kirill.yukhin@intel.com>
39894         * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
39895         (_mm_rcp28_round_ss): Ditto.
39896         (_mm_rsqrt28_round_sd): Ditto.
39897         (_mm_rsqrt28_round_ss): Ditto.
39898         (_mm_rcp28_sd): Ditto.
39899         (_mm_rcp28_ss): Ditto.
39900         (_mm_rsqrt28_sd): Ditto.
39901         (_mm_rsqrt28_ss): Ditto.
39902         * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
39903         * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
39904         * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
39905         (IX86_BUILTIN_RCP28SD): Ditto.
39906         (IX86_BUILTIN_RCP28SS): Ditto.
39907         (IX86_BUILTIN_RSQRT28SD): Ditto.
39908         (IX86_BUILTIN_RSQRT28SS): Ditto.
39909         (bdesc_special_args): Define __builtin_ia32_movntdqa512,
39910         __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
39911         __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
39912         (ix86_expand_special_args_builtin): Expand new FTYPE.
39913         * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
39914         (srcp14<mode>): Make insn unary.
39915         (avx512f_vmscalef<mode><round_name>): Use substed predicate.
39916         (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
39917         (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
39918         (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
39919         (avx512er_exp2<mode><mask_name><round_saeonly_name>):
39920         Fix rounding: make it SAE only.
39921         (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
39922         Ditto.
39923         (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
39924         Ditto.
39925         (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
39926         (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
39927         (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
39928         * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
39929         (round_saeonly_mask_scalar_operand4): Ditto.
39930         (round_saeonly_mask_scalar_op3): Ditto.
39931         (round_saeonly_mask_scalar_op4): Ditto.
39933 2014-01-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
39935         * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
39936         Implement -maltivec=be for vec_insert and vec_extract.
39938 2014-01-10  DJ Delorie  <dj@redhat.com>
39940         * config/msp430/msp430.md (call_internal): Don't allow memory
39941         references with SP as the base register.
39942         (call_value_internal): Likewise.
39943         * config/msp430/constraints.md (Yc): New.  For memory references
39944         that don't use SP as a base register.
39946         * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
39947         "an integer without a # prefix"
39948         * config/msp430/msp430.md (epilogue_helper): Use it.
39950 2014-01-13  Jakub Jelinek  <jakub@redhat.com>
39952         PR target/59617
39953         * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
39954         AVX512F gather builtins.
39955         * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
39956         on gather decls with INTEGER_TYPE masktype.
39957         (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
39958         directly into the builtin rather than hoisting it before loop.
39960         PR tree-optimization/59387
39961         * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
39962         (scev_const_prop): If folded_casts and type has undefined overflow,
39963         use force_gimple_operand instead of force_gimple_operand_gsi and
39964         for each added stmt if it is assign with
39965         arith_code_with_undefined_signed_overflow, call
39966         rewrite_to_defined_overflow.
39967         * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
39968         gimple-fold.h instead.
39969         (arith_code_with_undefined_signed_overflow,
39970         rewrite_to_defined_overflow): Moved to ...
39971         * gimple-fold.c (arith_code_with_undefined_signed_overflow,
39972         rewrite_to_defined_overflow): ... here.  No longer static.
39973         Include gimplify-me.h.
39974         * gimple-fold.h (arith_code_with_undefined_signed_overflow,
39975         rewrite_to_defined_overflow): New prototypes.
39977 2014-01-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
39979         * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
39981 2014-01-13  Eric Botcazou  <ebotcazou@adacore.com>
39983         * builtins.c (get_object_alignment_2): Minor tweak.
39984         * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
39986 2014-01-13  Christian Bruel  <christian.bruel@st.com>
39988         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
39989         optimized non constant lengths.
39991 2014-01-13  Jakub Jelinek  <jakub@redhat.com>
39993         PR libgomp/59194
39994         * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
39995         load as __atomic_load_N if possible.
39997 2014-01-11  David Edelsohn  <dje.gcc@gmail.com>
39999         * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
40000         target parameter.
40001         (rs6000_expand_builtin): Adjust call.
40003 2014-01-11  David Edelsohn  <dje.gcc@gmail.com>
40005         PR target/58115
40006         * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
40007         * config/rs6000/rs6000.c: Include target-globals.h.
40008         (rs6000_set_current_function): Instead of doing target_reinit
40009         unconditionally, use save_target_globals_default_opts and
40010         restore_target_globals.
40012         * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
40013         FPSCR.
40014         * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
40015         (rs6000_expand_builtin): Handle mffs and mtfsf.
40016         (rs6000_init_builtins): Define mffs and mtfsf.
40017         * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
40018         (rs6000_mffs): New pattern.
40019         (rs6000_mtfsf): New pattern.
40021 2014-01-11  Bin Cheng  <bin.cheng@arm.com>
40023         * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
40024         Start narrowing with START.  Apply candidate-use pair
40025         and check overall cost in narrowing.
40026         (iv_ca_prune): Pass new argument.
40028 2014-01-10  Jeff Law  <law@redhat.com>
40030         PR middle-end/59743
40031         * ree.c (combine_reaching_defs): Ensure the defining statement
40032         occurs before the extension when optimizing extensions with
40033         different source and destination hard registers.
40035 2014-01-10  Jan Hubicka  <hubicka@ucw.cz>
40037         PR ipa/58585
40038         * ipa-devirt.c (build_type_inheritance_graph): Also add types of
40039         vtables into the type inheritance graph.
40041 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
40043         PR rtl-optimization/59754
40044         * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
40045         modes in the REGNO != REGNO case.
40047 2014-01-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
40049         * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
40051 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
40053         PR tree-optimization/59745
40054         * tree-predcom.c (tree_predictive_commoning_loop): Call
40055         free_affine_expand_cache if giving up because components is NULL.
40057         * target-globals.c (save_target_globals): Allocate < 4KB structs using
40058         GC in payload of target_globals struct instead of allocating them on
40059         the heap and the larger structs separately using GC.
40060         * target-globals.h (struct target_globals): Make regs, hard_regs,
40061         reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
40062         of GTY((skip)) and change type to void *.
40063         (reset_target_globals): Cast loads from those fields to corresponding
40064         types.
40066 2014-01-10  Steve Ellcey  <sellcey@mips.com>
40068         PR plugins/59335
40069         * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
40070         gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
40071         tree-ssanames.h, print-tree.h, varasm.h, and context.h.
40073 2014-01-10  Richard Earnshaw  <rearnsha@arm.com>
40075         PR target/59744
40076         * aarch64-modes.def (CC_Zmode): New flags mode.
40077         * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
40078         represents an equality.
40079         (aarch64_get_condition_code): Handle CC_Zmode.
40080         * aarch64.md (compare_neg<mode>): Restrict to equality operations.
40082 2014-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40084         * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
40085         extraction in good case.
40087 2014-01-10  Richard Biener  <rguenther@suse.de>
40089         PR tree-optimization/59374
40090         * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
40091         checking after SLP discovery.  Mark stmts not participating
40092         in any SLP instance properly.
40094 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40096         * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
40097         when handling a SET rtx.
40099 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40101         * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
40102         (cortex-a57): Likewise.
40103         (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
40105 2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
40107         * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
40108         non-iwmmxt builtins.
40110 2014-01-10  Jan Hubicka  <hubicka@ucw.cz>
40112         PR ipa/58252
40113         PR ipa/59226
40114         * ipa-devirt.c record_target_from_binfo): Take as argument
40115         stack of binfos and lookup matching one for virtual inheritance.
40116         (possible_polymorphic_call_targets_1): Update.
40118 2014-01-10  Huacai Chen  <chenhc@lemote.com>
40120         * config/mips/driver-native.c (host_detect_local_cpu): Handle new
40121         kernel strings for Loongson-2E/2F/3A.
40123 2014-01-10  Jakub Jelinek  <jakub@redhat.com>
40125         PR middle-end/59670
40126         * tree-vect-data-refs.c (vect_analyze_data_refs): Check
40127         is_gimple_call before calling gimple_call_internal_p.
40129 2014-01-09  Steve Ellcey  <sellcey@mips.com>
40131         * Makefile.in (TREE_FLOW_H): Remove.
40132         (TREE_SSA_H): Add file names from tree-flow.h.
40133         * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
40134         * tree.h: Remove tree-flow.h reference.
40135         * hash-table.h: Remove tree-flow.h reference.
40136         * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
40137         reference with tree-ssa-loop.h.
40139 2014-01-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
40141         * doc/invoke.texi: Add -maltivec={be,le} options, and document
40142         default element-order behavior for -maltivec.
40143         * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
40144         * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
40145         that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
40146         when targeting big endian, at least for now.
40147         * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
40149 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
40151         PR middle-end/47735
40152         * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
40153         var satisfies use_register_for_decl, just take into account type
40154         alignment, rather than decl alignment.
40156         PR tree-optimization/59622
40157         * gimple-fold.c (gimple_fold_call): Fix a typo in message.  For
40158         __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
40159         __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
40160         Don't devirtualize for inplace at all.  For targets.length () == 1,
40161         if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
40163 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
40165         * config/i386/i386.md (cpu): Remove the unused btver1.
40167 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
40169         * gdbasan.in: Put a breakpoint on __sanitizer::Report.
40171 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
40173         PR target/58115
40174         * tree-core.h (struct target_globals): New forward declaration.
40175         (struct tree_target_option): Add globals field.
40176         * tree.h (TREE_TARGET_GLOBALS): Define.
40177         (prepare_target_option_nodes_for_pch): New prototype.
40178         * target-globals.h (struct target_globals): Define even if
40179         !SWITCHABLE_TARGET.
40180         * tree.c (prepare_target_option_node_for_pch,
40181         prepare_target_option_nodes_for_pch): New functions.
40182         * config/i386/i386.h (SWITCHABLE_TARGET): Define.
40183         * config/i386/i386.c: Include target-globals.h.
40184         (ix86_set_current_function): Instead of doing target_reinit
40185         unconditionally, use save_target_globals_default_opts and
40186         restore_target_globals.
40188 2014-01-09  Richard Biener  <rguenther@suse.de>
40190         PR tree-optimization/59715
40191         * tree-cfg.h (split_critical_edges): Declare.
40192         * tree-cfg.c (split_critical_edges): Export.
40193         * tree-ssa-sink.c (execute_sink_code): Split critical edges.
40195 2014-01-09  Max Ostapenko  <m.ostapenko@partner.samsung.com>
40197         * cfgexpand.c (expand_stack_vars): Optionally disable
40198         asan stack protection.
40199         (expand_used_vars): Likewise.
40200         (partition_stack_vars): Likewise.
40201         * asan.c (asan_emit_stack_protection): Optionally disable
40202         after return stack usage.
40203         (instrument_derefs): Optionally disable memory access instrumentation.
40204         (instrument_builtin_call): Likewise.
40205         (instrument_strlen_call): Likewise.
40206         (asan_protect_global): Optionally disable global variables protection.
40207         * doc/invoke.texi: Added doc for new options.
40208         * params.def: Added new options.
40209         * params.h: Likewise.
40211 2014-01-09  Jakub Jelinek  <jakub@redhat.com>
40213         PR rtl-optimization/59724
40214         * ifcvt.c (cond_exec_process_if_block): Don't call
40215         flow_find_head_matching_sequence with 0 longest_match.
40216         * cfgcleanup.c (flow_find_head_matching_sequence): Count even
40217         non-active insns if !stop_after.
40218         (try_head_merge_bb): Revert 2014-01-07 changes.
40220 2014-01-08  Jeff Law  <law@redhat.com>
40222         * ree.c (get_sub_rtx): New function, extracted from...
40223         (merge_def_and_ext): Here.
40224         (combine_reaching_defs): Use get_sub_rtx.
40226 2014-01-08  Eric Botcazou  <ebotcazou@adacore.com>
40228         * cgraph.h (varpool_variable_node): Do not choke on null node.
40230 2014-01-08  Catherine Moore  <clm@codesourcery.com>
40232         * config/mips/mips.md (simple_return): Attempt to use JRC
40233         for microMIPS.
40234         * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
40236 2014-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
40238         PR rtl-optimization/59137
40239         * reorg.c (steal_delay_list_from_target): Call update_block for
40240         elided insns.
40241         (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
40243 2014-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
40245         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
40246         two duplicate entries.
40248 2014-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
40250         Revert:
40251         2012-10-07  Richard Sandiford  <rdsandiford@googlemail.com>
40253         * config/mips/mips.c (mips_truncated_op_cost): New function.
40254         (mips_rtx_costs): Adjust test for BADDU.
40255         * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
40257         2012-10-02  Richard Sandiford  <rdsandiford@googlemail.com>
40259         * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
40260         (*baddu_si): ...this new pattern.
40262 2014-01-08  Jakub Jelinek  <jakub@redhat.com>
40264         PR ipa/59722
40265         * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
40267 2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>
40269         PR middle-end/57748
40270         * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
40271         inner_reference_p.
40272         (expand_expr, expand_normal): Adjust.
40273         * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
40274         inner_reference_p. Use inner_reference_p to expand inner references.
40275         (store_expr): Adjust.
40276         * cfgexpand.c (expand_call_stmt): Adjust.
40278 2014-01-08  Rong Xu  <xur@google.com>
40280         * gcov-io.c (gcov_var): Move from gcov-io.h.
40281         (gcov_position): Ditto.
40282         (gcov_is_error): Ditto.
40283         (gcov_rewrite): Ditto.
40284         * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
40285         only part to libgcc/libgcov.h.
40287 2014-01-08  Marek Polacek  <polacek@redhat.com>
40289         PR middle-end/59669
40290         * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
40292 2014-01-08  Marek Polacek  <polacek@redhat.com>
40294         PR sanitizer/59667
40295         * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
40297 2014-01-08  Jakub Jelinek  <jakub@redhat.com>
40299         PR rtl-optimization/59649
40300         * stor-layout.c (get_mode_bounds): For BImode return
40301         0 and STORE_FLAG_VALUE.
40303 2014-01-08  Richard Biener  <rguenther@suse.de>
40305         PR middle-end/59630
40306         * gimple.h (is_gimple_builtin_call): Remove.
40307         (gimple_builtin_call_types_compatible_p): New.
40308         (gimple_call_builtin_p): New overload.
40309         * gimple.c (is_gimple_builtin_call): Remove.
40310         (validate_call): Rename to ...
40311         (gimple_builtin_call_types_compatible_p): ... this and export.  Also
40312         check return types.
40313         (validate_type): New static function.
40314         (gimple_call_builtin_p): New overload and adjust.
40315         * gimple-fold.c (gimple_fold_builtin): Fold the return value.
40316         (gimple_fold_call): Likewise.  Use gimple_call_builtin_p.
40317         (gimple_fold_stmt_to_constant_1): Likewise.
40318         * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
40320 2014-01-08  Richard Biener  <rguenther@suse.de>
40322         PR middle-end/59471
40323         * gimplify.c (gimplify_expr): Gimplify register-register type
40324         VIEW_CONVERT_EXPRs to separate stmts.
40326 2014-01-07  Jeff Law  <law@redhat.com>
40328         PR middle-end/53623
40329         * ree.c (combine_set_extension): Handle case where source
40330         and destination registers in an extension insn are different.
40331         (combine_reaching_defs): Allow source and destination registers
40332         in extension to be different under limited circumstances.
40333         (add_removable_extension): Remove restriction that the
40334         source and destination registers in the extension are the same.
40335         (find_and_remove_re): Emit a copy from the extension's
40336         destination to its source after the defining insn if
40337         the source and destination registers are different.
40339         PR middle-end/59285
40340         * ifcvt.c (merge_if_block): If we are merging a block with more than
40341         one successor with a block with no successors, remove any BARRIER
40342         after the second block.
40344 2014-01-07  Dan Xio Qiang  <ziyan01@163.com>
40346         * hw-doloop.c (reorg_loops): Release the bitmap obstack.
40348 2014-01-07  John David Anglin  <danglin@gcc.gnu.org>
40350         PR target/59652
40351         * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
40352         for 14-bit register offsets when INT14_OK_STRICT is false.
40354 2014-01-07  Roland Stigge  <stigge@antcom.de>
40355             Michael Meissner  <meissner@linux.vnet.ibm.com>
40357         PR 57386/target
40358         * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
40359         Only check TFmode for SPE constants.  Don't check TImode or TDmode.
40361 2014-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
40363         * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
40364         -mcpu.
40366 2014-01-07  Yufeng Zhang  <yufeng.zhang@arm.com>
40368         * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
40369         with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
40370         rtx is const0_rtx or not.
40372 2014-01-07  Richard Sandiford  <rdsandiford@googlemail.com>
40374         PR target/58115
40375         * target-globals.c (save_target_globals): Remove this_fn_optab
40376         handling.
40377         * toplev.c: Include optabs.h.
40378         (target_reinit): Temporarily restore the global options if another
40379         set of options are in force.
40381 2014-01-07  Jakub Jelinek  <jakub@redhat.com>
40383         PR rtl-optimization/58668
40384         * cfgcleanup.c (flow_find_cross_jump): Don't count
40385         any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
40386         to determine what is counted.
40387         (flow_find_head_matching_sequence): Use active_insn_p to determine
40388         what is counted.
40389         (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
40390         counting change.
40391         * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
40392         determine what is counted.
40394         PR tree-optimization/59643
40395         * tree-predcom.c (split_data_refs_to_components): If one dr is
40396         read and one write, determine_offset fails and the write isn't
40397         in the bad component, just put the read into the bad component.
40399 2014-01-07  Mike Stump  <mikestump@comcast.net>
40400             Jakub Jelinek  <jakub@redhat.com>
40402         PR pch/59436
40403         * tree-core.h (struct tree_optimization_option): Change optabs
40404         type from unsigned char * to void *.
40405         * optabs.c (init_tree_optimization_optabs): Adjust
40406         TREE_OPTIMIZATION_OPTABS initialization.
40408 2014-01-06  Jakub Jelinek  <jakub@redhat.com>
40410         PR target/59644
40411         * config/i386/i386.h (struct machine_function): Add
40412         no_drap_save_restore field.
40413         * config/i386/i386.c (ix86_save_reg): Use
40414         !cfun->machine->no_drap_save_restore instead of
40415         crtl->stack_realign_needed.
40416         (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
40417         this function clears frame_pointer_needed.  Set
40418         cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
40419         and DRAP reg is needed.
40421 2014-01-06  Marek Polacek  <polacek@redhat.com>
40423         PR c/57773
40424         * doc/implement-c.texi: Mention that other integer types are
40425         permitted as bit-field types in strictly conforming mode.
40427 2014-01-06  Felix Yang  <fei.yang0953@gmail.com>
40429         * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
40430         is newly allocated.
40432 2014-01-06  Richard Earnshaw  <rearnsha@arm.com>
40434         * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
40436 2014-01-06  Martin Jambor  <mjambor@suse.cz>
40438         PR ipa/59008
40439         * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
40440         to int.
40441         * ipa-prop.c (ipa_print_node_params): Fix indentation.
40443 2014-01-06  Eric Botcazou  <ebotcazou@adacore.com>
40445         PR debug/59350
40446         PR debug/59510
40447         * var-tracking.c (add_stores): Preserve the value of the source even if
40448         we don't record the store.
40450 2014-01-06  Terry Guo  <terry.guo@arm.com>
40452         * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
40454 2014-01-05  Iain Sandoe  <iain@codesourcery.com>
40456         PR bootstrap/59541
40457         * config/darwin.c (darwin_function_section): Adjust return values to
40458         correspond to optimisation changes made in r206070.
40460 2014-01-05  Uros Bizjak  <ubizjak@gmail.com>
40462         * config/i386/i386.c (ix86_data_alignment): Calculate max_align
40463         from prefetch_block tune setting.
40464         (nocona_cost): Correct size of prefetch block to 64.
40466 2014-01-04  Eric Botcazou  <ebotcazou@adacore.com>
40468         * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
40469         (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
40470         used to save the static chain register in the computation of the offset
40471         from which the FP registers need to be restored.
40473 2014-01-04  Jakub Jelinek  <jakub@redhat.com>
40475         PR tree-optimization/59519
40476         * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
40477         ICE if get_current_def (current_new_name) is already non-NULL, as long
40478         as it is a phi result of some other phi in *new_exit_bb that has
40479         the same argument.
40481         * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
40482         or vmovdqu* for misaligned_operand.
40483         (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
40484         <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
40485         * config/i386/i386.c (ix86_expand_special_args_builtin): Set
40486         aligned_mem for AVX512F masked aligned load and store builtins and for
40487         non-temporal moves.
40489 2014-01-03  Bingfeng Mei  <bmei@broadcom.com>
40491         PR tree-optimization/59651
40492         * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
40493         Address range for negative step should be added by TYPE_SIZE_UNIT.
40495 2014-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40497         * config/m68k/m68k.c (handle_move_double): Handle pushes with
40498         overlapping registers also for registers other than the stack pointer.
40500 2014-01-03  Marek Polacek  <polacek@redhat.com>
40502         PR other/59661
40503         * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
40504         __builtin_FILE.
40506 2014-01-03  Jakub Jelinek  <jakub@redhat.com>
40508         PR target/59625
40509         * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
40510         asm goto as jump.
40512         * config/i386/i386.md (MODE_SIZE): New mode attribute.
40513         (push splitter): Use <P:MODE_SIZE> instead of
40514         GET_MODE_SIZE (<P:MODE>mode).
40515         (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
40516         (mov -1, reg peephole2): Likewise.
40517         * config/i386/sse.md (*mov<mode>_internal,
40518         <sse>_storeu<ssemodesuffix><avxsizesuffix>,
40519         <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
40520         *<code><mode>3, *andnot<mode>3<mask_name>,
40521         <mask_codefor><code><mode>3<mask_name>): Likewise.
40522         * config/i386/subst.md (mask_mode512bit_condition,
40523         sd_mask_mode512bit_condition): Likewise.
40525 2014-01-02  Xinliang David Li  <davidxl@google.com>
40527         PR tree-optimization/59303
40528         * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
40529         (dump_predicates): Better output format.
40530         (pred_equal_p): New function.
40531         (is_neq_relop_p): Ditto.
40532         (is_neq_zero_form_p): Ditto.
40533         (pred_expr_equal_p): Ditto.
40534         (pred_neg_p): Ditto.
40535         (simplify_pred): Ditto.
40536         (simplify_preds_2): Ditto.
40537         (simplify_preds_3): Ditto.
40538         (simplify_preds_4): Ditto.
40539         (simplify_preds): Ditto.
40540         (push_pred): Ditto.
40541         (push_to_worklist): Ditto.
40542         (get_pred_info_from_cmp): Ditto.
40543         (is_degenerated_phi): Ditto.
40544         (normalize_one_pred_1): Ditto.
40545         (normalize_one_pred): Ditto.
40546         (normalize_one_pred_chain): Ditto.
40547         (normalize_preds): Ditto.
40548         (normalize_cond_1): Remove function.
40549         (normalize_cond): Ditto.
40550         (is_gcond_subset_of): Ditto.
40551         (is_subset_of_any): Ditto.
40552         (is_or_set_subset_of): Ditto.
40553         (is_and_set_subset_of): Ditto.
40554         (is_norm_cond_subset_of): Ditto.
40555         (pred_chain_length_cmp): Ditto.
40556         (convert_control_dep_chain_into_preds): Type change.
40557         (find_predicates): Ditto.
40558         (find_def_preds): Ditto.
40559         (destroy_predicates_vecs): Ditto.
40560         (find_matching_predicates_in_rest_chains): Ditto.
40561         (use_pred_not_overlap_with_undef_path_pred): Ditto.
40562         (is_pred_expr_subset): Ditto.
40563         (is_pred_chain_subset_of): Ditto.
40564         (is_included_in): Ditto.
40565         (is_superset_of): Ditto.
40567 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
40569         Update copyright years.
40571 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
40573         * common/config/arc/arc-common.c, config/arc/arc-modes.def,
40574         config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
40575         config/arc/arc.md, config/arc/arc.opt,
40576         config/arm/arm_neon_builtins.def, config/arm/crypto.def,
40577         config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
40578         config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
40579         config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
40580         config/linux-protos.h, config/linux.c, config/winnt-c.c,
40581         diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
40582         vtable-verify.c, vtable-verify.h: Use the standard form for the
40583         copyright notice.
40585 2014-01-02  Tobias Burnus  <burnus@net-b.de>
40587         * gcc.c (process_command): Update copyright notice dates.
40588         * gcov-dump.c: Ditto.
40589         * gcov.c: Ditto.
40590         * doc/cpp.texi: Bump @copying's copyright year.
40591         * doc/cppinternals.texi: Ditto.
40592         * doc/gcc.texi: Ditto.
40593         * doc/gccint.texi: Ditto.
40594         * doc/gcov.texi: Ditto.
40595         * doc/install.texi: Ditto.
40596         * doc/invoke.texi: Ditto.
40598 2014-01-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
40600         * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
40602 2014-01-01  Jakub Jelinek  <jakub@redhat.com>
40604         * config/i386/sse.md (*mov<mode>_internal): Guard
40605         EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
40607         PR rtl-optimization/59647
40608         * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
40609         new_rtx into UNSIGNED_FLOAT rtxes.
40611 Copyright (C) 2014 Free Software Foundation, Inc.
40613 Copying and distribution of this file, with or without modification,
40614 are permitted in any medium without royalty provided the copyright
40615 notice and this notice are preserved.