dwarf2cfi.c: Use rtx_insn
[gcc.git] / gcc / ChangeLog
1 2014-08-22 David Malcolm <dmalcolm@redhat.com>
2
3 * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
4 from rtx to rtx_insn *.
5 (create_pseudo_cfg): Likewise for local "insn".
6
7 2014-08-22 David Malcolm <dmalcolm@redhat.com>
8
9 * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
10 from rtx to rtx_insn *.
11 (df_bb_regno_last_def_find): Likewise.
12
13 * df-problems.c (df_rd_bb_local_compute): Likewise.
14 (df_lr_bb_local_compute): Likewise.
15 (df_live_bb_local_compute): Likewise.
16 (df_chain_remove_problem): Likewise.
17 (df_chain_create_bb): Likewise.
18 (df_word_lr_bb_local_compute): Likewise.
19 (df_remove_dead_eq_notes): Likewise for param "insn".
20 (df_note_bb_compute): Likewise for local "insn".
21 (simulate_backwards_to_point): Likewise.
22 (df_md_bb_local_compute): Likewise.
23
24 * df-scan.c (df_scan_free_bb_info): Likewise.
25 (df_scan_start_dump): Likewise.
26 (df_scan_start_block): Likewise.
27 (df_install_ref_incremental): Likewise for local "insn".
28 (df_insn_rescan_all): Likewise.
29 (df_reorganize_refs_by_reg_by_insn): Likewise.
30 (df_reorganize_refs_by_insn_bb): Likewise.
31 (df_recompute_luids): Likewise.
32 (df_bb_refs_record): Likewise.
33 (df_update_entry_exit_and_calls): Likewise.
34 (df_bb_verify): Likewise.
35
36 2014-08-22 David Malcolm <dmalcolm@redhat.com>
37
38 * ddg.h (struct ddg_node): Strengthen fields "insn" and
39 "first_note" from rtx to rtx_insn *.
40 (get_node_of_insn): Likewise for param 2 "insn".
41 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
42
43 * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
44 rtx_insn *.
45 (mem_write_insn_p): Likewise.
46 (mem_access_insn_p): Likewise.
47 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
48 (def_has_ccmode_p): Likewise for param "insn".
49 (add_cross_iteration_register_deps): Likewise for locals
50 "def_insn" and "use_insn".
51 (insns_may_alias_p): Likewise for params "insn1" and "insn2".
52 (build_intra_loop_deps): Likewise for local "src_insn".
53 (create_ddg): Strengthen locals "insn" and "first_note" from rtx
54 to rtx_insn *.
55 (get_node_of_insn): Likewise for param "insn".
56
57 2014-08-22 David Malcolm <dmalcolm@redhat.com>
58
59 * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
60 (deletable_insn_p): Strengthen param "insn" from rtx to
61 rtx_insn *. Add checked cast to rtx_call_insn when invoking
62 find_call_stack_args, since this is guarded by CALL_P (insn).
63 (marked_insn_p): Strengthen param "insn" from rtx to
64 rtx_insn *.
65 (mark_insn): Likewise. Add checked cast to rtx_call_insn when
66 invoking find_call_stack_args, since this is guarded by
67 CALL_P (insn).
68 (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
69 rtx_insn *; we know this is an insn since this was called by
70 mark_nonreg_stores.
71 (mark_nonreg_stores_2): Likewise.
72 (mark_nonreg_stores): Strengthen param "insn" from rtx to
73 rtx_insn *.
74 (find_call_stack_args): Strengthen param "call_insn" from rtx to
75 rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
76 to rtx_insn *.
77 (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
78 from rtx to rtx_insn *.
79 (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
80 "next", "ref_insn".
81 (delete_unmarked_insns): Likewise for locals "insn", "next".
82 (prescan_insns_for_dce): Likewise for locals "insn", "prev".
83 (mark_reg_dependencies): Likewise for param "insn".
84 (rest_of_handle_ud_dce): Likewise for local "insn".
85 (word_dce_process_block): Likewise.
86 (dce_process_block): Likewise.
87
88 2014-08-22 David Malcolm <dmalcolm@redhat.com>
89
90 * cse.c (struct qty_table_elem): Strengthen field "const_insn"
91 from rtx to rtx_insn *.
92 (struct change_cc_mode_args): Likewise for field "insn".
93 (this_insn): Strengthen from rtx to rtx_insn *.
94 (make_new_qty): Replace use of NULL_RTX with NULL when dealing
95 with insn.
96 (validate_canon_reg): Strengthen param "insn" from rtx to
97 rtx_insn *.
98 (canon_reg): Likewise.
99 (fold_rtx): Likewise. Replace use of NULL_RTX with NULL when
100 dealing with insn.
101 (record_jump_equiv): Strengthen param "insn" from rtx to
102 rtx_insn *.
103 (try_back_substitute_reg): Likewise, also for locals "prev",
104 "bb_head".
105 (find_sets_in_insn): Likewise for param "insn".
106 (canonicalize_insn): Likewise.
107 (cse_insn): Likewise. Add a checked cast.
108 (invalidate_from_clobbers): Likewise for param "insn".
109 (invalidate_from_sets_and_clobbers): Likewise.
110 (cse_process_notes_1): Replace use of NULL_RTX with NULL when
111 dealing with insn.
112 (cse_prescan_path): Strengthen local "insn" from rtx to
113 rtx_insn *.
114 (cse_extended_basic_block): Likewise for locals "insn" and
115 "prev_insn".
116 (cse_main): Likewise for param "f".
117 (check_for_label_ref): Likewise for local "insn".
118 (set_live_p): Likewise for second param ("insn").
119 (insn_live_p): Likewise for first param ("insn") and for local
120 "next".
121 (cse_change_cc_mode_insn): Likewise for first param "insn".
122 (cse_change_cc_mode_insns): Likewise for first and second params
123 "start" and "end".
124 (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
125 and "end".
126 (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
127 "cc_src_insn".
128
129 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
130 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
131 Anna Tikhonova <anna.tikhonova@intel.com>
132 Ilya Tocar <ilya.tocar@intel.com>
133 Andrey Turetskiy <andrey.turetskiy@intel.com>
134 Ilya Verbin <ilya.verbin@intel.com>
135 Kirill Yukhin <kirill.yukhin@intel.com>
136 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
137
138 * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
139 New.
140 * config/i386/sse.md
141 (define_mode_iterator VI248_AVX2): Delete.
142 (define_mode_iterator VI2_AVX2_AVX512BW): New.
143 (define_mode_iterator VI48_AVX2): Ditto.
144 (define_insn <shift_insn><mode>3): Delete.
145 (define_insn "<shift_insn><mode>3<mask_name>" with
146 VI2_AVX2_AVX512BW): New.
147 (define_insn "<shift_insn><mode>3<mask_name>" with
148 VI48_AVX2): Ditto.
149
150 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
151 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
152 Anna Tikhonova <anna.tikhonova@intel.com>
153 Ilya Tocar <ilya.tocar@intel.com>
154 Andrey Turetskiy <andrey.turetskiy@intel.com>
155 Ilya Verbin <ilya.verbin@intel.com>
156 Kirill Yukhin <kirill.yukhin@intel.com>
157 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
158
159 * config/i386/sse.md
160 (define_mode_iterator VI4F_BRCST32x2): New.
161 (define_mode_attr 64x2_mode): Ditto.
162 (define_mode_attr 32x2mode): Ditto.
163 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
164 with VI4F_BRCST32x2): Ditto.
165 (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
166 with V16FI mode iterator): Ditto.
167 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
168 with V16FI): Ditto.
169 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
170 with VI8F_BRCST64x2): Ditto.
171
172 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
173 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
174 Anna Tikhonova <anna.tikhonova@intel.com>
175 Ilya Tocar <ilya.tocar@intel.com>
176 Andrey Turetskiy <andrey.turetskiy@intel.com>
177 Ilya Verbin <ilya.verbin@intel.com>
178 Kirill Yukhin <kirill.yukhin@intel.com>
179 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
180
181 * config/i386/sse.md
182 (define_mode_iterator VI8_AVX512VL): New.
183 (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
184
185 2014-08-22 Kirill Yukhin <kirill.yukhin@intel.com>
186
187 * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
188 (define_mode_iterator V48_AVX512VL): New.
189 (define_mode_iterator V12_AVX512VL): Ditto.
190 (define_insn <avx512>_load<mode>_mask): Split into two similar
191 patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
192 Refactor output template.
193 (define_insn "<avx512>_store<mode>_mask"): Ditto.
194
195 2014-08-22 David Malcolm <dmalcolm@redhat.com>
196
197 * cprop.c (struct occr): Strengthen field "insn" from rtx to
198 rtx_insn *.
199 (reg_available_p): Likewise for param "insn".
200 (insert_set_in_table): Likewise.
201 (hash_scan_set): Likewise.
202 (hash_scan_insn): Likewise.
203 (make_set_regs_unavailable): Likewise.
204 (compute_hash_table_work): Likewise for local "insn".
205 (reg_not_set_p): Strengthen param "insn" from const_rtx to
206 const rtx_insn *.
207 (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
208 (try_replace_reg): Likewise.
209 (find_avail_set): Likewise.
210 (cprop_jump): Likewise for params "setcc", "jump".
211 (constprop_register): Likewise for param "insn".
212 (cprop_insn): Likewise.
213 (do_local_cprop): Likewise.
214 (local_cprop_pass): Likewise for local "insn".
215 (bypass_block): Likewise for params "setcc" and "jump".
216 (bypass_conditional_jumps): Likewise for locals "setcc" and
217 "insn".
218 (one_cprop_pass): Likewise for local "insn".
219
220 2014-08-22 David Malcolm <dmalcolm@redhat.com>
221
222 * compare-elim.c (struct comparison_use): Strengthen field "insn"
223 from rtx to rtx_insn *.
224 (struct comparison): Likewise, also for field "prev_clobber".
225 (conforming_compare): Likewise for param "insn".
226 (arithmetic_flags_clobber_p): Likewise.
227 (find_flags_uses_in_insn): Likewise.
228 (find_comparison_dom_walker::before_dom_children): Likewise for
229 locals "insn", "next", "last_clobber".
230 (try_eliminate_compare): Likewise for locals "insn", "bb_head".
231
232 2014-08-22 David Malcolm <dmalcolm@redhat.com>
233
234 * combine-stack-adj.c (struct csa_reflist): Strengthen field
235 "insn" from rtx to rtx_insn *.
236 (single_set_for_csa): Likewise for param "insn".
237 (record_one_stack_ref): Likewise.
238 (try_apply_stack_adjustment): Likewise.
239 (struct record_stack_refs_data): Likewise for field "insn".
240 (maybe_move_args_size_note): Likewise for params "last" and "insn".
241 (prev_active_insn_bb): Likewise for return type and param "insn".
242 (next_active_insn_bb): Likewise.
243 (force_move_args_size_note): Likewise for params "prev" and "last"
244 and locals "test", "next_candidate", "prev_candidate".
245 (combine_stack_adjustments_for_block): Strengthen locals
246 "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
247 rtx_insn *.
248
249 2014-08-21 David Malcolm <dmalcolm@redhat.com>
250
251 * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
252 (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
253 (subst_insn): Likewise for this variable.
254 (added_links_insn): Likewise.
255 (struct insn_link): Likewise for field "insn".
256 (alloc_insn_link): Likewise for param "insn".
257 (struct undobuf): Likewise for field "other_insn".
258 (find_single_use): Likewise for param "insn" and local "next".
259 (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
260 (delete_noop_moves): Likewise for locals "insn", "next".
261 (create_log_links): Likewise for locals "insn", "use_insn".
262 Strengthen local "next_use" from rtx * to rtx_insn **.
263 (insn_a_feeds_b): Likewise for params "a", "b".
264 (combine_instructions): Likewise for param "f" and locals "insn",
265 "next", "prev", "first", "last_combined_insn", "link", "link1",
266 "temp". Replace use of NULL_RTX with NULL when referring to
267 insns.
268 (setup_incoming_promotions): Likewise for param "first"
269 (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
270 (can_combine_p): Likewise for params "insn", "i3", "pred",
271 "pred2", "succ", "succ2" and for local "p".
272 (combinable_i3pat): Likewise for param "i3".
273 (cant_combine_insn_p): Likewise for param "insn".
274 (likely_spilled_retval_p): Likewise.
275 (adjust_for_new_dest): Likewise.
276 (update_cfg_for_uncondjump): Likewise, also for local "insn".
277 (try_combine): Likewise for return type and for params "i3", "i2",
278 "i1", "i0", "last_combined_insn", and for locals "insn",
279 "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
280 "i0_insn". Eliminate local "tem" in favor of new locals
281 "tem_note" and "tem_insn", the latter being an rtx_insn *. Add a
282 checked cast for now to rtx_insn * on the return type of
283 gen_rtx_INSN. Replace use of NULL_RTX with NULL when referring to
284 insns.
285 (find_split_point): Strengthen param "insn" from rtx to
286 rtx_insn *.
287 (simplify_set): Likewise for local "other_insn".
288 (recog_for_combine): Likewise for param "insn".
289 (record_value_for_reg): Likewise.
290 (record_dead_and_set_regs_1): Likewise for local
291 "record_dead_insn".
292 (record_dead_and_set_regs): Likewise for param "insn".
293 (record_promoted_value): Likewise.
294 (check_promoted_subreg): Likewise.
295 (get_last_value_validate): Likewise.
296 (reg_dead_at_p): Likewise.
297 (move_deaths): Likewise for param "to_insn".
298 (distribute_notes): Likewise for params "from_insn", "i3", "i2"
299 and locals "place", "place2", "cc0_setter". Eliminate local "tem
300 in favor of new locals "tem_note" and "tem_insn", the latter being
301 an rtx_insn *.
302 (distribute_links): Strengthen locals "place", "insn" from rtx to
303 rtx_insn *.
304
305 2014-08-21 David Malcolm <dmalcolm@redhat.com>
306
307 * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
308 than a const_rtx.
309 (can_delete_label_p): Require a const rtx_code_label * rather than
310 a const_rtx.
311 (delete_insn): Add checked cast to rtx_code_label * when we know
312 we're dealing with LABEL_P (insn). Strengthen local "bb_note" from
313 rtx to rtx_insn *.
314 (delete_insn_chain): Strengthen locals "prev" and "current" from
315 rtx to rtx_insn *. Add a checked cast when assigning from
316 "finish" (strengthening the params will come later). Add a
317 checked cast to rtx_note * in region where we know
318 NOTE_P (current).
319 (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
320 rtx_insn *.
321 (compute_bb_for_insn): Likewise.
322 (free_bb_for_insn): Likewise for local "insn".
323 (compute_bb_for_insn): Likewise.
324 (update_bb_for_insn_chain): Strengthen params "begin", "end" and
325 local "insn" from rtx to rtx_insn *
326 (flow_active_insn_p): Require a const rtx_insn * rather than a
327 const_rtx.
328 (contains_no_active_insn_p): Strengthen local "insn" from rtx to
329 rtx_insn *.
330 (can_fallthru): Likewise for locals "insn" and "insn2".
331 (bb_note): Likewise for local "note".
332 (first_insn_after_basic_block_note): Likewise for local "note" and
333 for return type.
334 (rtl_split_block): Likewise for locals "insn" and "next".
335 (unique_locus_on_edge_between_p): Likewise for locals "insn" and
336 "end".
337 (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
338 "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
339 "prev", "tmp".
340 (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
341 them), "kill_from", "barrier", "new_insn".
342 (patch_jump_insn): Likewise for params "insn", "old_label".
343 (redirect_branch_edge): Likewise for locals "old_label", "insn".
344 (force_nonfallthru_and_redirect): Likewise for locals "insn",
345 "old_label", "new_label".
346 (rtl_tidy_fallthru_edge): Likewise for local "q".
347 (rtl_split_edge): Likewise for locals "before", "last".
348 (commit_one_edge_insertion): Likewise for locals "before",
349 "after", "insns", "tmp", "last", adding a checked cast where
350 currently necessary.
351 (commit_edge_insertions): Likewise.
352 (rtl_dump_bb): Likewise for locals "insn", "last".
353 (print_rtl_with_bb): Likewise for local "x".
354 (rtl_verify_bb_insns): Likewise for local "x".
355 (rtl_verify_bb_pointers): Likewise for local "insn".
356 (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
357 "head", "end".
358 (rtl_verify_fallthru): Likewise for local "insn".
359 (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
360 (purge_dead_edges): Likewise for local "insn".
361 (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
362 (skip_insns_after_block): Likewise for return type and for locals
363 "insn", "last_insn", "next_head", "prev".
364 (record_effective_endpoints): Likewise for locals "next_insn",
365 "insn", "end".
366 (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
367 (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
368 (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
369 (duplicate_insn_chain): For now, add checked cast from rtx to
370 rtx_insn * when returning insn.
371 (cfg_layout_duplicate_bb): Likewise for local "insn".
372 (cfg_layout_delete_block): Likewise for locals "insn", "next",
373 "prev", "remaints".
374 (cfg_layout_merge_blocks): Likewise for local "insn", "last".
375 (rtl_block_empty_p): Likewise.
376 (rtl_split_block_before_cond_jump): Likewise for locals "insn",
377 "split_point", "last".
378 (rtl_block_ends_with_call_p): Likewise for local "insn".
379 (need_fake_edge_p): Strengthen param "insn" from const_rtx to
380 const rtx_insn *.
381 (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
382 "split_at_insn" from rtx to rtx_insn *.
383 (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
384 (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
385 to const rtx_insn *.
386 (rtl_account_profile_record): Likewise.
387
388 2014-08-21 David Malcolm <dmalcolm@redhat.com>
389
390 * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
391 rtx to rtx_insn *.
392 (average_num_loop_insns): Likewise.
393 (init_set_costs): Likewise for local "seq".
394 (seq_cost): Likewise for param "seq", from const_rtx to const
395 rtx_insn *.
396
397 2014-08-21 David Malcolm <dmalcolm@redhat.com>
398
399 * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
400 rtx to rtx_insn *.
401
402 2014-08-21 David Malcolm <dmalcolm@redhat.com>
403
404 * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
405 "f1" and "f2" from rtx * to rtx_insn **.
406 (flow_find_head_matching_sequence): Likewise.
407
408 * cfgcleanup.c (try_simplify_condjump): Strengthen local
409 "cbranch_insn" from rtx to rtx_insn *.
410 (thread_jump): Likewise for local "insn".
411 (try_forward_edges): Likewise for local "last".
412 (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
413 (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
414 "real_b_end".
415 (can_replace_by): Likewise for params "i1", "i2".
416 (old_insns_match_p): Likewise.
417 (merge_notes): Likewise.
418 (walk_to_nondebug_insn): Likewise for param "i1".
419 (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
420 to rtx_insn **. Strengthen locals "i1", "i2", "last1", "last2",
421 "afterlast1", "afterlast2" from rtx to rtx_insn *.
422 (flow_find_head_matching_sequence): Strengthen params "f1" and
423 "f2" from rtx * to rtx_insn **. Strengthen locals "i1", "i2",
424 "last1", "last2", "beforelast1", "beforelast2" from rtx to
425 rtx_insn *.
426 (outgoing_edges_match): Likewise for locals "last1", "last2".
427 (try_crossjump_to_edge): Likewise for local "insn".
428 Replace call to for_each_rtx with for_each_rtx_in_insn.
429
430 (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
431 (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
432 "e0_last", "e_last", "head", "curr", "insn". Strengthen locals
433 "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
434 (try_optimize_cfg): Strengthen local "last" from rtx to
435 rtx_insn *.
436 (delete_dead_jumptables): Likewise for locals "insn", "next",
437 "label".
438
439 * ifcvt.c (cond_exec_process_if_block): Likewise for locals
440 "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
441 "rtx else_first_tail", to reflect the basic-block.h changes above.
442
443 2014-08-21 David Malcolm <dmalcolm@redhat.com>
444
445 * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
446 rtx_insn *.
447 (purge_dead_tablejump_edges): Likewise.
448 (find_bb_boundaries): Likewise for locals "insn", "end",
449 "flow_transfer_insn".
450
451 2014-08-21 David Malcolm <dmalcolm@redhat.com>
452
453 * caller-save.c (save_call_clobbered_regs): Strengthen locals
454 "ins" and "prev" from rtx to rtx_insn *.
455
456 2014-08-21 David Malcolm <dmalcolm@redhat.com>
457
458 * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
459 rtx_insn *.
460 (internal_arg_pointer_exp_state): Likewise for field "scan_start".
461 (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
462 "scan_start".
463 (load_register_parameters): Likewise for local "before_arg".
464 (check_sibcall_argument_overlap): Likewise for param "insn".
465 (expand_call): Likewise for locals "normal_call_insns",
466 "tail_call_insns", "insns", "before_call", "after_args",
467 "before_arg", "last", "prev". Strengthen one of the "last" from
468 rtx to rtx_call_insn *.
469 (fixup_tail_calls): Strengthen local "insn" from rtx to
470 rtx_insn *.
471 (emit_library_call_value_1): Likewise for locals "before_call" and
472 "last".
473
474 2014-08-21 David Malcolm <dmalcolm@redhat.com>
475
476 * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
477 and "last" from rtx to rtx_insn *.
478 (expand_builtin_nonlocal_goto): Likewise for local "insn".
479 (expand_builtin_apply): Strengthen local "call_insn" from rtx to
480 rtx_call_insn *.
481 (expand_errno_check): Strengthen local "lab" from rtx to
482 rtx_code_label *.
483 (expand_builtin_mathfn): Strengthen local "insns" from rtx to
484 rtx_insn *.
485 (expand_builtin_mathfn_2): Likewise.
486 (expand_builtin_mathfn_ternary): Likewise.
487 (expand_builtin_mathfn_3): Likewise.
488 (expand_builtin_interclass_mathfn): Likewise for local "last".
489 (expand_builtin_int_roundingfn): Likewise for local "insns".
490 (expand_builtin_int_roundingfn_2): Likewise.
491 (expand_builtin_strlen): Likewise for local "before_strlen".
492 (expand_builtin_strncmp): Likewise for local "seq".
493 (expand_builtin_signbit): Likewise for local "last".
494 (expand_builtin_atomic_compare_exchange): Strengthen local "label"
495 from rtx to rtx_code_label *.
496 (expand_stack_restore): Strengthen local "prev" from rtx to
497 rtx_insn *.
498
499 2014-08-21 David Malcolm <dmalcolm@redhat.com>
500
501 * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
502 to rtx_insn *.
503 (struct btr_def_s): Likewise.
504 (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
505 const rtx_insn *.
506 (add_btr_def): Likewise.
507 (new_btr_user): Likewise.
508 (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
509 rtx to rtx_insn *.
510 (link_btr_uses): Likewise.
511 (move_btr_def): Likewise for locals "insp", "old_insn",
512 "new_insn". Add checked cast to rtx_insn * for now on result of
513 gen_move_insn.
514 (can_move_up): Strengthen param "insn" from const_rtx to
515 const rtx_insn *.
516
517 2014-08-21 David Malcolm <dmalcolm@redhat.com>
518
519 * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
520 rtx_insn *.
521 (get_uncond_jump_length): Likewise for locals "label", "jump".
522 (fix_up_crossing_landing_pad): Likewise for locals "new_label",
523 "jump", "insn".
524 (add_labels_and_missing_jumps): Likewise for local "new_jump".
525 (fix_up_fall_thru_edges): Likewise for local "old_jump".
526 (find_jump_block): Likewise for local "insn".
527 (fix_crossing_conditional_branches): Likewise for locals
528 "old_jump", "new_jump".
529 (fix_crossing_unconditional_branches): Likewise for locals
530 "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
531 (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
532
533 2014-08-21 David Malcolm <dmalcolm@redhat.com>
534
535 * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
536 rtx to rtx_insn *.
537 (struct mem_insn): Likewise for field "insn".
538 (reg_next_use): Strengthen from rtx * to rtx_insn **.
539 (reg_next_inc_use): Likewise.
540 (reg_next_def): Likewise.
541 (move_dead_notes): Strengthen params "to_insn" and "from_insn"
542 from rtx to rtx_insn *.
543 (move_insn_before): Likewise for param "next_insn" and local "insns".
544 (attempt_change): Likewise for local "mov_insn".
545 (try_merge): Likewise for param "last_insn".
546 (get_next_ref): Likewise for return type and local "insn".
547 Strengthen param "next_array" from rtx * to rtx_insn **.
548 (parse_add_or_inc): Strengthen param "insn" from rtx to
549 rtx_insn *.
550 (find_inc): Likewise for locals "insn" and "other_insn" (three of
551 the latter).
552 (merge_in_block): Likewise for locals "insn", "curr",
553 "other_insn".
554 (pass_inc_dec::execute): Update allocations of the arrays to
555 reflect the stronger types.
556
557 2014-08-21 David Malcolm <dmalcolm@redhat.com>
558
559 * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
560 and "jump" from rtx to rtx_insn *. Strengthen local "top_label"
561 from rtx to rtx_code_label *.
562
563 2014-08-21 David Malcolm <dmalcolm@redhat.com>
564
565 * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
566 to rtx_insn *.
567
568 2014-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
569
570 * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
571 generated a warning and prevented bootstrapping the compiler.
572
573 2014-08-21 David Malcolm <dmalcolm@redhat.com>
574
575 * rtl.h (delete_related_insns): Strengthen return type from rtx to
576 rtx_insn *.
577
578 * jump.c (delete_related_insns): Likewise, also for locals "next"
579 and "prev".
580
581 2014-08-21 David Malcolm <dmalcolm@redhat.com>
582
583 * genautomata.c (output_internal_insn_latency_func): When writing
584 the function "internal_insn_latency" to insn-automata.c,
585 strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
586 allowing the optional guard function of (define_bypass) clauses to
587 expect a pair of rtx_insn *, rather than a pair of rtx.
588 (output_insn_latency_func): When writing the function
589 "insn_latency", add an "uncast_" prefix to params "insn" and
590 "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
591 using checked casts from the params, thus enabling the above
592 change to the generated "internal_insn_latency" function.
593
594 2014-08-21 Jan Hubicka <hubicka@ucw.cz>
595
596 PR tree-optimization/62091
597 * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
598 handle correctly arrays.
599 (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
600 inheritance binfos.
601 (record_known_type): Walk into inner type.
602 (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
603 condition on no type changes.
604
605 2014-08-21 David Malcolm <dmalcolm@redhat.com>
606
607 * genattrtab.c (write_attr_get): Within the generated get_attr_
608 functions, rename param "insn" to "uncast_insn" and reintroduce
609 "insn" as an local rtx_insn * using a checked cast, so that "insn"
610 is an rtx_insn * within insn-attrtab.c
611
612 2014-08-21 David Malcolm <dmalcolm@redhat.com>
613
614 * output.h (peephole): Strengthen return type from rtx to
615 rtx_insn *.
616 * rtl.h (delete_for_peephole): Likewise for both params.
617 * genpeep.c (main): In generated "peephole" function, strengthen
618 return type and local "insn" from rtx to rtx_insn *. For now,
619 rename param "ins1" to "uncast_ins1", adding "ins1" back as an
620 rtx_insn *, with a checked cast.
621 * jump.c (delete_for_peephole): Strengthen params "from", "to" and
622 locals "insn", "next", "prev" from rtx to rtx_insn *.
623
624 2014-08-21 Marc Glisse <marc.glisse@inria.fr>
625
626 PR tree-optimization/62112
627 * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
628 * gimple-iterator.h (gsi_replace): Return bool.
629 * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
630 moved from ref_may_alias_global_p.
631 (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
632 New overloads.
633 (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
634 (stmt_kills_ref_p_1): Rename...
635 (stmt_kills_ref_p): ... to this.
636 * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
637 stmt_kills_ref_p): Declare.
638 * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
639 Move the self-assignment case...
640 (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
641
642 2014-08-21 David Malcolm <dmalcolm@redhat.com>
643
644 * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
645
646 * emit-rtl.c (try_split): Likewise, also for locals "before" and
647 "after". For now, don't strengthen param "trial", which requires
648 adding checked casts when returning it.
649
650 2014-08-21 David Malcolm <dmalcolm@redhat.com>
651
652 * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
653 "label" from rtx to rtx_code_label *. Strengthen param 1 of
654 "var_location" hook from rtx to rtx_insn *.
655 (debug_nothing_rtx): Delete in favor of...
656 (debug_nothing_rtx_code_label): New prototype.
657 (debug_nothing_rtx_rtx): Delete unused prototype.
658 (debug_nothing_rtx_insn): New prototype.
659
660 * final.c (final_scan_insn): Add checked cast to rtx_insn * when
661 invoking debug_hooks->var_location (in two places, one in a NOTE
662 case of a switch statement, the other guarded by a CALL_P
663 conditional. Add checked cast to rtx_code_label * when invoking
664 debug_hooks->label (within CODE_LABEL case of switch statement).
665
666 * dbxout.c (dbx_debug_hooks): Update "label" hook from
667 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
668 "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
669 (xcoff_debug_hooks): Likewise.
670 * debug.c (do_nothing_debug_hooks): Likewise.
671 (debug_nothing_rtx): Delete in favor of...
672 (debug_nothing_rtx_insn): New function.
673 (debug_nothing_rtx_rtx): Delete unused function.
674 (debug_nothing_rtx_code_label): New function.
675 * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
676 debug_nothing_rtx to debug_nothing_rtx_code_label.
677 (dwarf2out_var_location): Strengthen param "loc_note" from rtx
678 to rtx_insn *.
679 * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
680 debug_nothing_rtx to debug_nothing_rtx_insn.
681 (sdbout_label): Strengthen param "insn" from rtx to
682 rtx_code_label *.
683 * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
684 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
685 "var_location" hook from debug_nothing_rtx to
686 debug_nothing_rtx_insn.
687
688 2014-08-21 David Malcolm <dmalcolm@redhat.com>
689
690 * recog.h (insn_output_fn): Update this function typedef to match
691 the changes below to the generated output functions, strengthening
692 the 2nd param from rtx to rtx_insn *.
693
694 * final.c (get_insn_template): Add a checked cast to rtx_insn * on
695 insn when invoking an output function, to match the new signature
696 of insn_output_fn with a stronger second param.
697
698 * genconditions.c (write_header): In the generated code for
699 gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
700 to match the other changes in this patch.
701
702 * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
703 the generated "gen_" functions from rtx to rtx_insn * within their
704 implementations.
705
706 * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
707 the subfunctions within the generated "recog_", "split", "peephole2"
708 function trees from rtx to rtx_insn *. For now, the top-level
709 generated functions ("recog", "split", "peephole2") continue to
710 take a plain rtx for "insn", to avoid introducing dependencies on
711 other patches. Rename this 2nd param from "insn" to
712 "uncast_insn", and reintroduce "insn" as a local variable of type
713 rtx_insn *, initialized at the top of the generated function with
714 a checked cast on "uncast_insn".
715 (make_insn_sequence): Strengthen the 1st param "curr_insn" of
716 the generated "gen_" functions from rtx to rtx_insn * within their
717 prototypes.
718
719 * genoutput.c (process_template): Strengthen the 2nd param within
720 the generated "output_" functions "insn" from rtx to rtx_insn *.
721
722 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
723
724 * tree-profile.c (tree_profiling): Skip external functions
725 when doing coverage instrumentation.
726 * cgraphunit.c (compile): Do not assert that all nodes are reachable.
727
728 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
729
730 * config/rs6000/altivec.h (vec_cpsgn): New #define.
731 (vec_mergee): Likewise.
732 (vec_mergeo): Likewise.
733 (vec_cntlz): Likewise.
734 * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
735 entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
736 VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
737 VMRGEW, and VMRGOW.
738 * doc/extend.texi: Document various forms of vec_cpsgn,
739 vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
740 vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
741 vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
742 vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
743 vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
744
745 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
746
747 * config/rs6000/rs6000.c (context.h): New include.
748 (tree-pass.h): Likewise.
749 (make_pass_analyze_swaps): New decl.
750 (rs6000_option_override): Register pass_analyze_swaps.
751 (swap_web_entry): New subsclass of web_entry_base (df.h).
752 (special_handling_values): New enum.
753 (union_defs): New function.
754 (union_uses): Likewise.
755 (insn_is_load_p): Likewise.
756 (insn_is_store_p): Likewise.
757 (insn_is_swap_p): Likewise.
758 (rtx_is_swappable_p): Likewise.
759 (insn_is_swappable_p): Likewise.
760 (chain_purpose): New enum.
761 (chain_contains_only_swaps): New function.
762 (mark_swaps_for_removal): Likewise.
763 (swap_const_vector_halves): Likewise.
764 (adjust_subreg_index): Likewise.
765 (permute_load): Likewise.
766 (permute_store): Likewise.
767 (handle_special_swappables): Likewise.
768 (replace_swap_with_copy): Likewise.
769 (dump_swap_insn_table): Likewise.
770 (rs6000_analyze_swaps): Likewise.
771 (pass_data_analyze_swaps): New pass_data.
772 (pass_analyze_swaps): New rtl_opt_pass.
773 (make_pass_analyze_swaps): New function.
774 * config/rs6000/rs6000.opt (moptimize-swaps): New option.
775
776 2014-08-21 David Malcolm <dmalcolm@redhat.com>
777
778 * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
779 type from rtx to rtx_insn *.
780 (create_copy_of_insn_rtx): Likewise.
781 * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
782 (create_copy_of_insn_rtx): Likewise, also for local "res".
783
784 2014-08-21 David Malcolm <dmalcolm@redhat.com>
785
786 * rtl.h (find_first_parameter_load): Strengthen return type from
787 rtx to rtx_insn *.
788 * rtlanal.c (find_first_parameter_load): Strengthen return type
789 from rtx to rtx_insn *. Add checked cast for now, to postpone
790 strengthening the params.
791
792 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
793
794 PR fortran/44054
795 * diagnostic.c: Set default caret.
796 (diagnostic_show_locus): Use it. Tell pretty-printer that a new
797 line is needed.
798 * diagnostic.h (struct diagnostic_context):
799
800 2014-08-21 David Malcolm <dmalcolm@redhat.com>
801
802 * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
803 (sel_bb_head): Strengthen return type insn_t (currently just an
804 rtx) to rtx_insn *.
805 (sel_bb_end): Likewise.
806
807 * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
808 (sel_bb_head): Strengthen return type and local "head" from
809 insn_t (currently just an rtx) to rtx_insn *.
810 (sel_bb_end): Likewise for return type.
811 (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
812 working with insn.
813
814 2014-08-21 David Malcolm <dmalcolm@redhat.com>
815
816 * basic-block.h (get_last_bb_insn): Strengthen return type from
817 rtx to rtx_insn *.
818 * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
819 end".
820
821 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
822
823 PR fortran/44054
824 * diagnostic.c (default_diagnostic_finalizer): Move caret printing
825 to here ...
826 (diagnostic_report_diagnostic): ... from here.
827 * toplev.c (general_init): Move code to c-family.
828
829 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
830
831 * df.h (web_entry_base): Replace existing struct web_entry with a
832 new class web_entry_base with only the predecessor member.
833 (unionfind_root): Remove declaration and move to class member.
834 (unionfind_union): Remove declaration and move to friend
835 function.
836 (union_defs): Remove declaration.
837 * web.c (web_entry_base::unionfind_root): Modify to be member
838 function and adjust accessors.
839 (unionfind_union): Modify to be friend function and adjust
840 accessors.
841 (web_entry): New subclass of web_entry_base containing the reg
842 member.
843 (union_match_dups): Modify for struct -> class changes.
844 (union_defs): Likewise.
845 (entry_register): Likewise.
846 (pass_web::execute): Likewise.
847
848 2014-08-20 Bill Schmidt <wschmidt@vnet.ibm.com>
849
850 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
851 builtin define __VEC_ELEMENT_REG_ORDER__.
852
853 2014-08-20 Martin Jambor <mjambor@suse.cz>
854 Wei Mi <wmi@google.com>
855
856 PR ipa/60449
857 PR middle-end/61776
858 * tree-ssa-operands.c (update_stmt_operands): Remove
859 MODIFIED_NORETURN_CALLS.
860 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
861 (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
862 (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
863 (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
864 * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
865 * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
866 (gimple_call_set_ctrl_altering): New func.
867 (gimple_call_ctrl_altering_p): Ditto.
868 * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
869 (make_blocks): Use gimple_call_initialize_ctrl_altering.
870 (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
871 (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
872 remove MODIFIED_NORETURN_CALLS.
873
874 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
875
876 * coverage.c (coverage_compute_profile_id): Return non-0;
877 also handle symbols with unique name.
878 (coverage_end_function): Do not skip DECL_EXTERNAL functions.
879
880 2014-08-20 Steve Ellcey <sellcey@mips.com>
881
882 PR middle-end/49191
883 * doc/sourcebuild.texi (non_strict_align): New.
884
885 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
886
887 * cgraphunit.c (ipa_passes, compile): Reshedule
888 symtab_remove_unreachable_nodes passes; update comments.
889 * ipa-inline.c (pass_data_ipa_inline): Do not schedule
890 TODO_remove_functions before the pass; the functions ought to be
891 already removed.
892 * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
893 TODO_remove_functions.
894 * passes.c (pass_data_early_local_passes): Do not schedule function
895 removal.
896 (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
897
898 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
899
900 PR c/59304
901 * opts-common.c (set_option): Call diagnostic_classify_diagnostic
902 before setting the option.
903 * diagnostic.c (diagnostic_classify_diagnostic): Record
904 command-line status.
905
906 2014-08-20 Richard Biener <rguenther@suse.de>
907
908 PR lto/62190
909 * tree.c (build_common_tree_nodes): Use make_or_reuse_type
910 to build uint{16,32,64}_type_node.
911
912 2014-08-20 Terry Guo <terry.guo@arm.com>
913
914 * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
915 with immediate_operand.
916
917 2014-08-20 David Malcolm <dmalcolm@redhat.com>
918
919 * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
920 "insn" from an as_a to a safe_as_a, for the case when "insn" is
921 NULL.
922
923 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
924
925 PR preprocessor/51303
926 * incpath.c (remove_duplicates): Use cpp_warning.
927
928 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
929
930 PR c/60975
931 PR c/53063
932 * doc/options.texi (CPP): Document it.
933 * doc/invoke.texi (Wvariadic-macros): Fix documentation.
934 * optc-gen.awk: Handle CPP.
935 * opth-gen.awk: Likewise.
936
937 2014-08-19 David Malcolm <dmalcolm@redhat.com>
938
939 * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
940 rtx_insn *.
941 (duplicate_insn_chain): Likewise.
942 * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
943 rtx_insn *, also for locals "prevfirst" and "nextlast". Add a
944 checked cast for now (until we can strengthen the params in the
945 same way).
946 (duplicate_insn_chain): Likewise.
947
948 2014-08-19 David Malcolm <dmalcolm@redhat.com>
949
950 * rtl.h (next_cc0_user): Strengthen return type from rtx to
951 rtx_insn *.
952 (prev_cc0_setter): Likewise.
953
954 * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
955 rtx_insn *, adding checked casts for now as necessary.
956 (prev_cc0_setter): Likewise.
957
958 2014-08-19 David Malcolm <dmalcolm@redhat.com>
959
960 * expr.h (emit_move_insn): Strengthen return type from rtx to
961 rtx_insn *.
962 (emit_move_insn_1): Likewise.
963 (emit_move_complex_push): Likewise.
964 (emit_move_complex_parts): Likewise.
965
966 * expr.c (emit_move_via_integer): Strengthen return type from rtx
967 to rtx_insn *. Replace use of NULL_RTX with NULL when working
968 with insns.
969 (emit_move_complex_push): Strengthen return type from rtx to
970 rtx_insn *.
971 (emit_move_complex): Likewise, also for local "ret".
972 (emit_move_ccmode): Likewise.
973 (emit_move_multi_word): Likewise for return type and locals
974 "last_insn", "seq".
975 (emit_move_insn_1): Likewise for return type and locals "result",
976 "ret".
977 (emit_move_insn): Likewise for return type and local "last_insn".
978 (compress_float_constant): Likewise.
979
980 2014-08-19 David Malcolm <dmalcolm@redhat.com>
981
982 * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
983 from rtx to rtx_insn *.
984
985 * rtl.h (emit_insn_before): Likewise.
986 (emit_insn_before_noloc): Likewise.
987 (emit_insn_before_setloc): Likewise.
988 (emit_jump_insn_before): Likewise.
989 (emit_jump_insn_before_noloc): Likewise.
990 (emit_jump_insn_before_setloc): Likewise.
991 (emit_call_insn_before): Likewise.
992 (emit_call_insn_before_noloc): Likewise.
993 (emit_call_insn_before_setloc): Likewise.
994 (emit_debug_insn_before): Likewise.
995 (emit_debug_insn_before_noloc): Likewise.
996 (emit_debug_insn_before_setloc): Likewise.
997 (emit_label_before): Likewise.
998 (emit_insn_after): Likewise.
999 (emit_insn_after_noloc): Likewise.
1000 (emit_insn_after_setloc): Likewise.
1001 (emit_jump_insn_after): Likewise.
1002 (emit_jump_insn_after_noloc): Likewise.
1003 (emit_jump_insn_after_setloc): Likewise.
1004 (emit_call_insn_after): Likewise.
1005 (emit_call_insn_after_noloc): Likewise.
1006 (emit_call_insn_after_setloc): Likewise.
1007 (emit_debug_insn_after): Likewise.
1008 (emit_debug_insn_after_noloc): Likewise.
1009 (emit_debug_insn_after_setloc): Likewise.
1010 (emit_label_after): Likewise.
1011 (emit_insn): Likewise.
1012 (emit_debug_insn): Likewise.
1013 (emit_jump_insn): Likewise.
1014 (emit_call_insn): Likewise.
1015 (emit_label): Likewise.
1016 (gen_clobber): Likewise.
1017 (emit_clobber): Likewise.
1018 (gen_use): Likewise.
1019 (emit_use): Likewise.
1020 (emit): Likewise.
1021
1022 (emit_barrier_before): Strengthen return type from rtx to
1023 rtx_barrier *.
1024 (emit_barrier_after): Likewise.
1025 (emit_barrier): Likewise.
1026
1027 * emit-rtl.c (emit_pattern_before_noloc): Strengthen return type
1028 from rtx to rtx_insn *. Add checked casts for now when converting
1029 "last" from rtx to rtx_insn *.
1030 (emit_insn_before_noloc): Likewise for return type.
1031 (emit_jump_insn_before_noloc): Likewise.
1032 (emit_call_insn_before_noloc): Likewise.
1033 (emit_debug_insn_before_noloc): Likewise.
1034 (emit_barrier_before): Strengthen return type and local "insn"
1035 from rtx to rtx_barrier *.
1036 (emit_label_before): Strengthen return type from rtx to
1037 rtx_insn *. Add checked cast for now when returning param
1038 (emit_pattern_after_noloc): Strengthen return type from rtx to
1039 rtx_insn *. Add checked casts for now when converting "last" from
1040 rtx to rtx_insn *.
1041 (emit_insn_after_noloc): Strengthen return type from rtx to
1042 rtx_insn *.
1043 (emit_jump_insn_after_noloc): Likewise.
1044 (emit_call_insn_after_noloc): Likewise.
1045 (emit_debug_insn_after_noloc): Likewise.
1046 (emit_barrier_after): Strengthen return type from rtx to
1047 rtx_barrier *.
1048 (emit_label_after): Strengthen return type from rtx to rtx_insn *.
1049 Add checked cast for now when converting "label" from rtx to
1050 rtx_insn *.
1051 (emit_pattern_after_setloc): Strengthen return type from rtx to
1052 rtx_insn *. Add checked casts for now when converting "last" from
1053 rtx to rtx_insn *.
1054 (emit_pattern_after): Strengthen return type from rtx to
1055 rtx_insn *.
1056 (emit_insn_after_setloc): Likewise.
1057 (emit_insn_after): Likewise.
1058 (emit_jump_insn_after_setloc): Likewise.
1059 (emit_jump_insn_after): Likewise.
1060 (emit_call_insn_after_setloc): Likewise.
1061 (emit_call_insn_after): Likewise.
1062 (emit_debug_insn_after_setloc): Likewise.
1063 (emit_debug_insn_after): Likewise.
1064 (emit_pattern_before_setloc): Likewise. Add checked casts for now
1065 when converting "last" from rtx to rtx_insn *.
1066 (emit_pattern_before): Strengthen return type from rtx to
1067 rtx_insn *.
1068 (emit_insn_before_setloc): Likewise.
1069 (emit_insn_before): Likewise.
1070 (emit_jump_insn_before_setloc): Likewise.
1071 (emit_jump_insn_before): Likewise.
1072 (emit_call_insn_before_setloc): Likewise.
1073 (emit_call_insn_before): Likewise.
1074 (emit_debug_insn_before_setloc): Likewise.
1075 (emit_debug_insn_before): Likewise.
1076 (emit_insn): Strengthen return type and locals "last", "insn",
1077 "next" from rtx to rtx_insn *. Add checked cast to rtx_insn
1078 within cases where we know we have an insn.
1079 (emit_debug_insn): Likewise.
1080 (emit_jump_insn): Likewise.
1081 (emit_call_insn): Strengthen return type and local "insn" from rtx
1082 to rtx_insn *.
1083 (emit_label): Strengthen return type from rtx to rtx_insn *. Add
1084 a checked cast to rtx_insn * for now on "label".
1085 (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
1086 (emit_clobber): Strengthen return type from rtx to rtx_insn *.
1087 (emit_use): Likewise.
1088 (gen_use): Likewise, also for local "seq".
1089 (emit): Likewise for return type and local "insn".
1090 (rtx_insn): Likewise for return type and local "new_rtx".
1091
1092 * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
1093 from rtx to rtx_barrier *.
1094
1095 * config/sh/sh.c (output_stack_adjust): Since emit_insn has
1096 changed return type from rtx to rtx_insn *, we must update
1097 "emit_fn" type, and this in turn means updating...
1098 (frame_insn): ...this. Strengthen return type from rtx to
1099 rtx_insn *. Introduce a new local "insn" of the appropriate type.
1100
1101 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1102
1103 * emit-rtl.c (emit_jump_table_data): Strengthen return type from
1104 rtx to rtx_jump_table_data *. Also for local.
1105 * rtl.h (emit_jump_table_data): Likewise.
1106
1107 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1108
1109 * basic-block.h (create_basic_block_structure): Strengthen third
1110 param "bb_note" from rtx to rtx_note *.
1111 * rtl.h (emit_note_before): Strengthen return type from rtx to
1112 rtx_note *.
1113 (emit_note_after): Likewise.
1114 (emit_note): Likewise.
1115 (emit_note_copy): Likewise. Also, strengthen param similarly.
1116 * function.h (struct rtl_data): Strengthen field
1117 "x_stack_check_probe_note" from rtx to rtx_note *.
1118
1119 * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
1120 from rtx to rtx_note *.
1121 * cfgrtl.c (create_basic_block_structure): Strengthen third param
1122 "bb_note" from rtx to rtx_note *.
1123 (duplicate_insn_chain): Likewise for local "last". Add a checked cast
1124 when calling emit_note_copy.
1125 * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
1126 rtx_note *.
1127 (emit_note_after): Likewise.
1128 (emit_note_before): Likewise.
1129 (emit_note_copy): Likewise. Also, strengthen param similarly.
1130 (emit_note): Likewise.
1131 * except.c (emit_note_eh_region_end): Likewise for return type.
1132 Strengthen local "next" from rtx to rtx_insn *.
1133 (convert_to_eh_region_ranges): Strengthen local "note"
1134 from rtx to rtx_note *.
1135 * final.c (change_scope): Likewise.
1136 (reemit_insn_block_notes): Likewise, for both locals named "note".
1137 Also, strengthen local "insn" from rtx to rtx_insn *.
1138 * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
1139 rtx to rtx_note *.
1140 * reg-stack.c (compensate_edge): Likewise for local "after". Also,
1141 strengthen local "seq" from rtx to rtx_insn *.
1142 * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
1143 to rtx_note *.
1144 * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
1145 vec<rtx_note *>.
1146 (get_bb_note_from_pool): Strengthen return type from rtx to
1147 rtx_note *.
1148 (sel_create_basic_block): Strengthen local "new_bb_note" from
1149 insn_t to rtx_note *.
1150 * var-tracking.c (emit_note_insn_var_location): Strengthen local
1151 "note" from rtx to rtx_note *.
1152 (emit_notes_in_bb): Likewise.
1153
1154 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1155
1156 * function.h (struct rtl_data): Strengthen field
1157 "x_parm_birth_insn" from rtx to rtx_insn *.
1158 * function.c (struct assign_parm_data_all): Strengthen fields
1159 "first_conversion_insn" and "last_conversion_insn" from rtx to
1160 rtx_insn *.
1161
1162 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1163
1164 * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
1165 to rtx_insn *; also for local "var_end_seq".
1166 (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
1167 (maybe_cleanup_end_of_block): Likewise for param "last" and local
1168 "insn".
1169 (expand_gimple_cond): Likewise for locals "last2" and "last".
1170 (mark_transaction_restart_calls): Likewise for local "insn".
1171 (expand_gimple_stmt): Likewise for return type and locals "last"
1172 and "insn".
1173 (expand_gimple_tailcall): Likewise for locals "last2" and "last".
1174 (avoid_complex_debug_insns): Likewise for param "insn".
1175 (expand_debug_locations): Likewise for locals "insn", "last",
1176 "prev_insn" and "insn2".
1177 (expand_gimple_basic_block): Likewise for local "last".
1178 (construct_exit_block): Likewise for locals "head", "end",
1179 "orig_end".
1180 (pass_expand::execute): Likewise for locals "var_seq",
1181 "var_ret_seq", "next".
1182
1183 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1184
1185 * asan.h (asan_emit_stack_protection): Strengthen return type from
1186 rtx to rtx_insn *.
1187 * asan.c (asan_emit_stack_protection): Likewise. Add local
1188 "insns" to hold the return value.
1189
1190 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1191
1192 * basic-block.h (bb_note): Strengthen return type from rtx to
1193 rtx_note *.
1194 * sched-int.h (bb_note): Likewise.
1195 * cfgrtl.c (bb_note): Likewise. Add a checked cast to rtx_note *.
1196
1197 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1198
1199 * rtl.h (make_insn_raw): Strengthen return type from rtx to
1200 rtx_insn *.
1201
1202 * emit-rtl.c (make_insn_raw): Strengthen return type and local
1203 "insn" from rtx to rtx_insn *.
1204 (make_debug_insn_raw): Strengthen return type from rtx to
1205 rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
1206 (make_jump_insn_raw): Strengthen return type from rtx to
1207 rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
1208 (make_call_insn_raw): Strengthen return type from rtx to
1209 rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
1210 (emit_pattern_before_noloc): Strengthen return type of "make_raw"
1211 callback from rtx to rtx_insn *; likewise for local "insn" and
1212 "next", adding a checked cast to rtx_insn in the relevant cases of
1213 the switch statement.
1214 (emit_pattern_after_noloc): Strengthen return type of "make_raw"
1215 callback from rtx to rtx_insn *.
1216 (emit_pattern_after_setloc): Likewise.
1217 (emit_pattern_after): Likewise.
1218 (emit_pattern_before_setloc): Likewise.
1219 (emit_pattern_before): Likewise.
1220
1221 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1222
1223 * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
1224 rtx_call_insn *.
1225 * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
1226 accepting an rtx_insn *.
1227 (last_call_insn): Strengthen return type from rtx to
1228 rtx_call_insn *.
1229
1230 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1231
1232 * rtl.h (delete_trivially_dead_insns): Strengthen initial param
1233 "insns" from rtx to rtx_insn *.
1234 * cse.c (delete_trivially_dead_insns): Likewise, also do it for
1235 locals "insn" and "prev".
1236
1237 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1238
1239 * rtl.h (tablejump_p): Strengthen third param from rtx * to
1240 rtx_jump_table_data **.
1241
1242 * cfgbuild.c (make_edges): Introduce local "table", using it in
1243 place of "tmp" for jump table data.
1244 (find_bb_boundaries): Strengthen local "table" from rtx to
1245 rtx_jump_table_data *.
1246 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
1247 (outgoing_edges_match): Likewise for locals "table1" and "table2".
1248 (try_crossjump_to_edge): Likewise.
1249 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
1250 "table".
1251 (patch_jump_insn): Introduce local "table", using it in place of
1252 "tmp" for jump table data.
1253 (force_nonfallthru_and_redirect): Introduce local "table", so that
1254 call to tablejump_p can receive an rtx_jump_table_data **. Update
1255 logic around the call to overwrite "note" appropriately if
1256 tablejump_p returns non-zero.
1257 (get_last_bb_insn): Introduce local "table", using it in place of
1258 "tmp" for jump table data.
1259 * dwarf2cfi.c (create_trace_edges): Likewise.
1260
1261 * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
1262 from rtx to rtx_jump_table_data *.
1263 (create_fix_barrier): Strengthen local "tmp" from rtx to
1264 rtx_jump_table_data *.
1265 (arm_reorg): Likewise for local "table".
1266
1267 * config/s390/s390.c (s390_chunkify_start): Likewise.
1268
1269 * config/spu/spu.c (spu_emit_branch_hint): Likewise.
1270
1271 * jump.c (delete_related_insns): Strengthen local "lab_next" from
1272 rtx to rtx_jump_table_data *.
1273
1274 * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
1275 rtx_jump_table_data **. Add a checked cast when writing through
1276 the pointer: we know there that local "table" is non-NULL and that
1277 JUMP_TABLE_DATA_P (table) holds.
1278 (label_is_jump_target_p): Introduce local "table", using it in
1279 place of "tmp" for jump table data.
1280
1281 2014-08-19 Marek Polacek <polacek@redhat.com>
1282
1283 PR c++/62153
1284 * doc/invoke.texi: Document -Wbool-compare.
1285
1286 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1287
1288 * rtl.h (entry_of_function): Strengthen return type from rtx to
1289 rtx_insn *.
1290 * cfgrtl.c (entry_of_function): Likewise.
1291
1292 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1293
1294 * emit-rtl.h (get_insns): Strengthen return type from rtx to
1295 rtx_insn *, adding a checked cast for now.
1296 (get_last_insn): Likewise.
1297
1298 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1299
1300 * rtl.h (gen_label_rtx): Strengthen return type from rtx to
1301 rtx_code_label *.
1302
1303 * emit-rtl.c (gen_label_rtx): Likewise.
1304
1305 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1306
1307 * rtl.h (previous_insn): Strengthen return type from rtx to
1308 rtx_insn *.
1309 (next_insn): Likewise.
1310 (prev_nonnote_insn): Likewise.
1311 (prev_nonnote_insn_bb): Likewise.
1312 (next_nonnote_insn): Likewise.
1313 (next_nonnote_insn_bb): Likewise.
1314 (prev_nondebug_insn): Likewise.
1315 (next_nondebug_insn): Likewise.
1316 (prev_nonnote_nondebug_insn): Likewise.
1317 (next_nonnote_nondebug_insn): Likewise.
1318 (prev_real_insn): Likewise.
1319 (next_real_insn): Likewise.
1320 (prev_active_insn): Likewise.
1321 (next_active_insn): Likewise.
1322
1323 * emit-rtl.c (next_insn): Strengthen return type from rtx to
1324 rtx_insn *, adding a checked cast.
1325 (previous_insn): Likewise.
1326 (next_nonnote_insn): Likewise.
1327 (next_nonnote_insn_bb): Likewise.
1328 (prev_nonnote_insn): Likewise.
1329 (prev_nonnote_insn_bb): Likewise.
1330 (next_nondebug_insn): Likewise.
1331 (prev_nondebug_insn): Likewise.
1332 (next_nonnote_nondebug_insn): Likewise.
1333 (prev_nonnote_nondebug_insn): Likewise.
1334 (next_real_insn): Likewise.
1335 (prev_real_insn): Likewise.
1336 (next_active_insn): Likewise.
1337 (prev_active_insn): Likewise.
1338
1339 * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
1340 param "stepfunc" so that it returns an rtx_insn * rather than an
1341 rtx, to track the change to prev_nonnote_insn_bb, which is the
1342 only function this is called with.
1343 * config/sh/sh.c (sh_find_set_of_reg): Likewise.
1344
1345 2014-08-19 Jan Hubicka <hubicka@ucw.cz>
1346
1347 * ipa-visibility.c (update_visibility_by_resolution_info): Fix
1348 assert.
1349
1350 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1351
1352 * coretypes.h (class rtx_debug_insn): Add forward declaration.
1353 (class rtx_nonjump_insn): Likewise.
1354 (class rtx_jump_insn): Likewise.
1355 (class rtx_call_insn): Likewise.
1356 (class rtx_jump_table_data): Likewise.
1357 (class rtx_barrier): Likewise.
1358 (class rtx_code_label): Likewise.
1359 (class rtx_note): Likewise.
1360
1361 * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
1362 adding the invariant DEBUG_INSN_P (X).
1363 (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
1364 the invariant NONJUMP_INSN_P (X).
1365 (class rtx_jump_insn): New, a subclass of rtx_insn, adding
1366 the invariant JUMP_P (X).
1367 (class rtx_call_insn): New, a subclass of rtx_insn, adding
1368 the invariant CALL_P (X).
1369 (class rtx_jump_table): New, a subclass of rtx_insn, adding the
1370 invariant JUMP_TABLE_DATA_P (X).
1371 (class rtx_barrier): New, a subclass of rtx_insn, adding the
1372 invariant BARRIER_P (X).
1373 (class rtx_code_label): New, a subclass of rtx_insn, adding
1374 the invariant LABEL_P (X).
1375 (class rtx_note): New, a subclass of rtx_insn, adding
1376 the invariant NOTE_P(X).
1377 (is_a_helper <rtx_debug_insn *>::test): New.
1378 (is_a_helper <rtx_nonjump_insn *>::test): New.
1379 (is_a_helper <rtx_jump_insn *>::test): New.
1380 (is_a_helper <rtx_call_insn *>::test): New.
1381 (is_a_helper <rtx_jump_table_data *>::test): New functions,
1382 overloaded for both rtx and rtx_insn *.
1383 (is_a_helper <rtx_barrier *>::test): New.
1384 (is_a_helper <rtx_code_label *>::test): New functions, overloaded
1385 for both rtx and rtx_insn *.
1386 (is_a_helper <rtx_note *>::test): New.
1387
1388 2014-08-19 Marek Polacek <polacek@redhat.com>
1389
1390 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
1391 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
1392 * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
1393 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
1394
1395 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1396
1397 * sel-sched-ir.h (BND_TO): insn_t will eventually be an
1398 rtx_insn *. To help with transition, for now, convert from an
1399 access macro into a pair of functions: BND_TO, returning an
1400 rtx_insn *, and...
1401 (SET_BND_TO): New function, for use where BND_TO is used as an
1402 lvalue.
1403
1404 * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
1405 SET_BND_TO.
1406 (BND_TO): New function, adding a checked cast.
1407 (SET_BND_TO): New function.
1408
1409 * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
1410 SET_BND_TO.
1411 (compute_av_set_on_boundaries): Likewise.
1412
1413 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
1416 destination if it is used in source.
1417 (*clz<mode>2_lzcnt_falsedep_1): Likewise.
1418 (*popcount<mode>2_falsedep_1): Likewise.
1419
1420 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 PR other/62168
1423 * configure.ac: Set install_gold_as_default to no first.
1424 * configure: Regenerated.
1425
1426 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1427
1428 * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
1429 "note_list" field will eventually be an rtx_insn *. To help with
1430 transition, for now, convert from an access macro into a pair of
1431 functions: BB_NOTE_LIST, returning an rtx_insn *, and...
1432 (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
1433 used as an lvalue.
1434
1435 * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
1436 of BB_NOTE_LIST to SET_BB_NOTE_LIST.
1437
1438 * sel-sched-ir.c (init_bb): Likewise.
1439 (sel_restore_notes): Likewise.
1440 (move_bb_info): Likewise.
1441 (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
1442 (SET_BB_NOTE_LIST): New function.
1443
1444 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1445
1446 * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
1447 field will eventually be an rtx_insn *. To help with transition,
1448 for now, convert from an access macro into a pair of functions:
1449 VINSN_INSN_RTX, returning an rtx_insn *, and...
1450 (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
1451 is used as an lvalue.
1452
1453 * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
1454 SET_VINSN_INSN_RTX where it's used as an lvalue.
1455 (VINSN_INSN_RTX): New function.
1456 (SET_VINSN_INSN_RTX): New function.
1457
1458 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1459
1460 * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
1461 eventually be rtx_insn *, but to help with transition, for now,
1462 convert from an access macro into a pair of functions: DEP_PRO
1463 returning an rtx_insn * and...
1464 (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
1465 lvalue, returning an rtx&.
1466 (DEP_CON): Analogous changes to DEP_PRO above.
1467 (SET_DEP_CON): Likewise.
1468
1469 * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
1470 an lvalue to SET_DEP_CON.
1471 * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
1472 (sd_copy_back_deps): Likewise for DEP_CON.
1473 (DEP_PRO): New function, adding a checked cast for now.
1474 (DEP_CON): Likewise.
1475 (SET_DEP_PRO): New function.
1476 (SET_DEP_CON): Likewise.
1477
1478 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1479
1480 * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
1481 (extra_options): Add i386/cygwin.opt.
1482 * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
1483 (CPP_SPEC): Accept -pthread.
1484 (LINK_SPEC): Ditto.
1485 (GOMP_SELF_SPECS): Update comment.
1486 * config/i386/cygwin.opt: New file for -pthread flag.
1487
1488 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1489
1490 * df-core.c (DF_REF_INSN): New, using a checked cast for now.
1491 * df.h (DF_REF_INSN): Convert from a macro to a function, so
1492 that we can return an rtx_insn *.
1493
1494 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1495
1496 * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
1497 when building executables, not DLLs. Add --large-address-aware
1498 under the same conditions.
1499 * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
1500 when building executables, not DLLs. Add --large-address-aware
1501 under the same conditions when using -m32.
1502
1503 * config/i386/cygwin-stdint.h: Throughout, make type
1504 definitions dependent on target architecture, not host.
1505
1506 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1507
1508 * rtl.h (PREV_INSN): Convert to an inline function. Strengthen
1509 the return type from rtx to rtx_insn *, which will enable various
1510 conversions in followup patches. For now this is is done by a
1511 checked cast.
1512 (NEXT_INSN): Likewise.
1513 (SET_PREV_INSN): Convert to an inline function. This is intended
1514 for use as an lvalue, and so returns an rtx& to allow in-place
1515 modification.
1516 (SET_NEXT_INSN): Likewise.
1517
1518 2014-07-08 Mark Wielaard <mjw@redhat.com>
1519
1520 PR debug/59051
1521 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
1522
1523 2014-08-19 Marek Polacek <polacek@redhat.com>
1524
1525 PR c/61271
1526 * cgraphunit.c (handle_alias_pairs): Fix condition.
1527
1528 2014-08-19 Richard Biener <rguenther@suse.de>
1529
1530 * gimple-fold.c (fold_gimple_assign): Properly build a
1531 null-pointer constant when devirtualizing addresses.
1532
1533 2014-07-07 Mark Wielaard <mjw@redhat.com>
1534
1535 * dwarf2out.c (decl_quals): New function.
1536 (modified_type_die): Take one cv_quals argument instead of two,
1537 one for const and one for volatile.
1538 (add_type_attribute): Likewise.
1539 (generic_parameter_die): Call add_type_attribute with one modifier
1540 argument.
1541 (base_type_for_mode): Likewise.
1542 (add_bounds_info): Likewise.
1543 (add_subscript_info): Likewise.
1544 (gen_array_type_die): Likewise.
1545 (gen_descr_array_type_die): Likewise.
1546 (gen_entry_point_die): Likewise.
1547 (gen_enumeration_type_die): Likewise.
1548 (gen_formal_parameter_die): Likewise.
1549 (gen_subprogram_die): Likewise.
1550 (gen_variable_die): Likewise.
1551 (gen_const_die): Likewise.
1552 (gen_field_die): Likewise.
1553 (gen_pointer_type_die): Likewise.
1554 (gen_reference_type_die): Likewise.
1555 (gen_ptr_to_mbr_type_die): Likewise.
1556 (gen_inheritance_die): Likewise.
1557 (gen_subroutine_type_die): Likewise.
1558 (gen_typedef_die): Likewise.
1559 (force_type_die): Likewise.
1560
1561 2014-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1562
1563 * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
1564 if unset.
1565 * configure: Regenerate.
1566
1567 2014-08-19 Richard Biener <rguenther@suse.de>
1568
1569 * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
1570 DECL_EXTERNALs in BLOCKs as non-references.
1571 * tree-streamer-out.c (streamer_write_chain): Likewise.
1572
1573 2014-08-19 Alexander Ivchenko <alexander.ivchenko@intel.com>
1574 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1575 Anna Tikhonova <anna.tikhonova@intel.com>
1576 Ilya Tocar <ilya.tocar@intel.com>
1577 Andrey Turetskiy <andrey.turetskiy@intel.com>
1578 Ilya Verbin <ilya.verbin@intel.com>
1579 Kirill Yukhin <kirill.yukhin@intel.com>
1580 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1581
1582 * config/i386/sse.md
1583 (define_mode_iterator VI48_AVX512F): Delete.
1584 (define_mode_iterator VI48_AVX512F_AVX512VL): New.
1585 (define_mode_iterator VI2_AVX512VL): Ditto.
1586 (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
1587 Delete.
1588 (define_insn
1589 ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
1590 New.
1591 (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
1592 (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
1593 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
1594 with VI48_AVX512F_AVX512VL): New.
1595 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
1596 with VI2_AVX512VL): Ditto.
1597
1598 2014-08-19 Marek Polacek <polacek@redhat.com>
1599
1600 * doc/invoke.texi: Document -Wc99-c11-compat.
1601
1602 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1603
1604 * rtl.h (PREV_INSN): Split macro in two: the existing one,
1605 for rvalues, and...
1606 (SET_PREV_INSN): New macro, for use as an lvalue.
1607 (NEXT_INSN, SET_NEXT_INSN): Likewise.
1608
1609 * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
1610 PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
1611 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
1612 (fixup_abnormal_edges): Likewise.
1613 (unlink_insn_chain): Likewise.
1614 (fixup_reorder_chain): Likewise.
1615 (cfg_layout_delete_block): Likewise.
1616 (cfg_layout_merge_blocks): Likewise.
1617 * combine.c (update_cfg_for_uncondjump): Likewise.
1618 * emit-rtl.c (link_insn_into_chain): Likewise.
1619 (remove_insn): Likewise.
1620 (delete_insns_since): Likewise.
1621 (reorder_insns_nobb): Likewise.
1622 (emit_insn_after_1): Likewise.
1623 * final.c (rest_of_clean_state): Likewise.
1624 (final_scan_insn): Likewise.
1625 * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
1626 * haifa-sched.c (concat_note_lists): Likewise.
1627 (remove_notes): Likewise.
1628 (restore_other_notes): Likewise.
1629 (move_insn): Likewise.
1630 (unlink_bb_notes): Likewise.
1631 (restore_bb_notes): Likewise.
1632 * jump.c (delete_for_peephole): Likewise.
1633 * optabs.c (emit_libcall_block_1): Likewise.
1634 * reorg.c (emit_delay_sequence): Likewise.
1635 (fill_simple_delay_slots): Likewise.
1636 * sel-sched-ir.c (sel_move_insn): Likewise.
1637 (sel_remove_insn): Likewise.
1638 (get_bb_note_from_pool): Likewise.
1639 * sel-sched.c (move_nop_to_previous_block): Likewise.
1640
1641 * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
1642 * config/c6x/c6x.c (gen_one_bundle): Likewise.
1643 (c6x_gen_bundles): Likewise.
1644 (hwloop_optimize): Likewise.
1645 * config/frv/frv.c (frv_function_prologue): Likewise.
1646 (frv_register_nop): Likewise.
1647 * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
1648 (ia64_reorg): Likewise.
1649 * config/mep/mep.c (mep_reorg_addcombine): Likewise.
1650 (mep_make_bundle): Likewise.
1651 (mep_bundle_insns): Likewise.
1652 * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
1653 * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
1654 * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
1655
1656 2014-08-19 David Malcolm <dmalcolm@redhat.com>
1657
1658 * basic-block.h (BB_HEAD): Convert to a function. Strengthen the
1659 return type from rtx to rtx_insn *.
1660 (BB_END): Likewise.
1661 (BB_HEADER): Likewise.
1662 (BB_FOOTER): Likewise.
1663 (SET_BB_HEAD): Convert to a function.
1664 (SET_BB_END): Likewise.
1665 (SET_BB_HEADER): Likewise.
1666 (SET_BB_FOOTER): Likewise.
1667
1668 * cfgrtl.c (BB_HEAD): New function, from macro of same name.
1669 Strengthen the return type from rtx to rtx_insn *. For now, this
1670 is done by adding a checked cast, but this will eventually
1671 become a field lookup.
1672 (BB_END): Likewise.
1673 (BB_HEADER): Likewise.
1674 (BB_FOOTER): Likewise.
1675 (SET_BB_HEAD): New function, from macro of same name. This is
1676 intended for use as an lvalue, and so returns an rtx& to allow
1677 in-place modification.
1678 (SET_BB_END): Likewise.
1679 (SET_BB_HEADER): Likewise.
1680 (SET_BB_FOOTER): Likewise.
1681
1682 2014-08-18 David Malcolm <dmalcolm@redhat.com>
1683
1684 * basic-block.h (BB_HEAD): Split macro in two: the existing one,
1685 for rvalues, and...
1686 (SET_BB_HEAD): New macro, for use as a lvalue.
1687 (BB_END, SET_BB_END): Likewise.
1688 (BB_HEADER, SET_BB_HEADER): Likewise.
1689 (BB_FOOTER, SET_BB_FOOTER): Likewise.
1690
1691 * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
1692 of BB_* macros into SET_BB_* macros.
1693 (fix_crossing_unconditional_branches): Likewise.
1694 * caller-save.c (save_call_clobbered_regs): Likewise.
1695 (insert_one_insn): Likewise.
1696 * cfgbuild.c (find_bb_boundaries): Likewise.
1697 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
1698 (outgoing_edges_match): Likewise.
1699 (try_optimize_cfg): Likewise.
1700 * cfgexpand.c (expand_gimple_cond): Likewise.
1701 (expand_gimple_tailcall): Likewise.
1702 (expand_gimple_basic_block): Likewise.
1703 (construct_exit_block): Likewise.
1704 * cfgrtl.c (delete_insn): Likewise.
1705 (create_basic_block_structure): Likewise.
1706 (rtl_delete_block): Likewise.
1707 (rtl_split_block): Likewise.
1708 (emit_nop_for_unique_locus_between): Likewise.
1709 (rtl_merge_blocks): Likewise.
1710 (block_label): Likewise.
1711 (try_redirect_by_replacing_jump): Likewise.
1712 (emit_barrier_after_bb): Likewise.
1713 (fixup_abnormal_edges): Likewise.
1714 (record_effective_endpoints): Likewise.
1715 (relink_block_chain): Likewise.
1716 (fixup_reorder_chain): Likewise.
1717 (fixup_fallthru_exit_predecessor): Likewise.
1718 (cfg_layout_duplicate_bb): Likewise.
1719 (cfg_layout_split_block): Likewise.
1720 (cfg_layout_delete_block): Likewise.
1721 (cfg_layout_merge_blocks): Likewise.
1722 * combine.c (update_cfg_for_uncondjump): Likewise.
1723 * emit-rtl.c (add_insn_after): Likewise.
1724 (remove_insn): Likewise.
1725 (reorder_insns): Likewise.
1726 (emit_insn_after_1): Likewise.
1727 * haifa-sched.c (get_ebb_head_tail): Likewise.
1728 (restore_other_notes): Likewise.
1729 (move_insn): Likewise.
1730 (sched_extend_bb): Likewise.
1731 (fix_jump_move): Likewise.
1732 * ifcvt.c (noce_process_if_block): Likewise.
1733 (dead_or_predicable): Likewise.
1734 * ira.c (update_equiv_regs): Likewise.
1735 * reg-stack.c (change_stack): Likewise.
1736 * sel-sched-ir.c (sel_move_insn): Likewise.
1737 * sel-sched.c (move_nop_to_previous_block): Likewise.
1738
1739 * config/c6x/c6x.c (hwloop_optimize): Likewise.
1740 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
1741
1742 2014-08-18 David Malcolm <dmalcolm@redhat.com>
1743
1744 * rtl.h (for_each_rtx_in_insn): New function.
1745 * rtlanal.c (for_each_rtx_in_insn): Likewise.
1746
1747 2014-08-18 David Malcolm <dmalcolm@redhat.com>
1748
1749 * coretypes.h (class rtx_insn): Add forward declaration.
1750
1751 * rtl.h: Include is-a.h.
1752 (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
1753 workaround to ensure gengtype knows inheritance is occurring,
1754 whilst continuing to use the pre-existing special-casing for
1755 rtx_def.
1756 (class rtx_insn): New subclass of rtx_def, adding the
1757 invariant that we're dealing with something we can sanely use
1758 INSN_UID, NEXT_INSN, PREV_INSN on.
1759 (is_a_helper <rtx_insn *>::test): New.
1760 (is_a_helper <const rtx_insn *>::test): New.
1761
1762 2014-08-18 David Malcolm <dmalcolm@redhat.com>
1763
1764 * is-a.h (template<T, U> safe_as_a <U *p>) New function.
1765
1766 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
1767
1768 * ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
1769 comdats as extern.
1770
1771 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
1772
1773 * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
1774 to BUILT_IN_UNREACHABLE.
1775
1776 2014-08-18 Uros Bizjak <ubizjak@gmail.com>
1777
1778 PR target/62011
1779 * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
1780 New tune flag.
1781 * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
1782 * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
1783 (ffs<mode>2): Do not expand with tzcnt for
1784 TARGET_AVOID_FALSE_DEP_FOR_BMI.
1785 (ffssi2_no_cmove): Ditto.
1786 (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
1787 (ctz<mode>2): New expander.
1788 (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
1789 (*ctz<mode>2_falsedep): New insn.
1790 (*ctz<mode>2): Rename from ctz<mode>2.
1791 (clz<mode>2_lzcnt): New expander.
1792 (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
1793 (*clz<mode>2_lzcnt_falsedep): New insn.
1794 (*clz<mode>2): Rename from ctz<mode>2.
1795 (popcount<mode>2): New expander.
1796 (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
1797 (*popcount<mode>2_falsedep): New insn.
1798 (*popcount<mode>2): Rename from ctz<mode>2.
1799 (*popcount<mode>2_cmp): Remove.
1800 (*popcountsi2_cmp_zext): Ditto.
1801
1802 2014-08-18 Ajit Agarwal <ajitkum@xilinx.com>
1803
1804 * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
1805 (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
1806 * config/microblaze/microblaze.h
1807 (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
1808
1809 2014-08-18 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 PR other/62168
1812 * configure.ac: Set install_gold_as_default to no for
1813 --enable-gold=no.
1814 * configure: Regenerated.
1815
1816 2014-08-18 Roman Gareev <gareevroman@gmail.com>
1817
1818 * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
1819 * config.in: Add undef of HAVE_isl.
1820 * configure: Regenerate.
1821 * configure.ac: Add definition of HAVE_isl.
1822 * graphite-blocking.c: Add checking of HAVE_isl.
1823 * graphite-dependences.c: Likewise.
1824 * graphite-interchange.c: Likewise.
1825 * graphite-isl-ast-to-gimple.c: Likewise.
1826 * graphite-optimize-isl.c: Likewise.
1827 * graphite-poly.c: Likewise.
1828 * graphite-scop-detection.c: Likewise.
1829 * graphite-sese-to-poly.c: Likewise.
1830 * graphite.c: Likewise.
1831 * toplev.c: Replace the checking of HAVE_cloog with the checking
1832 of HAVE_isl.
1833
1834 2014-08-18 Richard Biener <rguenther@suse.de>
1835
1836 PR tree-optimization/62090
1837 * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
1838 (fold_builtin_3): Do not fold snprintf.
1839 (fold_builtin_4): Likewise.
1840 * gimple-fold.c (gimple_fold_builtin_snprintf): New function
1841 moved from builtins.c.
1842 (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
1843 (gimple_fold_builtin): Do not fold sprintf here.
1844
1845 2014-08-18 Richard Biener <rguenther@suse.de>
1846
1847 * gimple-fold.c (maybe_fold_reference): Move re-gimplification
1848 code to ...
1849 (maybe_canonicalize_mem_ref_addr): ... this function.
1850 (fold_stmt_1): Apply it here before all simplification.
1851
1852 2014-08-18 Ilya Enkovich <ilya.enkovich@intel.com>
1853
1854 PR ipa/61800
1855 * cgraph.h (cgraph_node::create_indirect_edge): Add
1856 compute_indirect_info param.
1857 * cgraph.c (cgraph_node::create_indirect_edge): Compute
1858 indirect_info only when it is required.
1859 * cgraphclones.c (cgraph_clone_edge): Do not recompute
1860 indirect_info fore cloned indirect edge.
1861
1862 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1863 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1864 Anna Tikhonova <anna.tikhonova@intel.com>
1865 Ilya Tocar <ilya.tocar@intel.com>
1866 Andrey Turetskiy <andrey.turetskiy@intel.com>
1867 Ilya Verbin <ilya.verbin@intel.com>
1868 Kirill Yukhin <kirill.yukhin@intel.com>
1869 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1870
1871 * config/i386/sse.md
1872 (define_mode_iterator VI8_AVX2_AVX512BW): New.
1873 (define_insn "<sse2_avx2>_psadbw"): Add evex version.
1874
1875 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1876 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1877 Anna Tikhonova <anna.tikhonova@intel.com>
1878 Ilya Tocar <ilya.tocar@intel.com>
1879 Andrey Turetskiy <andrey.turetskiy@intel.com>
1880 Ilya Verbin <ilya.verbin@intel.com>
1881 Kirill Yukhin <kirill.yukhin@intel.com>
1882 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1883
1884 * config/i386/sse.md
1885 (define_mode_iterator VF1_AVX512VL): New.
1886 (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
1887 (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
1888 New.
1889
1890 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1891 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1892 Anna Tikhonova <anna.tikhonova@intel.com>
1893 Ilya Tocar <ilya.tocar@intel.com>
1894 Andrey Turetskiy <andrey.turetskiy@intel.com>
1895 Ilya Verbin <ilya.verbin@intel.com>
1896 Kirill Yukhin <kirill.yukhin@intel.com>
1897 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1898
1899 * config/i386/i386.c: Rename ufloatv8siv8df_mask to ufloatv8siv8df2_mask.
1900 * config/i386/i386.md
1901 (define_code_iterator any_float): New.
1902 (define_code_attr floatsuffix): New.
1903 * config/i386/sse.md
1904 (define_mode_iterator VF1_128_256VL): New.
1905 (define_mode_iterator VF2_512_256VL): New.
1906 (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove unnecessary
1907 TARGET check.
1908 (define_insn "ufloatv8siv8df<mask_name>"): Delete.
1909 (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
1910 New.
1911 (define_mode_attr qq2pssuff): New.
1912 (define_mode_attr sselongvecmode): New.
1913 (define_mode_attr sselongvecmodelower): New.
1914 (define_mode_attr sseintvecmode3): New.
1915 (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
1916 New.
1917 (define_insn "*<floatsuffix>floatv2div2sf2"): New.
1918 (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
1919 (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
1920 (define_insn "ufloatv2siv2df2<mask_name>"): New.
1921
1922 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1923 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1924 Anna Tikhonova <anna.tikhonova@intel.com>
1925 Ilya Tocar <ilya.tocar@intel.com>
1926 Andrey Turetskiy <andrey.turetskiy@intel.com>
1927 Ilya Verbin <ilya.verbin@intel.com>
1928 Kirill Yukhin <kirill.yukhin@intel.com>
1929 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1930
1931 * config/i386/sse.md
1932 (define_mode_iterator VF2_AVX512VL): New.
1933 (define_mode_attr sseintvecmode2): New.
1934 (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
1935 (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
1936 (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
1937 (define_insn
1938 "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
1939 Ditto.
1940 (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
1941 Ditto.
1942 (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
1943 Ditto.
1944
1945 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1946 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1947 Anna Tikhonova <anna.tikhonova@intel.com>
1948 Ilya Tocar <ilya.tocar@intel.com>
1949 Andrey Turetskiy <andrey.turetskiy@intel.com>
1950 Ilya Verbin <ilya.verbin@intel.com>
1951 Kirill Yukhin <kirill.yukhin@intel.com>
1952 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1953
1954 * config/i386/i386.md
1955 (define_insn "*movoi_internal_avx"): Add evex version.
1956 (define_insn "*movti_internal"): Ditto.
1957
1958 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1959 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1960 Anna Tikhonova <anna.tikhonova@intel.com>
1961 Ilya Tocar <ilya.tocar@intel.com>
1962 Andrey Turetskiy <andrey.turetskiy@intel.com>
1963 Ilya Verbin <ilya.verbin@intel.com>
1964 Kirill Yukhin <kirill.yukhin@intel.com>
1965 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1966
1967 * config/i386/i386.md
1968 (define_attr "isa"): Add avx512dq, noavx512dq.
1969 (define_attr "enabled"): Ditto.
1970 * config/i386/sse.md
1971 (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
1972
1973 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
1974 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1975 Anna Tikhonova <anna.tikhonova@intel.com>
1976 Ilya Tocar <ilya.tocar@intel.com>
1977 Andrey Turetskiy <andrey.turetskiy@intel.com>
1978 Ilya Verbin <ilya.verbin@intel.com>
1979 Kirill Yukhin <kirill.yukhin@intel.com>
1980 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1981
1982 * config/i386/i386.c
1983 (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
1984 avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
1985 avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
1986 avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
1987 avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
1988 avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
1989 avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
1990 avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
1991 * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
1992 * config/i386/sse.md
1993 (define_mode_iterator VMOVE): Allow V4TI mode.
1994 (define_mode_iterator V_AVX512VL): New.
1995 (define_mode_iterator V): New handling for AVX512VL.
1996 (define_insn "avx512f_load<mode>_mask"): Delete.
1997 (define_insn "<avx512>_load<mode>_mask"): New.
1998 (define_insn "avx512f_store<mode>_mask"): Delete.
1999 (define_insn "<avx512>_store<mode>_mask"): New.
2000
2001
2002 2014-08-18 Yury Gribov <y.gribov@samsung.com>
2003
2004 PR sanitizer/62089
2005 * asan.c (instrument_derefs): Fix bitfield check.
2006
2007 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
2008
2009 * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
2010 * config/rs6000/htm.md (ttest): Remove clobber.
2011 * config/rs6000/predicates.md (any_mask_operand): New predicate.
2012 (and_operand): Reformat.
2013 (and_2rld_operand): New predicate.
2014 * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
2015 parameter.
2016 * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
2017 parameter. Handle AND directly.
2018 (rs6000_split_logical_di): Remove last parameter.
2019 (rs6000_split_logical): Remove last parameter. Remove obsolete
2020 comment.
2021 * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
2022 (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
2023 (ctz<mode>2, ffs<mode>2): Delete clobber. Reformat.
2024 (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
2025 *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
2026 and 5 anonymous splitters): Delete.
2027 (and<mode>3): New expander.
2028 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
2029 (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
2030 (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
2031 (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
2032 (floatdisf2_internal1): Remove clobbers.
2033 (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
2034 *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
2035 (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
2036 (and<mode>3 for BOOL_128): Remove clobber.
2037 (*and<mode>3_internal for BOOL_128): Remove clobber. Adjust call of
2038 rs6000_split_logical.
2039 (*bool<mode>3_internal for BOOL_128): Adjust call of
2040 rs6000_split_logical.
2041 (*boolc<mode>3_internal1 for BOOL_128,
2042 *boolc<mode>3_internal2 for BOOL_128,
2043 *boolcc<mode>3_internal1 for BOOL_128,
2044 *boolcc<mode>3_internal2 for BOOL_128,
2045 *eqv<mode>3_internal1 for BOOL_128,
2046 *eqv<mode>3_internal2 for BOOL_128,
2047 *one_cmpl<mode>3_internal for BOOL_128): Ditto.
2048 * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
2049 clobber.
2050 (*vec_reload_and_reg_<mptrsize>): Delete.
2051
2052 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
2053
2054 * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
2055 and split, *boolccsi3_internal3 and split): Delete.
2056 (*boolccdi3_internal1, *boolccdi3_internal2 and split,
2057 *boolccdi3_internal3 and split): Delete.
2058 (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
2059 (*eqv<mode>3): Move. Add TODO comment. Fix attributes.
2060
2061 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
2062
2063 * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
2064 and split, *boolcsi3_internal3 and split): Delete.
2065 (*boolcdi3_internal1, *boolcdi3_internal2 and split,
2066 *boolcdi3_internal3 and split): Delete.
2067 (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
2068
2069 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
2070
2071 * config/rs6000/rs6000.c (print_operand) <'e'>: New.
2072 <'u'>: Also support printing the low-order 16 bits.
2073 * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
2074 *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
2075 (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
2076 *booldi3_internal3 and split): Delete.
2077 (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
2078 *bool<mode>3_dot2): New.
2079 (two anonymous define_splits for non_logical_cint_operand): Merge.
2080
2081 2014-08-17 Marek Polacek <polacek@redhat.com>
2082 Manuel López-Ibáñez <manu@gcc.gnu.org>
2083
2084 PR c/62059
2085 * diagnostic.c (adjust_line): Add gcc_checking_assert.
2086 (diagnostic_show_locus): Don't print caret diagnostic
2087 if a column is larger than the line_width.
2088
2089 2014-08-17 Roman Gareev <gareevroman@gmail.com>
2090
2091 * common.opt: Make the ISL AST generator to be the main code generator
2092 of Graphite.
2093
2094 2014-08-16 Gerald Pfeifer <gerald@pfeifer.com>
2095
2096 * wide-int.h (generic_wide_int): Declare as class instead of struct.
2097
2098 2014-08-16 John David Anglin <danglin@gcc.gnu.org>
2099
2100 PR target/61641
2101 * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
2102 Declare.
2103 * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
2104 (pa_output_addr_vec, pa_output_addr_diff_vec): New.
2105 * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
2106 Define.
2107 * config/pa/pa.md (begin_brtab): Delete insn.
2108 (end_brtab): Likewise.
2109
2110 2014-08-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
2111
2112 * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
2113
2114 2014-08-15 Jan Hubicka <hubicka@ucw.cz>
2115
2116 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
2117 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
2118 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
2119 (get_dynamic_type): Remove.
2120 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
2121 (clear_speculation): Bring to ipa-deivrt.h
2122 (get_class_context): Rename to ...
2123 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
2124 (contains_type_p): Update.
2125 (get_dynamic_type): Rename to ...
2126 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
2127 (possible_polymorphic_call_targets): UPdate.
2128 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
2129 * ipa-prop.c (ipa_analyze_call_uses): Update.
2130
2131 2014-08-15 Oleg Endo <olegendo@gcc.gnu.org>
2132
2133 * doc/invoke.texi (SH options): Document missing processor variant
2134 options. Remove references to Hitachi. Undocument deprecated mspace
2135 option.
2136
2137 2014-08-15 Jason Merrill <jason@redhat.com>
2138
2139 * tree.c (type_hash_canon): Uncomment assert.
2140
2141 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
2142
2143 * input.h (in_system_header_at): Add comment.
2144
2145 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
2146
2147 PR fortran/44054
2148 * diagnostic.c (build_message_string): Make it extern.
2149 * diagnostic.h (build_message_string): Make it extern.
2150
2151 2014-08-15 Vladimir Makarov <vmakarov@redhat.com>
2152
2153 * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
2154 load/store from/to non-floating class pseudo.
2155
2156 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
2157
2158 * input.c (diagnostic_file_cache_fini): Fix typo in comment.
2159
2160 2014-08-15 Richard Biener <rguenther@suse.de>
2161
2162 * tree-ssa-structalias.c (readonly_id): Rename to string_id.
2163 (get_constraint_for_ssa_var): Remove dead code.
2164 (get_constraint_for_1): Adjust.
2165 (find_what_var_points_to): Likewise.
2166 (init_base_vars): Likewise. STRING_CSTs do not contain pointers.
2167
2168 2014-08-15 Ilya Tocar <tocarip@gmail.com>
2169
2170 PR target/61878
2171 * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
2172 (_mm512_mask_cmpge_epu32_mask): Ditto.
2173 (_mm512_cmpge_epu32_mask): Ditto.
2174 (_mm512_mask_cmpge_epi64_mask): Ditto.
2175 (_mm512_cmpge_epi64_mask): Ditto.
2176 (_mm512_mask_cmpge_epu64_mask): Ditto.
2177 (_mm512_cmpge_epu64_mask): Ditto.
2178 (_mm512_mask_cmple_epi32_mask): Ditto.
2179 (_mm512_cmple_epi32_mask): Ditto.
2180 (_mm512_mask_cmple_epu32_mask): Ditto.
2181 (_mm512_cmple_epu32_mask): Ditto.
2182 (_mm512_mask_cmple_epi64_mask): Ditto.
2183 (_mm512_cmple_epi64_mask): Ditto.
2184 (_mm512_mask_cmple_epu64_mask): Ditto.
2185 (_mm512_cmple_epu64_mask): Ditto.
2186 (_mm512_mask_cmplt_epi32_mask): Ditto.
2187 (_mm512_cmplt_epi32_mask): Ditto.
2188 (_mm512_mask_cmplt_epu32_mask): Ditto.
2189 (_mm512_cmplt_epu32_mask): Ditto.
2190 (_mm512_mask_cmplt_epi64_mask): Ditto.
2191 (_mm512_cmplt_epi64_mask): Ditto.
2192 (_mm512_mask_cmplt_epu64_mask): Ditto.
2193 (_mm512_cmplt_epu64_mask): Ditto.
2194 (_mm512_mask_cmpneq_epi32_mask): Ditto.
2195 (_mm512_mask_cmpneq_epu32_mask): Ditto.
2196 (_mm512_cmpneq_epu32_mask): Ditto.
2197 (_mm512_mask_cmpneq_epi64_mask): Ditto.
2198 (_mm512_cmpneq_epi64_mask): Ditto.
2199 (_mm512_mask_cmpneq_epu64_mask): Ditto.
2200 (_mm512_cmpneq_epu64_mask): Ditto.
2201 (_mm512_castpd_ps): Ditto.
2202 (_mm512_castpd_si512): Ditto.
2203 (_mm512_castps_pd): Ditto.
2204 (_mm512_castps_si512): Ditto.
2205 (_mm512_castsi512_ps): Ditto.
2206 (_mm512_castsi512_pd): Ditto.
2207 (_mm512_castpd512_pd128): Ditto.
2208 (_mm512_castps512_ps128): Ditto.
2209 (_mm512_castsi512_si128): Ditto.
2210 (_mm512_castpd512_pd256): Ditto.
2211 (_mm512_castps512_ps256): Ditto.
2212 (_mm512_castsi512_si256): Ditto.
2213 (_mm512_castpd128_pd512): Ditto.
2214 (_mm512_castps128_ps512): Ditto.
2215 (_mm512_castsi128_si512): Ditto.
2216 (_mm512_castpd256_pd512): Ditto.
2217 (_mm512_castps256_ps512): Ditto.
2218 (_mm512_castsi256_si512): Ditto.
2219 (_mm512_cmpeq_epu32_mask): Ditto.
2220 (_mm512_mask_cmpeq_epu32_mask): Ditto.
2221 (_mm512_mask_cmpeq_epu64_mask): Ditto.
2222 (_mm512_cmpeq_epu64_mask): Ditto.
2223 (_mm512_cmpgt_epu32_mask): Ditto.
2224 (_mm512_mask_cmpgt_epu32_mask): Ditto.
2225 (_mm512_mask_cmpgt_epu64_mask): Ditto.
2226 (_mm512_cmpgt_epu64_mask): Ditto.
2227 * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
2228 V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
2229 * config/i386/i386.c (enum ix86_builtins): Add
2230 IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
2231 IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
2232 IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
2233 (bdesc_args): Add __builtin_ia32_si512_256si,
2234 __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
2235 __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
2236 __builtin_ia32_pd512_pd.
2237 (ix86_expand_args_builtin): Handle new FTYPEs.
2238 * config/i386/sse.md (castmode): Add 512-bit modes.
2239 (AVX512MODE2P): New.
2240 (avx512f_<castmode><avxsizesuffix>_<castmode): New.
2241 (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
2242
2243 2014-08-15 Richard Biener <rguenther@suse.de>
2244
2245 * fold-const.c (tree_swap_operands_p): Put all constants
2246 last, also strip sign-changing NOPs when considering further
2247 canonicalization. Canonicalize also when optimizing for size.
2248
2249 2014-08-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2250
2251 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
2252 one_match > zero_match case to just before simple_sequence.
2253
2254 2014-08-15 Richard Biener <rguenther@suse.de>
2255
2256 * data-streamer.h (streamer_string_index, string_for_index):
2257 Remove.
2258 * data-streamer-out.c (streamer_string_index): Make static.
2259 * data-streamer-in.c (string_for_index): Likewise.
2260 * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
2261 * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
2262
2263 2014-08-15 Richard Biener <rguenther@suse.de>
2264
2265 PR tree-optimization/62031
2266 * tree-data-ref.c (dr_analyze_indices): Do not set
2267 DR_UNCONSTRAINED_BASE.
2268 (dr_may_alias_p): All indirect accesses have to go the
2269 formerly DR_UNCONSTRAINED_BASE path.
2270 * tree-data-ref.h (struct indices): Remove
2271 unconstrained_base member.
2272 (DR_UNCONSTRAINED_BASE): Remove.
2273
2274 2014-08-15 Jakub Jelinek <jakub@redhat.com>
2275
2276 PR middle-end/62092
2277 * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
2278 OMP_CLAUSE_SHARED for global vars if the global var is mentioned
2279 in OMP_CLAUSE_MAP in some outer target region.
2280
2281 2014-08-15 Bin Cheng <bin.cheng@arm.com>
2282
2283 * tree-ssa-loop-ivopts.c (ivopts_data): New field
2284 name_expansion_cache.
2285 (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
2286 (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
2287 (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
2288 (difference_cannot_overflow_p): New parameter. Use affine
2289 expansion for equality check.
2290 (iv_elimination_compare_lt): Pass new argument.
2291
2292 2014-08-14 DJ Delorie <dj@redhat.com>
2293
2294 * config/rl78/rl78-real.md (addqi3_real): Allow adding global
2295 variables to the accumulator.
2296
2297 * config/rl78/predicates.md (rl78_near_mem_operand): New.
2298 * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
2299 (movhi_virt_mm): Split out near mem-mem moves to avoid problems
2300 with far-far moves.
2301
2302 * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
2303 * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
2304 (umulqihi3_virt): Likewise.
2305 * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
2306 (umulqihi3_real): Likewise.
2307
2308 * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
2309
2310 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
2311
2312 PR tree-optimization/62091
2313 * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
2314 function_entry_reached.
2315 (walk_aliased_vdefs): Clear it here.
2316 * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
2317
2318 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
2319
2320 * ipa-utils.h (compare_virtual_tables): Declare.
2321 * ipa-devirt.c (odr_subtypes_equivalent_p): New function
2322
2323 2014-08-14 Marek Polacek <polacek@redhat.com>
2324
2325 DR 458
2326 * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
2327 (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
2328
2329 2014-08-14 Tom de Vries <tom@codesourcery.com>
2330
2331 * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
2332
2333 2014-08-14 Tom de Vries <tom@codesourcery.com>
2334
2335 PR rtl-optimization/62004
2336 PR rtl-optimization/62030
2337 * ifcvt.c (rtx_interchangeable_p): New function.
2338 (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
2339 * emit-rtl.h (mem_attrs_eq_p): Declare.
2340
2341 2014-08-14 Roman Gareev <gareevroman@gmail.com>
2342
2343 * graphite-scop-detection.c:
2344 Add inclusion of cp-tree.h.
2345 (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
2346 in case they are pointers to object types
2347
2348 2014-08-14 Richard Biener <rguenther@suse.de>
2349
2350 * BASE-VER: Change to 5.0.0
2351
2352 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
2353 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2354 Anna Tikhonova <anna.tikhonova@intel.com>
2355 Ilya Tocar <ilya.tocar@intel.com>
2356 Andrey Turetskiy <andrey.turetskiy@intel.com>
2357 Ilya Verbin <ilya.verbin@intel.com>
2358 Kirill Yukhin <kirill.yukhin@intel.com>
2359 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2360
2361 * config/i386/sse.md (define_mode_attr avx512): New.
2362 (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
2363 V4DI modes.
2364 (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
2365 (define_mode_attr ssse3_avx2): Ditto.
2366 (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
2367 (define_mode_attr avx2_avx512bw): New.
2368 (define_mode_attr ssedoublemodelower): New.
2369 (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
2370 V32HI, V64QI modes.
2371 (define_mode_attr ssebytemode): Allow V8DI modes.
2372 (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
2373 (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
2374 (define_mode_attr ssePSmode2): New.
2375 (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
2376 V16HI, V32HI modes.
2377 (define_mode_attr dbpsadbwmode): New.
2378 (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
2379 V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
2380 (vi8_sse4_1_avx2_avx512): New.
2381 (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
2382 mode attribute.
2383 (define_mode_attr blendbits): Move before its immediate use.
2384
2385 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
2386 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2387 Anna Tikhonova <anna.tikhonova@intel.com>
2388 Ilya Tocar <ilya.tocar@intel.com>
2389 Andrey Turetskiy <andrey.turetskiy@intel.com>
2390 Ilya Verbin <ilya.verbin@intel.com>
2391 Kirill Yukhin <kirill.yukhin@intel.com>
2392 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2393
2394 * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
2395 * config/i386/subst.md
2396 (define_mode_iterator SUBST_V): Update.
2397 (define_mode_iterator SUBST_A): Ditto.
2398 (define_subst_attr "mask_operand7"): New.
2399 (define_subst_attr "mask_operand10"): New.
2400 (define_subst_attr "mask_operand_arg34") : New.
2401 (define_subst_attr "mask_expand_op3"): New.
2402 (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
2403 (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
2404 (define_subst_attr "mask_avx512vl_condition"): New.
2405 (define_subst_attr "round_mask_operand4"): Ditto.
2406 (define_subst_attr "round_mask_scalar_op3"): Delete.
2407 (define_subst_attr "round_mask_op4"): New.
2408 (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
2409 V16SImode.
2410 (define_subst_attr "round_modev8sf_condition"): New.
2411 (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
2412 <MODE>mode.
2413 (define_subst_attr "round_saeonly_mask_operand4"): New.
2414 (define_subst_attr "round_saeonly_mask_op4"): New.
2415 (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
2416 V8DImode, V16SImode.
2417 (define_subst_attr "round_saeonly_modev8sf_condition"): New.
2418 (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
2419 (define_subst_attr "mask_expand4_args"): New.
2420 (define_subst "mask_expand4"): New.
2421
2422 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
2423 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2424 Anna Tikhonova <anna.tikhonova@intel.com>
2425 Ilya Tocar <ilya.tocar@intel.com>
2426 Andrey Turetskiy <andrey.turetskiy@intel.com>
2427 Ilya Verbin <ilya.verbin@intel.com>
2428 Kirill Yukhin <kirill.yukhin@intel.com>
2429 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2430
2431 * config/i386/i386.md
2432 (define_attr "isa"): Add avx512bw,noavx512bw.
2433 (define_attr "enabled"): Ditto.
2434 (define_split): Add 32/64-bit mask logic.
2435 (define_insn "*k<logic>qi"): New.
2436 (define_insn "*k<logic>hi"): New.
2437 (define_insn "*anddi_1"): Add mask version.
2438 (define_insn "*andsi_1"): Ditto.
2439 (define_insn "*<code><mode>_1"): Ditto.
2440 (define_insn "*<code>hi_1"): Ditto.
2441 (define_insn "kxnor<mode>"): New.
2442 (define_insn "kunpcksi"): New.
2443 (define_insn "kunpckdi"): New.
2444 (define_insn "*one_cmpl<mode>2_1"): Add mask version.
2445 (define_insn "*one_cmplhi2_1"): Ditto.
2446
2447 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
2448 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2449 Anna Tikhonova <anna.tikhonova@intel.com>
2450 Ilya Tocar <ilya.tocar@intel.com>
2451 Andrey Turetskiy <andrey.turetskiy@intel.com>
2452 Ilya Verbin <ilya.verbin@intel.com>
2453 Kirill Yukhin <kirill.yukhin@intel.com>
2454 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2455
2456 * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
2457 V32HImode.
2458
2459 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
2460 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2461 Anna Tikhonova <anna.tikhonova@intel.com>
2462 Ilya Tocar <ilya.tocar@intel.com>
2463 Andrey Turetskiy <andrey.turetskiy@intel.com>
2464 Ilya Verbin <ilya.verbin@intel.com>
2465 Kirill Yukhin <kirill.yukhin@intel.com>
2466 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2467
2468 * config/i386/i386.c (print_reg): Сorrectly print 64-bit mask
2469 registers.
2470 (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
2471 (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
2472 xmm/ymm16+ when availble.
2473 * config/i386/i386.h
2474 (HARD_REGNO_NREGS): Add mask regs.
2475 (VALID_AVX512F_REG_MODE): Ditto.
2476 (VALID_AVX512F_REG_MODE) : Define.
2477 (VALID_MASK_AVX512BW_MODE): Ditto.
2478 (reg_class) (MASK_REG_P(X)): Define.
2479 * config/i386/i386.md: Do not split long moves with mask register,
2480 use kmovb if avx512bw is availible.
2481 (movdi_internal): Handle mask registers.
2482
2483 2014-08-14 Richard Biener <rguenther@suse.de>
2484
2485 PR tree-optimization/62081
2486 * tree-ssa-loop.c (pass_fix_loops): New pass.
2487 (pass_tree_loop::gate): Do not fixup loops here.
2488 * tree-pass.h (make_pass_fix_loops): Declare.
2489 * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
2490
2491 2014-08-14 Richard Biener <rguenther@suse.de>
2492
2493 * tree.c (type_hash_lookup, type_hash_add): Merge into ...
2494 (type_hash_canon): ... this and avoid 2nd lookup for the add.
2495
2496 2014-08-14 Richard Biener <rguenther@suse.de>
2497
2498 PR tree-optimization/62090
2499 * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
2500 (fold_builtin_2): Do not fold sprintf.
2501 (fold_builtin_3): Likewise.
2502 * gimple-fold.c (gimple_fold_builtin_sprintf): New function
2503 moved from builtins.c.
2504 (gimple_fold_builtin): Fold sprintf.
2505
2506 2014-08-14 Richard Biener <rguenther@suse.de>
2507
2508 PR rtl-optimization/62079
2509 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
2510 run cleanup_cfg.
2511
2512 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
2513
2514 * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
2515 current_function_decl.
2516
2517 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
2518
2519 * cgraph.c (cgraph_node::function_symbol): Fix wrong
2520 cgraph_function_node to cgraph_node::function_symbol
2521 refactoring.
2522
2523 2014-08-14 Zhenqiang Chen <zhenqiang.chen@arm.com>
2524
2525 * config/arm/arm.c (arm_option_override): Set max_insns_skipped
2526 to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
2527
2528 2014-08-13 Chen Gang gang.chen.5i5j@gmail.com
2529
2530 * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
2531 warning.
2532
2533 2014-08-13 Roman Gareev <gareevroman@gmail.com>
2534
2535 * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
2536 generator.
2537
2538 2014-08-12 Jakub Jelinek <jakub@redhat.com>
2539
2540 PR target/62025
2541 * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
2542 any registers that are used in mem_insn.
2543
2544 2014-08-12 Steve Ellcey <sellcey@mips.com>
2545
2546 * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
2547
2548 2014-08-12 Steve Ellcey <sellcey@mips.com>
2549
2550 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
2551 (MULTILIB_DIRNAMES): Ditto.
2552 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
2553 * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
2554 * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
2555 * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
2556 * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
2557 * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
2558
2559 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2560
2561 PR target/61413
2562 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
2563 of __ARM_SIZEOF_WCHAR_T.
2564
2565 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2566
2567 PR target/62098
2568 * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
2569 Remove unnecessary attributes.
2570
2571 2014-08-12 Yury Gribov <y.gribov@samsung.com>
2572
2573 * internal-fn.c (init_internal_fns): Fix off-by-one.
2574
2575 2014-08-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
2576 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2577 Anna Tikhonova <anna.tikhonova@intel.com>
2578 Ilya Tocar <ilya.tocar@intel.com>
2579 Andrey Turetskiy <andrey.turetskiy@intel.com>
2580 Ilya Verbin <ilya.verbin@intel.com>
2581 Kirill Yukhin <kirill.yukhin@intel.com>
2582 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2583
2584 * config/i386/i386.c (standard_sse_constant_opcode): Use
2585 vpxord/vpternlog if avx512 is availible.
2586
2587 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
2588
2589 PR middle-end/62103
2590 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
2591 bitfields, that is when size doesn't match the size of type or the
2592 size of the constructor.
2593
2594 2014-08-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2595
2596 * config/rs6000/constraints.md (wh constraint): New constraint,
2597 for FP registers if direct move is available.
2598 (wi constraint): New constraint, for VSX/FP registers that can
2599 handle 64-bit integers.
2600 (wj constraint): New constraint for VSX/FP registers that can
2601 handle 64-bit integers for direct moves.
2602 (wk constraint): New constraint for VSX/FP registers that can
2603 handle 64-bit doubles for direct moves.
2604 (wy constraint): Make documentation match implementation.
2605
2606 * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
2607 scalar_in_vmx_p field to simplify tests of whether SFmode or
2608 DFmode can go in the Altivec registers.
2609 (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
2610 (rs6000_setup_reg_addr_masks): Likewise.
2611 (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
2612 field, and wh/wi/wj/wk constraints.
2613 (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
2614 the wh/wi/wj/wk constraints.
2615 (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
2616 upper registers, prefer VSX registers unless the operation is a
2617 memory operation with REG+OFFSET addressing.
2618
2619 * config/rs6000/vsx.md (VSr mode attribute): Add support for
2620 DImode. Change SFmode to use ww constraint instead of d to allow
2621 SF registers in the upper registers.
2622 (VSr2): Likewise.
2623 (VSr3): Likewise.
2624 (VSr5): Fix thinko in comment.
2625 (VSa): New mode attribute that is an alternative to wa, that
2626 returns the VSX register class that a mode can go in, but may not
2627 be the preferred register class.
2628 (VS_64dm): New mode attribute for appropriate register classes for
2629 referencing 64-bit elements of vectors for direct moves and normal
2630 moves.
2631 (VS_64reg): Likewise.
2632 (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
2633 register allocator to only registers the data type can handle.
2634 (vsx_le_perm_load_<mode>): Likewise.
2635 (vsx_le_perm_store_<mode>): Likewise.
2636 (vsx_xxpermdi2_le_<mode>): Likewise.
2637 (vsx_xxpermdi4_le_<mode>): Likewise.
2638 (vsx_lxvd2x2_le_<mode>): Likewise.
2639 (vsx_lxvd2x4_le_<mode>): Likewise.
2640 (vsx_stxvd2x2_le_<mode>): Likewise.
2641 (vsx_add<mode>3): Likewise.
2642 (vsx_sub<mode>3): Likewise.
2643 (vsx_mul<mode>3): Likewise.
2644 (vsx_div<mode>3): Likewise.
2645 (vsx_tdiv<mode>3_internal): Likewise.
2646 (vsx_fre<mode>2): Likewise.
2647 (vsx_neg<mode>2): Likewise.
2648 (vsx_abs<mode>2): Likewise.
2649 (vsx_nabs<mode>2): Likewise.
2650 (vsx_smax<mode>3): Likewise.
2651 (vsx_smin<mode>3): Likewise.
2652 (vsx_sqrt<mode>2): Likewise.
2653 (vsx_rsqrte<mode>2): Likewise.
2654 (vsx_tsqrt<mode>2_internal): Likewise.
2655 (vsx_fms<mode>4): Likewise.
2656 (vsx_nfma<mode>4): Likewise.
2657 (vsx_eq<mode>): Likewise.
2658 (vsx_gt<mode>): Likewise.
2659 (vsx_ge<mode>): Likewise.
2660 (vsx_eq<mode>_p): Likewise.
2661 (vsx_gt<mode>_p): Likewise.
2662 (vsx_ge<mode>_p): Likewise.
2663 (vsx_xxsel<mode>): Likewise.
2664 (vsx_xxsel<mode>_uns): Likewise.
2665 (vsx_copysign<mode>3): Likewise.
2666 (vsx_float<VSi><mode>2): Likewise.
2667 (vsx_floatuns<VSi><mode>2): Likewise.
2668 (vsx_fix_trunc<mode><VSi>2): Likewise.
2669 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
2670 (vsx_x<VSv>r<VSs>i): Likewise.
2671 (vsx_x<VSv>r<VSs>ic): Likewise.
2672 (vsx_btrunc<mode>2): Likewise.
2673 (vsx_b2trunc<mode>2): Likewise.
2674 (vsx_floor<mode>2): Likewise.
2675 (vsx_ceil<mode>2): Likewise.
2676 (vsx_<VS_spdp_insn>): Likewise.
2677 (vsx_xscvspdp): Likewise.
2678 (vsx_xvcvspuxds): Likewise.
2679 (vsx_float_fix_<mode>2): Likewise.
2680 (vsx_set_<mode>): Likewise.
2681 (vsx_extract_<mode>_internal1): Likewise.
2682 (vsx_extract_<mode>_internal2): Likewise.
2683 (vsx_extract_<mode>_load): Likewise.
2684 (vsx_extract_<mode>_store): Likewise.
2685 (vsx_splat_<mode>): Likewise.
2686 (vsx_xxspltw_<mode>): Likewise.
2687 (vsx_xxspltw_<mode>_direct): Likewise.
2688 (vsx_xxmrghw_<mode>): Likewise.
2689 (vsx_xxmrglw_<mode>): Likewise.
2690 (vsx_xxsldwi_<mode>): Likewise.
2691 (vsx_xscvdpspn): Tighten constraints to only use register classes
2692 the types use.
2693 (vsx_xscvspdpn): Likewise.
2694 (vsx_xscvdpspn_scalar): Likewise.
2695
2696 * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
2697 wj, and wk constraints.
2698 (GPR_REG_CLASS_P): New helper macro for register classes targeting
2699 general purpose registers.
2700
2701 * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
2702 direct moves.
2703 (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
2704 DImode instead of wm. Use wk constraint for direct move of DFmode
2705 instead of wm.
2706 (extendsidi2_lfiwax): Likewise.
2707 (lfiwax): Likewise.
2708 (lfiwzx): Likewise.
2709 (movdi_internal64): Likewise.
2710
2711 * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
2712 wk constraints. Make the wy constraint documentation match them
2713 implementation.
2714
2715 2014-08-11 Mircea Namolaru <mircea.namolaru@inria.fr>
2716
2717 Replacement of isl_int by isl_val
2718 * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
2719 (compute_bounds_for_param): use isl_val instead of isl_int
2720 (compute_bounds_for_loop): likewise
2721 * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
2722 (build_linearized_memory_access): use isl_val instead of isl_int
2723 (pdr_stride_in_loop): likewise
2724 * graphite-optimize-isl.c:
2725 (getPrevectorMap): use isl_val instead of isl_int
2726 * graphite-poly.c:
2727 (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
2728 graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
2729 (extern the_isl_ctx): declare
2730 (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
2731 (extract_affine_gmp): likewise
2732 (wrap): likewise
2733 (build_loop_iteration_domains): likewise
2734 (add_param_constraints): likewise
2735
2736 2014-08-11 Richard Biener <rguenther@suse.de>
2737
2738 PR tree-optimization/62075
2739 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
2740 handle uses in patterns.
2741
2742 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
2743 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2744 Anna Tikhonova <anna.tikhonova@intel.com>
2745 Ilya Tocar <ilya.tocar@intel.com>
2746 Andrey Turetskiy <andrey.turetskiy@intel.com>
2747 Ilya Verbin <ilya.verbin@intel.com>
2748 Kirill Yukhin <kirill.yukhin@intel.com>
2749 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2750
2751 * common/config/i386/i386-common.c
2752 (OPTION_MASK_ISA_AVX512VL_SET): Define.
2753 (OPTION_MASK_ISA_AVX512F_UNSET): Update.
2754 (ix86_handle_option): Handle OPT_mavx512vl.
2755 * config/i386/cpuid.h (bit_AVX512VL): Define.
2756 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
2757 set -mavx512vl accordingly.
2758 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
2759 OPTION_MASK_ISA_AVX512VL.
2760 * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
2761 (ix86_option_override_internal): Define PTA_AVX512VL, handle
2762 PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
2763 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
2764 * config/i386/i386.h (TARGET_AVX512VL): Define.
2765 (TARGET_AVX512VL_P(x)): Ditto.
2766 * config/i386/i386.opt: Add mavx512vl.
2767
2768 2014-08-11 Felix Yang <fei.yang0953@gmail.com>
2769
2770 PR tree-optimization/62073
2771 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
2772 a basic block.
2773
2774 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
2775 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2776 Anna Tikhonova <anna.tikhonova@intel.com>
2777 Ilya Tocar <ilya.tocar@intel.com>
2778 Andrey Turetskiy <andrey.turetskiy@intel.com>
2779 Ilya Verbin <ilya.verbin@intel.com>
2780 Kirill Yukhin <kirill.yukhin@intel.com>
2781 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2782
2783 * common/config/i386/i386-common.c
2784 (OPTION_MASK_ISA_AVX512BW_SET) : Define.
2785 (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
2786 (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
2787 (ix86_handle_option): Handle OPT_mavx512bw.
2788 * config/i386/cpuid.h (bit_AVX512BW): Define.
2789 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
2790 set -mavx512bw accordingly.
2791 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
2792 OPTION_MASK_ISA_AVX512BW.
2793 * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
2794 (ix86_option_override_internal): Define PTA_AVX512BW, handle
2795 PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
2796 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
2797 * config/i386/i386.h (TARGET_AVX512BW): Define.
2798 (TARGET_AVX512BW_P(x)): Ditto.
2799 * config/i386/i386.opt: Add mavx512bw.
2800
2801 2014-08-11 Richard Biener <rguenther@suse.de>
2802
2803 PR tree-optimization/62070
2804 * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
2805 Remove SSA checking.
2806
2807 2014-08-11 Yury Gribov <y.gribov@samsung.com>
2808
2809 * asan.c (asan_check_flags): New enum.
2810 (build_check_stmt_with_calls): Removed function.
2811 (build_check_stmt): Split inlining logic to
2812 asan_expand_check_ifn.
2813 (instrument_derefs): Rename parameter.
2814 (instrument_mem_region_access): Rename parameter.
2815 (instrument_strlen_call): Likewise.
2816 (asan_expand_check_ifn): New function.
2817 (asan_instrument): Remove old code.
2818 (pass_sanopt::execute): Change handling of
2819 asan-instrumentation-with-call-threshold.
2820 (asan_clear_shadow): Fix formatting.
2821 (asan_function_start): Likewise.
2822 (asan_emit_stack_protection): Likewise.
2823 * doc/invoke.texi (asan-instrumentation-with-call-threshold):
2824 Update description.
2825 * internal-fn.c (expand_ASAN_CHECK): New function.
2826 * internal-fn.def (ASAN_CHECK): New internal function.
2827 * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
2828 Update description.
2829 (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
2830 * tree.c: Small comment fix.
2831
2832 2014-08-11 Yury Gribov <y.gribov@samsung.com>
2833
2834 * gimple.c (gimple_call_fnspec): Support internal functions.
2835 (gimple_call_return_flags): Use const.
2836 * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
2837 * internal-fn.def: Add fnspec information.
2838 * internal-fn.h (internal_fn_fnspec): New function.
2839 (init_internal_fns): Declare new function.
2840 * internal-fn.c (internal_fn_fnspec_array): New global variable.
2841 (init_internal_fns): New function.
2842 * tree-core.h: Update macro call.
2843 * tree.c (build_common_builtin_nodes): Initialize internal fns.
2844
2845 2014-08-10 Gerald Pfeifer <gerald@pfeifer.com>
2846
2847 * lto-streamer.h (struct output_block::symbol): Change from
2848 struct symtab_node to plain symtab_node.
2849 (referenced_from_this_partition_p): Change first parameter
2850 from struct symtab_node to plain symtab_node.
2851
2852 2014-08-10 Marek Polacek <polacek@redhat.com>
2853
2854 PR c/51849
2855 * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
2856
2857 2014-08-09 Jan Hubicka <hubicka@ucw.cz>
2858
2859 * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
2860 DECL correctly; do not give up on types in static storage.
2861
2862 2014-08-09 Paolo Carlini <paolo.carlini@oracle.com>
2863
2864 * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
2865
2866 2014-08-09 Roman Gareev <gareevroman@gmail.com>
2867
2868 * graphite-isl-ast-to-gimple.c:
2869 (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
2870
2871 * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
2872
2873 2014-08-08 Guozhi Wei <carrot@google.com>
2874
2875 * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
2876
2877 2014-08-08 Cary Coutant <ccoutant@google.com>
2878
2879 * dwarf2out.c (get_skeleton_type_unit): Remove.
2880 (output_skeleton_debug_sections): Remove skeleton type units.
2881 (output_comdat_type_unit): Likewise.
2882 (dwarf2out_finish): Likewise.
2883
2884 2014-08-07 Yi Yang <ahyangyi@google.com>
2885
2886 * predict.c (expr_expected_value_1): Remove the redundant assignment.
2887
2888 2014-08-08 Richard Biener <rguenther@suse.de>
2889
2890 * lto-streamer.h (struct lto_input_block): Make it a class
2891 with a constructor.
2892 (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
2893 (struct lto_function_header, struct lto_simple_header,
2894 struct lto_simple_header_with_strings,
2895 struct lto_decl_header, struct lto_function_header): Make
2896 a simple inheritance hieararchy. Remove unused fields.
2897 (struct lto_asm_header): Remove.
2898 * lto-streamer-out.c (produce_asm): Adjust.
2899 (lto_output_toplevel_asms): Likewise.
2900 (produce_asm_for_decls): Likewise.
2901 * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
2902 * data-streamer-in.c (string_for_index): Likewise.
2903 * ipa-inline-analysis.c (inline_read_section): Likewise.
2904 * ipa-prop.c (ipa_prop_read_section): Likewise.
2905 (read_replacements_section): Likewise.
2906 * lto-cgraph.c (input_cgraph_opt_section): Likewise.
2907 * lto-section-in.c (lto_create_simple_input_block): Likewise.
2908 (lto_destroy_simple_input_block): Likewise.
2909 * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
2910 (lto_input_toplevel_asms): Likewise.
2911
2912 2014-08-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
2913 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2914 Anna Tikhonova <anna.tikhonova@intel.com>
2915 Ilya Tocar <ilya.tocar@intel.com>
2916 Andrey Turetskiy <andrey.turetskiy@intel.com>
2917 Ilya Verbin <ilya.verbin@intel.com>
2918 Kirill Yukhin <kirill.yukhin@intel.com>
2919 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2920
2921 * common/config/i386/i386-common.c
2922 (OPTION_MASK_ISA_AVX512DQ_SET): Define.
2923 (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
2924 (ix86_handle_option): Handle OPT_mavx512dq.
2925 * config/i386/cpuid.h (bit_AVX512DQ): Define.
2926 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
2927 set -mavx512dq accordingly.
2928 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
2929 OPTION_MASK_ISA_AVX512DQ.
2930 * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
2931 (ix86_option_override_internal): Define PTA_AVX512DQ, handle
2932 PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
2933 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
2934 * config/i386/i386.h (TARGET_AVX512DQ): Define.
2935 (TARGET_AVX512DQ_P(x)): Ditto.
2936 * config/i386/i386.opt: Add mavx512dq.
2937
2938 2014-08-08 Richard Biener <rguenther@suse.de>
2939
2940 * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
2941 target_percent, target_percent_s): Export.
2942 (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
2943 fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
2944 fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
2945 fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
2946 fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
2947 Move to gimple-fold.c.
2948 (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
2949 strcat and strcpy.
2950 (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
2951 mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
2952 (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
2953 memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
2954 (rewrite_call_expr_array): Remove.
2955 (fold_builtin_sprintf_chk): Likewise.
2956 (fold_builtin_snprintf_chk): Likewise.
2957 (fold_builtin_varargs): Remove handling of sprintf_chk,
2958 vsprintf_chk, snprintf_chk and vsnprintf_chk.
2959 (gimple_fold_builtin_sprintf_chk): Remove.
2960 (gimple_fold_builtin_snprintf_chk): Likewise.
2961 (gimple_fold_builtin_varargs): Likewise.
2962 (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
2963 * predict.c (optimize_bb_for_size_p): Handle NULL bb.
2964 * gimple.c (gimple_seq_add_seq_without_update): New function.
2965 * gimple.h (gimple_seq_add_seq_without_update): Declare.
2966 * gimple-fold.c: Include output.h.
2967 (gsi_replace_with_seq_vops): New function, split out from ...
2968 (gimplify_and_update_call_from_tree): ... here.
2969 (replace_call_with_value): New function.
2970 (replace_call_with_call_and_fold): Likewise.
2971 (var_decl_component_p): Moved from builtins.c.
2972 (gimple_fold_builtin_memory_op): Moved from builtins.c
2973 fold_builtin_memory_op and rewritten to GIMPLE.
2974 (gimple_fold_builtin_memset): Likewise.
2975 (gimple_fold_builtin_strcpy): Likewise.
2976 (gimple_fold_builtin_strncpy): Likewise.
2977 (gimple_fold_builtin_strcat): Likewise.
2978 (gimple_fold_builtin_fputs): Likewise.
2979 (gimple_fold_builtin_memory_chk): Likewise.
2980 (gimple_fold_builtin_stxcpy_chk): Likewise.
2981 (gimple_fold_builtin_stxncpy_chk): Likewise.
2982 (gimple_fold_builtin_snprintf_chk): Likewise.
2983 (gimple_fold_builtin_sprintf_chk): Likewise.
2984 (gimple_fold_builtin_strlen): New function.
2985 (gimple_fold_builtin_with_strlen): New function split out from
2986 gimple_fold_builtin.
2987 (gimple_fold_builtin): Change signature and handle
2988 bzero, memset, bcopy, memcpy, mempcpy and memmove folding
2989 here. Call gimple_fold_builtin_with_strlen.
2990 (gimple_fold_call): Adjust.
2991
2992 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
2993
2994 * calls.c (precompute_arguments): Check
2995 promoted_for_signed_and_unsigned_p and set the promoted mode.
2996 (promoted_for_signed_and_unsigned_p): New function.
2997 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
2998 and set the promoted mode.
2999 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
3000 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
3001 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
3002
3003
3004 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
3005
3006 * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
3007 instead of SUBREG_PROMOTED_UNSIGNED_SET.
3008 (expand_call): Likewise.
3009 * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
3010 to get promoted mode.
3011 * combine.c (record_promoted_value): Skip > 0 comparison with
3012 SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
3013 * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
3014 of SUBREG_PROMOTED_UNSIGNED_P.
3015 (convert_modes): Likewise.
3016 (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
3017 Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
3018 (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
3019 SUBREG_PROMOTED_UNSIGNED_SET.
3020 * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
3021 instead of SUBREG_PROMOTED_UNSIGNED_SET.
3022 * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
3023 SUBREG_PROMOTED_SET.
3024 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
3025 SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
3026 * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
3027 of SUBREG_PROMOTED_UNSIGNED_P.
3028 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
3029 (SUBREG_PROMOTED_SET): New define.
3030 (SUBREG_PROMOTED_GET): Likewise.
3031 (SUBREG_PROMOTED_SIGN): Likewise.
3032 (SUBREG_PROMOTED_SIGNED_P): Likewise.
3033 (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
3034 (SUBREG_PROMOTED_UNSIGNED_P): Updated.
3035 * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
3036 instead of SUBREG_PROMOTED_UNSIGNED_GET.
3037 (nonzero_bits1): Skip > 0 comparison with the results as
3038 SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
3039 (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
3040 of !SUBREG_PROMOTED_UNSIGNED_P.
3041 * simplify-rtx.c (simplify_unary_operation_1): Use new
3042 SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
3043 (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
3044 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
3045 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
3046
3047 2014-08-07 Jan Hubicka <hubicka@ucw.cz>
3048
3049 * ipa-devirt.c: Include gimple-pretty-print.h
3050 (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
3051 further tests.
3052 (decl_maybe_in_construction_p): Fix conditional on cdtor check
3053 (get_polymorphic_call_info): Fix return value
3054 (type_change_info): New sturcture based on ipa-prop
3055 variant.
3056 (noncall_stmt_may_be_vtbl_ptr_store): New predicate
3057 based on ipa-prop variant.
3058 (extr_type_from_vtbl_ptr_store): New function
3059 based on ipa-prop variant.
3060 (record_known_type): New function.
3061 (check_stmt_for_type_change): New function.
3062 (get_dynamic_type): New function.
3063 * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
3064 * tree-ssa-pre.c: ipa-utils.h
3065 (eliminate_dom_walker::before_dom_children): Use ipa-devirt
3066 machinery; sanity check with ipa-prop devirtualization.
3067 * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
3068 polymorphic flag.
3069
3070 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
3071
3072 * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
3073 * alias.c, cfgexpand.c, cgraphbuild.c,
3074 config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
3075 config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
3076 config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
3077 config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
3078 config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
3079 config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
3080 config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
3081 dse.c, except.c, gengtype.c, gimple-expr.c,
3082 gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
3083 ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
3084 tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
3085 tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
3086 tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
3087 tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
3088 pointer-set.h.
3089 * pointer-set.c: Remove file.
3090 * pointer-set.h: Remove file.
3091
3092 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3093
3094 * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
3095 * config/arm/types.md (f_sels, f_seld): Delete.
3096
3097 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3098
3099 * config/aarch64/aarch64.md (absdi2): Set simd attribute.
3100 (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
3101 (aarch64_movdi_<mode>high): Likewise.
3102 (aarch64_mov<mode>high_di): Likewise.
3103 (aarch64_movdi_<mode>low): Likewise.
3104 (aarch64_mov<mode>low_di): Likewise.
3105 (aarch64_movtilow_tilow): Likewise.
3106 Add comment explaining usage of fp,simd attributes and of
3107 TARGET_FLOAT and TARGET_SIMD.
3108
3109 2014-08-07 Ian Bolton <ian.bolton@arm.com>
3110 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3111
3112 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
3113 Use MOVN when one of the half-words is 0xffff.
3114
3115 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
3116
3117 * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
3118
3119 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
3120
3121 * haifa-sched.c (SCHED_SORT): Delete. Macro used exactly once.
3122 (enum rfs_decition:RFS_*): New constants wrapped in an enum.
3123 (rfs_str): String corresponding to RFS_* constants.
3124 (rank_for_schedule_stats_t): New typedef.
3125 (rank_for_schedule_stats): New static variable.
3126 (rfs_result): New static function.
3127 (rank_for_schedule): Track statistics for deciding heuristics.
3128 (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
3129 static functions.
3130 (ready_sort): Use them for debug printouts.
3131 (schedule_block): Init statistics state. Print statistics on
3132 rank_for_schedule decisions.
3133
3134 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
3135
3136 * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
3137
3138 2014-08-07 Ilya Tocar <ilya.tocar@intel.com>
3139
3140 * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
3141 constraint.
3142
3143 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
3144
3145 * hash-map.h (default_hashmap_traits): Adjust overloads of hash
3146 function to not conflict.
3147 * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
3148 gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
3149 lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
3150 tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
3151 tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
3152 of pointer_map.
3153
3154 2014-08-07 Marek Polacek <polacek@redhat.com>
3155
3156 * fold-const.c (fold_binary_loc): Add folding of
3157 (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
3158
3159 2013-08-07 Ilya Enkovich <ilya.enkovich@intel.com>
3160
3161 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
3162 instead of type size.
3163 (ASM_FINISH_DECLARE_OBJECT): Likewise.
3164
3165 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
3166
3167 * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
3168 (*thumb1_movqi_insn): Likewise.
3169 * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
3170
3171 2014-08-07 Tom de Vries <tom@codesourcery.com>
3172
3173 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
3174 (glibc_2_11_or_earlier): Remove effective-target keywords.
3175
3176 2014-08-07 Kugan Vivekanandarajah <kuganv@linaro.org>
3177
3178 * config/arm/arm.c (bdesc_2arg): Fix typo.
3179 (arm_atomic_assign_expand_fenv): Remove The default implementation.
3180
3181 2014-08-07 Zhenqiang Chen <zhenqiang.chen@arm.com>
3182
3183 * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
3184
3185 2014-08-06 Vladimir Makarov <vmakarov@redhat.com>
3186
3187 PR debug/61923
3188 * haifa-sched.c (advance_one_cycle): Fix dump.
3189 (schedule_block): Don't advance cycle if we are already at the
3190 beginning of the cycle.
3191
3192 2014-08-06 Martin Jambor <mjambor@suse.cz>
3193
3194 PR ipa/61393
3195 * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
3196
3197 2014-08-06 Richard Biener <rguenther@suse.de>
3198
3199 PR lto/62034
3200 * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
3201 SCCs here.
3202 (lto_input_tree): Pop SCCs here.
3203
3204 2014-08-06 Richard Biener <rguenther@suse.de>
3205
3206 PR tree-optimization/61320
3207 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
3208 handle misaligned loads.
3209
3210 2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
3211
3212 * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
3213 (aarch64_expand_vec_perm_const): Check for dup before zip.
3214
3215 2014-08-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3216
3217 * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
3218 CONST_INT_P instead of GET_CODE and compare.
3219 (aarch64_select_cc_mode): Likewise.
3220 (aarch64_print_operand): Likewise.
3221 (aarch64_rtx_costs): Likewise.
3222 (aarch64_simd_valid_immediate): Likewise.
3223 (aarch64_simd_check_vect_par_cnst_half): Likewise.
3224 (aarch64_simd_emit_pair_result_insn): Likewise.
3225
3226 2014-08-05 David Malcolm <dmalcolm@redhat.com>
3227
3228 * gdbhooks.py (find_gcc_source_dir): New helper function.
3229 (class PassNames): New class, locating and parsing passes.def.
3230 (class BreakOnPass): New command "break-on-pass".
3231
3232 2014-08-05 Trevor Saunders <tsaunders@mozilla.com>
3233
3234 * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
3235 getting olde.
3236
3237 2014-08-05 Richard Biener <rguenther@suse.de>
3238
3239 PR rtl-optimization/61672
3240 * emit-rtl.h (mem_attrs_eq_p): Declare.
3241 * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs.
3242 * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
3243 * cfgcleanup.c (merge_memattrs): Likewise.
3244 Include emit-rtl.h.
3245
3246 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3247
3248 * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
3249 rather than singleton vectors.
3250 (vqdmlsls_lane_s32): Likewise.
3251
3252 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3253
3254 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
3255 Use VSDQ_HSI mode iterator.
3256 (aarch64_sqrdmulh_laneq<mode>): Likewise.
3257 (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
3258 * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
3259 Use BUILTIN_VDQHS macro.
3260 (sqrdmulh_laneq): Likewise.
3261 * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
3262 (vqdmlals_laneq_s32): Likewise.
3263 (vqdmlslh_laneq_s16): Likewise.
3264 (vqdmlsls_laneq_s32): Likewise.
3265 (vqdmulhh_laneq_s16): Likewise.
3266 (vqdmulhs_laneq_s32): Likewise.
3267 (vqrdmulhh_laneq_s16): Likewise.
3268 (vqrdmulhs_laneq_s32): Likewise.
3269
3270 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3271
3272 * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
3273 (vmuld_laneq_f64): Likewise.
3274 (vmuls_laneq_f32): Likewise.
3275 (vmul_n_f64): Likewise.
3276 (vmuld_lane_f64): Reimplement in C.
3277 (vmuls_lane_f32): Likewise.
3278
3279 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3280
3281 * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
3282 to reservation.
3283 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
3284
3285 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3286
3287 * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
3288 (rbitsi2): Likewise.
3289 (*arm_rev): Set predicable and predicable_short_it attributes.
3290
3291 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3292
3293 * convert.c (convert_to_integer): Guard transformation to lrint by
3294 -fno-math-errno.
3295
3296 2014-08-05 James Greenhalgh <james.greenhalgh@arm.com>
3297
3298 * config/aarch64/aarch64-builtins.c
3299 (aarch64_simd_builtin_type_mode): Delete.
3300 (v8qi_UP): Remap to V8QImode.
3301 (v4hi_UP): Remap to V4HImode.
3302 (v2si_UP): Remap to V2SImode.
3303 (v2sf_UP): Remap to V2SFmode.
3304 (v1df_UP): Remap to V1DFmode.
3305 (di_UP): Remap to DImode.
3306 (df_UP): Remap to DFmode.
3307 (v16qi_UP):V16QImode.
3308 (v8hi_UP): Remap to V8HImode.
3309 (v4si_UP): Remap to V4SImode.
3310 (v4sf_UP): Remap to V4SFmode.
3311 (v2di_UP): Remap to V2DImode.
3312 (v2df_UP): Remap to V2DFmode.
3313 (ti_UP): Remap to TImode.
3314 (ei_UP): Remap to EImode.
3315 (oi_UP): Remap to OImode.
3316 (ci_UP): Map to CImode.
3317 (xi_UP): Remap to XImode.
3318 (si_UP): Remap to SImode.
3319 (sf_UP): Remap to SFmode.
3320 (hi_UP): Remap to HImode.
3321 (qi_UP): Remap to QImode.
3322 (aarch64_simd_builtin_datum): Make mode a machine_mode.
3323 (VAR1): Build builtin name.
3324 (aarch64_init_simd_builtins): Remove dead code.
3325
3326 2014-08-05 Roman Gareev <gareevroman@gmail.com>
3327
3328 * graphite-isl-ast-to-gimple.c:
3329 (set_options): New function.
3330 (scop_to_isl_ast): Add calling of set_options.
3331
3332 2014-08-05 Jakub Jelinek <jakub@redhat.com>
3333
3334 * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
3335 (analyze_iv_to_split_insn): Don't initialize them.
3336 (get_ivts_expr): Removed.
3337 (allocate_basic_variable, insert_base_initialization): Use
3338 SET_SRC instead of *get_ivts_expr.
3339 (split_iv): Use &SET_SRC instead of get_ivts_expr.
3340
3341 2014-08-05 Roman Gareev <gareevroman@gmail.com>
3342
3343 * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
3344 (translate_isl_ast_for_loop): Add checking of the
3345 flag_loop_parallelize_all.
3346 (ast_build_before_for): New function.
3347 (scop_to_isl_ast): Add checking of the
3348 flag_loop_parallelize_all.
3349 * graphite-dependences.c: Move the defenition of the
3350 scop_get_dependences from graphite-optimize-isl.c to this file.
3351 (apply_schedule_on_deps): Add checking of the ux's emptiness.
3352 (carries_deps): Add checking of the x's value.
3353 * graphite-optimize-isl.c: Move the defenition of the
3354 scop_get_dependences to graphite-dependences.c.
3355 * graphite-poly.h: Add declarations of scop_get_dependences
3356 and carries_deps.
3357
3358 2014-08-04 Rohit <rohitarulraj@freescale.com>
3359
3360 PR target/60102
3361 * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
3362 names.
3363 (alt_reg_names): Likewise.
3364 (rs6000_dwarf_register_span): For SPE high registers, replace
3365 dwarf register numbers with GCC hard register numbers.
3366 (rs6000_init_dwarf_reg_sizes_extra): Likewise.
3367 (rs6000_dbx_register_number): For SPE high registers, return dwarf
3368 register number for the corresponding GCC hard register number.
3369 * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
3370 newly added GCC hard register numbers for SPE high registers.
3371 (DWARF_FRAME_REGISTERS): Likewise.
3372 (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
3373 (DWARF_FRAME_REGNUM): Likewise.
3374 (FIXED_REGISTERS): Likewise.
3375 (CALL_USED_REGISTERS): Likewise.
3376 (CALL_REALLY_USED_REGISTERS): Likewise.
3377 (REG_ALLOC_ORDER): Likewise.
3378 (enum reg_class): Likewise.
3379 (REG_CLASS_NAMES): Likewise.
3380 (REG_CLASS_CONTENTS): Likewise.
3381 (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
3382
3383 2014-08-04 Richard Biener <rguenther@suse.de>
3384
3385 * gimple-fold.h (gimple_fold_builtin): Remove.
3386 * gimple-fold.c (gimple_fold_builtin): Make static.
3387 * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
3388 fold_stmt, not gimple_fold_builtin.
3389
3390 2014-08-04 Martin Liska <mliska@suse.cz>
3391
3392 * cgraph.h (csi_end_p): Removed.
3393 (csi_next): Likewise.
3394 (csi_node): Likewise.
3395 (csi_start): Likewise.
3396 (cgraph_node_in_set_p): Likewise.
3397 (cgraph_node_set_size): Likewise.
3398 (vsi_end_p): Likewise.
3399 (vsi_next): Likewise.
3400 (vsi_node): Likewise.
3401 (vsi_start): Likewise.
3402 (varpool_node_set_size): Likewise.
3403 (cgraph_node_set_nonempty_p): Likewise.
3404 (varpool_node_set_nonempty_p): Likewise.
3405 * cgraphunit.c (cgraph_process_new_functions): vec replaces
3406 cgraph_node_set.
3407 * ipa-inline-transform.c: Likewise.
3408 * ipa-utils.c (cgraph_node_set_new): Removed.
3409 (cgraph_node_set_add): Likewise.
3410 (cgraph_node_set_remove): Likewise.
3411 (cgraph_node_set_find): Likewise.
3412 (dump_cgraph_node_set): Likewise.
3413 (debug_cgraph_node_set): Likewise.
3414 (free_cgraph_node_set): Likewise.
3415 (varpool_node_set_new): Likewise.
3416 (varpool_node_set_add): Likewise.
3417 (varpool_node_set_remove): Likewise.
3418 (varpool_node_set_find): Likewise.
3419 (dump_varpool_node_set): Likewise.
3420 (free_varpool_node_set): Likewise.
3421 (debug_varpool_node_set): Likewise.
3422 * tree-emutls.c (struct tls_var_data):
3423 (emutls_index): Removed.
3424 (emutls_decl): Likewise.
3425 (gen_emutls_addr): Function implementation uses newly added
3426 hash_map<varpool_node *, tls_var_data>.
3427 (clear_access_vars): Likewise.
3428 (create_emultls_var): Likewise.
3429 (ipa_lower_emutls): Likewise.
3430 (reset_access): New function.
3431
3432 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3433
3434 * config/i386/i386.c (ix86_option_override_internal): Add
3435 PTA_RDRND and PTA_MOVBE for bdver4.
3436
3437 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3438 James Greenhalgh <james.greenhalgh@arm.com>
3439
3440 * doc/md.texi (clrsb): Document.
3441 (clz): Change reference to x into operand 1.
3442 (ctz): Likewise.
3443 (popcount): Likewise.
3444
3445 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3446
3447 PR target/61713
3448 * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
3449 move to subtarget in serial version if result is ignored.
3450
3451 2014-08-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3452 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3453
3454 * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
3455 to any two insns. Update comment. Rename to sched_macro_fuse_insns.
3456 (sched_analyze_insn): Update use of try_group_insn to
3457 sched_macro_fuse_insns.
3458 * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
3459 arguments that are not conditional jumps.
3460
3461 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3462
3463 * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's extended
3464 family information. Handle BTVER2 cpu with cpuid family value.
3465
3466 2014-08-04 Tom de Vries <tom@codesourcery.com>
3467
3468 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
3469 (glibc_2_11_or_earlier): Document effective-target keywords.
3470
3471 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
3472
3473 * ipa-devirt.c (odr_type_warn_count): Add type.
3474 (possible_polymorphic_call_targets): Set it.
3475 (ipa_devirt): Use it.
3476
3477 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
3478
3479 * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
3480 Document.
3481 * ipa-devirt.c: Include hash-map.h
3482 (struct polymorphic_call_target_d): Add type_warning and decl_warning.
3483 (clear_speculation): Break out of ...
3484 (get_class_context): ... here; speed up handling obviously useless
3485 speculations.
3486 (odr_type_warn_count, decl_warn_count): New structures.
3487 (final_warning_record): New structure.
3488 (final_warning_records): New static variable.
3489 (possible_polymorphic_call_targets): Cleanup handling of
3490 speculative info; do not build speculation when user do not care;
3491 record info about warnings when asked for.
3492 (add_decl_warning): New function.
3493 (type_warning_cmp): New function.
3494 (decl_warning_cmp): New function.
3495 (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
3496 (gate): Enable pass when warnings are requested.
3497 * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
3498 options.
3499
3500 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
3501
3502 * hash-map.h (default_hashmap_traits::mark_key_deleted):
3503 Fix cast.
3504 (hash_map::remove): New method.
3505 (hash_map::traverse): New method.
3506 * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
3507 ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
3508 tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
3509 tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
3510 tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
3511 tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
3512 pointer_map.
3513
3514 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
3515
3516 * hash-set.h: new File.
3517 * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
3518 cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
3519 ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
3520 lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
3521 tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
3522 tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
3523 tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
3524 varpool.c: Use hash_set instead of pointer_set.
3525
3526 2014-08-01 Alan Lawrence <alan.lawrence@arm.com>
3527
3528 * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
3529
3530 2014-08-01 Jiong Wang <jiong.wang@arm.com>
3531
3532 * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
3533 for frame access when strict_p is false.
3534
3535 2014-08-01 Renlin Li <renlin.li@arm.com>
3536 2014-08-01 Jiong Wang <jiong.wang@arm.com>
3537
3538 * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
3539 aarch64_offset_7bit_signed_scaled_p, remove static and use it.
3540 * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
3541 Declaration.
3542 * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
3543 predicate.
3544 * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
3545 aarch64_mem_pair_offset.
3546
3547 2014-08-01 Jiong Wang <jiong.wang@arm.com>
3548
3549 * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
3550 offset.
3551 (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
3552 * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
3553
3554 2014-08-01 Matthew Fortune <matthew.fortune@imgtec.com>
3555
3556 * config/mips/mips.h (REGISTER_PREFIX): Define macro.
3557
3558 2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
3559
3560 PR regression/61510
3561 * cgraphunit.c (analyze_functions): Use get_create rather than get
3562 for decls which are clones of abstract functions.
3563
3564 2014-08-01 Martin Liska <mliska@suse.cz>
3565
3566 * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
3567 * ipa-prop.h (count_formal_params): Global function created from static.
3568 * ipa-prop.c (count_formal_params): Likewise.
3569 * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
3570 profiles for semantically equivalent functions.
3571 * passes.c (do_per_function): If we load body of a function
3572 during WPA, this condition should behave same.
3573 * varpool.c (ctor_for_folding): More tolerant assert for variable
3574 aliases created during WPA.
3575
3576 2014-08-01 Martin Liska <mliska@suse.cz>
3577
3578 * doc/invoke.texi (Options That Control Optimization): Documentation
3579 for -foptimize-strlen introduced. Optimization levels default options
3580 fixed.
3581
3582 2014-08-01 Jakub Jelinek <jakub@redhat.com>
3583
3584 * opts.c (common_handle_option): Handle -fsanitize=alignment.
3585 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
3586 (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
3587 type to bool.
3588 * stor-layout.h (min_align_of_type): New prototype.
3589 * asan.c (pass_sanopt::execute): Don't perform gsi_next if
3590 ubsan_expand* told us not to do it. Remove the extra gsi_end_p
3591 check.
3592 * ubsan.c: Include builtins.h.
3593 (ubsan_expand_bounds_ifn): Change return type to bool,
3594 always return true.
3595 (ubsan_expand_null_ifn): Change return type to bool, change
3596 argument to gimple_stmt_iterator *. Handle both null and alignment
3597 sanitization, take type from ckind argument's type rather than
3598 first argument.
3599 (instrument_member_call): Removed.
3600 (instrument_mem_ref): Remove t argument, add mem and base arguments.
3601 Handle both null and alignment sanitization, don't say whole
3602 struct access is member access. Build 3 argument IFN_UBSAN_NULL
3603 call instead of 2 argument.
3604 (instrument_null): Adjust instrument_mem_ref caller. Don't
3605 instrument calls here.
3606 (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
3607 like SANITIZE_NULL.
3608 * stor-layout.c (min_align_of_type): New function.
3609 * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
3610 Or it into SANITIZE_UNDEFINED.
3611 * doc/invoke.texi (-fsanitize=alignment): Document.
3612
3613 2014-07-31 Andi Kleen <ak@linux.intel.com>
3614
3615 * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
3616
3617 2014-07-31 Andi Kleen <ak@linux.intel.com>
3618
3619 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
3620 inchash.
3621 (vn_reference_compute_hash): Dito.
3622 (vn_nary_op_compute_hash): Dito.
3623 (vn_phi_compute_hash): Dito.
3624 * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
3625
3626 2014-07-31 Andi Kleen <ak@linux.intel.com>
3627
3628 * tree-ssa-dom.c (iterative_hash_exprs_commutative):
3629 Rename to inchash:add_expr_commutative. Convert to inchash.
3630 (iterative_hash_hashable_expr): Rename to
3631 inchash:add_hashable_expr. Convert to inchash.
3632 (avail_expr_hash): Dito.
3633
3634 2014-07-31 Andi Kleen <ak@linux.intel.com>
3635
3636 * ipa-devirt.c (polymorphic_call_target_hasher::hash):
3637 Convert to inchash.
3638
3639 2014-07-31 Andi Kleen <ak@linux.intel.com>
3640
3641 * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
3642
3643 2014-07-31 Andi Kleen <ak@linux.intel.com>
3644
3645 * Makefile.in (OBJS): Add rtlhash.o
3646 * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
3647 (loc_checksum): Dito.
3648 (loc_checksum_ordered): Dito.
3649 (hash_loc_operands): Dito.
3650 (hash_locs): Dito.
3651 (hash_loc_list): Dito.
3652 * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
3653 * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
3654 * rtlhash.c: New file.
3655 * rtlhash.h: New file.
3656
3657 2014-07-31 Andi Kleen <ak@linux.intel.com>
3658
3659 * inchash.h (inchash): Change inchash class to namespace.
3660 (class hash): ... Rename from inchash.
3661 (add_object): Move from macro to class template.
3662 * lto-streamer-out.c (hash_tree): Change inchash
3663 to inchash::hash.
3664 * tree.c (build_type_attribute_qual_variant): Dito.
3665 (type_hash_list): Dito.
3666 (attribute_hash_list): Dito.
3667 (iterative_hstate_expr): Rename to inchash::add_expr
3668 (build_range_type_1): Change inchash to inchash::hash
3669 and use hash::add_expr.
3670 (build_array_type_1): Dito.
3671 (build_function_type): Dito
3672 (build_method_type_directly): Dito.
3673 (build_offset_type): Dito.
3674 (build_complex_type): Dito.
3675 (make_vector_type): Dito.
3676 * tree.h (iterative_hash_expr): Dito.
3677
3678 2014-07-31 Chen Gang <gang.chen.5i5j@gmail.com>
3679
3680 * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
3681
3682 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
3683
3684 * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
3685 correct alphabetical position.
3686 (vpaddd_f64): Rewrite using builtins.
3687 (vpaddd_s64): Move to correct alphabetical position.
3688 (vpaddd_u64): New.
3689
3690 2014-07-31 Oleg Endo <olegendo@gcc.gnu.org>
3691
3692 PR target/61844
3693 * config/sh/sh.c (sh_legitimate_address_p,
3694 sh_legitimize_reload_address): Handle reg+reg address modes when
3695 ALLOW_INDEXED_ADDRESS is false.
3696 * config/sh/predicates.md (general_movsrc_operand,
3697 general_movdst_operand): Likewise.
3698
3699 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
3700
3701 * config/aarch64/aarch64-builtins.c
3702 (aarch64_gimple_fold_builtin): Don't fold reduction operations for
3703 BYTES_BIG_ENDIAN.
3704
3705 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
3706
3707 * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
3708 the generated mask based on BYTES_BIG_ENDIAN.
3709 (aarch64_simd_check_vect_par_cnst_half): New.
3710 * config/aarch64/aarch64-protos.h
3711 (aarch64_simd_check_vect_par_cnst_half): New.
3712 * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
3713 the check out to aarch64_simd_check_vect_par_cnst_half.
3714 (vect_par_cnst_lo_half): Likewise.
3715 * config/aarch64/aarch64-simd.md
3716 (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
3717 (move_hi_quad_<mode>): Always generate a low mask.
3718
3719 2014-07-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3720
3721 * doc/invoke.texi (AVR Options): Add documentation about
3722 __AVR_DEVICE_NAME__ built-in macro.
3723
3724 2014-07-31 Charles Baylis <charles.baylis@linaro.org>
3725
3726 PR target/61948
3727 * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
3728 constraints are satisfied.
3729 (<shift>di3_neon): Likewise.
3730
3731 2014-07-31 Richard Biener <rguenther@suse.de>
3732
3733 PR tree-optimization/61964
3734 * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
3735 by structural equality.
3736
3737 2014-07-31 Yury Gribov <y.gribov@samsung.com>
3738
3739 * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
3740 * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
3741 * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
3742 New enums.
3743 * gcc.c (sanitize_spec_function): Support new option.
3744 (SANITIZER_SPEC): Remove now redundant check.
3745 * opts.c (common_handle_option): Support new option.
3746 (finish_options): Check for incompatibilities.
3747 * toplev.c (process_options): Split userspace-specific checks.
3748
3749 2014-07-31 Richard Biener <rguenther@suse.de>
3750
3751 * lto-streamer.h (struct output_block): Remove global.
3752 (struct data_in): Remove labels, num_named_labels and
3753 num_unnamed_labels.
3754 * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
3755 * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
3756
3757 2014-07-31 Marc Glisse <marc.glisse@inria.fr>
3758
3759 PR c++/60517
3760 * common.opt (-Wreturn-local-addr): Moved from c.opt.
3761 * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
3762 (isolate_path): New argument to avoid inserting a trap.
3763 (find_implicit_erroneous_behaviour): Handle returning the address
3764 of a local variable.
3765 (find_explicit_erroneous_behaviour): Likewise.
3766
3767 2014-07-31 Bingfeng Mei <bmei@broadcom.com>
3768
3769 PR lto/61868
3770 * toplev.c (init_random_seed): Move piece of code never called to
3771 set_random_seed.
3772 (set_random_seed): see above.
3773
3774 2014-07-31 Tom de Vries <tom@codesourcery.com>
3775
3776 * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
3777
3778 2014-07-31 Richard Sandiford <rdsandiford@googlemail.com>
3779
3780 * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
3781 (compute_regs_asm_clobbered): Use extract_asm_operands instead.
3782
3783 2014-07-31 Richard Biener <rguenther@suse.de>
3784
3785 * data-streamer.h (streamer_write_data_stream): Declare here,
3786 renamed from ...
3787 * lto-streamer.h (lto_output_data_stream): ... this. Remove.
3788 * lto-cgraph.c (lto_output_node): Adjust.
3789 (lto_output_varpool_node): Likewise.
3790 * data-streamer-out.c (streamer_string_index): Likewise.
3791 (streamer_write_data_stream, lto_append_block): Move from ...
3792 * lto-section-out.c (lto_output_data_stream,
3793 lto_append_block): ... here.
3794
3795 2014-07-30 Mike Stump <mikestump@comcast.net>
3796
3797 * configure.ac: Also check for popen.
3798 * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
3799 * configure: Regenerate.
3800 * config.in: Regenerate.
3801
3802 2014-07-30 Martin Jambor <mjambor@suse.cz>
3803
3804 * tree-sra.c (sra_ipa_modify_assign): Change type of the first
3805 parameter to gimple.
3806
3807 2014-07-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3808
3809 * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
3810 address as second parameter to __tpf_eh_return routine.
3811
3812 2014-07-30 Jiong Wang <jiong.wang@arm.com>
3813
3814 * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
3815 Thumb2.
3816
3817 2014-07-30 Tom Tromey <tromey@redhat.com>
3818
3819 PR c/59855
3820 * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
3821 * doc/extend.texi (Type Attributes): Document designated_init
3822 attribute.
3823
3824 2014-07-30 Roman Gareev <gareevroman@gmail.com>
3825
3826 * graphite-isl-ast-to-gimple.c:
3827 (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
3828 (gcc_expression_from_isl_expression): Pass type to
3829 gcc_expression_from_isl_ast_expr_id.
3830
3831 2014-07-30 Richard Biener <rguenther@suse.de>
3832
3833 * lto-streamer.h (lto_write_data): New function.
3834 * langhooks.c (lhd_append_data): Do not free block.
3835 * lto-section-out.c (lto_write_data): New function writing
3836 raw data to the current section.
3837 (lto_write_stream): Adjust for langhook semantic change.
3838 (lto_destroy_simple_output_block): Write header directly.
3839 * lto-opts.c (lto_write_options): Write options directly.
3840 * lto-streamer-out.c (produce_asm): Write heaeder directly.
3841 (lto_output_toplevel_asms): Likewise.
3842 (copy_function_or_variable): Copy data directly.
3843 (write_global_references): Output index table directly.
3844 (lto_output_decl_state_refs): Likewise.
3845 (write_symbol): Write data directly.
3846 (produce_symtab): Adjust.
3847 (produce_asm_for_decls): Output header and refs directly.
3848
3849 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
3850
3851 * ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets
3852 to speculative_targets
3853 (get_class_context): Fix handling of contextes without outer type;
3854 avoid matching non-polymorphic types in LTO.
3855 (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
3856 parameter to speculative_targetsp; handle speculation.
3857 (dump_possible_polymorphic_call_targets): Update dumping.
3858
3859 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
3860
3861 * common.opt (Wodr): Enable by default.
3862
3863 2014-07-29 Olivier Hainque <hainque@adacore.com>
3864
3865 * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
3866
3867 2014-07-29 H.J. Lu <hongjiu.lu@intel.com>
3868
3869 PR bootstrap/61914
3870 * gengtype.c (strtoken): New function.
3871 (create_user_defined_type): Replace strtok with strtoken.
3872
3873 2014-07-29 Nathan Sidwell <nathan@acm.org>
3874
3875 * gcov-io.c (gcov_var): Make hidden.
3876 * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
3877 (gcov_do_dump): Declare.
3878 (gcov_output_files): Call gcov_do_dump, not gcov_exit).
3879
3880 2014-07-29 Martin Jambor <mjambor@suse.cz>
3881
3882 * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
3883 parameter to gimple.
3884 (sra_modify_assign): Likewise.
3885
3886 2014-07-29 Richard Biener <rguenther@suse.de>
3887
3888 PR middle-end/52478
3889 * expr.c (expand_expr_real_2): Revert last change.
3890
3891 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
3892
3893 * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
3894 * cgraph.h (cgraph_indirect_call_info): Add speculative data.
3895 * gimple-fold.c (fold_gimple_assign): Fix check for virtual
3896 call.
3897 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
3898 (contains_type_p): Forward declare.
3899 (polymorphic_call_target_hasher::hash): Hash speculative info.
3900 (polymorphic_call_target_hasher::equal): Compare speculative info.
3901 (get_class_context): Handle speuclation.
3902 (contains_type_p): Update.
3903 (get_polymorphic_call_info_for_decl): Update.
3904 (walk_ssa_copies): Break out from ...
3905 (get_polymorphic_call_info): ... here; set speculative context
3906 before giving up.
3907 * ipa-prop.c (ipa_write_indirect_edge_info,
3908 ipa_read_indirect_edge_info): Stream speculative context.
3909 * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
3910 (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
3911 SPECULATIVE_MAYBE_DERIVED_TYPE).
3912 (possible_polymorphic_call_targets overriders): Update.
3913 (dump_possible_polymorphic_call_targets overriders): Update.
3914 (dump_possible_polymorphic_call_target_p overriders): Update.
3915
3916 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
3917
3918 * gimple-fold.c (fold_gimple_assign): Fix condition guarding
3919 ipa-devirt path; fix thinko there.
3920
3921 2014-07-28 Trevor Saunders <tsaunders@mozilla.com>
3922
3923 * config/i386/i386.c (ix86_return_in_memory): Replace one
3924 ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
3925
3926 2014-07-28 Marek Polacek <polacek@redhat.com>
3927
3928 * doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
3929
3930 2014-07-28 Peter Bergner <bergner@vnet.ibm.com>
3931
3932 * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
3933 * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
3934 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
3935 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
3936 (USE_LD_AS_NEEDED): Likewise.
3937 (ASM_APP_ON): Likewise.
3938 (ASM_APP_OFF): Likewise.
3939 (TARGET_POSIX_IO): Likewise.
3940 * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
3941 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
3942 (USE_LD_AS_NEEDED): Likewise.
3943 (ASM_APP_ON): Likewise.
3944 (ASM_APP_OFF): Likewise.
3945 (TARGET_POSIX_IO): Likewise.
3946
3947 2014-07-28 Eric Botcazou <ebotcazou@adacore.com>
3948
3949 PR middle-end/61734
3950 * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
3951 operators other than the equality operators.
3952
3953 2014-07-28 Richard Biener <rguenther@suse.de>
3954
3955 PR middle-end/52478
3956 * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
3957 sure to register SImode ones, not only >= word_mode ones.
3958 * expr.c (expand_expr_real_2): When expanding -ftrapv
3959 binops do not use OPTAB_LIB_WIDEN.
3960
3961 2014-07-28 Richard Sandiford <rdsandiford@googlemail.com>
3962
3963 PR middle-end/61919
3964 * tree-outof-ssa.c (insert_partition_copy_on_edge)
3965 (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
3966 (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
3967 inserting them in the insn stream.
3968
3969 2014-07-28 Marek Polacek <polacek@redhat.com>
3970
3971 PR middle-end/61913
3972 * common.opt (Wodr): Add Var.
3973
3974 2014-07-28 Richard Biener <rguenther@suse.de>
3975
3976 PR tree-optimization/61921
3977 * tree-ssa-structalias.c (create_variable_info_for_1): Check
3978 if there is a varpool node before dereferencing it.
3979
3980 2014-07-28 Roman Gareev <gareevroman@gmail.com>
3981
3982 * graphite-sese-to-poly.c:
3983 (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
3984 id of the pbb), which contains pointer to the pbb1.
3985
3986 * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
3987
3988 2014-07-28 Roman Gareev <gareevroman@gmail.com>
3989
3990 * graphite-isl-ast-to-gimple.c:
3991 (graphite_create_new_guard): New function.
3992 (translate_isl_ast_node_if): New function.
3993 (translate_isl_ast): Add calling of translate_isl_ast_node_if.
3994
3995 * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
3996
3997 2014-07-27 Anthony Green <green@moxielogic.com>
3998
3999 * config.gcc: Add moxie-*-moxiebox* configuration.
4000 * config/moxie/moxiebox.h: New file.
4001
4002 2014-07-26 Andrew Pinski <apinski@cavium.com>
4003
4004 * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
4005 from the read only register.
4006
4007 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
4008
4009 * ira-costs.c (find_costs_and_classes): For -O0, use the best class
4010 as the allocation class if it isn't likely to be spilled.
4011
4012 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
4013
4014 * rtl.h (tls_referenced_p): Declare.
4015 * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
4016 * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
4017 (mips_cannot_force_const_mem): Use tls_referenced_p.
4018 * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
4019 * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
4020 instead of pa_tls_referenced_p.
4021 * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
4022 (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
4023 (pa_legitimate_constant_p): Likewise.
4024 (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
4025 * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
4026 (rs6000_cannot_force_const_mem, rs6000_emit_move)
4027 (rs6000_address_for_altivec): Use tls_referenced_p instead of
4028 rs6000_tls_referenced_p.
4029 (rs6000_tls_symbol_ref_1): Delete.
4030
4031 2014-07-26 Marc Glisse <marc.glisse@inria.fr>
4032
4033 PR target/44551
4034 * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
4035 Optimize inverse of a VEC_CONCAT.
4036
4037 2014-07-25 Xinliang David Li <davidxl@google.com>
4038
4039 * params.def: New parameter.
4040 * coverage.c (get_coverage_counts): Check new flag.
4041 (coverage_compute_profile_id): Check new flag.
4042 (coverage_begin_function): Check new flag.
4043 (coverage_end_function): Check new flag.
4044 * value-prof.c (coverage_node_map_initialized_p): New function.
4045 (init_node_map): Populate map with all functions.
4046 * doc/invoke.texi: Document new parameter.
4047
4048 2014-07-25 Jan Hubicka <hubicka@ucw.cz>
4049 Richard Biener <rguenther@suse.de>
4050
4051 * lto-streamer-out.c (struct sccs): Turn to ...
4052 (class DFS): ... this one; refactor the DFS walk so it can
4053 be re-done on per-SCC basis.
4054 (DFS::DFS): New constructor.
4055 (DFS::~DFS): New destructor.
4056 (hash_tree): Add new MAP argument holding in-SCC hash values;
4057 remove POINTER_TYPE hashing hack.
4058 (scc_entry_compare): Rename to ...
4059 (DFS::scc_entry_compare): ... this one.
4060 (hash_scc): Rename to ...
4061 (DFS::hash_scc): ... this one; pass output_block instead
4062 of streamer_cache; work harder to get unique and stable SCC
4063 hashes.
4064 (DFS_write_tree): Rename to ...
4065 (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
4066 (lto_output_tree): Update.
4067
4068 2014-07-25 Andi Kleen <ak@linux.intel.com>
4069
4070 * lto-streamer-out.c (hash_tree): Convert to inchash.
4071
4072 2014-07-25 Andi Kleen <ak@linux.intel.com>
4073
4074 * tree.c (build_type_attribute_qual_variant): Use inchash.
4075 (type_hash_list): Dito.
4076 (attribute_hash_list): Dito
4077 (iterative_hstate_expr): Dito.
4078 (iterative_hash_expr): Dito.
4079 (build_range_type_1): Dito.
4080 (build_array_type_1): Dito.
4081 (build_function_type): Dito.
4082 (build_method_type_directly): Dito.
4083 (build_offset_type): Dito.
4084 (build_complex_type): Dito.
4085 (make_vector_type): Dito.
4086 * tree.h (iterative_hash_expr): Add compat wrapper.
4087 (iterative_hstate_expr): Add.
4088
4089 2014-07-25 Andi Kleen <ak@linux.intel.com>
4090
4091 * Makefile.in (OBJS): Add inchash.o.
4092 (PLUGIN_HEADERS): Add inchash.h.
4093 * ipa-devirt.c: Include inchash.h.
4094 * lto-streamer-out.c: Dito.
4095 * tree-ssa-dom.c: Dito.
4096 * tree-ssa-pre.c: Dito.
4097 * tree-ssa-sccvn.c: Dito.
4098 * tree-ssa-tail-merge.c: Dito.
4099 * asan.c: Dito.
4100 * tree.c (iterative_hash_hashval_t): Move to ...
4101 (iterative_hash_host_wide_int): Move to ...
4102 * inchash.c: Here. New file.
4103 * tree.h (iterative_hash_hashval_t): Move to ...
4104 (iterative_hash_host_wide_int): Move to ...
4105 * inchash.h: Here. New file.
4106
4107 2014-07-25 Richard Biener <rguenther@suse.de>
4108
4109 PR middle-end/61762
4110 PR middle-end/61894
4111 * fold-const.c (native_encode_int): Add and handle offset
4112 parameter to do partial encodings of expr.
4113 (native_encode_fixed): Likewise.
4114 (native_encode_real): Likewise.
4115 (native_encode_complex): Likewise.
4116 (native_encode_vector): Likewise.
4117 (native_encode_string): Likewise.
4118 (native_encode_expr): Likewise.
4119 * fold-const.c (native_encode_expr): Add offset parameter
4120 defaulting to -1.
4121 * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
4122 (fold_ctor_reference): Handle all reads from tcc_constant
4123 ctors.
4124
4125 2014-07-25 Richard Biener <rguenther@suse.de>
4126
4127 * tree-inline.c (estimate_move_cost): Mark speed_p argument
4128 as possibly unused.
4129
4130 2014-07-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
4131
4132 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
4133
4134 2014-07-24 Kyle McMartin <kyle@redhat.com>
4135
4136 * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
4137
4138 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4139
4140 * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
4141 Add prototype.
4142 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
4143 function.
4144 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
4145 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
4146 * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
4147
4148 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4149
4150 * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
4151 and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
4152 aggregate types. Instead, *all* aggregate types, except for single-
4153 element or homogeneous float/vector aggregates, are quadword-aligned
4154 if required by their type alignment. Issue -Wpsabi note when a type
4155 is now treated differently than before.
4156
4157 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4158
4159 * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
4160 does not fit fully into floating-point registers, and there is still
4161 space in the register parameter area, use GPRs to pass those parts
4162 of the argument. Issue -Wpsabi note if any parameter is now treated
4163 differently than before.
4164 (rs6000_arg_partial_bytes): Update.
4165
4166 2014-07-24 Uros Bizjak <ubizjak@gmail.com>
4167
4168 * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
4169
4170 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
4171
4172 * rtl.h (target_rtl): Remove lang_dependent_initialized.
4173 * toplev.c (initialize_rtl): Don't use it. Move previously
4174 "language-dependent" calls to...
4175 (backend_init): ...here.
4176 (lang_dependent_init_target): Don't set lang_dependent_initialized.
4177 Assert that RTL initialization hasn't happend yet.
4178
4179 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
4180
4181 PR rtl-optimization/61629
4182 * reginfo.c (reinit_regs): Only call ira_init and recog_init if
4183 they have already been initialized.
4184
4185 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
4186
4187 PR middle-end/61268
4188 * function.c (assign_parm_setup_reg): Prevent invalid sharing of
4189 DECL_INCOMING_RTL and entry_parm.
4190 (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
4191 * calls.c (load_register_parameters): Likewise argument values.
4192 (emit_library_call_value_1, store_one_arg): Likewise argument
4193 save areas.
4194 * config/i386/i386.c (assign_386_stack_local): Likewise the local
4195 stack slot.
4196 * explow.c (validize_mem): Modify the argument in-place.
4197
4198 2014-07-24 Jiong Wang <jiong.wang@arm.com>
4199
4200 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
4201 (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
4202
4203 2014-07-24 Jiong Wang <jiong.wang@arm.com>
4204
4205 * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
4206 (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
4207
4208 2014-07-24 Jiong Wang <jiong.wang@arm.com>
4209
4210 * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
4211 (aarch64_save_callee_saves): New parameter "skip_wb".
4212 (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
4213
4214 2014-07-24 Jiong Wang <jiong.wang@arm.com>
4215
4216 * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
4217 "wb_candidate2".
4218 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
4219
4220 2014-07-24 Roman Gareev <gareevroman@gmail.com>
4221
4222 * graphite-isl-ast-to-gimple.c:
4223 (graphite_create_new_loop): Add calling of isl_id_free to properly
4224 decrement reference counts.
4225
4226 * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
4227
4228 2014-07-24 Martin Liska <mliska@suse.cz>
4229 * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
4230 function used.
4231 * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
4232 (rs6000_code_end): Likewise.
4233
4234 2014-07-24 Martin Liska <mliska@suse.cz>
4235
4236 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
4237 symtab_node funtion used.
4238 (rs6000_xcoff_declare_object_name): Likewise.
4239
4240 2014-07-24 Martin Liska <mliska@suse.cz>
4241
4242 * cgraphunit.c (compile): Correct function used.
4243
4244 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
4245
4246 * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
4247 as non-indexable.
4248
4249 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
4250
4251 PR lto/61802
4252 * varasm.c (bss_initializer_p): Handle offlined ctors.
4253 (align_variable, get_variable_align): Likewise.
4254 (make_decl_one_only): Likewise.
4255 (default_binds_local_p_1): Likewise.
4256 (decl_binds_to_current_def_p): Likewise.
4257 (get_variable_section): Get constructor if it is offlined.
4258 (assemble_variable_contents): Sanity check that the caller
4259 streamed in the ctor in LTO.
4260
4261 2014-07-24 Roman Gareev <gareevroman@gmail.com>
4262
4263 * graphite-isl-ast-to-gimple.c:
4264 (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
4265 (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
4266 isl_ast_op_pdiv_r to the different case.
4267
4268 * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
4269
4270 2014-07-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4271
4272 PR middle-end/61876
4273 * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
4274 when flag_errno_math is on.
4275
4276 2014-07-24 Martin Liska <mliska@suse.cz>
4277
4278 * cgraph.h (varpool_node):
4279 (availability get_availability (void)):
4280 created from cgraph_variable_initializer_availability
4281 (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
4282 created from: cgraph_variable_initializer_availability
4283 (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
4284 (void finalize_named_section_flags (void)):
4285 created from varpool_finalize_named_section_flags
4286 (bool assemble_decl (void)): created from varpool_assemble_decl
4287 (void analyze (void)): created from varpool_analyze_node
4288 (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
4289 void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
4290 (void remove_initializer (void)): created from varpool_remove_initializer
4291 (tree get_constructor (void)): created from varpool_get_constructor
4292 (bool externally_visible_p (void)): created from varpool_externally_visible_p
4293 (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
4294 (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
4295 (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
4296 (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
4297 (static void finalize_decl (tree decl)): created from varpool_finalize_decl
4298 (static bool output_variables (void)): created from varpool_output_variables
4299 (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
4300 created from varpool_extra_name_alias
4301 (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
4302 (static void dump_varpool (FILE *f)): created from dump_varpool
4303 (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
4304 (static varpool_node *create_empty (void)): created from varpool_create_empty_node
4305 (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
4306 (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
4307 (void assemble_aliases (void)): created from assemble_aliases
4308
4309 2014-07-24 Martin Liska <mliska@suse.cz>
4310
4311 * cgraph.h (symtab_node):
4312 (void register_symbol (void)): created from symtab_register_node
4313 (void remove (void)): created from symtab_remove_node
4314 (void dump (FILE *f)): created from dump_symtab_node
4315 (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
4316 (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
4317 (struct ipa_ref *add_reference (symtab_node *referred_node,
4318 enum ipa_ref_use use_type)): created from add_reference
4319 (struct ipa_ref *add_reference (symtab_node *referred_node,
4320 enum ipa_ref_use use_type, gimple stmt)): created from add_reference
4321 (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
4322 gimple stmt)): created from maybe_add_reference
4323 (bool semantically_equivalent_p (symtab_node *target)): created from
4324 symtab_semantically_equivalent_p
4325 (void remove_from_same_comdat_group (void)): created from
4326 remove_from_same_comdat_group
4327 (void add_to_same_comdat_group (symtab_node *old_node)): created from
4328 symtab_add_to_same_comdat_group
4329 (void dissolve_same_comdat_group_list (void)): created from
4330 symtab_dissolve_same_comdat_group_list
4331 (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
4332 (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
4333 created from symtab_alias_ultimate_target
4334 (inline symtab_node *next_defined_symbol (void)): created from
4335 symtab_next_defined_symbol
4336 (bool resolve_alias (symtab_node *target)): created from
4337 symtab_resolve_alias
4338 (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
4339 void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
4340 (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
4341 (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
4342 (void set_section (const char *section)): created from set_section_1
4343 (enum availability get_availability (void)): created from symtab_node_availability
4344 (void make_decl_local (void)): created from symtab_make_decl_local
4345 (bool real_symbol_p (void)): created from symtab_read_node
4346 (can_be_discarded_p (void)): created from symtab_can_be_discarded
4347 (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
4348 (inline bool in_same_comdat_group_p (symtab_node *target)): created from
4349 symtab_in_same_comdat_p;
4350 (bool address_taken_from_non_vtable_p (void)): created from
4351 address_taken_from_non_vtable_p
4352 (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
4353 (static void dump_table (FILE *)): created from dump_symtab
4354 (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
4355 (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
4356 (static bool used_from_object_file_p_worker (symtab_node *node)): created from
4357 symtab_used_from_object_file_p
4358 (void dump_base (FILE *)): created from dump_symtab_base
4359 (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
4360 (void unregister (void)): created from symtab_unregister_node
4361 (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
4362 (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
4363 (static bool noninterposable_alias (symtab_node *node, void *data)): created from
4364 symtab_nonoverwritable_alias_1
4365 * cgraph.h (cgraph_node):
4366 (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
4367 created from cgraph_remove_node_and_inline_clones
4368 (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
4369 (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
4370 bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
4371 (cgraph_node *function_symbol (enum availability *avail = NULL)):
4372 created from cgraph_function_node
4373 (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
4374 vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
4375 struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
4376 created from cgraph_create_clone
4377 (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
4378 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
4379 created from cgraph_create_virtual_clone
4380 (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
4381 (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
4382 bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
4383 (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
4384 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
4385 bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
4386 created from cgraph_function_version_info
4387 (struct cgraph_function_version_info *insert_new_function_version (void)):
4388 created from insert_new_cgraph_node_version
4389 (struct cgraph_function_version_info *function_version (void)): created from
4390 get_cgraph_node_version
4391 (void analyze (void)): created from analyze_function
4392 (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
4393 HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
4394 tree real_alias) cgraph_add_thunk
4395 (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
4396 (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
4397 created from cgraph_function_or_thunk_node
4398 (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
4399 created from expand_thunk
4400 (void reset (void)): created from cgraph_reset_node
4401 (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
4402 (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
4403 (void remove (void)): created from cgraph_remove_node
4404 (void dump (FILE *f)): created from dump_cgraph_node
4405 (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
4406 (bool get_body (void)): created from cgraph_get_body
4407 (void release_body (void)): created from cgraph_release_function_body
4408 (void unnest (void)): created from cgraph_unnest_node
4409 (void make_local (void)): created from cgraph_make_node_local
4410 (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
4411 (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
4412 gcov_type count, int freq)): created from cgraph_create_edge
4413 (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
4414 gcov_type count, int freq)): created from cgraph_create_indirect_edge
4415 (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
4416 gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
4417 created from cgraph_create_edge_including_clones
4418 (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
4419 (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
4420 (void remove_callers (void)): created from cgraph_node_remove_callers
4421 (void remove_callees (void)): created from cgraph_node_remove_callees
4422 (enum availability get_availability (void)): created from cgraph_function_body_availability
4423 (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
4424 (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
4425 (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
4426 (void call_duplication_hooks (cgraph_node *node2)): created from
4427 cgraph_call_node_duplication_hooks
4428 (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
4429 void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
4430 (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
4431 void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
4432 (void call_function_insertion_hooks (void)):
4433 created from cgraph_call_function_insertion_hooks
4434 (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
4435 (bool local_p (void)): created from cgraph_local_node
4436 (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
4437 (bool cannot_return_p (void)): created from cgraph_node_cannot_return
4438 (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
4439 (inline bool only_called_directly_or_aliased_p (void)):
4440 created from cgraph_only_called_directly_or_aliased_p
4441 (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
4442 created from cgraph_will_be_removed_from_program_if_no_direct_calls
4443 (bool can_remove_if_no_direct_calls_and_refs_p (void)):
4444 created from cgraph_can_remove_if_no_direct_calls_and_refs_p
4445 (bool can_remove_if_no_direct_calls_p (void)):
4446 created from cgraph_can_remove_if_no_direct_calls_p
4447 (inline bool has_gimple_body_p (void)):
4448 created from cgraph_function_with_gimple_body_p
4449 (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
4450 (static void dump_cgraph (FILE *f)): created from dump_cgraph
4451 (static inline void debug_cgraph (void)): created from debug_cgraph
4452 (static void record_function_versions (tree decl1, tree decl2)):
4453 created from record_function_versions
4454 (static void delete_function_version (tree decl)):
4455 created from delete_function_version
4456 (static void add_new_function (tree fndecl, bool lowered)):
4457 created from cgraph_add_new_function
4458 (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
4459 (static cgraph_node * create (tree decl)): created from cgraph_create_node
4460 (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
4461 (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
4462 (static cgraph_node *get_for_asmname (tree asmname)):
4463 created from cgraph_node_for_asm
4464 (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
4465 created from cgraph_same_body_alias
4466 (static bool used_from_object_file_p_worker (cgraph_node *node,
4467 void *): new function
4468 (static bool non_local_p (cgraph_node *node, void *)):
4469 created from cgraph_non_local_node_p_1
4470 (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
4471 created from verify_cgraph
4472 (static bool make_local (cgraph_node *node, void *)):
4473 created from cgraph_make_node_local
4474 (static cgraph_node *create_alias (tree alias, tree target)):
4475 created from cgraph_create_function_alias
4476 (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
4477 gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
4478 created from cgraph_create_edge_1
4479 * cgraph.h (varpool_node):
4480 (void remove (void)): created from varpool_remove_node
4481 (void dump (FILE *f)): created from dump_varpool_node
4482
4483 2014-07-24 Richard Biener <rguenther@suse.de>
4484
4485 PR ipa/61823
4486 * tree-ssa-structalias.c (create_variable_info_for_1):
4487 Use varpool_get_constructor.
4488 (create_variable_info_for): Likewise.
4489
4490 2014-07-24 Jiong Wang <jiong.wang@arm.com>
4491
4492 * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
4493 subtract outgoing area size when restoring stack_pointer_rtx.
4494
4495 2014-07-24 Nick Clifton <nickc@redhat.com>
4496
4497 * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
4498 that operations are taking place in parallel.
4499 * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
4500
4501 2014-07-24 Thomas Schwinge <thomas@codesourcery.com>
4502
4503 * omp-low.c (extract_omp_for_data): Add missing break statement.
4504
4505 2014-07-24 Richard Biener <rguenther@suse.de>
4506
4507 * tree-inline.h (estimate_move_cost): Add speed_p parameter.
4508 * tree-inline.c (estimate_move_cost): Add speed_p parameter
4509 and adjust MOVE_RATIO query accordingly.
4510 (estimate_num_insns): Adjust callers.
4511 * ipa-prop.c (ipa_populate_param_decls): Likewise.
4512 * ipa-cp.c (gather_context_independent_values,
4513 estimate_local_effects): Likewise.
4514 * ipa-split.c (consider_split): Likewise.
4515
4516 2014-07-24 Trevor Saunders <tsaunders@mozilla.com>
4517
4518 * config/i386/driver-i386.c: Remove names of unused arguments and
4519 unnecessary unused attributes.
4520 * config/i386/host-mingw32.c: Likewise.
4521 * config/i386/i386.c: Likewise.
4522 * config/i386/winnt-stubs.c: Likewise.
4523 * config/i386/winnt.c: Likewise.
4524
4525 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4526
4527 * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
4528 (aarch64_gen_loadwb_pair): New helper function.
4529 (aarch64_expand_epilogue): Simplify code using new helper functions.
4530 * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
4531
4532 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4533
4534 * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
4535 (aarch64_gen_storewb_pair): New helper function.
4536 (aarch64_expand_prologue): Simplify code using new helper functions.
4537 * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
4538
4539 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4540
4541 * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
4542 Rename to aarch64_save_callee_saves, remove restore code.
4543 (aarch64_restore_callee_saves): New function.
4544
4545 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4546
4547 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
4548 (aarch64_save_callee_saves): New function to handle reg save
4549 for both core and vectore regs.
4550
4551 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4552
4553 * config/aarch64/aarch64.c (aarch64_gen_load_pair)
4554 (aarch64_gen_store_pair): New helper function.
4555 (aarch64_save_or_restore_callee_save_registers)
4556 (aarch64_save_or_restore_fprs): Use new helper functions.
4557
4558 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4559
4560 * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
4561 (aarch64_save_or_restore_callee_save_registers)
4562 (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
4563
4564 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4565
4566 * config/aarch64/aarch64.c
4567 (aarch64_save_or_restore_callee_save_registers)
4568 (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
4569
4570 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4571
4572 * config/aarch64/aarch64.c
4573 (aarch64_save_or_restore_callee_save_registers)
4574 (aarch64_save_or_restore_fprs): Remove 'increment'.
4575
4576 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4577
4578 * config/aarch64/aarch64.c
4579 (aarch64_save_or_restore_callee_save_registers)
4580 (aarch64_save_or_restore_fprs): Use register offset in
4581 cfun->machine->frame.reg_offset.
4582
4583 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4584
4585 * config/aarch64/aarch64.c
4586 (aarch64_save_or_restore_callee_save_registers)
4587 (aarch64_save_or_restore_fprs): Remove base_rtx.
4588
4589 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4590
4591 * config/aarch64/aarch64.c
4592 (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
4593 to 'start_offset'. Remove local variable 'start_offset'.
4594
4595 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4596
4597 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
4598 type to HOST_WIDE_INT.
4599
4600 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4601
4602 * config/aarch64/aarch64.c (aarch64_expand_prologue)
4603 (aarch64_save_or_restore_fprs)
4604 (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
4605
4606 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
4607
4608 * config/arm/t-rtems-eabi: Add
4609 mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
4610 mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
4611 mbig-endian/mthumb/march=armv7-r, and
4612 mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
4613 multilibs.
4614
4615 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
4616 Chris Johns <chrisj@rtems.org>
4617 Joel Sherrill <joel.sherrill@oarcorp.com>
4618
4619 * config.gcc: Add nios2-*-rtems*.
4620 * config/nios2/rtems.h: New file.
4621 * gcc/config/nios2/t-rtems: New file.
4622
4623 2014-07-23 Segher Boessenkool <segher@kernel.crashing.org>
4624
4625 PR target/61396
4626 * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
4627 constant numbers, not general constants.
4628 (rs6000_expand_vector_init): Ditto.
4629
4630 2014-07-23 Nathan Sidwell <nathan@acm.org>
4631
4632 * gcov-tool.c (gcov_list): Declare here.
4633 (set_gcov_list): Remove.
4634 (gcov_output_files): Set gcov_list directly.
4635
4636 2014-07-23 Host Schirmeier <horst@schirmeier.com>
4637
4638 * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
4639
4640 2014-07-23 Jiong Wang <jiong.wang@arm.com>
4641
4642 * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
4643 callee-saved registers are available for padding purpose
4644 and r3 is not mandatory, then prefer use those callee-saved
4645 instead of r3.
4646
4647 2014-07-23 Richard Biener <rguenther@suse.de>
4648
4649 * params.def (PARAM_MAX_COMBINE_INSNS): New.
4650 * combine.c: Include statistics.h and params.h.
4651 (combine_instructions): Guard three and four insn combines
4652 with max-combine-insns value. Record statistics for combines
4653 performed.
4654 * doc/invoke.texi (max-combine-insns): Document new param.
4655
4656 2014-07-23 Roman Gareev <gareevroman@gmail.com>
4657
4658 * graphite-isl-ast-to-gimple.c:
4659 (translate_isl_ast_node_block): New function.
4660 (translate_isl_ast): Add calling of translate_isl_ast_node_block.
4661
4662 * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
4663 * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
4664
4665 2014-07-23 Roman Gareev <gareevroman@gmail.com>
4666
4667 * graphite-isl-ast-to-gimple.c:
4668 (get_max_schedule_dimensions): New function.
4669 (extend_schedule): Likewise.
4670 (generate_isl_schedule): Add calling of extend_schedule and
4671 get_max_schedule_dimensions.
4672
4673 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4674
4675 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
4676 (case UNSPEC): Handle UNSPEC_RBIT.
4677
4678 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4679
4680 * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
4681 (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
4682
4683 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4684
4685 * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
4686
4687 2014-07-22 Roman Gareev <gareevroman@gmail.com>
4688
4689 * graphite-isl-ast-to-gimple.c:
4690 Add inclusion of gimple-ssa.h, tree-into-ssa.h.
4691 (ivs_params_clear):
4692 (build_iv_mapping): New function.
4693 (translate_isl_ast_node_user): Likewise.
4694 (translate_isl_ast): Add calling of translate_isl_ast_node_user.
4695
4696 * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
4697 * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
4698 * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
4699
4700 2014-07-21 Bin Cheng <bin.cheng@arm.com>
4701
4702 PR target/55701
4703 * config/arm/arm.md (setmem): New pattern.
4704 * config/arm/arm-protos.h (struct tune_params): New fields.
4705 (arm_gen_setmem): New prototype.
4706 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
4707 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
4708 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
4709 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
4710 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
4711 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
4712 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
4713 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
4714 (arm_const_inline_cost): New function.
4715 (arm_block_set_max_insns): New function.
4716 (arm_block_set_non_vect_profit_p): New function.
4717 (arm_block_set_vect_profit_p): New function.
4718 (arm_block_set_unaligned_vect): New function.
4719 (arm_block_set_aligned_vect): New function.
4720 (arm_block_set_unaligned_non_vect): New function.
4721 (arm_block_set_aligned_non_vect): New function.
4722 (arm_block_set_vect, arm_gen_setmem): New functions.
4723
4724 2014-07-21 Bin Cheng <bin.cheng@arm.com>
4725
4726 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
4727
4728 2014-07-21 Uros Bizjak <ubizjak@gmail.com>
4729
4730 PR target/61855
4731 * config/i386/avx512fintrin.h: Move constants for mantissa extraction
4732 out of #ifdef __OPTIMIZE__.
4733
4734 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
4735
4736 * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
4737 different trapping status if -fnon-call-exceptions is enabled.
4738
4739 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
4740
4741 * expr.c (store_field): Handle VOIDmode for calls that return values
4742 in multiple locations.
4743
4744 2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4745
4746 * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.
4747 (altivec_vsldoi_<mode>): Likewise.
4748
4749 2014-07-20 Roman Gareev <gareevroman@gmail.com>
4750
4751 * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
4752 to the number of characters in the line.
4753
4754 2014-07-20 Roman Gareev <gareevroman@gmail.com>
4755
4756 * graphite-isl-ast-to-gimple.c: Add using of
4757 build_nonstandard_integer_type instead of int128_integer_type_node.
4758
4759 2014-07-19 Eric Botcazou <ebotcazou@adacore.com>
4760
4761 * toplev.c (output_stack_usage): Adjust the location of the warning.
4762
4763 2014-07-19 Daniel Cederman <cederman@gaisler.com>
4764
4765 * config/sparc/sync.md (*membar_storeload_leon3): New insn.
4766 (*membar_storeload): Disable for LEON3.
4767
4768 2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
4769
4770 PR rtl-optimization/61461
4771 * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
4772
4773 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
4774
4775 PR target/61794
4776 * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
4777 Fix instruction constraint.
4778 (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
4779
4780 2014-07-18 Jonathan Wakely <jwakely@redhat.com>
4781
4782 * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
4783
4784 2014-07-18 Chung-Ju Wu <jasonwucj@gmail.com>
4785
4786 * config/nds32/nds32.c (nds32_can_eliminate): Follow the
4787 GNU coding standards.
4788 (nds32_register_move_cost): Likewise.
4789 (nds32_memory_move_cost): Likewise.
4790 (nds32_address_cost): Likewise.
4791
4792 2014-07-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
4793
4794 * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
4795
4796 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4797
4798 * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
4799 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
4800 and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
4801 (HAVE_sync_compare_and_swapqi): Define.
4802 (HAVE_sync_compare_and_swaphi): Likewise.
4803 (HAVE_sync_compare_and_swapsi): Likewise.
4804
4805 2014-07-17 Richard Sandiford <rdsandiford@googlemail.com>
4806
4807 * config/mips/p5600.md: Add missing cpu tests.
4808
4809 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4810
4811 * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
4812 (vmla_f64): Likewise.
4813 (vfms_f64): Likewise.
4814 (vmls_f64): Likewise.
4815
4816 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4817
4818 * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
4819 (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
4820
4821 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4822
4823 * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
4824 (vmlal_high_lane_s32): Likewise.
4825 (vmlal_high_lane_u16): Likewise.
4826 (vmlal_high_lane_u32): Likewise.
4827 (vmlsl_high_lane_s16): Likewise.
4828 (vmlsl_high_lane_s32): Likewise.
4829 (vmlsl_high_lane_u16): Likewise.
4830 (vmlsl_high_lane_u32): Likewise.
4831
4832 2014-07-17 Terry Guo <terry.guo@arm.com>
4833
4834 * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
4835 (alus_reg): Renamed to alus_sreg.
4836 * config/arm/arm-fixed.md: Change type of non-dsp instructions
4837 from alu_reg to alu_sreg. Change type of dsp instructions from
4838 alu_reg to alu_dsp_reg.
4839 * config/arm/thumb1.md: Likewise.
4840 * config/arm/thumb2.md: Likewise.
4841 * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
4842 * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
4843 with alu_sreg and alus_sreg.
4844 * config/arm/arm1026ejs.md (alu_op): Likewise.
4845 * config/arm/arm1136jfs.md (11_alu_op): Likewise.
4846 * config/arm/arm926ejs.md (9_alu_op): Likewise.
4847 * config/arm/fa526.md (526_alu_op): Likewise.
4848 * config/arm/fa606te.md (606te_alu_op): Likewise.
4849 * config/arm/fa626te.md (626te_alu_op): Likewise.
4850 * config/arm/fa726te.md (726te_alu_op): Likewise.
4851 * config/arm/fmp626.md (mp626_alu_op): Likewise.
4852 * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
4853 alu_sreg, alu_dsp_reg and alus_sreg.
4854 * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
4855 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
4856 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
4857 * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
4858 * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
4859 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
4860 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
4861 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
4862 * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
4863 * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
4864 subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
4865 *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
4866 (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
4867 sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
4868 subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
4869 alus_reg to alus_sreg.
4870
4871 2014-07-17 Andreas Schwab <schwab@linux-m68k.org>
4872
4873 * real.c (encode_ieee_extended_motorola): Clear integer bit in the
4874 infinity format.
4875
4876 2014-07-17 Richard Biener <rguenther@suse.de>
4877
4878 PR rtl-optimization/61801
4879 * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
4880 don't set reg_pending_barrier if it appears in a debug-insn.
4881
4882 2014-07-16 DJ Delorie <dj@redhat.com>
4883
4884 * config/rx/rx.c (rx_option_override): Fix alignment values.
4885 (rx_align_for_label): Likewise.
4886
4887 2014-07-17 Hans-Peter Nilsson <hp@axis.com>
4888
4889 PR target/61737.
4890 * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
4891 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
4892 (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
4893 functions.
4894 (cris_print_index, cris_print_operand, cris_constant_index_p)
4895 (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
4896 (cris_address_cost): Ditto last CONSTANT_P.
4897 (cris_symbol_type_of): Rename from cris_pic_symbol_type_of. All
4898 callers changed. Yield cris_offsettable_symbol for non-PIC
4899 constant symbolic expressions including labels. Yield cris_unspec
4900 for all unspecs.
4901 (cris_expand_pic_call_address): New parameter MARKERP. Set its
4902 target to pic_offset_table_rtx for calls that will likely go
4903 through PLT, const0_rtx when they can't. All callers changed.
4904 Assert flag_pic. Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
4905 symbolic expressions to be PICified. Remove second, redundant,
4906 assert on can_create_pseudo_p returning non-zero. Use
4907 replace_equiv_address_nv, not replace_equiv_address, for final
4908 operand update.
4909 * config/cris/cris.md ("movsi"): Move variable t to pattern
4910 toplevel. Adjust assert for new cris_symbol_type member. Use
4911 CONSTANT_P instead of CONSTANT_ADDRESS_P.
4912 ("*movsi_internal") <case 9>: Make check for valid unspec operands
4913 for lapc stricter.
4914 <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
4915 ("call", "call_value"): Use second incoming operand as a marker
4916 for pic-offset-table-register being used.
4917 ("*expanded_call_non_v32", "*expanded_call_v32")
4918 ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
4919 second incoming operand to CALL, match cris_call_type_marker.
4920 ("*expanded_call_value_side"): Ditto. Disable before reload_completed.
4921 ("*expanded_call_side"): Ditto. Fix typo in comment.
4922 (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
4923 CONSTANT_P.
4924 * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
4925 * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
4926 (enum cris_symbol_type): Rename from cris_pic_symbol_type. All
4927 users changed. Add members cris_offsettable_symbol and cris_unspec.
4928 (cris_symbol_type): Rename from cris_pic_symbol_type.
4929 * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
4930 just CONSTANT_P.
4931 * config/cris/cris-protos.h (cris_symbol_type_of,
4932 cris_expand_pic_call_address): Adjust prototypes.
4933 (cris_legitimate_constant_p): New prototype.
4934
4935 * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
4936 an existing tmake_file. Don't add t-slibgcc and t-linux.
4937
4938 2014-07-17 Jason Merrill <jason@redhat.com>
4939
4940 PR c++/61623
4941 * symtab.c (symtab_remove_from_same_comdat_group): Also
4942 set_comdat_group to NULL_TREE.
4943 (verify_symtab): Fix diagnostic.
4944
4945 2014-07-16 David Wohlferd <dw@LimeGreenSocks.com>
4946
4947 PR target/61662
4948 * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
4949
4950 2014-07-16 Dodji Seketeli <dodji@redhat.com>
4951
4952 Support location tracking for built-in macro tokens
4953 * input.h (is_location_from_builtin_token): New function declaration.
4954 * input.c (is_location_from_builtin_token): New function definition.
4955 * toplev.c (general_init): Tell libcpp what the pre-defined
4956 spelling location for built-in tokens is.
4957
4958 2014-07-16 Jakub Jelinek <jakub@redhat.com>
4959
4960 * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
4961 on the FUNCTION_DECL.
4962
4963 2014-07-16 Richard Biener <rguenther@suse.de>
4964
4965 PR other/61782
4966 * doc/extend.texi (always_inline): Clarify.
4967
4968 2014-07-15 Eric Christopher <echristo@gmail.com>
4969
4970 * doc/invoke.texi (Link Options): Document -z option.
4971
4972 2014-07-15 Uros Bizjak <ubizjak@gmail.com>
4973
4974 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
4975 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
4976
4977 2014-07-15 Jan Hubicka <hubicka@ucw.cz>
4978
4979 * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
4980
4981 2014-07-15 Bernd Schmidt <bernds@codesourcery.com>
4982
4983 * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
4984 varpool_assemble_decl.
4985 * varpool.c (varpool_assemble_decl): Assert that node->definition is
4986 true.
4987
4988 2014-07-15 Michael Matz <matz@suse.de>
4989
4990 PR rtl-optimization/61772
4991 * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
4992
4993 2014-07-15 Richard Biener <rguenther@suse.de>
4994
4995 * opts.c (default_options_table): Disable bit-ccp at -Og.
4996
4997 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
4998
4999 * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
5000
5001 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
5002
5003 * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
5004 NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
5005 call langhook for unknown declaration.
5006 (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
5007 * tree.h (DECL_ARGUMENTS): Update.
5008 * print-tree.c (print_node): Update.
5009 * tree-core.h (tree_decl_non_common): Remove arguments.
5010 (tree_function_decl): Add arguments.
5011
5012 2014-07-14 Richard Earnshaw <rearnsha@arm.com>
5013
5014 * aarch64.md (add_losym_<mode>): Set type to alu_imm.
5015
5016 2014-07-14 Richard Biener <rguenther@suse.de>
5017
5018 PR tree-optimization/61779
5019 * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
5020 simplifying a condition.
5021
5022 2014-07-14 Richard Biener <rguenther@suse.de>
5023
5024 * builtins.c (c_strlen): Make only_value == 2 really only
5025 affect warning generation.
5026
5027 2014-07-14 Richard Biener <rguenther@suse.de>
5028
5029 PR tree-optimization/61757
5030 PR tree-optimization/61783
5031 PR tree-optimization/61787
5032 * tree-ssa-dom.c (record_equality): Revert canonicalization
5033 change and add comment.
5034 (propagate_rhs_into_lhs): Revert previous fix, removing
5035 loop depth restriction again.
5036
5037 2014-07-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5038
5039 * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
5040 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
5041 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
5042 * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
5043 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
5044 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
5045 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
5046
5047 2014-07-14 Richard Biener <rguenther@suse.de>
5048
5049 * cgraph.h (decl_in_symtab_p): Make inline.
5050
5051 2014-07-14 Jakub Jelinek <jakub@redhat.com>
5052
5053 PR middle-end/61294
5054 * doc/invoke.texi (-Wmemset-transposed-args): Document.
5055
5056 PR target/61656
5057 * config/i386/i386.c (classify_argument): Don't merge classes above
5058 number of words.
5059
5060 2014-07-13 Jan Hubicka <hubicka@ucw.cz>
5061
5062 * cgraph.h (symtab_node): Add nonzero_address.
5063 (decl_in_symtab_p): Break out from ...
5064 (symtab_get_node): ... here.
5065 * fold-const.c: Include cgraph.h
5066 (tree_single_nonzero_warnv_p): Use symtab to determine
5067 if symbol is non-zero.
5068 * symtab.c (symtab_node::nonzero_address): New method.
5069
5070 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
5071
5072 * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
5073 forgotten in previous commit.
5074
5075 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
5076
5077 * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
5078 on builtin types.
5079 * ipa-devirt.c: Include stor-layout.h and intl.h
5080 (odr_subtypes_equivalent_p): New function.
5081 (warn_odr): New function.
5082 (warn_type_mismatch): New function.
5083 (odr_types_equivalent_p): New function.
5084 (add_type_duplicate): Use it.
5085 * common.opt (Wodr): New flag.
5086 * doc/invoke.texi (Wodr): Document new warning.
5087
5088 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
5089
5090 * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
5091 (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
5092 * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
5093 (varpool_get_constructor): Push CTORS_IN timevar.
5094 * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
5095
5096 2014-07-12 Uros Bizjak <ubizjak@gmail.com>
5097
5098 * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
5099 Remove VOID_FTYPE_PUSHORT.
5100 * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
5101 Change code to USHORT_FTYPE_VOID.
5102 (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
5103 (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
5104 (ix86_atomic_assign_expand_fenv): Update for
5105 __builtin_ia32_fnstsw changes.
5106 * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
5107 (fnstsw): Change operand 0 to nonimmediate operand.
5108
5109 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
5110
5111 * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
5112 (varpool_get_constructor): New function.
5113 (varpool_ctor_useable_for_folding_p): Break out from ...
5114 (ctor_for_folding): ... here; use varpool_get_constructor.
5115 (varpool_assemble_decl): Likewise.
5116 * lto-streamer.h (struct output_block): Turn cgraph_node
5117 to symbol filed.
5118 (lto_input_variable_constructor): Declare.
5119 * ipa-visibility.c (function_and_variable_visibility): Use
5120 varpool_get_constructor.
5121 * cgraph.h (varpool_get_constructor): Declare.
5122 (varpool_ctor_useable_for_folding_p): New function.
5123 * lto-streamer-out.c (get_symbol_initial_value): Take encoder
5124 parameter; return error_mark_node for non-trivial constructors.
5125 (lto_write_tree_1, DFS_write_tree): Update use of
5126 get_symbol_initial_value.
5127 (output_function): Update initialization of symbol.
5128 (output_constructor): New function.
5129 (copy_function): Rename to ..
5130 (copy_function_or_variable): ... this one; handle vars too.
5131 (lto_output): Output variable sections.
5132 * lto-streamer-in.c (input_constructor): New function.
5133 (lto_read_body): Rename from ...
5134 (lto_read_body_or_constructor): ... this one; handle vars too.
5135 (lto_input_variable_constructor): New function.
5136 * ipa-prop.c (ipa_prop_write_jump_functions,
5137 ipa_prop_write_all_agg_replacement): Update.
5138 * lto-cgraph.c (compute_ltrans_boundary): Use it.
5139 (output_cgraph_opt_summary): Set symbol to NULL.
5140
5141 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
5142
5143 * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
5144 non-polymorphic types.
5145 * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
5146 * ipa-devirt.c (types_same_for_odr): Do not explode when one
5147 of types is not polymorphic.
5148
5149 2014-07-11 Vladimir Makarov <vmakarov@redhat.com>
5150
5151 * lra-constraints.c (remove_inheritance_pseudos): Process
5152 destination pseudo too.
5153
5154 2014-07-11 Rong Xu <xur@google.com>
5155
5156 * gcov-tool.c (gcov_output_files): Fix build error introduced in
5157 commit r212448.
5158
5159 2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5160
5161 * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
5162 * config/avr/avr-devices.c (AVR_MCU): Same.
5163 (avr_mcu_types): add text start value to end of device list.
5164 * config/avr/avr-mcus.def: Add text section start for all devices.
5165 (ata5782): Add new avr5 device.
5166 (ata5831): Same.
5167 * config/avr/avr-tables.opt: Regenerate.
5168 * config/avr/avr.h: Add declaration for text section start handler.
5169 (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
5170 SPEC functions.
5171 (LINK_SPEC): Include text section start handler to linker spec.
5172 * config/avr/driver-avr.c (avr_device_to_text_start): New function to
5173 pass -Ttext option to linker if the text section start for the device
5174 is not zero.
5175 * config/avr/t-multilib: Regenerate.
5176 * doc/avr-mmcu.texi: Regenerate.
5177
5178 2014-07-11 David Edelsohn <dje.gcc@gmail.com>
5179
5180 * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
5181 * config/rs6000/aix52.h (LINK_SPEC): Same.
5182 * config/rs6000/aix53.h (LINK_SPEC): Same.
5183 * config/rs6000/aix61.h (LINK_SPEC): Same.
5184 * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
5185
5186 2014-07-11 Roman Gareev <gareevroman@gmail.com>
5187
5188 * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
5189 (graphite_verify): New function.
5190 (ivs_params_clear): New function.
5191 (gcc_expression_from_isl_ast_expr_id): New function.
5192 (gcc_expression_from_isl_expr_int): New function.
5193 (binary_op_to_tree): New function.
5194 (ternary_op_to_tree): New function.
5195 (unary_op_to_tree): New function.
5196 (nary_op_to_tree): New function.
5197 (gcc_expression_from_isl_expr_op): New function.
5198 (gcc_expression_from_isl_expression): New function.
5199 (graphite_create_new_loop): New function.
5200 (translate_isl_ast_for_loop): New function.
5201 (get_upper_bound): New function.
5202 (graphite_create_new_loop_guard): New function.
5203 (translate_isl_ast_node_for): New function.
5204 (translate_isl_ast): New function.
5205 (add_parameters_to_ivs_params): New function.
5206 (scop_to_isl_ast): New parameter ip.
5207 (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
5208
5209 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
5210
5211 * config/xtensa/predicates.md (call expander): Update for
5212 DECL_SECTION_NAME being string.
5213
5214 2014-07-11 Richard Biener <rguenther@suse.de>
5215
5216 PR middle-end/61473
5217 * builtins.c (fold_builtin_memory_op): Inline memory moves that
5218 can be implemented with a single load followed by a single store.
5219 (c_strlen): Only warn when only_value is not 2.
5220
5221 2014-07-11 Evgeny Stupachenko <evstupac@gmail.com>
5222
5223 * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
5224
5225 2014-07-11 Marat Zakirov <m.zakirov@samsung.com>
5226
5227 PR target/61561
5228 * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
5229 (*movhi_bytes): Likewise.
5230 (*arm_movqi_insn): Likewise.
5231
5232 2014-07-11 Uros Bizjak <ubizjak@gmail.com>
5233
5234 PR target/56858
5235 * config/alpha/alpha.c: Include tree-pass.h, context.h
5236 and pass_manager.h.
5237 (pass_data_handle_trap_shadows): New pass.
5238 (pass_handle_trap_shadows::gate): New pass gate function.
5239 (make_pass_handle_trap_shadows): New function.
5240 (rest_of_handle_trap_shadows): Ditto.
5241
5242 (alpha_align_insns_1): Rename from alpha_align_insns.
5243 (pass_data_align_insns): New pass.
5244 (pass_align_insns::gate): New pass gate function.
5245 (make_pass_aling_insns): New function.
5246 (rest_of_align_insns): Ditto.
5247 (alpha_align_insns): Ditto.
5248
5249 (alpha_option_override): Declare handle_trap_shadows info
5250 and align_insns_info. Register handle_trap_shadows and align_insns
5251 passes here.
5252 (alpha_reorg): Do not call alpha_trap_shadows and
5253 alpha_align_insn from here.
5254
5255 (alpha_pad_function_end): Do not skip BARRIERs.
5256
5257 2014-07-10 Rong Xu <xur@google.com>
5258
5259 Add gcov-tool: an offline gcda profile processing tool support.
5260 * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
5261 (gcov_is_error): Ditto.
5262 (gcov_read_string): Ditto.
5263 (gcov_read_sync): Ditto.
5264 * gcov-io.h: Move counter defines to gcov-counter.def.
5265 * gcov-dump.c (tag_counters): Use gcov-counter.def.
5266 * coverage.c: Ditto.
5267 * gcov-tool.c: Offline gcda profile processing tool.
5268 (unlink_gcda_file): Remove one gcda file.
5269 (unlink_profile_dir): Remove gcda files from the profile path.
5270 (gcov_output_files): Output gcda files to an output dir.
5271 (profile_merge): Merge two profiles in directory.
5272 (print_merge_usage_message): Print merge usage.
5273 (merge_usage): Print merge usage and exit.
5274 (do_merge): Driver for profile merge sub-command.
5275 (profile_rewrite): Rewrite profile.
5276 (print_rewrite_usage_message): Print rewrite usage.
5277 (rewrite_usage): Print rewrite usage and exit.
5278 (do_rewrite): Driver for profile rewrite sub-command.
5279 (print_usage): Print gcov-info usage and exit.
5280 (print_version): Print gcov-info version.
5281 (process_args): Process arguments.
5282 (main): Main routine for gcov-tool.
5283 * Makefile.in: Build and install gcov-tool.
5284 * gcov-counter.def: New file split from gcov-io.h.
5285 * doc/gcc.texi: Include gcov-tool.texi.
5286 * doc/gcov-tool.texi: Document for gcov-tool.
5287
5288 2014-07-10 Richard Biener <rguenther@suse.de>
5289
5290 PR tree-optimization/61757
5291 * tree-ssa-dom.c (loop_depth_of_name): Restore.
5292 (propagate_rhs_into_lhs): Revert part of last change.
5293
5294 2014-07-10 Thomas Schwinge <thomas@codesourcery.com>
5295
5296 * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
5297 FUNCTION_DECLs.
5298
5299 2014-07-10 Eric Botcazou <ebotcazou@adacore.com>
5300
5301 PR middle-end/53590
5302 * function.c (allocate_struct_function): Revert r188667 change.
5303
5304 * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
5305
5306 2014-07-10 Tom G. Christensen <tgc@jupiterrise.com>
5307
5308 * doc/install.texi: Remove links to defunct package providers for
5309 Solaris.
5310
5311 2014-07-09 Tom de Vries <tom@codesourcery.com>
5312
5313 * final.c (get_call_fndecl): Declare.
5314 (self_recursive_call_p): New function.
5315 (collect_fn_hard_reg_usage): Handle self-recursive function calls.
5316
5317 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5318
5319 * ipa-devirt.c (record_node): Walk through aliases.
5320
5321 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5322
5323 * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
5324
5325 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5326
5327 Revert:
5328 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
5329
5330 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5331
5332 * ipa-visibility.c (function_and_variable_visibility): Remove
5333 temporary hack disabling local aliases on AIX.
5334
5335 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5336
5337 * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
5338 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
5339
5340 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5341
5342 * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
5343 * rs6000/rs6000.c: Inline output of .set instruction.
5344 (declare_alias_data): New struct.
5345 (rs6000_declare_alias): New function.
5346 (rs6000_xcoff_declare_function_name): Use it.
5347 (rs6000_xcoff_declare_object_name): New function.
5348 * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
5349 (ASM_OUTPUT_DEF): Turn to empty definition.
5350
5351 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
5352
5353 PR bootstrap/61679
5354 * hash-table.h: use hash_table::value_type instead of
5355 Descriptor::value_type in the return types of several methods.
5356
5357 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
5358
5359 * tree-pass.h (pass_data): Remove has_execute member.
5360 * passes.c (execute_one_pass): Don't check pass->has_execute.
5361 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
5362 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
5363 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
5364 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
5365 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
5366 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
5367 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
5368 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
5369 gimple-low.c, gimple-ssa-isolate-paths.c,
5370 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
5371 ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
5372 ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
5373 ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
5374 lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
5375 postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
5376 reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
5377 stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
5378 tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
5379 tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
5380 tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
5381 tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
5382 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
5383 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
5384 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
5385 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
5386 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
5387 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
5388 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
5389 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
5390 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
5391 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
5392 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
5393 web.c: Remove initializer for pass_data::has_execute.
5394
5395 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
5396
5397 * graphite-htab.h: Use hash_map instead of hash_table.
5398 * graphite-clast-to-gimple.c: Adjust.
5399 * passes.c: Use hash_map instead of hash_table.
5400 * sese.c: Likewise.
5401 * sese.h: Remove now unused code.
5402
5403 2014-07-08 Sriraman Tallam <tmsriram@google.com>
5404
5405 PR target/61599
5406 * config/i386/i386.c (ix86_in_large_data_p): Check for size less
5407 than zero.
5408
5409 2014-07-08 Jakub Jelinek <jakub@redhat.com>
5410
5411 PR rtl-optimization/61673
5412 * combine.c (simplify_comparison): Test just mode's sign bit
5413 in tmode rather than the sign bit and any bits above it.
5414
5415 2014-07-08 Roman Gareev <gareevroman@gmail.com>
5416
5417 * graphite-isl-ast-to-gimple.c (generate_isl_context):
5418 Add __isl_give to the declaration.
5419 (generate_isl_schedule): Likewise.
5420 (scop_to_isl_ast): Likewise.
5421
5422 2014-07-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5423
5424 * config/arm/arm.c (cortexa5_extra_costs): New table.
5425 (arm_cortex_a5_tune): Use cortexa5_extra_costs.
5426
5427 2014-07-08 Jakub Jelinek <jakub@redhat.com>
5428
5429 PR tree-optimization/61725
5430 * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
5431 range, use range_includes_zerop_p instead of integer_zerop on
5432 vr0->min, only use log2 of max if min is not negative.
5433
5434 2014-07-08 Richard Biener <rguenther@suse.de>
5435
5436 * tree-ssa-dom.h (loop_depth_of_name): Remove.
5437 * tree-ssa-dom.c (record_equivalences_from_phis): Remove
5438 restriction on loop depth difference.
5439 (record_equality): Likewise.
5440 (propagate_rhs_into_lhs): Likewise. Simplify condition.
5441 (loop_depth_of_name): Remove.
5442 * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
5443 restriction on loop depth difference.
5444 (init_copy_prop): Likewise.
5445
5446 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
5447
5448 * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
5449 parameter.
5450 (walk_aliased_vdefs): Likewise.
5451 * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
5452 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
5453 (detect_type_change_from_memory_writes): Check if entry was reached.
5454
5455 2014-07-08 Richard Biener <rguenther@suse.de>
5456
5457 PR tree-optimization/61681
5458 * tree-ssa-structalias.c (find_what_var_points_to): Expand
5459 NONLOCAL inside ESCAPED.
5460
5461 2014-07-08 Richard Biener <rguenther@suse.de>
5462
5463 PR tree-optimization/61680
5464 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
5465 Handle properly all read-write dependences with group accesses.
5466
5467 2014-07-08 Yuri Rumyantsev <ysrumyan@gmail.com>
5468
5469 PR tree-optimization/61576
5470 * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
5471 block containing reduction statement is predecessor of phi basi block.
5472
5473 2014-07-08 Marek Polacek <polacek@redhat.com>
5474
5475 PR c/60226
5476 * fold-const.c (round_up_loc): Change the parameter type.
5477 Remove assert.
5478 * fold-const.h (round_up_loc): Adjust declaration.
5479 * stor-layout.c (finalize_record_size): Check for too large types.
5480
5481 2014-07-07 Jan Hubicka <hubicka@ucw.cz>
5482
5483 * symtab.c: Include calls.h.
5484 (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
5485
5486 2014-07-07 Maciej W. Rozycki <macro@codesourcery.com>
5487
5488 * config/rs6000/rs6000.c (output_vec_const_move): Handle
5489 little-endian code generation.
5490 * config/rs6000/spe.md (spe_evmergehi): Rename to...
5491 (vec_perm00_v2si): ... this. Handle little-endian code generation.
5492 (spe_evmergehilo): Rename to...
5493 (vec_perm01_v2si): ... this. Handle little-endian code generation.
5494 (spe_evmergelo): Rename to...
5495 (vec_perm11_v2si): ... this. Handle little-endian code generation.
5496 (spe_evmergelohi): Rename to...
5497 (vec_perm10_v2si): ... this. Handle little-endian code generation.
5498 (spe_evmergehi, spe_evmergehilo): New expanders.
5499 (spe_evmergelo, spe_evmergelohi): Likewise.
5500 (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
5501 (*frob_tf_ti): Likewise.
5502 (*frob_<mode>_di_2): Likewise.
5503 (*frob_tf_di_8_2): Likewise.
5504 (*frob_di_<mode>): Likewise.
5505 (*frob_ti_tf): Likewise.
5506 (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
5507 (*frob_ti_<mode>_8_2): Likewise.
5508 (*frob_ti_tf_2): Likewise.
5509 (mov_si<mode>_e500_subreg0): Rename to...
5510 (mov_si<mode>_e500_subreg0_be): ... this. Restrict to the big
5511 endianness only.
5512 (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
5513 (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
5514 (*mov_si<mode>_e500_subreg0_elf_low_be): ... this. Restrict to
5515 the big endianness only.
5516 (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
5517 (*mov_si<mode>_e500_subreg0_2): Rename to...
5518 (*mov_si<mode>_e500_subreg0_2_be): ... this. Restrict to the
5519 big big endianness only.
5520 (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
5521 (*mov_si<mode>_e500_subreg4): Rename to...
5522 (*mov_si<mode>_e500_subreg4_be): ... this. Restrict to the big
5523 endianness only.
5524 (mov_si<mode>_e500_subreg4_le): New instruction pattern.
5525 (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
5526 (*mov_si<mode>_e500_subreg4_elf_low_be): ... this. Restrict to
5527 the big endianness only.
5528 (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
5529 pattern.
5530 (*mov_si<mode>_e500_subreg4_2): Rename to...
5531 (*mov_si<mode>_e500_subreg4_2_be): ... this. Restrict to the big
5532 endianness only.
5533 (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
5534 (*mov_sitf_e500_subreg8): Rename to...
5535 (*mov_sitf_e500_subreg8_be): ... this. Restrict to the big
5536 endianness only.
5537 (*mov_sitf_e500_subreg8_le): New instruction pattern.
5538 (*mov_sitf_e500_subreg8_2): Rename to...
5539 (*mov_sitf_e500_subreg8_2_be): ... this. Restrict to the big
5540 endianness only.
5541 (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
5542 (*mov_sitf_e500_subreg12): Rename to...
5543 (*mov_sitf_e500_subreg12_be): ... this. Restrict to the big
5544 endianness only.
5545 (*mov_sitf_e500_subreg12_le): New instruction pattern.
5546 (*mov_sitf_e500_subreg12_2): Rename to...
5547 (*mov_sitf_e500_subreg12_2_be): ... this. Restrict to the big
5548 endianness only.
5549 (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
5550
5551 2014-07-07 Max Ostapenko <m.ostapenko@partner.samsung.com>
5552
5553 * asan.c (instrument_strlen_call): Do not instrument first byte
5554 in strlen if already instrumented.
5555
5556 2014-07-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5557
5558 * config/arm/arm.opt (mwords-little-endian): Delete.
5559 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
5560 of TARGET_LITTLE_WORDS.
5561 (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
5562 * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
5563 warning.
5564 * doc/invoke.texi: Remove references to -mwords-little-endian.
5565
5566 2014-07-07 Jakub Jelinek <jakub@redhat.com>
5567
5568 * expmed.c (struct init_expmed_rtl): Change all fields but
5569 pow2 and cint from struct rtx_def to rtx.
5570 (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
5571 (init_expmed): Likewise. Allocate all the 18 rtxes and ggc_free them
5572 at the end again.
5573
5574 2014-07-06 Marek Polacek <polacek@redhat.com>
5575
5576 PR c/6940
5577 * doc/invoke.texi: Document -Wsizeof-array-argument.
5578
5579 2014-07-05 Gerald Pfeifer <gerald@pfeifer.com>
5580
5581 * wide-int.h (wide_int_storage): Change declaration from struct
5582 to class.
5583
5584 2014-07-05 Jan Hubicka <hubicka@ucw.cz>
5585
5586 * cgraph.c (cgraph_create_indirect_edge): Update call of
5587 get_polymorphic_call_info.
5588 * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
5589 (possible_polymorphic_call_targets): Add parameter call.
5590 (decl_maybe_in_construction_p): New predicate.
5591 (get_polymorphic_call_info): Add parameter call;
5592 use decl_maybe_in_construction_p.
5593 * gimple-fold.c (fold_gimple_assign): Update use of
5594 possible_polymorphic_call_targets.
5595 (gimple_fold_call): Likewise.
5596 * ipa-prop.c: Inlcude calls.h
5597 (ipa_binfo_from_known_type_jfunc): Check that known type is record.
5598 (param_type_may_change_p): New predicate.
5599 (detect_type_change_from_memory_writes): Break out from ...
5600 (detect_type_change): ... this one; use param_type_may_change_p.
5601 (detect_type_change_ssa): Use param_type_may_change_p.
5602 (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
5603
5604 2014-07-05 Charles Baylis <charles.baylis@linaro.org>
5605
5606 PR target/49423
5607 * config/arm/arm-protos.h (arm_legitimate_address_p,
5608 arm_is_constant_pool_ref): Add prototypes.
5609 * config/arm/arm.c (arm_legitimate_address_p): Remove static.
5610 (arm_is_constant_pool_ref) New function.
5611 * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
5612 arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
5613 (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
5614 operand. Remove pool_range and neg_pool_range attributes.
5615 (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
5616 pool_range and neg_pool_range attributes.
5617 * config/arm/constraints.md (Uh): New constraint.
5618 (Uq): Don't allow constant pool references.
5619
5620 2014-07-04 James Greenhalgh <james.greenhalgh@arm.com>
5621
5622 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
5623 (move_lo_quad_internal_be_<mode>): Likewise.
5624 (move_lo_quad_<mode>): Convert to define_expand.
5625 (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
5626 (aarch64_simd_move_hi_quad_be_<mode>): New.
5627 (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
5628 (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
5629 (aarch64_combinez_be<mode>): New.
5630 (aarch64_combine<mode>): Convert to define_expand.
5631 (aarch64_combine_internal<mode>): New.
5632 (aarch64_simd_combine<mode>): Remove bogus RTL description.
5633
5634 2014-07-04 Tom de Vries <tom@codesourcery.com>
5635
5636 * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
5637 combination of earlyclobber and read/write modifiers.
5638
5639 2014-07-04 Tom de Vries <tom@codesourcery.com>
5640
5641 * config/aarch64/aarch64-simd.md
5642 (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
5643
5644 2014-07-04 Richard Earnshaw <rearnsha@arm.com>
5645
5646 PR target/61714
5647 * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
5648
5649 2014-07-04 Jakub Jelinek <jakub@redhat.com>
5650
5651 PR middle-end/61654
5652 * cgraphunit.c (expand_thunk): Call free_dominance_info.
5653
5654 PR tree-optimization/61684
5655 * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
5656 rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
5657
5658 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5659 Kito Cheng <kito@0xlab.org>
5660 Monk Chiang <sh.chiang04@gmail.com>
5661
5662 * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
5663 (nds32_symbol_load_store_p): Move to ...
5664 (nds32_fp_as_gp_check_available): Move to ...
5665 * config/nds32/nds32-fp-as-gp.c: ... here.
5666 * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
5667 extern declaration.
5668
5669 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5670 Kito Cheng <kito@0xlab.org>
5671 Monk Chiang <sh.chiang04@gmail.com>
5672
5673 * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
5674 (nds32_expand_store_multiple): Move to ...
5675 (nds32_expand_movmemqi): Move to ...
5676 * config/nds32/nds32-memory-manipulation.c: ... here.
5677
5678 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5679 Kito Cheng <kito@0xlab.org>
5680 Monk Chiang <sh.chiang04@gmail.com>
5681
5682 * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
5683 (nds32_output_casesi_pc_relative): Move to ...
5684 (nds32_output_casesi): Move to ...
5685 (nds32_mem_format): Move to ...
5686 (nds32_output_16bit_store): Move to ...
5687 (nds32_output_16bit_load): Move to ...
5688 (nds32_output_32bit_store): Move to ...
5689 (nds32_output_32bit_load): Move to ...
5690 (nds32_output_32bit_load_s): Move to ...
5691 (nds32_output_stack_push): Move to ...
5692 (nds32_output_stack_pop): Move to ...
5693 * config/nds32/nds32-md-auxiliary.c: ... here.
5694
5695 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5696 Ling-Hua Tseng <uranus@tinlans.org>
5697
5698 * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
5699 the purpose of this file.
5700
5701 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5702 Kito Cheng <kito@0xlab.org>
5703 Monk Chiang <sh.chiang04@gmail.com>
5704
5705 * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
5706 (nds32_address_cost): Move implementation to ...
5707 * config/nds32/nds32-cost.c: ... here.
5708 * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
5709 (nds32_address_cost_impl): Declare.
5710
5711 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5712 Kito Cheng <kito@0xlab.org>
5713 Monk Chiang <sh.chiang04@gmail.com>
5714
5715 * config/nds32/nds32.c
5716 (nds32_consecutive_registers_load_store_p): Move to ...
5717 (nds32_valid_multiple_load_store): Move to ...
5718 (nds32_valid_stack_push_pop): Move to ...
5719 (nds32_can_use_bclr_p): Move to ...
5720 (nds32_can_use_bset_p): Move to ...
5721 (nds32_can_use_btgl_p): Move to ...
5722 (nds32_can_use_bitci_p): Move to ...
5723 * config/nds32/nds32-predicates.c: ... here.
5724
5725 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5726 Kito Cheng <kito@0xlab.org>
5727 Monk Chiang <sh.chiang04@gmail.com>
5728
5729 * config/nds32/nds32.c
5730 (nds32_expand_builtin_null_ftype_reg): Move to ...
5731 (nds32_expand_builtin_reg_ftype_imm): Move to ...
5732 (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
5733 (nds32_init_builtins): Move implementation to ...
5734 (nds32_expand_builtin): Move implementation to ...
5735 * config/nds32/nds32-intrinsic.c: ... here.
5736 * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
5737 (nds32_expand_builtin_impl): Declare.
5738
5739 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5740 Kito Cheng <kito@0xlab.org>
5741 Monk Chiang <sh.chiang04@gmail.com>
5742
5743 * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
5744 (nds32_emit_section_tail_template): Move to ...
5745 (nds32_emit_isr_jmptbl_section): Move to ...
5746 (nds32_emit_isr_vector_section): Move to ...
5747 (nds32_emit_isr_reset_conten): Move to ...
5748 (nds32_check_isr_attrs_conflict): Move to ...
5749 (nds32_construct_isr_vectors_information): Move to ...
5750 (nds32_asm_file_start): Move implementation to ...
5751 (nds32_asm_file_end): Move implementation to ...
5752 * config/nds32/nds32-isr.c: ... here.
5753 * config/nds32/nds32-protos.h
5754 (nds32_check_isr_attrs_conflict): Declare.
5755 (nds32_construct_isr_vectors_information): Declare.
5756 (nds32_asm_file_start_for_isr): Declare.
5757 (nds32_asm_file_end_for_isr): Declare.
5758
5759 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
5760 Kito Cheng <kito@0xlab.org>
5761 Monk Chiang <sh.chiang04@gmail.com>
5762
5763 * config.gcc (nds32*): Add new modules to extra_objs.
5764 (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
5765 (nds32be-*-*): Likewise.
5766 * config/nds32/nds32-cost.c: New file.
5767 * config/nds32/nds32-fp-as-gp.c: New file.
5768 * config/nds32/nds32-intrinsic.c: New file.
5769 * config/nds32/nds32-isr.c: New file.
5770 * config/nds32/nds32-md-auxiliary.c: New file.
5771 * config/nds32/nds32-memory-manipulation.c: New file.
5772 * config/nds32/nds32-pipelines-auxiliary.c: New file.
5773 * config/nds32/nds32-predicates.c: New file.
5774 * config/nds32/t-nds32: New file.
5775
5776 2014-07-03 Jakub Jelinek <jakub@redhat.com>
5777
5778 PR tree-optimization/61682
5779 * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
5780 using cases and when one of the operands is equal to 1.
5781
5782 2014-07-03 Segher Boessenkool <segher@kernel.crashing.org>
5783
5784 * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
5785 ashr<mode>3): Correct mode of operands[2].
5786 (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
5787 lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
5788 Correct mode of operands[2]. Fix split condition.
5789
5790 2014-07-03 Richard Earnshaw <rearnsha@arm.com>
5791
5792 * arm.md (arch): Add armv6_or_vfpv3.
5793 (arch_enabled): Add test for the above.
5794 * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
5795 on VFP9.
5796 (sqrtsf_vfp, sqrtdf_vfp): Likewise.
5797
5798 2014-07-03 Jakub Jelinek <jakub@redhat.com>
5799
5800 * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
5801 * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
5802 HWI 1 and negate the unsigned value.
5803 * expmed.c (expand_sdiv_pow2): For modes wider than word always
5804 use AND instead of shift.
5805 * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
5806
5807 2014-07-03 Marek Polacek <polacek@redhat.com>
5808
5809 * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
5810 (-fsanitize=float-divide-by-zero): Move to the table with
5811 -fsanitize=undefined suboptions.
5812 (-fsanitize=float-cast-overflow): Likewise.
5813
5814 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5815
5816 * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
5817 BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
5818 endianness.
5819
5820 2014-07-03 Zhenqiang Chen <zhenqiang.chen@linaro.org>
5821
5822 * loop-invariant.c (struct invariant): Add a new member: eqno;
5823 (find_identical_invariants): Update eqno;
5824 (create_new_invariant): Init eqno;
5825 (get_inv_cost): Compute comp_cost with eqno;
5826
5827 2014-07-02 Segher Boessenkool <segher@kernel.crashing.org>
5828
5829 * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
5830 (walk_insn_part) <ROTATE, ROTATERT>: New cases.
5831 (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
5832 * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
5833 Only do the transformation if both HAVE_rotate and HAVE_rotatert.
5834
5835 2014-07-02 Christian Bruel <christian.bruel@st.com>
5836
5837 PR target/29349
5838 PR target/53513
5839 * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
5840 (make_preds_opaque): Delete.
5841 (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
5842 (commit_mode_sets): New function.
5843 (optimize_mode_switching): Handle current_mode to mode_switching_emit.
5844 Process all modes at once.
5845 * basic-block.h (pre_edge_lcm_avs): Declare.
5846 * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
5847 Call clear_aux_for_edges. Fix comments.
5848 (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
5849 (pre_edge_rev_lcm): Idem.
5850 * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
5851 parameter.
5852 * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
5853 * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
5854 Idem.
5855 * config/i386/i386.c (x96_emit_mode_set): Idem.
5856 * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
5857 * config/sh/sh.md (toggle_pr): Defined if TARGET_FPU_SINGLE.
5858 (fpscr_toggle) Disallow from delay slot.
5859 * target.def (emit_mode_set): Add prev_mode parameter.
5860 * doc/tm.texi: Regenerate.
5861
5862 2014-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5863
5864 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
5865 variable i.
5866
5867 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
5868
5869 * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
5870 vtable_pointer_value_to_vtable): Constify.
5871 (contains_polymorphic_type_p): Declare.
5872 * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
5873 vtable_pointer_value_to_vtable): Constify.
5874 (contains_polymorphic_type_p): New predicate.
5875 * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
5876 polymorphic types.
5877 (ipa_set_ancestor_jf): Likewise.
5878 (detect_type_change): Return false in easy cases.
5879 (compute_complex_assign_jump_func): Require type to contain
5880 polymorphic type.
5881 (compute_known_type_jump_func): Likewise.
5882
5883 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
5884
5885 * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
5886 Remove.
5887 (type_in_anonymous_namespace_p): Constify argument.
5888 * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
5889 * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
5890 (main_odr_variant): New function.
5891 (hash_type_name): Make static; update assert; do not ICE on
5892 non-records.
5893 (types_same_for_odr): Bring here from tree.c; simplify and remove
5894 old structural comparing code that doesn't work for templates.
5895 (odr_hasher::equal): Update assert.
5896 (add_type_duplicate): Return true when bases should be computed;
5897 replace incomplete loader by complete; do not output duplicated
5898 warnings; do not ICE on non-records; set odr_violated flag.
5899 (get_odr_type): Be ready to replace incomplete type by complete
5900 one; work on ODR variants instead of main variants; reorder item
5901 in array so bases have still smaller indexes.
5902 (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
5903 (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
5904
5905 2014-07-01 Cary Coutant <ccoutant@google.com>
5906
5907 * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
5908 lookup.
5909 (resolve_addr_in_expr): When replacing the rtx in a location list
5910 entry, get a new address table entry.
5911 (dwarf2out_finish): Call index_location_lists even if there are no
5912 addr_index_table entries yet.
5913
5914 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
5915
5916 * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
5917 change for not being obvious.
5918
5919 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
5920
5921 * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
5922 unused argument.
5923
5924 2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5925
5926 * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
5927 (vcagt_f64): Likewise.
5928 (vcale_f64): Likewise.
5929 (vcaled_f64): Likewise.
5930 (vcales_f32): Likewise.
5931 (vcalt_f64): Likewise.
5932 (vcaltd_f64): Likewise.
5933 (vcalts_f32): Likewise.
5934
5935 2014-07-01 Marek Polacek <polacek@redhat.com>
5936
5937 * doc/invoke.texi: Document -Wint-conversion.
5938
5939 2014-07-01 Marek Polacek <polacek@redhat.com>
5940
5941 PR c/58286
5942 * doc/invoke.texi: Document -Wincompatible-pointer-types.
5943
5944 2014-07-01 Martin Liska <mliska@suse.cz>
5945
5946 IPA REF alias refactoring
5947 * cgraph.h (iterate_direct_aliases): New function.
5948 (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
5949 * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
5950 FOR_EACH_ALIAS added.
5951 (cgraph_for_node_and_aliases): Likewise.
5952 * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
5953 * ipa-inline.c (reset_edge_caches): Likewise.
5954 (update_caller_keys): Likewise.
5955 * trans-mem.c (ipa_tm_execute): Likewise.
5956 *varpool.c (varpool_analyze_node): Likewise.
5957 (varpool_for_node_and_aliases): Likewise.
5958 * ipa-ref.h (first_alias): New function.
5959 (last_alias): Likewise.
5960 (has_aliases_p): Likewise.
5961 * ipa-ref.c (ipa_ref::remove_reference): Removal function
5962 is sensitive to IPA_REF_ALIASes.
5963 * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
5964 are put at the beginning of the list.
5965 (symtab_node::iterate_direct_aliases): New function.
5966
5967 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
5968
5969 Revert:
5970 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
5971 type is complete.
5972 (write_ts_type_common_tree_pointers): Do not stream fields not set
5973 for incomplete types; do not stream duplicated fields for variants;
5974 sanity check that variant and type match.
5975 (write_ts_type_non_common_tree_pointers): Likewise.
5976 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
5977 TYPE_SIZE whether type is complete.
5978 (lto_input_ts_type_common_tree_pointers): Do same changes as in
5979 write_ts_type_common_tree_pointers
5980 (lto_input_ts_type_non_common_tree_pointers): Likewise.
5981
5982 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5983
5984 * var-tracking.c (add_stores): Return instead of asserting if old
5985 and new values for conditional store are the same.
5986
5987 2014-06-30 Richard Henderson <rth@redhat.com>
5988
5989 PR rtl-opt/61608
5990 PR target/39284
5991 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
5992 the cfg if there were any changes.
5993 * passes.def: Revert move of peephole2 after reorder_blocks;
5994 move duplicate_computed_gotos before peephole2.
5995
5996 2014-06-30 Uros Bizjak <ubizjak@gmail.com>
5997
5998 * except.c (emit_note_eh_region_end): New helper function.
5999 (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
6000 emit EH_REGION_END note.
6001 * jump.c (cleanup_barriers): Do not split a call and its
6002 corresponding CALL_ARG_LOCATION note.
6003
6004 2014-06-30 Jeff Law <law@redhat.com>
6005
6006 PR tree-optimization/61607
6007 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
6008 deeper into the SSA_NAME_VALUE chain.
6009
6010 2014-06-30 Marek Polacek <polacek@redhat.com>
6011
6012 * convert.c (convert_to_integer): Don't instrument conversions if the
6013 function has no_sanitize_undefined attribute.
6014 * ubsan.c: Don't run the ubsan pass if the function has
6015 no_sanitize_undefined attribute.
6016
6017 2014-06-30 Jakub Jelinek <jakub@redhat.com>
6018
6019 * doc/invoke.texi (-fsanitize=bounds): Move to the table with
6020 -fsanitize=undefined suboptions.
6021
6022 2014-06-30 Alan Lawrence <alan.lawrence@arm.com>
6023
6024 * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
6025 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
6026 against bigendian and adjust indices.
6027
6028 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
6029
6030 * doc/install.texi (Specific, aarch64*-*-*): Fix markup. Reword a bit.
6031
6032 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com>
6033
6034 PR target/61633
6035 * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
6036 Add alternative; make early clobber. Adjust both split patterns
6037 to use operand 0 as the working register.
6038
6039 2014-06-30 Jakub Jelinek <jakub@redhat.com>
6040
6041 * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
6042 as ira_object_id_map might be NULL, or 1.
6043
6044 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6045
6046 * loop-invariant.c (get_inv_cost): Handle register class.
6047 (gain_for_invariant): Check the register pressure of the inv
6048 and its overlapped register class, other than all.
6049
6050 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
6051
6052 * doc/invoke.texi (Optimize Options): Fix descriptions of
6053 ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
6054
6055 2014-06-29 David Wohlferd <dw@LimeGreenSocks.com>
6056
6057 * doc/extend.texi (Function Attributes): Update 'naked' attribute
6058 documentation.
6059
6060 2014-06-29 Tobias Grosser <tobias@grosser.es>
6061
6062 PR bootstrap/61650
6063 * graphite-isl-ast-to-gimple.c: Add missing guards.
6064
6065 2014-06-29 Roman Gareev <gareevroman@gmail.com>
6066
6067 * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
6068 * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
6069 * flag-types.h: Add new enum fgraphite_generator.
6070 * graphite-isl-ast-to-gimple.c: New.
6071 * graphite-isl-ast-to-gimple.h: New.
6072 * graphite.c (graphite_transform_loops): Add choice of Graphite
6073 code generator, which depends on flag_graphite_code_gen.
6074
6075 2014-06-29 Roman Gareev <gareevroman@gmail.com>
6076
6077 * graphite-dependences.c (subtract_commutative_associative_deps):
6078 Add NULL checking of the following variables: must_raw_no_source,
6079 may_raw_no_source, must_war_no_source, may_war_no_source,
6080 must_waw_no_source, may_waw_no_source, must_raw, may_raw,
6081 must_war, may_war, must_waw, may_waw.
6082
6083 2014-06-29 Roman Gareev <gareevroman@gmail.com>
6084
6085 * graphite-clast-to-gimple.c: gloog is renamed to
6086 graphite_regenerate_ast_cloog. gloog_error is renamed to
6087 graphite_regenerate_error.
6088 * graphite-clast-to-gimple.h: The definition of the struct
6089 bb_pbb_def is moved to graphite-htab.h.
6090 Add inclusion of the hash-table.h.
6091 * graphite-htab.h: The declaration of the function gloog is moved
6092 to graphite-clast-to-gimple.h and renamed to
6093 graphite_regenerate_ast_cloog.
6094 * graphite.c (graphite_transform_loops): gloog is renamed
6095 to graphite_regenerate_ast_cloog.
6096
6097 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6098
6099 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
6100 type is complete.
6101 (write_ts_type_common_tree_pointers): Do not stream fields not set
6102 for incomplete types; do not stream duplicated fields for variants;
6103 sanity check that variant and type match.
6104 (write_ts_type_non_common_tree_pointers): Likewise.
6105 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
6106 TYPE_SIZE whether type is complete.
6107 (lto_input_ts_type_common_tree_pointers): Do same changes as in
6108 write_ts_type_common_tree_pointers
6109 (lto_input_ts_type_non_common_tree_pointers): Likewise.
6110
6111 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6112
6113 * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
6114
6115 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6116
6117 * tree-inline.c (remap_type_1): Do not duplicate fields
6118 that are shared in between type and its main variant.
6119
6120 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6121
6122 * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
6123 of the type.
6124 (ipa_set_ancestor_jf) Likewise.
6125 (check_stmt_for_type_change): Check that we work on main variant.
6126 (detect_type_change): Look into main variant.
6127 (compute_known_type_jump_func): Check that main variant has BINFO.
6128
6129 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6130
6131 * ipa-devirt.c (set_type_binfo): New function.
6132 (add_type_duplicate): Use it.
6133 (get_odr_type): Sanity check that binfos points to main variants.
6134 (get_class_context): Be sure the context's outer_type is main variant.
6135 (contains_type_p): Walk main variant.
6136 (get_polymorphic_call_info_for_decl): Set outer_type to be
6137 main variant.
6138 (get_polymorphic_call_info): Likewise.
6139 (possible_polymorphic_call_targets): Sanity check that we operate
6140 on main variant.
6141
6142 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
6143
6144 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
6145
6146 2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6147
6148 * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
6149 accidental change due to wide-int branch merge.
6150
6151 2014-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6152
6153 * configure.ac (gcc_cv_as_compress_debug): Check for assembler
6154 compressed debug support.
6155 (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
6156 * configure: Regenerate.
6157 * config.in: Regenerate.
6158 * common.opt (compressed_debug_sections): New enum.
6159 (gz, gz=): New options.
6160 * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
6161 (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
6162 (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
6163 * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
6164 LINK_COMPRESS_DEBUG_SPEC.
6165 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
6166 * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
6167 * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
6168 (Debugging Options): Document -gz[=type].
6169
6170 2014-06-27 Martin Jambor <mjambor@suse.cz>
6171
6172 PR ipa/61160
6173 * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
6174 args_to_skip, use those from node instead. Copy args_to_skip and
6175 combined_args_to_skip from node to the new thunk.
6176 (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
6177 (cgraph_create_virtual_clone): Moved computation of
6178 combined_args_to_skip...
6179 (cgraph_clone_node): ...here, simplify it to bitmap_ior..
6180
6181 2014-06-27 trevor Saunders <tsaunders@mozilla.com>
6182
6183 * config/i386/winnt.c (i386_pe_section_type_flags): Remove
6184 redundant diagnostic machinary.
6185
6186 2014-06-27 Richard Biener <rguenther@suse.de>
6187
6188 * tree-ssa-math-opts.c (bswap_replace): Fix
6189 SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
6190
6191 2014-06-27 Martin Liska <mliska@suse.cz>
6192
6193 * gimple.h (gimple_location_safe): New function introduced.
6194 * cgraphunit.c (walk_polymorphic_call_targets): Usage
6195 of gimple_location_safe replaces gimple_location.
6196 (gimple_fold_call): Likewise.
6197 * ipa-devirt.c (ipa_devirt): Likewise.
6198 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
6199 * ipa.c (walk_polymorphic_call_targets): Likewise.
6200 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
6201
6202 2014-06-27 Jakub Jelinek <jakub@redhat.com>
6203
6204 PR tree-optimization/57233
6205 PR tree-optimization/61299
6206 * tree-vect-generic.c (get_compute_type, count_type_subparts): New
6207 functions.
6208 (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR
6209 would be lowered to scalar shifts, check if corresponding
6210 shifts and vector BIT_IOR_EXPR are supported and don't lower
6211 or lower just to narrower vector type in that case.
6212 * expmed.c (expand_shift_1): Fix up handling of vector
6213 shifts and rotates.
6214
6215 2014-06-26 Uros Bizjak <ubizjak@gmail.com>
6216
6217 PR target/61586
6218 * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
6219
6220 2014-06-26 Jan Hubicka <hubicka@ucw.cz>
6221
6222 * doc/invoke.texi (-fsemantic-interposition): Document.
6223 * common.opt (fsemantic-interposition): New flag.
6224 * varasm.c (decl_replaceable_p): Use it.
6225
6226 2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6227
6228 PR target/61542
6229 * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
6230 extraction other than index 3.
6231
6232 2014-06-26 Teresa Johnson <tejohnson@google.com>
6233
6234 * doc/invoke.texi: Fix typo.
6235 * dumpfile.c: Add support for documented -fdump-* options
6236 optimized/missed/note/optall.
6237
6238 2014-06-26 Martin Jambor <mjambor@suse.cz>
6239
6240 * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
6241 (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
6242 (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
6243 (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
6244 * opts.c (default_options_optimization): Set
6245 PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
6246 * doc/invoke.texi (allow-load-data-races)
6247 (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
6248 (allow-store-data-races): Document the new default.
6249
6250 2014-06-26 Martin Jambor <mjambor@suse.cz>
6251
6252 * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
6253 renamed to ipa_impossible_devirt_target. Fix typo.
6254 * ipa-prop.h (ipa_impossible_devirt_target): Declare.
6255 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
6256 ipa_impossible_devirt_target.
6257
6258 2014-06-26 Richard Biener <rguenther@suse.de>
6259
6260 PR tree-optimization/61607
6261 * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
6262 explaining why we restrict copies on loop depth.
6263 * tree-ssa-dom.c (cprop_operand): Remove restriction on
6264 on loop depth.
6265 (record_equivalences_from_phis): Instead add it here.
6266
6267 2014-06-26 Bernd Schmidt <bernds@codesourcery.com>
6268
6269 * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
6270 (LTO_WRAPPER_OBJS): New variable.
6271 (lto-wrapper$(exeext)): Use it.
6272 * collect2.c: Include "collect-utils.h".
6273 (verbose, debug): Remove variables.
6274 (at_file_supplied): No longer static.
6275 (tool_name): New variable.
6276 (do_wait, fork_execute, maybe_unlink): Don't declare.
6277 (tool_cleanup): No longer static.
6278 (notice): Remove function.
6279 (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
6280 fork_execute calls.
6281 (collect_wait, do_wait, collect_execute): Remove functions.
6282 (maybe_unlink): No longer static.
6283 * collect2.h (verbose, debug): Don't declare.
6284 (at_file_supplied): Declare.
6285 * collect-utils.c (utils_cleanup): New arg from_signal. All callers
6286 changed.
6287 (collect_execute): Replace with implementation from collect2, plus a
6288 new arg use_atfile. All callers changed.
6289 (collect_wait): Replace with implementation from collect2.
6290 (maybe_unlink_file): Remove function.
6291 (fork_execute): Replace with implementation from collect2, plus a
6292 new arg use_atfile. All callers changed.
6293 (do_wait): Add call to utils_cleanup to the error path.
6294 * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
6295 (tool_cleanup): Adjust declarations.
6296 * lto-wrapper.c (tool_cleanup): Add unused bool argument.
6297 * tlink.c: Include "collect-utils.h".
6298 (tlink_execute): New arg use_atfile. All callers changed.
6299 (tlink_init, tlink_execute): Remove declarations.
6300
6301 * collect-utils.c (save_temps): New variable.
6302 (do_wait): Use it instead of debug. Use fatal_error.
6303 * collect-utils.h (save_temps): Declare.
6304 * collect2.c (verbose): Rename from vflag. All uses changed.
6305 (tool_cleanup): New function, copied from collect_atexit.
6306 (collect_atexit, handler): Just call it.
6307 * collect2.h (verbose): Declaration renamed from vflag.
6308 * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
6309 debug.
6310
6311 * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
6312 (lto-wrapper$(exeext)): Link with collect-utils.o.
6313 * collect-utils.c: New file.
6314 * collect-utils.h: New file.
6315 * lto-wrapper.c: Include "collect-utils.h".
6316 (args_name): Delete variable.
6317 (tool_name): New variable.
6318 (tool_cleanup): New function.
6319 (maybe_unlink): Renamed from maybe_unlink_file. All callers changed.
6320 (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
6321 (fork_execute): Remove functions.
6322
6323 2014-06-26 Nick Clifton <nickc@redhat.com>
6324
6325 * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
6326
6327 * doc/extend.texi (Function Attributes): Fix typo in description
6328 of RX vector attribute.
6329
6330 2014-06-26 James Greenhalgh <james.greenhalgh@arm.com>
6331
6332 * config.gcc (supported_defaults): Error when passing either
6333 --with-tune or --with-arch in conjunction with --with-cpu for ARM.
6334
6335 2014-06-26 Richard Biener <rguenther@suse.de>
6336
6337 * tree-ssa-dom.c (cprop_operand): Remove restriction on
6338 propagating volatile pointers.
6339
6340 2014-06-26 Richard Biener <rguenther@suse.de>
6341
6342 PR tree-optimization/61607
6343 * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
6344 loop if we redirected its latch edge.
6345 (thread_block_1): Do not cancel loops prematurely.
6346
6347 2014-06-25 Jan Hubicka <hubicka@ucw.cz>
6348
6349 * toplev.c (backend_init_target): Move init_emit_regs and
6350 init_regs to...
6351 (backend_init) ... here; skip ira_init_once and backend_init_target.
6352 (target_reinit) ... and here; clear
6353 this_target_rtl->lang_dependent_initialized.
6354 (lang_dependent_init_target): Clear
6355 this_target_rtl->lang_dependent_initialized;
6356 break out rtl initialization to ...
6357 (initialize_rtl): ... here; call also backend_init_target
6358 and ira_init_once.
6359 * toplev.h (initialize_rtl): New function.
6360 * function.c: Include toplev.h
6361 (init_function_start): Call initialize_rtl.
6362 * rtl.h (target_rtl): Add target_specific_initialized,
6363 lang_dependent_initialized.
6364
6365 2014-06-25 Paul Gortmaker <paul.gortmaker@windriver.com>
6366 Jakub Jelinek <jakub@redhat.com>
6367
6368 * gcc.c (set_multilib_dir): Malloc "." pointer as well.
6369
6370 2014-06-25 Tom de Vries <tom@codesourcery.com>
6371
6372 * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
6373
6374 2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
6375
6376 * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
6377 check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
6378 Issue a strict overflow warning if appropriate.
6379
6380 2014-06-25 Martin Liska <mliska@suse.cz>
6381
6382 IPA REF refactoring
6383 * Makefile.in: Removed header file (ipa-ref-inline.h).
6384 * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
6385 called.
6386 (cgraph_speculative_call_info): Likewise.
6387 (cgraph_for_node_thunks_and_aliases): Likewise.
6388 (cgraph_for_node_and_aliases): Likewise.
6389 (verify_cgraph_node): Likewise.
6390 * cgraph.h: Batch of IPA REF functions become member functions of
6391 symtab_node: add_reference, maybe_add_reference, clone_references,
6392 clone_referring, clone_reference, find_reference,
6393 remove_stmt_references, remove_all_references,
6394 remove_all_referring, dump_references, dump_referring,
6395 has_alias_p, iterate_reference, iterate_referring.
6396 * cgraphbuild.c (record_reference): New IPA REF function used.
6397 (record_type_list): Likewise.
6398 (record_eh_tables): Likewise.
6399 (mark_address): Likewise.
6400 (mark_load): Likewise.
6401 (mark_store): Likewise.
6402 (pass_build_cgraph_edges): Likewise.
6403 (rebuild_cgraph_edge): Likewise.
6404 (cgraph_rebuild_references): Likewise.
6405 (pass_remove_cgraph_callee_edges): Likewise.
6406 * cgraphclones.c (cgraph_clone_node): Likewise.
6407 (cgraph_create_virtual_clone): Likewise.
6408 (cgraph_materialize_clone): Likewise.
6409 (cgraph_materialize_all_clones): Likewise.
6410 * cgraphunit.c (cgraph_reset_node): Likewise.
6411 (cgraph_reset_node): Likewise.
6412 (analyze_function): Likewise.
6413 (assemble_thunks_and_aliases): Likewise.
6414 (expand_function): Likewise.
6415 * ipa-comdats.c (propagate_comdat_group): Likewise.
6416 (enqueue_references): Likewise.
6417 * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
6418 (create_specialized_node): Likewise.
6419 * ipa-devirt.c (referenced_from_vtable_p): Likewise.
6420 * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
6421 * ipa-inline.c (reset_edge_caches): Likewise.
6422 (update_caller_keys): Likewise.
6423 (execute): Likewise.
6424 * ipa-prop.c (remove_described_reference): Likewise.
6425 (propagate_controlled_uses): Likewise.
6426 (ipa_edge_duplication_hook): Likewise.
6427 (ipa_modify_call_arguments): Likewise.
6428 * ipa-pure-const.c (propagate_pure_const): Likewise.
6429 * ipa-ref-inline.h: Header file removed, functions moved
6430 to symtab_node class.
6431 * ipa-ref.c (remove_reference): New class member function.
6432 (cannot_lead_to_return): New class member function.
6433 (referring_ref_list): Likewise.
6434 (referred_ref_list): Likewise.
6435 Rest of functions moved to symtab_node class.
6436 * ipa-ref.h: New member functions remove_reference,
6437 cannot_lead_to_return, referring_ref_list, referred_ref_list added
6438 to ipa_ref class.
6439 ipa_ref_list class has new member functions: first_reference,
6440 first_referring, clear, nreferences.
6441 * ipa-reference.c (analyze_function): New IPA REF function used.
6442 (write_node_summary_p): Likewise.
6443 (ipa_reference_write_optimization_summary): Likewise.
6444 * ipa-split.c (split_function): Likewise.
6445 * ipa-utils.c (ipa_reverse_postorder): Likewise.
6446 * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
6447 (function_and_variable_visibility): Likewise.
6448 * ipa.c (has_addr_references_p): Likewise.
6449 (process_references): Argument type changed.
6450 (symtab_remove_unreachable_nodes): New IPA REF function used.
6451 (process_references): Likewise.
6452 (set_writeonly_bit): Likewise.
6453 * lto-cgraph.c: Implementation of new symtab_node member functions
6454 that uses new IPA REF functions.
6455 * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
6456 function used.
6457 * lto-streamer-out.c (output_symbol_p): Likewise.
6458 * lto-streamer.h (referenced_from_this_partition_p): Argument type
6459 changed.
6460 * symtab.c: Implementation of new IPA REF API.
6461 * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
6462 (ipa_tm_create_version): Likewise.
6463 (ipa_tm_execute): Likewise.
6464 * tree-emutls.c (gen_emutls_addr): Likewise.
6465 * tree-inline.c (copy_bb): Likewise.
6466 (delete_unreachable_blocks_update_callgraph): Likewise.
6467 * varpool.c (varpool_remove_unreferenced_decls): Likewise.
6468 (varpool_for_node_and_aliases): Likewise.
6469
6470 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
6471
6472 * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
6473
6474 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
6475
6476 PR bootstrap/61598
6477 * fold-const.c (fold_checksum_tree): Use a hash_table of const
6478 tree_node * instead of tree_node *.
6479 (fold): Adjust.
6480 (print_fold_checksum): Likewise.
6481 (fold_check_failed): Likewise.
6482 (debug_fold_checksum): Likewise.
6483 (fold_build1_stat_loc): Likewise.
6484 (fold_build2_stat_loc): Likewise.
6485 (fold_build3_stat_loc): Likewise.
6486 (fold_build_call_array_loc): Likewise.
6487
6488 2014-06-25 David Edelsohn <dje.gcc@gmail.com>
6489
6490 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
6491 implementation with call to...
6492 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
6493 function.
6494 * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
6495 Declare.
6496
6497 2014-06-25 Marc Glisse <marc.glisse@inria.fr>
6498
6499 PR tree-optimization/57742
6500 * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
6501 after replacing the statement.
6502
6503 2014-06-25 Nick Clifton <nickc@redhat.com>
6504
6505 * config/v850/v850.c (GHS_default_section_names): Change to const
6506 char * type.
6507 (GHS_current_section_names): Likewise.
6508 (v850_insert_attributes): Do not build strings, just assign the
6509 names directly. Change the type of 'chosen_section' to const
6510 char*.
6511 * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
6512 directly to the array entry.
6513 * config/v850/v850.h (GHS_default_section_names): Change to const
6514 char * type.
6515 (GHS_current_section_names): Likewise.
6516
6517 2014-06-25 Jakub Jelinek <jakub@redhat.com>
6518
6519 * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
6520 (LANG_HOOKS_DECLS): Add it.
6521 * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
6522 has correct type.
6523 * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
6524 * langhooks.h (struct lang_hooks_for_decls): Add
6525 omp_clause_linear_ctor hook.
6526 * omp-low.c (lower_rec_input_clauses): Set max_vf even if
6527 OMP_CLAUSE_LINEAR_ARRAY is set. Don't fold_convert
6528 OMP_CLAUSE_LINEAR_STEP. For OMP_CLAUSE_LINEAR_ARRAY in
6529 combined simd loop use omp_clause_linear_ctor hook.
6530
6531 2014-06-24 Cong Hou <congh@google.com>
6532
6533 * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
6534 pattern recognition.
6535 (type_conversion_p): PROMOTION is true if it's a type promotion
6536 conversion, and false otherwise. Return true if the given expression
6537 is a type conversion one.
6538 * tree-vectorizer.h: Adjust the number of patterns.
6539 * tree.def: Add SAD_EXPR.
6540 * optabs.def: Add sad_optab.
6541 * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
6542 * expr.c (expand_expr_real_2): Likewise.
6543 * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
6544 * gimple.c (get_gimple_rhs_num_ops): Likewise.
6545 * optabs.c (optab_for_tree_code): Likewise.
6546 * tree-cfg.c (estimate_operator_cost): Likewise.
6547 * tree-ssa-operands.c (get_expr_operands): Likewise.
6548 * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
6549 * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
6550 * doc/generic.texi: Add document for SAD_EXPR.
6551 * doc/md.texi: Add document for ssad and usad.
6552
6553 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
6554
6555 * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
6556 qualification in cast.
6557
6558 2014-06-24 Jan Hubicka <hubicka@ucw.cz>
6559
6560 * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
6561 * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
6562 * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
6563 (tree_function_decl): ... here.
6564 * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
6565 streaming of vindex to ...
6566 (write_ts_function_decl_tree_pointers): ... here.
6567 * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
6568 Do not stream DECL_VINDEX.
6569 (lto_input_ts_function_decl_tree_pointers): Stream it here.
6570
6571 2014-06-24 Catherine Moore <clm@codesourcery.com>
6572 Sandra Loosemore <sandra@codesourcery.com>
6573
6574 * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
6575 * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
6576 * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
6577
6578 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
6579
6580 * doc/invoke.texi (Warning Options): Remove duplicated
6581 -Wmaybe-uninitialized.
6582
6583 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
6584
6585 PR tree-optimization/57742
6586 * tree-ssa-strlen.c (get_string_length): Ignore malloc.
6587 (handle_builtin_malloc, handle_builtin_memset): New functions.
6588 (strlen_optimize_stmt): Call them.
6589 * passes.def: Move strlen after loop+dom but before vrp.
6590
6591 2014-06-24 Jakub Jelinek <jakub@redhat.com>
6592
6593 PR target/61570
6594 * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
6595 model family 6 CPU with has_longmode never use a CPU without
6596 64-bit support.
6597
6598 2014-06-24 H.J. Lu <hongjiu.lu@intel.com>
6599
6600 PR target/61570
6601 * config/i386/driver-i386.c (host_detect_local_cpu): Revert
6602 the last change.
6603
6604 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
6605
6606 * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
6607 * dominance.c (iterate_fix_dominators): Use hash_map instead of
6608 pointer_map.
6609 * hash-map.h: New file.
6610 * ipa-comdats.c: Use hash_map instead of pointer_map.
6611 * ipa.c: Likewise.
6612 * lto-section-out.c: Adjust.
6613 * lto-streamer.h: Replace pointer_map with hash_map.
6614 * symtab.c (verify_symtab): Likewise.
6615 * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
6616 * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
6617 * tree-streamer.h: Likewise.
6618 * tree-streamer.c: Adjust.
6619 * pointer-set.h: Remove pointer_map.
6620
6621 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
6622
6623 * hash-table.h: Add a template arg to choose between storing values
6624 and storing pointers to values, and then provide partial
6625 specializations for both.
6626 * tree-browser.c (tree_upper_hasher): Provide the type the hash table
6627 should store, not the type values should point to.
6628 * tree-into-ssa.c (var_info_hasher): Likewise.
6629 * tree-ssa-dom.c (expr_elt_hasher): Likewise.
6630 * tree-complex.c: Adjust.
6631 * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
6632 table instead of int_tree_map *.
6633 * tree-parloops.c: Adjust.
6634 * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
6635 type is being stored.
6636 * tree-vectorizer.c: Adjust.
6637
6638 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
6639
6640 * hash-table.h: Remove a layer of indirection from hash_table so that
6641 it contains the hash table's data instead of a pointer to the data.
6642 * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
6643 config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
6644 config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
6645 data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
6646 fold-const.c, gcse.c, ggc-common.c,
6647 gimple-ssa-strength-reduction.c, gimplify.c,
6648 graphite-clast-to-gimple.c, graphite-dependences.c,
6649 graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
6650 ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
6651 loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
6652 lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
6653 postreload-gcse.c, sese.c, statistics.c, store-motion.c,
6654 trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
6655 tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
6656 tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
6657 tree-ssa-live.c, tree-ssa-loop-im.c,
6658 tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
6659 tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
6660 tree-ssa-structalias.c, tree-ssa-tail-merge.c,
6661 tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
6662 tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
6663 tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
6664 vtable-verify.c, vtable-verify.h: Adjust.
6665
6666 2014-06-24 Richard Biener <rguenther@suse.de>
6667
6668 PR tree-optimization/61572
6669 * tree-ssa-sink.c (statement_sink_location): Do not sink
6670 loads from hard registers.
6671
6672 2014-06-24 Jakub Jelinek <jakub@redhat.com>
6673
6674 * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
6675 not mentioned in clauses use private clause if the iterator is
6676 declared in #pragma omp for simd, and when adding lastprivate
6677 instead, add it to the outer #pragma omp for too. Diagnose
6678 if the variable is private in outer context. For simd collapse > 1
6679 loops, replace all iterators with temporaries.
6680 * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
6681 same even in collapse > 1 loops.
6682
6683 * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
6684 OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
6685 non-NULL.
6686 <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
6687 (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
6688 non-NULL.
6689 (gimplify_adjust_omp_clauses): Likewise.
6690 * omp-low.c (lower_rec_simd_input_clauses,
6691 lower_rec_input_clauses, expand_omp_simd): Handle non-constant
6692 safelen the same as safelen(1).
6693 * tree-nested.c (convert_nonlocal_omp_clauses,
6694 convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED. For
6695 OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
6696 (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
6697 Fixup handling of GIMPLE_OMP_TARGET.
6698 (convert_tramp_reference_stmt, convert_gimple_call): Handle
6699 GIMPLE_OMP_TARGET.
6700
6701 2014-06-24 Chung-Lin Tang <cltang@codesourcery.com>
6702
6703 PR tree-optimization/61554
6704 * tree-ssa-propagate.c: Include "bitmap.h".
6705 (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
6706 properly update constructor/destructor.
6707 (substitute_and_fold_dom_walker::before_dom_children):
6708 Remove call to gimple_purge_dead_eh_edges, add bb->index to
6709 need_eh_cleaup instead.
6710 (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
6711 need_eh_cleanup.
6712
6713 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
6714
6715 * varpool.c (dump_varpool_node): Dump used_by_single_function.
6716 * tree-pass.h (make_pass_ipa_single_use): New pass.
6717 * cgraph.h (used_by_single_function): New flag.
6718 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
6719 Stream it.
6720 * passes.def (pass_ipa_single_use): Scedule.
6721 * ipa.c (BOTTOM): New macro.
6722 (meet): New function
6723 (propagate_single_user): New function.
6724 (ipa_single_use): New function.
6725 (pass_data_ipa_single_use): New pass.
6726 (pass_ipa_single_use): New pass.
6727 (pass_ipa_single_use::gate): New gate.
6728 (make_pass_ipa_single_use): New function.
6729
6730 2014-06-23 Kai Tietz <ktietz@redhat.com>
6731
6732 PR target/39284
6733 * passes.def (peephole2): Move peephole2 pass before sched2 pass.
6734 * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
6735
6736 2014-06-23 Richard Biener <rguenther@suse.de>
6737
6738 * tree-ssa-loop.c (gate_loop): New function.
6739 (pass_tree_loop::gate): Call it.
6740 (pass_data_tree_no_loop, pass_tree_no_loop,
6741 make_pass_tree_no_loop): New.
6742 * tree-vectorizer.c: Include tree-scalar-evolution.c
6743 (pass_slp_vectorize::execute): Initialize loops and SCEV if
6744 required.
6745 (pass_slp_vectorize::clone): New method.
6746 * timevar.def (TV_TREE_NOLOOP): New.
6747 * tree-pass.h (make_pass_tree_no_loop): Declare.
6748 * passes.def (pass_tree_no_loop): New pass group with
6749 SLP vectorizer.
6750
6751 2014-06-23 H.J. Lu <hongjiu.lu@intel.com>
6752
6753 PR target/61570
6754 * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
6755 to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
6756
6757 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
6758
6759 * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
6760 "yes" where needed.
6761
6762 2014-06-23 Alan Modra <amodra@gmail.com>
6763
6764 PR bootstrap/61583
6765 * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
6766 to zero on debug statements.
6767
6768 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
6769
6770 PR target/60825
6771 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
6772 Ignore third operand if present by marking qualifier_internal.
6773
6774 * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
6775
6776 * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
6777 vector extension.
6778 (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
6779 arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
6780 (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
6781 vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
6782 vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
6783 vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
6784 vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
6785 vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
6786 vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
6787 vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
6788 vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
6789 vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
6790 vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
6791 vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
6792 vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
6793 vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
6794 logic in GCC vector extensions
6795
6796 (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
6797 vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
6798 vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
6799 vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
6800 vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
6801 vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
6802 vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
6803 vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
6804 vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
6805 vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
6806
6807 (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
6808
6809 (vget_high_s64, vget_high_u64): Reimplement with GCC vector
6810 extensions.
6811
6812 (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
6813 (vget_low_s64): Use __GET_LOW macro.
6814 (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
6815 gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
6816 (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
6817 (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
6818 __builtin_aarch64_lane_boundsi, use GCC vector extensions.
6819
6820 (vcombine_s64): Use GCC vector extensions; remove cast.
6821 (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
6822 vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
6823 vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
6824 Fix type signature; remove cast.
6825
6826 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
6827
6828 PR target/60825
6829 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
6830 V1DFmode.
6831 * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
6832 add V1DFmode
6833 (BUILTIN_VD1): New.
6834 (BUILTIN_VD_RE): Remove.
6835 (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
6836 (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
6837 * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
6838 variant but not df.
6839 (vreinterpretv1df*, vreinterpret*v1df): New.
6840 (vreinterpretdf*, vreinterpret*df): Remove.
6841 * config/aarch64/aarch64-simd.md (aarch64_create,
6842 aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
6843 * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
6844 (VD1): New.
6845 * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
6846 (vcreate_f64): Remove cast, use v1df builtin.
6847 (vcombine_f64): Remove cast, get elements with gcc vector extensions.
6848 (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
6849 vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
6850 vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
6851 vmov_n_f64, vst1_f64): Use gcc vector extensions.
6852 (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
6853 add range check using __builtin_aarch64_im_lane_boundsi.
6854 (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
6855 vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
6856 type signature, use gcc vector extensions.
6857 (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
6858 vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
6859 vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
6860 vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
6861 vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
6862 vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
6863 vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
6864 vreinterpret_u64_f64): Use v1df builtin not df.
6865
6866 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
6867
6868 * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
6869 vector registers.
6870
6871 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
6872
6873 * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
6874 priority directly.
6875
6876 2014-06-23 Zhenqiang Chen <zhenqiang.chen@linaro.org>
6877
6878 * loop-invariant.c (pre_check_invariant_p): New function.
6879 (find_invariant_insn): Call pre_check_invariant_p.
6880
6881 2014-06-22 Richard Henderson <rth@redhat.com>
6882
6883 PR target/61565
6884 * compare-elim.c (struct comparison): Add eh_note.
6885 (find_comparison_dom_walker::before_dom_children): Don't eliminate
6886 a redundant comparison in a different EH region. Purge EH edges if
6887 necessary.
6888
6889 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6890
6891 * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
6892 (var_shift): Use it.
6893 (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
6894 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
6895 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
6896 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
6897 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
6898 *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
6899 *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
6900 *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
6901 *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
6902 *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
6903 *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
6904 *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
6905 *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
6906 *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
6907 *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
6908 *rotldi3_internal15be): Use the new attribute. Merge register and
6909 integer alternatives.
6910
6911 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6912
6913 * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
6914 define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
6915 split, *ashrdi3_internal3 and split): Delete, merge into...
6916 (ashr<mode>3): New expander.
6917 (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
6918 (*ashrsi3_64): Fix formatting. Replace "i" by "n".
6919
6920 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6921
6922 * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
6923 *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
6924 *rotldi3_internal3 and split): Delete, merge into...
6925 (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
6926 (*rotlsi3_64): Fix formatting. Fix condition. Replace "i" by "n".
6927 Use "rotlw" extended mnemonic.
6928
6929 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6930
6931 * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
6932 and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
6933 and split, *ashldi3_internal3 and split): Delete, merge into...
6934 (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
6935 (*ashlsi3_64): Fix formatting. Replace "i" by "n".
6936
6937 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6938
6939 * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
6940 (lshrsi3, two anonymous define_insns and define_splits,
6941 lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
6942 *lshrdi3_internal3 and split): Delete, merge into...
6943 (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
6944 (*lshrsi3_64): Fix formatting. Replace "i" by "n".
6945
6946 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
6947
6948 * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
6949 Remove "O" alternative.
6950
6951 2014-06-22 Richard Sandiford <rdsandiford@googlemail.com>
6952
6953 * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
6954 (mips_move_from_gpr_cost): Likewise.
6955 (mips_register_move_cost): Update accordingly.
6956 (mips_secondary_reload_class): Remove name of in_p.
6957
6958 2014-06-22 Marc Glisse <marc.glisse@inria.fr>
6959
6960 PR target/61503
6961 * config/i386/i386.md (x86_64_shrd, x86_shrd,
6962 ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
6963
6964 2014-06-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
6965
6966 * config/nios2/nios2.c: Include "builtins.h".
6967
6968 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
6969
6970 * cgraph.h (tls_model_names): New variable.
6971 * print-tree.c (print_node): Simplify.
6972 * varpool.c (tls_model_names): New variable.
6973 (dump_varpool_node): Output tls model.
6974
6975 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
6976
6977 * ipa-visibility.c (function_and_variable_visibility): Disable
6978 temporarily local aliases for some targets.
6979
6980 2014-06-20 Marek Polacek <polacek@redhat.com>
6981
6982 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
6983 * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
6984 into SANITIZE_UNDEFINED.
6985 * doc/invoke.texi: Describe -fsanitize=bounds.
6986 * gimplify.c (gimplify_call_expr): Add gimplification of internal
6987 functions created in the FEs.
6988 * internal-fn.c: Move "internal-fn.h" after "tree.h".
6989 (expand_UBSAN_BOUNDS): New function.
6990 * internal-fn.def (UBSAN_BOUNDS): New internal function.
6991 * internal-fn.h: Don't define internal functions here.
6992 * opts.c (common_handle_option): Add -fsanitize=bounds.
6993 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
6994 BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
6995 * tree-core.h: Define internal functions here.
6996 (struct tree_base): Add ifn field.
6997 * tree-pretty-print.c: Include "internal-fn.h".
6998 (dump_generic_node): Handle functions without CALL_EXPR_FN.
6999 * tree.c (get_callee_fndecl): Likewise.
7000 (build_call_expr_internal_loc): New function.
7001 * tree.def (CALL_EXPR): Update description.
7002 * tree.h (CALL_EXPR_IFN): Define.
7003 (build_call_expr_internal_loc): Declare.
7004 * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
7005 types.
7006 (ubsan_type_descriptor): Change bool parameter to enum
7007 ubsan_print_style. Adjust the code. Add handling of
7008 UBSAN_PRINT_ARRAY.
7009 (ubsan_expand_bounds_ifn): New function.
7010 (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
7011 (ubsan_build_overflow_builtin): Likewise.
7012 (instrument_bool_enum_load): Likewise.
7013 (ubsan_instrument_float_cast): Likewise.
7014 * ubsan.h (enum ubsan_print_style): New enum.
7015 (ubsan_expand_bounds_ifn): Declare.
7016 (ubsan_type_descriptor): Adjust declaration. Use a default parameter.
7017
7018 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7019
7020 * config/rs6000/rs6000.md: Append `DONE' to preparation
7021 statements of `bswap' pattern splitters.
7022
7023 2014-06-20 Tom de Vries <tom@codesourcery.com>
7024
7025 * target.def (call_fusage_contains_non_callee_clobbers): Update
7026 definition.
7027 * doc/tm.texi: Regenerate.
7028
7029 2014-06-20 Yury Gribov <y.gribov@samsung.com>
7030 Max Ostapenko <m.ostapenko@partner.samsung.com>
7031
7032 PR sanitizer/61547
7033 * asan.c (instrument_strlen_call): Fixed instrumentation of
7034 trailing byte.
7035
7036 2014-06-20 Martin Jambor <mjambor@suse.cz>
7037
7038 PR ipa/61540
7039 * ipa-prop.c (impossible_devirt_target): New function.
7040 (try_make_edge_direct_virtual_call): Use it, also instead of
7041 asserting.
7042
7043 2014-06-20 Yury Gribov <y.gribov@samsung.com>
7044 Max Ostapenko <m.ostapenko@partner.samsung.com>
7045
7046 PR sanitizer/61530
7047 * asan.c (build_check_stmt): Add condition.
7048
7049 2014-06-20 Martin Jambor <mjambor@suse.cz>
7050
7051 PR ipa/61211
7052 * cgraph.c (clone_of_p): Allow skipped_branch to deal with
7053 expanded clones.
7054
7055 2014-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
7056
7057 * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
7058 Update comments.
7059 (VCONQ): Make comment more helpful.
7060 (VCON): Delete.
7061 * config/aarch64/aarch64-simd.md
7062 (aarch64_sqdmulh_lane<mode>):
7063 Use VCOND for operands 2. Update lane checking and flipping logic.
7064 (aarch64_sqrdmulh_lane<mode>): Likewise.
7065 (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
7066 (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
7067 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
7068 attribute of operand 3 to VCOND.
7069 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
7070 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
7071 (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
7072 (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
7073 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
7074 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
7075 define_insn.
7076 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
7077 (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
7078 (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
7079 (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
7080 (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
7081 (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
7082 operand to VCOND. Update lane flipping and bounds checking logic.
7083 (aarch64_sqdmlal2_lane<mode>): Likewise.
7084 (aarch64_sqdmlsl_lane<mode>): Likewise.
7085 (aarch64_sqdmull_lane<mode>): Likewise.
7086 (aarch64_sqdmull2_lane<mode>): Likewise.
7087 (aarch64_sqdmlal_laneq<mode>):
7088 Replace VCON usage with VCONQ.
7089 Emit aarch64_sqdmlal_laneq<mode>_internal insn.
7090 (aarch64_sqdmlal2_laneq<mode>): Emit
7091 aarch64_sqdmlal2_laneq<mode>_internal insn.
7092 Replace VCON with VCONQ.
7093 (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
7094 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
7095 (aarch64_sqdmull_laneq<mode>): Emit
7096 aarch64_sqdmull_laneq<mode>_internal insn.
7097 Replace VCON with VCONQ.
7098 (aarch64_sqdmull2_laneq<mode>): Emit
7099 aarch64_sqdmull2_laneq<mode>_internal insn.
7100 (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
7101 * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
7102 of 3rd argument to int16x4_t.
7103 (vqdmlalh_lane_s16): Likewise.
7104 (vqdmlslh_lane_s16): Likewise.
7105 (vqdmull_high_lane_s16): Likewise.
7106 (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
7107 (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
7108 (vqdmlsl_lane_s16): Likewise.
7109 (vqdmull_lane_s16): Don't create temporary int16x8_t value.
7110 (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
7111 (vqdmlals_lane_s32): Likewise.
7112 (vqdmlsls_lane_s32): Likewise.
7113 (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
7114 (vqdmulls_lane_s32): Likewise.
7115 (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
7116 (vqdmlsl_lane_s32): Likewise.
7117 (vqdmull_lane_s32): Don't create temporary int32x4_t value.
7118 (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
7119 (vqrdmulhh_lane_s16): Likewise.
7120 (vqdmlsl_high_lane_s16): Likewise.
7121 (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
7122 (vqdmlsl_high_lane_s32): Likewise.
7123 (vqrdmulhs_lane_s32): Likewise.
7124
7125 2014-06-20 Tom de Vries <tom@codesourcery.com>
7126
7127 * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
7128 get_call_reg_set_usage.
7129
7130 2014-06-20 Tom de Vries <tom@codesourcery.com>
7131
7132 * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
7133 it contains all call_used_regs.
7134
7135 2014-06-20 Tom de Vries <tom@codesourcery.com>
7136
7137 * final.c (collect_fn_hard_reg_usage): Add and use variable
7138 function_used_regs.
7139
7140 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
7141
7142 * cgraph.h (struct symtab_node): Add field in_init_priority_hash
7143 (set_init_priority, get_init_priority, set_fini_priority,
7144 get_fini_priority): New methods.
7145 * tree.c (init_priority_for_decl): Remove.
7146 (init_ttree): Do not initialize init priority.
7147 (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
7148 (decl_priority_info): Remove.
7149 (decl_init_priority_insert): Rewrite.
7150 (decl_fini_priority_insert): Rewrite.
7151 * tree.h (tree_priority_map_eq, tree_priority_map_hash,
7152 tree_priority_map_marked_p): Remove.
7153 * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
7154 * lto-streamer-out.c (hash_tree): Do not hash priorities.
7155 * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
7156 not output priorities.
7157 (pack_ts_function_decl_value_fields): Likewise.
7158 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
7159 not input priorities.
7160 (unpack_ts_function_decl_value_fields): Likewise.
7161 * symtab.c (symbol_priority_map): Declare.
7162 (init_priority_hash): Declare.
7163 (symtab_unregister_node): Unregister from priority hash, too.
7164 (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
7165 New methods.
7166 (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
7167 (symbol_priority_info): New function.
7168 (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
7169 New methods.
7170 * tree-core.h (tree_priority_map): Remove.
7171
7172 2014-06-20 Jakub Jelinek <jakub@redhat.com>
7173
7174 * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
7175 0xff to uint64_t before shifting it up.
7176
7177 2014-06-20 Julian Brown <julian@codesourcery.com>
7178 Chung-Lin Tang <cltang@codesourcery.com>
7179
7180 * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
7181 TARGET_THUMB1_ONLY. Add comments.
7182
7183 2014-06-19 Tom de Vries <tom@codesourcery.com>
7184
7185 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
7186 return type to void.
7187 * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
7188
7189 2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
7190
7191 * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
7192 as "move", from depends_on.
7193
7194 2014-06-19 Terry Guo <terry.guo@arm.com>
7195
7196 * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
7197 stage.
7198
7199 2014-06-18 Segher Boessenkool <segher@kernel.crashing.org>
7200
7201 * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
7202 Remove cr5.
7203 (REG_ALLOC_ORDER): Update comment. Move cr5 earlier.
7204
7205 2014-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
7206
7207 PR target/61550
7208 * config/sh/sh.c (prepare_move_operands): Don't process TLS
7209 addresses here if reload in progress or completed.
7210
7211 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
7212
7213 * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
7214 "TARGET_MIPS16 ? M16_REGS : GR_REGS".
7215 * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
7216 (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
7217 (mips_register_priority): New function that implements the target
7218 hook TARGET_REGISTER_PRIORITY.
7219 (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
7220 (mips_lra_p): Likewise for TARGET_LRA_P.
7221 (TARGET_REGISTER_PRIORITY): Define macro.
7222 (TARGET_SPILL_CLASS): Likewise.
7223 (TARGET_LRA_P): Likewise.
7224 * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
7225 classes.
7226 (REG_CLASS_NAMES): Likewise.
7227 (REG_CLASS_CONTENTS): Likewise.
7228 (BASE_REG_CLASS): Use M16_SP_REGS.
7229 * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
7230 New set attribute to enable alternatives depending on the register
7231 allocator used.
7232 (*mul_acc_si_r3900, *mul_sub_si): Likewise.
7233 (*lea64): Disable pattern for MIPS16.
7234 * config/mips/mips.opt (mlra): New option.
7235
7236 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
7237
7238 * lra-constraints.c (base_to_reg): New function.
7239 (process_address): Use new function.
7240
7241 2014-06-18 Tom de Vries <tom@codesourcery.com>
7242
7243 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
7244 * config/aarch64/aarch64.c
7245 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
7246 (aarch64_emit_call_insn): New function.
7247 (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
7248 of emit_call_insn.
7249 * config/aarch64/aarch64.md (define_expand "call_internal")
7250 (define_expand "call_value_internal", define_expand "sibcall_internal")
7251 (define_expand "sibcall_value_internal"): New.
7252 (define_expand "call", define_expand "call_value")
7253 (define_expand "sibcall", define_expand "sibcall_value"): Use internal
7254 expand variant and aarch64_emit_call_insn.
7255
7256 2014-06-18 Radovan Obradovic <robradovic@mips.com>
7257 Tom de Vries <tom@codesourcery.com>
7258
7259 * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
7260 * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
7261 Redefine to true.
7262 (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC
7263 clobbers to CALL_INSN_FUNCTION_USAGE.
7264 (define_expand "sibcall_internal")
7265 (define_expand "sibcall_value_internal"): New.
7266 (define_expand "call", define_expand "call_value"): Add argument to
7267 arm_emit_call_insn.
7268 (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
7269 (define_expand "sibcall_value"): Use sibcall_value_internal and
7270 arm_emit_call_insn.
7271
7272 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7273
7274 * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
7275
7276 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7277
7278 * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
7279 __udivmoddi4.
7280
7281 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7282
7283 * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
7284 push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
7285 annotations. Fix DWARF information.
7286
7287 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7288
7289 * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
7290 __udivmoddi4, and fixups for negative operands.
7291
7292 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7293
7294 * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
7295
7296 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7297
7298 * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
7299 to __udivmoddi4.
7300
7301 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7302
7303 * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
7304 manipulation.
7305
7306 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7307
7308 * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
7309 describing register usage on function entry and exit.
7310
7311 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7312
7313 * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
7314 (__aeabi_ldivmod): Fix whitespace.
7315
7316 2014-06-18 Andreas Schwab <schwab@suse.de>
7317
7318 * doc/md.texi (Standard Names): Use @itemx for grouped items.
7319 Remove blank line after @item.
7320
7321 2014-06-18 Richard Henderson <rth@redhat.com>
7322
7323 PR target/61545
7324 * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
7325
7326 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
7327
7328 * config/arm/arm.c (neon_vector_mem_operand): Allow register
7329 POST_MODIFY for neon loads and stores.
7330 (arm_print_operand): Output post-index register for neon loads and
7331 stores.
7332
7333 2014-06-18 Richard Biener <rguenther@suse.de>
7334
7335 * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
7336
7337 2014-06-18 Richard Biener <rguenther@suse.de>
7338
7339 * tree-pass.h (make_pass_dce_loop): Remove.
7340 * passes.def: Replace pass_dce_loop with pass_dce.
7341 * tree-ssa-dce.c (perform_tree_ssa_dce): If something
7342 changed free niter estimates and reset the scev cache.
7343 (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
7344 make_pass_dce_loop): Remove.
7345 * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
7346 (fini_copy_prop): Return whether something changed. Always
7347 let substitute_and_fold perform DCE and free niter estimates
7348 and reset the scev cache if so.
7349 (execute_copy_prop): If sth changed schedule cleanup-cfg.
7350 (pass_data_copy_prop): Do not unconditionally schedule
7351 cleanup-cfg or update-ssa.
7352
7353 2014-06-18 Yuri Rumyantsev <ysrumyan@gmail.com>
7354
7355 PR tree-optimization/61518
7356 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
7357 reduction var is used in reduction stmt or phi-function only.
7358
7359 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
7360
7361 * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
7362
7363 2014-06-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7364
7365 PR tree-optimization/61517
7366 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
7367 whose rhs's first tree is the source expression instead of the
7368 expression itself.
7369 (find_bswap_or_nop): Likewise.
7370 (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
7371 gimple stmt whose rhs's first tree is the source. In the memory source
7372 case, move the stmt to be replaced close to one of the original load to
7373 avoid the problem of a store between the load and the stmt's original
7374 location.
7375 (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
7376 signature.
7377
7378 2014-06-18 Andreas Schwab <schwab@suse.de>
7379
7380 PR rtl-optimization/54555
7381 * postreload.c (move2add_use_add2_insn): Substitute
7382 STRICT_LOW_PART only if it is cheaper.
7383
7384 2014-06-18 Uros Bizjak <ubizjak@gmail.com>
7385
7386 * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
7387 Do not use unspec as call operand. Use memory_operand instead of
7388 memory_nox32_operand and add "m" operand constraint. Disable
7389 pattern for TARGET_X32.
7390 (*sibcall_pop_memory): Ditto.
7391 (*sibcall_value_memory): Ditto.
7392 (*sibcall_value_pop_memory): Ditto.
7393 (sibcall peepholes): Merge SImode and DImode patterns using
7394 W mode iterator. Use memory_operand instead of memory_nox32_operand.
7395 Disable pattern for TARGET_X32. Check if eliminated register is
7396 really dead after call insn. Generate call RTX without unspec operand.
7397 (sibcall_value peepholes): Ditto.
7398 (sibcall_pop peepholes): Fix call insn RTXes. Use memory_operand
7399 instead of memory_nox32_operand. Check if eliminated register is
7400 really dead after call insn. Generate call RTX without unspec operand.
7401 (sibcall_value_pop peepholes): Ditto.
7402 * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
7403
7404 2014-06-18 Terry Guo <terry.guo@arm.com>
7405
7406 PR target/61544
7407 * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
7408 reach the head.
7409
7410 2014-06-18 Olivier Hainque <hainque@adacore.com>
7411
7412 * tree-core.h (tree_block): Add an "end_locus" field, allowing
7413 memorization of the end of block source location.
7414 * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
7415 * gimplify.c (gimplify_bind_expr): Propagate the block start and
7416 end source location info we have on the block entry/exit code we
7417 generate.
7418
7419 2014-06-18 Richard Biener <rguenther@suse.de>
7420
7421 * common.opt (fssa-phiopt): New option.
7422 * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
7423 but not with -Og.
7424 * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
7425 * doc/invoke.texi (-fssa-phiopt): Document.
7426
7427 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
7428
7429 * genattrtab.c (n_bypassed): New variable.
7430 (process_bypasses): Initialise n_bypassed.
7431 Count number of bypassed reservations.
7432 (make_automaton_attrs): Allocate space for bypassed reservations
7433 rather than number of bypasses.
7434
7435 2014-06-18 Richard Biener <rguenther@suse.de>
7436
7437 * tree-ssa-propagate.c (replace_phi_args_in): Return whether
7438 we propagated anything.
7439 (substitute_and_fold_dom_walker::before_dom_children): Something
7440 changed if we propagated into PHI arguments.
7441 * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
7442 we removed a stmt.
7443
7444 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com>
7445
7446 * config/i386/i386.c (ix86_reassociation_width): Add alternative for
7447 vector case.
7448 * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
7449 * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
7450 * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
7451 Introduces alternative way of loads group permutaions.
7452 (vect_transform_grouped_load): Try alternative way of permutations.
7453
7454 2014-06-18 Jakub Jelinek <jakub@redhat.com>
7455
7456 * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
7457 changed in ORT_TARGET region, don't jump to do_outer.
7458 (struct gimplify_adjust_omp_clauses_data): New type.
7459 (gimplify_adjust_omp_clauses_1): Adjust for data being
7460 a struct gimplify_adjust_omp_clauses_data pointer instead
7461 of tree *. Pass pre_p as a new argument to
7462 lang_hooks.decls.omp_finish_clause hook.
7463 (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
7464 splay_tree_foreach to pass both list_p and pre_p.
7465 (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
7466 gimplify_omp_workshare, gimplify_omp_target_update): Adjust
7467 gimplify_adjust_omp_clauses callers.
7468 * langhooks.c (lhd_omp_finish_clause): New function.
7469 * langhooks-def.h (lhd_omp_finish_clause): New prototype.
7470 (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
7471 * langhooks.h (struct lang_hooks_for_decls): Add a new
7472 gimple_seq * argument to omp_finish_clause hook.
7473 * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
7474 non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
7475 (scan_omp_parallel, lower_omp_for): When adding
7476 _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
7477 * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
7478 * tree-nested.c (convert_nonlocal_omp_clauses,
7479 convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
7480 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
7481
7482 2014-06-17 Andrew MacLeod <amacleod@redhat.com>
7483
7484 * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
7485 * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
7486
7487 2014-06-17 Xinliang David Li <davidxl@google.com>
7488
7489 * tree-pretty-print.c (dump_function_header): Print cgraph uid.
7490 * passes.c (pass_init_dump_file): Do not set initialize
7491 flag to false unconditionally.
7492
7493 2014-06-17 Richard Biener <rguenther@suse.de>
7494
7495 * genopinit.c (main): Use vec<>::qsort method.
7496 * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
7497 Likewise.
7498 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
7499
7500 2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com>
7501
7502 * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
7503 * config/mips/mips.c (mips_expand_fcc_reload): Remove.
7504 (mips_move_to_gpr_cost): Remove ST_REGS case.
7505 (mips_move_from_gpr_cost): Likewise.
7506 (mips_register_move_cost): Likewise.
7507 (mips_secondary_reload_class): Likewise.
7508
7509 2014-06-17 Richard Biener <rguenther@suse.de>
7510
7511 * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
7512 (pass_all_optimizations): Move 3rd copy-prop pass from after
7513 fre to before ifcombine/phiopt.
7514
7515 2014-06-17 Richard Biener <rguenther@suse.de>
7516
7517 * tree-switch-conversion.c (collect_switch_conv_info): Simplify
7518 and allow all blocks to be forwarders.
7519
7520 2014-06-17 Yufeng Zhang <yufeng.zhang@arm.com>
7521
7522 PR target/61483
7523 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
7524 variable 'size'; calculate 'size' right in the front; use
7525 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
7526 pcum->aapcs_stack_words.
7527
7528 2014-06-17 Nick Clifton <nickc@redhat.com>
7529
7530 * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
7531 (umulhi3, mulsidi3, umulsidi3): Likewise.
7532
7533 2014-06-17 Thomas Schwinge <thomas@codesourcery.com>
7534
7535 PR middle-end/61508
7536 * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
7537 check for section name.
7538
7539 2014-06-17 Richard Biener <rguenther@suse.de>
7540
7541 * tree-ssa-propagate.c: Include domwalk.h.
7542 (substitute_and_fold): Outline main worker into a domwalker ...
7543 (substitute_and_fold_dom_walker::before_dom_children): ... here.
7544 Schedule stmts we can fully propagate for removal. Remove
7545 poor-mans DCE.
7546 (substitute_and_fold): Apply a dominator walk to perform
7547 substitution. Process stmts scheduled for removal here.
7548
7549 2014-06-17 Richard Biener <rguenther@suse.de>
7550
7551 * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
7552 of PHI node moving.
7553
7554 2014-06-17 Kugan Vivekanandarajah <kuganv@linaro.org>
7555
7556 * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
7557 default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
7558 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
7559 __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
7560 * config/arm/vfp.md (set_fpscr): Make pattern conditional on
7561 TARGET_HARD_FLOAT.
7562 (get_fpscr) : Likewise.
7563
7564 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
7565
7566 PR rtl-optimization/61325
7567 * lra-constraints.c (valid_address_p): Add forward declaration.
7568 (simplify_operand_subreg): Check address validity before and after
7569 alter_reg of memory subreg.
7570
7571 2014-06-16 Uros Bizjak <ubizjak@gmail.com>
7572
7573 * config/i386/i386.c (decide_alg): Correctly handle
7574 maximum size of stringop algorithm.
7575
7576 2014-06-16 Yury Gribov <y.gribov@samsung.com>
7577
7578 * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
7579
7580 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
7581
7582 PR rtl-optimization/61522
7583 * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
7584
7585 2014-06-16 Jan Hubicka <hubicka@ucw.cz>
7586
7587 Revert:
7588 * symtab.c (symtab_node::reset_section): New method.
7589 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
7590 for localization.
7591 * cgraph.h (reset_section): Declare.
7592 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
7593 do not consider comdat locals.
7594 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
7595 for new symbol.
7596 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
7597 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
7598 reset sections of symbols dragged out of the comdats.
7599 (function_and_variable_visibility): Reset sections of
7600 localized symbols.
7601
7602 2014-06-16 Richard Biener <rguenther@suse.de>
7603
7604 PR tree-optimization/61482
7605 * tree-vrp.c (adjust_range_with_scev): Avoid setting of
7606 [-INF(OVF), +INF(OVF)] range.
7607
7608 2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7609
7610 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
7611 instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
7612 handling 32-bit multiplication.
7613
7614 2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
7615
7616 PR middle-end/61430
7617 * lra-lives.c (process_bb_lives): Skip creating copy during
7618 insn scan when src/dest has constrained to same regno.
7619
7620 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
7621
7622 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
7623 DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
7624
7625 2014-06-16 Yury Gribov <y.gribov@samsung.com>
7626
7627 * asan.c (check_func): New function.
7628 (maybe_create_ssa_name): Likewise.
7629 (build_check_stmt_with_calls): Likewise.
7630 (use_calls_p): Likewise.
7631 (report_error_func): Change interface.
7632 (build_check_stmt): Allow non-integer lengths; add support
7633 for new parameter.
7634 (asan_instrument): Likewise.
7635 (instrument_mem_region_access): Moved code to build_check_stmt.
7636 (instrument_derefs): Likewise.
7637 (instrument_strlen_call): Likewise.
7638 * cfgcleanup.c (old_insns_match_p): Add support for new functions.
7639 * doc/invoke.texi: Describe new parameter.
7640 * params.def: Define new parameter.
7641 * params.h: Likewise.
7642 * sanitizer.def: Describe new builtins.
7643
7644 2014-06-16 Richard Biener <rguenther@suse.de>
7645
7646 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
7647 Make all defs available at the end.
7648 (eliminate): If we remove a PHI node schedule cfg-cleanup.
7649
7650 2014-06-18 Jakub Jelinek <jakub@redhat.com>
7651
7652 PR plugins/45078
7653 * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
7654
7655 2014-06-16 Richard Sandiford <rdsandiford@googlemail.com>
7656
7657 PR bootstrap/61516
7658 * auto-inc-dec.c (merge_in_block): Fix location of insn_info
7659 initialization. Replace remaining use of uid.
7660
7661 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
7662
7663 * c-family/c-common.c (handle_tls_model_attribute): Use
7664 set_decl_tls_model.
7665 * c-family/c-common.c (handle_tls_model_attribute): Use
7666 set_decl_tls_model.
7667 * cgraph.h (struct varpool_node): Add tls_model.
7668 * tree.c (decl_tls_model, set_decl_tls_model): New functions.
7669 * tree.h (DECL_TLS_MODEL): Update.
7670 (DECL_THREAD_LOCAL_P): Check that variable is static.
7671 (decl_tls_model): Declare.
7672 (set_decl_tls_model): Declare.
7673 * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
7674 set symbol prorperties.
7675 (get_emutls_init_templ_addr): Cleanup.
7676 (new_emutls_decl): Update.
7677 * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
7678 (lto_input_varpool_node): Likewise.
7679 * lto-streamer-out.c (hash_tree): Likewise.
7680 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
7681 not stream DECL_TLS_MODEL.
7682 * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
7683 * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
7684
7685 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7686
7687 * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
7688
7689 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7690
7691 * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
7692 (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
7693 lists.
7694 (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
7695 (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
7696 (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
7697 (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
7698 (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
7699 (df_get_artificial_defs, df_get_artificial_uses)
7700 (df_single_def, df_single_use): Update accordingly.
7701 (df_refs_chain_dump): Take the first element in a linked list as
7702 parameter, rather than a pointer to an array of pointers.
7703 * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
7704 * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
7705 (df_chain_create_bb_process_use): Likewise.
7706 (df_md_bb_local_compute_process_def): Likewise.
7707 * fwprop.c (process_defs, process_uses): Likewise.
7708 (register_active_defs, update_uses): Likewise.
7709 (forward_propagate_asm): Update for new df_ref linking.
7710 * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
7711 (df_null_ref_rec, df_null_mw_rec): Likewise.
7712 (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
7713 explicitly.
7714 (df_scan_free_bb_info): Remove check for null artificial_defs.
7715 (df_install_ref_incremental): Adjust for new df_ref linking.
7716 Use a single-element insertion rather than a full sort.
7717 (df_ref_chain_delete_du_chain): Take the first element
7718 in a linked list as parameter, rather than a pointer to an array of
7719 pointers.
7720 (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
7721 (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
7722 (df_insn_info_delete): Remove check for null defs and call to
7723 df_scan_free_mws_vec.
7724 (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
7725 null rather than df_null_*_rec.
7726 (df_insn_rescan_debug_internal): Likewise, and update null
7727 checks in the same way. Remove check for null defs.
7728 (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
7729 Move a single element rather doing a full sort.
7730 (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
7731 linking.
7732 (df_notes_rescan): Likewise. Use a merge rather than a full sort.
7733 Initialize df_ref and df_mw_hardreg lists to null rather than
7734 df_null_*_rec.
7735 (df_ref_compare): Take df_refs as parameter, transferring the
7736 old interface to...
7737 (df_ref_ptr_compare): ...this new function.
7738 (df_sort_and_compress_refs): Update accordingly.
7739 (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
7740 old interface to...
7741 (df_mw_ptr_compare): ...this new function.
7742 (df_sort_and_compress_mws): Update accordingly.
7743 (df_install_refs, df_install_mws): Return a linked list rather than
7744 an array of pointers.
7745 (df_refs_add_to_chains): Assert that old lists are empty rather
7746 than freeing them.
7747 (df_insn_refs_verify): Don't handle null defs speciailly.
7748 * web.c (union_match_dups): Update for new df_ref linking.
7749
7750 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7751
7752 * df.h (df_ref_create, df_ref_remove): Delete.
7753 * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
7754 (df_ref_remove): Likewise.
7755
7756 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7757
7758 * df.h (df_single_def, df_single_use): New functions.
7759 * ira.c (find_moveable_pseudos): Use them.
7760
7761 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7762
7763 * df.h (FOR_EACH_INSN_INFO_MW): New macro.
7764 * df-problems.c (df_note_bb_compute): Use it.
7765 * regstat.c (regstat_bb_compute_ri): Likewise.
7766
7767 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7768
7769 * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
7770 * cse.c (cse_extended_basic_block): Use them.
7771 * dce.c (mark_artificial_use): Likewise.
7772 * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
7773 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
7774 (df_chain_remove_problem, df_chain_bb_dump): Likewise.
7775 (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
7776 (df_simulate_initialize_backwards): Likewise.
7777 (df_simulate_finalize_backwards): Likewise.
7778 (df_simulate_initialize_forwards): Likewise.
7779 (df_md_simulate_artificial_defs_at_top): Likewise.
7780 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
7781 * regrename.c (init_rename_info): Likewise.
7782 * regstat.c (regstat_bb_compute_ri): Likewise.
7783 (regstat_bb_compute_calls_crossed): Likewise.
7784
7785 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
7786
7787 * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
7788 (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
7789 (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
7790 * auto-inc-dec.c (find_inc, merge_in_block): Use them.
7791 * combine.c (create_log_links): Likewise.
7792 * compare-elim.c (find_flags_uses_in_insn): Likewise.
7793 (try_eliminate_compare): Likewise.
7794 * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
7795 * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
7796 (remove_reg_equal_equiv_notes_for_defs): Likewise.
7797 (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
7798 (word_dce_process_block, dce_process_block): Likewise.
7799 * ddg.c (def_has_ccmode_p): Likewise.
7800 * df-core.c (df_bb_regno_first_def_find): Likewise.
7801 (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
7802 * df-problems.c (df_rd_simulate_one_insn): Likewise.
7803 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
7804 (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
7805 (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
7806 (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
7807 (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
7808 (df_simulate_find_defs, df_simulate_find_uses): Likewise.
7809 (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
7810 (df_simulate_uses, df_md_simulate_one_insn): Likewise.
7811 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
7812 * fwprop.c (local_ref_killed_between_p): Likewise.
7813 (all_uses_available_at, free_load_extend): Likewise.
7814 * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
7815 * hw-doloop.c (scan_loop): Likewise.
7816 * ifcvt.c (dead_or_predicable): Likewise.
7817 * init-regs.c (initialize_uninitialized_regs): Likewise.
7818 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
7819 (process_bb_node_lives): Likewise.
7820 * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
7821 (find_moveable_pseudos): Likewise.
7822 * loop-invariant.c (check_dependencies, record_uses): Likewise.
7823 * recog.c (peep2_find_free_register): Likewise.
7824 * ree.c (get_defs): Likewise.
7825 * regstat.c (regstat_bb_compute_ri): Likewise.
7826 (regstat_bb_compute_calls_crossed): Likewise.
7827 * sched-deps.c (find_inc, find_mem): Likewise.
7828 * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
7829 (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
7830 * shrink-wrap.c (requires_stack_frame_p): Likewise.
7831 (prepare_shrink_wrap): Likewise.
7832 * store-motion.c (compute_store_table, build_store_vectors): Likewise.
7833 * web.c (union_defs, pass_web::execute): Likewise.
7834 * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
7835 (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
7836
7837 2014-06-13 Vladimir Makarov <vmakarov@redhat.com>
7838
7839 * lra-assign.c (assign_by_spills): Add code to assign vector regs
7840 to inheritance pseudos.
7841 * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
7842
7843 2014-06-13 Peter Bergner <bergner@vnet.ibm.com>
7844
7845 PR target/61415
7846 * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
7847 (BU_MISC_2): Rename to ...
7848 (BU_LDBL128_2): ... this.
7849 * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
7850 (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
7851 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
7852 RS6000_BTM_LDBL128.
7853 (rs6000_invalid_builtin): Add long double 128-bit builtin support.
7854 (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
7855 * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
7856 (unpacktf_1): Likewise.
7857 * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
7858 (__builtin_longdouble_dw1): Likewise.
7859 * doc/sourcebuild.texi (longdouble128): Document.
7860
7861 2014-06-13 Jeff Law <law@redhat.com>
7862
7863 PR rtl-optimization/61094
7864 PR rtl-optimization/61446
7865 * ree.c (combine_reaching_defs): Get the mode for the copy from
7866 the extension insn rather than the defining insn.
7867
7868 2014-06-13 Dehao Chen <dehao@google.com>
7869
7870 * dwarf2out.c (add_linkage_name): Emit more linkage name.
7871
7872 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
7873
7874 * doc/install.texi (--enable-linker-plugin-configure-flags)
7875 (--enable-linker-plugin-flags): Document new flags.
7876
7877 2014-06-13 Martin Jambor <mjambor@suse.cz>
7878
7879 PR ipa/61186
7880 * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
7881 cache_token if returning early.
7882
7883 2014-06-13 Nick Clifton <nickc@redhat.com>
7884
7885 * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
7886 requested alignment is active.
7887 (LABEL_ALIGN): Likewise.
7888 (LOOP_ALIGN): Likewise.
7889
7890 2014-06-13 Richard Biener <rguenther@suse.de>
7891
7892 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
7893 Rewrite to propagate the VN result into all uses where
7894 possible and to remove stmts becoming dead because of that.
7895 (eliminate): Generalize stmt removal handling, remove in
7896 reverse dominator order to support proper debug stmt
7897 generation. Update stmts before removing stmts.
7898 * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
7899
7900 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
7901
7902 PR tree-optimization/61375
7903 * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
7904 symbolic number cannot be represented in an uint64_t.
7905 (find_bswap_or_nop_1): Likewise.
7906
7907 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
7908
7909 * symtab.c (symtab_node::reset_section): New method.
7910 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
7911 for localization.
7912 * cgraph.h (reset_section): Declare.
7913 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
7914 do not consider comdat locals.
7915 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
7916 for new symbol.
7917 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
7918 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
7919 reset sections of symbols dragged out of the comdats.
7920 (function_and_variable_visibility): Reset sections of
7921 localized symbols.
7922
7923 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
7924
7925 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
7926 to use symtab and decl_binds_to_current_def_p
7927 * tree-vectorizer.c (increase_alignment): Increase alignment
7928 of alias target, too.
7929
7930 2014-06-12 Jakub Jelinek <jakub@redhat.com>
7931
7932 PR middle-end/61486
7933 * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
7934 (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
7935 if outer combined construct is distribute.
7936 (gimplify_omp_for): For OMP_DISTRIBUTE set
7937 gimplify_omp_ctxp->distribute.
7938 * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
7939 GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
7940 mapping into decl map.
7941
7942 2014-06-12 Jason Merrill <jason@redhat.com>
7943
7944 * common.opt (fabi-version): Change default to 0.
7945
7946 2014-06-12 Jason Merrill <jason@redhat.com>
7947
7948 * toplev.c (process_options): Reject -fabi-version=1.
7949
7950 2014-06-12 Jeff Law <law@redhat.com>
7951
7952 PR tree-optimization/61009
7953 * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
7954 value when we stop processing a block due to problematic PHIs.
7955
7956 2014-06-12 Alan Lawrence <alan.lawrence@arm.com>
7957
7958 * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
7959 vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
7960 vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
7961 vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
7962 vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
7963 vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
7964 vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
7965 are not in the spec.
7966
7967 2014-06-10 Alan Lawrence <alan.lawrence@arm.com>
7968
7969 PR target/59843
7970 * config/aarch64/aarch64-modes.def: Add V1DFmode.
7971 * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
7972 Support V1DFmode.
7973
7974 2014-06-12 Eric Botcazou <ebotcazou@adacore.com>
7975
7976 * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
7977
7978 2014-06-12 Georg-Johann Lay <avr@gjlay.de>
7979
7980 PR target/61443
7981 * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
7982 loading from address spaces.
7983
7984 2014-06-12 Martin Liska <mliska@suse.cz>
7985
7986 PR ipa/61462
7987 * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
7988 statement is reachable.
7989
7990 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
7991
7992 * symtab.c (section_hash): New hash.
7993 (symtab_unregister_node): Clear section before freeing.
7994 (hash_section_hash_entry): New haser.
7995 (eq_sections): New function.
7996 (symtab_node::set_section_for_node): New method.
7997 (set_section_1): Update.
7998 (symtab_node::set_section): Take string instead of tree as parameter.
7999 (symtab_resolve_alias): Update.
8000 * cgraph.h (section_hash_entry_d): New structure.
8001 (section_hash_entry): New typedef.
8002 (cgraph_node): Change comdat_group_ to x_comdat_group,
8003 change section_ to x_section and turn into section_hash_entry;
8004 update accestors; put set_section_for_node offline.
8005 * tree.c (decl_section_name): Turn into string.
8006 (set_decl_section_name): Change parameter to be string.
8007 * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
8008 * sdbout.c (sdbout_one_type): Update.
8009 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
8010 * varasm.c (IN_NAMED_SECTION, get_named_section,
8011 resolve_unique_section, hot_function_section, get_named_text_section,
8012 USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
8013 make_decl_rtl, default_unique_section): Update.
8014 * config/c6x/c6x.c (c6x_in_small_data_p): Update.
8015 (c6x_elf_unique_section): Update.
8016 * config/nios2/nios2.c (nios2_in_small_data_p): Update.
8017 * config/pa/pa.c (pa_function_section): Update.
8018 * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
8019 * config/ia64/ia64.c (ia64_in_small_data_p): Update.
8020 * config/arc/arc.c (arc_in_small_data_p): Update.
8021 * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
8022 * config/mcore/mcore.c (mcore_unique_section): Update.
8023 * config/mips/mips.c (mips16_build_function_stub): Update.
8024 (mips16_build_call_stub): Update.
8025 (mips_function_rodata_section): Update.
8026 (mips_in_small_data_p): Update.
8027 * config/score/score.c (score_in_small_data_p): Update.
8028 * config/rx/rx.c (rx_in_small_data): Update.
8029 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
8030 (rs6000_xcoff_asm_named_section): Update.
8031 (rs6000_xcoff_unique_section): Update.
8032 * config/frv/frv.c (frv_string_begins_with): Update.
8033 (frv_in_small_data_p): Update.
8034 * config/v850/v850.c (v850_encode_data_area): Update.
8035 * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
8036 (bfin_handle_l1_data_attribute): Update.
8037 (bfin_handle_l2_attribute): Update.
8038 * config/mep/mep.c (mep_unique_section): Update.
8039 * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
8040 Update.
8041 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
8042 (h8300_handle_tiny_data_attribute): Update.
8043 * config/m32r/m32r.c (m32r_in_small_data_p): Update.
8044 (m32r_in_small_data_p): Update.
8045 * config/alpha/alpha.c (alpha_in_small_data_p): Update.
8046 * config/i386/i386.c (ix86_in_large_data_p): Update.
8047 * config/i386/winnt.c (i386_pe_unique_section): Update.
8048 * config/darwin.c (darwin_function_section): Update.
8049 * config/lm32/lm32.c (lm32_in_small_data_p): Update.
8050 * tree-emutls.c (get_emutls_init_templ_addr): Update.
8051 (new_emutls_decl): Update.
8052 * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
8053 input_varpool_node): Update.
8054 (ead_string_cst): Turn to ...
8055 (read_string): ... this one.
8056 * dwarf2out.c (secname_for_decl): Update.
8057 * asan.c (asan_protect_global): Update.
8058
8059 2014-06-11 DJ Delorie <dj@redhat.com>
8060
8061 * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
8062 cache lines.
8063 * config/rx/rx.c (rx_option_override): Likewise.
8064 (rx_align_for_label): Likewise.
8065
8066 * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
8067
8068 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
8069
8070 * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
8071 prototype.
8072
8073 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8074
8075 * common.md: New file.
8076 * doc/md.texi: Update description of generic, machine-independent
8077 constraints.
8078 * config/s390/constraints.md (e): Delete.
8079 * Makefile.in (md_file): Include common.md.
8080 * config/m32c/t-m32c (md_file): Likewise.
8081 * genpreds.c (general_mem): New array.
8082 (generic_constraint_letters): Remove constraints now defined by
8083 common.md.
8084 (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
8085 Allow the first character to be '<' or '>' as well.
8086 * genoutput.c (general_mem): New array.
8087 (indep_constraints): Remove constraints now defined by common.md.
8088 (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
8089 Remove special handling of 'm'.
8090 * ira-costs.c (record_reg_classes): Remove special handling of
8091 constraints now defined by common.md.
8092 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
8093 * ira-lives.c (single_reg_class): Likewise.
8094 (ira_implicitly_set_insn_hard_regs): Likewise.
8095 * lra-constraints.c (reg_class_from_constraints): Likewise.
8096 (process_alt_operands, process_address, curr_insn_transform): Likewise.
8097 * postreload.c (reload_cse_simplify_operands): Likewise.
8098 * reload.c (push_secondary_reload, scratch_reload_class)
8099 (find_reloads, alternative_allows_const_pool_ref): Likewise.
8100 * reload1.c (maybe_fix_stack_asms): Likewise.
8101 * targhooks.c (default_secondary_reload): Likewise.
8102 * stmt.c (parse_output_constraint): Likewise.
8103 * recog.c (preprocess_constraints): Likewise.
8104 (constrain_operands, peep2_find_free_register): Likewise.
8105 (asm_operand_ok): Likewise, but add a comment saying why 'o'
8106 must be handled specially.
8107
8108 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8109
8110 * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
8111 * genpreds.c (have_const_dbl_constraints): Delete.
8112 (add_constraint): Don't set it.
8113 (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
8114 * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
8115 constraints using the lookup_constraint logic.
8116 * ira-lives.c (single_reg_class): Likewise.
8117 * ira.c (ira_setup_alts): Likewise.
8118 * lra-constraints.c (process_alt_operands): Likewise.
8119 * recog.c (asm_operand_ok, constrain_operands): Likewise.
8120 * reload.c (find_reloads): Likewise.
8121
8122 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8123
8124 * genpreds.c (const_int_start, const_int_end): New variables.
8125 (choose_enum_order): Output CONST_INT constraints before memory
8126 constraints.
8127 (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
8128 Add CT_CONST_INT.
8129 * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
8130 * ira.c (ira_setup_alts): Likewise.
8131 * lra-constraints.c (process_alt_operands): Likewise.
8132 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
8133 * reload.c (find_reloads): Likewise.
8134
8135 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8136
8137 * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
8138 decmem_ok and incmem_ok. Reformat other bitfields for consistency.
8139 * recog.c (preprocess_constraints): Update accordingly.
8140
8141 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8142
8143 * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
8144 (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
8145 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
8146 * genpreds.c (print_type_tree): New function.
8147 (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
8148 REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
8149 EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
8150 Write out enum constraint_type and get_constraint_type.
8151 * lra-constraints.c (satisfies_memory_constraint_p): Take a
8152 constraint_num rather than a constraint string.
8153 (satisfies_address_constraint_p): Likewise.
8154 (reg_class_from_constraints): Avoid old constraint macros.
8155 (process_alt_operands, process_address_1): Likewise.
8156 (curr_insn_transform): Likewise.
8157 * ira-costs.c (record_reg_classes): Likewise.
8158 (record_operand_costs): Likewise.
8159 * ira-lives.c (single_reg_class): Likewise.
8160 (ira_implicitly_set_insn_hard_regs): Likewise.
8161 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
8162 * postreload.c (reload_cse_simplify_operands): Likewise.
8163 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
8164 (constrain_operands, peep2_find_free_register): Likewise.
8165 * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
8166 (find_reloads, alternative_allows_const_pool_ref): Likewise.
8167 * reload1.c (maybe_fix_stack_asms): Likewise.
8168 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
8169 * targhooks.c (default_secondary_reload): Likewise.
8170 * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
8171 to EXTRA_CONSTRAINT_STR.
8172 * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
8173
8174 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8175
8176 * genpreds.c (write_constraint_satisfied_p_1): Replace with...
8177 (write_constraint_satisfied_p_array): ...this new function.
8178 (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
8179 an array.
8180 (write_insn_preds_c): Update accordingly.
8181
8182 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8183
8184 * genpreds.c (write_lookup_constraint): Rename to...
8185 (write_lookup_constraint_1): ...this.
8186 (write_lookup_constraint_array): New function.
8187 (write_tm_preds_h): Define lookup_constraint as an inline function
8188 that uses write_lookup_constraint_array where possible.
8189 (write_insn_preds_c): Update for the changes above.
8190
8191 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
8192
8193 * doc/md.texi (regclass_for_constraint): Rename to...
8194 (reg_class_for_constraint): ...this.
8195 * genpreds.c (num_constraints, enum_order, register_start)
8196 (register_end, satisfied_start, memory_start, memory_end)
8197 (address_start, address_end): New variables.
8198 (add_constraint): Count the number of constraints.
8199 (choose_enum_order): New function.
8200 (write_enum_constraint_num): Iterate over enum_order.
8201 (write_regclass_for_constraint): Rename to...
8202 (write_reg_class_for_constraint_1): ...this and update output
8203 accordingly.
8204 (write_constraint_satisfied_p): Rename to...
8205 (write_constraint_satisfied_p_1): ...this and update output
8206 accordingly. Do nothing if all extra constraints are register
8207 constraints.
8208 (write_insn_extra_memory_constraint): Delete.
8209 (write_insn_extra_address_constraint): Delete.
8210 (write_range_function): New function.
8211 (write_tm_preds_h): Define constraint_satisfied_p and
8212 reg_class_for_constraint as inline functions that do a range check
8213 before calling the out-of-line function. Use write_range_function
8214 to implement insn_extra_{register,memory,address}_constraint,
8215 the first of which is new.
8216 (write_insn_preds_c): Update after above changes to write_* functions.
8217 (main): Call choose_enum_order.
8218
8219 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
8220
8221 PR tree-optimization/61306
8222 * tree-ssa-math-opts.c (struct symbolic_number): Store type of
8223 expression instead of its size.
8224 (do_shift_rotate): Adapt to change in struct symbolic_number. Return
8225 false to prevent optimization when the result is unpredictable due to
8226 arithmetic right shift of signed type with highest byte is set.
8227 (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
8228 (init_symbolic_number): Likewise.
8229 (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
8230 when the result is unpredictable due to sign extension.
8231
8232 2014-06-11 Terry Guo <terry.guo@arm.com>
8233
8234 * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
8235 (*thumb1_addsi3): Ditto.
8236 (*thumb_subdi3): Ditto.
8237 (thumb1_subsi3_insn): Ditto.
8238 (*thumb_mulsi3): Ditto.
8239 (*thumb_mulsi3_v6): Ditto.
8240 (*thumb1_andsi3_insn): Ditto.
8241 (thumb1_bicsi3): Ditto.
8242 (*thumb1_iorsi3_insn): Ditto.
8243 (*thumb1_xorsi3_insn): Ditto.
8244 (*thumb1_ashlsi3): Ditto.
8245 (*thumb1_ashrsi3): Ditto.
8246 (*thumb1_lshrsi3): Ditto.
8247 (*thumb1_rotrsi3): Ditto.
8248 (*thumb1_negdi2): Ditto.
8249 (*thumb1_negsi2): Ditto.
8250 (*thumb1_abssi2): Ditto.
8251 (*thumb1_neg_abssi2): Ditto.
8252 (*thumb1_one_cmplsi2): Ditto.
8253 (*thumb1_zero_extendhisi2): Ditto.
8254 (*thumb1_zero_extendqisi2): Ditto.
8255 (*thumb1_zero_extendqisi2_v6): Ditto.
8256 (thumb1_extendhisi2): Ditto.
8257 (thumb1_extendqisi2): Ditto.
8258 (*thumb1_movdi_insn): Ditto.
8259 (*thumb1_movsi_insn): Ditto.
8260 (*thumb1_movhi_insn): Ditto.
8261 (thumb_movhi_clobber): Ditto.
8262 (*thumb1_movqi_insn): Ditto.
8263 (*thumb1_movhf): Ditto.
8264 (*thumb1_movsf_insn): Ditto.
8265 (*thumb_movdf_insn): Ditto.
8266 (movmem12b): Ditto.
8267 (movmem8b): Ditto.
8268 (cbranchqi4): Ditto.
8269 (cbranchsi4_insn): Ditto.
8270 (cbranchsi4_scratch): Ditto.
8271 (*negated_cbranchsi4): Ditto.
8272 (*tbit_cbranch): Ditto.
8273 (*tlobits_cbranch): Ditto.
8274 (*tstsi3_cbranch): Ditto.
8275 (*cbranchne_decr1): Ditto.
8276 (*addsi3_cbranch): Ditto.
8277 (*addsi3_cbranch_scratch): Ditto.
8278 (*thumb_cmpdi_zero): Ditto.
8279 (cstoresi_eq0_thumb1): Ditto.
8280 (cstoresi_ne0_thumb1): Ditto.
8281 (*cstoresi_eq0_thumb1_insn): Ditto.
8282 (*cstoresi_ne0_thumb1_insn): Ditto.
8283 (cstoresi_nltu_thumb1): Ditto.
8284 (cstoresi_ltu_thumb1): Ditto.
8285 (thumb1_addsi3_addgeu): Ditto.
8286 (*thumb_jump): Ditto.
8287 (*call_reg_thumb1_v5): Ditto.
8288 (*call_reg_thumb1): Ditto.
8289 (*call_value_reg_thumb1_v5): Ditto.
8290 (*call_value_reg_thumb1): Ditto.
8291 (*call_insn): Ditto.
8292 (*call_value_insn): Ditto.
8293 (thumb1_casesi_internal_pic): Ditto.
8294 (thumb1_casesi_dispatch): Ditto.
8295 (*thumb1_indirect_jump): Ditto.
8296 (prologue_thumb1_interwork): Ditto.
8297 (*epilogue_insns): Ditto.
8298 (consttable_1): Ditto.
8299 (consttable_2): Ditto.
8300 (tablejump): Ditto.
8301 (*thumb1_tablejump): Ditto.
8302 (thumb_eh_return): Ditto.
8303 (define_peephole2): Two of them are thumb1 only and got moved into
8304 new file thumb1.md.
8305 (define_split): Six of them are thumb1 only and got moved into new
8306 file thumb1.md.
8307 * config/arm/thumb1.md: New file comprised of above thumb1 only
8308 patterns.
8309
8310 2014-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8311
8312 * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
8313 * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
8314 dependencies.
8315 * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
8316 (aarch64_crc_builtin_datum): New struct.
8317 (aarch64_crc_builtin_data): New.
8318 (aarch64_init_crc32_builtins): New function.
8319 (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
8320 (aarch64_crc32_expand_builtin): New.
8321 (aarch64_expand_builtin): Add CRC32 builtin expansion case.
8322 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
8323 __ARM_FEATURE_CRC32 when appropriate.
8324 (TARGET_CRC32): Define.
8325 * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
8326 UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
8327 UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
8328 (aarch64_<crc_variant>): New pattern.
8329 * config/aarch64/arm_acle.h: New file.
8330 * config/aarch64/iterators.md (CRC): New int iterator.
8331 (crc_variant, crc_mode): New int attributes.
8332 * doc/aarch64-acle-intrinsics.texi: New file.
8333 * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
8334 Include aarch64-acle-intrinsics.texi.
8335
8336 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com>
8337
8338 * tree-vect-data-refs.c (vect_grouped_store_supported): New
8339 check for stores group of length 3.
8340 (vect_permute_store_chain): New permutations for stores group of
8341 length 3.
8342 * tree-vect-stmts.c (vect_model_store_cost): Change cost
8343 of vec_perm_shuffle for the new permutations.
8344
8345 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
8346
8347 * ipa-visibility.c (function_and_variable_visibility): Disable virtual
8348 table rewriting temporarily on targets not supporting ONE_ONLY.
8349
8350 2014-06-11 Richard Biener <rguenther@suse.de>
8351
8352 PR middle-end/61437
8353 Revert
8354 2014-06-04 Richard Biener <rguenther@suse.de>
8355
8356 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
8357 TREE_PUBLIC and DECL_EXTERNAL decls.
8358
8359 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
8360
8361 * varasm.c (set_implicit_section): New function.
8362 (resolve_unique_section): Use it to set implicit section
8363 for aliases, too.
8364 (get_named_text_section): Use symtab_get_node (decl)->implicit_section
8365 (default_function_section): Likewise.
8366 (decl_binds_to_current_def_p): Constify argument.
8367 * varasm.h (decl_binds_to_current_def_p): Update prototype.
8368 * asan.c (asan_protect_global): Use
8369 symtab_get_node (decl)->implicit_section.
8370 * symtab.c (dump_symtab_base): Dump implicit sections.
8371 (verify_symtab_base): Verify sanity of sectoins and comdats.
8372 (symtab_resolve_alias): Alias share the section of its target.
8373 (set_section_1): New function.
8374 (symtab_node::set_section): Move here, recurse to aliases.
8375 (verify_symtab): Check for duplicated symtab lists.
8376 * tree-core.h (implicit_section_name_p): Remove.
8377 * tree-vect-data-refs.c: Include varasm.h.
8378 (vect_can_force_dr_alignment_p): Fix conditional on when
8379 decl bints to current definition; use
8380 symtab_get_node (decl)->implicit_section.
8381 * cgraph.c (cgraph_make_node_local_1): Fix section set.
8382 * cgraph.h (struct symtab_node): Add implicit_section.
8383 (set_section): Rename to ...
8384 (set_section_for_node): ... this one.
8385 (set_section): Declare.
8386 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
8387 * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
8388 input_overwrite_node, input_varpool_node): Stream implicit_section.
8389 * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
8390 removal; it will fail in LTO.
8391
8392 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8393
8394 * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
8395 Change second alternative type to f_mcr.
8396 * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
8397 and 12th alternatives' types to f_mcr and f_mrc.
8398 (*movdi_aarch64): Same for 12th and 13th alternatives.
8399 (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
8400 (aarch64_movtilow_tilow): Change type to fmov.
8401
8402 2014-06-10 Jiong Wang <jiong.wang@arm.com>
8403
8404 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
8405 (aarch64_save_or_restore_callee_save_registers): Fix layout.
8406
8407 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8408
8409 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
8410 New expander.
8411 (aarch64_sqrdmulh_lane<mode>): Likewise.
8412 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
8413 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
8414 (aarch64_sqdmulh_laneq<mode>): New expander.
8415 (aarch64_sqrdmulh_laneq<mode>): Likewise.
8416 (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
8417 (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
8418 (aarch64_sqdmulh_lane<mode>): New expander.
8419 (aarch64_sqrdmulh_lane<mode>): Likewise.
8420 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
8421 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
8422 (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
8423 (aarch64_sqdmlal_laneq<mode>): Likewise.
8424 (aarch64_sqdmlsl_lane<mode>): Likewise.
8425 (aarch64_sqdmlsl_laneq<mode>): Likewise.
8426 (aarch64_sqdmlal2_lane<mode>): Likewise.
8427 (aarch64_sqdmlal2_laneq<mode>): Likewise.
8428 (aarch64_sqdmlsl2_lane<mode>): Likewise.
8429 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
8430 (aarch64_sqdmull_lane<mode>): Likewise.
8431 (aarch64_sqdmull_laneq<mode>): Likewise.
8432 (aarch64_sqdmull2_lane<mode>): Likewise.
8433 (aarch64_sqdmull2_laneq<mode>): Likewise.
8434
8435 2014-06-10 Richard Biener <rguenther@suse.de>
8436
8437 PR tree-optimization/61438
8438 * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
8439 (eliminate_dom_walker::before_dom_children): Only try to inhibit
8440 insertion of IVs if running PRE.
8441 (eliminate): Adjust.
8442 (pass_pre::execute): Likewise.
8443 (pass_fre::execute): Likewise.
8444
8445 2014-06-10 Richard Biener <rguenther@suse.de>
8446
8447 PR middle-end/61456
8448 * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
8449 Do not use the main variant for the type comparison.
8450 (ncr_compar): Likewise.
8451 (nonoverlapping_component_refs_p): Likewise.
8452
8453 2014-06-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
8454
8455 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
8456 REG_CFA_RESTORE mode.
8457
8458 2014-06-10 Evgeny Stupachenko <evstupac@gmail.com>
8459
8460 * config/i386/i386.c (expand_vec_perm_pblendv): New.
8461 * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
8462 expand_vec_perm_pblendv.
8463
8464 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8465
8466 * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
8467 available.
8468 Simplify description of __crc32d and __crc32cd intrinsics.
8469 * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
8470 availability.
8471
8472 2014-06-10 Thomas Schwinge <thomas@codesourcery.com>
8473
8474 PR lto/61334
8475 * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
8476 * config.in: Regenerate.
8477 * configure: Likewise.
8478
8479 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
8480
8481 * ipa-reference.c (is_proper_for_analysis): Exclude addressable
8482 and public vars.
8483 (intersect_static_var_sets): Remove.
8484 (propagate): Do not prune local statics.
8485
8486 2014-06-10 Jakub Jelinek <jakub@redhat.com>
8487
8488 PR fortran/60928
8489 * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
8490 Set lastprivate_firstprivate even if omp_private_outer_ref
8491 langhook returns true.
8492 <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
8493 langhook, call unshare_expr on new_var and call
8494 build_outer_var_ref to get the last argument.
8495
8496 2014-06-10 Marek Polacek <polacek@redhat.com>
8497
8498 PR c/60988
8499 * doc/extend.texi: Add cindex for transparent_union.
8500
8501 2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
8502
8503 * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
8504 init_symbolic_number ().
8505
8506 2014-05-18 John David Anglin <danglin@gcc.gnu.org>
8507
8508 PR middle-end/61141
8509 * emit-rtl.c (reset_all_used_flags): In a sequence, check that
8510 XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
8511 (verify_rtl_sharing): Likewise.
8512
8513 2014-06-09 Marc Glisse <marc.glisse@inria.fr>
8514
8515 PR c++/54442
8516 * tree.c (build_qualified_type): Use a canonical type for
8517 TYPE_CANONICAL.
8518
8519 2014-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8520
8521 * config/arm/arm-modes.def: Remove XFmode.
8522
8523 2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
8524
8525 PR target/61062
8526 * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
8527 vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
8528 vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
8529 vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
8530 vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
8531 vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
8532 vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
8533 vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
8534 vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
8535
8536 2014-06-09 Jan Hubicka <hubicka@ucw.cz>
8537
8538 * tree-core.h (tree_decl_with_vis): Remove section_name.
8539
8540 2014-06-09 Kito Cheng <kito@0xlab.org>
8541
8542 * ira.c (ira): Don't call init_caller_save if LRA enabled
8543 since LRA use its own infrastructure to handle that.
8544
8545 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
8546
8547 * symtab.c (dump_symtab_base): Update dumping.
8548 (symtab_make_decl_local): Clear only DECL_COMDAT.
8549 * tree-vect-data-refs.c (Check that variable is static before
8550 tampering with sections.
8551 * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
8552 (cgraph_create_virtual_clone): Likewise.
8553 * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
8554 (decl_section_name, set_decl_section_name): New accessors.
8555 (find_decls_types_r): Do not walk section name
8556 * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
8557 (decl_comdat_group, decl_comdat_group_id): Constify.
8558 (decl_section_name, set_decl_section_name): Update.
8559 * varpool.c (varpool_finalize_named_section_flags): Use get_section.
8560 * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
8561 (cgraph_make_node_local_1): Clear section and comdat group.
8562 * cgraph.h (set_comdat_group): Sanity check.
8563 (get_section, set_section): New.
8564 * ipa-comdats.c (ipa_comdats): Use get_section.
8565 * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
8566 * lto-streamer-out.c: Do not follow section names.
8567 * c-family/c-common.c (handle_section_attribute): Update.
8568 * lto-cgraph.c (lto_output_node): Output section.
8569 (lto_output_varpool_node): Likewise.
8570 (read_comdat_group): Rename to ...
8571 (read_identifier): ... this one.
8572 (read_string_cst): New function.
8573 (input_node, input_varpool_node): Input section names.
8574 * tree-emutls.c (get_emutls_init_templ_addr): Update.
8575 (new_emutls_decl): Update.
8576 (secname_for_decl): Check section names only of static vars.
8577 * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
8578 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
8579 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
8580 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
8581 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
8582 * config/mcore/mcore.c (mcore_unique_section): Likewise.
8583 * config/mips/mips.c (mips16_build_function_stub): Likewise.
8584 * config/v850/v850.c (v850_insert_attributes): Likewise.
8585 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
8586 Likewise.
8587 (h8300_handle_tiny_data_attribute): Likewise.
8588 * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
8589 (bfin_handle_l2_attribute): Likewise.
8590
8591 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
8592
8593 * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
8594 remove static initializer.
8595
8596 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
8597
8598 * varasm.c (use_blocks_for_decl_p): Check symbol table
8599 instead of alias attribute.
8600 (place_block_symbol): Recurse on aliases.
8601
8602 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
8603
8604 * ipa-visibility.c: Include varasm.h
8605 (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
8606
8607 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
8608
8609 * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
8610 outputting aliases.
8611
8612 2014-06-07 Steven Bosscher <steven@gcc.gnu.org>
8613
8614 * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
8615 from test_insn into GGC space escape via SET_SRC.
8616
8617 2014-06-07 Eric Botcazou <ebotcazou@adacore.com>
8618
8619 * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
8620 call statement, if any.
8621 (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
8622 statements, if any. Tidy up.
8623
8624 2014-06-06 Michael Meissner <meissner@linux.vnet.ibm.com>
8625
8626 PR target/61431
8627 * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
8628 iterators, VSX_D that handles 64-bit types, and VSX_LE that
8629 handles swapping the two 64-bit double words on little endian
8630 systems. Include V1TImode and optionally TImode in VSX_LE so that
8631 these types are properly swapped. Change all of the insns and
8632 splits that do the 64-bit swaps to use VSX_LE.
8633 (vsx_le_perm_load_<mode>): Likewise.
8634 (vsx_le_perm_store_<mode>): Likewise.
8635 (splitters for little endian memory operations): Likewise.
8636 (vsx_xxpermdi2_le_<mode>): Likewise.
8637 (vsx_lxvd2x2_le_<mode>): Likewise.
8638 (vsx_stxvd2x2_le_<mode>): Likewise.
8639
8640 2014-06-06 Uros Bizjak <ubizjak@gmail.com>
8641
8642 PR target/61423
8643 * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
8644 define_insn_and_split pattern, merged from *floatunssi<mode>2_1
8645 and corresponding splitters. Zero extend general register
8646 or memory input operand to XMM temporary. Enable for
8647 TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
8648 (floatunssi<mode>2): Update expander predicate.
8649
8650 2014-06-06 Vladimir Makarov <vmakarov@redhat.com>
8651
8652 PR rtl-optimization/61325
8653 * lra-constraints.c (process_address_1): Check scale equal to one
8654 to prevent transformation: base + scale * index => base + new_reg.
8655
8656 2014-06-06 Richard Biener <rguenther@suse.de>
8657
8658 PR tree-optimization/59299
8659 * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
8660 a def operand.
8661 (nearest_common_dominator_of_uses): Likewise.
8662 (statement_sink_location): Adjust. Support sinking loads.
8663
8664 2014-06-06 Martin Jambor <mjambor@suse.cz>
8665
8666 * ipa-prop.c (get_place_in_agg_contents_list): New function.
8667 (build_agg_jump_func_from_list): Likewise.
8668 (determine_known_aggregate_parts): Renamed to
8669 determine_locally_known_aggregate_parts. Moved some functionality
8670 to the two functions above, removed bound checks.
8671
8672 2014-06-06 James Greenhalgh <james.greenhalgh@arm.com>
8673
8674 * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
8675 * config/aarch64/aarch64.c (aarch64_move_pointer): New.
8676 (aarch64_progress_pointer): Likewise.
8677 (aarch64_copy_one_part_and_move_pointers): Likewise.
8678 (aarch64_expand_movmen): Likewise.
8679 * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
8680 * config/aarch64/aarch64.md (movmem<mode>): New.
8681
8682 2014-06-06 Bingfeng Mei <bmei@broadcom.com>
8683
8684 * targhooks.c (default_add_stmt_cost): Call target specific
8685 hook instead of default one.
8686
8687 2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8688
8689 * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
8690 endianness instead of host endianness.
8691 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
8692 comments.
8693
8694 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
8695
8696 PR debug/53927
8697 * function.c (instantiate_decls): Process the saved static chain.
8698 (expand_function_start): If not optimizing, save the static chain
8699 onto the stack.
8700 * tree-nested.c (convert_all_function_calls): Always create the static
8701 chain for nested functions if not optimizing.
8702
8703 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
8704
8705 * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
8706
8707 2014-06-06 Richard Biener <rguenther@suse.de>
8708
8709 * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
8710 (construct_init_block): Likewise.
8711 (construct_exit_block): Likewise.
8712 (pass_expand::execute): Likewise.
8713 * graphite.c (graphite_transforms): Replace check for current_loops
8714 with a check for > 1 loops.
8715 (pass_graphite_transforms::execute): Adjust.
8716 * ipa-split.c (split_function): Remove check for current_loops.
8717 * omp-low.c (expand_parallel_call): Likewise.
8718 (expand_omp_for_init_counts): Likewise.
8719 (extract_omp_for_update_vars): Likewise.
8720 (expand_omp_for_generic): Likewise.
8721 (expand_omp_sections): Likewise.
8722 (expand_omp_target): Likewise.
8723 * tracer.c (tail_duplicate): Likewise.
8724 (pass_tracer::execute): Likewise.
8725 * trans-mem.c (expand_transaction): Likewise.
8726 * tree-complex.c (expand_complex_div_wide): Likewise.
8727 * tree-eh.c (lower_resx): Likewise.
8728 (cleanup_empty_eh_merge_phis): Likewise.
8729 * tree-predcom.c (run_tree_predictive_commoning): Replace check for
8730 current_loops with a check for > 1 loops.
8731 (pass_predcom::execute): Adjust.
8732 * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
8733 * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
8734 * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
8735 * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
8736 * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
8737 * tree-switch-conversion.c (process_switch): Likewise.
8738 * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
8739 * tree-vrp.c (vrp_visit_phi_node): Likewise.
8740 (execute_vrp): Likewise.
8741 * ubsan.c (ubsan_expand_null_ifn): Likewise.
8742
8743 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
8744
8745 * rtl.h (insn_location): Declare.
8746 * cfgcleanup.c (try_forward_edges): Compare the locus of locations
8747 with UNKNOWN_LOCATION.
8748 * emit-rtl.c (insn_location): New function.
8749 * final.c (notice_source_line): Check that the instruction has a
8750 location before retrieving it and use insn_location.
8751 * modulo-sched.c (loop_single_full_bb_p): Likewise.
8752 * print-rtl.c (print_rtx): Likewise.
8753
8754 2014-06-06 Richard Biener <rguenther@suse.de>
8755
8756 * passes.def: Move 2nd VRP pass before phi-only-cprop.
8757
8758 2014-06-06 Christian Bruel <christian.bruel@st.com>
8759
8760 PR tree-optimization/43934
8761 * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
8762 cost.
8763
8764 2014-06-06 Richard Sandiford <rdsandiford@googlemail.com>
8765
8766 * ira-lives.c (single_reg_class): Add missing break. Explicitly
8767 return NO_REGS for extra address and memory constraints. Handle
8768 operands that match (or are equivalent to something that matches)
8769 extra constant constraints. Ignore other non-register operands.
8770
8771 2014-06-06 Alan Modra <amodra@gmail.com>
8772
8773 PR target/61300
8774 * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
8775 * doc/tm.texi: Regenerate.
8776 * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
8777 Use throughout in place of REG_PARM_STACK_SPACE.
8778 * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
8779 "incoming" param. Pass to rs6000_function_parms_need_stack.
8780 (rs6000_function_parms_need_stack): Add "incoming" param, ignore
8781 prototype_p when incoming. Use function decl when incoming
8782 to handle K&R style functions.
8783 * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
8784 (INCOMING_REG_PARM_STACK_SPACE): Define.
8785
8786 2014-06-05 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
8787
8788 PR target/52472
8789 * cfgexpand.c (expand_debug_expr): Use address space of nested
8790 TREE_TYPE for ADDR_EXPR and MEM_REF.
8791
8792 2014-06-05 Jeff Law <law@redhat.com>
8793
8794 PR tree-optimization/61289
8795 * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
8796 DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES
8797 looking for those which match LHS. All callers changed.
8798 (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
8799 parameters and code which manipulated them. All callers changed.
8800 (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
8801 and DST_MAP parameters. Simplify invalidation code by just calling
8802 invalidate_equivalences. All callers changed.
8803 (thread_across_edge): Simplify now that we don't need to maintain
8804 the map of equivalences to invalidate.
8805
8806 2014-06-05 Kai Tietz <ktietz@redhat.com>
8807 Richard Henderson <rth@redhat.com>
8808
8809 PR target/46219
8810 * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
8811 checking for !TARGET_X32.
8812 * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
8813 (sibcall_intern): New define_insn, plus required peepholes.
8814 (sibcall_pop_intern): Likewise.
8815 (sibcall_value_intern): Likewise.
8816 (sibcall_value_pop_intern): Likewise.
8817
8818 2014-06-05 Ilya Enkovich <ilya.enkovich@intel.com>
8819
8820 * tree-inline.c (tree_function_versioning): Check DF info existence
8821 before accessing it.
8822
8823 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
8824
8825 * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
8826 frame_size.
8827 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
8828 aarch64_frame hard_fp_offset and frame_size.
8829 (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
8830 frame_size; remove original_frame_size.
8831 (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
8832 (aarch64_initial_elimination_offset): Remove frame_size and
8833 offset. Use aarch64_frame frame_size.
8834
8835 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
8836 Jiong Wang <jiong.wang@arm.com>
8837 Renlin <renlin.li@arm.com>
8838
8839 * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
8840 initialization of R30 offset. Update offset. Iterate core
8841 regisers upto X30. Remove X29, X30 specific code.
8842
8843 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
8844 Jiong Wang <jiong.wang@arm.com>
8845
8846 * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
8847 (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
8848 (aarch64_register_saved_on_entry): Adjust test.
8849
8850 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
8851
8852 * config/aarch64/aarch64.h (machine_function): Move
8853 saved_varargs_size from here...
8854 (aarch64_frame): ... to here.
8855
8856 * config/aarch64/aarch64.c (aarch64_expand_prologue)
8857 (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
8858 (aarch64_initial_elimination_offset)
8859 (aarch64_setup_incoming_varargs): Adjust location of
8860 saved_varargs_size.
8861
8862 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
8863
8864 * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
8865 layout comment.
8866
8867 2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com>
8868 Prachi Godbole <Prachi.Godbole@imgtec.com>
8869
8870 * config/mips/mips-cpus.def: Add definition for p5600. Updated
8871 mips32r5 entry to use PROCESSOR_P5600.
8872 * config/mips/mips-tables.opt: Regenerate.
8873 * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
8874 * config/mips/mips.c (mips_fmadd_bypass): New function.
8875 (mips_rtx_cost_data): Add costs for p5600.
8876 (mips_issue_rate): Add support for p5600.
8877 (mips_multipass_dfa_lookahead): Likewise.
8878 * config/mips/mips.h (TUNE_P5600): New define.
8879 (TUNE_MACC_CHAINS): Add TUNE_P5600.
8880 (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
8881 * config/mips/mips.md: Include p5600.md.
8882 (processor): Add p5600.
8883 * config/mips/p5600.md: New file.
8884
8885 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com>
8886
8887 * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
8888 * config/i386/predicates.md (palignr_operand): New.
8889 Indicates if permutation is suitable for palignr instruction.
8890
8891 2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
8892
8893 PR tree-optimization/61319
8894 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
8895 stmt belongs to loop.
8896
8897 2014-06-05 Richard Biener <rguenther@suse.de>
8898
8899 * gimplify.c (create_tmp_from_val): Remove is_formal parameter
8900 and set DECL_GIMPLE_REG_P unconditionally if appropriate.
8901 (lookup_tmp_var): Adjust.
8902 (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
8903
8904 2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8905
8906 * config/arm/arm.md (enabled): Disable opt_enabled attribute.
8907
8908 2014-06-05 Marek Polacek <polacek@redhat.com>
8909
8910 PR c/49706
8911 * doc/invoke.texi: Document -Wlogical-not-parentheses.
8912
8913 2014-06-04 Tom de Vries <tom@codesourcery.com>
8914
8915 * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
8916 CONST_INT.
8917
8918 2014-06-04 Marc Glisse <marc.glisse@inria.fr>
8919
8920 PR tree-optimization/61385
8921 * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
8922
8923 2014-06-04 Bernd Schmidt <bernds@codesourcery.com>
8924
8925 * lto-wrapper.c (fatal, fatal_perror): Remove functions. All callers
8926 changed to use fatal_error.
8927 (main): Ensure lto_wrapper_cleanup is run atexit.
8928
8929 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
8930
8931 * lra-constraints.c (valid_address_p): Move earlier in file.
8932 (address_eliminator): New structure.
8933 (satisfies_memory_constraint_p): New function.
8934 (satisfies_address_constraint_p): Likewise.
8935 (process_alt_operands, process_address, curr_insn_transform): Use them.
8936
8937 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
8938
8939 * lra-int.h (lra_static_insn_data): Make operand_alternative a
8940 const pointer.
8941 (target_lra_int, default_target_lra_int, this_target_lra_int)
8942 (op_alt_data): Delete.
8943 * lra.h (lra_init): Delete.
8944 * lra.c (default_target_lra_int, this_target_lra_int): Delete.
8945 (init_insn_code_data_once): Remove op_alt_data handling.
8946 (finish_insn_code_data_once): Likewise.
8947 (init_op_alt_data): Delete.
8948 (get_static_insn_data): Initialize operand_alternative to null.
8949 (free_insn_recog_data): Cast operand_alternative before freeing it.
8950 (setup_operand_alternative): Take the operand_alternative as
8951 parameter and assume it isn't already cached in the static
8952 insn data.
8953 (lra_set_insn_recog_data): Update accordingly.
8954 (lra_init): Delete.
8955 * ira.c (ira_init): Don't call lra_init.
8956 * target-globals.h (this_target_lra_int): Declare.
8957 (target_globals): Remove lra_int.
8958 (restore_target_globals): Update accordingly.
8959 * target-globals.c: Don't include lra-int.h.
8960 (default_target_globals, save_target_globals): Remove lra_int.
8961
8962 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
8963
8964 * recog.h (operand_alternative): Convert reg_class, reject,
8965 matched and matches into bitfields.
8966 (preprocess_constraints): New overload.
8967 (preprocess_insn_constraints): New function.
8968 (preprocess_constraints): Take the insn as parameter.
8969 (recog_op_alt): Change into a pointer.
8970 (target_recog): Add x_op_alt.
8971 * recog.c (asm_op_alt): New variable.
8972 (recog_op_alt): Change into a pointer.
8973 (preprocess_constraints): New overload, replacing the old function
8974 definition with one that doesn't use global state.
8975 (preprocess_insn_constraints): New function.
8976 (preprocess_constraints): Use them. Take the insn as parameter.
8977 Use asm_op_alt for asms.
8978 (recog_init): Free existing x_op_alt entries.
8979 * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
8980 pointer const.
8981 (make_early_clobber_and_input_conflicts): Likewise.
8982 (process_bb_node_lives): Pass the insn to process_constraints.
8983 * reg-stack.c (check_asm_stack_operands): Likewise.
8984 (subst_asm_stack_regs): Likewise.
8985 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
8986 * regrename.c (build_def_use): Likewise.
8987 * sched-deps.c (sched_analyze_insn): Likewise.
8988 * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
8989 * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
8990 (note_invalid_constants): Likewise.
8991 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
8992 (ix86_legitimate_combined_insn): Make operand_alternative pointer
8993 const.
8994
8995 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
8996
8997 * recog.c (preprocess_constraints): Don't skip disabled alternatives.
8998 * ira-lives.c (check_and_make_def_conflict): Check for disabled
8999 alternatives.
9000 (make_early_clobber_and_input_conflicts): Likewise.
9001 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
9002
9003 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
9004
9005 * recog.h (alternative_class): New function.
9006 (which_op_alt): Return a const recog_op_alt.
9007 * reg-stack.c (check_asm_stack_operands): Update type accordingly.
9008 (subst_asm_stack_regs): Likewise.
9009 * config/arm/arm.c (note_invalid_constants): Likewise.
9010 * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify
9011 the operand_alternative; use alternative class instead.
9012 * sel-sched.c (get_reg_class): Likewise.
9013 * regrename.c (build_def_use): Likewise.
9014 (hide_operands, restore_operands, record_out_operands): Update type
9015 accordingly.
9016
9017 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
9018
9019 * recog.h (recog_op_alt): Convert to a flat array.
9020 (which_op_alt): New function.
9021 * recog.c (recog_op_alt): Convert to a flat array.
9022 (preprocess_constraints): Update accordingly, grouping all
9023 operands of the same alternative together, rather than the
9024 other way around.
9025 * ira-lives.c (check_and_make_def_conflict): Likewise.
9026 (make_early_clobber_and_input_conflicts): Likewise.
9027 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
9028 * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
9029 (subst_asm_stack_regs): Likewise.
9030 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
9031 * regrename.c (hide_operands, record_out_operands): Likewise.
9032 (build_def_use): Likewise.
9033 * sel-sched.c (get_reg_class): Likewise.
9034 * config/arm/arm.c (note_invalid_constants): Likewise.
9035
9036 2014-06-04 Jason Merrill <jason@redhat.com>
9037
9038 PR c++/51253
9039 PR c++/61382
9040 * gimplify.c (gimplify_arg): Non-static.
9041 * gimplify.h: Declare it.
9042
9043 2014-06-04 Richard Biener <rguenther@suse.de>
9044
9045 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
9046 TREE_PUBLIC and DECL_EXTERNAL decls.
9047
9048 2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com>
9049
9050 * regcprop.c (copyprop_hardreg_forward_1): Account for
9051 HARD_REGNO_CALL_PART_CLOBBERED.
9052
9053 2014-06-04 Richard Biener <rguenther@suse.de>
9054
9055 * configure.ac: Check whether the underlying type of int64_t
9056 is long or long long.
9057 * configure: Regenerate.
9058 * config.in: Likewise.
9059 * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
9060 (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
9061
9062 2014-06-04 Richard Biener <rguenther@suse.de>
9063
9064 PR tree-optimization/60098
9065 * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
9066 we hit a kill.
9067 (dse_optimize_stmt): Simplify, now that we found a kill
9068 earlier.
9069
9070 2014-06-04 Richard Biener <rguenther@suse.de>
9071
9072 * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
9073 of accesses with non-invariant address.
9074
9075 2014-06-04 Martin Liska <mliska@suse.cz>
9076
9077 * cgraph.h (cgraph_make_wrapper): New function introduced.
9078 * cgraphunit.c (cgraph_make_wrapper): The function implementation.
9079 * ipa-inline.h (inline_analyze_function): The function is global.
9080 * ipa-inline-analysis.c (inline_analyze_function): Likewise.
9081
9082 2014-06-04 Martin Liska <mliska@suse.cz>
9083
9084 * tree.h (private_lookup_attribute_starting): New function.
9085 (lookup_attribute_starting): Likewise.
9086 * tree.c (private_lookup_attribute_starting): Likewise.
9087
9088 2014-06-04 Martin Liska <mliska@suse.cz>
9089
9090 * cgraph.h (expand_thunk): New argument added.
9091 (address_taken_from_non_vtable_p): New global function.
9092 * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
9093 * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
9094 * cgraphunit.c (analyze_function): Likewise.
9095 (assemble_thunks_and_aliases): Argument added to call.
9096 (expand_thunk): New argument forces to produce GIMPLE thunk.
9097
9098 2014-06-04 Martin Liska <mliska@suse.cz>
9099
9100 * coverage.h (coverage_compute_cfg_checksum): Argument added.
9101 * coverage.c (coverage_compute_cfg_checksum): Likewise.
9102 * profile.c (branch_prob): Likewise.
9103
9104 2014-06-04 Martin Jambor <mjambor@suse.cz>
9105
9106 PR ipa/61340
9107 * ipa-pure-const.c (propagate_pure_const): Add unreachable default
9108 handler for switch on an ipa_ref_use enum.
9109 * ipa-reference.c (analyze_function): Likewise.
9110
9111 2014-06-04 Kai Tietz <ktietz@redhat.com>
9112
9113 * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
9114 from old call-instruction.
9115
9116 2014-06-04 Bin Cheng <bin.cheng@arm.com>
9117
9118 * config/aarch64/aarch64.c (aarch64_classify_address)
9119 (aarch64_legitimize_reload_address): Support full addressing modes
9120 for vector modes.
9121 * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
9122 (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
9123
9124 2014-06-03 Andrew Pinski <apinski@cavium.com>
9125
9126 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
9127 for OP0.
9128
9129 2014-06-03 Andrew Pinski <apinski@cavium.com>
9130
9131 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
9132 (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
9133
9134 2014-06-03 Kai Tietz <ktietz@redhat.com>
9135
9136 * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
9137 for 64-bit ms-abi.
9138
9139 2014-06-03 Dehao Chen <dehao@google.com>
9140
9141 * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
9142 the same loop.
9143
9144 2014-06-03 Marek Polacek <polacek@redhat.com>
9145
9146 PR c/60439
9147 * doc/invoke.texi: Document -Wswitch-bool.
9148 * function.c (stack_protect_epilogue): Cast controlling expression of
9149 the switch to int.
9150 * gengtype.c (walk_type): Generate switch expression with its
9151 controlling expression cast to int.
9152
9153 2014-06-03 Vishnu K S <Vishnu.k_s@atmel.com>
9154
9155 * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
9156 and attiny841.
9157 * config/avr/avr-tables.opt: Regenerate.
9158 * config/avr/t-multilib: Regenerate.
9159 * doc/avr-mmcu.texi: Regenerate.
9160
9161 2014-06-03 Vishnu K S <vishnu.k_s@atmel.com>
9162 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
9163
9164 * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
9165 (ata6617c, ata664251): Add new avr35 devices.
9166 (ata6612c): Add new avr4 device.
9167 (ata6613c, ata6614q): Add new avr5 devices.
9168 * config/avr/avr-tables.opt: Regenerate.
9169 * config/avr/t-multilib: Regenerate.
9170 * doc/avr-mmcu.texi: Regenerate.
9171
9172 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
9173
9174 * gcc/config/aarch64/aarch64-builtins.c
9175 (aarch64_types_binop_ssu_qualifiers): New static data.
9176 (TYPES_BINOP_SSU): Define.
9177 * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
9178 urshr_n, ushll_n): Use appropriate unsigned qualifiers.
9179 * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
9180 vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
9181 vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
9182 vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
9183 vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
9184 vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
9185 vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
9186 suffix to builtin function name, remove cast.
9187 (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
9188 vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
9189 vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
9190
9191 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
9192
9193 * gcc/config/aarch64/aarch64-builtins.c
9194 (aarch64_types_binop_uus_qualifiers,
9195 aarch64_types_shift_to_unsigned_qualifiers,
9196 aarch64_types_unsigned_shiftacc_qualifiers): Define.
9197 * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
9198 uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
9199 sqshlu_n, uqshl_n): Update qualifiers.
9200 * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
9201 vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
9202 vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
9203 vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
9204 vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
9205 vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
9206 vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
9207 vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
9208 vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
9209 vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
9210 vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
9211 vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
9212 vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
9213 vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
9214 vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
9215 vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
9216 vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
9217 vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
9218 vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
9219 vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
9220 vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
9221 vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
9222 vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
9223 vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
9224 vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
9225 vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
9226 vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
9227
9228 2014-06-03 Teresa Johnson <tejohnson@google.com>
9229
9230 * tree-sra.c (modify_function): Record caller nodes after rebuild.
9231
9232 2014-06-02 Jason Merrill <jason@redhat.com>
9233
9234 PR c++/61020
9235 * varpool.c (ctor_for_folding): Handle uninitialized vtables.
9236
9237 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
9238
9239 * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
9240 location == 0.
9241
9242 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
9243
9244 * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
9245 New pattern.
9246 * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
9247 (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
9248 * config/aarch64/iterators.md (REVERSE): New iterator.
9249 (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
9250 (rev_op): New int_attribute.
9251 * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
9252 vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
9253 vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
9254 vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
9255 vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
9256 vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
9257 vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
9258 Replace temporary __asm__ with __builtin_shuffle.
9259
9260 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
9261
9262 * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
9263 mips64r5.
9264 * config/mips/mips-tables.opt: Regenerate.
9265 * config/mips/mips.c (mips_compute_frame_info): Changed if statement
9266 to use mips_isa_rev rather than ISA_MIPS32R2.
9267 * config/mips/mips.h (ISA_MIPS32R3): New define.
9268 (ISA_MIPS32R5): New define.
9269 (ISA_MIPS64R3): New define.
9270 (ISA_MIPS64R5): New define.
9271 (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
9272 ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
9273 (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
9274 and mips64r5.
9275 (MIPS_ISA_SYNCI_SPEC): Likewise.
9276 (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
9277 (LINK_SPEC): Added mips32r3 and mips32r5.
9278 * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
9279 to mips32r2; and mips64r3 and mips64r5 to mips64r2.
9280 * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
9281 * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
9282 * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
9283 * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
9284 * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
9285
9286 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
9287
9288 * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
9289 options.
9290 * config/mips/mips.opt (mxpa): New option.
9291 * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
9292 assembler.
9293
9294 2014-06-03 Martin Jambor <mjambor@suse.cz>
9295
9296 PR ipa/61160
9297 * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
9298 thunks.
9299
9300 2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
9301
9302 PR tree-optimization/61328
9303 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
9304 initialization from find_bswap_or_nop_1.
9305 (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
9306 in source_expr2 before using the size value the function sets. Also
9307 make use of init_symbolic_number () in both the old place and
9308 find_bswap_or_nop_load () to avoid reading uninitialized memory when
9309 doing recursion in the GIMPLE_BINARY_RHS case.
9310
9311 2014-06-03 Richard Biener <rguenther@suse.de>
9312
9313 PR tree-optimization/61383
9314 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
9315 stmts can't trap.
9316
9317 2014-06-03 Richard Sandiford <rdsandiford@googlemail.com>
9318
9319 * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
9320 (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
9321 (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
9322 (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
9323 in this file.
9324 (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
9325 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
9326 * system.h: ...here and make it unconditional.
9327 * target.def (conditional_register_usage): Mention
9328 define_register_constraint instead of old-style constraint macros.
9329 * doc/tm.texi.in: Remove documentation for old-style constraint macros.
9330 * doc/tm.texi: Regenerate.
9331 * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
9332 protected by !USE_MD_CONSTRAINTS.
9333 * config/frv/frv.md: Remove quote from old version of documentation.
9334 * config/frv/frv.c (frv_conditional_register_usage): Likewise.
9335 * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
9336 CONST_DOUBLE_OK_FOR_LETTER.
9337 * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
9338
9339 2014-06-02 Andrew Pinski <apinski@cavium.com>
9340
9341 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
9342 /lib/ld-linux32-aarch64.so.1 is used for ILP32.
9343 (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
9344 file whose name depends on -mabi= and -mbig-endian.
9345 * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
9346 Handle LP64 better and handle ilp32 too.
9347 (MULTILIB_OPTIONS): Delete.
9348 (MULTILIB_DIRNAMES): Delete.
9349
9350 2014-06-02 Andrew MacLeod <amacleod@redhat.com>
9351
9352 * expr.h: Remove prototypes of functions defined in builtins.c.
9353 * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
9354 Remove prototypes of functions defined in builtins.c.
9355 * builtins.h: Update prototype list to include all exported functions.
9356 * builtins.c: (default_libc_has_function, gnu_libc_has_function,
9357 no_c99_libc_has_function): Move to targhooks.c
9358 (build_string_literal, build_call_expr_loc_array,
9359 build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
9360 to tree.c.
9361 (expand_builtin_object_size, fold_builtin_object_size): Make static.
9362 * targhooks.c (default_libc_has_function, gnu_libc_has_function,
9363 no_c99_libc_has_function): Relocate from builtins.c.
9364 * tree.c: Include builtins.h.
9365 (build_call_expr_loc_array, build_call_expr_loc_vec,
9366 build_call_expr_loc, build_call_expr, build_string_literal): Relocate
9367 from builtins.c.
9368 * fold-const.h (fold_fma): Move prototype to builtins.h.
9369 * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
9370 * asan.c: Include builtins.h.
9371 * cfgexpand.c: Likewise.
9372 * convert.c: Likewise.
9373 * emit-rtl.c: Likewise.
9374 * except.c: Likewise.
9375 * expr.c: Likewise.
9376 * fold-const.c: Likewise.
9377 * gimple-fold.c: Likewise.
9378 * gimple-ssa-strength-reduction.c: Likewise.
9379 * gimplify.c: Likewise.
9380 * ipa-inline.c: Likewise.
9381 * ipa-prop.c: Likewise.
9382 * lto-streamer-out.c: Likewise.
9383 * stmt.c: Likewise.
9384 * tree-inline.c: Likewise.
9385 * tree-object-size.c: Likewise.
9386 * tree-sra.c: Likewise.
9387 * tree-ssa-ccp.c: Likewise.
9388 * tree-ssa-forwprop.c: Likewise.
9389 * tree-ssa-loop-ivcanon.c: Likewise.
9390 * tree-ssa-loop-ivopts.c: Likewise.
9391 * tree-ssa-math-opts.c: Likewise.
9392 * tree-ssa-reassoc.c: Likewise.
9393 * tree-ssa-threadedge.c: Likewise.
9394 * tree-streamer-in.c: Likewise.
9395 * tree-vect-data-refs.c: Likewise.
9396 * tree-vect-patterns.c: Likewise.
9397 * tree-vect-stmts.c: Likewise.
9398 * config/aarch64/aarch64.c: Likewise.
9399 * config/alpha/alpha.c: Likewise.
9400 * config/arc/arc.c: Likewise.
9401 * config/arm/arm.c: Likewise.
9402 * config/avr/avr.c: Likewise.
9403 * config/bfin/bfin.c: Likewise.
9404 * config/c6x/c6x.c: Likewise.
9405 * config/cr16/cr16.c: Likewise.
9406 * config/cris/cris.c: Likewise.
9407 * config/epiphany/epiphany.c: Likewise.
9408 * config/fr30/fr30.c: Likewise.
9409 * config/frv/frv.c: Likewise.
9410 * config/h8300/h8300.c: Likewise.
9411 * config/i386/i386.c: Likewise.
9412 * config/i386/winnt.c: Likewise.
9413 * config/ia64/ia64.c: Likewise.
9414 * config/iq2000/iq2000.c: Likewise.
9415 * config/lm32/lm32.c: Likewise.
9416 * config/m32c/m32c.c: Likewise.
9417 * config/m32r/m32r.c: Likewise.
9418 * config/m68k/m68k.c: Likewise.
9419 * config/mcore/mcore.c: Likewise.
9420 * config/mep/mep.c: Likewise.
9421 * config/microblaze/microblaze.c: Likewise.
9422 * config/mips/mips.c: Likewise.
9423 * config/mmix/mmix.c: Likewise.
9424 * config/mn10300/mn10300.c: Likewise.
9425 * config/moxie/moxie.c: Likewise.
9426 * config/msp430/msp430.c: Likewise.
9427 * config/nds32/nds32.c: Likewise.
9428 * config/pa/pa.c: Likewise.
9429 * config/pdp11/pdp11.c: Likewise.
9430 * config/picochip/picochip.c: Likewise.
9431 * config/rl78/rl78.c: Likewise.
9432 * config/rs6000/rs6000.c: Likewise.
9433 * config/rx/rx.c: Likewise.
9434 * config/s390/s390.c: Likewise.
9435 * config/score/score.c: Likewise.
9436 * config/sh/sh.c: Likewise.
9437 * config/sparc/sparc.c: Likewise.
9438 * config/spu/spu.c: Likewise.
9439 * config/stormy16/stormy16.c: Likewise.
9440 * config/tilegx/tilegx.c: Likewise.
9441 * config/tilepro/tilepro.c: Likewise.
9442 * config/v850/v850.c: Likewise.
9443 * config/vax/vax.c: Likewise.
9444 * config/xtensa/xtensa.c: Likewise.
9445
9446 2014-06-02 Jeff Law <law@redhat.com>
9447
9448 PR rtl-optimization/61094
9449 * ree.c (combine_reaching_defs): Do not reextend an insn if it
9450 was marked as do_no_reextend. If a copy is needed to eliminate
9451 an extension, then mark it as do_not_reextend.
9452
9453 2014-06-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
9454
9455 * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
9456
9457 2014-06-02 Richard Henderson <rth@redhat.com>
9458
9459 PR target/61336
9460 * config/alpha/alpha.c (print_operand_address): Allow symbolic
9461 addresses inside asms. Use output_operand_lossage instead of
9462 gcc_unreachable.
9463
9464 2014-06-02 Uros Bizjak <ubizjak@gmail.com>
9465
9466 PR target/61239
9467 * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
9468 GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
9469
9470 2014-06-02 Tom de Vries <tom@codesourcery.com>
9471
9472 * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
9473 case that x has VOIDmode.
9474
9475 2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
9476
9477 * varasm.c (copy_constant): Delete function.
9478 (build_constant_desc): Don't call it.
9479
9480 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9481
9482 PR target/61154
9483 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
9484 * config/arm/arm.md (mov64 splitter): Replace const_double_operand
9485 with immediate_operand.
9486
9487 2014-06-02 Andreas Schwab <schwab@suse.de>
9488
9489 * config/ia64/ia64.c
9490 (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
9491 pending_data_specs first.
9492
9493 2014-06-02 Richard Biener <rguenther@suse.de>
9494
9495 PR tree-optimization/61378
9496 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
9497 valueized_anything.
9498
9499 2014-06-01 Uros Bizjak <ubizjak@gmail.com>
9500
9501 * config/i386/constraints.md (Bw): Rename from 'w'.
9502 (Bz): Rename from 'z'.
9503 * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
9504
9505 2014-06-01 Kai Tietz <ktietz@redhat.com>
9506
9507 PR target/61377
9508 * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
9509 * config/i386/i386.md (sibcall_insn_operand): Use Bs
9510 instead of m constraint.
9511
9512 2014-05-31 Andreas Schwab <schwab@linux-m68k.org>
9513
9514 * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
9515 a separate alternative where the scratch operand 2 is marked as
9516 early clobber.
9517
9518 2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org>
9519
9520 * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
9521 (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
9522 (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
9523 and __builtins_arm_get_fpscr.
9524 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
9525 __builtins_arm_get_fpscr.
9526 (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
9527 __builtins_arm_ldfpscr.
9528 (arm_atomic_assign_expand_fenv): New function.
9529 * config/arm/vfp.md (set_fpscr): New pattern.
9530 (get_fpscr) : Likewise.
9531 * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
9532 VUNSPEC_SET_FPSCR.
9533 * doc/extend.texi (AARCH64 Built-in Functions) : Document
9534 __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
9535
9536 2014-05-30 Jakub Jelinek <jakub@redhat.com>
9537
9538 * asan.c (report_error_func): Add SLOW_P argument, use
9539 BUILT_IN_ASAN_*_N if set.
9540 (build_check_stmt): Likewise.
9541 (instrument_derefs): If T has insufficient alignment,
9542 force same handling as for odd sizes.
9543
9544 * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
9545 BUILT_IN_ASAN_REPORT_STORE_N): New.
9546 * asan.c (struct asan_mem_ref): Change access_size type to
9547 HOST_WIDE_INT.
9548 (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
9549 update_mem_ref_hash_table): Likewise.
9550 (asan_mem_ref_hasher::hash): Hash in a HWI.
9551 (report_error_func): Change size_in_bytes argument to HWI.
9552 Use *_N builtins if size_in_bytes is larger than 16 or not power of
9553 two.
9554 (build_shadow_mem_access): New function.
9555 (build_check_stmt): Use it. Change size_in_bytes argument to HWI.
9556 Handle size_in_bytes not power of two or larger than 16.
9557 (instrument_derefs): Don't give up if size_in_bytes is not
9558 power of two or is larger than 16.
9559
9560 2014-05-30 Kai Tietz <ktietz@redhat.com>
9561
9562 PR target/60104
9563 * config/i386/i386.c (x86_output_mi_thunk): Add memory case
9564 for sibling-tail-calls.
9565 * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
9566 to its use.
9567 * config/i386/predicates.md (sibcall_memory_operand): New predicate.
9568 (sibcall_insn_operand): Add check for sibcall_memory_operand.
9569
9570 2014-05-30 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
9571
9572 * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
9573 * config/avr/avr-tables.opt: Regenerate.
9574 * config/avr/t-multilib: Regenerate.
9575 * doc/avr-mmcu.texi: Regenerate.
9576
9577 2014-05-30 Ian Lance Taylor <iant@google.com>
9578
9579 * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
9580 target("sse").
9581
9582 2014-05-30 Tom de Vries <tom@codesourcery.com>
9583
9584 * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
9585 Redefine as true.
9586
9587 2014-05-30 Tom de Vries <tom@codesourcery.com>
9588
9589 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
9590 * lra.c (initialize_lra_reg_info_element): Add init of
9591 actual_call_used_reg_set field.
9592 (lra): Call lra_create_live_ranges before lra_inheritance for
9593 -fuse-caller-save.
9594 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
9595 -fuse-caller-save.
9596 * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
9597 instead of call_used_reg_set for -fuse-caller-save.
9598 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
9599
9600 2014-05-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9601
9602 * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
9603 to mov_imm.
9604 * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
9605
9606 2014-05-30 Richard Sandiford <rdsandiford@googlemail.com>
9607
9608 * ira.c (ira_get_dup_out_num): Check for output operands at
9609 the start of the loop. Handle cases where an included alternative
9610 follows an excluded one.
9611
9612 2014-05-29 Mike Stump <mikestump@comcast.net>
9613
9614 PR debug/61352
9615 * collect2.c (maybe_run_lto_and_relink): Be sure to always run
9616 post ld passes when lto is used.
9617
9618 2014-05-29 Vladimir Makarov <vmakarov@redhat.com>
9619
9620 PR rtl-optimization/61325
9621 * lra-constraints.c (process_address): Rename to process_address_1.
9622 (process_address): New function.
9623
9624 2014-05-29 Alan Lawrence <alan.lawrence@arm.com>
9625
9626 * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
9627 TYPES_BINOPV): New static data.
9628 * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
9629 New builtin.
9630 * config/aarch64/aarch64-simd.md (aarch64_ext,
9631 aarch64_im_lane_boundsi): New patterns.
9632 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
9633 patterns for EXT.
9634 (aarch64_evpc_ext): New function.
9635
9636 * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
9637
9638 * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
9639 vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
9640 vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
9641 vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
9642 vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
9643
9644 2014-05-29 Tom de Vries <tom@codesourcery.com>
9645
9646 * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
9647
9648 2014-05-29 Richard Earnshaw <rearnsha@arm.com>
9649 Richard Sandiford <rdsandiford@googlemail.com>
9650
9651 * arm/iterators.md (shiftable_ops): New code iterator.
9652 (t2_binop0, arith_shift_insn): New code attributes.
9653 * arm/predicates.md (shift_nomul_operator): New predicate.
9654 * arm/arm.md (insn_enabled): Delete.
9655 (enabled): Remove insn_enabled test.
9656 (*arith_shiftsi): Delete. Replace with ...
9657 (*<arith_shift_insn>_multsi): ... new pattern.
9658 (*<arith_shift_insn>_shiftsi): ... new pattern.
9659 * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
9660
9661 2014-05-29 Radovan Obradovic <robradovic@mips.com>
9662 Tom de Vries <tom@codesourcery.com>
9663
9664 * config/mips/mips.h (POST_CALL_TMP_REG): Define.
9665 * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
9666 clobber.
9667 (mips_split_call): Use POST_CALL_TMP_REG.
9668 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
9669
9670 2014-05-29 Tom de Vries <tom@codesourcery.com>
9671
9672 * final.c (collect_fn_hard_reg_usage): Guard variable declaration
9673 with #ifdef STACK_REGS.
9674
9675 2014-05-28 Jan Hubicka <hubicka@ucw.cz>
9676
9677 * varasm.c (get_variable_section): Walk aliases.
9678 (place_block_symbol): Walk aliases.
9679
9680 2014-05-28 Tom de Vries <tom@codesourcery.com>
9681
9682 Revert:
9683 2014-05-28 Tom de Vries <tom@codesourcery.com>
9684
9685 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
9686 * lra.c (initialize_lra_reg_info_element): Add init of
9687 actual_call_used_reg_set field.
9688 (lra): Call lra_create_live_ranges before lra_inheritance for
9689 -fuse-caller-save.
9690 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
9691 -fuse-caller-save.
9692 * lra-constraints.c (need_for_call_save_p): Use
9693 actual_call_used_reg_set instead of call_used_reg_set for
9694 -fuse-caller-save.
9695 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
9696
9697 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
9698
9699 * doc/md.texi: Document that the % constraint character must
9700 be at the beginning of the string.
9701 * genoutput.c (validate_insn_alternatives): Check that '=',
9702 '+' and '%' only appear at the beginning of a constraint.
9703 * ira.c (commutative_constraint_p): Delete.
9704 (ira_get_dup_out_num): Expect the '%' commutativity marker to be
9705 at the start of the string.
9706 * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
9707 duplicate '='s.
9708 * config/arm/neon.md (bicdi3_neon): Likewise.
9709 * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
9710 (slt_si, sltu_si): Likewise.
9711 * config/vax/vax.md (sbcdi3): Likewise.
9712 * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
9713 * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
9714 (mul64): Move '%' to beginning of constraint.
9715 * config/arm/arm.md (*xordi3_insn): Likewise.
9716 * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
9717 (xorsi3): Likewise.
9718
9719 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
9720
9721 * doc/md.texi: Document the restrictions on the "enabled" attribute.
9722
9723 2014-05-28 Jason Merrill <jason@redhat.com>
9724
9725 PR c++/47202
9726 * cgraph.h (symtab_node::get_comdat_group_id): New.
9727 * cgraphunit.c (analyze_functions): Call it.
9728 * symtab.c (dump_symtab_node): Likewise.
9729 * tree.c (decl_comdat_group_id): New.
9730 * tree.h: Declare it.
9731 * lto-streamer-out.c (write_symbol): Use it.
9732 * trans-mem.c (ipa_tm_create_version_alias): Likewise.
9733
9734 2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
9735
9736 PR bootstrap/PR61146
9737 * wide-int.cc: Do not include longlong.h when compiling with clang.
9738
9739 2014-05-28 Richard Biener <rguenther@suse.de>
9740
9741 * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
9742 * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
9743 (vrp_visit_assignment_or_call): Print less vertical space.
9744 (vrp_visit_stmt): Likewise.
9745 (vrp_visit_phi_node): Likewise. For a PHI argument with
9746 VR_VARYING range consider recording it as copy.
9747
9748 2014-05-28 Richard Biener <rguenther@suse.de>
9749
9750 Revert
9751 2014-05-28 Richard Biener <rguenther@suse.de>
9752
9753 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
9754
9755 2014-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
9756
9757 * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
9758 sufficiently aligned and an offset is used at the same time.
9759 (expand_expr_real_1): Likewise.
9760
9761 2014-05-28 Richard Biener <rguenther@suse.de>
9762
9763 PR middle-end/61045
9764 * fold-const.c (fold_comparison): When folding
9765 X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
9766 the sign of the remaining constant operand stays the same.
9767
9768 2014-05-28 Kaushik Phatak <kaushik.phatak@kpit.com>
9769
9770 * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
9771 __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
9772 (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
9773 to the assembler.
9774 (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
9775 * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
9776 (m32bit-doubles) Likewise.
9777 * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
9778 * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
9779 option for RL78.
9780
9781 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9782
9783 * configure.ac ($gcc_cv_ld_clearcap): New test.
9784 * configure: Regenerate.
9785 * config.in: Regenerate.
9786 * config/sol2.opt (mclear-hwcap): New option.
9787 * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
9788 * config/sol2-clearcap.map: Moved here from
9789 testsuite/gcc.target/i386/clearcap.map.
9790 * config/sol2-clearcapv2.map: Move here from
9791 gcc.target/i386/clearcapv2.map.
9792 * config/t-sol2 (install): Depend on install-clearcap-map.
9793 (install-clearcap-map): New target.
9794 * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
9795 -mclear-hwcap.
9796
9797 2014-05-28 Richard Biener <rguenther@suse.de>
9798
9799 * hwint.h (*_HALF_WIDE_INT*): Move to ...
9800 * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
9801 ... here and remove the rest.
9802 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
9803
9804 2014-05-28 Richard Biener <rguenther@suse.de>
9805
9806 PR tree-optimization/61335
9807 * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
9808 new range fails, drop to varying.
9809
9810 2014-05-28 Olivier Hainque <hainque@adacore.com>
9811
9812 * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
9813 (CPP_SPEC): Add entry for -mcpu=8548.
9814 * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
9815 * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
9816
9817 2014-05-28 Tom de Vries <tom@codesourcery.com>
9818
9819 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
9820 * lra.c (initialize_lra_reg_info_element): Add init of
9821 actual_call_used_reg_set field.
9822 (lra): Call lra_create_live_ranges before lra_inheritance for
9823 -fuse-caller-save.
9824 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
9825 -fuse-caller-save.
9826 * lra-constraints.c (need_for_call_save_p): Use
9827 actual_call_used_reg_set instead of call_used_reg_set for
9828 -fuse-caller-save.
9829 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
9830
9831 2014-05-28 Radovan Obradovic <robradovic@mips.com>
9832 Tom de Vries <tom@codesourcery.com>
9833
9834 * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
9835 to gccoptlist.
9836 (@item -fuse-caller-save): New item.
9837
9838 2014-05-28 Radovan Obradovic <robradovic@mips.com>
9839 Tom de Vries <tom@codesourcery.com>
9840
9841 * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
9842 OPT_fuse_caller_save.
9843
9844 2014-05-28 Radovan Obradovic <robradovic@mips.com>
9845 Tom de Vries <tom@codesourcery.com>
9846
9847 * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
9848 * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
9849 get_call_reg_set_usage.
9850 * resource.c (mark_set_resources, mark_target_live_regs): Use
9851 get_call_reg_set_usage.
9852 * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
9853 field.
9854 (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
9855 * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
9856 Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
9857 * ira-build.c (ira_create_allocno): Init
9858 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
9859 (create_cap_allocno, propagate_allocno_info)
9860 (propagate_some_info_from_allocno)
9861 (copy_info_to_removed_store_destinations): Handle
9862 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
9863 * ira-costs.c (ira_tune_allocno_costs): Use
9864 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
9865
9866 2014-05-28 Radovan Obradovic <robradovic@mips.com>
9867 Tom de Vries <tom@codesourcery.com>
9868
9869 * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
9870 and function_used_regs_valid fields.
9871 * final.c: Move include of hard-reg-set.h to before rtl.h to declare
9872 find_all_hard_reg_sets.
9873 (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
9874 (get_call_reg_set_usage): New function.
9875 (rest_of_handle_final): Use collect_fn_hard_reg_usage.
9876 * regs.h (get_call_reg_set_usage): Declare.
9877
9878 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
9879
9880 PR libgcc/61152
9881 * config/dbx.h (License): Add Runtime Library Exception.
9882 * config/newlib-stdint.h (License): Same.
9883 * config/rtems.h (License): Same
9884 * config/initfini-array.h (License): Same
9885 * config/v850/v850.h (License): Same.
9886 * config/v850/v850-opts.h (License): Same
9887 * config/v850/rtems.h (License): Same.
9888
9889 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
9890
9891 PR target/61044
9892 * doc/extend.texi (Local Labels): Note that label differences are
9893 not supported for AVR.
9894
9895 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
9896 Olivier Hainque <hainque@adacore.com>
9897
9898 * rtl.h (set_for_reg_notes): Declare.
9899 * emit-rtl.c (set_for_reg_notes): New function.
9900 (set_unique_reg_note): Use it.
9901 * optabs.c (add_equal_note): Likewise
9902
9903 2014-05-27 Andrew Pinski <apinski@cavium.com>
9904
9905 * config/aarch64/aarch64.md (stack_protect_set_<mode>):
9906 Use <w> for the register in assembly template.
9907 (stack_protect_test): Use the mode of operands[0] for the result.
9908 (stack_protect_test_<mode>): Use <w> for the register
9909 in assembly template.
9910
9911 2014-05-27 DJ Delorie <dj@redhat.com>
9912
9913 * config/rx/rx.c (add_vector_labels): New.
9914 (rx_output_function_prologue): Call it.
9915 (rx_handle_func_attribute): Don't require empty arguments.
9916 (rx_handle_vector_attribute): New.
9917 (rx_attribute_table): Add "vector" attribute.
9918 * doc/extend.texi (interrupt, vector): Document new/changed
9919 RX-specific attributes.
9920
9921 * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
9922
9923 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
9924
9925 * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
9926 predicate to detect a negative quotient.
9927
9928 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
9929
9930 * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
9931 to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
9932 Add X - Y CMP 0 to X CMP Y transformation.
9933 (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
9934
9935 2014-05-27 Segher Boessenkool <segher@kernel.crashing.org>
9936
9937 * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
9938 before printing.
9939
9940 2014-05-27 Steve Ellcey <sellcey@mips.com>
9941
9942 * config/mips/mips.c: Add include of cgraph.h.
9943
9944 2014-05-27 Richard Biener <rguenther@suse.de>
9945
9946 * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
9947
9948 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
9949
9950 PR libgcc/61152
9951 * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
9952 * config/arm/arm-cores.def (License): Same.
9953 * config/arm/arm-opts.h (License): Same.
9954 * config/arm/aout.h (License): Same.
9955 * config/arm/bpabi.h (License): Same.
9956 * config/arm/elf.h (License): Same.
9957 * config/arm/linux-elf.h (License): Same.
9958 * config/arm/linux-gas.h (License): Same.
9959 * config/arm/netbsd-elf.h (License): Same.
9960 * config/arm/uclinux-eabi.h (License): Same.
9961 * config/arm/uclinux-elf.h (License): Same.
9962 * config/arm/vxworks.h (License): Same.
9963
9964 2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9965
9966 * config/arm/neon.md (neon_bswap<mode>): New pattern.
9967 * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
9968 (arm_init_neon_builtins): Handle NEON_BSWAP.
9969 Define required type nodes.
9970 (arm_expand_neon_builtin): Handle NEON_BSWAP.
9971 (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
9972 * config/arm/arm_neon_builtins.def (bswap): Define builtins.
9973 * config/arm/iterators.md (VDQHSD): New mode iterator.
9974
9975 2014-05-27 Richard Biener <rguenther@suse.de>
9976
9977 * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
9978 Try using literal operands when comparing value-ranges failed.
9979
9980 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
9981
9982 * ira.c (commutative_operand): Adjust for change to recog_data.
9983 [Missing from previous commit.]
9984
9985 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
9986
9987 * system.h (TEST_BIT): New macro.
9988 * recog.h (alternative_mask): New type.
9989 (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
9990 (recog_data_d): Replace alternative_enabled_p array with
9991 enabled_alternatives.
9992 (target_recog): New structure.
9993 (default_target_recog, this_target_recog): Declare.
9994 (get_enabled_alternatives, recog_init): Likewise.
9995 * recog.c (default_target_recog, this_target_recog): New variables.
9996 (get_enabled_alternatives): New function.
9997 (extract_insn): Use it.
9998 (recog_init): New function.
9999 (preprocess_constraints, constrain_operands): Adjust for change to
10000 recog_data.
10001 * postreload.c (reload_cse_simplify_operands): Likewise.
10002 * reload.c (find_reloads): Likewise.
10003 * ira-costs.c (record_reg_classes): Likewise.
10004 * ira-lives.c (single_reg_class): Likewise. Fix bug in which
10005 all alternatives after a disabled one would be skipped.
10006 (ira_implicitly_set_insn_hard_regs): Likewise.
10007 * ira.c (ira_setup_alts): Adjust for change to recog_data.
10008 * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
10009 with enabled_alternatives.
10010 * lra.c (free_insn_recog_data): Update accordingly.
10011 (lra_update_insn_recog_data): Likewise.
10012 (lra_set_insn_recog_data): Likewise. Use get_enabled_alternatives.
10013 * lra-constraints.c (process_alt_operands): Likewise. Handle
10014 only_alternative as part of the enabled mask.
10015 * target-globals.h (this_target_recog): Declare.
10016 (target_globals): Add a recog field.
10017 (restore_target_globals): Restore this_target_recog.
10018 * target-globals.c: Include recog.h.
10019 (default_target_globals): Initialize recog field.
10020 (save_target_globals): Likewise.
10021 * reginfo.c (reinit_regs): Call recog_init.
10022 * toplev.c (backend_init_target): Likewise.
10023
10024 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
10025
10026 * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
10027 rather than any named insn's code.
10028
10029 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
10030
10031 PR libgcc/61152
10032 * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
10033 * config/arm/arm-cores.def (License): Same.
10034
10035 2014-05-26 Jan Hubicka <hubicka@ucw.cz>
10036
10037 * tree.h (decl_comdat_group): Declare.
10038 * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
10039 * tree.c (decl_comdat_group): Here.
10040
10041 2014-05-26 Richard Sandiford <r.sandiford@uk.ibm.com>
10042
10043 PR rtl-optimization/61222
10044 * combine.c (simplify_shift_const_1): When moving a PLUS outside
10045 the shift, truncate the PLUS operand to the result mode.
10046
10047 2014-05-26 Uros Bizjak <ubizjak@gmail.com>
10048
10049 PR target/61271
10050 * config/i386/i386.c (ix86_rtx_costs)
10051 <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
10052 Fix condition.
10053
10054 2014-05-26 Martin Jambor <mjambor@suse.cz>
10055
10056 * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
10057 subreg uses.
10058
10059 2014-05-26 Richard Biener <rguenther@suse.de>
10060
10061 * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
10062 wi::int_traits <long long>, wi::int_traits <unsigned long long>):
10063 Provide specializations.
10064 (wi::int_traits <HOST_WIDE_INT>,
10065 wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
10066
10067 2014-05-26 Alan Modra <amodra@gmail.com>
10068
10069 PR target/61098
10070 * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
10071 params and return a bool. Remove dead code. Update comment.
10072 Assert we have a const_int source. Remove bogus code from
10073 32-bit HWI days. Move !TARGET_POWERPC64 handling, and correct
10074 handling of constants > 2G and reg_equal note, from..
10075 (rs6000_emit_set_long_const): ..here. Remove unneeded param and
10076 return value. Update comment. If we can, use a new pseudo
10077 for intermediate calculations.
10078 * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
10079 prototype.
10080 * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
10081 call to rs6000_emit_set_const in splitter.
10082 (movdi_internal64+2, +3): Likewise.
10083
10084 2014-05-26 Richard Biener <rguenther@suse.de>
10085
10086 * system.h: Define __STDC_FORMAT_MACROS before
10087 including inttypes.h.
10088 * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
10089 HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
10090 HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
10091 HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
10092 HOST_WIDEST_INT_C): Remove.
10093 (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
10094 if C99 inttypes.h is not available.
10095 * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
10096 * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
10097 * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
10098 * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
10099 * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
10100 (struct output_info): Likewise.
10101 (print_statistics): Adjust.
10102 (dump_bitmap_statistics): Likewise.
10103 * bt-load.c (migrate_btr_defs): Print with PRId64.
10104 * cfg.c (dump_edge_info, dump_bb_info): Likewise.
10105 (MAX_SAFE_MULTIPLIER): Adjust.
10106 * cfghooks.c (dump_bb_for_graph): Print with PRId64.
10107 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
10108 dump_cgraph_node): Likewise.
10109 * final.c (dump_basic_block_info): Likewise.
10110 * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
10111 * gcov.c (format_gcov): Likewise.
10112 * ipa-cp.c (good_cloning_opportunity_p): Likewise. Use int64_t
10113 for calculation.
10114 (get_clone_agg_value): Use HOST_WIDE_INT for offset.
10115 * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
10116 (inline_small_functions, dump_overall_stats, dump_inline_stats):
10117 Use PRId64 for dumping.
10118 * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
10119 * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
10120 (add_allocno_hard_regs): Adjust.
10121 * loop-doloop.c (doloop_modify): Print using PRId64.
10122 * loop-iv.c (inverse): Compute in uint64_t.
10123 (determine_max_iter, iv_number_of_iterations): Likewise.
10124 * loop-unroll.c (decide_peel_completely, decide_peel_simple):
10125 Print using PRId64.
10126 * lto-streamer-out.c (write_symbol): Use uint64_t.
10127 * mcf.c (CAP_INFINITY): Use int64_t maximum.
10128 (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
10129 find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
10130 * modulo-sched.c (const_iteration_count): Use int64_t.
10131 (sms_schedule): Dump using PRId64.
10132 * predict.c (dump_prediction): Likewise.
10133 * pretty-print.h (pp_widest_integer): Remove.
10134 * profile.c (get_working_sets, is_edge_inconsistent,
10135 is_inconsistent, read_profile_edge_counts): Dump using PRId64.
10136 * tree-pretty-print.c (pp_double_int): Remove case handling
10137 HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
10138 * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
10139 and adjust users.
10140 (pass_optimize_bswap::execute): Remove restriction on hosts.
10141 * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
10142 * tree-streamer-out.c (streamer_write_tree_header): Likewise.
10143 * tree.c (widest_int_cst_value): Remove.
10144 * tree.h (widest_int_cst_value): Likewise.
10145 * value-prof.c (dump_histogram_value): Print using PRId64.
10146 * gengtype.c (main): Also inject int64_t.
10147 * ggc-page.c (struct max_alignment): Use int64_t.
10148 * alloc-pool.c (struct allocation_object_def): Likewise.
10149 * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
10150 for computation.
10151 * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
10152 * doc/tm.texi: Regenerated.
10153 * gengtype-lex.l (IWORD): Handle [u]int64_t.
10154 * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
10155 * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
10156 mmix_output_register_setting): Use [u]int64_t in prototypes.
10157 * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
10158 mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
10159 mmix_output_octa, mmix_output_shifted_value): Adjust.
10160 (mmix_intval): Adjust. Remove unreachable case.
10161 * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
10162
10163 2014-05-26 Richard Biener <rguenther@suse.de>
10164
10165 * configure.ac: Drop __int64 type check. Insist that we
10166 found uint64_t and int64_t.
10167 * hwint.h (HOST_BITS_PER___INT64): Remove.
10168 (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
10169 (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
10170 (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
10171 (HOST_WIDEST_FAST_INT): Remove __int64 case.
10172 * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
10173 for dst_q_src_df_rms_cdt.
10174 * configure: Regenerate.
10175 * config.in: Likewise.
10176
10177 2014-05-26 Michael Tautschnig <mt@debian.org>
10178
10179 PR target/61249
10180 * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
10181 __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
10182
10183 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
10184
10185 PR rtl-optimization/61278
10186 * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
10187
10188 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
10189
10190 PR rtl-optimization/61220
10191 Part of PR rtl-optimization/61225
10192 * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
10193 insn; skip split_edge for a block with only one successor.
10194
10195 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10196
10197 * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
10198 for variables.
10199
10200 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10201
10202 * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
10203 (update_vtable_references): New function.
10204 (function_and_variable_visibility): Rewrite also vtable initializers.
10205 * varpool.c (cgraph_variable_initializer_availability): Remove assert.
10206
10207 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10208
10209 * ggc.h (ggc_grow): New function.
10210 * ggc-none.c (ggc_grow): New function.
10211 * ggc-page.c (ggc_grow): Likewise.
10212
10213 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10214
10215 * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
10216 address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
10217 comdat_can_be_unshared_p, cgraph_externally_visible_p,
10218 varpool_externally_visible_p, can_replace_by_local_alias,
10219 update_visibility_by_resolution_info, function_and_variable_visibility,
10220 pass_data_ipa_function_and_variable_visibility,
10221 make_pass_ipa_function_and_variable_visibility,
10222 whole_program_function_and_variable_visibility,
10223 pass_data_ipa_whole_program_visibility,
10224 make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
10225 * cgraph.h (cgraph_local_node_p): Declare.
10226 * ipa-visibility.c: New file.
10227 * Makefile.in (OBJS): Add ipa-visiblity.o
10228
10229 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10230
10231 * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
10232 that var decl is available.
10233
10234 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10235
10236 * tree-core.h (tree_decl_with_vis): Replace comdat_group by
10237 symtab_node pointer.
10238 * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
10239 (find_decls_types_r): Do not walk COMDAT_GROUP.
10240 * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
10241 * varasm.c (make_decl_one_only): Use set_comdat_group;
10242 create node if needed.
10243 * ipa-inline-transform.c (save_inline_function_body): Update
10244 way we decl->symtab mapping.
10245 * symtab.c (symtab_hash, hash_node, eq_node
10246 symtab_insert_node_to_hashtable): Remove.
10247 (symtab_register_node): Update.
10248 (symtab_unregister_node): Update.
10249 (symtab_get_node): Reimplement as inline function.
10250 (symtab_add_to_same_comdat_group): Update.
10251 (symtab_dissolve_same_comdat_group_list): Update.
10252 (dump_symtab_base): Update.
10253 (verify_symtab_base): Update.
10254 (symtab_make_decl_local): Update.
10255 (fixup_same_cpp_alias_visibility): Update.
10256 (symtab_nonoverwritable_alias): Update.
10257 * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
10258 * ipa.c (update_visibility_by_resolution_info): UPdate.
10259 * bb-reorder.c: Include cgraph.h
10260 * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
10261 with comdat groups.
10262 * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
10263 * cgraph.c (cgraph_get_create_node): Update.
10264 * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
10265 and comdat_group_.
10266 (symtab_get_node): Make inline.
10267 (symtab_insert_node_to_hashtable): Remove.
10268 (symtab_can_be_discarded): Update.
10269 (decl_comdat_group): New function.
10270 * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
10271 Update.
10272 * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
10273 comdat group name.
10274 (read_comdat_group): New function.
10275 (input_node, input_varpool_node): Use it.
10276 * trans-mem.c (ipa_tm_create_version_alias): Update code creating
10277 comdat groups.
10278 * mips.c (mips_start_unique_function): Likewise.
10279 (ix86_code_end): Likewise.
10280 (rs6000_code_end): Likweise.
10281 * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
10282
10283 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10284
10285 * gengtype-state.c (fatal_reading_state): Bring offline.
10286 * optabs.c (widening_optab_handler): Bring offline.
10287 * optabs.h (widening_optab_handler): Likewise.
10288 * final.c (get_attr_length_1): Likewise.
10289
10290 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
10291
10292 * sched-int.h (sd_iterator_cond): Manually tail recurse.
10293
10294 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10295
10296 * config/rs6000/440.md (ppc440-integer): Include shift without dot.
10297 (ppc440-compare): Include shift with dot.
10298 * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
10299 * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
10300 without dot.
10301 * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
10302 without dot.
10303 (e6500_sfx2): Include it.
10304 * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
10305 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
10306 *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
10307 andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
10308 *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
10309 *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
10310 *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
10311 *lshiftrt_internal1le, *lshiftrt_internal1be,
10312 *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
10313 *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
10314 *rotldi3_internal10le, *rotldi3_internal10be,
10315 *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
10316 ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
10317 ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
10318 *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
10319 define_insns): Use type "shift" in the appropriate alternatives.
10320
10321 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10322
10323 * config/rs6000/rs6000.md (type): Add "logical". Delete
10324 "fast_compare".
10325 (dot): Adjust comment.
10326 (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
10327 *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
10328 *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
10329 anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
10330 *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
10331 *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
10332 *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
10333 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
10334
10335 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
10336 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
10337 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
10338 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
10339 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
10340 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
10341 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
10342 * config/rs6000/8540.md (ppc8540_su): Adjust.
10343 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
10344 cell-cmp-microcoded): Adjust.
10345 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
10346 * config/rs6000/e500mc.md (e500mc_su): Adjust.
10347 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
10348 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
10349 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
10350 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
10351 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
10352 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
10353 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
10354 Adjust.
10355 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
10356 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
10357 Adjust. Adjust comment.
10358 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
10359 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
10360
10361 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10362
10363 * config/rs6000/rs6000.md (type): Add "add".
10364 (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
10365 *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
10366 define_insns): Use it.
10367 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
10368
10369 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
10370 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
10371 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
10372 * config/rs6000/601.md (ppc601-integer): Adjust.
10373 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
10374 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
10375 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
10376 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
10377 * config/rs6000/8540.md (ppc8540_su): Adjust.
10378 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
10379 cell-cmp-microcoded): Adjust.
10380 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
10381 * config/rs6000/e500mc.md (e500mc_su): Adjust.
10382 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
10383 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
10384 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
10385 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
10386 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
10387 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
10388 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
10389 Adjust.
10390 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
10391 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
10392 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
10393 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
10394
10395 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10396
10397 * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
10398 "delayed_compare", "var_delayed_compare".
10399 (var_shift): New attribute.
10400 (cell_micro): Adjust.
10401 (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
10402 *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
10403 rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
10404 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
10405 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
10406 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
10407 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
10408 *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
10409 *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
10410 *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
10411 *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
10412 rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
10413 *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
10414 *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
10415 *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
10416 *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
10417 *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
10418 *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
10419 *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
10420 *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
10421 *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
10422 *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
10423 *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
10424 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
10425 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
10426
10427 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
10428 * config/rs6000/440.md (ppc440-integer): Adjust.
10429 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
10430 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
10431 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
10432 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
10433 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
10434 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
10435 * config/rs6000/8540.md (ppc8540_su): Adjust.
10436 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
10437 cell-cmp-microcoded): Adjust.
10438 * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
10439 * config/rs6000/e500mc.md (e500mc_su): Adjust.
10440 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
10441 e500mc64_delayed): Adjust.
10442 * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
10443 * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
10444 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
10445 * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
10446 * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
10447 * config/rs6000/power6.md (power6-shift, power6-var-rotate,
10448 power6-delayed-compare, power6-var-delayed-compare): Adjust.
10449 * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
10450 * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
10451 Adjust comment.
10452 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
10453 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
10454
10455 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10456
10457 * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add "div".
10458 (bits): New mode_attr.
10459 (idiv_ldiv): Delete mode_attr.
10460 (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
10461 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
10462 rs6000_adjust_priority, is_nonpipeline_insn,
10463 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
10464
10465 * config/rs6000/40x.md (ppc403-idiv): Adjust.
10466 * config/rs6000/440.md (ppc440-idiv): Adjust.
10467 * config/rs6000/476.md (ppc476-idiv): Adjust.
10468 * config/rs6000/601.md (ppc601-idiv): Adjust.
10469 * config/rs6000/603.md (ppc603-idiv): Adjust.
10470 * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
10471 ppc620-ldiv): Adjust.
10472 * config/rs6000/7450.md (ppc7450-idiv): Adjust.
10473 * config/rs6000/7xx.md (ppc750-idiv): Adjust.
10474 * config/rs6000/8540.md (ppc8540_divide): Adjust.
10475 * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
10476 * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
10477 * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
10478 * config/rs6000/e500mc.md (e500mc_divide): Adjust.
10479 * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
10480 * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
10481 * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
10482 * config/rs6000/mpc.md (mpccore-idiv): Adjust.
10483 * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
10484 * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
10485 * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
10486 * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
10487 * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
10488 * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
10489 * config/rs6000/titan.md (titan_fxu_div): Adjust.
10490
10491 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10492
10493 * config/rs6000/rs6000.md (type): Delete "insert_word",
10494 "insert_dword". Add "insert".
10495 (size): Update comment.
10496 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
10497 insn_must_be_first_in_group): Adjust.
10498 (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
10499 *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
10500 *insvsi_internal6, insvdi_internal): Adjust.
10501
10502 * config/rs6000/40x.md (ppc403-integer): Adjust.
10503 * config/rs6000/440.md (ppc440-integer): Adjust.
10504 * config/rs6000/476.md (ppc476-simple-integer): Adjust.
10505 * config/rs6000/601.md (ppc601-integer): Adjust.
10506 * config/rs6000/603.md (ppc603-integer): Adjust.
10507 * config/rs6000/6xx.md (ppc604-integer): Adjust.
10508 * config/rs6000/7450.md (ppc7450-integer): Adjust.
10509 * config/rs6000/7xx.md (ppc750-integer): Adjust.
10510 * config/rs6000/8540.md (ppc8540_su): Adjust.
10511 * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
10512 * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
10513 * config/rs6000/e500mc.md (e500mc_su): Adjust.
10514 * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
10515 * config/rs6000/e5500.md (e5500_sfx): Adjust.
10516 * config/rs6000/e6500.md (e6500_sfx): Adjust.
10517 * config/rs6000/mpc.md (mpccore-integer): Adjust.
10518 * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
10519 * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
10520 * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
10521 * config/rs6000/power7.md (power7-integer): Adjust.
10522 * config/rs6000/power8.md (power8-1cyc): Adjust.
10523 * config/rs6000/rs64.md (rs64a-integer): Adjust.
10524 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
10525
10526 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10527
10528 * config/rs6000/rs6000.md (type): Add "mul". Delete "imul",
10529 "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
10530 (size): New attribute.
10531 (dot): New attribute.
10532 (cell_micro): Adjust.
10533 (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
10534 umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
10535 *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
10536 umuldi3_highpart): Adjust.
10537 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
10538 rs6000_adjust_priority, is_nonpipeline_insn,
10539 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
10540
10541 * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
10542 ppc405-imul3): Adjust.
10543 * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
10544 * config/rs6000/476.md (ppc476-imul): Adjust.
10545 * config/rs6000/601.md (ppc601-imul): Adjust.
10546 * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
10547 * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
10548 ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
10549 * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
10550 * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
10551 Adjust.
10552 * config/rs6000/8540.md (ppc8540_multiply): Adjust.
10553 * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
10554 * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
10555 cell-imul): Adjust.
10556 * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
10557 * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
10558 * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
10559 * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
10560 * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
10561 * config/rs6000/mpc.md (mpccore-imul): Adjust.
10562 * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
10563 power4-lmul, power4-imul, power4-imul3): Adjust.
10564 * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
10565 power5-lmul, power5-imul, power5-imul3): Adjust.
10566 * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
10567 power6-lmul, power6-imul, power6-imul3): Adjust.
10568 * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
10569 * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
10570
10571 * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
10572 rs64a-lmul): Adjust.
10573 * config/rs6000/titan.md (titan_imul): Adjust.
10574
10575 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10576
10577 * config/rs6000/rs6000.md (type): Add new value "halfmul".
10578 (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
10579 *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
10580 *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
10581 *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
10582 *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
10583 * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
10584 * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
10585 * config/rs6000/476.md (ppc476-imul): Add type halfmul.
10586 * config/rs6000/titan.md: Delete nonsensical comment.
10587 (titan_imul): Add type imul3.
10588 (titan_mulhw): Remove type imul3; add type halfmul.
10589
10590 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
10591
10592 * config/rs6000/rs6000.md (type): Reorder, reformat.
10593
10594 2014-05-23 Martin Jambor <mjambor@suse.cz>
10595
10596 PR tree-optimization/53787
10597 * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
10598 * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
10599 analysis_done, update all uses.
10600 * ipa-prop.c: Include domwalk.h
10601 (param_analysis_info): Removed.
10602 (param_aa_status): New type.
10603 (ipa_bb_info): Likewise.
10604 (func_body_info): Likewise.
10605 (ipa_get_bb_info): New function.
10606 (aa_overwalked): Likewise.
10607 (find_dominating_aa_status): Likewise.
10608 (parm_bb_aa_status_for_bb): Likewise.
10609 (parm_preserved_before_stmt_p): Changed to use new param AA info.
10610 (load_from_unmodified_param): Accept func_body_info as a parameter
10611 instead of parms_ainfo.
10612 (parm_ref_data_preserved_p): Changed to use new param AA info.
10613 (parm_ref_data_pass_through_p): Likewise.
10614 (ipa_load_from_parm_agg_1): Likewise. Update callers.
10615 (compute_complex_assign_jump_func): Changed to use new param AA info.
10616 (compute_complex_ancestor_jump_func): Likewise.
10617 (ipa_compute_jump_functions_for_edge): Likewise.
10618 (ipa_compute_jump_functions): Removed.
10619 (ipa_compute_jump_functions_for_bb): New function.
10620 (ipa_analyze_indirect_call_uses): Likewise, moved variable
10621 declarations down.
10622 (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
10623 and info, moved variable declarations down.
10624 (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
10625 node and info.
10626 (ipa_analyze_stmt_uses): Likewise.
10627 (ipa_analyze_params_uses): Removed.
10628 (ipa_analyze_params_uses_in_bb): New function.
10629 (ipa_analyze_controlled_uses): Likewise.
10630 (free_ipa_bb_info): Likewise.
10631 (analysis_dom_walker): New class.
10632 (ipa_analyze_node): Handle node-specific forbidden analysis,
10633 initialize and free func_body_info, use dominator walker.
10634 (ipcp_modif_dom_walker): New class.
10635 (ipcp_transform_function): Create and free func_body_info, use
10636 ipcp_modif_dom_walker, moved a lot of functionality there.
10637
10638 2014-05-23 Marek Polacek <polacek@redhat.com>
10639 Jakub Jelinek <jakub@redhat.com>
10640
10641 * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
10642 * gcc.c (sanitize_spec_function): Likewise.
10643 * convert.c (convert_to_integer): Include "ubsan.h". Add
10644 floating-point to integer instrumentation.
10645 * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
10646 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
10647 SANITIZE_NONDEFAULT.
10648 * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
10649 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
10650 BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
10651 * ubsan.c: Include "realmpfr.h" and "dfp.h".
10652 (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
10653 (ubsan_type_descriptor): Set tkind to 0xffff for types other than
10654 float/double/long double.
10655 (ubsan_instrument_float_cast): New function.
10656 * ubsan.h (ubsan_instrument_float_cast): Declare.
10657
10658 2014-05-23 Jiong Wang <jiong.wang@arm.com>
10659
10660 * config/aarch64/predicates.md (aarch64_call_insn_operand): New
10661 predicate.
10662 * config/aarch64/constraints.md ("Ucs", "Usf"): New constraints.
10663 * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
10664 Adjust for tailcalling through registers.
10665 * config/aarch64/aarch64.h (enum reg_class): New caller save
10666 register class.
10667 (REG_CLASS_NAMES): Likewise.
10668 (REG_CLASS_CONTENTS): Likewise.
10669 * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
10670 Allow tailcalling without decls.
10671
10672 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
10673
10674 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
10675 Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
10676
10677 * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
10678 gsi, and variables v_* to v*.
10679
10680 2014-05-23 Eric Botcazou <ebotcazou@adacore.com>
10681
10682 * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
10683
10684 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
10685
10686 * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
10687 * omp-low.c: Update accordingly.
10688
10689 * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
10690 for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
10691 GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
10692 GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
10693 GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
10694 GF_OMP_TARGET_KIND_UPDATE.
10695
10696 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
10697 Explicitly enumerate the expected region types.
10698
10699 2014-05-23 Paul Eggert <eggert@cs.ucla.edu>
10700
10701 PR other/56955
10702 * doc/extend.texi (Function Attributes): Fix __attribute__ ((malloc))
10703 documentation; the old documentation didn't clearly state the
10704 constraints on the contents of the pointed-to storage.
10705
10706 2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
10707
10708 Fix bootstrap error on ia64
10709 * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
10710 Return default value.
10711
10712 2014-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
10713
10714 PR tree-optimization/54733
10715 * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
10716 (CMPNOP): Define.
10717 (find_bswap_or_nop_load): New.
10718 (find_bswap_1): Renamed to ...
10719 (find_bswap_or_nop_1): This. Also add support for memory source.
10720 (find_bswap): Renamed to ...
10721 (find_bswap_or_nop): This. Also add support for memory source and
10722 detection of bitwise operations equivalent to load in target
10723 endianness.
10724 (execute_optimize_bswap): Likewise. Also move its leading comment back
10725 in place and split statement transformation into ...
10726 (bswap_replace): This.
10727
10728 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
10729
10730 PR rtl-optimization/61215
10731 * lra-elelimination.c (lra_eliminate_regs_1): Don't use
10732 simplify_gen_subreg until final substitution.
10733
10734 2014-05-23 Alan Modra <amodra@gmail.com>
10735
10736 PR target/61231
10737 * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
10738 * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
10739 Use "Y" constraint rather than "m".
10740
10741 2014-05-23 Kugan Vivekanandarajah <kuganv@linaro.org>
10742
10743 * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
10744 define.
10745 * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
10746 New function declaration.
10747 * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
10748 AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
10749 AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
10750 (aarch64_init_builtins) : Initialize builtins
10751 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
10752 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
10753 (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
10754 __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
10755 and __builtins_aarch64_set_fpsr.
10756 (aarch64_atomic_assign_expand_fenv): New function.
10757 * config/aarch64/aarch64.md (set_fpcr): New pattern.
10758 (get_fpcr) : Likewise.
10759 (set_fpsr) : Likewise.
10760 (get_fpsr) : Likewise.
10761 (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
10762 and UNSPECV_SET_FPSR.
10763 * doc/extend.texi (AARCH64 Built-in Functions) : Document
10764 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
10765 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
10766
10767 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
10768
10769 PR rtl-optimization/60969
10770 * ira-costs.c (record_reg_classes): Process NO_REGS for matching
10771 constraints. Set up mem cost for NO_REGS case.
10772
10773 2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
10774
10775 * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
10776
10777 2012-05-22 Bernd Schmidt <bernds@codesourcery.com>
10778
10779 * config/darwin.c: Include "lto-section-names.h".
10780 (LTO_SEGMENT_NAME): Don't define.
10781 * config/i386/winnt.c: Include "lto-section-names.h".
10782 * lto-streamer.c: Include "lto-section-names.h".
10783 * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
10784 * lto-wrapper.c: Include "lto-section-names.h".
10785 (LTO_SECTION_NAME_PREFIX): Don't define.
10786 * lto-section-names.h: New file.
10787 * cgraphunit.c: Include "lto-section-names.h".
10788
10789 2014-05-22 Peter Bergner <bergner@vnet.ibm.com>
10790
10791 * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
10792
10793 2014-05-22 Richard Earnshaw <rearnsha@arm.com>
10794
10795 PR target/61208
10796 * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
10797
10798 2014-05-22 Nick Clifton <nickc@redhat.com>
10799
10800 * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
10801
10802 2014-05-22 Eric Botcazou <ebotcazou@adacore.com>
10803
10804 * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
10805 -> (T)A transformation to integer types.
10806
10807 2014-05-22 Teresa Johnson <tejohnson@google.com>
10808
10809 * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
10810 (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
10811 (gcov_rewrite): Use gcov_nonruntime_assert.
10812 (gcov_open): Ditto.
10813 (gcov_write_words): Ditto.
10814 (gcov_write_length): Ditto.
10815 (gcov_read_words): Use gcov_nonruntime_assert, and remove
10816 gcc_assert from IN_LIBGCOV code.
10817 (gcov_read_summary): Use gcov_error to flag profile corruption.
10818 (gcov_sync): Use gcov_nonruntime_assert.
10819 (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
10820 (gcov_histo_index): Use gcov_nonruntime_assert.
10821 (static void gcov_histogram_merge): Ditto.
10822 (compute_working_sets): Ditto.
10823 * gcov-io.h (gcov_nonruntime_assert): Define.
10824 (gcov_error): Define for !IN_LIBGCOV
10825
10826 2014-05-22 Richard Biener <rguenther@suse.de>
10827
10828 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
10829 BUILT_IN_REALLOC like BUILT_IN_STRDUP.
10830 (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
10831 and deallocation site.
10832 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
10833 Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
10834 passing through the incoming points-to set.
10835 (handle_lhs_call): Use flags argument instead of recomputing it.
10836 (find_func_aliases_for_call): Call handle_lhs_call with proper
10837 call return flags.
10838
10839 2014-05-22 Jakub Jelinek <jakub@redhat.com>
10840
10841 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
10842 all padding bits in REAL_VALUE_TYPE are cleared.
10843
10844 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
10845
10846 Cleanup and improve multipass_dfa_lookahead_guard
10847 * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
10848 (core2i7_first_cycle_multipass_begin,)
10849 (core2i7_first_cycle_multipass_issue,)
10850 (core2i7_first_cycle_multipass_backtrack): Update signature.
10851 * config/ia64/ia64.c
10852 (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
10853 (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
10854 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
10855 hook definition.
10856 (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
10857 ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return
10858 values.
10859 * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
10860 return values.
10861 * doc/tm.texi: Regenerate.
10862 * doc/tm.texi.in
10863 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
10864 * haifa-sched.c (ready_try): Make signed to allow negative values.
10865 (rebug_ready_list_1): Update.
10866 (choose_ready): Simplify.
10867 (sched_extend_ready_list): Update.
10868
10869 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
10870
10871 Remove IA64 speculation tweaking flags
10872 * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
10873 speculation tuning flags.
10874 (msched-prefer-non-data-spec-insns,)
10875 (msched-prefer-non-control-spec-insns): Obsolete options.
10876 * haifa-sched.c (choose_ready): Remove handling of
10877 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
10878 * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
10879 and PREFER_NON_DATA_SPEC.
10880 * sel-sched.c (process_spec_exprs): Remove handling of
10881 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
10882
10883 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
10884
10885 Improve scheduling debug output
10886 * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
10887 (advance_one_cycle): Update.
10888 (schedule_insn, queue_to_ready): Add debug printouts.
10889 (debug_ready_list_1): New static function.
10890 (debug_ready_list): Update.
10891 (max_issue): Add debug printouts.
10892 (dump_insn_stream): New static function.
10893 (schedule_block): Use it. Also better indent printouts.
10894
10895 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
10896
10897 Fix sched_insn debug counter
10898 * haifa-sched.c (schedule_insn): Update.
10899 (struct haifa_saved_data): Add nonscheduled_insns_begin.
10900 (save_backtrack_point, restore_backtrack_point): Update.
10901 (first_nonscheduled_insn): New static function.
10902 (queue_to_ready, choose_ready): Use it.
10903 (schedule_block): Init nonscheduled_insns_begin.
10904 (sched_emit_insn): Update.
10905
10906
10907 2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org>
10908
10909 * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
10910 to GENERAL_REGS.
10911 (aarch64_secondary_reload) : LikeWise.
10912 (aarch64_class_max_nregs) : Remove CORE_REGS.
10913 * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
10914 (REG_CLASS_NAMES) : Likewise.
10915 (REG_CLASS_CONTENTS) : LikeWise.
10916 (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
10917
10918 2014-05-21 Guozhi Wei <carrot@google.com>
10919
10920 PR target/61202
10921 * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
10922 constraint.
10923 (vqdmulhq_n_s16): Likewise.
10924
10925 2014-05-21 Segher Boessenkool <segher@kernel.crashing.org>
10926
10927 * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
10928
10929 2014-05-21 Marek Polacek <polacek@redhat.com>
10930
10931 PR sanitizer/61272
10932 * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
10933
10934 2014-05-21 Martin Jambor <mjambor@suse.cz>
10935
10936 * doc/invoke.texi (Optimize Options): Document parameters
10937 ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
10938 ipa-cp-array-index-hint-bonus.
10939
10940 2014-05-21 Mark Wielaard <mjw@redhat.com>
10941
10942 PR debug/16063
10943 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
10944 version >= 3 or not strict DWARF.
10945 * langhooks.h (struct lang_hooks_for_types): Add
10946 enum_underlying_base_type.
10947 * langhooks.c (lhd_enum_underlying_base_type): New function.
10948 * gcc/langhooks.h (struct lang_hooks_for_types): Add
10949 enum_underlying_base_type.
10950 * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
10951 (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
10952 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
10953
10954 2014-05-21 Richard Biener <rguenther@suse.de>
10955
10956 * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
10957
10958 2014-05-21 John Marino <gnugcc@marino.st>
10959
10960 * config.gcc (*-*-dragonfly*): New target.
10961 * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
10962 * configure: Regenerate.
10963 * config/dragonfly-stdint.h: New.
10964 * config/dragonfly.h: New.
10965 * config/dragonfly.opt: New.
10966 * config/i386/dragonfly.h: New.
10967 * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
10968
10969 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
10970
10971 * tree.def (VOID_CST): New.
10972 * tree-core.h (TI_VOID): New.
10973 * tree.h (void_node): New.
10974 * tree.c (tree_node_structure_for_code, tree_code_size)
10975 (iterative_hash_expr): Handle VOID_CST.
10976 (build_common_tree_nodes): Initialize void_node.
10977
10978 2014-05-21 Bernd Schmidt <bernds@codesourcery.com>
10979
10980 * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
10981 functions.
10982 (reload, calculate_needs_all_insns, reload_as_needed): Use them.
10983
10984 * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
10985 more places.
10986
10987 * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
10988 flag_reorder_blocks_and_partition.
10989 * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
10990
10991 2014-05-21 Oleg Endo <olegendo@gcc.gnu.org>
10992
10993 PR target/54236
10994 * config/sh/sh.md (*addc_r_1): Rename to addc_t_r. Remove empty
10995 constraints.
10996 (*addc_r_t): Add new insn_and_split.
10997
10998 2014-05-21 Jakub Jelinek <jakub@redhat.com>
10999
11000 PR middle-end/61252
11001 * omp-low.c (handle_simd_reference): New function.
11002 (lower_rec_input_clauses): Use it. Defer adding reference
11003 initialization even for reduction without placeholder if in simd,
11004 handle it properly later on.
11005
11006 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
11007
11008 PR tree-optimization/60899
11009 * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
11010 assume all static symbols will have definition wile parsing and
11011 check the do have definition later in compilation; check that
11012 variable referring symbol will be output before concluding that
11013 reference is safe; be conservative for referring local statics;
11014 be more precise about when comdat is output in other partition.
11015
11016 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
11017
11018 PR bootstrap/60984
11019 * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
11020 parameter.
11021 * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
11022 (ipa_inline): Loop inline_to_all_callers until no more aliases
11023 are removed.
11024
11025 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
11026
11027 * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
11028 set writeonly flag only for vars actually written to.
11029
11030 2014-05-20 Dehao Chen <dehao@google.com>
11031
11032 * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
11033 and callee count to get clone count.
11034 * tree-inline.c (expand_call_inline): Use callee count instead of bb
11035 count in copy_body.
11036
11037 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11038
11039 PR rtl-optimization/61243
11040 * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
11041
11042 2014-05-20 Xinliang David Li <davidxl@google.com>
11043
11044 * cgraphunit.c (walk_polymorphic_call_targets): Add
11045 dbgcnt and fopt-info support.
11046 * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
11047 * ipa-devirt.c (ipa_devirt): Ditto.
11048 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
11049 * ipa.c (walk_polymorphic_call_targets): Ditto.
11050 * gimple-fold.c (fold_gimple_assign): Ditto.
11051 (gimple_fold_call): Ditto.
11052 * dbgcnt.def: New counter.
11053
11054 2014-05-20 DJ Delorie <dj@redhat.com>
11055
11056 * config/msp430/msp430.md (split): Don't allow subregs when
11057 splitting SImode adds.
11058 (andneghi): Fix subtraction logic.
11059 * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
11060
11061 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
11062
11063 * tree.h (DECL_ONE_ONLY): Return true only for externally visible
11064 symbols.
11065 * except.c (switch_to_exception_section, resolve_unique_section,
11066 get_named_text_section, default_function_rodata_section,
11067 align_variable, get_block_for_decl, default_section_type_flags):
11068 Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
11069 * symtab.c (symtab_add_to_same_comdat_group,
11070 symtab_make_decl_local, fixup_same_cpp_alias_visibility,
11071 symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
11072 Likewise.
11073 * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
11074 * bb-reorder.c (pass_partition_blocks::gate): Likewise.
11075 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
11076 (c6x_function_in_section_p): Likewise.
11077 * config/darwin.c (machopic_select_section): Likewise.
11078 * config/arm/arm.c (arm_function_in_section_p): Likewise.
11079 * config/mips/mips.c (mips_function_rodata_section): Likewise.
11080 * config/mep/mep.c (mep_select_section): LIkewise.
11081 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
11082
11083 2014-05-20 Eric Botcazou <ebotcazou@adacore.com>
11084
11085 * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
11086 EH region of calls to pure functions that can throw an exception.
11087 * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
11088 (copy_reference_ops_from_call): Also copy the EH region of the call if
11089 it can throw an exception.
11090
11091 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
11092
11093 * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
11094 nested VEC_SELECTs that are inverses of each other.
11095
11096 2014-05-20 Richard Biener <rguenther@suse.de>
11097
11098 * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
11099 (extract_and_process_scc_for_name): not here.
11100 (cond_dom_walker::before_dom_children): Only process
11101 stmts that end the BB in interesting ways.
11102 (run_scc_vn): Mark param uses as visited.
11103
11104 2014-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
11105
11106 * config/arm/arm.md (arith_shiftsi): Do not predicate for
11107 arm_restrict_it.
11108
11109 2014-05-20 Nick Clifton <nickc@redhat.com>
11110
11111 * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
11112 (msp430_gimplify_va_arg_expr): New function.
11113 (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
11114
11115 * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
11116 operand 0 in order to prevent confusion about the number of
11117 registers involved.
11118
11119 2014-05-20 Richard Biener <rguenther@suse.de>
11120
11121 PR tree-optimization/61221
11122 * tree-ssa-pre.c (el_to_update): Remove.
11123 (eliminate_dom_walker::before_dom_children): Handle released
11124 VDEFs by value-numbering them to the associated VUSE. Update
11125 stmt immediately for substituted call address.
11126 (eliminate): Remove delayed stmt updating code.
11127 * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
11128 possibly late re-numbered vuses.
11129 (vn_reference_lookup_2): Adjust.
11130 (vn_reference_lookup_pieces): Likewise.
11131 (vn_reference_lookup): Likewise.
11132
11133 2014-05-20 Richard Biener <rguenther@suse.de>
11134
11135 * config.gcc: Remove need_64bit_hwint.
11136 * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
11137 * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
11138 it to be true.
11139 * config.in: Regenerate.
11140 * configure: Likewise.
11141
11142 2014-05-19 David Wohlferd <dw@LimeGreenSocks.com>
11143
11144 * doc/extend.texi: Create Label Attributes section,
11145 move all label attributes into it and reference it.
11146
11147 2014-05-19 Richard Earnshaw <rearnsha@arm.com>
11148
11149 * arm.c (thumb1_reorg): When scanning backwards skip anything
11150 that's not a proper insn.
11151
11152 2014-05-19 Richard Biener <rguenther@suse.de>
11153
11154 PR tree-optimization/61221
11155 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
11156 Do nothing for unreachable blocks.
11157 * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
11158 Improve unreachability detection.
11159
11160 2014-05-19 Richard Biener <rguenther@suse.de>
11161
11162 PR tree-optimization/61209
11163 * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
11164
11165 2014-05-19 Nick Clifton <nickc@redhat.com>
11166
11167 * except.c (init_eh): Fix computation of builtin setjmp buffer
11168 size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
11169
11170 2014-05-19 Richard Biener <rguenther@suse.de>
11171
11172 PR tree-optimization/61184
11173 * tree-vrp.c (is_negative_overflow_infinity): Use
11174 TREE_OVERFLOW_P and do that check first.
11175 (is_positive_overflow_infinity): Likewise.
11176 (is_overflow_infinity): Likewise.
11177 (vrp_operand_equal_p): Properly treat operands with
11178 differing overflow as not equal.
11179
11180 2014-05-19 Bernd Schmidt <bernds@codesourcery.com>
11181
11182 * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
11183 shift simplification where it was intended.
11184
11185 2014-05-19 Christian Bruel <christian.bruel@st.com>
11186
11187 PR target/61195
11188 * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
11189
11190 2014-05-19 Richard Sandiford <r.sandiford@uk.ibm.com>
11191
11192 PR target/61084
11193 * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
11194 than wide_int.
11195
11196 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
11197
11198 * reg-notes.def (CROSSING_JUMP): Likewise.
11199 * rtl.h (rtx_def): Update comment for jump flag.
11200 (CROSSING_JUMP_P): Define.
11201 * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
11202 of a REG_CROSSING_JUMP note.
11203 * cfghooks.c (tidy_fallthru_edges): Likewise.
11204 * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
11205 * emit-rtl.c (try_split): Likewise.
11206 * haifa-sched.c (sched_create_recovery_edges): Likewise.
11207 * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
11208 * jump.c (redirect_jump_2): Likewise.
11209 * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
11210 (relax_delay_slots): Likewise.
11211 * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
11212 (bbit_di): Likewise.
11213 * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
11214 * config/sh/sh.md (jump_compact): Likewise.
11215 * bb-reorder.c (rotate_loop): Likewise.
11216 (pass_duplicate_computed_gotos::execute): Likewise.
11217 (add_reg_crossing_jump_notes): Rename to...
11218 (update_crossing_jump_flags): ...this.
11219 (pass_partition_blocks::execute): Update accordingly.
11220
11221 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
11222
11223 * tree.h: Remove extraneous template <>.
11224
11225 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
11226
11227 * ipa.c (symtab_remove_unreachable_nodes): Remove
11228 symbol from comdat group if its body was eliminated.
11229 (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
11230 * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
11231 (symtab_unregister_node): ... this one.
11232 (verify_symtab_base): More strict checking of comdats.
11233 * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
11234
11235 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
11236
11237 * tree-pass.h (make_pass_ipa_comdats): New pass.
11238 * timevar.def (TV_IPA_COMDATS): New timevar.
11239 * passes.def (pass_ipa_comdats): Add.
11240 * Makefile.in (OBJS): Add ipa-comdats.o
11241 * ipa-comdats.c: New file.
11242
11243 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
11244
11245 * ipa.c (update_visibility_by_resolution_info): New function.
11246 (function_and_variable_visibility): Use it.
11247
11248 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
11249
11250 * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
11251 New functions.
11252 (FOR_EACH_DEFINED_SYMBOL): New macro.
11253 (varpool_first_static_initializer, varpool_next_static_initializer,
11254 varpool_first_defined_variable, varpool_next_defined_variable):
11255 Fix comments.
11256 (symtab_in_same_comdat_p): Correctly deal with inline functions.
11257
11258 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
11259
11260 * ggc-page.c (ggc_handle_finalizers): Add comment.
11261
11262 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
11263
11264 * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
11265 * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
11266 (ggc_internal_cleared_alloc): Likewise.
11267 * ggc-page.c (finalizer): New class.
11268 (vec_finalizer): Likewise.
11269 (globals::finalizers): New member.
11270 (globals::vec_finalizers): Likewise.
11271 (ggc_internal_alloc): Record the finalizer if any for the block being
11272 allocated.
11273 (ggc_handle_finalizers): New function.
11274 (ggc_collect): Call ggc_handle_finalizers.
11275 * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
11276 finalizer.
11277 (ggc_internal_cleared_alloc): Likewise.
11278 (finalize): New function.
11279 (need_finalization_p): Likewise.
11280 (ggc_alloc): Install the type's destructor as the finalizer if it
11281 might do something.
11282 (ggc_cleared_alloc): Likewise.
11283 (ggc_vec_alloc): Likewise.
11284 (ggc_cleared_vec_alloc): Likewise.
11285
11286 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
11287
11288 * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
11289
11290 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
11291
11292 * alias.c (record_alias_subset): Adjust.
11293 * bitmap.c (bitmap_element_allocate): Likewise.
11294 (bitmap_gc_alloc_stat): Likewise.
11295 * cfg.c (init_flow): Likewise.
11296 (alloc_block): Likewise.
11297 (unchecked_make_edge): Likewise.
11298 * cfgloop.c (alloc_loop): Likewise.
11299 (flow_loops_find): Likewise.
11300 (rescan_loop_exit): Likewise.
11301 * cfgrtl.c (init_rtl_bb_info): Likewise.
11302 * cgraph.c (insert_new_cgraph_node_version): Likewise.
11303 (cgraph_allocate_node): Likewise.
11304 (cgraph_create_edge_1): Likewise.
11305 (cgraph_allocate_init_indirect_info): Likewise.
11306 * cgraphclones.c (cgraph_clone_edge): Likewise.
11307 * cgraphunit.c (add_asm_node): Likewise.
11308 (init_lowered_empty_function): Likewise.
11309 * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
11310 * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
11311 (alpha_use_linkage): Likewise.
11312 * config/arc/arc.c (arc_init_machine_status): Likewise.
11313 * config/arm/arm.c (arm_init_machine_status): Likewise.
11314 * config/avr/avr.c (avr_init_machine_status): Likewise.
11315 * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
11316 * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
11317 * config/cris/cris.c (cris_init_machine_status): Likewise.
11318 * config/darwin.c (machopic_indirection_name): Likewise.
11319 (darwin_build_constant_cfstring): Likewise.
11320 (darwin_enter_string_into_cfstring_table): Likewise.
11321 * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
11322 * config/frv/frv.c (frv_init_machine_status): Likewise.
11323 * config/i386/i386.c (get_dllimport_decl): Likewise.
11324 (ix86_init_machine_status): Likewise.
11325 (assign_386_stack_local): Likewise.
11326 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
11327 (i386_pe_maybe_record_exported_symbol): Likewise.
11328 (i386_pe_record_stub): Likewise.
11329 * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
11330 * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
11331 * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
11332 (m32c_note_pragma_address): Likewise.
11333 * config/mep/mep.c (mep_init_machine_status): Likewise.
11334 (mep_note_pragma_flag): Likewise.
11335 * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
11336 (mips16_local_alias): Likewise.
11337 (mips_init_machine_status): Likewise.
11338 * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
11339 * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
11340 * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
11341 * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
11342 * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
11343 * config/pa/pa.c (pa_init_machine_status): Likewise.
11344 (pa_get_deferred_plabel): Likewise.
11345 * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
11346 * config/rs6000/rs6000.c (builtin_function_type): Likewise.
11347 (rs6000_init_machine_status): Likewise.
11348 (output_toc): Likewise.
11349 * config/s390/s390.c (s390_init_machine_status): Likewise.
11350 * config/score/score.c (score_output_external): Likewise.
11351 * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
11352 * config/spu/spu.c (spu_init_machine_status): Likewise.
11353 * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
11354 * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
11355 * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
11356 * coverage.c (coverage_end_function): Likewise.
11357 * dbxout.c (dbxout_init): Likewise.
11358 * doc/gty.texi: Don't mention variable_size attribute.
11359 * dwarf2cfi.c (new_cfi): Adjust.
11360 (new_cfi_row): Likewise.
11361 (copy_cfi_row): Likewise.
11362 (create_cie_data): Likewise.
11363 * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
11364 (new_loc_descr): Likewise.
11365 (find_AT_string_in_table): Likewise.
11366 (add_addr_table_entry): Likewise.
11367 (new_die): Likewise.
11368 (add_var_loc_to_decl): Likewise.
11369 (clone_die): Likewise.
11370 (clone_as_declaration): Likewise.
11371 (break_out_comdat_types): Likewise.
11372 (new_loc_list): Likewise.
11373 (add_loc_descr_to_each): Likewise.
11374 (add_location_or_const_value_attribute): Likewise.
11375 (add_linkage_name): Likewise.
11376 (lookup_filename): Likewise.
11377 (dwarf2out_var_location): Likewise.
11378 (new_line_info_table): Likewise.
11379 (dwarf2out_init): Likewise.
11380 (mem_loc_descriptor): Likewise.
11381 (loc_descriptor): Likewise.
11382 (add_const_value_attribute): Likewise.
11383 (tree_add_const_value_attribute): Likewise.
11384 (comp_dir_string): Likewise.
11385 (dwarf2out_vms_debug_main_pointer): Likewise.
11386 (string_cst_pool_decl): Likewise.
11387 * emit-rtl.c (set_mem_attrs): Likewise.
11388 (get_reg_attrs): Likewise.
11389 (start_sequence): Likewise.
11390 (init_emit): Likewise.
11391 (init_emit_regs): Likewise.
11392 * except.c (init_eh_for_function): Likewise.
11393 (gen_eh_region): Likewise.
11394 (gen_eh_region_catch): Likewise.
11395 (gen_eh_landing_pad): Likewise.
11396 (add_call_site): Likewise.
11397 * function.c (add_frame_space): Likewise.
11398 (insert_temp_slot_address): Likewise.
11399 (assign_stack_temp_for_type): Likewise.
11400 (get_hard_reg_initial_val): Likewise.
11401 (allocate_struct_function): Likewise.
11402 (prepare_function_start): Likewise.
11403 (types_used_by_var_decl_insert): Likewise.
11404 * gengtype.c (variable_size_p): Remove function.
11405 (enum alloc_quantity): Remove enum.
11406 (write_typed_alloc_def): Remove function.
11407 (write_typed_struct_alloc_def): Likewise.
11408 (write_typed_typedef_alloc_def): Likewise.
11409 (write_typed_alloc_defns): Likewise.
11410 (main): Adjust.
11411 * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
11412 (ggc_cleared_alloc_ptr_array_two_args): Likewise.
11413 * ggc.h (ggc_alloc): new function.
11414 (ggc_cleared_alloc): Likewise.
11415 (ggc_vec_alloc): Template on type of vector element, and remove
11416 element size argument.
11417 (ggc_cleared_vec_alloc): Likewise.
11418 * gimple.c (gimple_build_omp_for): Adjust.
11419 (gimple_copy): Likewise.
11420 * ipa-cp.c (get_replacement_map): Likewise.
11421 (find_aggregate_values_for_callers_subset): Likewise.
11422 (known_aggs_to_agg_replacement_list): Likewise.
11423 * ipa-devirt.c (get_odr_type): Likewise.
11424 * ipa-prop.c (ipa_node_duplication_hook): Likewise.
11425 (read_agg_replacement_chain): Likewise.
11426 * loop-iv.c (get_simple_loop_desc): Likewise.
11427 * lto-cgraph.c (input_node_opt_summary): Likewise.
11428 * lto-section-in.c (lto_new_in_decl_state): Likewise.
11429 * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
11430 (input_eh_region): Likewise.
11431 (input_eh_lp): Likewise.
11432 (input_cfg): Likewise.
11433 * optabs.c (set_optab_libfunc): Likewise.
11434 (init_tree_optimization_optabs): Likewise.
11435 (set_conv_libfunc): Likewise.
11436 * passes.c (do_per_function_toporder): Likewise.
11437 * rtl.h: Don't use variable_size gty attribute.
11438 * sese.c (if_region_set_false_region): Adjust.
11439 * stringpool.c (gt_pch_save_stringpool): Likewise.
11440 * target-globals.c (save_target_globals): Likewise.
11441 * toplev.c (general_init): Likewise.
11442 * trans-mem.c (record_tm_replacement): Likewise.
11443 (split_bb_make_tm_edge): Likewise.
11444 * tree-cfg.c (move_sese_region_to_fn): Likewise.
11445 * tree-data-ref.h (lambda_vector_new): Likewise.
11446 * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
11447 * tree-iterator.c (tsi_link_before): Likewise.
11448 (tsi_link_after): Likewise.
11449 * tree-scalar-evolution.c (new_scev_info_str): Likewise.
11450 * tree-ssa-loop-niter.c (record_estimate): Likewise.
11451 * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
11452 * tree-ssa-operands.h: Don't use variable_size gty attribute.
11453 * tree-ssa.c (init_tree_ssa): Adjust.
11454 * tree-ssanames.c (set_range_info): Likewise.
11455 (get_ptr_info): Likewise.
11456 (duplicate_ssa_name_ptr_info): Likewise.
11457 (duplicate_ssa_name_range_info): Likewise.
11458 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
11459 (unpack_ts_fixed_cst_value_fields): Likewise.
11460 * tree.c (build_fixed): Likewise.
11461 (build_real): Likewise.
11462 (build_string): Likewise.
11463 (decl_priority_info): Likewise.
11464 (decl_debug_expr_insert): Likewise.
11465 (decl_value_expr_insert): Likewise.
11466 (decl_debug_args_insert): Likewise.
11467 (type_hash_add): Likewise.
11468 (build_omp_clause): Likewise.
11469 * ubsan.c (decl_for_type_insert): Likewise.
11470 * varasm.c (get_unnamed_section): Likewise.
11471 (get_noswitch_section): Likewise.
11472 (get_section): Likewise.
11473 (get_block_for_section): Likewise.
11474 (create_block_symbol): Likewise.
11475 (build_constant_desc): Likewise.
11476 (create_constant_pool): Likewise.
11477 (force_const_mem): Likewise.
11478 (record_tm_clone_pair): Likewise.
11479 * varpool.c (varpool_create_empty_node): Likewise.
11480
11481 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
11482
11483 * dwarf2out.c (tree_add_const_value_attribute): Call
11484 ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
11485 * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
11486 instead of ggc_internal_<x>alloc_stat.
11487 * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
11488 (ggc_realloc): Likewise.
11489 * ggc-none.c (ggc_internal_alloc): Likewise.
11490 (ggc_internal_cleared_alloc): Likewise.
11491 * ggc-page.c: Likewise.
11492 * ggc.h (ggc_internal_alloc_stat): Likewise.
11493 (ggc_internal_alloc): Remove macro.
11494 (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
11495 (ggc_internal_cleared_alloc): Remove macro.
11496 (GGC_RESIZEVEC): Adjust.
11497 (ggc_resizevar): Remove macro.
11498 (ggc_internal_vec_alloc_stat): Drop _stat suffix.
11499 (ggc_internal_cleared_vec_alloc_stat): Likewise.
11500 (ggc_internal_vec_cleared_alloc): Remove macro.
11501 (ggc_alloc_atomic_stat): Drop _stat suffix.
11502 (ggc_alloc_atomic): Remove macro.
11503 (ggc_alloc_cleared_atomic): Remove macro.
11504 (ggc_alloc_string_stat): Drop _stat suffix.
11505 (ggc_alloc_string): Remove macro.
11506 (ggc_alloc_rtx_def_stat): Adjust.
11507 (ggc_alloc_tree_node_stat): Likewise.
11508 (ggc_alloc_cleared_tree_node_stat): Likewise.
11509 (ggc_alloc_cleared_gimple_statement_stat): Likewise.
11510 (ggc_alloc_cleared_simd_clone_stat): Likewise.
11511 * gimple.c (gimple_build_omp_for): Likewise.
11512 (gimple_copy): Likewise.
11513 * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
11514 * toplev.c (realloc_for_line_map): Adjust.
11515 * tree-data-ref.h (lambda_vector_new): Likewise.
11516 * tree-phinodes.c (allocate_phi_node): Likewise.
11517 * tree.c (grow_tree_vec_stat): Likewise.
11518 * vec.h (va_gc::reserve): Adjust.
11519
11520 2014-05-17 Ajit Agarwal <ajitkum@xilinx.com>
11521
11522 * config/microblaze/microblaze.c (break_handler): New Declaration.
11523 (microblaze_break_function_p,microblaze_is_break_handler): New.
11524 (compute_frame_size): Use microblaze_break_function_p.
11525 Add the test of break_handler.
11526 (microblaze_function_prologue) : Add the test of variable
11527 break_handler. Check the fnname by BREAK_HANDLER_NAME.
11528 (microblaze_function_epilogue) : Add the test of break_handler.
11529 (microblaze_globalize_label) : Add the test of break_handler.
11530 Check the name by BREAK_HANDLER_NAME.
11531
11532 * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
11533
11534 * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
11535 microblaze_is_break_handler test.
11536 (call_internal1,call_value_intern): Use microblaze_break_function_p.
11537 Use SYMBOL_REF_DECL.
11538
11539 * config/microblaze/microblaze-protos.h
11540 (microblaze_break_function_p,microblaze_is_break_handler):
11541 New Declaration.
11542
11543 * doc/extend.texi (MicroBlaze break_handler Functions): Document
11544 new MicroBlaze break_handler functions.
11545
11546 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
11547
11548 * doc/extend.texi (Size of an asm): Move node text according
11549 to its @menu entry position.
11550
11551 2014-05-17 Marc Glisse <marc.glisse@inria.fr>
11552
11553 PR tree-optimization/61140
11554 PR tree-optimization/61150
11555 PR tree-optimization/61197
11556 * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
11557
11558 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
11559
11560 * doc/invoke.texi (free): Mention Alpha. Also enabled at -Os.
11561
11562 2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com>
11563
11564 * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
11565 __SIZEOF_INT128__ is defined.
11566
11567 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
11568
11569 * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
11570 (rs6000_delegitimize_address): Use it.
11571
11572 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
11573
11574 * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
11575 inplace argument. Store the new address in the original MEM when true.
11576 * emit-rtl.c (change_address_1): Likewise.
11577 (adjust_address_1, adjust_automodify_address_1, offset_address):
11578 Update accordingly.
11579 * rtl.h (plus_constant): Add an inplace argument.
11580 * explow.c (plus_constant): Likewise. Try to reuse the original PLUS
11581 when true. Avoid generating (plus X (const_int 0)).
11582 * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
11583 in-place. Pass true to plus_constant.
11584 (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
11585
11586 2014-05-16 Dehao Chen <dehao@google.com>
11587
11588 * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
11589
11590 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
11591
11592 PR target/54089
11593 * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
11594 patterns.
11595 * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
11596
11597 2014-05-16 Dehao Chen <dehao@google.com>
11598
11599 * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
11600 optimize_function_for_size_p.
11601 * regs.h (REG_FREQ_FROM_BB): Likewise.
11602
11603 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
11604
11605 PR target/51244
11606 * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
11607 negt_reg_operand cases.
11608 * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
11609 predicate.
11610 * config/sh/predicates.md (cbranch_treg_value): Simplify.
11611
11612 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
11613
11614 * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
11615 target variants.
11616
11617 2014-05-16 David Malcolm <dmalcolm@redhat.com>
11618
11619 Revert:
11620 2014-04-29 David Malcolm <dmalcolm@redhat.com>
11621
11622 * tree-cfg.c (dump_function_to_file): Dump the return type of
11623 functions, in a line to itself before the function body, mimicking
11624 the layout of a C function.
11625
11626 2014-05-16 Dehao Chen <dehao@google.com>
11627
11628 * cfghooks.c (make_forwarder_block): Use direct computation to
11629 get fall-through edge's count and frequency.
11630
11631 2014-05-16 Benno Schulenberg <bensberg@justemail.net>
11632
11633 * config/arc/arc.c (arc_init): Fix typo in error message.
11634 * config/i386/i386.c (ix86_expand_builtin): Likewise.
11635 (split_stack_prologue_scratch_regno): Likewise.
11636 * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
11637 word from error message.
11638
11639 2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
11640
11641 * ira-costs.c: Fix typo in comment.
11642
11643 2014-05-16 David Wohlferd <dw@LimeGreenSocks.com>
11644
11645 * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
11646
11647 2014-05-16 Jan Hubicka <hubicka@ucw.cz>
11648
11649 * varpool.c (dump_varpool_node): Dump write-only flag.
11650 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
11651 write-only flag.
11652 * tree-cfg.c (execute_fixup_cfg): Remove statements setting
11653 write-only variables.
11654 * ipa.c (process_references): New function.
11655 (set_readonly_bit): New function.
11656 (set_writeonly_bit): New function.
11657 (clear_addressable_bit): New function.
11658 (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
11659 fix handling of aliases.
11660 * cgraph.h (struct varpool_node): Add writeonly flag.
11661
11662 2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
11663
11664 PR rtl-optimization/60969
11665 * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
11666 Calculate costs for this case.
11667
11668 2014-05-16 Eric Botcazou <ebotcazou@adacore.com>
11669
11670 * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
11671 <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
11672
11673 2014-05-16 Richard Biener <rguenther@suse.de>
11674
11675 PR tree-optimization/61194
11676 * tree-vect-patterns.c (adjust_bool_pattern): Also handle
11677 bool patterns ending in a COND_EXPR.
11678
11679 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11680
11681 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
11682
11683 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11684
11685 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
11686 where we were unable to cost an RTX.
11687
11688 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11689
11690 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
11691 HIGH, LO_SUM.
11692
11693 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11694 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11695
11696 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
11697
11698 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11699 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11700
11701 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
11702 FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
11703
11704 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11705 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11706
11707 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
11708 operators.
11709
11710 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11711 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11712
11713 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
11714 DIV/MOD.
11715
11716 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11717 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11718
11719 * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
11720 (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
11721
11722 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11723 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11724
11725 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
11726 rotates and shifts.
11727
11728 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11729 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11730
11731 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
11732 ZERO_EXTEND and SIGN_EXTEND better.
11733
11734 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11735 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11736
11737 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
11738 logical operations.
11739
11740 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11741 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11742
11743 * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
11744 costs when costing loads and stores to memory.
11745
11746 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11747 Philip Tomsich <philipp.tomsich@theobroma-systems.com>
11748
11749 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
11750 for SET RTX.
11751
11752 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11753
11754 * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
11755
11756 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11757 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11758
11759 * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
11760 to...
11761 (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
11762 well formed.
11763 (aarch64_rtx_mult_cost): New.
11764 (aarch64_rtx_costs): Use it, refactor as appropriate.
11765
11766 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11767 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
11768
11769 * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
11770 emit instructions, return number of instructions which would
11771 be emitted.
11772 (aarch64_add_constant): Update call to aarch64_build_constant.
11773 (aarch64_output_mi_thunk): Likewise.
11774 (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
11775 a CONST_DOUBLE.
11776
11777 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11778
11779 * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
11780 (TARGET_RTX_COSTS): Call it.
11781
11782 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11783
11784 * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
11785 (cortexa57_vector_cost): Likewise.
11786 (cortexa57_tunings): Use them.
11787
11788 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
11789
11790 * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
11791 (cpu_addrcost_table): Use it.
11792 * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
11793 (aarch64_address_cost): Rewrite using aarch64_classify_address,
11794 move it.
11795
11796 2014-05-16 Richard Biener <rguenther@suse.de>
11797
11798 * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
11799 (set_ssa_val_to): Handle unexpected sets to VN_TOP.
11800 (visit_phi): Ignore edges marked as not executable.
11801 (class cond_dom_walker): New.
11802 (cond_dom_walker::before_dom_children): Value-number
11803 control statements and mark successor edges as not
11804 executable if possible.
11805 (run_scc_vn): First walk all control statements in
11806 dominator order, marking edges as not executable.
11807 * tree-inline.c (copy_edges_for_bb): Be not confused
11808 about random edge flags.
11809
11810 2014-05-16 Richard Biener <rguenther@suse.de>
11811
11812 * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
11813
11814 2014-05-15 Peter Bergner <bergner@vnet.ibm.com>
11815
11816 PR target/61193
11817 * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
11818 (__TM_simple_begin): Use it.
11819 (__TM_begin): Likewise.
11820
11821 2014-05-15 Martin Jambor <mjambor@suse.cz>
11822
11823 PR ipa/61085
11824 * ipa-prop.c (update_indirect_edges_after_inlining): Check
11825 type_preserved flag when the indirect edge is polymorphic.
11826
11827 2014-05-15 Martin Jambor <mjambor@suse.cz>
11828
11829 PR tree-optimization/61090
11830 * tree-sra.c (sra_modify_expr): Pass the current gsi to
11831 build_ref_for_model.
11832
11833 2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
11834
11835 * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
11836 enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
11837
11838 2014-05-15 Jakub Jelinek <jakub@redhat.com>
11839
11840 PR tree-optimization/61158
11841 * fold-const.c (fold_binary_loc): If X is zero-extended and
11842 shiftc >= prec, make sure zerobits is all ones instead of
11843 invoking undefined behavior.
11844
11845 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
11846
11847 * regcprop.h: New file.
11848 * regcprop.c (skip_debug_insn_p): New decl.
11849 (replace_oldest_value_reg): Check skip_debug_insn_p.
11850 (copyprop_hardreg_forward_bb_without_debug_insn): New function.
11851 * shrink-wrap.c: Include regcprop.h.
11852 (prepare_shrink_wrap): Call
11853 copyprop_hardreg_forward_bb_without_debug_insn.
11854
11855 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
11856
11857 * shrink-wrap.h: Update comment.
11858 * shrink-wrap.c: Update comment.
11859 (next_block_for_reg): Rename to live_edge_for_reg.
11860 (live_edge_for_reg): Allow live_edge->dest has two predecessors.
11861 (move_insn_for_shrink_wrap): Split live_edge.
11862 (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
11863
11864 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
11865
11866 * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
11867 Delete.
11868 * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
11869 * config/sparc/sparc.md (fptype_ut699): New attribute.
11870 (in_branch_delay): Return false if -mfix-ut699 is specified and
11871 fptype_ut699 is set to single.
11872 (truncdfsf2): Add fptype_ut699 attribute.
11873 (fix_truncdfsi2): Likewise.
11874 (floatsisf2): Change fptype attribute.
11875 (fix_truncsfsi2): Likewise.
11876 (negtf2_notv9): Delete.
11877 (negtf2_v9): Likewise.
11878 (negtf2_hq): New instruction.
11879 (negtf2): New instruction and splitter.
11880 (negdf2_notv9): Rewrite.
11881 (abstf2_notv9): Delete.
11882 (abstf2_hq_v9): Likewise.
11883 (abstf2_v9): Likewise.
11884 (abstf2_hq): New instruction.
11885 (abstf2): New instruction and splitter.
11886 (absdf2_notv9): Rewrite.
11887
11888 2014-05-14 Cary Coutant <ccoutant@google.com>
11889
11890 PR debug/61013
11891 * opts.c (common_handle_option): Don't special-case "-g".
11892 (set_debug_level): Default to at least level 2 with "-g".
11893
11894 2014-05-14 DJ Delorie <dj@redhat.com>
11895
11896 * config/msp430/msp430.c (msp430_builtin): Add
11897 MSP430_BUILTIN_DELAY_CYCLES.
11898 (msp430_init_builtins): Register void __delay_cycles(long long).
11899 (msp430_builtin_decl): Add it.
11900 (cg_magic_constant): New.
11901 (msp430_expand_delay_cycles): New.
11902 (msp430_expand_builtin): Call it.
11903 (msp430_print_operand_raw): Change integer printing from "int" to
11904 HOST_WIDE_INT.
11905 * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
11906 (delay_cycles_start): New.
11907 (delay_cycles_end): New.
11908 (delay_cycles_32): New.
11909 (delay_cycles_32x): New.
11910 (delay_cycles_16): New.
11911 (delay_cycles_16x): New.
11912 (delay_cycles_2): New.
11913 (delay_cycles_1): New.
11914 * doc/extend.texi: Document __delay_cycles().
11915
11916 2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
11917
11918 * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
11919 length attribute computation.
11920
11921 2014-05-14 Richard Sandiford <rdsandiford@googlemail.com>
11922
11923 PR debug/61188
11924 * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
11925
11926 2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
11927
11928 PR target/61084
11929 * config/sparc/sparc.md: Fix types of low and high in DI constant
11930 splitter. Use gen_int_mode in some other splitters.
11931
11932 2014-05-14 Martin Jambor <mjambor@suse.cz>
11933
11934 PR ipa/60897
11935 * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
11936
11937 2014-05-14 James Norris <jnorris@codesourcery.com>
11938
11939 * omp-low.c (expand_parallel_call): Remove shadow variable.
11940 (expand_omp_taskreg): Likewise.
11941
11942 2014-05-14 Ilya Tocar <ilya.tocar@intel.com>
11943
11944 * common/config/i386/i386-common.c
11945 (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
11946 (OPTION_MASK_ISA_XSAVES_SET): Ditto.
11947 (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
11948 (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
11949 (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
11950 (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
11951 (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
11952 * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
11953 xsavecintrin.h, xsavesintrin.h.
11954 (x86_64-*-*): Ditto.
11955 * config/i386/clflushoptintrin.h: New.
11956 * config/i386/xsavecintrin.h: Ditto.
11957 * config/i386/xsavesintrin.h: Ditto.
11958 * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
11959 (bit_XSAVES): Ditto.
11960 (bit_XSAVES): Ditto.
11961 * config/i386/driver-i386.c (host_detect_local_cpu): Handle
11962 -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
11963 -mno-clflushopt.
11964 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
11965 OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
11966 OPTION_MASK_ISA_XSAVES.
11967 * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
11968 -mxsavec, -mxsaves.
11969 (PTA_CLFLUSHOPT) Define.
11970 (PTA_XSAVEC): Ditto.
11971 (PTA_XSAVES): Ditto.
11972 (ix86_option_override_internal): Handle new options.
11973 (ix86_valid_target_attribute_inner_p): Ditto.
11974 (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
11975 IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
11976 IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
11977 (bdesc_special_args): Add __builtin_ia32_xsaves,
11978 __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
11979 __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
11980 (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
11981 (ix86_expand_builtin): Handle new builtins.
11982 * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
11983 (TARGET_CLFLUSHOPT_P): Ditto.
11984 (TARGET_XSAVEC): Ditto.
11985 (TARGET_XSAVEC_P): Ditto.
11986 (TARGET_XSAVES): Ditto.
11987 (TARGET_XSAVES_P): Ditto.
11988 * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
11989 (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
11990 (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
11991 (ANY_XRSTOR): New.
11992 (ANY_XRSTOR64): Ditto.
11993 (xrstor): Ditto.
11994 (xrstor): Change into <xrstor>.
11995 (xrstor_rex64): Change into <xrstor>_rex64.
11996 (xrstor64): Change into <xrstor>64
11997 (clflushopt): New.
11998 * config/i386/i386.opt (mclflushopt): New.
11999 (mxsavec): Ditto.
12000 (mxsaves): Ditto.
12001 * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
12002 xsavecintrin.h.
12003 * doc/invoke.texi: Document new options.
12004
12005 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
12006
12007 PR rtl-optimization/60866
12008 * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
12009 Default it to -1. Pass it down to init_simplejump_data.
12010 (init_simplejump_data): New parameter old_seqno. Pass it down
12011 to get_seqno_for_a_jump.
12012 (get_seqno_for_a_jump): New parameter old_seqno. Use it for
12013 initializing new jump seqno as a last resort. Add comment.
12014 (sel_redirect_edge_and_branch): Save old seqno of the conditional
12015 jump and pass it down to sel_init_new_insn.
12016 (sel_redirect_edge_and_branch_force): Likewise.
12017
12018 2014-05-14 Georg-Johann Lay <avr@gjlay.de>
12019
12020 * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
12021 shifted values to avoid build warning.
12022
12023 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
12024
12025 * cfgcleanup.c (try_forward_edges): Use location_t for locations.
12026 * cfgrtl.c (rtl_merge_blocks): Fix comment.
12027 (cfg_layout_merge_blocks): Likewise.
12028 * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
12029
12030 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
12031
12032 PR rtl-optimization/60901
12033 * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
12034 bb predecessor belongs to the same scheduling region. Adjust comment.
12035
12036 2014-05-13 Peter Bergner <bergner@vnet.ibm.com>
12037
12038 * doc/sourcebuild.texi: (dfp_hw): Document.
12039 (p8vector_hw): Likewise.
12040 (powerpc_eabi_ok): Likewise.
12041 (powerpc_elfv2): Likewise.
12042 (powerpc_htm_ok): Likewise.
12043 (ppc_recip_hw): Likewise.
12044 (vsx_hw): Likewise.
12045
12046 2014-05-13 Cary Coutant <ccoutant@google.com>
12047
12048 * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
12049
12050 2014-05-13 David Malcolm <dmalcolm@redhat.com>
12051
12052 * gengtype-parse.c (require3): Eliminate in favor of...
12053 (require4): New.
12054 (require_template_declaration): Update to support optional single *
12055 on a type.
12056
12057 * gengtype.c (get_ultimate_base_class): Add a non-const overload.
12058 (create_user_defined_type): Handle a single level of explicit
12059 pointerness within template arguments.
12060 (struct write_types_data): Add field "kind".
12061 (filter_type_name): Handle "*" character.
12062 (write_user_func_for_structure_ptr): Require a write_types_data
12063 rather than just a prefix string, so that we can look up the kind
12064 of the wtd and use it as an index into wrote_user_func_for_ptr,
12065 ensuring that such functions are written at most once. Support
12066 subclasses by invoking the marking function of the ultimate base class.
12067 (write_user_func_for_structure_body): Require a write_types_data
12068 rather than just a prefix string, so that we can pass this to
12069 write_user_func_for_structure_ptr.
12070 (write_func_for_structure): Likewise.
12071 (ggc_wtd): Add initializer of new "kind" field.
12072 (pch_wtd): Likewise.
12073
12074 * gengtype.h (enum write_types_kinds): New.
12075 (struct type): Add field wrote_user_func_for_ptr to the "s"
12076 union member.
12077
12078 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
12079
12080 * fold-const.c (optimize_bit_field_compare): Use wi:: operations
12081 instead of const_binop.
12082 (fold_binary_loc): Likewise.
12083
12084 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
12085
12086 * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
12087 calculation to match get_ref_base_and_extent.
12088
12089 2014-05-13 Catherine Moore <clm@codesourcery.com>
12090 Sandra Loosemore <sandra@codesourcery.com>
12091
12092 * configure.ac: Fix assembly for explicit JALR relocation check.
12093 * configure: Regenerate.
12094
12095 2014-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12096
12097 * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
12098 (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
12099 Remove associated type declarations and initialisations.
12100 (arm_expand_neon_builtin): Likewise.
12101 (neon_emit_pair_result_insn): Delete.
12102 * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
12103 * config/arm/neon.md (neon_vtrn<mode>): Delete.
12104 (neon_vzip<mode>): Likewise.
12105 (neon_vuzp<mode>): Likewise.
12106
12107 2014-05-13 Richard Biener <rguenther@suse.de>
12108
12109 PR ipa/60973
12110 * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
12111 it needs revisiting whether the call still may be tail-called.
12112
12113 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12114
12115 * rtl.def (SYMBOL_REF): Remove middle "0" field.
12116 * rtl.h (block_symbol): Reduce number of fields to 2.
12117 (rtx_def): Add u2.symbol_ref_flags.
12118 (SYMBOL_REF_FLAGS): Use it.
12119 (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
12120 (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
12121 * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
12122 Lower index of SYMBOL_REF_DATA.
12123 * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
12124 Print SYMBOL_REF_FLAGS at the same time.
12125 * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
12126
12127 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12128
12129 * rtl.def (VAR_LOCATION): Remove "i" field.
12130 * rtl.h (rtx_def): Add u2.var_location_status.
12131 (PAT_VAR_LOCATION_STATUS): Use it.
12132 (gen_rtx_VAR_LOCATION): Declare.
12133 * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
12134 * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
12135 * var-tracking.c (emit_note_insn_var_location): Remove casts.
12136
12137 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12138
12139 * rtl.def (scratch): Fix outdated comment and remove "0" field.
12140 * gengtype.c (adjust_field_rtx_def): Update accordingly.
12141
12142 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12143
12144 * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
12145 (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
12146 * rtl.h (rtx_def): Add insn_uid to u2 field.
12147 (RTX_FLAG_CHECK8): Delete in favor of...
12148 (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
12149 (INSN_DELETED_P): Update accordingly.
12150 (INSN_UID): Use u2.insn_uid.
12151 (INSN_CHAIN_CODE_P): Define.
12152 (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
12153 (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
12154 (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
12155 (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
12156 (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
12157 indices accordingly.
12158 * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
12159 Update indices for insn-chain rtxes.
12160 * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
12161 (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
12162 * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
12163 * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
12164 * combine.c (try_combine): Likewise.
12165 * ira.c (setup_prohibited_mode_move_regs): Likewise.
12166
12167 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12168
12169 * rtl.def (REG): Remove middle field.
12170 * rtl.h (rtx_def): Add orignal_regno to u2.
12171 (ORIGINAL_REGNO): Use it instead of field 1.
12172 (REG_ATTRS): Lower field index accordingly.
12173 * gengtype.c (adjust_field_rtx_def): Remove handling of
12174 ORIGINAL_REGNO. Move REG_ATTRS index down.
12175 * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
12176 code that prints the REGNO.
12177
12178 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12179
12180 * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
12181 GENERATOR_FILE.
12182
12183 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
12184
12185 * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
12186
12187 2014-05-13 Bin Cheng <bin.cheng@arm.com>
12188
12189 * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
12190 (alloc_iv): Lower base expressions containing ADDR_EXPR.
12191
12192 2014-05-13 Ian Bolton <ian.bolton@arm.com>
12193
12194 * config/aarch64/aarch64-protos.h
12195 (aarch64_hard_regno_caller_save_mode): New prototype.
12196 * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
12197 New function.
12198 * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
12199
12200 2014-05-13 Christian Bruel <christian.bruel@st.com>
12201
12202 * target.def (mode_switching): New hook vector.
12203 (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
12204 (mode_exit, modepriority_to_mode): Likewise.
12205 * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
12206 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
12207 * target.h: Include tm.h and hard-reg-set.h.
12208 * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
12209 (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
12210 * doc/tm.texi Regenerate.
12211 * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
12212 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
12213 * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
12214 (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
12215 * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
12216 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
12217 * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
12218 (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
12219 * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
12220 (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
12221 (ix86_emit_mode_set): Hookify.
12222 * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
12223 Delete.
12224 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
12225 * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
12226 (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
12227 (epiphany_mode_priority_to_mode): Remove declaration.
12228 * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
12229 (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
12230 (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
12231 Likewise.
12232 (epiphany_mode_priority_to_mode): Change priority type. Hookify.
12233 (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
12234 (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
12235
12236 2014-05-13 Jakub Jelinek <jakub@redhat.com>
12237
12238 PR target/61060
12239 * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
12240 is const0_rtx, return immediately. Don't test count == 0 when
12241 it is always true.
12242
12243 2014-05-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
12244
12245 * Makefile.in: add shrink-wrap.o.
12246 * config/i386/i386.c: include "shrink-wrap.h"
12247 * function.c: Likewise.
12248 (requires_stack_frame_p, next_block_for_reg,
12249 move_insn_for_shrink_wrap, prepare_shrink_wrap,
12250 dup_block_and_redirect): Move to shrink-wrap.c
12251 (thread_prologue_and_epilogue_insns): Extract three code segments
12252 as functions in shrink-wrap.c
12253 * function.h: Move #ifdef HAVE_simple_return ... #endif block to
12254 shrink-wrap.h
12255 * shrink-wrap.c: New file.
12256 * shrink-wrap.h: New file.
12257
12258 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
12259
12260 * doc/extend.texi: Reflect current numbers of pragmas. Remove
12261 reference to Solaris.
12262
12263 2014-05-12 Mike Stump <mikestump@comcast.net>
12264
12265 PR other/31778
12266 * genattrtab.c (filename): Add.
12267 (convert_set_attr_alternative): Improve error message.
12268 (check_defs): Restore read_md_filename for error messages.
12269 (gen_insn): Save filename.
12270
12271 2014-05-12 Dimitris Papavasiliou <dpapavas@gmail.com>
12272
12273 * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
12274 -fno-local-ivars and -fivar-visibility.
12275 * c-family/c.opt: Make -Wshadow also implicitly enable
12276 -Wshadow-ivar.
12277
12278 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
12279
12280 * doc/tm.texi: Remove reference to deleted macro.
12281 * doc/tm.texi.in: Likewise.
12282
12283 2014-05-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
12284
12285 PR target/60991
12286 * config/avr/avr.c (avr_out_store_psi): Use correct constant
12287 to restore Y.
12288
12289 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
12290
12291 PR libgcc/61152
12292 * config/arm/arm.h (License): Add GCC Runtime Library Exception.
12293 * config/arm/aout.h (License): Same.
12294 * config/arm/bpabi.h (License): Same.
12295 * config/arm/elf.h (License): Same.
12296 * config/arm/linux-elf.h (License): Same.
12297 * config/arm/linux-gas.h (License): Same.
12298 * config/arm/netbsd-elf.h (License): Same.
12299 * config/arm/uclinux-eabi.h (License): Same.
12300 * config/arm/uclinux-elf.h (License): Same.
12301 * config/arm/vxworks.h (License): Same.
12302
12303 2014-05-11 Jakub Jelinek <jakub@redhat.com>
12304
12305 * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
12306 * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
12307 number of operands to 3.
12308 (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
12309 * tree-nested.c (convert_nonlocal_omp_clauses,
12310 convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
12311 * gimplify.c (gimplify_scan_omp_clauses): Handle
12312 OMP_CLAUSE_LINEAR_STMT.
12313 * omp-low.c (lower_rec_input_clauses): Fix typo.
12314 (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
12315 cast between Fortran boolean_type_node and C _Bool if
12316 needed.
12317
12318 2014-05-11 Richard Sandiford <rdsandiford@googlemail.com>
12319
12320 PR tree-optimization/61136
12321 * wide-int.h (multiple_of_p): Define a version that doesn't return
12322 the quotient.
12323 * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
12324 integer_zerop/const_binop pair.
12325 (multiple_of_p): Likewise, converting both operands to widest_int
12326 precision.
12327
12328 2014-05-09 Teresa Johnson <tejohnson@google.com>
12329
12330 * cgraphunit.c (analyze_functions): Use correct dump file.
12331
12332 2014-05-09 Florian Weimer <fweimer@redhat.com>
12333
12334 * cfgexpand.c (stack_protect_decl_p): New function, extracted from
12335 expand_used_vars.
12336 (stack_protect_return_slot_p): New function.
12337 (expand_used_vars): Call stack_protect_decl_p and
12338 stack_protect_return_slot_p for -fstack-protector-strong.
12339
12340 2014-05-09 David Wohlferd <LimeGreenSocks@yahoo.com>
12341 Andrew Haley <aph@redhat.com>
12342 Richard Sandiford <rdsandiford@googlemail.com>
12343
12344 * doc/extend.texi: Rewrite inline asm page / re-org asm-related
12345 pages.
12346
12347 2014-05-09 Kenneth Zadeck <zadeck@naturalbridge.com>
12348
12349 PR middle-end/61111
12350 * fold-const.c (fold_binary_loc): Changed width of mask.
12351
12352 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
12353
12354 * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
12355 unsigned int initializers for regno_in, regno_out.
12356
12357 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
12358
12359 PR target/61055
12360 * config/avr/avr.md (cc): Add new attribute set_vzn.
12361 (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
12362 Set cc insn attribute to set_vzn instead of set_zn for alternatives
12363 with INC, DEC or NEG.
12364 * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
12365 (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
12366 INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
12367
12368 2014-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12369
12370 Revert:
12371 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12372
12373 * wide-int.cc (UTItype): Define.
12374 (UDWtype): Define for appropriate W_TYPE_SIZE.
12375
12376 2014-05-09 Richard Biener <rguenther@suse.de>
12377
12378 * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
12379 * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
12380 (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
12381 (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
12382 ssa_propagate): Adjust.
12383
12384 2014-05-08 Jeff Law <law@redhat.com>
12385
12386 PR tree-optimization/61009
12387 * tree-ssa-threadedge.c (thread_through_normal_block): Return a
12388 tri-state rather than a boolean. When a block is too big to
12389 thread through, inform caller via negative return value.
12390 (thread_across_edge): If a block was too big for normal threading,
12391 then it's too big for a joiner too, so remove temporary equivalences
12392 and return immediately.
12393
12394 2014-05-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
12395 Matthias Klose <doko@ubuntu.com>
12396
12397 PR driver/61106
12398 * optc-gen.awk: Fix option handling for -Wunused-parameter.
12399
12400 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
12401
12402 PR target/59952
12403 * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
12404
12405 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
12406
12407 PR target/61092
12408 * config/alpha/alpha.c: Include gimple-iterator.h.
12409 (alpha_gimple_fold_builtin): New function. Move
12410 ALPHA_BUILTIN_UMULH folding from ...
12411 (alpha_fold_builtin): ... here.
12412 (TARGET_GIMPLE_FOLD_BUILTIN): New define.
12413
12414 2014-05-08 Wei Mi <wmi@google.com>
12415
12416 PR target/58066
12417 * config/i386/i386.c (ix86_compute_frame_layout): Update
12418 preferred_stack_boundary for call, expanded from tls descriptor.
12419 * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
12420 to depend on SP register.
12421 (*tls_local_dynamic_base_32_gnu): Ditto.
12422 (*tls_local_dynamic_32_once): Ditto.
12423 (tls_global_dynamic_64_<mode>): Set
12424 ix86_tls_descriptor_calls_expanded_in_cfun.
12425 (tls_local_dynamic_base_64_<mode>): Ditto.
12426 (tls_global_dynamic_32): Set
12427 ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
12428 to depend on SP register.
12429 (tls_local_dynamic_base_32): Ditto.
12430
12431 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12432
12433 * config/arm/arm_neon.h: Update comment.
12434 * config/arm/neon-docgen.ml: Delete.
12435 * config/arm/neon-gen.ml: Delete.
12436 * doc/arm-neon-intrinsics.texi: Update comment.
12437
12438 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12439
12440 * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
12441 and v4sf versions.
12442 (vand, vorr, veor, vorn, vbic): Remove.
12443 * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
12444 iterator.
12445 (neon_vsub_unspec): Likewise.
12446 (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
12447
12448 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12449
12450 * config/arm/arm_neon.h (vadd_s8): GNU C implementation
12451 (vadd_s16): Likewise.
12452 (vadd_s32): Likewise.
12453 (vadd_f32): Likewise.
12454 (vadd_u8): Likewise.
12455 (vadd_u16): Likewise.
12456 (vadd_u32): Likewise.
12457 (vadd_s64): Likewise.
12458 (vadd_u64): Likewise.
12459 (vaddq_s8): Likewise.
12460 (vaddq_s16): Likewise.
12461 (vaddq_s32): Likewise.
12462 (vaddq_s64): Likewise.
12463 (vaddq_f32): Likewise.
12464 (vaddq_u8): Likewise.
12465 (vaddq_u16): Likewise.
12466 (vaddq_u32): Likewise.
12467 (vaddq_u64): Likewise.
12468 (vmul_s8): Likewise.
12469 (vmul_s16): Likewise.
12470 (vmul_s32): Likewise.
12471 (vmul_f32): Likewise.
12472 (vmul_u8): Likewise.
12473 (vmul_u16): Likewise.
12474 (vmul_u32): Likewise.
12475 (vmul_p8): Likewise.
12476 (vmulq_s8): Likewise.
12477 (vmulq_s16): Likewise.
12478 (vmulq_s32): Likewise.
12479 (vmulq_f32): Likewise.
12480 (vmulq_u8): Likewise.
12481 (vmulq_u16): Likewise.
12482 (vmulq_u32): Likewise.
12483 (vsub_s8): Likewise.
12484 (vsub_s16): Likewise.
12485 (vsub_s32): Likewise.
12486 (vsub_f32): Likewise.
12487 (vsub_u8): Likewise.
12488 (vsub_u16): Likewise.
12489 (vsub_u32): Likewise.
12490 (vsub_s64): Likewise.
12491 (vsub_u64): Likewise.
12492 (vsubq_s8): Likewise.
12493 (vsubq_s16): Likewise.
12494 (vsubq_s32): Likewise.
12495 (vsubq_s64): Likewise.
12496 (vsubq_f32): Likewise.
12497 (vsubq_u8): Likewise.
12498 (vsubq_u16): Likewise.
12499 (vsubq_u32): Likewise.
12500 (vsubq_u64): Likewise.
12501 (vand_s8): Likewise.
12502 (vand_s16): Likewise.
12503 (vand_s32): Likewise.
12504 (vand_u8): Likewise.
12505 (vand_u16): Likewise.
12506 (vand_u32): Likewise.
12507 (vand_s64): Likewise.
12508 (vand_u64): Likewise.
12509 (vandq_s8): Likewise.
12510 (vandq_s16): Likewise.
12511 (vandq_s32): Likewise.
12512 (vandq_s64): Likewise.
12513 (vandq_u8): Likewise.
12514 (vandq_u16): Likewise.
12515 (vandq_u32): Likewise.
12516 (vandq_u64): Likewise.
12517 (vorr_s8): Likewise.
12518 (vorr_s16): Likewise.
12519 (vorr_s32): Likewise.
12520 (vorr_u8): Likewise.
12521 (vorr_u16): Likewise.
12522 (vorr_u32): Likewise.
12523 (vorr_s64): Likewise.
12524 (vorr_u64): Likewise.
12525 (vorrq_s8): Likewise.
12526 (vorrq_s16): Likewise.
12527 (vorrq_s32): Likewise.
12528 (vorrq_s64): Likewise.
12529 (vorrq_u8): Likewise.
12530 (vorrq_u16): Likewise.
12531 (vorrq_u32): Likewise.
12532 (vorrq_u64): Likewise.
12533 (veor_s8): Likewise.
12534 (veor_s16): Likewise.
12535 (veor_s32): Likewise.
12536 (veor_u8): Likewise.
12537 (veor_u16): Likewise.
12538 (veor_u32): Likewise.
12539 (veor_s64): Likewise.
12540 (veor_u64): Likewise.
12541 (veorq_s8): Likewise.
12542 (veorq_s16): Likewise.
12543 (veorq_s32): Likewise.
12544 (veorq_s64): Likewise.
12545 (veorq_u8): Likewise.
12546 (veorq_u16): Likewise.
12547 (veorq_u32): Likewise.
12548 (veorq_u64): Likewise.
12549 (vbic_s8): Likewise.
12550 (vbic_s16): Likewise.
12551 (vbic_s32): Likewise.
12552 (vbic_u8): Likewise.
12553 (vbic_u16): Likewise.
12554 (vbic_u32): Likewise.
12555 (vbic_s64): Likewise.
12556 (vbic_u64): Likewise.
12557 (vbicq_s8): Likewise.
12558 (vbicq_s16): Likewise.
12559 (vbicq_s32): Likewise.
12560 (vbicq_s64): Likewise.
12561 (vbicq_u8): Likewise.
12562 (vbicq_u16): Likewise.
12563 (vbicq_u32): Likewise.
12564 (vbicq_u64): Likewise.
12565 (vorn_s8): Likewise.
12566 (vorn_s16): Likewise.
12567 (vorn_s32): Likewise.
12568 (vorn_u8): Likewise.
12569 (vorn_u16): Likewise.
12570 (vorn_u32): Likewise.
12571 (vorn_s64): Likewise.
12572 (vorn_u64): Likewise.
12573 (vornq_s8): Likewise.
12574 (vornq_s16): Likewise.
12575 (vornq_s32): Likewise.
12576 (vornq_s64): Likewise.
12577 (vornq_u8): Likewise.
12578 (vornq_u16): Likewise.
12579 (vornq_u32): Likewise.
12580 (vornq_u64): Likewise.
12581
12582 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
12583
12584 * wide-int.cc (UTItype): Define.
12585 (UDWtype): Define for appropriate W_TYPE_SIZE.
12586
12587 2014-05-08 Marc Glisse <marc.glisse@inria.fr>
12588
12589 PR tree-optimization/59100
12590 * tree-ssa-phiopt.c: Include tree-inline.h.
12591 (neutral_element_p, absorbing_element_p): New functions.
12592 (value_replacement): Handle conditional binary operations with a
12593 neutral or absorbing element.
12594
12595 2014-05-08 Richard Biener <rguenther@suse.de>
12596
12597 * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
12598 folding the expression.
12599 (valueize_expr): Remove.
12600 (visit_reference_op_load): Do not valueize the result of
12601 vn_get_expr_for.
12602 (simplify_binary_expression): Likewise.
12603 (simplify_unary_expression): Likewise.
12604
12605 2014-05-08 Richard Biener <rguenther@suse.de>
12606
12607 * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
12608 looking at TYPE_ARG_TYPES.
12609
12610 2014-05-08 Richard Biener <rguenther@suse.de>
12611
12612 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
12613 pointer propagation special-case.
12614
12615 2014-05-08 Bin Cheng <bin.cheng@arm.com>
12616
12617 * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
12618 core part of address expressions.
12619
12620 2014-05-08 Alan Modra <amodra@gmail.com>
12621
12622 PR target/60737
12623 * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
12624 loads and stores when -mno-strict-align at any alignment.
12625 (expand_block_clear): Similarly. Also correct calculation of
12626 instruction count.
12627
12628 2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
12629
12630 PR middle-end/39246
12631 * tree-complex.c (expand_complex_move): Keep line info when expanding
12632 complex move.
12633 * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
12634 of complex expression. Use new argument to display correct location
12635 for values coming from phi statement.
12636 (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
12637 (warn_uninitialized_phi): Pass location of phi argument to
12638 warn_uninit.
12639 * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
12640 COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
12641
12642 2014-05-07 Segher Boessenkool <segher@kernel.crashing.org>
12643
12644 * config/rs6000/predicates.md (indexed_address_mem): New.
12645 * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
12646 load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
12647 fpstore_ux, fpstore_u.
12648 (sign_extend, indexed, update): New.
12649 (cell_micro): Adjust.
12650 (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
12651 *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
12652 *movsi_internal1, *movsi_internal1_single, *movhi_internal,
12653 *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
12654 *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
12655 *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
12656 *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
12657 *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
12658 *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
12659 *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
12660 *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
12661 *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
12662 *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
12663 *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
12664 *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
12665
12666 * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
12667 * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
12668 *vsx_extract_<mode>_store): Adjust.
12669 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
12670 is_cracked_insn, insn_must_be_first_in_group,
12671 insn_must_be_last_in_group): Adjust.
12672
12673 * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
12674 Adjust.
12675 * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
12676 ppc440-fpstore): Adjust.
12677 * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
12678 ppc476-fpstore): Adjust.
12679 * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
12680 ppc601-fpstore): Adjust.
12681 * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
12682 Adjust.
12683 * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
12684 Adjust.
12685 * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
12686 ppc7450-fpstore): Adjust.
12687 * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
12688 * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
12689 * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
12690 Adjust.
12691 * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
12692 cell-fpload, cell-fpload-update, cell-store, cell-store-update,
12693 cell-fpstore, cell-fpstore-update): Adjust.
12694 * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
12695 ppce300c3_store, ppce300c3_fpstore): Adjust.
12696 * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
12697 e500mc_fpstore): Adjust.
12698 * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
12699 e500mc64_store, e500mc64_fpstore): Adjust.
12700 * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
12701 e5500_fpstore): Adjust.
12702 * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
12703 e6500_fpstore): Adjust.
12704 * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
12705 Adjust.
12706 * config/rs6000/power4.md (power4-load, power4-load-ext,
12707 power4-load-ext-update, power4-load-ext-update-indexed,
12708 power4-load-update-indexed, power4-load-update, power4-fpload,
12709 power4-fpload-update, power4-store, power4-store-update,
12710 power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
12711 Adjust.
12712 * config/rs6000/power5.md (power5-load, power5-load-ext,
12713 power5-load-ext-update, power5-load-ext-update-indexed,
12714 power5-load-update-indexed, power5-load-update, power5-fpload,
12715 power5-fpload-update, power5-store, power5-store-update,
12716 power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
12717 Adjust.
12718 * config/rs6000/power6.md (power6-load, power6-load-ext,
12719 power6-load-update, power6-load-update-indexed,
12720 power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
12721 power6-fpload-update, power6-store, power6-store-update,
12722 power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
12723 Adjust.
12724 * config/rs6000/power7.md (power7-load, power7-load-ext,
12725 power7-load-update, power7-load-update-indexed,
12726 power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
12727 power7-fpload-update, power7-store, power7-store-update,
12728 power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
12729 Adjust.
12730 * config/rs6000/power8.md (power8-load, power8-load-update,
12731 power8-load-ext, power8-load-ext-update, power8-fpload,
12732 power8-fpload-update, power8-store, power8-store-update-indexed,
12733 power8-fpstore, power8-fpstore-update): Adjust.
12734 * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
12735 Adjust.
12736 * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
12737 titan_lsu_store, titan_lsu_fpstore): Adjust.
12738 * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
12739
12740 2014-05-07 Oleg Endo <olegendo@gcc.gnu.org>
12741
12742 PR target/60884
12743 * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
12744 unrolled byte insns. Emit address increments after move insns.
12745
12746 2014-05-07 David Malcolm <dmalcolm@redhat.com>
12747
12748 * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
12749 const_gimple, rather than a gimple.
12750 (gimple_call_builtin_p): Likewise, for the three variants.
12751
12752 * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
12753 (gimple_call_builtin_p): Likewise, for the three variants.
12754
12755 2014-05-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
12756
12757 PR tree-optimization/61095
12758 * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
12759
12760 2014-05-07 Richard Biener <rguenther@suse.de>
12761
12762 PR tree-optimization/61034
12763 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
12764 (maybe_skip_until): Use translate to take into account
12765 lattices when trying to do disambiguations.
12766 (get_continuation_for_phi_1): Likewise.
12767 (get_continuation_for_phi): Adjust for added translate arguments.
12768 (walk_non_aliased_vuses): Likewise.
12769 * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
12770 (walk_non_aliased_vuses): Likewise.
12771 (call_may_clobber_ref_p_1): Declare.
12772 * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
12773 calls. Stop early if we are only supposed to disambiguate.
12774 * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
12775
12776 2014-05-07 Joern Rennecke <joern.rennecke@embecosm.com>
12777
12778 * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
12779 Emit an error when the function has arguments.
12780
12781 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
12782
12783 * cfgloop.h (unswitch_loops): Remove.
12784 * doc/passes.texi: Remove references to loop-unswitch.c
12785 * timevar.def (TV_LOOP_UNSWITCH): Remove.
12786
12787 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com>
12788
12789 * tree-vect-data-refs.c (vect_grouped_load_supported): New
12790 check for loads group of length 3.
12791 (vect_permute_load_chain): New permutations for loads group of
12792 length 3.
12793 * tree-vect-stmts.c (vect_model_load_cost): Change cost
12794 of vec_perm_shuffle for the new permutations.
12795
12796 2014-05-07 Alan Lawrence <alan.lawrence@arm.com>
12797
12798 * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
12799 vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
12800 vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
12801 vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
12802 vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
12803 vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
12804 vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
12805 vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
12806
12807 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
12808
12809 * loop-unswitch.c: Delete.
12810
12811 2014-05-07 Richard Biener <rguenther@suse.de>
12812
12813 * config.gcc: Always set need_64bit_hwint to yes.
12814
12815 2014-05-07 Chung-Ju Wu <jasonwucj@gmail.com>
12816
12817 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
12818 of using optimize_size.
12819
12820 2014-05-06 Mike Stump <mikestump@comcast.net>
12821
12822 * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
12823
12824 2014-05-06 Joseph Myers <joseph@codesourcery.com>
12825
12826 * config/i386/sse.md (*mov<mode>_internal)
12827 (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
12828 (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
12829 (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
12830 (*<code><mode>3, *andnot<mode>3<mask_name>)
12831 (<mask_codefor><code><mode>3<mask_name>): Only consider
12832 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
12833
12834 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
12835
12836 Revert:
12837 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
12838
12839 * lra-constraints.c (valid_address_p): Move earlier in file.
12840 Add a constraint argument to the address_info version.
12841 (satisfies_memory_constraint_p): New function.
12842 (satisfies_address_constraint_p): Likewise.
12843 (process_alt_operands, curr_insn_transform): Use them.
12844 (process_address): Pass the constraint to valid_address_p when
12845 checking address operands.
12846
12847 2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com>
12848
12849 * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
12850 to their respective blocks. Fix inadvertent use of "node".
12851
12852 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
12853
12854 * emit-rtl.c (init_derived_machine_modes): New functionm, split
12855 out from...
12856 (init_emit_once): ...here.
12857 * rtl.h (init_derived_machine_modes): Declare.
12858 * toplev.c (do_compile): Call it even if no_backend.
12859
12860 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
12861 Mike Stump <mikestump@comcast.net>
12862 Richard Sandiford <rdsandiford@googlemail.com>
12863 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
12864
12865 * alias.c (ao_ref_from_mem): Use wide-int interfaces.
12866 (rtx_equal_for_memref_p): Update comment.
12867 (adjust_offset_for_component_ref): Use wide-int interfaces.
12868 * builtins.c (get_object_alignment_2): Likewise.
12869 (c_readstr): Likewise.
12870 (target_char_cast): Add comment.
12871 (determine_block_size): Use wide-int interfaces.
12872 (expand_builtin_signbit): Likewise.
12873 (fold_builtin_int_roundingfn): Likewise.
12874 (fold_builtin_bitop): Likewise.
12875 (fold_builtin_bswap): Likewise.
12876 (fold_builtin_logarithm): Use signop.
12877 (fold_builtin_pow): Likewise.
12878 (fold_builtin_memory_op): Use wide-int interfaces.
12879 (fold_builtin_object_size): Likewise.
12880 * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
12881 nb_iterations_estimate.
12882 (record_niter_bound): Use wide-int interfaces.
12883 (get_estimated_loop_iterations_int): Likewise.
12884 (get_estimated_loop_iterations): Likewise.
12885 (get_max_loop_iterations): Likewise.
12886 * cfgloop.h: Include wide-int.h.
12887 (struct nb_iter_bound): Change bound to widest_int.
12888 (struct loop): Change nb_iterations_upper_bound and
12889 nb_iterations_estimate to widest_int.
12890 (record_niter_bound): Switch to use widest_int.
12891 (get_estimated_loop_iterations): Likewise.
12892 (get_max_loop_iterations): Likewise.
12893 (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
12894 update for wide-int.
12895 * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
12896 * combine.c (try_combine): Likewise.
12897 (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
12898 * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
12899 interfaces.
12900 (aarch64_float_const_representable_p): Likewise.
12901 * config/arc/arc.c: Include wide-int.h.
12902 (arc_can_use_doloop_p): Use wide-int interfaces.
12903 * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
12904 (vfp3_const_double_index): Likewise.
12905 * config/avr/avr.c (avr_out_round): Likewise.
12906 (avr_fold_builtin): Likewise.
12907 * config/bfin/bfin.c (bfin_local_alignment): Likewise.
12908 (bfin_can_use_doloop_p): Likewise.
12909 * config/darwin.c (darwin_mergeable_constant_section): Likewise.
12910 (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
12911 * config/i386/i386.c: Include wide-int.h.
12912 (ix86_data_alignment): Use wide-int interfaces.
12913 (ix86_local_alignment): Likewise.
12914 (ix86_emit_swsqrtsf): Update real_from_integer.
12915 * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
12916 * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
12917 * config/rs6000/predicates.md (any_operand): Add const_wide_int.
12918 (zero_constant): Likewise.
12919 (input_operand): Likewise.
12920 (splat_input_operand): Likewise.
12921 (non_logical_cint_operand): Change const_double to const_wide_int.
12922 * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
12923 (easy_altivec_constant): Remove comment.
12924 (paired_expand_vector_init): Use CONSTANT_P.
12925 (rs6000_legitimize_address): Handle CONST_WIDE_INT.
12926 (rs6000_emit_move): Update checks.
12927 (rs6000_aggregate_candidate): Use wide-int interfaces.
12928 (rs6000_expand_ternop_builtin): Likewise.
12929 (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
12930 (rs6000_assemble_integer): Likewise.
12931 (rs6000_hash_constant): Likewise.
12932 (output_toc): Likewise.
12933 (rs6000_rtx_costs): Likewise.
12934 (rs6000_emit_swrsqrt); Update call to real_from_integer.
12935 * config/rs6000/rs6000-c.c: Include wide-int.h.
12936 (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
12937 * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
12938 * config/rs6000/rs6000.md: Use const_scalar_int_operand.
12939 Handle CONST_WIDE_INT.
12940 * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
12941 Use tree_fits_uhwi_p.
12942 * config/sparc/sparc.c: Include wide-int.h.
12943 (sparc_fold_builtin): Use wide-int interfaces.
12944 * config/vax/vax.c: Include wide-int.h.
12945 (vax_float_literal): Use real_from_integer.
12946 * coretypes.h (struct hwivec_def): New.
12947 (hwivec): New.
12948 (const_hwivec): New.
12949 * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
12950 (equiv_constant): Handle CONST_WIDE_INT.
12951 * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
12952 (cselib_hash_rtx): Handle CONST_WIDE_INT.
12953 * dbxout.c (stabstr_U): Use wide-int interfaces.
12954 (dbxout_type): Update to use cst_fits_shwi_p.
12955 * defaults.h (LOG2_BITS_PER_UNIT): Define.
12956 (TARGET_SUPPORTS_WIDE_INT): Add default.
12957 * dfp.c: Include wide-int.h.
12958 (decimal_real_to_integer2): Use wide-int interfaces and rename to
12959 decimal_real_to_integer.
12960 * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
12961 decimal_real_to_integer.
12962 * doc/generic.texi (Constant expressions): Update for wide_int.
12963 * doc/rtl.texi (const_double): Likewise.
12964 (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
12965 (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
12966 * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
12967 (REAL_VALUE_FROM_INT): Remove.
12968 (TARGET_SUPPORTS_WIDE_INT): New.
12969 * doc/tm.texi: Regenerate.
12970 * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
12971 * double-int.h: Include wide-int.h.
12972 (struct wi::int_traits): New.
12973 * dwarf2out.c (get_full_len): New.
12974 (dw_val_equal_p): Add case dw_val_class_wide_int.
12975 (size_of_loc_descr): Likewise.
12976 (output_loc_operands): Likewise.
12977 (insert_double): Remove.
12978 (insert_wide_int): New.
12979 (add_AT_wide): New.
12980 (print_die): Add case dw_val_class_wide_int.
12981 (attr_checksum): Likewise.
12982 (attr_checksum_ordered): Likewise.
12983 (same_dw_val_p): Likewise.
12984 (size_of_die): Likewise.
12985 (value_format): Likewise.
12986 (output_die): Likewise.
12987 (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
12988 Use wide-int.
12989 (clz_loc_descriptor): Use wide-int interfaces.
12990 (mem_loc_descriptor): Likewise. Handle CONST_WIDE_INT.
12991 (loc_descriptor): Use wide-int interfaces. Handle CONST_WIDE_INT.
12992 (round_up_to_align): Use wide-int interfaces.
12993 (field_byte_offset): Likewise.
12994 (insert_double): Rename to insert_wide_int. Use wide-int interfaces.
12995 (add_const_value_attribute): Handle CONST_WIDE_INT. Update
12996 CONST_DOUBLE handling. Use wide-int interfaces.
12997 (add_bound_info): Use tree_fits_uhwi_p. Use wide-int interfaces.
12998 (gen_enumeration_type_die): Use add_AT_wide.
12999 (hash_loc_operands): Add case dw_val_class_wide_int.
13000 (compare_loc_operands): Likewise.
13001 * dwarf2out.h: Include wide-int.h.
13002 (wide_int_ptr): New.
13003 (enum dw_val_class): Add dw_val_class_wide_int.
13004 (struct dw_val_struct): Add val_wide.
13005 * emit-rtl.c (const_wide_int_htab): New.
13006 (const_wide_int_htab_hash): New.
13007 (const_wide_int_htab_eq): New.
13008 (lookup_const_wide_int): New.
13009 (const_double_htab_hash): Use wide-int interfaces.
13010 (const_double_htab_eq): Likewise.
13011 (rtx_to_double_int): Conditionally compile for wide-int.
13012 (immed_double_int_const): Rename to immed_wide_int_const and
13013 update for wide-int.
13014 (immed_double_const): Conditionally compile for wide-int.
13015 (init_emit_once): Use wide-int interfaces.
13016 * explow.c (plus_constant): Likewise.
13017 * expmed.c (mask_rtx): Move further up file. Use wide-int interfaces.
13018 (lshift_value): Use wide-int interfaces.
13019 (expand_mult): Likewise.
13020 (choose_multiplier): Likewise.
13021 (expand_smod_pow2): Likewise.
13022 (make_tree): Likewise.
13023 * expr.c (convert_modes): Consolidate handling of constants.
13024 Use wide-int interfaces.
13025 (emit_group_load_1): Add note.
13026 (store_expr): Update comment.
13027 (get_inner_reference): Use wide-int interfaces.
13028 (expand_constructor): Update comment.
13029 (expand_expr_real_2): Use wide-int interfaces.
13030 (expand_expr_real_1): Likewise.
13031 (reduce_to_bit_field_precision): Likewise.
13032 (const_vector_from_tree): Likewise.
13033 * final.c: Include wide-int-print.h.
13034 (output_addr_const): Handle CONST_WIDE_INT. Use CONST_DOUBLE_AS_INT_P.
13035 * fixed-value.c: Include wide-int.h.
13036 (fixed_from_string): Use wide-int interfaces.
13037 (fixed_to_decimal): Likewise.
13038 (fixed_convert_from_real): Likewise.
13039 (real_convert_from_fixed): Likewise.
13040 * fold-const.h (mem_ref_offset): Return an offset_int.
13041 (div_if_zero_remainder): Remove code parameter.
13042 * fold-const.c (div_if_zero_remainder): Remove code parameter.
13043 Use wide-int interfaces.
13044 (may_negate_without_overflow_p): Use wide-int interfaces.
13045 (negate_expr_p): Likewise.
13046 (fold_negate_expr): Likewise.
13047 (int_const_binop_1): Likewise.
13048 (const_binop): Likewise.
13049 (fold_convert_const_int_from_int): Likewise.
13050 (fold_convert_const_int_from_real): Likewise.
13051 (fold_convert_const_int_from_fixed): Likewise.
13052 (fold_convert_const_fixed_from_int): Likewise.
13053 (all_ones_mask_p): Take an unsigned size. Use wide-int interfaces.
13054 (sign_bit_p): Use wide-int interfaces.
13055 (make_range_step): Likewise.
13056 (build_range_check): Likewise. Pass an integer of the correct type
13057 instead of using integer_one_node.
13058 (range_predecessor): Pass an integer of the correct type instead
13059 of using integer_one_node.
13060 (range_successor): Likewise.
13061 (merge_ranges): Likewise.
13062 (unextend): Use wide-int interfaces.
13063 (extract_muldiv_1): Likewise.
13064 (fold_div_compare): Likewise.
13065 (fold_single_bit_test): Likewise.
13066 (fold_sign_changed_comparison): Likewise.
13067 (try_move_mult_to_index): Update calls to div_if_zero_remainder.
13068 (fold_plusminus_mult_expr): Use wide-int interfaces.
13069 (native_encode_int): Likewise.
13070 (native_interpret_int): Likewise.
13071 (fold_unary_loc): Likewise.
13072 (pointer_may_wrap_p): Likewise.
13073 (size_low_cst): Likewise.
13074 (mask_with_tz): Likewise.
13075 (fold_binary_loc): Likewise.
13076 (fold_ternary_loc): Likewise.
13077 (multiple_of_p): Likewise.
13078 (tree_call_nonnegative_warnv_p): Update calls to
13079 tree_int_cst_min_precision and real_from_integer.
13080 (fold_negate_const): Use wide-int interfaces.
13081 (fold_abs_const): Likewise.
13082 (fold_relational_const): Use tree_int_cst_lt.
13083 (round_up_loc): Use wide-int interfaces.
13084 * genemit.c (gen_exp): Add CONST_WIDE_INT case.
13085 * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
13086 * gengtype.c: Remove include of double-int.h.
13087 (do_typedef): Use wide-int interfaces.
13088 (open_base_files): Add wide-int.h.
13089 (main): Add offset_int and widest_int typedefs.
13090 * gengtype-lex.l: Handle "^".
13091 (CXX_KEYWORD): Add "static".
13092 * gengtype-parse.c (require3): New.
13093 (require_template_declaration): Handle constant template arguments
13094 and nested templates.
13095 * gengtype-state.c: Don't include "double-int.h".
13096 * genpreds.c (write_one_predicate_function): Update comment.
13097 (write_tm_constrs_h): Add check for hval and lval use in
13098 CONST_WIDE_INT.
13099 * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
13100 (add_to_sequence): Likewise.
13101 * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
13102 and const_double_operand.
13103 * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
13104 interfaces.
13105 * gimple-fold.c (get_base_constructor): Likewise.
13106 (fold_array_ctor_reference): Likewise.
13107 (fold_nonarray_ctor_reference): Likewise.
13108 (fold_const_aggregate_ref_1): Likewise.
13109 (gimple_val_nonnegative_real_p): Likewise.
13110 (gimple_fold_indirect_ref): Likewise.
13111 * gimple-pretty-print.c (dump_ssaname_info): Likewise.
13112 * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
13113 (struct slsr_cand_d): Change index to be widest_int.
13114 (struct incr_info_d): Change incr to be widest_int.
13115 (alloc_cand_and_find_basis): Use wide-int interfaces.
13116 (slsr_process_phi): Likewise.
13117 (backtrace_base_for_ref): Likewise. Return a widest_int.
13118 (restructure_reference): Take a widest_int instead of a double_int.
13119 (slsr_process_ref): Use wide-int interfaces.
13120 (create_mul_ssa_cand): Likewise.
13121 (create_mul_imm_cand): Likewise.
13122 (create_add_ssa_cand): Likewise.
13123 (create_add_imm_cand): Take a widest_int instead of a double_int.
13124 (slsr_process_add): Use wide-int interfaces.
13125 (slsr_process_cast): Likewise.
13126 (slsr_process_copy): Likewise.
13127 (dump_candidate): Likewise.
13128 (dump_incr_vec): Likewise.
13129 (replace_ref): Likewise.
13130 (cand_increment): Likewise. Return a widest_int.
13131 (cand_abs_increment): Likewise.
13132 (replace_mult_candidate): Take a widest_int instead of a double_int.
13133 (replace_unconditional_candidate): Use wide-int interfaces.
13134 (incr_vec_index): Take a widest_int instead of a double_int.
13135 (create_add_on_incoming_edge): Likewise.
13136 (create_phi_basis): Use wide-int interfaces.
13137 (replace_conditional_candidate): Likewise.
13138 (record_increment): Take a widest_int instead of a double_int.
13139 (record_phi_increments): Use wide-int interfaces.
13140 (phi_incr_cost): Take a widest_int instead of a double_int.
13141 (lowest_cost_path): Likewise.
13142 (total_savings): Likewise.
13143 (analyze_increments): Use wide-int interfaces.
13144 (ncd_with_phi): Take a widest_int instead of a double_int.
13145 (ncd_of_cand_and_phis): Likewise.
13146 (nearest_common_dominator_for_cands): Likewise.
13147 (insert_initializers): Use wide-int interfaces.
13148 (all_phi_incrs_profitable): Likewise.
13149 (replace_one_candidate): Likewise.
13150 (replace_profitable_candidates): Likewise.
13151 * godump.c: Include wide-int-print.h.
13152 (go_output_typedef): Use wide-int interfaces.
13153 * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
13154 * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
13155 (build_loop_iteration_domains): Likewise.
13156 * hooks.h: Include wide-int.h rather than double-int.h.
13157 (hook_bool_dint_dint_uint_bool_true): Delete.
13158 (hook_bool_wint_wint_uint_bool_true): Declare.
13159 * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
13160 (hook_bool_wint_wint_uint_bool_true): New.
13161 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
13162 interfaces.
13163 (ubsan_expand_si_overflow_mul_check): Likewise.
13164 * ipa-devirt.c (get_polymorphic_call_info): Likewise.
13165 * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
13166 (get_ancestor_addr_info): Likewise.
13167 (ipa_modify_call_arguments): Likewise.
13168 * loop-doloop.c (doloop_modify): Likewise.
13169 (doloop_optimize): Likewise.
13170 * loop-iv.c (iv_number_of_iterations): Likewise.
13171 * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
13172 (unroll_loop_constant_iterations): Likewise.
13173 (decide_unroll_runtime_iterations): Likewise.
13174 (unroll_loop_runtime_iterations): Likewise.
13175 (decide_peel_simple): Likewise.
13176 (decide_unroll_stupid): Likewise.
13177 * lto-streamer-in.c (streamer_read_wi): Add.
13178 (input_cfg): Use wide-int interfaces.
13179 (lto_input_tree_1): Likewise.
13180 * lto-streamer-out.c (streamer_write_wi): Add.
13181 (hash_tree): Use wide-int interfaces.
13182 (output_cfg): Likewise.
13183 * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
13184 (GTFILES): Add wide-int.h and signop.h.
13185 (TAGS): Look for .cc files too.
13186 * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
13187 * optabs.c (expand_subword_shift): Likewise.
13188 (expand_doubleword_shift): Likewise.
13189 (expand_absneg_bit): Likewise.
13190 (expand_copysign_absneg): Likewise.
13191 (expand_copysign_bit): Likewise.
13192 * postreload.c (reload_cse_simplify_set): Likewise.
13193 * predict.c (predict_iv_comparison): Likewise.
13194 * pretty-print.h: Include wide-int-print.h.
13195 (pp_wide_int) New.
13196 * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
13197 * print-tree.c: Include wide-int-print.h.
13198 (print_node_brief): Use wide-int interfaces.
13199 (print_node): Likewise.
13200 * read-rtl.c (validate_const_wide_int): New.
13201 (read_rtx_code): Add CONST_WIDE_INT case.
13202 * real.c: Include wide-int.h.
13203 (real_to_integer2): Delete.
13204 (real_to_integer): New function, returning a wide_int.
13205 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
13206 (ten_to_ptwo): Update call to real_from_integer.
13207 (real_digit): Likewise.
13208 * real.h: Include signop.h, wide-int.h and insn-modes.h.
13209 (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
13210 (REAL_VALUE_TO_INT): Delete.
13211 (real_to_integer): Declare a wide-int form.
13212 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
13213 * recog.c (const_int_operand): Improve comment.
13214 (const_scalar_int_operand): New.
13215 (const_double_operand): Add a separate definition for CONST_WIDE_INT.
13216 * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
13217 (split_double): Likewise.
13218 * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
13219 (rtx_size): Likewise.
13220 (rtx_alloc_stat_v): New.
13221 (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
13222 (cwi_output_hex): New.
13223 (iterative_hash_rtx): Handle CONST_WIDE_INT.
13224 (cwi_check_failed_bounds): New.
13225 * rtl.def (CONST_WIDE_INT): New.
13226 * rtl.h: Include <utility> and wide-int.h.
13227 (struct hwivec_def): New.
13228 (CWI_GET_NUM_ELEM): New.
13229 (CWI_PUT_NUM_ELEM): New.
13230 (struct rtx_def): Add num_elem and hwiv.
13231 (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
13232 (CASE_CONST_UNIQUE): Likewise.
13233 (CASE_CONST_ANY): Likewise.
13234 (CONST_SCALAR_INT_P): Likewise.
13235 (CONST_WIDE_INT_P): New.
13236 (CWI_ELT): New.
13237 (HWIVEC_CHECK): New.
13238 (cwi_check_failed_bounds): New.
13239 (CWI_ELT): New.
13240 (HWIVEC_CHECK): New.
13241 (CONST_WIDE_INT_VEC) New.
13242 (CONST_WIDE_INT_NUNITS) New.
13243 (CONST_WIDE_INT_ELT) New.
13244 (rtx_mode_t): New type.
13245 (wi::int_traits <rtx_mode_t>): New.
13246 (wi::shwi): New.
13247 (wi::min_value): New.
13248 (wi::max_value): New.
13249 (rtx_alloc_v) New.
13250 (const_wide_int_alloc): New.
13251 (immed_wide_int_const): New.
13252 * sched-vis.c (print_value): Handle CONST_WIDE_INT.
13253 * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
13254 * signop.h: New file.
13255 * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
13256 (simplify_const_unary_operation): Use wide-int interfaces.
13257 (simplify_binary_operation_1): Likewise.
13258 (simplify_const_binary_operation): Likewise.
13259 (simplify_const_relational_operation): Likewise.
13260 (simplify_immed_subreg): Likewise.
13261 * stmt.c (expand_case): Likewise.
13262 * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
13263 signop rather than a bool.
13264 * stor-layout.c (layout_type): Use wide-int interfaces.
13265 (initialize_sizetypes): Update calls to
13266 set_min_and_max_values_for_integral_type.
13267 (set_min_and_max_values_for_integral_type): Take a signop rather
13268 than a bool. Use wide-int interfaces.
13269 (fixup_signed_type): Update accordingly. Remove
13270 HOST_BITS_PER_DOUBLE_INT limit.
13271 (fixup_unsigned_type): Likewise.
13272 * system.h (STATIC_CONSTANT_P): New.
13273 (STATIC_ASSERT): New.
13274 * target.def (can_use_doloop_p): Take widest_ints rather than
13275 double_ints.
13276 * target.h: Include wide-int.h rather than double-int.h.
13277 * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
13278 than double_ints.
13279 * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
13280 rather than INT_CST_LT_UNSIGNED.
13281 (can_use_doloop_if_innermost): Take widest_ints rather than
13282 double_ints.
13283 * tree-affine.c: Include wide-int-print.h.
13284 (double_int_ext_for_comb): Delete.
13285 (wide_int_ext_for_comb): New.
13286 (aff_combination_zero): Use wide-int interfaces.
13287 (aff_combination_const): Take a widest_int instead of a double_int.
13288 (aff_combination_elt): Use wide-int interfaces.
13289 (aff_combination_scale): Take a widest_int instead of a double_int.
13290 (aff_combination_add_elt): Likewise.
13291 (aff_combination_add_cst): Likewise.
13292 (aff_combination_add): Use wide-int interfaces.
13293 (aff_combination_convert): Likewise.
13294 (tree_to_aff_combination): Likewise.
13295 (add_elt_to_tree): Take a widest_int instead of a double_int.
13296 (aff_combination_to_tree): Use wide-int interfaces.
13297 (aff_combination_remove_elt): Likewise.
13298 (aff_combination_add_product): Take a widest_int instead of
13299 a double_int.
13300 (aff_combination_mult): Use wide-int interfaces.
13301 (aff_combination_expand): Likewise.
13302 (double_int_constant_multiple_p): Delete.
13303 (wide_int_constant_multiple_p): New.
13304 (aff_combination_constant_multiple_p): Take a widest_int pointer
13305 instead of a double_int pointer.
13306 (print_aff): Use wide-int interfaces.
13307 (get_inner_reference_aff): Take a widest_int pointer
13308 instead of a double_int pointer.
13309 (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
13310 * tree-affine.h: Include wide-int.h.
13311 (struct aff_comb_elt): Change type of coef to widest_int.
13312 (struct affine_tree_combination): Change type of offset to widest_int.
13313 (double_int_ext_for_comb): Delete.
13314 (wide_int_ext_for_comb): New.
13315 (aff_combination_const): Use widest_int instead of double_int.
13316 (aff_combination_scale): Likewise.
13317 (aff_combination_add_elt): Likewise.
13318 (aff_combination_constant_multiple_p): Likewise.
13319 (get_inner_reference_aff): Likewise.
13320 (aff_comb_cannot_overlap_p): Likewise.
13321 (aff_combination_zero_p): Use wide-int interfaces.
13322 * tree.c: Include tree.h.
13323 (init_ttree): Use make_int_cst.
13324 (tree_code_size): Removed code for INTEGER_CST case.
13325 (tree_size): Add INTEGER_CST case.
13326 (make_node_stat): Update comment.
13327 (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
13328 (build_int_cst_type): Use wide-int interfaces.
13329 (double_int_to_tree): Likewise.
13330 (double_int_fits_to_tree_p): Delete.
13331 (force_fit_type_double): Delete.
13332 (force_fit_type): New.
13333 (int_cst_hash_hash): Use wide-int interfaces.
13334 (int_cst_hash_eq): Likewise.
13335 (build_int_cst_wide): Delete.
13336 (wide_int_to_tree): New.
13337 (cache_integer_cst): Use wide-int interfaces.
13338 (build_low_bits_mask): Likewise.
13339 (cst_and_fits_in_hwi): Likewise.
13340 (real_value_from_int_cst): Likewise.
13341 (make_int_cst_stat): New.
13342 (integer_zerop): Use wide_int interfaces.
13343 (integer_onep): Likewise.
13344 (integer_all_onesp): Likewise.
13345 (integer_pow2p): Likewise.
13346 (integer_nonzerop): Likewise.
13347 (tree_log2): Likewise.
13348 (tree_floor_log2): Likewise.
13349 (tree_ctz): Likewise.
13350 (int_size_in_bytes): Likewise.
13351 (mem_ref_offset): Return an offset_int rather than a double_int.
13352 (build_type_attribute_qual_variant): Use wide_int interfaces.
13353 (type_hash_eq): Likewise
13354 (tree_int_cst_equal): Likewise.
13355 (tree_int_cst_lt): Delete.
13356 (tree_int_cst_compare): Likewise.
13357 (tree_fits_shwi_p): Use wide_int interfaces.
13358 (tree_fits_uhwi_p): Likewise.
13359 (tree_int_cst_sign_bit): Likewise.
13360 (tree_int_cst_sgn): Likewise.
13361 (tree_int_cst_min_precision): Take a signop rather than a bool.
13362 (simple_cst_equal): Use wide_int interfaces.
13363 (compare_tree_int): Likewise.
13364 (iterative_hash_expr): Likewise.
13365 (int_fits_type_p): Likewise. Use tree_int_cst_lt rather than
13366 INT_CST_LT.
13367 (get_type_static_bounds): Use wide_int interfaces.
13368 (tree_int_cst_elt_check_failed): New.
13369 (build_common_tree_nodes): Reordered to set prec before filling in
13370 value.
13371 (int_cst_value): Check cst_and_fits_in_hwi.
13372 (widest_int_cst_value): Use wide_int interfaces.
13373 (upper_bound_in_type): Likewise.
13374 (lower_bound_in_type): Likewise.
13375 (num_ending_zeros): Likewise.
13376 (drop_tree_overflow): Likewise.
13377 * tree-call-cdce.c (check_pow): Update call to real_from_integer.
13378 (gen_conditions_for_pow_cst_base): Likewise.
13379 * tree-cfg.c: Include wide-int.h and wide-int-print.h.
13380 (group_case_labels_stmt): Use wide-int interfaces.
13381 (verify_gimple_assign_binary): Likewise.
13382 (print_loop): Likewise.
13383 * tree-chrec.c (tree_fold_binomial): Likewise.
13384 * tree-core.h (struct tree_base): Add int_length.
13385 (struct tree_int_cst): Change rep of value.
13386 * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
13387 (dr_may_alias_p): Likewise.
13388 (max_stmt_executions_tree): Likewise.
13389 * tree.def (INTEGER_CST): Update comment.
13390 * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
13391 * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
13392 * tree-dump.c: Include wide-int.h and wide-int-print.h.
13393 (dequeue_and_dump): Use wide-int interfaces.
13394 * tree.h: Include wide-int.h.
13395 (NULL_TREE): Moved to earlier loc in file.
13396 (TREE_INT_CST_ELT_CHECK): New.
13397 (tree_int_cst_elt_check_failed): New.
13398 (TYPE_SIGN): New.
13399 (TREE_INT_CST): Delete.
13400 (TREE_INT_CST_LOW): Use wide-int interfaces.
13401 (TREE_INT_CST_HIGH): Delete.
13402 (TREE_INT_CST_NUNITS): New.
13403 (TREE_INT_CST_EXT_NUNITS): Likewise.
13404 (TREE_INT_CST_OFFSET_NUNITS): Likewise.
13405 (TREE_INT_CST_ELT): Likewise.
13406 (INT_CST_LT): Delete.
13407 (tree_int_cst_elt_check): New (two forms).
13408 (type_code_size): Update comment.
13409 (make_int_cst_stat, make_int_cst): New.
13410 (tree_to_double_int): Delete.
13411 (double_int_fits_to_tree_p): Delete.
13412 (force_fit_type_double): Delete.
13413 (build_int_cstu): Replace with out-of-line function.
13414 (build_int_cst_wide): Delete.
13415 (tree_int_cst_lt): Define inline.
13416 (tree_int_cst_le): New.
13417 (tree_int_cst_compare): Define inline.
13418 (tree_int_cst_min_precision): Take a signop rather than a bool.
13419 (wi::int_traits <const_tree>): New.
13420 (wi::int_traits <tree>): New.
13421 (wi::extended_tree): New.
13422 (wi::int_traits <wi::extended_tree>): New.
13423 (wi::to_widest): New.
13424 (wi::to_offset): New.
13425 (wi::fits_to_tree_p): New.
13426 (wi::min_value): New.
13427 (wi::max_value): New.
13428 * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
13429 (copy_tree_body_r): Likewise.
13430 * tree-object-size.c (compute_object_offset): Likewise.
13431 (addr_object_size): Likewise.
13432 * tree-predcom.c: Include wide-int-print.h.
13433 (struct dref_d): Change type of offset to widest_int.
13434 (dump_dref): Call wide-int printer.
13435 (aff_combination_dr_offset): Use wide-int interfaces.
13436 (determine_offset): Take a widest_int pointer rather than a
13437 double_int pointer.
13438 (split_data_refs_to_components): Use wide-int interfaces.
13439 (suitable_component_p): Likewise.
13440 (order_drefs): Likewise.
13441 (add_ref_to_chain): Likewise.
13442 (valid_initializer_p): Likewise.
13443 (determine_roots_comp): Likewise.
13444 * tree-pretty-print.c: Include wide-int-print.h.
13445 (dump_generic_node): Use wide-int interfaces.
13446 * tree-sra.c (sra_ipa_modify_expr): Likewise.
13447 * tree-ssa-address.c (addr_for_mem_ref): Likewise.
13448 (move_fixed_address_to_symbol): Likewise.
13449 (move_hint_to_base): Likewise.
13450 (move_pointer_to_base): Likewise.
13451 (move_variant_to_index): Likewise.
13452 (most_expensive_mult_to_index): Likewise.
13453 (addr_to_parts): Likewise.
13454 (copy_ref_info): Likewise.
13455 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
13456 (indirect_refs_may_alias_p): Likewise.
13457 (stmt_kills_ref_p_1): Likewise.
13458 * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
13459 * tree-ssa-ccp.c: Update comment at top of file. Include
13460 wide-int-print.h.
13461 (struct prop_value_d): Change type of mask to widest_int.
13462 (extend_mask): New function.
13463 (dump_lattice_value): Use wide-int interfaces.
13464 (get_default_value): Likewise.
13465 (set_constant_value): Likewise.
13466 (set_value_varying): Likewise.
13467 (valid_lattice_transition): Likewise.
13468 (set_lattice_value): Likewise.
13469 (value_to_double_int): Delete.
13470 (value_to_wide_int): New.
13471 (get_value_from_alignment): Use wide-int interfaces.
13472 (get_value_for_expr): Likewise.
13473 (do_dbg_cnt): Likewise.
13474 (ccp_finalize): Likewise.
13475 (ccp_lattice_meet): Likewise.
13476 (bit_value_unop_1): Use widest_ints rather than double_ints.
13477 (bit_value_binop_1): Likewise.
13478 (bit_value_unop): Use wide-int interfaces.
13479 (bit_value_binop): Likewise.
13480 (bit_value_assume_aligned): Likewise.
13481 (evaluate_stmt): Likewise.
13482 (ccp_fold_stmt): Likewise.
13483 (visit_cond_stmt): Likewise.
13484 (ccp_visit_stmt): Likewise.
13485 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
13486 (constant_pointer_difference): Likewise.
13487 (associate_pointerplus): Likewise.
13488 (combine_conversions): Likewise.
13489 * tree-ssa-loop.h: Include wide-int.h.
13490 (struct tree_niter_desc): Change type of max to widest_int.
13491 * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
13492 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
13493 (remove_redundant_iv_tests): Likewise.
13494 (canonicalize_loop_induction_variables): Likewise.
13495 * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
13496 (constant_multiple_of): Take a widest_int pointer instead of
13497 a double_int pointer.
13498 (get_computation_aff): Use wide-int interfaces.
13499 (ptr_difference_cost): Likewise.
13500 (difference_cost): Likewise.
13501 (get_loop_invariant_expr_id): Likewise.
13502 (get_computation_cost_at): Likewise.
13503 (iv_elimination_compare_lt): Likewise.
13504 (may_eliminate_iv): Likewise.
13505 * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
13506 instead of double_int.
13507 (max_loop_iterations): Likewise.
13508 (max_stmt_executions): Likewise.
13509 (estimated_stmt_executions): Likewise.
13510 * tree-ssa-loop-niter.c: Include wide-int-print.h.
13511 (split_to_var_and_offset): Use wide-int interfaces.
13512 (determine_value_range): Likewise.
13513 (bound_difference_of_offsetted_base): Likewise.
13514 (bounds_add): Take a widest_int instead of a double_int.
13515 (number_of_iterations_ne_max): Use wide-int interfaces.
13516 (number_of_iterations_ne): Likewise.
13517 (number_of_iterations_lt_to_ne): Likewise.
13518 (assert_loop_rolls_lt): Likewise.
13519 (number_of_iterations_lt): Likewise.
13520 (number_of_iterations_le): Likewise.
13521 (number_of_iterations_cond): Likewise.
13522 (number_of_iterations_exit): Likewise.
13523 (finite_loop_p): Likewise.
13524 (derive_constant_upper_bound_assign): Likewise.
13525 (derive_constant_upper_bound): Return a widest_int.
13526 (derive_constant_upper_bound_ops): Likewise.
13527 (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
13528 (record_estimate): Take a widest_int rather than a double_int.
13529 (record_nonwrapping_iv): Use wide-int interfaces.
13530 (double_int_cmp): Delete.
13531 (wide_int_cmp): New.
13532 (bound_index): Take a widest_int rather than a double_int.
13533 (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
13534 (maybe_lower_iteration_bound): Likewise.
13535 (estimate_numbers_of_iterations_loop): Likewise.
13536 (estimated_loop_iterations): Take a widest_int pointer than than
13537 a double_int pointer.
13538 (estimated_loop_iterations_int): Use wide-int interfaces.
13539 (max_loop_iterations): Take a widest_int pointer than than
13540 a double_int pointer.
13541 (max_loop_iterations_int): Use wide-int interfaces.
13542 (max_stmt_executions): Take a widest_int pointer than than
13543 a double_int pointer.
13544 (estimated_stmt_executions): Likewise.
13545 (n_of_executions_at_most): Use wide-int interfaces.
13546 (scev_probably_wraps_p): Likewise.
13547 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
13548 to real_to_integer.
13549 * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
13550 interfaces.
13551 * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
13552 double_ints. Adjust for trailing_wide_ints <3> representation.
13553 (set_nonzero_bits): Likewise.
13554 (get_range_info): Return wide_ints rather than double_ints.
13555 Adjust for trailing_wide_ints <3> representation.
13556 (get_nonzero_bits): Likewise.
13557 (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
13558 representation.
13559 * tree-ssanames.h (struct range_info_def): Replace min, max and
13560 nonzero_bits with a trailing_wide_ints <3>.
13561 (set_range_info): Use wide_int_refs rather than double_ints.
13562 (set_nonzero_bits): Likewise.
13563 (get_range_info): Return wide_ints rather than double_ints.
13564 (get_nonzero_bits): Likewise.
13565 * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
13566 * tree-ssa-pre.c (phi_translate_1): Likewise.
13567 * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
13568 (acceptable_pow_call): Likewise.
13569 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
13570 interfaces.
13571 (vn_reference_fold_indirect): Likewise.
13572 (vn_reference_maybe_forwprop_address): Likewise.
13573 (valueize_refs_1): Likewise.
13574 * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
13575 * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
13576 tree_int_cst_lt and tree_int_cst_le.
13577 * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
13578 interfaces.
13579 (streamer_alloc_tree): Likewise.
13580 * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
13581 (streamer_write_tree_header): Likewise.
13582 (streamer_write_integer_cst): Likewise.
13583 * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
13584 (build_constructors): Likewise.
13585 (array_value_type): Likewise.
13586 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
13587 (vect_check_gather): Likewise.
13588 * tree-vect-generic.c (build_replicated_const): Likewise.
13589 (expand_vector_divmod): Likewise.
13590 * tree-vect-loop.c (vect_transform_loop): Likewise.
13591 * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
13592 (vect_do_peeling_for_alignment): Likewise.
13593 * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
13594 * tree-vrp.c: Include wide-int.h.
13595 (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
13596 (extract_range_from_assert): Use wide-int interfaces.
13597 (vrp_int_const_binop): Likewise.
13598 (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
13599 double_int pointers.
13600 (ranges_from_anti_range): Use wide-int interfaces.
13601 (quad_int_cmp): Delete.
13602 (quad_int_pair_sort): Likewise.
13603 (extract_range_from_binary_expr_1): Use wide-int interfaces.
13604 (extract_range_from_unary_expr_1): Likewise.
13605 (adjust_range_with_scev): Likewise.
13606 (masked_increment): Take and return wide_ints rather than double_ints.
13607 (register_edge_assert_for_2): Use wide-int interfaces.
13608 (check_array_ref): Likewise.
13609 (search_for_addr_array): Likewise.
13610 (maybe_set_nonzero_bits): Likewise.
13611 (union_ranges): Pass an integer of the correct type instead of
13612 using integer_one_node.
13613 (intersect_ranges): Likewise.
13614 (simplify_truth_ops_using_ranges): Likewise.
13615 (simplify_bit_ops_using_ranges): Use wide-int interfaces.
13616 (range_fits_type_p): Likewise.
13617 (simplify_cond_using_ranges): Likewise. Take a signop rather than
13618 a bool.
13619 (simplify_conversion_using_ranges): Use wide-int interfaces.
13620 (simplify_float_conversion_using_ranges): Likewise.
13621 (vrp_finalize): Likewise.
13622 * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
13623 (gimple_stringops_transform): Likewise.
13624 * varasm.c (decode_addr_const): Likewise.
13625 (const_hash_1): Likewise.
13626 (const_rtx_hash_1): Likewise
13627 (output_constant): Likewise.
13628 (array_size_for_constructor): Likewise.
13629 (output_constructor_regular_field): Likewise.
13630 (output_constructor_bitfield): Likewise.
13631 * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
13632 * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
13633 GENERATOR_FILEs.
13634 * gencheck.c: Define BITS_PER_UNIT.
13635 * wide-int.cc: New.
13636 * wide-int.h: New.
13637 * wide-int-print.cc: New.
13638 * wide-int-print.h: New.
13639
13640 2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13641
13642 * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
13643
13644 2014-05-06 Richard Biener <rguenther@suse.de>
13645
13646 * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
13647 TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
13648 (TODO_verify_all): Adjust.
13649 * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
13650 TODO_verify_stmts and TODO_verify_rtl_sharing.
13651 * bb-reorder.c: Likewise.
13652 * cfgexpand.c: Likewise.
13653 * cprop.c: Likewise.
13654 * cse.c: Likewise.
13655 * function.c: Likewise.
13656 * fwprop.c: Likewise.
13657 * gcse.c: Likewise.
13658 * gimple-ssa-isolate-paths.c: Likewise.
13659 * gimple-ssa-strength-reduction.c: Likewise.
13660 * ipa-split.c: Likewise.
13661 * loop-init.c: Likewise.
13662 * loop-unroll.c: Likewise.
13663 * lower-subreg.c: Likewise.
13664 * modulo-sched.c: Likewise.
13665 * postreload-gcse.c: Likewise.
13666 * predict.c: Likewise.
13667 * recog.c: Likewise.
13668 * sched-rgn.c: Likewise.
13669 * store-motion.c: Likewise.
13670 * tracer.c: Likewise.
13671 * trans-mem.c: Likewise.
13672 * tree-call-cdce.c: Likewise.
13673 * tree-cfg.c: Likewise.
13674 * tree-cfgcleanup.c: Likewise.
13675 * tree-complex.c: Likewise.
13676 * tree-eh.c: Likewise.
13677 * tree-emutls.c: Likewise.
13678 * tree-if-conv.c: Likewise.
13679 * tree-into-ssa.c: Likewise.
13680 * tree-loop-distribution.c: Likewise.
13681 * tree-object-size.c: Likewise.
13682 * tree-parloops.c: Likewise.
13683 * tree-pass.h: Likewise.
13684 * tree-sra.c: Likewise.
13685 * tree-ssa-ccp.c: Likewise.
13686 * tree-ssa-copy.c: Likewise.
13687 * tree-ssa-copyrename.c: Likewise.
13688 * tree-ssa-dce.c: Likewise.
13689 * tree-ssa-dom.c: Likewise.
13690 * tree-ssa-dse.c: Likewise.
13691 * tree-ssa-forwprop.c: Likewise.
13692 * tree-ssa-ifcombine.c: Likewise.
13693 * tree-ssa-loop-ch.c: Likewise.
13694 * tree-ssa-loop-ivcanon.c: Likewise.
13695 * tree-ssa-loop.c: Likewise.
13696 * tree-ssa-math-opts.c: Likewise.
13697 * tree-ssa-phiopt.c: Likewise.
13698 * tree-ssa-phiprop.c: Likewise.
13699 * tree-ssa-pre.c: Likewise.
13700 * tree-ssa-reassoc.c: Likewise.
13701 * tree-ssa-sink.c: Likewise.
13702 * tree-ssa-strlen.c: Likewise.
13703 * tree-ssa-tail-merge.c: Likewise.
13704 * tree-ssa-uncprop.c: Likewise.
13705 * tree-switch-conversion.c: Likewise.
13706 * tree-tailcall.c: Likewise.
13707 * tree-vect-generic.c: Likewise.
13708 * tree-vectorizer.c: Likewise.
13709 * tree-vrp.c: Likewise.
13710 * tsan.c: Likewise.
13711 * var-tracking.c: Likewise.
13712 * bt-load.c: Likewise.
13713 * cfgcleanup.c: Likewise.
13714 * combine-stack-adj.c: Likewise.
13715 * combine.c: Likewise.
13716 * compare-elim.c: Likewise.
13717 * config/epiphany/resolve-sw-modes.c: Likewise.
13718 * config/i386/i386.c: Likewise.
13719 * config/mips/mips.c: Likewise.
13720 * config/s390/s390.c: Likewise.
13721 * config/sh/sh_treg_combine.cc: Likewise.
13722 * config/sparc/sparc.c: Likewise.
13723 * dce.c: Likewise.
13724 * dse.c: Likewise.
13725 * final.c: Likewise.
13726 * ifcvt.c: Likewise.
13727 * mode-switching.c: Likewise.
13728 * passes.c: Likewise.
13729 * postreload.c: Likewise.
13730 * ree.c: Likewise.
13731 * reg-stack.c: Likewise.
13732 * regcprop.c: Likewise.
13733 * regrename.c: Likewise.
13734 * web.c: Likewise.
13735
13736 2014-05-06 Richard Biener <rguenther@suse.de>
13737
13738 PR middle-end/61070
13739 * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
13740 * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
13741
13742 2014-05-05 Jan Hubicka <hubicka@ucw.cz>
13743
13744 PR ipa/60965
13745 * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
13746
13747 2014-05-05 Radovan Obradovic <robradovic@mips.com>
13748 Tom de Vries <tom@codesourcery.com>
13749
13750 * target.def (call_fusage_contains_non_callee_clobbers): New
13751 DEFHOOKPOD.
13752 * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
13753 Hooks to @menu.
13754 (@node Miscellaneous Register Hooks): New node.
13755 (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
13756 * doc/tm.texi: Regenerate.
13757
13758 2014-05-05 Marek Polacek <polacek@redhat.com>
13759
13760 PR driver/61065
13761 * opts.c (common_handle_option): Call error_at instead of warning_at.
13762
13763 2014-05-05 Richard Biener <rguenther@suse.de>
13764
13765 * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
13766 from last_verified if update_ssa ran. Move TODO_verify_rtl_sharing
13767 under the TODO_verify_il umbrella.
13768
13769 2014-05-05 Richard Biener <rguenther@suse.de>
13770
13771 * passes.c (execute_function_todo): Move TODO_verify_flow under
13772 the TODO_verify_ul umbrella.
13773
13774 2014-05-05 Richard Biener <rguenther@suse.de>
13775
13776 PR middle-end/61010
13777 * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
13778 X & CST away from a CST that is the mask of a mode.
13779
13780 2014-05-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13781
13782 * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
13783 int argument to enum machine_mode.
13784 (picochip_class_max_nregs): Ditto.
13785 * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
13786 (picochip_class_max_nregs): Ditto.
13787
13788 2014-05-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13789
13790 * target.def: Add new target hook.
13791 * doc/tm.texi: Regenerate.
13792 * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
13793 * targhooks.c (default_keep_leaf_when_profiled): New function.
13794
13795 * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
13796 (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
13797
13798 2014-05-05 Bin Cheng <bin.cheng@arm.com>
13799
13800 PR tree-optimization/60363
13801 * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
13802 (copy_phi_args): New parameters. Call get_value_locus_in_path.
13803 (update_destination_phis): New parameter.
13804 (create_edge_and_update_destination_phis): Ditto.
13805 (ssa_fix_duplicate_block_edges): Pass new arguments.
13806 (thread_single_edge): Ditto.
13807
13808 2014-05-04 Peter Bergner <bergner@vnet.ibm.com>
13809
13810 * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
13811 (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
13812 (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
13813 * config/rs6000/rs6000-builtin.def (BU_MISC_1):
13814 Use RS6000_BTM_HARD_FLOAT.
13815 (BU_MISC_2): Likewise.
13816 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
13817 RS6000_BTM_HARD_FLOAT.
13818 (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
13819 is explicitly used.
13820 (rs6000_invalid_builtin): Add hard floating builtin support.
13821 (rs6000_expand_builtin): Relax the gcc_assert to allow the new
13822 hard float builtins.
13823 (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
13824
13825 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
13826
13827 * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
13828 Add missing function* argument.
13829
13830 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
13831
13832 * lra-constraints.c (valid_address_p): Move earlier in file.
13833 Add a constraint argument to the address_info version.
13834 (satisfies_memory_constraint_p): New function.
13835 (satisfies_address_constraint_p): Likewise.
13836 (process_alt_operands, curr_insn_transform): Use them.
13837 (process_address): Pass the constraint to valid_address_p when
13838 checking address operands.
13839
13840 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
13841
13842 * config/mips/mips.c (mips_isa_rev): New variable.
13843 (mips_set_architecture): Set it.
13844 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
13845 from mips_isa_rev.
13846 (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
13847 (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
13848 (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
13849 (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
13850 (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
13851 conditions in terms of mips_isa_rev.
13852 (mips_isa_rev): Declare.
13853
13854 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
13855
13856 * config/sh/sh-mem.cc: Use tabs instead of spaces.
13857 (prob_unlikely, prob_likely): Make variables const.
13858
13859 2014-05-03 Denis Chertykov <chertykov@gmail.com>
13860
13861 * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
13862
13863 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
13864
13865 * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
13866
13867 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
13868
13869 * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
13870 (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
13871 * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
13872 functions.
13873 (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
13874 sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
13875 sh_pass_in_reg_p.
13876 Replace usage of ROUND_REG with sh_round_reg.
13877 Use CEIL instead of ROUND_ADVANCE.
13878
13879 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
13880
13881 PR target/61026
13882 * config/sh/sh.c: Include stdlib headers before everything else.
13883
13884 2014-05-02 Jakub Jelinek <jakub@redhat.com>
13885
13886 * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
13887 GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
13888 (gimplify_adjust_omp_clauses): Simd region is never
13889 directly nested in combined parallel. Instead, for linear
13890 with copyin/copyout, if in combined for simd loop, make decl
13891 firstprivate/lastprivate on OMP_FOR.
13892 * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
13893 expand_omp_for_static_chunk): When setting endvar, also set
13894 fd->loop.v to the same value.
13895
13896 2014-05-02 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
13897
13898 * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
13899
13900 2014-05-02 Alan Lawrence <alan.lawrence@arm.com>
13901
13902 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
13903 expression.
13904
13905 2014-05-02 Marek Polacek <polacek@redhat.com>
13906
13907 * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
13908
13909 2014-05-02 Kito Cheng <kito@0xlab.org>
13910
13911 * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
13912 to a C expression marco.
13913 * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
13914 * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
13915 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
13916 * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
13917 HONOR_REG_ALLOC_ORDER.
13918 * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
13919
13920 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13921
13922 * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
13923
13924 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
13925
13926 * config/arc/arc.c (arc_select_cc_mode): Fix typo.
13927
13928 2014-05-01 Yuri Rumyantsev <ysrumyan@gmail.com>
13929
13930 * tree-if-conv.c (is_cond_scalar_reduction): New function.
13931 (convert_scalar_cond_reduction): Likewise.
13932 (predicate_scalar_phi): Add recognition and transformation
13933 of simple conditioanl reduction to be vectorizable.
13934
13935 2014-05-01 Marek Polacek <polacek@redhat.com>
13936
13937 PR c/43245
13938 * doc/invoke.texi: Document -Wdiscarded-qualifiers.
13939
13940 2014-04-30 Alan Lawrence <alan.lawrence@arm.com>
13941
13942 * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
13943 vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
13944 vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
13945 vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
13946 vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
13947 vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
13948 vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
13949 vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
13950
13951 2014-04-30 Joern Rennecke <joern.rennecke@embecosm.com>
13952
13953 * config/arc/arc.opt (mlra): Move comment above option name
13954 to avoid mis-parsing as language options.
13955
13956 2014-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
13957
13958 * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
13959 * config/sol2.h: ... here.
13960 * config/sol2-10.h: Remove.
13961
13962 * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
13963 (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
13964 (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
13965 (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
13966 (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
13967 * config/sol2.h: ... here.
13968 (SECTION_NAME_FORMAT): Don't redefine.
13969 (STARTFILE_ARCH32_SPEC): Rename to ...
13970 (STARTFILE_ARCH_SPEC): ... this.
13971 (ASM_OUTPUT_ALIGNED_COMMON): Move ...
13972 * config/sparc/sol2.h: ... here.
13973 (SECTION_NAME_FORMAT): Don't undef.
13974 * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
13975 (SUBTARGET_EXTRA_SPECS): Remove.
13976 * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
13977
13978 * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
13979 (MD_STARTFILE_PREFIX): Remove.
13980 (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
13981 (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
13982 (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
13983 (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
13984 (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
13985 (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
13986 * config/i386/sol2.h: ... here.
13987 (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
13988 * config/i386/sol2-bi.h: Remove.
13989 * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
13990 (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
13991
13992 * config/i386/t-sol2-64: Rename to ...
13993 * config/i386/t-sol2: ... this.
13994 * config/sparc/t-sol2-64: Rename to ...
13995 * config/sparc/t-sol2: ... this.
13996
13997 * config.gcc (*-*-solaris2*): Split sol2_tm_file into
13998 sol2_tm_file_head, sol2_tm_file_tail.
13999 Include ${cpu_type}/sol2.h before sol2.h.
14000 Remove sol2-10.h.
14001 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
14002 i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
14003 Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
14004 Reflect i386/t-sol2-64 renaming.
14005 (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
14006 Reflect sparc/t-sol2-64 renaming.
14007
14008 2014-04-30 Richard Biener <rguenther@suse.de>
14009
14010 * passes.c (execute_function_todo): Move TODO_verify_stmts
14011 and TODO_verify_ssa under the TODO_verify_il umbrella.
14012 * tree-ssa.h (verify_ssa): Adjust prototype.
14013 * tree-ssa.c (verify_ssa): Add parameter to tell whether
14014 we should verify SSA operands.
14015 * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
14016 * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
14017 whether we should verify whether not throwing stmts have EH info.
14018 * graphite-scop-detection.c (create_sese_edges): Adjust.
14019 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
14020 * tree-eh.c (lower_try_finally_switch): Do not add the
14021 default case label twice.
14022
14023 2014-04-30 Marek Polacek <polacek@redhat.com>
14024
14025 * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
14026 * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
14027 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
14028 * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
14029
14030 2014-04-29 Alan Lawrence <alan.lawrence@arm.com>
14031
14032 * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
14033 vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
14034 vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
14035 vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
14036 vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
14037 vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
14038 vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
14039 vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
14040
14041 2014-04-29 David Malcolm <dmalcolm@redhat.com>
14042
14043 * tree-cfg.c (dump_function_to_file): Dump the return type of
14044 functions, in a line to itself before the function body, mimicking
14045 the layout of a C function.
14046
14047 2014-04-29 Jakub Jelinek <jakub@redhat.com>
14048
14049 PR tree-optimization/60971
14050 * tree-tailcall.c (process_assignment): Reject conversions which
14051 reduce precision.
14052
14053 2014-04-29 James Greenhalgh <james.greenhalgh@arm.com>
14054
14055 * calls.c (initialize_argument_information): Always treat
14056 PUSH_ARGS_REVERSED as 1, simplify code accordingly.
14057 (expand_call): Likewise.
14058 (emit_library_call_calue_1): Likewise.
14059 * expr.c (PUSH_ARGS_REVERSED): Do not define.
14060 (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
14061 code accordingly.
14062
14063 2014-04-29 Nick Clifton <nickc@redhat.com>
14064
14065 * config/msp430/msp430.md (umulsidi): Fix typo.
14066 (mulhisi3): Enable even inside interrupt handlers.
14067 * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
14068 bigger return address pushed in large mode.
14069
14070 2014-04-29 Nick Clifton <nickc@redhat.com>
14071
14072 * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
14073 (arc_init_reg_tables): Use a machine_mode enum to iterate over
14074 available modes.
14075 * config/m32r/m32r.c (init_reg_tables): Likewise.
14076 * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
14077 enum to hold the modes.
14078
14079 2014-04-29 Richard Biener <rguenther@suse.de>
14080
14081 * dominance.c (free_dominance_info): Add overload with
14082 function parameter.
14083 (dom_info_state): Likewise.
14084 (dom_info_available_p): Likewise.
14085 * basic-block.h (free_dominance_info, dom_info_state,
14086 dom_info_available_p): Declare overloads.
14087 * passes.c (execute_function_todo): Verify that verifiers
14088 don't change dominator info state. Drop dominator info
14089 for IPA pass invocations.
14090 * cgraph.c (release_function_body): Restore asserts that
14091 dominator information is released.
14092
14093 2014-04-29 Patrick Palka <patrick@parcs.ath.cx>
14094
14095 * doc/invoke.texi: Fix typo.
14096 * tree-vrp.c: Fix typos.
14097 * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
14098
14099 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org>
14100
14101 * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
14102
14103 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
14104
14105 * config/aarch64/aarch64-builtins.c
14106 (aarch64_types_storestruct_lane_qualifiers): New.
14107 (TYPES_STORESTRUCT_LANE): Likewise.
14108 * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
14109 (st3_lane): Likewise.
14110 (st4_lane): Likewise.
14111 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
14112 (vec_store_lanesci_lane<mode>): Likewise.
14113 (vec_store_lanesxi_lane<mode>): Likewise.
14114 (aarch64_st2_lane<VQ:mode>): Likewise.
14115 (aarch64_st3_lane<VQ:mode>): Likewise.
14116 (aarch64_st4_lane<VQ:mode>): Likewise.
14117 * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
14118 * config/aarch64/arm_neon.h
14119 (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
14120 use new macro arguments.
14121 (__ST3_LANE_FUNC): Likewise.
14122 (__ST4_LANE_FUNC): Likewise.
14123 * config/aarch64/iterators.md (V_TWO_ELEM): New.
14124 (V_THREE_ELEM): Likewise.
14125 (V_FOUR_ELEM): Likewise.
14126
14127 2014-04-28 David Malcolm <dmalcolm@redhat.com>
14128
14129 * doc/gimple.texi: Replace the description of the now-defunct
14130 union gimple_statement_d with a diagram showing the
14131 gimple_statement_base class hierarchy and its relationships to
14132 the GSS_ and GIMPLE_ enums.
14133
14134 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
14135
14136 * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
14137 * config/aarch64/aarch64.c
14138 (aarch64_cannot_change_mode_class): Weaken conditions.
14139 (aarch64_modes_tieable_p): New.
14140 * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
14141
14142 2014-04-28 Pat Haugen <pthaugen@us.ibm.com>
14143
14144 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
14145 (loadsync_<mode>): Change mode.
14146 (load_quadpti, store_quadpti): New.
14147 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
14148 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
14149
14150 2014-04-28 Martin Jambor <mjambor@suse.cz>
14151
14152 * tree-sra.c (sra_modify_expr): Generate new memory accesses with
14153 same alias type as the original statement.
14154 (subreplacement_assignment_data): New type.
14155 (handle_unscalarized_data_in_subtree): New type of parameter,
14156 generate new memory accesses with same alias type as the original
14157 statement.
14158 (load_assign_lhs_subreplacements): Likewise.
14159 (sra_modify_constructor_assign): Generate new memory accesses with
14160 same alias type as the original statement.
14161
14162 2014-04-28 Richard Biener <rguenther@suse.de>
14163
14164 * tree-pass.h (TODO_verify_il): Define.
14165 (TODO_verify_all): Complete properly.
14166 * passes.c (execute_function_todo): Move existing loop-closed
14167 SSA verification under TODO_verify_il.
14168 (execute_one_pass): Trigger TODO_verify_il at todo-after time.
14169 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
14170 Fix tree sharing issue.
14171
14172 2014-04-28 Richard Biener <rguenther@suse.de>
14173
14174 PR middle-end/60092
14175 * builtins.def (DEF_C11_BUILTIN): Add.
14176 (BUILT_IN_ALIGNED_ALLOC): Likewise.
14177 * coretypes.h (enum function_class): Add function_c11_misc.
14178 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
14179 BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
14180 (call_may_clobber_ref_p_1): Likewise.
14181 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
14182 (mark_all_reaching_defs_necessary_1): Likewise.
14183 (propagate_necessity): Likewise.
14184 (eliminate_unnecessary_stmts): Likewise.
14185 * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
14186
14187 2014-04-28 Richard Biener <rguenther@suse.de>
14188
14189 * tree-vrp.c (vrp_var_may_overflow): Remove.
14190 (vrp_visit_phi_node): Rather than bumping to +-INF possibly
14191 with overflow immediately bump to one before that value and
14192 let iteration figure out overflow status.
14193
14194 2014-04-28 Richard Biener <rguenther@suse.de>
14195
14196 * configure.ac: Do valgrind header checks unconditionally.
14197 Add --enable-valgrind-annotations.
14198 * system.h: Guard valgrind header inclusion with
14199 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
14200 * alloc-pool.c (pool_alloc, pool_free): Use
14201 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
14202 to guard possibly dead code.
14203 * config.in: Regenerated.
14204 * configure: Likewise.
14205
14206 2014-04-28 Jeff Law <law@redhat.com>
14207
14208 PR tree-optimization/60902
14209 * tree-ssa-threadedge.c
14210 (record_temporary_equivalences_from_stmts_at_dest): Only iterate
14211 over real defs when invalidating outputs from statements that do not
14212 produce useful outputs for threading.
14213
14214 2014-04-28 Richard Biener <rguenther@suse.de>
14215
14216 PR tree-optimization/60979
14217 * graphite-scop-detection.c (scopdet_basic_block_info): Reject
14218 SCOPs that end in a block with a successor with abnormal
14219 predecessors.
14220
14221 2014-04-28 Richard Biener <rguenther@suse.de>
14222
14223 * tree-pass.h (execute_pass_list): Adjust prototype.
14224 * passes.c (pass_manager::execute_early_local_passes): Adjust.
14225 (do_per_function): Change callback signature, push all actual
14226 work to the callbals.
14227 (do_per_function_toporder): Likewise.
14228 (execute_function_dump): Adjust.
14229 (execute_function_todo): Likewise.
14230 (clear_last_verified): Likewise.
14231 (verify_curr_properties): Likewise.
14232 (update_properties_after_pass): Likewise.
14233 (execute_pass_list_1): Split out from ...
14234 (execute_pass_list): ... here. Adjust.
14235 (execute_ipa_pass_list): Likewise.
14236 * cgraphunit.c (cgraph_add_new_function): Adjust.
14237 (analyze_function): Likewise.
14238 (expand_function): Likewise.
14239 * cgraph.c (release_function_body): Free dominance info
14240 here instead of asserting it was magically freed elsewhere.
14241
14242 2014-04-28 Eric Botcazou <ebotcazou@adacore.com>
14243
14244 * configure.ac: Tweak GAS check for LEON instructions on SPARC.
14245 * configure: Regenerate.
14246 * config/sparc/sparc.opt (muser-mode): New option.
14247 * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
14248 for LEON3.
14249 (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
14250 * doc/invoke.texi (SPARC options): Document -muser-mode.
14251
14252 2014-04-27 Richard Sandiford <rdsandiford@googlemail.com>
14253
14254 * cselib.c (find_slot_memmode): Delete.
14255 (cselib_hasher): Change compare_type to a struct.
14256 (cselib_hasher::equal): Update accordingly. Don't expect wrapped
14257 constants.
14258 (preserve_constants_and_equivs): Adjust for new compare_type.
14259 (cselib_find_slot): Likewise. Take the mode of the rtx as argument.
14260 (wrap_constant): Delete.
14261 (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
14262
14263 2014-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14264
14265 * doc/install.texi (Building with profile feedback): Remove
14266 outdated sentence.
14267
14268 2014-04-26 Tom de Vries <tom@codesourcery.com>
14269
14270 * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
14271 array accesses.
14272
14273 2014-04-25 Cary Coutant <ccoutant@google.com>
14274
14275 PR debug/60929
14276 * dwarf2out.c (should_move_die_to_comdat): A type definition
14277 can contain a subprogram definition, but don't move it to a
14278 comdat unit.
14279 (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
14280 (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
14281 from original DIE.
14282 (clone_tree_hash): Rename to...
14283 (clone_tree_partial): ...this; change callers. Copy
14284 DW_TAG_subprogram DIEs as declarations.
14285 (copy_decls_walk): Don't copy children of a declaration into a
14286 type unit.
14287
14288 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14289
14290 PR target/60969
14291 * config/i386/i386.md (*movsf_internal): Set MODE to SI for
14292 alternative 12.
14293
14294 2014-04-25 Jiong Wang <jiong.wang@arm.com>
14295
14296 * config/arm/predicates.md (call_insn_operand): Add long_call check.
14297 * config/arm/arm.md (sibcall, sibcall_value): Force the address to
14298 reg for long_call.
14299 * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
14300 restriction.
14301
14302 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14303
14304 * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
14305
14306 2014-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
14307
14308 PR tree-optimization/60930
14309 * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject
14310 creating a multiply candidate by folding two constant
14311 multiplicands when the result overflows.
14312
14313 2014-04-25 Jakub Jelinek <jakub@redhat.com>
14314
14315 PR tree-optimization/60960
14316 * tree-vect-generic.c (expand_vector_operation): Only call
14317 expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
14318
14319 2014-04-25 Tom de Vries <tom@codesourcery.com>
14320
14321 * expr.c (clobber_reg_mode): New function.
14322 * expr.h (clobber_reg): New function.
14323
14324 2014-04-25 Tom de Vries <tom@codesourcery.com>
14325
14326 * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
14327 clobbers.
14328
14329 2014-04-25 Radovan Obradovic <robradovic@mips.com>
14330 Tom de Vries <tom@codesourcery.com>
14331
14332 * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
14333 handle.
14334 * rtl.h (find_all_hard_reg_sets): Add bool parameter.
14335 * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
14336 new argument to find_all_hard_reg_sets call.
14337
14338 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14339
14340 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
14341 Use HOST_WIDE_INT_C for mask literal.
14342 (aarch_rev16_shleft_mask_imm_p): Likewise.
14343
14344 2014-04-25 Eric Botcazou <ebotcazou@adacore.com>
14345
14346 PR target/60941
14347 * config/sparc/sparc.md (ashlsi3_extend): Delete.
14348
14349 2014-04-25 Marc Glisse <marc.glisse@inria.fr>
14350
14351 PR preprocessor/56540
14352 * config/i386/i386-c.c (ix86_target_macros): Define
14353 __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
14354
14355 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14356
14357 * configure.ac (tga_func): Remove.
14358 (LIB_TLS_SPEC): Remove.
14359 * configure: Regenerate.
14360 * config.in: Regenerate.
14361 * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
14362
14363 2014-04-25 Richard Biener <rguenther@suse.de>
14364
14365 PR ipa/60912
14366 * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
14367 call stmt use/clobber sets during stmt walk instead of
14368 walking the possibly incomplete set of caller edges.
14369
14370 2014-04-25 Richard Biener <rguenther@suse.de>
14371
14372 PR ipa/60911
14373 * passes.c (apply_ipa_transforms): Inline into only caller ...
14374 (execute_one_pass): ... here. Properly bring in function
14375 bodies for nodes we want to apply IPA transforms to.
14376
14377 2014-04-24 Cong Hou <congh@google.com>
14378
14379 PR tree-optimization/60896
14380 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
14381 all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
14382 (vect_mark_pattern_stmts): Set the def type of all statements in
14383 PATTERN_DEF_SEQ as vect_internal_def.
14384
14385 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com>
14386
14387 * doc/extend.texi (PowerPC Built-in Functions): Document new
14388 powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
14389 (PowerPC AltiVec/VSX Built-in Functions): Likewise.
14390
14391 * config/rs6000/predicates.md (const_0_to_3_operand): New
14392 predicate to match 0..3 integer constants.
14393
14394 * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
14395 to support adding miscellaneous builtin functions.
14396 (BU_DFP_MISC_2): Likewise.
14397 (BU_P7_MISC_1): Likewise.
14398 (BU_P7_MISC_2): Likewise.
14399 (BU_P8V_MISC_3): Likewise.
14400 (BU_MISC_1): Likewise.
14401 (BU_MISC_2): Likewise.
14402 (DIVWE): Add extended divide builtin functions.
14403 (DIVWEO): Likewise.
14404 (DIVWEU): Likewise.
14405 (DIVWEUO): Likewise.
14406 (DIVDE): Likewise.
14407 (DIVDEO): Likewise.
14408 (DIVDEU): Likewise.
14409 (DIVDEUO): Likewise.
14410 (DXEX): Add decimal floating-point builtin functions.
14411 (DXEXQ): Likewise.
14412 (DDEDPD): Likewise.
14413 (DDEDPDQ): Likewise.
14414 (DENBCD): Likewise.
14415 (DENBCDQ): Likewise.
14416 (DIEX): Likewise.
14417 (DIEXQ): Likewise.
14418 (DSCLI): Likewise.
14419 (DSCLIQ): Likewise.
14420 (DSCRI): Likewise.
14421 (DSCRIQ): Likewise.
14422 (CDTBCD): Add new BCD builtin functions.
14423 (CBCDTD): Likewise.
14424 (ADDG6S): Likewise.
14425 (BCDADD): Likewise.
14426 (BCDADD_LT): Likewise.
14427 (BCDADD_EQ): Likewise.
14428 (BCDADD_GT): Likewise.
14429 (BCDADD_OV): Likewise.
14430 (BCDSUB): Likewise.
14431 (BCDSUB_LT): Likewise.
14432 (BCDSUB_EQ): Likewise.
14433 (BCDSUB_GT): Likewise.
14434 (BCDSUB_OV): Likewise.
14435 (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
14436 (UNPACK_TD): Likewise.
14437 (PACK_TF): Likewise.
14438 (UNPACK_TF): Likewise.
14439 (UNPACK_TF_0): Likewise.
14440 (UNPACK_TF_1): Likewise.
14441 (PACK_V1TI): Likewise.
14442 (UNPACK_V1TI): Likewise.
14443
14444 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
14445 support for decimal floating point builtin functions.
14446 (rs6000_expand_ternop_builtin): Add checks for the new builtin
14447 functions that take constant arguments.
14448 (rs6000_invalid_builtin): Add decimal floating point builtin support.
14449 (rs6000_init_builtins): Setup long double, _Decimal64, and
14450 _Decimal128 types for new builtin functions.
14451 (builtin_function_type): Set the unsigned flags appropriately for
14452 the new builtin functions.
14453 (rs6000_opt_masks): Add support for decimal floating point builtin
14454 functions.
14455
14456 * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
14457 floating point builtin functions.
14458 (RS6000_BTM_COMMON): Likewise.
14459 (RS6000_BTI_long_double): Likewise.
14460 (RS6000_BTI_dfloat64): Likewise.
14461 (RS6000_BTI_dfloat128): Likewise.
14462 (long_double_type_internal_node): Likewise.
14463 (dfloat64_type_internal_node): Likewise.
14464 (dfloat128_type_internal_node): Likewise.
14465
14466 * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
14467 2.07 bcd arithmetic instructions.
14468 (UNSPEC_BCDSUB): Likewise.
14469 (UNSPEC_BCD_OVERFLOW): Likewise.
14470 (UNSPEC_BCD_ADD_SUB): Likewise.
14471 (bcd_add_sub): Likewise.
14472 (BCD_TEST): Likewise.
14473 (bcd<bcd_add_sub>): Likewise.
14474 (bcd<bcd_add_sub>_test): Likewise.
14475 (bcd<bcd_add_sub>_test2): Likewise.
14476 (bcd<bcd_add_sub>_<code>): Likewise.
14477 (peephole2 for combined bcd ops): Likewise.
14478
14479 * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
14480 decimal floating point builtin functions.
14481 (UNSPEC_DENBCD): Likewise.
14482 (UNSPEC_DXEX): Likewise.
14483 (UNSPEC_DIEX): Likewise.
14484 (UNSPEC_DSCLI): Likewise.
14485 (UNSPEC_DSCRI): Likewise.
14486 (D64_D128): Likewise.
14487 (dfp_suffix): Likewise.
14488 (dfp_ddedpd_<mode>): Likewise.
14489 (dfp_denbcd_<mode>): Likewise.
14490 (dfp_dxex_<mode>): Likewise.
14491 (dfp_diex_<mode>): Likewise.
14492 (dfp_dscli_<mode>): Likewise.
14493 (dfp_dscri_<mode>): Likewise.
14494
14495 * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
14496 builtin functions.
14497 (UNSPEC_CDTBCD): Likewise.
14498 (UNSPEC_CBCDTD): Likewise.
14499 (UNSPEC_DIVE): Add support for new extended divide builtin functions.
14500 (UNSPEC_DIVEO): Likewise.
14501 (UNSPEC_DIVEU): Likewise.
14502 (UNSPEC_DIVEUO): Likewise.
14503 (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
14504 pack/unpack 128-bit types.
14505 (UNSPEC_PACK_128BIT): Likewise.
14506 (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
14507 (udiv<mode>3): Use idiv_ldiv mode attribute.
14508 (div<mode>3): Likewise.
14509 (addg6s): Add new BCD builtin functions.
14510 (cdtbcd): Likewise.
14511 (cbcdtd): Likewise.
14512 (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
14513 (div_extend): Likewise.
14514 (div<div_extend>_<mode>"): Likewise.
14515 (FP128_64): Add support for new builtin functions to pack/unpack
14516 128-bit types.
14517 (unpack<mode>): Likewise.
14518 (unpacktf_0): Likewise.
14519 (unpacktf_1): Likewise.
14520 (unpack<mode>_dm): Likewise.
14521 (unpack<mode>_nodm): Likewise.
14522 (pack<mode>): Likewise.
14523 (unpackv1ti): Likewise.
14524 (packv1ti): Likewise.
14525
14526 2014-04-24 Vishnu K S <Vishnu.k_s@atmel.com>
14527
14528 * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
14529 is disabled.
14530
14531 2014-04-24 Jakub Jelinek <jakub@redhat.com>
14532
14533 * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
14534 * gimplify.c (omp_is_private): Change last argument's type to int.
14535 Only diagnose lastprivate if the simd argument is 1, only diagnose
14536 linear if the simd argument is 2.
14537 (gimplify_omp_for): Adjust omp_is_private callers. When adding
14538 lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass
14539 GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1
14540 create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
14541 If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
14542 increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
14543 * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
14544 OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
14545 * tree-nested.c (convert_nonlocal_omp_clauses,
14546 convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
14547
14548 2014-04-24 Segher Boessenkool <segher@kernel.crashing.org>
14549
14550 PR target/60822
14551 * config/m68k/m68k.md (extendplussidi): Don't allow memory for
14552 operand 1.
14553
14554 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com>
14555
14556 * flag-types.h (enum ivar_visibility): Add.
14557
14558 2014-04-24 Trevor Saunders <tsaunders@mozilla.com>
14559
14560 * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
14561 function * argument.
14562
14563 2014-04-24 Alan Lawrence <alan.lawrence@arm.com>
14564
14565 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
14566
14567 2014-04-24 Radovan Obradovic <robradovic@mips.com>
14568 Tom de Vries <tom@codesourcery.com>
14569
14570 * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
14571 * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
14572 reg-note.
14573 * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
14574 * emit-rtl.c (try_split): Same.
14575
14576 2014-04-24 Radovan Obradovic <robradovic@mips.com>
14577 Tom de Vries <tom@codesourcery.com>
14578
14579 * common.opt (fuse-caller-save): New option.
14580
14581 2014-04-24 Tejas Belagod <tejas.belagod@arm.com>
14582
14583 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
14584 elements for big-endian.
14585
14586 2014-04-24 Richard Biener <rguenther@suse.de>
14587
14588 * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
14589 during TER and instead use the sepops interface for expanding
14590 non-GIMPLE_SINGLE_RHS.
14591
14592 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14593
14594 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
14595 if not HAVE_AS_IX86_DIFF_SECT_DELTA.
14596
14597 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14598
14599 * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
14600 assembler 64-bit option.
14601 * configure: Regenerate.
14602
14603 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14604
14605 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
14606 TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
14607 (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
14608 (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
14609 (TARGET_CRYPTO): Take TARGET_SIMD into account.
14610
14611 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14612
14613 * config/aarch64/aarch64-builtins.c
14614 (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
14615 BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
14616 * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
14617 * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
14618 builtins.
14619 * config/aarch64/iterator.md (VDQHSD): New mode iterator.
14620 (Vrevsuff): New mode attribute.
14621
14622 2014-04-24 Terry Guo <terry.guo@arm.com>
14623
14624 * config/arm/arm.h (machine_function): Define variable
14625 after_arm_reorg here.
14626 * config/arm/arm.c (after_arm_reorg): Remove the definition.
14627 (arm_split_constant): Update the way to access variable
14628 after_arm_reorg.
14629 (arm_reorg): Ditto.
14630 (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
14631
14632 2014-04-23 Tom de Vries <tom@codesourcery.com>
14633
14634 * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
14635
14636 2014-04-23 David Malcolm <dmalcolm@redhat.com>
14637
14638 * is-a.h: Update comments to reflect the following changes to the
14639 "pointerness" of the API, making the template parameter match the
14640 return type, allowing use of is-a.h with typedefs of pointers.
14641 (is_a_helper::cast): Return a T rather then a pointer to a T, so
14642 that the return type matches the parameter to the is_a_helper.
14643 (as_a): Likewise.
14644 (dyn_cast): Likewise.
14645
14646 * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
14647 pointer from the is-a.h API.
14648
14649 * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
14650 (is_a_helper <cgraph_node *>::test): ...this, matching change to
14651 is-a.h API.
14652 (is_a_helper <varpool_node>::test): Likewise, convert to...
14653 (is_a_helper <varpool_node *>::test): ...this.
14654
14655 (varpool_first_variable): Update for removal of implicit pointer
14656 from the is-a.h API.
14657 (varpool_next_variable): Likewise.
14658 (varpool_first_static_initializer): Likewise.
14659 (varpool_next_static_initializer): Likewise.
14660 (varpool_first_defined_variable): Likewise.
14661 (varpool_next_defined_variable): Likewise.
14662 (cgraph_first_defined_function): Likewise.
14663 (cgraph_next_defined_function): Likewise.
14664 (cgraph_first_function): Likewise.
14665 (cgraph_next_function): Likewise.
14666 (cgraph_first_function_with_gimple_body): Likewise.
14667 (cgraph_next_function_with_gimple_body): Likewise.
14668 (cgraph_alias_target): Likewise.
14669 (varpool_alias_target): Likewise.
14670 (cgraph_function_or_thunk_node): Likewise.
14671 (varpool_variable_node): Likewise.
14672 (symtab_real_symbol_p): Likewise.
14673 * cgraphunit.c (referred_to_p): Likewise.
14674 (analyze_functions): Likewise.
14675 (handle_alias_pairs): Likewise.
14676 * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
14677 * gimple-ssa.h (gimple_vuse_op): Likewise.
14678 (gimple_vdef_op): Likewise.
14679 * gimple-streamer-in.c (input_gimple_stmt): Likewise.
14680 * gimple.c (gimple_build_asm_1): Likewise.
14681 (gimple_build_try): Likewise.
14682 (gimple_build_resx): Likewise.
14683 (gimple_build_eh_dispatch): Likewise.
14684 (gimple_build_omp_for): Likewise.
14685 (gimple_omp_for_set_clauses): Likewise.
14686
14687 * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
14688 (is_a_helper <gimple_statement_asm *>::test): ...this.
14689 (is_a_helper <gimple_statement_bind>::test): Convert to...
14690 (is_a_helper <gimple_statement_bind *>::test): ...this.
14691 (is_a_helper <gimple_statement_call>::test): Convert to...
14692 (is_a_helper <gimple_statement_call *>::test): ...this.
14693 (is_a_helper <gimple_statement_catch>::test): Convert to...
14694 (is_a_helper <gimple_statement_catch *>::test): ...this.
14695 (is_a_helper <gimple_statement_resx>::test): Convert to...
14696 (is_a_helper <gimple_statement_resx *>::test): ...this.
14697 (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
14698 (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
14699 (is_a_helper <gimple_statement_eh_else>::test): Convert to...
14700 (is_a_helper <gimple_statement_eh_else *>::test): ...this.
14701 (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
14702 (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
14703 (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
14704 (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
14705 (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
14706 (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
14707 (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
14708 (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
14709 (is_a_helper <gimple_statement_omp_return>::test): Convert to...
14710 (is_a_helper <gimple_statement_omp_return *>::test): ...this.
14711 (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
14712 (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
14713 (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
14714 (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
14715 (is_a_helper <gimple_statement_omp_for>::test): Convert to...
14716 (is_a_helper <gimple_statement_omp_for *>::test): ...this.
14717 (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
14718 (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
14719 (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
14720 (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
14721 (is_a_helper <gimple_statement_omp_target>::test): Convert to...
14722 (is_a_helper <gimple_statement_omp_target *>::test): ...this.
14723 (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
14724 (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
14725 (is_a_helper <gimple_statement_omp_single>::test): Convert to...
14726 (is_a_helper <gimple_statement_omp_single *>::test): ...this.
14727 (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
14728 (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
14729 (is_a_helper <gimple_statement_omp_task>::test): Convert to...
14730 (is_a_helper <gimple_statement_omp_task *>::test): ...this.
14731 (is_a_helper <gimple_statement_phi>::test): Convert to...
14732 (is_a_helper <gimple_statement_phi *>::test): ...this.
14733 (is_a_helper <gimple_statement_transaction>::test): Convert to...
14734 (is_a_helper <gimple_statement_transaction *>::test): ...this.
14735 (is_a_helper <gimple_statement_try>::test): Convert to...
14736 (is_a_helper <gimple_statement_try *>::test): ...this.
14737 (is_a_helper <gimple_statement_wce>::test): Convert to...
14738 (is_a_helper <gimple_statement_wce *>::test): ...this.
14739 (is_a_helper <const gimple_statement_asm>::test): Convert to...
14740 (is_a_helper <const gimple_statement_asm *>::test): ...this.
14741 (is_a_helper <const gimple_statement_bind>::test): Convert to...
14742 (is_a_helper <const gimple_statement_bind *>::test): ...this.
14743 (is_a_helper <const gimple_statement_call>::test): Convert to...
14744 (is_a_helper <const gimple_statement_call *>::test): ...this.
14745 (is_a_helper <const gimple_statement_catch>::test): Convert to...
14746 (is_a_helper <const gimple_statement_catch *>::test): ...this.
14747 (is_a_helper <const gimple_statement_resx>::test): Convert to...
14748 (is_a_helper <const gimple_statement_resx *>::test): ...this.
14749 (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
14750 (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
14751 (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
14752 (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
14753 (is_a_helper <const gimple_statement_omp_atomic_load>::test):
14754 Convert to...
14755 (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
14756 ...this.
14757 (is_a_helper <const gimple_statement_omp_atomic_store>::test):
14758 Convert to...
14759 (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
14760 ...this.
14761 (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
14762 (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
14763 (is_a_helper <const gimple_statement_omp_continue>::test): Convert
14764 to...
14765 (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
14766 (is_a_helper <const gimple_statement_omp_critical>::test): Convert
14767 to...
14768 (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
14769 (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
14770 (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
14771 (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
14772 (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
14773 (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
14774 to...
14775 (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
14776 (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
14777 (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
14778 (is_a_helper <const gimple_statement_omp_sections>::test): Convert
14779 to...
14780 (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
14781 (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
14782 (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
14783 (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
14784 (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
14785 (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
14786 (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
14787 (is_a_helper <const gimple_statement_phi>::test): Convert to...
14788 (is_a_helper <const gimple_statement_phi *>::test): ...this.
14789 (is_a_helper <const gimple_statement_transaction>::test): Convert to...
14790 (is_a_helper <const gimple_statement_transaction *>::test): ...this.
14791 (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
14792 (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
14793 (is_a_helper <gimple_statement_with_ops>::test): Convert to...
14794 (is_a_helper <gimple_statement_with_ops *>::test): ...this.
14795 (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
14796 to...
14797 (is_a_helper <const gimple_statement_with_memory_ops *>::test):
14798 ...this.
14799 (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
14800 (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
14801
14802 (gimple_use_ops): Update for removal of implicit pointer from the
14803 is-a.h API.
14804 (gimple_set_use_ops): Likewise.
14805 (gimple_vuse): Likewise.
14806 (gimple_vdef): Likewise.
14807 (gimple_vuse_ptr): Likewise.
14808 (gimple_vdef_ptr): Likewise.
14809 (gimple_set_vuse): Likewise.
14810 (gimple_set_vdef): Likewise.
14811 (gimple_omp_return_set_lhs): Likewise.
14812 (gimple_omp_return_lhs): Likewise.
14813 (gimple_omp_return_lhs_ptr): Likewise.
14814 (gimple_call_fntype): Likewise.
14815 (gimple_call_set_fntype): Likewise.
14816 (gimple_call_set_internal_fn): Likewise.
14817 (gimple_call_use_set): Likewise.
14818 (gimple_call_clobber_set): Likewise.
14819 (gimple_bind_vars): Likewise.
14820 (gimple_bind_set_vars): Likewise.
14821 (gimple_bind_body_ptr): Likewise.
14822 (gimple_bind_set_body): Likewise.
14823 (gimple_bind_add_stmt): Likewise.
14824 (gimple_bind_block): Likewise.
14825 (gimple_bind_set_block): Likewise.
14826 (gimple_asm_ninputs): Likewise.
14827 (gimple_asm_noutputs): Likewise.
14828 (gimple_asm_nclobbers): Likewise.
14829 (gimple_asm_nlabels): Likewise.
14830 (gimple_asm_input_op): Likewise.
14831 (gimple_asm_input_op_ptr): Likewise.
14832 (gimple_asm_output_op): Likewise.
14833 (gimple_asm_output_op_ptr): Likewise.
14834 (gimple_asm_set_output_op): Likewise.
14835 (gimple_asm_clobber_op): Likewise.
14836 (gimple_asm_set_clobber_op): Likewise.
14837 (gimple_asm_label_op): Likewise.
14838 (gimple_asm_set_label_op): Likewise.
14839 (gimple_asm_string): Likewise.
14840 (gimple_catch_types): Likewise.
14841 (gimple_catch_types_ptr): Likewise.
14842 (gimple_catch_handler_ptr): Likewise.
14843 (gimple_catch_set_types): Likewise.
14844 (gimple_catch_set_handler): Likewise.
14845 (gimple_eh_filter_types): Likewise.
14846 (gimple_eh_filter_types_ptr): Likewise.
14847 (gimple_eh_filter_failure_ptr): Likewise.
14848 (gimple_eh_filter_set_types): Likewise.
14849 (gimple_eh_filter_set_failure): Likewise.
14850 (gimple_eh_must_not_throw_fndecl): Likewise.
14851 (gimple_eh_must_not_throw_set_fndecl): Likewise.
14852 (gimple_eh_else_n_body_ptr): Likewise.
14853 (gimple_eh_else_e_body_ptr): Likewise.
14854 (gimple_eh_else_set_n_body): Likewise.
14855 (gimple_eh_else_set_e_body): Likewise.
14856 (gimple_try_eval_ptr): Likewise.
14857 (gimple_try_cleanup_ptr): Likewise.
14858 (gimple_try_set_eval): Likewise.
14859 (gimple_try_set_cleanup): Likewise.
14860 (gimple_wce_cleanup_ptr): Likewise.
14861 (gimple_wce_set_cleanup): Likewise.
14862 (gimple_phi_capacity): Likewise.
14863 (gimple_phi_num_args): Likewise.
14864 (gimple_phi_result): Likewise.
14865 (gimple_phi_result_ptr): Likewise.
14866 (gimple_phi_set_result): Likewise.
14867 (gimple_phi_arg): Likewise.
14868 (gimple_phi_set_arg): Likewise.
14869 (gimple_resx_region): Likewise.
14870 (gimple_resx_set_region): Likewise.
14871 (gimple_eh_dispatch_region): Likewise.
14872 (gimple_eh_dispatch_set_region): Likewise.
14873 (gimple_omp_critical_name): Likewise.
14874 (gimple_omp_critical_name_ptr): Likewise.
14875 (gimple_omp_critical_set_name): Likewise.
14876 (gimple_omp_for_clauses): Likewise.
14877 (gimple_omp_for_clauses_ptr): Likewise.
14878 (gimple_omp_for_set_clauses): Likewise.
14879 (gimple_omp_for_collapse): Likewise.
14880 (gimple_omp_for_index): Likewise.
14881 (gimple_omp_for_index_ptr): Likewise.
14882 (gimple_omp_for_set_index): Likewise.
14883 (gimple_omp_for_initial): Likewise.
14884 (gimple_omp_for_initial_ptr): Likewise.
14885 (gimple_omp_for_set_initial): Likewise.
14886 (gimple_omp_for_final): Likewise.
14887 (gimple_omp_for_final_ptr): Likewise.
14888 (gimple_omp_for_set_final): Likewise.
14889 (gimple_omp_for_incr): Likewise.
14890 (gimple_omp_for_incr_ptr): Likewise.
14891 (gimple_omp_for_set_incr): Likewise.
14892 (gimple_omp_for_pre_body_ptr): Likewise.
14893 (gimple_omp_for_set_pre_body): Likewise.
14894 (gimple_omp_parallel_clauses): Likewise.
14895 (gimple_omp_parallel_clauses_ptr): Likewise.
14896 (gimple_omp_parallel_set_clauses): Likewise.
14897 (gimple_omp_parallel_child_fn): Likewise.
14898 (gimple_omp_parallel_child_fn_ptr): Likewise.
14899 (gimple_omp_parallel_set_child_fn): Likewise.
14900 (gimple_omp_parallel_data_arg): Likewise.
14901 (gimple_omp_parallel_data_arg_ptr): Likewise.
14902 (gimple_omp_parallel_set_data_arg): Likewise.
14903 (gimple_omp_task_clauses): Likewise.
14904 (gimple_omp_task_clauses_ptr): Likewise.
14905 (gimple_omp_task_set_clauses): Likewise.
14906 (gimple_omp_task_child_fn): Likewise.
14907 (gimple_omp_task_child_fn_ptr): Likewise.
14908 (gimple_omp_task_set_child_fn): Likewise.
14909 (gimple_omp_task_data_arg): Likewise.
14910 (gimple_omp_task_data_arg_ptr): Likewise.
14911 (gimple_omp_task_set_data_arg): Likewise.
14912 (gimple_omp_taskreg_clauses): Likewise.
14913 (gimple_omp_taskreg_clauses_ptr): Likewise.
14914 (gimple_omp_taskreg_set_clauses): Likewise.
14915 (gimple_omp_taskreg_child_fn): Likewise.
14916 (gimple_omp_taskreg_child_fn_ptr): Likewise.
14917 (gimple_omp_taskreg_set_child_fn): Likewise.
14918 (gimple_omp_taskreg_data_arg): Likewise.
14919 (gimple_omp_taskreg_data_arg_ptr): Likewise.
14920 (gimple_omp_taskreg_set_data_arg): Likewise.
14921 (gimple_omp_task_copy_fn): Likewise.
14922 (gimple_omp_task_copy_fn_ptr): Likewise.
14923 (gimple_omp_task_set_copy_fn): Likewise.
14924 (gimple_omp_task_arg_size): Likewise.
14925 (gimple_omp_task_arg_size_ptr): Likewise.
14926 (gimple_omp_task_set_arg_size): Likewise.
14927 (gimple_omp_task_arg_align): Likewise.
14928 (gimple_omp_task_arg_align_ptr): Likewise.
14929 (gimple_omp_task_set_arg_align): Likewise.
14930 (gimple_omp_single_clauses): Likewise.
14931 (gimple_omp_single_clauses_ptr): Likewise.
14932 (gimple_omp_single_set_clauses): Likewise.
14933 (gimple_omp_target_clauses): Likewise.
14934 (gimple_omp_target_clauses_ptr): Likewise.
14935 (gimple_omp_target_set_clauses): Likewise.
14936 (gimple_omp_target_child_fn): Likewise.
14937 (gimple_omp_target_child_fn_ptr): Likewise.
14938 (gimple_omp_target_set_child_fn): Likewise.
14939 (gimple_omp_target_data_arg): Likewise.
14940 (gimple_omp_target_data_arg_ptr): Likewise.
14941 (gimple_omp_target_set_data_arg): Likewise.
14942 (gimple_omp_teams_clauses): Likewise.
14943 (gimple_omp_teams_clauses_ptr): Likewise.
14944 (gimple_omp_teams_set_clauses): Likewise.
14945 (gimple_omp_sections_clauses): Likewise.
14946 (gimple_omp_sections_clauses_ptr): Likewise.
14947 (gimple_omp_sections_set_clauses): Likewise.
14948 (gimple_omp_sections_control): Likewise.
14949 (gimple_omp_sections_control_ptr): Likewise.
14950 (gimple_omp_sections_set_control): Likewise.
14951 (gimple_omp_for_set_cond): Likewise.
14952 (gimple_omp_for_cond): Likewise.
14953 (gimple_omp_atomic_store_set_val): Likewise.
14954 (gimple_omp_atomic_store_val): Likewise.
14955 (gimple_omp_atomic_store_val_ptr): Likewise.
14956 (gimple_omp_atomic_load_set_lhs): Likewise.
14957 (gimple_omp_atomic_load_lhs): Likewise.
14958 (gimple_omp_atomic_load_lhs_ptr): Likewise.
14959 (gimple_omp_atomic_load_set_rhs): Likewise.
14960 (gimple_omp_atomic_load_rhs): Likewise.
14961 (gimple_omp_atomic_load_rhs_ptr): Likewise.
14962 (gimple_omp_continue_control_def): Likewise.
14963 (gimple_omp_continue_control_def_ptr): Likewise.
14964 (gimple_omp_continue_set_control_def): Likewise.
14965 (gimple_omp_continue_control_use): Likewise.
14966 (gimple_omp_continue_control_use_ptr): Likewise.
14967 (gimple_omp_continue_set_control_use): Likewise.
14968 (gimple_transaction_body_ptr): Likewise.
14969 (gimple_transaction_label): Likewise.
14970 (gimple_transaction_label_ptr): Likewise.
14971 (gimple_transaction_set_body): Likewise.
14972 (gimple_transaction_set_label): Likewise.
14973
14974 * ipa-devirt.c (build_type_inheritance_graph): Likewise.
14975 * ipa-inline-analysis.c (inline_write_summary): Likewise.
14976 * ipa-ref.c (ipa_record_reference): Likewise.
14977 * ipa-reference.c (analyze_function): Likewise.
14978 (ipa_reference_write_optimization_summary): Likewise.
14979 * ipa.c (symtab_remove_unreachable_nodes): Likewise.
14980 (address_taken_from_non_vtable_p): Likewise.
14981 (comdat_can_be_unshared_p_1): Likewise.
14982 * lto-cgraph.c (lto_output_ref): Likewise.
14983 (add_references): Likewise.
14984 (compute_ltrans_boundary): Likewise.
14985 (output_symtab): Likewise.
14986 (input_ref): Likewise.
14987 (input_cgraph_1): Likewise.
14988 (output_cgraph_opt_summary): Likewise.
14989 * lto-streamer-out.c (lto_output): Likewise.
14990 (output_symbol_p): Likewise.
14991 * lto-streamer.h (lsei_next_function_in_partition): Likewise.
14992 (lsei_start_function_in_partition): Likewise.
14993 (lsei_next_variable_in_partition): Likewise.
14994 (lsei_start_variable_in_partition): Likewise.
14995 * symtab.c (insert_to_assembler_name_hash): Likewise.
14996 (unlink_from_assembler_name_hash): Likewise.
14997 (symtab_unregister_node): Likewise.
14998 (symtab_remove_node): Likewise.
14999 (dump_symtab_node): Likewise.
15000 (verify_symtab_base): Likewise.
15001 (verify_symtab_node): Likewise.
15002 (symtab_make_decl_local): Likewise.
15003 (symtab_alias_ultimate_target): Likewise.
15004 (symtab_resolve_alias): Likewise.
15005 (symtab_get_symbol_partitioning_class): Likewise.
15006 * tree-phinodes.c (allocate_phi_node): Likewise.
15007 (reserve_phi_args_for_new_edge): Likewise.
15008 (remove_phi_args): Likewise.
15009 * varpool.c (varpool_node_for_asm): Likewise.
15010 (varpool_remove_unreferenced_decls): Likewise.
15011
15012 2014-04-23 Jeff Law <law@redhat.com>
15013
15014 PR tree-optimization/60902
15015 * tree-ssa-threadedge.c
15016 (record_temporary_equivalences_from_stmts_at_dest): Make sure to
15017 invalidate outputs from statements that do not produce useful
15018 outputs for threading.
15019
15020 2014-04-23 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15021
15022 * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
15023 (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
15024 machine descriptions for Stack Smashing Protector.
15025
15026 2014-04-23 Richard Earnshaw <rearnsha@arm.com>
15027
15028 * aarch64.md (<optab>_rol<mode>3): New pattern.
15029 (<optab>_rolsi3_uxtw): Likewise.
15030 * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
15031
15032 2014-04-23 James Greenhalgh <james.greenhalgh@arm.com>
15033
15034 * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
15035 (arm_cortex_a12_tune): Likewise.
15036
15037 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15038
15039 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
15040
15041 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15042
15043 * config/arm/arm.md (arm_rev16si2): New pattern.
15044 (arm_rev16si2_alt): Likewise.
15045 * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
15046
15047 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15048
15049 * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
15050 (rev16<mode>2_alt): Likewise.
15051 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
15052 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
15053 (aarch_rev16_shleft_mask_imm_p): Likewise.
15054 (aarch_rev16_p_1): Likewise.
15055 (aarch_rev16_p): Likewise.
15056 * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
15057 (aarch_rev16_shright_mask_imm_p): Likewise.
15058 (aarch_rev16_shleft_mask_imm_p): Likewise.
15059
15060 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15061
15062 * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
15063 * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
15064 rev cost.
15065 (cortex_a53_extra_costs): Likewise.
15066 (cortex_a57_extra_costs): Likewise.
15067 * config/arm/arm.c (cortexa9_extra_costs): Likewise.
15068 (cortexa7_extra_costs): Likewise.
15069 (cortexa8_extra_costs): Likewise.
15070 (cortexa12_extra_costs): Likewise.
15071 (cortexa15_extra_costs): Likewise.
15072 (v7m_extra_costs): Likewise.
15073 (arm_new_rtx_costs): Handle BSWAP.
15074
15075 2013-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15076
15077 * config/arm/arm.c (cortexa8_extra_costs): New table.
15078 (arm_cortex_a8_tune): New tuning struct.
15079 * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
15080
15081 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15082
15083 * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
15084
15085 2014-04-23 Richard Biener <rguenther@suse.de>
15086
15087 * Makefile.in (OBJS): Remove loop-unswitch.o.
15088 * tree-pass.h (make_pass_rtl_unswitch): Remove.
15089 * passes.def (pass_rtl_unswitch): Likewise.
15090 * loop-init.c (gate_rtl_unswitch): Likewise.
15091 (rtl_unswitch): Likewise.
15092 (pass_data_rtl_unswitch): Likewise.
15093 (pass_rtl_unswitch): Likewise.
15094 (make_pass_rtl_unswitch): Likewise.
15095 * rtl.h (reversed_condition): Likewise.
15096 (compare_and_jump_seq): Likewise.
15097 * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
15098 and make static.
15099 * loop-unroll.c (compare_and_jump_seq): Likewise.
15100
15101 2014-04-23 Richard Biener <rguenther@suse.de>
15102
15103 PR tree-optimization/60903
15104 * tree-ssa-loop-im.c (analyze_memory_references): Remove
15105 commented code block.
15106 (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
15107 loop flags to newly created BBs and edges.
15108
15109 2014-04-23 Nick Clifton <nickc@redhat.com>
15110
15111 * config/msp430/msp430.c (msp430_handle_option): Move function
15112 to msp430-common.c
15113 (msp430_option_override): Simplify mcu and mcpu option handling.
15114 (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add
15115 support for -mhwmult command line option.
15116 (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for
15117 -mhwmult command line option.
15118 (msp430_hwmult_enabled): Delete.
15119 (msp43o_output_labelref): Add support for -mhwmult command line option.
15120 * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
15121 (umulsidi3): Likewise.
15122 * config/msp430/msp430.opt (mmcu): Add Report attribute.
15123 (mcpu, mlarge, msmall): Likewise.
15124 (mhwmult): New option.
15125 * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
15126 prototype.
15127 (msp430_is_f5_mcu): Remove prototype.
15128 (msp430_use_f5_series_hwmult): Add prototype.
15129 * config/msp430/msp430-opts.h: New file.
15130 * common/config/msp430: New directory.
15131 * common/config/msp430/msp430-common.c: New file.
15132 * config.gcc (msp430): Remove target_has_targetm_common.
15133 * doc/invoke.texi: Document -mhwmult command line option.
15134
15135 2014-04-23 Nick Clifton <nickc@redhat.com>
15136
15137 * config/i386/cygwin.h (ENDFILE_SPEC): Include
15138 default-manifest.o if it can be found in the search path.
15139 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
15140
15141 2014-04-23 Terry Guo <terry.guo@arm.com>
15142
15143 * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
15144
15145 2014-04-23 Richard Biener <rguenther@suse.de>
15146
15147 PR middle-end/60895
15148 * tree-inline.c (declare_return_variable): Use mark_addressable.
15149
15150 2014-04-23 Richard Biener <rguenther@suse.de>
15151
15152 PR middle-end/60891
15153 * loop-init.c (loop_optimizer_init): Make sure to apply
15154 LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
15155
15156 2014-04-22 Jakub Jelinek <jakub@redhat.com>
15157
15158 PR sanitizer/60275
15159 * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
15160 New options.
15161 * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
15162 if flag_sanitize_undefined_trap_on_error.
15163 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
15164 BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
15165 BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
15166 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
15167 BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
15168 BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
15169 BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
15170 BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
15171 BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
15172 * ubsan.c (ubsan_instrument_unreachable): Return
15173 __builtin_trap () if flag_sanitize_undefined_trap_on_error.
15174 (ubsan_expand_null_ifn): Emit __builtin_trap ()
15175 if flag_sanitize_undefined_trap_on_error and
15176 __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
15177 (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
15178 instrument_bool_enum_load): Emit __builtin_trap () if
15179 flag_sanitize_undefined_trap_on_error and
15180 __builtin_handle_*_abort () if !flag_sanitize_recover.
15181 * doc/invoke.texi (-fsanitize-recover,
15182 -fsanitize-undefined-trap-on-error): Document.
15183
15184 2014-04-22 Christian Bruel <christian.bruel@st.com>
15185
15186 * config/sh/sh.md (mov<mode>): Replace movQIHI.
15187 Force immediates to SImode.
15188
15189 2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
15190
15191 * config/nios2/nios2.md (UNSPEC_ROUND): New.
15192 (lroundsfsi2): New.
15193 * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
15194 * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
15195 * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
15196 (nios2_fpu_insn): Add entry for round.
15197 (N2FPU_NO_ERRNO_P): Define.
15198 (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
15199 flag_errno_math.
15200 * doc/invoke.texi (Nios II Options): Document -mcustom-round.
15201
15202 2014-04-22 Richard Henderson <rth@redhat.com>
15203
15204 * config/aarch64/aarch64 (addti3, subti3): New expanders.
15205 (add<GPI>3_compare0): Remove leading * from name.
15206 (add<GPI>3_carryin): Likewise.
15207 (sub<GPI>3_compare0): Likewise.
15208 (sub<GPI>3_carryin): Likewise.
15209 (<su_optab>mulditi3): New expander.
15210 (multi3): New expander.
15211 (madd<GPI>): Remove leading * from name.
15212
15213 2014-04-22 Martin Jambor <mjambor@suse.cz>
15214
15215 * cgraphclones.c (cgraph_function_versioning): Copy
15216 ipa_transforms_to_apply instead of asserting it is empty.
15217
15218 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
15219
15220 PR target/60868
15221 * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
15222 on count_exp to get mode.
15223
15224 2014-04-22 Andrew Pinski <apinski@cavium.com>
15225
15226 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
15227 Handle TLS for ILP32.
15228 * config/aarch64/aarch64.md (tlsie_small): Rename to ...
15229 (tlsie_small_<mode>): this and handle PTR.
15230 (tlsie_small_sidi): New pattern.
15231 (tlsle_small): Change to an expand to handle ILP32.
15232 (tlsle_small_<mode>): New pattern.
15233 (tlsdesc_small): Rename to ...
15234 (tlsdesc_small_<mode>): this and handle PTR.
15235
15236 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
15237
15238 * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
15239
15240 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
15241
15242 * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
15243 (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
15244 (aarch64_types_signed_poly_qualifiers): Likewise.
15245 (aarch64_types_unsigned_signed_qualifiers): Likewise.
15246 (aarch64_types_poly_signed_qualifiers): Likewise.
15247 (TYPES_REINTERP_SS): Type macro added.
15248 (TYPES_REINTERP_SU): Likewise.
15249 (TYPES_REINTERP_SP): Likewise.
15250 (TYPES_REINTERP_US): Likewise.
15251 (TYPES_REINTERP_PS): Likewise.
15252 (aarch64_fold_builtin): New expression folding added.
15253 * config/aarch64/aarch64-simd-builtins.def (REINTERP):
15254 Declarations removed.
15255 (REINTERP_SS): Declarations added.
15256 (REINTERP_US): Likewise.
15257 (REINTERP_PS): Likewise.
15258 (REINTERP_SU): Likewise.
15259 (REINTERP_SP): Likewise.
15260 * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
15261 (vreinterpretq_p8_f64): Likewise.
15262 (vreinterpret_p16_f64): Likewise.
15263 (vreinterpretq_p16_f64): Likewise.
15264 (vreinterpret_f32_f64): Likewise.
15265 (vreinterpretq_f32_f64): Likewise.
15266 (vreinterpret_f64_f32): Likewise.
15267 (vreinterpret_f64_p8): Likewise.
15268 (vreinterpret_f64_p16): Likewise.
15269 (vreinterpret_f64_s8): Likewise.
15270 (vreinterpret_f64_s16): Likewise.
15271 (vreinterpret_f64_s32): Likewise.
15272 (vreinterpret_f64_s64): Likewise.
15273 (vreinterpret_f64_u8): Likewise.
15274 (vreinterpret_f64_u16): Likewise.
15275 (vreinterpret_f64_u32): Likewise.
15276 (vreinterpret_f64_u64): Likewise.
15277 (vreinterpretq_f64_f32): Likewise.
15278 (vreinterpretq_f64_p8): Likewise.
15279 (vreinterpretq_f64_p16): Likewise.
15280 (vreinterpretq_f64_s8): Likewise.
15281 (vreinterpretq_f64_s16): Likewise.
15282 (vreinterpretq_f64_s32): Likewise.
15283 (vreinterpretq_f64_s64): Likewise.
15284 (vreinterpretq_f64_u8): Likewise.
15285 (vreinterpretq_f64_u16): Likewise.
15286 (vreinterpretq_f64_u32): Likewise.
15287 (vreinterpretq_f64_u64): Likewise.
15288 (vreinterpret_s64_f64): Likewise.
15289 (vreinterpretq_s64_f64): Likewise.
15290 (vreinterpret_u64_f64): Likewise.
15291 (vreinterpretq_u64_f64): Likewise.
15292 (vreinterpret_s8_f64): Likewise.
15293 (vreinterpretq_s8_f64): Likewise.
15294 (vreinterpret_s16_f64): Likewise.
15295 (vreinterpretq_s16_f64): Likewise.
15296 (vreinterpret_s32_f64): Likewise.
15297 (vreinterpretq_s32_f64): Likewise.
15298 (vreinterpret_u8_f64): Likewise.
15299 (vreinterpretq_u8_f64): Likewise.
15300 (vreinterpret_u16_f64): Likewise.
15301 (vreinterpretq_u16_f64): Likewise.
15302 (vreinterpret_u32_f64): Likewise.
15303 (vreinterpretq_u32_f64): Likewise.
15304
15305 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
15306
15307 * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
15308 * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
15309 (vreinterpret_p8_s8): Likewise.
15310 * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
15311 (vreinterpret_p8_s16): Likewise.
15312 (vreinterpret_p8_s32): Likewise.
15313 (vreinterpret_p8_s64): Likewise.
15314 (vreinterpret_p8_f32): Likewise.
15315 (vreinterpret_p8_u8): Likewise.
15316 (vreinterpret_p8_u16): Likewise.
15317 (vreinterpret_p8_u32): Likewise.
15318 (vreinterpret_p8_u64): Likewise.
15319 (vreinterpret_p8_p16): Likewise.
15320 (vreinterpretq_p8_s8): Likewise.
15321 (vreinterpretq_p8_s16): Likewise.
15322 (vreinterpretq_p8_s32): Likewise.
15323 (vreinterpretq_p8_s64): Likewise.
15324 (vreinterpretq_p8_f32): Likewise.
15325 (vreinterpretq_p8_u8): Likewise.
15326 (vreinterpretq_p8_u16): Likewise.
15327 (vreinterpretq_p8_u32): Likewise.
15328 (vreinterpretq_p8_u64): Likewise.
15329 (vreinterpretq_p8_p16): Likewise.
15330 (vreinterpret_p16_s8): Likewise.
15331 (vreinterpret_p16_s16): Likewise.
15332 (vreinterpret_p16_s32): Likewise.
15333 (vreinterpret_p16_s64): Likewise.
15334 (vreinterpret_p16_f32): Likewise.
15335 (vreinterpret_p16_u8): Likewise.
15336 (vreinterpret_p16_u16): Likewise.
15337 (vreinterpret_p16_u32): Likewise.
15338 (vreinterpret_p16_u64): Likewise.
15339 (vreinterpret_p16_p8): Likewise.
15340 (vreinterpretq_p16_s8): Likewise.
15341 (vreinterpretq_p16_s16): Likewise.
15342 (vreinterpretq_p16_s32): Likewise.
15343 (vreinterpretq_p16_s64): Likewise.
15344 (vreinterpretq_p16_f32): Likewise.
15345 (vreinterpretq_p16_u8): Likewise.
15346 (vreinterpretq_p16_u16): Likewise.
15347 (vreinterpretq_p16_u32): Likewise.
15348 (vreinterpretq_p16_u64): Likewise.
15349 (vreinterpretq_p16_p8): Likewise.
15350 (vreinterpret_f32_s8): Likewise.
15351 (vreinterpret_f32_s16): Likewise.
15352 (vreinterpret_f32_s32): Likewise.
15353 (vreinterpret_f32_s64): Likewise.
15354 (vreinterpret_f32_u8): Likewise.
15355 (vreinterpret_f32_u16): Likewise.
15356 (vreinterpret_f32_u32): Likewise.
15357 (vreinterpret_f32_u64): Likewise.
15358 (vreinterpret_f32_p8): Likewise.
15359 (vreinterpret_f32_p16): Likewise.
15360 (vreinterpretq_f32_s8): Likewise.
15361 (vreinterpretq_f32_s16): Likewise.
15362 (vreinterpretq_f32_s32): Likewise.
15363 (vreinterpretq_f32_s64): Likewise.
15364 (vreinterpretq_f32_u8): Likewise.
15365 (vreinterpretq_f32_u16): Likewise.
15366 (vreinterpretq_f32_u32): Likewise.
15367 (vreinterpretq_f32_u64): Likewise.
15368 (vreinterpretq_f32_p8): Likewise.
15369 (vreinterpretq_f32_p16): Likewise.
15370 (vreinterpret_s64_s8): Likewise.
15371 (vreinterpret_s64_s16): Likewise.
15372 (vreinterpret_s64_s32): Likewise.
15373 (vreinterpret_s64_f32): Likewise.
15374 (vreinterpret_s64_u8): Likewise.
15375 (vreinterpret_s64_u16): Likewise.
15376 (vreinterpret_s64_u32): Likewise.
15377 (vreinterpret_s64_u64): Likewise.
15378 (vreinterpret_s64_p8): Likewise.
15379 (vreinterpret_s64_p16): Likewise.
15380 (vreinterpretq_s64_s8): Likewise.
15381 (vreinterpretq_s64_s16): Likewise.
15382 (vreinterpretq_s64_s32): Likewise.
15383 (vreinterpretq_s64_f32): Likewise.
15384 (vreinterpretq_s64_u8): Likewise.
15385 (vreinterpretq_s64_u16): Likewise.
15386 (vreinterpretq_s64_u32): Likewise.
15387 (vreinterpretq_s64_u64): Likewise.
15388 (vreinterpretq_s64_p8): Likewise.
15389 (vreinterpretq_s64_p16): Likewise.
15390 (vreinterpret_u64_s8): Likewise.
15391 (vreinterpret_u64_s16): Likewise.
15392 (vreinterpret_u64_s32): Likewise.
15393 (vreinterpret_u64_s64): Likewise.
15394 (vreinterpret_u64_f32): Likewise.
15395 (vreinterpret_u64_u8): Likewise.
15396 (vreinterpret_u64_u16): Likewise.
15397 (vreinterpret_u64_u32): Likewise.
15398 (vreinterpret_u64_p8): Likewise.
15399 (vreinterpret_u64_p16): Likewise.
15400 (vreinterpretq_u64_s8): Likewise.
15401 (vreinterpretq_u64_s16): Likewise.
15402 (vreinterpretq_u64_s32): Likewise.
15403 (vreinterpretq_u64_s64): Likewise.
15404 (vreinterpretq_u64_f32): Likewise.
15405 (vreinterpretq_u64_u8): Likewise.
15406 (vreinterpretq_u64_u16): Likewise.
15407 (vreinterpretq_u64_u32): Likewise.
15408 (vreinterpretq_u64_p8): Likewise.
15409 (vreinterpretq_u64_p16): Likewise.
15410 (vreinterpret_s8_s16): Likewise.
15411 (vreinterpret_s8_s32): Likewise.
15412 (vreinterpret_s8_s64): Likewise.
15413 (vreinterpret_s8_f32): Likewise.
15414 (vreinterpret_s8_u8): Likewise.
15415 (vreinterpret_s8_u16): Likewise.
15416 (vreinterpret_s8_u32): Likewise.
15417 (vreinterpret_s8_u64): Likewise.
15418 (vreinterpret_s8_p8): Likewise.
15419 (vreinterpret_s8_p16): Likewise.
15420 (vreinterpretq_s8_s16): Likewise.
15421 (vreinterpretq_s8_s32): Likewise.
15422 (vreinterpretq_s8_s64): Likewise.
15423 (vreinterpretq_s8_f32): Likewise.
15424 (vreinterpretq_s8_u8): Likewise.
15425 (vreinterpretq_s8_u16): Likewise.
15426 (vreinterpretq_s8_u32): Likewise.
15427 (vreinterpretq_s8_u64): Likewise.
15428 (vreinterpretq_s8_p8): Likewise.
15429 (vreinterpretq_s8_p16): Likewise.
15430 (vreinterpret_s16_s8): Likewise.
15431 (vreinterpret_s16_s32): Likewise.
15432 (vreinterpret_s16_s64): Likewise.
15433 (vreinterpret_s16_f32): Likewise.
15434 (vreinterpret_s16_u8): Likewise.
15435 (vreinterpret_s16_u16): Likewise.
15436 (vreinterpret_s16_u32): Likewise.
15437 (vreinterpret_s16_u64): Likewise.
15438 (vreinterpret_s16_p8): Likewise.
15439 (vreinterpret_s16_p16): Likewise.
15440 (vreinterpretq_s16_s8): Likewise.
15441 (vreinterpretq_s16_s32): Likewise.
15442 (vreinterpretq_s16_s64): Likewise.
15443 (vreinterpretq_s16_f32): Likewise.
15444 (vreinterpretq_s16_u8): Likewise.
15445 (vreinterpretq_s16_u16): Likewise.
15446 (vreinterpretq_s16_u32): Likewise.
15447 (vreinterpretq_s16_u64): Likewise.
15448 (vreinterpretq_s16_p8): Likewise.
15449 (vreinterpretq_s16_p16): Likewise.
15450 (vreinterpret_s32_s8): Likewise.
15451 (vreinterpret_s32_s16): Likewise.
15452 (vreinterpret_s32_s64): Likewise.
15453 (vreinterpret_s32_f32): Likewise.
15454 (vreinterpret_s32_u8): Likewise.
15455 (vreinterpret_s32_u16): Likewise.
15456 (vreinterpret_s32_u32): Likewise.
15457 (vreinterpret_s32_u64): Likewise.
15458 (vreinterpret_s32_p8): Likewise.
15459 (vreinterpret_s32_p16): Likewise.
15460 (vreinterpretq_s32_s8): Likewise.
15461 (vreinterpretq_s32_s16): Likewise.
15462 (vreinterpretq_s32_s64): Likewise.
15463 (vreinterpretq_s32_f32): Likewise.
15464 (vreinterpretq_s32_u8): Likewise.
15465 (vreinterpretq_s32_u16): Likewise.
15466 (vreinterpretq_s32_u32): Likewise.
15467 (vreinterpretq_s32_u64): Likewise.
15468 (vreinterpretq_s32_p8): Likewise.
15469 (vreinterpretq_s32_p16): Likewise.
15470 (vreinterpret_u8_s8): Likewise.
15471 (vreinterpret_u8_s16): Likewise.
15472 (vreinterpret_u8_s32): Likewise.
15473 (vreinterpret_u8_s64): Likewise.
15474 (vreinterpret_u8_f32): Likewise.
15475 (vreinterpret_u8_u16): Likewise.
15476 (vreinterpret_u8_u32): Likewise.
15477 (vreinterpret_u8_u64): Likewise.
15478 (vreinterpret_u8_p8): Likewise.
15479 (vreinterpret_u8_p16): Likewise.
15480 (vreinterpretq_u8_s8): Likewise.
15481 (vreinterpretq_u8_s16): Likewise.
15482 (vreinterpretq_u8_s32): Likewise.
15483 (vreinterpretq_u8_s64): Likewise.
15484 (vreinterpretq_u8_f32): Likewise.
15485 (vreinterpretq_u8_u16): Likewise.
15486 (vreinterpretq_u8_u32): Likewise.
15487 (vreinterpretq_u8_u64): Likewise.
15488 (vreinterpretq_u8_p8): Likewise.
15489 (vreinterpretq_u8_p16): Likewise.
15490 (vreinterpret_u16_s8): Likewise.
15491 (vreinterpret_u16_s16): Likewise.
15492 (vreinterpret_u16_s32): Likewise.
15493 (vreinterpret_u16_s64): Likewise.
15494 (vreinterpret_u16_f32): Likewise.
15495 (vreinterpret_u16_u8): Likewise.
15496 (vreinterpret_u16_u32): Likewise.
15497 (vreinterpret_u16_u64): Likewise.
15498 (vreinterpret_u16_p8): Likewise.
15499 (vreinterpret_u16_p16): Likewise.
15500 (vreinterpretq_u16_s8): Likewise.
15501 (vreinterpretq_u16_s16): Likewise.
15502 (vreinterpretq_u16_s32): Likewise.
15503 (vreinterpretq_u16_s64): Likewise.
15504 (vreinterpretq_u16_f32): Likewise.
15505 (vreinterpretq_u16_u8): Likewise.
15506 (vreinterpretq_u16_u32): Likewise.
15507 (vreinterpretq_u16_u64): Likewise.
15508 (vreinterpretq_u16_p8): Likewise.
15509 (vreinterpretq_u16_p16): Likewise.
15510 (vreinterpret_u32_s8): Likewise.
15511 (vreinterpret_u32_s16): Likewise.
15512 (vreinterpret_u32_s32): Likewise.
15513 (vreinterpret_u32_s64): Likewise.
15514 (vreinterpret_u32_f32): Likewise.
15515 (vreinterpret_u32_u8): Likewise.
15516 (vreinterpret_u32_u16): Likewise.
15517 (vreinterpret_u32_u64): Likewise.
15518 (vreinterpret_u32_p8): Likewise.
15519 (vreinterpret_u32_p16): Likewise.
15520 (vreinterpretq_u32_s8): Likewise.
15521 (vreinterpretq_u32_s16): Likewise.
15522 (vreinterpretq_u32_s32): Likewise.
15523 (vreinterpretq_u32_s64): Likewise.
15524 (vreinterpretq_u32_f32): Likewise.
15525 (vreinterpretq_u32_u8): Likewise.
15526 (vreinterpretq_u32_u16): Likewise.
15527 (vreinterpretq_u32_u64): Likewise.
15528 (vreinterpretq_u32_p8): Likewise.
15529 (vreinterpretq_u32_p16): Likewise.
15530
15531 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
15532
15533 * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
15534 Pattern extended.
15535 * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
15536 (sqabs): Likewise.
15537 * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
15538 (vqnegd_s64): Likewise.
15539 (vqabs_s64): Likewise.
15540 (vqabsd_s64): Likewise.
15541
15542 2014-04-22 Richard Henderson <rth@redhat.com>
15543
15544 * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
15545 computation to the top of the loop.
15546
15547 2014-04-22 Renlin <renlin.li@arm.com>
15548 Jiong Wang <jiong.wang@arm.com>
15549
15550 * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
15551 * config/aarch64/aarch64.c (aarch64_layout_frame)
15552 (aarch64_initial_elimination_offset): Likewise.
15553
15554 2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
15555
15556 * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
15557 Fix indentation.
15558
15559 2014-04-22 Richard Sandiford <rdsandiford@googlemail.com>
15560
15561 * machmode.h (bitwise_mode_for_mode): Declare.
15562 * stor-layout.h (bitwise_type_for_mode): Likewise.
15563 * stor-layout.c (bitwise_mode_for_mode): New function.
15564 (bitwise_type_for_mode): Likewise.
15565 * builtins.c (fold_builtin_memory_op): Use it instead of
15566 int_mode_for_mode and build_nonstandard_integer_type.
15567
15568 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
15569
15570 * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
15571 (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
15572 (*-*-solaris2*): Simplify.
15573 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
15574 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
15575 *-*-solaris2.9* handling.
15576
15577 * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
15578 as bug.
15579 (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
15580 (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
15581 handling, simplify.
15582 (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
15583 * configure: Regenerate.
15584
15585 * config/i386/sol2-9.h: Remove.
15586
15587 * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
15588 (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
15589 Remove Solaris 9 references.
15590
15591 2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
15592
15593 * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
15594 (floatuns<GPI:mode><GPF:mode>2): Remove.
15595 (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
15596 and floatuns conversions.
15597 (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
15598 and floatuns conversions.
15599 * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
15600 (w1,w2): New mode attributes for inequal width conversions.
15601
15602 2014-04-22 Renlin Li <Renlin.Li@arm.com>
15603
15604 * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
15605 the output asm format.
15606
15607 2014-04-22 James Greenhalgh <james.greenhalgh@arm.com>
15608
15609 * config/aarch64/aarch64-simd.md
15610 (aarch64_cm<optab>di): Always split.
15611 (*aarch64_cm<optab>di): New.
15612 (aarch64_cmtstdi): Always split.
15613 (*aarch64_cmtstdi): New.
15614
15615 2014-04-22 Jakub Jelinek <jakub@redhat.com>
15616
15617 PR tree-optimization/60823
15618 * omp-low.c (ipa_simd_modify_function_body): Go through
15619 all SSA_NAMEs and for those refering to vector arguments
15620 which are going to be replaced adjust SSA_NAME_VAR and,
15621 if it is a default definition, change it into a non-default
15622 definition assigned at the beginning of function from new_decl.
15623 (ipa_simd_modify_stmt_ops): Rewritten.
15624 * tree-dfa.c (set_ssa_default_def): When removing default def,
15625 check for NULL loc instead of NULL *loc.
15626
15627 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
15628
15629 * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
15630 restrictions on core registers for DImode values in Thumb2.
15631
15632 2014-04-22 Ian Bolton <ian.bolton@arm.com>
15633
15634 * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
15635 * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
15636
15637 2014-04-22 Ian Bolton <ian.bolton@arm.com>
15638
15639 * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
15640 (*iordi_notzesidi_di): Likewise.
15641 (*iordi_notsesidi_di): Likewise.
15642
15643 2014-04-22 Ian Bolton <ian.bolton@arm.com>
15644
15645 * config/arm/arm-protos.h (tune_params): New struct members.
15646 * config/arm/arm.c: Initialise tune_params per processor.
15647 (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
15648 for speed, based on new tune_params.
15649
15650 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
15651
15652 * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
15653 * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
15654 * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
15655 * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
15656 * config/aarch64/arm_neon.h (vrnd_f64): Added.
15657 (vrnda_f64): Likewise.
15658 (vrndi_f64): Likewise.
15659 (vrndm_f64): Likewise.
15660 (vrndn_f64): Likewise.
15661 (vrndp_f64): Likewise.
15662 (vrndx_f64): Likewise.
15663
15664 2014-04-22 Zhenqiang Chen <zhenqiang.chen@linaro.org>
15665
15666 * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
15667 GET_MODE_SIZE argument is enum machine_mode.
15668
15669 2014-04-22 Jakub Jelinek <jakub@redhat.com>
15670
15671 PR target/60910
15672 * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
15673 value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
15674
15675 2014-04-22 Lin Zuojian <manjian2006@gmail.com>
15676
15677 PR middle-end/60281
15678 * asan.c (asan_emit_stack_protection): Force the base to align to
15679 appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to
15680 appropriate bits if STRICT_ALIGNMENT.
15681 * cfgexpand.c (expand_stack_vars): Set base_align appropriately
15682 when asan is on.
15683 (expand_used_vars): Leave a space in the stack frame for alignment
15684 if STRICT_ALIGNMENT.
15685
15686 2014-04-21 David Malcolm <dmalcolm@redhat.com>
15687
15688 * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
15689 than a gimple.
15690 (gimple_store_p): Likewise.
15691 (gimple_assign_load_p): Likewise.
15692 (gimple_assign_cast_p): Likewise.
15693 (gimple_clobber_p): Likewise.
15694
15695 * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
15696 rather than a gimple.
15697 (gimple_assign_cast_p): Likewise.
15698
15699 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com>
15700
15701 PR target/60735
15702 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
15703 If mode is DDmode and TARGET_E500_DOUBLE allow move.
15704
15705 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
15706 more debug information for E500 if -mdebug=reg.
15707
15708 2014-04-21 Uros Bizjak <ubizjak@gmail.com>
15709
15710 PR target/60909
15711 * config/i386/i386.c (ix86_expand_builtin)
15712 <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
15713 register for target RTX.
15714 <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
15715
15716 2014-04-18 Cong Hou <congh@google.com>
15717
15718 * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
15719 the widen-mult pattern by handling two operands with different sizes,
15720 and operands whose size is smaller than half of the result type.
15721
15722 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
15723
15724 * ipa-inline.h (INLINE_HINT_known_hot): New hint.
15725 * ipa-inline-analysis.c (dump_inline_hints): Dump it.
15726 (do_estimate_edge_time): Compute it.
15727 * ipa-inline.c (want_inline_small_function_p): Bypass
15728 INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
15729
15730 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
15731
15732 * ipa-inline.c (spec_rem): New static variable.
15733 (dump_overall_stats): New function.
15734 (dump_inline_stats): New function.
15735
15736 2014-04-18 Richard Henderson <rth@redhat.com>
15737
15738 * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
15739 to GET_MODE_SIZE, not a reg_class_t.
15740
15741 2014-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
15742
15743 * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
15744 (vsx_xxmrglw_<mode>): Likewise.
15745
15746 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com>
15747
15748 PR target/60876
15749 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
15750 GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
15751 (rs6000_init_hard_regno_mode_ok): Likewise.
15752
15753 2014-04-17 Jan Hubicka <hubicka@ucw.cz>
15754
15755 * ipa-inline.c (inline_small_functions): Account only non-cold
15756 functions.
15757 * doc/invoke.texi (inline-unit-growth): Update documentation.
15758
15759 2014-04-17 Pat Haugen <pthaugen@us.ibm.com>
15760
15761 * config/rs6000/rs6000.md (addti3, subti3): New.
15762
15763 2014-04-17 H.J. Lu <hongjiu.lu@intel.com>
15764
15765 PR target/60863
15766 * config/i386/i386.c (ix86_expand_clear): Remove outdated
15767 comment. Check optimize_insn_for_size_p instead of
15768 optimize_insn_for_speed_p.
15769
15770 2014-04-17 Martin Jambor <mjambor@suse.cz>
15771
15772 * gimple-iterator.c (gsi_start_edge): New function.
15773 * gimple-iterator.h (gsi_start_edge): Declare.
15774 * tree-sra.c (single_non_eh_succ): New function.
15775 (disqualify_ops_if_throwing_stmt): Renamed to
15776 disqualify_if_bad_bb_terminating_stmt. Allow throwing statements
15777 having one non-EH successor BB.
15778 (sra_modify_expr): If stmt ends bb, use single non-EH successor to
15779 generate loads into replacements.
15780 (sra_modify_assign): Likewise and and also use the simple path for
15781 such statements.
15782 (sra_modify_function_body): Commit statements on edges.
15783
15784 2014-04-17 Richard Biener <rguenther@suse.de>
15785
15786 PR middle-end/60849
15787 * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
15788 comparison results and add clarifying comment.
15789
15790 2014-04-17 Jakub Jelinek <jakub@redhat.com>
15791
15792 * genmodes.c (struct mode_data): Add need_bytesize_adj field.
15793 (blank_mode): Initialize it.
15794 (emit_mode_size_inline, emit_mode_nunits_inline,
15795 emit_mode_inner_inline): New functions.
15796 (emit_insn_modes_h): Call them and surround their output with
15797 #if GCC_VERSION >= 4001 ... #endif.
15798 * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
15799 For GCC_VERSION >= 4001 use mode_*_inline routines instead of
15800 mode_* arrays if the argument is __builtin_constant_p.
15801 * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
15802 is enum machine_mode.
15803
15804 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15805
15806 * passes.c (opt_pass::execute): Adjust.
15807 (pass_manager::execute_pass_mode_switching): Likewise.
15808 (early_local_passes::execute): Likewise.
15809 (execute_one_pass): Pass cfun to the pass's execute method.
15810 * tree-pass.h (opt_pass::execute): Add function * argument.
15811 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
15812 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
15813 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
15814 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
15815 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
15816 config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
15817 except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
15818 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
15819 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
15820 ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
15821 ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
15822 lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
15823 postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
15824 reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
15825 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
15826 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
15827 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
15828 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
15829 tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
15830 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
15831 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
15832 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
15833 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
15834 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
15835 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
15836 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
15837 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
15838 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
15839 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
15840 Adjust.
15841
15842 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15843
15844 * passes.c (opt_pass::gate): Take function * argument.
15845 (gate_all_early_local_passes): Merge into
15846 (early_local_passes::gate): this.
15847 (gate_all_early_optimizations): Merge into
15848 (all_early_optimizations::gate): this.
15849 (gate_all_optimizations): Mege into
15850 (all_optimizations::gate): this.
15851 (gate_all_optimizations_g): Merge into
15852 (all_optimizations_g::gate): this.
15853 (gate_rest_of_compilation): Mege into
15854 (rest_of_compilation::gate): this.
15855 (gate_postreload): Merge into
15856 (postreload::gate): this.
15857 (dump_one_pass): Pass cfun to the pass's gate method.
15858 (execute_ipa_summary_passes): Likewise.
15859 (execute_one_pass): Likewise.
15860 (ipa_write_summaries_2): Likewise.
15861 (ipa_write_optimization_summaries_1): Likewise.
15862 (ipa_read_summaries_1): Likewise.
15863 (ipa_read_optimization_summaries_1): Likewise.
15864 (execute_ipa_stmt_fixups): Likewise.
15865 * tree-pass.h (opt_pass::gate): Add function * argument.
15866 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
15867 combine-stack-adj.c, combine.c, compare-elim.c,
15868 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
15869 config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
15870 config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
15871 dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c,
15872 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
15873 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
15874 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
15875 loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
15876 omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
15877 reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
15878 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
15879 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
15880 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
15881 tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
15882 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
15883 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
15884 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
15885 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
15886 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
15887 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
15888 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
15889 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
15890 tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
15891 tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
15892 var-tracking.c, vtable-verify.c, web.c: Adjust.
15893
15894 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15895
15896 * configure.ac: Check for -Woverloaded-virtual and enable it if found.
15897 * configure: Regenerate.
15898
15899 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15900
15901 * passes.c (dump_one_pass): don't check pass->has_gate.
15902 (execute_ipa_summary_passes): Likewise.
15903 (execute_one_pass): Likewise.
15904 (ipa_write_summaries_2): Likewise.
15905 (ipa_write_optimization_summaries_1): Likewise.
15906 (ipa_read_optimization_summaries_1): Likewise.
15907 (execute_ipa_stmt_fixups): Likewise.
15908 * tree-pass.h (pass_data::has_gate): Remove.
15909 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
15910 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
15911 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
15912 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
15913 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
15914 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
15915 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
15916 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
15917 gimple-low.c, gimple-ssa-isolate-paths.c,
15918 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
15919 ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
15920 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
15921 ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
15922 modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
15923 recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
15924 reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
15925 trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
15926 tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
15927 tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
15928 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
15929 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
15930 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
15931 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
15932 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
15933 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
15934 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
15935 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
15936 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
15937 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
15938 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
15939 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
15940 Adjust.
15941
15942 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15943
15944 * pass_manager.h (pass_manager::register_dump_files_1): Remove
15945 declaration.
15946 * passes.c (pass_manager::register_dump_files_1): Merge into
15947 (pass_manager::register_dump_files): this, and remove its handling of
15948 properties since the pass always has the properties anyway.
15949 (pass_manager::pass_manager): Adjust.
15950
15951 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
15952
15953 * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
15954 * passes.c (pass_manager::register_dump_files_1): Remove dead code
15955 dealing with properties.
15956 (pass_manager::register_dump_files): Adjust.
15957
15958 2014-03-20 Mark Wielaard <mjw@redhat.com>
15959
15960 * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
15961 then represent the bound as normal constant value.
15962
15963 2014-04-17 Jakub Jelinek <jakub@redhat.com>
15964
15965 PR target/60847
15966 Forward port from 4.8 branch
15967 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com>
15968
15969 * config/i386/bmiintrin.h (_blsi_u32): New.
15970 (_blsi_u64): Ditto.
15971 (_blsr_u32): Ditto.
15972 (_blsr_u64): Ditto.
15973 (_blsmsk_u32): Ditto.
15974 (_blsmsk_u64): Ditto.
15975 (_tzcnt_u32): Ditto.
15976 (_tzcnt_u64): Ditto.
15977
15978 2014-04-17 Kito Cheng <kito@0xlab.org>
15979
15980 * gcc.c (used_arg): Prevent out of bound access for multilib_options.
15981
15982 2014-04-17 Richard Biener <rguenther@suse.de>
15983
15984 PR middle-end/60849
15985 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
15986 boolean results for comparisons.
15987
15988 2014-04-17 Richard Biener <rguenther@suse.de>
15989
15990 PR tree-optimization/60836
15991 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
15992 initial PHI args to be gimple values.
15993
15994 2014-04-17 Richard Biener <rguenther@suse.de>
15995
15996 PR tree-optimization/60841
15997 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
15998 * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
15999 of stmts to SLP build.
16000 * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
16001 (vect_analyze_slp): Likewise.
16002 (vect_analyze_slp_instance): Likewise.
16003 (vect_build_slp_tree): Limit overall SLP tree growth.
16004 * tree-vectorizer.h (vect_analyze_data_refs,
16005 vect_analyze_slp): Adjust prototypes.
16006
16007 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
16008
16009 * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
16010 Silvermont.
16011
16012 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
16013
16014 * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
16015 * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
16016 * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
16017 for TARGET_SLOW_PSHUFB
16018
16019 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
16020
16021 * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
16022 * config/i386/i386.c (intel_cost): Ditto.
16023
16024 2014-04-17 Joey Ye <joey.ye@arm.com>
16025
16026 * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
16027
16028 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
16029
16030 * opts.c (common_handle_option): Disable -fipa-reference coorectly
16031 with -fuse-profile.
16032
16033 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
16034
16035 * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
16036 (type_all_derivations_known_p): New predicate.
16037 (type_all_ctors_visible_p): New predicate.
16038 (type_possibly_instantiated_p): New predicate.
16039 (get_odr_type): Compute all_derivations_known.
16040 (dump_odr_type): Dump the flag.
16041 (maybe_record_type): Cleanup.
16042 (record_target_from_binfo): Add bases_to_consider array;
16043 record bases for types w/o instances and skip CXX destructor.
16044 (possible_polymorphic_call_targets_1): Add bases_to_consider
16045 and consider_construction parameters; check if type may have instance.
16046 (get_polymorphic_call_info): Set maybe_in_construction to true
16047 when we know nothing.
16048 (record_targets_from_bases): Skip CXX destructors; they are
16049 never called for types in construction.
16050 (possible_polymorphic_call_targets): Do not record target when
16051 type may not have instance.
16052
16053 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
16054
16055 PR ipa/60854
16056 * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
16057 external aliases alive, too.
16058
16059 2014-04-16 Andrew Pinski <apinski@cavium.com>
16060
16061 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
16062 definition.
16063
16064 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
16065
16066 * final.c (compute_alignments): Do not apply loop alignment to a block
16067 falling through to the exit.
16068
16069 2014-04-16 Catherine Moore <clm@codesourcery.com>
16070
16071 * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
16072 Adjust constraints for microMIPS store patterns.
16073
16074 2014-04-16 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
16075
16076 * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
16077
16078 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
16079
16080 * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
16081 (append_use): Run at -O0.
16082 (append_vdef): Likewise.
16083 * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
16084 * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
16085
16086 2014-04-16 Jakub Jelinek <jakub@redhat.com>
16087
16088 PR tree-optimization/60844
16089 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
16090 (propagate_op_to_single_use, remove_visited_stmt_chain,
16091 linearize_expr, repropagate_negates, reassociate_bb): Use it
16092 instead of gsi_remove.
16093
16094 2014-04-16 Martin Jambor <mjambor@suse.cz>
16095
16096 * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
16097 ipa_transforms_to_apply.
16098 (cgraph_function_versioning): Assert that old_node has empty
16099 ipa_transforms_to_apply.
16100 * trans-mem.c (ipa_tm_create_version): Likewise.
16101 * tree-inline.c (tree_function_versioning): Do not duplicate
16102 ipa_transforms_to_apply.
16103
16104 2014-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
16105
16106 PR target/60817
16107 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
16108 x86_64-*-* cases.
16109 Pass necessary as flags on 64-bit Solaris/x86.
16110 Use lowercase relocs for x86_64-*-*.
16111 * configure: Regenerate.
16112
16113 2014-04-15 Jan Hubicka <jh@suse.cz>
16114
16115 * ipa-devirt.c (referenced_from_vtable_p): New predicate.
16116 (maybe_record_node, likely_target_p): Use it.
16117
16118 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16119
16120 PR target/60839
16121 Revert following patch
16122
16123 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
16124
16125 PR target/60735
16126 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
16127 software floating point or no floating point registers, do not
16128 allow any type in the FPRs. Eliminate a test for SPE SIMD types
16129 in GPRs that occurs after we tested for GPRs that would never be
16130 true.
16131
16132 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
16133 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
16134 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
16135 specifically allow DDmode, since that does not use the SPE SIMD
16136 instructions.
16137
16138 2014-03-21 Mark Wielaard <mjw@redhat.com>
16139
16140 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
16141 as unsigned or int depending on type and value used.
16142
16143 2014-04-15 Richard Biener <rguenther@suse.de>
16144
16145 PR rtl-optimization/56965
16146 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
16147 * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
16148 ... here.
16149 * alias.c (true_dependence_1): Do not call
16150 nonoverlapping_component_refs_p.
16151 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
16152 nonoverlapping_component_refs_p.
16153 (indirect_refs_may_alias_p): Likewise.
16154
16155 2014-04-15 Teresa Johnson <tejohnson@google.com>
16156
16157 * cfg.c (dump_bb_info): Fix flags check.
16158 * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
16159
16160 2014-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16161
16162 PR rtl-optimization/60663
16163 * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
16164 avoid 0 cost.
16165
16166 2014-04-15 Richard Biener <rguenther@suse.de>
16167
16168 * lto-streamer.h (LTO_major_version): Bump to 4.
16169
16170 2014-04-15 Richard Biener <rguenther@suse.de>
16171
16172 * common.opt (lto_partition_model): New enum.
16173 (flto-partition=): Merge separate options with a single with argument,
16174 add -flto-partition=one support.
16175 * flag-types.h (enum lto_partition_model): Declare.
16176 * opts.c (finish_options): Remove duplicate -flto-partition=
16177 option check.
16178 * lto-wrapper.c (run_gcc): Adjust.
16179
16180 2014-04-15 Richard Biener <rguenther@suse.de>
16181
16182 * alias.c (ncr_compar): New function.
16183 (nonoverlapping_component_refs_p): Re-implement in O (n log n).
16184
16185 2014-04-15 Richard Biener <rguenther@suse.de>
16186
16187 * alias.c (record_component_aliases): Do not walk BINFOs.
16188
16189 2014-04-15 Richard Biener <rguenther@suse.de>
16190
16191 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
16192 Add struct function argument and adjust.
16193 (find_func_aliases_for_call): Likewise.
16194 (find_func_aliases): Likewise.
16195 (find_func_clobbers): Likewise.
16196 (intra_create_variable_infos): Likewise.
16197 (compute_points_to_sets): Likewise.
16198 (ipa_pta_execute): Adjust. Do not push/pop cfun.
16199
16200 2014-04-15 Richard Biener <rguenther@suse.de>
16201
16202 * tree.c (iterative_hash_expr): Use enum tree_code_class
16203 to store TREE_CODE_CLASS.
16204 (tree_block): Likewise.
16205 (tree_set_block): Likewise.
16206 * tree.h (fold_build_pointer_plus_loc): Use
16207 convert_to_ptrofftype_loc.
16208
16209 2014-04-15 Jakub Jelinek <jakub@redhat.com>
16210
16211 PR plugins/59335
16212 * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
16213 added in 4.9.
16214
16215 2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
16216
16217 * cfgloop.h (struct loop): Move force_vectorize down.
16218 * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
16219 (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
16220 * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
16221 * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
16222 * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
16223 * tree-core.h (enum annot_expr_kind): Add new kind values.
16224 * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
16225 * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
16226 kinds.
16227 * tree.def (ANNOTATE_EXPR): Tweak comment.
16228
16229 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
16230
16231 * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
16232 cxa_pure_virtual).
16233
16234 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
16235
16236 * tree.h (TYPE_IDENTIFIER): Declare.
16237 * tree.c (subrange_type_for_debug_p): Use it.
16238 * godump.c (go_format_type): Likewise.
16239 * dwarf2out.c (is_cxx_auto, modified_type_die,
16240 gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
16241 * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
16242
16243 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
16244
16245 PR lto/60820
16246 * varpool.c (varpool_remove_node): Do not alter decls when streaming.
16247
16248 2014-04-14 Uros Bizjak <ubizjak@gmail.com>
16249
16250 * config/i386/i386.c (examine_argument): Return bool. Return true if
16251 parameter should be passed in memory.
16252 <case X86_64_COMPLEX_X87_CLASS>: Adjust.
16253 (construct_container): Update calls to examine_argument.
16254 (function_arg_advance_64): Ditto.
16255 (return_in_memory_32): Merge with ix86_return_in_memory.
16256 (return_in_memory_64): Ditto.
16257 (return_in_memory_ms_64): Ditto.
16258
16259 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
16260
16261 * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
16262 * coverage.c (coverage_compute_profile_id): Handle externally visible
16263 symbols.
16264
16265 2014-04-14 Martin Jambor <mjambor@suse.cz>
16266
16267 * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
16268 DECL_DISREGARD_INLINE_LIMITS functions.
16269
16270 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
16271
16272 PR target/60827
16273 * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
16274
16275 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 PR target/60827
16278 * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
16279 optimize_insn_for_speed_p instead of
16280 optimize_function_for_speed_p.
16281
16282 2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com>
16283
16284 * doc/invoke.texi (free): Document AArch64.
16285
16286 2014-04-14 Richard Biener <rguenther@suse.de>
16287
16288 PR tree-optimization/60042
16289 * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
16290 (insert_into_preds_of_block): Do not prevent PHI insertion
16291 for REFERENCE exprs here ...
16292 (eliminate_dom_walker::before_dom_children): ... but prevent
16293 their use here under similar conditions when applied to the
16294 IL after PRE optimizations.
16295
16296 2014-04-14 Richard Biener <rguenther@suse.de>
16297
16298 * passes.def: Move early points-to after early SRA.
16299
16300 2014-04-14 Richard Biener <rguenther@suse.de>
16301
16302 * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
16303 check for which sign-changes we allow when forwarding
16304 a converted value into a switch.
16305
16306 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
16307
16308 * stor-layout.c (place_field): Finalize non-constant offset for the
16309 field, if any.
16310
16311 2014-04-14 Richard Biener <rguenther@suse.de>
16312
16313 * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
16314 as argument.
16315 (expand_switch_using_bit_tests_p): Likewise.
16316 (process_switch): Compute and pass on speed_p based on the
16317 switch stmt.
16318 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
16319 optimize_bb_for_speed_p.
16320
16321 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
16322
16323 * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
16324 * function.h (struct function): Rename has_force_vect_loops into
16325 has_force_vectorize_loops.
16326 * lto-streamer-in.c (input_cfg): Adjust for renaming.
16327 (input_struct_function_base): Likewise.
16328 * lto-streamer-out.c (output_cfg): Likewise.
16329 (output_struct_function_base): Likewise.
16330 * omp-low.c (expand_omp_simd): Likewise.
16331 * tree-cfg.c (move_sese_region_to_fn): Likewise.
16332 * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
16333 (version_loop_for_if_conversion): Likewise.
16334 (tree_if_conversion): Likewise.
16335 (main_tree_if_conversion): Likewise.
16336 (gate_tree_if_conversion): Likewise.
16337 * tree-inline.c (copy_loops): Likewise.
16338 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
16339 * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
16340 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
16341 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
16342 * tree-vectorizer.c (vectorize_loops): Likewise.
16343 * tree-vectorizer.h (unlimited_cost_model): Likewise.
16344
16345 2014-04-14 Richard Biener <rguenther@suse.de>
16346
16347 PR lto/60720
16348 * lto-streamer-out.c (wrap_refs): New function.
16349 (lto_output): Wrap symbol references in global initializes in
16350 type-preserving MEM_REFs.
16351
16352 2014-04-14 Christian Bruel <christian.bruel@st.com>
16353
16354 * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
16355
16356 2014-04-14 Christian Bruel <christian.bruel@st.com>
16357
16358 * config/sh/sh.md (setmemqi): New expand pattern.
16359 * config/sh/sh.h (CLEAR_RATIO): Define.
16360 * config/sh/sh-mem.cc (sh_expand_setmem): Define.
16361 * config/sh/sh-protos.h (sh_expand_setmem): Declare.
16362
16363 2014-04-14 Richard Biener <rguenther@suse.de>
16364
16365 PR middle-end/55022
16366 * fold-const.c (negate_expr_p): Don't negate directional rounding
16367 division.
16368 (fold_negate_expr): Likewise.
16369
16370 2014-04-14 Richard Biener <rguenther@suse.de>
16371
16372 PR tree-optimization/59817
16373 PR tree-optimization/60453
16374 * graphite-scop-detection.c (graphite_can_represent_scev): Complete
16375 recursion to catch all CHRECs in the scalar evolution and restrict
16376 the predicate for the remains appropriately.
16377
16378 2014-04-12 Catherine Moore <clm@codesourcery.com>
16379
16380 * config/mips/constraints.md: Add new register constraint "kb".
16381 * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
16382 (*movhi_internal): Likewise.
16383 (*movqi_internal): Likewise.
16384 * config/mips/mips.h (M16_STORE_REGS): New register class.
16385 (REG_CLASS_NAMES): Add M16_STORE_REGS.
16386 (REG_CLASS_CONTENTS): Likewise.
16387 * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
16388
16389 2014-04-11 Tobias Burnus <burnus@net-b.de>
16390
16391 PR c/60194
16392 * doc/invoke.texi (-Wformat-signedness): Document it.
16393 (Wformat=2): Mention that this enables -Wformat-signedness.
16394
16395 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
16396
16397 * common/config/epiphany/epiphany-common.c
16398 (epiphany_option_optimization_table): Enable section anchors by
16399 default at -O1 or higher.
16400 * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
16401 (TARGET_MIN_ANCHOR_OFFSET): Likewise.
16402 (epiphany_rtx_costs) <SET>: For binary operators, the set as such
16403 carries no extra cost.
16404 (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
16405 * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
16406 * config/epiphany/predicates.md (memclob_operand): New predicate.
16407 * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
16408 Use memclob_operand predicate and X constraint for operand 3.
16409
16410 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
16411
16412 * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
16413 with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
16414 its operands.
16415
16416 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
16417
16418 PR rtl-optimization/60651
16419 * mode-switching.c (optimize_mode_switching): Make sure to emit
16420 sets of a lower numbered entity before sets of a higher numbered
16421 entity to a mode of the same or lower priority.
16422 When creating a seginfo for a basic block that starts with a code
16423 label, move the insertion point past the code label.
16424 (new_seginfo): Document and enforce requirement that
16425 NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
16426 * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
16427 * doc/tm.texi: Regenerate.
16428
16429 2014-01-11 Joern Rennecke <joern.rennecke@embecosm.com>
16430
16431 PR target/60811
16432 * config/arc/arc.c (arc_save_restore): Fix assert typo.
16433
16434 2013-04-11 Jakub Jelinek <jakub@redhat.com>
16435
16436 * BASE-VER: Set to 4.10.0.
16437
16438 2014-04-11 Tobias Burnus <burnus@net-b.de>
16439
16440 PR other/59055
16441 * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
16442 * doc/gcc.texi (Service): Update description in the @menu
16443 * doc/invoke.texi (Option Summary): Remove misplaced and
16444 duplicated @menu.
16445
16446 2014-04-11 Steve Ellcey <sellcey@mips.com>
16447 Jakub Jelinek <jakub@redhat.com>
16448
16449 PR middle-end/60556
16450 * expr.c (convert_move): Use emit_store_flag_force instead of
16451 emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th
16452 argument to it.
16453
16454 2014-04-11 Richard Biener <rguenther@suse.de>
16455
16456 PR middle-end/60797
16457 * varasm.c (assemble_alias): Avoid endless error reporting
16458 recursion by setting TREE_ASM_WRITTEN.
16459
16460 2014-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16461
16462 * config/s390/s390.md: Add a splitter for NOT rtx.
16463
16464 2014-04-11 Jakub Jelinek <jakub@redhat.com>
16465
16466 PR rtl-optimization/60663
16467 * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
16468
16469 2014-04-10 Jan Hubicka <hubicka@ucw.cz>
16470 Jakub Jelinek <jakub@redhat.com>
16471
16472 PR lto/60567
16473 * ipa.c (function_and_variable_visibility): Copy forced_by_abi
16474 flag from decl_node to node.
16475
16476 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
16477
16478 PR debug/60655
16479 * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
16480 (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
16481 ameliorating the cases where it can be.
16482
16483 2014-04-09 David Edelsohn <dje.gcc@gmail.com>
16484
16485 Revert
16486 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
16487
16488 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
16489 (loadsync_<mode>): Change mode.
16490 (load_quadpti, store_quadpti): New.
16491 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
16492 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
16493 * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
16494
16495 2014-04-09 Cong Hou <congh@google.com>
16496
16497 PR testsuite/60773
16498 * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
16499 documentation.
16500
16501 2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16502
16503 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
16504 instead of vnor to exploit possible fusion opportunity in the
16505 future.
16506 (altivec_expand_vec_perm_const_le): Likewise.
16507
16508 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
16509
16510 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
16511 (loadsync_<mode>): Change mode.
16512 (load_quadpti, store_quadpti): New.
16513 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
16514 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
16515
16516 2014-04-08 Richard Sandiford <rdsandiford@googlemail.com>
16517
16518 PR target/60763
16519 * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
16520 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
16521 Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
16522
16523 2014-04-08 Richard Biener <rguenther@suse.de>
16524
16525 PR middle-end/60706
16526 * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
16527 a 64bit widest int print double-int similar to on HWI64 hosts.
16528
16529 2014-04-08 Richard Biener <rguenther@suse.de>
16530
16531 PR tree-optimization/60785
16532 * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
16533 default defs properly.
16534
16535 2014-04-08 Nathan Sidwell <nathan@codesourcery.com>
16536
16537 * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
16538 (Weffc++): Likewise.
16539
16540 2014-04-07 Jan Hubicka <hubcika@ucw.cz>
16541
16542 * ipa-devirt.c (maybe_record_node): When node is not recorded,
16543 set completep to false rather than true.
16544
16545 2014-04-07 Douglas B Rupp <rupp@adacore.com>
16546
16547 PR target/60504
16548 * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
16549 ARM_TARGET2_DWARF_FORMAT.
16550
16551 2014-04-07 Charles Baylis <charles.baylis@linaro.org>
16552
16553 PR target/60609
16554 * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
16555 (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
16556 ADDR_DIFF_VEC.
16557
16558 2014-04-07 Richard Biener <rguenther@suse.de>
16559
16560 PR tree-optimization/60766
16561 * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
16562 (may_eliminate_iv): Convert cand_value_at result to desired type.
16563
16564 2014-04-07 Jason Merrill <jason@redhat.com>
16565
16566 PR c++/60731
16567 * common.opt (-fno-gnu-unique): Add.
16568 * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
16569
16570 2014-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16571
16572 * haifa-sched.c: Fix outdated function reference and minor
16573 grammar errors in introductory comment.
16574
16575 2014-04-07 Richard Biener <rguenther@suse.de>
16576
16577 PR middle-end/60750
16578 * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
16579 for noreturn calls.
16580 * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
16581
16582 2014-04-06 John David Anglin <danglin@gcc.gnu.org>
16583
16584 PR debug/55794
16585 * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
16586 size accounting for thunks.
16587 (pa_asm_output_mi_thunk): Use final_start_function() and
16588 final_end_function() to output function start and end directives.
16589
16590 2014-04-05 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
16591
16592 * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
16593 device specific ISA/ feature information. Remove short_sp and
16594 errata_skip ds. Add avr_device_specific_features enum to have device
16595 specific info.
16596 * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
16597 errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
16598 * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
16599 updated device specific info.
16600 * config/avr/avr-mcus.def: Merge device specific details to
16601 dev_attribute field.
16602 * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
16603 errata_skip.
16604 * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
16605 * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
16606 assembler if RMW isa supported by current device.
16607 * config/avr/genmultilib.awk: Update as device info structure changed.
16608 * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
16609
16610 2014-04-04 Cong Hou <congh@google.com>
16611
16612 PR tree-optimization/60656
16613 * tree-vect-stmts.c (supportable_widening_operation):
16614 Fix a bug that elements in a vector with vect_used_by_reduction
16615 property are incorrectly reordered when the operation on it is not
16616 consistant with the one in reduction operation.
16617
16618 2014-04-04 John David Anglin <danglin@gcc.gnu.org>
16619
16620 PR rtl-optimization/60155
16621 * gcse.c (record_set_data): New function.
16622 (single_set_gcse): New function.
16623 (gcse_emit_move_after): Use single_set_gcse instead of single_set.
16624 (hoist_code): Likewise.
16625 (get_pressure_class_and_nregs): Likewise.
16626
16627 2014-04-04 Eric Botcazou <ebotcazou@adacore.com>
16628
16629 * explow.c (probe_stack_range): Emit a final optimization blockage.
16630
16631 2014-04-04 Anthony Green <green@moxielogic.com>
16632
16633 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
16634 typos.
16635
16636 2014-04-04 Jan Hubicka <hubicka@ucw.cz>
16637
16638 PR ipa/59626
16639 * lto-cgraph.c (input_overwrite_node): Check that partitioning
16640 flags are set only during streaming.
16641 * ipa.c (process_references, walk_polymorphic_call_targets,
16642 symtab_remove_unreachable_nodes): Drop bodies of always inline
16643 after early inlining.
16644 (symtab_remove_unreachable_nodes): Remove always_inline attribute.
16645
16646 2014-04-04 Jakub Jelinek <jakub@redhat.com>
16647 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
16648
16649 PR debug/60655
16650 * dwarf2out.c (const_ok_for_output_1): Reject expressions
16651 containing a NOT.
16652
16653 2014-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16654
16655 PR bootstrap/60743
16656 * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
16657 duration.
16658 (cortex_a53_fdivd): Likewise.
16659
16660 2014-04-04 Martin Jambor <mjambor@suse.cz>
16661
16662 PR ipa/60640
16663 * cgraph.h (cgraph_clone_node): New parameter added to declaration.
16664 Adjust all callers.
16665 * cgraph.c (clone_of_p): Also return true if thunks match.
16666 (verify_edge_corresponds_to_fndecl): Removed extraneous call to
16667 cgraph_function_or_thunk_node and an obsolete comment.
16668 * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
16669 file.
16670 (build_function_decl_skip_args): Likewise.
16671 (set_new_clone_decl_and_node_flags): New function.
16672 (duplicate_thunk_for_node): Likewise.
16673 (redirect_edge_duplicating_thunks): Likewise.
16674 (cgraph_clone_node): New parameter args_to_skip, pass it to
16675 redirect_edge_duplicating_thunks which is called instead of
16676 cgraph_redirect_edge_callee.
16677 (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
16678 moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
16679
16680 2014-04-04 Jeff Law <law@redhat.com>
16681
16682 PR target/60657
16683 * config/arm/predicates.md (const_int_I_operand): New predicate.
16684 (const_int_M_operand): Similarly.
16685 * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
16686 const_int_operand.
16687 (insv_t2, extv_reg, extzv_t2): Likewise.
16688 (load_multiple_with_writeback): Similarly for const_int_I_operand.
16689 (pop_multiple_with_writeback_and_return): Likewise.
16690 (vfp_pop_multiple_with_writeback): Likewise
16691
16692 2014-04-04 Richard Biener <rguenther@suse.de>
16693
16694 PR ipa/60746
16695 * tree-ssanames.c (make_ssa_name_fn): Fix assert.
16696 * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
16697 non-GIMPLE_LABELs.
16698 * gimplify.h (gimple_add_tmp_var_fn): Declare.
16699 * gimplify.c (gimple_add_tmp_var_fn): New function.
16700 * gimple-expr.h (create_tmp_reg_fn): Declare.
16701 * gimple-expr.c (create_tmp_reg_fn): New function.
16702 * gimple-low.c (record_vars_into): Don't change cfun.
16703 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
16704 code generation without cfun.
16705
16706 2014-04-04 Thomas Schwinge <thomas@codesourcery.com>
16707
16708 PR bootstrap/60719
16709 * Makefile.in (install-driver): Fix shell scripting.
16710
16711 2014-04-03 Cong Hou <congh@google.com>
16712
16713 PR tree-optimization/60505
16714 * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
16715 threshold of number of iterations below which no vectorization
16716 will be done.
16717 * tree-vect-loop.c (new_loop_vec_info):
16718 Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
16719 * tree-vect-loop.c (vect_analyze_loop_operations):
16720 Set LOOP_VINFO_COST_MODEL_THRESHOLD.
16721 * tree-vect-loop.c (vect_transform_loop):
16722 Use LOOP_VINFO_COST_MODEL_THRESHOLD.
16723 * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
16724 of iterations of the loop and see if we should build the epilogue.
16725
16726 2014-04-03 Richard Biener <rguenther@suse.de>
16727
16728 * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
16729 (streamer_tree_cache_create): Adjust.
16730 * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
16731 to allow optional nodes array.
16732 (streamer_tree_cache_insert_1): Use next_idx to assign idx.
16733 (streamer_tree_cache_append): Likewise.
16734 (streamer_tree_cache_create): Create nodes array optionally
16735 as specified by parameter.
16736 * lto-streamer-out.c (create_output_block): Avoid maintaining
16737 the node array in the writer cache.
16738 (DFS_write_tree): Remove assertion.
16739 (produce_asm_for_decls): Free the out decl state hash table early.
16740 * lto-streamer-in.c (lto_data_in_create): Adjust for
16741 streamer_tree_cache_create prototype change.
16742
16743 2014-04-03 Richard Biener <rguenther@suse.de>
16744
16745 * tree-streamer-out.c (streamer_write_chain): Do not temporarily
16746 set TREE_CHAIN to NULL_TREE.
16747
16748 2014-04-03 Richard Biener <rguenther@suse.de>
16749
16750 PR tree-optimization/60740
16751 * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
16752 over all GIMPLE_COND operands.
16753
16754 2014-04-03 Nathan Sidwell <nathan@codesourcery.com>
16755
16756 * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
16757 (Weffc++): Remove Scott's numbering, merge lists and reference
16758 Wnon-virtual-dtor.
16759
16760 2014-04-03 Nick Clifton <nickc@redhat.com>
16761
16762 * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
16763 properly.
16764
16765 2014-04-03 Martin Jambor <mjambor@suse.cz>
16766
16767 * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
16768 mention gcc_unreachable before failing.
16769 * ipa.c (symtab_remove_unreachable_nodes): Also print order of
16770 removed symbols.
16771
16772 2014-04-02 Jan Hubicka <hubicka@ucw.cz>
16773
16774 PR ipa/60659
16775 * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
16776 inconsistent code and instead mark the context inconsistent.
16777 (possible_polymorphic_call_targets): For inconsistent contexts
16778 return empty complete list.
16779
16780 2014-04-02 Anthony Green <green@moxielogic.com>
16781
16782 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
16783 (extendqisi2, extendhisi2): Define.
16784 * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
16785 (WCHAR_TYPE): Change to unsigned int.
16786
16787 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
16788
16789 PR tree-optimization/60733
16790 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
16791 insertion point for PHI candidates to be the end of the feeding
16792 block for the PHI argument.
16793
16794 2014-04-02 Vladimir Makarov <vmakarov@redhat.com>
16795
16796 PR rtl-optimization/60650
16797 * lra-constraints.c (process_alt_operands): Decrease reject for
16798 earlyclobber matching.
16799
16800 2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16801
16802 * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
16803
16804 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16805
16806 * config/spu/spu.c (pad_bb): Do not crash when the last
16807 insn is CODE_FOR_blockage.
16808
16809 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16810
16811 * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
16812 lies outside the target mode.
16813
16814 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
16815
16816 PR target/60735
16817 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
16818 software floating point or no floating point registers, do not
16819 allow any type in the FPRs. Eliminate a test for SPE SIMD types
16820 in GPRs that occurs after we tested for GPRs that would never be
16821 true.
16822
16823 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
16824 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
16825 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
16826 specifically allow DDmode, since that does not use the SPE SIMD
16827 instructions.
16828
16829 2014-04-02 Richard Biener <rguenther@suse.de>
16830
16831 PR middle-end/60729
16832 * optabs.c (expand_abs_nojump): Honor flag_trapv only for
16833 MODE_INTs. Properly use negv_optab.
16834 (expand_abs): Likewise.
16835
16836 2014-04-02 Richard Biener <rguenther@suse.de>
16837
16838 PR bootstrap/60719
16839 * Makefile.in (install-driver): Guard extra installs with special
16840 names properly.
16841
16842 2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
16843
16844 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
16845 Document vec_vgbbd.
16846
16847 2014-04-01 Richard Henderson <rth@redhat.com>
16848
16849 PR target/60704
16850 * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
16851 alternative enabled before register allocation.
16852
16853 2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
16854
16855 * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
16856 * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
16857 typo.
16858 (nios2_large_got_address): Remove unneeded 'sym' parameter.
16859 (nios2_got_address): Update nios2_large_got_address call site.
16860 (nios2_delegitimize_address): New function.
16861 (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
16862 * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
16863 (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
16864
16865 2014-04-01 Martin Husemann <martin@duskware.de>
16866
16867 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
16868 for -mabi=32.
16869
16870 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com>
16871
16872 PR rtl-optimization/60604
16873 * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
16874 check from register_operand.
16875 (register_operand): Redefine in terms of general_operand.
16876 (nonmemory_operand): Use register_operand for the non-constant cases.
16877
16878 2014-04-01 Richard Biener <rguenther@suse.de>
16879
16880 * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
16881
16882 2014-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
16883
16884 * doc/invoke.texi (mapp-regs): Clarify.
16885
16886 2014-03-31 Ulrich Drepper <drepper@gmail.com>
16887
16888 * config/i386/avx512fintrin.h (__v32hi): Define type.
16889 (__v64qi): Likewise.
16890 (_mm512_set1_epi8): Define.
16891 (_mm512_set1_epi16): Define.
16892 (_mm512_set4_epi32): Define.
16893 (_mm512_set4_epi64): Define.
16894 (_mm512_set4_pd): Define.
16895 (_mm512_set4_ps): Define.
16896 (_mm512_setr4_epi64): Define.
16897 (_mm512_setr4_epi32): Define.
16898 (_mm512_setr4_pd): Define.
16899 (_mm512_setr4_ps): Define.
16900 (_mm512_setzero_epi32): Define.
16901
16902 2014-03-31 Martin Jambor <mjambor@suse.cz>
16903
16904 PR middle-end/60647
16905 * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
16906 callsite_arguments_match_p. Updated all callers. Also check types of
16907 corresponding formal parameters and actual arguments.
16908 (not_all_callers_have_enough_arguments_p) Renamed to
16909 some_callers_have_mismatched_arguments_p.
16910
16911 2014-03-31 Yuri Rumyantsev <ysrumyan@gmail.com>
16912
16913 * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
16914
16915 2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
16916
16917 PR target/60034
16918 * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
16919 section anchor.
16920
16921 2014-03-30 Uros Bizjak <ubizjak@gmail.com>
16922
16923 * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
16924 (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
16925 Split out
16926 <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
16927 Use FMAMODE_NOVF512 mode iterator.
16928 (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
16929 (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
16930 (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
16931 (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
16932 Split out
16933 <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
16934 Use VF_128_256 mode iterator.
16935 (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
16936 Ditto.
16937
16938 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
16939
16940 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
16941 static chain if needed.
16942
16943 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
16944
16945 PR target/60697
16946 * lra-constraints.c (index_part_to_reg): New.
16947 (process_address): Use it.
16948
16949 2014-03-27 Jeff Law <law@redhat.com>
16950 Jakub Jelinek <jakub@redhat.com>
16951
16952 PR target/60648
16953 * expr.c (do_tablejump): Use simplify_gen_binary rather than
16954 gen_rtx_{PLUS,MULT} to build up the address expression.
16955
16956 * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
16957 creating non-canonical RTL.
16958
16959 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
16960
16961 PR ipa/60243
16962 * ipa-inline.c (want_inline_small_function_p): Short circuit large
16963 functions; reorganize to make cheap checks first.
16964 (inline_small_functions): Do not estimate growth when dumping;
16965 it is expensive.
16966 * ipa-inline.h (inline_summary): Add min_size.
16967 (growth_likely_positive): New function.
16968 * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
16969 (set_cond_stmt_execution_predicate): Cleanup.
16970 (estimate_edge_size_and_time): Compute min_size.
16971 (estimate_calls_size_and_time): Likewise.
16972 (estimate_node_size_and_time): Likewise.
16973 (inline_update_overall_summary): Update min_size.
16974 (do_estimate_edge_time): Likewise.
16975 (do_estimate_edge_size): Update.
16976 (do_estimate_edge_hints): Update.
16977 (growth_likely_positive): New function.
16978
16979 2014-03-28 Jakub Jelinek <jakub@redhat.com>
16980
16981 PR target/60693
16982 * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
16983 also if addr has VOIDmode.
16984
16985 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16986
16987 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
16988 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
16989 Declare extern.
16990 * config/arm/cortex-a53.md: Add reservations and bypass for crypto
16991 instructions as well as AdvancedSIMD loads.
16992
16993 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16994
16995 * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
16996 Use crypto_aese type.
16997 (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
16998 * config/arm/arm.md (is_neon_type): Replace crypto_aes with
16999 crypto_aese, crypto_aesmc. Move to types.md.
17000 * config/arm/types.md (crypto_aes): Split into crypto_aese,
17001 crypto_aesmc.
17002 * config/arm/iterators.md (crypto_type): Likewise.
17003
17004 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
17005
17006 * cgraph.c: Include expr.h and tree-dfa.h.
17007 (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
17008 remove LHS.
17009
17010 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
17011
17012 PR target/60675
17013 * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
17014 regs from checking multi-reg pseudos.
17015
17016 2014-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
17017
17018 * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
17019
17020 2014-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17021
17022 * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
17023 if it would clobber the stack pointer, even temporarily.
17024
17025 2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
17026
17027 * mode-switching.c: Make small adjustments to the top comment.
17028
17029 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
17030
17031 * config/rs6000/constraints.md (wD constraint): New constraint to
17032 match the constant integer to get the top DImode/DFmode out of a
17033 vector in a VSX register.
17034
17035 * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
17036 match the constant integer to get the top DImode/DFmode out of a
17037 vector in a VSX register.
17038
17039 * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
17040 for ISA 2.07.
17041
17042 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
17043 vbpermq builtins.
17044
17045 * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
17046 -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
17047
17048 * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
17049 Optimize vec_extract of 64-bit values, where the value being
17050 extracted is in the top word, where we can use scalar
17051 instructions. Add direct move and store support. Combine the big
17052 endian/little endian vector select load support into a single insn.
17053 (vsx_extract_<mode>_internal1): Likewise.
17054 (vsx_extract_<mode>_internal2): Likewise.
17055 (vsx_extract_<mode>_load): Likewise.
17056 (vsx_extract_<mode>_store): Likewise.
17057 (vsx_extract_<mode>_zero): Delete, big and little endian insns are
17058 combined into vsx_extract_<mode>_load.
17059 (vsx_extract_<mode>_one_le): Likewise.
17060
17061 * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
17062 define the top 64-bit vector element.
17063
17064 * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
17065 constraint.
17066
17067 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
17068 Document vec_vbpermq builtin.
17069
17070 PR target/60672
17071 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
17072 enable use of xxsldwi and xxpermdi builtin functions.
17073 (vec_xxpermdi): Likewise.
17074
17075 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
17076 Document use of vec_xxsldwi and vec_xxpermdi builtins.
17077
17078 2014-03-27 Vladimir Makarov <vmakarov@redhat.com>
17079
17080 PR rtl-optimization/60650
17081 * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
17082 first_p. Use it.
17083 (find_spills_for): New.
17084 (assign_by_spills): Pass the new parameter to find_hard_regno_for.
17085 Spill all pseudos on the second iteration.
17086
17087 2014-03-27 Marek Polacek <polacek@redhat.com>
17088
17089 PR c/50347
17090 * doc/extend.texi (ffs Builtins): Change unsigned types to signed
17091 types.
17092
17093 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17094
17095 * config/s390/s390.c (s390_can_use_return_insn): Check for
17096 call-saved FPRs on 31 bit.
17097
17098 2014-03-27 Jakub Jelinek <jakub@redhat.com>
17099
17100 PR middle-end/60682
17101 * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
17102 if they need regimplification, just drop them instead of
17103 calling gimple_regimplify_operands on them.
17104
17105 2014-03-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
17106
17107 PR target/60580
17108 * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
17109 (aarch64_frame_pointer_required): Adjust logic.
17110 (aarch64_can_eliminate): Adjust logic.
17111 (aarch64_override_options_after_change): Adjust logic.
17112
17113 2014-03-27 Dehao Chen <dehao@google.com>
17114
17115 * ipa-inline.c (early_inliner): Update node's inline info.
17116
17117 2014-03-26 Dehao Chen <dehao@google.com>
17118
17119 * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
17120 compiler inserted conditional jumps for NAN float check.
17121
17122 2014-03-26 Jakub Jelinek <jakub@redhat.com>
17123
17124 * ubsan.h (ubsan_create_data): Change second argument's type
17125 to const location_t *.
17126 * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
17127 _("<unknown>").
17128 (ubsan_create_data): Change second argument to const location_t *PLOC.
17129 Create Loc field whenever PLOC is non-NULL.
17130 (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
17131 ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
17132 callers.
17133
17134 PR other/59545
17135 * real.c (real_to_integer2): Change type of low to UHWI.
17136
17137 2014-03-26 Tobias Burnus <burnus@net-b.de>
17138
17139 * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
17140 (CILK_SELF_SPECS): New define.
17141 (driver_self_specs): Use it.
17142
17143 2014-03-26 Richard Biener <rguenther@suse.de>
17144
17145 * tree-pretty-print.c (percent_K_format): Implement special
17146 case for LTO and its stripped down BLOCK tree.
17147
17148 2014-03-26 Jakub Jelinek <jakub@redhat.com>
17149
17150 PR sanitizer/60636
17151 * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
17152
17153 * tree-vrp.c (simplify_internal_call_using_ranges): If only
17154 one range is range_int_cst_p, but not both, at least optimize
17155 addition/subtraction of 0 and multiplication by 0 or 1.
17156 * gimple-fold.c (gimple_fold_call): Fold
17157 IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
17158 (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
17159 INTEGER_CSTs, try to fold at least x * 0 and y - y.
17160
17161 2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
17162
17163 PR rtl-optimization/60452
17164 * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
17165 <case REG>: Return 1 for invalid offsets from the frame pointer.
17166
17167 2014-03-26 Marek Polacek <polacek@redhat.com>
17168
17169 PR c/37428
17170 * doc/extend.texi (C Extensions): Mention variable-length arrays in
17171 a structure/union.
17172
17173 2014-03-26 Marek Polacek <polacek@redhat.com>
17174
17175 PR c/39525
17176 * doc/extend.texi (Designated Inits): Describe what happens to omitted
17177 field members.
17178
17179 2014-03-26 Marek Polacek <polacek@redhat.com>
17180
17181 PR other/59545
17182 * ira-color.c (update_conflict_hard_regno_costs): Perform the
17183 multiplication in unsigned type.
17184
17185 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
17186
17187 * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
17188
17189 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
17190
17191 * doc/contrib.texi: Add myself as Andes nds32 port contributor.
17192
17193 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
17194
17195 PR ipa/60315
17196 * cif-code.def (UNREACHABLE) New code.
17197 * ipa-inline.c (inline_small_functions): Skip edges to
17198 __builtlin_unreachable.
17199 (estimate_edge_growth): Allow edges to __builtlin_unreachable.
17200 * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
17201 predicate to __bulitin_unreachable.
17202 (set_cond_stmt_execution_predicate): Fix issue when
17203 invert_tree_comparison returns ERROR_MARK.
17204 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
17205 propagate to inline clones.
17206 * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
17207 to unreachable.
17208 * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
17209 * cgraphclones.c (cgraph_clone_node): If call destination is already
17210 ureachable, do not redirect it back.
17211 * tree-inline.c (fold_marked_statements): Hanlde calls becoming
17212 unreachable.
17213
17214 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
17215
17216 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
17217 Do not modify inline clones.
17218
17219 2014-03-25 Jakub Jelinek <jakub@redhat.com>
17220
17221 * config/i386/i386.md (general_sext_operand): New mode attr.
17222 (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
17223 don't generate (sign_extend (const_int)).
17224 (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
17225 operands[2]. Use We constraint instead of <i> and
17226 <general_sext_operand> predicate instead of <general_operand>.
17227 (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
17228 * config/i386/constraints.md (We): New constraint.
17229 * config/i386/predicates.md (x86_64_sext_operand,
17230 sext_operand): New predicates.
17231
17232 2014-03-25 Martin Jambor <mjambor@suse.cz>
17233
17234 PR ipa/60600
17235 * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
17236 inconsistent devirtualizations to __builtin_unreachable.
17237
17238 2014-03-25 Marek Polacek <polacek@redhat.com>
17239
17240 PR c/35449
17241 * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
17242
17243 2014-03-25 Alan Lawrence <alan.lawrence@arm.com>
17244
17245 * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
17246 order of elements for big-endian.
17247
17248 2014-03-25 Richard Biener <rguenther@suse.de>
17249
17250 PR middle-end/60635
17251 * gimplify-me.c (gimple_regimplify_operands): Update the
17252 re-gimplifed stmt.
17253
17254 2014-03-25 Martin Jambor <mjambor@suse.cz>
17255
17256 PR ipa/59176
17257 * lto-cgraph.c (lto_output_node): Stream body_removed flag.
17258 (lto_output_varpool_node): Likewise.
17259 (input_overwrite_node): Likewise.
17260 (input_varpool_node): Likewise.
17261
17262 2014-03-25 Richard Biener <rguenther@suse.de>
17263
17264 * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
17265 (run_gcc): Likewise.
17266
17267 2014-03-25 Jakub Jelinek <jakub@redhat.com>
17268
17269 * combine.c (simplify_compare_const): Add MODE argument.
17270 Handle mode_width 0 as very large mode_width.
17271 (try_combine, simplify_comparison): Adjust callers.
17272
17273 * cselib.c (cselib_hash_rtx): Perform addition in unsigned
17274 type to avoid signed integer overflow.
17275 * explow.c (plus_constant): Likewise.
17276
17277 2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
17278
17279 * doc/generic.texi: Correct typos.
17280
17281 2014-03-24 Tobias Burnus <burnus@net-b.de>
17282
17283 * doc/invoke.texi (-flto): Expand section about
17284 using static libraries with LTO.
17285
17286 2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17287
17288 PR rtl-optimization/60501
17289 * optabs.def (addptr3_optab): New optab.
17290 * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
17291 * doc/md.texi ("addptrm3"): Document new RTL standard expander.
17292 * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
17293
17294 * lra.c (emit_add3_insn): Use the addptr pattern if available.
17295
17296 * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
17297
17298 2014-03-24 Ulrich Drepper <drepper@gmail.com>
17299
17300 * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
17301 _mm512_set1_pd.
17302
17303 * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
17304 (_mm256_undefined_ps): Define.
17305 (_mm256_undefined_pd): Define.
17306 * config/i386/emmintrin.h (_mm_undefined_si128): Define.
17307 (_mm_undefined_pd): Define.
17308 * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
17309 * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
17310 (_mm512_undefined_ps): Define.
17311 (_mm512_undefined_pd): Define.
17312 Use _mm*_undefined_*.
17313 * config/i386/avx2intrin.h: Use _mm*_undefined_*.
17314
17315 2014-03-24 Alex Velenko <Alex.Velenko@arm.com>
17316
17317 * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
17318 (lshr_simd): DI mode added.
17319 * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
17320 (aarch64_ushr_simddi): Likewise.
17321 * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
17322 * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
17323 (vshrd_n_u64): Likewise.
17324
17325 2014-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
17326
17327 * Makefile.in (s-macro_list): Depend on cc1.
17328
17329 2014-03-23 Teresa Johnson <tejohnson@google.com>
17330
17331 * ipa-utils.c (ipa_print_order): Use specified dump file.
17332
17333 2014-03-23 Eric Botcazou <ebotcazou@adacore.com>
17334
17335 PR rtl-optimization/60601
17336 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
17337
17338 * gcc.c (eval_spec_function): Initialize save_growing_value.
17339
17340 2014-03-22 Jakub Jelinek <jakub@redhat.com>
17341
17342 PR sanitizer/60613
17343 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
17344 code == MINUS_EXPR, never swap op0 with op1.
17345
17346 * toplev.c (init_local_tick): Avoid signed integer multiplication
17347 overflow.
17348 * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
17349 shift by first operand's bitsize.
17350
17351 2014-03-21 Jakub Jelinek <jakub@redhat.com>
17352
17353 PR target/60610
17354 * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
17355 redefine to 1 or 0.
17356 * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
17357 TARGET_ISA_64BIT_P(x).
17358
17359 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
17360
17361 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
17362 pattern for vector nor instead of subtract from splat(-1).
17363 (altivec_expand_vec_perm_const_le): Likewise.
17364
17365 2014-03-21 Richard Henderson <rth@twiddle.net>
17366
17367 PR target/60598
17368 * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
17369 related insns after epilogue_completed.
17370
17371 2014-03-21 Martin Jambor <mjambor@suse.cz>
17372
17373 PR ipa/59176
17374 * cgraph.h (symtab_node): New flag body_removed.
17375 * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
17376 when removing bodies.
17377 * symtab.c (dump_symtab_base): Dump body_removed flag.
17378 * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
17379 had their bodies removed.
17380
17381 2014-03-21 Martin Jambor <mjambor@suse.cz>
17382
17383 PR ipa/60419
17384 * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
17385 in the border.
17386
17387 2014-03-21 Richard Biener <rguenther@suse.de>
17388
17389 PR tree-optimization/60577
17390 * tree-core.h (struct tree_base): Document nothrow_flag use
17391 in DECL_NONALIASED.
17392 * tree.h (DECL_NONALIASED): New.
17393 (may_be_aliased): Adjust.
17394 * coverage.c (build_var): Set DECL_NONALIASED.
17395
17396 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
17397
17398 * expr.c (expand_expr_real_1): Remove outdated comment.
17399
17400 2014-03-20 Jakub Jelinek <jakub@redhat.com>
17401
17402 PR middle-end/60597
17403 * ira.c (adjust_cleared_regs): Call copy_rtx on
17404 *reg_equiv[REGNO (loc)].src_p before passing it to
17405 simplify_replace_fn_rtx.
17406
17407 PR target/60568
17408 * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
17409 into CONST, put pic register as first operand of PLUS. Use
17410 gen_const_mem for both 32-bit and 64-bit PIC got loads.
17411
17412 2014-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
17413
17414 * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
17415
17416 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
17417
17418 * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
17419 around for store forwarding issue in the FPU on the UT699.
17420 * config/sparc/sparc.md (in_branch_delay): Return false for single FP
17421 loads and operations if -mfix-ut699 is specified.
17422 (divtf3_hq): Tweak attribute.
17423 (sqrttf2_hq): Likewise.
17424
17425 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
17426
17427 * calls.c (store_one_arg): Remove incorrect const qualification on the
17428 type of the temporary.
17429 * cfgexpand.c (expand_return): Likewise.
17430 * expr.c (expand_constructor): Likewise.
17431 (expand_expr_real_1): Likewise.
17432
17433 2014-03-20 Zhenqiang Chen <zhenqiang.chen@linaro.org>
17434
17435 * config/arm/arm.c (arm_dwarf_register_span): Update the element number
17436 of parts.
17437
17438 2014-03-19 Kaz Kojima <kkojima@gcc.gnu.org>
17439
17440 PR target/60039
17441 * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
17442
17443 2014-03-19 James Greenhalgh <james.greenhalgh@arm.com>
17444
17445 * config/arm/aarch-common-protos.h
17446 (alu_cost_table): Fix spelling of "extend".
17447 * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
17448
17449 2014-03-19 Richard Biener <rguenther@suse.de>
17450
17451 PR middle-end/60553
17452 * tree-core.h (tree_type_common): Re-order pointer members
17453 to reduce recursion depth during GC walks.
17454
17455 2014-03-19 Marek Polacek <polacek@redhat.com>
17456
17457 PR sanitizer/60569
17458 * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
17459 before accessing it.
17460
17461 2014-03-19 Richard Biener <rguenther@suse.de>
17462
17463 PR lto/59543
17464 * lto-streamer-in.c (input_function): In WPA stage do not drop
17465 debug stmts.
17466
17467 2014-03-19 Jakub Jelinek <jakub@redhat.com>
17468
17469 PR tree-optimization/60559
17470 * vectorizable_mask_load_store): Replace scalar MASK_LOAD
17471 with build_zero_cst assignment.
17472
17473 2014-03-18 Kai Tietz <ktietz@redhat.com>
17474
17475 PR rtl-optimization/56356
17476 * sdbout.c (sdbout_parms): Verify that parms'
17477 incoming argument is valid.
17478 (sdbout_reg_parms): Likewise.
17479
17480 2014-03-18 Richard Henderson <rth@redhat.com>
17481
17482 PR target/60562
17483 * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
17484 be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT.
17485 (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
17486
17487 2014-03-18 Basile Starynkevitch <basile@starynkevitch.net>
17488
17489 * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
17490 * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
17491 Italicize plugin event names in description. Explain that
17492 PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE.
17493 Remind that no GCC functions should be called after PLUGIN_FINISH.
17494 Explain what pragmas with expansion are.
17495
17496 2014-03-18 Martin Liska <mliska@suse.cz>
17497
17498 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
17499 gimple call statement is update.
17500 * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
17501 GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
17502
17503 2014-03-18 Jakub Jelinek <jakub@redhat.com>
17504
17505 PR sanitizer/60557
17506 * ubsan.c (ubsan_instrument_unreachable): Call
17507 initialize_sanitizer_builtins.
17508 (ubsan_pass): Likewise.
17509
17510 PR sanitizer/60535
17511 * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
17512 varpool_finalize_decl instead of rest_of_decl_compilation.
17513
17514 2014-03-18 Richard Biener <rguenther@suse.de>
17515
17516 * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
17517 by using bitmap_and_compl instead of bitmap_and_compl_into.
17518 (df_rd_transfer_function): Likewise.
17519
17520 2014-03-18 Richard Biener <rguenther@suse.de>
17521
17522 * doc/lto.texi (fresolution): Fix typo.
17523
17524 2014-03-18 Richard Biener <rguenther@suse.de>
17525
17526 * doc/invoke.texi (flto): Update for changes in 4.9.
17527
17528 2014-03-18 Richard Biener <rguenther@suse.de>
17529
17530 * doc/loop.texi: Remove section on the removed lambda framework.
17531 Update loop docs with recent changes in preserving loop structure.
17532
17533 2014-03-18 Richard Biener <rguenther@suse.de>
17534
17535 * doc/lto.texi (-fresolution): Document.
17536
17537 2014-03-18 Richard Biener <rguenther@suse.de>
17538
17539 * doc/contrib.texi: Adjust my name.
17540
17541 2014-03-18 Jakub Jelinek <jakub@redhat.com>
17542
17543 PR ipa/58721
17544 * internal-fn.c: Include diagnostic-core.h.
17545 (expand_BUILTIN_EXPECT): New function.
17546 * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
17547 (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
17548 IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
17549 * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
17550 IFN_BUILTIN_EXPECT.
17551 * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
17552 Revert 3 argument __builtin_expect code.
17553 (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
17554 * gimple-fold.c (gimple_fold_call): Likewise.
17555 * tree.h (fold_builtin_expect): New prototype.
17556 * builtins.c (build_builtin_expect_predicate): Add predictor
17557 argument, if non-NULL, create 3 argument __builtin_expect.
17558 (fold_builtin_expect): No longer static. Add ARG2 argument,
17559 pass it through to build_builtin_expect_predicate.
17560 (fold_builtin_2): Adjust caller.
17561 (fold_builtin_3): Handle BUILT_IN_EXPECT.
17562 * internal-fn.def (BUILTIN_EXPECT): New.
17563
17564 2014-03-18 Tobias Burnus <burnus@net-b.de>
17565
17566 PR ipa/58721
17567 * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
17568 PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
17569 PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
17570
17571 2014-03-18 Jan Hubicka <hubicka@ucw.cz>
17572
17573 PR ipa/58721
17574 * predict.c (combine_predictions_for_bb): Fix up formatting.
17575 (expr_expected_value_1, expr_expected_value): Add predictor argument,
17576 fill what it points to if non-NULL.
17577 (tree_predict_by_opcode): Adjust caller, use the predictor.
17578 * predict.def (PRED_COMPARE_AND_SWAP): Add.
17579
17580 2014-03-18 Eric Botcazou <ebotcazou@adacore.com>
17581
17582 * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
17583 proper constant for the store mode.
17584
17585 2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com>
17586
17587 * symtab.c (change_decl_assembler_name): Fix transparent alias
17588 chain construction.
17589
17590 2014-03-16 Renlin Li <Renlin.Li@arm.com>
17591
17592 * config/aarch64/aarch64.c: Correct the comments about the
17593 aarch64 stack layout.
17594
17595 2014-03-18 Thomas Schwinge <thomas@codesourcery.com>
17596
17597 * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
17598 check for GF_OMP_FOR_KIND_FOR.
17599
17600 2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
17601
17602 * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
17603 ymm and zmm register names.
17604
17605 2014-03-17 Jakub Jelinek <jakub@redhat.com>
17606
17607 PR target/60516
17608 * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
17609 note creation for the 2010-08-31 changes.
17610
17611 2014-03-17 Marek Polacek <polacek@redhat.com>
17612
17613 PR middle-end/60534
17614 * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
17615 as -fno-tree-loop-vectorize.
17616 (expand_omp_simd): Likewise.
17617
17618 2014-03-15 Eric Botcazou <ebotcazou@adacore.com>
17619
17620 * config/sparc/sparc-protos.h (tls_call_delay): Delete.
17621 (eligible_for_call_delay): New prototype.
17622 * config/sparc/sparc.c (tls_call_delay): Rename into...
17623 (eligible_for_call_delay): ...this. Return false if the instruction
17624 cannot be put in the delay slot of a branch.
17625 (eligible_for_restore_insn): Simplify.
17626 (eligible_for_return_delay): Return false if the instruction cannot be
17627 put in the delay slot of a branch and simplify.
17628 (eligible_for_sibcall_delay): Return false if the instruction cannot be
17629 put in the delay slot of a branch.
17630 * config/sparc/sparc.md (fix_ut699): New attribute.
17631 (tls_call_delay): Delete.
17632 (in_call_delay): Reimplement.
17633 (eligible_for_sibcall_delay): Rename into...
17634 (in_sibcall_delay): ...this.
17635 (eligible_for_return_delay): Rename into...
17636 (in_return_delay): ...this.
17637 (in_branch_delay): Reimplement.
17638 (in_uncond_branch_delay): Delete.
17639 (in_annul_branch_delay): Delete.
17640
17641 2014-03-14 Richard Henderson <rth@redhat.com>
17642
17643 PR target/60525
17644 * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
17645 define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
17646 (*floathi<X87MODEF>2_i387_with_temp): Remove.
17647 (floathi splitters): Remove.
17648 (float<SWI48x>xf2): New pattern.
17649 (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop
17650 code that tried to handle DImode for 32-bit, but which was excluded
17651 by the pattern's condition. Drop allocation of stack temporary.
17652 (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
17653 (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
17654 (*float<SWI48><MODEF>2_mixed_interunit): Remove.
17655 (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
17656 (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
17657 (*float<SWI48><MODEF>2_sse_with_temp): Remove.
17658 (*float<SWI48><MODEF>2_sse_interunit): Remove.
17659 (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
17660 (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
17661 (*float<SWI48x><X87MODEF>2_i387): Remove.
17662 (all float _with_temp splitters): Remove.
17663 (*float<SWI48x><MODEF>2_i387): New pattern.
17664 (*float<SWI48><MODEF>2_sse): New pattern.
17665 (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
17666 (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
17667
17668 2014-03-14 Jakub Jelinek <jakub@redhat.com>
17669 Marek Polacek <polacek@redhat.com>
17670
17671 PR middle-end/60484
17672 * common.opt (dump_base_name_prefixed): New Variable.
17673 * opts.c (finish_options): Don't prepend directory to x_dump_base_name
17674 if x_dump_base_name_prefixed is already set, set it at the end.
17675
17676 2014-03-14 Vladimir Makarov <vmakarov@redhat.com>
17677
17678 PR rtl-optimization/60508
17679 * lra-constraints.c (get_reload_reg): Add new parameter
17680 in_subreg_p.
17681 (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
17682 Pass the new parameter values.
17683
17684 2014-03-14 Richard Biener <rguenther@suse.de>
17685
17686 * common.opt: Revert unintented changes from r205065.
17687 * opts.c: Likewise.
17688
17689 2014-03-14 Richard Biener <rguenther@suse.de>
17690
17691 PR middle-end/60518
17692 * cfghooks.c (split_block): Properly adjust all loops the
17693 block was a latch of.
17694
17695 2014-03-14 Martin Jambor <mjambor@suse.cz>
17696
17697 PR lto/60461
17698 * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
17699 and simplify it.
17700
17701 2014-03-14 Georg-Johann Lay <avr@gjlay.de>
17702
17703 PR target/59396
17704 * config/avr/avr.c (avr_set_current_function): Pass function name
17705 through default_strip_name_encoding before sanity checking instead
17706 of skipping the first char of the assembler name.
17707
17708 2014-03-13 Richard Henderson <rth@redhat.com>
17709
17710 PR debug/60438
17711 * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
17712 (ix86_force_to_memory, ix86_free_from_memory): Remove.
17713 * config/i386/i386-protos.h: Likewise.
17714 * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
17715 in the expander instead of a splitter.
17716 (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
17717 any possibility of requiring a memory.
17718 (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
17719 (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
17720 (fp branch splitters): Update for ix86_split_fp_branch.
17721 (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
17722 (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
17723 (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
17724 (*fop_<MODEF>_2_i387): Remove f/r alternative.
17725 (*fop_<MODEF>_3_i387): Likewise.
17726 (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
17727 (splitters for the fop_* register patterns): Remove.
17728 (fscalexf4_i387): Rename from *fscalexf4_i387.
17729 (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
17730
17731 2014-03-13 Jakub Jelinek <jakub@redhat.com>
17732
17733 PR tree-optimization/59779
17734 * tree-dfa.c (get_ref_base_and_extent): Use double_int
17735 type for bitsize and maxsize instead of HOST_WIDE_INT.
17736
17737 2014-03-13 Steven Bosscher <steven@gcc.gnu.org>
17738
17739 PR rtl-optimization/57320
17740 * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
17741 the CFG after thread_prologue_and_epilogue_insns.
17742
17743 2014-03-13 Vladimir Makarov <vmakarov@redhat.com>
17744
17745 PR rtl-optimization/57189
17746 * lra-constraints.c (process_alt_operands): Disfavor spilling
17747 vector pseudos.
17748
17749 2014-03-13 Cesar Philippidis <cesar@codesourcery.com>
17750
17751 * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
17752
17753 2014-03-13 Jakub Jelinek <jakub@redhat.com>
17754
17755 PR tree-optimization/59025
17756 PR middle-end/60418
17757 * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
17758 same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
17759
17760 2014-03-13 Georg-Johann Lay <avr@gjlay.de>
17761
17762 PR target/60486
17763 * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
17764 calls of avr_out_plus_1.
17765
17766 2014-03-13 Bin Cheng <bin.cheng@arm.com>
17767
17768 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
17769 BB's single pred and update the father loop's latch info later.
17770
17771 2014-03-12 Michael Meissner <meissner@linux.vnet.ibm.com>
17772
17773 * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
17774 (VEC_M): Likewise.
17775 (VEC_N): Likewise.
17776 (VEC_R): Likewise.
17777 (VEC_base): Likewise.
17778 (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
17779 registers, we need to swap double words in little endian mode.
17780
17781 * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
17782 to be a container mode for 128-bit integer operations added in ISA
17783 2.07. Unlike TImode and PTImode, the preferred register set is
17784 the Altivec/VMX registers for the 128-bit operations.
17785
17786 * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
17787 declarations.
17788 (rs6000_split_128bit_ok_p): Likewise.
17789
17790 * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
17791 macros for creating ISA 2.07 normal and overloaded builtin
17792 functions with 3 arguments.
17793 (BU_P8V_OVERLOAD_3): Likewise.
17794 (VPERM_1T): Add support for V1TImode in 128-bit vector operations
17795 for use as overloaded functions.
17796 (VPERM_1TI_UNS): Likewise.
17797 (VSEL_1TI): Likewise.
17798 (VSEL_1TI_UNS): Likewise.
17799 (ST_INTERNAL_1ti): Likewise.
17800 (LD_INTERNAL_1ti): Likewise.
17801 (XXSEL_1TI): Likewise.
17802 (XXSEL_1TI_UNS): Likewise.
17803 (VPERM_1TI): Likewise.
17804 (VPERM_1TI_UNS): Likewise.
17805 (XXPERMDI_1TI): Likewise.
17806 (SET_1TI): Likewise.
17807 (LXVD2X_V1TI): Likewise.
17808 (STXVD2X_V1TI): Likewise.
17809 (VEC_INIT_V1TI): Likewise.
17810 (VEC_SET_V1TI): Likewise.
17811 (VEC_EXT_V1TI): Likewise.
17812 (EQV_V1TI): Likewise.
17813 (NAND_V1TI): Likewise.
17814 (ORC_V1TI): Likewise.
17815 (VADDCUQ): Add support for 128-bit integer arithmetic instructions
17816 added in ISA 2.07. Add both normal 'altivec' builtins, and the
17817 overloaded builtin.
17818 (VADDUQM): Likewise.
17819 (VSUBCUQ): Likewise.
17820 (VADDEUQM): Likewise.
17821 (VADDECUQ): Likewise.
17822 (VSUBEUQM): Likewise.
17823 (VSUBECUQ): Likewise.
17824
17825 * config/rs6000/rs6000-c.c (__int128_type): New static to hold
17826 __int128_t and __uint128_t types.
17827 (__uint128_type): Likewise.
17828 (altivec_categorize_keyword): Add support for vector __int128_t,
17829 vector __uint128_t, vector __int128, and vector unsigned __int128
17830 as a container type for TImode operations that need to be done in
17831 VSX/Altivec registers.
17832 (rs6000_macro_to_expand): Likewise.
17833 (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
17834 to support 128-bit integer instructions vaddcuq, vadduqm,
17835 vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
17836 (altivec_resolve_overloaded_builtin): Add support for V1TImode.
17837
17838 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
17839 for V1TImode, and set up preferences to use VSX/Altivec registers.
17840 Setup VSX reload handlers.
17841 (rs6000_debug_reg_global): Likewise.
17842 (rs6000_init_hard_regno_mode_ok): Likewise.
17843 (rs6000_preferred_simd_mode): Likewise.
17844 (vspltis_constant): Do not allow V1TImode as easy altivec constants.
17845 (easy_altivec_constant): Likewise.
17846 (output_vec_const_move): Likewise.
17847 (rs6000_expand_vector_set): Convert V1TImode set and extract to
17848 simple move.
17849 (rs6000_expand_vector_extract): Likewise.
17850 (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
17851 addressing.
17852 (rs6000_const_vec): Add support for V1TImode.
17853 (rs6000_emit_le_vsx_load): Swap double words when loading or
17854 storing TImode/V1TImode.
17855 (rs6000_emit_le_vsx_store): Likewise.
17856 (rs6000_emit_le_vsx_move): Likewise.
17857 (rs6000_emit_move): Add support for V1TImode.
17858 (altivec_expand_ld_builtin): Likewise.
17859 (altivec_expand_st_builtin): Likewise.
17860 (altivec_expand_vec_init_builtin): Likewise.
17861 (altivec_expand_builtin): Likewise.
17862 (rs6000_init_builtins): Add support for V1TImode type. Add
17863 support for ISA 2.07 128-bit integer builtins. Define type names
17864 for the VSX/Altivec vector types.
17865 (altivec_init_builtins): Add support for overloaded vector
17866 functions with V1TImode type.
17867 (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
17868 (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
17869 external function.
17870 (rs6000_split_128bit_ok_p): Likewise.
17871 (rs6000_handle_altivec_attribute): Create V1TImode from vector
17872 __int128_t and vector __uint128_t.
17873
17874 * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
17875 and mode attributes.
17876 (VSX_M): Likewise.
17877 (VSX_M2): Likewise.
17878 (VSm): Likewise.
17879 (VSs): Likewise.
17880 (VSr): Likewise.
17881 (VSv): Likewise.
17882 (VS_scalar): Likewise.
17883 (VS_double): Likewise.
17884 (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
17885
17886 * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
17887 we support the ISA 2.07 128-bit integer arithmetic instructions.
17888 (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
17889 (enum rs6000_builtin_type_index): Add fields to hold V1TImode
17890 and TImode types for use with the builtin functions.
17891 (V1TI_type_node): Likewise.
17892 (unsigned_V1TI_type_node): Likewise.
17893 (intTI_type_internal_node): Likewise.
17894 (uintTI_type_internal_node): Likewise.
17895
17896 * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
17897 128-bit builtin functions.
17898 (UNSPEC_VADDEUQM): Likewise.
17899 (UNSPEC_VADDECUQ): Likewise.
17900 (UNSPEC_VSUBCUQ): Likewise.
17901 (UNSPEC_VSUBEUQM): Likewise.
17902 (UNSPEC_VSUBECUQ): Likewise.
17903 (VM): Add V1TImode to vector mode iterators.
17904 (VM2): Likewise.
17905 (VI_unit): Likewise.
17906 (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
17907 (altivec_vaddcuq): Likewise.
17908 (altivec_vsubuqm): Likewise.
17909 (altivec_vsubcuq): Likewise.
17910 (altivec_vaddeuqm): Likewise.
17911 (altivec_vaddecuq): Likewise.
17912 (altivec_vsubeuqm): Likewise.
17913 (altivec_vsubecuq): Likewise.
17914
17915 * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
17916 mode iterators.
17917 (BOOL_128): Likewise.
17918 (BOOL_REGS_OUTPUT): Likewise.
17919 (BOOL_REGS_OP1): Likewise.
17920 (BOOL_REGS_OP2): Likewise.
17921 (BOOL_REGS_UNARY): Likewise.
17922 (BOOL_REGS_AND_CR0): Likewise.
17923
17924 * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
17925 128-bit integer builtin support.
17926 (vec_vadduqm): Likewise.
17927 (vec_vaddecuq): Likewise.
17928 (vec_vaddeuqm): Likewise.
17929 (vec_vsubecuq): Likewise.
17930 (vec_vsubeuqm): Likewise.
17931 (vec_vsubcuq): Likewise.
17932 (vec_vsubuqm): Likewise.
17933
17934 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
17935 Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
17936 vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
17937 128-bit integer add/subtract to ISA 2.07.
17938
17939 2014-03-12 Joern Rennecke <joern.rennecke@embecosm.com>
17940
17941 * config/arc/arc.c (arc_predicate_delay_insns):
17942 Fix third argument passed to conditionalize_nonjump.
17943
17944 2014-03-12 Yufeng Zhang <yufeng.zhang@arm.com>
17945
17946 * config/aarch64/aarch64-builtins.c
17947 (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
17948 BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
17949 * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
17950 instead of __builtin_lfloor.
17951 (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
17952
17953 2014-03-12 Jakub Jelinek <jakub@redhat.com>
17954
17955 * tree-ssa-ifcombine.c (forwarder_block_to): New function.
17956 (tree_ssa_ifcombine_bb_1): New function.
17957 (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb
17958 is an empty forwarder block to then_bb or vice versa and then_bb
17959 and else_bb are effectively swapped.
17960
17961 2014-03-12 Christian Bruel <christian.bruel@st.com>
17962
17963 PR target/60264
17964 * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
17965 REG_CFA_DEF_CFA note.
17966 (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
17967 (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
17968
17969 2014-03-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
17970
17971 PR tree-optimization/60454
17972 * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
17973
17974 2014-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17975
17976 * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
17977 Do not define target_cpu_default2 to generic.
17978 * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
17979 * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
17980 * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
17981
17982 2014-03-12 Jakub Jelinek <jakub@redhat.com>
17983 Marc Glisse <marc.glisse@inria.fr>
17984
17985 PR tree-optimization/60502
17986 * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
17987 instead of build_low_bits_mask.
17988
17989 2014-03-12 Jakub Jelinek <jakub@redhat.com>
17990
17991 PR middle-end/60482
17992 * tree-vrp.c (register_edge_assert_for_1): Don't add assert
17993 if there are multiple uses, but op doesn't live on E edge.
17994 * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
17995 clobber stmts before __builtin_unreachable.
17996
17997 2014-03-11 Richard Sandiford <rdsandiford@googlemail.com>
17998
17999 * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
18000 hard_frame_pointer_rtx.
18001 * cse.c (cse_insn): Remove volatile check.
18002 * cselib.c (cselib_process_insn): Likewise.
18003 * dse.c (scan_insn): Likewise.
18004
18005 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
18006
18007 * config/arc/arc.c (conditionalize_nonjump): New function,
18008 broken out of ...
18009 (arc_ifcvt): ... this.
18010 (arc_predicate_delay_insns): Use it.
18011
18012 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
18013
18014 * config/arc/predicates.md (extend_operand): During/after reload,
18015 allow const_int_operand.
18016 * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
18017 (umulsidi3_700): Likewise. Change operand 2 constraint back to "cL".
18018 (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
18019 to "i".
18020 (umulsi3_highpart_i): Likewise.
18021
18022 2014-03-11 Richard Biener <rguenther@suse.de>
18023
18024 * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
18025 Add asserts to guard possible wrong-code bugs.
18026
18027 2014-03-11 Richard Biener <rguenther@suse.de>
18028
18029 PR tree-optimization/60429
18030 PR tree-optimization/60485
18031 * tree-ssa-structalias.c (set_union_with_increment): Properly
18032 take into account all fields that overlap the shifted vars.
18033 (do_sd_constraint): Likewise.
18034 (do_ds_constraint): Likewise.
18035 (get_constraint_for_ptr_offset): Likewise.
18036
18037 2014-03-11 Chung-Lin Tang <cltang@codesourcery.com>
18038
18039 * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
18040 (nios2_compute_frame_layout):
18041 Add calculation of cfun->machine->fp_save_offset.
18042 (nios2_expand_prologue): Correct setting of frame pointer register
18043 in prologue.
18044 (nios2_expand_epilogue): Update recovery of stack pointer from
18045 frame pointer accordingly.
18046 (nios2_initial_elimination_offset): Update calculation of offset
18047 for eliminating to HARD_FRAME_POINTER_REGNUM.
18048
18049 2014-03-10 Jakub Jelinek <jakub@redhat.com>
18050
18051 PR ipa/60457
18052 * ipa.c (symtab_remove_unreachable_nodes): Don't call
18053 cgraph_get_create_node on VAR_DECLs.
18054
18055 2014-03-10 Richard Biener <rguenther@suse.de>
18056
18057 PR middle-end/60474
18058 * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
18059
18060 2014-03-08 Douglas B Rupp <rupp@gnat.com>
18061
18062 * config/vms/vms.opt (vms_float_format): New variable.
18063
18064 2014-03-08 Tobias Burnus <burnus@net-b.de>
18065
18066 * doc/invoke.texi (-fcilkplus): Update implementation status.
18067
18068 2014-03-08 Paulo Matos <paulo@matos-sorge.com>
18069 Richard Biener <rguenther@suse.de>
18070
18071 * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
18072 consistently accross all TUs.
18073 (run_gcc): Enable -fshort-double automatically at link at link-time
18074 and disallow override.
18075
18076 2014-03-08 Richard Sandiford <rdsandiford@googlemail.com>
18077
18078 PR target/58271
18079 * config/mips/mips.c (mips_option_override): Promote -mpaired-single
18080 warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
18081 if they can't be used.
18082
18083 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
18084
18085 * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
18086 for Solaris 11/x86 ld.
18087 * configure: Regenerate.
18088
18089 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
18090
18091 * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
18092 (LIB_TLS_SPEC): Save as ld_tls_libs.
18093 (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
18094 (HAVE_AS_IX86_TLSLDM): New test.
18095 * configure, config.in: Regenerate.
18096 * config/i386/i386.c (legitimize_tls_address): Fall back to
18097 TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
18098 cannot support TLS_MODEL_LOCAL_DYNAMIC.
18099 * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
18100 instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
18101
18102 2014-03-07 Paulo Matos <paulo@matos-sorge.com>
18103
18104 * common.opt (fira-loop-pressure): Mark as optimization.
18105
18106 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
18107
18108 * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
18109 an OpenMP mappable type.
18110
18111 2014-03-06 Matthias Klose <doko@ubuntu.com>
18112
18113 * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
18114 MULTILIB_OSDIRNAMES is not defined.
18115
18116 2014-03-06 Jakub Jelinek <jakub@redhat.com>
18117 Meador Inge <meadori@codesourcery.com>
18118
18119 PR target/58595
18120 * config/arm/arm.c (arm_tls_symbol_p): Remove.
18121 (arm_legitimize_address): Call legitimize_tls_address for any
18122 arm_tls_referenced_p expression, handle constant addend. Call it
18123 before testing for !TARGET_ARM.
18124 (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
18125
18126 2014-03-06 Richard Biener <rguenther@suse.de>
18127
18128 PR middle-end/60445
18129 PR lto/60424
18130 PR lto/60427
18131 Revert
18132 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
18133
18134 * tree-streamer.c (record_common_node): Assert we don't record
18135 nodes with type double.
18136 (preload_common_node): Skip type double, complex double and double
18137 pointer since it is now frontend dependent due to fshort-double option.
18138
18139 2014-03-06 Richard Biener <rguenther@suse.de>
18140
18141 * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
18142 or -fno-lto is specified and the linker has full plugin support.
18143 * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
18144 (main): Remove -flto processing, adjust lto_mode using use_plugin late.
18145 * lto-wrapper.c (merge_and_complain): Merge compile-time
18146 optimization levels.
18147 (run_gcc): And pass it through to the link options.
18148
18149 2014-03-06 Alexandre Oliva <aoliva@redhat.com>
18150
18151 PR debug/60381
18152 Revert:
18153 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
18154 PR debug/59992
18155 * cselib.c (remove_useless_values): Skip to avoid quadratic
18156 behavior if the condition moved from...
18157 (cselib_process_insn): ... here holds.
18158
18159 2014-03-05 Jakub Jelinek <jakub@redhat.com>
18160
18161 PR plugins/59335
18162 * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
18163 ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
18164
18165 PR plugins/59335
18166 * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
18167 (TM_H): Add x86-tune.def.
18168
18169 2014-03-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18170
18171 * config/aarch64/aarch64.c (generic_tunings):
18172 Use cortexa57_extra_costs.
18173
18174 2014-03-05 Jakub Jelinek <jakub@redhat.com>
18175
18176 PR lto/60404
18177 * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
18178 of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
18179 * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
18180 cost for in_lto_p.
18181
18182 2014-03-04 Heiher <r@hev.cc>
18183
18184 * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
18185 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
18186
18187 2014-03-04 Uros Bizjak <ubizjak@gmail.com>
18188
18189 * config/i386/predicates.md (const2356_operand): Change to ...
18190 (const2367_operand): ... this.
18191 * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
18192 const2367_operand.
18193 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
18194 (*avx512pf_scatterpf<mode>sf): Ditto.
18195 (avx512pf_scatterpf<mode>df): Ditto.
18196 (*avx512pf_scatterpf<mode>df_mask): Ditto.
18197 (*avx512pf_scatterpf<mode>df): Ditto.
18198 * config/i386/i386.c (ix86_expand_builtin): Update
18199 incorrect hint operand error message.
18200
18201 2014-03-04 Richard Biener <rguenther@suse.de>
18202
18203 * lto-section-in.c (lto_get_section_data): Fix const cast.
18204
18205 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
18206
18207 * tree-streamer.c (record_common_node): Assert we don't record
18208 nodes with type double.
18209 (preload_common_node): Skip type double, complex double and double
18210 pointer since it is now frontend dependent due to fshort-double option.
18211
18212 2014-03-04 Richard Biener <rguenther@suse.de>
18213
18214 PR lto/60405
18215 * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
18216 (lto_input_toplevel_asms): Likewise.
18217 * lto-section-in.c (lto_get_section_data): Instead do it here
18218 for every section.
18219
18220 2014-03-04 Richard Biener <rguenther@suse.de>
18221
18222 PR tree-optimization/60382
18223 * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
18224 dead PHIs a reduction.
18225
18226 2014-03-03 Uros Bizjak <ubizjak@gmail.com>
18227
18228 * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
18229 hint value.
18230 (_mm_prefetch): Move out of GCC target("sse") pragma.
18231 * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
18232 GCC target("prfchw") pragma.
18233 * config/i386/i386.md (prefetch): Emit prefetchwt1 only
18234 for locality <= 2.
18235 * config/i386/i386.c (ix86_option_override_internal): Enable
18236 -mprfchw with -mprefetchwt1.
18237
18238 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
18239
18240 * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
18241 Mark as varying.
18242
18243 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
18244
18245 * opts.h (CL_PCH_IGNORE): Define.
18246 * targhooks.c (option_affects_pch_p):
18247 Return false for options that have CL_PCH_IGNORE set.
18248 * opt-functions.awk: Process PchIgnore.
18249 * doc/options.texi: Document PchIgnore.
18250
18251 * config/arc/arc.opt (misize): Add PchIgnore property.
18252
18253 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18254
18255 * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
18256 reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
18257 constraint on constants to permit them being loaded into
18258 GENERAL_REGS or BASE_REGS.
18259
18260 2014-03-03 Nick Clifton <nickc@redhat.com>
18261
18262 * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
18263 anti-cacnonical alternatives.
18264 (negandhi3_real): New pattern.
18265 * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
18266
18267 2014-03-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
18268
18269 * config/avr/avr-mcus.def: Remove atxmega16x1.
18270 * config/avr/avr-tables.opt: Regenerate.
18271 * config/avr/t-multilib: Regenerate.
18272 * doc/avr-mmcu.texi: Regenerate.
18273
18274 2014-03-03 Tobias Grosser <tobias@grosser.es>
18275 Mircea Namolaru <mircea.namolaru@inria.fr>
18276
18277 PR tree-optimization/58028
18278 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
18279 scalar dimensions.
18280
18281 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
18282
18283 * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
18284 not handled by recognizers.
18285
18286 2014-03-03 Jakub Jelinek <jakub@redhat.com>
18287
18288 PR middle-end/60175
18289 * function.c (expand_function_end): Don't emit
18290 clobber_return_register sequence if clobber_after is a BARRIER.
18291 * cfgexpand.c (construct_exit_block): Append instructions before
18292 return_label to prev_bb.
18293
18294 2014-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18295
18296 * config/rs6000/constraints.md: Document reserved use of "wc".
18297
18298 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
18299
18300 PR ipa/60150
18301 * ipa.c (function_and_variable_visibility): When dissolving comdat
18302 group, also set all symbols to local.
18303
18304 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
18305
18306 PR ipa/60306
18307
18308 Revert:
18309 2013-12-14 Jan Hubicka <jh@suse.cz>
18310 PR middle-end/58477
18311 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
18312
18313 2014-03-02 Jon Beniston <jon@beniston.com>
18314
18315 PR bootstrap/48230
18316 PR bootstrap/50927
18317 PR bootstrap/52466
18318 PR target/46898
18319 * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
18320 (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
18321 * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
18322 (simple_return, *simple_return): New patterns
18323 * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
18324 * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
18325
18326 2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
18327
18328 * dwarf2out.c (gen_subprogram_die): Tidy.
18329
18330 2014-03-01 Oleg Endo <olegendo@gcc.gnu.org>
18331
18332 PR target/60071
18333 * config/sh/sh.md (*mov_t_msb_neg): Split into ...
18334 (*mov_t_msb_neg_negc): ... this new insn.
18335
18336 2014-02-28 Jason Merrill <jason@redhat.com>
18337
18338 PR c++/58678
18339 * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
18340 function.
18341
18342 2014-02-28 Paolo Carlini <paolo.carlini@oracle.com>
18343
18344 PR c++/60314
18345 * dwarf2out.c (decltype_auto_die): New static.
18346 (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
18347 (gen_type_die_with_usage): Handle 'decltype(auto)'.
18348 (is_cxx_auto): Likewise.
18349
18350 2014-02-28 Ian Bolton <ian.bolton@arm.com>
18351
18352 * config/aarch64/aarch64.h: Define __ARM_NEON by default if
18353 we are not using general regs only.
18354
18355 2014-02-28 Richard Biener <rguenther@suse.de>
18356
18357 PR target/60280
18358 * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
18359 previous fix and only allow to remove trivial pre-headers
18360 and latches. Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
18361 (remove_forwarder_block): Properly update the latch of a loop.
18362
18363 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
18364
18365 PR debug/59992
18366 * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
18367 (cselib_preserved_hash_table): New.
18368 (preserve_constants_and_equivs): Move preserved vals to it.
18369 (cselib_find_slot): Look it up first.
18370 (cselib_init): Initialize it.
18371 (cselib_finish): Release it.
18372 (dump_cselib_table): Dump it.
18373
18374 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
18375
18376 PR debug/59992
18377 * cselib.c (remove_useless_values): Skip to avoid quadratic
18378 behavior if the condition moved from...
18379 (cselib_process_insn): ... here holds.
18380
18381 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
18382
18383 PR debug/57232
18384 * var-tracking.c (vt_initialize): Apply the same condition to
18385 preserve the CFA base value.
18386
18387 2014-02-28 Joey Ye <joey.ye@arm.com>
18388
18389 PR target/PR60169
18390 * config/arm/arm.c (thumb_far_jump_used_p): Don't change
18391 if reload in progress or completed.
18392
18393 2014-02-28 Tobias Burnus <burnus@net-b.de>
18394
18395 PR middle-end/60147
18396 * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
18397 NAMELIST_DECL.
18398
18399 2014-02-27 H.J. Lu <hongjiu.lu@intel.com>
18400
18401 * doc/tm.texi.in (Condition Code Status): Update documention for
18402 relative locations of cc0-setter and cc0-user.
18403
18404 2014-02-27 Jeff Law <law@redhat.com>
18405
18406 PR rtl-optimization/52714
18407 * combine.c (try_combine): When splitting an unrecognized PARALLEL
18408 into two independent simple sets, if I3 is a jump, ensure the
18409 pattern we place into I3 is a (set (pc) ...).
18410
18411 2014-02-27 Mikael Pettersson <mikpe@it.uu.se>
18412 Jeff Law <law@redhat.com>
18413
18414 PR rtl-optimization/49847
18415 * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
18416 are in different blocks.
18417 * doc/tm.texi (Condition Code Status): Update documention for
18418 relative locations of cc0-setter and cc0-user.
18419
18420 2014-02-27 Vladimir Makarov <vmakarov@redhat.com>
18421
18422 PR target/59222
18423 * lra.c (lra_emit_add): Check SUBREG too.
18424
18425 2014-02-27 Andreas Schwab <schwab@suse.de>
18426
18427 * config/m68k/m68k.c (m68k_option_override): Disable
18428 -flive-range-shrinkage for classic m68k.
18429 (m68k_override_options_after_change): Likewise.
18430
18431 2014-02-27 Marek Polacek <polacek@redhat.com>
18432
18433 PR middle-end/59223
18434 * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
18435 -Wmaybe-uninitialized.
18436
18437 2014-02-27 Alan Modra <amodra@gmail.com>
18438
18439 PR target/57936
18440 * reload1.c (emit_input_reload_insns): When reload_override_in,
18441 set old to rl->in_reg when rl->in_reg is a subreg.
18442
18443 2014-02-26 Richard Biener <rguenther@suse.de>
18444
18445 PR bootstrap/60343
18446 * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
18447
18448 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
18449
18450 * common/config/i386/predicates.md (const1256_operand): Remove.
18451 (const2356_operand): New.
18452 (const_1_to_2_operand): Remove.
18453 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
18454 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
18455 (*avx512pf_gatherpf<mode>sf): Ditto.
18456 (avx512pf_gatherpf<mode>df): Ditto.
18457 (*avx512pf_gatherpf<mode>df_mask): Ditto.
18458 (*avx512pf_gatherpf<mode>df): Ditto.
18459 (avx512pf_scatterpf<mode>sf): Ditto.
18460 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
18461 (*avx512pf_scatterpf<mode>sf): Ditto.
18462 (avx512pf_scatterpf<mode>df): Ditto.
18463 (*avx512pf_scatterpf<mode>df_mask): Ditto.
18464 (*avx512pf_scatterpf<mode>df): Ditto.
18465 * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
18466
18467 2014-02-26 Ilya Tocar <ilya.tocar@intel.com>
18468
18469 * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
18470 (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
18471 (_mm512_mask_testn_epi64_mask): Move to ...
18472 * config/i386/avx512cdintrin.h: Here.
18473 * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
18474 * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
18475 (avx512f_scalef<mode><mask_name><round_name>): Ditto.
18476 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
18477 TARGET_AVX512F from TARGET_AVX512CD.
18478
18479 2014-02-26 Richard Biener <rguenther@suse.de>
18480
18481 PR ipa/60327
18482 * ipa.c (walk_polymorphic_call_targets): Properly guard
18483 call to inline_update_overall_summary.
18484
18485 2014-02-26 Bin Cheng <bin.cheng@arm.com>
18486
18487 PR target/60280
18488 * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
18489 and latches only if requested. Fix latch if it is removed.
18490 * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
18491 LOOPS_HAVE_PREHEADERS.
18492
18493 2014-02-25 Andrew Pinski <apinski@cavium.com>
18494
18495 * builtins.c (expand_builtin_thread_pointer): Create a new target
18496 when the target is NULL.
18497
18498 2014-02-25 Vladimir Makarov <vmakarov@redhat.com>
18499
18500 PR rtl-optimization/60317
18501 * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
18502 * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
18503 * lra-assigns.c: Include params.h.
18504 (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
18505 other reload pseudos considerations.
18506
18507 2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18508
18509 * config/rs6000/vector.md (*vector_unordered<mode>): Change split
18510 to use canonical form for nor<mode>3.
18511
18512 2014-02-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18513
18514 PR target/55426
18515 * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
18516 conversions.
18517
18518 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
18519
18520 * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
18521 (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
18522 (ix86_handle_option): Handle OPT_mprefetchwt1.
18523 * config/i386/cpuid.h (bit_PREFETCHWT1): New.
18524 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
18525 PREFETCHWT1 CPUID.
18526 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
18527 OPTION_MASK_ISA_PREFETCHWT1.
18528 * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
18529 (PTA_PREFETCHWT1): New.
18530 (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
18531 (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
18532 * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
18533 * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
18534 (*prefetch_avx512pf_<mode>_: Change into ...
18535 (*prefetch_prefetchwt1_<mode>: This.
18536 * config/i386/i386.opt (mprefetchwt1): New.
18537 * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
18538 (_mm_prefetch): Handle intent to write.
18539 * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
18540
18541 2014-02-25 Richard Biener <rguenther@suse.de>
18542
18543 PR middle-end/60291
18544 * emit-rtl.c (mem_attrs_htab): Remove.
18545 (mem_attrs_htab_hash): Likewise.
18546 (mem_attrs_htab_eq): Likewise.
18547 (set_mem_attrs): Always allocate new mem-attrs when something changed.
18548 (init_emit_once): Do not allocate mem_attrs_htab.
18549
18550 2014-02-25 Richard Biener <rguenther@suse.de>
18551
18552 PR lto/60319
18553 * lto-opts.c (lto_write_options): Output non-explicit conservative
18554 -fwrapv, -fno-trapv and -fno-strict-overflow.
18555 * lto-wrapper.c (merge_and_complain): Handle merging those options.
18556 (run_gcc): And pass them through.
18557
18558 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
18559
18560 * sel-sched.c (calculate_new_fences): New parameter ptime.
18561 Calculate it as a maximum over all fence cycles.
18562 (sel_sched_region_2): Adjust the call to calculate_new_fences.
18563 Print the final schedule timing when sched_verbose.
18564
18565 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
18566
18567 PR rtl-optimization/60292
18568 * sel-sched.c (fill_vec_av_set): Do not reset target availability
18569 bit fot the fence instruction.
18570
18571 2014-02-24 Alangi Derick <alangiderick@gmail.com>
18572
18573 * calls.h: Fix typo in comment.
18574
18575 2014-02-24 John David Anglin <danglin@gcc.gnu.org>
18576
18577 * config/pa/pa.c (pa_output_move_double): Don't valididate when
18578 adjusting offsetable addresses.
18579
18580 2014-02-24 Guozhi Wei <carrot@google.com>
18581
18582 * sparseset.h (sparseset_pop): Fix the wrong index.
18583
18584 2014-02-24 Walter Lee <walt@tilera.com>
18585
18586 * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
18587 (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
18588 triplet.
18589 * common/config/tilegx/tilegx-common.c
18590 (TARGET_DEFAULT_TARGET_FLAGS): Define.
18591 * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
18592 (LINK_SPEC): Ditto.
18593 * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
18594 * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
18595 (tilegx_gimplify_va_arg_expr): Handle big endian.
18596 (tilegx_expand_unaligned_load): Ditto.
18597 (tilegx_expand_unaligned_store): Ditto.
18598 (TARGET_RETURN_IN_MSB): New.
18599 * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
18600 (TARGET_ENDIAN_DEFAULT): New.
18601 (TARGET_BIG_ENDIAN): Handle big endian.
18602 (BYTES_BIG_ENDIAN): Ditto.
18603 (WORDS_BIG_ENDIAN): Ditto.
18604 (FLOAT_WORDS_BIG_ENDIAN): Ditto.
18605 (ENDIAN_SPEC): New.
18606 (EXTRA_SPECS): New.
18607 * config/tilegx/tilegx.md (extv): Handle big endian.
18608 (extzv): Ditto.
18609 (insn_st<n>): Ditto.
18610 (insn_st<n>_add<bitsuffix>): Ditto.
18611 (insn_stnt<n>): Ditto.
18612 (insn_stnt<n>_add<bitsuffix>):Ditto.
18613 (vec_interleave_highv8qi): Handle big endian.
18614 (vec_interleave_highv8qi_be): New.
18615 (vec_interleave_highv8qi_le): New.
18616 (insn_v1int_h): Handle big endian.
18617 (vec_interleave_lowv8qi): Handle big endian.
18618 (vec_interleave_lowv8qi_be): New.
18619 (vec_interleave_lowv8qi_le): New.
18620 (insn_v1int_l): Handle big endian.
18621 (vec_interleave_highv4hi): Handle big endian.
18622 (vec_interleave_highv4hi_be): New.
18623 (vec_interleave_highv4hi_le): New.
18624 (insn_v2int_h): Handle big endian.
18625 (vec_interleave_lowv4hi): Handle big endian.
18626 (vec_interleave_lowv4hi_be): New.
18627 (vec_interleave_lowv4hi_le): New.
18628 (insn_v2int_l): Handle big endian.
18629 (vec_interleave_highv2si): Handle big endian.
18630 (vec_interleave_highv2si_be): New.
18631 (vec_interleave_highv2si_le): New.
18632 (insn_v4int_h): Handle big endian.
18633 (vec_interleave_lowv2si): Handle big endian.
18634 (vec_interleave_lowv2si_be): New.
18635 (vec_interleave_lowv2si_le): New.
18636 (insn_v4int_l): Handle big endian.
18637 * config/tilegx/tilegx.opt (mbig-endian): New option.
18638 (mlittle-endian): New option.
18639 * doc/install.texi: Document tilegxbe-linux.
18640 * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
18641
18642 2014-02-24 Martin Jambor <mjambor@suse.cz>
18643
18644 PR ipa/60266
18645 * ipa-cp.c (propagate_constants_accross_call): Bail out early if
18646 there are no parameter descriptors.
18647
18648 2014-02-24 Andrey Belevantsev <abel@ispras.ru>
18649
18650 PR rtl-optimization/60268
18651 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
18652 initialization to ...
18653 (sched_rgn_init): ... here.
18654 (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
18655
18656 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
18657
18658 * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
18659 names.
18660
18661 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
18662
18663 * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
18664 definition.
18665
18666 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
18667
18668 * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
18669 define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
18670
18671 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
18672
18673 * config/microblaze/predicates.md: Add cmp_op predicate.
18674 * config/microblaze/microblaze.md: Add branch_compare instruction
18675 which uses cmp_op predicate and emits cmp insn before branch.
18676 * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
18677 to microblaze_expand_conditional_branch and consolidate logic.
18678 (microblaze_expand_conditional_branch): emit branch_compare
18679 insn instead of handling cmp op separate from branch insn.
18680
18681 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18682
18683 * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
18684 to permit subregs.
18685
18686 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18687
18688 * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
18689 define_insn with define_expand and new define_insn
18690 *altivec_lve<VI_char>x_internal.
18691 (altivec_stve<VI_char>x): Replace define_insn with define_expand
18692 and new define_insn *altivec_stve<VI_char>x_internal.
18693 * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
18694 prototype.
18695 * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
18696 lve*x built-ins.
18697 (altivec_expand_stvex_be): New function.
18698
18699 2014-02-22 Joern Rennecke <joern.rennecke@embecosm.com>
18700
18701 * config/avr/avr.c (avr_can_eliminate): Allow elimination from
18702 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
18703 * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
18704 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
18705
18706 2014-02-21 Vladimir Makarov <vmakarov@redhat.com>
18707
18708 PR target/60298
18709 * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
18710 instead of emit_move_insn.
18711
18712 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18713
18714 * config/rs6000/altivec.md (altivec_vsumsws): Replace second
18715 vspltw with vsldoi.
18716 (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
18717 gen_altivec_vsumsws.
18718
18719 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18720
18721 * config/rs6000/altivec.md (altivec_lvxl): Rename as
18722 *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
18723 (altivec_lvxl_<mode>): New define_expand incorporating
18724 -maltivec=be semantics where needed.
18725 (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
18726 (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
18727 semantics where needed.
18728 (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
18729 (altivec_stvx_<mode>): New define_expand incorporating
18730 -maltivec=be semantics where needed.
18731 (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
18732 VM2 iterator instead of V4SI.
18733 (altivec_stvxl_<mode>): New define_expand incorporating
18734 -maltivec=be semantics where needed.
18735 * config/rs6000/rs6000-builtin.def: Add new built-in definitions
18736 LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
18737 LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
18738 STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
18739 STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
18740 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
18741 ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
18742 similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
18743 ALTIVEC_BUILTIN_STVXL.
18744 * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
18745 (altivec_expand_stvx_be): Likewise.
18746 * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
18747 (altivec_expand_lvx_be): Likewise.
18748 (altivec_expand_stvx_be): Likewise.
18749 (altivec_expand_builtin): Add cases for
18750 ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
18751 ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
18752 (altivec_init_builtins): Add definitions for
18753 __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
18754 __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
18755
18756 2014-02-21 Catherine Moore <clm@codesourcery.com>
18757
18758 * doc/invoke.texi (mvirt, mno-virt): Document.
18759 * config/mips/mips.opt (mvirt): New option.
18760 * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
18761
18762 2014-02-21 Richard Biener <rguenther@suse.de>
18763
18764 PR tree-optimization/60276
18765 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
18766 (STMT_VINFO_MIN_NEG_DIST): New macro.
18767 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
18768 STMT_VINFO_MIN_NEG_DIST.
18769 * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
18770 made for negative dependence distances still hold.
18771
18772 2014-02-21 Richard Biener <rguenther@suse.de>
18773
18774 PR middle-end/60291
18775 * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
18776 DECL_INITIAL for globals not in the current function context.
18777
18778 2014-02-21 Jakub Jelinek <jakub@redhat.com>
18779
18780 PR tree-optimization/56490
18781 * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
18782 * tree-ssa-uninit.c: Include params.h.
18783 (compute_control_dep_chain): Add num_calls argument, return false
18784 if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
18785 num_calls to recursive call.
18786 (find_predicates): Change dep_chain into normal array,
18787 cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
18788 variable and adjust compute_control_dep_chain caller.
18789 (find_def_preds): Likewise.
18790
18791 2014-02-21 Thomas Schwinge <thomas@codesourcery.com>
18792
18793 * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
18794 <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
18795
18796 2014-02-21 Nick Clifton <nickc@redhat.com>
18797
18798 * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
18799 (pushhi1): Likewise.
18800 (popqi1): Add mode to pre_dec.
18801 (pophi1): Likewise.
18802
18803 2014-02-21 Jakub Jelinek <jakub@redhat.com>
18804
18805 * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
18806 mode for mask of V8SFmode permutation.
18807
18808 2014-02-20 Richard Henderson <rth@redhat.com>
18809
18810 PR c++/60272
18811 * builtins.c (expand_builtin_atomic_compare_exchange): Always make
18812 a new pseudo for OLDVAL.
18813
18814 2014-02-20 Jakub Jelinek <jakub@redhat.com>
18815
18816 PR target/57896
18817 * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
18818 gen_reg_rtx if d->testing_p.
18819 (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
18820 if d->testing_p and we will certainly return true.
18821 (expand_vec_perm_even_odd_1): Likewise. Don't call gen_reg_rtx
18822 if d->testing_p.
18823
18824 2014-02-20 Uros Bizjak <ubizjak@gmail.com>
18825
18826 * emit-rtl.c (gen_reg_rtx): Assert that
18827 crtl->emit.regno_pointer_align_length is non-zero.
18828
18829 2014-02-20 Richard Henderson <rth@redhat.com>
18830
18831 PR c++/60272
18832 * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
18833 on failure the store back into EXPECT.
18834
18835 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com>
18836 Sandra Loosemore <sandra@codesourcery.com>
18837
18838 * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
18839 * config/nios2/nios2.c (nios2_function_profiler): Add
18840 -fPIC (flag_pic == 2) support.
18841 (nios2_handle_custom_fpu_cfg): Fix warning parameter.
18842 (nios2_large_offset_p): New function.
18843 (nios2_unspec_reloc_p): Move up position, update to use
18844 nios2_large_offset_p.
18845 (nios2_unspec_address): Remove function.
18846 (nios2_unspec_offset): New function.
18847 (nios2_large_got_address): New function.
18848 (nios2_got_address): Add large offset support.
18849 (nios2_legitimize_tls_address): Update usage of removed and new
18850 functions.
18851 (nios2_symbol_binds_local_p): New function.
18852 (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
18853 (nios2_legitimize_address): Update to use nios2_large_offset_p.
18854 (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
18855 (nios2_print_operand): Merge H/L processing, add hiadj/lo
18856 processing for (const (unspec ...)).
18857 (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
18858
18859 2014-02-20 Richard Biener <rguenther@suse.de>
18860
18861 * tree-cfg.c (replace_uses_by): Mark altered BBs before
18862 doing the substitution.
18863 (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
18864
18865 2014-02-20 Martin Jambor <mjambor@suse.cz>
18866
18867 PR ipa/55260
18868 * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
18869 info when checking whether lattices are bottom.
18870
18871 2014-02-20 Richard Biener <rguenther@suse.de>
18872
18873 PR middle-end/60221
18874 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
18875 regions at -O0.
18876
18877 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
18878
18879 PR ipa/58555
18880 * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
18881 parameter specifying the scaling.
18882 (inline_call): Update.
18883 (want_inline_recursively): Guard division by zero.
18884 (recursive_inlining): Update.
18885 * ipa-inline.h (clone_inlined_nodes): Update.
18886
18887 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
18888
18889 PR target/60204
18890 * config/i386/i386.c (classify_argument): Pass structures of size
18891 64 bytes or less in register.
18892
18893 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
18894 Kirill Yukhin <kirill.yukhin@intel.com>
18895
18896 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
18897 (_mm_rcp28_round_ss): Ditto.
18898 (_mm_rsqrt28_round_sd): Ditto.
18899 (_mm_rsqrt28_round_ss): Ditto.
18900 * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
18901 (_mm_rcp14_round_ss): Ditto.
18902 (_mm_rsqrt14_round_sd): Ditto.
18903 (_mm_rsqrt14_round_ss): Ditto.
18904 * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
18905 the first input operand, get rid of match_dup.
18906 (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
18907 attribute to sse.
18908 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
18909 Ditto.
18910 (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
18911 operand as the first input operand, set type attribute.
18912 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
18913 Set type attribute.
18914 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
18915 operand as the first input operand, set type attribute.
18916
18917 2014-02-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
18918
18919 * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
18920 bit of zero.
18921
18922 2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
18923
18924 PR target/60207
18925 * config/i386/i386.c (construct_container): Remove TFmode check
18926 for X86_64_INTEGER_CLASS.
18927
18928 2014-02-19 Uros Bizjak <ubizjak@gmail.com>
18929
18930 PR target/59794
18931 * config/i386/i386.c (type_natural_mode): Warn for ABI changes
18932 only when -Wpsabi is enabled.
18933
18934 2014-02-19 Michael Hudson-Doyle <michael.hudson@linaro.org>
18935
18936 PR target/59799
18937 * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
18938 passing arrays in registers are the same as for structs, so remove the
18939 special case for them.
18940
18941 2014-02-19 Eric Botcazou <ebotcazou@adacore.com>
18942
18943 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
18944 destination type, extract only the valid bits if the source type is not
18945 integral and has a different mode.
18946
18947 2014-02-19 Richard Biener <rguenther@suse.de>
18948
18949 PR ipa/60243
18950 * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
18951 for all calls.
18952
18953 2014-02-19 Richard Biener <rguenther@suse.de>
18954
18955 PR ipa/60243
18956 * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
18957 (ipa_modify_call_arguments): Emit an argument load explicitely and
18958 preserve virtual SSA form there and for the replacement call.
18959 Do not update SSA form nor free dominance info.
18960
18961 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
18962
18963 * ipa.c (function_and_variable_visibility): Also clear WEAK
18964 flag when disolving COMDAT_GROUP.
18965
18966 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
18967
18968 * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
18969 * ipa-prop.c (ipa_set_jf_known_type): Return early when
18970 not devirtualizing.
18971 (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
18972 do more sanity checks.
18973 (detect_type_change): Return true when giving up early.
18974 (compute_complex_assign_jump_func): Fix type parameter of
18975 ipa_set_ancestor_jf.
18976 (compute_complex_ancestor_jump_func): Likewise.
18977 (update_jump_functions_after_inlining): Fix updating of
18978 ancestor function.
18979 * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
18980
18981 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
18982
18983 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
18984 inline clones when edge disappears.
18985
18986 2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
18987
18988 PR target/60203
18989 * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
18990 Split 64-bit moves into 2 patterns. Do not allow the use of
18991 direct move for TDmode in little endian, since the decimal value
18992 has little endian bytes within a word, but the 64-bit pieces are
18993 ordered in a big endian fashion, and normal subreg's of TDmode are
18994 not allowed.
18995 (mov<mode>_64bit_dm): Likewise.
18996 (movtd_64bit_nodm): Likewise.
18997
18998 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
18999
19000 PR tree-optimization/60174
19001 * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
19002 statement of an SSA_NAME that occurs in an abnormal PHI node.
19003
19004 2014-02-18 Jakub Jelinek <jakub@redhat.com>
19005
19006 PR sanitizer/60142
19007 * final.c (SEEN_BB): Remove.
19008 (SEEN_NOTE, SEEN_EMITTED): Renumber.
19009 (final_scan_insn): Don't force_source_line on second
19010 NOTE_INSN_BASIC_BLOCK.
19011
19012 2014-02-18 Uros Bizjak <ubizjak@gmail.com>
19013
19014 PR target/60205
19015 * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
19016 * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
19017 (type_natural_mode): Warn ABI change when %zmm register is not
19018 available for AVX512F vector value passing.
19019
19020 2014-02-18 Kai Tietz <ktietz@redhat.com>
19021
19022 PR target/60193
19023 * config/i386/i386.c (ix86_expand_prologue): Use value in
19024 rax register as displacement when restoring %r10 or %rax.
19025 Fix wrong offset when restoring both registers.
19026
19027 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
19028
19029 * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
19030 assertion with conditional return.
19031
19032 2014-02-18 Jakub Jelinek <jakub@redhat.com>
19033 Uros Bizjak <ubizjak@gmail.com>
19034
19035 PR driver/60233
19036 * config/i386/driver-i386.c (host_detect_local_cpu): If
19037 YMM state is not saved by the OS, also clear has_f16c. Move
19038 CPUID 0x80000001 handling before YMM state saving checking.
19039
19040 2014-02-18 Andrey Belevantsev <abel@ispras.ru>
19041
19042 PR rtl-optimization/58960
19043 * haifa-sched.c (alloc_global_sched_pressure_data): New,
19044 factored out from ...
19045 (sched_init): ... here.
19046 (free_global_sched_pressure_data): New, factored out from ...
19047 (sched_finish): ... here.
19048 * sched-int.h (free_global_sched_pressure_data): Declare.
19049 * sched-rgn.c (nr_regions_initial): New static global.
19050 (haifa_find_rgns): Initialize it.
19051 (schedule_region): Disable sched-pressure for the newly
19052 generated regions.
19053
19054 2014-02-17 Richard Biener <rguenther@suse.de>
19055
19056 * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
19057 release SSA defs of pattern stmts.
19058
19059 2014-02-17 Richard Biener <rguenther@suse.de>
19060
19061 * tree-inline.c (expand_call_inline): Release the virtual
19062 operand defined by the call we are about to inline.
19063
19064 2014-02-17 Richard Biener <rguenther@suse.de>
19065
19066 * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
19067
19068 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com>
19069 Ilya Tocar <ilya.tocar@intel.com>
19070
19071 * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
19072 arguments order in builtin.
19073 (_mm512_permutexvar_epi64): Ditto.
19074 (_mm512_mask_permutexvar_epi64): Ditto
19075 (_mm512_maskz_permutexvar_epi32): Ditto
19076 (_mm512_permutexvar_epi32): Ditto
19077 (_mm512_mask_permutexvar_epi32): Ditto
19078
19079 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19080
19081 * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
19082 (p8_vmrgow): Likewise.
19083
19084 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19085
19086 * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
19087 endian targets.
19088
19089 2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
19090
19091 PR target/60203
19092 * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
19093 (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
19094 into 64-bit and 32-bit moves. On 64-bit moves, add support for
19095 using direct move instructions on ISA 2.07. Also adjust
19096 instruction length for 64-bit.
19097 (mov<mode>_64bit, TFmode/TDmode): Likewise.
19098 (mov<mode>_32bit, TFmode/TDmode): Likewise.
19099
19100 2014-02-15 Alan Modra <amodra@gmail.com>
19101
19102 PR target/58675
19103 PR target/57935
19104 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
19105 find_replacement on parts of insn rtl that might be reloaded.
19106
19107 2014-02-15 Richard Biener <rguenther@suse.de>
19108
19109 PR tree-optimization/60183
19110 * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
19111 (tree_ssa_phiprop): Calculate and free post-dominators.
19112
19113 2014-02-14 Jeff Law <law@redhat.com>
19114
19115 PR rtl-optimization/60131
19116 * ree.c (get_extended_src_reg): New function.
19117 (combine_reaching_defs): Use it rather than assuming location of REG.
19118 (find_and_remove_re): Verify first operand of extension is
19119 a REG before adding the insns to the copy list.
19120
19121 2014-02-14 Roland McGrath <mcgrathr@google.com>
19122
19123 * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
19124 * configure: Regenerated.
19125 * config.in: Regenerated.
19126 * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
19127 instead of ASM_SHORT.
19128
19129 2014-02-14 Vladimir Makarov <vmakarov@redhat.com>
19130 Richard Earnshaw <rearnsha@arm.com>
19131
19132 PR rtl-optimization/59535
19133 * lra-constraints.c (process_alt_operands): Encourage alternative
19134 when unassigned pseudo class is superset of the alternative class.
19135 (inherit_reload_reg): Don't inherit when optimizing for code size.
19136 * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
19137 returning CORE_REGS for anything but Thumb1 and BASE_REGS for
19138 modes not less than 4 for Thumb1.
19139
19140 2014-02-14 Kyle McMartin <kyle@redhat.com>
19141
19142 PR pch/60010
19143 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
19144
19145 2014-02-14 Richard Biener <rguenther@suse.de>
19146
19147 * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
19148 (get_frame_arg): Drop the assert with langhook types_compatible_p.
19149 Do not strip INDIRECT_REFs.
19150
19151 2014-02-14 Richard Biener <rguenther@suse.de>
19152
19153 PR lto/60179
19154 * lto-streamer-out.c (DFS_write_tree_body): Do not follow
19155 DECL_FUNCTION_SPECIFIC_TARGET.
19156 (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
19157 * tree-streamer-out.c (pack_ts_target_option): Remove.
19158 (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
19159 (write_ts_function_decl_tree_pointers): Do not stream
19160 DECL_FUNCTION_SPECIFIC_TARGET.
19161 * tree-streamer-in.c (unpack_ts_target_option): Remove.
19162 (unpack_value_fields): Do not stream TS_TARGET_OPTION.
19163 (lto_input_ts_function_decl_tree_pointers): Do not stream
19164 DECL_FUNCTION_SPECIFIC_TARGET.
19165
19166 2014-02-14 Jakub Jelinek <jakub@redhat.com>
19167
19168 * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
19169 (get_initial_def_for_induction, vectorizable_induction): Ignore
19170 debug stmts when looking for exit_phi.
19171 (vectorizable_live_operation): Fix up condition.
19172
19173 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
19174
19175 * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
19176 nreverse() because it changes the content of original tree list.
19177
19178 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
19179
19180 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
19181 * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
19182
19183 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
19184
19185 * config/nds32/nds32.c (nds32_naked_function_p): Follow the
19186 GNU coding standards.
19187
19188 2014-02-13 Jakub Jelinek <jakub@redhat.com>
19189
19190 PR debug/60152
19191 * dwarf2out.c (gen_subprogram_die): Don't call
19192 add_calling_convention_attribute if subr_die is old_die.
19193
19194 2014-02-13 Sharad Singhai <singhai@google.com>
19195
19196 * doc/optinfo.texi: Fix order of nodes.
19197
19198 2014-02-13 Uros Bizjak <ubizjak@gmail.com>
19199
19200 * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
19201 operands[2], not operands[3].
19202
19203 2014-02-13 Richard Biener <rguenther@suse.de>
19204
19205 PR bootstrap/59878
19206 * doc/install.texi (ISL): Update recommended version to 0.12.2,
19207 mention the possibility of an in-tree build.
19208 (CLooG): Update recommended version to 0.18.1, mention the
19209 possibility of an in-tree build and clarify that the ISL
19210 bundled with CLooG does not work.
19211
19212 2014-02-13 Jakub Jelinek <jakub@redhat.com>
19213
19214 PR target/43546
19215 * expr.c (compress_float_constant): If x is a hard register,
19216 extend into a pseudo and then move to x.
19217
19218 2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
19219
19220 * config/s390/s390.c (s390_asm_output_function_label): Fix crash
19221 caused by bad second argument to warning_at() with -mhotpatch and
19222 nested functions (e.g. with gfortran).
19223
19224 2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
19225
19226 * opts.c (option_name): Remove "enabled by default" rider.
19227
19228 2014-02-12 John David Anglin <danglin@gcc.gnu.org>
19229
19230 * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
19231
19232 2014-02-12 H.J. Lu <hongjiu.lu@intel.com>
19233 Uros Bizjak <ubizjak@gmail.com>
19234
19235 PR target/60151
19236 * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
19237 * configure: Regenerated.
19238
19239 2014-02-12 Richard Biener <rguenther@suse.de>
19240
19241 * vec.c (vec_prefix::calculate_allocation): Move as
19242 inline variant to vec.h.
19243 (vec_prefix::calculate_allocation_1): New out-of-line version.
19244 * vec.h (vec_prefix::calculate_allocation_1): Declare.
19245 (vec_prefix::m_has_auto_buf): Rename to ...
19246 (vec_prefix::m_using_auto_storage): ... this.
19247 (vec_prefix::calculate_allocation): Inline the easy cases
19248 and dispatch to calculate_allocation_1 which doesn't need the
19249 prefix address.
19250 (va_heap::reserve): Use gcc_checking_assert.
19251 (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
19252 m_using_auto_storage.
19253 (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
19254 member and adjust.
19255 (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
19256 (vec<T, va_heap, vl_ptr>::release): Avoid casting.
19257 (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
19258
19259 2014-02-12 Richard Biener <rguenther@suse.de>
19260
19261 * gcse.c (compute_transp): break from loop over canon_modify_mem_list
19262 when we found a dependence.
19263
19264 2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
19265
19266 * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
19267 common code...
19268 (maybe_fold_stmt): ... into this new function.
19269 * omp-low.c (lower_omp): Update comment.
19270
19271 * omp-low.c (lower_omp_target): Add clobber for sizes array, after
19272 last use.
19273
19274 * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
19275 dereference.
19276
19277 2014-02-12 James Greenhalgh <james.greenhalgh@arm.com>
19278
19279 * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
19280 identifiers in comments.
19281 (cortexa53_extra_costs): Likewise.
19282 * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
19283 (cortexa7_extra_costs): Likewise.
19284 (cortexa12_extra_costs): Likewise.
19285 (cortexa15_extra_costs): Likewise.
19286 (v7m_extra_costs): Likewise.
19287
19288 2014-02-12 Richard Biener <rguenther@suse.de>
19289
19290 PR middle-end/60092
19291 * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
19292 of posix_memalign being successful.
19293 (lower_stmt): Restrict lowering of posix_memalign to when
19294 -ftree-bit-ccp is enabled.
19295
19296 2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
19297
19298 * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
19299 arg_loc.
19300 * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
19301
19302 2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
19303
19304 PR rtl-optimization/60116
19305 * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
19306 other_insn once the combination has been validated.
19307
19308 2014-02-11 Jan Hubicka <hubicka@ucw.cz>
19309
19310 PR lto/59468
19311 * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
19312 and wrapper.
19313 * ipa-devirt.c: Include demangle.h
19314 (odr_violation_reported): New static variable.
19315 (add_type_duplicate): Update odr_violations.
19316 (maybe_record_node): Add completep parameter; update it.
19317 (record_target_from_binfo): Add COMPLETEP parameter;
19318 update it as needed.
19319 (possible_polymorphic_call_targets_1): Likewise.
19320 (struct polymorphic_call_target_d): Add nonconstruction_targets;
19321 rename FINAL to COMPLETE.
19322 (record_targets_from_bases): Sanity check we found the binfo;
19323 fix COMPLETEP updating.
19324 (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
19325 parameter, fix computing of COMPLETEP.
19326 (dump_possible_polymorphic_call_targets): Imrove readability of dump;
19327 at LTO time do demangling.
19328 (ipa_devirt): Use nonconstruction_targets; Improve dumps.
19329 * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
19330 parameter.
19331 (gimple_get_virt_method_for_binfo): Likewise.
19332 * gimple-fold.h (gimple_get_virt_method_for_binfo,
19333 gimple_get_virt_method_for_vtable): Update prototypes.
19334
19335 2014-02-11 Vladimir Makarov <vmakarov@redhat.com>
19336
19337 PR target/49008
19338 * genautomata.c (add_presence_absence): Fix typo with
19339 {final_}presence_list.
19340
19341 2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
19342
19343 PR target/60137
19344 * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
19345 for VSX/Altivec vectors that land in GPR registers.
19346
19347 2014-02-11 Richard Henderson <rth@redhat.com>
19348 Jakub Jelinek <jakub@redhat.com>
19349
19350 PR debug/59776
19351 * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
19352 around drhs if type conversion to lacc->type is not useless.
19353
19354 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19355
19356 * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
19357 tuning struct.
19358 (cortex-a57.cortex-a53): Likewise.
19359 * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
19360
19361 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19362
19363 * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
19364 arm_restrict_it.
19365
19366 2014-02-11 Renlin Li <Renlin.Li@arm.com>
19367
19368 * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
19369 add_options_for_arm_vfp3.
19370
19371 2014-02-11 Jeff Law <law@redhat.com>
19372
19373 PR middle-end/54041
19374 * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
19375 object with an undesirable mode.
19376
19377 2014-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19378
19379 PR libgomp/60107
19380 * config/i386/sol2-9.h: New file.
19381 * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
19382 *-*-solaris2.9*): Use it.
19383
19384 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
19385
19386 * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
19387 * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
19388
19389 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
19390
19391 * config/microblaze/microblaze.c: Extend mcpu version format
19392
19393 2014-02-10 David Holsgrove <david.holsgrove@xilinx.com>
19394
19395 * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
19396
19397 2014-02-10 Richard Henderson <rth@redhat.com>
19398
19399 PR target/59927
19400 * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
19401 * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
19402 ms-abi vs -mno-accumulate-outgoing-args.
19403 (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
19404 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
19405 respect to ms-abi.
19406
19407 2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
19408
19409 PR middle-end/60080
19410 * cfgexpand.c (expand_asm_operands): Attach source location to
19411 ASM_INPUT rtx objects.
19412 * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
19413
19414 2014-02-10 Nick Clifton <nickc@redhat.com>
19415
19416 * config/mn10300/mn10300.c (popcount): New function.
19417 (mn10300_expand_prologue): Include saved registers in stack usage
19418 count.
19419
19420 2014-02-10 Jeff Law <law@redhat.com>
19421
19422 PR middle-end/52306
19423 * reload1.c (emit_input_reload_insns): Do not create invalid RTL
19424 when changing the SET_DEST of a prior insn to avoid an input reload.
19425
19426 2014-02-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19427
19428 * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
19429 big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
19430 -mcall-openbsd, or -mcall-linux.
19431 (CC1_ENDIAN_BIG_SPEC): Remove.
19432 (CC1_ENDIAN_LITTLE_SPEC): Remove.
19433 (CC1_ENDIAN_DEFAULT_SPEC): Remove.
19434 (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
19435 (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
19436 and %cc1_endian_default.
19437 * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
19438
19439 2014-02-10 Richard Biener <rguenther@suse.de>
19440
19441 PR tree-optimization/60115
19442 * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
19443 MEM_REF handling. Properly verify that the accesses are not
19444 out of the objects bound.
19445
19446 2014-02-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19447
19448 * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
19449 coretex to cortex.
19450
19451 2014-02-10 Eric Botcazou <ebotcazou@adacore.com>
19452
19453 * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
19454 proper constants and fix formatting.
19455 (possible_polymorphic_call_targets): Fix formatting.
19456
19457 2014-02-10 Kirill Yukhin <kirill.yukhin@intel.com>
19458 Ilya Tocar <ilya.tocar@intel.com>
19459
19460 * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
19461 (_mm512_loadu_epi32): Renamed into...
19462 (_mm512_loadu_si512): This.
19463 (_mm512_storeu_epi32): Renamed into...
19464 (_mm512_storeu_si512): This.
19465 (_mm512_maskz_ceil_ps): Removed.
19466 (_mm512_maskz_ceil_pd): Ditto.
19467 (_mm512_maskz_floor_ps): Ditto.
19468 (_mm512_maskz_floor_pd): Ditto.
19469 (_mm512_floor_round_ps): Ditto.
19470 (_mm512_floor_round_pd): Ditto.
19471 (_mm512_ceil_round_ps): Ditto.
19472 (_mm512_ceil_round_pd): Ditto.
19473 (_mm512_mask_floor_round_ps): Ditto.
19474 (_mm512_mask_floor_round_pd): Ditto.
19475 (_mm512_mask_ceil_round_ps): Ditto.
19476 (_mm512_mask_ceil_round_pd): Ditto.
19477 (_mm512_maskz_floor_round_ps): Ditto.
19478 (_mm512_maskz_floor_round_pd): Ditto.
19479 (_mm512_maskz_ceil_round_ps): Ditto.
19480 (_mm512_maskz_ceil_round_pd): Ditto.
19481 (_mm512_expand_pd): Ditto.
19482 (_mm512_expand_ps): Ditto.
19483 * config/i386/i386.c (ix86_builtins): Remove
19484 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
19485 (bdesc_args): Ditto.
19486 * config/i386/predicates.md (const1256_operand): New.
19487 (const_1_to_2_operand): Ditto.
19488 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
19489 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
19490 (*avx512pf_gatherpf<mode>sf): Ditto.
19491 (avx512pf_gatherpf<mode>df): Ditto.
19492 (*avx512pf_gatherpf<mode>df_mask): Ditto.
19493 (*avx512pf_gatherpf<mode>df): Ditto.
19494 (avx512pf_scatterpf<mode>sf): Ditto.
19495 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
19496 (*avx512pf_scatterpf<mode>sf): Ditto.
19497 (avx512pf_scatterpf<mode>df): Ditto.
19498 (*avx512pf_scatterpf<mode>df_mask): Ditto.
19499 (*avx512pf_scatterpf<mode>df): Ditto.
19500 (avx512f_expand<mode>): Removed.
19501 (<shift_insn><mode>3<mask_name>): Change predicate type.
19502
19503 2014-02-08 Jakub Jelinek <jakub@redhat.com>
19504
19505 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
19506 not at the end of datarefs vector use ordered_remove to avoid
19507 reordering datarefs vector.
19508
19509 PR c/59984
19510 * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
19511 mark local addressable non-static vars as GOVD_PRIVATE
19512 instead of GOVD_LOCAL.
19513 * omp-low.c (lower_omp_for): Move gimple_bind_vars
19514 and BLOCK_VARS of gimple_bind_block to new_stmt rather
19515 than copying them.
19516
19517 PR middle-end/60092
19518 * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
19519 if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
19520 assume_aligned or alloc_align attributes.
19521 (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
19522 arguments. Handle also assume_aligned and alloc_align attributes.
19523 (evaluate_stmt): Adjust bit_value_assume_aligned caller. Handle
19524 calls to functions with assume_aligned or alloc_align attributes.
19525 * doc/extend.texi: Document assume_aligned and alloc_align attributes.
19526
19527 2014-02-08 Terry Guo <terry.guo@arm.com>
19528
19529 * doc/invoke.texi: Document ARM -march=armv7e-m.
19530
19531 2014-02-08 Jakub Jelinek <jakub@redhat.com>
19532
19533 * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
19534 flag on __cilkrts_rethrow builtin.
19535
19536 PR ipa/60026
19537 * ipa-cp.c (determine_versionability): Fail at -O0
19538 or __attribute__((optimize (0))) or -fno-ipa-cp functions.
19539 * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
19540
19541 Revert:
19542 2014-02-04 Jakub Jelinek <jakub@redhat.com>
19543
19544 PR ipa/60026
19545 * tree-inline.c (copy_forbidden): Fail for
19546 __attribute__((optimize (0))) functions.
19547
19548 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
19549
19550 * varpool.c: Include pointer-set.h.
19551 (varpool_remove_unreferenced_decls): Variables in other partitions
19552 will not be output; be however careful to not lose information
19553 about partitioning.
19554
19555 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
19556
19557 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
19558 lookup in the vtable constructor.
19559
19560 2014-02-07 Jeff Law <law@redhat.com>
19561
19562 PR target/40977
19563 * config/m68k/m68k.md (ashldi_extsi): Turn into a
19564 define_insn_and_split.
19565
19566 * ipa-inline.c (inline_small_functions): Fix typos.
19567
19568 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
19569
19570 * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
19571 (s390_can_use_return_insn): Declare.
19572 * config/s390/s390.h (EPILOGUE_USES): Define.
19573 * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
19574 instructions.
19575 (s390_chunkify_start): Handle return JUMP_LABELs.
19576 (s390_early_mach): Emit a main_pool instruction on the entry edge.
19577 (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
19578 (s390_can_use_return_insn): New functions.
19579 (s390_fix_long_loop_prediction): Handle conditional returns.
19580 (TARGET_SET_UP_BY_PROLOGUE): Define.
19581 * config/s390/s390.md (ANY_RETURN): New code iterator.
19582 (*creturn, *csimple_return, return, simple_return): New patterns.
19583
19584 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
19585
19586 * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
19587 notes to each restore. Also add REG_CFA_DEF_CFA when restoring %r15.
19588 (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P. Update the
19589 REG_CFA_RESTORE list when deciding not to restore a register.
19590
19591 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
19592
19593 * config/s390/s390.c: Include tree-pass.h and context.h.
19594 (s390_early_mach): New function, split out from...
19595 (s390_emit_prologue): ...here.
19596 (pass_data_s390_early_mach): New pass structure.
19597 (pass_s390_early_mach): New class.
19598 (s390_option_override): Create and register early_mach pass.
19599 Move to end of file.
19600
19601 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
19602
19603 * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
19604 to match for the exit block.
19605
19606 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19607
19608 * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
19609 ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
19610 Reject misaligned operands.
19611
19612 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19613
19614 * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
19615
19616 2014-02-07 Richard Biener <rguenther@suse.de>
19617
19618 PR middle-end/60092
19619 * gimple-low.c (lower_builtin_posix_memalign): New function.
19620 (lower_stmt): Call it to lower posix_memalign in a way
19621 to make alignment info accessible.
19622
19623 2014-02-07 Jakub Jelinek <jakub@redhat.com>
19624
19625 PR c++/60082
19626 * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
19627 __builtin_setjmp_receiver.
19628
19629 2014-02-07 Richard Biener <rguenther@suse.de>
19630
19631 PR middle-end/60092
19632 * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
19633 * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
19634 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
19635 Handle BUILT_IN_POSIX_MEMALIGN.
19636 (find_func_clobbers): Likewise.
19637 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
19638 (call_may_clobber_ref_p_1): Likewise.
19639
19640 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
19641
19642 PR ipa/59918
19643 * ipa-devirt.c (record_target_from_binfo): Remove overactive
19644 sanity check.
19645
19646 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
19647
19648 PR ipa/59469
19649 * lto-cgraph.c (lto_output_node): Use
19650 symtab_get_symbol_partitioning_class.
19651 (lto_output_varpool_node): likewise.
19652 (symtab_get_symbol_partitioning_class): Move here from
19653 lto/lto-partition.c
19654 * cgraph.h (symbol_partitioning_class): Likewise.
19655 (symtab_get_symbol_partitioning_class): Declare.
19656
19657 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
19658
19659 * ggc.h (ggc_internal_cleared_alloc): New macro.
19660 * vec.h (vec_safe_copy): Handle memory stats.
19661 * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
19662 * target-globals.c (save_target_globals): Likewise.
19663
19664 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
19665
19666 PR target/60077
19667 * expr.c (emit_move_resolve_push): Export; be bit more selective
19668 on when to clear alias set.
19669 * expr.h (emit_move_resolve_push): Declare.
19670 * function.h (struct function): Add tail_call_marked.
19671 * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
19672 * config/i386/i386-protos.h (ix86_expand_push): Remove.
19673 * config/i386/i386.md (TImode move expander): De not call
19674 ix86_expand_push.
19675 (FP push expanders): Preserve memory attributes.
19676 * config/i386/sse.md (push<mode>1): Remove.
19677 * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
19678 (ix86_expand_push): Remove.
19679 * config/i386/mmx.md (push<mode>1): Remove.
19680
19681 2014-02-06 Jakub Jelinek <jakub@redhat.com>
19682
19683 PR rtl-optimization/60030
19684 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
19685 lopart with paradoxical subreg before shifting it up by hprec.
19686
19687 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19688
19689 * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
19690 Remove extra newline at end of file.
19691 * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
19692 (arm_issue_rate): Handle cortexa57.
19693 * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
19694 (cortex-a57.cortex-a53): Likewise.
19695
19696 2014-02-06 Jakub Jelinek <jakub@redhat.com>
19697
19698 PR target/59575
19699 * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
19700 don't record in REG_FRAME_RELATED_EXPR registers not set in that
19701 bitmask.
19702 (arm_expand_prologue): Adjust all callers.
19703 (arm_unwind_emit_sequence): Allow saved, but not important for unwind
19704 info, registers also at the lowest numbered registers side. Use
19705 gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
19706 XEXP.
19707
19708 PR debug/59992
19709 * var-tracking.c (adjust_mems): Before adding a SET to
19710 amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
19711
19712 2014-02-06 Alan Modra <amodra@gmail.com>
19713
19714 PR target/60032
19715 * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
19716 change SDmode to DDmode when lra_in_progress.
19717
19718 2014-02-06 Jakub Jelinek <jakub@redhat.com>
19719
19720 PR middle-end/59150
19721 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
19722 free_data_ref on the dr first, and before goto again also set dr
19723 to the next dr. For simd_lane_access, free old datarefs[i] before
19724 overwriting it. For get_vectype_for_scalar_type failure, don't
19725 free_data_ref if simd_lane_access.
19726
19727 * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
19728
19729 PR target/60062
19730 * tree.h (opts_for_fn): New inline function.
19731 (opt_for_fn): Define.
19732 * config/i386/i386.c (ix86_function_regparm): Use
19733 opt_for_fn (decl, optimize) instead of optimize.
19734
19735 2014-02-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
19736
19737 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
19738 for SYMBOL_REF in large memory model.
19739
19740 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19741
19742 * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
19743 and crypto support.
19744 (cortex-a57): Likewise.
19745 (cortex-a57.cortex-a53): Likewise.
19746
19747 2014-02-06 Yury Gribov <y.gribov@samsung.com>
19748 Kugan Vivekanandarajah <kuganv@linaro.org>
19749
19750 * config/arm/arm.c (arm_vector_alignment_reachable): Check
19751 unaligned_access.
19752 * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
19753
19754 2014-02-06 Richard Biener <rguenther@suse.de>
19755
19756 * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
19757 set_loop_copy and initialize_original_copy_tables.
19758
19759 2014-02-06 Alex Velenko <Alex.Velenko@arm.com>
19760
19761 * config/aarch64/aarch64-simd.md
19762 (aarch64_ashr_simddi): Change QI to SI.
19763
19764 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
19765 Jakub Jelinek <jakub@redhat.com>
19766
19767 PR middle-end/60013
19768 * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
19769 of the dataflow.
19770
19771 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19772
19773 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
19774 CODE_FOR_altivec_vpku[hw]um to
19775 CODE_FOR_altivec_vpku[hw]um_direct.
19776 * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
19777 UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
19778 (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
19779 UNSPEC_VUNPACK_LO_SIGN_DIRECT.
19780
19781 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19782
19783 * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
19784 generation for -maltivec=be.
19785 (altivec_vsumsws): Simplify redundant test.
19786
19787 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
19788
19789 * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
19790 (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
19791 (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
19792 (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
19793 gen_altivec_vpkuwum.
19794 (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
19795 BYTES_BIG_ENDIAN.
19796 (altivec_vpks<VI_char>ss): Likewise.
19797 (altivec_vpks<VI_char>us): Likewise.
19798 (altivec_vpku<VI_char>us): Likewise.
19799 (altivec_vpku<VI_char>um): Likewise.
19800 (altivec_vpku<VI_char>um_direct): New (copy of
19801 altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
19802 internal use).
19803 (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
19804 target is little endian and -maltivec=be is not specified.
19805 (*altivec_vupkhs<VU_char>_direct): New (copy of
19806 altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
19807 (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
19808 target is little endian and -maltivec=be is not specified.
19809 (*altivec_vupkls<VU_char>_direct): New (copy of
19810 altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
19811 (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
19812 little endian and -maltivec=be is not specified.
19813 (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
19814 little endian and -maltivec=be is not specified.
19815
19816 2014-02-05 Richard Henderson <rth@redhat.com>
19817
19818 PR debug/52727
19819 * combine-stack-adj.c: Revert r206943.
19820 * sched-int.h (struct deps_desc): Add last_args_size.
19821 * sched-deps.c (init_deps): Initialize it.
19822 (sched_analyze_insn): Add OUTPUT dependencies between insns that
19823 contain REG_ARGS_SIZE notes.
19824
19825 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
19826
19827 * lto-cgraph.c (asm_nodes_output): Make global.
19828 * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
19829 * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
19830 (driver_handle_option): Handle OPT_fwpa.
19831
19832 2014-02-05 Jakub Jelinek <jakub@redhat.com>
19833
19834 PR ipa/59947
19835 * ipa-devirt.c (possible_polymorphic_call_targets): Fix
19836 a comment typo and formatting issue. If odr_hash hasn't been
19837 created, return vNULL and set *completep to false.
19838
19839 PR middle-end/57499
19840 * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
19841 bb with no successors.
19842
19843 2014-02-05 James Greenhalgh <james.greenhalgh@arm.com>
19844
19845 PR target/59718
19846 * doc/invoke.texi (-march): Clarify documentation for ARM.
19847 (-mtune): Likewise.
19848 (-mcpu): Likewise.
19849
19850 2014-02-05 Richard Biener <rguenther@suse.de>
19851
19852 * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
19853 when not vectorizing because of too many alias checks.
19854 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
19855 Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
19856
19857 2014-02-05 Nick Clifton <nickc@redhat.com>
19858
19859 * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
19860 accept extended registers in any mode when compiling for the MN10300.
19861
19862 2014-02-05 Yury Gribov <y.gribov@samsung.com>
19863
19864 * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
19865 * ipa-inline.c (report_inline_failed_reason): Handle mismatched
19866 sanitization attributes.
19867 (can_inline_edge_p): Likewise.
19868 (sanitize_attrs_match_for_inline_p): New function.
19869
19870 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
19871
19872 * ipa-prop.c (detect_type_change): Shor circuit testing of
19873 type changes on THIS pointer.
19874
19875 2014-02-04 John David Anglin <danglin@gcc.gnu.org>
19876
19877 PR target/59777
19878 * config/pa/pa.c (legitimize_tls_address): Return original address
19879 if not passed a SYMBOL_REF rtx.
19880 (hppa_legitimize_address): Call legitimize_tls_address for all TLS
19881 addresses.
19882 (pa_emit_move_sequence): Simplify TLS source operands.
19883 (pa_legitimate_constant_p): Reject all TLS constants.
19884 * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
19885 (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
19886
19887 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
19888
19889 * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
19890 groups when we know they are controlled by LTO.
19891 * varasm.c (default_binds_local_p_1): If object is in other partition,
19892 it will be resolved locally.
19893
19894 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
19895
19896 * config/host-linux.c (linux_gt_pch_use_address): Don't
19897 use SSIZE_MAX because it is not always defined.
19898
19899 2014-02-04 Vladimir Makarov <vmakarov@redhat.com>
19900
19901 PR bootstrap/59913
19902 * lra-constraints.c (need_for_split_p): Use more 3 reloads as
19903 threshold for pseudo splitting.
19904 (update_ebb_live_info): Process call argument hard registers and
19905 hard registers from insn definition too.
19906 (max_small_class_regs_num): New constant.
19907 (inherit_in_ebb): Update live hard regs through EBBs. Update
19908 reloads_num only for small register classes. Don't split for
19909 outputs of jumps.
19910
19911 2014-02-04 Markus Trippelsdorf <markus@trippelsdorf.de>
19912
19913 PR ipa/60058
19914 * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
19915 is non-null.
19916
19917 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
19918
19919 * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
19920 visibility is safe.
19921
19922 2014-02-04 Marek Polacek <polacek@redhat.com>
19923
19924 * gdbinit.in (pel): Define.
19925
19926 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
19927
19928 * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
19929 behavior.
19930
19931 2014-02-04 Richard Biener <rguenther@suse.de>
19932
19933 PR lto/59723
19934 * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
19935 in function context local.
19936 (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
19937 * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
19938 similar to LTO_imported_decl_ref.
19939
19940 2014-02-04 Jakub Jelinek <jakub@redhat.com>
19941
19942 PR tree-optimization/60002
19943 * cgraphclones.c (build_function_decl_skip_args): Clear
19944 DECL_LANG_SPECIFIC.
19945
19946 PR tree-optimization/60023
19947 * tree-if-conv.c (predicate_mem_writes): Pass true instead of
19948 false to gsi_replace.
19949 * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
19950 has been in some EH region and vec_stmt could throw, add
19951 vec_stmt into the same EH region.
19952 * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
19953 has no lhs, ignore it.
19954 * internal-fn.c (expand_MASK_LOAD): Likewise.
19955
19956 PR ipa/60026
19957 * tree-inline.c (copy_forbidden): Fail for
19958 __attribute__((optimize (0))) functions.
19959
19960 PR other/58712
19961 * omp-low.c (simd_clone_struct_copy): If from->inbranch
19962 is set, copy one less argument.
19963 (expand_simd_clones): Don't subtract clone_info->inbranch
19964 from simd_clone_struct_alloc argument.
19965
19966 PR rtl-optimization/57915
19967 * recog.c (simplify_while_replacing): If all unary/binary/relational
19968 operation arguments are constant, attempt to simplify those.
19969
19970 PR middle-end/59261
19971 * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
19972 if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
19973
19974 2014-02-04 Richard Biener <rguenther@suse.de>
19975
19976 PR tree-optimization/60012
19977 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
19978 TBAA disambiguation to all DDRs.
19979
19980 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19981
19982 PR target/59788
19983 * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
19984 (LINK_SPEC): Use it for -shared, -shared-libgcc.
19985
19986 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
19987
19988 PR ipa/59882
19989 * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
19990
19991 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
19992
19993 * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
19994 * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
19995
19996 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
19997
19998 PR ipa/59831
19999 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
20000 to figure out targets of polymorphic calls with known decl.
20001 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
20002 * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
20003 * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
20004 (get_polymorphic_call_info): ... here.
20005 (get_polymorphic_call_info_from_invariant): New function.
20006
20007 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
20008
20009 * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
20010 lookup via vtable pointer; check for type consistency
20011 and turn inconsitent facts into UNREACHABLE.
20012 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
20013 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
20014 type inconsistent querries; return UNREACHABLE instead.
20015
20016 2014-02-03 Richard Henderson <rth@twiddle.net>
20017
20018 PR tree-opt/59924
20019 * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
20020 already processed this node.
20021 (normalize_one_pred_1): Pass along mark_set.
20022 (normalize_one_pred): Create and destroy a pointer_set_t.
20023 (normalize_one_pred_chain): Likewise.
20024
20025 2014-02-03 Laurent Aflonsi <laurent.alfonsi@st.com>
20026
20027 PR gcov-profile/58602
20028 * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
20029
20030 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
20031
20032 PR ipa/59831
20033 * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
20034 -fno-devirtualize; try to devirtualize by the knowledge of
20035 virtual table pointer given by aggregate propagation.
20036 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
20037 (ipa_print_node_jump_functions): Dump also offset that
20038 is relevant for polymorphic calls.
20039 (determine_known_aggregate_parts): Add arg_type parameter; use it
20040 instead of determining the type from pointer type.
20041 (ipa_compute_jump_functions_for_edge): Update call of
20042 determine_known_aggregate_parts.
20043 * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
20044 (gimple_get_virt_method_for_binfo): ... here; simplify using
20045 vtable_pointer_value_to_vtable.
20046 * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
20047 * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
20048 to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
20049 (vtable_pointer_value_to_vtable): Break out from ...; handle also
20050 POINTER_PLUS_EXPR.
20051 (vtable_pointer_value_to_binfo): ... here.
20052 * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
20053
20054 2014-02-03 Teresa Johnson <tejohnson@google.com>
20055
20056 * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
20057 redef of outer loop index variable.
20058
20059 2014-02-03 Marc Glisse <marc.glisse@inria.fr>
20060
20061 PR c++/53017
20062 PR c++/59211
20063 * doc/extend.texi (Function Attributes): Typo.
20064
20065 2014-02-03 Cong Hou <congh@google.com>
20066
20067 PR tree-optimization/60000
20068 * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
20069 if the vectorized statement is a store. A store statement can only
20070 appear at the end of pattern statements.
20071
20072 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
20073
20074 * config/i386/i386.c (flag_opts): Add -mlong-double-128.
20075 (ix86_option_override_internal): Default long double to 64-bit for
20076 32-bit Bionic and to 128-bit for 64-bit Bionic.
20077
20078 * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
20079 TARGET_LONG_DOUBLE_128 is true.
20080 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
20081
20082 * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
20083 (mlong-double-64): Negate -mlong-double-128.
20084 (mlong-double-128): New option.
20085
20086 * config/i386/i386-c.c (ix86_target_macros): Define
20087 __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
20088
20089 * doc/invoke.texi: Document -mlong-double-128.
20090
20091 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
20092
20093 PR rtl-optimization/60024
20094 * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
20095
20096 2014-02-03 Markus Trippelsdorf <markus@trippelsdorf.de>
20097
20098 * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
20099
20100 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
20101
20102 PR rtl-optimization/57662
20103 * sel-sched.c (code_motion_path_driver): Do not mark already not
20104 existing blocks in the visiting bitmap.
20105
20106 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
20107
20108 * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
20109 on the insn being emitted.
20110
20111 2014-02-03 James Greenhalgh <james.greenhalgh@arm.com>
20112 Will Deacon <will.deacon@arm.com>
20113
20114 * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
20115
20116 2014-02-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20117
20118 * config/arm/arm-tables.opt: Regenerate.
20119
20120 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20121
20122 * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
20123 for vector types other than V16QImode.
20124 * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
20125 define_expand, and call altivec_expand_vec_perm_le when producing
20126 code with little endian element order.
20127 (*altivec_vperm_<mode>_internal): New insn having previous
20128 behavior of altivec_vperm_<mode>.
20129 (altivec_vperm_<mode>_uns): Change to a define_expand, and call
20130 altivec_expand_vec_perm_le when producing code with little endian
20131 element order.
20132 (*altivec_vperm_<mode>_uns_internal): New insn having previous
20133 behavior of altivec_vperm_<mode>_uns.
20134
20135 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20136
20137 * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
20138 (altivec_vsumsws): Add handling for -maltivec=be with a little
20139 endian target.
20140 (altivec_vsumsws_direct): New.
20141 (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
20142 gen_altivec_vsumsws.
20143
20144 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
20145
20146 * ipa-devirt.c (subbinfo_with_vtable_at_offset,
20147 vtable_pointer_value_to_binfo): New functions.
20148 * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
20149 * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
20150
20151 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
20152
20153 * config/nios2/nios2.md (load_got_register): Initialize GOT
20154 pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
20155 * config/nios2/nios2.c (nios2_function_profiler): Likewise.
20156
20157 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
20158
20159 * ipa-prop.c (update_jump_functions_after_inlining): When type is not
20160 preserverd by passthrough, do not propagate the type.
20161
20162 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
20163
20164 * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
20165 (mips_atomic_assign_expand_fenv): New function.
20166 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
20167
20168 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
20169
20170 * doc/extend.texi (__builtin_mips_get_fcsr): Document.
20171 (__builtin_mips_set_fcsr): Likewise.
20172 * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
20173 MIPS_USI_FTYPE_VOID.
20174 * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
20175 (mips16_expand_set_fcsr): Likewise.
20176 * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
20177 (mips16_set_fcsr_stub): Likewise.
20178 (mips16_get_fcsr_one_only_stub): New class.
20179 (mips16_set_fcsr_one_only_stub): Likewise.
20180 (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
20181 (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
20182 (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
20183 (hard_float): New availability predicate.
20184 (mips_builtins): Add get_fcsr and set_fcsr.
20185 (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
20186 * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
20187 (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
20188 (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
20189 (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
20190 patterns.
20191
20192 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
20193
20194 * config/mips/mips.c (mips_one_only_stub): New class.
20195 (mips_need_mips16_rdhwr_p): Replace with...
20196 (mips16_rdhwr_stub): ...this new variable.
20197 (mips16_stub_call_address): New function.
20198 (mips16_rdhwr_one_only_stub): New class.
20199 (mips_expand_thread_pointer): Use mips16_stub_call_address.
20200 (mips_output_mips16_rdhwr): Delete.
20201 (mips_finish_stub): New function.
20202 (mips_code_end): Use it to handle rdhwr stubs.
20203
20204 2014-02-02 Uros Bizjak <ubizjak@gmail.com>
20205
20206 PR target/60017
20207 * config/i386/i386.c (classify_argument): Fix handling of bit_offset
20208 when calculating size of integer atomic types.
20209
20210 2014-02-02 H.J. Lu <hongjiu.lu@intel.com>
20211
20212 * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
20213
20214 2014-02-01 Jakub Jelinek <jakub@redhat.com>
20215
20216 PR tree-optimization/60003
20217 * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
20218 * profile.c (branch_prob): Use gimple_call_builtin_p
20219 to check for BUILT_IN_SETJMP_RECEIVER.
20220 * tree-inline.c (copy_bb): Call notice_special_calls.
20221
20222 2014-01-31 Vladimir Makarov <vmakarov@redhat.com>
20223
20224 PR bootstrap/59985
20225 * lra-constraints.c (process_alt_operands): Update reload_sum only
20226 on the first pass.
20227
20228 2014-01-31 Richard Henderson <rth@redhat.com>
20229
20230 PR middle-end/60004
20231 * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
20232 until after else_eh is processed.
20233
20234 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
20235
20236 * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
20237 (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
20238 (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
20239 in smmintrin.h, remove them.
20240 (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
20241 * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
20242 * config/i386/i386.md (ROUND_SAE): Fix value.
20243 * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
20244 (const48_operand): New.
20245 * config/i386/subst.md (round), (round_expand): Use
20246 const_4_or_8_to_11_operand.
20247 (round_saeonly), (round_saeonly_expand): Use const48_operand.
20248
20249 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
20250
20251 * config/i386/constraints.md (Yk): Swap meaning with k.
20252 * config/i386/i386.md (movhi_internal): Change Yk to k.
20253 (movqi_internal): Ditto.
20254 (*k<logic><mode>): Ditto.
20255 (*andhi_1): Ditto.
20256 (*andqi_1): Ditto.
20257 (kandn<mode>): Ditto.
20258 (*<code>hi_1): Ditto.
20259 (*<code>qi_1): Ditto.
20260 (kxnor<mode>): Ditto.
20261 (kortestzhi): Ditto.
20262 (kortestchi): Ditto.
20263 (kunpckhi): Ditto.
20264 (*one_cmplhi2_1): Ditto.
20265 (*one_cmplqi2_1): Ditto.
20266 * config/i386/sse.md (): Change k to Yk.
20267 (avx512f_load<mode>_mask): Ditto.
20268 (avx512f_blendm<mode>): Ditto.
20269 (avx512f_store<mode>_mask): Ditto.
20270 (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
20271 (avx512f_storedqu<mode>_mask): Ditto.
20272 (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
20273 Ditto.
20274 (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
20275 (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
20276 (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
20277 (avx512f_maskcmp<mode>3): Ditto.
20278 (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
20279 (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
20280 (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
20281 (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
20282 (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
20283 (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
20284 (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
20285 (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
20286 (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
20287 (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
20288 (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
20289 (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
20290 (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
20291 (vec_extract_lo_<mode>_maskm): Ditto.
20292 (vec_extract_hi_<mode>_maskm): Ditto.
20293 (avx512f_vternlog<mode>_mask): Ditto.
20294 (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
20295 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
20296 (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
20297 (avx512f_<code>v8div16qi2_mask): Ditto.
20298 (avx512f_<code>v8div16qi2_mask_store): Ditto.
20299 (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
20300 (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
20301 (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
20302 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
20303 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
20304 (*avx512pf_gatherpf<mode>df_mask): Ditto.
20305 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
20306 (*avx512pf_scatterpf<mode>df_mask): Ditto.
20307 (avx512cd_maskb_vec_dupv8di): Ditto.
20308 (avx512cd_maskw_vec_dupv16si): Ditto.
20309 (avx512f_vpermi2var<mode>3_maskz): Ditto.
20310 (avx512f_vpermi2var<mode>3_mask): Ditto.
20311 (avx512f_vpermi2var<mode>3_mask): Ditto.
20312 (avx512f_vpermt2var<mode>3_maskz): Ditto.
20313 (*avx512f_gathersi<mode>): Ditto.
20314 (*avx512f_gathersi<mode>_2): Ditto.
20315 (*avx512f_gatherdi<mode>): Ditto.
20316 (*avx512f_gatherdi<mode>_2): Ditto.
20317 (*avx512f_scattersi<mode>): Ditto.
20318 (*avx512f_scatterdi<mode>): Ditto.
20319 (avx512f_compress<mode>_mask): Ditto.
20320 (avx512f_compressstore<mode>_mask): Ditto.
20321 (avx512f_expand<mode>_mask): Ditto.
20322 * config/i386/subst.md (mask): Change k to Yk.
20323 (mask_scalar_merge): Ditto.
20324 (sd): Ditto.
20325
20326 2014-01-31 Marc Glisse <marc.glisse@inria.fr>
20327
20328 * doc/extend.texi (Vector Extensions): Document ?: in C++.
20329
20330 2014-01-31 Richard Biener <rguenther@suse.de>
20331
20332 PR middle-end/59990
20333 * builtins.c (fold_builtin_memory_op): Make sure to not
20334 use a floating-point mode or a boolean or enumeral type for
20335 the copy operation.
20336
20337 2014-01-30 DJ Delorie <dj@redhat.com>
20338
20339 * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
20340 * config/msp430/msp430.md (msp430_refsym_need_exit): New.
20341 * config/msp430/msp430.c (msp430_expand_epilogue): Call it
20342 whenever main() has an epilogue.
20343
20344 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20345
20346 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
20347 unused variable "field".
20348 * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
20349 (vsx_mergeh_<mode>): Likewise.
20350 * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
20351 (altivec_vmrghh): Likewise.
20352 (altivec_vmrghw): Likewise.
20353 (altivec_vmrglb): Likewise.
20354 (altivec_vmrglh): Likewise.
20355 (altivec_vmrglw): Likewise.
20356 (altivec_vspltb): Add missing uses.
20357 (altivec_vsplth): Likewise.
20358 (altivec_vspltw): Likewise.
20359 (altivec_vspltsf): Likewise.
20360
20361 2014-01-30 Jakub Jelinek <jakub@redhat.com>
20362
20363 PR target/59923
20364 * ifcvt.c (cond_exec_process_insns): Don't conditionalize
20365 frame related instructions.
20366
20367 2014-01-30 Vladimir Makarov <vmakarov@redhat.com>
20368
20369 PR rtl-optimization/59959
20370 * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
20371 any reload of register whose subreg is invalid.
20372
20373 2014-01-30 Jakub Jelinek <jakub@redhat.com>
20374
20375 * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
20376 * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
20377 Add missing return type - void.
20378
20379 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20380
20381 * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
20382 gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
20383 remove element index adjustment for endian (now handled in vsx.md
20384 and altivec.md).
20385 (altivec_expand_vec_perm_const): Use
20386 gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
20387 * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
20388 (vsx_xxspltw_<mode>): Adjust element index for little endian.
20389 * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
20390 define_expand and a new define_insn *altivec_vspltb_internal;
20391 adjust for -maltivec=be on a little endian target.
20392 (altivec_vspltb_direct): New.
20393 (altivec_vsplth): Divide into a define_expand and a new
20394 define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
20395 little endian target.
20396 (altivec_vsplth_direct): New.
20397 (altivec_vspltw): Divide into a define_expand and a new
20398 define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
20399 little endian target.
20400 (altivec_vspltw_direct): New.
20401 (altivec_vspltsf): Divide into a define_expand and a new
20402 define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
20403 a little endian target.
20404
20405 2014-01-30 Richard Biener <rguenther@suse.de>
20406
20407 PR tree-optimization/59993
20408 * tree-ssa-forwprop.c (associate_pointerplus): Check we
20409 can propagate form the earlier stmt and avoid the transform
20410 when the intermediate result is needed.
20411
20412 2014-01-30 Alangi Derick <alangiderick@gmail.com>
20413
20414 * README.Portability: Fix typo.
20415
20416 2014-01-30 David Holsgrove <david.holsgrove@xilinx.com>
20417
20418 * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
20419 comparison_operator with ordered_comparison_operator.
20420
20421 2014-01-30 Nick Clifton <nickc@redhat.com>
20422
20423 * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
20424 Rename to mn10300_store_multiple_regs.
20425 * config/mn10300/mn10300.c: Likewise.
20426 * config/mn10300/mn10300.md (store_movm): Fix typo: call
20427 store_multiple_regs.
20428 * config/mn10300/predicates.md (mn10300_store_multiple_operation):
20429 Call mn10300_store_multiple_regs.
20430
20431 2014-01-30 Nick Clifton <nickc@redhat.com>
20432 DJ Delorie <dj@redhat.com>
20433
20434 * config/rl78/rl78.c (register_sizes): Make the "upper half" of
20435 %fp 2 to keep registers after it properly word-aligned.
20436 (rl78_alloc_physical_registers_umul): Handle the case where both
20437 input operands are the same.
20438
20439 2014-01-30 Richard Biener <rguenther@suse.de>
20440
20441 PR tree-optimization/59903
20442 * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
20443 check properly.
20444
20445 2014-01-30 Jason Merrill <jason@redhat.com>
20446
20447 PR c++/59633
20448 * tree.c (walk_type_fields): Handle VECTOR_TYPE.
20449
20450 PR c++/59645
20451 * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
20452
20453 2014-01-30 Richard Biener <rguenther@suse.de>
20454
20455 PR tree-optimization/59951
20456 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
20457
20458 2014-01-30 Savin Zlobec <savin.zlobec@gmail.com>
20459
20460 PR target/59784
20461 * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
20462 SFmode to DFmode case.
20463
20464 2014-01-29 DJ Delorie <dj@redhat.com>
20465
20466 * config/msp430/msp430.opt (-minrt): New.
20467 * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
20468 if -minrt given.
20469 (ENDFILE_SPEC): Likewise.
20470
20471 2014-01-29 Jan Hubicka <hubicka@ucw.cz>
20472
20473 * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
20474 (estimate_function_body_sizes): Use it.
20475
20476 2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
20477
20478 PR c++/58561
20479 * dwarf2out.c (is_cxx_auto): New.
20480 (is_base_type): Use it.
20481 (gen_type_die_with_usage): Likewise.
20482
20483 2014-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20484
20485 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Use
20486 CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
20487 * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
20488 -maltivec=be with LE targets.
20489 (vsx_mergeh_<mode>): Likewise.
20490 * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
20491 (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
20492 (altivec_vmrghb): Replace with define_expand and new
20493 *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
20494 (altivec_vmrghb_direct): New define_insn.
20495 (altivec_vmrghh): Replace with define_expand and new
20496 *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
20497 (altivec_vmrghh_direct): New define_insn.
20498 (altivec_vmrghw): Replace with define_expand and new
20499 *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
20500 (altivec_vmrghw_direct): New define_insn.
20501 (*altivec_vmrghsf): Adjust for endianness.
20502 (altivec_vmrglb): Replace with define_expand and new
20503 *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
20504 (altivec_vmrglb_direct): New define_insn.
20505 (altivec_vmrglh): Replace with define_expand and new
20506 *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
20507 (altivec_vmrglh_direct): New define_insn.
20508 (altivec_vmrglw): Replace with define_expand and new
20509 *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
20510 (altivec_vmrglw_direct): New define_insn.
20511 (*altivec_vmrglsf): Adjust for endianness.
20512 (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
20513 (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
20514 (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
20515 (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
20516 (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
20517 (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
20518 (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
20519 (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
20520
20521 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
20522
20523 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
20524 (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
20525 whitespace.
20526
20527 2014-01-29 Richard Biener <rguenther@suse.de>
20528
20529 PR tree-optimization/58742
20530 * tree-ssa-forwprop.c (associate_pointerplus): Rename to
20531 associate_pointerplus_align.
20532 (associate_pointerplus_diff): New function.
20533 (associate_pointerplus): Likewise. Call associate_pointerplus_align
20534 and associate_pointerplus_diff.
20535
20536 2014-01-29 Richard Biener <rguenther@suse.de>
20537
20538 * lto-streamer.h (LTO_major_version): Bump to 3.
20539 (LTO_minor_version): Reset to 0.
20540
20541 2014-01-29 Renlin Li <Renlin.Li@arm.com>
20542
20543 * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
20544 * config/arm/arm.c (FL_FOR_ARCH7VE): New.
20545 (arm_file_start): Generate correct asm header for armv7ve.
20546 * config/arm/bpabi.h: Add multilib support for armv7ve.
20547 * config/arm/driver-arm.c: Change the architectures of cortex-a7
20548 and cortex-a15 to armv7ve.
20549 * config/arm/t-aprofile: Add multilib support for armv7ve.
20550 * doc/invoke.texi: Document -march=armv7ve.
20551
20552 2014-01-29 Richard Biener <rguenther@suse.de>
20553
20554 PR tree-optimization/58742
20555 * tree-ssa-forwprop.c (associate_plusminus): Return true
20556 if we changed sth, defer EH cleanup to ...
20557 (ssa_forward_propagate_and_combine): ... here. Call simplify_mult.
20558 (simplify_mult): New function.
20559
20560 2014-01-29 Jakub Jelinek <jakub@redhat.com>
20561
20562 PR middle-end/59917
20563 PR tree-optimization/59920
20564 * tree.c (build_common_builtin_nodes): Remove
20565 __builtin_setjmp_dispatcher initialization.
20566 * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
20567 * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
20568 instead of gsi_after_labels + manually skipping debug stmts.
20569 Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
20570 ignore bbs with IFN_ABNORMAL_DISPATCHER.
20571 * tree-inline.c (copy_edges_for_bb): Remove
20572 can_make_abnormal_goto argument, instead add abnormal_goto_dest
20573 argument. Ignore computed_goto_p stmts. Don't call
20574 make_abnormal_goto_edges. If a call might need abnormal edges
20575 for non-local gotos, see if it already has an edge to
20576 IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
20577 with true argument, don't do anything then, otherwise add
20578 EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
20579 (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
20580 caller.
20581 * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
20582 (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
20583 (lower_stmt): Don't set data->calls_builtin_setjmp.
20584 (lower_builtin_setjmp): Adjust comment.
20585 * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
20586 * tree-cfg.c (found_computed_goto): Remove.
20587 (factor_computed_gotos): Remove.
20588 (make_goto_expr_edges): Return bool, true for computed gotos.
20589 Don't call make_abnormal_goto_edges.
20590 (build_gimple_cfg): Don't set found_computed_goto, don't call
20591 factor_computed_gotos.
20592 (computed_goto_p): No longer static.
20593 (make_blocks): Don't set found_computed_goto.
20594 (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
20595 (make_edges): If make_goto_expr_edges returns true, push bb
20596 into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
20597 instead of calling make_abnormal_goto_edges push bb into ab_edge_call
20598 vector. Record mapping between bbs and OpenMP regions if there
20599 are any, adjust make_gimple_omp_edges caller. Call
20600 handle_abnormal_edges.
20601 (make_abnormal_goto_edges): Remove.
20602 * tree-cfg.h (make_abnormal_goto_edges): Remove.
20603 (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
20604 * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
20605 * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
20606 * internal-fn.def (ABNORMAL_DISPATCHER): New.
20607 * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
20608 filling *region also set *region_idx to (*region)->entry->index.
20609
20610 PR other/58712
20611 * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
20612 For REGs set ORIGINAL_REGNO.
20613
20614 2014-01-29 Bingfeng Mei <bmei@broadcom.com>
20615
20616 * doc/md.texi: Mention that a target shouldn't implement
20617 vec_widen_(s|u)mul_even/odd pair if it is less efficient
20618 than hi/lo pair.
20619
20620 2014-01-29 Jakub Jelinek <jakub@redhat.com>
20621
20622 PR tree-optimization/59594
20623 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
20624 a copy of the datarefs vector rather than the vector itself.
20625
20626 2014-01-28 Jason Merrill <jason@redhat.com>
20627
20628 PR c++/53756
20629 * dwarf2out.c (auto_die): New static.
20630 (gen_type_die_with_usage): Handle C++1y 'auto'.
20631 (gen_subprogram_die): If in-class DIE had 'auto', emit type again
20632 on definition.
20633
20634 2014-01-28 H.J. Lu <hongjiu.lu@intel.com>
20635
20636 PR target/59672
20637 * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
20638 (SPEC_X32): Likewise.
20639 (SPEC_64): Likewise.
20640 * config/i386/i386.c (ix86_option_override_internal): Turn off
20641 OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
20642 for TARGET_16BIT.
20643 (x86_file_start): Output .code16gcc for TARGET_16BIT.
20644 * config/i386/i386.h (TARGET_16BIT): New macro.
20645 (TARGET_16BIT_P): Likewise.
20646 * config/i386/i386.opt: Add m16.
20647 * doc/invoke.texi: Document -m16.
20648
20649 2014-01-28 Jakub Jelinek <jakub@redhat.com>
20650
20651 PR preprocessor/59935
20652 * input.c (location_get_source_line): Bail out on when line number
20653 is zero, and test the return value of lookup_or_add_file_to_cache_tab.
20654
20655 2014-01-28 Richard Biener <rguenther@suse.de>
20656
20657 PR tree-optimization/58742
20658 * tree-ssa-forwprop.c (associate_plusminus): Handle
20659 pointer subtraction of the form (T)(P + A) - (T)P.
20660
20661 2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20662
20663 * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
20664 at const_int_cost.
20665
20666 2014-01-28 Richard Biener <rguenther@suse.de>
20667
20668 Revert
20669 2014-01-28 Richard Biener <rguenther@suse.de>
20670
20671 PR rtl-optimization/45364
20672 PR rtl-optimization/59890
20673 * var-tracking.c (local_get_addr_clear_given_value): Handle
20674 already cleared slot.
20675 (val_reset): Handle not allocated local_get_addr_cache.
20676 (vt_find_locations): Use post-order on the inverted CFG.
20677
20678 2014-01-28 Richard Biener <rguenther@suse.de>
20679
20680 * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
20681
20682 2014-01-28 Richard Biener <rguenther@suse.de>
20683
20684 PR rtl-optimization/45364
20685 PR rtl-optimization/59890
20686 * var-tracking.c (local_get_addr_clear_given_value): Handle
20687 already cleared slot.
20688 (val_reset): Handle not allocated local_get_addr_cache.
20689 (vt_find_locations): Use post-order on the inverted CFG.
20690
20691 2014-01-28 Alan Modra <amodra@gmail.com>
20692
20693 * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
20694 * configure.ac <recursive call for build != host>: Define
20695 GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
20696 and LD_FOR_BUILD too.
20697 * configure: Regenerate.
20698
20699 2014-01-27 Allan Sandfeld Jensen <sandfeld@kde.org>
20700
20701 * config/i386/i386.c (get_builtin_code_for_version): Separate
20702 Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
20703 Broadwell from Haswell.
20704
20705 2014-01-27 Steve Ellcey <sellcey@mips.com>
20706
20707 * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
20708 Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
20709 * config/mips/mips.c (mips_option_override): Change setting
20710 of TARGET_DSP.
20711 * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
20712 * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
20713 Change from Mask to Var.
20714
20715 2014-01-27 Jeff Law <law@redhat.com>
20716
20717 * ipa-inline.c (inline_small_functions): Fix typo.
20718
20719 2014-01-27 Ilya Tocar <ilya.tocar@intel.com>
20720
20721 * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
20722 (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
20723 (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
20724 (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
20725 (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
20726 (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
20727 (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
20728 (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
20729 (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
20730 (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
20731 (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
20732 (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
20733 (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
20734 (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
20735 (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
20736 (_mm512_storeu_epi64): Ditto.
20737 (_mm512_cmpge_epi32_mask): Ditto.
20738 (_mm512_cmpge_epu32_mask): Ditto.
20739 (_mm512_cmpge_epi64_mask): Ditto.
20740 (_mm512_cmpge_epu64_mask): Ditto.
20741 (_mm512_cmple_epi32_mask): Ditto.
20742 (_mm512_cmple_epu32_mask): Ditto.
20743 (_mm512_cmple_epi64_mask): Ditto.
20744 (_mm512_cmple_epu64_mask): Ditto.
20745 (_mm512_cmplt_epi32_mask): Ditto.
20746 (_mm512_cmplt_epu32_mask): Ditto.
20747 (_mm512_cmplt_epi64_mask): Ditto.
20748 (_mm512_cmplt_epu64_mask): Ditto.
20749 (_mm512_cmpneq_epi32_mask): Ditto.
20750 (_mm512_cmpneq_epu32_mask): Ditto.
20751 (_mm512_cmpneq_epi64_mask): Ditto.
20752 (_mm512_cmpneq_epu64_mask): Ditto.
20753 (_mm512_expand_pd): Ditto.
20754 (_mm512_expand_ps): Ditto.
20755 * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
20756 VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
20757 VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
20758 * config/i386/i386.c (ix86_builtins): Add
20759 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
20760 IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
20761 IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
20762 IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
20763 IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
20764 IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
20765 IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
20766 IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
20767 IX86_BUILTIN_PMOVUSQW512_MEM.
20768 (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
20769 __builtin_ia32_pmovsqd512mem_mask,
20770 __builtin_ia32_pmovqd512mem_mask,
20771 __builtin_ia32_pmovusqw512mem_mask,
20772 __builtin_ia32_pmovsqw512mem_mask,
20773 __builtin_ia32_pmovqw512mem_mask,
20774 __builtin_ia32_pmovusdw512mem_mask,
20775 __builtin_ia32_pmovsdw512mem_mask,
20776 __builtin_ia32_pmovdw512mem_mask,
20777 __builtin_ia32_pmovqb512mem_mask,
20778 __builtin_ia32_pmovusqb512mem_mask,
20779 __builtin_ia32_pmovsqb512mem_mask,
20780 __builtin_ia32_pmovusdb512mem_mask,
20781 __builtin_ia32_pmovsdb512mem_mask,
20782 __builtin_ia32_pmovdb512mem_mask.
20783 (bdesc_args): Add __builtin_ia32_expanddf512,
20784 __builtin_ia32_expandsf512.
20785 (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
20786 VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
20787 VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
20788 * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
20789 (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
20790 (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
20791 (avx512f_<code>v8div16qi2_mask_store): This.
20792 (avx512f_expand<mode>): New.
20793
20794 2014-01-27 Kirill Yukhin <kirill.yukhin@intel.com>
20795
20796 * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
20797 New.
20798 (_mm512_mask_prefetch_i64gather_pd): Ditto.
20799 (_mm512_prefetch_i32scatter_pd): Ditto.
20800 (_mm512_mask_prefetch_i32scatter_pd): Ditto.
20801 (_mm512_prefetch_i64scatter_pd): Ditto.
20802 (_mm512_mask_prefetch_i64scatter_pd): Ditto.
20803 (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
20804 (_mm512_mask_prefetch_i64gather_ps): Ditto.
20805 (_mm512_prefetch_i32scatter_ps): Ditto.
20806 (_mm512_mask_prefetch_i32scatter_ps): Ditto.
20807 (_mm512_prefetch_i64scatter_ps): Ditto.
20808 (_mm512_mask_prefetch_i64scatter_ps): Ditto.
20809 * config/i386/i386-builtin-types.def: Define
20810 VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
20811 and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
20812 * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
20813 IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
20814 IX86_BUILTIN_SCATTERPFQPD.
20815 (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
20816 __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
20817 __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
20818 __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
20819 __builtin_ia32_scatterpfqps.
20820 (ix86_expand_builtin): Expand new built-ins.
20821 * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
20822 fix memory access data type.
20823 (*avx512pf_gatherpf<mode>_mask): Ditto.
20824 (*avx512pf_gatherpf<mode>): Ditto.
20825 (avx512pf_scatterpf<mode>): Ditto.
20826 (*avx512pf_scatterpf<mode>_mask): Ditto.
20827 (*avx512pf_scatterpf<mode>): Ditto.
20828 (GATHER_SCATTER_SF_MEM_MODE): New.
20829 (avx512pf_gatherpf<mode>df): Ditto.
20830 (*avx512pf_gatherpf<mode>df_mask): Ditto.
20831 (*avx512pf_scatterpf<mode>df): Ditto.
20832
20833 2014-01-27 Jakub Jelinek <jakub@redhat.com>
20834
20835 PR bootstrap/59934
20836 * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
20837 know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
20838 reached.
20839
20840 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
20841
20842 * common/config/arm/arm-common.c
20843 (arm_rewrite_mcpu): Handle multiple names.
20844 * config/arm/arm.h
20845 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
20846
20847 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
20848
20849 * gimple-builder.h (create_gimple_tmp): Delete.
20850
20851 2014-01-27 Christian Bruel <christian.bruel@st.com>
20852
20853 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
20854 words comparisons.
20855
20856 2014-01-26 John David Anglin <danglin@gcc.gnu.org>
20857
20858 * config/pa/pa.md (call): Generate indirect long calls to non-local
20859 functions when outputing 32-bit code.
20860 (call_value): Likewise except for special call to buggy powf function.
20861
20862 * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
20863 portable runtime and PIC indirect calls.
20864 (pa_output_indirect_call): Remove unnecessary nop from portable runtime
20865 and PIC call sequences. Use ldo instead of blr to set return register
20866 in PIC call sequence.
20867
20868 2014-01-25 Walter Lee <walt@tilera.com>
20869
20870 * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
20871 avoid clobbering a live register.
20872
20873 2014-01-25 Walter Lee <walt@tilera.com>
20874
20875 * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
20876 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
20877 * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
20878 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
20879
20880 2014-01-25 Walter Lee <walt@tilera.com>
20881
20882 * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
20883 arguments on even registers.
20884 (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
20885 STACK_BOUNDARY.
20886 * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
20887 (BIGGEST_ALIGNMENT): Ditto.
20888 (BIGGEST_FIELD_ALIGNMENT): Ditto.
20889
20890 2014-01-25 Walter Lee <walt@tilera.com>
20891
20892 * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
20893 insns before bundling.
20894 * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
20895
20896 2014-01-25 Walter Lee <walt@tilera.com>
20897
20898 * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
20899 PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
20900 * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
20901
20902 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
20903
20904 * config/mips/constraints.md (kl): Delete.
20905 * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
20906 define expands, using...
20907 (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
20908 instructions for MIPS16.
20909 (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
20910 non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
20911
20912 2014-01-25 Walter Lee <walt@tilera.com>
20913
20914 * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
20915 (clzdi2): Ditto.
20916 (ffsdi2): Ditto.
20917
20918 2014-01-25 Walter Lee <walt@tilera.com>
20919
20920 * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
20921 (TARGET_EXPAND_TO_RTL_HOOK): Define.
20922
20923 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
20924
20925 * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
20926 Handle XOR.
20927
20928 2014-01-25 Jakub Jelinek <jakub@redhat.com>
20929
20930 * print-rtl.c (in_call_function_usage): New var.
20931 (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
20932 EXPR_LIST mode as mode and not as reg note name.
20933
20934 PR middle-end/59561
20935 * cfgloopmanip.c (copy_loop_info): If
20936 loop->warned_aggressive_loop_optimizations, make sure
20937 the flag is set in target loop too.
20938
20939 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
20940
20941 * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
20942 flag_cilkplus.
20943 * builtins.def: Likewise.
20944 * cilk.h (fn_contains_cilk_spawn_p): Likewise.
20945 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
20946 * ira.c (ira_setup_eliminable_regset): Likewise.
20947 * omp-low.c (gate_expand_omp): Likewise.
20948 (execute_lower_omp): Likewise.
20949 (diagnose_sb_0): Likewise.
20950 (gate_diagnose_omp_blocks): Likewise.
20951 (simd_clone_clauses_extract): Likewise.
20952 (gate): Likewise.
20953
20954 2014-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
20955
20956 * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
20957 correction for little endian...
20958 * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
20959 here.
20960
20961 2014-01-24 Jeff Law <law@redhat.com>
20962
20963 PR tree-optimization/59919
20964 * tree-vrp.c (find_assert_locations_1): Do not register asserts
20965 for non-returning calls.
20966
20967 2014-01-24 James Greenhalgh <james.greenhalgh@arm.com>
20968
20969 * common/config/aarch64/aarch64-common.c
20970 (aarch64_rewrite_mcpu): Handle multiple names.
20971 * config/aarch64/aarch64.h
20972 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
20973
20974 2014-01-24 Dodji Seketeli <dodji@redhat.com>
20975
20976 * input.c (add_file_to_cache_tab): Handle the case where fopen
20977 returns NULL.
20978
20979 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
20980
20981 PR target/59929
20982 * config/i386/i386.md (pushsf splitter): Get stack adjustment
20983 from push operand if code of push isn't PRE_DEC.
20984
20985 2014-01-23 Michael Meissner <meissner@linux.vnet.ibm.com>
20986
20987 PR target/59909
20988 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
20989 -mquad-memory-atomic. Update -mquad-memory documentation to say
20990 it is only used for non-atomic loads/stores.
20991
20992 * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
20993 -mquad-memory or -mquad-memory-atomic switches.
20994
20995 * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
20996 -mquad-memory-atomic to ISA 2.07 support.
20997
20998 * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
20999 to separate support of normal quad word memory operations (ldq, stq)
21000 from the atomic quad word memory operations.
21001
21002 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
21003 support to separate non-atomic quad word operations from atomic
21004 quad word operations. Disable non-atomic quad word operations in
21005 little endian mode so that we don't have to swap words after the
21006 load and before the store.
21007 (quad_load_store_p): Add comment about atomic quad word support.
21008 (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
21009 options printed with -mdebug=reg.
21010
21011 * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
21012 -mquad-memory-atomic as the test for whether we have quad word
21013 atomic instructions.
21014 (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
21015 or -mp8-vector are used, allow byte/half-word atomic operations.
21016
21017 * config/rs6000/sync.md (load_lockedti): Insure that the address
21018 is a proper indexed or indirect address for the lqarx instruction.
21019 On little endian systems, swap the hi/lo registers after the lqarx
21020 instruction.
21021 (load_lockedpti): Use indexed_or_indirect_operand predicate to
21022 insure the address is valid for the lqarx instruction.
21023 (store_conditionalti): Insure that the address is a proper indexed
21024 or indirect address for the stqcrx. instruction. On little endian
21025 systems, swap the hi/lo registers before doing the stqcrx.
21026 instruction.
21027 (store_conditionalpti): Use indexed_or_indirect_operand predicate to
21028 insure the address is valid for the stqcrx. instruction.
21029
21030 * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
21031 Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
21032 type of quad memory support is available.
21033
21034 2014-01-23 Vladimir Makarov <vmakarov@redhat.com>
21035
21036 PR regression/59915
21037 * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
21038 there is a danger of looping.
21039
21040 2014-01-23 Pat Haugen <pthaugen@us.ibm.com>
21041
21042 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
21043 force flag_ira_loop_pressure if set via command line.
21044
21045 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
21046
21047 * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
21048 (ashr_simd): New builtin handling DI mode.
21049 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
21050 (aarch64_sshr_simddi): New match pattern.
21051 * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
21052 (vshrd_n_s64): Likewise.
21053 * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
21054
21055 2014-01-23 Nick Clifton <nickc@redhat.com>
21056
21057 * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
21058 (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
21059 favour of mcu specific scripts.
21060 * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
21061 430x multilibs.
21062
21063 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
21064 Alex Velenko <Alex.Velenko@arm.com>
21065
21066 * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
21067 (vaddv_s16): Likewise.
21068 (vaddv_s32): Likewise.
21069 (vaddv_u8): Likewise.
21070 (vaddv_u16): Likewise.
21071 (vaddv_u32): Likewise.
21072 (vaddvq_s8): Likewise.
21073 (vaddvq_s16): Likewise.
21074 (vaddvq_s32): Likewise.
21075 (vaddvq_s64): Likewise.
21076 (vaddvq_u8): Likewise.
21077 (vaddvq_u16): Likewise.
21078 (vaddvq_u32): Likewise.
21079 (vaddvq_u64): Likewise.
21080 (vaddv_f32): Likewise.
21081 (vaddvq_f32): Likewise.
21082 (vaddvq_f64): Likewise.
21083 (vmaxv_f32): Likewise.
21084 (vmaxv_s8): Likewise.
21085 (vmaxv_s16): Likewise.
21086 (vmaxv_s32): Likewise.
21087 (vmaxv_u8): Likewise.
21088 (vmaxv_u16): Likewise.
21089 (vmaxv_u32): Likewise.
21090 (vmaxvq_f32): Likewise.
21091 (vmaxvq_f64): Likewise.
21092 (vmaxvq_s8): Likewise.
21093 (vmaxvq_s16): Likewise.
21094 (vmaxvq_s32): Likewise.
21095 (vmaxvq_u8): Likewise.
21096 (vmaxvq_u16): Likewise.
21097 (vmaxvq_u32): Likewise.
21098 (vmaxnmv_f32): Likewise.
21099 (vmaxnmvq_f32): Likewise.
21100 (vmaxnmvq_f64): Likewise.
21101 (vminv_f32): Likewise.
21102 (vminv_s8): Likewise.
21103 (vminv_s16): Likewise.
21104 (vminv_s32): Likewise.
21105 (vminv_u8): Likewise.
21106 (vminv_u16): Likewise.
21107 (vminv_u32): Likewise.
21108 (vminvq_f32): Likewise.
21109 (vminvq_f64): Likewise.
21110 (vminvq_s8): Likewise.
21111 (vminvq_s16): Likewise.
21112 (vminvq_s32): Likewise.
21113 (vminvq_u8): Likewise.
21114 (vminvq_u16): Likewise.
21115 (vminvq_u32): Likewise.
21116 (vminnmv_f32): Likewise.
21117 (vminnmvq_f32): Likewise.
21118 (vminnmvq_f64): Likewise.
21119
21120 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
21121
21122 * config/aarch64/aarch64-simd.md
21123 (aarch64_dup_lane<mode>): Correct lane number on big-endian.
21124 (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
21125 (*aarch64_mul3_elt<mode>): Likewise.
21126 (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
21127 (*aarch64_mul3_elt_to_64v2df): Likewise.
21128 (*aarch64_mla_elt<mode>): Likewise.
21129 (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
21130 (*aarch64_mls_elt<mode>): Likewise.
21131 (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
21132 (*aarch64_fma4_elt<mode>): Likewise.
21133 (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
21134 (*aarch64_fma4_elt_to_64v2df): Likewise.
21135 (*aarch64_fnma4_elt<mode>): Likewise.
21136 (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
21137 (*aarch64_fnma4_elt_to_64v2df): Likewise.
21138 (aarch64_sq<r>dmulh_lane<mode>): Likewise.
21139 (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
21140 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
21141 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
21142 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
21143 (aarch64_sqdmull_lane<mode>_internal): Likewise.
21144 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
21145
21146 2013-01-23 Alex Velenko <Alex.Velenko@arm.com>
21147
21148 * config/aarch64/aarch64-simd.md
21149 (aarch64_be_checked_get_lane<mode>): New define_expand.
21150 * config/aarch64/aarch64-simd-builtins.def
21151 (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
21152 New builtin definition.
21153 * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
21154 Use new safe be builtin.
21155
21156 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
21157
21158 * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
21159 New define_insn.
21160 (aarch64_be_st1<mode>): Likewise.
21161 (aarch_ld1<VALL:mode>): Define_expand modified.
21162 (aarch_st1<VALL:mode>): Likewise.
21163 * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
21164 (UNSPEC_ST1): Likewise.
21165
21166 2014-01-23 David Holsgrove <david.holsgrove@xilinx.com>
21167
21168 * config/microblaze/microblaze.md: Add trap insn and attribute
21169
21170 2014-01-23 Dodji Seketeli <dodji@redhat.com>
21171
21172 PR preprocessor/58580
21173 * input.h (location_get_source_line): Take an additional line_size
21174 parameter.
21175 (void diagnostics_file_cache_fini): Declare new function.
21176 * input.c (struct fcache): New type.
21177 (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
21178 New static constants.
21179 (diagnostic_file_cache_init, total_lines_num)
21180 (lookup_file_in_cache_tab, evicted_cache_tab_entry)
21181 (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
21182 (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
21183 (get_next_line, read_next_line, goto_next_line, read_line_num):
21184 New static function definitions.
21185 (diagnostic_file_cache_fini): New function.
21186 (location_get_source_line): Take an additional output line_len
21187 parameter. Re-write using lookup_or_add_file_to_cache_tab and
21188 read_line_num.
21189 * diagnostic.c (diagnostic_finish): Call
21190 diagnostic_file_cache_fini.
21191 (adjust_line): Take an additional input parameter for the length
21192 of the line, rather than calculating it with strlen.
21193 (diagnostic_show_locus): Adjust the use of
21194 location_get_source_line and adjust_line with respect to their new
21195 signature. While displaying a line now, do not stop at the first
21196 null byte. Rather, display the zero byte as a space and keep
21197 going until we reach the size of the line.
21198 * Makefile.in: Add vec.o to OBJS-libcommon
21199
21200 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
21201 Ilya Tocar <ilya.tocar@intel.com>
21202
21203 * config/i386/avx512fintrin.h (_mm512_kmov): New.
21204 * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
21205 (__builtin_ia32_kmov16): Ditto.
21206 * config/i386/i386.md (UNSPEC_KMOV): New.
21207 (kmovw): Ditto.
21208
21209 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
21210
21211 * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
21212 (_mm512_storeu_si512): Ditto.
21213
21214 2014-01-23 Richard Sandiford <rdsandiford@googlemail.com>
21215
21216 PR target/52125
21217 * rtl.h (get_referenced_operands): Declare.
21218 * recog.c (get_referenced_operands): New function.
21219 * config/mips/mips.c (mips_reorg_process_insns): Check which asm
21220 operands have been referenced when recording LO_SUM references.
21221
21222 2014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
21223
21224 * config/microblaze/microblaze.md: Correct bswaphi2 insn.
21225
21226 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
21227
21228 * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
21229 Enable for generic and recent AMD targets.
21230
21231 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
21232
21233 * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
21234 ARG_SIZE note when adjustment was eliminated.
21235
21236 2014-01-22 Jeff Law <law@redhat.com>
21237
21238 PR tree-optimization/59597
21239 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
21240 in file. Accept new argument REGISTERING and use it to modify
21241 dump output appropriately.
21242 (register_jump_thread): Corresponding changes.
21243 (mark_threaded_blocks): Reinstate code to cancel unprofitable
21244 thread paths involving joiner blocks. Add code to dump cancelled
21245 jump threading paths.
21246
21247 2014-01-22 Vladimir Makarov <vmakarov@redhat.com>
21248
21249 PR rtl-optimization/59477
21250 * lra-constraints.c (inherit_in_ebb): Process call for living hard
21251 regs. Update reloads_num and potential_reload_hard_regs for all insns.
21252
21253 2014-01-22 Tom Tromey <tromey@redhat.com>
21254
21255 * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
21256 PARAMS.
21257 * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
21258
21259 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
21260
21261 PR rtl-optimization/59896
21262 * lra-constraints.c (process_alt_operands): Check unused note for
21263 matched operands of insn with no output reloads.
21264
21265 2014-01-21 Richard Sandiford <rdsandiford@googlemail.com>
21266
21267 * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
21268 (mips_move_from_gpr_cost): Likewise.
21269
21270 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
21271
21272 PR rtl-optimization/59858
21273 * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
21274 ira_class_hard_regs_num.
21275 (process_alt_operands): Increase reject for dying matched operand.
21276
21277 2014-01-21 Jakub Jelinek <jakub@redhat.com>
21278
21279 PR target/59003
21280 * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
21281 smaller than size, perform several stores or loads and stores
21282 at dst + count - size to store or copy all of size bytes, rather
21283 than just last modesize bytes.
21284
21285 2014-01-20 DJ Delorie <dj@redhat.com>
21286
21287 * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
21288 that CLOBBERs are REGs before propogating their values.
21289
21290 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21291
21292 PR middle-end/59789
21293 * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
21294 (cgraph_inline_failed_type): New function.
21295 * cgraph.h (DEFCIFCODE): Add type.
21296 (cgraph_inline_failed_type_t): New enum.
21297 (cgraph_inline_failed_type): New prototype.
21298 * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
21299 FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
21300 FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
21301 LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
21302 MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
21303 RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
21304 OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
21305 INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
21306 Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
21307 FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
21308 EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
21309 OPTIMIZATION_MISMATCH.
21310 * tree-inline.c (expand_call_inline): Emit errors during
21311 early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
21312
21313 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
21314
21315 PR target/59685
21316 * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
21317 mode attribute in insn output.
21318
21319 2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
21320
21321 * output.h (output_constant): Delete.
21322 * varasm.c (output_constant): Make private.
21323
21324 2014-01-20 Alex Velenko <Alex.Velenko@arm.com>
21325
21326 * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
21327
21328 2014-01-20 Jakub Jelinek <jakub@redhat.com>
21329
21330 PR middle-end/59860
21331 * tree.h (fold_builtin_strcat): New prototype.
21332 * builtins.c (fold_builtin_strcat): No longer static. Add len
21333 argument, if non-NULL, don't call c_strlen. Optimize
21334 directly into __builtin_memcpy instead of __builtin_strcpy.
21335 (fold_builtin_2): Adjust fold_builtin_strcat caller.
21336 * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
21337
21338 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
21339
21340 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
21341 for SImode_address_operand operands, having only a REG argument.
21342
21343 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
21344
21345 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
21346 loader name using mbig-endian.
21347 (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
21348
21349 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
21350
21351 * doc/invoke.texi (-march): Clarify documentation for AArch64.
21352 (-mtune): Likewise.
21353 (-mcpu): Likewise.
21354
21355 2014-01-20 Tejas Belagod <tejas.belagod@arm.com>
21356
21357 * config/aarch64/aarch64-protos.h
21358 (aarch64_cannot_change_mode_class_ptr): Declare.
21359 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
21360 aarch64_cannot_change_mode_class_ptr): New.
21361 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
21362 backend hook aarch64_cannot_change_mode_class.
21363
21364 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
21365
21366 * common/config/aarch64/aarch64-common.c
21367 (aarch64_handle_option): Don't handle any option order logic here.
21368 * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
21369 selected_cpu, warn on architecture version mismatch.
21370 (aarch64_override_options): Fix parsing order for option strings.
21371
21372 2014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de>
21373 Iain Sandoe <iain@codesourcery.com>
21374
21375 PR bootstrap/59496
21376 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
21377 warning. Amend comment to reflect current functionality.
21378
21379 2014-01-20 Richard Biener <rguenther@suse.de>
21380
21381 PR middle-end/59860
21382 * builtins.c (fold_builtin_strcat): Remove case better handled
21383 by tree-ssa-strlen.c.
21384
21385 2014-01-20 Alan Lawrence <alan.lawrence@arm.com>
21386
21387 * config/aarch64/aarch64.opt
21388 (mcpu, march, mtune): Make case-insensitive.
21389
21390 2014-01-20 Jakub Jelinek <jakub@redhat.com>
21391
21392 PR target/59880
21393 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
21394 if operands[1] is a REG or ZERO_EXTEND of a REG.
21395
21396 2014-01-19 Jan Hubicka <hubicka@ucw.cz>
21397
21398 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
21399
21400 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
21401
21402 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
21403 long non-pic millicode calls.
21404
21405 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
21406
21407 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
21408
21409 2014-01-19 Kito Cheng <kito@0xlab.org>
21410
21411 * builtins.c (expand_movstr): Check movstr expand done or fail.
21412
21413 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
21414 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 PR target/59379
21417 * config/i386/i386.md (*lea<mode>): Zero-extend return register
21418 to DImode for zero-extended addresses.
21419
21420 2014-01-19 Jakub Jelinek <jakub@redhat.com>
21421
21422 PR rtl-optimization/57763
21423 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
21424 on the new indirect jump_insn and increment LABEL_NUSES (label).
21425
21426 2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 PR bootstrap/59580
21429 PR bootstrap/59583
21430 * config.gcc (x86_archs): New variable.
21431 (x86_64_archs): Likewise.
21432 (x86_cpus): Likewise.
21433 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
21434 --with-arch/--with-cpu= options.
21435 Support --with-arch=/--with-cpu={nehalem,westmere,
21436 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
21437
21438 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
21439
21440 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
21441 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
21442
21443 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
21444
21445 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
21446
21447 2014-01-18 Jakub Jelinek <jakub@redhat.com>
21448
21449 PR target/58944
21450 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
21451 clear cpp_get_options (parse_in)->warn_unused_macros for
21452 ix86_target_macros_internal with cpp_define.
21453
21454 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
21455
21456 * jump.c (delete_related_insns): Keep (use (insn))s.
21457 * reorg.c (redundant_insn): Check for barriers too.
21458
21459 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
21462
21463 2014-01-17 John David Anglin <danglin@gcc.gnu.org>
21464
21465 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
21466 call to $$dyncall when TARGET_LONG_CALLS is true.
21467
21468 2014-01-17 Jeff Law <law@redhat.com>
21469
21470 * ree.c (combine_set_extension): Temporarily disable test for
21471 changing number of hard registers.
21472
21473 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
21474
21475 PR middle-end/58125
21476 * ipa-inline-analysis.c (inline_free_summary):
21477 Do not free summary of aliases.
21478
21479 2014-01-17 Jakub Jelinek <jakub@redhat.com>
21480
21481 PR middle-end/59706
21482 * gimplify.c (gimplify_expr): Use create_tmp_var
21483 instead of create_tmp_var_raw. If cond doesn't have
21484 integral type, don't add the IFN_ANNOTATE builtin at all.
21485
21486 2014-01-17 Martin Jambor <mjambor@suse.cz>
21487
21488 PR ipa/59736
21489 * ipa-cp.c (prev_edge_clone): New variable.
21490 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
21491 Also resize prev_edge_clone vector.
21492 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
21493 (ipcp_edge_removal_hook): New function.
21494 (ipcp_driver): Register ipcp_edge_removal_hook.
21495
21496 2014-01-17 Andrew Pinski <apinski@cavium.com>
21497 Steve Ellcey <sellcey@mips.com>
21498
21499 PR target/59462
21500 * config/mips/mips.c (mips_print_operand): Check operand mode instead
21501 of operator mode.
21502
21503 2014-01-17 Jeff Law <law@redhat.com>
21504
21505 PR middle-end/57904
21506 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
21507 so that pass_ccp runs first.
21508
21509 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
21510
21511 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
21512 (ix86_adjust_cost): Use !TARGET_XXX.
21513 (do_reorder_for_imul): Likewise.
21514 (swap_top_of_ready_list): Likewise.
21515 (ix86_sched_reorder): Likewise.
21516
21517 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
21518
21519 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
21520 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
21521 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
21522 (intel_memset): New. Duplicate slm_memset.
21523 (intel_cost): New. Duplicate slm_cost.
21524 (m_INTEL): New macro.
21525 (processor_target_table): Add "intel".
21526 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
21527 with PROCESSOR_INTEL for "intel".
21528 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
21529 PROCESSOR_SILVERMONT.
21530 (ix86_issue_rate): Likewise.
21531 (ix86_adjust_cost): Likewise.
21532 (ia32_multipass_dfa_lookahead): Likewise.
21533 (swap_top_of_ready_list): Likewise.
21534 (ix86_sched_reorder): Likewise.
21535 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
21536 instead of TARGET_OPT_AGU.
21537 * config/i386/i386.h (TARGET_INTEL): New.
21538 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
21539 (processor_type): Add PROCESSOR_INTEL.
21540 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
21541 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
21542
21543 2014-01-17 Marek Polacek <polacek@redhat.com>
21544
21545 PR c/58346
21546 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
21547 size is zero.
21548
21549 2014-01-17 Richard Biener <rguenther@suse.de>
21550
21551 PR tree-optimization/46590
21552 * opts.c (default_options_table): Add entries for
21553 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
21554 all enabled at -O1 but not for -Og.
21555 * common.opt (fbranch-count-reg): Remove Init(1).
21556 (fmove-loop-invariants): Likewise.
21557 (ftree-pta): Likewise.
21558
21559 2014-01-17 Jakub Jelinek <jakub@redhat.com>
21560
21561 * config/i386/i386.c (ix86_data_alignment): For compatibility with
21562 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
21563 decls to at least the GCC 4.8 used alignments.
21564
21565 PR fortran/59440
21566 * tree-nested.c (convert_nonlocal_reference_stmt,
21567 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
21568 of GIMPLE_BIND stmts, adjust associated decls.
21569
21570 2014-01-17 Richard Biener <rguenther@suse.de>
21571
21572 PR tree-optimization/46590
21573 * vec.h (vec<>::bseach): New member function implementing
21574 binary search according to C89 bsearch.
21575 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
21576 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
21577 bitmap pointer again. Make accesses_in_loop a flat array.
21578 (mem_ref_obstack): New global.
21579 (outermost_indep_loop): Adjust for mem_ref->stored changes.
21580 (mark_ref_stored): Likewise.
21581 (ref_indep_loop_p_2): Likewise.
21582 (set_ref_stored_in_loop): New helper function.
21583 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
21584 (memref_free): Adjust.
21585 (record_mem_ref_loc): Simplify.
21586 (gather_mem_refs_stmt): Adjust.
21587 (sort_locs_in_loop_postorder_cmp): New function.
21588 (analyze_memory_references): Sort accesses_in_loop after
21589 loop postorder number.
21590 (find_ref_loc_in_loop_cmp): New function.
21591 (for_all_locs_in_loop): Find relevant cluster of locs in
21592 accesses_in_loop and iterate without recursion.
21593 (execute_sm): Avoid uninit warning.
21594 (struct ref_always_accessed): Simplify.
21595 (ref_always_accessed::operator ()): Likewise.
21596 (ref_always_accessed_p): Likewise.
21597 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
21598 loop postorder numbers here.
21599 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
21600 numbers.
21601
21602 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
21603
21604 PR c++/57945
21605 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
21606 on decls for which assemble_alias has been called.
21607
21608 2014-01-17 Nick Clifton <nickc@redhat.com>
21609
21610 * config/msp430/msp430.opt: (mcpu): New option.
21611 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
21612 (msp430_option_override): Parse target_cpu. If the MCU name
21613 matches a generic string, clear target_mcu.
21614 (msp430_attr): Allow numeric interrupt values up to 63.
21615 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
21616 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
21617 option.
21618 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
21619 Add mcpu matches.
21620 * config/msp430/msp430.md (popm): Use %J rather than %I.
21621 (addsi3): Use msp430_nonimmediate_operand for operand 2.
21622 (addhi_cy_i): Use immediate_operand for operand 2.
21623 * doc/invoke.texi: Document -mcpu option.
21624
21625 2014-01-17 Richard Biener <rguenther@suse.de>
21626
21627 PR rtl-optimization/38518
21628 * df.h (df_analyze_loop): Declare.
21629 * df-core.c: Include cfgloop.h.
21630 (df_analyze_1): Split out main part of df_analyze.
21631 (df_analyze): Adjust.
21632 (loop_inverted_post_order_compute): New function.
21633 (loop_post_order_compute): Likewise.
21634 (df_analyze_loop): New function avoiding whole-function
21635 postorder computes.
21636 * loop-invariant.c (find_defs): Use df_analyze_loop.
21637 (find_invariants): Adjust.
21638 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
21639
21640 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
21641
21642 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
21643 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
21644
21645 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
21646
21647 * ipa-ref.c (ipa_remove_stmt_references): Fix references
21648 traversal when removing references.
21649
21650 2014-01-16 Jan Hubicka <hubicka@ucw.cz>
21651
21652 PR ipa/59775
21653 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
21654
21655 2014-01-16 Bernd Schmidt <bernds@codesourcery.com>
21656
21657 PR middle-end/56791
21658 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
21659 pushing a reload for an autoinc when we had previously reloaded an
21660 inner part of the address.
21661
21662 2014-01-16 Jakub Jelinek <jakub@redhat.com>
21663
21664 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
21665 field.
21666 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
21667 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
21668 when not giving up or versioning for alias only because of
21669 loop->safelen.
21670 (vect_analyze_data_ref_dependences): Set to true.
21671 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
21672 is a GIMPLE_PHI.
21673 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
21674 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
21675 to the condition.
21676
21677 PR middle-end/58344
21678 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
21679
21680 PR target/59839
21681 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
21682 operand 0 predicate for gathers, use a new pseudo as subtarget.
21683
21684 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
21685
21686 PR middle-end/59609
21687 * lra-constraints.c (process_alt_operands): Add printing debug info.
21688 Check absence of input/output reloads for matched operands too.
21689
21690 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
21691
21692 PR rtl-optimization/59835
21693 * ira.c (ira_init_register_move_cost): Increase cost for
21694 impossible modes.
21695
21696 2014-01-16 Alan Lawrence <alan.lawrence@arm.com>
21697
21698 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
21699
21700 2014-01-16 Richard Earnshaw <rearnsha@arm.com>
21701
21702 PR target/59780
21703 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
21704 non-register objects. Use gen_(high/low)part more consistently.
21705 Fix assertions.
21706
21707 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
21708
21709 PR target/59844
21710 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
21711 endian support, remove tests for WORDS_BIG_ENDIAN.
21712 (p8_mfvsrd_3_<mode>): Likewise.
21713 (reload_gpr_from_vsx<mode>): Likewise.
21714 (reload_gpr_from_vsxsf): Likewise.
21715 (p8_mfvsrd_4_disf): Likewise.
21716
21717 2014-01-16 Richard Biener <rguenther@suse.de>
21718
21719 PR rtl-optimization/46590
21720 * lcm.c (compute_antinout_edge): Use postorder iteration.
21721 (compute_laterin): Use inverted postorder iteration.
21722
21723 2014-01-16 Nick Clifton <nickc@redhat.com>
21724
21725 PR middle-end/28865
21726 * varasm.c (output_constant): Return the number of bytes actually
21727 emitted.
21728 (output_constructor_array_range): Update the field size with the
21729 number of bytes emitted by output_constant.
21730 (output_constructor_regular_field): Likewise. Also do not
21731 complain if the total number of bytes emitted is now greater
21732 than the expected fieldpos.
21733 * output.h (output_constant): Update prototype and descriptive comment.
21734
21735 2014-01-16 Marek Polacek <polacek@redhat.com>
21736
21737 PR middle-end/59827
21738 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
21739 it is error_mark_node.
21740
21741 2014-01-15 Uros Bizjak <ubizjak@gmail.com>
21742
21743 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
21744 VALID_AVX256_REG_OR_OI_MODE.
21745
21746 2014-01-15 Pat Haugen <pthaugen@us.ibm.com>
21747
21748 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
21749 current procedure should be profiled.
21750
21751 2014-01-15 Andrew Pinski <apinski@cavium.com>
21752
21753 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
21754 of moving from/to the STACK_REG register class.
21755
21756 2014-01-15 Richard Henderson <rth@redhat.com>
21757
21758 PR debug/54694
21759 * reginfo.c (global_regs_decl): Globalize.
21760 * rtl.h (global_regs_decl): Declare.
21761 * ira.c (do_reload): Diagnose frame_pointer_needed and it
21762 reserved via global_regs.
21763
21764 2014-01-15 Teresa Johnson <tejohnson@google.com>
21765
21766 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
21767
21768 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
21769
21770 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
21771 and vmulosh rather than call gen_vec_widen_smult_*.
21772 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
21773 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
21774 (vec_widen_smult_even_v16qi): Likewise.
21775 (vec_widen_umult_even_v8hi): Likewise.
21776 (vec_widen_smult_even_v8hi): Likewise.
21777 (vec_widen_umult_odd_v16qi): Likewise.
21778 (vec_widen_smult_odd_v16qi): Likewise.
21779 (vec_widen_umult_odd_v8hi): Likewise.
21780 (vec_widen_smult_odd_v8hi): Likewise.
21781 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
21782 vmuloub rather than call gen_vec_widen_umult_*.
21783 (vec_widen_umult_lo_v16qi): Likewise.
21784 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
21785 vmulosb rather than call gen_vec_widen_smult_*.
21786 (vec_widen_smult_lo_v16qi): Likewise.
21787 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
21788 rather than call gen_vec_widen_umult_*.
21789 (vec_widen_umult_lo_v8hi): Likewise.
21790 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
21791 rather than call gen_vec_widen_smult_*.
21792 (vec_widen_smult_lo_v8hi): Likewise.
21793
21794 2014-01-15 Jeff Law <law@redhat.com>
21795
21796 PR tree-optimization/59747
21797 * ree.c (find_and_remove_re): Properly handle case where a second
21798 eliminated extension requires widening a copy created for elimination
21799 of a prior extension.
21800 (combine_set_extension): Ensure that the number of hard regs needed
21801 for a destination register does not change when we widen it.
21802
21803 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
21804
21805 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
21806 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
21807 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
21808 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
21809 (avr-*-rtems*): Likewise.
21810 (bfin*-rtems*): Likewise.
21811 (moxie-*-rtems*): Likewise.
21812 (h8300-*-rtems*): Likewise.
21813 (i[34567]86-*-rtems*): Likewise.
21814 (lm32-*-rtems*): Likewise.
21815 (m32r-*-rtems*): Likewise.
21816 (m68k-*-rtems*): Likewise.
21817 (microblaze*-*-rtems*): Likewise.
21818 (mips*-*-rtems*): Likewise.
21819 (powerpc-*-rtems*): Likewise.
21820 (sh-*-rtems*): Likewise.
21821 (sparc-*-rtems*): Likewise.
21822 (sparc64-*-rtems*): Likewise.
21823 (v850-*-rtems*): Likewise.
21824 (m32c-*-rtems*): Likewise.
21825
21826 2014-01-15 Vladimir Makarov <vmakarov@redhat.com>
21827
21828 PR rtl-optimization/59511
21829 * ira.c (ira_init_register_move_cost): Use memory costs for some
21830 cases of register move cost calculations.
21831 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
21832 instead of BB frequency.
21833 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
21834 * lra-assigns.c (find_hard_regno_for): Ditto.
21835
21836 2014-01-15 Richard Biener <rguenther@suse.de>
21837
21838 PR tree-optimization/59822
21839 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
21840 (vectorizable_load): Use it to hoist defs of uses of invariant
21841 loads out of the loop.
21842
21843 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
21844 Kugan Vivekanandarajah <kuganv@linaro.org>
21845
21846 PR target/59695
21847 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
21848 truncation.
21849
21850 2014-01-15 Richard Biener <rguenther@suse.de>
21851
21852 PR rtl-optimization/59802
21853 * lcm.c (compute_available): Use inverted postorder to seed
21854 the initial worklist.
21855
21856 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21857
21858 PR target/59803
21859 * config/s390/s390.c (s390_preferred_reload_class): Don't return
21860 ADDR_REGS for invalid symrefs in non-PIC code.
21861
21862 2014-01-15 Jakub Jelinek <jakub@redhat.com>
21863
21864 PR other/58712
21865 * builtins.c (determine_block_size): Initialize *probable_max_size
21866 even if len_rtx is CONST_INT.
21867
21868 2014-01-14 Andrew Pinski <apinski@cavium.com>
21869
21870 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
21871 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
21872 (cortexa53_tunings): Likewise.
21873 (aarch64_sched_issue_rate): New function.
21874 (TARGET_SCHED_ISSUE_RATE): Define.
21875
21876 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
21877
21878 * ira-costs.c (find_costs_and_classes): Add missed
21879 ira_init_register_move_cost_if_necessary.
21880
21881 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
21882
21883 PR target/59787
21884 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
21885
21886 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 PR target/59794
21889 * config/i386/i386.c (type_natural_mode): Add a bool parameter
21890 to indicate if type is used for function return value. Warn ABI
21891 change if the vector mode isn't available for function return value.
21892 (ix86_function_arg_advance): Pass false to type_natural_mode.
21893 (ix86_function_arg): Likewise.
21894 (ix86_gimplify_va_arg): Likewise.
21895 (function_arg_32): Don't warn ABI change.
21896 (ix86_function_value): Pass true to type_natural_mode.
21897 (ix86_return_in_memory): Likewise.
21898 (ix86_struct_value_rtx): Removed.
21899 (TARGET_STRUCT_VALUE_RTX): Likewise.
21900
21901 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
21902
21903 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
21904 converting a conditional jump into a conditional return.
21905
21906 2014-01-14 Richard Biener <rguenther@suse.de>
21907
21908 PR tree-optimization/58921
21909 PR tree-optimization/59006
21910 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
21911 hoisting invariant stmts.
21912 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
21913 invariant loads on the preheader edge if possible.
21914
21915 2014-01-14 Joey Ye <joey.ye@arm.com>
21916
21917 * doc/plugin.texi (Building GCC plugins): Update to C++.
21918
21919 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
21920
21921 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
21922 (_mm_rcp28_round_ss): Ditto.
21923 (_mm_rsqrt28_round_sd): Ditto.
21924 (_mm_rsqrt28_round_ss): Ditto.
21925 (_mm_rcp28_sd): Ditto.
21926 (_mm_rcp28_ss): Ditto.
21927 (_mm_rsqrt28_sd): Ditto.
21928 (_mm_rsqrt28_ss): Ditto.
21929 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
21930 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
21931 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
21932 (IX86_BUILTIN_RCP28SD): Ditto.
21933 (IX86_BUILTIN_RCP28SS): Ditto.
21934 (IX86_BUILTIN_RSQRT28SD): Ditto.
21935 (IX86_BUILTIN_RSQRT28SS): Ditto.
21936 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
21937 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
21938 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
21939 (ix86_expand_special_args_builtin): Expand new FTYPE.
21940 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
21941 (srcp14<mode>): Make insn unary.
21942 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
21943 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
21944 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
21945 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
21946 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
21947 Fix rounding: make it SAE only.
21948 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
21949 Ditto.
21950 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
21951 Ditto.
21952 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
21953 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
21954 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
21955 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
21956 (round_saeonly_mask_scalar_operand4): Ditto.
21957 (round_saeonly_mask_scalar_op3): Ditto.
21958 (round_saeonly_mask_scalar_op4): Ditto.
21959
21960 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
21961
21962 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
21963 Implement -maltivec=be for vec_insert and vec_extract.
21964
21965 2014-01-10 DJ Delorie <dj@redhat.com>
21966
21967 * config/msp430/msp430.md (call_internal): Don't allow memory
21968 references with SP as the base register.
21969 (call_value_internal): Likewise.
21970 * config/msp430/constraints.md (Yc): New. For memory references
21971 that don't use SP as a base register.
21972
21973 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
21974 "an integer without a # prefix"
21975 * config/msp430/msp430.md (epilogue_helper): Use it.
21976
21977 2014-01-13 Jakub Jelinek <jakub@redhat.com>
21978
21979 PR target/59617
21980 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
21981 AVX512F gather builtins.
21982 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
21983 on gather decls with INTEGER_TYPE masktype.
21984 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
21985 directly into the builtin rather than hoisting it before loop.
21986
21987 PR tree-optimization/59387
21988 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
21989 (scev_const_prop): If folded_casts and type has undefined overflow,
21990 use force_gimple_operand instead of force_gimple_operand_gsi and
21991 for each added stmt if it is assign with
21992 arith_code_with_undefined_signed_overflow, call
21993 rewrite_to_defined_overflow.
21994 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
21995 gimple-fold.h instead.
21996 (arith_code_with_undefined_signed_overflow,
21997 rewrite_to_defined_overflow): Moved to ...
21998 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
21999 rewrite_to_defined_overflow): ... here. No longer static.
22000 Include gimplify-me.h.
22001 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
22002 rewrite_to_defined_overflow): New prototypes.
22003
22004 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22005
22006 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
22007
22008 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
22009
22010 * builtins.c (get_object_alignment_2): Minor tweak.
22011 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
22012
22013 2014-01-13 Christian Bruel <christian.bruel@st.com>
22014
22015 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
22016 optimized non constant lengths.
22017
22018 2014-01-13 Jakub Jelinek <jakub@redhat.com>
22019
22020 PR libgomp/59194
22021 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
22022 load as __atomic_load_N if possible.
22023
22024 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
22025
22026 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
22027 target parameter.
22028 (rs6000_expand_builtin): Adjust call.
22029
22030 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
22031
22032 PR target/58115
22033 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
22034 * config/rs6000/rs6000.c: Include target-globals.h.
22035 (rs6000_set_current_function): Instead of doing target_reinit
22036 unconditionally, use save_target_globals_default_opts and
22037 restore_target_globals.
22038
22039 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
22040 FPSCR.
22041 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
22042 (rs6000_expand_builtin): Handle mffs and mtfsf.
22043 (rs6000_init_builtins): Define mffs and mtfsf.
22044 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
22045 (rs6000_mffs): New pattern.
22046 (rs6000_mtfsf): New pattern.
22047
22048 2014-01-11 Bin Cheng <bin.cheng@arm.com>
22049
22050 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
22051 Start narrowing with START. Apply candidate-use pair
22052 and check overall cost in narrowing.
22053 (iv_ca_prune): Pass new argument.
22054
22055 2014-01-10 Jeff Law <law@redhat.com>
22056
22057 PR middle-end/59743
22058 * ree.c (combine_reaching_defs): Ensure the defining statement
22059 occurs before the extension when optimizing extensions with
22060 different source and destination hard registers.
22061
22062 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
22063
22064 PR ipa/58585
22065 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
22066 vtables into the type inheritance graph.
22067
22068 2014-01-10 Jakub Jelinek <jakub@redhat.com>
22069
22070 PR rtl-optimization/59754
22071 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
22072 modes in the REGNO != REGNO case.
22073
22074 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
22075
22076 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
22077
22078 2014-01-10 Jakub Jelinek <jakub@redhat.com>
22079
22080 PR tree-optimization/59745
22081 * tree-predcom.c (tree_predictive_commoning_loop): Call
22082 free_affine_expand_cache if giving up because components is NULL.
22083
22084 * target-globals.c (save_target_globals): Allocate < 4KB structs using
22085 GC in payload of target_globals struct instead of allocating them on
22086 the heap and the larger structs separately using GC.
22087 * target-globals.h (struct target_globals): Make regs, hard_regs,
22088 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
22089 of GTY((skip)) and change type to void *.
22090 (reset_target_globals): Cast loads from those fields to corresponding
22091 types.
22092
22093 2014-01-10 Steve Ellcey <sellcey@mips.com>
22094
22095 PR plugins/59335
22096 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
22097 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
22098 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
22099
22100 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
22101
22102 PR target/59744
22103 * aarch64-modes.def (CC_Zmode): New flags mode.
22104 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
22105 represents an equality.
22106 (aarch64_get_condition_code): Handle CC_Zmode.
22107 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
22108
22109 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22110
22111 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
22112 extraction in good case.
22113
22114 2014-01-10 Richard Biener <rguenther@suse.de>
22115
22116 PR tree-optimization/59374
22117 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
22118 checking after SLP discovery. Mark stmts not participating
22119 in any SLP instance properly.
22120
22121 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22122
22123 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
22124 when handling a SET rtx.
22125
22126 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22127
22128 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
22129 (cortex-a57): Likewise.
22130 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
22131
22132 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22133
22134 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
22135 non-iwmmxt builtins.
22136
22137 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
22138
22139 PR ipa/58252
22140 PR ipa/59226
22141 * ipa-devirt.c record_target_from_binfo): Take as argument
22142 stack of binfos and lookup matching one for virtual inheritance.
22143 (possible_polymorphic_call_targets_1): Update.
22144
22145 2014-01-10 Huacai Chen <chenhc@lemote.com>
22146
22147 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
22148 kernel strings for Loongson-2E/2F/3A.
22149
22150 2014-01-10 Jakub Jelinek <jakub@redhat.com>
22151
22152 PR middle-end/59670
22153 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
22154 is_gimple_call before calling gimple_call_internal_p.
22155
22156 2014-01-09 Steve Ellcey <sellcey@mips.com>
22157
22158 * Makefile.in (TREE_FLOW_H): Remove.
22159 (TREE_SSA_H): Add file names from tree-flow.h.
22160 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
22161 * tree.h: Remove tree-flow.h reference.
22162 * hash-table.h: Remove tree-flow.h reference.
22163 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
22164 reference with tree-ssa-loop.h.
22165
22166 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
22167
22168 * doc/invoke.texi: Add -maltivec={be,le} options, and document
22169 default element-order behavior for -maltivec.
22170 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
22171 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
22172 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
22173 when targeting big endian, at least for now.
22174 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
22175
22176 2014-01-09 Jakub Jelinek <jakub@redhat.com>
22177
22178 PR middle-end/47735
22179 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
22180 var satisfies use_register_for_decl, just take into account type
22181 alignment, rather than decl alignment.
22182
22183 PR tree-optimization/59622
22184 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
22185 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
22186 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
22187 Don't devirtualize for inplace at all. For targets.length () == 1,
22188 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
22189
22190 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
22191
22192 * config/i386/i386.md (cpu): Remove the unused btver1.
22193
22194 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
22195
22196 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
22197
22198 2014-01-09 Jakub Jelinek <jakub@redhat.com>
22199
22200 PR target/58115
22201 * tree-core.h (struct target_globals): New forward declaration.
22202 (struct tree_target_option): Add globals field.
22203 * tree.h (TREE_TARGET_GLOBALS): Define.
22204 (prepare_target_option_nodes_for_pch): New prototype.
22205 * target-globals.h (struct target_globals): Define even if
22206 !SWITCHABLE_TARGET.
22207 * tree.c (prepare_target_option_node_for_pch,
22208 prepare_target_option_nodes_for_pch): New functions.
22209 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
22210 * config/i386/i386.c: Include target-globals.h.
22211 (ix86_set_current_function): Instead of doing target_reinit
22212 unconditionally, use save_target_globals_default_opts and
22213 restore_target_globals.
22214
22215 2014-01-09 Richard Biener <rguenther@suse.de>
22216
22217 PR tree-optimization/59715
22218 * tree-cfg.h (split_critical_edges): Declare.
22219 * tree-cfg.c (split_critical_edges): Export.
22220 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
22221
22222 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
22223
22224 * cfgexpand.c (expand_stack_vars): Optionally disable
22225 asan stack protection.
22226 (expand_used_vars): Likewise.
22227 (partition_stack_vars): Likewise.
22228 * asan.c (asan_emit_stack_protection): Optionally disable
22229 after return stack usage.
22230 (instrument_derefs): Optionally disable memory access instrumentation.
22231 (instrument_builtin_call): Likewise.
22232 (instrument_strlen_call): Likewise.
22233 (asan_protect_global): Optionally disable global variables protection.
22234 * doc/invoke.texi: Added doc for new options.
22235 * params.def: Added new options.
22236 * params.h: Likewise.
22237
22238 2014-01-09 Jakub Jelinek <jakub@redhat.com>
22239
22240 PR rtl-optimization/59724
22241 * ifcvt.c (cond_exec_process_if_block): Don't call
22242 flow_find_head_matching_sequence with 0 longest_match.
22243 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
22244 non-active insns if !stop_after.
22245 (try_head_merge_bb): Revert 2014-01-07 changes.
22246
22247 2014-01-08 Jeff Law <law@redhat.com>
22248
22249 * ree.c (get_sub_rtx): New function, extracted from...
22250 (merge_def_and_ext): Here.
22251 (combine_reaching_defs): Use get_sub_rtx.
22252
22253 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
22254
22255 * cgraph.h (varpool_variable_node): Do not choke on null node.
22256
22257 2014-01-08 Catherine Moore <clm@codesourcery.com>
22258
22259 * config/mips/mips.md (simple_return): Attempt to use JRC
22260 for microMIPS.
22261 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
22262
22263 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
22264
22265 PR rtl-optimization/59137
22266 * reorg.c (steal_delay_list_from_target): Call update_block for
22267 elided insns.
22268 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
22269
22270 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
22271
22272 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
22273 two duplicate entries.
22274
22275 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
22276
22277 Revert:
22278 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
22279
22280 * config/mips/mips.c (mips_truncated_op_cost): New function.
22281 (mips_rtx_costs): Adjust test for BADDU.
22282 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
22283
22284 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
22285
22286 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
22287 (*baddu_si): ...this new pattern.
22288
22289 2014-01-08 Jakub Jelinek <jakub@redhat.com>
22290
22291 PR ipa/59722
22292 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
22293
22294 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
22295
22296 PR middle-end/57748
22297 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
22298 inner_reference_p.
22299 (expand_expr, expand_normal): Adjust.
22300 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
22301 inner_reference_p. Use inner_reference_p to expand inner references.
22302 (store_expr): Adjust.
22303 * cfgexpand.c (expand_call_stmt): Adjust.
22304
22305 2014-01-08 Rong Xu <xur@google.com>
22306
22307 * gcov-io.c (gcov_var): Move from gcov-io.h.
22308 (gcov_position): Ditto.
22309 (gcov_is_error): Ditto.
22310 (gcov_rewrite): Ditto.
22311 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
22312 only part to libgcc/libgcov.h.
22313
22314 2014-01-08 Marek Polacek <polacek@redhat.com>
22315
22316 PR middle-end/59669
22317 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
22318
22319 2014-01-08 Marek Polacek <polacek@redhat.com>
22320
22321 PR sanitizer/59667
22322 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
22323
22324 2014-01-08 Jakub Jelinek <jakub@redhat.com>
22325
22326 PR rtl-optimization/59649
22327 * stor-layout.c (get_mode_bounds): For BImode return
22328 0 and STORE_FLAG_VALUE.
22329
22330 2014-01-08 Richard Biener <rguenther@suse.de>
22331
22332 PR middle-end/59630
22333 * gimple.h (is_gimple_builtin_call): Remove.
22334 (gimple_builtin_call_types_compatible_p): New.
22335 (gimple_call_builtin_p): New overload.
22336 * gimple.c (is_gimple_builtin_call): Remove.
22337 (validate_call): Rename to ...
22338 (gimple_builtin_call_types_compatible_p): ... this and export. Also
22339 check return types.
22340 (validate_type): New static function.
22341 (gimple_call_builtin_p): New overload and adjust.
22342 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
22343 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
22344 (gimple_fold_stmt_to_constant_1): Likewise.
22345 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
22346
22347 2014-01-08 Richard Biener <rguenther@suse.de>
22348
22349 PR middle-end/59471
22350 * gimplify.c (gimplify_expr): Gimplify register-register type
22351 VIEW_CONVERT_EXPRs to separate stmts.
22352
22353 2014-01-07 Jeff Law <law@redhat.com>
22354
22355 PR middle-end/53623
22356 * ree.c (combine_set_extension): Handle case where source
22357 and destination registers in an extension insn are different.
22358 (combine_reaching_defs): Allow source and destination registers
22359 in extension to be different under limited circumstances.
22360 (add_removable_extension): Remove restriction that the
22361 source and destination registers in the extension are the same.
22362 (find_and_remove_re): Emit a copy from the extension's
22363 destination to its source after the defining insn if
22364 the source and destination registers are different.
22365
22366 PR middle-end/59285
22367 * ifcvt.c (merge_if_block): If we are merging a block with more than
22368 one successor with a block with no successors, remove any BARRIER
22369 after the second block.
22370
22371 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
22372
22373 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
22374
22375 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
22376
22377 PR target/59652
22378 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
22379 for 14-bit register offsets when INT14_OK_STRICT is false.
22380
22381 2014-01-07 Roland Stigge <stigge@antcom.de>
22382 Michael Meissner <meissner@linux.vnet.ibm.com>
22383
22384 PR 57386/target
22385 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
22386 Only check TFmode for SPE constants. Don't check TImode or TDmode.
22387
22388 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
22389
22390 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
22391 -mcpu.
22392
22393 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
22394
22395 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
22396 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
22397 rtx is const0_rtx or not.
22398
22399 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
22400
22401 PR target/58115
22402 * target-globals.c (save_target_globals): Remove this_fn_optab
22403 handling.
22404 * toplev.c: Include optabs.h.
22405 (target_reinit): Temporarily restore the global options if another
22406 set of options are in force.
22407
22408 2014-01-07 Jakub Jelinek <jakub@redhat.com>
22409
22410 PR rtl-optimization/58668
22411 * cfgcleanup.c (flow_find_cross_jump): Don't count
22412 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
22413 to determine what is counted.
22414 (flow_find_head_matching_sequence): Use active_insn_p to determine
22415 what is counted.
22416 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
22417 counting change.
22418 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
22419 determine what is counted.
22420
22421 PR tree-optimization/59643
22422 * tree-predcom.c (split_data_refs_to_components): If one dr is
22423 read and one write, determine_offset fails and the write isn't
22424 in the bad component, just put the read into the bad component.
22425
22426 2014-01-07 Mike Stump <mikestump@comcast.net>
22427 Jakub Jelinek <jakub@redhat.com>
22428
22429 PR pch/59436
22430 * tree-core.h (struct tree_optimization_option): Change optabs
22431 type from unsigned char * to void *.
22432 * optabs.c (init_tree_optimization_optabs): Adjust
22433 TREE_OPTIMIZATION_OPTABS initialization.
22434
22435 2014-01-06 Jakub Jelinek <jakub@redhat.com>
22436
22437 PR target/59644
22438 * config/i386/i386.h (struct machine_function): Add
22439 no_drap_save_restore field.
22440 * config/i386/i386.c (ix86_save_reg): Use
22441 !cfun->machine->no_drap_save_restore instead of
22442 crtl->stack_realign_needed.
22443 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
22444 this function clears frame_pointer_needed. Set
22445 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
22446 and DRAP reg is needed.
22447
22448 2014-01-06 Marek Polacek <polacek@redhat.com>
22449
22450 PR c/57773
22451 * doc/implement-c.texi: Mention that other integer types are
22452 permitted as bit-field types in strictly conforming mode.
22453
22454 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
22455
22456 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
22457 is newly allocated.
22458
22459 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
22460
22461 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
22462
22463 2014-01-06 Martin Jambor <mjambor@suse.cz>
22464
22465 PR ipa/59008
22466 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
22467 to int.
22468 * ipa-prop.c (ipa_print_node_params): Fix indentation.
22469
22470 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
22471
22472 PR debug/59350
22473 PR debug/59510
22474 * var-tracking.c (add_stores): Preserve the value of the source even if
22475 we don't record the store.
22476
22477 2014-01-06 Terry Guo <terry.guo@arm.com>
22478
22479 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
22480
22481 2014-01-05 Iain Sandoe <iain@codesourcery.com>
22482
22483 PR bootstrap/59541
22484 * config/darwin.c (darwin_function_section): Adjust return values to
22485 correspond to optimisation changes made in r206070.
22486
22487 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
22488
22489 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
22490 from prefetch_block tune setting.
22491 (nocona_cost): Correct size of prefetch block to 64.
22492
22493 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
22494
22495 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
22496 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
22497 used to save the static chain register in the computation of the offset
22498 from which the FP registers need to be restored.
22499
22500 2014-01-04 Jakub Jelinek <jakub@redhat.com>
22501
22502 PR tree-optimization/59519
22503 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
22504 ICE if get_current_def (current_new_name) is already non-NULL, as long
22505 as it is a phi result of some other phi in *new_exit_bb that has
22506 the same argument.
22507
22508 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
22509 or vmovdqu* for misaligned_operand.
22510 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
22511 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
22512 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
22513 aligned_mem for AVX512F masked aligned load and store builtins and for
22514 non-temporal moves.
22515
22516 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
22517
22518 PR tree-optimization/59651
22519 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
22520 Address range for negative step should be added by TYPE_SIZE_UNIT.
22521
22522 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
22523
22524 * config/m68k/m68k.c (handle_move_double): Handle pushes with
22525 overlapping registers also for registers other than the stack pointer.
22526
22527 2014-01-03 Marek Polacek <polacek@redhat.com>
22528
22529 PR other/59661
22530 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
22531 __builtin_FILE.
22532
22533 2014-01-03 Jakub Jelinek <jakub@redhat.com>
22534
22535 PR target/59625
22536 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
22537 asm goto as jump.
22538
22539 * config/i386/i386.md (MODE_SIZE): New mode attribute.
22540 (push splitter): Use <P:MODE_SIZE> instead of
22541 GET_MODE_SIZE (<P:MODE>mode).
22542 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
22543 (mov -1, reg peephole2): Likewise.
22544 * config/i386/sse.md (*mov<mode>_internal,
22545 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
22546 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
22547 *<code><mode>3, *andnot<mode>3<mask_name>,
22548 <mask_codefor><code><mode>3<mask_name>): Likewise.
22549 * config/i386/subst.md (mask_mode512bit_condition,
22550 sd_mask_mode512bit_condition): Likewise.
22551
22552 2014-01-02 Xinliang David Li <davidxl@google.com>
22553
22554 PR tree-optimization/59303
22555 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
22556 (dump_predicates): Better output format.
22557 (pred_equal_p): New function.
22558 (is_neq_relop_p): Ditto.
22559 (is_neq_zero_form_p): Ditto.
22560 (pred_expr_equal_p): Ditto.
22561 (pred_neg_p): Ditto.
22562 (simplify_pred): Ditto.
22563 (simplify_preds_2): Ditto.
22564 (simplify_preds_3): Ditto.
22565 (simplify_preds_4): Ditto.
22566 (simplify_preds): Ditto.
22567 (push_pred): Ditto.
22568 (push_to_worklist): Ditto.
22569 (get_pred_info_from_cmp): Ditto.
22570 (is_degenerated_phi): Ditto.
22571 (normalize_one_pred_1): Ditto.
22572 (normalize_one_pred): Ditto.
22573 (normalize_one_pred_chain): Ditto.
22574 (normalize_preds): Ditto.
22575 (normalize_cond_1): Remove function.
22576 (normalize_cond): Ditto.
22577 (is_gcond_subset_of): Ditto.
22578 (is_subset_of_any): Ditto.
22579 (is_or_set_subset_of): Ditto.
22580 (is_and_set_subset_of): Ditto.
22581 (is_norm_cond_subset_of): Ditto.
22582 (pred_chain_length_cmp): Ditto.
22583 (convert_control_dep_chain_into_preds): Type change.
22584 (find_predicates): Ditto.
22585 (find_def_preds): Ditto.
22586 (destroy_predicates_vecs): Ditto.
22587 (find_matching_predicates_in_rest_chains): Ditto.
22588 (use_pred_not_overlap_with_undef_path_pred): Ditto.
22589 (is_pred_expr_subset): Ditto.
22590 (is_pred_chain_subset_of): Ditto.
22591 (is_included_in): Ditto.
22592 (is_superset_of): Ditto.
22593
22594 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
22595
22596 Update copyright years.
22597
22598 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
22599
22600 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
22601 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
22602 config/arc/arc.md, config/arc/arc.opt,
22603 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
22604 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
22605 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
22606 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
22607 config/linux-protos.h, config/linux.c, config/winnt-c.c,
22608 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
22609 vtable-verify.c, vtable-verify.h: Use the standard form for the
22610 copyright notice.
22611
22612 2014-01-02 Tobias Burnus <burnus@net-b.de>
22613
22614 * gcc.c (process_command): Update copyright notice dates.
22615 * gcov-dump.c: Ditto.
22616 * gcov.c: Ditto.
22617 * doc/cpp.texi: Bump @copying's copyright year.
22618 * doc/cppinternals.texi: Ditto.
22619 * doc/gcc.texi: Ditto.
22620 * doc/gccint.texi: Ditto.
22621 * doc/gcov.texi: Ditto.
22622 * doc/install.texi: Ditto.
22623 * doc/invoke.texi: Ditto.
22624
22625 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
22626
22627 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
22628
22629 2014-01-01 Jakub Jelinek <jakub@redhat.com>
22630
22631 * config/i386/sse.md (*mov<mode>_internal): Guard
22632 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
22633
22634 PR rtl-optimization/59647
22635 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
22636 new_rtx into UNSIGNED_FLOAT rtxes.
22637 \f
22638 Copyright (C) 2014 Free Software Foundation, Inc.
22639
22640 Copying and distribution of this file, with or without modification,
22641 are permitted in any medium without royalty provided the copyright
22642 notice and this notice are preserved.