1 2014-10-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3 * config/rs6000/rs6000.h (DBX_REGISTER_NUMBER): Pass format argument
4 to rs6000_dbx_register_number.
5 (DWARF_FRAME_REGNUM): Redefine as identity map.
6 (DWARF2_FRAME_REG_OUT): Call rs6000_dbx_register_number.
7 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Update.
8 * config/rs6000/rs6000.c (rs6000_dbx_register_number): Add format
9 argument to handle .debug_frame and .eh_frame directly. Always
10 translate SPE high register numbers. Add special treatment for CR,
11 but only in .debug_frame. Respect RS6000_USE_DWARF_NUMBERING.
13 * config/rs6000/sysv.h (DBX_REGISTER_NUMBER): Do not undefine.
14 * config/rs6000/freebsd.h (DBX_REGISTER_NUMBER): Remove.
15 (RS6000_USE_DWARF_NUMBERING): Define.
16 * config/rs6000/freebsd64.h (DBX_REGISTER_NUMBER): Remove.
17 (RS6000_USE_DWARF_NUMBERING): Define.
18 * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Remove.
19 (RS6000_USE_DWARF_NUMBERING): Define.
20 * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Remove.
21 (RS6000_USE_DWARF_NUMBERING): Define.
22 * config/rs6000/aix.h (RS6000_USE_DWARF_NUMBERING): Define.
23 * config/rs6000/darwin.h (RS6000_USE_DWARF_NUMBERING): Define.
25 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
27 * config/i386/i386.c (ix86_address_cost): Lower cost for
28 when address contains GOT register.
30 2014-10-13 Ilya Enkovich <ilya.enkovich@intel.com>
31 Vladimir Makarov <vmakarov@redhat.com>
35 PR rtl-optimization/55458
36 * config/i386/i386.c (ix86_use_pseudo_pic_reg): New.
37 (ix86_init_pic_reg): New.
38 (ix86_select_alt_pic_regnum): Add check on pseudo register.
39 (ix86_save_reg): Likewise.
40 (ix86_expand_prologue): Remove PIC register initialization
41 now performed in ix86_init_pic_reg.
42 (ix86_output_function_epilogue): Add check on pseudo register.
43 (set_pic_reg_ever_alive): New.
44 (legitimize_pic_address): Replace df_set_regs_ever_live with new
45 set_pic_reg_ever_alive.
46 (legitimize_tls_address): Likewise.
47 (ix86_pic_register_p): New check.
48 (ix86_delegitimize_address): Add check on pseudo register.
49 (ix86_expand_call): Insert move from pseudo PIC register to ABI
50 defined REAL_PIC_OFFSET_TABLE_REGNUM.
51 (TARGET_INIT_PIC_REG): New.
52 (TARGET_USE_PSEUDO_PIC_REG): New.
53 * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Return INVALID_REGNUM
54 if pic_offset_table_rtx exists.
55 * doc/tm.texi.in (TARGET_USE_PSEUDO_PIC_REG, TARGET_INIT_PIC_REG):
57 * doc/tm.texi: Regenerate.
58 * function.c (assign_parms): Generate pseudo register for PIC.
59 * init-regs.c (initialize_uninitialized_regs): Ignor pseudo PIC
61 * ira-color.c (color_pass): Add check on pseudo register.
62 * ira-emit.c (change_loop): Don't create copies for PIC pseudo
64 * ira.c (split_live_ranges_for_shrink_wrap): Add check on pseudo
66 (ira): Add target specific PIC register initialization.
67 (do_reload): Keep PIC pseudo register.
68 * lra-assigns.c (spill_for): Add checks on pseudo register.
69 * lra-constraints.c (contains_symbol_ref_p): New.
70 (lra_constraints): Enable lra risky transformations when PIC is pseudo
72 * shrink-wrap.c (try_shrink_wrapping): Add check on pseudo register.
73 * target.def (use_pseudo_pic_reg): New.
76 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com>
78 * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY):
79 Remove m_SILVERMONT and m_INTEL from the tune.
81 2014-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
84 * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
85 when _HPUX_SOURCE is defined.
87 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
89 PR tree-optimization/62127
90 * tree.c (remap_type_1): When remapping array, remap
93 2014-10-13 Christophe Lyon <christophe.lyon@linaro.org>
95 * Makefile.in: (check-%): Update comment, as RUNTESTFLAGS no
96 longer impact parallelization.
98 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
101 * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
103 2014-10-13 Marat Zakirov <m.zakirov@samsung.com>
105 * asan.c (instrument_derefs): BIT_FIELD_REF added.
107 2014-10-13 Richard Biener <rguenther@suse.de>
109 PR tree-optimization/63419
110 * gimple-fold.h (gimple_convert): New function.
111 * gimple-fold.c (gimple_convert): Likewise.
112 * tree-ssa-pre.c (create_expression_by_pieces): Use gimple_convert
113 to split out required conversions early.
115 2014-10-13 Richard Sandiford <richard.sandiford@arm.com>
117 * rtlanal.c (generic_subrtx_iterator <T>::add_subrtxes_to_queue):
118 Add the parts of an insn in reverse order, with the pattern at
119 the top of the queue. Detect when we're iterating over a SEQUENCE
120 pattern and in that case just consider patterns of subinstructions.
122 2014-10-12 Oleg Endo <olegendo@gcc.gnu.org>
125 * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
127 * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
129 (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
130 address. Use def chains to handle GBR clobbering call insns.
132 2014-10-12 Trevor Saunders <tsaunders@mozilla.com>
134 * asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
135 config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
136 config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
137 function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
138 output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
139 tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
140 * doc/gty.texi (for_user): Document new option.
141 * gengtype.c (create_user_defined_type): Don't try to get a struct for
143 (walk_type): Don't error out on for_user option.
144 (write_func_for_structure): Emit user marking routines if requested by
146 (write_local_func_for_structure): Likewise.
147 (main): Mark types with for_user option as used.
148 * ggc.h (gt_pch_nx): Add overload for unsigned int.
149 * hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
150 * hash-table.h (ggc_hasher): New struct.
151 (hash_table::create_ggc): New function.
152 (gt_pch_nx): New overload for hash_table.
154 2014-10-11 Oleg Endo <olegendo@gcc.gnu.org>
156 * config/sh/sh.h (TARGET_SH4A_ARCH): Remove macro.
157 * config/sh/sh.h: Replace uses of TARGET_SH4A_ARCH with TARGET_SH4A.
158 * config/sh/sh.c: Likewise.
159 * config/sh/sh-mem.cc: Likewise.
160 * config/sh/sh.md: Likewise.
161 * config/sh/predicates.md: Likewise.
162 * config/sh/sync.md: Likewise.
164 2014-10-11 Martin Liska <mliska@suse.cz>
167 * cgraphunit.c (symbol_table::process_new_functions): Missing call
168 for call_cgraph_insertion_hooks added.
170 2014-10-10 Jakub Jelinek <jakub@redhat.com>
173 * stor-layout.c (min_align_of_type): Don't decrease alignment
174 through BIGGEST_FIELD_ALIGNMENT or ADJUST_FIELD_ALIGN if
175 TYPE_USER_ALIGN is set.
177 2014-10-10 Uros Bizjak <ubizjak@gmail.com>
179 PR rtl-optimization/63483
180 * alias.c (true_dependence_1): Do not exit early for MEM_READONLY_P
181 references when alignment ANDs are involved.
182 (write_dependence_p): Ditto.
183 (may_alias_p): Ditto.
185 2014-10-10 Marek Polacek <polacek@redhat.com>
187 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_OBJECT_SIZE.
188 * doc/invoke.texi: Document -fsanitize=object-size.
189 * flag-types.h (enum sanitize_code): Add SANITIZE_OBJECT_SIZE and
190 or it into SANITIZE_UNDEFINED.
191 * gimple-fold.c (gimple_fold_call): Optimize IFN_UBSAN_OBJECT_SIZE.
192 * internal-fn.c (expand_UBSAN_OBJECT_SIZE): New function.
193 * internal-fn.def (UBSAN_OBJECT_SIZE): Define.
194 * opts.c (common_handle_option): Handle -fsanitize=object-size.
195 * ubsan.c: Include tree-object-size.h.
196 (ubsan_type_descriptor): Call tree_to_uhwi instead of tree_to_shwi.
197 (ubsan_expand_bounds_ifn): Use false instead of 0.
198 (ubsan_expand_objsize_ifn): New function.
199 (instrument_object_size): New function.
200 (pass_ubsan::execute): Add object size instrumentation.
201 * ubsan.h (ubsan_expand_objsize_ifn): Declare.
203 2014-10-10 Richard Henderson <rth@redhat.com>
206 * shrink-wrap.c (move_insn_for_shrink_wrap): Don't use single_set.
207 Restrict the set of expressions we're willing to move.
209 2014-10-10 Jeff Law <law@redhat.com>
211 * ira.c (struct equivalence): Promote INIT_INSNs field to
212 an rtx_insn_list. Add comments.
213 (no_equiv): Promote LIST to an rtx_insn_list. Update
214 testing for and creating the special marker. Use methods
215 to extract the insn and next pointers. Promote INSN to an
217 (update_equiv_regs): Update test for special marker in the
220 2014-10-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
222 * configure.ac: Add --enable-fix-cortex-a53-835769 option.
223 * configure: Regenerate.
224 * config/aarch64/aarch64.c (aarch64_override_options): Handle
225 TARGET_FIX_ERR_A53_835769_DEFAULT.
226 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init
228 * doc/install.texi (aarch64*-*-*): Document
229 new --enable-fix-cortex-a53-835769 option.
231 2014-10-10 Kyrylo Tkachov<kyrylo.tkachov@arm.com>
232 Ramana Radhakrishnan<ramana.radhakrishnan@arm.com>
234 * config/aarch64/aarch64.h (FINAL_PRESCAN_INSN): Define.
235 (ADJUST_INSN_LENGTH): Define.
236 * config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
237 * config/aarch64/aarch64.c (is_mem_p): New function.
238 (is_memory_op): Likewise.
239 (aarch64_prev_real_insn): Likewise.
240 (is_madd_op): Likewise.
241 (dep_between_memop_and_curr): Likewise.
242 (aarch64_madd_needs_nop): Likewise.
243 (aarch64_final_prescan_insn): Likewise.
244 * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-835769
245 and -mno-fix-cortex-a53-835769 options.
247 2014-10-10 Jakub Jelinek <jakub@redhat.com>
249 PR tree-optimization/63464
250 * tree-switch-conversion.c (struct case_bit_test): Remove
251 hi and lo fields, add wide_int mask field.
252 (emit_case_bit_tests): Add MAXVAL argument, rewrite uses of
253 hi/lo fields into wide_int mask operations, optimize by pretending
254 minval to be 0 if maxval is small enough.
255 (process_switch): Adjust caller.
257 2014-10-10 Richard Biener <rguenther@suse.de>
259 PR tree-optimization/63379
260 * tree-vect-slp.c (vect_get_constant_vectors): Do not compute
261 a neutral operand for min/max when it is not a reduction chain.
263 2014-10-10 Richard Biener <rguenther@suse.de>
265 PR tree-optimization/63476
266 * tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
267 (BB_LIVE_VOP_ON_EXIT): New define.
268 (create_expression_by_pieces): Assign VUSEs to stmts.
269 (compute_avail): Track BB_LIVE_VOP_ON_EXIT.
270 (pass_pre::execute): Assert virtual SSA form is up-to-date
273 2014-10-10 Eric Botcazou <ebotcazou@adacore.com>
275 * lra-assigns.c (assign_by_spills): Error out on spill failure.
277 2014-10-09 Markus Trippelsdorf <markus@trippelsdorf.de>
279 * pa-polymorphic-call.c (check_stmt_for_type_change): Move
282 2014-10-09 Richard Biener <rguenther@suse.de>
284 PR tree-optimization/63380
285 * tree-ssa-tail-merge.c (stmt_local_def): Exclude stmts that
288 2014-10-09 Joern Rennecke <joern.rennecke@embecosm.com>
290 * config/avr/avr.opt (mmcu=): Change to have a string value.
291 (mn-flash=, mskip-bug, march=, mrmw): New options.
292 (HeaderInclude): New.
293 (mmcu=): Remove Var / Init clauses.
294 * config/avr/avr.h (DRIVER_SELF_SPECS): Translate -mmcu into a
296 (SYMBOL_FLAG_IO, SYMBOL_FLAG_ADDRESS): Define.
297 (ASM_OUTPUT_ALIGNED_BSS): Use avr_asm_asm_output_aligned_bss.
298 (SYMBOL_FLAG_IO_LOW): Define.
299 (avr_device_to_as, avr_device_to_ld): Don't declare.
300 (avr_device_to_data_start, avr_device_to_startfiles): Likewise.
301 (avr_device_to_devicelib, avr_device_to_sp8): Likewise.
302 (EXTRA_SPEC_FUNCTIONS): Don't define.
303 (ASM_SPEC): Translate -arch= option to -mmcu= option.
304 (LINK_SPEC): Translate -arch= option to -m= option.
305 Don't use device_to_ld / device_to_data_start.
306 (STARTFILE_SPEC): Now empty.
307 (ASM_SPEC): Add -%{mrelax: --mlink-relax}.
308 * config/avr/gen-avr-mmcu-specs.c: New file.
309 * config/avr/t-avr (gen-avr-mmcu-specs$(build_exeext)): New rule.
310 (s-device-specs): Likewise.
311 (GCC_PASSES): Add s-device-specs.
312 (install-driver): Depend on install-device-specs.
313 (install-device-specs): New rule.
314 * config/avr/avr.c (avr_option_override): Look up mcu arch by
315 avr_arch_index and provide fallback initialization for avr_n_flash.
316 (varasm.h): #include.
317 (avr_print_operand) <i>: Allow SYMBOL_REF with SYMBOL_FLAG_IO;
318 (avr_handle_addr_attribute, avr_eval_addr_attrib): New functions.
319 (avr_attribute_table): Add "io", "address" and "io_low".
320 (avr_asm_output_aligned_decl_common): Change type of decl to tree.
321 Add special handling for symbols with "io" and/or "address" attributes.
322 (avr_asm_asm_output_aligned_bss): New function.
323 (avr_encode_section_info): Set SYMBOL_FLAG_IO and SYMBOL_FLAG_ADDRESS
324 as appropriate. Handle io_low attribute.
325 (avr_out_sbxx_branch): Handle symbolic io addresses.
326 (avr_xload_libgcc_p, avr_nonconst_pointer_addrspace): Use
327 avr_n_flash instead of avr_current_device->n_flash.
328 (avr_pgm_check_var_decl, avr_insert_attributes): Likewise.
329 (avr_emit_movmemhi): Likewise.
330 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Likewise.
331 Use TARGET_RMW instead of avr_current_device->dev_attributes.
332 Don't define avr_current_device->macro (that's the specfile's job).
333 Use TARGET_SKIP_BUG instead of avr_current_device->errata_skip.
334 * config/avr/avr.c (avr_2word_insn_p): Likewise.
335 * config/avr/avr.md (*cpse.ne): Likewise.
336 (mov<mode>): Use avr_eval_addr_attrib.
337 (cbi): Change constraint for low_io_address_operand operand to "i".
338 (sbi, sbix_branch, sbix_branch_bit7, insv.io, insv.not.io): Likewise.
339 * config/avr/predicates.md (io_address_operand):
340 Allow SYMBOL_REF with SYMBOL_FLAG_IO.
341 (low_io_address_operand): Allow SYMBOL_REF with SYMBOL_FLAG_IO_LOW.
342 * config/avr/avr-protos.h (avr_asm_output_aligned_decl_common):
344 (avr_eval_addr_attrib, avr_asm_asm_output_aligned_bss): Prototype.
345 * config/avr/genmultilib.awk: Use -march=.
346 Remove Multilib matches processing.
347 * config/avr/t-multilib, config/avr/avr-tables.opt: Regenerate.
348 * config/avr/avr-arch.h: Add double include guard.
349 (avr_mcu_t) <library_name>: Update comment.
350 * config/avr/driver-avr.c (avr_device_to_as): Delete.
351 (avr_device_to_ld, avr_device_to_data_start): Likewise.
352 (avr_device_to_startfiles, avr_device_to_devicelib): Likewise.
353 (avr_device_to_sp8): Likewise.
354 * config/avr/genopt.sh: Instead avr_mcu, emit an Enum for avr_arch.
356 * doc/extend.texi (io, address): Document new AVR variable attributes.
359 2014-10-09 Marek Polacek <polacek@redhat.com>
361 * doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
363 2014-10-08 Richard Biener <rguenther@suse.de>
365 PR tree-optimization/61969
366 * tree-nrv.c (pass_nrv::execute): Properly test for automatic
369 2014-10-09 Richard Biener <rguenther@suse.de>
371 PR tree-optimization/63445
372 * tree-vrp.c (simplify_cond_using_ranges): Only warn about
373 overflow for non-equality compares.
375 2014-10-09 Uros Bizjak <ubizjak@gmail.com>
377 PR rtl-optimization/57003
378 * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
379 also check CALL_INSN_FUNCTION_USAGE for clobbers again after
380 killing regs_invalidated_by_call.
382 2014-10-08 Teresa Johnson <tejohnson@google.com>
385 * tree-ssa-threadupdate.c (estimated_freqs_path): New function.
386 (ssa_fix_duplicate_block_edges): Invoke it.
387 (mark_threaded_blocks): Make two passes to avoid ordering dependences.
389 2014-10-08 Oleg Endo <olegendo@gcc.gnu.org>
392 * config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
393 atomic_fetch_<fetchop_name>si_hard,
394 atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
395 atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
396 atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
397 atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
399 2014-10-08 Rong Xu <xur@google.com>
401 * gcov-tool.c (profile_overlap): New driver function
402 to compute profile overlap.
403 (print_overlap_usage_message): New.
404 (overlap_usage): New.
406 (print_usage): Add calls to overlap function.
408 * doc/gcov-tool.texi: Add documentation.
410 2014-10-08 Steve Ellcey <sellcey@mips.com>
412 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Change
413 LINUX64_DRIVER_SELF_SPECS to LINUX_DRIVER_SELF_SPECS
415 2014-10-08 Jan Hubicka <hubicka@ucw.cz>
417 * ipa-polymorphic-call.c (extr_type_from_vtbl_store): Do better
418 pattern matching of MEM_REF.
419 (check_stmt_for_type_change): Update.
421 2014-10-08 Steve Ellcey <sellcey@mips.com>
423 * config/mips/linux64.h: Remove.
424 * config/mips/gnu-user64.h: Remove.
425 * gcc.config (mips*-*-*): Remove references to linux64.h and
427 * config/mips/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): Replace
428 with modified version from gnu-user64.h.
429 (LINUX_DRIVER_SELF_SPECS): Update parts from gnu-user64.h.
430 (LOCAL_LABEL_PREFIX): Copy from gnu-user64.h.
431 * config/mips/linux.h (GNU_USER_LINK_EMULATION32): Copy from
433 (GNU_USER_LINK_EMULATION64): Ditto.
434 (GNU_USER_LINK_EMULATIONN32): Ditto.
435 (GLIBC_DYNAMIC_LINKER32): Ditto.
436 (GLIBC_DYNAMIC_LINKER64): Ditto.
437 (GLIBC_DYNAMIC_LINKERN32): Ditto.
438 (UCLIBC_DYNAMIC_LINKER32): Ditto.
439 (UCLIBC_DYNAMIC_LINKER64): Ditto.
440 (UCLIBC_DYNAMIC_LINKERN32): Ditto.
441 (BIONIC_DYNAMIC_LINKERN32): Ditto.
442 (GNU_USER_DYNAMIC_LINKERN32): Ditto.
443 (GLIBC_DYNAMIC_LINKER): Delete.
444 (UCLIBC_DYNAMIC_LINKER): Delete.
446 2014-10-08 Joern Rennecke <joern.rennecke@embecosm.com>
447 Richard Biener <rguenther@suse.de>
449 * cfgexpand.c (expand_debug_expr) <TARGET_MEM_REF>:
450 Get address space from operand 0 (BASE).
452 2014-10-07 Iain Sandoe <iain@codesourcery.com>
455 * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.
457 2014-10-07 Aldy Hernandez <aldyh@redhat.com>
459 * dwarf2out.c: Remove current_function_has_inlines.
460 (gen_subprogram_die): Same.
461 (gen_inlined_subroutine_die): Same.
463 2014-10-07 Ilya Tocar <ilya.tocar@intel.com>
465 * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
467 (_addcarry_u64): Ditto.
468 (_addcarryx_u64): Ditto.
470 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
472 * cgraph.h (cgraph_node::get_fun): Declare.
473 * cgraph.c (cgraph_node::get_fun): New method.
474 * ipa-inline.c (can_inline_edge_p): Use it.
476 2014-10-07 Eric Botcazou <ebotcazou@adacore.com>
478 * lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
480 * lto-wrapper.c (merge_and_complain): Likewise.
483 2014-10-06 Rong Xu <xur@google.com>
485 * params.def (PARAM_INDIR_CALL_TOPN_PROFILE): New param.
486 * tree-profile.c: (params.h): New include.
487 (init_ic_make_global_vars): Make __gcov_indirect_call_topn_callee
488 and __gcov_indirect_call_topn_counters for
489 indirect_call_topn_profile.
490 (gimple_init_edge_profiler): New decls for
491 __gcov_indirect_call_topn_profiler.
492 (gimple_gen_ic_profiler): Generate the correct profiler call.
493 (gimple_gen_ic_func_profiler): Fix format.
494 * value-prof.c (params.h): New include.
495 (dump_histogram_value): Hanlde indirect_call_topn counters.
496 (stream_in_histogram_value): Ditto.
497 (gimple_indirect_call_to_profile): Use indirect_call_topn
498 profile when PARAM_INDIR_CALL_TOPN_PROFILE is set.
499 (gimple_find_values_to_profile): Hanlde indirect_call_topn
501 * value-prof.h (enum hist_type): Histrogram type for
502 indirect_call_topn counters.
503 * profile.c (instrument_values): Instrument
504 indirect_call_topn counters.
506 2014-10-06 Rong Xu <xur@google.com>
508 * Makefile.in: Fix dependence.
509 * gcov-counter.def (GCOV_COUNTER_ICALL_TOPNV): Add
510 indirect call topn profiler.
513 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
515 * calls.c (expand_call): Do not use the target as the return slot if
516 it is not sufficiently aligned.
518 2014-10-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
520 * config/rs6000/rs6000.c (analyze_swaps commentary): Add
521 discussion of permutes and why we don't handle them.
523 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
525 * config/sparc/predicates.md (int_register_operand): Delete.
527 2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
529 * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
531 2014-10-06 Jakub Jelinek <jakub@redhat.com>
533 * ubsan.h (ubsan_get_source_location): New prototype.
534 * ubsan.c (ubsan_source_location_type): New variable.
535 Function renamed to ...
536 (ubsan_get_source_location_type): ... this. Cache
537 return value in ubsan_source_location_type variable.
538 (ubsan_source_location, ubsan_create_data): Use
539 ubsan_get_source_location_type instead of
540 ubsan_source_location_type.
541 * asan.c (asan_protect_global): Don't protect globals
542 with ubsan_get_source_location_type () type.
543 (asan_add_global): Provide global decl location info
546 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
548 * ipa-prop.c (try_make_edge_direct_virtual_call): Remove overactive
551 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
553 * ipa-polymorphic-call.c (possible_placement_new): Fix condition
555 (ipa_polymorphic_call_context::restrict_to_inner_type): Do not walk
557 (ipa_polymorphic_call_context::dump): Fix formating.
558 (walk_ssa_copies): Add logic avoiding loops; update uses.
559 * ipa-prop.c (ipa_analyze_call_uses): Compute vptr_changed.
561 2014-10-02 Mark Wielaard <mjw@redhat.com>
564 * dwarf2out.c (gen_subprogram_die): When a member function is
565 explicitly deleted then add a DW_AT_GNU_deleted attribute.
566 * langhooks.h (struct lang_hooks_for_decls): Add
567 function_decl_deleted_p langhook.
568 * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_DELETED_P): Define.
569 (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_DELETED_P.
571 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
573 * ipa-polymorphic-call.c (walk_ssa_copies): Recognize
575 (ipa_polymorphic_call_context::get_dynamic_type): Return true
576 if type doesn't change.
577 * cgraph.h (cgraph_indirect_call_info): New flag.
578 * cgraph.c (cgraph_node::create_indirect_edge): Initialize it.
579 (cgraph_node::dump): Dump it.
580 * ipa-prop.c (ipa_analyze_call_uses): Ignore return valud
581 of context.get_dynamic_type.
582 (ipa_make_edge_direct_to_target): Do not speculate
583 edge that is already speuclative.
584 (try_make_edge_direct_virtual_call): Use VPTR_CHANGED; Do not
585 speculate to __builtin_unreachable
586 (ipa_write_indirect_edge_info, ipa_read_indirect_edge_info): Stream
588 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use vptr_changed.
590 2014-10-04 Jan Hubicka <hubicka@ucw.cz>
592 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Call
593 get_dynamic_type; drop TODO.
594 * ipa-polymorphic-call.c
595 (ipa_polymorphic_call_context::get_dynamic_type): Be ready
596 for otr_type to be unknown.
598 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
600 * common/config/score/score-common.c: Remove.
601 * config.gcc: Remove support for score-*.
602 * config/score/constraints.md: Remove.
603 * config/score/elf.h: Remove.
604 * config/score/predicates.md: Remove.
605 * config/score/score-conv.h: Remove.
606 * config/score/score-generic.md: Remove.
607 * config/score/score-modes.def: Remove.
608 * config/score/score-protos.h: Remove.
609 * config/score/score.c: Remove.
610 * config/score/score.h: Remove.
611 * config/score/score.md: Remove.
612 * config/score/score.opt: Remove.
613 * doc/md.texi: Don't document score-*.
615 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
618 * genconditions.c: Directly include ggc.h before rtl.h.
620 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
622 * ipa-polymorphic-call.c
623 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Fix
624 code determining speculative type.
625 (ipa_polymorphic_call_context::combine_with): Fix speculation merge.
627 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
629 * altivec.md (altivec_lvsl): New define_expand.
630 (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
631 (altivec_lvsr): New define_expand.
632 (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
633 * rs6000.c (rs6000_expand_builtin): Change to use
634 altivec_lvs[lr]_direct; remove commented-out code.
636 2014-10-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
638 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
639 Issue a warning message when vec_lvsl or vec_lvsr is used with a
640 little endian target.
642 2014-10-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
644 * tree-pretty-print.c (dump_location): Make it extern. Dump also
646 * tree-pretty-print.h (dump_location): Declare.
647 * gimple-pretty-print.c (dump_gimple_phi): Use dump_location.
648 (pp_gimple_stmt_1): Likewise.
649 (dump_implicit_edges): Likewise.
650 * gimplify.c (gimplify_call_expr): Use LOCATION_FILE and
654 2014-10-03 David Malcolm <dmalcolm@redhat.com>
656 * gcc.c (driver::global_initializations): Remove "const" so
657 that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
658 and decoded_options_count.
660 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
662 * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
664 * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Handle
665 TARGET_E500_DOUBLE case here.
667 2014-10-03 Marc Glisse <marc.glisse@inria.fr>
672 * doc/extend.texi (Vector Extensions): Document &&, ||, ! in C++.
674 2014-10-03 Jan Hubicka <hubicka@ucw.cz>
676 * cgraph.h (struct indirect_call_info): Add IN_POLYMORPHIC_CDTOR
677 * lto-cgraph.c (lto_output_edge, input_edge): Stream
679 * cgraph.c (symbol_table::create_edge): Compute in_polymorphic_cdtor.
680 (cgraph_edge::make_speculative): Copy in_polymorphic_cdtor.
681 * cgraphclones.c (cgraph_edge::clone): Likewise.
682 * ipa-prop.c (update_jump_functions_after_inlining,
683 try_make_edge_direct_virtual_call): Pass in_polymorphic_cdtor
684 to possible_dynamic_type_change.
685 (decl_maybe_in_construction_p): Allow empty OUTER_TYPE and BASE.
686 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
687 IN_POLY_CDOTR argument.
689 * ipa-polymorphic-call.c (decl_maybe_in_construction_p): Be ready
690 for BASE and OUTER_TYPE being NULL.
691 (ipa_polymorphic_call_context::possible_dynamic_type_change): Add
692 in_poly_cdtor parameter.
694 2014-10-03 Jakub Jelinek <jakub@redhat.com>
696 * config/i386/i386.c (ix86_expand_vec_perm_vpermi2): Fix up formatting.
697 (ix86_expand_vec_perm): Only call ix86_expand_vec_perm_vpermi2 if
699 (expand_vec_perm_1): Likewise.
701 2014-10-03 Jakub Jelinek <jakub@redhat.com>
702 Uros Bizjak <ubizjak@gmail.com>
704 PR tree-optimization/61403
705 * config/i386/i386.c (expand_vec_perm_palignr): Fix a spelling
706 error in comment. Also optimize 256-bit vectors for AVX2
707 or AVX (floating vectors only), provided the first permutation
708 can be performed in one insn.
710 2014-10-03 David Malcolm <dmalcolm@redhat.com>
712 * gcc.c (class driver): New class.
713 (main): Reimplement in terms of driver::main, moving most of the
714 locals to be locals within individual methods of class driver.
715 The remaining locals "explicit_link_files", "decoded_options" and
716 "decoded_options_count" are used by multiple driver:: methods, and
717 so become member data. Doing so isolates the argc/argv reads and
718 writes. Replace "goto out" with a special exit code from
719 new method driver::prepare_infiles. Split out the old
720 implementation of main into the following...
721 (driver::main): New function, corresponding to the old "main"
723 (driver::set_progname): New function, taken from the old
724 "main" implementation.
725 (driver::expand_at_files): Likewise.
726 (driver::decode_argv): Likewise.
727 (driver::global_initializations): Likewise.
728 (driver::build_multilib_strings): Likewise.
729 (driver::set_up_specs): Likewise.
730 (driver::putenv_COLLECT_GCC): Likewise.
731 (driver::maybe_putenv_COLLECT_LTO_WRAPPER): Likewise.
732 (driver::handle_unrecognized_options): Likewise.
733 (driver::maybe_print_and_exit): Likewise.
734 (driver::prepare_infiles): Likewise.
735 (driver::do_spec_on_infiles): Likewise.
736 (driver::maybe_run_linker): Likewise.
737 (driver::final_actions): Likewise.
738 (driver::get_exit_code): Likewise.
740 2014-10-03 Yury Gribov <y.gribov@samsung.com>
742 * asan.c (asan_finish_file): Disable __asan_init calls for KASan;
743 don't emit empty ctors.
745 2014-10-03 Eric Botcazou <ebotcazou@adacore.com>
747 * convert.c (convert_to_integer): Do not introduce useless conversions
748 between integral types.
750 2014-10-03 David Sherwood <david.sherwood@arm.com>
752 * ira-int.h (ira_allocno): Mark hard_regno as signed.
754 2014-10-03 Ilya Enkovich <ilya.enkovich@intel.com>
756 * lra-constraints.c (inherit_in_ebb): Handle calls with
757 multiple return values.
758 * caller-save.c (save_call_clobbered_regs): Likewise.
760 2014-10-03 Jakub Jelinek <jakub@redhat.com>
762 * tree-vect-data-refs.c (vect_permute_load_chain,
763 vect_shift_permute_load_chain): Fix a typo in temporary var names,
767 * omp-low.c (taskreg_contexts): New variable.
768 (scan_omp_parallel): Push newly created context into taskreg_contexts
769 vector and move record layout code to finish_taskreg_scan.
770 (scan_omp_task): Likewise.
771 (finish_taskreg_scan): New function.
772 (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
773 vector elements and release it.
776 * config/i386/i386.c (expand_vec_perm_palignr): If op1, op0 order
777 of palignr arguments can't be used due to min 0 or max - min
778 too high, try also op0, op1 order of palignr arguments.
780 2014-10-02 Jan Hubicka <hubicka@ucw.cz>
782 * cgraph.h (ipa_polymorphic_call_context):
783 Turn bools into bitfields; add DYNAMIC; make MAKE_SPECULATIVE
784 private, add POSSIBLE_DYNAMIC_TYPE_CHANGE.
785 * ipa-polymorphic-call.c
786 (ipa_polymorphic_call_context::restrict_to_inner_class): Allow accesses
787 past end of dynamic types.
788 (ipa_polymorphic_call_context::stream_out,
789 speculative_outer_type): Stream dynamic flag.
790 (ipa_polymorphic_call_context::set_by_decl): Clear DYNAMIC.
791 (ipa_polymorphic_call_context::ipa_polymorphic_call_context):
793 (ipa_polymorphic_call_context::get_dynamic_type): Use DYNAMIC;
795 (ipa_polymorphic_call_context::combine_with): Propagate dynamic.
796 * ipa-prop.c (update_jump_functions_after_inlining,
797 try_make_edge_direct_virtual_call): Use possible_dynamic_type_change.
799 2014-10-02 Teresa Johnson <tejohnson@google.com>
801 * tree-ssa-threadupdate.c (freqs_to_counts_path): Scale frequencies
802 up when synthesizing counts to avoid rounding errors.
804 2014-10-02 Teresa Johnson <tejohnson@google.com>
807 * tree-ssa-threadupdate.c (freqs_to_counts_path): Remove
808 asserts to handle incoming insanities.
810 2014-10-02 Martin Jambor <mjambor@suse.cz>
812 PR tree-optimization/63375
813 * tree-sra.c (build_access_from_expr_1): Disqualify volatile
816 2014-10-02 Olivier Hainque <hainque@adacore.com>
818 * Makefile.in (CROSS): Define, to @CROSS.
820 2014-10-02 Jakub Jelinek <jakub@redhat.com>
823 * config/i386/i386.c (expand_vec_perm_1): Try expand_vec_perm_palignr
824 if it expands to a single insn only.
825 (expand_vec_perm_palignr): Add SINGLE_INSN_ONLY_P argument. If true,
826 fail unless in_order is true. Add forward declaration.
827 (expand_vec_perm_vperm2f128): Fix up comment about which permutation
828 is useful for one_operand_p.
829 (ix86_expand_vec_perm_const_1): Adjust expand_vec_perm_palignr caller.
831 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
833 * cgraphclones.c (build_function_type_skip_args): Do not make new
836 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
838 * ipa-prop.h (ipa_get_controlled_uses): Add hack to avoid ICE
839 when speculation is added.
840 (ipa_edge_args): Add polymorphic_call_contexts.
841 (ipa_get_ith_polymorhic_call_context): New accesor.
842 (ipa_make_edge_direct_to_target): Add SPECULATIVE parameter.
843 * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Print contexts.
844 (ipa_compute_jump_functions_for_edge): Compute contexts.
845 (update_jump_functions_after_inlining): Update contexts.
846 (ipa_make_edge_direct_to_target): Add SPECULATIVE argument;
847 update dumping; add speculative edge creation.
848 (try_make_edge_direct_virtual_call): Add CTX_PTR parameter; handle
850 (update_indirect_edges_after_inlining): Pass down context.
851 (ipa_edge_duplication_hook): Duplicate contexts.
852 (ipa_write_node_info): Stream out contexts.
853 (ipa_read_node_info): Stream in contexts.
854 * ipa-devirt.c (type_all_derivations_known_p): Avoid ICE on non-ODR
856 (try_speculative_devirtualization): New function.
857 * ipa-utils.h (try_speculative_devirtualization): Declare.
859 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
861 * ipa.c (walk_polymorphic_call_targets): Avoid ICE when
864 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
866 * ipa-prop.c (ipa_modify_formal_parameters): Do not merge
869 2014-10-01 Jan Hubicka <hubicka@ucw.cz>
871 * ipa-polymorphic-call.c
872 (ipa_polymorphic_call_context::restrict_to_inner_class):
873 Rename EXPECTED_TYPE to OTR_TYPE; Validate speculation late;
874 use speculation_consistent_p to do so; Add CONSDER_BASES
875 and CONSIDER_PLACEMENT_NEW parameters.
876 (contains_type_p): Add CONSDER_PLACEMENT_NEW and CONSIDER_BASES;
877 short circuit obvious cases.
878 (ipa_polymorphic_call_context::dump): Improve formatting.
879 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Use
880 combine_speculation_with to record speculations; Do not ICE when
881 object is located in pointer type decl; do not ICE for methods
882 of UNION_TYPE; do not record nonpolymorphic types.
883 (ipa_polymorphic_call_context::speculation_consistent_p): New method.
884 (ipa_polymorphic_call_context::combine_speculation_with): New method.
885 (ipa_polymorphic_call_context::combine_with): New method.
886 (ipa_polymorphic_call_context::make_speculative): Move here; use
888 * cgraph.h (ipa_polymorphic_call_context): Update
889 restrict_to_inner_class prototype; add offset_by, make_speculative,
890 combine_with, useless_p, combine_speculation_with and
891 speculation_consistent_p methods.
892 (ipa_polymorphic_call_context::offset_by): New method.
893 (ipa_polymorphic_call_context::useless_p): New method.
895 2014-10-01 Segher Boessenkool <segher@kernel.crashing.org>
897 PR rtl-optimization/62151
898 * combine.c (can_combine_p): Allow the destination register of INSN
899 to be clobbered in I3.
900 (subst): Do not substitute into clobbers of registers.
902 2014-10-01 Jakub Jelinek <jakub@redhat.com>
905 * dwarf2out.c (loc_list_from_tree): Handle MEM_REF with non-zero
906 offset, TARGET_MEM_REF and SSA_NAME.
908 * config/i386/i386.c (expand_vec_perm_palignr): Handle
909 256-bit vectors for TARGET_AVX2.
911 * config/i386/i386.c (expand_vec_perm_vperm2f128): Canonicalize
915 * config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
916 argument to avx2_permv2ti.
918 2014-10-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
920 * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
922 2014-09-30 Uros Bizjak <ubizjak@gmail.com>
924 * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
925 (fmod<mode>3): Ditto.
926 (fpremxf4_i387): Ditto.
927 (reminderxf3): Ditto.
928 (reminder<mode>3): Ditto.
929 (fprem1xf4_i387): Ditto.
931 2014-09-30 Teresa Johnson <tejohnson@google.com>
933 * tree-ssa-threadupdate.c (struct ssa_local_info_t): New
934 duplicate_blocks bitmap.
935 (remove_ctrl_stmt_and_useless_edges): Ditto.
936 (create_block_for_threading): Ditto.
937 (compute_path_counts): New function.
938 (update_profile): Ditto.
939 (recompute_probabilities): Ditto.
940 (update_joiner_offpath_counts): Ditto.
941 (freqs_to_counts_path): Ditto.
942 (clear_counts_path): Ditto.
943 (ssa_fix_duplicate_block_edges): Update profile info.
944 (ssa_create_duplicates): Pass new parameter.
945 (ssa_redirect_edges): Remove old profile update.
946 (thread_block_1): New duplicate_blocks bitmap,
947 remove old profile update.
948 (thread_single_edge): Pass new parameter.
950 2014-09-30 Ilya Tocar <ilya.tocar@intel.com>
953 * varasm.c (decode_reg_name_and_count): Check availability for
954 registers from ADDITIONAL_REGISTER_NAMES.
956 2014-09-30 David Malcolm <dmalcolm@redhat.com>
959 * Makefile.in (PRETTY_PRINT_H): Add wide-int-print.h.
960 (PLUGIN_HEADERS): Add pass-instances.def.
962 2014-09-30 James Greenhalgh <james.greenhalgh@arm.com>
964 * config/aarch64/aarch64-simd-builtins.def (sqdmull_laneq): Expand
966 * config/aarch64/aarch64-simd.md
967 (aarch64_sqdmull_laneq<mode>): Expand iterator.
968 * config/aarch64/arm_neon.h (vqdmullh_laneq_s16): New.
969 (vqdmulls_lane_s32): Fix return type.
970 (vqdmulls_laneq_s32): New.
972 2014-09-30 Jakub Jelinek <jakub@redhat.com>
975 * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
976 or invert_jump_1 if jump isn't any_condjump_p.
978 2014-09-30 Terry Guo <terry.guo@arm.com>
980 * config/arm/arm-cores.def (cortex-m7): New core name.
981 * config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
983 * config/arm/arm-tables.opt: Regenerated.
984 * config/arm/arm-tune.md: Regenerated.
985 * config/arm/arm.h (TARGET_VFP5): New macro.
986 * config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
987 * config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
988 smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
989 * doc/invoke.texi: Document new cpu and fpu names.
991 2014-09-30 Jiong Wang <jiong.wang@arm.com>
993 * shrink-wrap.c (move_insn_for_shrink_wrap): Check "can_throw_internal"
996 2014-09-30 David Sherwood <david.sherwood@arm.com>
998 * ira-int.h (ira_allocno): Add "wmode" field.
999 * ira-build.c (create_insn_allocnos): Add new "parent" function
1001 * ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
1002 that cannot be accessed in wmode.
1004 2014-09-30 Markus Trippelsdorf <markus@trippelsdorf.de>
1006 * data-streamer.c (bp_unpack_var_len_int): Avoid signed
1009 2014-09-29 Andi Kleen <ak@linux.intel.com>
1011 * opts.c (print_filtered_help): Print --param min/max/default
1014 2014-09-29 Kaz Kojima <kkojima@gcc.gnu.org>
1016 * config/sh/sh.md: Use define_c_enum for "unspec" and "unspecv".
1018 2014-09-29 Eric Botcazou <ebotcazou@adacore.com>
1020 * tree-vrp.c (get_single_symbol): New function.
1021 (build_symbolic_expr): Likewise.
1022 (symbolic_range_based_on_p): New predicate.
1023 (extract_range_from_binary_expr_1): Deal with single-symbolic ranges
1024 for PLUS and MINUS. Do not drop symbolic ranges at the end.
1025 (extract_range_from_binary_expr): Try harder for PLUS and MINUS if
1026 operand is symbolic and based on the other operand.
1028 2014-09-29 Chen Gang <gang.chen.5i5j@gmail.com>
1030 * config/microblaze/microblaze.md (call_internal1): Use VOID
1031 instead of SI to fix "((void (*)(void)) 0)()" issue
1033 2014-09-29 Nick Clifton <nickc@redhat.com>
1035 * config/msp430/msp430.c (msp430_expand_prologue): Return a
1036 CLOBBER rtx for naked functions.
1037 (msp430_expand_epilogue): Likewise.
1038 (msp430_use_f5_series_hwmult): Cache result.
1039 (use_32bit_hwmult): Cache result.
1040 (msp430_no_hwmult): New function.
1041 (msp430_output_labelref): Use it.
1043 2014-09-29 Jakub Jelinek <jakub@redhat.com>
1046 * omp-low.c (lower_omp_target): For OMP_CLAUSE_MAP_POINTER
1047 of ARRAY_TYPE, if not OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION
1048 use the alignment of avar rather than ovar.
1050 2014-09-28 John David Anglin <danglin@gcc.gnu.org>
1052 * config/pa/pa.c (pa_output_function_epilogue): Only update
1053 last_address when a nonnote insn is found.
1055 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
1058 * ipa-devirt.c (possible_polymorphic_call_targets): Silence clang warning.
1060 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
1063 * ipa-polymorphic-call.c (ipa_polymorphic_call_context::restrict_to_inner_class):
1064 fix pasto in checking array size.
1066 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
1069 * passes.def (pass_tracer): Move before last dominator pass.
1071 2014-09-26 Thomas Schwinge <thomas@codesourcery.com>
1073 * gcc.c (try_generate_repro): Remove argument "prog". Change all
1075 (run_attempt): Handle errors of "pex_run" invocation.
1077 2014-09-26 Christophe Lyon <christophe.lyon@linaro.org>
1079 * config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
1081 * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
1082 (TARGET_ASAN_SHADOW_OFFSET): Define.
1084 2014-09-26 Martin Liska <mliska@suse.cz>
1086 * cgraph.c (cgraph_node::release_body): New argument keep_arguments
1088 * cgraph.h: Likewise.
1089 * cgraphunit.c (cgraph_node::create_wrapper): Usage of new argument introduced.
1090 * ipa-utils.h (polymorphic_type_binfo_p): Safe check for binfos created by Java.
1091 * tree-ssa-alias.c (ao_ref_base_alias_set): Static function transformed to global.
1092 * tree-ssa-alias.h: Likewise.
1094 2014-09-26 Jakub Jelinek <jakub@redhat.com>
1095 Max Ostapenko <m.ostapenko@partner.samsung.com>
1097 * common.opt: New option.
1098 * doc/invoke.texi: Describe new option.
1099 * gcc.c (execute): Don't free first string early, but at the end
1100 of the function. Call retry_ice if compiler exited with
1102 (main): Factor out common code.
1103 (print_configuration): New function.
1104 (files_equal_p): Likewise.
1105 (check_repro): Likewise.
1106 (run_attempt): Likewise.
1107 (do_report_bug): Likewise.
1108 (append_text): Likewise.
1109 (try_generate_repro): Likewise
1111 2014-09-25 Andi Kleen <ak@linux.intel.com>
1113 * config/i386/i386.c (x86_print_call_or_nop): New function.
1114 (x86_function_profiler): Support -mnop-mcount and
1116 * config/i386/i386.opt (-mnop-mcount, -mrecord-mcount): Add
1117 * doc/invoke.texi: Document -mnop-mcount, -mrecord-mcount.
1119 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
1121 * ipa-prop.c (ipa_intraprocedural_devirtualization): Remove.
1122 * ipa-prop.h (ipa_intraprocedural_devirtualization): Remove.
1123 * tree-ssa-prop.c (eliminate_dom_walker::before_dom_children):
1126 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
1128 * ipa-utils.h (subbinfo_with_vtable_at_offset, type_all_derivations_known_p,
1129 type_known_to_have_no_deriavations_p, types_must_be_same_for_odr,
1130 types_odr_comparable): Declare.
1131 (polymorphic_type_binfo_p): Move here from ipa-devirt.c
1132 * ipa-polymorphic-call.c: New file.
1133 (contains_polymorphic_type_p, possible_placement_new,
1134 ipa_polymorphic_call_context::restrict_to_inner_class,
1135 contains_type_p, decl_maybe_in_construction_p,
1136 ipa_polymorphic_call_context::stream_out,
1137 ipa_polymorphic_call_context::debug,
1138 ipa_polymorphic_call_context::stream_in,
1139 ipa_polymorphic_call_context::set_by_decl,
1140 ipa_polymorphic_call_context::set_by_invariant,
1142 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1143 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
1144 extr_type_from_vtbl_ptr_store, record_known_type
1145 check_stmt_for_type_change,
1146 ipa_polymorphic_call_context::get_dynamic_type): Move here from
1148 * ipa-devirt.c: No longer include data-streamer.h, lto-streamer.h
1149 and streamer-hooks.h
1150 (contains_polymorphic_type_p, possible_placement_new,
1151 ipa_polymorphic_call_context::restrict_to_inner_class,
1152 contains_type_p, decl_maybe_in_construction_p,
1153 ipa_polymorphic_call_context::stream_out,
1154 ipa_polymorphic_call_context::debug,
1155 ipa_polymorphic_call_context::stream_in,
1156 ipa_polymorphic_call_context::set_by_decl,
1157 ipa_polymorphic_call_context::set_by_invariant,
1159 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1160 type_change_info, noncall_stmt_may_be_vtbl_ptr_store,
1161 extr_type_from_vtbl_ptr_store, record_known_type
1162 check_stmt_for_type_change,
1163 ipa_polymorphic_call_context::get_dynamic_type): Move to
1164 ipa-polymorphic-call.c
1165 (type_all_derivations_known_p, types_odr_comparable,
1166 types_must_be_same_for_odr): Export.
1167 (type_known_to_have_no_deriavations_p): New function.
1168 * Makefile.in: Add ipa-polymorphic-call.c
1170 2014-09-25 Jan Hubicka <hubicka@ucw.cz>
1172 * ipa-devirt.c (polymorphic_call_target_d): Add SPECULATIVE; reorder
1174 (polymorphic_call_target_hasher::hash): Hash SPECULATIVE.
1175 (possible_polymorphic_call_targets): Instead of computing both
1176 speculative and non-speculative answers, do just one at a time.
1177 Replace NONSPECULATIVE_TARGETSP parameter with SPECULATIVE flag.
1178 (dump_targets): Break out from ...
1179 (dump_possible_polymorphic_call_targets): ... here; dump both speculative
1180 and non-speculative lists.
1181 (ipa_devirt): Update for new possible_polymorphic_call_targets API.
1182 * ipa-utils.h (possible_polymorphic_call_targets): Update.
1184 2014-09-25 Uros Bizjak <ubizjak@gmail.com>
1186 PR rtl-optimization/63348
1187 * emit-rtl.c (try_split): Do not emit extra barrier.
1189 2014-09-25 James Greenhalgh <james.greenhalgh@arm.com>
1191 * config/aarch64/aarch64-protos.h (aarch64_simd_const_bounds): Delete.
1192 * config/aarch64/aarch64-simd.md (aarch64_<sur>q<r>shl<mode>): Use
1194 (aarch64_<sur>shll2_n<mode>): Likewise.
1195 (aarch64_<sur>shr_n<mode>): Likewise.
1196 (aarch64_<sur>sra_n<mode>: Likewise.
1197 (aarch64_<sur>s<lr>i_n<mode>): Likewise.
1198 (aarch64_<sur>qshl<u>_n<mode>): Likewise.
1199 * config/aarch64/aarch64.c (aarch64_simd_const_bounds): Delete.
1200 * config/aarch64/iterators.md (ve_mode): New.
1201 (offsetlr): Remap to infix text for use in new predicates.
1202 * config/aarch64/predicates.md (aarch64_simd_shift_imm_qi): New.
1203 (aarch64_simd_shift_imm_hi): Likewise.
1204 (aarch64_simd_shift_imm_si): Likewise.
1205 (aarch64_simd_shift_imm_di): Likewise.
1206 (aarch64_simd_shift_imm_offset_qi): Likewise.
1207 (aarch64_simd_shift_imm_offset_hi): Likewise.
1208 (aarch64_simd_shift_imm_offset_si): Likewise.
1209 (aarch64_simd_shift_imm_offset_di): Likewise.
1210 (aarch64_simd_shift_imm_bitsize_qi): Likewise.
1211 (aarch64_simd_shift_imm_bitsize_hi): Likewise.
1212 (aarch64_simd_shift_imm_bitsize_si): Likewise.
1213 (aarch64_simd_shift_imm_bitsize_di): Likewise.
1215 2014-09-25 Jiong Wang <jiong.wang@arm.com>
1217 * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of
1218 new created BB as the intersection of live-in from "old_dest" and
1221 2014-09-25 Felix Yang <felix.yang@huawei.com>
1223 * lra.c (lra_set_insn_recog_data): Fix typo in comment.
1224 * genautomata.c (merge_states): Ditto.
1226 2014-09-25 Oleg Endo <olegendo@gcc.gnu.org>
1229 * config/sh/sync.md (atomic_test_and_set_soft_imask): Fix typo
1230 in instruction sequence.
1232 2014-09-25 Nick Clifton <nickc@redhat.com>
1235 * config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask): Fix typo
1236 in instruction sequence.
1238 2014-09-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1241 * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
1242 Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.
1244 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
1245 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1246 Anna Tikhonova <anna.tikhonova@intel.com>
1247 Ilya Tocar <ilya.tocar@intel.com>
1248 Andrey Turetskiy <andrey.turetskiy@intel.com>
1249 Ilya Verbin <ilya.verbin@intel.com>
1250 Kirill Yukhin <kirill.yukhin@intel.com>
1251 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1253 * config/i386/sse.md
1254 (define_expand "<avx2_avx512f>_perm<mode>"): Rename to ...
1255 (define_expand "<avx2_avx512>_perm<mode>"): ... this.
1256 (define_expand "avx512f_perm<mode>_mask"): Rename to ...
1257 (define_expand "<avx512>_perm<mode>_mask"): ... this.
1258 Use VI8F_256_512 mode iterator.
1259 (define_insn "<avx2_avx512f>_perm<mode>_1<mask_name>"): Rename to ...
1260 (define_insn "<avx2_avx512bw>_perm<mode>_1<mask_name>"): ... this.
1262 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
1263 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1264 Anna Tikhonova <anna.tikhonova@intel.com>
1265 Ilya Tocar <ilya.tocar@intel.com>
1266 Andrey Turetskiy <andrey.turetskiy@intel.com>
1267 Ilya Verbin <ilya.verbin@intel.com>
1268 Kirill Yukhin <kirill.yukhin@intel.com>
1269 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1271 * config/i386/sse.md
1272 (define_insn "avx_movshdup256<mask_name>"): Add masking.
1273 (define_insn "sse3_movshdup<mask_name>"): Ditto.
1274 (define_insn "avx_movsldup256<mask_name>"): Ditto.
1275 (define_insn "sse3_movsldup<mask_name>"): Ditto.
1276 (define_insn "vec_dupv2df<mask_name>"): Ditto.
1277 (define_insn "*vec_concatv2df"): Add EVEX version.
1279 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
1280 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1281 Anna Tikhonova <anna.tikhonova@intel.com>
1282 Ilya Tocar <ilya.tocar@intel.com>
1283 Andrey Turetskiy <andrey.turetskiy@intel.com>
1284 Ilya Verbin <ilya.verbin@intel.com>
1285 Kirill Yukhin <kirill.yukhin@intel.com>
1286 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1288 * config/i386/sse.md
1289 (define_insn "vec_set<mode>_0"): Add EVEX version.
1291 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
1292 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1293 Anna Tikhonova <anna.tikhonova@intel.com>
1294 Ilya Tocar <ilya.tocar@intel.com>
1295 Andrey Turetskiy <andrey.turetskiy@intel.com>
1296 Ilya Verbin <ilya.verbin@intel.com>
1297 Kirill Yukhin <kirill.yukhin@intel.com>
1298 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1300 * config/i386/sse.md
1302 "<fixsuffix>fix_trunc<mode><sselongvecmodelower>2<mask_name><round_saeonly_name>"):
1304 (define_insn "<fixsuffix>fix_truncv2sfv2di2<mask_name>"): Ditto.
1305 (define_insn "ufix_trunc<mode><sseintvecmodelower>2<mask_name>"): Ditto.
1306 (define_insn "sse2_cvtss2sd<round_saeonly_name>"): Change
1307 "nonimmediate_operand" to "<round_saeonly_nimm_predicate>".
1308 (define_insn "avx_cvtpd2ps256<mask_name>"): Add masking.
1309 (define_expand "sse2_cvtpd2ps_mask): New.
1310 (define_insn "*sse2_cvtpd2ps<mask_name>"): Add masking.
1311 (define_insn "sse2_cvtps2pd<mask_name>"): Add masking.
1313 2014-09-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
1314 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1315 Anna Tikhonova <anna.tikhonova@intel.com>
1316 Ilya Tocar <ilya.tocar@intel.com>
1317 Andrey Turetskiy <andrey.turetskiy@intel.com>
1318 Ilya Verbin <ilya.verbin@intel.com>
1319 Kirill Yukhin <kirill.yukhin@intel.com>
1320 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1322 * config/i386/i386.c
1323 (avx512f_ufix_notruncv8dfv8si_mask_round): Rename to ...
1324 (ufix_notruncv8dfv8si2_mask_round): ... this.
1325 * config/i386/sse.md
1326 (define_insn "avx512f_cvtdq2pd512_2): Update TARGET check.
1327 (define_insn "avx_cvtdq2pd256_2"): Add EVEX version.
1328 (define_insn "sse2_cvtdq2pd<mask_name>"): Add masking.
1329 (define_insn "avx_cvtpd2dq256<mask_name>"): Ditto.
1330 (define_expand "sse2_cvtpd2dq"): Delete.
1331 (define_insn "sse2_cvtpd2dq<mask_name>"): Add masking and
1332 make 2nd operand const0 vector.
1333 (define_insn "avx512f_ufix_notruncv8dfv8si<mask_name><round_name>"):
1335 (define_mode_attr pd2udqsuff): New.
1337 "ufix_notrunc<mode><si2dfmodelower>2<mask_name><round_name>"): Ditto.
1338 (define_insn "ufix_notruncv2dfv2si2<mask_name>"): Ditto.
1339 (define_insn "*avx_cvttpd2dq256_2"): Delete.
1340 (define_expand "sse2_cvttpd2dq"): Ditto.
1341 (define_insn "sse2_cvttpd2dq<mask_name>"): Add masking and
1342 make 2nd operand const0 vector.
1344 2014-09-25 Jakub Jelinek <jakub@redhat.com>
1346 PR tree-optimization/63341
1347 * tree-vectorizer.h (vect_create_data_ref_ptr,
1348 vect_create_addr_base_for_vector_ref): Add another tree argument
1349 defaulting to NULL_TREE.
1350 * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
1351 argument, pass it down to vect_create_addr_base_for_vector_ref.
1352 (vect_create_addr_base_for_vector_ref): Add byte_offset argument,
1353 add that to base_offset too if non-NULL.
1354 * tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
1355 for dr_explicit_realign_optimized set it to vector byte size
1356 - 1 instead of setting offset, pass byte_offset down to
1357 vect_create_data_ref_ptr.
1359 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
1361 * ipa-devirt.c (possible_polymorphic_call_targets): Remove
1362 forgotten debug output; canonicalize querries more wtih LTO.
1364 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
1366 * cgraph.h (class ipa_polymorphic_call_context): Move here from
1367 ipa-utils.h; add stream_int and stream_out methods.
1368 (cgraph_indirect_call_info): Remove SPECILATIVE_OFFSET,
1369 OUTER_TYPE, SPECULATIVE_OUTER_TYPE, MAYBE_IN_CONSTRUCTION
1370 MAYBE_DERIVED_TYPE and SPECULATIEVE_MAYBE_DERIVED_TYPE;
1372 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1373 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1374 ipa_polymorphic_call_context::clear_speculation,
1375 ipa_polymorphic_call_context::clear_outer_type): Move here from
1377 * ipa-utils.h (class ipa_polymorphic_call_context): Move to cgraph.h
1378 (ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1379 ipa_polymorphic_call_context::ipa_polymorphic_call_context,
1380 ipa_polymorphic_call_context::clear_speculation,
1381 ipa_polymorphic_call_context::clear_outer_type): Likewise.
1382 * ipa-devirt.c: Include data-streamer.h, lto-streamer.h and
1384 (ipa_polymorphic_call_context::stream_out): New method.
1385 (ipa_polymorphic_call_context::stream_in): New method.
1386 (noncall_stmt_may_be_vtbl_ptr_store): Add forgotten static.
1387 * ipa-prop.c (ipa_analyze_indirect_call_uses): Do not care about
1389 (ipa_analyze_call_uses): Simplify.
1390 (update_indirect_edges_after_inlining): Do not care about outer_type.
1391 (ipa_write_indirect_edge_info): Update.
1392 (ipa_write_indirect_edge_info): Likewise.
1393 * cgraph.c (cgraph_node::create_indirect_edge): Simplify.
1394 (dump_edge_flags): Break out from ...
1395 (cgraph_node::dump): ... here; dump indirect edges.
1397 2014-09-24 Jan Hubicka <hubicka@ucw.cz>
1399 * ipa-utils.h (polymorphic_call_context): Add
1400 metdhos dump, debug and clear_outer_type.
1401 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
1402 (ipa_polymorphic_call_context::clear_outer_type): New method.
1403 * ipa-prop.c (ipa_analyze_call_uses): Do not overwrite offset.
1404 * ipa-devirt.c (types_odr_comparable): New function.
1405 (types_must_be_same_for_odr): New function.
1406 (odr_subtypes_equivalent_p): Simplify.
1407 (possible_placement_new): Break out from ...
1408 (ipa_polymorphic_call_context::restrict_to_inner_type): ... here;
1409 be more cuatious about returning false in cases the context may be
1410 valid in derived type or via placement new.
1411 (contains_type_p): Clear maybe_derived_type
1412 (ipa_polymorphic_call_context::dump): New method.
1413 (ipa_polymorphic_call_context::debug): New method.
1414 (ipa_polymorphic_call_context::set_by_decl): Cleanup comment.
1415 (ipa_polymorphic_call_context::set_by_invariant): Simplify.
1416 (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Simplify.
1417 (possible_polymorphic_call_targets): Trust context.restrict_to_inner_class
1418 to suceed on all valid cases; remove confused sanity check.
1419 (dump_possible_polymorphic_call_targets): Simplify.
1421 2014-09-24 Aldy Hernandez <aldyh@redhat.com>
1423 * cgraph.h, dbxout.c, dwarfout2.c, gimple-fold.c,
1424 lto-streamer-out.c, print-tree.c, symtab.c, tree-inline.c,
1425 tree-streamer-in.c, tree-streamer-out.c, tree.c, tree.h,
1426 varpool.c: Rename all instances of DECL_ABSTRACT to
1429 2014-09-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1431 * config/rs6000/rs6000.c (insn_is_swappable_p): Don't provide
1432 special handling for stores whose SET_SRC is an UNSPEC (such as
1435 2014-09-24 Jiong Wang <jiong.wang@arm.com>
1437 * shrink-wrap.c (move_insn_for_shrink_wrap): Add further check when
1438 !REG_P (src) to release more instruction sink opportunities.
1440 2014-09-24 Wilco Dijkstra <wilco.dijkstra@arm.com>
1442 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add register
1443 move costs for 128-bit types.
1445 2014-09-24 Martin Jambor <mjambor@suse.cz>
1447 * ipa-prop.c (ipa_edge_duplication_hook): Update controlled_use_count
1448 when duplicating a PASS_THROUGH jump function when creating a
1451 2014-09-24 Marek Polacek <polacek@redhat.com>
1455 * asan.c (maybe_instrument_call): Add default case.
1456 * ipa-pure-const.c (special_builtin_state): Likewise.
1457 * predict.c (expr_expected_value_1): Likewise.
1458 * lto-streamer-out.c (write_symbol): Initialize variable.
1460 2014-09-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1462 * config/aarch64/arm_neon.h (vmuld_lane_f64): Use macro for getting
1464 (vmuld_laneq_f64): Likewise.
1465 (vmuls_lane_f32): Likewise.
1466 (vmuls_laneq_f32): Likewise.
1468 2014-09-24 Kirill Yukhin <kirill.yukhin@intel.com>
1471 * varpool.c (varpool_node::add): Pass decl attributes
1472 to lookup_attribute.
1474 2014-09-24 Jakub Jelinek <jakub@redhat.com>
1477 * asan.c (asan_expand_check_ifn): Fix up align >= 8 optimization.
1479 2014-09-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1481 PR tree-optimization/63266
1482 * tree-ssa-math-opts.c (struct symbolic_number): Add comment about
1483 marker for unknown byte value.
1484 (MARKER_MASK): New macro.
1485 (MARKER_BYTE_UNKNOWN): New macro.
1486 (HEAD_MARKER): New macro.
1487 (do_shift_rotate): Mark bytes with unknown values due to sign
1488 extension when doing an arithmetic right shift. Replace hardcoded
1489 mask for marker by new MARKER_MASK macro.
1490 (find_bswap_or_nop_1): Likewise and adjust ORing of two symbolic
1491 numbers accordingly.
1493 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
1494 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1495 Anna Tikhonova <anna.tikhonova@intel.com>
1496 Ilya Tocar <ilya.tocar@intel.com>
1497 Andrey Turetskiy <andrey.turetskiy@intel.com>
1498 Ilya Verbin <ilya.verbin@intel.com>
1499 Kirill Yukhin <kirill.yukhin@intel.com>
1500 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1502 * config/i386/sse.md
1504 "<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode><mask_name>"):
1506 (define_insn "fix_truncv8sfv8si2<mask_name>"): Ditto.
1507 (define_insn "fix_truncv4sfv4si2<mask_name>"): Ditto.
1509 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
1510 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1511 Anna Tikhonova <anna.tikhonova@intel.com>
1512 Ilya Tocar <ilya.tocar@intel.com>
1513 Andrey Turetskiy <andrey.turetskiy@intel.com>
1514 Ilya Verbin <ilya.verbin@intel.com>
1515 Kirill Yukhin <kirill.yukhin@intel.com>
1516 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1518 * config/i386/sse.md
1519 (define_c_enum "unspec"): Add UNSPEC_PSHUFHW, UNSPEC_PSHUFLW.
1520 (define_insn "<mask_codefor>avx512bw_pshuflwv32hi<mask_name>"): New.
1521 (define_expand "avx512vl_pshuflwv3_mask"): Ditto.
1522 (define_insn "avx2_pshuflw_1<mask_name>"): Add masking.
1523 (define_expand "avx512vl_pshuflw_mask"): New.
1524 (define_insn "sse2_pshuflw_1<mask_name>"): Add masking.
1525 (define_insn "<mask_codefor>avx512bw_pshufhwv32hi<mask_name>"): New.
1526 (define_expand "avx512vl_pshufhwv3_mask"): Ditto.
1527 (define_insn "avx2_pshufhw_1<mask_name>"): Add masking.
1528 (define_expand "avx512vl_pshufhw_mask"): New.
1529 (define_insn "sse2_pshufhw_1<mask_name>"): Add masking.
1531 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
1532 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1533 Anna Tikhonova <anna.tikhonova@intel.com>
1534 Ilya Tocar <ilya.tocar@intel.com>
1535 Andrey Turetskiy <andrey.turetskiy@intel.com>
1536 Ilya Verbin <ilya.verbin@intel.com>
1537 Kirill Yukhin <kirill.yukhin@intel.com>
1538 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1540 * config/i386/i386.c
1541 (ix86_expand_args_builtin): Handle CODE_FOR_sse2_shufpd,
1542 CODE_FOR_sse2_sse2_shufpd_mask, CODE_FOR_sse2_avx512dq_shuf_f64x2_mask,
1543 CODE_FOR_sse2_avx512dq_shuf_i64x2_mask,
1544 CODE_FOR_sse2_avx512vl_shuf_i32x4_mask and
1545 CODE_FOR_sse2_avx512vl_shuf_f32x4_mask.
1546 * config/i386/sse.md
1547 (define_expand "avx512dq_shuf_<shuffletype>64x2_mask"): New.
1549 "<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>"): Ditto.
1550 (define_expand "avx512vl_shuf_<shuffletype>32x4_mask"): Ditto.
1552 "<mask_codefor>avx512vl_shuf_<shuffletype>32x4_1<mask_name>"): Ditto.
1553 (define_expand "avx512vl_pshufdv3_mask"): Ditto.
1554 (define_insn "avx2_pshufd_1<mask_name>"): Add masking.
1555 (define_expand "avx512vl_pshufd_mask"): New.
1556 (define_insn "sse2_pshufd_1<mask_name>"): Add masking.
1558 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
1559 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1560 Anna Tikhonova <anna.tikhonova@intel.com>
1561 Ilya Tocar <ilya.tocar@intel.com>
1562 Andrey Turetskiy <andrey.turetskiy@intel.com>
1563 Ilya Verbin <ilya.verbin@intel.com>
1564 Kirill Yukhin <kirill.yukhin@intel.com>
1565 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1567 * config/i386/i386.c
1568 (CODE_FOR_avx2_extracti128): Rename to ...
1569 (CODE_FOR_avx_vextractf128v4di): this.
1570 (CODE_FOR_avx2_inserti128): Rename to ...
1571 (CODE_FOR_avx_vinsertf128v4di): this.
1572 (ix86_expand_args_builtin): Handle CODE_FOR_avx_vinsertf128v4di,
1573 CODE_FOR_avx_vextractf128v4di.
1574 (ix86_expand_args_builtin): Handle CODE_FOR_avx512dq_vinsertf32x8_mask,
1575 CODE_FOR_avx512dq_vinserti32x8_mask, CODE_FOR_avx512vl_vinsertv4df,
1576 CODE_FOR_avx512vl_vinsertv4di, CODE_FOR_avx512vl_vinsertv8sf,
1577 CODE_FOR_avx512vl_vinsertv8si.
1578 * config/i386/sse.md
1580 "<extract_type>_vinsert<shuffletype><extract_suf>_mask"): Use
1581 AVX512_VEC mode iterator.
1583 "<mask_codefor><extract_type>_vinsert<shuffletype><extract_suf>_1<mask_name>"):
1586 "<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask"): Use
1587 AVX512_VEC_2 mode iterator.
1588 (define_insn "vec_set_lo_<mode><mask_name>"): New.
1589 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
1590 (define_expand "avx512vl_vinsert<mode>"): Ditto.
1591 (define_insn "avx2_vec_set_lo_v4di"): Delete.
1592 (define_insn "avx2_vec_set_hi_v4di"): Ditto.
1593 (define_insn "vec_set_lo_<mode><mask_name>"): Add masking.
1594 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
1595 (define_insn "vec_set_lo_<mode><mask_name>"): Ditto.
1596 (define_insn "vec_set_hi_<mode><mask_name>"): Ditto.
1597 (define_expand "avx2_extracti128"): Delete.
1598 (define_expand "avx2_inserti128"): Ditto.
1600 2014-09-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
1601 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1602 Anna Tikhonova <anna.tikhonova@intel.com>
1603 Ilya Tocar <ilya.tocar@intel.com>
1604 Andrey Turetskiy <andrey.turetskiy@intel.com>
1605 Ilya Verbin <ilya.verbin@intel.com>
1606 Kirill Yukhin <kirill.yukhin@intel.com>
1607 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1609 * config/i386/sse.md
1610 (define_insn "avx2_<code>v16qiv16hi2<mask_name>"): Add masking.
1611 (define_insn "avx512bw_<code>v32qiv32hi2<mask_name>"): New.
1612 (define_insn "sse4_1_<code>v8qiv8hi2<mask_name>"): Add masking.
1613 (define_insn "avx2_<code>v8qiv8si2<mask_name>"): Ditto.
1614 (define_insn "sse4_1_<code>v4qiv4si2<mask_name>"): Ditto.
1615 (define_insn "avx2_<code>v8hiv8si2<mask_name>"): Ditto.
1616 (define_insn "sse4_1_<code>v4hiv4si2<mask_name>"): Ditto.
1617 (define_insn "avx2_<code>v4qiv4di2<mask_name>"): Ditto.
1618 (define_insn "sse4_1_<code>v2qiv2di2<mask_name>"): Ditto.
1619 (define_insn "avx2_<code>v4hiv4di2<mask_name>"): Ditto.
1620 (define_insn "sse4_1_<code>v2hiv2di2<mask_name>"): Ditto.
1621 (define_insn "avx2_<code>v4siv4di2<mask_name>"): Ditto.
1622 (define_insn "sse4_1_<code>v2siv2di2<mask_name>"): Ditto.
1624 2014-09-24 Zhenqiang Chen <zhenqiang.chen@arm.com>
1626 PR rtl-optimization/63210
1627 * ira-color.c (assign_hard_reg): Ignore conflict cost if the
1628 HARD_REGNO is not available for CONFLICT_A.
1630 2014-09-23 Andi Kleen <ak@linux.intel.com>
1632 * cgraph.h (symtab_node): Add no_reorder attribute.
1633 (symbol_table::output_asm_statements): Remove.
1634 * cgraphclones.c (cgraph_node::create_clone): Copy no_reorder.
1635 (cgraph_node::create_version_clone): Dito.
1636 (symbol_table::output_asm_statements): Remove.
1637 * trans-mem.c (ipa_tm_create_version_alias): Dito.
1638 * cgraphunit.c (varpool_node::finalize_decl): Check no_reorder.
1639 (output_in_order): Add no_reorder flag. Only handle no_reorder
1641 (symbol_table::compile): Add separate pass for no_reorder nodes.
1642 (process_common_attributes): Set no_reorder flag in symtab node.
1644 (process_function_and_variable_attributes): Pass symtab nodes to
1645 process_common_attributes.
1646 * doc/extend.texi (no_reorder): Document no_reorder attribute.
1647 * lto-cgraph.c (lto_output_node): Serialize no_reorder.
1648 (lto_output_varpool_node): Dito.
1649 (input_overwrite_node): Dito.
1650 (input_varpool_node): Dito.
1651 * varpool.c (varpool_node::add): Set no_reorder attribute.
1652 (symbol_table::remove_unreferenced_decls): Handle no_reorder.
1653 (symbol_table::output_variables): Dito.
1654 * symtab.c (symtab_node::dump_base): Print no_reorder.
1656 2014-09-23 Jiong Wang <jiong.wang@arm.com>
1658 * shrink-wrap.c (try_shrink_wrapping): Check PIC_OFFSET_TABLE_REGNUM not
1661 2014-09-23 Thomas Schwinge <thomas@codesourcery.com>
1663 * configure: Regenerate.
1665 2014-09-23 Alan Lawrence <alan.lawrence@arm.com>
1667 * combine.c (simplify_shift_const_1): Allow commuting (ashiftrt (xor))
1668 when result_mode == shift_mode.
1670 2014-09-23 Kostya Serebryany <kcc@google.com>
1672 Update to match the changed asan API.
1673 * asan.c (asan_global_struct): Update the __asan_global definition
1674 to match the new API.
1675 (asan_add_global): Ditto.
1676 * sanitizer.def (BUILT_IN_ASAN_INIT): Rename __asan_init_v3
1679 2014-09-23 Michael Meissner <meissner@linux.vnet.ibm.com>
1681 * config/rs6000/rs6000.md (f32_vsx): New mode attributes to
1682 refine the constraints used on 32/64-bit floating point moves.
1684 (f64_vsx): Likewise.
1687 (BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
1688 (BOOL_REGS_OP1): Likewise.
1689 (BOOL_REGS_OP2): Likewise.
1690 (BOOL_REGS_UNARY): Likewise.
1691 (mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
1692 32/64-bit floating point moves. Do not use wa, instead use ww/ws
1693 for moves involving VSX registers. Do not use constraints that
1694 target VSX registers for decimal types.
1695 (mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
1696 (mov<mode>_hardfloat64, DFmode/DDmode): Likewise.
1698 2014-09-23 Jan Hubicka <hubicka@ucw.cz>
1700 * tree.h (int_bit_position): Turn into inline function;
1701 implement using wide int.
1702 * tree.c (int_bit_position): Remove.
1704 2014-09-23 Richard Sandiford <richard.sandiford@arm.com>
1707 * target-globals.c (target_globals::~target_globals): Fix location
1708 of ira_int destruction.
1710 2014-09-23 Renlin Li <renlin.li@arm.com>
1712 * config/aarch64/aarch64.md (return): New.
1713 (simple_return): Likewise.
1714 * config/aarch64/aarch64.c (aarch64_use_return_insn_p): New.
1715 * config/aarch64/aarch64-protos.h (aarch64_use_return_insn_p): New.
1717 2014-09-23 Wilco Dijkstra <wdijkstr@arm.com>
1719 * common/config/aarch64/aarch64-common.c:
1720 (default_options aarch_option_optimization_table):
1721 Default to -fsched-pressure.
1723 2014-09-23 Ilya Enkovich <ilya.enkovich@intel.com>
1725 * cfgcleanup.c (try_optimize_cfg): Do not remove label
1726 with LABEL_PRESERVE_P flag set.
1728 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
1729 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1730 Anna Tikhonova <anna.tikhonova@intel.com>
1731 Ilya Tocar <ilya.tocar@intel.com>
1732 Andrey Turetskiy <andrey.turetskiy@intel.com>
1733 Ilya Verbin <ilya.verbin@intel.com>
1734 Kirill Yukhin <kirill.yukhin@intel.com>
1735 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1737 * config/i386/sse.md
1738 (define_expand "avx_shufpd256<mask_expand4_name>"): Add masking.
1739 (define_insn "avx_shufpd256_1<mask_name>"): Ditto.
1740 (define_expand "sse2_shufpd<mask_expand4_name>"): Ditto.
1741 (define_insn "sse2_shufpd_v2df_mask"): New.
1743 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
1744 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1745 Anna Tikhonova <anna.tikhonova@intel.com>
1746 Ilya Tocar <ilya.tocar@intel.com>
1747 Andrey Turetskiy <andrey.turetskiy@intel.com>
1748 Ilya Verbin <ilya.verbin@intel.com>
1749 Kirill Yukhin <kirill.yukhin@intel.com>
1750 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1752 * config/i386/sse.md
1753 (define_expand "avx_shufps256<mask_expand4_name>"): Add masking.
1754 (define_insn "avx_shufps256_1<mask_name>"): Ditto.
1755 (define_expand "sse_shufps<mask_expand4_name>"): Ditto.
1756 (define_insn "sse_shufps_v4sf_mask"): New.
1758 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
1759 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1760 Anna Tikhonova <anna.tikhonova@intel.com>
1761 Ilya Tocar <ilya.tocar@intel.com>
1762 Andrey Turetskiy <andrey.turetskiy@intel.com>
1763 Ilya Verbin <ilya.verbin@intel.com>
1764 Kirill Yukhin <kirill.yukhin@intel.com>
1765 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1767 * config/i386/sse.md
1768 (define_insn "avx_unpckhps256<mask_name>"): Add masking.
1769 (define_insn "vec_interleave_highv4sf<mask_name>"): Ditto.
1770 (define_insn "avx_unpcklps256<mask_name>"): Ditto.
1771 (define_insn "unpcklps128_mask"): New.
1773 2014-09-23 Alexander Ivchenko <alexander.ivchenko@intel.com>
1774 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
1775 Anna Tikhonova <anna.tikhonova@intel.com>
1776 Ilya Tocar <ilya.tocar@intel.com>
1777 Andrey Turetskiy <andrey.turetskiy@intel.com>
1778 Ilya Verbin <ilya.verbin@intel.com>
1779 Kirill Yukhin <kirill.yukhin@intel.com>
1780 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
1782 * config/i386/sse.md
1783 (define_insn "avx_unpckhpd256<mask_name>"): Add masking.
1784 (define_insn "avx512vl_unpckhpd128_mask"): New.
1785 (define_expand "avx_movddup256<mask_name>"): Add masking.
1786 (define_expand "avx_unpcklpd256<mask_name>"): Ditto.
1787 (define_insn "*avx_unpcklpd256<mask_name>"): Ditto.
1788 (define_insn "avx512vl_unpcklpd128_mask"): New.
1790 2014-09-22 Joseph Myers <joseph@codesourcery.com>
1792 * doc/tm.texi.in (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1793 * doc/tm.texi: Regenerate.
1794 * system.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Poison.
1795 * config/alpha/alpha.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1796 * config/i386/i386-interix.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
1798 * config/i386/i386.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1799 * config/i386/rtemself.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1800 * config/ia64/ia64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1801 * config/m68k/m68k.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1802 * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
1804 * config/mips/mips.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1805 * config/mips/n32-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1806 * config/msp430/msp430.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1807 * config/rl78/rl78.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1808 * config/rs6000/rs6000.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1809 * config/rx/rx.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1810 * config/s390/s390.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1811 * config/sparc/freebsd.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1812 * config/sparc/linux.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1813 * config/sparc/linux64.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1814 * config/sparc/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE):
1817 2014-09-22 Jan Hubicka <hubicka@ucw.cz>
1819 * tree-ssa-ccp.c (prop_value_d): Rename to ...
1820 (ccp_prop_value_t): ... this one to avoid ODR violation; update uses.
1821 * ipa-prop.c (struct type_change_info): Rename to ...
1822 (prop_type_change_info): ... this; update uses.
1823 * ggc-page.c (globals): Rename to ...
1824 (static struct ggc_globals): ... this; update uses.
1825 * tree-ssa-loop-im.c (mem_ref): Rename to ...
1826 (im_mem_ref): ... this; update uses.
1827 * ggc-common.c (loc_descriptor): Rename to ...
1828 (ggc_loc_descriptor): ... this; update uses.
1829 * lra-eliminations.c (elim_table): Rename to ...
1830 (lra_elim_table): ... this; update uses.
1831 * bitmap.c (output_info): Rename to ...
1832 (bitmap_output_info): ... this; update uses.
1833 * gcse.c (expr): Rename to ...
1834 (gcse_expr) ... this; update uses.
1835 (occr): Rename to ...
1836 (gcse_occr): .. this; update uses.
1837 * tree-ssa-copy.c (prop_value_d): Rename to ...
1838 (prop_value_t): ... this.
1839 * predict.c (block_info_def): Rename to ...
1840 (block_info): ... this; update uses.
1841 (edge_info_def): Rename to ...
1842 (edge_info): ... this; update uses.
1843 * profile.c (bb_info): Rename to ...
1844 (bb_profile_info): ... this; update uses.
1845 * alloc-pool.c (output_info): Rename to ...
1846 (pool_output_info): ... this; update uses.
1847 * ipa-cp.c (topo_info): Rename to ..
1848 (ipa_topo_info): ... this; update uses.
1849 * tree-nrv.c (nrv_data): Rename to ...
1850 (nrv_data_t): ... this; update uses.
1851 * ipa-split.c (bb_info): Rename to ...
1852 (split_bb_info): ... this one.
1853 * profile.h (edge_info): Rename to ...
1854 (edge_profile_info): ... this one; update uses.
1855 * dse.c (bb_info): Rename to ...
1856 (dse_bb_info): ... this one; update uses.
1857 * cprop.c (occr): Rename to ...
1858 (cprop_occr): ... this one; update uses.
1859 (expr): Rename to ...
1860 (cprop_expr): ... this one; update uses.
1862 2014-09-22 Jason Merrill <jason@redhat.com>
1864 * Makefile.in (check-parallel-%): Add @.
1866 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
1868 * config/aarch64/geniterators.sh: New.
1869 * config/aarch64/iterators.md (VDQF_DF): New.
1870 * config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
1871 * config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
1873 2014-09-22 Peter A. Bigot <pab@pabigot.com>
1875 * config/msp430/msp430.h (LIB_SPEC): Remove automatic addition of
1876 -lnosys when -msim absent.
1878 2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
1880 * fold-const.c (tree_swap_operands_p): Strip only sign-preserving NOPs.
1882 2014-09-22 Richard Biener <rguenther@suse.de>
1884 * gimplify.c (gimplify_init_constructor): Do not leave
1885 non-GIMPLE vector constructors around.
1886 * tree-cfg.c (verify_gimple_assign_single): Verify that
1887 CONSTRUCTORs have gimple elements.
1889 2014-09-22 Jakub Jelinek <jakub@redhat.com>
1892 * omp-low.c (ipa_simd_modify_stmt_ops): For debug stmts
1893 insert a debug source bind stmt setting DEBUG_EXPR_DECL
1894 instead of a normal gimple assignment stmt.
1896 2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
1898 * config/bfin/bfin.md: Fix use of constraints in define_split.
1900 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
1902 * config/i386/i386.c (ix86_cannot_change_mode_class): Remove
1903 GET_MODE_SIZE (to) < GET_MODE_SIZE (from) test.
1905 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
1907 * hard-reg-set.h: Include hash-table.h.
1908 (target_hard_regs): Add a finalize method and a x_simplifiable_subregs
1910 * target-globals.c (target_globals::~target_globals): Call
1911 hard_regs->finalize.
1912 * rtl.h (subreg_shape): New structure.
1913 (shape_of_subreg): New function.
1914 (simplifiable_subregs): Declare.
1915 * reginfo.c (simplifiable_subreg): New structure.
1916 (simplifiable_subregs_hasher): Likewise.
1917 (simplifiable_subregs): New function.
1918 (invalid_mode_changes): Delete.
1919 (alid_mode_changes, valid_mode_changes_obstack): New variables.
1920 (record_subregs_of_mode): Remove subregs_of_mode parameter.
1921 Record valid mode changes in valid_mode_changes.
1922 (find_subregs_of_mode): Remove subregs_of_mode parameter.
1923 Update calls to record_subregs_of_mode.
1924 (init_subregs_of_mode): Remove invalid_mode_changes and bitmap
1925 handling. Initialize new variables. Update call to
1926 find_subregs_of_mode.
1927 (invalid_mode_change_p): Check new variables instead of
1928 invalid_mode_changes.
1929 (finish_subregs_of_mode): Finalize new variables instead of
1930 invalid_mode_changes.
1931 (target_hard_regs::finalize): New function.
1932 * ira-costs.c (print_allocno_costs): Call invalid_mode_change_p
1933 even when CLASS_CANNOT_CHANGE_MODE is undefined.
1935 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
1937 * combine.c (subst): Use simplify_subreg_regno rather than
1938 REG_CANNOT_CHANGE_MODE_P to detect invalid mode changes.
1940 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
1942 * rtl.h (subreg_info): Expand commentary
1943 * rtlanal.c (subreg_get_info): Likewise.
1945 2014-09-22 Richard Sandiford <richard.sandiford@arm.com>
1947 * hard-reg-set.h (COPY_HARD_REG_SET, COMPL_HARD_REG_SET)
1948 (AND_HARD_REG_SET, AND_COMPL_HARD_REG_SET, IOR_HARD_REG_SET)
1949 (IOR_COMPL_HARD_REG_SET): Allow the "from" set to be constant.
1951 2014-09-22 Zhenqiang Chen <zhenqiang.chen@arm.com>
1953 * config/arm/arm.c: #include "tm-constrs.h"
1954 (thumb1_size_rtx_costs): Adjust rtx costs.
1956 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
1958 * configure.ac (target_header_dir): Move block defining
1959 this to before the block setting inhibit_libc.
1960 (inhibit_libc): When considering $with_headers, just
1961 check it it's explicitly "no". If not, also check if
1962 $target_header_dir/stdio.h is present. If not, set
1964 * configure: Regenerate.
1966 2014-09-21 Patrick Oppenlander <pattyo.lists@gmail.com>
1968 * config/rs6000/t-spe (MULTILIB_EXCEPTIONS): Allow isel without SPE.
1970 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
1972 * config/rs6000/rs6000.md (div<mode>3): Fix comment. Use a different
1973 insn for divides by integer powers of two.
1974 (div<mode>3_sra, *div<mode>3_sra_dot, *div<mode>3_sra_dot2): New.
1975 (mod<mode>3): Fix formatting.
1976 (three anonymous define_insn and two define_split): Delete.
1978 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
1980 * config/rs6000/rs6000.md (ashr<mode>3, *ashr<mode>3, *ashrsi3_64,
1981 *ashr<mode>3_dot, *ashr<mode>3_dot2): Clobber CA_REGNO.
1982 (floatdisf2_internal2): Ditto.
1983 (ashrdi3_no_power): Ditto. Fix formatting.
1985 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
1987 * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
1988 popcntb<mode>2, popcntd<mode>2, parity<mode>2, parity<mode>2_cmpb):
1991 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
1993 * config/rs6000/rs6000.md (strlensi): Don't use subsi3 with a
1994 constant, use addsi3 directly.
1995 (three anonymous define_insn, two define_split): Delete.
1996 (sub<mode>3): Move. Do not allow constant second operand.
1997 Generate different insn for constant first operand.
1998 (*subf<mode>3, *subf<mode>3_dot, *subf<mode>3_dot2): New.
1999 (subf<mode>3_imm): New.
2000 (ctz<mode>2, ffs<mode>2): Clobber CA_REGNO where required.
2001 (*plus_ltu<mode>): Only handle registers.
2002 (*plus_ltu<mode>_1): New. Handle integer third operand.
2003 (*plus_gtu<mode>): Only handle registers.
2004 (*plus_gtu<mode>_1): New. Handle integer third operand.
2006 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
2008 * config/rs6000/rs6000.md (iorxor): New code_iterator.
2009 (iorxor): New code_attr.
2010 (IORXOR): New code_attr.
2011 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): Delete.
2012 (ior<mode>3, xor<mode>3): Delete.
2013 (<iorxor><mode>3): New.
2014 (splitter for "big" integer ior, xor): New.
2015 (*bool<mode>3): Move. Also handle AND.
2016 (*bool<mode>3_dot, *bool<mode>3_dot2): Also handle AND.
2017 (splitter for "big" integer ior, xor): Delete.
2019 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
2021 * config/rs6000/rs6000.md (*neg<mode>2_internal): Delete.
2022 (two anonymous define_insn and two define_split): Delete.
2023 (*neg<mode>2, *neg<mode>2_dot, *neg<mode>2_dot2): New.
2025 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
2027 * config/rs6000/rs6000.md (*one_cmpl<mode>2): Generate "not" insn.
2028 (two anonymous define_insn and two define_split): Delete.
2029 (*one_cmpl<mode>2_dot, *one_cmpl<mode>2_dot2): New.
2031 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
2033 * config/rs6000/rs6000.c (rs6000_rtx_costs) <NE>: New.
2035 2014-09-21 Segher Boessenkool <segher@kernel.crashing.org>
2037 * config/rs6000/predicates.md (ca_operand): Allow subregs.
2038 (input_operand): Do not allow ca_operand.
2039 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): For the
2040 carry bit, allow SImode and Pmode.
2041 (rs6000_init_hard_regno_mode_ok): Make the carry bit class NO_REGS.
2043 2014-09-21 Uros Bizjak <ubizjak@gmail.com>
2045 * config/i386/i386.c (ix86_expand_call): Generate MS->SYSV extra
2046 clobbered registers using clobber_reg. Remove UNSPEC decoration.
2047 * config/i386/i386.md (unspec) <UNSPEC_MS_TO_SYSV_CALL>: Remove.
2048 (*call_rex64_ms_sysv): Remove.
2049 (*call_value_rex64_ms_sysv): Ditto.
2050 * config/i386/predicates.md (call_rex64_ms_sysv_operation): Remove.
2052 2014-09-20 Joern Rennecke <joern.rennecke@embecosm.com>
2054 * config/epiphany/epiphany.md (sub_f_add_imm): Change constraint of
2057 2014-09-20 Andreas Schwab <schwab@suse.de>
2059 * config/ia64/ia64.md: Remove constraints from define_split
2062 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2064 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
2065 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
2066 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
2067 (get_dynamic_type): Remove.
2068 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
2069 (clear_speculation): Bring to ipa-deivrt.h
2070 (get_class_context): Rename to ...
2071 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
2072 (contains_type_p): Update.
2073 (get_dynamic_type): Rename to ...
2074 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
2075 (possible_polymorphic_call_targets): UPdate.
2076 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
2077 * ipa-prop.c (ipa_analyze_call_uses): Update.
2079 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2081 * ipa-visibility.c (varpool_node::externally_visible_p): Do not
2082 privatize dynamic TLS variables.
2084 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2086 * diagnostic.c (warning_n): New function.
2087 * diagnostic-core.h (warning_n): Declare.
2088 * ipa-devirt.c (ipa_devirt): Handle singulars correctly;
2089 output dynamic counts when available.
2091 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2093 PR tree-optimization/63255
2094 * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering
2095 issue in setting body_removed flag.
2097 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2100 * c-family/c-common.c (handle_alias_ifunc_attribute): Check
2101 that visibility change is possible
2102 (handle_weakref_attribute): Likewise.
2103 * cgraph.h (symtab_node): Add method get_create and
2104 field refuse_visibility_changes.
2105 (symtab_node::get_create): New method.
2106 * fold-const.c (tree_single_nonzero_warnv_p): Use get_create.
2107 * varasm.c (mark_weak): Verify that visibility change is
2110 2014-09-19 Michael Meissner <meissner@linux.vnet.ibm.com>
2112 * config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
2113 for base_reg_operand to be common between LO_SUM and PLUS.
2114 (fusion_gpr_mem_combo): New predicate to match a fused address
2115 that combines the addis and memory offset address.
2117 * config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
2119 (emit_fusion_gpr_load): Likewise.
2121 * config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
2122 signature to pass each argument separately, rather than
2123 using an operands array. Rewrite the insns found by peephole2 to
2124 be a single insn, rather than hoping the insns will still be
2125 together when the peephole pass is done. Drop being called via a
2127 (emit_fusion_gpr_load): Change calling signature to be called from
2128 the fusion_gpr_load_<mode> insns with a combined memory address
2129 instead of the peephole pass passing the addis and offset
2132 * config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
2134 (power8 fusion peephole): Drop support for doing power8 via a
2135 normal peephole that was created by the peephole2 pass.
2136 (power8 fusion peephole2): Create a new insn with the fused
2137 address, so that the fused operation is kept together after
2138 register allocation is done.
2139 (fusion_gpr_load_<mode>): Likewise.
2141 2014-09-19 Jan Hubicka <hubicka@ucw.cz>
2144 * tree.c (need_assembler_name_p): Do not mangle variadic types.
2146 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
2148 * recog.c (scratch_operand): Do not simply allow all hard registers:
2149 only allow those that are allocatable.
2151 2014-09-19 Felix Yang <felix.yang@huawei.com>
2153 * cfgrtl.c ira.c ira-color.c ira-conflicts ira-lives.c: Update
2154 comments and fix spacing to conform to coding style.
2156 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
2158 * genrecog.c (validate_pattern): Allow empty constraints in
2161 2014-09-19 Aldy Hernandez <aldyh@redhat.com>
2163 * dwarf2out.c (decl_ultimate_origin): Update comment.
2164 * tree.c (block_ultimate_origin): Same.
2166 2014-09-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2168 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
2169 Update GCC version name to GCC 5.
2170 (rs6000_function_arg_boundary): Likewise.
2171 (rs6000_function_arg): Likewise.
2173 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
2175 * config/sh/sh.md: Fix use of constraints in define_split.
2177 2014-09-19 Markus Trippelsdorf <markus@trippelsdorf.de>
2180 * ipa-devirt.c (ipa_devirt): Bail out if odr_types_ptr is NULL.
2182 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
2184 * doc/md.texi (Modifiers): Consistently use "read/write"
2185 nomenclature rather than "input/output".
2186 * genrecog.c (constraints_supported_in_insn_p): New.
2187 (validate_pattern): If needed, also check constraints on
2188 MATCH_SCRATCH operands.
2189 * genoutput.c (validate_insn_alternatives): Catch earlyclobber
2190 operands with no '=' or '+' modifier.
2192 2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
2194 * config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
2195 scratch register as written.
2197 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2199 * config/s390/s390.c (s390_emit_epilogue): Remove bogus
2202 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2204 * config/s390/s390.md ("trunctdsd2", "extendsdtd2"): New
2207 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2210 * config/s390/s390.c (s390_emit_epilogue): When doing the return
2211 address load optimization force s390_optimize_prologue to leave it
2212 that way. Only do the optimization if we already decided to push
2213 r14 into a stack slot.
2215 2014-09-19 Marat Zakirov <m.zakirov@samsung.com>
2217 * asan.c (build_check_stmt): Alignment arg was added.
2218 (asan_expand_check_ifn): Optimization for alignment >= 8.
2220 2014-09-19 Olivier Hainque <hainque@adacore.com>
2222 * config/i386/vxworksae.h: Remove obsolete definitions.
2223 (STACK_CHECK_PROTECT): Define.
2224 * config/i386/vx-common.h: Remove. Merge contents within
2225 config/i386/vxworks.h.
2226 * config.gcc (i?86-vxworks*): Use i386/vxworks.h instead of
2229 2014-09-19 Olivier Hainque <hainque@adacore.com>
2231 * config.gcc (powerpc-wrs-vxworksmils): New configuration.
2232 * config/rs6000/t-vxworksmils: New file.
2233 * config/rs6000/vxworksmils.h: New file.
2235 2014-09-19 Olivier Hainque <hainque@adacore.com>
2237 * varasm.c (default_section_type_flags): Flag .persistent.bss
2238 sections as SECTION_BSS.
2240 2014-09-19 Nick Clifton <nickc@redhat.com>
2242 * config/rl78/rl78.c (rl78_expand_epilogue): Generate a USE of the
2243 pop'ed registers so that DCE does not eliminate them.
2245 2014-09-18 Jan Hubicka <hubicka@ucw.cz>
2248 * ipa-devirt.c (odr_subtypes_equivalent_p): Fix thinko in a condition.
2250 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2252 * system.h (LIBGCC2_TF_CEXT): Poison.
2253 * config/i386/cygming.h (LIBGCC2_TF_CEXT): Remove.
2254 * config/i386/darwin.h (LIBGCC2_TF_CEXT): Likewise.
2255 * config/i386/dragonfly.h (LIBGCC2_TF_CEXT): Likewise.
2256 * config/i386/freebsd.h (LIBGCC2_TF_CEXT): Likewise.
2257 * config/i386/gnu-user-common.h (LIBGCC2_TF_CEXT): Likewise.
2258 * config/i386/openbsdelf.h (LIBGCC2_TF_CEXT): Likewise.
2259 * config/i386/sol2.h (LIBGCC2_TF_CEXT): Likewise.
2260 * config/ia64/ia64.h (LIBGCC2_TF_CEXT): Likewise.
2261 * config/ia64/linux.h (LIBGCC2_TF_CEXT): Likewise.
2263 2014-09-19 Kito Cheng <kito@0xlab.org>
2265 * except.h: Fix header guard.
2266 * addresses.h: Add missing header guard.
2267 * cfghooks.h: Likewise.
2268 * collect-utils.h: Likewise.
2269 * collect2-aix.h: Likewise.
2270 * conditions.h: Likewise.
2271 * cselib.h: Likewise.
2272 * dwarf2asm.h: Likewise.
2273 * graphds.h: Likewise.
2274 * graphite-scop-detection.h: Likewise.
2275 * gsyms.h: Likewise.
2276 * hw-doloop.h: Likewise.
2277 * incpath.h: Likewise.
2278 * ipa-inline.h: Likewise.
2279 * ipa-ref.h: Likewise.
2280 * ira-int.h: Likewise.
2282 * lra-int.h: Likewise.
2284 * lto-section-names.h: Likewise.
2285 * read-md.h: Likewise.
2286 * reload.h: Likewise.
2287 * rtl-error.h: Likewise.
2288 * sdbout.h: Likewise.
2289 * targhooks.h: Likewise.
2290 * tree-affine.h: Likewise.
2291 * xcoff.h: Likewise.
2292 * xcoffout.h: Likewise.
2294 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
2297 * haifa-sched.c (schedule_block): Advance cycle at the end of BB
2300 2014-09-18 Vladimir Makarov <vmakarov@redhat.com>
2303 * lra.c (lra): Call recog_init.
2305 2014-09-18 Jakub Jelinek <jakub@redhat.com>
2308 * asan.c (transform_statements): Don't instrument clobber statements.
2310 2014-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2312 * config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
2313 to neon_load1_1reg<q>.
2315 2014-09-17 Jakub Jelinek <jakub@redhat.com>
2318 * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
2319 if there are only debug stmts after the noreturn call, instead
2320 remove the debug stmts.
2322 2014-09-17 Jan Hubicka <hubicka@ucw.cz>
2324 * ipa-devirt.c (type_pair, default_hashset_traits): New types.
2325 (odr_types_equivalent_p): Use pair hash.
2326 (odr_subtypes_equivalent_p): Likewise, do structural compare
2327 on ODR types that may be mismatched.
2328 (warn_odr): Support warning when only one field is given.
2329 (odr_types_equivalent_p): Strenghten comparsions made;
2331 (add_type_duplicate): Update VISITED hash set.
2333 2014-09-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
2335 * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
2336 Enable selection of 'posix' or no thread model.
2338 2014-09-17 Andrew Stubbs <ams@codesourcery.com>
2340 * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
2341 when architecture is older than ARMv7.
2343 2014-09-16 John David Anglin <danglin@gcc.gnu.org>
2346 * config/pa/pa.c (pa_function_value): Directly handle aggregates
2347 that fit exactly in a word or double word.
2349 2014-09-16 Ilya Tocar <ilya.tocar@intel.com>
2351 * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
2354 2014-09-16 Alexander Ivchenko <alexander.ivchenko@intel.com>
2355 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2356 Anna Tikhonova <anna.tikhonova@intel.com>
2357 Ilya Tocar <ilya.tocar@intel.com>
2358 Andrey Turetskiy <andrey.turetskiy@intel.com>
2359 Ilya Verbin <ilya.verbin@intel.com>
2360 Kirill Yukhin <kirill.yukhin@intel.com>
2361 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2363 * config/i386/i386.c
2364 (ix86_expand_vector_extract): Handle V32HI and V64QI modes.
2365 * config/i386/sse.md
2366 (define_mode_iterator VI48F_256): New.
2367 (define_mode_attr extract_type): Ditto.
2368 (define_mode_attr extract_suf): Ditto.
2369 (define_mode_iterator AVX512_VEC): Ditto.
2371 "<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
2373 (define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
2375 "<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
2377 (define_mode_attr extract_type_2): Ditto.
2378 (define_mode_attr extract_suf_2): Ditto.
2379 (define_mode_iterator AVX512_VEC_2): Ditto.
2381 "<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
2382 AVX512_VEC_2 mode iterator.
2383 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
2384 (define_expand "avx512vl_vextractf128<mode>"): Ditto.
2385 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
2386 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
2387 (define_split for V16FI mode): Ditto.
2388 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
2389 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
2390 (define_split for VI8F_256 mode): Ditto.
2391 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
2392 (define_insn_and_split "vec_extract_lo_<mode>"): Delete.
2393 (define_insn "vec_extract_lo_<mode><mask_name>"): New.
2394 (define_split for VI4F_256 mode): Ditto.
2395 (define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
2396 (define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
2397 (define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
2398 (define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
2399 (define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
2400 (define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
2401 (define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
2402 Update `type' attribute, remove explicit `memory' attribute calculation.
2404 2014-09-16 Kito Cheng <kito@0xlab.org>
2406 * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
2407 ira_spilled_reg_stack_slots_num if using lra.
2408 (do_reload): Remove release ira_spilled_reg_stack_slots part.
2409 * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
2410 make sure not using lra.
2411 (ira_reuse_stack_slot): Likewise.
2412 (ira_mark_new_stack_slot): Likewise.
2414 2014-09-15 Andi Kleen <ak@linux.intel.com>
2416 * function.c (allocate_struct_function): Force
2417 DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
2418 profiling is disabled.
2420 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
2422 * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
2423 config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
2424 emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
2425 reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
2426 macro with statically checked member functions.
2427 * rtl.h (rtx_insn::deleted): New method.
2428 (rtx_insn::set_deleted): Likewise.
2429 (rtx_insn::set_undeleted): Likewise.
2430 (INSN_DELETED_P): Remove.
2432 2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
2434 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
2435 result of emit_jump_insn_before to a new variable.
2436 * jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
2437 (mark_jump_label_1): Likewise.
2438 (mark_jump_label_asm): Likewise.
2439 * reload1.c (gen_reload): Change type of tem to rtx_insn *.
2440 * rtl.h (mark_jump_label): Adjust.
2442 2014-09-15 Jakub Jelinek <jakub@redhat.com>
2444 * Makefile.in (dg_target_exps): Remove.
2445 (check_gcc_parallelize): Change to just an upper bound number.
2446 (check-%-subtargets): Always print the non-parallelized goals.
2447 (check_p_vars, check_p_comma, check_p_subwork): Remove.
2448 (check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
2449 check_p_numbers3, check_p_numbers4, check_p_numbers5,
2450 check_p_numbers6): New variables.
2451 (check_p_numbers): Set to sequence from 1 to 9999.
2452 (check_p_subdirs): Set to sequence from 1 to minimum of
2453 $(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
2455 (check-%, check-parallel-%): Rewritten so that for parallelized
2456 testing each job runs all the *.exp files, with
2457 GCC_RUNTEST_PARALLELIZE_DIR set in environment.
2459 2014-09-15 David Malcolm <dmalcolm@redhat.com>
2461 * config/arc/arc-protos.h (arc_attr_type): Strengthen param from
2463 (arc_sets_cc_p): Likewise.
2464 * config/arc/arc.c (arc_print_operand): Use methods of
2465 "final_sequence" for clarity, and to enable strengthening of
2466 locals "jump" and "delay" from rtx to rtx_insn *.
2467 (arc_adjust_insn_length): Strengthen local "prev" from rtx to
2468 rtx_insn *; use method of rtx_sequence for typesafety.
2469 (arc_get_insn_variants): Use insn method of rtx_sequence for
2471 (arc_pad_return): Likewise.
2472 (arc_attr_type): Strengthen param from rtx to rtx_insn *.
2473 (arc_sets_cc_p): Likewise. Also, convert a GET_CODE check to a
2474 dyn_cast to rtx_sequence *, using insn method for typesafety.
2475 * config/arc/arc.h (ADJUST_INSN_LENGTH): Add checked casts to
2476 rtx_sequence * and use insn method when invoking get_attr_length.
2477 * config/bfin/bfin.c (type_for_anomaly): Strengthen param from rtx
2478 to rtx_insn *. Replace a GET_CODE check with a dyn_cast to
2479 rtx_sequence *, introducing a local "seq", using its insn method
2480 from typesafety and clarity.
2481 (add_sched_insns_for_speculation): Strengthen local "next" from
2483 * config/c6x/c6x.c (get_insn_side): Likewise for param "insn".
2484 (predicate_insn): Likewise.
2485 * config/cris/cris-protos.h (cris_notice_update_cc): Likewise for
2487 * config/cris/cris.c (cris_notice_update_cc): Likewise.
2488 * config/epiphany/epiphany-protos.h
2489 (extern void epiphany_insert_mode_switch_use): Likewise for param
2491 (get_attr_sched_use_fpu): Likewise for param.
2492 * config/epiphany/epiphany.c (epiphany_insert_mode_switch_use):
2493 Likewise for param "insn".
2494 * config/epiphany/mode-switch-use.c (insert_uses): Likewise for
2495 param "insn" of "target_insert_mode_switch_use" callback.
2496 * config/frv/frv.c (frv_insn_unit): Likewise for param "insn".
2497 (frv_issues_to_branch_unit_p): Likewise.
2498 (frv_pack_insn_p): Likewise.
2499 (frv_compare_insns): Strengthen locals "insn1" and "insn2" from
2500 const rtx * (i.e. mutable rtx_def * const *) to
2502 * config/i386/i386-protos.h (standard_sse_constant_opcode):
2503 Strengthen first param from rtx to rtx_insn *.
2504 (output_fix_trunc): Likewise.
2505 * config/i386/i386.c (standard_sse_constant_opcode): Likewise.
2506 (output_fix_trunc): Likewise.
2507 (core2i7_first_cycle_multipass_filter_ready_try): Likewise for
2509 (min_insn_size): Likewise for param "insn".
2510 (get_mem_group): Likewise.
2512 (get_insn_path): Likewise.
2513 (get_insn_group): Likewise.
2514 (count_num_restricted): Likewise.
2515 (fits_dispatch_window): Likewise.
2516 (add_insn_window): Likewise.
2517 (add_to_dispatch_window): Likewise.
2518 (debug_insn_dispatch_info_file): Likewise.
2519 * config/m32c/m32c-protos.h (m32c_output_compare): Likewise for
2521 * config/m32c/m32c.c (m32c_compare_redundant): Likewise for param
2522 "cmp" and local "prev".
2523 (m32c_output_compare): Likewise for param "insn".
2524 * config/m32r/predicates.md (define_predicate "small_insn_p"): Add
2525 a checked cast to rtx_insn * on "op" after we know it's an INSN_P.
2526 (define_predicate "large_insn_p"): Likewise.
2527 * config/m68k/m68k-protos.h (m68k_sched_attr_size): Strengthen
2528 param from rtx to rtx_insn *.
2529 (attr_op_mem m68k_sched_attr_op_mem): Likewise.
2530 * config/m68k/m68k.c (sched_get_attr_size_int): Likewise.
2531 (m68k_sched_attr_size): Likewise.
2532 (sched_get_opxy_mem_type): Likewise for param "insn".
2533 (m68k_sched_attr_op_mem): Likewise.
2534 (sched_mem_operand_p): Likewise.
2535 * config/mep/mep-protos.h (mep_multi_slot): Likewise for param.
2536 * config/mep/mep.c (mep_multi_slot): Likewise.
2537 * config/mips/mips-protos.h (mips_output_sync_loop): Likewise for
2539 (mips_sync_loop_insns): Likewise.
2540 * config/mips/mips.c (mips_print_operand_punctuation): Use insn
2541 method of "final_sequence" for typesafety.
2542 (mips_process_sync_loop): Strengthen param "insn" from rtx to
2544 (mips_output_sync_loop): Likewise.
2545 (mips_sync_loop_insns): Likewise.
2546 (mips_74k_agen_init): Likewise.
2547 (mips_sched_init): Use NULL rather than NULL_RTX when working with
2549 * config/nds32/nds32-fp-as-gp.c (nds32_symbol_load_store_p):
2550 Strengthen param "insn" from rtx to rtx_insn *.
2551 * config/nds32/nds32.c (nds32_target_alignment): Likewise for
2553 * config/pa/pa-protos.h (pa_insn_refs_are_delayed): Likewise for
2555 * config/pa/pa.c (pa_output_function_epilogue): Likewise for local
2556 "insn". Use method of rtx_sequence for typesafety.
2557 (branch_to_delay_slot_p): Strengthen param "insn" from rtx to
2559 (branch_needs_nop_p): Likewise.
2560 (use_skip_p): Likewise.
2561 (pa_insn_refs_are_delayed): Likewise.
2562 * config/rl78/rl78.c (rl78_propogate_register_origins): Likewise
2563 for locals "insn", "ninsn".
2564 * config/rs6000/rs6000.c (is_microcoded_insn): Likewise for param
2566 (is_cracked_insn): Likewise.
2567 (is_branch_slot_insn): Likewise.
2568 (is_nonpipeline_insn): Likewise.
2569 (insn_terminates_group_p): Likewise.
2570 (insn_must_be_first_in_group): Likewise.
2571 (insn_must_be_last_in_group): Likewise.
2572 (force_new_group): Likewise for param "next_insn".
2573 * config/s390/s390.c (s390_get_sched_attrmask): Likewise for param
2575 (s390_sched_score): Likewise.
2576 * config/sh/sh-protos.h (output_branch): Likewise for param 2.
2577 (rtx sfunc_uses_reg): Likewise for sole param.
2578 * config/sh/sh.c (sh_print_operand): Use insn method of
2579 final_sequence for typesafety.
2580 (output_branch): Strengthen param "insn" from rtx to rtx_insn *.
2581 Use insn method of final_sequence for typesafety.
2582 (sfunc_uses_reg): Strengthen param "insn" from rtx to rtx_insn *.
2583 * config/sparc/sparc-protos.h (eligible_for_call_delay): Likewise
2585 (eligible_for_return_delay): Likewise.
2586 (eligible_for_sibcall_delay): Likewise.
2587 * config/sparc/sparc.c (eligible_for_call_delay): Likewise.
2588 (eligible_for_return_delay): Likewise.
2589 (eligible_for_sibcall_delay): Likewise.
2590 * config/stormy16/stormy16-protos.h
2591 (xstormy16_output_cbranch_hi): Likewise for final param.
2592 (xstormy16_output_cbranch_si): Likewise.
2593 * config/stormy16/stormy16.c (xstormy16_output_cbranch_hi): LIkewise.
2594 (xstormy16_output_cbranch_si): Likewise.
2595 * config/v850/v850-protos.h (notice_update_cc): Likewise.
2596 * config/v850/v850.c (notice_update_cc): Likewise.
2598 * final.c (get_attr_length_1): Strengthen param "insn" and param
2599 of "fallback_fn" from rtx to rtx_insn *, eliminating a checked cast.
2600 (get_attr_length): Strengthen param "insn" from rtx to rtx_insn *.
2601 (get_attr_min_length): Likewise.
2602 (shorten_branches): Likewise for signature of locals "length_fun"
2603 and "inner_length_fun". Introduce local rtx_sequence * "seqn"
2604 from a checked cast and use its methods for clarity and to enable
2605 strengthening local "inner_insn" from rtx to rtx_insn *.
2606 * genattr.c (gen_attr): When writing out the prototypes of the
2607 various generated "get_attr_" functions, strengthen the params of
2608 the non-const functions from rtx to rtx_insn *.
2609 Similarly, strengthen the params of insn_default_length,
2610 insn_min_length, insn_variable_length_p, insn_current_length.
2611 (main): Similarly, strengthen the param of num_delay_slots,
2612 internal_dfa_insn_code, insn_default_latency, bypass_p,
2613 insn_latency, min_issue_delay, print_reservation,
2614 insn_has_dfa_reservation_p and of the "internal_dfa_insn_code" and
2615 "insn_default_latency" callbacks. Rename hook_int_rtx_unreachable
2616 to hook_int_rtx_insn_unreachable.
2617 * genattrtab.c (write_attr_get): When writing out the generated
2618 "get_attr_" functions, strengthen the param "insn" from rtx to
2619 rtx_insn *, eliminating a checked cast.
2620 (make_automaton_attrs): When writing out prototypes of
2621 "internal_dfa_insn_code_", "insn_default_latency_" functions
2622 and the "internal_dfa_insn_code" and "insn_default_latency"
2623 callbacks, strengthen their params from rtx to rtx_insn *
2624 * genautomata.c (output_internal_insn_code_evaluation): When
2625 writing out code, add a checked cast from rtx to rtx_insn * when
2626 invoking DFA_INSN_CODE_FUNC_NAME aka dfa_insn_code.
2627 (output_dfa_insn_code_func): Strengthen param of generated
2628 function "dfa_insn_code_enlarge" from rtx to rtx_insn *.
2629 (output_trans_func): Likewise for generated function
2631 (output_internal_insn_latency_func): When writing out generated
2632 function "internal_insn_latency", rename params from "insn" and
2633 "insn2" to "insn_or_const0" and "insn2_or_const0". Reintroduce
2634 locals "insn" and "insn2" as rtx_insn * with checked casts once
2635 we've proven that we're not dealing with const0_rtx.
2636 (output_insn_latency_func): Strengthen param of generated
2637 function "insn_latency" from rtx to rtx_insn *.
2638 (output_print_reservation_func): Likewise for generated function
2639 "print_reservation".
2640 (output_insn_has_dfa_reservation_p): Likewise for generated
2641 function "insn_has_dfa_reservation_p".
2642 * hooks.c (hook_int_rtx_unreachable): Rename to...
2643 (hook_int_rtx_insn_unreachable): ...this, and strengthen param
2644 from rtx to rtx_insn *.
2645 * hooks.h (hook_int_rtx_unreachable): Likewise.
2646 (extern int hook_int_rtx_insn_unreachable): Likewise.
2647 * output.h (get_attr_length): Strengthen param from rtx to rtx_insn *.
2648 (get_attr_min_length): Likewise.
2649 * recog.c (get_enabled_alternatives): Likewise.
2650 * recog.h (alternative_mask get_enabled_alternatives): Likewise.
2651 * reorg.c (find_end_label): Introduce local rtx "pat" and
2652 strengthen local "insn" from rtx to rtx_insn *.
2653 (redundant_insn): Use insn method of "seq" rather than element for
2654 typesafety; strengthen local "control" from rtx to rtx_insn *.
2655 * resource.c (mark_referenced_resources): Add checked cast to
2656 rtx_insn * within INSN/JUMP_INSN case.
2657 (mark_set_resources): Likewise.
2658 * sel-sched.c (estimate_insn_cost): Strengthen param "insn" from
2661 2014-09-15 David Malcolm <dmalcolm@redhat.com>
2663 * config/rs6000/rs6000.c (rs6000_loop_align_max_skip): Strengthen
2664 param "label" from rtx to rtx_insn *.
2665 * config/rx/rx.c (rx_max_skip_for_label): Likewise for param "lab"
2667 * doc/tm.texi (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Autogenerated changes.
2668 (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Likewise.
2669 (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
2670 (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
2671 * final.c (default_label_align_after_barrier_max_skip): Strengthen
2672 param from rtx to rtx_insn *.
2673 (default_loop_align_max_skip): Likewise.
2674 (default_label_align_max_skip): Likewise.
2675 (default_jump_align_max_skip): Likewise.
2676 * target.def (label_align_after_barrier_max_skip): Likewise.
2677 (loop_align_max_skip): Likewise.
2678 (label_align_max_skip): Likewise.
2679 (jump_align_max_skip): Likewise.
2680 * targhooks.h (default_label_align_after_barrier_max_skip):
2682 (default_loop_align_max_skip): Likewise.
2683 (default_label_align_max_skip): Likewise.
2684 (default_jump_align_max_skip): Likewise.
2686 2014-09-15 David Malcolm <dmalcolm@redhat.com>
2688 * config/arc/arc.c (arc_can_follow_jump): Strengthen both params
2689 from const_rtx to const rtx_insn *. Update union members from rtx
2691 * doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
2692 * hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
2693 (hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
2694 strengthen both params from const_rtx to const rtx_insn *.
2695 * hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
2696 (hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
2697 * reorg.c (follow_jumps): Strengthen param "jump" from rtx to
2699 * target.def (can_follow_jump): Strengthen both params from
2700 const_rtx to const rtx_insn *, and update default implementation
2701 from hook_bool_const_rtx_const_rtx_true to
2702 hook_bool_const_rtx_insn_const_rtx_insn_true.
2704 2014-09-15 David Malcolm <dmalcolm@redhat.com>
2706 * sched-deps.c (deps_start_bb): Strengthen param "head" and local
2707 "insn" from rtx to rtx_insn *.
2708 * sched-int.h (deps_start_bb): Likewise for 2nd param.
2710 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
2711 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2712 Anna Tikhonova <anna.tikhonova@intel.com>
2713 Ilya Tocar <ilya.tocar@intel.com>
2714 Andrey Turetskiy <andrey.turetskiy@intel.com>
2715 Ilya Verbin <ilya.verbin@intel.com>
2716 Kirill Yukhin <kirill.yukhin@intel.com>
2717 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2719 * config/i386/sse.md
2720 (define_insn "vcvtph2ps<mask_name>"): Add masking.
2721 (define_insn "*vcvtph2ps_load<mask_name>"): Ditto.
2722 (define_insn "vcvtph2ps256<mask_name>"): Ditto.
2723 (define_expand "vcvtps2ph_mask"): New.
2724 (define_insn "*vcvtps2ph<mask_name>"): Add masking.
2725 (define_insn "*vcvtps2ph_store<mask_name>"): Ditto.
2726 (define_insn "vcvtps2ph256<mask_name>"): Ditto.
2728 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
2729 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2730 Anna Tikhonova <anna.tikhonova@intel.com>
2731 Ilya Tocar <ilya.tocar@intel.com>
2732 Andrey Turetskiy <andrey.turetskiy@intel.com>
2733 Ilya Verbin <ilya.verbin@intel.com>
2734 Kirill Yukhin <kirill.yukhin@intel.com>
2735 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2737 * config/i386/sse.md (define_mode_iterator VI248_AVX512BW_AVX512VL):
2739 (define_mode_iterator VI24_AVX512BW_1): Ditto.
2740 (define_insn "<mask_codefor>ashr<mode>3<mask_name>"): Ditto.
2741 (define_insn "<mask_codefor>ashrv2di3<mask_name>"): Ditto.
2742 (define_insn "ashr<VI248_AVX512BW_AVX512VL:mode>3<mask_name>"): Enable
2743 also for TARGET_AVX512VL.
2744 (define_expand "ashrv2di3"): Update to enable TARGET_AVX512VL.
2746 2014-09-15 Markus Trippelsdorf <markus@trippelsdorf.de>
2748 * doc/install.texi (Options specification): add
2749 --disable-libsanitizer item.
2751 2014-09-14 James Clarke <jrtc27@jrtc27.com>
2752 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2755 * config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
2757 * config/darwin-driver.c (darwin_find_version_from_kernel): Removed
2758 kernel version check to avoid incrementing it after every major OS X
2760 (darwin_default_min_version): Avoid static memory buffer.
2762 2014-09-13 Jan Hubicka <hubicka@ucw.cz>
2764 * tree.c (need_assembler_name_p): Store C++ type mangling only
2767 2014-09-13 Marek Polacek <polacek@redhat.com>
2769 * tree.c (protected_set_expr_location): Don't check whether T is
2772 2014-09-12 DJ Delorie <dj@redhat.com>
2774 * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
2775 (extend_and_shift1_hipsi2): Likewise.
2776 (extend_and_shift2_hipsi2): Likewise.
2778 2014-09-12 David Malcolm <dmalcolm@redhat.com>
2780 * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX
2781 with NULL when dealing with an insn.
2782 * config/sh/sh.c (sh_reorg): Strengthen local "last_float_move"
2783 from rtx to rtx_insn *.
2784 * rtl.h (reg_set_between_p): Strengthen params 2 and 3 from
2785 const_rtx to const rtx_insn *.
2786 * rtlanal.c (reg_set_between_p): Likewise, removing a checked cast.
2788 2014-09-12 Trevor Saunders <tsaunders@mozilla.com>
2790 * hash-table.h (gt_pch_nx): Don't call gt_pch_note_object within an
2793 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2795 * target.def (libgcc_floating_mode_supported_p): New hook.
2796 * targhooks.c (default_libgcc_floating_mode_supported_p): New
2798 * targhooks.h (default_libgcc_floating_mode_supported_p): Declare.
2799 * doc/tm.texi.in (LIBGCC2_HAS_DF_MODE, LIBGCC2_HAS_XF_MODE)
2800 (LIBGCC2_HAS_TF_MODE): Remove.
2801 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): New @hook.
2802 * doc/tm.texi: Regenerate.
2803 * genmodes.c (emit_insn_modes_h): Define HAVE_%smode for each
2805 * system.h (LIBGCC2_HAS_SF_MODE, LIBGCC2_HAS_DF_MODE)
2806 (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE): Poison.
2807 * config/i386/cygming.h (LIBGCC2_HAS_TF_MODE): Remove.
2808 * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE): Remove.
2809 * config/i386/djgpp.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2810 * config/i386/dragonfly.h (LIBGCC2_HAS_TF_MODE): Remove.
2811 * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE): Remove.
2812 * config/i386/gnu-user-common.h (LIBGCC2_HAS_TF_MODE): Remove.
2813 * config/i386/i386-interix.h (IX86_NO_LIBGCC_TFMODE): Define.
2814 * config/i386/i386.c (ix86_libgcc_floating_mode_supported_p): New
2816 (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P): Define.
2817 * config/i386/i386elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2818 * config/i386/lynx.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2819 * config/i386/netbsd-elf.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2820 * config/i386/netbsd64.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2821 * config/i386/nto.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2822 * config/i386/openbsd.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2823 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE): Remove.
2824 * config/i386/rtemself.h (IX86_NO_LIBGCC_TFMODE): Define.
2825 * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Remove.
2826 * config/i386/vx-common.h (IX86_MAYBE_NO_LIBGCC_TFMODE): Define.
2827 * config/ia64/elf.h (IA64_NO_LIBGCC_TFMODE): Define.
2828 * config/ia64/freebsd.h (IA64_NO_LIBGCC_TFMODE): Define.
2829 * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE, LIBGCC2_HAS_TF_MODE):
2831 * config/ia64/ia64.c (TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P):
2833 (ia64_libgcc_floating_mode_supported_p): New function.
2834 * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): Remove.
2835 * config/ia64/vms.h (IA64_NO_LIBGCC_XFMODE)
2836 (IA64_NO_LIBGCC_TFMODE): Define.
2837 * config/msp430/msp430.h (LIBGCC2_HAS_DF_MODE): Remove.
2838 * config/pdp11/pdp11.c (TARGET_SCALAR_MODE_SUPPORTED_P): New
2840 (pdp11_scalar_mode_supported_p): New function.
2841 * config/rl78/rl78.h (LIBGCC2_HAS_DF_MODE): Remove.
2842 * config/rx/rx.h (LIBGCC2_HAS_DF_MODE): Remove.
2844 2014-09-12 Richard Biener <rguenther@suse.de>
2847 * gimple-fold.c (get_maxval_strlen): Gimplify string length.
2849 2014-09-12 Marc Glisse <marc.glisse@inria.fr>
2851 * tree.c (integer_each_onep): New function.
2852 * tree.h (integer_each_onep): Declare it.
2853 * fold-const.c (fold_binary_loc): Use it for ~A + 1 to -A and
2854 -A - 1 to ~A. Disable (X & 1) ^ 1, (X ^ 1) & 1 and ~X & 1 to
2855 (X & 1) == 0 for vector and complex.
2857 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
2859 * gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
2861 (cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
2862 cost to spilling from integer to FP registers.
2864 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
2866 * config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
2868 (generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
2869 are now handled correctly.
2871 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
2873 * config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
2874 handling of CALLER_SAVE_REGS and POINTER_REGS.
2876 2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
2878 * gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
2879 the number of hard registers.
2881 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
2882 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2883 Anna Tikhonova <anna.tikhonova@intel.com>
2884 Ilya Tocar <ilya.tocar@intel.com>
2885 Andrey Turetskiy <andrey.turetskiy@intel.com>
2886 Ilya Verbin <ilya.verbin@intel.com>
2887 Kirill Yukhin <kirill.yukhin@intel.com>
2888 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2890 * config/i386/sse.md
2891 (define_mode_iterator VI48_AVX512VL): New.
2892 (define_expand "<avx512>_vternlog<mode>_maskz"): Rename from
2893 "avx512f_vternlog<mode>_maskz" and update mode iterator.
2894 (define_insn "<avx512>_vternlog<mode><sd_maskz_name>"): Rename
2895 from "avx512f_vternlog<mode><sd_maskz_name>" and update mode iterator.
2896 (define_insn "<avx512>_vternlog<mode>_mask"): Rename from
2897 "avx512f_vternlog<mode>_mask" and update mode iterator.
2898 (define_insn "<mask_codefor><avx512>_align<mode><mask_name>"): Rename
2899 from "<mask_codefor>avx512f_align<mode><mask_name>" and update mode
2901 (define_insn "<avx512>_<rotate>v<mode><mask_name>"): Rename from
2902 "avx512f_<rotate>v<mode><mask_name>" and update mode iterator.
2903 (define_insn "<avx512>_<rotate><mode><mask_name>"): Rename from
2904 "avx512f_<rotate><mode><mask_name>" and update mode iterator.
2905 (define_insn "clz<mode>2<mask_name>"): Use VI48_AVX512VL mode iterator.
2906 (define_insn "<mask_codefor>conflict<mode><mask_name>"): Ditto.
2908 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
2909 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2910 Anna Tikhonova <anna.tikhonova@intel.com>
2911 Ilya Tocar <ilya.tocar@intel.com>
2912 Andrey Turetskiy <andrey.turetskiy@intel.com>
2913 Ilya Verbin <ilya.verbin@intel.com>
2914 Kirill Yukhin <kirill.yukhin@intel.com>
2915 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2917 * config/i386/sse.md (VI128_256): Delete.
2918 (define_mode_iterator VI124_256): New.
2919 (define_mode_iterator VI124_256_AVX512F_AVX512BW): Ditto.
2920 (define_expand "<code><mode>3<mask_name><round_name>"): Delete.
2921 (define_expand "<code><VI124_256_AVX512F_AVX512BW:mode>3"): New.
2922 (define_insn "*avx2_<code><VI124_256:mode>3"): Rename from
2923 "*avx2_<code><mode>3<mask_name><round_name>" and update mode iterator.
2924 (define_expand "<code><VI48_AVX512VL:mode>3_mask"): New.
2925 (define_insn "*avx512bw_<code><VI48_AVX512VL:mode>3<mask_name>"): Ditto.
2926 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Update mode
2928 (define_expand "<code><VI8_AVX2:mode>3"): Update pettern generation
2929 in presence of AVX-512.
2931 2014-09-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
2932 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
2933 Anna Tikhonova <anna.tikhonova@intel.com>
2934 Ilya Tocar <ilya.tocar@intel.com>
2935 Andrey Turetskiy <andrey.turetskiy@intel.com>
2936 Ilya Verbin <ilya.verbin@intel.com>
2937 Kirill Yukhin <kirill.yukhin@intel.com>
2938 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
2940 * config/i386/sse.md
2941 (define_expand "<avx512>_gathersi<mode>"): Rename from
2942 "avx512f_gathersi<mode>".
2943 (define_insn "*avx512f_gathersi<mode>"): Use VI48F.
2944 (define_insn "*avx512f_gathersi<mode>_2"): Ditto.
2945 (define_expand "<avx512>_gatherdi<mode>"): Rename from
2946 "avx512f_gatherdi<mode>".
2947 (define_insn "*avx512f_gatherdi<mode>"): Use VI48F.
2948 (define_insn "*avx512f_gatherdi<mode>_2"): Use VI48F, add 128/256-bit
2950 (define_expand "<avx512>_scattersi<mode>"): Rename from
2951 "avx512f_scattersi<mode>".
2952 (define_insn "*avx512f_scattersi<mode>"): Use VI48F.
2953 (define_expand "<avx512>_scatterdi<mode>"): Rename from
2954 "avx512f_scatterdi<mode>".
2955 (define_insn "*avx512f_scatterdi<mode>"): Use VI48F.
2957 2014-09-12 Richard Sandiford <richard.sandiford@arm.com>
2959 * ira.h (ira_finish_once): Delete.
2960 * ira-int.h (target_ira_int::~target_ira_int): Declare.
2961 (target_ira_int::free_ira_costs): Likewise.
2962 (target_ira_int::free_register_move_costs): Likewise.
2963 (ira_finish_costs_once): Delete.
2964 * ira.c (free_register_move_costs): Replace with...
2965 (target_ira_int::free_register_move_costs): ...this new function.
2966 (target_ira_int::~target_ira_int): Define.
2967 (ira_init): Call free_register_move_costs as a member function rather
2968 than a global function.
2969 (ira_finish_once): Delete.
2970 * ira-costs.c (free_ira_costs): Replace with...
2971 (target_ira_int::free_ira_costs): ...this new function.
2972 (ira_init_costs): Call free_ira_costs as a member function rather
2973 than a global function.
2974 (ira_finish_costs_once): Delete.
2975 * target-globals.c (target_globals::~target_globals): Call the
2976 target_ira_int destructor.
2977 * toplev.c: Include lra.h.
2978 (finalize): Call lra_finish_once rather than ira_finish_once.
2980 2014-09-11 Jan Hubicka <hubicka@ucw.cz>
2982 * common.opt (flto-odr-type-merging): New flag.
2983 * ipa-deivrt.c (hash_type_name): Use ODR names for hasing if availale.
2984 (types_same_for_odr): Likewise.
2985 (odr_subtypes_equivalent_p): Likewise.
2986 (add_type_duplicate): Do not walk type variants.
2987 (register_odr_type): New function.
2988 * ipa-utils.h (register_odr_type): Declare.
2989 (odr_type_p): New function.
2990 * langhooks.c (lhd_set_decl_assembler_name): Do not compute
2992 * doc/invoke.texi (-flto-odr-type-merging): Document.
2993 * tree.c (need_assembler_name_p): Compute ODR names when asked
2995 * tree.h (DECL_ASSEMBLER_NAME): Update comment.
2997 2014-09-11 H.J. Lu <hongjiu.lu@intel.com>
3000 * config/i386/i386.c (ix86_option_override_internal): Also turn
3001 off OPTION_MASK_ABI_X32 for -m16.
3003 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
3005 * config/rs6000/rs6000.md (rs6000_mftb_<mode>): Use mode iterator
3008 2014-09-11 Marc Glisse <marc.glisse@inria.fr>
3011 * ginclude/float.h (FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN):
3012 Directly forward to __*_DENORM_MIN__.
3014 2014-09-11 David Malcolm <dmalcolm@redhat.com>
3016 * rtl.h (LABEL_REF_LABEL): New macro.
3018 * alias.c (rtx_equal_for_memref_p): Use LABEL_REF_LABEL in place
3019 of XEXP (, 0), where we know that we have a LABEL_REF.
3020 * cfgbuild.c (make_edges): Likewise.
3021 (purge_dead_tablejump_edges): Likewise.
3022 * cfgexpand.c (convert_debug_memory_address): Likewise.
3023 * cfgrtl.c (patch_jump_insn): Likewise.
3024 * combine.c (distribute_notes): Likewise.
3025 * cse.c (hash_rtx_cb): Likewise.
3026 (exp_equiv_p): Likewise.
3027 (fold_rtx): Likewise.
3028 (check_for_label_ref): Likewise.
3029 * cselib.c (rtx_equal_for_cselib_1): Likewise.
3030 (cselib_hash_rtx): Likewise.
3031 * emit-rtl.c (mark_label_nuses): Likewise.
3032 * explow.c (convert_memory_address_addr_space): Likewise.
3033 * final.c (output_asm_label): Likewise.
3034 (output_addr_const): Likewise.
3035 * gcse.c (add_label_notes): Likewise.
3036 * genconfig.c (walk_insn_part): Likewise.
3037 * genrecog.c (validate_pattern): Likewise.
3038 * ifcvt.c (cond_exec_get_condition): Likewise.
3039 (noce_emit_store_flag): Likewise.
3040 (noce_get_alt_condition): Likewise.
3041 (noce_get_condition): Likewise.
3042 * jump.c (maybe_propagate_label_ref): Likewise.
3043 (mark_jump_label_1): Likewise.
3044 (redirect_exp_1): Likewise.
3045 (rtx_renumbered_equal_p): Likewise.
3046 * lra-constraints.c (operands_match_p): Likewise.
3047 * reload.c (operands_match_p): Likewise.
3048 (find_reloads): Likewise.
3049 * reload1.c (set_label_offsets): Likewise.
3050 * reorg.c (get_branch_condition): Likewise.
3051 * rtl.c (rtx_equal_p_cb): Likewise.
3052 (rtx_equal_p): Likewise.
3053 * rtlanal.c (reg_mentioned_p): Likewise.
3054 (rtx_referenced_p): Likewise.
3055 (get_condition): Likewise.
3056 * sched-vis.c (print_value): Likewise.
3057 * varasm.c (const_hash_1): Likewise.
3058 (compare_constant): Likewise.
3059 (const_rtx_hash_1): Likewise.
3060 (output_constant_pool_1): Likewise.
3062 2014-09-11 Segher Boessenkool <segher@kernel.crashing.org>
3064 * config/rs6000/htm.md (tabort, tabortdc, tabortdci, tabortwc,
3065 tabortwci, tbegin, tcheck, tend, trechkpt, treclaim, tsr): Use xor
3067 * config/rs6000/vector.md (cr6_test_for_zero_reverse,
3068 cr6_test_for_lt_reverse): Ditto.
3070 2014-09-11 Paolo Carlini <paolo.carlini@oracle.com>
3073 * doc/invoke.texi ([-Wmissing-field-initializers]): Update.
3075 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
3077 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_su_qualifiers,
3078 TYPES_REINTERP_SU, aarch64_types_unop_sp_qualifiers, TYPE_REINTERP_SP,
3079 aarch64_types_unop_us_qualifiers, TYPES_REINTERP_US,
3080 aarch64_types_unop_ps_qualifiers, TYPES_REINTERP_PS, BUILTIN_VD):
3083 (aarch64_fold_builtin): Remove all reinterpret cases.
3085 * config/aarch64/aarch64-protos.h (aarch64_simd_reinterpret): Delete.
3087 * config/aarch64/aarch64-simd-builtins.def (reinterpret*) : Delete.
3089 * config/aarch64/aarch64-simd.md (aarch64_reinterpretv8qi<mode>,
3090 aarch64_reinterpretv4hi<mode>, aarch64_reinterpretv2si<mode>,
3091 aarch64_reinterpretv2sf<mode>, aarch64_reinterpretdi<mode>,
3092 aarch64_reinterpretv1df<mode>, aarch64_reinterpretv16qi<mode>,
3093 aarch64_reinterpretv8hi<mode>, aarch64_reinterpretv4si<mode>,
3094 aarch64_reinterpretv4sf<mode>, aarch64_reinterpretv2di<mode>,
3095 aarch64_reinterpretv2df<mode>): Delete.
3097 * config/aarch64/aarch64.c (aarch64_simd_reinterpret): Delete.
3099 * config/aarch64/arm_neon.h (vreinterpret_p8_f64,
3100 vreinterpret_p16_f64, vreinterpret_f32_f64, vreinterpret_f64_f32,
3101 vreinterpret_f64_p8, vreinterpret_f64_p16, vreinterpret_f64_s8,
3102 vreinterpret_f64_s16, vreinterpret_f64_s32, vreinterpret_f64_u8,
3103 vreinterpret_f64_u16, vreinterpret_f64_u32, vreinterpret_s64_f64,
3104 vreinterpret_u64_f64, vreinterpret_s8_f64, vreinterpret_s16_f64,
3105 vreinterpret_s32_f64, vreinterpret_u8_f64, vreinterpret_u16_f64,
3106 vreinterpret_u32_f64): Use cast.
3108 * config/aarch64/iterators.md (VD_RE): Delete.
3110 2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
3112 * config/aarch64/arm_neon.h (aarch64_vset_lane_any): New (*2).
3113 (vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
3114 vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
3115 vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64,
3116 vsetq_lane_f32, vsetq_lane_f64, vsetq_lane_p8, vsetq_lane_p16,
3117 vsetq_lane_s8, vsetq_lane_s16, vsetq_lane_s32, vsetq_lane_s64,
3118 vsetq_lane_u8, vsetq_lane_u16, vsetq_lane_u32, vsetq_lane_u64):
3119 Replace inline assembler with __aarch64_vset_lane_any.
3121 2014-09-11 James Greenhalgh <james.greenhalgh@arm.com>
3123 * config/aarch64/arm_neon.h (vmull_high_lane_s16): Fix argument
3125 (vmull_high_lane_s32): Likewise.
3126 (vmull_high_lane_u16): Likewise.
3127 (vmull_high_lane_u32): Likewise.
3129 2014-09-11 Jason Merrill <jason@redhat.com>
3132 * ipa-devirt.c (ipa_devirt): Don't check DECL_COMDAT.
3134 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3137 * config/avr/avr.md (*tablejump.3byte-pc): New insn.
3138 (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL. Add void clobber.
3139 (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
3141 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
3142 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3143 Anna Tikhonova <anna.tikhonova@intel.com>
3144 Ilya Tocar <ilya.tocar@intel.com>
3145 Andrey Turetskiy <andrey.turetskiy@intel.com>
3146 Ilya Verbin <ilya.verbin@intel.com>
3147 Kirill Yukhin <kirill.yukhin@intel.com>
3148 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3150 * config/i386/sse.md
3151 (define_expand "<avx512>_vpermi2var<VI48F:mode>3_maskz"): Rename from
3152 "avx512f_vpermi2var<mode>3_maskz" and update mode iterator.
3153 (define_expand "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_maskz"):
3155 (define_insn "<avx512>_vpermi2var<VI48F:mode>3<sd_maskz_name>"): Rename
3156 from "avx512f_vpermi2var<mode>3<sd_maskz_name>" and update mode
3158 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
3160 (define_insn "<avx512>_vpermi2var<VI48F:mode>3_mask"): Rename from
3161 "avx512f_vpermi2var<mode>3_mask" and update mode iterator.
3162 (define_insn "<avx512>_vpermi2var<VI2_AVX512VL:mode>3_mask"): New.
3163 (define_expand "<avx512>_vpermt2var<VI48F:mode>3_maskz"): Rename from
3164 "avx512f_vpermt2var<mode>3_maskz" and update mode iterator.
3165 (define_expand "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_maskz"): New.
3166 (define_insn "<avx512>_vpermt2var<VI48F:mode>3<sd_maskz_name>"): Rename
3167 from "avx512f_vpermt2var<mode>3<sd_maskz_name>" and update mode
3169 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3<sd_maskz_name>"):
3171 (define_insn "<avx512>_vpermt2var<VI48F:mode>3_mask"): Rename from
3172 "avx512f_vpermt2var<mode>3_mask" and update mode iterator.
3173 (define_insn "<avx512>_vpermt2var<VI2_AVX512VL:mode>3_mask"): New.
3175 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
3177 * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
3178 to access removed nodes.
3180 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
3182 PR tree-optimization/63186
3183 * ipa-split.c (test_nonssa_use): Skip nonforced labels.
3184 (mark_nonssa_use): Likewise.
3185 (verify_non_ssa_vars): Verify all header blocks for label
3188 2014-09-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
3189 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3190 Anna Tikhonova <anna.tikhonova@intel.com>
3191 Ilya Tocar <ilya.tocar@intel.com>
3192 Andrey Turetskiy <andrey.turetskiy@intel.com>
3193 Ilya Verbin <ilya.verbin@intel.com>
3194 Kirill Yukhin <kirill.yukhin@intel.com>
3195 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3197 * config/i386/sse.md
3198 (define_mode_attr avx2_avx512): Rename from avx2_avx512bw.
3199 (define_mode_iterator VI48F_256_512): Extend to AVX-512VL.
3200 (define_insn "<avx2_avx512>_permvar<mode><mask_name>"): Rename from
3201 "<avx2_avx512f>_permvar<mode><mask_name>".
3202 (define_insn "<avx512>_permvar<mode><mask_name>"): New.
3203 (define_insn "<avx2_avx512>_ashrv<VI48_AVX512F_AVX512VL:mode><mask_name>"):
3204 Rename from "<avx2_avx512f>_ashrv<mode><mask_name>".
3205 (define_insn "<avx2_avx512>_ashrv<VI2_AVX512VL:mode><mask_name>"):
3207 (define_insn "<avx2_avx512>_<shift_insn>v<VI48_AVX512F:mode><mask_name>"):
3208 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
3209 (define_insn "<avx2_avx512>_<shift_insn>v<VI2_AVX512VL:mode><mask_name>"):
3210 Rename from "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>".
3212 2014-09-10 Michael Meissner <meissner@linux.vnet.ibm.com>
3214 * config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
3215 V2DF, V4SF, DF, and DI modes.
3216 (vsx_fmav2df2): Likewise.
3217 (vsx_float_fix_<mode>2): Likewise.
3218 (vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.
3220 2014-09-10 Xinliang David Li <davidxl@google.com>
3223 * config/arm/arm.md (movcond_addsi): Handle case where source
3224 and target operands are the same.
3226 2014-09-10 David Malcolm <dmalcolm@redhat.com>
3228 * final.c (this_is_asm_operands): Strengthen this variable from
3229 rtx to const rtx_insn *.
3230 * output.h (this_is_asm_operands): Likewise.
3231 * rtl-error.c (location_for_asm): Strengthen param "insn" from
3232 const_rtx to const rtx_insn *.
3233 (diagnostic_for_asm): Likewise.
3234 * rtl-error.h (error_for_asm): Likewise.
3235 (warning_for_asm): Likewise.
3237 2014-09-10 David Malcolm <dmalcolm@redhat.com>
3239 * genextract.c (print_header): When writing out insn_extract to
3240 insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
3241 * recog.h (insn_extract): Strengthen the param from rtx to
3244 2014-09-10 Mike Stump <mikestump@comcast.net>
3246 * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in
3249 2014-09-10 Martin Jambor <mjambor@suse.cz>
3251 * cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
3252 (analyze): Do not set analyze flag if expand_thunk returns false;.
3253 (create_wrapper): Likewise.
3254 * cgraphclones.c (duplicate_thunk_for_node): Likewise.
3256 2014-09-10 Martin Jambor <mjambor@suse.cz>
3259 * cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
3260 new decl properly. Analyze the new thunk if it is expanded.
3262 2014-09-10 Andreas Schwab <schwab@suse.de>
3264 * coretypes.h (struct _dont_use_rtx_insn_here_, rtx_insn)
3265 [USED_FOR_TARGET]: Define.
3267 2014-09-10 Matthew Fortune <matthew.fortune@imgtec.com>
3269 * config/mips/mips.c (mips_secondary_reload_class): Handle
3272 2014-09-10 Robert Suchanek <robert.suchanek@imgtec.com>
3274 * lra-lives.c (process_bb_lives): Replace assignment with bitwise OR
3277 2014-09-10 Jakub Jelinek <jakub@redhat.com>
3279 * flag-types.h (enum sanitize_code): Add SANITIZE_NONNULL_ATTRIBUTE
3280 and SANITIZE_RETURNS_NONNULL_ATTRIBUTE, or them into SANITIZE_UNDEFINED.
3281 * opts.c (common_handle_option): Handle SANITIZE_NONNULL_ATTRIBUTE and
3282 SANITIZE_RETURNS_NONNULL_ATTRIBUTE and disable
3283 flag_delete_null_pointer_checks for them.
3284 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_NONNULL_ARG,
3285 BUILT_IN_UBSAN_HANDLE_NONNULL_ARG_ABORT,
3286 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN,
3287 BUILT_IN_UBSAN_HANDLE_NONNULL_RETURN_ABORT): New.
3288 * ubsan.c (instrument_bool_enum_load): Set *gsi back to
3290 (instrument_nonnull_arg, instrument_nonnull_return): New functions.
3291 (pass_ubsan::gate): Return true even for SANITIZE_NONNULL_ATTRIBUTE
3292 or SANITIZE_RETURNS_NONNULL_ATTRIBUTE.
3293 (pass_ubsan::execute): Call instrument_nonnull_{arg,return}.
3294 * doc/invoke.texi (-fsanitize=nonnull-attribute,
3295 -fsanitize=returns-nonnull-attribute): Document.
3297 * ubsan.h (struct ubsan_mismatch_data): Removed.
3298 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
3299 * ubsan.c (ubsan_source_location): For unknown locations,
3300 pass { NULL, 0, 0 } instead of { "<unknown>", x, y }.
3301 (ubsan_create_data): Remove MISMATCH argument, add LOCCNT argument.
3302 Allow more than one location and arbitrary extra arguments passed
3303 in ... instead of through MISMATCH pointer.
3304 (ubsan_instrument_unreachable, ubsan_expand_bounds_ifn,
3305 ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
3306 instrument_bool_enum_load, ubsan_instrument_float_cast): Adjust
3309 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
3310 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3311 Anna Tikhonova <anna.tikhonova@intel.com>
3312 Ilya Tocar <ilya.tocar@intel.com>
3313 Andrey Turetskiy <andrey.turetskiy@intel.com>
3314 Ilya Verbin <ilya.verbin@intel.com>
3315 Kirill Yukhin <kirill.yukhin@intel.com>
3316 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3318 * config/i386/sse.md
3319 (define_mode_iterator VI48F): New.
3320 (define_insn "<avx512>_compress<mode>_mask"): Rename from
3321 "avx512f_compress<mode>_mask" and update mode iterator.
3322 (define_insn "<avx512>_compressstore<mode>_mask"): Rename from
3323 "avx512f_compressstore<mode>_mask" and update mode iterator.
3324 (define_expand "<avx512>_expand<mode>_maskz"): Rename from
3325 "avx512f_expand<mode>_maskz" and update mode iterator.
3326 (define_insn "<avx512>_expand<mode>_mask"): Rename from
3327 "avx512f_expand<mode>_mask" and update mode iterator.
3329 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
3330 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3331 Anna Tikhonova <anna.tikhonova@intel.com>
3332 Ilya Tocar <ilya.tocar@intel.com>
3333 Andrey Turetskiy <andrey.turetskiy@intel.com>
3334 Ilya Verbin <ilya.verbin@intel.com>
3335 Kirill Yukhin <kirill.yukhin@intel.com>
3336 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3338 * config/i386/i386.c
3339 (ix86_expand_args_builtin): Handle avx512dq_rangepv8df_mask_round,
3340 avx512dq_rangepv16sf_mask_round, avx512dq_rangepv4df_mask,
3341 avx512dq_rangepv8sf_mask, avx512dq_rangepv2df_mask,
3342 avx512dq_rangepv4sf_mask.
3343 * config/i386/sse.md
3344 (define_c_enum "unspec"): Add UNSPEC_REDUCE, UNSPEC_FPCLASS,
3346 (define_insn "<mask_codefor>reducep<mode><mask_name>"): New.
3347 (define_insn "reduces<mode>"): Ditto.
3348 (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"):
3350 (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Ditto.
3351 (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"): Ditto.
3352 (define_insn "avx512dq_vmfpclass<mode>"): Ditto..
3354 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
3355 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3356 Anna Tikhonova <anna.tikhonova@intel.com>
3357 Ilya Tocar <ilya.tocar@intel.com>
3358 Andrey Turetskiy <andrey.turetskiy@intel.com>
3359 Ilya Verbin <ilya.verbin@intel.com>
3360 Kirill Yukhin <kirill.yukhin@intel.com>
3361 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3363 * config/i386/i386.c
3364 (avx512f_vgetmantv2df_round): Rename from "avx512f_getmantv2df_round".
3365 (avx512f_vgetmantv4sf_round): Rename from "avx512f_vgetmantv4sf_round".
3366 (ix86_expand_args_builtin): Handle avx512vl_getmantv8sf_mask,
3367 avx512vl_getmantv4df_mask, avx512vl_getmantv4sf_mask,
3368 avx512vl_getmantv2df_mask.
3369 (ix86_expand_round_builtin): Handle avx512f_vgetmantv2df_round,
3370 avx512f_vgetmantv4sf_round.
3371 * config/i386/sse.md
3372 (define_insn "<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask"):
3373 Rename from "avx512f_storeu<ssemodesuffix>512_mask" and update
3375 (define_insn "<mask_codefor>rcp14<mode><mask_name>"): Use VF_AVX512VL.
3376 (define_insn "<mask_codefor>rsqrt14<mode><mask_name>"): Ditto.
3377 (define_insn "<avx512>_scalef<mode><mask_name><round_name>"): Rename
3378 from "avx512f_scalef<mode><mask_name><round_name>" and update mode
3380 (define_insn "<avx512>_getexp<mode><mask_name><round_saeonly_name>"):
3381 Rename from "avx512f_getexp<mode><mask_name><round_saeonly_name>" and
3382 update mode iterator.
3384 "<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>"): Rename from
3385 "avx512f_fixupimm<mode>_maskz<round_saeonly_expand_name>" and update
3388 "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"): Rename
3389 from "avx512f_fixupimm<mode><sd_maskz_name><round_saeonly_name>" and
3390 update mode iterator.
3391 (define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"): Rename
3392 from "avx512f_fixupimm<mode>_mask<round_saeonly_name>" and update mode
3395 "<avx512>_rndscale<mode><mask_name><round_saeonly_name>"): rename from
3396 "avx512f_rndscale<mode><mask_name><round_saeonly_name>" and update
3398 (define_insn "<avx512>_getmant<mode><mask_name><round_saeonly_name>"):
3399 Rename from "avx512f_getmant<mode><mask_name><round_saeonly_name>" and
3400 update mode iterator.
3401 (define_insn "avx512f_vgetmant<mode><round_saeonly_name>"): Rename from
3402 "avx512f_getmant<mode><round_saeonly_name>".
3404 2014-09-10 Jan Hubicka <hubicka@ucw.cz>
3407 * ipa-prop.c (compute_known_type_jump_func): Fix conditional.
3409 2014-09-10 Alexander Ivchenko <alexander.ivchenko@intel.com>
3410 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
3411 Anna Tikhonova <anna.tikhonova@intel.com>
3412 Ilya Tocar <ilya.tocar@intel.com>
3413 Andrey Turetskiy <andrey.turetskiy@intel.com>
3414 Ilya Verbin <ilya.verbin@intel.com>
3415 Kirill Yukhin <kirill.yukhin@intel.com>
3416 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
3418 * config/i386/sse.md (define_mode_iterator VF_AVX512VL): New.
3419 (define_mode_iterator FMAMODEM): Allow 128/256bit EVEX version.
3420 (define_mode_iterator FMAMODE_AVX512): New.
3421 (define_mode_iterator FMAMODE): Remove conditions.
3422 (define_expand "fma4i_fmadd_<mode>"): Use FMAMODE_AVX512 mode iterator.
3423 (define_expand "<avx512>_fmadd_<mode>_maskz<round_expand_name>"): Rename
3424 from "<avx512>_fmadd_<mode>_maskz<round_expand_name>" and use VF_AVX512VL
3426 (define_mode_iterator FMAMODE_NOVF512): Remove.
3427 (define_insn "*fma_fmadd_<mode>"): Rename from
3428 "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>" and use
3429 FMAMODE mode iterator.
3430 (define_mode_iterator VF_SF_AVX512VL): New.
3431 (define_insn "<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>"):
3432 Use VF_SF_AVX512VL mode iterator.
3433 (define_insn "<avx512>_fmadd_<mode>_mask<round_name>"): Rename from
3434 "avx512f_fmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
3436 (define_insn "<avx512>_fmadd_<mode>_mask3<round_name>"): Rename from
3437 "avx512f_fmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3439 (define_insn "*fma_fmsub_<mode>"): Rename from
3440 "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>" and use
3441 FMAMODE mode iterator.
3442 (define_insn "<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>"):
3443 Use VF_SF_AVX512VL mode iterator.
3444 (define_insn "<avx512>_fmsub_<mode>_mask<round_name>"): Rename from
3445 "avx512f_fmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
3447 (define_insn "<avx512>_fmsub_<mode>_mask3<round_name>"): Rename from
3448 "avx512f_fmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3450 (define_insn "*fma_fnmadd_<mode>"): Rename from
3451 "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>" and
3452 use FMAMODE mode iterator.
3453 (define_insn "<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>"):
3454 Use VF_SF_AVX512VL mode iterator.
3455 (define_insn "<avx512>_fnmadd_<mode>_mask<round_name>"): Rename from
3456 "avx512f_fnmadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
3458 (define_insn "<avx512>_fnmadd_<mode>_mask3<round_name>"): Rename from
3459 "avx512f_fnmadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3461 (define_insn "*fma_fnmsub_<mode>"): Rename from
3462 "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>" and use
3463 FMAMODE mode iterator.
3464 (define_insn "<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>"):
3465 Use VF_SF_AVX512VL mode iterator.
3466 (define_insn "<avx512>_fnmsub_<mode>_mask<round_name>"): Rename from
3467 "avx512f_fnmsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
3469 (define_insn "<avx512>_fnmsub_<mode>_mask3<round_name>"): Rename from
3470 "avx512f_fnmsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3472 (define_expand "<avx512>_fmaddsub_<mode>_maskz<round_expand_name>"):
3473 Rename from "avx512f_fmaddsub_<mode>_maskz<round_expand_name>" and
3474 use VF_AVX512VL mode iterator.
3475 (define_insn "*fma_fmaddsub_<mode>"): Rename from
3476 "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>" and
3478 (define_insn "<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>"):
3479 Use VF_SF_AVX512VL mode iterator.
3480 (define_insn "<avx512>_fmaddsub_<mode>_mask<round_name>"): Rename from
3481 "avx512f_fmaddsub_<mode>_mask<round_name>" and use VF_AVX512VL mode
3483 (define_insn "<avx512>_fmaddsub_<mode>_mask3<round_name>"): Rename from
3484 "avx512f_fmaddsub_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3486 (define_insn "*fma_fmsubadd_<mode>"): Rename from
3487 "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>" and
3488 remove usage of subst.
3489 (define_insn "<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>"):
3490 Use VF_SF_AVX512VL mode iterator.
3491 (define_insn "<avx512>_fmsubadd_<mode>_mask<round_name>"): Rename from
3492 "avx512f_fmsubadd_<mode>_mask<round_name>" and use VF_AVX512VL mode
3494 (define_insn "<avx512>_fmsubadd_<mode>_mask3<round_name>"): Rename from
3495 "avx512f_fmsubadd_<mode>_mask3<round_name>" and use VF_AVX512VL mode
3498 2014-09-10 Kugan Vivekanandarajah <kuganv@linaro.org>
3501 * calls.c (precompute_arguments): Check
3502 promoted_for_signed_and_unsigned_p and set the promoted mode.
3503 (promoted_for_signed_and_unsigned_p): New function.
3504 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
3505 and set the promoted mode.
3506 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
3507 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
3508 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
3510 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
3512 * opth-gen.awk: Generate mapping from cpp message reasons to the
3513 options that enable them.
3514 * doc/options.texi (CppReason): Document.
3516 2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
3518 * doc/invoke.texi (Wnormalized=): Update.
3520 2014-09-09 Segher Boessenkool <segher@kernel.crashing.org>
3523 * config/rs6000/rs6000.md (*bool<mode>3): Allow only register
3524 operands. Split off the constant operand alternative to ...
3525 (*bool<mode>3_imm): New.
3527 2014-09-09 David Malcolm <dmalcolm@redhat.com>
3529 * rtl.h (single_set_2): Strengthen first param from const_rtx to
3530 const rtx_insn *, and move prototype to above...
3531 (single_set): ...this. Convert this from a macro to an inline
3532 function, enforcing the requirement that the param is a const
3534 (find_args_size_adjust): Strengthen param from rtx to rtx_insn *.
3536 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
3537 Strengthen both params from rtx to rtx_insn *.
3538 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
3539 Likewise; introduce locals "producer_set", "consumer_set", using
3540 them in place of "producer" and "consumer" when dealing with SET
3542 * config/avr/avr.c (avr_out_plus): Add checked cast to rtx_insn *
3543 when invoking single_set in region guarded by INSN_P.
3544 (avr_out_bitop): Likewise.
3545 (_reg_unused_after): Introduce local rtx_sequence * "seq" in
3546 region guarded by GET_CODE check, using methods to strengthen
3547 local "this_insn" from rtx to rtx_insn *, and for clarity.
3548 * config/avr/avr.md (define_insn_and_split "xload8<mode>_A"):
3549 Strengthen local "insn" from rtx to rtx_insn *.
3550 (define_insn_and_split "xload<mode>_A"): Likewise.
3551 * config/bfin/bfin.c (trapping_loads_p): Likewise for param
3553 (find_load): Likewise for return type.
3554 (workaround_speculation): Likewise for both locals named
3556 * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise for
3558 * config/cris/cris.md (define_peephole2 ; moversideqi): Likewise
3560 * config/h8300/h8300-protos.h (notice_update_cc): Likewise for
3562 * config/h8300/h8300.c (notice_update_cc): Likewise.
3563 * config/i386/i386.c (ix86_flags_dependent): Likewise for params
3564 "insn" and "dep_insn".
3565 (exact_store_load_dependency): Likewise for both params.
3566 (ix86_macro_fusion_pair_p): Eliminate local named "single_set"
3567 since this now clashes with inline function. Instead, delay
3568 calling single_set until the point where its needed, and then
3569 assign the result to "compare_set" and rework the conditional that
3571 * config/ia64/ia64.md (define_expand "tablejump"): Strengthen
3572 local "last" from rtx to rtx_insn *.
3573 * config/mips/mips-protos.h (mips_load_store_insns): Likewise for
3575 (mips_store_data_bypass_p): Likewise for both params.
3576 * config/mips/mips.c (mips_load_store_insns): Likewise for second
3578 (mips_store_data_bypass_p): Likewise for both params.
3579 (mips_orphaned_high_part_p): Likewise for param "insn".
3580 * config/mn10300/mn10300.c (extract_bundle): Likewise.
3581 (mn10300_bundle_liw): Likewise for locals "r", "insn1", "insn2".
3582 Introduce local rtx "insn2_pat".
3583 * config/rl78/rl78.c (move_elim_pass): Likewise for locals "insn",
3585 (rl78_remove_unused_sets): Likewise for locals "insn", "ninsn".
3586 Introduce local rtx "set", using it in place of "insn" for the
3587 result of single_set. This appears to fix a bug, since the call
3588 to find_regno_note on a SET does nothing.
3589 * config/rs6000/rs6000.c (set_to_load_agen): Strengthen both
3590 params from rtx to rtx_insn *.
3591 (set_to_load_agen): Likewise.
3592 * config/s390/s390.c (s390_label_align): Likewise for local
3593 "prev_insn". Introduce new rtx locals "set" and "src", using
3594 them in place of "prev_insn" for the results of single_set
3595 and SET_SRC respectively.
3596 (s390_swap_cmp): Strengthen local "jump" from rtx to rtx_insn *.
3597 Introduce new rtx local "set" using in place of "jump" for the
3598 result of single_set. Use SET_SRC (set) rather than plain
3600 * config/sh/sh.c (noncall_uses_reg): Strengthen param 2from
3602 (noncall_uses_reg): Likewise.
3603 (reg_unused_after): Introduce local rtx_sequence * "seq" in region
3604 guarded by GET_CODE check, using its methods for clarity, and to
3605 enable strengthening local "this_insn" from rtx to rtx_insn *.
3606 * config/sh/sh.md (define_expand "mulhisi3"): Strengthen local
3607 "insn" from rtx to rtx_insn *.
3608 (define_expand "umulhisi3"): Likewise.
3609 (define_expand "smulsi3_highpart"): Likewise.
3610 (define_expand "umulsi3_highpart"): Likewise.
3611 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
3612 local "after". Replace GET_CODE check with a dyn_cast,
3613 introducing new local rtx_sequence * "seq", using insn method for
3616 * dwarf2cfi.c (dwarf2out_frame_debug): Strengthen param "insn"
3617 from rtx to rtx_insn *. Introduce local rtx "pat", using it in
3618 place of "insn" once we're dealing with patterns rather than the
3620 (scan_insn_after): Strengthen param "insn" from rtx to rtx_insn *.
3621 (scan_trace): Likewise for local "elt", updating lookups within
3622 sequence to use insn method rather than element method.
3623 * expr.c (find_args_size_adjust): Strengthen param "insn" from rtx
3625 * gcse.c (gcse_emit_move_after): Likewise for local "new_rtx".
3626 * ifcvt.c (noce_try_abs): Likewise for local "insn".
3627 * ira.c (fix_reg_equiv_init): Add checked cast to rtx_insn * when
3628 invoking single_set.
3629 * lra-constraints.c (insn_rhs_dead_pseudo_p): Strengthen param
3630 "insn" from rtx to rtx_insn *.
3631 (skip_usage_debug_insns): Likewise for return type, adding a
3633 (check_secondary_memory_needed_p): Likewise for local "insn".
3634 (inherit_reload_reg): Likewise.
3635 * modulo-sched.c (sms_schedule): Likewise for local "count_init".
3636 * recog.c (peep2_attempt): Likewise for local "old_insn", adding
3638 (store_data_bypass_p): Likewise for both params.
3639 (if_test_bypass_p): Likewise.
3640 * recog.h (store_data_bypass_p): Likewise for both params.
3641 (if_test_bypass_p): Likewise.
3642 * reload.c (find_equiv_reg): Likewise for local "where".
3643 * reorg.c (delete_jump): Likewise for param "insn".
3644 * rtlanal.c (single_set_2): Strenghen param "insn" from const_rtx
3645 to const rtx_insn *.
3646 * store-motion.c (replace_store_insn): Likewise for param "del".
3647 (delete_store): Strengthen local "i" from rtx to rtx_insn_list *,
3648 and use its methods for clarity, and to strengthen local "del"
3649 from rtx to rtx_insn *.
3650 (build_store_vectors): Use insn method of "st" when calling
3651 replace_store_insn for typesafety and clarity.
3653 2014-09-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3655 * config/rs6000/rs6000.c (rtx_is_swappable_p): Add
3656 UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary
3657 on how to make it legal in future.
3659 2014-09-09 David Malcolm <dmalcolm@redhat.com>
3661 * caller-save.c (rtx saveinsn): Strengthen this variable from rtx
3663 (restinsn): Likewise.
3664 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_move):
3666 * config/aarch64/aarch64.c (aarch64_simd_attr_length_move):
3668 * config/arc/arc-protos.h (arc_adjust_insn_length): Likewise for
3670 (arc_hazard): Likewise for both params.
3671 * config/arc/arc.c (arc600_corereg_hazard): Likewise, adding
3672 checked casts to rtx_sequence * and uses of the insn method for
3674 (arc_hazard): Strengthen both params from rtx to rtx_insn *.
3675 (arc_adjust_insn_length): Likewise for param "insn".
3676 (struct insn_length_parameters_s): Likewise for first param of
3677 "get_variants" callback field.
3678 (arc_get_insn_variants): Likewise for first param and local
3679 "inner". Replace a check of GET_CODE with a dyn_cast to
3680 rtx_sequence *, using methods for type-safety and clarity.
3681 * config/arc/arc.h (ADJUST_INSN_LENGTH): Use casts to
3682 rtx_sequence * and uses of the insn method for type-safety when
3683 invoking arc_adjust_insn_length.
3684 * config/arm/arm-protos.h (arm_attr_length_move_neon): Likewise
3686 (arm_address_offset_is_imm): Likewise.
3687 (struct tune_params): Likewise for params 1 and 3 of the
3688 "sched_adjust_cost" callback field.
3689 * config/arm/arm.c (cortex_a9_sched_adjust_cost): Likewise for
3690 params 1 and 3 ("insn" and "dep").
3691 (xscale_sched_adjust_cost): Likewise.
3692 (fa726te_sched_adjust_cost): Likewise.
3693 (cortexa7_older_only): Likewise for param "insn".
3694 (cortexa7_younger): Likewise.
3695 (arm_attr_length_move_neon): Likewise.
3696 (arm_address_offset_is_imm): Likewise.
3697 * config/avr/avr-protos.h (avr_notice_update_cc): Likewise.
3698 * config/avr/avr.c (avr_notice_update_cc): Likewise.
3699 * config/bfin/bfin.c (hwloop_pattern_reg): Likewise.
3700 (workaround_speculation): Likewise for local "last_condjump".
3701 * config/c6x/c6x.c (shadow_p): Likewise for param "insn".
3702 (shadow_or_blockage_p): Likewise.
3703 (get_unit_reqs): Likewise.
3704 (get_unit_operand_masks): Likewise.
3705 (c6x_registers_update): Likewise.
3706 (returning_call_p): Likewise.
3707 (can_use_callp): Likewise.
3708 (convert_to_callp): Likewise.
3709 (find_last_same_clock): Likwise for local "t".
3710 (reorg_split_calls): Likewise for local "shadow".
3711 (hwloop_pattern_reg): Likewise for param "insn".
3712 * config/frv/frv-protos.h (frv_final_prescan_insn): Likewise.
3713 * config/frv/frv.c (frv_final_prescan_insn): Likewise.
3714 (frv_extract_membar): Likewise.
3715 (frv_optimize_membar_local): Strengthen param "last_membar" from
3716 rtx * to rtx_insn **.
3717 (frv_optimize_membar_global): Strengthen param "membar" from rtx
3719 (frv_optimize_membar): Strengthen local "last_membar" from rtx *
3721 * config/ia64/ia64-protos.h (ia64_st_address_bypass_p): Strengthen
3722 both params from rtx to rtx_insn *.
3723 (ia64_ld_address_bypass_p): Likewise.
3724 * config/ia64/ia64.c (ia64_safe_itanium_class): Likewise for param
3726 (ia64_safe_type): Likewise.
3727 (group_barrier_needed): Likewise.
3728 (safe_group_barrier_needed): Likewise.
3729 (ia64_single_set): Likewise.
3730 (is_load_p): Likewise.
3731 (record_memory_reference): Likewise.
3732 (get_mode_no_for_insn): Likewise.
3733 (important_for_bundling_p): Likewise.
3734 (unknown_for_bundling_p): Likewise.
3735 (ia64_st_address_bypass_p): Likewise for both params.
3736 (ia64_ld_address_bypass_p): Likewise.
3737 (expand_vselect): Introduce new local rtx_insn * "insn", using it
3738 in place of rtx "x" after the emit_insn call.
3739 * config/i386/i386-protos.h (x86_extended_QIreg_mentioned_p):
3740 Strengthen param from rtx to rtx_insn *.
3741 (ix86_agi_dependent): Likewise for both params.
3742 (ix86_attr_length_immediate_default): Likewise for param 1.
3743 (ix86_attr_length_address_default): Likewise for param.
3744 (ix86_attr_length_vex_default): Likewise for param 1.
3745 * config/i386/i386.c (ix86_attr_length_immediate_default):
3746 Likewise for param "insn".
3747 (ix86_attr_length_address_default): Likewise.
3748 (ix86_attr_length_vex_default): Likewise.
3749 (ix86_agi_dependent): Likewise for both params.
3750 (x86_extended_QIreg_mentioned_p): Likewise for param "insn".
3751 (vselect_insn): Likewise for this variable.
3752 * config/m68k/m68k-protos.h (m68k_sched_attr_opx_type): Likewise
3754 (m68k_sched_attr_opy_type): Likewise.
3755 * config/m68k/m68k.c (sched_get_operand): Likewise.
3756 (sched_attr_op_type): Likewise.
3757 (m68k_sched_attr_opx_type): Likewise.
3758 (m68k_sched_attr_opy_type): Likewise.
3759 (sched_get_reg_operand): Likewise.
3760 (sched_get_mem_operand): Likewise.
3761 (m68k_sched_address_bypass_p): Likewise for both params.
3762 (sched_get_indexed_address_scale): Likewise.
3763 (m68k_sched_indexed_address_bypass_p): Likewise.
3764 * config/m68k/m68k.h (m68k_sched_address_bypass_p): Likewise.
3765 (m68k_sched_indexed_address_bypass_p): Likewise.
3766 * config/mep/mep.c (mep_jmp_return_reorg): Strengthen locals
3767 "label", "ret" from rtx to rtx_insn *, adding a checked cast and
3769 * config/mips/mips-protos.h (mips_linked_madd_p): Strengthen both
3770 params from rtx to rtx_insn *.
3771 (mips_fmadd_bypass): Likewise.
3772 * config/mips/mips.c (mips_fmadd_bypass): Likewise.
3773 (mips_linked_madd_p): Likewise.
3774 (mips_macc_chains_last_hilo): Likewise for this variable.
3775 (mips_macc_chains_record): Likewise for param.
3776 (vr4130_last_insn): Likewise for this variable.
3777 (vr4130_swap_insns_p): Likewise for both params.
3778 (mips_ls2_variable_issue): Likewise for param.
3779 (mips_need_noat_wrapper_p): Likewise for param "insn".
3780 (mips_expand_vselect): Add a new local rtx_insn * "insn", using it
3781 in place of "x" after the emit_insn.
3782 * config/pa/pa-protos.h (pa_fpstore_bypass_p): Strengthen both
3783 params from rtx to rtx_insn *.
3784 * config/pa/pa.c (pa_fpstore_bypass_p): Likewise.
3785 (pa_combine_instructions): Introduce local "par" for result of
3786 gen_rtx_PARALLEL, moving decl and usage of new_rtx for after call
3788 (pa_can_combine_p): Strengthen param "new_rtx" from rtx to rtx_insn *.
3789 * config/rl78/rl78.c (insn_ok_now): Likewise for param "insn".
3790 (rl78_alloc_physical_registers_op1): Likewise.
3791 (rl78_alloc_physical_registers_op2): Likewise.
3792 (rl78_alloc_physical_registers_ro1): Likewise.
3793 (rl78_alloc_physical_registers_cmp): Likewise.
3794 (rl78_alloc_physical_registers_umul): Likewise.
3795 (rl78_alloc_address_registers_macax): Likewise.
3796 (rl78_alloc_physical_registers): Likewise for locals "insn", "curr".
3797 * config/s390/predicates.md (execute_operation): Likewise for
3799 * config/s390/s390-protos.h (s390_agen_dep_p): Likewise for both
3801 * config/s390/s390.c (s390_safe_attr_type): Likewise for param.
3802 (addr_generation_dependency_p): Likewise for param "insn".
3803 (s390_agen_dep_p): Likewise for both params.
3804 (s390_fpload_toreg): Likewise for param "insn".
3805 * config/sh/sh-protos.h (sh_loop_align): Likewise for param.
3806 * config/sh/sh.c (sh_loop_align): Likewise for param and local
3808 * config/sh/sh.md (define_peephole2): Likewise for local "insn2".
3809 * config/sh/sh_treg_combine.cc
3810 (sh_treg_combine::make_inv_ccreg_insn): Likewise for return type
3812 (sh_treg_combine::try_eliminate_cstores): Likewise for local "i".
3813 * config/stormy16/stormy16.c (combine_bnp): Likewise for locals
3814 "and_insn", "load", "shift".
3815 * config/tilegx/tilegx.c (match_pcrel_step2): Likewise for param
3817 * final.c (final_scan_insn): Introduce local rtx_insn * "other"
3818 for XEXP (note, 0) of the REG_CC_SETTER note.
3819 (cleanup_subreg_operands): Strengthen param "insn" from rtx to
3820 rtx_insn *, eliminating a checked cast made redundant by this.
3821 * gcse.c (process_insert_insn): Strengthen local "insn" from rtx
3823 * genattr.c (main): When writing out the prototype to
3824 const_num_delay_slots, strengthen the param from rtx to
3826 * genattrtab.c (write_const_num_delay_slots): Likewise when
3827 writing out the implementation of const_num_delay_slots.
3828 * hw-doloop.h (struct hw_doloop_hooks): Strengthen the param
3829 "insn" of callback field "end_pattern_reg" from rtx to rtx_insn *.
3830 * ifcvt.c (noce_emit_store_flag): Eliminate local rtx "tmp" in
3831 favor of new rtx locals "src" and "set" and new local rtx_insn *
3833 (noce_emit_move_insn): Strengthen locals "seq" and "insn" from rtx
3835 (noce_emit_cmove): Eliminate local rtx "tmp" in favor of new rtx
3836 locals "cond", "if_then_else", "set" and new rtx_insn * locals
3838 (noce_try_cmove_arith): Strengthen locals "insn_a" and "insn_b",
3839 "last" from rtx to rtx_insn *. Likewise for a local "tmp",
3840 renaming to "tmp_insn". Eliminate the other local rtx "tmp" from
3841 the top-level scope, replacing with new more tightly-scoped rtx
3842 locals "reg", "pat", "mem" and rtx_insn * "insn", "copy_of_a",
3843 "new_insn", "copy_of_insn_b", and make local rtx "set" more
3845 * ira-int.h (ira_setup_alts): Strengthen param "insn" from rtx to
3847 * ira.c (setup_prohibited_mode_move_regs): Likewise for local
3849 (ira_setup_alts): Likewise for param "insn".
3850 * lra-constraints.c (emit_inc): Likewise for local "add_insn".
3851 * lra.c (emit_add3_insn): Split local rtx "insn" in two, an rtx
3853 (lra_emit_add): Eliminate top-level local rtx "insn" in favor of
3854 new more-tightly scoped rtx locals "add3_insn", "insn",
3855 "add2_insn" and rtx_insn * "move_insn".
3856 * postreload-gcse.c (eliminate_partially_redundant_load): Add
3857 checked cast on result of gen_move_insn when invoking
3859 * recog.c (insn_invalid_p): Strengthen param "insn" from rtx to
3861 (verify_changes): Add a checked cast on "object" when invoking
3863 (extract_insn_cached): Strengthen param "insn" from rtx to
3865 (extract_constrain_insn_cached): Likewise.
3866 (extract_insn): Likewise.
3867 * recog.h (insn_invalid_p): Likewise for param 1.
3868 (recog_memoized): Likewise for param.
3869 (extract_insn): Likewise.
3870 (extract_constrain_insn_cached): Likewise.
3871 (extract_insn_cached): Likewise.
3872 * reload.c (can_reload_into): Likewise for local "test_insn".
3873 * reload.h (cleanup_subreg_operands): Likewise for param.
3874 * reload1.c (emit_insn_if_valid_for_reload): Rename param from
3875 "insn" to "pat", reintroducing "insn" as an rtx_insn * on the
3876 result of emit_insn. Remove a checked cast made redundant by this
3878 * sel-sched-ir.c (sel_insn_rtx_cost): Strengthen param "insn" from
3880 * sel-sched.c (get_reg_class): Likewise.
3882 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3883 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3885 * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
3886 * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
3888 (ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
3890 2014-09-09 David Malcolm <dmalcolm@redhat.com>
3892 * rtl.h (INSN_LOCATION): Strengthen param from const_rtx to
3893 const rtx_insn *, and from rtx to rtx_insn * for the other
3895 (RTL_LOCATION): Add a checked cast to rtx_insn * when invoking
3896 INSN_LOCATION, since we know INSN_P holds.
3897 (insn_line): Strengthen param from const_rtx to const rtx_insn *.
3898 (insn_file): Likewise.
3899 (insn_scope): Likewise.
3900 (insn_location): Likewise.
3902 * config/mips/mips.c (mips16_gp_pseudo_reg): Strengthen local
3903 "insn" from rtx to rtx_insn *, introducing a new local rtx "set"
3904 for the result of gen_load_const_gp.
3905 * config/rs6000/rs6000-protos.h (output_call): Strengthen first
3906 param from rtx to rtx_insn *.
3907 * config/rs6000/rs6000.c (output_call): Likewise.
3908 * dwarf2out.c (dwarf2out_var_location): Likewise for local "prev",
3909 introducing a checked cast to rtx_sequence * and use of the insn
3911 * emit-rtl.c (emit_copy_of_insn_after): Strengthen both params
3912 from rtx to rtx_insn *.
3913 (insn_scope): Strengthen param from const_rtx to const rtx_insn *.
3914 (insn_line): Likewise.
3915 (insn_file): Likewise.
3916 (insn_location): Likewise.
3917 * emit-rtl.h (emit_copy_of_insn_after): Strengthen both params
3918 from rtx to rtx_insn *.
3919 * print-rtl.c (print_rtx): Introduce local "in_insn" via a checked
3920 cast, using it for calls to INSN_HAS_LOCATION and insn_location.
3921 * recog.c (peep2_attempt): Introduce local rtx_insn * "peepinsn"
3923 * reorg.c (relax_delay_slots): Strengthen locals named "after"
3924 from rtx to rtx_insn *; use methods of "pat" for type-safety.
3926 2014-09-09 David Malcolm <dmalcolm@redhat.com>
3928 * combine.c (try_combine): Eliminate checked cast on result of
3930 * emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
3931 autogenerated one by strengthening the return type and params 2 and 3
3932 from rtx to rtx_insn *, and by naming the params.
3933 * gengenrtl.c (special_rtx): Add INSN to those that are
3935 * rtl.h (gen_rtx_INSN): New prototype.
3937 2014-09-09 David Malcolm <dmalcolm@redhat.com>
3939 * ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
3941 (no_equiv): Likewise.
3942 (update_equiv_regs): Likewise.
3943 (setup_reg_equiv): Likewise. Strengthen locals "elem",
3944 "prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
3945 from rtx to rtx_insn *. Use methods of "elem" for typesafety and
3947 * ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
3948 from rtx to rtx_insn_list *.
3949 * lra-assigns.c (spill_for): Strengthen local "x" from rtx to
3950 rtx_insn_list * and use methods for clarity and typesafety.
3951 * lra-constraints.c (contains_deleted_insn_p): Likewise for param
3953 (init_insn_rhs_dead_pseudo_p): Likewise for local "insns". Remove
3954 redundant check on INSN_P (insns): this cannot hold, as "insns" is
3955 an INSN_LIST, not an insn.
3956 (reverse_equiv_p): Strengthen local "insns" from rtx to
3957 rtx_insn_list * and use methods for clarity and typesafety.
3958 (contains_reloaded_insn_p): Likewise for local "list".
3960 2014-09-09 Jiong Wang <jiong.wang@arm.com>
3962 * config/arm/arm.c (NEON_COPYSIGNF): New enum.
3963 (arm_init_neon_builtins): Support NEON_COPYSIGNF.
3964 (arm_builtin_vectorized_function): Likewise.
3965 * config/arm/arm_neon_builtins.def: New macro for copysignf.
3966 * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector copysignf.
3968 2014-09-09 Richard Sandiford <richard.sandiford@arm.com>
3970 * bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
3971 * builtins.h (default_target_builtins): Likewise.
3972 * gcse.h (default_target_gcse): Likewise.
3973 * target-globals.h (target_globals): Add a destructor. Convert
3974 void-pointer fields back to their real type and change from
3975 GTY((atomic)) to GTY((skip)).
3976 (restore_target_globals): Remove casts accordingly.
3977 * target-globals.c (save_target_globals): Use XCNEW rather than
3978 ggc_internal_cleared_alloc to allocate non-GC structures.
3979 Use ggc_cleared_alloc to allocate the target_globals structure
3981 (target_globals::~target_globals): Define.
3983 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3985 * config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
3986 mnemonic instead of fldmfdd.
3987 * config/arm/arm.c (vfp_output_fstmd): Rename to...
3988 (vfp_output_vstmd): ... This. Convert output to UAL syntax.
3989 Output vpush when address register is SP.
3990 * config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
3991 (vfp_output_vstmd): ... This.
3992 * config/arm/vfp.md (push_multi_vfp): Update call to
3995 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3997 * config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
3999 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4001 * config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
4002 (*sqrtdf2_vfp): Likewise.
4003 (*cmpsf_vfp): Likewise.
4004 (*cmpsf_trap_vfp): Likewise.
4005 (*cmpdf_vfp): Likewise.
4006 (*cmpdf_trap_vfp): Likewise.
4008 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4010 * config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
4011 (*truncdfsf2_vfp): Likewise.
4012 (*truncsisf2_vfp): Likewise.
4013 (*truncsidf2_vfp): Likewise.
4014 (fixuns_truncsfsi2): Likewise.
4015 (fixuns_truncdfsi2): Likewise.
4016 (*floatsisf2_vfp): Likewise.
4017 (*floatsidf2_vfp): Likewise.
4018 (floatunssisf2): Likewise.
4019 (floatunssidf2): Likewise.
4021 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4023 * config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
4024 (*muldf3_vfp): Likewise.
4025 (*mulsf3negsf_vfp): Likewise.
4026 (*muldf3negdf_vfp): Likewise.
4027 (*mulsf3addsf_vfp): Likewise.
4028 (*muldf3adddf_vfp): Likewise.
4029 (*mulsf3subsf_vfp): Likewise.
4030 (*muldf3subdf_vfp): Likewise.
4031 (*mulsf3negsfaddsf_vfp): Likewise.
4032 (*fmuldf3negdfadddf_vfp): Likewise.
4033 (*mulsf3negsfsubsf_vfp): Likewise.
4034 (*muldf3negdfsubdf_vfp): Likewise.
4036 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4038 * config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
4039 (*absdf2_vfp): Likewise.
4040 (*negsf2_vfp): Likewise.
4041 (*negdf2_vfp): Likewise.
4042 (*addsf3_vfp): Likewise.
4043 (*adddf3_vfp): Likewise.
4044 (*subsf3_vfp): Likewise.
4045 (*subdf3_vfp): Likewise.
4046 (*divsf3_vfp): Likewise.
4047 (*divdf3_vfp): Likewise.
4049 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4051 * config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
4053 (arm_print_operand): Don't convert real values to decimal
4054 representation in default case.
4055 (fp_immediate_constant): Delete.
4056 * config/arm/arm-protos.h (fp_immediate_constant): Likewise.
4057 * config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
4059 (*thumb2_movsi_vfp): Likewise.
4060 (*movdi_vfp): Likewise.
4061 (*movdi_vfp_cortexa8): Likewise.
4062 (*movhf_vfp_neon): Likewise.
4063 (*movhf_vfp): Likewise.
4064 (*movsf_vfp): Likewise.
4065 (*thumb2_movsf_vfp): Likewise.
4066 (*movdf_vfp): Likewise.
4067 (*thumb2_movdf_vfp): Likewise.
4068 (*movsfcc_vfp): Likewise.
4069 (*thumb2_movsfcc_vfp): Likewise.
4070 (*movdfcc_vfp): Likewise.
4071 (*thumb2_movdfcc_vfp): Likewise.
4073 2014-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4075 * doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
4079 2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4082 * config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
4083 Use qualifier_immediate for last operand. Rename to...
4084 (aarch64_types_ternop_lane_qualifiers): ... This.
4085 (TYPES_QUADOP): Rename to...
4086 (TYPES_TERNOP_LANE): ... This.
4087 (aarch64_simd_expand_args): Return const0_rtx when encountering user
4088 error. Change return of 0 to return of NULL_RTX.
4089 (aarch64_crc32_expand_builtin): Likewise.
4090 (aarch64_expand_builtin): Return NULL_RTX instead of 0.
4091 ICE when expanding unknown builtin.
4092 * config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
4093 TERNOP_LANE qualifiers.
4094 (sqdmlsl_lane): Likewise.
4095 (sqdmlal_laneq): Likewise.
4096 (sqdmlsl_laneq): Likewise.
4097 (sqdmlal2_lane): Likewise.
4098 (sqdmlsl2_lane): Likewise.
4099 (sqdmlal2_laneq): Likewise.
4100 (sqdmlsl2_laneq): Likewise.
4102 2014-09-09 Nick Clifton <nickc@redhat.com>
4104 * doc/invoke.texi (Optimization Options): Add missing @gol to the
4106 (S/390 and zSeries Options): Remove superfluous word from the
4107 description of the -mhotpatch option.
4109 2014-09-09 Zhenqiang Chen <zhenqiang.chen@arm.com>
4111 * shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
4112 * ira.c: #include "shrink-wrap.h"
4113 (split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
4114 * ifcvt.c: #include "shrink-wrap.h"
4115 (dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.
4117 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4119 * common/config/picochip/picochip-common.c: Remove.
4120 * config.gcc: Remove support for picochip.
4121 * config/picochip/constraints.md: Remove.
4122 * config/picochip/dfa_space.md: Remove.
4123 * config/picochip/dfa_speed.md: Remove.
4124 * config/picochip/picochip-protos.h: Remove.
4125 * config/picochip/picochip.c: Remove.
4126 * config/picochip/picochip.h: Remove.
4127 * config/picochip/picochip.md: Remove.
4128 * config/picochip/picochip.opt: Remove.
4129 * config/picochip/predicates.md: Remove.
4130 * config/picochip/t-picochip: Remove.
4131 * doc/md.texi: Don't document picochi.
4133 2014-09-08 David Malcolm <dmalcolm@redhat.com>
4135 * basic-block.h (control_flow_insn_p): Strengthen param from
4136 const_rtx to const rtx_insn *.
4137 * cfgbuild.c (control_flow_insn_p): Likewise.
4139 2014-09-08 David Malcolm <dmalcolm@redhat.com>
4141 * gcse.c (modify_mem_list): Strengthen this variable from
4142 vec<rtx> * to vec<rtx_insn *> *.
4143 (vec_rtx_heap): Strengthen this typedef from vec<rtx> to
4145 (load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
4146 vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
4147 (record_last_mem_set_info): Strengthen param "insn" from rtx to
4149 (record_last_set_info): Likewise for local "last_set_insn".
4151 2014-09-08 DJ Delorie <dj@redhat.com>
4153 * doc/invoke.texi (MSP430 Options): Add -minrt.
4155 2014-09-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4157 * config/rs6000/rs6000.c (special_handling_values): Add SH_SPLAT.
4158 (rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
4159 statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
4161 (adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
4163 (adjust_splat): New function.
4164 (handle_special_swappables): Call adjust_splat for SH_SPLAT.
4165 (dump_swap_insn_table): Add case for SH_SPLAT.
4167 2014-09-08 Richard Biener <rguenther@suse.de>
4170 * tree-inline.c (copy_loops): The source loop header should
4172 (tree_function_versioning): If loops need fixup after removing
4173 unreachable blocks fix them.
4174 * omp-low.c (simd_clone_adjust): Do not add incr block to
4175 loop under construction.
4177 2014-09-08 Alan Lawrence <alan.lawrence@arm.com>
4179 * config/aarch64/aarch64-builtins.c
4180 (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.
4182 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4184 * config/i386/cygming.h (TF_SIZE): Remove.
4185 * config/i386/darwin.h (TF_SIZE): Remove.
4186 * config/i386/dragonfly.h (TF_SIZE): Remove.
4187 * config/i386/freebsd.h (TF_SIZE): Remove.
4188 * config/i386/gnu-user-common.h (TF_SIZE): Remove.
4189 * config/i386/openbsdelf.h (TF_SIZE): Remove.
4190 * config/i386/sol2.h (TF_SIZE): Remove.
4191 * config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
4192 * config/ia64/linux.h (TF_SIZE): Remove.
4193 * doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
4194 * doc/tm.texi: Regenerate.
4195 * system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.
4197 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4199 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
4201 * doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
4203 * doc/tm.texi: Regenerate.
4204 * system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
4206 * config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
4207 * config/cris/cris.h (__make_dp): Remove.
4209 2014-09-08 Richard Biener <rguenther@suse.de>
4212 * cfgloop.c (mark_loop_for_removal): Track former header
4214 * cfgloop.h (struct loop): Add former_header member unconditionally.
4215 * loop-init.c (fix_loop_structure): Enable bogus loop removal
4216 diagnostic unconditionally.
4218 2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4221 * config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
4222 constraint for operand0 and remove write only modifier from operand3.
4224 2014-09-07 Richard Sandiford <richard.sandiford@arm.com>
4226 PR rtl-optimization/62208
4227 * simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
4228 rather than const0_rtx in eq/ne-xor simplifications.
4230 2014-09-06 Joern Rennecke <joern.rennecke@embecosm.com>
4232 * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
4233 (arc_output_mi_thunk): Likewise.
4235 * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
4236 arguments to silence bogus warning.
4238 2014-09-06 Richard Sandiford <richard.sandiford@arm.com>
4241 * rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.
4243 2014-09-06 Tom de Vries <tom@codesourcery.com>
4245 * ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
4246 IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
4247 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
4249 2014-09-05 Dominique Dhumieres <dominiq@lps.ens.fr>
4252 * config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
4253 * config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.
4255 2014-09-05 Easwaran Raman <eraman@google.com>
4257 PR rtl-optimization/62146
4258 * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
4259 hoisted instruction unconditional.
4261 2014-09-05 Segher Boessenkool <segher@kernel.crashing.org>
4264 * config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
4265 Do not allow any_mask_operand for operands[2].
4266 (*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.
4268 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4270 * config/arc/arc.c (arc_print_operand): Use insn method of
4271 final_sequence for type-safety.
4272 * config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
4273 "insn" from rtx to rtx_insn *.
4274 * config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
4275 * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
4276 Likewise for locals "branch", "label".
4277 * config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
4278 locals "i1", "i2". Use NULL rather than NULL_RTX in comparisons.
4279 (same_cmp_following_p): Likewise for locals "i2", "i3".
4280 * config/sh/sh_optimize_sett_clrt.cc
4281 (sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
4282 param "cbranch_insn".
4283 * function.c (convert_jumps_to_returns): Likewis for local "jump".
4284 * ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
4285 * jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
4287 (condjump_p): Likewise.
4288 (condjump_in_parallel_p): Likewise.
4290 (any_uncondjump_p): Likewise.
4291 (any_condjump_p): Likewise.
4292 (condjump_label): Likewise.
4293 (returnjump_p): Strengthen param "insn" from rtx to
4295 (onlyjump_p): Strengthen param "insn" from const_rtx to
4297 (jump_to_label_p): Likewise.
4298 (invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
4299 (invert_jump): Likewise.
4300 * reorg.c (simplejump_or_return_p): Add checked cast when calling
4302 (get_jump_flags): Strengthen param "insn" from rtx to
4304 (get_branch_condition): Likewise.
4305 (condition_dominates_p): Likewise.
4306 (make_return_insns): Move declaration of local "pat" earlier, to
4307 after we've handled NONJUMP_INSN_P and non-sequences, using its
4308 methods to simplify the code and for type-safety.
4309 * rtl.h (find_constant_src): Strengthen param from const_rtx to
4311 (jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
4312 (condjump_p): Strengthen param from const_rtx to
4314 (any_condjump_p): Likewise.
4315 (any_uncondjump_p): Likewise.
4317 (condjump_label): Likewise.
4318 (simplejump_p): Likewise.
4319 (returnjump_p): Likewise.
4320 (onlyjump_p): Likewise.
4321 (invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
4322 (invert_jump): Likewise.
4323 (condjump_in_parallel_p): Strengthen param from const_rtx to
4325 * rtlanal.c (find_constant_src): Strengthen param from const_rtx
4326 to const rtx_insn *.
4327 * sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
4328 to const rtx_insn *.
4329 * sel-sched-ir.h (fallthru_bb_of_jump): Likewise.
4331 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4333 * reorg.c (relax_delay_slots): Move declaration of "trial_seq"
4334 above the conditional, and convert the check on GET_CODE to a
4335 dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
4336 the conditional. Simplify the conditional by using methods of
4339 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4341 * haifa-sched.c (check_clobbered_conditions): Strengthen local
4342 "link" from rtx to rtx_insn_list *, and use its methods for
4343 clarity and type-safety.
4344 (toggle_cancelled_flags): Likewise.
4345 (restore_last_backtrack_point): Likewise.
4346 (queue_to_ready): Use insn method of "link" in one place.
4347 (schedule_block): Strengthen local "link" from rtx to
4348 rtx_insn_list *, and use its methods for clarity and type-safety.
4350 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4352 * sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
4353 param "insn" from const_rtx to const rtx_insn *.
4354 (sched_get_reverse_condition_uncached): Likewise.
4355 (sched_get_condition_with_rev): Likewise.
4356 (sched_has_condition_p): Likewise.
4357 (sched_insns_conditions_mutex_p): Likewise for both params.
4358 (sched_insn_is_legitimate_for_speculation_p): Likewise for param
4359 "insn"; conver use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
4360 (setup_insn_reg_uses): Move local "list" to be more tightly
4361 scoped, strengthening it from an rtx to an rtx_insn_list *. Use
4362 its methods for clarity and type-safety.
4363 (sched_analyze_1): Strengthen local "pending" from rtx to
4364 rtx_insn_list *, and local "pending_mem" from rtx to
4365 rtx_expr_list *. Use methods of each for clarity and type-safety.
4366 (sched_analyze_2): Likewise.
4367 (sched_analyze_insn): Likewise.
4369 * sched-int.h (sched_get_reverse_condition_uncached): Strengthen
4370 param from const_rtx to const rtx_insn *.
4371 (sched_insns_conditions_mutex_p): Likewise for both params.
4372 (sched_insn_is_legitimate_for_speculation_p): Likewise for first
4375 * system.h (CONST_CAST_RTX_INSN): New macro.
4377 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4379 * recog.c (peep2_attempt): Strengthen return type from rtx to
4381 (peep2_update_life): Likewise for params "last", "prev", removing
4382 a checked cast made redundant by this.
4383 (peephole2_optimize): Likewise for local "last".
4385 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4387 * basic-block.h (set_block_for_insn): Eliminate this macro in
4389 * rtl.h (set_block_for_insn): New inline function, imposing the
4390 requirement that the "insn" param is an rtx_insn *.
4392 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4394 * caller-save.c (setup_save_areas): Strengthen local "insn" from
4396 * final.c (get_call_reg_set_usage): Likewise for first param,
4397 eliminating a checked cast.
4398 * regs.h (get_call_reg_set_usage): Likewise for first param.
4399 * resource.c (mark_set_resources): Introduce local rtx_call_insn *
4400 "call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
4401 cast, replacing references to "x" with "call_insn" where
4403 (mark_target_live_regs): Strengthen local "real_insn" from rtx to
4404 rtx_insn *, adding a checked cast.
4406 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4408 * output.h (final_scan_insn): Strengthen first param from rtx to
4411 * final.c (final_scan_insn): Likewise, renaming it back from
4412 "uncast_insn" to "insn", eliminating the checked cast.
4414 * config/h8300/h8300.md (define_insn "jump"): Replace local rtx
4415 "vec" with an rtx_sequence * "seq", taking a copy of
4416 "final_sequence", and using methods of "seq" for clarity, and for
4417 type-safety in the calls to final_scan_insn.
4418 * config/mips/mips.c (mips_output_conditional_branch): Use methods
4419 of "final_sequence" for clarity, and for type-safety in the call to
4421 * config/sh/sh.c (print_slot): Strengthen param from rtx to
4422 rtx_sequence * and rename from "insn" to "seq".
4424 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4426 * jump.c (delete_related_insns): Introduce a new local "table" by
4427 replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
4428 get_labels method of "table" to simplify access to the labels in
4431 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4433 * config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
4434 f_minmaxs, f_minmaxd types.
4436 2014-09-05 Richard Biener <rguenther@suse.de>
4438 * cfgloop.c (mark_loop_for_removal): Record former header
4439 when ENABLE_CHECKING.
4440 * cfgloop.h (strut loop): Add former_header member when
4442 * loop-init.c (fix_loop_structure): Sanity check loops
4443 marked for removal if they re-appeared.
4445 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4447 * config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
4448 uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.
4450 (vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
4451 vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
4452 vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
4453 vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
4454 vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
4455 vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
4456 vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
4457 vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
4458 vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
4459 vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
4460 vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
4461 vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
4462 vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
4463 vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
4464 vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
4465 vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
4466 vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
4467 vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
4468 vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
4469 vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
4470 with int{32,16,8}_t.
4472 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4474 * config/aarch64/arm_neon.h (__GET_HIGH): New macro.
4475 (vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
4476 vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
4477 vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
4478 Remove temporary __asm__ and reimplement.
4480 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4482 * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
4483 handling cmge, cmgt, cmeq, cmtst.
4485 * config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
4486 cmlt, cmgeu, cmgtu, cmtst): Remove.
4488 * config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
4489 vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
4490 vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
4491 vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
4493 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4495 * config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
4497 (aarch64_fold_builtin): Update pattern for cmtst.
4499 * config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
4502 * config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
4504 * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
4505 Switch operands, separate out more cases, refactor.
4507 (aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
4509 * config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
4510 argument; rename old version to...
4511 (aarch64_const_vec_all_same_in_range_p): ...this.
4512 (aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
4514 * config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
4516 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4518 * config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
4519 Remove qualifier_const_pointer, update comment.
4521 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4523 * config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.
4525 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4527 * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
4528 varargs with pointer parameter.
4529 (aarch64_simd_expand_builtin): pass pointer into previous.
4531 2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4533 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
4536 2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
4538 * config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
4539 * config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
4540 * config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
4541 Replace temporary asm with call to builtin.
4542 (vrbit_p8, vrbitq_p8): New functions.
4544 2014-09-05 Richard Biener <rguenther@suse.de>
4546 * cfgloop.c (mark_loop_for_removal): New function.
4547 * cfgloop.h (mark_loop_for_removal): Declare.
4548 * cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
4549 (merge_blocks): Likewise.
4550 (duplicate_block): Likewise.
4551 * except.c (sjlj_emit_dispatch_table): Likewise.
4552 * tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
4553 * tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
4554 (thread_through_loop_header): Likewise.
4556 2014-09-05 Richard Biener <rguenther@suse.de>
4559 * fold-const.c (try_move_mult_to_index): Remove.
4560 (fold_binary_loc): Do not call it.
4561 * tree-data-ref.c (dr_analyze_indices): Strip conversions
4562 from the base object again.
4564 2014-09-05 James Greenhalgh <james.greenhalgh@arm.com>
4566 * config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
4569 2014-09-05 Bin Cheng <bin.cheng@arm.com>
4572 * config/arm/arm.md (setmem): New pattern.
4573 * config/arm/arm-protos.h (struct tune_params): New fields.
4574 (arm_gen_setmem): New prototype.
4575 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
4576 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
4577 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
4578 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
4579 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
4580 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
4581 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
4582 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
4583 (arm_const_inline_cost): New function.
4584 (arm_block_set_max_insns): New function.
4585 (arm_block_set_non_vect_profit_p): New function.
4586 (arm_block_set_vect_profit_p): New function.
4587 (arm_block_set_unaligned_vect): New function.
4588 (arm_block_set_aligned_vect): New function.
4589 (arm_block_set_unaligned_non_vect): New function.
4590 (arm_block_set_aligned_non_vect): New function.
4591 (arm_block_set_vect, arm_gen_setmem): New functions.
4593 2014-09-05 Bin Cheng <bin.cheng@arm.com>
4595 * config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.
4597 2014-09-05 Bin Cheng <bin.cheng@arm.com>
4599 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
4601 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
4603 * valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
4605 * valtrack.h: Adjust.
4607 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
4609 * emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
4611 (emit_jump_insn_before_noloc): Likewise.
4612 (emit_call_insn_before_noloc): Likewise.
4613 (emit_label_before): Likewise.
4614 (emit_label_after): Likewise.
4615 (emit_insn_before_setloc): Likewise.
4616 (emit_jump_insn_before_setloc): Likewise.
4617 (emit_call_insn_before_setloc): Likewise.
4618 (emit_call_insn_before): Likewise.
4621 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4623 * cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
4624 rtx_insn *, eliminating a checked cast.
4626 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4628 * rtl.h (modified_between_p): Strengthen params 2 and 3 from
4629 const_rtx to const rtx_insn *.
4630 * rtlanal.c (modified_between_p): Likewise, eliminating a checked
4633 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4635 * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
4636 fixup_args_size_notes.
4637 * expr.c (fixup_args_size_notes): Strengthen first two params from
4638 rtx to rtx_insn *, eliminating a checked cast.
4639 * rtl.h (fixup_args_size_notes): Strengthen first two params from
4642 2014-09-05 David Malcolm <dmalcolm@redhat.com>
4644 * haifa-sched.c (get_ready_element): Strengthen return type from
4646 * sched-int.h (get_ready_element): Likewise.
4648 2014-09-04 Segher Boessenkool <segher@kernel.crashing.org>
4651 * config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
4652 indexed_or_indirect_operand instead of memory_operand.
4653 (floatsi<mode>2_lfiwzx_mem): Ditto.
4655 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
4657 * config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
4658 config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
4659 ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.
4661 2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
4663 * emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
4665 (get_last_nonnote_insn): Likewise.
4666 (next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
4667 * resource.c (find_basic_block): Likewise.
4669 * rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
4672 2014-09-04 David Malcolm <dmalcolm@redhat.com>
4674 * genattr.c (main): Within the prototype of insn_latency written
4675 out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
4676 * genautomata.c (output_internal_maximal_insn_latency_func):
4677 Within the implementation of insn_latency written out to
4678 insn-automata.c, strengthen both params from rtx to rtx_insn *,
4679 eliminating a pair of checked casts.
4681 2014-09-04 David Malcolm <dmalcolm@redhat.com>
4683 * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
4686 * rtl.h (eh_returnjump_p): Likewise.
4688 2014-09-04 Aldy Hernandez <aldyh@redhat.com>
4690 * Makefile.in (TAGS): Handle constructs in timevar.def.
4692 2014-09-04 Guozhi Wei <carrot@google.com>
4695 * config/aarch64/iterators.md (VQ_NO2E, VQ_2E): New iterators.
4696 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): Split
4697 it into two patterns.
4698 (move_lo_quad_internal_be_<mode>): Likewise.
4700 2014-09-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
4702 * doc/options.texi: Document that Var and Init are required if CPP
4704 * optc-gen.awk: Require Var and Init if CPP is given.
4705 * common.opt (Wpedantic): Use Init.
4707 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4709 * config/rs6000/rs6000.c (special_handling_values): Add
4711 (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps
4712 wrapped in a VEC_DUPLICATE, representing an extract. Mark these
4713 as swappable with special handling SH_EXTRACT. Remove
4714 UNSPEC_VSX_XXSPLTW from the list of disallowed unspecs for the
4716 (adjust_extract): New function.
4717 (handle_special_swappables): Add default to case statement; add
4718 case for SH_EXTRACT that calls adjust_extract.
4719 (dump_swap_insn_table): Handle SH_EXTRACT.
4721 2014-09-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4723 * config/rs6000/vsx.md (*vsx_extract_<mode>_load): Always match
4724 selection of 0th memory doubleword, regardless of endianness.
4726 2014-09-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
4728 * config/rx/rx.h (HARD_REGNO_MODE_OK): Add braces.
4730 2014-09-04 Alan Modra <amodra@gmail.com>
4733 * dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
4736 2014-09-03 Matthew Fortune <matthew.fortune@imgtec.com>
4738 * target.def (TARGET_DWARF_FRAME_REG_MODE): New target hook.
4739 * targhooks.c (default_dwarf_frame_reg_mode): New function.
4740 * targhooks.h (default_dwarf_frame_reg_mode): New prototype.
4741 * doc/tm.texi.in (TARGET_DWARF_FRAME_REG_MODE): Document.
4742 * doc/tm.texi: Regenerate.
4743 * dwarf2cfi.c (expand_builtin_init_dwarf_reg_sizes): Abstract mode
4744 selection logic to default_dwarf_frame_reg_mode.
4746 2014-09-03 Marek Polacek <polacek@redhat.com>
4748 * doc/invoke.texi: Document that -Wlogical-not-parentheses is enabled
4751 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
4753 * doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
4754 the automodified register.
4756 2014-09-03 Richard Sandiford <richard.sandiford@arm.com>
4758 * output.h (get_some_local_dynamic_name): Declare.
4759 * final.c (some_local_dynamic_name): New variable.
4760 (get_some_local_dynamic_name): New function.
4761 (final_end_function): Clear some_local_dynamic_name.
4762 * config/alpha/alpha.c (machine_function): Remove some_ld_name.
4763 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
4764 (print_operand): Report an error if '%&' is used inappropriately.
4765 * config/i386/i386.c (get_some_local_dynamic_name): Delete.
4766 (get_some_local_dynamic_name_1): Delete.
4767 * config/rs6000/rs6000.c (machine_function): Remove some_ld_name.
4768 (rs6000_get_some_local_dynamic_name): Delete.
4769 (rs6000_get_some_local_dynamic_name_1): Delete.
4770 (print_operand): Report an error if '%&' is used inappropriately.
4771 * config/s390/s390.c (machine_function): Remove some_ld_name.
4772 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
4773 (print_operand): Assert that get_some_local_dynamic_name is nonnull.
4774 * config/sparc/sparc.c: Include rtl-iter.h.
4775 (machine_function): Remove some_ld_name.
4776 (sparc_print_operand): Report an error if '%&' is used inappropriately.
4777 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Delete.
4779 2014-09-03 Richard Henderson <rth@redhat.com>
4781 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
4782 (aarch64_popwb_pair_reg): Remove.
4783 (aarch64_set_frame_expr): Remove.
4784 (aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
4785 the restore ops performed by the insns generated.
4786 (aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
4787 insn. Perform the calls_eh_return addition later; do not attempt to
4788 preserve the CFA in that case. Don't use aarch64_set_frame_expr.
4789 (aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
4790 special markup at all. Load cfun->machine->frame.hard_fp_offset
4791 into a local variable.
4792 (aarch64_frame_pointer_required): Don't check calls_alloca.
4794 2014-09-03 Richard Biener <rguenther@suse.de>
4796 * opts.c (default_options_optimization): Adjust
4797 max-combine-insns to 2 for -Og.
4799 2014-09-03 Martin Jambor <mjambor@suse.cz>
4802 * ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
4803 pass-trough jump functions correctly.
4805 2014-09-03 Martin Jambor <mjambor@suse.cz>
4808 * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
4809 created replacements in ascending order of offsets.
4810 (known_aggs_to_agg_replacement_list): Likewise.
4812 2014-09-03 Martin Liska <mliska@suse.cz>
4814 * tree-ssa-sccvn.c (vn_reference_lookup_call): default (NULL) value
4815 is set to set uninitialized value for vnresult.
4817 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4819 * config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
4820 for TARGET_MUST_PASS_IN_STACK.
4822 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4824 * config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
4825 for TARGET_ARG_PARTIAL_BYTES.
4827 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4829 * config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
4830 instructions for varargs implementation.
4831 (nds32_expand_epilogue): Emit stack adjustment instructions for
4832 varargs implementation.
4834 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4836 * config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
4837 optimization detection.
4839 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4841 * config/nds32/nds32.c (nds32_function_arg): Deal with nameless
4843 (nds32_function_arg_advance): Deal with nameless arguments.
4844 * config/nds32/nds32.h (NDS32_ARG_PASS_IN_REG_P): Split it into ...
4845 (NDS32_ARG_ENTIRE_IN_GPR_REG_P): ... this one and ...
4846 (NDS32_ARG_PARTIAL_IN_GPR_REG_P): ... this one.
4848 2014-09-03 Richard Biener <rguenther@suse.de>
4850 * tree-ssa-pre.c (alloc_expression_id): Use quick_grow_cleared.
4851 (struct bb_bitmap_sets): Remove deferred member.
4852 (BB_DEFERRED): Remove.
4853 (defer_or_phi_translate_block): Remove.
4854 (compute_antic_aux): Remove deferring of blocks, assert
4855 proper iteration order.
4856 (compute_antic): Do not set BB_DEFERRED.
4857 (eliminate): Allocate el_avail of proper size initially.
4859 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4861 * config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
4862 according to the value of crtl->args.pretend_args_size.
4864 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4866 * config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
4867 varargs information.
4869 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4871 * config/nds32/nds32.c (nds32_setup_incoming_varargs): New
4872 implementation for TARGET_SETUP_INCOMING_VARARGS.
4873 (nds32_strict_argument_naming): Refine comment.
4874 * config/nds32/nds32.h (TARGET_SOFT_FLOAT, TARGET_HARD_FLOAT):
4875 Define for future implementation.
4877 2014-09-03 Ilya Tocar <ilya.tocar@intel.com>
4879 * config/i386/adxintrin.h (_subborrow_u32): New.
4880 (_addcarry_u32): Ditto.
4881 (_subborrow_u64): Ditto.
4882 (_addcarry_u64): Ditto.
4883 * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_SBB32,
4885 (ix86_init_mmx_sse_builtins): Handle __builtin_ia32_sbb_u32,
4886 __builtin_ia32_sbb_u64
4888 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4890 * config/nds32/nds32.c (nds32_function_arg): Define and rename some
4892 (nds32_function_arg_advance): Likewise.
4893 (nds32_init_cumulative_args): Likewise.
4894 * config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
4895 (NDS32_FIRST_GPR_REGNUM): Define.
4896 (NDS32_LAST_GPR_REGNUM): Define.
4897 (NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
4898 (NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
4899 (FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
4900 (machine_function): Use GRP-specific stuff.
4902 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4904 * config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
4905 (nds32_expand_epilogue): Likewise.
4906 (nds32_expand_prologue_v3push): Likewise.
4907 (nds32_expand_epilogue_v3pop): Likewise.
4909 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4911 * config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
4912 v3push/v3pop for variadic function.
4913 * config/nds32/nds32.md (prologue, epilogue): Likewise.
4915 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4917 * config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
4918 Check rtx for varargs implementation.
4919 (nds32_output_stack_pop): Likewise.
4920 * config/nds32/nds32-protos.h: Have a rtx argument for
4921 nds32_output_stack_push and nds32_output_stack_pop.
4922 * config/nds32/nds32.md: Likewise.
4924 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4926 * config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
4927 to check if FUNC is an interrupt service routine.
4928 * config/nds32/nds32-protos.h (nds32_isr_function_p): Declaration.
4930 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4932 * config/nds32/nds32.h (machine_function): Add some fields for variadic
4933 arguments implementation.
4935 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4937 * config/nds32/nds32-predicates.c
4938 (nds32_valid_stack_push_pop): Rename to ...
4939 (nds32_valid_stack_push_pop_p): ... this.
4940 * config/nds32/nds32-protos.h: Likewise.
4941 * config/nds32/predicates.md: Likewise.
4943 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4945 * config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
4946 (nds32_emit_stack_v3push): ... this.
4947 (nds32_gen_stack_v3pop): Rename to ...
4948 (nds32_emit_stack_v3pop): ... this and consider CFA restore
4951 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4953 * config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
4954 (nds32_emit_stack_push_multiple): ... this.
4955 (nds32_gen_stack_pop_multiple): Rename to ...
4956 (nds32_emit_stack_pop_multiple): ... this and consider CFA restore
4959 2014-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4962 * config/s390/s390.md ("*negdi2_31"): Add s390_split_ok_p check
4963 and add a second splitter to handle the remaining cases.
4965 2014-09-03 Chung-Ju Wu <jasonwucj@gmail.com>
4967 * config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
4969 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
4971 * cfgexpand.c (label_rtx_for_bb): Change type to
4972 hash_map<basic_block, rtx_code_label *> *.
4973 (expand_gimple_basic_block): Adjust.
4974 (pass_expand::execute): Likewise.
4976 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
4978 * asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
4979 config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
4980 config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
4981 config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
4982 config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
4983 config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
4984 stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
4987 2014-09-02 Trevor Saunders <tsaunders@mozilla.com>
4989 * alloc-pool.c: Include coretypes.h.
4990 * cgraph.h, dbxout.c, dwarf2out.c, except.c, except.h, function.c,
4991 function.h, symtab.c, tree-cfg.c, tree-eh.c: Use hash_map and
4992 hash_set instead of htab.
4993 * ggc-page.c (in_gc): New variable.
4994 (ggc_free): Do nothing if a collection is taking place.
4995 (ggc_collect): Set in_gc appropriately.
4996 * ggc.h (gt_ggc_mx(const char *)): New function.
4997 (gt_pch_nx(const char *)): Likewise.
4998 (gt_ggc_mx(int)): Likewise.
4999 (gt_pch_nx(int)): Likewise.
5000 * hash-map.h (hash_map::hash_entry::ggc_mx): Likewise.
5001 (hash_map::hash_entry::pch_nx): Likewise.
5002 (hash_map::hash_entry::pch_nx_helper): Likewise.
5003 (hash_map::hash_map): Adjust.
5004 (hash_map::create_ggc): New function.
5005 (gt_ggc_mx): Likewise.
5006 (gt_pch_nx): Likewise.
5007 * hash-set.h (default_hashset_traits::ggc_mx): Likewise.
5008 (default_hashset_traits::pch_nx): Likewise.
5009 (hash_set::hash_entry::ggc_mx): Likewise.
5010 (hash_set::hash_entry::pch_nx): Likewise.
5011 (hash_set::hash_entry::pch_nx_helper): Likewise.
5012 (hash_set::hash_set): Adjust.
5013 (hash_set::create_ggc): New function.
5014 (hash_set::elements): Likewise.
5015 (gt_ggc_mx): Likewise.
5016 (gt_pch_nx): Likewise.
5017 * hash-table.h (hash_table::hash_table): Adjust.
5018 (hash_table::m_ggc): New member.
5019 (hash_table::~hash_table): Adjust.
5020 (hash_table::expand): Likewise.
5021 (hash_table::empty): Likewise.
5022 (gt_ggc_mx): New function.
5023 (hashtab_entry_note_pointers): Likewise.
5024 (gt_pch_nx): Likewise.
5026 2014-09-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5028 * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE): New
5029 built-in definition.
5030 (XVCVUXDDP_SCALE): Likewise.
5031 (XVCVDPSXDS_SCALE): Likewise.
5032 (XVCVDPUXDS_SCALE): Likewise.
5033 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
5034 entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
5035 VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
5036 VSX_BUILTIN_XVCVDPUXDS_SCALE.
5037 * config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
5039 * config/rs6000/rs6000.c (real.h): New include.
5040 (rs6000_scale_v2df): New function.
5041 * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
5042 (UNSPEC_VSX_XVCVUXDDP): Likewise.
5043 (UNSPEC_VSX_XVCVDPSXDS): Likewise.
5044 (UNSPEC_VSX_XVCVDPUXDS): Likewise.
5045 (vsx_xvcvsxddp_scale): New define_expand.
5046 (vsx_xvcvsxddp): New define_insn.
5047 (vsx_xvcvuxddp_scale): New define_expand.
5048 (vsx_xvcvuxddp): New define_insn.
5049 (vsx_xvcvdpsxds_scale): New define_expand.
5050 (vsx_xvcvdpsxds): New define_insn.
5051 (vsx_xvcvdpuxds_scale): New define_expand.
5052 (vsx_xvcvdpuxds): New define_insn.
5053 * doc/extend.texi (vec_ctf): Add new prototypes.
5054 (vec_cts): Likewise.
5055 (vec_ctu): Likewise.
5056 (vec_splat): Likewise.
5057 (vec_div): Likewise.
5058 (vec_mul): Likewise.
5060 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5063 * config/arm/neon.md
5064 (neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
5065 <v_cmp_result>): New pattern.
5066 * config/arm/iterators.md (NEON_VCVT): New int iterator.
5067 * config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
5068 vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
5069 vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
5070 * config/arm/arm.c (arm_builtin_vectorized_function): Handle
5071 BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
5073 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5076 * config/arm/iterators.md (FIXUORS): New code iterator.
5077 (VCVT): New int iterator.
5078 (su_optab): New code attribute.
5080 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
5082 2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5084 * config/aarch64/predicates.md (aarch64_comparison_operation):
5085 New special predicate.
5086 * config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
5087 aarch64_comparison_operation instead of matching an operator.
5088 Update operand numbers.
5089 (csinc3<mode>_insn): Likewise.
5090 (*csinv3<mode>_insn): Likewise.
5091 (*csneg3<mode>_insn): Likewise.
5092 (ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
5093 * config/aarch64/aarch64.c (aarch64_get_condition_code):
5094 Return -1 instead of aborting on invalid condition codes.
5095 (aarch64_print_operand): Update aarch64_get_condition_code callsites
5096 to assert that the returned condition code is valid.
5097 * config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
5099 2014-09-02 Aldy Hernandez <aldyh@redhat.com>
5101 * Makefile.in (TAGS): Handle constructs in common.opt, rtl.def,
5102 tree.def, and gimple.def
5104 2014-09-02 Jakub Jelinek <jakub@redhat.com>
5105 Balaji V. Iyer <balaji.v.iyer@intel.com>
5106 Igor Zamyatin <igor.zamyatin@intel.com>
5108 * cilk-builtins.def (__cilkrts_cilk_for_32): New.
5109 (__cilkrts_cilk_for_64): Likewise.
5110 * cilk-common.c (declare_cilk_for_builtin): New function.
5111 (cilk_init_builtins): Declare __cilkrts_cilk_for_32 and
5112 __cilkrts_cilk_for_64 bultins.
5113 * cilk.h (enum cilk_tree_index): Added CILK_TI_F_LOOP_32 and
5115 (cilk_for_32_fndecl): New define.
5116 (cilk_for_64_fndecl): Likewise.
5117 * gimple-pretty-print.c (dump_gimple_omp_for): Correct hadling of
5118 GF_OMP_FOR_KIND_CILKFOR cases; Added NE_EXPR case.
5119 * gimple.h (enum gf_mask): Added GF_OMP_FOR_KIND_CILKFOR; adjusted
5120 GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_SIMD, GF_OMP_FOR_COMBINED,
5121 GF_OMP_FOR_COMBINED_INTO.
5122 * gimplify.c (gimplify_scan_omp_clauses): Added
5123 OMP_CLAUSE__CILK_FOR_COUNT_ case.
5124 (gimplify_adjust_omp_clauses): Ditto.
5125 (gimplify_omp_for): Added CILK_FOR case.
5126 (gimplify_expr): Ditto.
5127 * omp-low.c: Include cilk.h.
5128 (extract_omp_for_data): Set appropriate kind for
5129 GF_OMP_FOR_KIND_CILKFOR; added check for GF_OMP_FOR_KIND_CILKFOR.
5130 (scan_sharing_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ cases.
5131 (create_omp_child_function_name): Added second argument to handle
5133 (cilk_for_check_loop_diff_type): New function.
5134 (expand_cilk_for_call): Likewise.
5135 (expand_cilk_for): Likewise.
5136 (create_omp_child_function): Set cilk_for_count; handle the cases when
5137 it is true; call create_omp_child_function_name with second argument.
5138 (expand_omp_taskreg): Set is_cilk_for and handle cases when it's true.
5139 (expand_omp_for): Handle case of GF_OMP_FOR_KIND_CILKFOR.
5140 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__CILK_FOR_COUNT_.
5141 * tree-nested.c (convert_nonlocal_omp_clauses): Added
5142 OMP_CLAUSE__CILK_FOR_COUNT_ case.
5143 (convert_local_omp_clauses): Ditto.
5144 * tree-pretty-print.c (dump_omp_clause): Added
5145 OMP_CLAUSE__CILK_FOR_COUNT_ and OMP_CLAUSE_SCHEDULE_CILKFOR cases.
5146 (dump_generic_node): Added CILK_FOR case.
5147 * tree.c (omp_clause_num_ops): New element
5148 OMP_CLAUSE__CILK_FOR_COUNT_ (1).
5149 (omp_clause_code_name): New element _Cilk_for_count_.
5150 (walk_tree_1): Added OMP_CLAUSE__CILK_FOR_COUNT_ case.
5151 * tree.def: Add tree code for CILK_FOR.
5153 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
5155 * config/rs6000/40x.md (ppc403-integer): Move "exts" to "no dot".
5156 (ppc403-compare): Add "exts with dot" case.
5157 * config/rs6000/440.md (ppc440-integer, ppc440-compare): As above.
5158 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Ditto.
5159 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Ditto.
5160 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Ditto.
5161 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Ditto.
5162 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Ditto.
5163 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Ditto.
5164 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
5165 cell-cmp-microcoded): Similarly.
5166 * config/rs6000/e300c2c3.md (ppce300c3_iu, ppce300c3_cmp): As before.
5167 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Ditto.
5168 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Ditto.
5169 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Ditto.
5170 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Ditto.
5171 * config/rs6000/power4.md (power4-integer, power4-compare): Ditto.
5172 * config/rs6000/power5.md (power5-integer, power5-compare): Ditto.
5173 * config/rs6000/power6.md (power6-exts): Add "no dot" condition.
5174 (power6-compare): Add "exts with dot" case.
5175 * config/rs6000/power7.md (power7-integer, power7-compare): As before.
5176 * config/rs6000/power8.md (power8-1cyc, power8-compare): Ditto.
5177 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Ditto.
5179 * config/rs6000/predicates.md (lwa_operand): Don't allow memory
5180 if avoiding Cell microcode.
5181 * config/rs6000/rs6000.c (rs6000_adjust_cost): Handle exts+dot case.
5182 (is_cracked_insn): Ditto.
5183 (insn_must_be_first_in_group): Ditto.
5184 * config/rs6000/rs6000.md (dot): Adjust comment.
5185 (cell_micro): Handle exts+dot.
5186 (extendqidi2, extendhidi2, extendsidi2, *extendsidi2_lfiwax,
5187 *extendsidi2_nocell, *extendsidi2_nocell, extendqisi2, extendqihi2,
5188 extendhisi2, 16 anonymous instructions, and 12 splitters): Delete.
5189 (extendqi<mode>2, *extendqi<mode>2_dot, *extendqi<mode>2_dot2,
5190 extendhi<mode>2, *extendhi<mode>2, *extendhi<mode>2_noload,
5191 *extendhi<mode>2_dot, *extendhi<mode>2_dot2, extendsi<mode>2,
5192 *extendsi<mode>2_dot, *extendsi<mode>2_dot2): New.
5194 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
5196 * config/rs6000/rs6000.md (QHSI): Delete.
5197 (EXTQI, EXTHI, EXTSI): New mode iterators.
5198 (zero_extend<mode>di2, *zero_extend<mode>di2_internal1,
5199 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
5200 *zero_extendsidi2_lfiwzx, zero_extendqisi2, zero_extendhisi2,
5201 9 anonymous instructions, and 8 splitters): Delete.
5202 (zero_extendqi<mode>2, *zero_extendqi<mode>2_dot,
5203 *zero_extendqi<mode>2_dot2, zero_extendhi<mode>2,
5204 *zero_extendhi<mode>2_dot, *zero_extendhi<mode>2_dot2,
5205 zero_extendsi<mode>2, *zero_extendsi<mode>2_dot,
5206 *zero_extendsi<mode>2_dot2): New.
5208 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
5210 * config/rs6000/rs6000.md (any_extend): New code iterator.
5211 (u, su): New code attributes.
5212 (dmode, DMODE): New mode attributes.
5213 (<su>mul<mode>3_highpart): New.
5214 (*<su>mul<mode>3_highpart): New.
5215 (<su>mulsi3_highpart_le): New.
5216 (<su>muldi3_highpart_le): New.
5217 (<su>mulsi3_highpart_64): New.
5218 (<u>mul<mode><dmode>3): New.
5219 (mulsidi3, umulsidi3, smulsi3_highpart, umulsi3_highpart, and two
5221 (mulditi3, umulditi3, smuldi3_highpart, umuldi3_highpart, and two
5224 2014-09-02 Segher Boessenkool <segher@kernel.crashing.org>
5226 * config/rs6000/rs6000.md (mulsi3, *mulsi3_internal1,
5227 *mulsi3_internal2, and two splitters): Delete.
5228 (muldi3, *muldi3_internal1, *muldi3_internal2, and two splitters):
5230 (mul<mode>3, mul<mode>3_dot, mul<mode>3_dot2): New.
5232 2014-09-02 Richard Biener <rguenther@suse.de>
5234 PR tree-optimization/62695
5235 * tree-ssa-structalias.c (find_func_clobbers): Add missing
5238 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org>
5241 * config/sh/sh.md (*cmp_div0s_0): Add missing constraints.
5243 2014-09-01 Andi Kleen <ak@linux.intel.com>
5245 * file-find.c (add_prefix_begin): Add.
5246 (do_add_prefix): Rename from add_prefix with first argument.
5247 (add_prefix): Add new wrapper.
5248 * file-find.h (add_prefix_begin): Add.
5249 * gcc-ar.c (main): Support -B option.
5251 2014-09-01 Segher Boessenkool <segher@kernel.crashing.org>
5253 * genemit.c: Include dumpfile.h.
5254 (gen_split): Print name of splitter function to dump file.
5256 2014-09-01 Richard Biener <rguenther@suse.de>
5258 * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
5259 Use stack auto_vecs for constraint expressions.
5260 (find_func_aliases_for_call): Likewise.
5261 (find_func_aliases): Likewise.
5262 (find_func_clobbers): Likewise.
5264 2014-09-01 Richard Biener <rguenther@suse.de>
5266 * tree-ssa-pre.c (phi_translate_1): Avoid re-allocating the
5267 operands vector in most cases. Remove redundant code.
5269 2014-09-01 Olivier Hainque <hainque@adacore.com>
5271 * config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
5272 $WIND_BASE instead of designating a harcoded arbitrary home dir.
5273 (VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
5275 2014-09-01 Richard Biener <rguenther@suse.de>
5277 * tree-ssa-sccvn.h (copy_reference_ops_from_ref,
5278 copy_reference_ops_from_call, vn_nary_op_compute_hash,
5279 vn_reference_compute_hash, vn_reference_insert): Remove.
5280 (vn_reference_lookup_call): New function.
5281 * tree-ssa-sccvn.c (vn_reference_compute_hash,
5282 copy_reference_ops_from_ref, copy_reference_ops_from_call,
5283 vn_reference_insert, vn_nary_op_compute_hash): Make static.
5284 (create_reference_ops_from_call): Remove.
5285 (vn_reference_lookup_3): Properly update shared_lookup_references.
5286 (vn_reference_lookup_pieces): Assert that we updated
5287 shared_lookup_references properly.
5288 (vn_reference_lookup): Likewise.
5289 (vn_reference_lookup_call): New function.
5290 (visit_reference_op_call): Use it. Avoid re-building the
5292 (visit_reference_op_load): Remove redundant lookup.
5293 (visit_reference_op_store): Perform special tail-merging work
5294 only when possibly doing tail-merging.
5295 (visit_use): Likewise.
5296 * tree-ssa-pre.c (compute_avail): Use vn_reference_lookup_call.
5298 2014-09-01 Jakub Jelinek <jakub@redhat.com>
5301 * sched-deps.c (add_or_update_dep_1): If ask_dependency_caches
5302 returned DEP_PRESENT, make sure to set DEP_MULTIPLE on present_dep.
5303 (find_inc): Revert 2014-08-13 change.
5305 2014-09-01 Marek Polacek <polacek@redhat.com>
5308 * expmed.c (store_fixed_bit_field_1): Shift UHWI 1 instead of HWI 1.
5309 Change the type of V to unsigned HOST_WIDE_INT.
5311 2014-09-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
5313 * tree-ssa-math-opts.c (struct symbolic_number): Clarify comment about
5314 the size of byte markers.
5315 (do_shift_rotate): Fix confusion between host, target and marker byte
5317 (verify_symbolic_number_p): Likewise.
5318 (find_bswap_or_nop_1): Likewise.
5319 (find_bswap_or_nop): Likewise.
5321 2014-09-01 Olivier Hainque <hainque@adacore.com>
5323 * Makefile.in (FLAGS_TO_PASS): Propagate INSTALL, INSTALL_DATA,
5324 INSTALL_SCRIPT and INSTALL_PROGRAM as well.
5326 2014-09-01 Jakub Jelinek <jakub@redhat.com>
5328 * config/gnu-user.h (LIBLSAN_EARLY_SPEC): Define.
5329 * gcc.c (LIBLSAN_SPEC, LIBLSAN_EARLY_SPEC): Follow LIBTSAN*_SPEC.
5330 (SANITIZER_EARLY_SPEC): Include LIBLSAN_EARLY_SPEC for -fsanitize=leak.
5332 2014-09-01 Yury Gribov <y.gribov@samsung.com>
5336 * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths.
5337 (build_check_stmt): Likewise.
5338 (instrument_strlen_call): Likewise.
5339 (asan_expand_check_ifn): Likewise and fix types.
5340 (maybe_cast_to_ptrmode): New function.
5342 2014-09-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
5344 * config/mcore/mcore.c (try_constant_tricks): Fix declaration.
5346 2014-08-31 Gerald Pfeifer <gerald@pfeifer.com>
5348 * doc/generic.texi (Deficiencies): Add note on exemplary mistakes.
5350 2014-08-30 John David Anglin <danglin@gcc.gnu.org>
5352 * config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
5353 prefix to function labels when generating fast indirect calls.
5355 2014-08-30 David Malcolm <dmalcolm@redhat.com>
5359 * gcc/reorg.c (skip_consecutive_labels): Convert return type and
5360 param back from rtx_insn * to rtx. Rename param from "label" to
5361 "label_or_return", reintroducing "label" as an rtx_insn * after
5362 we've ensured it's not a RETURN.
5363 (first_active_target_insn): Likewise for return type and param;
5364 add a checked cast to rtx_insn * once we've ensured "insn" is not
5366 (steal_delay_list_from_target): Convert param "pnew_thread" back
5367 from rtx_insn ** to rtx *. Replace use of JUMP_LABEL_AS_INSN
5369 (own_thread_p): Convert param "thread" back from an rtx_insn * to
5370 an rtx. Introduce local rtx_insn * "thread_insn" with a checked
5371 cast once we've established we're not dealing with a RETURN,
5372 renaming subsequent uses of "thread" to "thread_insn".
5373 (fill_simple_delay_slots): Convert uses of JUMP_LABEL_AS_INSN back
5375 (follow_jumps): Convert return type and param "label" from
5376 rtx_insn * back to rtx. Move initialization of "value" to after
5377 the handling for ANY_RETURN_P, adding a checked cast there to
5378 rtx_insn *. Convert local rtx_insn * "this_label" to an rtx and
5379 rename to "this_label_or_return", reintroducing "this_label" as
5380 an rtx_insn * once we've handled the case where it could be an
5382 (fill_slots_from_thread): Rename param "thread" to
5383 "thread_or_return", converting from an rtx_insn * back to an rtx.
5384 Reintroduce name "thread" as an rtx_insn * local with a checked
5385 cast once we've handled the case of it being an ANY_RETURN_P.
5386 Convert local "new_thread" from an rtx_insn * back to an rtx.
5387 Add a checked cast when assigning to "trial" from "new_thread".
5388 Convert use of JUMP_LABEL_AS_INSN back to JUMP_LABEL. Add a
5389 checked cast to rtx_insn * from "new_thread" when invoking
5391 (fill_eager_delay_slots): Convert locals "target_label",
5392 "insn_at_target" from rtx_insn * back to rtx.
5393 Convert uses of JUMP_LABEL_AS_INSN back to JUMP_LABEL.
5394 (relax_delay_slots): Convert locals "trial", "target_label" from
5395 rtx_insn * back to rtx. Convert uses of JUMP_LABEL_AS_INSN back
5396 to JUMP_LABEL. Add a checked cast to rtx_insn * on "trial" when
5397 invoking update_block.
5398 (dbr_schedule): Convert use of JUMP_LABEL_AS_INSN back to
5399 JUMP_LABEL; this removes all JUMP_LABEL_AS_INSN from reorg.c.
5401 * resource.h (mark_target_live_regs): Undo erroneous conversion
5402 of second param of r214693, converting it back from rtx_insn * to
5403 rtx, since it could be a RETURN.
5405 * resource.c (find_dead_or_set_registers): Similarly, convert
5406 param "jump_target" back from an rtx_insn ** to an rtx *, as we
5407 could be writing back a RETURN. Rename local rtx_insn * "next" to
5408 "next_insn", and introduce "lab_or_return" as a local rtx,
5409 handling the case where JUMP_LABEL (this_jump_insn) is a RETURN.
5410 (mark_target_live_regs): Undo erroneous conversion
5411 of second param of r214693, converting it back from rtx_insn * to
5412 rtx, since it could be a RETURN. Rename it from "target" to
5413 "target_maybe_return", reintroducing the name "target" as a local
5414 rtx_insn * with a checked cast, after we've handled the case of
5417 2014-08-29 DJ Delorie <dj@redhat.com>
5419 * cppbuiltin.c (define_builtin_macros_for_type_sizes): Round
5420 pointer size up to a power of two.
5421 * defaults.h (DWARF2_ADDR_SIZE): Round up.
5422 (POINTER_SIZE_UNITS): New, rounded up value.
5423 * dwarf2asm.c (size_of_encoded_value): Use it.
5424 (dw2_output_indirect_constant_1): Likewise.
5425 * expmed.c (init_expmed_one_conv): We now know the sizes of
5427 * loop-iv.c (iv_number_of_iterations): Use precision, not size.
5428 * optabs.c (expand_float): Use precision, not size.
5429 (expand_fix): Likewise.
5430 * simplify-rtx (simplify_unary_operation_1): Likewise.
5431 * tree-dfa.c (get_ref_base_and_extent): Likewise.
5432 * varasm.c (assemble_addr_to_section): Round up pointer sizes.
5433 (default_assemble_integer) Likewise.
5434 (dump_tm_clone_pairs): Likewise.
5435 * dwarf2out.c (mem_loc_descriptor): Allow partial-int modes also.
5436 * var-tracking.c (adjust_mems): Allow partial-int modes also.
5437 (prepare_call_arguments): Likewise.
5438 * stor-layout.c (finalize_type_size): Preserve precision.
5439 (layout_type): Use precision, not size.
5441 * expr.c (convert_move): If the target has an explicit converter,
5444 2014-08-29 David Malcolm <dmalcolm@redhat.com>
5446 * gdbinit.in: Skip various inline functions in rtl.h when
5449 2014-08-29 Richard Sandiford <richard.sandiford@arm.com>
5452 * rtlanal.c (rtx_referenced_p): Fix typo in LABEL_P call.
5454 2014-08-29 Richard Biener <rguenther@suse.de>
5456 PR tree-optimization/62291
5457 * tree-ssa-pre.c (sorted_array_from_bitmap_set): Reserve
5458 exactly the vector size needed and use quick_push.
5459 (phi_translate_1): Adjust comment.
5460 (valid_in_sets): Remove block argument and remove pointless
5462 (dependent_clean): Adjust for removal of block argument.
5464 (compute_antic_aux): Likewise.
5465 (compute_partial_antic_aux): Likewise.
5467 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
5468 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
5469 Anna Tikhonova <anna.tikhonova@intel.com>
5470 Ilya Tocar <ilya.tocar@intel.com>
5471 Andrey Turetskiy <andrey.turetskiy@intel.com>
5472 Ilya Verbin <ilya.verbin@intel.com>
5473 Kirill Yukhin <kirill.yukhin@intel.com>
5474 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
5476 * config/i386/sse.md
5477 (define_insn "avx2_interleave_highv4di<mask_name>"): Add masking.
5478 (define_insn "vec_interleave_highv2di<mask_name>"): Ditto.
5479 (define_insn "avx2_interleave_lowv4di<mask_name>"): Ditto.
5480 (define_insn "vec_interleave_lowv2di<mask_name>"): Ditto.
5482 2014-08-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
5483 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
5484 Anna Tikhonova <anna.tikhonova@intel.com>
5485 Ilya Tocar <ilya.tocar@intel.com>
5486 Andrey Turetskiy <andrey.turetskiy@intel.com>
5487 Ilya Verbin <ilya.verbin@intel.com>
5488 Kirill Yukhin <kirill.yukhin@intel.com>
5489 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
5491 * config/i386/i386-modes.def: Add V12QI, V14QI, V6HI modes.
5492 * config/i386/sse.md
5493 (define_mode_iterator VI4_128_8_256): New.
5494 (define_mode_iterator VI2_128_4_256): Ditto.
5495 (define_mode_iterator PMOV_DST_MODE): Rename into
5496 (define_mode_iterator PMOV_DST_MODE_1): this.
5497 (define_insn "*avx512f_<code><pmov_src_lower><mode>2"):
5498 Use PMOV_DST_MODE_1 mode iterator.
5499 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
5501 (define_insn "avx512f_<code><pmov_src_lower><mode>2_mask"):
5503 (define_insn "*avx512bw_<code>v32hiv32qi2"): New.
5504 (define_insn "avx512bw_<code>v32hiv32qi2_mask"): Ditto.
5505 (define_expand "avx512bw_<code>v32hiv32qi2_store_mask"): Ditto.
5506 (define_mode_iterator PMOV_DST_MODE_2): New.
5507 (define_insn "*avx512vl_<code><ssedoublemodelower><mode>2"): Ditto.
5508 (define_insn "<avx512>_<code><ssedoublemodelower><mode>2_mask"): Ditto.
5509 (define_expand "<avx512>_<code><ssedoublemodelower><mode>2_store_mask"):
5511 (define_mode_iterator PMOV_SRC_MODE_3): Ditto.
5512 (define_mode_attr pmov_dst_3): Ditto.
5513 (define_mode_attr pmov_dst_zeroed_3): Ditto.
5514 (define_mode_attr pmov_suff_3): Ditto.
5515 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>qi2"): Ditto.
5516 (define_insn "*avx512vl_<code>v2div2qi2_store"): Ditto.
5517 (define_insn "avx512vl_<code>v2div2qi2_mask"): Ditto.
5518 (define_insn "avx512vl_<code>v2div2qi2_store_mask"): Ditto.
5519 (define_insn "*avx512vl_<code><mode>v4qi2_store"): Ditto.
5520 (define_insn "avx512vl_<code><mode>v4qi2_mask"): Ditto.
5521 (define_insn "avx512vl_<code><mode>v4qi2_store_mask"): Ditto.
5522 (define_insn "*avx512vl_<code><mode>v8qi2_store"): Ditto.
5523 (define_insn "avx512vl_<code><mode>v8qi2_mask"): Ditto.
5524 (define_insn "avx512vl_<code><mode>v8qi2_store_mask"): Ditto.
5525 (define_mode_iterator PMOV_SRC_MODE_4): Ditto.
5526 (define_mode_attr pmov_dst_4): Ditto.
5527 (define_mode_attr pmov_dst_zeroed_4): Ditto.
5528 (define_mode_attr pmov_suff_4): Ditto.
5529 (define_insn "*avx512vl_<code><mode>v<ssescalarnum>hi2"): Ditto.
5530 (define_insn "*avx512vl_<code><mode>v4hi2_store"): Ditto.
5531 (define_insn "avx512vl_<code><mode>v4hi2_mask"): Ditto.
5532 (define_insn "avx512vl_<code><mode>v4hi2_store_mask"): Ditto.
5533 (define_insn "*avx512vl_<code>v2div2hi2_store"): Ditto.
5534 (define_insn "avx512vl_<code>v2div2hi2_mask"): Ditto.
5535 (define_insn "avx512vl_<code>v2div2hi2_store_mask"): Ditto.
5536 (define_insn "*avx512vl_<code>v2div2si2"): Ditto.
5537 (define_insn "*avx512vl_<code>v2div2si2_store"): Ditto.
5538 (define_insn "avx512vl_<code>v2div2si2_mask"): Ditto.
5539 (define_insn "avx512vl_<code>v2div2si2_store_mask"): Ditto.
5541 2014-08-29 Richard Biener <rguenther@suse.de>
5543 * tree-cfg.c (verify_gimple_assign_unary): Do not allow
5544 NON_LVALUE_EXPR in gimple.
5546 2014-08-29 Richard Biener <rguenther@suse.de>
5549 * gimple-fold.c (gimple_fold_builtin_strcpy): Fix error
5550 from previous refactoring.
5551 (gimple_fold_builtin_strncpy): Likewise.
5553 2014-08-29 David Malcolm <dmalcolm@redhat.com>
5556 * function.c (assign_parm_setup_reg): Remove erroneous checked
5557 cast to rtx_insn * on result of gen_extend_insn in favor of
5558 introducing a new local rtx "pat".
5560 2014-08-29 Jan-Benedict Glaw <jbglaw@lug-owl.de>
5562 * config/mep/mep-pragma.c (mep_pragma_coprocessor_subclass): Rework
5564 * config/mep/mep.c (VECTOR_TYPE_P): Remove duplicate definition.
5566 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5568 * rtl.h (previous_insn): Strengthen param from rtx to rtx_insn *.
5569 (next_insn): Likewise.
5570 * emit-rtl.c (next_insn): Likewise.
5571 (previous_insn): Likewise.
5572 * config/pa/pa.c (remove_useless_addtr_insns): Strenghten locals
5573 "insn" and "next" from rtx to rtx_insn *.
5574 * config/picochip/picochip.c (picochip_reorg): Likewise for locals
5575 "insn", "insn1", "vliw_start", "prologue_end_note",
5576 "last_insn_in_packet".
5578 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5580 * shrink-wrap.h (active_insn_between): Strengthen both params from
5582 * function.c (active_insn_between): Likewise.
5584 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5586 * genattr.c (main): When writing out insn-attr.h, strengthen param
5587 of dfa_clear_single_insn_cache from rtx to rtx_insn *.
5588 * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
5589 writing out the definition of dfa_clear_single_insn_cache to the
5590 generated insn-automata.c
5592 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5594 * resource.h (clear_hashed_info_for_insn): Strengthen param from
5596 (incr_ticks_for_insn): Likewise.
5597 (init_resource_info): Likewise.
5599 * resource.c (init_resource_info): Likewise.
5600 (clear_hashed_info_for_insn): Likewise.
5601 (incr_ticks_for_insn): Likewise.
5603 * reorg.c (delete_scheduled_jump): Strengthen param "insn" from
5605 (steal_delay_list_from_target): Use methods of "seq".
5606 (try_merge_delay_insns): Use methods of "merged_insns".
5607 (update_block): Strengthen param "insn" from rtx to rtx_insn *.
5608 (reorg_redirect_jump): Likewise for param "jump".
5610 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5612 * insn-addr.h (insn_addresses_new): Strengthen param "insn" from
5614 * config/s390/s390.c (s390_split_branches): Eliminate top-level
5615 local rtx "tmp", in favor of new local rtx "mem" and rtx_insn *
5617 (s390_mainpool_finish): In three places, split out a local rtx
5618 "insn" into a local rtx - "set" or "pat" - and a rtx_insn *
5619 "insn". Strengthen local "pool_end" from rtx to rtx_code_label *
5620 and split another local rtx "insn" out into rtx "pat" and
5622 * config/sh/sh.c (output_branchy_insn): Rather than working
5623 directly on operands[9], introduce local rtx_code_label *
5624 variables named "lab" in two places, working on them, and then
5625 assigning them to operands[9], so that the intervening operations
5626 are known by the type system to be on insns.
5628 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5630 * rtl.h (INSN_HAS_LOCATION): Strengthen param from const_rtx to
5633 * print-rtl.c (print_rtx): Add checked cast to const rtx_insn *
5634 in invocation of INSN_HAS_LOCATION.
5636 2014-08-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5638 * config/rs6000/altivec.h (vec_xl): New #define.
5639 (vec_xst): Likewise.
5640 * config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
5641 (XXSPLTD_V2DI): Likewise.
5642 (DIV_V2DI): Likewise.
5643 (UDIV_V2DI): Likewise.
5644 (MUL_V2DI): Likewise.
5645 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
5646 entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
5647 VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
5648 VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
5649 * config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
5650 (UNSPEC_VSX_DIVSD): Likewise.
5651 (UNSPEC_VSX_DIVUD): Likewise.
5652 (UNSPEC_VSX_MULSD): Likewise.
5653 (vsx_mul_v2di): New insn-and-split.
5654 (vsx_div_v2di): Likewise.
5655 (vsx_udiv_v2di): Likewise.
5656 (vsx_xxspltd_<mode>): New insn.
5658 2014-08-28 David Malcolm <dmalcolm@redhat.com>
5660 * rtl.h (RTX_PREV): Added checked casts to uses of PREV_INSN and
5662 (PREV_INSN): Strengthen param from const_rtx to const rtx_insn *.
5663 (NEXT_INSN): Likewise.
5664 (JUMP_LABEL_AS_INSN): Add a "const" modifier to param.
5665 (reg_used_between_p): Strengthen params 2 and 3 from const_rtx to
5667 (no_labels_between_p): Likewise for both params.
5669 * config/aarch64/aarch64.c (aarch64_output_casesi): Add a checked
5670 cast when using NEXT_INSN on operands[2].
5671 * config/alpha/alpha.c (alpha_set_memflags): Strengthen local
5672 "insn" from rtx to rtx_insn *, adding a checked cast.
5673 (alpha_handle_trap_shadows): Strengthen locals "i", "n" from rtx to
5675 * config/arc/arc-protos.h (arc_ccfsm_record_condition): Likewise
5677 (arc_text_label): Likewise for param "insn".
5678 * config/arc/arc.c (arc_expand_epilogue): Likewise for local
5680 (arc_ccfsm_record_condition): Likewise for param "jump".
5681 (arc_text_label): Likewise for local "label".
5682 * config/arc/arc.md (doloop_begin_i): Likewise for local "scan".
5683 Introduce a local "seq" via a dyn_cast to rtx_sequence *, and use
5684 a method for typesafety. Add a checked cast.
5685 * config/arc/constraints.md (Clb): Add a checked cast when getting
5686 the CODE_LABEL from a LABEL_REF.
5687 * config/arm/arm.c (require_pic_register): Strengthen locals
5688 "seq", "insn" from rtx to rtx_insn *.
5689 (create_fix_barrier): Likewise for locals "selected", "next".
5690 (thumb1_reorg): Likewise for locals "prev", "insn".
5691 (arm_expand_prologue): Likewise for local "last".
5692 (thumb1_output_casesi): Add a checked cast when using NEXT_INSN on
5694 (thumb2_output_casesi): Likewise for operands[2].
5695 * config/avr/avr-log.c (avr_log_vadump): Within 'L' case,
5696 strengthen local "insn" from rtx to rtx_insn *.
5697 * config/bfin/bfin.c (find_next_insn_start): Likewise for return
5698 type and param "insn".
5699 (find_prev_insn_start): Likewise.
5700 (hwloop_optimize): Likewise for locals "insn", "last_insn",
5702 (gen_one_bundle): Likewise for loal "t".
5703 (find_load): Likewise for param "insn".
5704 (workaround_speculation): Likewise for locals "insn", "next",
5705 "target", "next_tgt".
5706 * config/c6x/c6x.c (assign_reservations): Likewise for both params
5707 and for locals "insn", "within", "last".
5708 (count_unit_reqs): Likewise for params "head", "tail" and local
5710 (try_rename_operands): Likewise for params "head", "tail".
5711 (reshuffle_units): Likewise for locals "head", "tail", "insn".
5712 (struct c6x_sched_context): Likewise for fields
5713 "last_scheduled_insn", "last_scheduled_iter0".
5714 (init_sched_state): Replace NULL_RTX with NULL.
5715 (reorg_split_calls): Strengthen local "new_cycle_first" from rtx
5717 (undo_split_delayed_nonbranch): Likewise for param and for local
5719 (conditionalize_after_sched): Likewise for local "insn".
5720 (bb_earliest_end_cycle): Likewise.
5721 (filter_insns_above): Likewise for locals "insn", "next".
5722 (hwloop_optimize): Remove redundant checked cast.
5723 (hwloop_fail): Strengthen local "t" from rtx to rtx_insn *.
5724 * config/cris/cris.c (cris_initial_frame_pointer_offset): Replace
5726 (cris_simple_epilogue): Likewise.
5727 (cris_expand_prologue): Likewise.
5728 (cris_expand_epilogue): Likewise.
5729 * config/frv/frv.c (frv_function_contains_far_jump): Strengthen
5730 local "insn" from rtx to rtx_insn *.
5731 (frv_ifcvt_modify_tests): Likewise for locals "last_insn", "insn".
5732 (struct frv_packet_group): Likewise for the elements within array
5733 fields "insns", "sorted", and for field "nop".
5734 (frv_packet): Likewise for the elements within array field
5736 (frv_add_insn_to_packet): Likewise for param "insn".
5737 (frv_insert_nop_in_packet): Likewise for param "insn" and local
5739 (frv_for_each_packet): Likewise for locals "insn", "next_insn".
5740 (frv_sort_insn_group_1): Likewise for local "insn".
5741 (frv_optimize_membar_local): Likewise.
5742 (frv_align_label): Likewise for locals "x", "last", "barrier",
5744 * config/ia64/ia64.c (last_scheduled_insn): Likewise for this
5746 (ia64_sched_init): Likewise for local "insn".
5747 (scheduled_good_insn): Likewise for param "last".
5748 (struct _ia64_sched_context): Likewise for field
5749 "last_scheduled_insn".
5750 (ia64_init_sched_context): Replace NULL_RTX with NULL.
5751 (struct bundle_state): Likewise for field "insn".
5752 (issue_nops_and_insn): Likewise for param "insn".
5753 (get_next_important_insn): Likewise for return type and both
5755 (ia64_add_bundle_selector_before): Likewise for param "insn".
5756 (bundling): Likewise for params "prev_head_insn", "tail" and
5757 locals "insn", "next_insn", "b". Eliminate top-level local rtx
5758 "nop" in favor of new locals rtx "nop_pat" and rtx_insn *nop;
5759 * config/iq2000/iq2000-protos.h (iq2000_fill_delay_slot):
5760 Strengthen final param from rtx to rtx_insn *.
5761 (iq2000_move_1word): Likewise for second param.
5762 * config/iq2000/iq2000.c (iq2000_fill_delay_slot): Likewise for
5763 param "cur_insn" and local "next_insn".
5764 (iq2000_move_1word): Likewise for param "insn".
5765 * config/iq2000/iq2000.md (insn before ADDR_DIFF_VEC): Add checked
5766 casts when using NEXT_INSN on operands[1].
5767 * config/m32c/m32c.c (m32c_function_needs_enter): Strengthen local
5768 "insn" from rtx to rtx_insn *.
5769 * config/m68k/m68k.c (m68k_jump_table_ref_p): Split out uses of
5770 "x", introducing local rtx_insn * "insn" for when working with the
5771 CODE_LABEL of the LABEL_REF.
5772 (m68k_sched_md_init_global): Strengthen local "insn" from rtx to
5774 * config/mcore/mcore-protos.h (mcore_is_dead): Likewise for first
5776 * config/mcore/mcore.c (emit_new_cond_insn): Likewise for return
5778 (conditionalize_block): Likewise for return type and param.
5779 (mcore_is_dead): Likewise for param "first" and local "insn".
5780 (emit_new_cond_insn): Likewise for return type.
5781 (conditionalize_block): Likewise for return type, param, and
5782 locals "insn", "blk_1_br", "end_blk_2_insn", "start_blk_3_lab",
5784 (conditionalize_optimization): Likewise for local "insn".
5785 * config/mep/mep.c (mep_jmp_return_reorg): Add checked cast when
5787 * config/microblaze/microblaze.md: Add checked casts when using
5789 * config/mips/mips.c (mips_expand_prologue): Eliminate top-level
5790 rtx "insn" in favor of various more tightly-scoped rtx "insn" and
5791 and rtx_insn * "insn".
5792 * config/mips/mips.md (casesi_internal_mips16_<mode>): Add a
5793 checked cast when using NEXT_INSN on operands[2].
5794 * config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Strengthen
5795 local "insn" from rtx to rtx_insn *.
5796 * config/nds32/nds32-fp-as-gp.c (nds32_fp_as_gp_check_available):
5798 * config/nds32/nds32-md-auxiliary.c (nds32_output_casesi_pc_relative):
5799 Add a checked cast when using NEXT_INSN on operands[1].
5800 * config/pa/pa-protos.h (pa_following_call): Strengthen param from
5802 (pa_output_cbranch): Likewise for final param.
5803 (pa_output_lbranch): Likewise for second param.
5804 (pa_output_bb): Likewise for third param.
5805 (pa_output_bvb): Likewise.
5806 (pa_output_dbra): Likewise for second param.
5807 (pa_output_movb): Likewise.
5808 (pa_output_parallel_movb): Likewise.
5809 (pa_output_parallel_addb): Likewise.
5810 (pa_output_millicode_call): Likewise for first param.
5811 (pa_output_mul_insn): Likewise for second param.
5812 (pa_output_div_insn): Likewise for third param.
5813 (pa_output_mod_insn): Likewise for second param.
5814 (pa_jump_in_call_delay): Likewise for param.
5815 * config/pa/pa.c (pa_output_mul_insn): Likewise for param "insn".
5816 (pa_output_div_insn): Likewise.
5817 (pa_output_mod_insn): Likewise.
5818 (pa_output_cbranch): Likewise.
5819 (pa_output_lbranch): Likewise.
5820 (pa_output_bb): Likewise.
5821 (pa_output_bvb): Likewise.
5822 (pa_output_dbra): Likewise.
5823 (pa_output_movb): Likewise.
5824 (pa_output_millicode_call): Likewise; use method of rtx_sequence *
5825 to simplify and for typesafety.
5826 (pa_output_call): Use method of rtx_sequence *.
5827 (forward_branch_p): Strengthen param "insn" from rtx to rtx_insn *.
5828 (pa_jump_in_call_delay): Likewise.
5829 (pa_output_parallel_movb): Likewise.
5830 (pa_output_parallel_addb): Likewise.
5831 (pa_following_call): Likewise.
5832 (pa_combine_instructions): Likewise for locals "anchor",
5834 (pa_can_combine_p): Likewise for params "anchor", "floater" and
5835 locals "start", "end".
5836 * config/picochip/picochip.c (picochip_reset_vliw): Likewise for
5837 param "insn" and local "local_insn".
5838 (picochip_final_prescan_insn): Likewise for local "local_insn".
5839 * config/rs6000/rs6000.c (compute_save_world_info): Likewise for
5841 (uses_TOC): Likewise.
5842 * config/s390/s390.c (get_some_local_dynamic_name): Likewise.
5843 (s390_mainpool_finish): Eliminate top-level local rtx "insn",
5844 splitting out to more tightly-scoped locals, 3 as rtx and one as
5846 (s390_optimize_nonescaping_tx): Strengthen local "tmp" from rtx
5848 (s390_emit_prologue): Introduce a local "insn" to be an rtx_insn *
5850 * config/sh/sh-protos.h (barrier_align): Strenghten param from rtx
5852 (fixup_addr_diff_vecs): Likewise.
5853 (reg_unused_after): Likewise for param 2.
5854 (sh_can_redirect_branch): Likewise for both params.
5855 (check_use_sfunc_addr): Likewise for param 1.
5856 * config/sh/sh.c (fixup_mova): Likewise for local "worker".
5857 (find_barrier): Likewise for local "last_got".
5858 (gen_block_redirect): Likewise for return type, param "jump" and
5859 locals "prev", "scan", "next", "insn".
5860 (struct far_branch): Likewise for fields "near_label",
5861 "insert_place", "far_label".
5862 (gen_far_branch): Likewise for local "jump".
5863 (fixup_addr_diff_vecs): Likewise for param "first" and locals
5865 (barrier_align): Likewise for param and for locals "prev", "x".
5866 Introduce local rtx_sequence * "prev_seq" and use insn method for
5867 typesafety and clarity.
5868 (sh_reorg): Strengthen local "scan" from rtx to rtx_insn *.
5869 (get_dest_uid): Likewise for local "dest".
5870 (split_branches): Likewise for locals "next", "beyond", "label",
5871 "block", "far_label". Add checked casts when assigning to
5872 bp->far_label and "far_label".
5873 (reg_unused_after): Strengthen param "scan" from rtx to rtx_insn *.
5874 (sequence_insn_p): Likewise.
5875 (mark_constant_pool_use): Likewise for locals "insn", "lab". Add a
5876 more loop-scoped rtx "insn" when walking LABEL_REFS.
5877 (sh_can_redirect_branch): Strengthen both params from rtx to
5879 (check_use_sfunc_addr): Likewise for param "insn". Introduce a
5880 new local rtx_sequence * "seq" via a dyn_cast, and use a method
5881 for clarity and typesafety.
5882 * config/sh/sh.md (define_expand "epilogue"): Strengthen local
5883 "insn" from rtx to rtx_insn *.
5884 (define_insn "casesi_worker_1"): Add a checked cast to rtx_insn *
5885 when using NEXT_INSN on the CODE_LABEL in operands[2].
5886 (define_insn "casesi_worker_2"): Likewise.
5887 (define_insn "casesi_shift_media"): Likewise.
5888 (define_insn "casesi_load_media"): Likewise for the CODE_LABEL in
5890 * config/sh/sh_optimize_sett_clrt.cc (struct ccreg_value):
5891 Strengthen field "insn" from rtx to rtx_insn *.
5892 (sh_optimize_sett_clrt::execute): Likewise for locals "next_i", "i".
5893 (sh_optimize_sett_clrt::find_last_ccreg_values): Likewise for
5894 param "start_insn" and local "start_insn".
5895 * config/sh/sh_treg_combine.cc (struct set_of_reg): Likewise for
5897 (find_set_of_reg_bb): Likewise for param "insn".
5898 (trace_reg_uses_1): Likewise for param "start_insn" and local "i".
5899 (trace_reg_uses): Likewise for param "start_insn".
5900 (sh_treg_combine::cbranch_trace): Likewise for field
5902 (sh_treg_combine::cbranch_trace::cbranch_trace): Likewise for
5904 (sh_treg_combine::record_set_of_reg): Likewise for param
5905 "start_insn" and local "i".
5906 (sh_treg_combine::can_remove_cstore): Likewise for local
5908 (sh_treg_combine::try_optimize_cbranch): Likewise for param
5910 (sh_treg_combine::execute): Likewise for local "i".
5911 * config/sparc/sparc-protos.h (empty_delay_slot): Likewise for
5913 (sparc_check_64): Likewise for second param.
5914 * config/sparc/sparc.c (sparc_do_work_around_errata): Likewise for
5915 locals "insn", "next". Introduce local rtx_sequence * "seq" via a
5916 dyn_cast, using its insn method for typesafety and clarity.
5917 (empty_delay_slot): Strengthen param "insn" from rtx to
5919 (set_extends): Likewise.
5920 (sparc_check_64): Likewise.
5921 * config/stormy16/stormy16.c (xstormy16_split_cbranch): Likewise
5922 for locals "seq", "last_insn".
5923 (combine_bnp): Likewise for param "insn".
5924 (xstormy16_reorg): Likewise for local "insn".
5925 * config/v850/v850.c (substitute_ep_register): Likewise for params
5926 "first_insn", "last_insn" and local "insn".
5927 (v850_reorg): Likewise for fields "first_insn", "last_insn" within
5928 elements of "regs" array, and local "insn".
5929 * except.c (emit_note_eh_region_end): Likewise for param "insn".
5930 * final.c (final_sequence): Strengthen this global from rtx to
5932 (shorten_branches): Strenthen locals "rel_lab", "prev" from rtx to
5934 (final_scan_insn): Update assignment to "final_sequence" to be
5935 from "seq", the cast version of "body", for type-safety.
5936 * function.c (assign_parm_setup_reg): Strengthen locals "insn",
5937 "insns" from rtx to rtx_insn *.
5938 (thread_prologue_and_epilogue_insns): Likewise for local "seq".
5939 * genattr.c (main): When writing out generated insn-attr.h,
5940 strengthen params 1 and 3 of eligible_for_delay,
5941 eligible_for_annul_true, eligible_for_annul_false from rtx to
5943 * genattrtab.c (write_eligible_delay): Likewise when writing out
5944 generated insn-attrtab.c; also local "insn" the generated
5946 * hw-doloop.c (discover_loops): Strengthen local "insn" from rtx
5948 * hw-doloop.h (struct GTY hwloop_info_d): Strengthen field
5949 "start_label" from rtx to rtx_insn *.
5950 * ira.c (decrease_live_ranges_number): Likewise for local "p".
5951 (ira_update_equiv_info_by_shuffle_insn): Likewise for param
5952 "insns" and local "insn".
5953 (validate_equiv_mem): Likewise for param "start" and local "insn".
5954 (memref_used_between_p): Likewise for params "start", "end" and
5956 * ira.h (ira_update_equiv_info_by_shuffle_insn): Likewise for
5958 * loop-doloop.c (doloop_optimize): Within region guarded by
5959 INSN_P (doloop_pat), introduce a new local rtx_insn *
5960 "doloop_insn" via a checked cast, and use it for typesafety,
5961 eventually writing the value back into doloop_pat.
5962 * output.h (final_sequence): Strengthen this global from rtx to
5964 * recog.c (peep2_attempt): Rename param "insn" to "uncast_insn",
5965 reintroducing "insn" as an rtx_insn * via a checked cast.
5966 Strengthen param "attempt" and local "new_insn"from rtx to
5968 (peephole2_optimize): Strengthen locals "insn", "attempt" from rtx
5970 * ree.c (emit_note_eh_region_end): Likewise for local "insn".
5971 * reload1.c (reload_as_needed): Eliminate top-level locals "x" and
5972 "p" in favor of more tightly-scoped replacements, sometimes rtx
5973 and sometimes rtx_insn *, as appropriate.
5974 (delete_output_reload): Eliminate top-level rtx "i1", splitting
5975 into two loop-scoped locals, one an rtx, the other an rtx_insn *.
5976 * reorg.c (delete_scheduled_jump): Add checked cast. Strengthen
5977 local "trial" from rtx to rtx_insn *.
5978 (redirect_with_delay_slots_safe_p): Strengthen param "jump" from
5979 rtx to rtx_insn *. Strenghten local "pat" from rtx to
5980 rtx_sequence * and use methods for clarity and typesafety.
5981 (redirect_with_delay_list_safe_p): Strengthen param "jump" from
5982 rtx to rtx_insn *. Strenghten local "li" from rtx to
5983 rtx_insn_list * and use its methods for clarity and typesafety.
5984 (steal_delay_list_from_target): Strengthen param "insn" from rtx
5986 (steal_delay_list_from_fallthrough): Likewise.
5987 (try_merge_delay_insns): Likewise for param "thread" and locals
5988 "trial", "next_trial", "delay_insn".
5989 (redundant_insn): Likewise for param "target" and local "trial".
5990 (own_thread_p): Likewise for param "thread" and locals
5991 "active_insn", "insn".
5992 (get_label_before): Likewise for param "insn".
5993 (fill_simple_delay_slots): Likewise for local "new_label"; use
5994 JUMP_LABEL_AS_INSN as necessary when calling own_thread_p.
5995 (label_before_next_insn): Strengthen return type and local "insn"
5996 from rtx to rtx_insn *.
5997 (relax_delay_slots): Likewise for locals "other", "tmp".
5998 (make_return_insns): Likewise for param "first" and locals "insn",
5999 "jump_insn", "prev". Move declaration of "pat" to its assignment
6000 and strengthen from rtx to rtx_sequence *. Use its methods for
6001 clarity and typesafety.
6002 * rtlanal.c (no_labels_between_p): Strengthen params from
6003 const_rtx to const rtx_insn *. Strengthen local "p" from rtx to
6005 (reg_used_between_p): Strengthen params "from_insn", "to_insn"
6006 from const_rtx to const rtx_insn *.
6007 (reg_set_between_p): Rename param "from_insn" to
6008 "uncast_from_insn", and reintroduce "from_insn" as a
6009 const rtx_insn * via a checked cast.
6010 (modified_between_p): Likewise for param "start" as "uncast_start".
6011 (tablejump_p): Add a cast when invoking NEXT_INSN on "label".
6012 * sel-sched-ir.c (get_seqno_by_preds): Strengthen param and locals
6013 "tmp", head" from rtx to rtx_insn *.
6014 (recompute_rev_top_order): Likewise for local "insn".
6015 * sel-sched-ir.h (get_seqno_by_preds): Likewise for param.
6016 * store-motion.c (build_store_vectors): Likewise for local "insn".
6017 Strengthen local "st" from rtx to rtx_insn_list * and use methods
6018 for clarity and typesafety.
6019 * tree-ssa-loop-ivopts.c (seq_cost): Strengthen param "seq" from
6021 (computation_cost): Likewise for local "seq".
6022 (get_address_cost): Likewise.
6024 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6026 * rtl.h (tablejump_p): Strengthen first param from const_rtx to
6028 (label_is_jump_target_p): Likewise for second param.
6030 * rtlanal.c (tablejump_p): Likewise for param "insn".
6031 (label_is_jump_target_p): Likewise for param "jump_insn".
6033 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6035 * rtl.h (find_first_parameter_load): Strengthen return type and
6036 both params from rtx to rtx_insn *.
6037 * rtlanal.c (find_first_parameter_load): Strengthen return type,
6038 both params and locals "before", "first_set" from rtx to
6039 rtx_insn *. Remove now-redundant cast.
6040 * except.c (sjlj_mark_call_sites): Use NULL rather than NULL_RTX.
6042 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6044 * rtl.h (find_last_value): Delete.
6045 * rtlanal.c (find_last_value): Delete.
6047 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6049 * cfgexpand.c (pass_expand::execute): Strengthen local "after"
6050 from rtx to rtx_insn *.
6051 * cfgrtl.c (force_nonfallthru_and_redirect): Replace use of local
6052 rtx "note" with new local rtx_insn * "new_head" when calculating
6053 head insn of new basic block.
6054 * combine.c (combine_split_insns): Strengthen return type and local
6055 "ret" from rtx to rtx_insn *.
6056 (likely_spilled_retval_p): Likewise for locals "use" and "p".
6057 (try_combine): Eliminate local "m_split", splitting into new
6058 locals "m_split_insn" and "m_split_pat".
6059 (find_split_point): Strengthen local "seq" from rtx into
6061 * config/spu/spu.c (spu_machine_dependent_reorg): Likewise for
6062 locals "label", "branch".
6063 * config/spu/spu.md (define_expand "smulsi3_highpart"): Likewise
6065 (define_expand "umulsi3_highpart"): Likewise for local "insn".
6066 * dse.c (note_add_store_info): Likewise for fields "first",
6068 (note_add_store): Likewise for local "insn".
6069 (emit_inc_dec_insn_before): Likewise for locals "insn",
6071 (find_shift_sequence): Likewise for locals "shift_seq", "insn".
6072 (replace_read): Likewise for locals "insns", "this_insn".
6073 * dwarf2cfi.c (dw_trace_info): Likewise for field "eh_head".
6074 (notice_eh_throw): Likewise for param "insn".
6075 (before_next_cfi_note): Likewise for return type, param, and local
6077 (connect_traces): Likewise for local "note".
6078 * emit-rtl.c (reset_all_used_flags): Likewise for local "p".
6079 (verify_rtl_sharing): Likewise.
6080 (unshare_all_rtl_in_chain): Likewise for param "insn".
6081 (get_first_nonnote_insn): Likewise for local "insn".
6082 (get_last_nonnote_insn): Likewise. Introduce local rtx_sequence *
6083 "seq" and use its methods to clarify things.
6084 (next_insn): Strengthen return type from rtx to rtx_insn *.
6085 Rename param "insn" to "uncast_insn" and reintroduce "insn" as a
6086 local rtx_insn * using a checked cast, dropping a checked cast
6087 made redundant by this change. Use a cast to and method of
6088 rtx_sequence to clarify the code.
6089 (previous_insn): Rename param "insn" to "uncast_insn" and
6090 reintroduce "insn" as a local rtx_insn * using a checked cast,
6091 dropping a checked cast made redundant by this change. Use a cast
6092 to and method of rtx_sequence to clarify the code.
6093 (next_nonnote_insn): Rename param "insn" to "uncast_insn" and
6094 reintroduce "insn" as a local rtx_insn * using a checked cast,
6095 dropping a checked cast made redundant by this change.
6096 (next_nonnote_insn_bb): Likewise.
6097 (prev_nonnote_insn): Likewise.
6098 (prev_nonnote_insn_bb): Likewise.
6099 (next_nondebug_insn): Likewise.
6100 (prev_nondebug_insn): Likewise.
6101 (next_nonnote_nondebug_insn): Likewise.
6102 (prev_nonnote_nondebug_insn): Likewise.
6103 (next_real_insn): Likewise.
6104 (prev_real_insn): Likewise.
6105 (next_active_insn): Likewise.
6106 (prev_active_insn): Likewise.
6107 (next_cc0_user): Likewise. Use rtx_sequence and a method for
6109 (prev_cc0_setter): Likewise.
6110 (try_split): Rename param "trial" to "uncast_trial" and
6111 reintroduce "insn" as a local rtx_insn * using a checked cast,
6112 dropping checked casts made redundant by this change.
6113 Strengthen locals "seq", "tem", "insn_last", "insn", "next" from
6115 (remove_insn): Rename param "insn" to "uncast_insn" and
6116 reintroduce "insn" as a local rtx_insn * using a checked cast.
6117 (emit_pattern_after_setloc): Likewise for param "after", as
6119 (emit_pattern_after): Likewise. Strengthen local "prev" from
6121 (emit_pattern_before_setloc): Rename param "before" to
6122 "uncast_before" and reintroduce "before" as a local rtx_insn *
6123 using a checked cast. Strengthen locals "first", "last" from
6125 (emit_pattern_before): Likewise rename/cast param "before" to
6126 "uncast_before". Strengthen local "next" from rtx to rtx_insn *.
6127 * except.c (copy_reg_eh_region_note_forward): Strengthen param
6128 "first" and local "insn" from rtx to rtx_insn *.
6129 (copy_reg_eh_region_note_backward): Likewise for param "last"
6131 * expr.c (fixup_args_size_notes): Rename param "last" to
6132 "uncast_last" and reintroduce "last" as a local rtx_insn *
6133 using a checked cast. Strengthen local "insn" from rtx to
6135 * function.c (set_insn_locations): Strengthen param "insn" from
6137 (record_insns): Likewise for param "insns" and local "tmp".
6138 (active_insn_between): Rename param "tail" to
6139 "uncast_tail" and reintroduce "tail" as a local rtx_insn *
6140 using a checked cast.
6141 (thread_prologue_and_epilogue_insns): Split out top-level local
6142 rtx "seq" into three different rtx_insn * locals. Strengthen
6143 local "prologue_seq" from rtx to rtx_insn *.
6144 * gcse.c (insert_insn_end_basic_block): Strenghen local "insn"
6145 from rtx to rtx_insn *.
6146 * haifa-sched.c (initiate_bb_reg_pressure_info): Likewise.
6147 (priority): Likewise for locals "prev_first", "twin".
6148 (setup_insn_max_reg_pressure): Likewise for param "after".
6149 (sched_setup_bb_reg_pressure_info): Likewise.
6150 (no_real_insns_p): Strengthen params from const_rtx to
6152 (schedule_block): Strengthen local "next_tail" from rtx to
6154 * ifcvt.c (find_active_insn_before): Strengthen return type and
6155 param "insn" from rtx to rtx_insn *.
6156 (find_active_insn_after): Likewise.
6157 (cond_exec_process_insns): Likewise for param "start" and local "insn".
6158 (cond_exec_process_if_block): Likewise for locals "then_start",
6159 "then_end", "else_start", "else_end", "insn", "start", "end", "from".
6160 (noce_process_if_block): Likewise for local "jump".
6161 (merge_if_block): Likewise for two locals named "end".
6162 (cond_exec_find_if_block): Likewise for local "last_insn".
6163 * jump.c (delete_related_insns): Rename param "insn" to
6164 "uncast_insn" and reintroduce "insn" as a local rtx_insn * using a
6165 checked cast. Strengthen local "p" from rtx to rtx_insn *.
6166 * lra-constraints.c (inherit_reload_reg): Replace NULL_RTX with
6168 (split_reg): Likewise.
6169 * lra.c (lra_process_new_insns): Likewise.
6170 * modulo-sched.c (permute_partial_schedule): Strengthen param
6171 "last" from rtx to rtx_insn *.
6172 * optabs.c (add_equal_note): Likewise for param "insns" and local
6174 (expand_binop_directly): Add checked casts to rtx_insn * within
6175 NEXT_INSN (pat) uses.
6176 (expand_unop_direct): Likewise.
6177 (maybe_emit_unop_insn): Likewise.
6178 * recog.c (peep2_attempt): Strengthen locals "last",
6179 "before_try", "x" from rtx to rtx_insn *.
6180 * reorg.c (optimize_skip): Strengthen return type and local
6181 "delay_list" from rtx to rtx_insn_list *. Strengthen param "insn"
6182 and locals "trial", "next_trial" from rtx to rtx_insn *.
6183 * resource.c (next_insn_no_annul): Strengthen return type and
6184 param "insn" from rtx to rtx_insn *. Use a cast to and method of
6185 rtx_sequence to clarify the code.
6186 (mark_referenced_resources): Add a checked cast to rtx_insn *
6187 within PREV_INSN (x).
6188 (find_dead_or_set_registers): Strengthen return type, param
6189 "target", locals "insn", "next", "jump_insn", "this_jump_insn"
6190 from rtx to rtx_insn *. Strengthen param "jump_target" from rtx *
6192 (mark_target_live_regs): Strengthen params "insns" and "target",
6193 locals "insn", "jump_target", "start_insn", "stop_insn" from rtx
6194 to rtx_insn *. Use cast to and method of rtx_sequence to clarify
6196 * resource.h (mark_target_live_regs): Strengthen params 1 and 2
6197 from rtx to rtx_insn *.
6198 * rtl.h (copy_reg_eh_region_note_forward): Strengthen second param
6199 from rtx to rtx_insn *.
6200 (copy_reg_eh_region_note_backward): Likewise.
6201 (unshare_all_rtl_in_chain): Likewise for sole param.
6202 (dump_rtl_slim): Strengthen second and third params from const_rtx
6203 to const rtx_insn *.
6204 * sched-deps.c (sched_free_deps): Strengthen params "head" and
6205 "tail" and locals "insn", "next_tail" from rtx to rtx_insn *.
6206 * sched-ebb.c (init_ready_list): Strengthen locals "prev_head",
6207 "next_tail" from rtx to rtx_insn *.
6208 (begin_move_insn): Likewise for local "next".
6209 * sched-int.h (sched_free_deps): Likewise for first and second
6211 (no_real_insns_p): Strengthen both params from const_rtx to
6213 (sched_setup_bb_reg_pressure_info): Strengthen second params from
6215 * sched-rgn.c (init_ready_list): Likewise for locals "prev_head",
6217 * sched-vis.c (dump_rtl_slim): Strengthen params "first", "last"
6218 and locals "insn", "tail" from const_rtx to const rtx_insn *.
6219 (rtl_dump_bb_for_graph): Strengthen local "insn" from rtx to
6221 (debug_rtl_slim): Strengthen params "first" and "last" from
6222 const_rtx to const rtx_insn *.
6223 * shrink-wrap.c (try_shrink_wrapping): Strengthen param
6224 "prologue_seq" and locals "seq", "p_insn" from rtx to rtx_insn *.
6225 (convert_to_simple_return): Likewise for param "returnjump".
6226 * shrink-wrap.h (try_shrink_wrapping): Likewise for param
6228 (convert_to_simple_return): Likewise for param "returnjump".
6229 * valtrack.c (propagate_for_debug): Likewise for params
6231 * valtrack.h (propagate_for_debug): Likewise for second param.
6233 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6235 * output.h (insn_current_reference_address): Strengthen param
6236 from rtx to rtx_insn *.
6237 * final.c (insn_current_reference_address): Likewise.
6239 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6241 * basic-block.h (inside_basic_block_p): Strengthen param from
6242 const_rtx to const rtx_insn *.
6243 * cfgbuild.c (inside_basic_block_p): Likewise.
6245 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6247 * dwarf2cfi.c (dw_trace_info): Strengthen field "head" from rtx to
6249 (get_trace_info): Likewise for param "insn".
6250 (save_point_p): Likewise.
6251 (maybe_record_trace_start): Likewise for both params.
6252 (maybe_record_trace_start_abnormal): Likewise.
6253 (create_trace_edges): Likewise for sole param and for three of the
6255 (scan_trace): Strengthen local "prev", "insn", "control" from rtx
6256 to rtx_insn *, and update a call to pat->element to pat->insn.
6258 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6260 * function.h (struct expr_status): Convert field "x_forced_labels"
6261 from rtx_expr_list * to rtx_insn_list *.
6263 * cfgbuild.c (make_edges): Convert local "x" from an
6264 rtx_expr_list * to an rtx_insn_list *, replacing use of
6265 "element" method with "insn" method.
6266 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
6267 * except.c (sjlj_emit_dispatch_table): Replace use of
6268 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending to
6270 * jump.c (rebuild_jump_labels_1): Convert local "insn" from an
6271 rtx_expr_list * to an rtx_insn_list *, replacing use of
6272 "element" method with "insn" method.
6273 * reload1.c (set_initial_label_offsets): Likewise for local "x".
6274 * stmt.c (label_rtx): Strengthen local "ref" from rtx to
6275 rtx_insn *, adding a checked cast. Replace use of
6276 gen_rtx_EXPR_LIST with gen_rtx_INSN_LIST when prepending it to
6278 (expand_label): Likewise for local "label_r".
6280 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6282 * function.h (struct rtl_data): Convert field
6283 "x_nonlocal_goto_handler_labels" from rtx_expr_list * to
6285 * rtl.h (remove_node_from_insn_list): New prototype.
6287 * builtins.c (expand_builtin): When prepending to
6288 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
6290 * cfgbuild.c (make_edges): Convert local "x" from rtx_expr_list *
6291 to rtx_insn_list *, and use its "insn" method rather than
6293 * cfgrtl.c (delete_insn): Use new function
6294 remove_node_from_insn_list rather than
6295 remove_node_from_expr_list.
6296 (cfg_layout_initialize): Convert local "x" from rtx_expr_list *
6297 to rtx_insn_list *, and use its "insn" method rather than
6299 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
6300 * reload1.c (set_initial_label_offsets): Likewise for local "x".
6301 * rtlanal.c (remove_node_from_insn_list): New function, adapted
6302 from remove_node_from_expr_list.
6303 * stmt.c (expand_label): When prepending to
6304 nonlocal_goto_handler_labels, use gen_rtx_INSN_LIST rather than
6307 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6309 * function.h (struct rtl_data): Strengthen fields "x_return_label"
6310 and "x_naked_return_label" from rtx to rtx_code_label *.
6312 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6314 * rtl.h (SET_PREV_INSN): Strengthen param from rtx to rtx_insn *.
6315 (SET_NEXT_INSN): Likewise.
6316 (gen_rtvec_v): Add an overload for param types (int, rtx_insn **).
6318 * config/c6x/c6x.c (gen_one_bundle): Strengthen param "slot" from
6319 rtx * to rtx_insn **. Introduce a new local rtx "seq", using it
6320 to split out the SEQUENCE from local "bundle", strengthening the
6321 latter from rtx to rtx_insn * to hold the insn holding the SEQUENCE.
6322 Strengthen locals "t" and "insn" from rtx to rtx_insn *.
6323 (c6x_gen_bundles): Strengthen locals "insn", "next", "last_call"
6324 and the type of the elements of the "slot" array from rtx to
6326 (reorg_split_calls): Likewise for locals "insn" and "next", and
6327 the type of the elements of the "slot" array.
6329 * config/frv/frv.c (frv_nops): Likewise for the elements of this
6331 (frv_function_prologue): Likewise for locals "insn", "next",
6333 (frv_register_nop): Introduce a local "nop_insn" to be the
6334 rtx_insn * containing rtx "nop".
6336 * config/mep/mep.c (mep_make_bundle): Param "core" is sometimes
6337 used as an insn and sometimes as a pattern, so rename it to
6338 "core_insn_or_pat", and introduce local rtx_insn * "core_insn",
6339 using it where dealing with the core insn.
6341 * config/picochip/picochip.c (reorder_var_tracking_notes):
6342 Strengthen locals "insn", "next", "last_insn", "queue",
6343 "next_queue", "prev" from rtx to rtx_insn *.
6345 * emit-rtl.c (gen_rtvec_v): Add overloaded implementation for when
6346 the second param is an rtx_insn ** rather than an rtx **.
6347 (link_insn_into_chain): Strengthen locals "seq" and "sequence"
6348 from rtx to rtx_sequence *, and introduce local named "sequence",
6349 using methods of rtx_sequence to clarify the code.
6350 (remove_insn): Introduce local rtx_sequence * named "sequence" and
6352 (emit_insn_after_1): Strengthen return type from rtx to rtx_insn *.
6353 Rename param "after" to "uncast_after", reintroducing "after" as a
6354 local rtx_insn * with a checked cast.
6355 (emit_pattern_after_noloc): Rename param "after" to "uncast_after",
6356 reintroducing "after" as a local rtx_insn * with a checked cast.
6357 Strengthen local "last" from rtx to rtx_insn * and remove the
6358 now-redundant checked casts.
6359 (copy_delay_slot_insn): Strengthen return type and param from rtx
6362 * haifa-sched.c (reemit_notes): Strengthen params "insn" and
6363 "last" from rtx to rtx_insn *.
6365 2014-08-28 David Malcolm <dmalcolm@redhat.com>
6367 * emit-rtl.h (copy_delay_slot_insn): Strengthen return type and
6368 param from rtx to rtx_insn *.
6370 * emit-rtl.c (copy_delay_slot_insn): Likewise.
6372 * reorg.c (skip_consecutive_labels): Strengthen return type, param
6373 and local "insn" from rtx to rtx_insn *.
6374 (unfilled_slots_base): Strengthen type from rtx * to rtx_insn **.
6375 (unfilled_slots_next): Likewise.
6376 (function_return_label): Strengthen from rtx to rtx_code_label *.
6377 (function_simple_return_label): Likewise.
6378 (first_active_target_insn): Strengthen return type and param from
6380 (find_end_label): Strengthen return type from rtx to
6381 rtx_code_label *; strengthen locals as appropriate.
6382 (emit_delay_sequence): Strengthen return type, param "insn" and
6383 local "seq_insn" from rtx to rtx_insn *. Strengthen param "list"
6384 and local "li" from rtx to rtx_insn_list *, using methods of
6385 rtx_insn_list for clarity and typesafety.
6386 (add_to_delay_list): Strengthen return type and param "insn" from
6387 rtx to rtx_insn *. Strengthen param "delay_list" from rtx to
6388 rtx_insn_list * and use methods of rtx_insn_list.
6389 (delete_from_delay_slot): Strengthen return type, param "insn",
6390 locals "trial", "seq_insn", "prev" from rtx to rtx_insn *.
6391 Strengthen local "seq" from rtx to rtx_sequence *, and local
6392 "delay_list" from rtx to rtx_insn_list *, using methods of
6393 rtx_sequence for clarity and type-safety.
6394 (delete_scheduled_jump): Add checked cast when invoking
6395 delete_from_delay_slot. Strengthen local "trial" from rtx to
6397 (optimize_skip): Strengthen return type and local "delay_list"
6398 from rtx to rtx_insn_list *. Strengthen local "trial" from rtx to
6400 (steal_delay_list_from_target): Strengthen return type, param
6401 "delay_list" and local "new_delay_list" from rtx to
6402 rtx_insn_list *. Strengthen param "seq" from rtx to
6403 rtx_sequence *. Strengthen param "pnew_thread" from rtx * to
6405 Split out local "temp" into multiple more-tightly scoped locals:
6406 sometimes an rtx_insn_list *, and once a rtx_insn *. Use methods
6407 of rtx_insn_list and rtx_sequence for clarity and typesafety.
6408 Strengthen locals named "trial" from rtx to rtx_insn *.
6409 (steal_delay_list_from_fallthrough): Strengthen return type and
6410 param "delay_list" from rtx to rtx_insn_list *. Strengthen param
6411 "seq" from rtx to rtx_sequence *. Use methods of rtx_sequence.
6412 Strengthen local "trial" from rtx to rtx_insn *.
6413 (try_merge_delay_insns): Strength local "merged_insns" from rtx
6414 to rtx_insn_list * and use its methods. Strengthen local "pat"
6415 from rtx to rtx_sequence * and use its methods. Strengthen locals
6416 "dtrial" and "new_rtx" from rtx to rtx_insn *.
6417 (get_label_before): Strengthen return type and local "label" from
6419 (fill_simple_delay_slots): Likewise for locals "insn", "trial",
6420 "next_trial", "next", prev". Strengthen local "delay_list" from
6421 rtx to rtx_insn_list * Strengthen local "tmp" from rtx * to
6423 (follow_jumps): Strengthen return type, param "label" and locals
6424 "insn", "next", "value", "this_label" from rtx to rtx_insn *.
6425 (fill_slots_from_thread): Strengthen return type, param
6426 "delay_list" from rtx to rtx_insn_list *. Strengthen params
6427 "insn", "thread", "opposite_thread" and locals "new_thread",
6428 "trial", "temp", "ninsn" from rtx to rtx_insn *. Introduce local
6429 "sequence" from a checked cast to rtx_sequence so that we can call
6430 steal_delay_list_from_target and steal_delay_list_from_fallthrough
6431 with an rtx_sequence *.
6432 (fill_eager_delay_slots): Strengthen locals "insn", "target_label",
6433 "insn_at_target", "fallthrough_insn" from rtx to rtx_insn *.
6434 Strengthen local "delay_list" from rtx to rtx_insn_list *.
6435 (relax_delay_slots): Strengthen param "first" and locals "insn",
6436 "next", "trial", "delay_insn", "target_label" from rtx to
6437 rtx_insn *. Strengthen local "pat" from rtx to rtx_sequence *.
6438 Introduce a local "trial_seq" for PATTERN (trial) of type
6439 rtx_sequence *, in both cases using methods of rtx_sequence.
6440 (dbr_schedule): Strengthen param "first" and locals "insn",
6441 "next", "epilogue_insn" from rtx to rtx_insn *.
6443 2014-08-28 Richard Biener <rguenther@suse.de>
6445 PR tree-optimization/62283
6446 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
6447 Do not peel loops for alignment where the vector loop likely
6448 doesn't run at least VF times.
6450 2014-08-28 Bin Cheng <bin.cheng@arm.com>
6452 * tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
6453 important_candidates. Consider all important candidates if
6454 IVS doesn't give any result. Remove check on ivs->upto.
6455 (try_add_cand_for): Call iv_ca_add_use only once.
6457 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
6458 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
6459 Anna Tikhonova <anna.tikhonova@intel.com>
6460 Ilya Tocar <ilya.tocar@intel.com>
6461 Andrey Turetskiy <andrey.turetskiy@intel.com>
6462 Ilya Verbin <ilya.verbin@intel.com>
6463 Kirill Yukhin <kirill.yukhin@intel.com>
6464 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
6466 (define_mode_iterator VI12_AVX2): Add V64QI and V32HI modes.
6467 (define_expand "<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Add
6469 (define_insn "*<sse2_avx2>_<plusminus_insn><mode>3<mask_name>"): Ditto.
6470 (define_expand "<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
6471 (define_insn "*<sse2_avx2>_uavg<mode>3<mask_name>"): Ditto.
6472 (define_insn "*mul<mode>3"): Add EVEX version.
6474 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
6475 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
6476 Anna Tikhonova <anna.tikhonova@intel.com>
6477 Ilya Tocar <ilya.tocar@intel.com>
6478 Andrey Turetskiy <andrey.turetskiy@intel.com>
6479 Ilya Verbin <ilya.verbin@intel.com>
6480 Kirill Yukhin <kirill.yukhin@intel.com>
6481 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
6483 * config/i386/sse.md
6484 (define_insn "avx512bw_interleave_highv64qi<mask_name>"): New.
6485 (define_insn "avx2_interleave_highv32qi<mask_name>"): Add masking.
6486 (define_insn "vec_interleave_highv16qi<mask_name>"): Ditto.
6487 (define_insn "avx2_interleave_lowv32qi<mask_name>"): Ditto.
6488 (define_insn "vec_interleave_lowv16qi<mask_name>"): Ditto.
6489 (define_insn "avx2_interleave_highv16hi<mask_name>"): Ditto.
6490 (define_insn "vec_interleave_highv8hi<mask_name>"): Ditto.
6491 (define_insn "avx2_interleave_lowv16hi<mask_name>"): Ditto.
6492 (define_insn "vec_interleave_lowv8hi<mask_name>"): Ditto.
6493 (define_insn "avx2_interleave_highv8si<mask_name>"): Ditto.
6494 (define_insn "vec_interleave_highv4si<mask_name>"): Ditto.
6495 (define_insn "avx2_interleave_lowv8si<mask_name>"): Ditto.
6496 (define_insn "vec_interleave_lowv4si<mask_name>"): Ditto.
6497 (define_insn "vec_interleave_highv16qi<mask_name>"): New.
6498 (define_insn "avx512bw_interleave_highv32hi<mask_name>"): Ditto.
6499 (define_insn "<mask_codefor>avx512bw_interleave_lowv32hi<mask_name>"): Ditto.
6501 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
6502 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
6503 Anna Tikhonova <anna.tikhonova@intel.com>
6504 Ilya Tocar <ilya.tocar@intel.com>
6505 Andrey Turetskiy <andrey.turetskiy@intel.com>
6506 Ilya Verbin <ilya.verbin@intel.com>
6507 Kirill Yukhin <kirill.yukhin@intel.com>
6508 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
6510 * config/i386/sse.md
6511 (define_mode_iterator VIMAX_AVX2): Add V4TI mode.
6512 (define_insn "<sse2_avx2>_ashl<mode>3"): Add EVEX version.
6513 (define_insn "<sse2_avx2>_lshr<mode>3"): Ditto.
6515 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
6516 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
6517 Anna Tikhonova <anna.tikhonova@intel.com>
6518 Ilya Tocar <ilya.tocar@intel.com>
6519 Andrey Turetskiy <andrey.turetskiy@intel.com>
6520 Ilya Verbin <ilya.verbin@intel.com>
6521 Kirill Yukhin <kirill.yukhin@intel.com>
6522 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
6524 * config/i386/sse.md
6525 (define_mode_iterator VI128_256): New.
6526 (define_insn "<mask_codefor><code><mode>3<mask_name>"): Ditto.
6528 2014-08-28 Alexander Ivchenko <alexander.ivchenko@intel.com>
6529 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
6530 Anna Tikhonova <anna.tikhonova@intel.com>
6531 Ilya Tocar <ilya.tocar@intel.com>
6532 Andrey Turetskiy <andrey.turetskiy@intel.com>
6533 Ilya Verbin <ilya.verbin@intel.com>
6534 Kirill Yukhin <kirill.yukhin@intel.com>
6535 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
6537 * config/i386/sse.md
6538 (define_mode_iterator VI8_256_512): New.
6539 (define_insn "<mask_codefor>avx512dq_cvtps2qq<mode><mask_name><round_name>"):
6541 (define_insn "<mask_codefor>avx512dq_cvtps2qqv2di<mask_name>"): Ditto.
6542 (define_insn "<mask_codefor>avx512dq_cvtps2uqq<mode><mask_name><round_name>"):
6544 (define_insn "<mask_codefor>avx512dq_cvtps2uqqv2di<mask_name>"): Ditto.
6546 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6548 * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx. Remove the
6549 pointer to the cumulative reloc value and return the value for
6551 (compute_reloc_for_rtx): Take a const_rtx. Call
6552 compute_reloc_for_rtx_1 directly for SYMBOL_REF and LABEL_REF,
6553 avoiding any recursion. Use FOR_EACH_SUBRTX rather than
6554 for_each_rtx for the CONST case.
6556 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6558 * varasm.c (mark_constant): Replace this for_each_rtx callback with...
6559 (mark_constants_in_pattern): ...this new function to iterate over
6561 (mark_constants): Update accordingly.
6563 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6565 * varasm.c: Include rtl-iter.h.
6566 (const_rtx_hash_1): Take a const_rtx rather than an rtx *.
6567 Remove the pointer to the cumulative hashval_t and just return
6568 the hash for this rtx instead. Remove recursive CONST_VECTOR case.
6569 (const_rtx_hash): Use FOR_EACH_SUBRTX instead of for_each_rtx.
6570 Accumulate the hashval_ts here instead of const_rtx_hash_1.
6572 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6574 * var-tracking.c (add_uses): Take an rtx rather than an rtx *.
6575 Give real type of data parameter. Remove return value.
6576 (add_uses_1): Use FOR_EACH_SUBRTX_VAR rather than for_each_rtx
6577 to iterate over subrtxes.
6579 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6581 * var-tracking.c (use_narrower_mode_test): Turn from being a
6582 for_each_rtx callback to being a function that examines each
6584 (adjust_mems): Update accordingly.
6586 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6588 * var-tracking.c (non_suitable_const): Turn from being a for_each_rtx
6589 callback to being a function that examines each subrtx itself.
6590 Remove handling of null rtxes.
6591 (add_uses): Update accordingly.
6593 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6595 * var-tracking.c: Include rtl-iter.h.
6596 (rtx_debug_expr_p): Turn from being a for_each_rtx callback
6597 to being a function that examines each subrtx itself.
6598 (use_type): Update accordingly.
6600 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6602 * store-motion.c: Include rtl-iter.h.
6603 (extract_mentioned_regs_1): Delete.
6604 (extract_mentioned_regs): Use FOR_EACH_SUBRTX_VAR rather than
6605 for_each_rtx to iterate over subrtxes.
6607 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6609 * sel-sched.c: Include rtl-iter.h
6610 (count_occurrences_1): Delete.
6611 (count_occurrences_equiv): Turn rtxes into const_rtxes.
6612 Use FOR_EACH_SUBRTX rather than for_each_rtx.
6614 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6616 * rtl.h (tls_referenced_p): Take a const_rtx rather than an rtx.
6617 * rtlanal.c (tls_referenced_p_1): Delete.
6618 (tls_referenced_p): Take a const_rtx rather than an rtx.
6619 Use FOR_EACH_SUBRTX rather than for_each_rtx.
6621 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6623 * rtl.h (for_each_inc_dec_fn): Remove special case for -1.
6624 (for_each_inc_dec): Take an rtx rather than an rtx *.
6625 * cselib.c (cselib_record_autoinc_cb): Update accordingly.
6626 (cselib_record_sets): Likewise.
6627 * dse.c (emit_inc_dec_insn_before, check_for_inc_dec_1)
6628 (check_for_inc_dec): Likewise.
6629 * rtlanal.c (for_each_inc_dec_ops): Delete.
6630 (for_each_inc_dec_find_inc_dec): Take the MEM as argument,
6631 rather than a pointer to the memory address. Replace
6632 for_each_inc_dec_ops argument with separate function and data
6633 arguments. Abort on non-autoinc addresses.
6634 (for_each_inc_dec_find_mem): Delete.
6635 (for_each_inc_dec): Take an rtx rather than an rtx *. Use
6636 FOR_EACH_SUBRTX_VAR to visit every autoinc MEM.
6638 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6640 * rtl.h (find_all_hard_regs): Declare.
6641 * rtlanal.c (find_all_hard_regs): New function.
6642 (record_hard_reg_uses_1): Delete.
6643 (record_hard_reg_uses): Use find_all_hard_regs.
6645 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6647 * rtl.h (replace_label_data): Delete.
6648 (replace_label): Take the old label, new label and update-nuses flag
6649 as direct arguments. Return void.
6650 * cfgcleanup.c (outgoing_edges_match): Update accordingly.
6651 * rtlanal.c (replace_label): Update interface as above. Handle
6652 JUMP_TABLE_DATA as a special case. Handle JUMPs outside the
6653 iterator. Use FOR_EACH_SUBRTX_PTR.
6655 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6657 * rtl.h (get_pool_constant, rtx_referenced_p): Replace rtx parameters
6658 with const_rtx parameters.
6659 * varasm.c (get_pool_constant): Likewise.
6660 * rtlanal.c (rtx_referenced_p_1): Delete.
6661 (rtx_referenced_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
6662 Assert that the rtx we're looking for is nonnull. Allow searches
6663 for constant pool SYMBOL_REFs.
6665 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6667 * reload1.c: Include rtl-iter.h.
6668 (note_reg_elim_costly): Turn from being a for_each_rtx callback
6669 to being a function that examines each subrtx itself.
6670 (eliminate_regs_1, elimination_costs_in_insn): Update accordingly.
6672 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6674 * regcprop.c (cprop_find_used_regs_1): Delete.
6675 (cprop_find_used_regs): Use FOR_EACH_SUBRTX instead of for_each_rtx.
6677 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6679 * regcprop.c: Include rtl-iter.h.
6680 (kill_value): Take a const_rtx.
6681 (kill_autoinc_value): Turn from being a for_each_rtx callback
6682 to being a function that examines each subrtx itself.
6683 (copyprop_hardreg_forward_1): Update accordingly.
6685 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6687 * reg-stack.c: Include rtl-iter.h.
6688 (subst_stack_regs_in_debug_insn): Delete.
6689 (subst_all_stack_regs_in_debug_insn): Use FOR_EACH_SUBRTX_PTR
6690 instead of for_each_rtx.
6692 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6694 * lower-subreg.c (find_decomposable_subregs): Turn from being
6695 a for_each_rtx callback to being a function that examines each
6696 subrtx itself. Remove handling of null rtxes.
6697 (decompose_multiword_subregs): Update accordingly.
6699 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6701 * lower-subreg.c (adjust_decomposed_uses): Delete.
6702 (resolve_debug): Use FOR_EACH_SUBRTX_PTR rather than for_each_rtx.
6703 Remove handling of null rtxes.
6705 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6707 * lower-subreg.c: Include rtl-iter.h.
6708 (resolve_subreg_use): Turn from being a for_each_rtx callback
6709 to being a function that examines each subrtx itself. Remove
6710 handling of null rtxes.
6711 (resolve_reg_notes, resolve_simple_move): Update accordingly.
6712 (decompose_multiword_subregs): Likewise.
6714 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6716 * loop-iv.c (altered_reg_used): Turn from being a for_each_rtx callback
6717 to being a function that examines each subrtx itself.
6718 (simplify_using_condition, simplify_using_initial_values): Update
6721 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6723 * loop-iv.c: Include rtl-iter.h.
6724 (find_single_def_src): New function.
6725 (replace_single_def_regs): Turn from being a for_each_rtx callback
6726 to being a function that examines each subrtx itself.
6727 (replace_in_expr, simplify_using_initial_values): Update accordingly.
6729 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6731 * jump.c (eh_returnjump_p_1): Delete.
6732 (eh_returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
6733 Remove handling of null rtxes.
6735 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6737 * jump.c: Include rtl-iter.h.
6738 (returnjump_p_1): Delete.
6739 (returnjump_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
6740 Remove handling of null rtxes.
6742 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6744 * ira.c: Include rtl-iter.h.
6745 (set_paradoxical_subreg): Turn from being a for_each_rtx callback
6746 to being a function that examines each subrtx itself. Remove
6747 handling of null rtxes.
6748 (update_equiv_regs): Update call accordingly.
6750 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6752 * fwprop.c: Include rtl-iter.h.
6753 (varying_mem_p): Turn from being a for_each_rtx callback to being
6754 a function that examines each subrtx itself.
6755 (propagate_rtx): Update accordingly.
6757 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6759 * function.c: Include rtl-iter.h
6760 (instantiate_virtual_regs_in_rtx): Turn from being a for_each_rtx
6761 callback to being a function that examines each subrtx itself.
6762 Return the changed flag.
6763 (instantiate_virtual_regs_in_insn, instantiate_decl_rtl)
6764 (instantiate_virtual_regs): Update calls accordingly.
6766 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6768 * final.c: Include rtl-iter.h.
6769 (mark_symbol_ref_as_used): Delete.
6770 (mark_symbol_refs_as_used): Use FOR_EACH_SUBRTX instead of
6773 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6775 * emit-rtl.c: Include rtl-iter.h.
6776 (find_auto_inc): Turn from being a for_each_rtx callback to being
6777 a function that examines each subrtx itself. Assume the first operand
6778 to an RTX_AUTOINC is the automodified register.
6779 (try_split): Update call accordingly.
6781 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6783 * dwarf2out.c (resolve_one_addr): Remove unused data parameter.
6784 Return a bool, inverting the result so that 0/false means "not ok".
6785 Use FOR_EACH_SUBRTX_PTR instead of for_each_rtx to iterate over
6786 subrtxes of a CONST.
6787 (mem_loc_descriptor, add_const_value_attribute)
6788 (resolve_addr_in_expr): Update calls accordingly.
6790 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6792 * dwarf2out.c: Include rtl-iter.h.
6793 (const_ok_for_output_1): Take the rtx instead of a pointer to it.
6794 Remove unused data parameter. Return a bool, inverting the result
6795 so that 0/false means "not ok".
6796 (const_ok_for_output): Update accordingly. Use FOR_EACH_SUBRTX_VAR
6797 instead of for_each_rtx.
6799 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6801 * dse.c: Include rtl-iter.h.
6802 (check_mem_read_rtx): Change void * parameter to real type.
6803 Remove return value.
6804 (check_mem_read_use): Fix comment. Use FOR_EACH_SUBRTX_PTR instead of
6805 for_each_rtx. Don't handle null rtxes.
6807 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6809 * df-problems.c: Include rtl-iter.h.
6810 (find_memory): Turn from being a for_each_rtx callback to being
6811 a function that examines each subrtx itself. Continue to look for
6812 volatile references even after a nonvolatile one has been found.
6813 (can_move_insns_across): Update calls accordingly.
6815 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6817 * ddg.c (walk_mems_2, walk_mems_1): Delete.
6818 (insns_may_alias_p): Use FOR_EACH_SUBRTX rather than for_each_rtx
6819 to iterate over subrtxes. Return a bool rather than an int.
6821 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6823 * ddg.c: Include rtl-iter.h.
6824 (mark_mem_use_1): Rename to...
6825 (mark_mem_use): ...deleting old mark_mem_use. Use FOR_EACH_SUBRTX
6826 instead of for_each_rtx.
6827 (mem_read_insn_p): Update accordingly.
6829 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6831 * cse.c (change_cc_mode_args): Delete.
6832 (cse_change_cc_mode): Turn from being a for_each_rtx callback to being
6833 a function that examines each subrtx itself. Take the fields of
6834 change_cc_mode_args as argument and return void.
6835 (cse_change_cc_mode_insn): Update calls accordingly.
6837 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6839 * cse.c (is_dead_reg): Change argument to const_rtx.
6840 (dead_debug_insn_data): Delete.
6841 (is_dead_debug_insn): Expand commentary. Turn from being a
6842 for_each_rtx callback to being a function that examines
6843 each subrtx itself. Take the fields of dead_debug_insn_data
6845 (delete_trivially_dead_insns): Update call accordingly.
6847 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6849 * cse.c (check_for_label_ref): Move earlier in file. Turn from
6850 being a for_each_rtx callback to being a function that examines
6852 (cse_extended_basic_block): Update call accordingly.
6854 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6856 * cse.c (check_dependence_data): Delete.
6857 (check_dependence): Change from being a for_each_rtx callback to being
6858 a function that examines all subrtxes itself. Don't handle null rtxes.
6859 (invalidate): Update call accordingly.
6861 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6863 * cse.c: Include rtl-iter.h.
6864 (approx_reg_cost_1): Delete.
6865 (approx_reg_cost): Use FOR_EACH_SUBRTX instead of for_each_rtx.
6866 Don't handle null rtxes.
6868 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6870 * cfgcleanup.c: Include rtl-iter.h.
6871 (mentions_nonequal_regs): Turn from being a for_each_rtx callback
6872 to being a function that examines each subrtx itself.
6873 (thread_jump): Update accordingly.
6875 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6877 * combine-stack-adj.c: Include rtl-iter.h.
6878 (record_stack_refs_data): Delete.
6879 (record_stack_refs): Turn from being a for_each_rtx callback
6880 to being a function that examines each subrtx itself.
6881 Take a pointer to the reflist. Invert sense of return value
6882 so that true means success and false means failure. Don't
6884 (combine_stack_adjustments_for_block): Update accordingly.
6886 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6888 * combine.c (record_truncated_value): Turn from being a for_each_rtx
6889 callback to a function that takes an rtx and returns a bool
6890 (record_truncated_values): Use FOR_EACH_SUBRTX_VAR instead of
6893 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6895 * combine.c: Include rtl-iter.h.
6896 (unmentioned_reg_p_1): Delete.
6897 (unmentioned_reg_p): Use FOR_EACH_SUBRTX rather than for_each_rtx.
6898 Don't handle null rtxes.
6900 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6902 * calls.c: Include rtl-iter.h.
6903 (internal_arg_pointer_based_exp_1): Delete.
6904 (internal_arg_pointer_based_exp): Take a const_rtx.
6905 Use FOR_EACH_SUBRTX to iterate over subrtxes.
6907 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6909 * caller-save.c: Include rtl-iter.h.
6910 (add_used_regs_1): Delete.
6911 (add_used_regs): Use FOR_EACH_SUBRTX rather than for_each_rtx
6912 to iterate over subrtxes. Assert that any remaining pseudos
6915 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6917 * bt-load.c: Include rtl-iter.h.
6918 (btr_reference_found, find_btr_reference, btr_referenced_p): Delete.
6919 (find_btr_use): Move further up file. Use FOR_EACH_SUBRTX_PTR
6920 to iterate over subrtxes.
6921 (insn_sets_btr_p, new_btr_user, compute_defs_uses_and_gen): Use
6922 find_btr_use rather than btr_referenced_p.
6924 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6926 * alias.c: Include rtl-iter.h.
6927 (refs_newer_value_cb): Delete.
6928 (refs_newer_value_p): Use FOR_EACH_SUBRTX instead of for_each_rtx.
6930 2014-08-28 Richard Sandiford <rdsandiford@googlemail.com>
6932 * rtl-iter.h: New file.
6933 * rtlanal.c: Include it.
6934 (rtx_all_subrtx_bounds, rtx_nonconst_subrtx_bounds): New variables.
6935 (generic_subrtx_iterator <T>::add_single_to_queue)
6936 (generic_subrtx_iterator <T>::add_subrtxes_to_queue)
6937 (generic_subrtx_iterator <T>::free_array): New functions.
6938 (generic_subrtx_iterator <T>::LOCAL_ELEMS): Define.
6939 (generic_subrtx_iterator <const_rtx_accessor>)
6940 (generic_subrtx_iterator <rtx_var_accessor>
6941 (generic_subrtx_iterator <rtx_ptr_accessor>): Instantiate.
6942 (setup_reg_subrtx_bounds): New function.
6943 (init_rtlanal): Call it.
6945 2014-08-27 Kaz Kojima <kkojima@gcc.gnu.org>
6948 * config/sh/sh.md (ashlsi3): Handle negative shift count for
6950 (ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
6952 2014-08-27 Richard Sandiford <rdsandiford@googlemail.com>
6954 * emit-rtl.c (set_unique_reg_note): Discard notes with side effects.
6956 2014-08-27 David Malcolm <dmalcolm@redhat.com>
6958 * rtl.h (JUMP_LABEL_AS_INSN): New.
6960 2014-08-27 David Malcolm <dmalcolm@redhat.com>
6962 * rtl.h (free_EXPR_LIST_list): Strengthen param from rtx * to
6964 (alloc_EXPR_LIST): Strengthen return type from rtx to
6966 (remove_free_EXPR_LIST_node): Likewise for param.
6967 * reload.h (struct reg_equivs_t): Strengthen field "alt_mem_list"
6968 from rtx to rtx_expr_list *.
6969 * sched-int.h (struct deps_desc): Strengthen fields
6970 "pending_read_mems" and "pending_write_mems" from rtx to
6973 * dwarf2out.c (decl_piece_varloc_ptr): Strengthen return type from
6974 rtx to rtx_expr_list *.
6975 * lists.c (alloc_INSN_LIST): Likewise, also for local "r".
6976 (free_EXPR_LIST_list): Strengthen param "listp" from rtx * to
6978 (remove_free_EXPR_LIST_node): Likewise. Strengthen local "node"
6979 from rtx to rtx_expr_list *.
6980 * loop-iv.c (simplify_using_initial_values): Strengthen local
6981 "cond_list" from rtx to rtx_expr_list *, and locals "pnode",
6982 "pnote_next" from rtx * to rtx_expr_list **.
6983 * sched-deps.c (remove_from_both_dependence_lists): Strengthen
6984 param "exprp" from rtx * to rtx_expr_list **.
6985 (add_insn_mem_dependence): Strengthen local "mem_list" from
6986 rtx * to rtx_expr_list **. Strengthen local "mem_node" from rtx
6988 * sched-rgn.c (concat_insn_mem_list): Strengthen param "copy_mems"
6989 and local "new_mems" from rtx to rtx_expr_list *. Strengthen
6990 param "old_mems_p" from rtx * to rtx_expr_list **.
6991 * var-tracking.c (struct adjust_mem_data): Strengthen field
6992 "side_effects" from rtx to rtx_expr_list *.
6993 (adjust_insn): Replace NULL_RTX with NULL when assigning to
6995 (prepare_call_arguments): Likewise.
6997 2014-08-27 David Malcolm <dmalcolm@redhat.com>
6999 * function.h (struct rtl_data): Strengthen field
7000 "x_stack_slot_list" from rtx to rtx_expr_list *.
7002 * emit-rtl.c (unshare_all_rtl_1): Add a checked cast
7003 when assigning to stack_slot_list.
7005 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7007 * function.h (struct rtl_data): Strengthen field
7008 x_nonlocal_goto_handler_labels from rtx to rtx_expr_list *.
7009 * rtl.h (remove_node_from_expr_list): Strengthen second param from
7010 rtx * to rtx_expr_list **.
7012 * cfgbuild.c (make_edges): In loop over
7013 nonlocal_goto_handler_labels, strengthen local "x" from rtx to
7014 rtx_expr_list *, and use methods of the latter class to clarify
7016 * cfgrtl.c (cfg_layout_initialize): Strengthen local "x" from rtx to
7017 rtx_expr_list *, and use methods of the latter class to clarify
7019 * dwarf2cfi.c (create_trace_edges): Likewise for local "lab".
7020 * reload1.c (set_initial_label_offsets): Likewise for local "x".
7021 * rtlanal.c (remove_node_from_expr_list): Strengthen param "listp"
7022 from rtx * to rtx_expr_list **. Strengthen local "temp" from rtx
7023 to rtx_expr_list *. Use methods of the latter class to clarify
7026 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7028 * function.h (struct expr_status): Strengthen field
7029 "x_forced_labels" from rtx to rtx_expr_list *.
7031 * cfgbuild.c (make_edges): Split local "x" into two locals,
7032 strengthening one from rtx to rtx_expr_list *, and using methods
7034 * dwarf2cfi.c (create_trace_edges): Split local "lab" out; within
7035 loop over forced_labels, introduce strengthen it from rtx to
7036 rtx_expr_list *, using methods to clarify the code.
7037 * jump.c (rebuild_jump_labels_1): Strengthen local "insn" from rtx
7038 to rtx_expr_list *, using methods of said class to clarify the
7040 * reload1.c (set_initial_label_offsets): Split local "x" into two
7041 per-loop variables, strengthening the first from rtx to
7042 rtx_expr_list * and using methods.
7044 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7046 * coretypes.h (class rtx_expr_list): Add forward declaration.
7047 * emit-rtl.c (gen_rtx_EXPR_LIST): New.
7048 * gengenrtl.c (special_rtx): Add EXPR_LIST.
7049 * rtl.h (class rtx_expr_list): New subclass of rtx_def, adding
7050 invariant: GET_CODE (X) == EXPR_LIST.
7051 (is_a_helper <rtx_expr_list *>::test): New.
7052 (rtx_expr_list::next): New.
7053 (rtx_expr_list::element): New.
7054 (gen_rtx_EXPR_LIST): New.
7056 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7058 * varasm.c (mark_constants): Convert a GET_CODE check into a
7059 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
7060 Use methods of rtx_sequence to clarify the code.
7062 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7064 * sched-vis.c (print_pattern): Within SEQUENCE case, introduce a
7065 local "seq" via a checked cast, and use methods of rtx_sequence
7066 to simplify the code.
7068 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7070 * resource.c (mark_referenced_resources): Strengthen local
7071 "sequence" from rtx to rtx_sequence *, adding a checked cast, and
7072 using methods of rtx_sequence to clarify the code.
7073 (find_dead_or_set_registers): Within the switch statement, convert
7074 a GET_CODE check to a dyn_cast, introducing local "seq". Within
7075 the JUMP_P handling, introduce another local "seq", adding a
7076 checked cast to rtx_sequence *. In both cases, use methods of
7077 rtx_sequence to clarify the code.
7078 (mark_set_resources): Within SEQUENCE case, introduce local "seq"
7079 via a checked cast, and use methods of rtx_sequence to simplify
7082 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7084 * reorg.c (redundant_insn): In two places in the function, replace
7085 a check of GET_CODE with a dyn_cast, introducing local "seq", and
7086 usings methods of rtx_sequence to clarify the code.
7088 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7090 * jump.c (mark_jump_label_1): Within the SEQUENCE case, introduce
7091 local "seq" with a checked cast, and use methods of rtx_sequence
7092 to clarify the code.
7094 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7096 * function.c (contains): Introduce local "seq" for PATTERN (insn),
7097 with a checked cast, in the region for where we know it's a
7098 SEQUENCE. Use methods of rtx_sequence.
7100 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7102 * final.c (get_attr_length_1): Replace GET_CODE check with a
7103 dyn_cast, introducing local "seq" and the use of methods of
7105 (shorten_branches): Likewise, introducing local "body_seq".
7106 Strengthen local "inner_insn" from rtx to rtx_insn *.
7107 (reemit_insn_block_notes): Replace GET_CODE check with a
7108 dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
7109 Use methods of rtx_sequence.
7110 (final_scan_insn): Likewise, introducing local "seq" for when
7111 "body" is known to be a SEQUENCE, using its methods.
7113 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7115 * except.c (can_throw_external): Strengthen local "seq" from rtx
7116 to rtx_sequence *. Use methods of rtx_sequence.
7117 (insn_nothrow_p): Likewise.
7119 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7121 * dwarf2cfi.c (create_trace_edges): Convert GET_CODE check into a
7122 dyn_cast, strengthening local "seq" from rtx to rtx_sequence *.
7123 Use methods of rtx_sequence.
7124 (scan_trace): Likewise for local "pat".
7126 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7128 * coretypes.h (class rtx_sequence): Add forward declaration.
7129 * rtl.h (class rtx_sequence): New subclass of rtx_def, adding
7130 invariant: GET_CODE (X) == SEQUENCE.
7131 (is_a_helper <rtx_sequence *>::test): New.
7132 (is_a_helper <const rtx_sequence *>::test): New.
7133 (rtx_sequence::len): New.
7134 (rtx_sequence::element): New.
7135 (rtx_sequence::insn): New.
7137 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7139 * rtl.h (free_INSN_LIST_list): Strengthen param from rtx * to
7141 (alloc_INSN_LIST): Strengthen return type from rtx to
7143 (copy_INSN_LIST): Likewise for return type and param.
7144 (concat_INSN_LIST): Likewise for both params and return type.
7145 (remove_free_INSN_LIST_elem): Strenghten first param from rtx to
7146 rtx_insn *. Strengthen second param from rtx * to rtx_insn_list **.
7147 (remove_free_INSN_LIST_node): Strenghten return type from rtx to
7148 rtx_insn *. Strengthen param from rtx * to rtx_insn_list **.
7150 * sched-int.h (struct deps_reg): Strengthen fields "uses", "sets",
7151 "implicit_sets", "control_uses", "clobbers" from rtx to
7153 (struct deps_desc): Likewise for fields "pending_read_insns",
7154 "pending_write_insns", "pending_jump_insns",
7155 "last_pending_memory_flush", "last_function_call",
7156 "last_function_call_may_noreturn", "sched_before_next_call",
7157 "sched_before_next_jump".
7158 (struct _haifa_deps_insn_data): Likewise for field "cond_deps".
7159 (remove_from_deps): Strengthen second param from rtx to rtx_insn *.
7161 * gcse.c (struct ls_expr): Strengthen fields "loads" and "stores"
7162 from rtx to rtx_insn_list *.
7163 (ldst_entry): Replace use of NULL_RTX with NULL when dealing with
7166 * haifa-sched.c (insn_queue): Strengthen this variable from rtx *
7167 to rtx_insn_list **.
7168 (dep_cost_1): Strengthen local "dep_cost_rtx_link" from rtx to
7170 (queue_insn): Likewise for local "link".
7171 (struct haifa_saved_data): Strengthen field "insn_queue" from
7172 rtx * to rtx_insn_list **.
7173 (save_backtrack_point): Update allocation of save->insn_queue to
7174 reflect the strengthening of elements from rtx to rtx_insn_list *.
7175 (queue_to_ready): Strengthen local "link" from rtx to
7176 rtx_insn_list *; use methods "next" and "insn" when traversing the
7178 (early_queue_to_ready): Likewise for locals "link", "next_link",
7180 (schedule_block): Update allocation of insn_queue to reflect the
7181 strengthening of elements from rtx to rtx_insn_list *. Strengthen
7182 local "link" from rtx to rtx_insn_list *, and use methods when
7184 (add_to_speculative_block): Strengthen locals "twins" and
7185 "next_node" from rtx to rtx_insn_list *, and use methods when
7186 working with them. Strengthen local "twin" from rtx to
7187 rtx_insn *, eliminating a checked cast.
7188 (fix_recovery_deps): Strengthen locals "ready_list" and "link"
7189 from rtx to rtx_insn_list *, and use methods when working with
7192 * lists.c (alloc_INSN_LIST): Strengthen return type and local "r"
7193 from rtx to rtx_insn_list *, adding a checked cast.
7194 (free_INSN_LIST_list): Strengthen param "listp" from rtx * to
7196 (copy_INSN_LIST): Strengthen return type and locals "new_queue",
7197 "newlink" from rtx to rtx_insn_list *. Strengthen local
7198 "pqueue" from rtx * to rtx_insn_list **. Strengthen local "x"
7199 from rtx to rtx_insn *.
7200 (concat_INSN_LIST): Strengthen return type and local "new_rtx",
7201 from rtx to rtx_insn_list *. Use methods of the latter class.
7202 (remove_free_INSN_LIST_elem): Strengthen param "elem" from rtx to
7203 rtx_insn *, and param "listp" from rtx * to rtx_insn_list **.
7204 (remove_free_INSN_LIST_node): Strengthen return type and local
7205 "elem" from rtx to rtx_insn *. Strenghten param "listp" from
7206 rtx * to rtx_insn_list **. Strengthen local "node" from rtx to
7207 rtx_insn_list *, using "insn" method.
7209 * sched-deps.c (add_dependence_list): Strengthen param "list"
7210 from rtx to rtx_insn_list *, and use methods when working with it.
7211 (add_dependence_list_and_free): Strengthen param "listp" from
7212 rtx * to rtx_insn_list **.
7213 (remove_from_dependence_list): Strenghten param "listp" from rtx *
7214 to rtx_insn_list **, and use methods when working with *listp.
7215 (remove_from_both_dependence_lists): Strengthen param "listp" from
7216 rtx * to rtx_insn_list **
7217 (add_insn_mem_dependence): Strengthen local "insn_list" from rtx *
7218 to rtx_insn_list **. Eliminate local "link", in favor of two new
7219 locals "insn_node" and "mem_node", an rtx_insn_list * and an rtx
7221 (deps_analyze_insn): Split out uses 'f local "t" as an INSN_LIST
7222 by introducing local "cond_deps".
7223 (remove_from_deps): Strengthen param "insn" from rtx to
7226 * sched-rgn.c (concat_insn_mem_list): Strengthen param
7227 "copy_insns" and local "new_insns" from rtx to rtx_insn_list *.
7228 Strengthen param "old_insns_p" from rtx * to rtx_insn_list **.
7229 Use methods of rtx_insn_list.
7231 * store-motion.c (struct st_expr): Strengthen fields
7232 "antic_stores" and "avail_stores" from rtx to rtx_insn_list *.
7233 (st_expr_entry): Replace NULL_RTX with NULL when dealing with
7235 (find_moveable_store): Split out "tmp" into multiple more-tightly
7236 scoped locals. Use methods of rtx_insn_list *.
7237 (compute_store_table): Strengthen local "tmp" from rtx to
7238 rtx_insn *. Use methods of rtx_insn_list *.
7240 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7242 * coretypes.h (class rtx_insn_list): Add forward declaration.
7243 * rtl.h (class rtx_insn_list): New subclass of rtx_def
7244 (is_a_helper <rtx_insn_list *>::test): New.
7245 (rtx_insn_list::next): New.
7246 (rtx_insn_list::insn): New.
7247 (gen_rtx_INSN_LIST): Add prototype.
7248 * emit-rtl.c (gen_rtx_INSN_LIST): New.
7249 * gengenrtl.c (special_rtx): Add INSN_LIST.
7251 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7253 * ira-lives.c (find_call_crossed_cheap_reg): Strengthen local
7254 "prev" from rtx to rtx_insn *.
7256 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7258 * rtl.h (INSN_UID): Convert from a macro to a pair of inline
7259 functions. Require merely an rtx for now, not an rtx_insn *.
7260 (BLOCK_FOR_INSN): Likewise.
7261 (INSN_LOCATION): Likewise.
7262 (INSN_HAS_LOCATION): Convert from a macro to an inline function.
7264 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7266 * rtl.h (PATTERN): Convert this macro into a pair of inline
7267 functions, for now, requiring const_rtx and rtx.
7269 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7271 * target.def (unwind_emit): Strengthen param "insn" from rtx to
7273 (final_postscan_insn): Likewise.
7274 (adjust_cost): Likewise.
7275 (adjust_priority): Likewise.
7276 (variable_issue): Likewise.
7277 (macro_fusion_pair_p): Likewise.
7278 (dfa_post_cycle_insn): Likewise.
7279 (first_cycle_multipass_dfa_lookahead_guard): Likewise.
7280 (first_cycle_multipass_issue): Likewise.
7281 (dfa_new_cycle): Likewise.
7282 (adjust_cost_2): Likewise for params "insn" and "dep_insn".
7283 (speculate_insn): Likewise for param "insn".
7284 (gen_spec_check): Likewise for params "insn" and "label".
7285 (get_insn_spec_ds): Likewise for param "insn".
7286 (get_insn_checked_ds): Likewise.
7287 (dispatch_do): Likewise.
7288 (dispatch): Likewise.
7289 (cannot_copy_insn_p): Likewise.
7290 (invalid_within_doloop): Likewise.
7291 (legitimate_combined_insn): Likewise.
7295 * doc/tm.texi: Automatically updated to reflect changes to
7298 * haifa-sched.c (choose_ready): Convert NULL_RTX to NULL when
7300 (schedule_block): Likewise.
7301 (sched_init): Likewise.
7302 (sched_speculate_insn): Strengthen param "insn" from rtx to
7304 (ready_remove_first_dispatch): Convert NULL_RTX to NULL when
7306 * hooks.c (hook_bool_rtx_true): Rename to...
7307 hook_bool_rtx_insn_true): ...this, and strengthen first param from
7309 (hook_constcharptr_const_rtx_null): Rename to...
7310 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
7311 first param from const_rtx to const rtx_insn *.
7312 (hook_bool_rtx_int_false): Rename to...
7313 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
7314 param from rtx to rtx_insn *.
7315 (hook_void_rtx_int): Rename to...
7316 (hook_void_rtx_insn_int): ...this, and strengthen first param from
7319 * hooks.h (hook_bool_rtx_true): Rename to...
7320 (hook_bool_rtx_insn_true): ...this, and strengthen first param from
7322 (hook_bool_rtx_int_false): Rename to...
7323 (hook_bool_rtx_insn_int_false): ...this, and strengthen first
7324 param from rtx to rtx_insn *.
7325 (hook_void_rtx_int): Rename to...
7326 (hook_void_rtx_insn_int): ...this, and strengthen first param from
7328 (hook_constcharptr_const_rtx_null): Rename to...
7329 (hook_constcharptr_const_rtx_insn_null): ...this, and strengthen
7330 first param from const_rtx to const rtx_insn *.
7332 * sched-deps.c (sched_macro_fuse_insns): Strengthen param "insn"
7333 and local "prev" from rtx to rtx_insn *.
7335 * sched-int.h (sched_speculate_insn): Strengthen first param from
7338 * sel-sched.c (create_speculation_check): Likewise for local "label".
7339 * targhooks.c (default_invalid_within_doloop): Strengthen param
7340 "insn" from const_rtx to const rtx_insn *.
7341 * targhooks.h (default_invalid_within_doloop): Strengthen param
7342 from const_rtx to const rtx_insn *.
7344 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Likewise.
7345 (alpha_adjust_cost): Likewise for params "insn", "dep_insn".
7347 * config/arc/arc.c (arc_sched_adjust_priority): Likewise for param
7349 (arc_invalid_within_doloop): Likewise, with const.
7351 * config/arm/arm.c (arm_adjust_cost): Likewise for params "insn", "dep".
7352 (arm_cannot_copy_insn_p): Likewise for param "insn".
7353 (arm_unwind_emit): Likewise.
7355 * config/bfin/bfin.c (bfin_adjust_cost): Likewise for params "insn",
7358 * config/c6x/c6x.c (c6x_dfa_new_cycle): Likewise for param "insn".
7359 (c6x_variable_issue): Likewise. Removed now-redundant checked
7361 (c6x_adjust_cost): Likewise for params "insn", "dep_insn".
7363 * config/epiphany/epiphany-protos.h (epiphany_mode_needed):
7364 Likewise for param "insn".
7365 (epiphany_mode_after): Likewise.
7366 * config/epiphany/epiphany.c (epiphany_adjust_cost): Likewise for
7367 params "insn", "dep_insn".
7368 (epiphany_mode_needed): Likewise for param "insn".
7369 (epiphany_mode_after): Likewise.
7371 * config/i386/i386-protos.h (i386_pe_seh_unwind_emit): Likewise.
7372 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
7373 (ix86_avx_u128_mode_needed): Likewise.
7374 (ix86_i387_mode_needed): Likewise.
7375 (ix86_mode_needed): Likewise.
7376 (ix86_avx_u128_mode_after): Likewise.
7377 (ix86_mode_after): Likewise.
7378 (ix86_adjust_cost): Likewise for params "insn", "dep_insn".
7379 (ix86_macro_fusion_pair_p): Likewise for params "condgen", "condjmp".
7380 (ix86_adjust_priority): Likewise for param "insn".
7381 (core2i7_first_cycle_multipass_issue): Likewise for param "insn".
7382 (do_dispatch): Likewise.
7383 (has_dispatch): Likewise.
7384 * config/i386/winnt.c (i386_pe_seh_unwind_emit): Likewise.
7386 * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Update to
7387 reflect renaming of default hook implementation from
7388 hook_constcharptr_const_rtx_null to
7389 hook_constcharptr_const_rtx_insn_null.
7390 (ia64_adjust_cost_2): Strengthen params "insn", "dep_insn" from
7392 (ia64_variable_issue): Likewise for param "insn".
7393 (ia64_first_cycle_multipass_dfa_lookahead_guard): Likewise.
7394 (ia64_dfa_new_cycle): Likewise.
7395 (ia64_get_insn_spec_ds): Likewise.
7396 (ia64_get_insn_checked_ds): Likewise.
7397 (ia64_speculate_insn): Likewise.
7398 (ia64_gen_spec_check): Likewise for params "insn", "label".
7399 (ia64_asm_unwind_emit): Likewise for param "insn".
7401 * config/m32r/m32r.c (m32r_adjust_priority): Likewise.
7403 * config/m68k/m68k.c (m68k_sched_adjust_cost): Likewise for params
7405 (m68k_sched_variable_issue): Likewise for param "insn".
7407 * config/mep/mep.c (mep_adjust_cost): Likewise for params "insn",
7410 * config/microblaze/microblaze.c (microblaze_adjust_cost):
7411 Likewise for params "insn", "dep".
7413 * config/mips/mips.c (mips_adjust_cost): Likewise.
7414 (mips_variable_issue): Likewise for param "insn".
7415 (mips_final_postscan_insn): Likewise.
7417 * config/mn10300/mn10300.c (mn10300_adjust_sched_cost): Likewise
7418 for params "insn", "dep".
7420 * config/pa/pa.c (pa_adjust_cost): Likewise for params "insn",
7422 (pa_adjust_priority): Likewise for param "insn".
7424 * config/picochip/picochip.c (picochip_sched_adjust_cost):
7425 Likewise for params "insn", "dep_insn".
7427 * config/rs6000/rs6000.c (rs6000_variable_issue_1): Likewise for
7429 (rs6000_variable_issue): Likewise.
7430 (rs6000_adjust_cost): Likewise for params "insn", "dep_insn".
7431 (rs6000_debug_adjust_cost): Likewise.
7432 (rs6000_adjust_priority): Likewise for param "insn".
7433 (rs6000_use_sched_lookahead_guard): Likewise.
7434 (get_next_active_insn): Likewise for return type and both params.
7435 (redefine_groups): Likewise for params "prev_head_insn", "tail"
7436 and locals "insn", "next_insn".
7437 (pad_groups): Likewise.
7439 * config/s390/s390.c (s390_adjust_priority): Likewise for param
7441 (s390_cannot_copy_insn_p): Likewise.
7442 (s390_sched_variable_issue): Likewise for third param, eliminating
7444 (TARGET_INVALID_WITHIN_DOLOOP): Update to reflect renaming of
7445 default hook implementation from hook_constcharptr_const_rtx_null
7446 to hook_constcharptr_const_rtx_insn_null.
7448 * config/sh/sh.c (sh_cannot_copy_insn_p): Strengthen param "insn"
7449 from rtx to rtx_insn *.
7450 (sh_adjust_cost): Likewise for params "insn", "dep_insn".
7451 (sh_variable_issue): Likewise for param "insn".
7452 (sh_dfa_new_cycle): Likewise.
7453 (sh_mode_needed): Likewise.
7454 (sh_mode_after): Likewise.
7456 * config/sparc/sparc.c (supersparc_adjust_cost): Likewise for
7457 params "insn", "dep_insn".
7458 (hypersparc_adjust_cost): Likewise.
7459 (sparc_adjust_cost): Likewise.
7461 * config/spu/spu.c (spu_sched_variable_issue): Likewise for third
7462 param, eliminated checked cast.
7463 (spu_sched_adjust_cost): Likewise for first and third params.
7465 * config/tilegx/tilegx.c (tilegx_sched_adjust_cost): Strengthen
7466 params "insn" and "dep_insn" from rtx to rtx_insn *.
7468 * config/tilepro/tilepro.c (tilepro_sched_adjust_cost): Likewise.
7470 2014-08-27 David Malcolm <dmalcolm@redhat.com>
7472 * gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
7473 (set_is_load_p): ...this, updating to work on a SET pattern rather
7475 (is_store_insn): Rename to...
7476 (set_is_store_p): ...this, updating to work on a SET pattern
7477 rather than an insn.
7478 (mn10300_adjust_sched_cost): Move call to get_attr_timings from
7479 top of function to where it is needed. Rewrite the bogus
7480 condition that checks for "insn" and "dep" being PARALLEL to
7481 instead use single_set, introducing locals "insn_set" and
7482 "dep_set". Given that we only ever returned "cost" for a non-pair
7483 of SETs, bail out early if we don't have a pair of SET.
7484 Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
7485 use the new locals "insn_set" and "dep_set", and update calls to
7486 is_load_insn and is_store_insn to be calls to set_is_load_p and
7489 2014-08-27 Guozhi Wei <carrot@google.com>
7492 * config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
7493 amount before using it.
7495 2014-08-27 Richard Biener <rguenther@suse.de>
7497 * gimple-fold.c (get_maxval_strlen): Add overload wrapping
7498 get_maxval_strlen inside a more useful API.
7499 (gimple_fold_builtin_with_strlen): Remove and fold into ...
7500 (gimple_fold_builtin): ... caller.
7501 (gimple_fold_builtin_strlen, gimple_fold_builtin_strcpy,
7502 gimple_fold_builtin_strncpy, gimple_fold_builtin_strcat,
7503 gimple_fold_builtin_fputs, gimple_fold_builtin_memory_chk,
7504 gimple_fold_builtin_stxcpy_chk, gimple_fold_builtin_stxncpy_chk,
7505 gimple_fold_builtin_snprintf_chk, gimple_fold_builtin_snprintf,
7506 gimple_fold_builtin_sprintf): Adjust to compute maxval
7509 2014-08-27 Yvan Roux <yvan.roux@linaro.org>
7512 * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
7514 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
7515 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7516 Anna Tikhonova <anna.tikhonova@intel.com>
7517 Ilya Tocar <ilya.tocar@intel.com>
7518 Andrey Turetskiy <andrey.turetskiy@intel.com>
7519 Ilya Verbin <ilya.verbin@intel.com>
7520 Kirill Yukhin <kirill.yukhin@intel.com>
7521 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7523 * config/i386/sse.md
7524 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"):
7525 Use `concat_tg_mode' attribute to determine asm register size.
7527 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
7528 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7529 Anna Tikhonova <anna.tikhonova@intel.com>
7530 Ilya Tocar <ilya.tocar@intel.com>
7531 Andrey Turetskiy <andrey.turetskiy@intel.com>
7532 Ilya Verbin <ilya.verbin@intel.com>
7533 Kirill Yukhin <kirill.yukhin@intel.com>
7534 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7536 * config/i386/sse.md
7537 (define_mode_iterator VI48_AVX512VL): New.
7538 (define_mode_iterator VI_UNALIGNED_LOADSTORE): Delete.
7539 (define_mode_iterator VI_ULOADSTORE_BW_AVX512VL): New.
7540 (define_mode_iterator VI_ULOADSTORE_F_AVX512VL): Ditto.
7541 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7542 with VI1): Change mode iterator.
7543 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7544 with VI_ULOADSTORE_BW_AVX512VL): New.
7545 (define_expand "<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7546 with VI_ULOADSTORE_F_AVX512VL): Ditto.
7547 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7548 with VI1): Change mode iterator.
7549 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7550 with VI_ULOADSTORE_BW_AVX512VL): New.
7551 (define_insn "*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"
7552 with VI_ULOADSTORE_F_AVX512VL): Ditto.
7553 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
7554 with VI1): Change mode iterator.
7555 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
7556 with VI_ULOADSTORE_BW_AVX512VL): New.
7557 (define_insn "<sse2_avx_avx512f>_storedqu<mode>
7558 with VI_ULOADSTORE_BW_AVX512VL): Ditto.
7559 (define_insn "avx512f_storedqu<mode>_mask"): Delete.
7560 (define_insn "<avx512>_storedqu<mode>_mask" with
7561 VI48_AVX512VL): New.
7562 (define_insn "<avx512>_storedqu<mode>_mask" with
7563 VI12_AVX512VL): Ditto.
7565 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
7566 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
7567 Anna Tikhonova <anna.tikhonova@intel.com>
7568 Ilya Tocar <ilya.tocar@intel.com>
7569 Andrey Turetskiy <andrey.turetskiy@intel.com>
7570 Ilya Verbin <ilya.verbin@intel.com>
7571 Kirill Yukhin <kirill.yukhin@intel.com>
7572 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
7574 * config/i386/sse.md
7575 (define_mode_iterator VI48_AVX2_48_AVX512F): Delete.
7576 (define_mode_iterator VI48_AVX512BW): New.
7577 (define_insn "<avx2_avx512f>_<shift_insn>v<mode><mask_name>"): Delete.
7578 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
7579 with VI48_AVX2_48_AVX512F): New.
7580 (define_insn "<avx2_avx512bw>_<shift_insn>v<mode><mask_name>"
7581 with VI2_AVX512VL): Ditto.
7583 2014-08-27 Richard Biener <rguenther@suse.de>
7586 * builtins.c (fold_builtin_strcat_chk): Move to gimple-fold.c.
7587 (fold_builtin_3): Do not fold strcat_chk here.
7588 * gimple-fold.c (gimple_fold_builtin_strcat_chk): Move here
7590 (gimple_fold_builtin): Fold strcat_chk here.
7592 2014-08-26 Aldy Hernandez <aldyh@redhat.com>
7594 * dwarf2out.h (dwarf2out_decl): Remove prototype.
7595 * dwarf2out.c (dwarf2out_decl): Make static.
7597 2014-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>
7599 * doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
7601 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7603 * cselib.h (struct elt_loc_list): Strengthen field "setting_insn"
7604 from rtx to rtx_insn *.
7605 (cselib_lookup_from_insn): Likewise for final param.
7606 (cselib_subst_to_values_from_insn): Likewise.
7607 (cselib_add_permanent_equiv): Likewise.
7609 * cselib.c (cselib_current_insn): Likewise for this variable.
7610 (cselib_subst_to_values_from_insn): Likewise for param "insn".
7611 (cselib_lookup_from_insn): Likewise.
7612 (cselib_add_permanent_equiv): Likewise for param "insn" and local
7613 "save_cselib_current_insn".
7614 (cselib_process_insn): Replace use of NULL_RTX with NULL.
7616 * sched-deps.c (add_insn_mem_dependence): Strengthen param "insn"
7617 from rtx to rtx_insn *.
7619 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7621 * dse.c (dse_step6): Strengthen local "rinsn" from rtx to
7624 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7626 * df.h (df_dump_insn_problem_function): Strengthen first param of
7627 this callback from const_rtx to const rtx_insn *.
7628 (struct df_insn_info): Strengthen field "insn" from rtx to
7630 (DF_REF_INSN): Eliminate this function, reinstating the older
7632 (df_find_def): Strengthen param 1 from rtx to rtx_insn *.
7633 (df_reg_defined): Likewise.
7634 (df_find_use): Likewise.
7635 (df_reg_used): Likewise.
7636 (df_dump_insn_top): Strengthen param 1 from const_rtx to
7638 (df_dump_insn_bottom): Likewise.
7639 (df_insn_debug): Strengthen param 1 from rtx to rtx_insn *.
7640 (df_insn_debug_regno): Likewise.
7641 (debug_df_insn): Likewise.
7642 (df_rd_simulate_one_insn): Likewise for param 2.
7643 (df_word_lr_simulate_defs): Likewise for param 1.
7644 (df_word_lr_simulate_uses): Likewise.
7645 (df_md_simulate_one_insn): Likewise for param 2.
7646 (df_simulate_find_noclobber_defs): Likewise for param 1.
7647 (df_simulate_find_defs): Likewise.
7648 (df_simulate_defs): Likewise.
7649 (df_simulate_uses): Likewise.
7650 (df_simulate_one_insn_backwards): Likewise for param 2.
7651 (df_simulate_one_insn_forwards): Likewise.
7652 (df_uses_create): Likewise for param 2.
7653 (df_insn_create_insn_record): Likewise for param 1.
7654 (df_insn_delete): Likewise.
7655 (df_insn_rescan): Likewise.
7656 (df_insn_rescan_debug_internal): Likewise.
7657 (df_insn_change_bb): Likewise.
7658 (df_notes_rescan): Likewise.
7659 * rtl.h (remove_death): Likewise for param 2.
7660 (print_rtl_with_bb): Strengthen param 2 from const_rtx to
7662 * sched-int.h (reemit_notes): Strengthen param from rtx to
7664 * valtrack.h (propagate_for_debug): Likewise for param 1.
7666 * cfgrtl.c (print_rtl_with_bb): Strengthen param "rtx_first" and
7667 local "tmp_rtx" from const_rtx to const rtx_insn *.
7668 * combine.c (remove_death): Strengthen param "insn" from rtx to
7670 (move_deaths): Likewise for local "where_dead".
7671 * cse.c (delete_trivially_dead_insns): Introduce local
7672 "bind_var_loc" so that "bind" can be strengthened to an rtx_insn *.
7673 * df-core.c (df_find_def): Strengthen param "insn" from rtx to
7675 (df_reg_defined): Likewise.
7676 (df_find_use): Likewise.
7677 (df_reg_used): Likewise.
7678 (df_dump_insn_problem_data): Strengthen param "insn" from
7679 const_rtx to const rtx_insn *.
7680 (df_dump_insn_top): Likewise.
7681 (df_dump_insn_bottom): Likewise.
7682 (df_insn_debug): Strengthen param "insn" from rtx to rtx_insn *.
7683 (df_insn_debug_regno): Likewise.
7684 (debug_df_insn): Likewise.
7685 (DF_REF_INSN): Delete.
7686 * df-problems.c (df_rd_simulate_one_insn): Strengthen param "insn"
7687 from rtx to rtx_insn *.
7688 (df_chain_insn_top_dump): Strengthen param "insn" from
7689 const_rtx to const rtx_insn *.
7690 (df_chain_insn_bottom_dump): Likewise.
7691 (df_word_lr_simulate_defs): Strengthen param "insn" from rtx to
7693 (df_word_lr_simulate_uses): Likewise.
7694 (df_print_note): Likewise.
7695 (df_remove_dead_and_unused_notes): Likewise.
7696 (df_set_unused_notes_for_mw): Likewise.
7697 (df_set_dead_notes_for_mw): Likewise.
7698 (df_create_unused_note): Likewise.
7699 (df_simulate_find_defs): Likewise.
7700 (df_simulate_find_uses): Likewise.
7701 (df_simulate_find_noclobber_defs): Likewise.
7702 (df_simulate_defs): Likewise.
7703 (df_simulate_uses): Likewise.
7704 (df_simulate_one_insn_backwards): Likewise.
7705 (df_simulate_one_insn_forwards): Likewise.
7706 (df_md_simulate_one_insn): Likewise.
7707 * df-scan.c (df_uses_create): Likewise.
7708 (df_insn_create_insn_record): Likewise.
7709 (df_insn_delete): Likewise.
7710 (df_insn_rescan): Likewise.
7711 (df_insn_rescan_debug_internal): Likewise.
7712 (df_insn_change_bb): Likewise.
7713 (df_notes_rescan): Likewise.
7714 (df_refs_add_to_chains): Likewise.
7715 (df_insn_refs_verify): Likewise.
7716 * emit-rtl.c (set_insn_deleted): Add checked cast to rtx_insn *
7717 when invoking df_insn_delete.
7718 (reorder_insns): Strengthen local "x" from rtx to rtx_insn *.
7719 (set_unique_reg_note): Add checked cast.
7720 * final.c (cleanup_subreg_operands): Likewise.
7721 * gcse.c (update_ld_motion_stores): Likewise, strengthening local
7722 "insn" from rtx to rtx_insn *.
7723 * haifa-sched.c (reemit_notes): Strengthen param "insn" and local
7724 "last" from rtx to rtx_insn *.
7725 * ira-emit.c (change_regs_in_insn): New function.
7726 (change_loop): Strengthen local "insn" from rtx to rtx_insn *.
7727 Invoke change_regs_in_insn rather than change_regs.
7728 * ira.c (update_equiv_regs): Strengthen locals "insn",
7729 "init_insn", "new_insn" from rtx to rtx_insn *. Invoke
7730 for_each_rtx_in_insn rather than for_each_rtx.
7731 * recog.c (confirm_change_group): Add checked casts.
7732 (peep2_update_life): Strengthen local "x" from rtx to rtx_insn *.
7734 (peep2_fill_buffer): Add checked cast.
7735 * rtlanal.c (remove_note): Likewise.
7736 * valtrack.c (propagate_for_debug): Strengthen param "insn" and
7737 locals "next" "end" from rtx to rtx_insn *.
7739 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7741 * sched-int.h (sched_init_insn_luid): Strengthen param 1 from rtx
7743 (struct reg_use_data): Likewise for field "insn".
7744 (insn_cost): Likewise for param.
7745 (real_insn_for_shadow): Likewise for return type and param.
7746 (increase_insn_priority): Likewise for param 1.
7747 (debug_dependencies): Likewise for both params.
7749 * haifa-sched.c (insn_delay): Likewise for param "insn".
7750 (real_insn_for_shadow): Likewise for return type and param "insn".
7751 (update_insn_after_change): Likewise for param "insn".
7752 (recompute_todo_spec): Likewise for param "next" and locals "pro",
7754 (insn_cost): Likewise for param "insn".
7755 (increase_insn_priority): Likewise.
7756 (calculate_reg_deaths): Likewise.
7757 (setup_insn_reg_pressure_info): Likewise.
7758 (model_schedule): Strengthen from vec<rtx> to vec<rtx_insn *>.
7759 (model_index): Strengthen param "insn" from rtx to rtx_insn *.
7760 (model_recompute): Likewise.
7761 (must_restore_pattern_p): Likewise for param "next".
7762 (model_excess_cost): Likewise for param "insn".
7763 (queue_remove): Likewise.
7764 (adjust_priority): Likewise for param "prev".
7765 (update_register_pressure): Likewise for param "insn".
7766 (setup_insn_max_reg_pressure): Likewise for local "insn".
7767 (update_reg_and_insn_max_reg_pressure): Likewise for param "insn".
7768 (model_add_to_schedule): Likewise.
7769 (model_reset_queue_indices): Likewise for local "insn".
7770 (unschedule_insns_until): Strengthen local "recompute_vec" from
7771 auto_vec<rtx> to auto_vec<rtx_insn *>. Strengthen locals "last",
7772 "con" from rtx to rtx_insn *.
7773 (restore_last_backtrack_point): Likewise for both locals "x". Add
7775 (estimate_insn_tick): Likewise for param "insn".
7776 (commit_schedule): Likewise for params "prev_head", "tail" and
7778 (verify_shadows): Likewise for locals "i1", "i2".
7779 (dump_insn_stream): Likewise for params "head", "tail" and locals
7780 "next_tail", "insn".
7781 (schedule_block): Likewise for locals "insn", "x". Add a checked
7783 (fix_inter_tick): Likewise for params "head", "tail".
7784 (create_check_block_twin): Likewise for local "jump".
7785 (haifa_change_pattern): Likewise for param "insn".
7786 (haifa_speculate_insn): Likewise.
7787 (dump_new_block_header): Likewise for params "head", "tail".
7788 (fix_jump_move): Likewise for param "jump".
7789 (move_block_after_check): Likewise.
7790 (sched_init_insn_luid): Likewise for param "insn".
7791 (sched_init_luids): Likewise for local "insn".
7792 (insn_luid): Likewise for param "insn".
7793 (init_h_i_d): Likewise.
7794 (haifa_init_h_i_d): Likewise for local "insn".
7795 (haifa_init_insn): Likewise for param "insn".
7796 * sched-deps.c (add_dependence): Likewise for local "real_pro",
7798 (create_insn_reg_use): Likewise for param "insn".
7799 (setup_insn_reg_uses): Likewise. Add a checked cast.
7800 * sched-ebb.c (debug_ebb_dependencies): Strengthen params "head",
7801 "tail" from rtx to rtx_insn *.
7802 * sched-rgn.c (void debug_dependencies): Likewise, also for locals
7803 "insn", "next_tail".
7805 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7807 * haifa-sched.c (struct model_insn_info): Strengthen field "insn"
7808 from rtx to rtx_insn *.
7809 (model_add_to_schedule): Likewise for locals "start", "end",
7812 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7814 * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
7816 * cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
7817 "to" and locals "insn", "next", "copy". Remove now-redundant
7820 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7822 * rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
7823 rtx_insn * and param 4 from rtx * to rtx_insn **.
7824 (get_condition): Strengthen param 1 from rtx to rtx_insn * and
7825 param 2 from rtx * to rtx_insn **.
7827 * df.h (can_move_insns_across): Strengthen params 1-4 from rtx to
7828 rtx_insn * and final param from rtx * to rtx_insn **.
7830 * cfgcleanup.c (try_head_merge_bb): Strengthen local "move_before"
7831 from rtx to rtx_insn *.
7832 (try_head_merge_bb): Likewise for both locals named "move_upto".
7833 * df-problems.c (can_move_insns_across): Likewise for params
7834 "from", "to", "across_from", "across_to" and locals "insn",
7835 "next", "max_to". Strengthen param "pmove_upto" from rtx * to
7837 * ifcvt.c (struct noce_if_info): Strengthen field "cond_earliest"
7838 from rtx to rtx_insn *.
7839 (noce_get_alt_condition): Strengthen param "earliest" from rtx *
7840 to rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
7841 (noce_try_minmax): Strengthen locals "earliest", "seq" from rtx to
7843 (noce_try_abs): Likewise.
7844 (noce_get_condition): Likewise for param "jump". Strengthen param
7845 "earliest" from rtx * to rtx_insn **.
7846 (noce_find_if_block): Strengthen local "cond_earliest" from rtx to
7848 (find_cond_trap): Likewise.
7849 (dead_or_predicable): Likewise for local "earliest".
7850 * loop-iv.c (check_simple_exit): Likewise for local "at". Add
7852 * rtlanal.c (canonicalize_condition): Likewise for param "insn"
7853 and local "prev". Strengthen param "earliest" from rtx * to
7855 (get_condition): Strengthen param "jump" from rtx to rtx_insn *
7856 Strengthen param "earliest" from rtx * to rtx_insn **.
7858 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7860 * fwprop.c (local_ref_killed_between_p): Strengthen params "from",
7861 "to" and local "insn" from rtx to rtx_insn *.
7863 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7865 * sel-sched.c (find_place_for_bookkeeping): Strengthen local "insn"
7866 from rtx to rtx_insn *.
7867 (need_nop_to_preserve_insn_bb): Likewise for param "insn".
7868 (code_motion_path_driver): Likewise for local "last_insn".
7869 (simplify_changed_insns): Likewise for local "insn".
7871 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7873 * rtl.h (push_to_sequence): Strengthen param from rtx to
7875 (push_to_sequence2): Likewise for both params.
7876 (delete_insns_since): Likewise for param.
7877 (reorder_insns_nobb): Likewise for all three params.
7878 (set_new_first_and_last_insn): Likewise for both params.
7880 * emit-rtl.h (set_first_insn): Strengthen param "insn" from rtx to
7881 rtx_insn *. Remove now-redundant cast.
7882 (set_last_insn): Likewise.
7884 * builtins.c (expand_builtin_return): Strengthen local
7885 "call_fusage" from rtx to rtx_insn *.
7886 * cfgrtl.c (create_basic_block_structure): Likewise for local
7888 * emit-rtl.c (set_new_first_and_last_insn): Likewise for params
7889 "first", "last" and local "insn".
7890 (delete_insns_since): Likewise for param "from".
7891 (reorder_insns_nobb): Likewise for params "from", "to", "after"
7893 (push_to_sequence): Likewise for param "first" and local "last".
7894 (push_to_sequence2): Likewise for params "first" and "last".
7895 * lra.c (emit_add3_insn): Likewise for local "last".
7896 (lra_emit_add): Likewise.
7897 * lra-constraints.c (base_to_reg): Likewise for locals "insn",
7899 (process_address_1): Likewise for locals "insn", last".
7900 * modulo-sched.c (ps_first_note): Likewise for return type.
7901 * optabs.c (expand_binop_directly): Likewise for param "last".
7903 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7905 * rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
7907 * emit-rtl.c (get_last_insn_anywhere): Likewise.
7909 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7911 * function.h (struct sequence_stack): Strengthen fields "first"
7912 and "last" from rtx to rtx_insn *.
7913 (struct emit_status): Likewise for fields "x_first_insn" and
7916 * emit-rtl.h (get_insns): Remove now-redundant checked cast.
7917 (set_first_insn): Add checked cast.
7918 (get_last_insn): Remove now-redundant checked cast.
7919 (set_last_insn): Add checked cast.
7921 * config/m32c/m32c.c (m32c_leaf_function_p): Strengthen locals
7922 "saved_first" and "saved_last" from rtx to rtx_insn *.
7924 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7926 * rtl.h (add_insn): Strengthen param from rtx to rtx_insn *.
7927 (unlink_insn_chain): Strengthen both params from rtx to
7930 * cfgrtl.c (cfg_layout_function_header): Likewise for this
7932 (unlink_insn_chain): Likewise for params "first" and "last".
7933 Remove now-redundant checked cast.
7934 (record_effective_endpoints): Replace use of NULL_RTX with NULL.
7935 (fixup_reorder_chain): Strengthen local "insn" from rtx to
7937 * emit-rtl.c (link_insn_into_chain): Likewise for all three
7939 (add_insn): Likewise for param "insn" and local "prev".
7940 (add_insn_after_nobb): Likewise for both params and local "next".
7941 (add_insn_before_nobb): Likewise for both params and local "prev".
7942 (add_insn_after): Rename param "after" to "uncast_after",
7943 introducing local "after" with another checked cast.
7944 (add_insn_before): Rename params "insn" and "before", giving them
7945 "uncast_" prefixes, adding the old names back using checked casts.
7946 (emit_note_after): Likewise for param "after".
7947 (emit_note_before): Likewise for param "before".
7948 (emit_label): Add a checked cast.
7950 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7952 * cselib.h (cselib_record_sets_hook): Strengthen initial param
7953 "insn" from rtx to rtx_insn *.
7955 * cselib.c (cselib_record_sets_hook): Likewise.
7957 * var-tracking.c (add_with_sets): Likewise, renaming back from
7958 "uncast_insn" to "insn" and eliminating the checked cast from rtx
7961 2014-08-26 David Malcolm <dmalcolm@redhat.com>
7963 * basic-block.h (struct rtl_bb_info): Strengthen fields "end_"
7964 and "header_" from rtx to rtx_insn *.
7965 (struct basic_block_d): Likewise for field "head_" within "x"
7966 field of union basic_block_il_dependent.
7967 (BB_HEAD): Drop function...
7968 (SET_BB_HEAD): ...and this function in favor of...
7969 (BB_HEAD): ...reinstate macro.
7970 (BB_END): Drop function...
7971 (SET_BB_END): ...and this function in favor of...
7972 (BB_END): ...reinstate macro.
7973 (BB_HEADER): Drop function...
7974 (SET_BB_HEADER): ...and this function in favor of...
7975 (BB_HEADER): ...reinstate macro.
7977 * bb-reorder.c (add_labels_and_missing_jumps): Drop use of BB_END.
7978 (fix_crossing_unconditional_branches): Likewise.
7979 * caller-save.c (save_call_clobbered_regs): Likewise.
7980 (insert_one_insn): Drop use of SET_BB_HEAD and SET_BB_END.
7981 * cfgbuild.c (find_bb_boundaries): Drop use of SET_BB_END.
7982 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
7983 (merge_blocks_move_successor_nojumps): Likewise.
7984 (outgoing_edges_match): Update use of for_each_rtx to
7985 for_each_rtx_in_insn.
7986 * cfgexpand.c (expand_gimple_cond): Drop use of SET_BB_END.
7987 (expand_gimple_cond): Likewise.
7988 (expand_gimple_tailcall): Likewise.
7989 (expand_gimple_basic_block): Drop use of SET_BB_HEAD and
7991 (construct_exit_block): Drop use of SET_BB_END.
7992 * cfgrtl.c (cfg_layout_function_footer): Strengthen from rtx to
7994 (delete_insn): Rename param "insn" to "uncast_insn", introducing
7995 a new local "insn" with a checked cast to rtx_insn *. Drop use of
7996 SET_BB_HEAD and SET_BB_END.
7997 (create_basic_block_structure): Drop use of SET_BB_HEAD and
7999 (rtl_delete_block): Drop use of SET_BB_HEAD.
8000 (rtl_split_block): Drop use of SET_BB_END.
8001 (emit_nop_for_unique_locus_between): Likewise.
8002 (rtl_merge_blocks): Drop use of SET_BB_END and SET_BB_HEAD.
8003 (block_label): Drop use of SET_BB_HEAD.
8004 (fixup_abnormal_edges): Drop use of SET_BB_END.
8005 (record_effective_endpoints): Drop use of SET_BB_HEADER.
8006 (relink_block_chain): Likewise.
8007 (fixup_reorder_chain): Drop use of SET_BB_END.
8008 (cfg_layout_duplicate_bb): Drop use of SET_BB_HEADER.
8009 (cfg_layout_delete_block): Strengthen local "to" from rtx * to
8010 rtx_insn **. Drop use of SET_BB_HEADER.
8011 (cfg_layout_merge_blocks): Drop use of SET_BB_HEADER, SET_BB_END,
8013 (BB_HEAD): Delete this function.
8014 (SET_BB_HEAD): Likewise.
8016 (SET_BB_END): Likewise.
8017 (BB_HEADER): Likewise.
8018 (SET_BB_HEADER): Likewise.
8019 * emit-rtl.c (add_insn_after): Rename param "insn" to
8020 "uncast_insn", adding a new local "insn" and a checked cast to
8021 rtx_insn *. Drop use of SET_BB_END.
8022 (remove_insn): Strengthen locals "next" and "prev" from rtx to
8023 rtx_insn *. Drop use of SET_BB_HEAD and SET_BB_END.
8024 (reorder_insns): Drop use of SET_BB_END.
8025 (emit_insn_after_1): Strengthen param "first" and locals "last",
8026 "after_after" from rtx to rtx_insn *. Drop use of SET_BB_END.
8027 (emit_pattern_after_noloc): Add checked cast.
8028 * haifa-sched.c (get_ebb_head_tail): Drop use of SET_BB_END.
8029 (restore_other_notes): Likewise.
8030 (move_insn): Likewise.
8031 (sched_extend_bb): Likewise.
8032 (fix_jump_move): Likewise.
8033 * ifcvt.c (noce_process_if_block): Likewise.
8034 (dead_or_predicable): Likewise.
8035 * ira.c (update_equiv_regs): Drop use of SET_BB_HEAD.
8036 * reg-stack.c (change_stack): Drop use of SET_BB_END.
8037 * sel-sched-ir.c (sel_move_insn): Likewise.
8038 * sel-sched.c (move_nop_to_previous_block): Likewise.
8040 * config/c6x/c6x.c (hwloop_optimize): Drop use of SET_BB_HEAD and
8042 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
8044 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8046 * basic-block.h (create_basic_block_structure): Strengthen params
8047 1 "head" and 2 "end" from rtx to rtx_insn *.
8048 * cfgrtl.c (create_basic_block_structure): Likewise.
8049 (rtl_create_basic_block): Update casts from void * to rtx to
8050 rtx_insn *, so that we can pass them as rtx_insn * to
8051 create_basic_block_structure.
8052 * sel-sched-ir.c (sel_create_basic_block): Likewise.
8054 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8056 * rtl.h (for_each_inc_dec): Strengthen param 1 from rtx * to
8058 (check_for_inc_dec): Strengthen param "insn" from rtx to
8061 * cselib.h (cselib_process_insn): Likewise.
8063 * cselib.c (cselib_record_sets): Likewise.
8064 (cselib_process_insn): Likewise.
8066 * dse.c (struct insn_info): Likewise for field "insn".
8067 (check_for_inc_dec_1): Likewise for local "insn".
8068 (check_for_inc_dec): Likewise for param "insn".
8069 (scan_insn): Likewise.
8070 (dse_step1): Likewise for local "insn".
8072 * rtlanal.c (for_each_inc_dec): Strengthen param 1 from rtx * to
8073 rtx_insn **. Use for_each_rtx_in_insn rather than for_each_rtx.
8075 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8077 * sched-int.h (struct _dep): Strengthen fields "pro" and "con"
8078 from rtx to rtx_insn *.
8079 (DEP_PRO): Delete this function and...
8080 (SET_DEP_PRO): ...this function in favor of...
8081 (DEP_PRO): ...reinstate this macro.
8082 (DEP_CON): Delete this function and...
8083 (SET_DEP_CON): ...this function in favor of...
8084 (DEP_CON): ...reinstate this old macro.
8085 (init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
8086 (init_dep): Likewise.
8087 (set_priorities): Likewise for both params.
8088 (sd_copy_back_deps): Likewise for params 1 and 2.
8090 * haifa-sched.c (priority): Likewise for param "insn" and local
8092 (set_priorities): Likewise for params "head" and "tail" and local
8094 (process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
8096 (add_to_speculative_block): Add a checked cast.
8097 (create_check_block_twin): Drop use of SET_DEP_CON.
8098 (add_jump_dependencies): Strengthen params "insn" and "jump" from
8101 * sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
8102 Drop use of SET_DEP_PRO
8103 (init_dep): Strengthen params "pro" and "con" from rtx to
8105 (sd_copy_back_deps): Likewise for params "to" and "from". Drop
8109 (SET_DEP_PRO): Delete.
8110 (SET_DEP_CON): Delete.
8112 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8114 * sel-sched-ir.h (struct vinsn_def): Strengthen field "insn_rtx"
8115 from rtx to rtx_insn *.
8116 (VINSN_INSN_RTX): Eliminate rvalue function and...
8117 (SET_VINSN_INSN): ...lvalue function in favor of...
8118 (VINSN_INSN_RTX): reinstate this old macro.
8120 * sel-sched-ir.c (vinsn_init): Eliminate use of SET_VINSN_INSN_RTX
8121 in favor of VINSN_INSN_RTX.
8122 (VINSN_INSN_RTX): Delete this function.
8123 (SET_VINSN_INSN_RTX): Likewise.
8125 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8127 * sel-sched-ir.h (insn_t): Strengthen from rtx to rtx_insn *.
8128 (BND_TO): Delete this function and...
8129 (SET_BND_TO): ...this functions in favor of...
8130 (BND_TO): ...reinstating this macro.
8131 (struct _fence): Strengthen field "executing_insns" from
8132 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *. Strengthen fields
8133 "last_scheduled_insn" and "sched_next" from rtx to rtx_insn *.
8134 (_succ_iter_cond): Update param "succp" from rtx * to insn_t *
8135 and param "insn" from rtx to insn_t.
8136 (create_vinsn_from_insn_rtx): Strengthen first param from rtx to
8139 * sched-int.h (insn_vec_t): Strengthen from vec<rtx> to
8141 (rtx_vec_t): Likewise.
8142 (struct sched_deps_info_def): Strengthen param of "start_insn"
8143 callback from rtx to rtx_insn *. Likewise for param "insn2" of
8144 "note_mem_dep" callback and first param of "note_dep" callback.
8146 * haifa-sched.c (add_to_speculative_block): Strengthen param
8147 "insn" from rtx to rtx_insn *.
8148 (clear_priorities): Likewise.
8149 (calc_priorities): Likewise for local "insn".
8151 * sched-deps.c (haifa_start_insn): Likewise for param "insn".
8152 Remove redundant checked cast.
8153 (haifa_note_mem_dep): Likewise for param "pending_insn".
8154 (haifa_note_dep): Likewise for param "elem".
8155 (note_mem_dep): Likewise for param "e".
8156 (sched_analyze_1): Add checked casts.
8157 (sched_analyze_2): Likewise.
8159 * sel-sched-dump.c (dump_insn_vector): Strengthen local "succ"
8160 from rtx to rtx_insn *.
8161 (debug): Update param from vec<rtx> & to vec<rtx_insn *>, and
8162 from vec<rtx> * to vec<rtx_insn *> *.
8164 * sel-sched-ir.c (blist_add): Remove use of SET_BND_TO
8166 (flist_add): Strengthen param "executing_insns" from
8167 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
8168 (advance_deps_context): Remove now-redundant checked cast.
8169 (init_fences): Replace uses of NULL_RTX with NULL.
8170 (merge_fences): Strengthen params "last_scheduled_insn" and
8171 "sched_next" from rtx to rtx_insn * and "executing_insns" from
8172 vec<rtx, va_gc> * to vec<rtx_insn *, va_gc> *.
8173 (add_clean_fence_to_fences): Replace uses of NULL_RTX with NULL.
8174 (get_nop_from_pool): Add local "nop_pat" so that "nop" can be
8175 an instruction, rather than doing double-duty as a pattern.
8176 (return_nop_to_pool): Update for change of insn_t.
8177 (deps_init_id): Remove now-redundant checked cast.
8178 (struct sched_scan_info_def): Strengthen param of "init_insn"
8179 callback from rtx to insn_t.
8180 (sched_scan): Strengthen local "insn" from rtx to rtx_insn *.
8181 (init_global_and_expr_for_insn): Replace uses of NULL_RTX with
8183 (get_seqno_by_succs): Strengthen param "insn" and locals "tmp",
8184 "end" from rtx to rtx_insn *.
8185 (create_vinsn_from_insn_rtx): Likewise for param "insn_rtx".
8186 (rtx insn_rtx, bool force_unique_p)
8187 (BND_TO): Delete function.
8188 (SET_BND_TO): Delete function.
8190 * sel-sched.c (advance_one_cycle): Strengthen local "insn" from
8192 (extract_new_fences_from): Replace uses of NULL_RTX with NULL.
8193 (replace_dest_with_reg_in_expr): Strengthen local "insn_rtx" from
8195 (undo_transformations): Likewise for param "insn".
8196 (update_liveness_on_insn): Likewise.
8197 (compute_live_below_insn): Likewise for param "insn" and local
8199 (update_data_sets): Likewise for param "insn".
8200 (fill_vec_av_set): Replace uses of NULL_RTX with NULL.
8201 (convert_vec_av_set_to_ready): Drop now-redundant checked cast.
8202 (invoke_aftermath_hooks): Strengthen param "best_insn" from rtx to
8204 (move_cond_jump): Likewise for param "insn".
8205 (move_cond_jump): Drop use of SET_BND_TO.
8206 (compute_av_set_on_boundaries): Likewise.
8207 (update_fence_and_insn): Replace uses of NULL_RTX with NULL.
8208 (update_and_record_unavailable_insns): Strengthen local "bb_end"
8209 from rtx to rtx_insn *.
8210 (maybe_emit_renaming_copy): Likewise for param "insn".
8211 (maybe_emit_speculative_check): Likewise.
8212 (handle_emitting_transformations): Likewise.
8213 (remove_insn_from_stream): Likewise.
8214 (code_motion_process_successors): Strengthen local "succ" from rtx
8217 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8219 * sel-sched-ir.h (ilist_t): Redefine this typedef in terms of
8220 ilist_t, not _xlist_t;
8221 (ILIST_INSN): Define in terms of new union field "insn".
8222 (ILIST_NEXT): Define in terms of _LIST_NEXT rather than
8224 (struct _list_node): Add new field "insn" to the union, of type
8226 (ilist_add): Replace macro with an inline function, requiring an
8228 (ilist_remove): Define this macro directly in terms of
8229 _list_remove, rather than indirectly via _xlist_remove.
8230 (ilist_clear): Likewise, in terms of _list_clear rather than
8232 (ilist_is_in_p): Replace macro with an inline function, requiring
8234 (_list_iter_cond_insn): New function.
8235 (ilist_iter_remove): Define this macro directly in terms of
8236 _list_iter_remove, rather than indirectly via _xlist_iter_remove.
8237 (ilist_iterator): Define directly in terms of _list_iterator
8238 rather than indirectly through _xlist_iterator.
8239 (FOR_EACH_INSN): Define in terms of _list_iter_cond_insn rather
8240 than in terms of _FOR_EACH_X.
8241 (FOR_EACH_INSN_1): Likewise.
8243 2014-08-26 Joseph Myers <joseph@codesourcery.com>
8247 * varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
8248 DECL_HARD_REGISTER and return for invalid register specifications.
8249 * cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
8250 DECL_HARD_REGISTER, call expand_one_error_var.
8251 * config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
8252 CC_REGNUM with non-MODE_CC modes.
8253 (arm_regno_class): Return NO_REGS for PC_REGNUM.
8255 2014-08-26 Marek Polacek <polacek@redhat.com>
8258 * sel-sched-ir.c (make_regions_from_the_rest): Fix condition.
8260 2014-08-26 Evandro Menezes <e.menezes@samsung.com>
8262 * config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
8263 qi cost; add di cost.
8264 (cortexa57_addrcost_table): Likewise.
8266 2014-08-26 Marek Polacek <polacek@redhat.com>
8269 * expr.c (is_aligning_offset): Remove logical not.
8271 2014-08-26 Marek Polacek <polacek@redhat.com>
8274 * tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
8275 LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.
8277 2014-08-26 Richard Biener <rguenther@suse.de>
8279 PR tree-optimization/62175
8280 * tree-ssa-loop-niter.c (expand_simple_operations): Do not
8281 expand possibly trapping operations.
8283 2014-08-26 David Malcolm <dmalcolm@redhat.com>
8285 * config/rs6000/rs6000.c (class swap_web_entry): Strengthen field
8286 "insn" from rtx to rtx_insn *.
8287 (permute_load): Likewise for param "insn".
8288 (permute_store): Likewise.
8289 (handle_special_swappables): Likewise for local "insn".
8290 (replace_swap_with_copy): Likewise for locals "insn" and
8292 (rs6000_analyze_swaps): Likewise for local "insn".
8294 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8296 * regrename.h (struct du_chain): Strengthen field "insn" from rtx
8299 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8301 * sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
8302 "note_list" from rtx to rtx_insn *.
8303 (BB_NOTE_LIST): Replace this function and...
8304 (SET_BB_NOTE_LIST): ...this function with...
8305 (BB_NOTE_LIST): ...the former macro implementation.
8307 * sched-int.h (concat_note_lists): Strengthen param "from_end" and
8308 local "from_start" from rtx to rtx_insn *. Strengthen param
8309 "to_endp" from rtx * to rtx_insn **.
8311 * haifa-sched.c (concat_note_lists): Likewise.
8312 * sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
8314 (sel_restore_notes): Likewise.
8315 (move_bb_info): Likewise.
8316 (BB_NOTE_LIST): Delete this function.
8317 (SET_BB_NOTE_LIST): Delete this function.
8318 * sel-sched.c (create_block_for_bookkeeping): Eliminate
8319 SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.
8321 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8323 * target.def (reorder): Strengthen param "ready" of this DEFHOOK
8324 from rtx * to rtx_insn **.
8325 (reorder2): Likewise.
8326 (dependencies_evaluation_hook): Strengthen params "head", "tail"
8327 from rtx to rtx_insn *.
8329 * doc/tm.texi: Update mechanically for above change to target.def.
8331 * sched-int.h (note_list): Strengthen this variable from rtx to
8333 (remove_notes): Likewise for both params.
8334 (restore_other_notes): Likewise for return type and first param.
8335 (struct ready_list): Strengthen field "vec" from rtx * to
8337 (struct dep_replacement): Strenghten field "insn" from rtx to
8339 (struct deps_desc): Likewise for fields "last_debug_insn",
8341 (struct haifa_sched_info): Likewise for callback field
8342 "can_schedule_ready_p"'s param, for first param of "new_ready"
8343 callback field, for both params of "rank" callback field, for
8344 first field of "print_insn" callback field (with a const), for
8345 both params of "contributes_to_priority" callback, for param
8346 of "insn_finishes_block_p" callback, for fields "prev_head",
8347 "next_tail", "head", "tail", for first param of "add_remove_insn"
8348 callback, for first param of "begin_schedule_ready" callback, for
8349 both params of "begin_move_insn" callback, and for second param
8350 of "advance_target_bb" callback.
8351 (add_dependence): Likewise for params 1 and 2.
8352 (sched_analyze): Likewise for params 2 and 3.
8353 (deps_analyze_insn): Likewise for param 2.
8354 (ready_element): Likewise for return type.
8355 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
8356 (try_ready): Strenghten param from rtx to rtx_insn *.
8357 (sched_emit_insn): Likewise for return type.
8358 (record_delay_slot_pair): Likewise for params 1 and 2.
8359 (add_delay_dependencies): Likewise for param.
8360 (contributes_to_priority): Likewise for both params.
8361 (find_modifiable_mems): Likewise.
8363 * config/arm/arm.c (cortexa7_sched_reorder): Strengthen param
8364 "ready" from rtx * to rtx_insn **. Strengthen locals "insn",
8365 "first_older_only_insn" from rtx to rtx_insn *.
8366 (arm_sched_reorder): Strengthen param "ready" from rtx * to
8369 * config/c6x/c6x.c (struct c6x_sched_context): Strengthen field
8370 "last_scheduled_iter0" from rtx to rtx_insn *.
8371 (init_sched_state): Replace use of NULL_RTX with NULL for insn.
8372 (c6x_sched_reorder_1): Strengthen param "ready" and locals
8373 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
8374 "insn" from rtx to rtx_insn *.
8375 (c6x_sched_reorder): Strengthen param "ready" from rtx * to
8377 (c6x_sched_reorder2): Strengthen param "ready" and locals
8378 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen local
8379 "insn" from rtx to rtx_insn *.
8380 (c6x_variable_issue): Add a checked cast when assigning from insn
8381 to ss.last_scheduled_iter0.
8382 (split_delayed_branch): Strengthen param "insn" and local "i1"
8383 from rtx to rtx_insn *.
8384 (split_delayed_nonbranch): Likewise.
8385 (undo_split_delayed_nonbranch): Likewise for local "insn".
8386 (hwloop_optimize): Likewise for locals "seq", "insn", "prev",
8387 "entry_after", "end_packet", "head_insn", "tail_insn",
8388 "new_insns", "last_insn", "this_iter", "prev_stage_insn".
8389 Strengthen locals "orig_vec", "copies", "insn_copies" from rtx *
8390 to rtx_insn **. Remove now-redundant checked cast on last_insn,
8391 but add a checked cast on loop->start_label. Consolidate calls to
8392 avoid assigning result of gen_spkernel to "insn", now an
8395 * config/i386/i386.c (do_reorder_for_imul): Strengthen param
8396 "ready" from rtx * to rtx_insn **. Strengthen local "insn" from
8398 (swap_top_of_ready_list): Strengthen param "ready" from rtx * to
8399 rtx_insn **. Strengthen locals "top", "next" from rtx to
8401 (ix86_sched_reorder): Strengthen param "ready" from rtx * to
8402 rtx_insn **. Strengthen local "insn" from rtx to rtx_insn *.
8403 (add_parameter_dependencies): Strengthen params "call", "head" and
8404 locals "insn", "last", "first_arg" from rtx to rtx_insn *.
8405 (avoid_func_arg_motion): Likewise for params "first_arg", "insn".
8406 (add_dependee_for_func_arg): Likewise for param "arg" and local
8408 (ix86_dependencies_evaluation_hook): Likewise for params "head",
8409 "tail" and locals "insn", "first_arg".
8411 * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Likewise
8412 for params "head", "tail" and locals "insn", "next", "next_tail".
8413 (ia64_dfa_sched_reorder): Strengthen param "ready" and locals
8414 "e_ready", "insnp" from rtx * to rtx_insn **. Strengthen locals
8415 "insn", "lowest", "highest" from rtx to rtx_insn *.
8416 (ia64_sched_reorder): Strengthen param "ready" from rtx * to
8418 (ia64_sched_reorder2): Likewise.
8420 * config/mep/mep.c (mep_find_ready_insn): Strengthen return type
8421 and local "insn" from rtx to rtx_insn *. Strengthen param "ready"
8422 from rtx * to rtx_insn **.
8423 (mep_move_ready_insn): Strengthen param "ready" from rtx * to
8425 (mep_print_sched_insn): Strengthen param "insn" from rtx to
8427 (mep_sched_reorder): Strengthen param "ready" from rtx * to
8428 rtx_insn **. Strengthen locals "core_insn", "cop_insn" from rtx
8431 * config/mips/mips.c (mips_promote_ready): Strengthen param "ready"
8432 from rtx * to rtx_insn **. Strengthen local "new_head" from rtx
8434 (mips_maybe_swap_ready): Strengthen param "ready" from rtx * to
8435 rtx_insn **. Strengthen local "temp" from rtx to rtx_insn *.
8436 (mips_macc_chains_reorder): Strengthen param "ready" from rtx * to
8438 (vr4130_reorder): Likewise.
8439 (mips_74k_agen_reorder): Likewise. Strengthen local "insn" from
8441 (mips_sched_reorder_1): Strengthen param "ready" from rtx * to
8443 (mips_sched_reorder): Likewise.
8444 (mips_sched_reorder2): Likewise.
8446 * config/picochip/picochip.c (picochip_sched_reorder): Likewise.
8448 * config/rs6000/rs6000.c (rs6000_sched_reorder): Likewise.
8449 Strengthen local "tmp" from rtx to rtx_insn *.
8450 (rs6000_sched_reorder2): Likewise.
8452 * config/s390/s390.c (s390_z10_prevent_earlyload_conflicts):
8453 Likewise. Update sizeof(rtx) to sizeof(rtx_insn *) in memmove.
8454 (s390_sched_reorder): Strengthen param "ready" from rtx * to
8455 rtx_insn **. Strengthen local "tmp" from rtx to rtx_insn *.
8457 * config/sh/sh.c (rank_for_reorder): Strengthen locals "tmp",
8458 "tmp2" from rtx to rtx_insn *.
8459 (swap_reorder): Strengthen param "a" from rtx * to rtx_insn **.
8460 Strengthen local "insn" from rtx to rtx_insn *.
8461 (ready_reorder): Strengthen param "ready" from rtx * to
8462 rtx_insn **. Update sizeof(rtx) to sizeof(rtx_insn *) in qsort.
8463 (sh_reorder): Strengthen param "ready" from rtx * to rtx_insn **.
8464 (sh_reorder2): Likewise.
8466 * config/spu/spu.c (spu_sched_reorder): Likewise. Strengthen
8467 local "insn" from rtx to rtx_insn *.
8469 * haifa-sched.c (note_list): Strengthen this variable from rtx to
8471 (scheduled_insns): Strengthen this variable from vec<rtx> to
8473 (set_modulo_params): Likewise for locals "i1", "i2".
8474 (record_delay_slot_pair): Likewise for params "i1", "i2".
8475 (add_delay_dependencies): Likewise for param "insn".
8476 (cond_clobbered_p): Likewise.
8477 (recompute_todo_spec): Likewise for local "prev".
8478 (last_scheduled_insn): Likewise for this variable.
8479 (nonscheduled_insns_begin): Likewise.
8480 (model_set_excess_costs): Strengthen param "insns" from rtx * to
8482 (rank_for_schedule): Strengthen locals "tmp", "tmp2" from rtx to
8484 (swap_sort): Strengthen param "a" from rtx * to rtx_insn **.
8485 Strengthen local "insn" from rtx to rtx_insn *.
8486 (queue_insn): Strengthen param "insn" from rtx to rtx_insn *.
8487 (ready_lastpos): Strengthen return type from rtx * to rtx_insn **.
8488 (ready_add): Strengthen param "insn" from rtx to rtx_insn *.
8489 (ready_remove_first): Likewise for return type and local "t".
8490 (ready_element): Likewise for return type.
8491 (ready_remove): Likewise for return type and local "t".
8492 (ready_sort): Strengthen local "first" from rtx * to rtx_insn **.
8493 (check_clobbered_conditions): Strengthen local "x" from rtx to
8494 rtx_insn *, adding a checked cast.
8495 (schedule_insn): Likewise for param "insn".
8496 (remove_notes): Likewise for params "head", "tail" and locals
8497 "next_tail", "insn", "next".
8498 (struct haifa_saved_data): Likewise for fields
8499 "last_scheduled_insn", "nonscheduled_insns_begin".
8500 (save_backtrack_point): Update for change to field "vec" of
8502 (toggle_cancelled_flags): Strengthen local "first" from rtx * to
8504 (restore_last_backtrack_point): Likewise. Strengthen local "insn"
8505 from rtx to rtx_insn *
8506 (resolve_dependencies): Strengthen param "insn" from rtx to
8508 (restore_other_notes): Likewise for return type, for param "head"
8509 and local "note_head".
8510 (undo_all_replacements): Likewise for local "insn".
8511 (first_nonscheduled_insn): Likewise for return type and local "insn".
8512 (queue_to_ready): Likewise for local "insn", adding checked casts.
8513 (early_queue_to_ready): Likewise for local "insn".
8514 (debug_ready_list_1): Strengthen local "p" from rtx * to
8516 (move_insn): Strengthen param "insn" and local "note" from rtx to
8518 (insn_finishes_cycle_p): Likewise for param "insn".
8519 (max_issue): Likewise for local "insn".
8520 (choose_ready): Likewise. Strengthen param "insn_ptr" from rtx *
8522 (commit_schedule): Strengthen param "prev_head" and local "insn"
8523 from rtx to rtx_insn *
8524 (prune_ready_list): Likewise for local "insn".
8525 (schedule_block): Likewise for locals "prev_head", "head", "tail",
8526 "skip_insn", "insn", "failed_insn", "x", adding a checked cast.
8527 (set_priorities): Likewise for local "prev_head".
8528 (try_ready): Likewise for param "next".
8529 (fix_tick_ready): Likewise.
8530 (change_queue_index): Likewise.
8531 (sched_extend_ready_list): Update for change to field "vec" of
8533 (generate_recovery_code): Strengthen param "insn" from rtx to
8535 (begin_speculative_block): Likewise.
8536 (create_check_block_twin): Likewise for param "insn" and locals
8537 "label", "check", "twin". Introduce local "check_pat" to avoid
8538 "check" being used as a plain rtx before being used as an insn.
8539 (fix_recovery_deps): Add a checked cast to rtx_insn * when
8540 extracting elements from ready_list.
8541 (sched_remove_insn): Strengthen param "insn" from rtx to
8543 (sched_emit_insn): Likewise for return type.
8544 (ready_remove_first_dispatch): Likewise for return type and local
8547 * hw-doloop.c (discover_loop): Add a checked cast to rtx_insn *.
8549 * modulo-sched.c (sms_print_insn): Strengthen from const_rtx to
8552 * sched-deps.c (add_dependence): Strengthen params "con", "pro"
8553 from rtx to rtx_insn *.
8554 (add_dependence_list): Likewise for param "insn". Add a checked
8556 (add_dependence_list_and_free): Strengthen param "insn" from rtx
8557 to rtx_insn *. Strengthen param "list_p" from rtx * to
8559 (chain_to_prev_insn): Strengthen param "insn" and locals
8560 "prec_nonnote", "i" from rtx to rtx_insn *.
8561 (flush_pending_lists): Likewise for param "insn".
8562 (cur_insn): Likewise for this variable.
8563 (haifa_start_insn): Add a checked cast.
8564 (note_dep): Strengthen param "e" from rtx to rtx_insn *.
8565 (sched_analyze_reg): Likewise for param "insn".
8566 (sched_analyze_1): Likewise.
8567 (sched_analyze_2): Likewise. Add checked casts.
8568 (sched_analyze_insn): Likewise. Also for local "prev".
8569 (deps_analyze_insn): Likewise for param "insn".
8570 (sched_analyze): Likewise for params "head", "tail" and local "insn".
8571 (add_dependence_1): Likewise for params "insn", "elem".
8572 (struct mem_inc_info): Likewise for fields "inc_insn", "mem_insn".
8573 (parse_add_or_inc): Likewise for param "insn".
8574 (find_inc): Likewise for local "inc_cand".
8575 (find_modifiable_mems): Likewise for params "head", "tail" and
8576 locals "insn", "next_tail".
8578 * sched-ebb.c (init_ready_list): Likewise for local "insn".
8579 (begin_schedule_ready): Likewise for param "insn".
8580 (begin_move_insn): Likewise for params "insn" and "last".
8581 (ebb_print_insn): Strengthen param "insn" from const_rtx to
8583 (rank): Strengthen params "insn1", "insn2" from rtx to rtx_insn *.
8584 (ebb_contributes_to_priority): Likewise for params "next", "insn".
8585 (ebb_add_remove_insn): Likewise for param "insn".
8586 (advance_target_bb): Likewise.
8588 * sched-rgn.c (rgn_estimate_number_of_insns): Likewise for local
8590 (check_live): Likewise for param "insn".
8591 (init_ready_list): Likewise for local "insn".
8592 (can_schedule_ready_p): Likewise for param "insn".
8593 (begin_schedule_ready): Likewise.
8594 (new_ready): Likewise for param "next".
8595 (rgn_print_insn): Likewise for param "insn".
8596 (rgn_rank): Likewise for params "insn1", "insn2".
8597 (contributes_to_priority): Likewise for params "next", "insn".
8598 (rgn_insn_finishes_block_p): Likewise for param "insn".
8599 (add_branch_dependences): Likewise for params "head", "tail" and
8600 locals "insn", "last".
8601 (rgn_add_remove_insn): Likewise for param "insn".
8602 (advance_target_bb): Likewise.
8604 * sel-sched-dump.c (sel_print_insn): Strengthen param "insn" from
8605 const_rtx to const rtx_insn *.
8607 * sel-sched-dump.h (sel_print_insn): Likewise.
8609 * sel-sched-ir.c (advance_deps_context): Add a checked cast.
8610 (deps_init_id): Likewise.
8612 * sel-sched.c (convert_vec_av_set_to_ready): Likewise.
8613 (invoke_reorder_hooks): Strengthen local "arr" from rtx * to
8616 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8618 * output.h (final_start_function): Strengthen param 1 from rtx to
8621 * final.c (final_start_function): Likewise, renaming back from
8622 "uncast_first" to "first", and dropping the checked cast from rtx
8625 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8627 * output.h (final): Strengthen param 1 from rtx to rtx_insn *.
8628 * final.c (final): Likewise. Rename param back from
8629 "uncast_first" to "first" and eliminate the checked cast from rtx
8632 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8634 * output.h (shorten_branches): Strengthen param from rtx to
8637 * final.c (shorten_branches): Likewise, renaming param back from
8638 "uncast_first" to "first", and dropping the checked cast from rtx
8641 * genattr.c (gen_attr): Likewise when writing out the prototype of
8644 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8646 * sched-int.h (struct haifa_sched_info): Strengthen fields
8647 "prev_head" and "next_tail" from rtx to rtx_insn *.
8649 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8651 * rtl.h (rtx_jump_table_data::get_labels): New method.
8652 * cfgbuild.c (make_edges): Replace hand-coded lookup of labels
8653 with use of the new rtx_jump_table_data::get_labels method.
8654 (purge_dead_tablejump_edges): Strengthen param "table" from rtx
8655 to rtx_jump_table_data *. Simplify by using get_labels method.
8656 * cfgrtl.c (delete_insn): Replace use of JUMP_TABLE_DATA_P with
8657 a dyn_cast, introducing local "table", using it to replace
8658 label-lookup logic with a get_labels method call.
8659 (patch_jump_insn): Simplify using get_labels method.
8660 * dwarf2cfi.c (create_trace_edges): Likewise.
8661 * rtlanal.c (label_is_jump_target_p): Likewise.
8663 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8665 * rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
8668 * emit-rtl.c (unshare_all_rtl_1): Likewise.
8669 (unshare_all_rtl_again): Likewise, also for local "p".
8671 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8673 * rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
8675 * cfgrtl.c (delete_insn_and_edges): Likewise.
8677 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8679 * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
8680 from rtx to rtx_insn *.
8682 * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
8684 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8686 * function.c (thread_prologue_and_epilogue_insns): Likewise for
8687 locals "returnjump", "epilogue_end", "insn", "next".
8689 * shrink-wrap.h (get_unconverted_simple_return): Strengthen param
8690 "returnjump" from rtx * to rtx_insn **.
8691 * shrink-wrap.c (get_unconverted_simple_return): Likewise.
8693 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8695 * basic-block.h (struct edge_def). Strengthen "r" within
8696 union edge_def_insns from rtx to rtx_insn *.
8698 * cfgexpand.c (pass_expand::execute): Remove now-redundant cast
8699 from rtx to rtx_insn *. Strengthen local "insns" from rtx to
8701 * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast
8702 from rtx to rtx_insn *.
8703 * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to
8705 * postreload-gcse.c (reg_killed_on_edge): Likewise.
8706 (reg_used_on_edge): Likewise.
8707 * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&.
8708 (gt_pch_nx): New overload for rtx_insn *&.
8709 * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns"
8710 from rtx to rtx_insn *.
8712 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8714 * basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
8715 from rtx to rtx_insn *.
8716 (BB_FOOTER): Replace function with access macro.
8717 (SET_BB_FOOTER): Delete.
8719 * cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
8721 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
8722 (emit_barrier_after_bb): Likewise.
8723 (record_effective_endpoints): Likewise.
8724 (relink_block_chain): Likewise.
8725 (fixup_fallthru_exit_predecessor): Likewise.
8726 (cfg_layout_duplicate_bb): Likewise.
8727 (cfg_layout_split_block): Likewise.
8728 (cfg_layout_delete_block): Likewise.
8729 (cfg_layout_merge_blocks): Likewise.
8730 (BB_FOOTER): Delete function.
8731 (SET_BB_FOOTER): Delete function.
8732 * combine.c (update_cfg_for_uncondjump): Replace uses of
8733 SET_BB_FOOTER with BB_FOOTER.
8735 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8737 * except.h (struct eh_landing_pad_d): Strengthen field
8738 "landing_pad" from rtx to rtx_code_label *.
8740 * except.c (sjlj_emit_dispatch_table): Likewise for param
8742 (sjlj_build_landing_pads): Likewise for local "dispatch_label".
8744 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8746 * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
8747 first param from rtx to rtx_insn *.
8748 * config/xtensa/xtensa.c (struct machine_function): Likewise for
8749 field "set_frame_ptr_insn".
8750 (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
8751 "csend" from rtx to rtx_code_label *.
8752 (xtensa_expand_atomic): Likewise for local "csloop".
8753 (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
8755 (xtensa_call_tls_desc): Likewise for return type and locals
8756 "call_insn", "insns".
8757 (xtensa_legitimize_tls_address): Likewise for local "insns".
8758 (xtensa_expand_prologue): Likewise for locals "insn", "first".
8760 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8762 * config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
8763 first param from rtx to rtx_insn *.
8764 * config/v850/v850.c (v850_adjust_insn_length): Likewise for param
8767 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8769 * config/tilepro/tilepro-protos.h (tilepro_output_cbranch_with_opcode):
8770 Strengthen param 1 from rtx to rtx_insn *.
8771 (tilepro_output_cbranch): Likewise.
8772 (tilepro_adjust_insn_length): Likewise.
8773 (tilepro_final_prescan_insn): Likewise for sole param.
8775 * config/tilepro/tilepro.c (tilepro_legitimize_tls_address):
8776 Likewise for local "last".
8777 (cbranch_predicted_p): Likewise for param "insn".
8778 (tilepro_output_simple_cbranch_with_opcode): Likewise.
8779 (tilepro_output_cbranch_with_opcode): Likewise.
8780 (tilepro_output_cbranch): Likewise.
8781 (frame_emit_load): Likewise for return type and locals "seq",
8783 (emit_sp_adjust): Likewise for return type and local "insn".
8784 (tilepro_expand_epilogue): Likewise for locals "last_insn",
8786 (tilepro_adjust_insn_length): Likewise for param "insn".
8787 (next_insn_to_bundle): Likewise for return type and params
8789 (tilepro_gen_bundles): Likewise for locals "insn", "next", "end".
8790 (replace_pc_relative_symbol_ref): Likewise for param "insn" and
8792 (match_addli_pcrel): Likewise for param "insn".
8793 (replace_addli_pcrel): Likewise.
8794 (match_auli_pcrel): Likewise.
8795 (replace_auli_pcrel): Likewise.
8796 (tilepro_fixup_pcrel_references): Likewise for locals "insn",
8798 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
8799 "queue", "next_queue", "prev".
8800 (tilepro_asm_output_mi_thunk): Likewise for local "insn".
8801 (tilepro_final_prescan_insn): Likewise for param "insn".
8803 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8805 * config/tilegx/tilegx-protos.h (tilegx_output_cbranch_with_opcode):
8806 Strengthen param 1 from rtx to rtx_insn *.
8807 (tilegx_output_cbranch): Likewise.
8808 (tilegx_adjust_insn_length): Likewise.
8809 (tilegx_final_prescan_insn): Likewise for sole param.
8811 * config/tilegx/tilegx.c (tilegx_legitimize_tls_address): Likewise
8813 (cbranch_predicted_p): Likewise for param "insn".
8814 (tilegx_output_simple_cbranch_with_opcode): Likewise.
8815 (tilegx_output_cbranch_with_opcode): Likewise.
8816 (tilegx_output_cbranch): Likewise.
8817 (frame_emit_load): Likewise for return type.
8818 (set_frame_related_p): Likewise for locals "seq", "insn".
8819 (emit_sp_adjust): Likewise for return type, and for local "insn".
8820 Introduce local "pat" for use in place of "insn" where the latter
8821 isn't an instruction.
8822 (tilegx_expand_epilogue): Strengthen locals "last_insn", "insn"
8823 from rtx to rtx_insn *.
8824 (tilegx_adjust_insn_length): Likewise for param "insn".
8825 (next_insn_to_bundle): Likewise for return type and params "r" and
8827 (tilegx_gen_bundles): Likewise for locals "insn", "next", "prev",
8829 (replace_insns): Likewise for params "old_insn", "new_insns".
8830 (replace_mov_pcrel_step1): Likewise for param "insn" and local
8832 (replace_mov_pcrel_step2): Likewise.
8833 (replace_mov_pcrel_step3): Likewise.
8834 (tilegx_fixup_pcrel_references): Likewise for locals "insn",
8836 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
8837 "queue", "next_queue", "prev".
8838 (tilegx_output_mi_thunk): Likewise for local "insn".
8839 (tilegx_final_prescan_insn): Likewise for param "insn".
8841 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8843 * config/spu/spu.c (frame_emit_store): Strengthen return type from
8845 (frame_emit_load): Likewise.
8846 (frame_emit_add_imm): Likewise, also for local "insn".
8847 (spu_expand_prologue): Likewise for local "insn".
8848 (struct spu_bb_info): Likewise for field "prop_jump".
8849 (emit_nop_for_insn): Likewise for param "insn" and local
8851 (pad_bb): Likewise for locals "insn", "next_insn", "prev_insn",
8853 (spu_emit_branch_hint): Likewise for params "before", "branch" and
8854 locals "hint", "insn".
8855 (get_branch_target): Likewise for param "branch".
8856 (insn_clobbers_hbr): Likewise for param "insn".
8857 (insert_hbrp_for_ilb_runout): Likewise for param "first" and
8858 locals "insn", "before_4", "before_16".
8859 (insert_hbrp): Likewise for local "insn".
8860 (spu_machine_dependent_reorg): Likewise for locals "branch",
8861 "insn", "next", "bbend".
8862 (uses_ls_unit): Likewise for param "insn".
8863 (get_pipe): Likewise.
8864 (spu_sched_variable_issue): Rename param "insn" to "uncast_insn",
8865 introducing a checked cast.
8866 (spu_sched_adjust_cost): Likewise for params "insn" and
8868 (ea_load_store_inline): Strengthen local "insn" from rtx to rtx_insn *.
8869 (spu_sms_res_mii): Likewise.
8871 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8873 * config/sparc/sparc-protos.h (output_ubranch): Strengthen param 2
8874 from rtx to rtx_insn *.
8875 (output_cbranch): Likewise for param 6.
8876 (output_return): Likewise for param 1.
8877 (output_sibcall): Likewise.
8878 (output_v8plus_shift): Likewise.
8879 (output_v8plus_mult): Likewise.
8880 (output_v9branch): Likewise for param 7.
8881 (output_cbcond): Likewise for param 3.
8883 * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise
8885 (sparc_legitimize_pic_address): Likewise.
8886 (sparc_emit_call_insn): Likewise.
8887 (emit_save_or_restore_regs): Likewise.
8888 (emit_window_save): Likewise for return type and local "insn".
8889 (sparc_expand_prologue): Likewise for local "insn".
8890 (sparc_flat_expand_prologue): Likewise.
8891 (output_return): Likewise for param "insn".
8892 (output_sibcall): Likewise for param "insn" and local "delay".
8893 (output_ubranch): Likewise for param "insn".
8894 (output_cbranch): Likewise.
8895 (output_cbcond): Likewise.
8896 (output_v9branch): Likewise.
8897 (output_v8plus_shift): Likewise.
8898 (sparc_output_mi_thunk): Likewise for local "insn".
8899 (get_some_local_dynamic_name): Likewise.
8900 (output_v8plus_mult): Likewise for param "insn".
8902 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8904 * config/sh/sh-protos.h (output_ieee_ccmpeq): Strengthen param 1
8905 from rtx to rtx_insn *.
8906 (output_branchy_insn): Likewise for param 3.
8907 (output_far_jump): Likewise for param 1.
8908 (final_prescan_insn): Likewise.
8909 (sh_insn_length_adjustment): Likewise for sole param.
8911 * config/sh/sh.c (expand_cbranchsi4): Likewise for local "jump".
8912 (expand_cbranchdi4): Strengthen local "skip_label" from rtx to
8914 (sh_emit_compare_and_set): Likewise for local "lab".
8915 (output_far_jump): Strengthen param "insn" and local "prev" from
8917 (output_branchy_insn): Likewise for param "insn" and local
8919 (output_ieee_ccmpeq): Likewise for param "insn".
8920 (struct label_ref_list_d): Strengthen field "label" from rtx to
8922 (pool_node): Likewise.
8923 (pool_window_label): Likewise for this global.
8924 (add_constant): Likewise for return type and locals "lab", "new_rtx".
8925 (dump_table): Strengthen params "start", "barrier" and local
8926 "scan" from rtx to rtx_insn *.
8927 (broken_move): Likewise for param "insn".
8928 (untangle_mova): Likewise for params "first_mova" and "new_mova".
8929 Strengthen param "first_mova" from rtx * to rtx_insn **.
8930 (mova_p): Likewise for param "insn".
8931 (fixup_mova): Likewise for param "mova".
8932 (find_barrier): Likewise for return type, params "mova" and
8933 "from", and locals "barrier_before_mova", "found_barrier",
8934 "good_barrier", "orig", "last_symoff", "next". Strengthen local
8935 "label" from rtx to rtx_code_label *.
8936 (sh_loop_align): Strengthen locals "first", "insn", "mova" from
8938 (sh_reorg): Likewise for locals "link", "scan", "barrier".
8939 (split_branches): Likewise for param "first" and local "insn".
8940 (final_prescan_insn): Likewise for param "insn".
8941 (sequence_insn_p): Likewise for locals "prev", "next".
8942 (sh_insn_length_adjustment): Likewise for param "insn".
8943 (sh_can_redirect_branch): Likewise for local "insn".
8944 (find_r0_life_regions): Likewise for locals "end", "insn".
8945 (sh_output_mi_thunk): Likewise for local "insns".
8947 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8949 * config/score/score.c (score_output_mi_thunk): Strengthen local
8950 "insn" from rtx to rtx_insn *.
8951 (score_prologue): Likewise.
8953 2014-08-25 David Malcolm <dmalcolm@redhat.com>
8955 * config/s390/s390-protos.h (s390_match_ccmode): Strengthen param
8956 1 from rtx to rtx_insn *.
8957 (s390_emit_jump): Likewise for return type.
8958 (s390_emit_call): Likewise.
8959 (s390_load_got): Likewise.
8961 * config/s390/s390.c (last_scheduled_insn): Likewise for this
8963 (s390_match_ccmode): Likewise for param "insn".
8964 (s390_emit_jump): Likewise for return type.
8965 (s390_split_branches): Likewise for local "label".
8966 (struct constant): Strengthen field "label" from rtx to
8968 (struct constant_pool): Likewise for field "label". Strengthen
8969 fields "first_insn", "pool_insn", "emit_pool_after" from rtx to
8971 (s390_alloc_pool): Replace NULL_RTX with NULL when dealing with
8973 (s390_start_pool): Strengthen param "insn" from rtx to rtx_insn *.
8974 (s390_end_pool): Likewise.
8975 (s390_dump_pool): Likewise for local "insn".
8976 (s390_mainpool_start): Likewise.
8977 (s390_chunkify_start): Likewise.
8978 (s390_chunkify_start): Replace NULL_RTX with NULL when dealing
8979 with insns. Strengthen locals "label", "jump", "barrier", "next",
8980 "prev", "vec_insn", "insn" from rtx to rtx_insn *.
8981 (s390_chunkify_finish): Strengthen local "insn" from rtx to
8983 (s390_chunkify_cancel): Likewise for locals "insn", "barrier",
8984 "jump", "label", "next_insn".
8985 (s390_regs_ever_clobbered): Likewise for local "cur_insn".
8986 (s390_optimize_nonescaping_tx): Likewise for locals "insn",
8988 (s390_load_got): Likewise for return type and local "insns".
8989 (s390_save_gprs_to_fprs): Likewise for local "insn".
8990 (s390_restore_gprs_from_fprs): Likewise.
8991 (pass_s390_early_mach::execute): Likewise.
8992 (s390_emit_prologue): Likewise for local "insns".
8993 (s390_expand_tbegin): Strengthen local "leave_label" from rtx to
8995 (s390_emit_call): Strengthen return type and local "insn" from
8997 (s390_emit_tpf_eh_return): Likewise for local "insn".
8998 (s390_optimize_prologue): Likewise for locals "insn", "new_insn",
8999 "next_insn", introducing locals "s_pat", "rpat" to allow this.
9000 (s390_fix_long_loop_prediction): Likewise for param "insn" and
9002 (s390_non_addr_reg_read_p): Likewise for param "insn".
9003 (find_cond_jump): Likewise for return type and param "insn".
9004 (s390_swap_cmp): Likewise for param "insn".
9005 (s390_z10_optimize_cmp): Likewise for param "insn" and locals
9006 "prev_insn", "next_insn".
9007 (s390_reorg): Likewise for locals "insn", "target".
9008 (s390_z10_prevent_earlyload_conflicts): Likewise for local "insn".
9009 (s390_sched_variable_issue): For now, rename param "insn" to
9010 "uncast_insn", introducing a checked cast.
9011 (s390_sched_init): Replace NULL_RTX with NULL when dealing with
9013 (s390_loop_unroll_adjust): Strengthen local "insn" from rtx to
9014 rtx_insn *. Use for_each_rtx_in_insn rather than for_each_rtx.
9016 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9018 * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first
9019 param from rtx to rtx_insn *.
9020 * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn".
9022 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9024 * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param
9025 4 from rtx to rtx_insn *.
9026 (rs6000_final_prescan_insn): Likewise for first param.
9027 * config/rs6000/rs6000.c (rs6000_emit_set_const): Likewise for
9029 (rs6000_get_some_local_dynamic_name): Likewise.
9030 (output_cbranch): Likewise for param "insn".
9031 (spe_func_has_64bit_regs_p): Likewise for locals "insns", "insn".
9032 (rs6000_function_ok_for_sibcall): Likewise for locals "top", "insn".
9033 (rs6000_emit_allocate_stack): Likewise for local "insn".
9034 (load_cr_save): Likewise.
9035 (restore_saved_cr): Likewise.
9036 (restore_saved_lr): Likewise.
9037 (emit_cfa_restores): Likewise.
9038 (rs6000_output_function_epilogue): Likewise for locals "insn" and
9039 "deleted_debug_label".
9040 (rs6000_output_mi_thunk): Likewise for local "insn".
9041 (rs6000_final_prescan_insn): Likewise for param "insn".
9043 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9045 * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
9046 Strengthen param "insn" from rtx to rtx_insn *.
9047 * config/picochip/picochip.c (picochip_current_prescan_insn):
9048 Likewise for this variable.
9049 (picochip_final_prescan_insn): Likewise for param "insn".
9051 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9053 * config/pa/pa-protos.h (pa_output_call): Strengthen first param
9054 from rtx to rtx_insn *.
9055 (pa_output_indirect_call): Likewise.
9056 (pa_adjust_insn_length): Likewise.
9057 (pa_attr_length_millicode_call): Likewise.
9058 (pa_attr_length_call): Likewise.
9059 (pa_attr_length_indirect_call): Likewise.
9061 * config/pa/pa.c (pa_adjust_insn_length): Likewise for param
9063 (pa_attr_length_millicode_call): Likewise.
9064 (pa_attr_length_call): Likewise.
9065 (pa_output_call): Likewise.
9066 (pa_attr_length_indirect_call): Likewise.
9067 (pa_output_indirect_call): Likewise.
9069 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9071 * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
9072 Strengthen first param from rtx to rtx_insn *.
9073 * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
9076 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9078 * config/mips/mips-protos.h (mips_emit_move): Strengthen return
9079 type from rtx to rtx_insn *.
9080 (mips_expand_call): Likewise.
9081 (mips_adjust_insn_length): Likewise for first param.
9082 (mips_output_conditional_branch): Likewise.
9083 (mips_output_order_conditional_branch): Likewise.
9084 (mips_final_prescan_insn): Likewise.
9086 * config/mips/mips.c (SEQ_BEGIN): For now, add checked cast to
9087 rtx_insn * for the SEQUENCE case.
9088 (SEQ_END): Likewise.
9089 (mips_emit_move): Strengthen return type from rtx to rtx_insn *.
9090 (mips_emit_call_insn): Likewise, also for local "insn".
9091 (mips16_gp_pseudo_reg): Likewise for local "scan".
9092 (mips16_build_call_stub): Likewise for return type and for local
9093 "insn". Introduce a new local "pattern" so that "insn" can indeed
9095 (mips_expand_call): Strengthen return type and local "insn" from
9097 (mips_block_move_loop): Strengthen local "label" from rtx to
9099 (mips_expand_synci_loop): Likewise for locals "label",
9101 (mips_set_frame_expr): Strengthen local "insn" from rtx to
9103 (mips16e_collect_argument_saves): Likewise for locals "insn",
9105 (mips_find_gp_ref): Likewise for param of callback for "pred"
9106 param, and for local "insn".
9107 (mips_insn_has_inflexible_gp_ref_p): Likewise for param "insn".
9108 (mips_insn_has_flexible_gp_ref_p): Likewise.
9109 (mips_epilogue_emit_cfa_restores): Likewise for return type and
9111 (mips_epilogue_set_cfa): Likewise for local "insn".
9112 (mips_expand_epilogue): Likewise.
9113 (mips_adjust_insn_length): Likewise for param "insn".
9114 (mips_output_conditional_branch): Likewise.
9115 (mips_output_order_conditional_branch): Likewise.
9116 (struct mips_ls2): Likewise for fields "alu1_turn_enabled_insn",
9117 "alu2_turn_enabled_insn", "falu1_turn_enabled_insn",
9118 "falu2_turn_enabled_insn".
9119 (mips_builtin_branch_and_move): Strengthen locals "true_label",
9120 "done_label" from rtx to rtx_code_label *.
9121 (struct mips16_constant): Likewise for field "label".
9122 (mips16_add_constant): Likewise for return type.
9123 (mips16_emit_constants_1): Strengthen return type and param "insn"
9124 from rtx to rtx_insn *.
9125 (mips16_emit_constants): Likewise for param "insn".
9126 (mips16_insn_length): Likewise.
9127 (mips16_rewrite_pool_constant): Strengthen local "label" from rtx
9128 to rtx_code_label *.
9129 (struct mips16_rewrite_pool_refs_info): Strengthen field "insn"
9130 from rtx to rtx_insn *.
9131 (mips16_lay_out_constants): Likewise for locals "insn", "barrier",
9132 "jump". Strengthen local "label" from rtx to rtx_code_label *.
9133 (r10k_simplify_address): Strengthen param "insn" and local
9134 "def_insn" from rtx to rtx_insn *.
9135 (r10k_safe_address_p): Strengthen param "insn" from rtx to
9137 (r10k_needs_protection_p_1): Update target type of cast of data
9138 from to rtx to rtx_insn *.
9139 (r10k_needs_protection_p_store): Strengthen local "insn_ptr" from
9140 rtx * to rtx_insn **.
9141 (r10k_needs_protection_p): Strengthen param "insn" from rtx to
9143 (r10k_insert_cache_barriers): Likewise for locals "insn", "end".
9144 (mips_call_expr_from_insn): Likewise for param "insn".
9145 (mips_pic_call_symbol_from_set): Likewise for local "def_insn".
9146 (mips_find_pic_call_symbol): Likewise for param "insn".
9147 (mips_annotate_pic_calls): Likewise for local "insn".
9148 (mips_sim_insn): Likewise for this variable.
9149 (struct mips_sim): Likewise for field "insn" within elements of
9151 (mips_sim_wait_reg): Likewise for param "insn".
9152 (mips_sim_wait_regs): Likewise.
9153 (mips_sim_wait_units): Likewise.
9154 (mips_sim_wait_insn): Likewise.
9155 (mips_sim_issue_insn): Likewise.
9156 (mips_sim_finish_insn): Likewise.
9157 (mips_seq_time): Likewise for param "seq" and local "insn".
9158 (vr4130_avoid_branch_rt_conflict): Likewise for param "insn" and
9159 locals "first", "second".
9160 (vr4130_align_insns): Likewise for locals "insn", "subinsn",
9161 "last", "last2", "next".
9162 (mips_avoid_hazard): Likewise for params "after", "insn".
9163 (mips_reorg_process_insns): Likewise for locals "insn",
9164 "last_insn", "subinsn", "next_insn".
9165 (mips_has_long_branch_p): Likewise for locals "insn", "subinsn".
9166 (mips16_split_long_branches): Likewise for locals "insn" "jump",
9168 (mips_output_mi_thunk): Likewise for local "insn".
9169 (mips_final_prescan_insn): Likewise for param "insn".
9171 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9173 * config/microblaze/microblaze.c (microblaze_call_tls_get_addr):
9174 Strengthen return type and local "insns" from rtx to rtx_insn *.
9175 (microblaze_legitimize_tls_address): Likewise for local "insns".
9176 (microblaze_block_move_loop): Strengthen local "label" from rtx
9177 to rtx_code_label *.
9178 (microblaze_expand_prologue): Strengthen two locals named "insn"
9179 from rtx to rtx_insn *.
9180 (microblaze_asm_output_mi_thunk): Likewise for local "insn".
9181 (microblaze_expand_divide): Likewise for locals "jump", "cjump",
9182 "insn". Strengthen locals "div_label", "div_end_label" from rtx
9183 to rtx_code_label *.
9185 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9187 * config/mep/mep-protos.h (mep_mulr_source): Strengthen first
9188 param from rtx to rtx_insn *.
9189 (mep_reuse_lo): Likewise for third param.
9190 (mep_use_post_modify_p): Likewise for first param.
9191 (mep_core_address_length): Likewise.
9192 (mep_cop_address_length): Likewise.
9193 (mep_final_prescan_insn): Likewise.
9194 (mep_store_data_bypass_p): Likewise for both params.
9195 (mep_mul_hilo_bypass_p): Likewise.
9196 (mep_ipipe_ldc_p): Likewise for param.
9198 * config/mep/mep.c (mep_mulr_source): Likewise for param "insn".
9199 (mep_rewrite_mult): Likewise.
9200 (mep_rewrite_mulsi3): Likewise.
9201 (mep_rewrite_maddsi3): Likewise.
9202 (mep_reuse_lo_p_1): Likewise.
9203 (mep_reuse_lo_p): Likewise.
9204 (mep_frame_expr): Likewise.
9205 (mep_make_parallel): Likewise for both params.
9206 (mep_use_post_modify_p_1): Likewise for param "set_insn" and
9208 (mep_use_post_modify_p): Likewise for param "insn".
9209 (mep_core_address_length): Likewise.
9210 (mep_cop_address_length): Likewise.
9211 (mep_reg_set_in_function): Likewise for local "insn".
9212 (mep_asm_without_operands_p): Likewise.
9213 (F): Likewise for return type and param "x".
9214 (add_constant): Likewise for local "insn".
9215 (maybe_dead_move): Likewise for return type and local "insn".
9216 (mep_expand_prologue): Likewise for local "insn".
9217 (mep_final_prescan_insn): Likewise for param "insn".
9218 (mep_reorg_regmove): Likewise for param "insns" and locals "insn",
9219 "next", "follow", "x".
9220 (mep_insert_repeat_label_last): Likewise for return type, param
9221 "last_insn", and locals "next", "prev". Strengthen param "label"
9222 from rtx to rtx_code_label *.
9223 (struct mep_doloop_begin): Strengthen field "insn" from rtx to
9225 (struct mep_doloop_end): Likewise for fields "insn" and
9227 (mep_reorg_repeat): Likewise for param "insns" and local "insn".
9228 Strengthen local "repeat_label" from rtx to rtx_code_label *.
9229 (mep_invertable_branch_p): Strengthen param "insn" from rtx to
9231 (mep_invert_branch): Likewise for params "insn" and "after".
9232 (mep_reorg_erepeat): Likewise for param "insns" and locals
9233 "insn", "prev", "new_last", "barrier", "user". Strengthen local
9234 "l" from rtx to rtx_code_label *.
9235 (mep_jmp_return_reorg): Strengthen param "insns" and local "insn"
9236 from rtx to rtx_insn *.
9237 (mep_reorg_addcombine): Likewise for param "insns" and locals
9239 (add_sp_insn_p): Likewise for param "insn".
9240 (mep_reorg_noframe): Likewise for param "insns" and locals
9241 "start_frame_insn", "end_frame_insn", "next".
9242 (mep_reorg): Likewise for local "insns".
9243 (mep_store_data_bypass_1): Likewise for param "prev". Add checked
9245 (mep_store_data_bypass_p): Likewise for params "prev", "insn".
9246 (mep_mul_hilo_bypass_p): Likewise.
9247 (mep_ipipe_ldc_p): Likewise for param "insn".
9248 (mep_make_bundle): Likewise for return type, param "cop" and local
9249 "insn", splitting out the latter into a new local "seq" for when it
9250 is a SEQUENCE rather than an insn.
9251 (core_insn_p): Likewise for param "insn".
9252 (mep_bundle_insns): Likewise for param "insns" and locals "insn",
9253 "last", "first", "note", "prev", "core_insn".
9255 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9257 * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
9259 (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
9260 (m68k_final_prescan_insn): Likewise for first param.
9262 * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
9263 (m68k_set_frame_related): Likewise for param "insn".
9264 (output_btst): Likewise for param "insn".
9265 (m68k_final_prescan_insn): Likewise.
9266 (m68k_move_to_reg): Likewise for local "insn".
9267 (m68k_call_tls_get_addr): Likewise for local "insns".
9268 (m68k_call_m68k_read_tp): Likewise.
9269 (strict_low_part_peephole_ok): Likewise for param "first_insn".
9270 (m68k_output_mi_thunk): Likewise for local "insn".
9272 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9274 * config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
9275 first param from rtx to rtx_insn *.
9276 (iq2000_adjust_insn_length): Likewise.
9277 (iq2000_output_conditional_branch): Likewise.
9278 * config/iq2000/iq2000.c (final_prescan_insn): Likewise for param
9279 "insn" and local "nop_insn".
9280 (iq2000_annotate_frame_insn): Likewise for param "insn".
9281 (iq2000_expand_prologue): Likewise for both locals "insn".
9282 (iq2000_adjust_insn_length): Likewise for param "insn".
9283 (iq2000_output_conditional_branch): Likewise.
9285 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9287 * config/ia64/ia64.c (ia64_expand_tls_address): Strengthen local
9288 "insns" from rtx to rtx_insn *.
9289 (ia64_emit_cond_move): Likewise for locals "insn", "first".
9290 (struct spill_fill_data): Likewise for field "init_after" and for
9291 elements of array field "prev_insn".
9292 (spill_restore_mem): Likewise for locals "insn", "first".
9293 (do_spill): Likewise for local "insn".
9294 (do_restore): Likewise.
9295 (ia64_expand_prologue): Likewise.
9296 (ia64_expand_epilogue): Likewise.
9297 (emit_insn_group_barriers): Likewise for locals "insn",
9299 (emit_all_insn_group_barriers): Likewise for locals "insn",
9301 (dfa_stop_insn): Likewise for this global.
9302 (dfa_pre_cycle_insn): Likewise.
9303 (ia64_nop): Likewise.
9304 (final_emit_insn_group_barriers): Likewise for locals "insn",
9306 (emit_predicate_relation_info): Likewise for locals "head", "n",
9308 (ia64_reorg): Likewise for local "insn".
9309 (ia64_output_mi_thunk): Likewise.
9310 (expand_vec_perm_interleave_2): Likewise for local "seq".
9312 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9314 * config/i386/i386-protos.h (ix86_avoid_lea_for_add): Strengthen
9315 param 1 "insn" from rtx to rtx_insn *.
9316 (ix86_use_lea_for_mov): Likewise.
9317 (ix86_avoid_lea_for_addr): Likewise.
9318 (ix86_split_lea_for_addr): Likewise.
9319 (ix86_lea_for_add_ok): Likewise.
9320 (ix86_output_call_insn): Likewise.
9322 * config/i386/i386.c (ix86_va_start): Likewise for local "seq".
9323 (ix86_get_drap_rtx): Likewise for locals "seq", "insn".
9324 (ix86_output_function_epilogue): Likewise for locals "insn",
9325 "deleted_debug_label".
9326 (legitimize_tls_address): Likewise for local "insn".
9327 (get_some_local_dynamic_name): Likewise.
9328 (increase_distance): Likewise for params "prev", "next".
9329 (distance_non_agu_define_in_bb): Likewise for params "insn",
9330 "start" and locals "prev", "next".
9331 (distance_non_agu_define): Likewise for param "insn".
9332 (distance_agu_use_in_bb): Likewise for params "insn", "start" and
9333 locals "next", "prev".
9334 (distance_agu_use): Likewise for param "insn".
9335 (ix86_lea_outperforms): Likewise.
9336 (ix86_ok_to_clobber_flags): Likewise.
9337 (ix86_avoid_lea_for_add): Likewise.
9338 (ix86_use_lea_for_mov): Likewise.
9339 (ix86_avoid_lea_for_addr): Likewise.
9340 (find_nearest_reg_def): Likewise, also for locals "prev", "start".
9341 (ix86_split_lea_for_addr): Likewise for param "insn".
9342 (ix86_lea_for_add_ok): Likewise for param "insn".
9343 (ix86_expand_carry_flag_compare): Likewise for local
9345 (ix86_expand_int_movcc): Likewise.
9346 (ix86_output_call_insn): Likewise for param "insn".
9347 (ix86_output_call_insn): Likewise for local "i".
9348 (x86_output_mi_thunk): Introduce local "insn", using it in place
9349 of "tmp" when dealing with insns.
9350 (ix86_avoid_jump_mispredicts): Likewise for locals "insn",
9352 (ix86_pad_returns): Likewise for locals "ret", "prev".
9353 (ix86_count_insn_bb): Likewise for local "insn".
9354 (ix86_pad_short_function): Likewise for locals "ret", "insn".
9355 (ix86_seh_fixup_eh_fallthru): Likewise for locals "insn", "next".
9356 (ix86_vector_duplicate_value): Likewise for local "insn", "seq".
9357 (expand_vec_perm_interleave2): Likewise for local "seq".
9358 (expand_vec_perm_vperm2f128_vblend): Likewise.
9359 (ix86_loop_unroll_adjust): Likewise for local "insn". Convert
9360 call to for_each_rtx with for_each_rtx_in_insn.
9362 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9364 * config/i386/i386.c (setup_incoming_varargs_64): Strengthen local
9365 "label" from rtx to rtx_code_label *.
9366 (ix86_expand_prologue): Likewise.
9367 (ix86_expand_split_stack_prologue): Likewise for locals "label",
9369 (ix86_split_idivmod): Likewise for locals "end_label" and
9371 (ix86_expand_branch): Likewise for local "label2".
9372 (ix86_expand_aligntest): Likewise for return type and local "label".
9373 (expand_set_or_movmem_via_loop): Likewise for locals "out_label" and
9375 (expand_movmem_epilogue): Likewise for the various locals named
9377 (expand_setmem_epilogue): Likewise.
9378 (expand_small_movmem_or_setmem): Likewise for local "label".
9379 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
9380 Strengthen param "done_label" from rtx * to rtx_code_label **.
9381 Strengthen locals "loop_label" and "label" from rtx to
9383 (expand_set_or_movmem_prologue_epilogue_by_misaligned_moves):
9384 Likewise for locals "loop_label", "label".
9385 (ix86_expand_set_or_movmem): Likewise for locals "label",
9386 "jump_around_label", "hot_label".
9387 (ix86_expand_strlensi_unroll_1): Likewise for locals
9388 "align_2_label", align_3_label", "align_4_label", "end_0_label",
9390 (x86_emit_floatuns): Likewise for locals "neglab", "donelab".
9391 (void ix86_emit_i387_log1p): Likewise for locals "label1",
9392 "label2", "jump_label".
9393 (ix86_expand_sse_compare_and_jump): Likewise for return type and
9395 (ix86_expand_lfloorceil): Likewise for local "label".
9396 (ix86_expand_rint): Likewise.
9397 (ix86_expand_floorceildf_32): Likewise.
9398 (ix86_expand_floorceil): Likewise.
9399 (ix86_expand_rounddf_32): Likewise.
9400 (ix86_expand_trunc): Likewise.
9401 (ix86_expand_truncdf_32): Likewise.
9402 (ix86_expand_round): Likewise.
9404 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9406 * config/h8300/h8300-protos.h (final_prescan_insn): Strengthen
9407 first param from rtx to rtx_insn *.
9408 (h8300_insn_length_from_table): Likewise.
9409 * config/h8300/h8300.c (F): Likewise for return type and param
9411 (Fpa): Add a checked cast to rtx_insn *.
9412 (h8300_emit_stack_adjustment): Strengthen local "x" from rtx to
9414 (final_prescan_insn): Likewise for param "insn".
9415 (h8300_binary_length): Likewise.
9416 (h8300_insn_length_from_table): Likewise.
9418 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9420 * config/epiphany/epiphany-protos.h (epiphany_final_prescan_insn):
9421 Strengthen first param "insn" from rtx to rtx_insn *.
9423 * config/epiphany/epiphany.c (epiphany_final_prescan_insn):
9425 (frame_insn): Likewise for return type. Introduce local "insn"
9426 for use in place of local "x" for use as an rtx_insn *.
9427 (frame_move_insn): Strengthen return type from rtx to rtx_insn *.
9428 (epiphany_expand_prologue): Likewise for local "insn".
9429 * config/epiphany/mode-switch-use.c (insert_uses): Likewise.
9430 * config/epiphany/resolve-sw-modes.c
9431 (pass_resolve_sw_modes::execute): Likewise for locals "insn" and
9434 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9436 * config/c6x/c6x-protos.h (c6x_get_unit_specifier): Strengthen
9437 param from rtx to rtx_insn *.
9438 (c6x_final_prescan_insn): Likewise for first param.
9440 * config/c6x/c6x.c (c6x_current_insn): Likewise for this variable.
9441 (c6x_output_mi_thunk): Replace use of NULL_RTX with NULL.
9442 (c6x_expand_compare): Strengthen local "insns" from rtx to
9444 (c6x_get_unit_specifier): Likewise for param "insn".
9445 (c6x_print_unit_specifier_field): Likewise.
9446 (c6x_final_prescan_insn): Likewise.
9447 (emit_add_sp_const): Likewise for local "insn".
9448 (c6x_expand_prologue): Likewise.
9450 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9452 * config/bfin/bfin-protos.h (asm_conditional_branch): Strengthen
9453 param 1 from rtx to rtx_insn *.
9454 * config/bfin/bfin.c (expand_prologue_reg_save): Likewise for
9455 the various locals named "insn".
9456 (expand_epilogue_reg_restore): Likewise.
9457 (frame_related_constant_load): Likewise.
9458 (add_to_reg): Likewise.
9459 (emit_link_insn): Likewise.
9460 (do_link): Likewise.
9461 (expand_interrupt_handler_prologue): Likewise.
9462 (branch_dest): Likewise for param "branch".
9463 (asm_conditional_branch): Likewise for param "insn".
9464 (gen_one_bundle): Likewise for elements of param "slot" and local
9466 (bfin_gen_bundles): Likewise for locals "insn", "next" and
9467 elements of local "slot".
9468 (reorder_var_tracking_notes): Likewise for locals "insn", "next",
9469 "queue", "next_queue", "prev".
9470 (workaround_rts_anomaly): Likewise for locals "insn", "first_insn".
9471 (add_sched_insns_for_speculation): Likewise for local "insn".
9473 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9475 * config/avr/avr-protos.h (output_movqi): Strengthen first param
9476 from rtx to rtx_insn *.
9477 (output_movhi): Likewise.
9478 (output_movsisf): Likewise.
9479 (avr_out_tstsi): Likewise.
9480 (avr_out_tsthi): Likewise.
9481 (avr_out_tstpsi): Likewise.
9482 (avr_out_compare): Likewise.
9483 (avr_out_compare64): Likewise.
9484 (avr_out_movpsi): Likewise.
9485 (ashlqi3_out): Likewise.
9486 (ashlhi3_out): Likewise.
9487 (ashlsi3_out): Likewise.
9488 (ashrqi3_out): Likewise.
9489 (ashrhi3_out): Likewise.
9490 (ashrsi3_out): Likewise.
9491 (lshrqi3_out): Likewise.
9492 (lshrhi3_out): Likewise.
9493 (lshrsi3_out): Likewise.
9494 (avr_out_ashlpsi3): Likewise.
9495 (avr_out_ashrpsi3): Likewise.
9496 (avr_out_lshrpsi3): Likewise.
9497 (avr_out_fract): Likewise.
9498 (avr_out_sbxx_branch): Likewise.
9499 (avr_out_round): Likewise.
9500 (avr_out_xload): Likewise.
9501 (avr_out_movmem): Likewise.
9502 (adjust_insn_length): Likewise.
9503 (avr_out_lpm): Likewise.
9504 (reg_unused_after): Likewise.
9505 (_reg_unused_after): Likewise.
9506 (avr_jump_mode): Likewise for second param.
9507 (jump_over_one_insn): Likewise for first param.
9508 (avr_final_prescan_insn): Likewise.
9509 (out_shift_with_cnt): Likewise for second param.
9511 * config/avr/avr.c (get_sequence_length): Likewise for param
9512 "insns" and local "insn".
9513 (emit_push_byte): Likewise for local "insn".
9514 (emit_push_sfr): Likewise.
9515 (avr_prologue_setup_frame): Likewise for locals "insn",
9516 "fp_plus_insns", "sp_plus_insns".
9517 (avr_expand_epilogue): Likewise for local "fp_plus_insns",
9519 (avr_jump_mode): Likewise for param "insn".
9520 (avr_final_prescan_insn): Likewise.
9521 (avr_find_unused_d_reg): Likewise.
9522 (avr_out_lpm_no_lpmx): Likewise.
9523 (avr_out_lpm): Likewise.
9524 (avr_out_xload): Likewise.
9525 (output_movqi): Likewise.
9526 (output_movhi): Likewise.
9527 (out_movqi_r_mr): Likewise.
9528 (out_movhi_r_mr): Likewise.
9529 (out_movsi_r_mr): Likewise.
9530 (out_movsi_mr_r): Likewise.
9531 (output_movsisf): Likewise.
9532 (avr_out_load_psi): Likewise.
9533 (avr_out_store_psi): Likewise.
9534 (avr_out_movpsi): Likewise.
9535 (out_movqi_mr_r): Likewise.
9536 (avr_out_movhi_mr_r_xmega): Likewise.
9537 (out_movhi_mr_r): Likewise.
9538 (compare_condition): Likewise for param "insn" and local "next".
9539 (compare_sign_p): Likewise for param "insn".
9540 (compare_diff_p): Likewise.
9541 (compare_eq_p): Likewise.
9542 (avr_out_compare): Likewise.
9543 (avr_out_compare64): Likewise.
9544 (avr_out_tsthi): Likewise.
9545 (avr_out_tstpsi): Likewise.
9546 (avr_out_tstsi): Likewise.
9547 (out_shift_with_cnt): Likewise.
9548 (ashlqi3_out): Likewise.
9549 (ashlhi3_out): Likewise.
9550 (avr_out_ashlpsi3): Likewise.
9551 (ashlsi3_out): Likewise.
9552 (ashrqi3_out): Likewise.
9553 (ashrhi3_out): Likewise.
9554 (avr_out_ashrpsi3): Likewise.
9555 (ashrsi3_out): Likewise.
9556 (lshrqi3_out): Likewise.
9557 (lshrhi3_out): Likewise.
9558 (avr_out_lshrpsi3): Likewise.
9559 (lshrsi3_out): Likewise.
9560 (avr_out_fract): Likewise.
9561 (avr_out_round): Likewise.
9562 (avr_adjust_insn_length): Likewise.
9563 (reg_unused_after): Likewise.
9564 (_reg_unused_after): Likewise.
9565 (avr_compare_pattern): Likewise.
9566 (avr_reorg_remove_redundant_compare): Likewise for param "insn1"
9567 and locals "branch1", "branch2", "insn2", "jump".
9568 (avr_reorg): Likewise for local "insn".
9569 (avr_2word_insn_p): Likewise for param "insn".
9570 (jump_over_one_insn_p): Likewise.
9571 (avr_out_sbxx_branch): Likewise.
9572 (avr_out_movmem): Likewise.
9574 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9576 * config/arm/arm-protos.h (arm_final_prescan_insn): Strengthen
9577 param from rtx to rtx_insn *.
9578 (thumb1_final_prescan_insn): Likewise.
9579 (thumb2_final_prescan_insn): Likewise.
9581 * config/arm/arm.c (emit_set_insn): Strengthen return type from
9583 (struct minipool_node): Likewise for field "insn".
9584 (dump_minipool): Likewise for param "scan".
9585 (create_fix_barrier): Likewise for local "from". Strengthen local
9586 "label" from rtx to rtx_code_label *.
9587 (push_minipool_barrier): Strengthen param "insn" from rtx to
9589 (push_minipool_fix): Likewise.
9590 (note_invalid_constants): Likewise.
9591 (thumb2_reorg): Likewise for local "insn".
9592 (arm_reorg): Likewise.
9593 (thumb2_final_prescan_insn): Likewise for param
9594 "insn" and local "first_insn".
9595 (arm_final_prescan_insn): Likewise for param "insn" and locals
9596 "start_insn", "this_insn".
9597 (arm_debugger_arg_offset): Likewise for param "insn".
9598 (thumb1_emit_multi_reg_push): Likewise for return type and local
9600 (thumb1_final_prescan_insn): Likewise for param "insn".
9601 (thumb_far_jump_used_p): Likewise for local "insn".
9602 (thumb1_expand_prologue): Likewise.
9603 (arm_expand_epilogue_apcs_frame): Likewise.
9604 (arm_expand_epilogue): Likewise for locals "insn", "tmp".
9605 (arm_split_compare_and_swap): Strengthen locals "label1", "label2"
9606 from rtx to rtx_code_label *.
9607 (arm_split_atomic_op): Likewise for local "label".
9608 (arm_emit_coreregs_64bit_shift): Likewise for local "done_label".
9610 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9612 * config/arc/arc-protos.h (arc_final_prescan_insn): Strengthen
9613 first param from rtx to rtx_insn *.
9614 (arc_verify_short): Likewise.
9615 (arc_short_long): Likewise.
9616 (arc_need_delay): Likewise.
9618 * config/arc/arc.c (struct arc_ccfsm): Likewise for field
9620 (arc_ccfsm_advance): Likewise for param "insn" and locals
9621 "start_insn", "this_insn".
9622 (arc_ccfsm_record_condition): Likewise for local "seq_insn".
9623 (arc_ccfsm_post_advance): Likewise for param "insn".
9624 (arc_next_active_insn): Likewise for return type and param "insn".
9625 Convert NULL_RTX to NULL as appropriate. Add a checked cast.
9626 (arc_verify_short): Strengthen param "insn" from rtx to rtx_insn *.
9627 (output_short_suffix): Likewise for local "insn".
9628 (arc_final_prescan_insn): Likewise for param "insn". Remove
9629 now-redundant checked cast.
9630 (arc_reorg): Strengthen locals "insn", "top_label", "lp", "prev",
9631 "lp_simple", "next", "mov", "scan", "link_insn" from rtx to
9632 rtx_insn *. Add a checked cast. Introduce local "lc_set_insn"
9633 for use where lc_set became an insn.
9634 (arc_adjust_insn_length): Strengthen locals "prev", "succ" from
9636 (arc_get_insn_variants): Likewise for local "prev".
9637 (arc_ifcvt): Likewise for locals "insn", "seq", "prev", "pprev",
9639 (arc_predicate_delay_insns): Likewise for local "insn".
9640 (arc_pad_return): Likewise for local "prev". For now, add a
9641 checked cast when extracting the insn from "final_sequence".
9642 (arc_short_long): Likewise for param "insn".
9643 (arc_need_delay): Likewise for param "insn" and local "next".
9644 (arc_label_align): Likewise for locals "prev", "next".
9646 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9648 * config/alpha/alpha.c (alpha_emit_set_const): Strengthen local
9649 "insn" from rtx to rtx_insn *.
9650 (alpha_gp_save_rtx): Likewise for local "seq".
9651 (alpha_instantiate_decls): Likewise for local "top".
9652 (get_some_local_dynamic_name): Likewise for local "insn".
9653 (alpha_does_function_need_gp): Likewise.
9654 (set_frame_related_p): Likewise for return type and for locals
9656 (emit_frame_store_1): Likewise for local "insn".
9657 (alpha_expand_prologue): Likewise for locals "insn", "seq".
9658 (alpha_end_function): Likewise for local "insn".
9659 (alpha_output_mi_thunk_osf): Likewise.
9660 (alphaev4_insn_pipe): Likewise for param "insn".
9661 (alphaev5_insn_pipe): Likewise.
9662 (alphaev4_next_group): Likewise for return type and param 1
9664 (alphaev5_next_group): Likewise.
9665 (alpha_align_insns_1): Likewise for return type and param 1 of
9666 callback param "next_group", and for locals "i", "next", "prev",
9667 "where", "where2", "insn".
9669 2014-08-25 Bernd Schmidt <bernds@codesourcery.com>
9671 * tree-nested.c (finalize_nesting_tree_1): Initialize temporary earlier
9672 rather than modifying the stmt.
9674 2014-08-25 Jan-Benedict Glaw <jbglaw@lug-owl.de>
9676 * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from
9677 cgraph_state conversion.
9679 2014-08-25 David Malcolm <dmalcolm@redhat.com>
9681 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
9682 Strengthen local "insns" from rtx to rtx_insn *.
9683 (aarch64_set_frame_expr): Likewise for local "insn".
9684 (aarch64_save_or_restore_fprs): Likewise.
9685 (aarch64_save_or_restore_callee_save_registers): Likewise.
9686 (aarch64_expand_prologue): Likewise.
9687 (aarch64_expand_epilogue): Likewise.
9688 (aarch64_output_mi_thunk): Likewise.
9689 (aarch64_split_compare_and_swap): Strengthen locals "label1" and
9690 "label2" from rtx to rtx_code_label *.
9691 (aarch64_split_atomic_op): Likewise for local "label".
9693 2014-08-25 Martin Liska <mliska@suse.cz>
9695 * cgraph.h (symtab_node):
9696 (bool needed_p (void)): created from decide_is_symbol_needed
9697 (bool referred_to_p (void)): created from referred_to_p
9698 (static cgraph_node *get_for_asmname (tree asmname)): created from symtab_node_for_asm
9699 * cgraph.h (cgraph_node):
9700 (void assemble_thunks_and_aliases (void)): created from assemble_thunks_and_aliases
9701 (void expand (void)): created from expand_function
9702 (static void finalize_function (tree, bool)): created from cgraph_finalize_function
9703 (static cgraph_local_info *local_info (tree decl)): created from cgraph_local_info
9704 (static cgraph_global_info *global_info (tree)): created from cgraph_global_info
9705 (static cgraph_rtl_info *rtl_info (tree)): created from cgraph_rtl_info
9706 * cgraph.h (varpool_node):
9707 (static void add (tree decl): created from varpool_add_new_variable
9708 * cgraph.h (cgraph_edge):
9710 (void remove_caller (void)): created from cgraph_edge_remove_caller
9711 (void remove_callee (void)): created from cgraph_edge_remove_callee
9712 (void set_call_stmt (gimple new_stmt, bool update_speculative = true)):
9713 created from cgraph_set_call_stmt
9714 (void redirect_callee (cgraph_node *n)): created from cgraph_redirect_edge_callee
9715 (cgraph_edge *make_direct (cgraph_node *callee)): created from cgraph_make_edge_direct
9716 (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count,
9717 gimple redirect_call_stmt_to_callee (void)): created from cgraph_turn_edge_to_speculative
9718 (void speculative_call_info (cgraph_edge *&direct, cgraph_edge *&indirect, ipa_ref *&reference)):
9719 created from cgraph_speculative_call_info
9720 (cgraph_edge * clone (cgraph_node *n, gimple call_stmt, unsigned stmt_uid, gcov_type count_scale,
9721 int freq_scale, bool update_original)): created from cgraph_clone_edge
9722 (cgraph_edge *resolve_speculation (tree callee_decl)): created from cgraph_resolve_speculation
9723 (bool cannot_lead_to_return_p (void)): created from cannot_lead_to_return_p
9724 (bool recursive_p (void)): created from cgraph_edge_recursive_p
9725 (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p
9726 (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges
9727 (static void rebuild_references (void)): created from cgraph_rebuild_references
9728 * cgraph.h (symbol_table):
9729 (create_reference): renamed from add_reference
9730 (maybe_create_reference): renamed from maybe_add_reference
9731 (void register_symbol (symtab_node *node)): new function
9732 (void clear_asm_symbols (void)): new function
9733 (void unregister (symtab_node *node)): new function
9734 (void release_symbol (cgraph_node *node, int uid)): new function
9735 (cgraph_node * allocate_cgraph_symbol (void)): new function
9736 (void initialize (void)): created from cgraph_init
9737 (symtab_node *first_symbol (void)):new function
9738 (asm_node *first_asm_symbol (void)):new function
9739 (symtab_node *first_defined_symbol (void)):new function
9740 (varpool_node *first_variable (void)):new function
9741 (varpool_node *next_variable (varpool_node *node)):new function
9742 (varpool_node *first_static_initializer (void)):new function
9743 (varpool_node *next_static_initializer (varpool_node *node)):new function
9744 (varpool_node *first_defined_variable (void)):new function
9745 (varpool_node *next_defined_variable (varpool_node *node)):new function
9746 (cgraph_node *first_defined_function (void)):new function
9747 (cgraph_node *next_defined_function (cgraph_node *node)):new function
9748 (cgraph_node *first_function (void)):new function
9749 (cgraph_node *next_function (cgraph_node *node)):new function
9750 (cgraph_node *first_function_with_gimple_body (void)):new function
9751 (asm_node *finalize_toplevel_asm (tree asm_str)): created from add_asm_node
9752 (bool remove_unreachable_nodes (bool before_inlining_p, FILE *file)):
9753 created from symtab_remove_unreachable_nodes
9754 (void remove_unreferenced_decls (void)): created from varpool_remove_unreferenced_decls
9755 (void process_new_functions (void)): created from cgraph_process_new_functions
9756 (void process_same_body_aliases (void)): created from cgraph_process_same_body_aliases
9757 (bool output_variables (void)): created from varpool_node::output_variables
9758 (void output_asm_statements (void)): created from output_asm_statements
9759 (void finalize_compilation_unit (void)): created from finalize_compilation_unit
9760 (void compile (void)): created from compile
9761 (void output_weakrefs (void)): created from output_weakrefs
9762 (cgraph_node *create_empty (void)): created from cgraph_node::create_empty
9763 (cgraph_edge *create_edge (cgraph_node *caller, cgraph_node *callee, gimple call_stmt,
9764 gcov_type count, int freq, bool indir_unknown_callee)): created from cgraph_node::create_edge
9765 (void free_edge (cgraph_edge *e)): created from cgraph_free_edge
9766 (cgraph_node *next_function_with_gimple_body (cgraph_node *node)):
9767 created from cgraph_next_function_with_gimple_body
9768 (void remove_edge_removal_hook (cgraph_edge_hook_list *)):
9769 created from cgraph_remove_edge_removal_hook
9770 (cgraph_node_hook_list *add_cgraph_removal_hook (cgraph_node_hook, void *)):
9771 created from cgraph_add_node_removal_hook
9772 (void remove_cgraph_removal_hook (cgraph_node_hook_list *)):
9773 created from cgraph_remove_node_removal_hook
9774 (varpool_node_hook_list *add_varpool_removal_hook (varpool_node_hook, void *)):
9775 created from varpool_add_node_removal_hook
9776 (void remove_varpool_removal_hook (varpool_node_hook_list *)):
9777 created from varpool_remove_node_removal_hook
9778 (cgraph_node_hook_list *add_cgraph_insertion_hook (cgraph_node_hook, void *)):
9779 created from cgraph_add_function_insertion_hook
9780 (void remove_cgraph_insertion_hook (cgraph_node_hook_list *)):
9781 created from cgraph_remove_function_insertion_hook
9782 (varpool_node_hook_list *add_varpool_insertion_hook (varpool_node_hook, void *)):
9783 created from varpool_add_variable_insertion_hook
9784 (void remove_varpool_insertion_hook (varpool_node_hook_list *)):
9785 created from varpool_remove_variable_insertion_hook
9786 (cgraph_2edge_hook_list *add_edge_duplication_hook (cgraph_2edge_hook, void *)):
9787 created from cgraph_add_edge_duplication_hook
9788 (void remove_edge_duplication_hook (cgraph_2edge_hook_list *)):
9789 created from cgraph_remove_edge_duplication_hook
9790 (cgraph_2node_hook_list *add_cgraph_duplication_hook (cgraph_2node_hook, void *)):
9791 created from cgraph_add_node_duplication_hook
9792 (void remove_cgraph_duplication_hook (cgraph_2node_hook_list *)):
9793 created from cgraph_remove_node_duplication_hook
9794 (void call_edge_removal_hooks (cgraph_edge *e)):
9795 created from cgraph_call_edge_removal_hooks
9796 (void call_cgraph_insertion_hooks (cgraph_node *node)):
9797 created from call_function_insertion_hooks
9798 (void call_cgraph_removal_hooks (cgraph_node *node)):
9799 created from cgraph_call_node_removal_hooks
9800 (void call_cgraph_duplication_hooks (cgraph_node *node, cgraph_node *node2)):
9801 created from cgraph_node::call_duplication_hooks
9802 (void call_edge_duplication_hooks (cgraph_edge *cs1, cgraph_edge *cs2)):
9803 created from cgraph_call_edge_duplication_hooks
9804 (void call_varpool_removal_hooks (varpool_node *node)):
9805 created from varpool_call_node_removal_hooks
9806 (void call_varpool_insertion_hooks (varpool_node *node)):
9807 created from varpool_call_variable_insertion_hooks
9808 (void insert_to_assembler_name_hash (symtab_node *node, bool with_clones)):
9809 created from insert_to_assembler_name_hash
9810 (void unlink_from_assembler_name_hash (symtab_node *node, bool with_clones)):
9811 created from unlink_from_assembler_name_hash
9812 (void symtab_prevail_in_asm_name_hash (symtab_node *node)):
9813 created from symtab_prevail_in_asm_name_hash
9814 (void symtab_initialize_asm_name_hash (void)):
9815 created from symtab_initialize_asm_name_hash
9816 (void change_decl_assembler_name (tree decl, tree name)):
9817 created from change_decl_assembler_name
9818 (void materialize_all_clones (void)): created from cgraph_materialize_all_clones
9819 (static hashval_t decl_assembler_name_hash (const_tree asmname)):
9820 created from decl_assembler_name_hash
9821 (static bool decl_assembler_name_equal (tree decl, const_tree asmname)):
9822 created from decl_assembler_name_equal
9823 (static hashval_t hash_node_by_assembler_name (const void *p)):
9824 created from hash_node_by_assembler_name
9825 (static int eq_assembler_name (const void *p1, const void *p2)):
9826 created from eq_assembler_name
9828 2014-08-25 Marek Polacek <polacek@redhat.com>
9830 * config/i386/i386.md (SWI1248_AVX512BW): Add missing paren.
9832 2014-08-25 Petr Murzin <petr.murzin@intel.com>
9834 * config/i386/i386.md (SWI1248_AVX512BW): New mode iterator.
9835 (*k<logic><mode>): Add *k<logic>qi and *k<logic>hi and use
9836 SWI1248_AVX512BW mode iterator.
9838 2014-08-25 Kaz Kojima <kkojima@gcc.gnu.org>
9841 * config/sh/predicates.md (general_extend_operand): Disable
9842 TRUNCATE before reload completes.
9844 2014-08-24 Gerald Pfeifer <gerald@pfeifer.com>
9846 * doc/invoke.texi (Optimize Options): Fix markup in two cases.
9848 2014-08-24 Oleg Endo <olegendo@gcc.gnu.org>
9851 * config/sh/sh.opt (musermode): Allow negative form.
9852 * config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
9853 targets that don't support it.
9854 * doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
9855 Document -mno-usermode option.
9857 2014-08-24 Kito Cheng <kito@0xlab.org>
9859 * system.h (CALLER_SAVE_PROFITABLE): Poison.
9860 * regs.h (CALLER_SAVE_PROFITABLE): Remove.
9861 * doc/tm.texi.in (CALLER_SAVE_PROFITABLE): Remove.
9862 * doc/tm.texi: Regenerate.
9864 2014-08-24 Kito Cheng <kito@0xlab.org>
9866 * ira.c: Fix typo in comment.
9868 2014-08-23 Edward Smith-Rowland <3dw4rd@verizon.net>
9870 * doc/invoke.texi: Change c++1y to c++14 and gnu++1y to gnu++14.
9871 Deprecate c++1y. Change language to reflect greater confidence in C++14.
9873 2014-08-23 John David Anglin <danglin@gcc.gnu.org>
9876 * config/pa/pa.c (pa_output_function_epilogue): Don't set
9877 last_address when the current function is a thunk.
9878 (pa_asm_output_mi_thunk): When we don't have named sections or they
9879 are not being used, check that thunk can reach the stub table with a
9882 2014-08-23 David Malcolm <dmalcolm@redhat.com>
9884 * web.c (union_match_dups): Strengthen param "insn" from rtx to
9886 (pass_web::execute): Likewise for local "insn".
9888 2014-08-23 David Malcolm <dmalcolm@redhat.com>
9890 * var-tracking.c (struct micro_operation_def): Strengthen field
9891 "insn" from rtx to rtx_insn *.
9892 (struct emit_note_data_def): Likewise.
9893 (insn_stack_adjust_offset_pre_post): Likewise for param "insn".
9894 (vt_stack_adjustments): Likewise for local "insn".
9895 (adjust_insn): Likewise for param "insn".
9896 (val_store): Likewise.
9897 (val_resolve): Likewise.
9898 (struct count_use_info): Likewise for field "insn".
9899 (log_op_type): Likewise for param "insn".
9900 (reverse_op): Likewise.
9901 (prepare_call_arguments): Likewise.
9902 (add_with_sets): The initial param takes an insn, but we can't
9903 yet strengthen it from rtx to rtx_insn * since it's used as a
9904 cselib_record_sets_hook callback. For now rename initial param
9905 from "insn" to "uncast_insn", and introduce a local "insn" of
9906 the stronger rtx_insn * type, with a checked cast.
9907 (compute_bb_dataflow): Strengthen local "insn" from rtx to
9909 (emit_note_insn_var_location): Likewise.
9910 (emit_notes_for_changes): Likewise.
9911 (emit_notes_for_differences): Likewise.
9912 (next_non_note_insn_var_location): Likewise for return type and
9914 (emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
9915 (vt_initialize): Likewise for local "insn".
9916 (delete_debug_insns): Likewise for locals "insn" and "next".
9918 2014-08-23 David Malcolm <dmalcolm@redhat.com>
9920 * varasm.c (mark_constants): Strengthen param "insn" from rtx to
9922 (mark_constant_pool): Likewise for local "insn".
9924 2014-08-23 David Malcolm <dmalcolm@redhat.com>
9926 * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
9928 (dead_debug_promote_uses): Likewise.
9929 (dead_debug_insert_temp): Likewise.
9931 2014-08-23 David Malcolm <dmalcolm@redhat.com>
9933 * store-motion.c (store_killed_in_insn): Strengthen param "insn"
9934 from const_rtx to const rtx_insn *.
9935 (store_killed_after): Likewise. Strengthen locals "last", "act"
9936 from rtx to rtx_insn *.
9937 (store_killed_before): Strengthen param "insn" from const_rtx to
9938 const rtx_insn *. Strengthen local "first" from rtx to rtx_insn *.
9939 (find_moveable_store): Strengthen param "insn" from rtx to
9941 (compute_store_table): Likewise for local "insn".
9942 (insert_insn_start_basic_block): Likewise for param "insn" and
9943 locals "prev", "before", "insn".
9944 (insert_store): For now, add a checked cast to rtx_insn * on the
9945 result of gen_move_insn.
9946 (remove_reachable_equiv_notes): Strengthen local "insn" from rtx
9948 (replace_store_insn): Likewise. For now, add a checked cast to
9949 rtx_insn * on the result of gen_move_insn.
9951 2014-08-22 David Malcolm <dmalcolm@redhat.com>
9953 * stmt.c (expand_case): Strengthen local "before_case" from rtx to
9955 (expand_sjlj_dispatch_table): Likewise.
9957 2014-08-22 David Malcolm <dmalcolm@redhat.com>
9959 * stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
9960 "insn" from rtx to rtx_insn *.
9962 2014-08-22 David Malcolm <dmalcolm@redhat.com>
9964 * shrink-wrap.h (requires_stack_frame_p): Strengthen param 1
9965 "insn" from rtx to rtx_insn *.
9966 (dup_block_and_redirect): Likewise for param 3 "before".
9968 * shrink-wrap.c (requires_stack_frame_p): Strengthen param "insn"
9969 from rtx to rtx_insn *.
9970 (move_insn_for_shrink_wrap): Likewise.
9971 (prepare_shrink_wrap): Likewise for locals "insn", "curr".
9972 (dup_block_and_redirect): Likewise for param "before" and local
9974 (try_shrink_wrapping): Likewise for locals "insn", "insert_point",
9976 (convert_to_simple_return): Likewise for local "start".
9978 * config/i386/i386.c (ix86_finalize_stack_realign_flags):
9979 Strengthen local "insn" from rtx to rtx_insn *, for use when
9980 invoking requires_stack_frame_p.
9982 2014-08-22 David Malcolm <dmalcolm@redhat.com>
9984 * sel-sched-ir.c (vinsn_copy): Strengthen local "copy" from rtx to
9986 (speculate_expr): Likewise for locals "orig_insn_rtx",
9988 (eq_transformed_insns): Likewise for locals "i1", "i2".
9989 (check_for_new_jump): Likewise for return type and local "end".
9990 (find_new_jump): Likewise for return type and local "jump".
9991 (sel_split_edge): Likewise for local "jump".
9992 (sel_create_recovery_block): Likewise.
9993 (sel_redirect_edge_and_branch_force): Likewise.
9994 (sel_redirect_edge_and_branch): Likewise.
9996 2014-08-22 David Malcolm <dmalcolm@redhat.com>
9998 * sel-sched.c (substitute_reg_in_expr): Strengthen local
9999 "new_insn" from rtx to rtx_insn *.
10000 (create_insn_rtx_with_rhs): Likewise for return type and for local
10002 (create_insn_rtx_with_lhs): Likewise.
10003 (create_speculation_check): Likewise for local "insn_rtx".
10004 (implicit_clobber_conflict_p): Likewise for local "insn".
10005 (get_expr_cost): Likewise.
10006 (emit_bookkeeping_insn): Likewise for local "new_insn_rtx".
10007 (move_cond_jump): Likewise for locals "next", "prev", "link",
10008 "head", "from", "to".
10010 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10012 * sched-rgn.c (is_cfg_nonregular): Strengthen locals "insn" and
10013 "next" from rtx to rtx_insn *.
10014 (find_conditional_protection): Likewise for local "next".
10015 (is_conditionally_protected): Likewise for local "insn1".
10016 (is_pfree): Likewise for locals "insn1", "insn2".
10018 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10020 * sched-int.h (schedule_ebb): Strengthen params "head", "tail"
10021 from rtx to rtx_insn *.
10023 * sched-ebb.c (earliest_block_with_similiar_load): Strengthen
10024 locals "insn1", "insn2" from rtx to rtx_insn *.
10025 (add_deps_for_risky_insns): Likewise for params "head", "tail" and
10026 locals "insn", "prev", "last_jump", "next_tail".
10027 (schedule_ebb): Likewise for params "head", "tail".
10028 (schedule_ebbs): Likewise for locals "tail", "head".
10030 * config/c6x/c6x.c (hwloop_optimize): For now, add a checked cast
10031 to rtx_insn on "last_insn" in one of the invocations of
10034 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10036 * sched-deps.c (maybe_add_or_update_dep_1): Strengthen locals
10037 "elem", "insn" from rtx to rtx_insn *.
10038 (change_spec_dep_to_hard): Likewise.
10039 (get_back_and_forw_lists): Likewise for local "con".
10040 (sd_add_dep): Likewise for locals "elem", "insn".
10041 (sd_resolve_dep): Likewise for locals "pro", "con".
10042 (sd_unresolve_dep): Likewise.
10043 (sd_delete_dep): Likewise.
10044 (chain_to_prev_insn): Likewise for local "pro".
10045 (find_inc): Likewise for locals "pro", "con".
10047 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10049 * rtlanal.c (reg_used_between_p): Strengthen local "insn" from rtx
10051 (reg_set_between_p): Strengthen local "insn" from const_rtx to
10053 (modified_between_p): Strengthen local "insn" from rtx to
10055 (remove_reg_equal_equiv_notes_for_regno): Likewise.
10056 (keep_with_call_p): Strengthen local "i2" from const_rtx to
10059 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10061 * resource.c (next_insn_no_annul): Strengthen local "next" from
10063 (mark_referenced_resources): Likewise for local "insn".
10065 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10067 * reload.h (struct insn_chain): Strengthen field "insn" from rtx
10069 (find_reloads): Likewise for param 1.
10070 (subst_reloads): Likewise for sole param.
10071 (find_equiv_reg): Likwise for param 2.
10072 (regno_clobbered_p): Likwise for param 2.
10073 (reload): Likewise for param 1.
10075 * caller-save.c (save_call_clobbered_regs): Strengthen local
10076 "insn" from rtx to rtx_insn *.
10077 (insert_one_insn): Likewise for local "insn".
10079 * reload.c (this_insn): Likewise for this global.
10080 (find_reloads): Likewise for param "insn".
10081 (find_reloads_toplev): Likewise.
10082 (find_reloads_address): Likewise.
10083 (subst_reg_equivs): Likewise.
10084 (update_auto_inc_notes): Likewise.
10085 (find_reloads_address_1): Likewise.
10086 (find_reloads_subreg_address): Likewise.
10087 (subst_reloads): Likewise.
10088 (find_equiv_reg): Likewise, also for local "p".
10089 (regno_clobbered_p): Likewise for param "insn".
10091 * reload1.c (reg_reloaded_insn): Likewise for the elements of this
10093 (spill_reg_store): Likewise for the elements of this array.
10094 (remove_init_insns): Likewise for local "equiv_insn".
10095 (will_delete_init_insn_p): Likewise for param "insn".
10096 (reload): Likewise for param ""first" and local "insn".
10097 (calculate_needs_all_insns): Strengthen local "insn" from rtx to
10099 (calculate_elim_costs_all_insns): Likewise.
10100 (delete_caller_save_insns): Likewise.
10101 (spill_failure): Likewise for param "insn".
10102 (delete_dead_insn): Likewise.
10103 (set_label_offsets): Likewise.
10104 (eliminate_regs_in_insn): Likewise, also for locals "base_insn" and
10106 (elimination_costs_in_insn): Likewise for param "insn".
10107 (set_initial_eh_label_offset): Replace use of NULL_RTX with NULL
10108 when referring to an insn.
10109 (set_initial_label_offsets): Likewise.
10110 (set_offsets_for_label): Strengthen param "insn" from rtx to
10112 (init_eliminable_invariants): Likewise for param "first" and local
10114 (fixup_eh_region_note): Likewise for param "insn".
10115 (reload_as_needed): Likewise for locals "prev", "insn",
10116 "old_next", "old_prev", "next".
10117 (gen_reload_chain_without_interm_reg_p): Likewise for locals "insn",
10119 (reload_inheritance_insn): Strengthen elements of this array from
10121 (failed_reload): Likewise for param "insn".
10122 (choose_reload_regs): Likewise for local "insn". Replace use of
10123 NULL_RTX with NULL when referring to an insn.
10124 (input_reload_insns): Strengthen elements of this array from rtx
10126 (other_input_address_reload_insns): Likewise for this global.
10127 (other_input_reload_insns): Likewise for this global.
10128 (input_address_reload_insns): Likwise for the elements of this
10130 (inpaddr_address_reload_insns): Likwise for the elements of this
10132 (output_reload_insns): Likewise for the elements of this array.
10133 (output_address_reload_insns): Likewise for the elements of this
10135 (outaddr_address_reload_insns): Likewise for the elements of this
10137 (operand_reload_insns): Likewise for this global.
10138 (other_operand_reload_insns): Likewise for this global.
10139 (other_output_reload_insns): Likewise for the elements of this
10141 (new_spill_reg_store): Likewise for the elements of this
10143 (emit_input_reload_insns): Likewise for locals "insn", "temp".
10144 Strengthen local "where" from rtx * to rtx_insn **.
10145 (emit_output_reload_insns): Strengthen locals "insn", "p", "next"
10146 from rtx to rtx_insn *.
10147 (do_input_reload): Likewise for local "insn".
10148 (do_output_reload): Likewise for local "insn".
10149 (emit_reload_insns): Likewise for locals "insn" and "store_insn".
10150 (emit_insn_if_valid_for_reload): Likewise for return type and local
10151 "last". Add checked cast to rtx_insn when returning "insn" since
10152 this has been through emit_insn.
10153 (gen_reload): Strengthen return type and locals "last", "insn", "set"
10154 from rtx to rtx_insn *. Add checked cast to rtx_insn when
10155 returning "insn" since it's been through
10156 emit_insn_if_valid_for_reload at this point.
10157 (delete_output_reload): Strengthen param "insn" and locals
10158 "output_reload_insn", "i2" from rtx to rtx_insn *.
10159 (delete_address_reloads): Likewise for params "dead_insn",
10160 "current_insn" and locals "prev", "next".
10161 (delete_address_reloads_1): Likewise for params "dead_insn",
10162 "current_insn" and locals "prev", "i2".
10163 (inc_for_reload): Likewise for locals "last", "add_insn".
10164 (add_auto_inc_notes): Strengthen param "insn" from rtx to
10167 * config/arc/arc-protos.h (regno_clobbered_p): Likewise for 2nd
10168 param of this duplicate of the prototype from reload.h
10170 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10172 * regstat.c (regstat_bb_compute_ri): Strengthen local "insn" from
10174 (regstat_bb_compute_calls_crossed): Likewise.
10176 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10178 * regrename.c (create_new_chain): Strengthen param "insn" from rtx
10180 (init_rename_info): Replace use of NULL_RTX with NULL when dealing
10182 (regrename_analyze): Strengthen local "insn" from rtx to
10184 (scan_rtx_reg): Likewise for param "insn".
10185 (scan_rtx_address): Likewise.
10186 (scan_rtx): Likewise.
10187 (restore_operands): Likewise.
10188 (record_out_operands): Likewise.
10189 (build_def_use): Likewise for local "insn". Replace use of
10190 NULL_RTX with NULL when dealing with an insn.
10192 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10194 * rtl.h (reg_scan): Strengthen param "f" from rtx to rtx_insn *.
10195 * reginfo.c (reg_scan): Likewise, also for local "insn".
10196 (reg_scan_mark_refs): Likewise for param "insn".
10197 (init_subregs_of_mode): Likewise for local "insn".
10199 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10201 * regcprop.c (struct queued_debug_insn_change): Strengthen field
10202 "insn" from rtx to rtx_insn *.
10203 (replace_oldest_value_reg): Likewise for param "insn".
10204 (replace_oldest_value_addr): Likewise.
10205 (replace_oldest_value_mem): Likewise.
10206 (apply_debug_insn_changes): Likewise for local "last_insn".
10207 (copyprop_hardreg_forward_1): Likewise for local "insn".
10209 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10211 * reg-stack.c (next_flags_user): Strengthen return type and param
10212 "insn" from rtx to rtx_insn *.
10213 (straighten_stack): Likewise for param "insn".
10214 (check_asm_stack_operands): Likewise.
10215 (remove_regno_note): Likewise.
10216 (emit_pop_insn): Likewise for return type, param "insn", local
10218 (emit_swap_insn): Strengthen param "insn" and locals "i1", "tmp",
10219 "limit" from rtx to rtx_insn *.
10220 (swap_to_top): Likewise for param "insn".
10221 (move_for_stack_reg): Likewise.
10222 (move_nan_for_stack_reg): Likewise.
10223 (swap_rtx_condition): Likewise.
10224 (compare_for_stack_reg): Likewise.
10225 (subst_all_stack_regs_in_debug_insn): Likewise.
10226 (subst_stack_regs_pat): Likewise, and local "insn2".
10227 (subst_asm_stack_regs): Strengthen param "insn" from rtx to
10229 (subst_stack_regs): Likewise.
10230 (change_stack): Likewise.
10231 (convert_regs_1): Likewise for locals "insn", "next".
10233 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10235 * ree.c (struct ext_cand): Strengthen field "insn" from rtx to
10237 (combine_set_extension): Likewise for param "curr_insn".
10238 (transform_ifelse): Likewise for param "def_insn".
10239 (get_defs): Likewise for param "def_insn". Strengthen param "dest"
10240 from vec<rtx> * to vec<rtx_insn *> *.
10241 (is_cond_copy_insn): Likewise for param "insn".
10242 (struct ext_state): Strengthen the four vec fields from vec<rtx>
10243 to vec<rtx_insn *>.
10244 (make_defs_and_copies_lists): Strengthen param "extend_insn" and
10245 local "def_insn" from rtx to rtx_insn *.
10246 (get_sub_rtx): Likewise for param "def_insn".
10247 (merge_def_and_ext): Likewise.
10248 (combine_reaching_defs): Likewise.
10249 (add_removable_extension): Likewise for param "insn".
10250 (find_removable_extensions): Likewise for local "insn".
10251 (find_and_remove_re): Likewise for locals "curr_insn" and
10252 "def_insn". Strengthen locals "reinsn_del_list" and
10253 "reinsn_del_list" from auto_vec<rtx> to auto_vec<rtx_insn *>.
10255 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10257 * recog.c (split_insn): Strengthen param "insn" and locals
10258 "first", "last" from rtx to rtx_insn *.
10259 (split_all_insns): Likewise for locals "insn", "next".
10260 (split_all_insns_noflow): Likewise.
10262 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10264 * rtl.h (debug_rtx_list): Strengthen param 1 "x" from const_rtx to
10266 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
10267 (debug_rtx_find): Likewise for param 1 "x".
10269 * print-rtl.c (debug_rtx_list): Strengthen param 1 "x" from
10270 const_rtx to const rtx_insn *. Likewise for local "insn".
10271 (debug_rtx_range): Likewise for params 1 and 2 "start" and "end".
10272 (debug_rtx_find): Likewise for param 1 "x".
10273 (print_rtl): Likewise for local "tmp_rtx", adding a checked cast
10274 from const_rtx to const rtx_insn * within the appropriate cases of
10275 the switch statement.
10277 * config/rs6000/rs6000.c (rs6000_debug_legitimize_address):
10278 Strengthen local "insns" from rtx to rtx_insn * since this is
10279 passed to a call to debug_rtx_list.
10281 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10283 * predict.h (predict_insn_def): Strengthen param "insn" from rtx
10286 * function.c (stack_protect_epilogue): Add checked cast to
10287 rtx_insn for now when invoking predict_insn_def.
10289 * predict.c (predict_insn): Strengthen param "insn" from rtx to
10291 (predict_insn_def): Likewise.
10292 (rtl_predict_edge): Likewise for local "last_insn".
10293 (can_predict_insn_p): Strengthen param "insn" from const_rtx to
10295 (combine_predictions_for_insn): Strengthen param "insn" from rtx
10297 (bb_estimate_probability_locally): Likewise for local "last_insn".
10298 (expensive_function_p): Likewise for local "insn".
10300 * config/cris/cris.c (cris_emit_trap_for_misalignment): Likewise for
10301 local "jmp", since this is used when invoking predict_insn_def.
10303 2014-08-22 Marek Polacek <polacek@redhat.com>
10306 * doc/invoke.texi: Update -Wlogical-not-parentheses description.
10308 2014-08-22 Marek Polacek <polacek@redhat.com>
10311 * ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
10312 a comparison in parens.
10313 * lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
10316 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10318 * rtl.h (fis_get_condition): Strengthen param "jump" from rtx to
10321 * cprop.c (fis_get_condition): Likewise.
10323 * postreload.c (reload_cse_regs): Likewise for param "first".
10324 (reload_cse_simplify): Likewise for param "insn".
10325 (reload_cse_regs_1): Likewise for local "insn".
10326 (reload_cse_simplify_set): Likewise for param "insn".
10327 (reload_cse_simplify_operands): Likewise.
10328 (struct reg_use): Likewise for field "insn".
10329 (reload_combine_purge_insn_uses): Likewise for param "insn".
10330 (fixup_debug_insns): Likewise for params "from", "to" and local
10332 (try_replace_in_use): Likewise for local "use_insn".
10333 (reload_combine_recognize_const_pattern): Likewise for param
10334 "insn" and locals "add_moved_after_insn", "use_insn".
10335 (reload_combine_recognize_pattern): Likewise for param "insn" and
10337 (reload_combine): Likewise for locals "insn", "prev".
10338 (reload_combine_note_use): Likewise for param "insn".
10339 (move2add_use_add2_insn): Likewise.
10340 (move2add_use_add3_insn): Likewise.
10341 (reload_cse_move2add): Likewise, also for local "next".
10342 (move2add_note_store): Likewise for local "insn".
10344 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10346 * postreload-gcse.c (struct occr): Strengthen field "insn" from
10348 (struct unoccr): Likewise.
10349 (struct modifies_mem): Likewise.
10350 (alloc_mem): Likewise for local "insn".
10351 (insert_expr_in_table): Likewise for param "insn".
10352 (dump_expr_hash_table_entry): Likewise for local "insn".
10353 (oprs_unchanged_p): Likewise for param "insn".
10354 (load_killed_in_block_p): Likewise for local "setter".
10355 (record_last_reg_set_info): Likewise for param "insn".
10356 (record_last_reg_set_info_regno): Likewise.
10357 (record_last_mem_set_info): Likewise.
10358 (record_last_set_info): Likewise for local "last_set_insn".
10359 (record_opr_changes): Likewise for param "insn".
10360 (hash_scan_set): Likewise.
10361 (compute_hash_table): Likewise for local "insn".
10362 (get_avail_load_store_reg): Likewise for param "insn".
10363 (eliminate_partially_redundant_load): Likewise, also for locals
10364 "avail_insn", "next_pred_bb_end". Replace use of NULL_RTX with
10366 (eliminate_partially_redundant_loads): Likewise for local "insn".
10368 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10370 * optabs.c (expand_doubleword_shift): Strengthen local "insn" from
10372 (expand_binop): Likewise for locals "entry_last", "last", "insns"
10373 (expand_twoval_unop): Likewise for locals entry_last", "last".
10374 (expand_twoval_binop): Likewise.
10375 (expand_twoval_binop_libfunc): Likewise for local "insns".
10376 (widen_leading): Likewise for local "last".
10377 (expand_doubleword_clz): Likewise for local "seq". Strengthen
10378 locals "hi0_label", "after_label" from rtx to rtx_code_label *.
10379 (widen_bswap): Strengthen local "last" from rtx to rtx_insn *.
10380 (expand_parity): Likewise for locals "last" and "seq".
10381 (expand_ffs): Likewise for local "seq". Strengthen local
10382 "nonzero_label" from rtx to rtx_code_label *.
10383 (expand_absneg_bit): Strengthen local "insns" from rtx to
10385 (expand_unop_direct): Likewise for local "last".
10386 (expand_unop): Likewise for locals "last", "insns".
10387 (expand_abs_nojump): Likewise for local "last".
10388 (expand_abs): Strengthen local "op1" from rtx to rtx_code_label *.
10389 (expand_one_cmpl_abs_nojump): Strengthen local "last" from rtx to
10391 (expand_copysign_absneg): Strengthen local "label" from rtx to
10393 (expand_copysign_bit): Strengthen local "insns" from rtx to
10395 (struct no_conflict_data): Likewise for fields "first", "insn".
10396 (emit_libcall_block_1): Likewise for param "insns" and locals
10397 "next", "last", "insn".
10398 (emit_libcall_block): For now, add a checked cast to rtx_insn *
10399 on "insns" when invoking emit_libcall_block_1. Ultimately we
10400 want to strengthen insns itself.
10401 (prepare_cmp_insn): Strengthen local "last" from rtx to
10403 (emit_cmp_and_jump_insn_1): Likewise for local "insn".
10404 (prepare_float_lib_cmp): Likewise for local "insns".
10405 (emit_conditional_move): Likewise for local "last".
10406 (emit_conditional_add): Likewise.
10407 (have_sub2_insn): Likewise for local "seq".
10408 (expand_float): Likewise for local "insns". Strengthen locals
10409 "label", "neglabel" from rtx to rtx_code_label *.
10410 (expand_fix): Likewise for locals "last", "insn", "insns" (to
10411 rtx_insn *) and locals "lab1", "lab2" (to rtx_code_label *).
10412 (expand_fixed_convert): Likewise for local "insns" (to
10414 (expand_sfix_optab): Likewise for local "last".
10415 (expand_compare_and_swap_loop): Strengthen local "label" from rtx
10416 to rtx_code_label *.
10417 (maybe_emit_sync_lock_test_and_set): Strengthen local "last_insn"
10418 from rtx to rtx_insn *.
10419 (expand_atomic_fetch_op): Likewise for local "insn".
10420 (maybe_legitimize_operand_same_code): Likewise for local "last".
10421 (maybe_legitimize_operands): Likewise.
10423 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10425 * modulo-sched.c (struct ps_reg_move_info): Strengthen field
10426 "insn" from rtx to rtx_insn *.
10427 (ps_rtl_insn): Likewise for return type.
10428 (doloop_register_get): Likewise for params "head", "tail" and
10429 locals "insn", "first_insn_not_to_check".
10430 (schedule_reg_move): Likewise for local "this_insn".
10431 (schedule_reg_moves): Add a checked cast to rtx_insn * to result
10432 of gen_move_insn for now.
10433 (reset_sched_times): Strengthen local "insn" from rtx to
10435 (permute_partial_schedule): Likewise.
10436 (duplicate_insns_of_cycles): Likewise for local "u_insn".
10437 (dump_insn_location): Likewise for param "insn".
10438 (loop_canon_p): Likewise for local "insn".
10439 (sms_schedule): Likewise.
10440 (print_partial_schedule): Likewise.
10441 (ps_has_conflicts): Likewise.
10443 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10445 * sched-int.h (get_ebb_head_tail): Strengthen params "headp" and
10446 "tailp" from rtx * to rtx_insn **.
10448 * ddg.c (build_intra_loop_deps): Strengthen locals head", "tail"
10449 from rtx to rtx_insn *.
10450 * haifa-sched.c (get_ebb_head_tail): Strengthen params "headp" and
10451 "tailp" from rtx * to rtx_insn **. Strengthen locals "beg_head",
10452 "beg_tail", "end_head", "end_tail", "note", "next", "prev" from
10454 * modulo-sched.c (const_iteration_count): Strengthen return type
10455 and locals "insn", "head", "tail" from rtx to rtx_insn *. Replace
10456 use of NULL_RTX with NULL when working with insns.
10457 (loop_single_full_bb_p): Strengthen locals "head", "tail" from rtx
10459 (sms_schedule): Likewise.
10460 * sched-rgn.c (init_ready_list): Likewise, also for locals
10461 "src_head" and "src_next_tail".
10462 (compute_block_dependences): Likewise.
10463 (free_block_dependencies): Likewise.
10464 (debug_rgn_dependencies): Likewise.
10465 (free_rgn_deps): Likewise.
10466 (compute_priorities): Likewise.
10467 (schedule_region): Likewise.
10468 * sel-sched.c (find_ebb_boundaries): Likewise.
10470 * config/sh/sh.c (find_insn_regmode_weight): Strengthen locals
10471 "insn", "next_tail", "head", "tail" from rtx to rtx_insn *.
10473 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10475 * mode-switching.c (struct seginfo): Strengthen field "insn_ptr"
10476 from rtx to rtx_insn *.
10477 (new_seginfo): Likewise for param "insn".
10478 (create_pre_exit): Likewise for locals "last_insn",
10479 "before_return_copy", "return_copy".
10480 (optimize_mode_switching): Likewise for locals "insn", "ins_pos",
10483 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10485 * lra-int.h (struct lra_insn_recog_data): Strengthen field "insn"
10486 from rtx to rtx_insn *.
10487 (lra_push_insn): Likewise for 1st param.
10488 (lra_push_insn_and_update_insn_regno_info): Likewise.
10489 (lra_pop_insn): Likewise for return type.
10490 (lra_invalidate_insn_data): Likewise for 1st param.
10491 (lra_set_insn_deleted): Likewise.
10492 (lra_delete_dead_insn): Likewise.
10493 (lra_process_new_insns): Likewise for first 3 params.
10494 (lra_set_insn_recog_data): Likewise for 1st param.
10495 (lra_update_insn_recog_data): Likewise.
10496 (lra_set_used_insn_alternative): Likewise.
10497 (lra_invalidate_insn_regno_info): Likewise.
10498 (lra_update_insn_regno_info): Likewise.
10499 (lra_former_scratch_operand_p): Likewise.
10500 (lra_eliminate_regs_1): Likewise.
10501 (lra_get_insn_recog_data): Likewise.
10503 * lra-assigns.c (assign_by_spills): Strengthen local "insn" from
10506 * lra-coalesce.c (move_freq_compare_func): Likewise for locals
10508 (substitute_within_insn): New.
10509 (lra_coalesce): Strengthen locals "mv", "insn", "next" from rtx to
10510 rtx_insn *. Strengthen sorted_moves from rtx * to rxt_insn **.
10511 Replace call to "substitute" with call to substitute_within_insn.
10513 * lra-constraints.c (curr_insn): Strengthen from rtx to
10515 (get_equiv_with_elimination): Likewise for param "insn".
10516 (match_reload): Strengthen params "before" and "after" from rtx *
10518 (emit_spill_move): Likewise for return type. Add a checked cast
10519 to rtx_insn * on result of gen_move_insn for now.
10520 (check_and_process_move): Likewise for local "before". Replace
10521 NULL_RTX with NULL when referring to insns.
10522 (process_addr_reg): Strengthen params "before" and "after" from
10523 rtx * to rtx_insn **.
10524 (insert_move_for_subreg): Likewise.
10525 (simplify_operand_subreg): Strengthen locals "before" and "after"
10526 from rtx to rtx_insn *.
10527 (process_address_1): Strengthen params "before" and "after" from
10528 rtx * to rtx_insn **. Strengthen locals "insns", "last_insn" from
10530 (process_address): Strengthen params "before" and "after" from
10531 rtx * to rtx_insn **.
10532 (emit_inc): Strengthen local "last" from rtx to rtx_insn *.
10533 (curr_insn_transform): Strengthen locals "before" and "after"
10534 from rtx to rtx_insn *. Replace NULL_RTX with NULL when referring
10536 (loc_equivalence_callback): Update cast of "data", changing
10537 resulting type from rtx to rtx_insn *.
10538 (substitute_pseudo_within_insn): New.
10539 (inherit_reload_reg): Strengthen param "insn" from rtx to
10540 rtx_insn *; likewise for local "new_insns". Replace NULL_RTX with
10541 NULL when referring to insns. Add a checked cast to rtx_insn *
10542 when using usage_insn to invoke lra_update_insn_regno_info.
10543 (split_reg): Strengthen param "insn" from rtx to rtx_insn *;
10544 likewise for locals "restore", "save". Add checked casts to
10545 rtx_insn * when using usage_insn to invoke
10546 lra_update_insn_regno_info and lra_process_new_insns. Replace
10547 NULL_RTX with NULL when referring to insns.
10548 (split_if_necessary): Strengthen param "insn" from rtx to
10550 (update_ebb_live_info): Likewise for params "head", "tail" and local
10552 (get_last_insertion_point): Likewise for return type and local "insn".
10553 (get_live_on_other_edges): Likewise for local "last".
10554 (inherit_in_ebb): Likewise for params "head", "tail" and locals
10555 "prev_insn", "next_insn", "restore".
10556 (remove_inheritance_pseudos): Likewise for local "prev_insn".
10557 (undo_optional_reloads): Likewise for local "insn".
10559 * lra-eliminations.c (lra_eliminate_regs_1): Likewise for param
10561 (lra_eliminate_regs): Replace NULL_RTX with NULL when referring to
10563 (eliminate_regs_in_insn): Strengthen param "insn" from rtx to
10565 (spill_pseudos): Likewise for local "insn".
10566 (init_elimination): Likewise.
10567 (process_insn_for_elimination): Likewise for param "insn".
10569 * lra-lives.c (curr_insn): Likewise.;
10571 * lra-spills.c (assign_spill_hard_regs): Likewise for local "insn".
10572 (remove_pseudos): Likewise for param "insn".
10573 (spill_pseudos): Likewise for local "insn".
10574 (lra_final_code_change): Likewise for locals "insn", "curr".
10576 * lra.c (lra_invalidate_insn_data): Likewise for param "insn".
10577 (lra_set_insn_deleted): Likewise.
10578 (lra_delete_dead_insn): Likewise, and for local "prev".
10579 (new_insn_reg): Likewise for param "insn".
10580 (lra_set_insn_recog_data): Likewise.
10581 (lra_update_insn_recog_data): Likewise.
10582 (lra_set_used_insn_alternative): Likewise.
10583 (get_insn_freq): Likewise.
10584 (invalidate_insn_data_regno_info): Likewise.
10585 (lra_invalidate_insn_regno_info): Likewise.
10586 (lra_update_insn_regno_info): Likewise.
10587 (lra_constraint_insn_stack): Strengthen from vec<rtx> to
10589 (lra_push_insn_1): Strengthen param "insn" from rtx to
10591 (lra_push_insn): Likewise.
10592 (lra_push_insn_and_update_insn_regno_info): Likewise.
10593 (lra_pop_insn): Likewise for return type and local "insn".
10594 (push_insns): Likewise for params "from", "to", and local "insn".
10595 (setup_sp_offset): Likewise for params "from", "last" and locals
10597 (lra_process_new_insns): Likewise for params "insn", "before",
10598 "after" and local "last".
10599 (struct sloc): Likewise for field "insn".
10600 (lra_former_scratch_operand_p): Likewise for param "insn".
10601 (remove_scratches): Likewise for locals "insn", "last".
10602 (check_rtl): Likewise for local "insn".
10603 (add_auto_inc_notes): Likewise for param "insn".
10604 (update_inc_notes): Likewise for local "insn".
10605 (lra): Replace NULL_RTX with NULL when referring to insn.
10607 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10609 * lower-subreg.c (simple_move): Strengthen param "insn" from rtx
10611 (resolve_reg_notes): Likewise.
10612 (resolve_simple_move): Likewise for return type, param "insn", and
10613 locals "insns", "minsn".
10614 (resolve_clobber): Strengthen param "insn" from rtx to rtx_insn *.
10615 (resolve_use): Likewise.
10616 (resolve_debug): Likewise.
10617 (find_decomposable_shift_zext): Likewise.
10618 (resolve_shift_zext): Likewise for return type, param "insn", and
10619 locals "insns", "in". Eliminate use of NULL_RTX in favor of NULL.
10620 (decompose_multiword_subregs): Likewise for local "insn",
10621 "orig_insn", "decomposed_shift", "end".
10623 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10625 * basic-block.h (basic_block split_edge_and_insert): Strengthen
10626 param "insns" from rtx to rtx_insn *.
10628 * loop-unroll.c (struct iv_to_split): Strengthen field "insn" from
10630 (struct iv_to_split): Likewise.
10631 (loop_exit_at_end_p): Likewise for local "insn".
10632 (split_edge_and_insert): Likewise for param "insns".
10633 (compare_and_jump_seq): Likewise for return type, param "cinsn",
10634 and locals "seq", "jump".
10635 (unroll_loop_runtime_iterations): Likewise for locals "init_code",
10636 "branch_code"; update invocations of compare_and_jump_seq to
10637 eliminate NULL_RTX in favor of NULL.
10638 (referenced_in_one_insn_in_loop_p): Strengthen local "insn" from
10640 (reset_debug_uses_in_loop): Likewise.
10641 (analyze_insn_to_expand_var): Likewise for param "insn".
10642 (analyze_iv_to_split_insn): Likewise.
10643 (analyze_insns_in_loop): Likewise for local "insn".
10644 (insert_base_initialization): Likewise for param
10645 "insn" and local "seq".
10646 (split_iv): Likewise for param "insn" and local "seq".
10647 (expand_var_during_unrolling): Likewise for param "insn".
10648 (insert_var_expansion_initialization): Likewise for local "seq".
10649 (combine_var_copies_in_loop_exit): Likewise.
10650 (combine_var_copies_in_loop_exit): Likewise for locals "seq" and
10652 (maybe_strip_eq_note_for_split_iv): Likewise for param "insn".
10653 (apply_opt_in_copies): Likewise for locals "insn", "orig_insn",
10656 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10658 * cfgloop.h (iv_analyze): Strengthen param 1 "insn" from rtx to
10660 (iv_analyze_result): Likewise.
10661 (iv_analyze_expr): Likewise.
10664 * loop-iv.c (iv_get_reaching_def): Strengthen param "insn" and
10665 local "def_insn" from rtx to rtx_insn *.
10666 (get_biv_step_1): Likewise for local "insn".
10667 (iv_analyze_expr): Likewise for param "insn".
10668 (iv_analyze_def): Likewise for local "insn".
10669 (iv_analyze_op): Likewise for param "insn".
10670 (iv_analyze): Likewise.
10671 (iv_analyze_result): Likewise.
10673 (suitable_set_for_replacement): Likewise.
10674 (simplify_using_initial_values): Likewise for local "insn".
10675 (iv_number_of_iterations): Likewise for param "insn".
10676 (check_simple_exit): Add checked cast to rtx_insn when invoking
10677 iv_number_of_iterations for now (until get_condition is
10680 * loop-unroll.c (analyze_iv_to_split_insn): Strengthen param
10681 "insn" from rtx to rtx_insn *.
10682 (analyze_insns_in_loop): Likewise for local "insn".
10684 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10686 * loop-invariant.c (struct use): Strengthen field "insn" from rtx
10688 (struct invariant): Likewise.
10689 (hash_invariant_expr_1): Likewise for param "insn".
10690 (invariant_expr_equal_p): Likewise for param "insn1", "insn2".
10691 (find_exits): Likewise for local "insn".
10692 (create_new_invariant): Likewise for param "insn".
10693 (check_dependencies): Likewise.
10694 (find_invariant_insn): Likewise.
10695 (record_uses): Likewise.
10696 (find_invariants_insn): Likewise.
10697 (find_invariants_bb): Likewise for local "insn".
10698 (get_pressure_class_and_nregs): Likewise for param "insn".
10699 (calculate_loop_reg_pressure): Likewise for local "insn".
10701 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10703 * loop-doloop.c (doloop_valid_p): Strengthen local "insn" from rtx
10705 (add_test): Likewise for locals "seq", "jump".
10706 (doloop_modify): Likewise for locals "sequence", "jump_insn".
10708 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10710 * rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
10712 (rebuild_jump_labels_chain): Likewise for param "chain".
10714 * cfgexpand.c (pass_expand::execute): Add checked cast to
10715 rtx_insn * when calling rebuild_jump_labels_chain in region where
10716 we know e->insns.r is non-NULL.
10718 * jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
10720 (rebuild_jump_labels): Likewise.
10721 (rebuild_jump_labels_chain): Likewise for param "chain".
10722 (cleanup_barriers): Likewise for locals "insn", "next", "prev".
10723 (init_label_info): Likewise for param "f".
10724 (maybe_propagate_label_ref): Likewise for params "jump_insn",
10725 "prev_nonjump_insn".
10726 (mark_all_labels): Likewise for param "f" and locals "insn",
10727 "prev_nonjump_insn".
10729 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10731 * ira-int.h (struct ira_allocno_copy): Strengthen field "insn"
10732 from rtx to rtx_insn *insn.
10733 (ira_create_copy): Strengthen param "insn" from rtx to rtx_insn *.
10734 (ira_add_allocno_copy): Likewise.
10735 * ira-build.c (find_allocno_copy): Strengthen param "insn" from
10737 (ira_create_copy): Likewise.
10738 (ira_add_allocno_copy): Likewise.
10739 (create_bb_allocnos): Likewise for local "insn".
10740 * ira-conflicts.c (process_regs_for_copy): Likewise for param "insn".
10741 (process_reg_shuffles): Update NULL_RTX to NULL in invocation of
10742 process_regs_for_copy for rtx_insn * param.
10743 (add_insn_allocno_copies): Strengthen param "insn" from rtx to
10744 rtx_insn *insn. Update NULL_RTX to NULL in invocation of
10745 process_regs_for_copy for rtx_insn * param.
10746 (add_copies): Strengthen local "insn" from rtx to rtx_insn *insn.
10747 * ira-costs.c (record_reg_classes): Likewise for param "insn".
10748 (record_operand_costs): Likewise.
10749 (scan_one_insn): Likewise for return type, and for param "insn".
10750 (process_bb_for_costs): Likewise for local "insn".
10751 (process_bb_node_for_hard_reg_moves): Likewise.
10752 * ira-emit.c (struct move): Likewise for field "insn".
10753 (create_move): Eliminate use of NULL_RTX when dealing with an
10755 (emit_move_list): Strengthen return type and locals "result",
10756 "insn" from rtx to rtx_insn *insn.
10757 (emit_moves): Likewise for locals "insns", "tmp".
10758 (ira_emit): Likewise for local "insn".
10759 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise for param
10761 (find_call_crossed_cheap_reg): Likewise.
10762 (process_bb_node_lives): Likewise for local "insn".
10763 * ira.c (decrease_live_ranges_number): Likewise.
10764 (compute_regs_asm_clobbered): Likewise.
10765 (build_insn_chain): Likewise.
10766 (find_moveable_pseudos): Likewise, also locals "def_insn",
10767 "use_insn", "x". Also strengthen local "closest_uses" from rtx *
10768 to rtx_insn **. Add a checked cast when assigning from
10769 "closest_use" into closest_uses array in a region where we know
10770 it's a non-NULL insn.
10771 (interesting_dest_for_shprep): Strengthen param "insn" from rtx
10773 (split_live_ranges_for_shrink_wrap): Likewise for locals "insn",
10774 "last_interesting_insn", "uin".
10775 (move_unallocated_pseudos): Likewise for locals "def_insn",
10776 "move_insn", "newinsn".
10778 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10780 * internal-fn.c (ubsan_expand_si_overflow_addsub_check):
10781 Strengthen locals "done_label", "do_error" from rtx to
10783 (ubsan_expand_si_overflow_addsub_check): Strengthen local "last"
10784 from rtx to rtx_insn *. Strengthen local "sub_check from rtx to
10786 (ubsan_expand_si_overflow_neg_check): Likewise for locals
10787 "done_label", "do_error" to rtx_code_label * and local "last" to
10789 (ubsan_expand_si_overflow_mul_check): Likewise for locals
10790 "done_label", "do_error", "large_op0", "small_op0_large_op1",
10791 "one_small_one_large", "both_ops_large", "after_hipart_neg",
10792 "after_lopart_neg", "do_overflow", "hipart_different" to
10793 rtx_code_label * and local "last" to rtx_insn *.
10795 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10797 * init-regs.c (initialize_uninitialized_regs): Strengthen locals
10798 "insn" and "move_insn" from rtx to rtx_insn *.
10800 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10802 * ifcvt.c (count_bb_insns): Strengthen local "insn" from rtx to
10804 (cheap_bb_rtx_cost_p): Likewise.
10805 (first_active_insn): Likewise for return type and local "insn".
10806 (last_active_insn): Likewise for return type and locals "insn",
10808 (struct noce_if_info): Likewise for fields "jump", "insn_a",
10810 (end_ifcvt_sequence): Likewise for return type and locals "insn",
10812 (noce_try_move): Likewise for local "seq".
10813 (noce_try_store_flag): Likewise.
10814 (noce_try_store_flag_constants): Likewise.
10815 (noce_try_addcc): Likewise.
10816 (noce_try_store_flag_mask): Likewise.
10817 (noce_try_cmove): Likewise.
10818 (noce_try_minmax): Likewise.
10819 (noce_try_abs): Likewise.
10820 (noce_try_sign_mask): Likewise.
10821 (noce_try_bitop): Likewise.
10822 (noce_can_store_speculate_p): Likewise for local "insn".
10823 (noce_process_if_block): Likewise for locals "insn_a", "insn_b",
10825 (check_cond_move_block): Likewise for local "insn".
10826 (cond_move_convert_if_block): Likewise.
10827 (cond_move_process_if_block): Likewise for locals "seq",
10829 (noce_find_if_block): Likewise for local "jump".
10830 (merge_if_block): Likewise for local "last".
10831 (block_jumps_and_fallthru_p): Likewise for locals "insn", "end".
10832 (find_cond_trap): Likewise for locals "trap", "jump", "newjump".
10833 (block_has_only_trap): Likewise for return type and local "trap".
10834 (find_if_case_1): Likewise for local "jump".
10835 (dead_or_predicable): Likewise for locals "head", "end", "jump",
10838 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10840 * hw-doloop.h (struct hwloop_info_d): Strengthen fields
10841 "last_insn", "loop_end" from rtx to rtx_insn *.
10843 * hw-doloop.c (scan_loop): Likewise for local "insn".
10844 (discover_loop): Likewise for param "tail_insn".
10845 (discover_loops): Likewise for local "tail".
10847 * config/bfin/bfin.c (hwloop_optimize): For now, add a checked
10848 cast to rtx_insn * when assigning from an rtx local to a
10849 hwloop_info's "last_insn" field.
10851 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10853 * haifa-sched.c (bb_header): Strengthen from rtx * to rtx_insn **.
10854 (add_delay_dependencies): Strengthen local "pro" from rtx to
10856 (recompute_todo_spec): Likewise.
10857 (dep_cost_1): Likewise for locals "insn", "used".
10858 (schedule_insn): Likewise for local "dbg".
10859 (schedule_insn): Likewise for locals "pro", "next".
10860 (unschedule_insns_until): Likewise for local "con".
10861 (restore_pattern): Likewise for local "next".
10862 (estimate_insn_tick): Likewise for local "pro".
10863 (resolve_dependencies): Likewise for local "next".
10864 (fix_inter_tick): Likewise.
10865 (fix_tick_ready): Likewise for local "pro".
10866 (add_to_speculative_block): Likewise for locals "check", "twin",
10868 (sched_extend_bb): Likewise for locals "end", "insn".
10869 (init_before_recovery): Likewise for local "x".
10870 (sched_create_recovery_block): Likewise for local "barrier".
10871 (create_check_block_twin): Likewise for local "pro".
10872 (fix_recovery_deps): Likewise for locals "note", "insn", "jump",
10874 (unlink_bb_notes): Update for change to type of bb_header.
10875 Strengthen locals "prev", "label", "note", "next" from rtx to
10877 (clear_priorities): Likewise for local "pro".
10879 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10881 * gcse.c (struct occr): Strengthen field "insn" from rtx to
10883 (test_insn): Likewise for this global.
10884 (oprs_unchanged_p): Strengthen param "insn" from const_rtx to
10886 (oprs_anticipatable_p): Likewise.
10887 (oprs_available_p): Likewise.
10888 (insert_expr_in_table): Strengthen param "insn" from rtx to
10890 (hash_scan_set): Likewise.
10891 (hash_scan_clobber): Likewise.
10892 (hash_scan_call): Likewise.
10893 (hash_scan_insn): Likewise.
10894 (compute_hash_table_work): Likewise for local "insn".
10895 (process_insert_insn): Likewise for return type and local "pat".
10896 (insert_insn_end_basic_block): Likewise for locals "new_insn",
10897 "pat", "pat_end", "maybe_cc0_setter".
10898 (pre_edge_insert): Likewise for local "insn".
10899 (pre_insert_copy_insn): Likewise for param "insn".
10900 (pre_insert_copies): Likewise for local "insn".
10901 (struct set_data): Likewise for field "insn".
10902 (single_set_gcse): Likewise for param "insn".
10903 (gcse_emit_move_after): Likewise.
10904 (pre_delete): Likewise for local "insn".
10905 (update_bb_reg_pressure): Likewise for param "from" and local
10907 (should_hoist_expr_to_dom): Likewise for param "from".
10908 (hoist_code): Likewise for local "insn".
10909 (get_pressure_class_and_nregs): Likewise for param "insn".
10910 (calculate_bb_reg_pressure): Likewise for local "insn".
10911 (compute_ld_motion_mems): Likewise.
10913 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10915 * genpeep.c (main): Rename param back from "uncast_ins1" to
10916 "ins1", strengthening from rtx to rtx_insn *. Drop now-redundant
10919 * output.h (peephole): Strengthen param from rtx to rtx_insn *.
10921 2014-08-22 Michael Meissner <meissner@linux.vnet.ibm.com>
10924 * doc/md.texi (Machine Constraints): Update PowerPC wi constraint
10925 documentation to state it is only for VSX operations.
10927 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
10928 constraint only active if VSX.
10930 * config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
10931 wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
10932 (lfiwzx): Likewise.
10934 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10936 * fwprop.c (single_def_use_dom_walker::before_dom_children):
10937 Strengthen local "insn" from rtx to rtx_insn *.
10938 (use_killed_between): Likewise for param "target_insn".
10939 (all_uses_available_at): Likewise for param "target_insn" and
10941 (update_df_init): Likewise for params "def_insn", "insn".
10942 (update_df): Likewise for param "insn".
10943 (try_fwprop_subst): Likewise for param "def_insn" and local
10945 (free_load_extend): Likewise for param "insn".
10946 (forward_propagate_subreg): Likewise for param "def_insn" and
10948 (forward_propagate_asm): Likewise for param "def_insn" and local
10950 (forward_propagate_and_simplify): Likewise for param "def_insn"
10951 and local "use_insn".
10952 (forward_propagate_into): Likewise for locals "def_insn" and
10955 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10957 * function.c (emit_initial_value_sets): Strengthen local "seq"
10958 from rtx to rtx_insn *.
10959 (instantiate_virtual_regs_in_insn): Likewise for param "insn" and
10961 (instantiate_virtual_regs): Likewise for local "insn".
10962 (assign_parm_setup_reg): Likewise for locals "linsn", "sinsn".
10963 (reorder_blocks_1): Likewise for param "insns" and local "insn".
10964 (expand_function_end): Likewise for locals "insn" and "seq".
10965 (epilogue_done): Likewise for local "insn".
10966 (thread_prologue_and_epilogue_insns): Likewise for locals "prev",
10968 (reposition_prologue_and_epilogue_notes): Likewise for locals
10969 "insn", "last", "note", "first".
10970 (match_asm_constraints_1): Likewise for param "insn" and local "insns".
10971 (pass_match_asm_constraints::execute): Likewise for local "insn".
10973 2014-08-22 David Malcolm <dmalcolm@redhat.com>
10975 * output.h (final_scan_insn): Strengthen return type from rtx to
10977 (final_forward_branch_p): Likewise for param.
10978 (current_output_insn): Likewise for this global.
10980 * final.c (rtx debug_insn): Likewise for this variable.
10981 (current_output_insn): Likewise.
10982 (get_attr_length_1): Rename param "insn" to "uncast_insn",
10983 adding "insn" back in as an rtx_insn * with a checked cast, so
10984 that macro ADJUST_INSN_LENGTH can be passed an rtx_insn * as the
10986 (compute_alignments): Strengthen local "label" from rtx to
10988 (shorten_branches): Rename param from "first" to "uncast_first",
10989 introducing a new local rtx_insn * "first" using a checked cast to
10990 effectively strengthen "first" from rtx to rtx_insn * without
10991 affecting the type signature. Strengthen locals "insn", "seq",
10992 "next", "label" from rtx to rtx_insn *.
10993 (change_scope): Strengthen param "orig_insn" and local "insn" from
10995 (final_start_function): Rename param from "first" to "uncast_first",
10996 introducing a new local rtx_insn * "first" using a checked cast to
10997 effectively strengthen "first" from rtx to rtx_insn * without
10998 affecting the type signature. Strengthen local "insn" from rtx to
11000 (dump_basic_block_info): Strengthen param "insn" from rtx to
11002 (final): Rename param from "first" to "uncast_first",
11003 introducing a new local rtx_insn * "first" using a checked cast to
11004 effectively strengthen "first" from rtx to rtx_insn * without
11005 affecting the type signature. Strengthen locals "insn", "next"
11006 from rtx to rtx_insn *.
11007 (output_alternate_entry_point): Strengthen param "insn" from rtx to
11009 (call_from_call_insn): Strengthen param "insn" from rtx to
11011 (final_scan_insn): Rename param from "insn" to "uncast_insn",
11012 introducing a new local rtx_insn * "insn" using a checked cast to
11013 effectively strengthen "insn" from rtx to rtx_insn * without
11014 affecting the type signature. Strengthen return type and locals
11015 "next", "note", "prev", "new_rtx" from rtx to rtx_insn *. Remove
11016 now-redundant checked cast to rtx_insn * from both invocations of
11017 debug_hooks->var_location. Convert CALL_P into a dyn_cast,
11018 introducing a local "call_insn" for use when invoking
11019 call_from_call_insn.
11020 (notice_source_line): Strengthen param "insn" from rtx to
11022 (leaf_function_p): Likewise for local "insn".
11023 (final_forward_branch_p): Likewise.
11024 (leaf_renumber_regs): Likewise for param "first".
11025 (rest_of_clean_state): Likewise for locals "insn" and "next".
11026 (self_recursive_call_p): Likewise for param "insn".
11027 (collect_fn_hard_reg_usage): Likewise for local "insn".
11028 (get_call_fndecl): Likewise for param "insn".
11029 (get_call_cgraph_rtl_info): Likewise.
11030 (get_call_reg_set_usage): Rename param from "insn" to "uncast_insn",
11031 introducing a new local rtx_insn * "insn" using a checked cast to
11032 effectively strengthen "insn" from rtx to rtx_insn * without
11033 affecting the type signature.
11035 * config/arc/arc.c (arc_final_prescan_insn): For now, add checked
11036 cast when assigning from param "insn" to current_output_insn.
11037 (arc_pad_return): Strengthen local "insn" from rtx to rtx_insn *
11038 so that we can assign it back to current_output_insn.
11040 2014-08-20 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
11042 * config/avr/avr-mcus.def: Remove atmega26hvg, atmega64rfa2,
11043 atmega48hvf, atxmega32x1, atmxt224, atmxt224e, atmxt336s,
11044 atmxt540s and atmxt540sreva devices.
11045 * config/avr/avr-tables.opt: Regenerate.
11046 * config/avr/t-multilib: Regenerate.
11047 * doc/avr-mmcu.texi: Regenerate.
11049 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11051 * expr.c (convert_move): Strengthen local "insns" from rtx to
11053 (emit_block_move_via_loop): Strengthen locals "cmp_label" and
11054 "top_label" from rtx to rtx_code_label *.
11055 (move_block_to_reg): Strengthen local "insn", "last" from rtx to
11057 (emit_single_push_insn): Likewise for locals "prev", "last".
11058 (store_expr): Strengthen locals "lab1", "lab2", "label" from rtx
11059 to rtx_code_label *.
11060 (store_constructor): Likewise for locals "loop_start", "loop_end".
11061 (expand_cond_expr_using_cmove): Strengthen local "seq" from rtx to
11063 (expand_expr_real_2): Likewise.
11064 (expand_expr_real_1): Strengthen local "label" from rtx to
11067 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11069 * expmed.c (store_bit_field_using_insv): Strengthen local "last"
11070 from rtx to rtx_insn *.
11071 (store_bit_field_1): Likewise.
11072 (extract_bit_field_1): Likewise.
11073 (expand_mult_const): Likewise for local "insns".
11074 (expmed_mult_highpart): Strengthen local "label" from rtx to
11076 (expand_smod_pow2): Likewise.
11077 (expand_sdiv_pow2): Likewise.
11078 (expand_divmod): Strengthen locals "last", "insn" from rtx to
11079 rtx_insn *. Strengthen locals "label", "label1", "label2",
11080 "label3", "label4", "label5", "lab" from rtx to rtx_code_label *.
11081 (emit_cstore): Strengthen local "last" from rtx to rtx_insn *.
11082 (emit_store_flag): Likewise.
11083 (emit_store_flag_force): Strengthen local "label" from rtx to
11085 (do_cmp_and_jump): Likewise for param "label".
11087 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11089 * explow.c (force_reg): Strengthen local "insn" from rtx to
11091 (adjust_stack_1): Likewise.
11092 (allocate_dynamic_stack_space): Likewise. Strengthen locals
11093 "final_label", "available_label", "space_available" from rtx to
11095 (probe_stack_range): Likewise for locals "loop_lab", "end_lab".
11096 (anti_adjust_stack_and_probe): Likewise.
11098 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11100 * except.h (sjlj_emit_function_exit_after): Strengthen param
11101 "after" from rtx to rtx_insn *. This is only called with
11102 result of get_last_insn (in function.c) so type-change should be
11105 * function.h (struct rtl_eh): Strengthen field "ehr_label" from
11106 rtx to rtx_code_label *, and field "sjlj_exit_after" from rtx
11107 to rtx_insn *. These fields are only used from except.c so this
11108 type-change should be self-contained to this patch.
11110 * except.c (emit_to_new_bb_before): Strengthen param "seq" and
11111 local "last" from rtx to rtx_insn *.
11112 (dw2_build_landing_pads): Likewise for local "seq".
11113 (sjlj_mark_call_sites): Likewise for locals "insn", "before", p".
11114 (sjlj_emit_function_enter): Strengthen param "dispatch_label" from
11115 rtx to rtx_code_label *. Strengthen locals "fn_begin", "seq" from
11117 (sjlj_emit_function_exit_after): Strengthen param "after" from rtx
11119 (sjlj_emit_function_exit): Likewise for locals "seq", "insn".
11120 (sjlj_emit_dispatch_table): Likewise for locals "seq", "seq2".
11121 (sjlj_build_landing_pads): Replace NULL_RTX with NULL when
11122 referring to an insn. Strengthen local "dispatch_label" from
11123 rtx to rtx_code_label *.
11124 (set_nothrow_function_flags): Strengthen local "insn" from rtx to
11126 (expand_eh_return): Strengthen local "around_label" from
11127 rtx to rtx_code_label *.
11128 (convert_to_eh_region_ranges): Strengthen locals "iter",
11129 "last_action_insn", "first_no_action_insn",
11130 "first_no_action_insn_before_switch",
11131 "last_no_action_insn_before_switch", from rtx to rtx_insn *.
11133 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11135 * dwarf2out.c (last_var_location_insn): Strengthen this variable
11136 from rtx to rtx_insn *.
11137 (cached_next_real_insn): Likewise.
11138 (dwarf2out_end_epilogue): Replace use of NULL_RTX with NULL when
11139 working with insns.
11140 (dwarf2out_var_location): Strengthen locals "next_real",
11141 "next_note", "expected_next_loc_note", "last_start", "insn" from
11144 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11146 * dwarf2cfi.c (add_cfis_to_fde): Strengthen locals "insn", "next"
11147 from rtx to rtx_insn *.
11148 (create_pseudo_cfg): Likewise for local "insn".
11150 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11152 * df-core.c (df_bb_regno_first_def_find): Strengthen local "insn"
11153 from rtx to rtx_insn *.
11154 (df_bb_regno_last_def_find): Likewise.
11156 * df-problems.c (df_rd_bb_local_compute): Likewise.
11157 (df_lr_bb_local_compute): Likewise.
11158 (df_live_bb_local_compute): Likewise.
11159 (df_chain_remove_problem): Likewise.
11160 (df_chain_create_bb): Likewise.
11161 (df_word_lr_bb_local_compute): Likewise.
11162 (df_remove_dead_eq_notes): Likewise for param "insn".
11163 (df_note_bb_compute): Likewise for local "insn".
11164 (simulate_backwards_to_point): Likewise.
11165 (df_md_bb_local_compute): Likewise.
11167 * df-scan.c (df_scan_free_bb_info): Likewise.
11168 (df_scan_start_dump): Likewise.
11169 (df_scan_start_block): Likewise.
11170 (df_install_ref_incremental): Likewise for local "insn".
11171 (df_insn_rescan_all): Likewise.
11172 (df_reorganize_refs_by_reg_by_insn): Likewise.
11173 (df_reorganize_refs_by_insn_bb): Likewise.
11174 (df_recompute_luids): Likewise.
11175 (df_bb_refs_record): Likewise.
11176 (df_update_entry_exit_and_calls): Likewise.
11177 (df_bb_verify): Likewise.
11179 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11181 * ddg.h (struct ddg_node): Strengthen fields "insn" and
11182 "first_note" from rtx to rtx_insn *.
11183 (get_node_of_insn): Likewise for param 2 "insn".
11184 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
11186 * ddg.c (mem_read_insn_p): Strengthen param "insn" from rtx to
11188 (mem_write_insn_p): Likewise.
11189 (mem_access_insn_p): Likewise.
11190 (autoinc_var_is_used_p): Likewise for params "def_insn" and "use_insn".
11191 (def_has_ccmode_p): Likewise for param "insn".
11192 (add_cross_iteration_register_deps): Likewise for locals
11193 "def_insn" and "use_insn".
11194 (insns_may_alias_p): Likewise for params "insn1" and "insn2".
11195 (build_intra_loop_deps): Likewise for local "src_insn".
11196 (create_ddg): Strengthen locals "insn" and "first_note" from rtx
11198 (get_node_of_insn): Likewise for param "insn".
11200 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11202 * dce.c (worklist): Strengthen from vec<rtx> to vec<rtx_insn *>.
11203 (deletable_insn_p): Strengthen param "insn" from rtx to
11204 rtx_insn *. Add checked cast to rtx_call_insn when invoking
11205 find_call_stack_args, since this is guarded by CALL_P (insn).
11206 (marked_insn_p): Strengthen param "insn" from rtx to
11208 (mark_insn): Likewise. Add checked cast to rtx_call_insn when
11209 invoking find_call_stack_args, since this is guarded by
11211 (mark_nonreg_stores_1): Strengthen cast of "data" from rtx to
11212 rtx_insn *; we know this is an insn since this was called by
11213 mark_nonreg_stores.
11214 (mark_nonreg_stores_2): Likewise.
11215 (mark_nonreg_stores): Strengthen param "insn" from rtx to
11217 (find_call_stack_args): Strengthen param "call_insn" from rtx to
11218 rtx_call_insn *; strengthen locals "insn" and "prev_insn" from rtx
11220 (remove_reg_equal_equiv_notes_for_defs): Strengthen param "insn"
11221 from rtx to rtx_insn *.
11222 (reset_unmarked_insns_debug_uses): Likewise for locals "insn",
11223 "next", "ref_insn".
11224 (delete_unmarked_insns): Likewise for locals "insn", "next".
11225 (prescan_insns_for_dce): Likewise for locals "insn", "prev".
11226 (mark_reg_dependencies): Likewise for param "insn".
11227 (rest_of_handle_ud_dce): Likewise for local "insn".
11228 (word_dce_process_block): Likewise.
11229 (dce_process_block): Likewise.
11231 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11233 * cse.c (struct qty_table_elem): Strengthen field "const_insn"
11234 from rtx to rtx_insn *.
11235 (struct change_cc_mode_args): Likewise for field "insn".
11236 (this_insn): Strengthen from rtx to rtx_insn *.
11237 (make_new_qty): Replace use of NULL_RTX with NULL when dealing
11239 (validate_canon_reg): Strengthen param "insn" from rtx to
11241 (canon_reg): Likewise.
11242 (fold_rtx): Likewise. Replace use of NULL_RTX with NULL when
11244 (record_jump_equiv): Strengthen param "insn" from rtx to
11246 (try_back_substitute_reg): Likewise, also for locals "prev",
11248 (find_sets_in_insn): Likewise for param "insn".
11249 (canonicalize_insn): Likewise.
11250 (cse_insn): Likewise. Add a checked cast.
11251 (invalidate_from_clobbers): Likewise for param "insn".
11252 (invalidate_from_sets_and_clobbers): Likewise.
11253 (cse_process_notes_1): Replace use of NULL_RTX with NULL when
11255 (cse_prescan_path): Strengthen local "insn" from rtx to
11257 (cse_extended_basic_block): Likewise for locals "insn" and
11259 (cse_main): Likewise for param "f".
11260 (check_for_label_ref): Likewise for local "insn".
11261 (set_live_p): Likewise for second param ("insn").
11262 (insn_live_p): Likewise for first param ("insn") and for local
11264 (cse_change_cc_mode_insn): Likewise for first param "insn".
11265 (cse_change_cc_mode_insns): Likewise for first and second params
11267 (cse_cc_succs): Likewise for locals "insns", "last_insns", "insn"
11269 (cse_condition_code_reg): Likewise for locals "last_insn", "insn",
11272 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
11273 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11274 Anna Tikhonova <anna.tikhonova@intel.com>
11275 Ilya Tocar <ilya.tocar@intel.com>
11276 Andrey Turetskiy <andrey.turetskiy@intel.com>
11277 Ilya Verbin <ilya.verbin@intel.com>
11278 Kirill Yukhin <kirill.yukhin@intel.com>
11279 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11281 * config/i386/subst.md (define_subst_attr "mask_avx512bw_condition"):
11283 * config/i386/sse.md
11284 (define_mode_iterator VI248_AVX2): Delete.
11285 (define_mode_iterator VI2_AVX2_AVX512BW): New.
11286 (define_mode_iterator VI48_AVX2): Ditto.
11287 (define_insn <shift_insn><mode>3): Delete.
11288 (define_insn "<shift_insn><mode>3<mask_name>" with
11289 VI2_AVX2_AVX512BW): New.
11290 (define_insn "<shift_insn><mode>3<mask_name>" with
11293 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
11294 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11295 Anna Tikhonova <anna.tikhonova@intel.com>
11296 Ilya Tocar <ilya.tocar@intel.com>
11297 Andrey Turetskiy <andrey.turetskiy@intel.com>
11298 Ilya Verbin <ilya.verbin@intel.com>
11299 Kirill Yukhin <kirill.yukhin@intel.com>
11300 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11302 * config/i386/sse.md
11303 (define_mode_iterator VI4F_BRCST32x2): New.
11304 (define_mode_attr 64x2_mode): Ditto.
11305 (define_mode_attr 32x2mode): Ditto.
11306 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>"
11307 with VI4F_BRCST32x2): Ditto.
11308 (define_insn "<mask_codefor>avx512vl_broadcast<mode><mask_name>_1"
11309 with V16FI mode iterator): Ditto.
11310 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
11311 with V16FI): Ditto.
11312 (define_insn "<mask_codefor>avx512dq_broadcast<mode><mask_name>_1"
11313 with VI8F_BRCST64x2): Ditto.
11315 2014-08-22 Alexander Ivchenko <alexander.ivchenko@intel.com>
11316 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
11317 Anna Tikhonova <anna.tikhonova@intel.com>
11318 Ilya Tocar <ilya.tocar@intel.com>
11319 Andrey Turetskiy <andrey.turetskiy@intel.com>
11320 Ilya Verbin <ilya.verbin@intel.com>
11321 Kirill Yukhin <kirill.yukhin@intel.com>
11322 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
11324 * config/i386/sse.md
11325 (define_mode_iterator VI8_AVX512VL): New.
11326 (define_insn "avx512cd_maskb_vec_dup<mode>"): Macroize.
11328 2014-08-22 Kirill Yukhin <kirill.yukhin@intel.com>
11330 * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete.
11331 (define_mode_iterator V48_AVX512VL): New.
11332 (define_mode_iterator V12_AVX512VL): Ditto.
11333 (define_insn <avx512>_load<mode>_mask): Split into two similar
11334 patterns which use different mode iterators: V48_AVX512VL V12_AVX512VL.
11335 Refactor output template.
11336 (define_insn "<avx512>_store<mode>_mask"): Ditto.
11338 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11340 * cprop.c (struct occr): Strengthen field "insn" from rtx to
11342 (reg_available_p): Likewise for param "insn".
11343 (insert_set_in_table): Likewise.
11344 (hash_scan_set): Likewise.
11345 (hash_scan_insn): Likewise.
11346 (make_set_regs_unavailable): Likewise.
11347 (compute_hash_table_work): Likewise for local "insn".
11348 (reg_not_set_p): Strengthen param "insn" from const_rtx to
11350 (mark_oprs_set): Strengthen param "insn" from rtx to rtx_insn *.
11351 (try_replace_reg): Likewise.
11352 (find_avail_set): Likewise.
11353 (cprop_jump): Likewise for params "setcc", "jump".
11354 (constprop_register): Likewise for param "insn".
11355 (cprop_insn): Likewise.
11356 (do_local_cprop): Likewise.
11357 (local_cprop_pass): Likewise for local "insn".
11358 (bypass_block): Likewise for params "setcc" and "jump".
11359 (bypass_conditional_jumps): Likewise for locals "setcc" and
11361 (one_cprop_pass): Likewise for local "insn".
11363 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11365 * compare-elim.c (struct comparison_use): Strengthen field "insn"
11366 from rtx to rtx_insn *.
11367 (struct comparison): Likewise, also for field "prev_clobber".
11368 (conforming_compare): Likewise for param "insn".
11369 (arithmetic_flags_clobber_p): Likewise.
11370 (find_flags_uses_in_insn): Likewise.
11371 (find_comparison_dom_walker::before_dom_children): Likewise for
11372 locals "insn", "next", "last_clobber".
11373 (try_eliminate_compare): Likewise for locals "insn", "bb_head".
11375 2014-08-22 David Malcolm <dmalcolm@redhat.com>
11377 * combine-stack-adj.c (struct csa_reflist): Strengthen field
11378 "insn" from rtx to rtx_insn *.
11379 (single_set_for_csa): Likewise for param "insn".
11380 (record_one_stack_ref): Likewise.
11381 (try_apply_stack_adjustment): Likewise.
11382 (struct record_stack_refs_data): Likewise for field "insn".
11383 (maybe_move_args_size_note): Likewise for params "last" and "insn".
11384 (prev_active_insn_bb): Likewise for return type and param "insn".
11385 (next_active_insn_bb): Likewise.
11386 (force_move_args_size_note): Likewise for params "prev" and "last"
11387 and locals "test", "next_candidate", "prev_candidate".
11388 (combine_stack_adjustments_for_block): Strengthen locals
11389 "last_sp_set", "last2_sp_set", "insn", "next" from rtx to
11392 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11394 * combine.c (i2mod): Strengthen this variable from rtx to rtx_insn *.
11395 (struct reg_stat_struct): Likewise for fields "last_death", "last_set".
11396 (subst_insn): Likewise for this variable.
11397 (added_links_insn): Likewise.
11398 (struct insn_link): Likewise for field "insn".
11399 (alloc_insn_link): Likewise for param "insn".
11400 (struct undobuf): Likewise for field "other_insn".
11401 (find_single_use): Likewise for param "insn" and local "next".
11402 (combine_validate_cost): Likewise for params "i0", "i1", "i2", "i3".
11403 (delete_noop_moves): Likewise for locals "insn", "next".
11404 (create_log_links): Likewise for locals "insn", "use_insn".
11405 Strengthen local "next_use" from rtx * to rtx_insn **.
11406 (insn_a_feeds_b): Likewise for params "a", "b".
11407 (combine_instructions): Likewise for param "f" and locals "insn",
11408 "next", "prev", "first", "last_combined_insn", "link", "link1",
11409 "temp". Replace use of NULL_RTX with NULL when referring to
11411 (setup_incoming_promotions): Likewise for param "first"
11412 (set_nonzero_bits_and_sign_copies): Likewise for local "insn".
11413 (can_combine_p): Likewise for params "insn", "i3", "pred",
11414 "pred2", "succ", "succ2" and for local "p".
11415 (combinable_i3pat): Likewise for param "i3".
11416 (cant_combine_insn_p): Likewise for param "insn".
11417 (likely_spilled_retval_p): Likewise.
11418 (adjust_for_new_dest): Likewise.
11419 (update_cfg_for_uncondjump): Likewise, also for local "insn".
11420 (try_combine): Likewise for return type and for params "i3", "i2",
11421 "i1", "i0", "last_combined_insn", and for locals "insn",
11422 "cc_use_insn", "p", "first", "last", "i2_insn", "i1_insn",
11423 "i0_insn". Eliminate local "tem" in favor of new locals
11424 "tem_note" and "tem_insn", the latter being an rtx_insn *. Add a
11425 checked cast for now to rtx_insn * on the return type of
11426 gen_rtx_INSN. Replace use of NULL_RTX with NULL when referring to
11428 (find_split_point): Strengthen param "insn" from rtx to
11430 (simplify_set): Likewise for local "other_insn".
11431 (recog_for_combine): Likewise for param "insn".
11432 (record_value_for_reg): Likewise.
11433 (record_dead_and_set_regs_1): Likewise for local
11434 "record_dead_insn".
11435 (record_dead_and_set_regs): Likewise for param "insn".
11436 (record_promoted_value): Likewise.
11437 (check_promoted_subreg): Likewise.
11438 (get_last_value_validate): Likewise.
11439 (reg_dead_at_p): Likewise.
11440 (move_deaths): Likewise for param "to_insn".
11441 (distribute_notes): Likewise for params "from_insn", "i3", "i2"
11442 and locals "place", "place2", "cc0_setter". Eliminate local "tem
11443 in favor of new locals "tem_note" and "tem_insn", the latter being
11445 (distribute_links): Strengthen locals "place", "insn" from rtx to
11448 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11450 * cfgrtl.c (can_delete_note_p): Require a const rtx_note * rather
11452 (can_delete_label_p): Require a const rtx_code_label * rather than
11454 (delete_insn): Add checked cast to rtx_code_label * when we know
11455 we're dealing with LABEL_P (insn). Strengthen local "bb_note" from
11457 (delete_insn_chain): Strengthen locals "prev" and "current" from
11458 rtx to rtx_insn *. Add a checked cast when assigning from
11459 "finish" (strengthening the params will come later). Add a
11460 checked cast to rtx_note * in region where we know
11462 (rtl_delete_block): Strengthen locals "insn" and "end" from rtx to
11464 (compute_bb_for_insn): Likewise.
11465 (free_bb_for_insn): Likewise for local "insn".
11466 (compute_bb_for_insn): Likewise.
11467 (update_bb_for_insn_chain): Strengthen params "begin", "end" and
11468 local "insn" from rtx to rtx_insn *
11469 (flow_active_insn_p): Require a const rtx_insn * rather than a
11471 (contains_no_active_insn_p): Strengthen local "insn" from rtx to
11473 (can_fallthru): Likewise for locals "insn" and "insn2".
11474 (bb_note): Likewise for local "note".
11475 (first_insn_after_basic_block_note): Likewise for local "note" and
11477 (rtl_split_block): Likewise for locals "insn" and "next".
11478 (unique_locus_on_edge_between_p): Likewise for locals "insn" and
11480 (rtl_merge_blocks): Likewise for locals "b_head", "b_end",
11481 "a_end", "del_first", "del_last", "b_debug_start", "b_debug_end",
11483 (try_redirect_by_replacing_jump): Likewise for locals "insn" (both of
11484 them), "kill_from", "barrier", "new_insn".
11485 (patch_jump_insn): Likewise for params "insn", "old_label".
11486 (redirect_branch_edge): Likewise for locals "old_label", "insn".
11487 (force_nonfallthru_and_redirect): Likewise for locals "insn",
11488 "old_label", "new_label".
11489 (rtl_tidy_fallthru_edge): Likewise for local "q".
11490 (rtl_split_edge): Likewise for locals "before", "last".
11491 (commit_one_edge_insertion): Likewise for locals "before",
11492 "after", "insns", "tmp", "last", adding a checked cast where
11493 currently necessary.
11494 (commit_edge_insertions): Likewise.
11495 (rtl_dump_bb): Likewise for locals "insn", "last".
11496 (print_rtl_with_bb): Likewise for local "x".
11497 (rtl_verify_bb_insns): Likewise for local "x".
11498 (rtl_verify_bb_pointers): Likewise for local "insn".
11499 (rtl_verify_bb_insn_chain): Likewise for locals "x", "last_head",
11501 (rtl_verify_fallthru): Likewise for local "insn".
11502 (rtl_verify_bb_layout): Likewise for locals "x" and "rtx_first".
11503 (purge_dead_edges): Likewise for local "insn".
11504 (fixup_abnormal_edges): Likewise for locals "insn", "stop", "next".
11505 (skip_insns_after_block): Likewise for return type and for locals
11506 "insn", "last_insn", "next_head", "prev".
11507 (record_effective_endpoints): Likewise for locals "next_insn",
11509 (fixup_reorder_chain): Likewise for locals "bb_end_insn" and "end".
11510 (verify_insn_chain): Likewise for locals "x", "prevx", "nextx".
11511 (cfg_layout_can_duplicate_bb_p): Likewise for local "insn".
11512 (duplicate_insn_chain): For now, add checked cast from rtx to
11513 rtx_insn * when returning insn.
11514 (cfg_layout_duplicate_bb): Likewise for local "insn".
11515 (cfg_layout_delete_block): Likewise for locals "insn", "next",
11516 "prev", "remaints".
11517 (cfg_layout_merge_blocks): Likewise for local "insn", "last".
11518 (rtl_block_empty_p): Likewise.
11519 (rtl_split_block_before_cond_jump): Likewise for locals "insn",
11520 "split_point", "last".
11521 (rtl_block_ends_with_call_p): Likewise for local "insn".
11522 (need_fake_edge_p): Strengthen param "insn" from const_rtx to
11524 (rtl_flow_call_edges_add): Strengthen locals "insn", "prev_insn",
11525 "split_at_insn" from rtx to rtx_insn *.
11526 (rtl_lv_add_condition_to_bb): Likewise for locals "seq", "jump".
11527 (rtl_can_remove_branch_p): Strengthen local "insn" from const_rtx
11528 to const rtx_insn *.
11529 (rtl_account_profile_record): Likewise.
11531 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11533 * cfgloopanal.c (num_loop_insns): Strengthen local "insn" from
11535 (average_num_loop_insns): Likewise.
11536 (init_set_costs): Likewise for local "seq".
11537 (seq_cost): Likewise for param "seq", from const_rtx to const
11540 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11542 * cfgloop.c (loop_exits_from_bb_p): Strengthen local "insn" from
11545 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11547 * basic-block.h (flow_find_cross_jump): Strengthen params 3 and 4
11548 "f1" and "f2" from rtx * to rtx_insn **.
11549 (flow_find_head_matching_sequence): Likewise.
11551 * cfgcleanup.c (try_simplify_condjump): Strengthen local
11552 "cbranch_insn" from rtx to rtx_insn *.
11553 (thread_jump): Likewise for local "insn".
11554 (try_forward_edges): Likewise for local "last".
11555 (merge_blocks_move_predecessor_nojumps): Likewise for local "barrier".
11556 (merge_blocks_move_successor_nojumps): Likewise for locals "barrier",
11558 (can_replace_by): Likewise for params "i1", "i2".
11559 (old_insns_match_p): Likewise.
11560 (merge_notes): Likewise.
11561 (walk_to_nondebug_insn): Likewise for param "i1".
11562 (flow_find_cross_jump): Strengthen params "f1" and "f2" from rtx *
11563 to rtx_insn **. Strengthen locals "i1", "i2", "last1", "last2",
11564 "afterlast1", "afterlast2" from rtx to rtx_insn *.
11565 (flow_find_head_matching_sequence): Strengthen params "f1" and
11566 "f2" from rtx * to rtx_insn **. Strengthen locals "i1", "i2",
11567 "last1", "last2", "beforelast1", "beforelast2" from rtx to
11569 (outgoing_edges_match): Likewise for locals "last1", "last2".
11570 (try_crossjump_to_edge): Likewise for local "insn".
11571 Replace call to for_each_rtx with for_each_rtx_in_insn.
11573 (try_crossjump_to_edge): Likewise for locals "newpos1", "newpos2".
11574 (try_head_merge_bb): Likewise for locals "e0_last_head_, "jump",
11575 "e0_last", "e_last", "head", "curr", "insn". Strengthen locals
11576 "headptr", "currptr", "nextptr" from rtx * to rtx_insn **.
11577 (try_optimize_cfg): Strengthen local "last" from rtx to
11579 (delete_dead_jumptables): Likewise for locals "insn", "next",
11582 * ifcvt.c (cond_exec_process_if_block): Likewise for locals
11583 "rtx then_last_head", "rtx else_last_head", "rtx then_first_tail",
11584 "rtx else_first_tail", to reflect the basic-block.h changes above.
11586 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11588 * cfgbuild.c (make_edges): Strengthen local "insn" from rtx to
11590 (purge_dead_tablejump_edges): Likewise.
11591 (find_bb_boundaries): Likewise for locals "insn", "end",
11592 "flow_transfer_insn".
11594 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11596 * caller-save.c (save_call_clobbered_regs): Strengthen locals
11597 "ins" and "prev" from rtx to rtx_insn *.
11599 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11601 * calls.c (emit_call_1): Strengthen local "call_insn" from rtx to
11603 (internal_arg_pointer_exp_state): Likewise for field "scan_start".
11604 (internal_arg_pointer_based_exp_scan): Likewise for locals "insn",
11606 (load_register_parameters): Likewise for local "before_arg".
11607 (check_sibcall_argument_overlap): Likewise for param "insn".
11608 (expand_call): Likewise for locals "normal_call_insns",
11609 "tail_call_insns", "insns", "before_call", "after_args",
11610 "before_arg", "last", "prev". Strengthen one of the "last" from
11611 rtx to rtx_call_insn *.
11612 (fixup_tail_calls): Strengthen local "insn" from rtx to
11614 (emit_library_call_value_1): Likewise for locals "before_call" and
11617 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11619 * builtins.c (expand_builtin_longjmp): Strengthen locals "insn"
11620 and "last" from rtx to rtx_insn *.
11621 (expand_builtin_nonlocal_goto): Likewise for local "insn".
11622 (expand_builtin_apply): Strengthen local "call_insn" from rtx to
11624 (expand_errno_check): Strengthen local "lab" from rtx to
11626 (expand_builtin_mathfn): Strengthen local "insns" from rtx to
11628 (expand_builtin_mathfn_2): Likewise.
11629 (expand_builtin_mathfn_ternary): Likewise.
11630 (expand_builtin_mathfn_3): Likewise.
11631 (expand_builtin_interclass_mathfn): Likewise for local "last".
11632 (expand_builtin_int_roundingfn): Likewise for local "insns".
11633 (expand_builtin_int_roundingfn_2): Likewise.
11634 (expand_builtin_strlen): Likewise for local "before_strlen".
11635 (expand_builtin_strncmp): Likewise for local "seq".
11636 (expand_builtin_signbit): Likewise for local "last".
11637 (expand_builtin_atomic_compare_exchange): Strengthen local "label"
11638 from rtx to rtx_code_label *.
11639 (expand_stack_restore): Strengthen local "prev" from rtx to
11642 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11644 * bt-load.c (struct btr_user_s): Strengthen field "insn" from rtx
11646 (struct btr_def_s): Likewise.
11647 (insn_sets_btr_p): Strengthen param "insn" from const_rtx to
11649 (add_btr_def): Likewise.
11650 (new_btr_user): Likewise.
11651 (compute_defs_uses_and_gen): Strengthen locals "insn", "last" from
11653 (link_btr_uses): Likewise.
11654 (move_btr_def): Likewise for locals "insp", "old_insn",
11655 "new_insn". Add checked cast to rtx_insn * for now on result of
11657 (can_move_up): Strengthen param "insn" from const_rtx to
11660 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11662 * bb-reorder.c (copy_bb_p): Strengthen local "insn" from rtx to
11664 (get_uncond_jump_length): Likewise for locals "label", "jump".
11665 (fix_up_crossing_landing_pad): Likewise for locals "new_label",
11667 (add_labels_and_missing_jumps): Likewise for local "new_jump".
11668 (fix_up_fall_thru_edges): Likewise for local "old_jump".
11669 (find_jump_block): Likewise for local "insn".
11670 (fix_crossing_conditional_branches): Likewise for locals
11671 "old_jump", "new_jump".
11672 (fix_crossing_unconditional_branches): Likewise for locals
11673 "last_insn", "indirect_jump_sequence", "jump_insn", "cur_insn".
11674 (pass_duplicate_computed_gotos::execute): Likewise for local "insn".
11676 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11678 * auto-inc-dec.c (struct inc_insn): Strengthen field "insn" from
11680 (struct mem_insn): Likewise for field "insn".
11681 (reg_next_use): Strengthen from rtx * to rtx_insn **.
11682 (reg_next_inc_use): Likewise.
11683 (reg_next_def): Likewise.
11684 (move_dead_notes): Strengthen params "to_insn" and "from_insn"
11685 from rtx to rtx_insn *.
11686 (move_insn_before): Likewise for param "next_insn" and local "insns".
11687 (attempt_change): Likewise for local "mov_insn".
11688 (try_merge): Likewise for param "last_insn".
11689 (get_next_ref): Likewise for return type and local "insn".
11690 Strengthen param "next_array" from rtx * to rtx_insn **.
11691 (parse_add_or_inc): Strengthen param "insn" from rtx to
11693 (find_inc): Likewise for locals "insn" and "other_insn" (three of
11695 (merge_in_block): Likewise for locals "insn", "curr",
11697 (pass_inc_dec::execute): Update allocations of the arrays to
11698 reflect the stronger types.
11700 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11702 * asan.c (asan_clear_shadow): Strengthen locals "insn", "insns"
11703 and "jump" from rtx to rtx_insn *. Strengthen local "top_label"
11704 from rtx to rtx_code_label *.
11706 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11708 * alias.c (init_alias_analysis): Strengthen local "insn" from rtx
11711 2014-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
11713 * config/rs6000/rs6000.c (print_operand, 'y' case): Fix code that
11714 generated a warning and prevented bootstrapping the compiler.
11716 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11718 * rtl.h (delete_related_insns): Strengthen return type from rtx to
11721 * jump.c (delete_related_insns): Likewise, also for locals "next"
11724 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11726 * genautomata.c (output_internal_insn_latency_func): When writing
11727 the function "internal_insn_latency" to insn-automata.c,
11728 strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus
11729 allowing the optional guard function of (define_bypass) clauses to
11730 expect a pair of rtx_insn *, rather than a pair of rtx.
11731 (output_insn_latency_func): When writing the function
11732 "insn_latency", add an "uncast_" prefix to params "insn" and
11733 "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals
11734 using checked casts from the params, thus enabling the above
11735 change to the generated "internal_insn_latency" function.
11737 2014-08-21 Jan Hubicka <hubicka@ucw.cz>
11739 PR tree-optimization/62091
11740 * ipa-devirt.c (ipa_polymorphic_call_context::restrict_to_inner_type):
11741 handle correctly arrays.
11742 (extr_type_from_vtbl_ptr_store): Add debug output; handle multiple
11743 inheritance binfos.
11744 (record_known_type): Walk into inner type.
11745 (ipa_polymorphic_call_context::get_dynamic_type): Likewise; strenghten
11746 condition on no type changes.
11748 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11750 * genattrtab.c (write_attr_get): Within the generated get_attr_
11751 functions, rename param "insn" to "uncast_insn" and reintroduce
11752 "insn" as an local rtx_insn * using a checked cast, so that "insn"
11753 is an rtx_insn * within insn-attrtab.c
11755 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11757 * output.h (peephole): Strengthen return type from rtx to
11759 * rtl.h (delete_for_peephole): Likewise for both params.
11760 * genpeep.c (main): In generated "peephole" function, strengthen
11761 return type and local "insn" from rtx to rtx_insn *. For now,
11762 rename param "ins1" to "uncast_ins1", adding "ins1" back as an
11763 rtx_insn *, with a checked cast.
11764 * jump.c (delete_for_peephole): Strengthen params "from", "to" and
11765 locals "insn", "next", "prev" from rtx to rtx_insn *.
11767 2014-08-21 Marc Glisse <marc.glisse@inria.fr>
11769 PR tree-optimization/62112
11770 * gimple-iterator.c (gsi_replace): Return whether EH cleanup is needed.
11771 * gimple-iterator.h (gsi_replace): Return bool.
11772 * tree-ssa-alias.c (ref_may_alias_global_p_1): New helper, code
11773 moved from ref_may_alias_global_p.
11774 (ref_may_alias_global_p, refs_may_alias_p, ref_maybe_used_by_stmt_p):
11776 (ref_maybe_used_by_call_p): Take ao_ref* instead of tree.
11777 (stmt_kills_ref_p_1): Rename...
11778 (stmt_kills_ref_p): ... to this.
11779 * tree-ssa-alias.h (ref_may_alias_global_p, ref_maybe_used_by_stmt_p,
11780 stmt_kills_ref_p): Declare.
11781 * tree-ssa-dse.c (dse_possible_dead_store_p): New argument, use it.
11782 Move the self-assignment case...
11783 (dse_optimize_stmt): ... here. Handle builtin calls. Remove dead code.
11785 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11787 * rtl.h (try_split): Strengthen return type from rtx to rtx_insn *.
11789 * emit-rtl.c (try_split): Likewise, also for locals "before" and
11790 "after". For now, don't strengthen param "trial", which requires
11791 adding checked casts when returning it.
11793 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11795 * debug.h (struct gcc_debug_hooks): Strengthen param 1 of hook
11796 "label" from rtx to rtx_code_label *. Strengthen param 1 of
11797 "var_location" hook from rtx to rtx_insn *.
11798 (debug_nothing_rtx): Delete in favor of...
11799 (debug_nothing_rtx_code_label): New prototype.
11800 (debug_nothing_rtx_rtx): Delete unused prototype.
11801 (debug_nothing_rtx_insn): New prototype.
11803 * final.c (final_scan_insn): Add checked cast to rtx_insn * when
11804 invoking debug_hooks->var_location (in two places, one in a NOTE
11805 case of a switch statement, the other guarded by a CALL_P
11806 conditional. Add checked cast to rtx_code_label * when invoking
11807 debug_hooks->label (within CODE_LABEL case of switch statement).
11809 * dbxout.c (dbx_debug_hooks): Update "label" hook from
11810 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
11811 "var_location" from debug_nothing_rtx to debug_nothing_rtx_insn.
11812 (xcoff_debug_hooks): Likewise.
11813 * debug.c (do_nothing_debug_hooks): Likewise.
11814 (debug_nothing_rtx): Delete in favor of...
11815 (debug_nothing_rtx_insn): New function.
11816 (debug_nothing_rtx_rtx): Delete unused function.
11817 (debug_nothing_rtx_code_label): New function.
11818 * dwarf2out.c (dwarf2_debug_hooks): Update "label" hook from
11819 debug_nothing_rtx to debug_nothing_rtx_code_label.
11820 (dwarf2out_var_location): Strengthen param "loc_note" from rtx
11822 * sdbout.c (sdb_debug_hooks): Update "var_location" hook from
11823 debug_nothing_rtx to debug_nothing_rtx_insn.
11824 (sdbout_label): Strengthen param "insn" from rtx to
11826 * vmsdbgout.c (vmsdbg_debug_hooks): Update "label" hook from
11827 debug_nothing_rtx to debug_nothing_rtx_code_label. Update
11828 "var_location" hook from debug_nothing_rtx to
11829 debug_nothing_rtx_insn.
11831 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11833 * recog.h (insn_output_fn): Update this function typedef to match
11834 the changes below to the generated output functions, strengthening
11835 the 2nd param from rtx to rtx_insn *.
11837 * final.c (get_insn_template): Add a checked cast to rtx_insn * on
11838 insn when invoking an output function, to match the new signature
11839 of insn_output_fn with a stronger second param.
11841 * genconditions.c (write_header): In the generated code for
11842 gencondmd.c, strengthen the global "insn" from rtx to rtx_insn *
11843 to match the other changes in this patch.
11845 * genemit.c (gen_split): Strengthen the 1st param "curr_insn" of
11846 the generated "gen_" functions from rtx to rtx_insn * within their
11849 * genrecog.c (write_subroutine): Strengthen the 2nd param "insn" of
11850 the subfunctions within the generated "recog_", "split", "peephole2"
11851 function trees from rtx to rtx_insn *. For now, the top-level
11852 generated functions ("recog", "split", "peephole2") continue to
11853 take a plain rtx for "insn", to avoid introducing dependencies on
11854 other patches. Rename this 2nd param from "insn" to
11855 "uncast_insn", and reintroduce "insn" as a local variable of type
11856 rtx_insn *, initialized at the top of the generated function with
11857 a checked cast on "uncast_insn".
11858 (make_insn_sequence): Strengthen the 1st param "curr_insn" of
11859 the generated "gen_" functions from rtx to rtx_insn * within their
11862 * genoutput.c (process_template): Strengthen the 2nd param within
11863 the generated "output_" functions "insn" from rtx to rtx_insn *.
11865 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
11867 * tree-profile.c (tree_profiling): Skip external functions
11868 when doing coverage instrumentation.
11869 * cgraphunit.c (compile): Do not assert that all nodes are reachable.
11871 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
11873 * config/rs6000/altivec.h (vec_cpsgn): New #define.
11874 (vec_mergee): Likewise.
11875 (vec_mergeo): Likewise.
11876 (vec_cntlz): Likewise.
11877 * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
11878 entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
11879 VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
11880 VMRGEW, and VMRGOW.
11881 * doc/extend.texi: Document various forms of vec_cpsgn,
11882 vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
11883 vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
11884 vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
11885 vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
11886 vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
11888 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
11890 * config/rs6000/rs6000.c (context.h): New include.
11891 (tree-pass.h): Likewise.
11892 (make_pass_analyze_swaps): New decl.
11893 (rs6000_option_override): Register pass_analyze_swaps.
11894 (swap_web_entry): New subsclass of web_entry_base (df.h).
11895 (special_handling_values): New enum.
11896 (union_defs): New function.
11897 (union_uses): Likewise.
11898 (insn_is_load_p): Likewise.
11899 (insn_is_store_p): Likewise.
11900 (insn_is_swap_p): Likewise.
11901 (rtx_is_swappable_p): Likewise.
11902 (insn_is_swappable_p): Likewise.
11903 (chain_purpose): New enum.
11904 (chain_contains_only_swaps): New function.
11905 (mark_swaps_for_removal): Likewise.
11906 (swap_const_vector_halves): Likewise.
11907 (adjust_subreg_index): Likewise.
11908 (permute_load): Likewise.
11909 (permute_store): Likewise.
11910 (handle_special_swappables): Likewise.
11911 (replace_swap_with_copy): Likewise.
11912 (dump_swap_insn_table): Likewise.
11913 (rs6000_analyze_swaps): Likewise.
11914 (pass_data_analyze_swaps): New pass_data.
11915 (pass_analyze_swaps): New rtl_opt_pass.
11916 (make_pass_analyze_swaps): New function.
11917 * config/rs6000/rs6000.opt (moptimize-swaps): New option.
11919 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11921 * sel-sched-ir.h (create_insn_rtx_from_pattern): Strengthen return
11922 type from rtx to rtx_insn *.
11923 (create_copy_of_insn_rtx): Likewise.
11924 * sel-sched-ir.c (create_insn_rtx_from_pattern): Likewise.
11925 (create_copy_of_insn_rtx): Likewise, also for local "res".
11927 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11929 * rtl.h (find_first_parameter_load): Strengthen return type from
11931 * rtlanal.c (find_first_parameter_load): Strengthen return type
11932 from rtx to rtx_insn *. Add checked cast for now, to postpone
11933 strengthening the params.
11935 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
11938 * diagnostic.c: Set default caret.
11939 (diagnostic_show_locus): Use it. Tell pretty-printer that a new
11941 * diagnostic.h (struct diagnostic_context):
11943 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11945 * sel-sched-ir.h (exit_insn): Strengthen from rtx to rtx_insn *.
11946 (sel_bb_head): Strengthen return type insn_t (currently just an
11947 rtx) to rtx_insn *.
11948 (sel_bb_end): Likewise.
11950 * sel-sched-ir.c (exit_insn): Strengthen from rtx to rtx_insn *.
11951 (sel_bb_head): Strengthen return type and local "head" from
11952 insn_t (currently just an rtx) to rtx_insn *.
11953 (sel_bb_end): Likewise for return type.
11954 (free_nop_and_exit_insns): Replace use of NULL_RTX with NULL when
11957 2014-08-21 David Malcolm <dmalcolm@redhat.com>
11959 * basic-block.h (get_last_bb_insn): Strengthen return type from
11961 * cfgrtl.c (get_last_bb_insn): Likewise, and for locals "tmp" and
11964 2014-08-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
11967 * diagnostic.c (default_diagnostic_finalizer): Move caret printing
11969 (diagnostic_report_diagnostic): ... from here.
11970 * toplev.c (general_init): Move code to c-family.
11972 2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
11974 * df.h (web_entry_base): Replace existing struct web_entry with a
11975 new class web_entry_base with only the predecessor member.
11976 (unionfind_root): Remove declaration and move to class member.
11977 (unionfind_union): Remove declaration and move to friend
11979 (union_defs): Remove declaration.
11980 * web.c (web_entry_base::unionfind_root): Modify to be member
11981 function and adjust accessors.
11982 (unionfind_union): Modify to be friend function and adjust
11984 (web_entry): New subclass of web_entry_base containing the reg
11986 (union_match_dups): Modify for struct -> class changes.
11987 (union_defs): Likewise.
11988 (entry_register): Likewise.
11989 (pass_web::execute): Likewise.
11991 2014-08-20 Bill Schmidt <wschmidt@vnet.ibm.com>
11993 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Provide
11994 builtin define __VEC_ELEMENT_REG_ORDER__.
11996 2014-08-20 Martin Jambor <mjambor@suse.cz>
11997 Wei Mi <wmi@google.com>
12000 PR middle-end/61776
12001 * tree-ssa-operands.c (update_stmt_operands): Remove
12002 MODIFIED_NORETURN_CALLS.
12003 * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func.
12004 (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag.
12005 (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls.
12006 (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls.
12007 * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS.
12008 * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING.
12009 (gimple_call_set_ctrl_altering): New func.
12010 (gimple_call_ctrl_altering_p): Ditto.
12011 * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto.
12012 (make_blocks): Use gimple_call_initialize_ctrl_altering.
12013 (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p.
12014 (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and
12015 remove MODIFIED_NORETURN_CALLS.
12017 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
12019 * coverage.c (coverage_compute_profile_id): Return non-0;
12020 also handle symbols with unique name.
12021 (coverage_end_function): Do not skip DECL_EXTERNAL functions.
12023 2014-08-20 Steve Ellcey <sellcey@mips.com>
12025 PR middle-end/49191
12026 * doc/sourcebuild.texi (non_strict_align): New.
12028 2014-08-20 Jan Hubicka <hubicka@ucw.cz>
12030 * cgraphunit.c (ipa_passes, compile): Reshedule
12031 symtab_remove_unreachable_nodes passes; update comments.
12032 * ipa-inline.c (pass_data_ipa_inline): Do not schedule
12033 TODO_remove_functions before the pass; the functions ought to be
12035 * ipa.c (pass_data_ipa_free_inline_summary): Enable dump; schedule
12036 TODO_remove_functions.
12037 * passes.c (pass_data_early_local_passes): Do not schedule function
12039 (execute_one_pass): Fix call of symtab_remove_unreachable_nodes.
12041 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
12044 * opts-common.c (set_option): Call diagnostic_classify_diagnostic
12045 before setting the option.
12046 * diagnostic.c (diagnostic_classify_diagnostic): Record
12047 command-line status.
12049 2014-08-20 Richard Biener <rguenther@suse.de>
12052 * tree.c (build_common_tree_nodes): Use make_or_reuse_type
12053 to build uint{16,32,64}_type_node.
12055 2014-08-20 Terry Guo <terry.guo@arm.com>
12057 * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
12058 with immediate_operand.
12060 2014-08-20 David Malcolm <dmalcolm@redhat.com>
12062 * cfgrtl.c (duplicate_insn_chain): Convert the checked cast on
12063 "insn" from an as_a to a safe_as_a, for the case when "insn" is
12066 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
12068 PR preprocessor/51303
12069 * incpath.c (remove_duplicates): Use cpp_warning.
12071 2014-08-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
12075 * doc/options.texi (CPP): Document it.
12076 * doc/invoke.texi (Wvariadic-macros): Fix documentation.
12077 * optc-gen.awk: Handle CPP.
12078 * opth-gen.awk: Likewise.
12080 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12082 * rtl.h (unlink_insn_chain): Strengthen return type from rtx to
12084 (duplicate_insn_chain): Likewise.
12085 * cfgrtl.c (unlink_insn_chain): Strengthen return type from rtx to
12086 rtx_insn *, also for locals "prevfirst" and "nextlast". Add a
12087 checked cast for now (until we can strengthen the params in the
12089 (duplicate_insn_chain): Likewise.
12091 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12093 * rtl.h (next_cc0_user): Strengthen return type from rtx to
12095 (prev_cc0_setter): Likewise.
12097 * emit-rtl.c (next_cc0_user): Strengthen return type from rtx to
12098 rtx_insn *, adding checked casts for now as necessary.
12099 (prev_cc0_setter): Likewise.
12101 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12103 * expr.h (emit_move_insn): Strengthen return type from rtx to
12105 (emit_move_insn_1): Likewise.
12106 (emit_move_complex_push): Likewise.
12107 (emit_move_complex_parts): Likewise.
12109 * expr.c (emit_move_via_integer): Strengthen return type from rtx
12110 to rtx_insn *. Replace use of NULL_RTX with NULL when working
12112 (emit_move_complex_push): Strengthen return type from rtx to
12114 (emit_move_complex): Likewise, also for local "ret".
12115 (emit_move_ccmode): Likewise.
12116 (emit_move_multi_word): Likewise for return type and locals
12117 "last_insn", "seq".
12118 (emit_move_insn_1): Likewise for return type and locals "result",
12120 (emit_move_insn): Likewise for return type and local "last_insn".
12121 (compress_float_constant): Likewise.
12123 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12125 * emit-rtl.h (emit_copy_of_insn_after): Strengthen return type
12126 from rtx to rtx_insn *.
12128 * rtl.h (emit_insn_before): Likewise.
12129 (emit_insn_before_noloc): Likewise.
12130 (emit_insn_before_setloc): Likewise.
12131 (emit_jump_insn_before): Likewise.
12132 (emit_jump_insn_before_noloc): Likewise.
12133 (emit_jump_insn_before_setloc): Likewise.
12134 (emit_call_insn_before): Likewise.
12135 (emit_call_insn_before_noloc): Likewise.
12136 (emit_call_insn_before_setloc): Likewise.
12137 (emit_debug_insn_before): Likewise.
12138 (emit_debug_insn_before_noloc): Likewise.
12139 (emit_debug_insn_before_setloc): Likewise.
12140 (emit_label_before): Likewise.
12141 (emit_insn_after): Likewise.
12142 (emit_insn_after_noloc): Likewise.
12143 (emit_insn_after_setloc): Likewise.
12144 (emit_jump_insn_after): Likewise.
12145 (emit_jump_insn_after_noloc): Likewise.
12146 (emit_jump_insn_after_setloc): Likewise.
12147 (emit_call_insn_after): Likewise.
12148 (emit_call_insn_after_noloc): Likewise.
12149 (emit_call_insn_after_setloc): Likewise.
12150 (emit_debug_insn_after): Likewise.
12151 (emit_debug_insn_after_noloc): Likewise.
12152 (emit_debug_insn_after_setloc): Likewise.
12153 (emit_label_after): Likewise.
12154 (emit_insn): Likewise.
12155 (emit_debug_insn): Likewise.
12156 (emit_jump_insn): Likewise.
12157 (emit_call_insn): Likewise.
12158 (emit_label): Likewise.
12159 (gen_clobber): Likewise.
12160 (emit_clobber): Likewise.
12161 (gen_use): Likewise.
12162 (emit_use): Likewise.
12165 (emit_barrier_before): Strengthen return type from rtx to
12167 (emit_barrier_after): Likewise.
12168 (emit_barrier): Likewise.
12170 * emit-rtl.c (emit_pattern_before_noloc): Strengthen return type
12171 from rtx to rtx_insn *. Add checked casts for now when converting
12172 "last" from rtx to rtx_insn *.
12173 (emit_insn_before_noloc): Likewise for return type.
12174 (emit_jump_insn_before_noloc): Likewise.
12175 (emit_call_insn_before_noloc): Likewise.
12176 (emit_debug_insn_before_noloc): Likewise.
12177 (emit_barrier_before): Strengthen return type and local "insn"
12178 from rtx to rtx_barrier *.
12179 (emit_label_before): Strengthen return type from rtx to
12180 rtx_insn *. Add checked cast for now when returning param
12181 (emit_pattern_after_noloc): Strengthen return type from rtx to
12182 rtx_insn *. Add checked casts for now when converting "last" from
12184 (emit_insn_after_noloc): Strengthen return type from rtx to
12186 (emit_jump_insn_after_noloc): Likewise.
12187 (emit_call_insn_after_noloc): Likewise.
12188 (emit_debug_insn_after_noloc): Likewise.
12189 (emit_barrier_after): Strengthen return type from rtx to
12191 (emit_label_after): Strengthen return type from rtx to rtx_insn *.
12192 Add checked cast for now when converting "label" from rtx to
12194 (emit_pattern_after_setloc): Strengthen return type from rtx to
12195 rtx_insn *. Add checked casts for now when converting "last" from
12197 (emit_pattern_after): Strengthen return type from rtx to
12199 (emit_insn_after_setloc): Likewise.
12200 (emit_insn_after): Likewise.
12201 (emit_jump_insn_after_setloc): Likewise.
12202 (emit_jump_insn_after): Likewise.
12203 (emit_call_insn_after_setloc): Likewise.
12204 (emit_call_insn_after): Likewise.
12205 (emit_debug_insn_after_setloc): Likewise.
12206 (emit_debug_insn_after): Likewise.
12207 (emit_pattern_before_setloc): Likewise. Add checked casts for now
12208 when converting "last" from rtx to rtx_insn *.
12209 (emit_pattern_before): Strengthen return type from rtx to
12211 (emit_insn_before_setloc): Likewise.
12212 (emit_insn_before): Likewise.
12213 (emit_jump_insn_before_setloc): Likewise.
12214 (emit_jump_insn_before): Likewise.
12215 (emit_call_insn_before_setloc): Likewise.
12216 (emit_call_insn_before): Likewise.
12217 (emit_debug_insn_before_setloc): Likewise.
12218 (emit_debug_insn_before): Likewise.
12219 (emit_insn): Strengthen return type and locals "last", "insn",
12220 "next" from rtx to rtx_insn *. Add checked cast to rtx_insn
12221 within cases where we know we have an insn.
12222 (emit_debug_insn): Likewise.
12223 (emit_jump_insn): Likewise.
12224 (emit_call_insn): Strengthen return type and local "insn" from rtx
12226 (emit_label): Strengthen return type from rtx to rtx_insn *. Add
12227 a checked cast to rtx_insn * for now on "label".
12228 (emit_barrier): Strengthen return type from rtx to rtx_barrier *.
12229 (emit_clobber): Strengthen return type from rtx to rtx_insn *.
12230 (emit_use): Likewise.
12231 (gen_use): Likewise, also for local "seq".
12232 (emit): Likewise for return type and local "insn".
12233 (rtx_insn): Likewise for return type and local "new_rtx".
12235 * cfgrtl.c (emit_barrier_after_bb): Strengthen local "barrier"
12236 from rtx to rtx_barrier *.
12238 * config/sh/sh.c (output_stack_adjust): Since emit_insn has
12239 changed return type from rtx to rtx_insn *, we must update
12240 "emit_fn" type, and this in turn means updating...
12241 (frame_insn): ...this. Strengthen return type from rtx to
12242 rtx_insn *. Introduce a new local "insn" of the appropriate type.
12244 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12246 * emit-rtl.c (emit_jump_table_data): Strengthen return type from
12247 rtx to rtx_jump_table_data *. Also for local.
12248 * rtl.h (emit_jump_table_data): Likewise.
12250 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12252 * basic-block.h (create_basic_block_structure): Strengthen third
12253 param "bb_note" from rtx to rtx_note *.
12254 * rtl.h (emit_note_before): Strengthen return type from rtx to
12256 (emit_note_after): Likewise.
12257 (emit_note): Likewise.
12258 (emit_note_copy): Likewise. Also, strengthen param similarly.
12259 * function.h (struct rtl_data): Strengthen field
12260 "x_stack_check_probe_note" from rtx to rtx_note *.
12262 * cfgexpand.c (expand_gimple_basic_block): Strengthen local "note"
12263 from rtx to rtx_note *.
12264 * cfgrtl.c (create_basic_block_structure): Strengthen third param
12265 "bb_note" from rtx to rtx_note *.
12266 (duplicate_insn_chain): Likewise for local "last". Add a checked cast
12267 when calling emit_note_copy.
12268 * emit-rtl.c (make_note_raw): Strengthen return type from rtx to
12270 (emit_note_after): Likewise.
12271 (emit_note_before): Likewise.
12272 (emit_note_copy): Likewise. Also, strengthen param similarly.
12273 (emit_note): Likewise.
12274 * except.c (emit_note_eh_region_end): Likewise for return type.
12275 Strengthen local "next" from rtx to rtx_insn *.
12276 (convert_to_eh_region_ranges): Strengthen local "note"
12277 from rtx to rtx_note *.
12278 * final.c (change_scope): Likewise.
12279 (reemit_insn_block_notes): Likewise, for both locals named "note".
12280 Also, strengthen local "insn" from rtx to rtx_insn *.
12281 * haifa-sched.c (sched_extend_bb): Strengthen local "note" from
12283 * reg-stack.c (compensate_edge): Likewise for local "after". Also,
12284 strengthen local "seq" from rtx to rtx_insn *.
12285 * reload1.c (reload_as_needed): Strengthen local "marker" from rtx
12287 * sel-sched-ir.c (bb_note_pool): Strengthen from rtx_vec_t to
12289 (get_bb_note_from_pool): Strengthen return type from rtx to
12291 (sel_create_basic_block): Strengthen local "new_bb_note" from
12292 insn_t to rtx_note *.
12293 * var-tracking.c (emit_note_insn_var_location): Strengthen local
12294 "note" from rtx to rtx_note *.
12295 (emit_notes_in_bb): Likewise.
12297 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12299 * function.h (struct rtl_data): Strengthen field
12300 "x_parm_birth_insn" from rtx to rtx_insn *.
12301 * function.c (struct assign_parm_data_all): Strengthen fields
12302 "first_conversion_insn" and "last_conversion_insn" from rtx to
12305 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12307 * cfgexpand.c (expand_used_vars): Strengthen return type from rtx
12308 to rtx_insn *; also for local "var_end_seq".
12309 (maybe_dump_rtl_for_gimple_stmt): Likewise for param "since".
12310 (maybe_cleanup_end_of_block): Likewise for param "last" and local
12312 (expand_gimple_cond): Likewise for locals "last2" and "last".
12313 (mark_transaction_restart_calls): Likewise for local "insn".
12314 (expand_gimple_stmt): Likewise for return type and locals "last"
12316 (expand_gimple_tailcall): Likewise for locals "last2" and "last".
12317 (avoid_complex_debug_insns): Likewise for param "insn".
12318 (expand_debug_locations): Likewise for locals "insn", "last",
12319 "prev_insn" and "insn2".
12320 (expand_gimple_basic_block): Likewise for local "last".
12321 (construct_exit_block): Likewise for locals "head", "end",
12323 (pass_expand::execute): Likewise for locals "var_seq",
12324 "var_ret_seq", "next".
12326 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12328 * asan.h (asan_emit_stack_protection): Strengthen return type from
12330 * asan.c (asan_emit_stack_protection): Likewise. Add local
12331 "insns" to hold the return value.
12333 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12335 * basic-block.h (bb_note): Strengthen return type from rtx to
12337 * sched-int.h (bb_note): Likewise.
12338 * cfgrtl.c (bb_note): Likewise. Add a checked cast to rtx_note *.
12340 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12342 * rtl.h (make_insn_raw): Strengthen return type from rtx to
12345 * emit-rtl.c (make_insn_raw): Strengthen return type and local
12346 "insn" from rtx to rtx_insn *.
12347 (make_debug_insn_raw): Strengthen return type from rtx to
12348 rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *.
12349 (make_jump_insn_raw): Strengthen return type from rtx to
12350 rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *.
12351 (make_call_insn_raw): Strengthen return type from rtx to
12352 rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *.
12353 (emit_pattern_before_noloc): Strengthen return type of "make_raw"
12354 callback from rtx to rtx_insn *; likewise for local "insn" and
12355 "next", adding a checked cast to rtx_insn in the relevant cases of
12356 the switch statement.
12357 (emit_pattern_after_noloc): Strengthen return type of "make_raw"
12358 callback from rtx to rtx_insn *.
12359 (emit_pattern_after_setloc): Likewise.
12360 (emit_pattern_after): Likewise.
12361 (emit_pattern_before_setloc): Likewise.
12362 (emit_pattern_before): Likewise.
12364 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12366 * emit-rtl.c (last_call_insn): Strengthen return type from rtx to
12368 * rtl.h (is_a_helper <rtx_call_insn *>::test): New overload,
12369 accepting an rtx_insn *.
12370 (last_call_insn): Strengthen return type from rtx to
12373 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12375 * rtl.h (delete_trivially_dead_insns): Strengthen initial param
12376 "insns" from rtx to rtx_insn *.
12377 * cse.c (delete_trivially_dead_insns): Likewise, also do it for
12378 locals "insn" and "prev".
12380 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12382 * rtl.h (tablejump_p): Strengthen third param from rtx * to
12383 rtx_jump_table_data **.
12385 * cfgbuild.c (make_edges): Introduce local "table", using it in
12386 place of "tmp" for jump table data.
12387 (find_bb_boundaries): Strengthen local "table" from rtx to
12388 rtx_jump_table_data *.
12389 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
12390 (outgoing_edges_match): Likewise for locals "table1" and "table2".
12391 (try_crossjump_to_edge): Likewise.
12392 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise for local
12394 (patch_jump_insn): Introduce local "table", using it in place of
12395 "tmp" for jump table data.
12396 (force_nonfallthru_and_redirect): Introduce local "table", so that
12397 call to tablejump_p can receive an rtx_jump_table_data **. Update
12398 logic around the call to overwrite "note" appropriately if
12399 tablejump_p returns non-zero.
12400 (get_last_bb_insn): Introduce local "table", using it in place of
12401 "tmp" for jump table data.
12402 * dwarf2cfi.c (create_trace_edges): Likewise.
12404 * config/arm/arm.c (get_jump_table_size): Strengthen param "insn"
12405 from rtx to rtx_jump_table_data *.
12406 (create_fix_barrier): Strengthen local "tmp" from rtx to
12407 rtx_jump_table_data *.
12408 (arm_reorg): Likewise for local "table".
12410 * config/s390/s390.c (s390_chunkify_start): Likewise.
12412 * config/spu/spu.c (spu_emit_branch_hint): Likewise.
12414 * jump.c (delete_related_insns): Strengthen local "lab_next" from
12415 rtx to rtx_jump_table_data *.
12417 * rtlanal.c (tablejump_p): Strengthen param "tablep" from rtx * to
12418 rtx_jump_table_data **. Add a checked cast when writing through
12419 the pointer: we know there that local "table" is non-NULL and that
12420 JUMP_TABLE_DATA_P (table) holds.
12421 (label_is_jump_target_p): Introduce local "table", using it in
12422 place of "tmp" for jump table data.
12424 2014-08-19 Marek Polacek <polacek@redhat.com>
12427 * doc/invoke.texi: Document -Wbool-compare.
12429 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12431 * rtl.h (entry_of_function): Strengthen return type from rtx to
12433 * cfgrtl.c (entry_of_function): Likewise.
12435 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12437 * emit-rtl.h (get_insns): Strengthen return type from rtx to
12438 rtx_insn *, adding a checked cast for now.
12439 (get_last_insn): Likewise.
12441 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12443 * rtl.h (gen_label_rtx): Strengthen return type from rtx to
12446 * emit-rtl.c (gen_label_rtx): Likewise.
12448 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12450 * rtl.h (previous_insn): Strengthen return type from rtx to
12452 (next_insn): Likewise.
12453 (prev_nonnote_insn): Likewise.
12454 (prev_nonnote_insn_bb): Likewise.
12455 (next_nonnote_insn): Likewise.
12456 (next_nonnote_insn_bb): Likewise.
12457 (prev_nondebug_insn): Likewise.
12458 (next_nondebug_insn): Likewise.
12459 (prev_nonnote_nondebug_insn): Likewise.
12460 (next_nonnote_nondebug_insn): Likewise.
12461 (prev_real_insn): Likewise.
12462 (next_real_insn): Likewise.
12463 (prev_active_insn): Likewise.
12464 (next_active_insn): Likewise.
12466 * emit-rtl.c (next_insn): Strengthen return type from rtx to
12467 rtx_insn *, adding a checked cast.
12468 (previous_insn): Likewise.
12469 (next_nonnote_insn): Likewise.
12470 (next_nonnote_insn_bb): Likewise.
12471 (prev_nonnote_insn): Likewise.
12472 (prev_nonnote_insn_bb): Likewise.
12473 (next_nondebug_insn): Likewise.
12474 (prev_nondebug_insn): Likewise.
12475 (next_nonnote_nondebug_insn): Likewise.
12476 (prev_nonnote_nondebug_insn): Likewise.
12477 (next_real_insn): Likewise.
12478 (prev_real_insn): Likewise.
12479 (next_active_insn): Likewise.
12480 (prev_active_insn): Likewise.
12482 * config/sh/sh-protos.h (sh_find_set_of_reg): Convert function ptr
12483 param "stepfunc" so that it returns an rtx_insn * rather than an
12484 rtx, to track the change to prev_nonnote_insn_bb, which is the
12485 only function this is called with.
12486 * config/sh/sh.c (sh_find_set_of_reg): Likewise.
12488 2014-08-19 Jan Hubicka <hubicka@ucw.cz>
12490 * ipa-visibility.c (update_visibility_by_resolution_info): Fix
12493 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12495 * coretypes.h (class rtx_debug_insn): Add forward declaration.
12496 (class rtx_nonjump_insn): Likewise.
12497 (class rtx_jump_insn): Likewise.
12498 (class rtx_call_insn): Likewise.
12499 (class rtx_jump_table_data): Likewise.
12500 (class rtx_barrier): Likewise.
12501 (class rtx_code_label): Likewise.
12502 (class rtx_note): Likewise.
12504 * rtl.h (class rtx_debug_insn): New, a subclass of rtx_insn,
12505 adding the invariant DEBUG_INSN_P (X).
12506 (class rtx_nonjump_insn): New, a subclass of rtx_insn, adding
12507 the invariant NONJUMP_INSN_P (X).
12508 (class rtx_jump_insn): New, a subclass of rtx_insn, adding
12509 the invariant JUMP_P (X).
12510 (class rtx_call_insn): New, a subclass of rtx_insn, adding
12511 the invariant CALL_P (X).
12512 (class rtx_jump_table): New, a subclass of rtx_insn, adding the
12513 invariant JUMP_TABLE_DATA_P (X).
12514 (class rtx_barrier): New, a subclass of rtx_insn, adding the
12515 invariant BARRIER_P (X).
12516 (class rtx_code_label): New, a subclass of rtx_insn, adding
12517 the invariant LABEL_P (X).
12518 (class rtx_note): New, a subclass of rtx_insn, adding
12519 the invariant NOTE_P(X).
12520 (is_a_helper <rtx_debug_insn *>::test): New.
12521 (is_a_helper <rtx_nonjump_insn *>::test): New.
12522 (is_a_helper <rtx_jump_insn *>::test): New.
12523 (is_a_helper <rtx_call_insn *>::test): New.
12524 (is_a_helper <rtx_jump_table_data *>::test): New functions,
12525 overloaded for both rtx and rtx_insn *.
12526 (is_a_helper <rtx_barrier *>::test): New.
12527 (is_a_helper <rtx_code_label *>::test): New functions, overloaded
12528 for both rtx and rtx_insn *.
12529 (is_a_helper <rtx_note *>::test): New.
12531 2014-08-19 Marek Polacek <polacek@redhat.com>
12533 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO,
12534 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
12535 * config/i386/i386.h (CLZ_DEFINED_VALUE_AT_ZERO,
12536 CTZ_DEFINED_VALUE_AT_ZERO): Return 0/1 rather than bool.
12538 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12540 * sel-sched-ir.h (BND_TO): insn_t will eventually be an
12541 rtx_insn *. To help with transition, for now, convert from an
12542 access macro into a pair of functions: BND_TO, returning an
12544 (SET_BND_TO): New function, for use where BND_TO is used as an
12547 * sel-sched-ir.c (blist_add): Update lvalue usage of BND_TO to
12549 (BND_TO): New function, adding a checked cast.
12550 (SET_BND_TO): New function.
12552 * sel-sched.c (move_cond_jump): Update lvalue usage of BND_TO to
12554 (compute_av_set_on_boundaries): Likewise.
12556 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
12558 * config/i386/i386.md (*ctz<mode>2_falsedep_1): Don't clear
12559 destination if it is used in source.
12560 (*clz<mode>2_lzcnt_falsedep_1): Likewise.
12561 (*popcount<mode>2_falsedep_1): Likewise.
12563 2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
12566 * configure.ac: Set install_gold_as_default to no first.
12567 * configure: Regenerated.
12569 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12571 * sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
12572 "note_list" field will eventually be an rtx_insn *. To help with
12573 transition, for now, convert from an access macro into a pair of
12574 functions: BB_NOTE_LIST, returning an rtx_insn *, and...
12575 (SET_BB_NOTE_LIST): New function, for use where BB_NOTE_LIST is
12578 * sel-sched.c (create_block_for_bookkeeping): Update lvalue usage
12579 of BB_NOTE_LIST to SET_BB_NOTE_LIST.
12581 * sel-sched-ir.c (init_bb): Likewise.
12582 (sel_restore_notes): Likewise.
12583 (move_bb_info): Likewise.
12584 (BB_NOTE_LIST): New function, adding a checked cast to rtx_insn *.
12585 (SET_BB_NOTE_LIST): New function.
12587 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12589 * sel-sched-ir.h (VINSN_INSN_RTX): struct vinsn_def's "insn_rtx"
12590 field will eventually be an rtx_insn *. To help with transition,
12591 for now, convert from an access macro into a pair of functions:
12592 VINSN_INSN_RTX, returning an rtx_insn *, and...
12593 (SET_VINSN_INSN_RTX): New function, for use where VINSN_INSN_RTX
12594 is used as an lvalue.
12596 * sel-sched-ir.c (vinsn_init): Replace VINSN_INSN_RTX with
12597 SET_VINSN_INSN_RTX where it's used as an lvalue.
12598 (VINSN_INSN_RTX): New function.
12599 (SET_VINSN_INSN_RTX): New function.
12601 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12603 * sched-int.h (DEP_PRO): struct _dep's "pro" and "con" fields will
12604 eventually be rtx_insn *, but to help with transition, for now,
12605 convert from an access macro into a pair of functions: DEP_PRO
12606 returning an rtx_insn * and...
12607 (SET_DEP_PRO): New function, for use where DEP_PRO is used as an
12608 lvalue, returning an rtx&.
12609 (DEP_CON): Analogous changes to DEP_PRO above.
12610 (SET_DEP_CON): Likewise.
12612 * haifa-sched.c (create_check_block_twin): Replace DEP_CON used as
12613 an lvalue to SET_DEP_CON.
12614 * sched-deps.c (init_dep_1): Likewise for DEP_PRO and DEP_CON.
12615 (sd_copy_back_deps): Likewise for DEP_CON.
12616 (DEP_PRO): New function, adding a checked cast for now.
12617 (DEP_CON): Likewise.
12618 (SET_DEP_PRO): New function.
12619 (SET_DEP_CON): Likewise.
12621 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
12623 * config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
12624 (extra_options): Add i386/cygwin.opt.
12625 * config/i386/cygwin.h (STARTFILE_SPEC): Use crtbeginS.o if shared.
12626 (CPP_SPEC): Accept -pthread.
12627 (LINK_SPEC): Ditto.
12628 (GOMP_SELF_SPECS): Update comment.
12629 * config/i386/cygwin.opt: New file for -pthread flag.
12631 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12633 * df-core.c (DF_REF_INSN): New, using a checked cast for now.
12634 * df.h (DF_REF_INSN): Convert from a macro to a function, so
12635 that we can return an rtx_insn *.
12637 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
12639 * config/i386/cygwin.h (LINK_SPEC): Pass --tsaware flag only
12640 when building executables, not DLLs. Add --large-address-aware
12641 under the same conditions.
12642 * config/i386/cygwin-w64.h (LINK_SPEC): Pass --tsaware flag only
12643 when building executables, not DLLs. Add --large-address-aware
12644 under the same conditions when using -m32.
12646 * config/i386/cygwin-stdint.h: Throughout, make type
12647 definitions dependent on target architecture, not host.
12649 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12651 * rtl.h (PREV_INSN): Convert to an inline function. Strengthen
12652 the return type from rtx to rtx_insn *, which will enable various
12653 conversions in followup patches. For now this is is done by a
12655 (NEXT_INSN): Likewise.
12656 (SET_PREV_INSN): Convert to an inline function. This is intended
12657 for use as an lvalue, and so returns an rtx& to allow in-place
12659 (SET_NEXT_INSN): Likewise.
12661 2014-07-08 Mark Wielaard <mjw@redhat.com>
12664 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_RESTRICT.
12666 2014-08-19 Marek Polacek <polacek@redhat.com>
12669 * cgraphunit.c (handle_alias_pairs): Fix condition.
12671 2014-08-19 Richard Biener <rguenther@suse.de>
12673 * gimple-fold.c (fold_gimple_assign): Properly build a
12674 null-pointer constant when devirtualizing addresses.
12676 2014-07-07 Mark Wielaard <mjw@redhat.com>
12678 * dwarf2out.c (decl_quals): New function.
12679 (modified_type_die): Take one cv_quals argument instead of two,
12680 one for const and one for volatile.
12681 (add_type_attribute): Likewise.
12682 (generic_parameter_die): Call add_type_attribute with one modifier
12684 (base_type_for_mode): Likewise.
12685 (add_bounds_info): Likewise.
12686 (add_subscript_info): Likewise.
12687 (gen_array_type_die): Likewise.
12688 (gen_descr_array_type_die): Likewise.
12689 (gen_entry_point_die): Likewise.
12690 (gen_enumeration_type_die): Likewise.
12691 (gen_formal_parameter_die): Likewise.
12692 (gen_subprogram_die): Likewise.
12693 (gen_variable_die): Likewise.
12694 (gen_const_die): Likewise.
12695 (gen_field_die): Likewise.
12696 (gen_pointer_type_die): Likewise.
12697 (gen_reference_type_die): Likewise.
12698 (gen_ptr_to_mbr_type_die): Likewise.
12699 (gen_inheritance_die): Likewise.
12700 (gen_subroutine_type_die): Likewise.
12701 (gen_typedef_die): Likewise.
12702 (force_type_die): Likewise.
12704 2014-08-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12706 * configure.ac (gcc_cv_as_comdat_group_group): Only default to no
12708 * configure: Regenerate.
12710 2014-08-19 Richard Biener <rguenther@suse.de>
12712 * lto-streamer-out.c (DFS::DFS_write_tree_body): Stream
12713 DECL_EXTERNALs in BLOCKs as non-references.
12714 * tree-streamer-out.c (streamer_write_chain): Likewise.
12716 2014-08-19 Alexander Ivchenko <alexander.ivchenko@intel.com>
12717 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
12718 Anna Tikhonova <anna.tikhonova@intel.com>
12719 Ilya Tocar <ilya.tocar@intel.com>
12720 Andrey Turetskiy <andrey.turetskiy@intel.com>
12721 Ilya Verbin <ilya.verbin@intel.com>
12722 Kirill Yukhin <kirill.yukhin@intel.com>
12723 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
12725 * config/i386/sse.md
12726 (define_mode_iterator VI48_AVX512F): Delete.
12727 (define_mode_iterator VI48_AVX512F_AVX512VL): New.
12728 (define_mode_iterator VI2_AVX512VL): Ditto.
12729 (define_insn "<mask_codefor>avx512f_ufix_notruncv16sfv16si<mask_name><round_name>"):
12732 ("<mask_codefor><avx512>_ufix_notrunc<sf2simodelower><mode><mask_name><round_name>"):
12734 (define_insn "avx512cd_maskw_vec_dup<mode>"): Macroize.
12735 (define_insn "<avx2_avx512f>_ashrv<mode><mask_name>"): Delete.
12736 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
12737 with VI48_AVX512F_AVX512VL): New.
12738 (define_insn "<avx2_avx512bw>_ashrv<mode><mask_name>",
12739 with VI2_AVX512VL): Ditto.
12741 2014-08-19 Marek Polacek <polacek@redhat.com>
12743 * doc/invoke.texi: Document -Wc99-c11-compat.
12745 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12747 * rtl.h (PREV_INSN): Split macro in two: the existing one,
12748 for rvalues, and...
12749 (SET_PREV_INSN): New macro, for use as an lvalue.
12750 (NEXT_INSN, SET_NEXT_INSN): Likewise.
12752 * caller-save.c (save_call_clobbered_regs): Convert lvalue use of
12753 PREV_INSN/NEXT_INSN into SET_PREV_INSN/SET_NEXT_INSN.
12754 * cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
12755 (fixup_abnormal_edges): Likewise.
12756 (unlink_insn_chain): Likewise.
12757 (fixup_reorder_chain): Likewise.
12758 (cfg_layout_delete_block): Likewise.
12759 (cfg_layout_merge_blocks): Likewise.
12760 * combine.c (update_cfg_for_uncondjump): Likewise.
12761 * emit-rtl.c (link_insn_into_chain): Likewise.
12762 (remove_insn): Likewise.
12763 (delete_insns_since): Likewise.
12764 (reorder_insns_nobb): Likewise.
12765 (emit_insn_after_1): Likewise.
12766 * final.c (rest_of_clean_state): Likewise.
12767 (final_scan_insn): Likewise.
12768 * gcse.c (can_assign_to_reg_without_clobbers_p): Likewise.
12769 * haifa-sched.c (concat_note_lists): Likewise.
12770 (remove_notes): Likewise.
12771 (restore_other_notes): Likewise.
12772 (move_insn): Likewise.
12773 (unlink_bb_notes): Likewise.
12774 (restore_bb_notes): Likewise.
12775 * jump.c (delete_for_peephole): Likewise.
12776 * optabs.c (emit_libcall_block_1): Likewise.
12777 * reorg.c (emit_delay_sequence): Likewise.
12778 (fill_simple_delay_slots): Likewise.
12779 * sel-sched-ir.c (sel_move_insn): Likewise.
12780 (sel_remove_insn): Likewise.
12781 (get_bb_note_from_pool): Likewise.
12782 * sel-sched.c (move_nop_to_previous_block): Likewise.
12784 * config/bfin/bfin.c (reorder_var_tracking_notes): Likewise.
12785 * config/c6x/c6x.c (gen_one_bundle): Likewise.
12786 (c6x_gen_bundles): Likewise.
12787 (hwloop_optimize): Likewise.
12788 * config/frv/frv.c (frv_function_prologue): Likewise.
12789 (frv_register_nop): Likewise.
12790 * config/ia64/ia64.c (ia64_init_dfa_pre_cycle_insn): Likewise.
12791 (ia64_reorg): Likewise.
12792 * config/mep/mep.c (mep_reorg_addcombine): Likewise.
12793 (mep_make_bundle): Likewise.
12794 (mep_bundle_insns): Likewise.
12795 * config/picochip/picochip.c (reorder_var_tracking_notes): Likewise.
12796 * config/tilegx/tilegx.c (reorder_var_tracking_notes): Likewise.
12797 * config/tilepro/tilepro.c (reorder_var_tracking_notes): Likewise.
12799 2014-08-19 David Malcolm <dmalcolm@redhat.com>
12801 * basic-block.h (BB_HEAD): Convert to a function. Strengthen the
12802 return type from rtx to rtx_insn *.
12803 (BB_END): Likewise.
12804 (BB_HEADER): Likewise.
12805 (BB_FOOTER): Likewise.
12806 (SET_BB_HEAD): Convert to a function.
12807 (SET_BB_END): Likewise.
12808 (SET_BB_HEADER): Likewise.
12809 (SET_BB_FOOTER): Likewise.
12811 * cfgrtl.c (BB_HEAD): New function, from macro of same name.
12812 Strengthen the return type from rtx to rtx_insn *. For now, this
12813 is done by adding a checked cast, but this will eventually
12814 become a field lookup.
12815 (BB_END): Likewise.
12816 (BB_HEADER): Likewise.
12817 (BB_FOOTER): Likewise.
12818 (SET_BB_HEAD): New function, from macro of same name. This is
12819 intended for use as an lvalue, and so returns an rtx& to allow
12820 in-place modification.
12821 (SET_BB_END): Likewise.
12822 (SET_BB_HEADER): Likewise.
12823 (SET_BB_FOOTER): Likewise.
12825 2014-08-18 David Malcolm <dmalcolm@redhat.com>
12827 * basic-block.h (BB_HEAD): Split macro in two: the existing one,
12828 for rvalues, and...
12829 (SET_BB_HEAD): New macro, for use as a lvalue.
12830 (BB_END, SET_BB_END): Likewise.
12831 (BB_HEADER, SET_BB_HEADER): Likewise.
12832 (BB_FOOTER, SET_BB_FOOTER): Likewise.
12834 * bb-reorder.c (add_labels_and_missing_jumps): Convert lvalue use
12835 of BB_* macros into SET_BB_* macros.
12836 (fix_crossing_unconditional_branches): Likewise.
12837 * caller-save.c (save_call_clobbered_regs): Likewise.
12838 (insert_one_insn): Likewise.
12839 * cfgbuild.c (find_bb_boundaries): Likewise.
12840 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Likewise.
12841 (outgoing_edges_match): Likewise.
12842 (try_optimize_cfg): Likewise.
12843 * cfgexpand.c (expand_gimple_cond): Likewise.
12844 (expand_gimple_tailcall): Likewise.
12845 (expand_gimple_basic_block): Likewise.
12846 (construct_exit_block): Likewise.
12847 * cfgrtl.c (delete_insn): Likewise.
12848 (create_basic_block_structure): Likewise.
12849 (rtl_delete_block): Likewise.
12850 (rtl_split_block): Likewise.
12851 (emit_nop_for_unique_locus_between): Likewise.
12852 (rtl_merge_blocks): Likewise.
12853 (block_label): Likewise.
12854 (try_redirect_by_replacing_jump): Likewise.
12855 (emit_barrier_after_bb): Likewise.
12856 (fixup_abnormal_edges): Likewise.
12857 (record_effective_endpoints): Likewise.
12858 (relink_block_chain): Likewise.
12859 (fixup_reorder_chain): Likewise.
12860 (fixup_fallthru_exit_predecessor): Likewise.
12861 (cfg_layout_duplicate_bb): Likewise.
12862 (cfg_layout_split_block): Likewise.
12863 (cfg_layout_delete_block): Likewise.
12864 (cfg_layout_merge_blocks): Likewise.
12865 * combine.c (update_cfg_for_uncondjump): Likewise.
12866 * emit-rtl.c (add_insn_after): Likewise.
12867 (remove_insn): Likewise.
12868 (reorder_insns): Likewise.
12869 (emit_insn_after_1): Likewise.
12870 * haifa-sched.c (get_ebb_head_tail): Likewise.
12871 (restore_other_notes): Likewise.
12872 (move_insn): Likewise.
12873 (sched_extend_bb): Likewise.
12874 (fix_jump_move): Likewise.
12875 * ifcvt.c (noce_process_if_block): Likewise.
12876 (dead_or_predicable): Likewise.
12877 * ira.c (update_equiv_regs): Likewise.
12878 * reg-stack.c (change_stack): Likewise.
12879 * sel-sched-ir.c (sel_move_insn): Likewise.
12880 * sel-sched.c (move_nop_to_previous_block): Likewise.
12882 * config/c6x/c6x.c (hwloop_optimize): Likewise.
12883 * config/ia64/ia64.c (emit_predicate_relation_info): Likewise.
12885 2014-08-18 David Malcolm <dmalcolm@redhat.com>
12887 * rtl.h (for_each_rtx_in_insn): New function.
12888 * rtlanal.c (for_each_rtx_in_insn): Likewise.
12890 2014-08-18 David Malcolm <dmalcolm@redhat.com>
12892 * coretypes.h (class rtx_insn): Add forward declaration.
12894 * rtl.h: Include is-a.h.
12895 (struct rtx_def): Add dummy "desc" and "tag" GTY options as a
12896 workaround to ensure gengtype knows inheritance is occurring,
12897 whilst continuing to use the pre-existing special-casing for
12899 (class rtx_insn): New subclass of rtx_def, adding the
12900 invariant that we're dealing with something we can sanely use
12901 INSN_UID, NEXT_INSN, PREV_INSN on.
12902 (is_a_helper <rtx_insn *>::test): New.
12903 (is_a_helper <const rtx_insn *>::test): New.
12905 2014-08-18 David Malcolm <dmalcolm@redhat.com>
12907 * is-a.h (template<T, U> safe_as_a <U *p>) New function.
12909 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
12911 * ipa-visibility.c (update_visibility_by_resolution_info): Do no turn UNDEF
12914 2014-08-18 Jan Hubicka <hubicka@ucw.cz>
12916 * gimple-fold.c (fold_gimple_assign): Do not intorudce referneces
12917 to BUILT_IN_UNREACHABLE.
12919 2014-08-18 Uros Bizjak <ubizjak@gmail.com>
12922 * config/i386/x86-tune.def (X86_TUNE_AVOID_FALSE_DEP_FOR_BMI):
12924 * config/i386/i386.h (TARGET_AVOID_FALSE_DEP_FOR_BMI): New define.
12925 * config/i386/i386.md (unspec) <UNSPEC_INSN_FALSE_DEP>: New unspec.
12926 (ffs<mode>2): Do not expand with tzcnt for
12927 TARGET_AVOID_FALSE_DEP_FOR_BMI.
12928 (ffssi2_no_cmove): Ditto.
12929 (*tzcnt<mode>_1): Disable for TARGET_AVOID_FALSE_DEP_FOR_BMI.
12930 (ctz<mode>2): New expander.
12931 (*ctz<mode>2_falsedep_1): New insn_and_split pattern.
12932 (*ctz<mode>2_falsedep): New insn.
12933 (*ctz<mode>2): Rename from ctz<mode>2.
12934 (clz<mode>2_lzcnt): New expander.
12935 (*clz<mode>2_lzcnt_falsedep_1): New insn_and_split pattern.
12936 (*clz<mode>2_lzcnt_falsedep): New insn.
12937 (*clz<mode>2): Rename from ctz<mode>2.
12938 (popcount<mode>2): New expander.
12939 (*popcount<mode>2_falsedep_1): New insn_and_split pattern.
12940 (*popcount<mode>2_falsedep): New insn.
12941 (*popcount<mode>2): Rename from ctz<mode>2.
12942 (*popcount<mode>2_cmp): Remove.
12943 (*popcountsi2_cmp_zext): Ditto.
12945 2014-08-18 Ajit Agarwal <ajitkum@xilinx.com>
12947 * config/microblaze/microblaze.c (microblaze_elf_asm_cdtor): New.
12948 (microblaze_elf_asm_constructor,microblaze_elf_asm_destructor): New.
12949 * config/microblaze/microblaze.h
12950 (TARGET_ASM_CONSTRUCTOR,TARGET_ASM_DESTRUCTOR): New Macros.
12952 2014-08-18 H.J. Lu <hongjiu.lu@intel.com>
12955 * configure.ac: Set install_gold_as_default to no for
12957 * configure: Regenerated.
12959 2014-08-18 Roman Gareev <gareevroman@gmail.com>
12961 * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS.
12962 * config.in: Add undef of HAVE_isl.
12963 * configure: Regenerate.
12964 * configure.ac: Add definition of HAVE_isl.
12965 * graphite-blocking.c: Add checking of HAVE_isl.
12966 * graphite-dependences.c: Likewise.
12967 * graphite-interchange.c: Likewise.
12968 * graphite-isl-ast-to-gimple.c: Likewise.
12969 * graphite-optimize-isl.c: Likewise.
12970 * graphite-poly.c: Likewise.
12971 * graphite-scop-detection.c: Likewise.
12972 * graphite-sese-to-poly.c: Likewise.
12973 * graphite.c: Likewise.
12974 * toplev.c: Replace the checking of HAVE_cloog with the checking
12977 2014-08-18 Richard Biener <rguenther@suse.de>
12979 PR tree-optimization/62090
12980 * builtins.c (fold_builtin_snprintf): Move to gimple-fold.c.
12981 (fold_builtin_3): Do not fold snprintf.
12982 (fold_builtin_4): Likewise.
12983 * gimple-fold.c (gimple_fold_builtin_snprintf): New function
12984 moved from builtins.c.
12985 (gimple_fold_builtin_with_strlen): Fold snprintf and sprintf.
12986 (gimple_fold_builtin): Do not fold sprintf here.
12988 2014-08-18 Richard Biener <rguenther@suse.de>
12990 * gimple-fold.c (maybe_fold_reference): Move re-gimplification
12992 (maybe_canonicalize_mem_ref_addr): ... this function.
12993 (fold_stmt_1): Apply it here before all simplification.
12995 2014-08-18 Ilya Enkovich <ilya.enkovich@intel.com>
12998 * cgraph.h (cgraph_node::create_indirect_edge): Add
12999 compute_indirect_info param.
13000 * cgraph.c (cgraph_node::create_indirect_edge): Compute
13001 indirect_info only when it is required.
13002 * cgraphclones.c (cgraph_clone_edge): Do not recompute
13003 indirect_info fore cloned indirect edge.
13005 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13006 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13007 Anna Tikhonova <anna.tikhonova@intel.com>
13008 Ilya Tocar <ilya.tocar@intel.com>
13009 Andrey Turetskiy <andrey.turetskiy@intel.com>
13010 Ilya Verbin <ilya.verbin@intel.com>
13011 Kirill Yukhin <kirill.yukhin@intel.com>
13012 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13014 * config/i386/sse.md
13015 (define_mode_iterator VI8_AVX2_AVX512BW): New.
13016 (define_insn "<sse2_avx2>_psadbw"): Add evex version.
13018 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13019 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13020 Anna Tikhonova <anna.tikhonova@intel.com>
13021 Ilya Tocar <ilya.tocar@intel.com>
13022 Andrey Turetskiy <andrey.turetskiy@intel.com>
13023 Ilya Verbin <ilya.verbin@intel.com>
13024 Kirill Yukhin <kirill.yukhin@intel.com>
13025 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13027 * config/i386/sse.md
13028 (define_mode_iterator VF1_AVX512VL): New.
13029 (define_insn "ufloatv16siv16sf2<mask_name><round_name>"): Delete.
13030 (define_insn "ufloat<sseintvecmodelower><mode>2<mask_name><round_name>"):
13033 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13034 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13035 Anna Tikhonova <anna.tikhonova@intel.com>
13036 Ilya Tocar <ilya.tocar@intel.com>
13037 Andrey Turetskiy <andrey.turetskiy@intel.com>
13038 Ilya Verbin <ilya.verbin@intel.com>
13039 Kirill Yukhin <kirill.yukhin@intel.com>
13040 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13042 * config/i386/i386.c: Rename ufloatv8siv8df_mask to ufloatv8siv8df2_mask.
13043 * config/i386/i386.md
13044 (define_code_iterator any_float): New.
13045 (define_code_attr floatsuffix): New.
13046 * config/i386/sse.md
13047 (define_mode_iterator VF1_128_256VL): New.
13048 (define_mode_iterator VF2_512_256VL): New.
13049 (define_insn "float<si2dfmodelower><mode>2<mask_name>"): Remove unnecessary
13051 (define_insn "ufloatv8siv8df<mask_name>"): Delete.
13052 (define_insn "<floatsuffix>float<sseintvecmodelower><mode>2<mask_name><round_name>"):
13054 (define_mode_attr qq2pssuff): New.
13055 (define_mode_attr sselongvecmode): New.
13056 (define_mode_attr sselongvecmodelower): New.
13057 (define_mode_attr sseintvecmode3): New.
13058 (define_insn "<floatsuffix>float<sselongvecmodelower><mode>2<mask_name><round_name>"):
13060 (define_insn "*<floatsuffix>floatv2div2sf2"): New.
13061 (define_insn "<floatsuffix>floatv2div2sf2_mask"): New.
13062 (define_insn "ufloat<si2dfmodelower><mode>2<mask_name>"): New.
13063 (define_insn "ufloatv2siv2df2<mask_name>"): New.
13065 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13066 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13067 Anna Tikhonova <anna.tikhonova@intel.com>
13068 Ilya Tocar <ilya.tocar@intel.com>
13069 Andrey Turetskiy <andrey.turetskiy@intel.com>
13070 Ilya Verbin <ilya.verbin@intel.com>
13071 Kirill Yukhin <kirill.yukhin@intel.com>
13072 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13074 * config/i386/sse.md
13075 (define_mode_iterator VF2_AVX512VL): New.
13076 (define_mode_attr sseintvecmode2): New.
13077 (define_insn "ufix_truncv2dfv2si2<mask_name>"): Add masking.
13078 (define_insn "fix_truncv4dfv4si2<mask_name>"): New.
13079 (define_insn "ufix_truncv4dfv4si2<mask_name>"): Ditto.
13081 "<fixsuffix>fix_trunc<mode><sseintvecmodelower>2<mask_name><round_saeonly_name>"):
13083 (define_insn "fix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
13085 (define_insn "ufix_notrunc<mode><sseintvecmodelower>2<mask_name><round_name>"):
13088 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13089 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13090 Anna Tikhonova <anna.tikhonova@intel.com>
13091 Ilya Tocar <ilya.tocar@intel.com>
13092 Andrey Turetskiy <andrey.turetskiy@intel.com>
13093 Ilya Verbin <ilya.verbin@intel.com>
13094 Kirill Yukhin <kirill.yukhin@intel.com>
13095 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13097 * config/i386/i386.md
13098 (define_insn "*movoi_internal_avx"): Add evex version.
13099 (define_insn "*movti_internal"): Ditto.
13101 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13102 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13103 Anna Tikhonova <anna.tikhonova@intel.com>
13104 Ilya Tocar <ilya.tocar@intel.com>
13105 Andrey Turetskiy <andrey.turetskiy@intel.com>
13106 Ilya Verbin <ilya.verbin@intel.com>
13107 Kirill Yukhin <kirill.yukhin@intel.com>
13108 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13110 * config/i386/i386.md
13111 (define_attr "isa"): Add avx512dq, noavx512dq.
13112 (define_attr "enabled"): Ditto.
13113 * config/i386/sse.md
13114 (define_insn "vec_extract_hi_<mode><mask_name>"): Support masking.
13116 2014-08-18 Alexander Ivchenko <alexander.ivchenko@intel.com>
13117 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13118 Anna Tikhonova <anna.tikhonova@intel.com>
13119 Ilya Tocar <ilya.tocar@intel.com>
13120 Andrey Turetskiy <andrey.turetskiy@intel.com>
13121 Ilya Verbin <ilya.verbin@intel.com>
13122 Kirill Yukhin <kirill.yukhin@intel.com>
13123 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13125 * config/i386/i386.c
13126 (ix86_expand_special_args_builtin): Handle avx512vl_storev8sf_mask,
13127 avx512vl_storev8si_mask, avx512vl_storev4df_mask, avx512vl_storev4di_mask,
13128 avx512vl_storev4sf_mask, avx512vl_storev4si_mask, avx512vl_storev2df_mask,
13129 avx512vl_storev2di_mask, avx512vl_loadv8sf_mask, avx512vl_loadv8si_mask,
13130 avx512vl_loadv4df_mask, avx512vl_loadv4di_mask, avx512vl_loadv4sf_mask,
13131 avx512vl_loadv4si_mask, avx512vl_loadv2df_mask, avx512vl_loadv2di_mask,
13132 avx512bw_loadv64qi_mask, avx512vl_loadv32qi_mask, avx512vl_loadv16qi_mask,
13133 avx512bw_loadv32hi_mask, avx512vl_loadv16hi_mask, avx512vl_loadv8hi_mask.
13134 * config/i386/i386.md (define_mode_attr ssemodesuffix): Allow V32HI mode.
13135 * config/i386/sse.md
13136 (define_mode_iterator VMOVE): Allow V4TI mode.
13137 (define_mode_iterator V_AVX512VL): New.
13138 (define_mode_iterator V): New handling for AVX512VL.
13139 (define_insn "avx512f_load<mode>_mask"): Delete.
13140 (define_insn "<avx512>_load<mode>_mask"): New.
13141 (define_insn "avx512f_store<mode>_mask"): Delete.
13142 (define_insn "<avx512>_store<mode>_mask"): New.
13145 2014-08-18 Yury Gribov <y.gribov@samsung.com>
13148 * asan.c (instrument_derefs): Fix bitfield check.
13150 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
13152 * config/rs6000/constraints.md ("S"): Require TARGET_POWERPC64.
13153 * config/rs6000/htm.md (ttest): Remove clobber.
13154 * config/rs6000/predicates.md (any_mask_operand): New predicate.
13155 (and_operand): Reformat.
13156 (and_2rld_operand): New predicate.
13157 * config/rs6000/rs6000-protos.h (rs6000_split_logical): Remove last
13159 * config/rs6000/rs6000.c (rs6000_split_logical_inner): Remove last
13160 parameter. Handle AND directly.
13161 (rs6000_split_logical_di): Remove last parameter.
13162 (rs6000_split_logical): Remove last parameter. Remove obsolete
13164 * config/rs6000/rs6000.md (BOOL_REGS_AND_CR0): Delete.
13165 (one_cmpl<mode>2): Adjust call of rs6000_split_logical.
13166 (ctz<mode>2, ffs<mode>2): Delete clobber. Reformat.
13167 (andsi3, andsi3_mc, andsi3_nomc, *andsi3_internal2_mc,
13168 *andsi3_internal3_mc, *andsi3_internal4, *andsi3_internal5_mc,
13169 and 5 anonymous splitters): Delete.
13170 (and<mode>3): New expander.
13171 (*and<mode>3, *and<mode>3_dot, *and<mode>3_dot2): New.
13172 (and<mode>3_imm, *and<mode>3_imm_dot, *and<mode>3_imm_dot2): New.
13173 (*and<mode>3_mask, *and<mode>3_mask_dot, *and<mode>3_mask_dot2): New.
13174 (ior<mode>, xor<mode>3): Adjust call of rs6000_split_logical.
13175 (floatdisf2_internal1): Remove clobbers.
13176 (anddi3, anddi3_mc, anddi3_nomc, anddi3_internal2_mc,
13177 *anddi3_internal3_mc, and 4 anonymous splitters): Delete.
13178 (*anddi3_2rld, *anddi3_2rld_dot, *anddi3_2rld_dot2): New.
13179 (and<mode>3 for BOOL_128): Remove clobber.
13180 (*and<mode>3_internal for BOOL_128): Remove clobber. Adjust call of
13181 rs6000_split_logical.
13182 (*bool<mode>3_internal for BOOL_128): Adjust call of
13183 rs6000_split_logical.
13184 (*boolc<mode>3_internal1 for BOOL_128,
13185 *boolc<mode>3_internal2 for BOOL_128,
13186 *boolcc<mode>3_internal1 for BOOL_128,
13187 *boolcc<mode>3_internal2 for BOOL_128,
13188 *eqv<mode>3_internal1 for BOOL_128,
13189 *eqv<mode>3_internal2 for BOOL_128,
13190 *one_cmpl<mode>3_internal for BOOL_128): Ditto.
13191 * config/rs6000/vector.md (*vec_reload_and_plus_<mptrsize): Remove
13193 (*vec_reload_and_reg_<mptrsize>): Delete.
13195 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
13197 * config/rs6000/rs6000.md (*boolccsi3_internal1, *boolccsi3_internal2
13198 and split, *boolccsi3_internal3 and split): Delete.
13199 (*boolccdi3_internal1, *boolccdi3_internal2 and split,
13200 *boolccdi3_internal3 and split): Delete.
13201 (*boolcc<mode>3, *boolcc<mode>3_dot, *boolcc<mode>3_dot2): New.
13202 (*eqv<mode>3): Move. Add TODO comment. Fix attributes.
13204 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
13206 * config/rs6000/rs6000.md (*boolcsi3_internal1, *boolcsi3_internal2
13207 and split, *boolcsi3_internal3 and split): Delete.
13208 (*boolcdi3_internal1, *boolcdi3_internal2 and split,
13209 *boolcdi3_internal3 and split): Delete.
13210 (*boolc<mode>3, *boolc<mode>3_dot, *boolc<mode>3_dot2): New.
13212 2014-08-17 Segher Boessenkool <segher@kernel.crashing.org>
13214 * config/rs6000/rs6000.c (print_operand) <'e'>: New.
13215 <'u'>: Also support printing the low-order 16 bits.
13216 * config/rs6000/rs6000.md (iorsi3, xorsi3, *boolsi3_internal1,
13217 *boolsi3_internal2 and split, *boolsi3_internal3 and split): Delete.
13218 (iordi3, xordi3, *booldi3_internal1, *booldi3_internal2 and split,
13219 *booldi3_internal3 and split): Delete.
13220 (ior<mode>3, xor<mode>3, *bool<mode>3, *bool<mode>3_dot,
13221 *bool<mode>3_dot2): New.
13222 (two anonymous define_splits for non_logical_cint_operand): Merge.
13224 2014-08-17 Marek Polacek <polacek@redhat.com>
13225 Manuel López-Ibáñez <manu@gcc.gnu.org>
13228 * diagnostic.c (adjust_line): Add gcc_checking_assert.
13229 (diagnostic_show_locus): Don't print caret diagnostic
13230 if a column is larger than the line_width.
13232 2014-08-17 Roman Gareev <gareevroman@gmail.com>
13234 * common.opt: Make the ISL AST generator to be the main code generator
13237 2014-08-16 Gerald Pfeifer <gerald@pfeifer.com>
13239 * wide-int.h (generic_wide_int): Declare as class instead of struct.
13241 2014-08-16 John David Anglin <danglin@gcc.gnu.org>
13244 * config/pa/pa-protos.h (pa_output_addr_vec, pa_output_addr_diff_vec):
13246 * config/pa/pa.c (pa_reorg): Remove code to insert brtab marker insns.
13247 (pa_output_addr_vec, pa_output_addr_diff_vec): New.
13248 * config/pa/pa.h (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC):
13250 * config/pa/pa.md (begin_brtab): Delete insn.
13251 (end_brtab): Likewise.
13253 2014-08-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
13255 * doc/cppopts.texi (ftrack-macro-expansion): Add missing @code.
13257 2014-08-15 Jan Hubicka <hubicka@ucw.cz>
13259 * ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
13260 (possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
13261 possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
13262 (get_dynamic_type): Remove.
13263 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
13264 (clear_speculation): Bring to ipa-deivrt.h
13265 (get_class_context): Rename to ...
13266 (ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
13267 (contains_type_p): Update.
13268 (get_dynamic_type): Rename to ...
13269 ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
13270 (possible_polymorphic_call_targets): UPdate.
13271 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
13272 * ipa-prop.c (ipa_analyze_call_uses): Update.
13274 2014-08-15 Oleg Endo <olegendo@gcc.gnu.org>
13276 * doc/invoke.texi (SH options): Document missing processor variant
13277 options. Remove references to Hitachi. Undocument deprecated mspace
13280 2014-08-15 Jason Merrill <jason@redhat.com>
13282 * tree.c (type_hash_canon): Uncomment assert.
13284 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
13286 * input.h (in_system_header_at): Add comment.
13288 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
13291 * diagnostic.c (build_message_string): Make it extern.
13292 * diagnostic.h (build_message_string): Make it extern.
13294 2014-08-15 Vladimir Makarov <vmakarov@redhat.com>
13296 * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode for
13297 load/store from/to non-floating class pseudo.
13299 2014-08-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
13301 * input.c (diagnostic_file_cache_fini): Fix typo in comment.
13303 2014-08-15 Richard Biener <rguenther@suse.de>
13305 * tree-ssa-structalias.c (readonly_id): Rename to string_id.
13306 (get_constraint_for_ssa_var): Remove dead code.
13307 (get_constraint_for_1): Adjust.
13308 (find_what_var_points_to): Likewise.
13309 (init_base_vars): Likewise. STRING_CSTs do not contain pointers.
13311 2014-08-15 Ilya Tocar <tocarip@gmail.com>
13314 * config/i386/avx512fintrin.h (_mm512_mask_cmpge_epi32_mask): New.
13315 (_mm512_mask_cmpge_epu32_mask): Ditto.
13316 (_mm512_cmpge_epu32_mask): Ditto.
13317 (_mm512_mask_cmpge_epi64_mask): Ditto.
13318 (_mm512_cmpge_epi64_mask): Ditto.
13319 (_mm512_mask_cmpge_epu64_mask): Ditto.
13320 (_mm512_cmpge_epu64_mask): Ditto.
13321 (_mm512_mask_cmple_epi32_mask): Ditto.
13322 (_mm512_cmple_epi32_mask): Ditto.
13323 (_mm512_mask_cmple_epu32_mask): Ditto.
13324 (_mm512_cmple_epu32_mask): Ditto.
13325 (_mm512_mask_cmple_epi64_mask): Ditto.
13326 (_mm512_cmple_epi64_mask): Ditto.
13327 (_mm512_mask_cmple_epu64_mask): Ditto.
13328 (_mm512_cmple_epu64_mask): Ditto.
13329 (_mm512_mask_cmplt_epi32_mask): Ditto.
13330 (_mm512_cmplt_epi32_mask): Ditto.
13331 (_mm512_mask_cmplt_epu32_mask): Ditto.
13332 (_mm512_cmplt_epu32_mask): Ditto.
13333 (_mm512_mask_cmplt_epi64_mask): Ditto.
13334 (_mm512_cmplt_epi64_mask): Ditto.
13335 (_mm512_mask_cmplt_epu64_mask): Ditto.
13336 (_mm512_cmplt_epu64_mask): Ditto.
13337 (_mm512_mask_cmpneq_epi32_mask): Ditto.
13338 (_mm512_mask_cmpneq_epu32_mask): Ditto.
13339 (_mm512_cmpneq_epu32_mask): Ditto.
13340 (_mm512_mask_cmpneq_epi64_mask): Ditto.
13341 (_mm512_cmpneq_epi64_mask): Ditto.
13342 (_mm512_mask_cmpneq_epu64_mask): Ditto.
13343 (_mm512_cmpneq_epu64_mask): Ditto.
13344 (_mm512_castpd_ps): Ditto.
13345 (_mm512_castpd_si512): Ditto.
13346 (_mm512_castps_pd): Ditto.
13347 (_mm512_castps_si512): Ditto.
13348 (_mm512_castsi512_ps): Ditto.
13349 (_mm512_castsi512_pd): Ditto.
13350 (_mm512_castpd512_pd128): Ditto.
13351 (_mm512_castps512_ps128): Ditto.
13352 (_mm512_castsi512_si128): Ditto.
13353 (_mm512_castpd512_pd256): Ditto.
13354 (_mm512_castps512_ps256): Ditto.
13355 (_mm512_castsi512_si256): Ditto.
13356 (_mm512_castpd128_pd512): Ditto.
13357 (_mm512_castps128_ps512): Ditto.
13358 (_mm512_castsi128_si512): Ditto.
13359 (_mm512_castpd256_pd512): Ditto.
13360 (_mm512_castps256_ps512): Ditto.
13361 (_mm512_castsi256_si512): Ditto.
13362 (_mm512_cmpeq_epu32_mask): Ditto.
13363 (_mm512_mask_cmpeq_epu32_mask): Ditto.
13364 (_mm512_mask_cmpeq_epu64_mask): Ditto.
13365 (_mm512_cmpeq_epu64_mask): Ditto.
13366 (_mm512_cmpgt_epu32_mask): Ditto.
13367 (_mm512_mask_cmpgt_epu32_mask): Ditto.
13368 (_mm512_mask_cmpgt_epu64_mask): Ditto.
13369 (_mm512_cmpgt_epu64_mask): Ditto.
13370 * config/i386/i386-builtin-types.def: Add V16SF_FTYPE_V8SF,
13371 V16SI_FTYPE_V8SI, V16SI_FTYPE_V4SI, V8DF_FTYPE_V2DF.
13372 * config/i386/i386.c (enum ix86_builtins): Add
13373 IX86_BUILTIN_SI512_SI256, IX86_BUILTIN_PD512_PD256,
13374 IX86_BUILTIN_PS512_PS256, IX86_BUILTIN_SI512_SI,
13375 IX86_BUILTIN_PD512_PD, IX86_BUILTIN_PS512_PS.
13376 (bdesc_args): Add __builtin_ia32_si512_256si,
13377 __builtin_ia32_ps512_256ps, __builtin_ia32_pd512_256pd,
13378 __builtin_ia32_si512_si, __builtin_ia32_ps512_ps,
13379 __builtin_ia32_pd512_pd.
13380 (ix86_expand_args_builtin): Handle new FTYPEs.
13381 * config/i386/sse.md (castmode): Add 512-bit modes.
13382 (AVX512MODE2P): New.
13383 (avx512f_<castmode><avxsizesuffix>_<castmode): New.
13384 (avx512f_<castmode><avxsizesuffix>_256<castmode): Ditto.
13386 2014-08-15 Richard Biener <rguenther@suse.de>
13388 * fold-const.c (tree_swap_operands_p): Put all constants
13389 last, also strip sign-changing NOPs when considering further
13390 canonicalization. Canonicalize also when optimizing for size.
13392 2014-08-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
13394 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
13395 one_match > zero_match case to just before simple_sequence.
13397 2014-08-15 Richard Biener <rguenther@suse.de>
13399 * data-streamer.h (streamer_string_index, string_for_index):
13401 * data-streamer-out.c (streamer_string_index): Make static.
13402 * data-streamer-in.c (string_for_index): Likewise.
13403 * lto-streamer-out.c (lto_output_location): Use bp_pack_string.
13404 * lto-streamer-in.c (lto_input_location): Use bp_unpack_string.
13406 2014-08-15 Richard Biener <rguenther@suse.de>
13408 PR tree-optimization/62031
13409 * tree-data-ref.c (dr_analyze_indices): Do not set
13410 DR_UNCONSTRAINED_BASE.
13411 (dr_may_alias_p): All indirect accesses have to go the
13412 formerly DR_UNCONSTRAINED_BASE path.
13413 * tree-data-ref.h (struct indices): Remove
13414 unconstrained_base member.
13415 (DR_UNCONSTRAINED_BASE): Remove.
13417 2014-08-15 Jakub Jelinek <jakub@redhat.com>
13419 PR middle-end/62092
13420 * gimplify.c (gimplify_adjust_omp_clauses_1): Don't remove
13421 OMP_CLAUSE_SHARED for global vars if the global var is mentioned
13422 in OMP_CLAUSE_MAP in some outer target region.
13424 2014-08-15 Bin Cheng <bin.cheng@arm.com>
13426 * tree-ssa-loop-ivopts.c (ivopts_data): New field
13427 name_expansion_cache.
13428 (tree_ssa_iv_optimize_init): Initialize name_expansion_cache.
13429 (tree_ssa_iv_optimize_finalize): Free name_expansion_cache.
13430 (strip_wrap_conserving_type_conversions, expr_equal_p): Delete.
13431 (difference_cannot_overflow_p): New parameter. Use affine
13432 expansion for equality check.
13433 (iv_elimination_compare_lt): Pass new argument.
13435 2014-08-14 DJ Delorie <dj@redhat.com>
13437 * config/rl78/rl78-real.md (addqi3_real): Allow adding global
13438 variables to the accumulator.
13440 * config/rl78/predicates.md (rl78_near_mem_operand): New.
13441 * config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
13442 (movhi_virt_mm): Split out near mem-mem moves to avoid problems
13443 with far-far moves.
13445 * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
13446 * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
13447 (umulqihi3_virt): Likewise.
13448 * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
13449 (umulqihi3_real): Likewise.
13451 * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
13453 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
13455 PR tree-optimization/62091
13456 * tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
13457 function_entry_reached.
13458 (walk_aliased_vdefs): Clear it here.
13459 * ipa-devirt.c (check_stmt_for_type_change): Handle static storage.
13461 2014-08-14 Jan Hubicka <hubicka@ucw.cz>
13463 * ipa-utils.h (compare_virtual_tables): Declare.
13464 * ipa-devirt.c (odr_subtypes_equivalent_p): New function
13466 2014-08-14 Marek Polacek <polacek@redhat.com>
13469 * ginclude/stdatomic.h (__atomic_type_lock_free): Remove.
13470 (ATOMIC_*_LOCK_FREE): Map to __GCC_ATOMIC_*_LOCK_FREE.
13472 2014-08-14 Tom de Vries <tom@codesourcery.com>
13474 * emit-rtl.h (mem_attrs_eq_p): Remove duplicate declaration.
13476 2014-08-14 Tom de Vries <tom@codesourcery.com>
13478 PR rtl-optimization/62004
13479 PR rtl-optimization/62030
13480 * ifcvt.c (rtx_interchangeable_p): New function.
13481 (noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
13482 * emit-rtl.h (mem_attrs_eq_p): Declare.
13484 2014-08-14 Roman Gareev <gareevroman@gmail.com>
13486 * graphite-scop-detection.c:
13487 Add inclusion of cp-tree.h.
13488 (graphite_can_represent_scev): Disables the handling of SSA_NAME nodes
13489 in case they are pointers to object types
13491 2014-08-14 Richard Biener <rguenther@suse.de>
13493 * BASE-VER: Change to 5.0.0
13495 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
13496 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13497 Anna Tikhonova <anna.tikhonova@intel.com>
13498 Ilya Tocar <ilya.tocar@intel.com>
13499 Andrey Turetskiy <andrey.turetskiy@intel.com>
13500 Ilya Verbin <ilya.verbin@intel.com>
13501 Kirill Yukhin <kirill.yukhin@intel.com>
13502 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13504 * config/i386/sse.md (define_mode_attr avx512): New.
13505 (define_mode_attr sse2_avx_avx512f): Allow V8HI, V16HI, V32HI, V2DI,
13507 (define_mode_attr sse2_avx2): Allow V64QI, V32HI, V4TI modes.
13508 (define_mode_attr ssse3_avx2): Ditto.
13509 (define_mode_attr sse4_1_avx2): Allow V64QI, V32HI, V8DI modes.
13510 (define_mode_attr avx2_avx512bw): New.
13511 (define_mode_attr ssedoublemodelower): New.
13512 (define_mode_attr ssedoublemode): Allow V8SF, V8SI, V4DI, V4DF, V4SI,
13513 V32HI, V64QI modes.
13514 (define_mode_attr ssebytemode): Allow V8DI modes.
13515 (define_mode_attr sseinsnmode): Allow V4TI, V32HI, V64QI modes.
13516 (define_mode_attr sseintvecmodelower): Allow V8DF, V4TI modes.
13517 (define_mode_attr ssePSmode2): New.
13518 (define_mode_attr ssescalarsize): Allow V64QI, V32QI, V16QI, V8HI,
13519 V16HI, V32HI modes.
13520 (define_mode_attr dbpsadbwmode): New.
13521 (define_mode_attr bcstscalarsuff): Allow V64QI, V32QI, V16QI, V32HI,
13522 V16HI, V8HI, V8SI, V4SI, V4DI, V2DI, V8SF, V4SF, V4DF, V2DF modes.
13523 (vi8_sse4_1_avx2_avx512): New.
13524 (define_insn <sse4_1_avx2>_movntdqa): Use <vi8_sse4_1_avx2_avx512>
13526 (define_mode_attr blendbits): Move before its immediate use.
13528 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
13529 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13530 Anna Tikhonova <anna.tikhonova@intel.com>
13531 Ilya Tocar <ilya.tocar@intel.com>
13532 Andrey Turetskiy <andrey.turetskiy@intel.com>
13533 Ilya Verbin <ilya.verbin@intel.com>
13534 Kirill Yukhin <kirill.yukhin@intel.com>
13535 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13537 * config/i386/sse.md: Allow V64QI, V32QI, V32HI, V4HI modes.
13538 * config/i386/subst.md
13539 (define_mode_iterator SUBST_V): Update.
13540 (define_mode_iterator SUBST_A): Ditto.
13541 (define_subst_attr "mask_operand7"): New.
13542 (define_subst_attr "mask_operand10"): New.
13543 (define_subst_attr "mask_operand_arg34") : New.
13544 (define_subst_attr "mask_expand_op3"): New.
13545 (define_subst_attr "mask_mode512bit_condition"): Handle TARGET_AVX512VL.
13546 (define_subst_attr "sd_mask_mode512bit_condition"): Ditto.
13547 (define_subst_attr "mask_avx512vl_condition"): New.
13548 (define_subst_attr "round_mask_operand4"): Ditto.
13549 (define_subst_attr "round_mask_scalar_op3"): Delete.
13550 (define_subst_attr "round_mask_op4"): New.
13551 (define_subst_attr "round_mode512bit_condition"): Allow V8DImode,
13553 (define_subst_attr "round_modev8sf_condition"): New.
13554 (define_subst_attr "round_modev4sf_condition"): GET_MODE instead of
13556 (define_subst_attr "round_saeonly_mask_operand4"): New.
13557 (define_subst_attr "round_saeonly_mask_op4"): New.
13558 (define_subst_attr "round_saeonly_mode512bit_condition"): Allow
13559 V8DImode, V16SImode.
13560 (define_subst_attr "round_saeonly_modev8sf_condition"): New.
13561 (define_subst_attr "mask_expand4_name" "mask_expand4"): New.
13562 (define_subst_attr "mask_expand4_args"): New.
13563 (define_subst "mask_expand4"): New.
13565 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
13566 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13567 Anna Tikhonova <anna.tikhonova@intel.com>
13568 Ilya Tocar <ilya.tocar@intel.com>
13569 Andrey Turetskiy <andrey.turetskiy@intel.com>
13570 Ilya Verbin <ilya.verbin@intel.com>
13571 Kirill Yukhin <kirill.yukhin@intel.com>
13572 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13574 * config/i386/i386.md
13575 (define_attr "isa"): Add avx512bw,noavx512bw.
13576 (define_attr "enabled"): Ditto.
13577 (define_split): Add 32/64-bit mask logic.
13578 (define_insn "*k<logic>qi"): New.
13579 (define_insn "*k<logic>hi"): New.
13580 (define_insn "*anddi_1"): Add mask version.
13581 (define_insn "*andsi_1"): Ditto.
13582 (define_insn "*<code><mode>_1"): Ditto.
13583 (define_insn "*<code>hi_1"): Ditto.
13584 (define_insn "kxnor<mode>"): New.
13585 (define_insn "kunpcksi"): New.
13586 (define_insn "kunpckdi"): New.
13587 (define_insn "*one_cmpl<mode>2_1"): Add mask version.
13588 (define_insn "*one_cmplhi2_1"): Ditto.
13590 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
13591 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13592 Anna Tikhonova <anna.tikhonova@intel.com>
13593 Ilya Tocar <ilya.tocar@intel.com>
13594 Andrey Turetskiy <andrey.turetskiy@intel.com>
13595 Ilya Verbin <ilya.verbin@intel.com>
13596 Kirill Yukhin <kirill.yukhin@intel.com>
13597 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13599 * config/i386/i386.c (ix86_preferred_simd_mode): Allow V64QImode and
13602 2014-08-14 Alexander Ivchenko <alexander.ivchenko@intel.com>
13603 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13604 Anna Tikhonova <anna.tikhonova@intel.com>
13605 Ilya Tocar <ilya.tocar@intel.com>
13606 Andrey Turetskiy <andrey.turetskiy@intel.com>
13607 Ilya Verbin <ilya.verbin@intel.com>
13608 Kirill Yukhin <kirill.yukhin@intel.com>
13609 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13611 * config/i386/i386.c (print_reg): Сorrectly print 64-bit mask
13613 (inline_secondary_memory_needed): Allow 64 bit wide mask registers.
13614 (ix86_hard_regno_mode_ok): Allow 32/64-bit mask registers and
13615 xmm/ymm16+ when availble.
13616 * config/i386/i386.h
13617 (HARD_REGNO_NREGS): Add mask regs.
13618 (VALID_AVX512F_REG_MODE): Ditto.
13619 (VALID_AVX512F_REG_MODE) : Define.
13620 (VALID_MASK_AVX512BW_MODE): Ditto.
13621 (reg_class) (MASK_REG_P(X)): Define.
13622 * config/i386/i386.md: Do not split long moves with mask register,
13623 use kmovb if avx512bw is availible.
13624 (movdi_internal): Handle mask registers.
13626 2014-08-14 Richard Biener <rguenther@suse.de>
13628 PR tree-optimization/62081
13629 * tree-ssa-loop.c (pass_fix_loops): New pass.
13630 (pass_tree_loop::gate): Do not fixup loops here.
13631 * tree-pass.h (make_pass_fix_loops): Declare.
13632 * passes.def: Schedule pass_fix_loops before GIMPLE loop passes.
13634 2014-08-14 Richard Biener <rguenther@suse.de>
13636 * tree.c (type_hash_lookup, type_hash_add): Merge into ...
13637 (type_hash_canon): ... this and avoid 2nd lookup for the add.
13639 2014-08-14 Richard Biener <rguenther@suse.de>
13641 PR tree-optimization/62090
13642 * builtins.c (fold_builtin_sprintf): Move to gimple-fold.c.
13643 (fold_builtin_2): Do not fold sprintf.
13644 (fold_builtin_3): Likewise.
13645 * gimple-fold.c (gimple_fold_builtin_sprintf): New function
13646 moved from builtins.c.
13647 (gimple_fold_builtin): Fold sprintf.
13649 2014-08-14 Richard Biener <rguenther@suse.de>
13651 PR rtl-optimization/62079
13652 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg
13655 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
13657 * ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
13658 current_function_decl.
13660 2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
13662 * cgraph.c (cgraph_node::function_symbol): Fix wrong
13663 cgraph_function_node to cgraph_node::function_symbol
13666 2014-08-14 Zhenqiang Chen <zhenqiang.chen@arm.com>
13668 * config/arm/arm.c (arm_option_override): Set max_insns_skipped
13669 to MAX_INSN_PER_IT_BLOCK when optimize_size for THUMB2.
13671 2014-08-13 Chen Gang gang.chen.5i5j@gmail.com
13673 * microblaze/microblaze.md: Remove redundant '@' to avoid compiling
13676 2014-08-13 Roman Gareev <gareevroman@gmail.com>
13678 * gcc.dg/graphite/pr35356-2.c: Update according to the ISL code
13681 2014-08-12 Jakub Jelinek <jakub@redhat.com>
13684 * sched-deps.c (find_inc): Check if inc_insn doesn't clobber
13685 any registers that are used in mem_insn.
13687 2014-08-12 Steve Ellcey <sellcey@mips.com>
13689 * config/mips/mips.h (ASM_SPEC): Pass float options to assembler.
13691 2014-08-12 Steve Ellcey <sellcey@mips.com>
13693 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Remove fp64 multilib.
13694 (MULTILIB_DIRNAMES): Ditto.
13695 * config/mips/t-mti-elf (MULTILIB_OPTIONS): Ditto.
13696 * config/mips/t-mti-elf (MULTILIB_EXCEPTIONS): Ditto.
13697 * config/mips/t-mti-linux (MULTILIB_OPTIONS): Ditto.
13698 * config/mips/t-mti-linux (MULTILIB_DIRNAMES): Ditto.
13699 * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Ditto.
13700 * config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Ditto.
13702 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
13705 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix definition
13706 of __ARM_SIZEOF_WCHAR_T.
13708 2014-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
13711 * config/arm/vfp.md (*combine_vcvtf2i): Fix constraint.
13712 Remove unnecessary attributes.
13714 2014-08-12 Yury Gribov <y.gribov@samsung.com>
13716 * internal-fn.c (init_internal_fns): Fix off-by-one.
13718 2014-08-12 Alexander Ivchenko <alexander.ivchenko@intel.com>
13719 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13720 Anna Tikhonova <anna.tikhonova@intel.com>
13721 Ilya Tocar <ilya.tocar@intel.com>
13722 Andrey Turetskiy <andrey.turetskiy@intel.com>
13723 Ilya Verbin <ilya.verbin@intel.com>
13724 Kirill Yukhin <kirill.yukhin@intel.com>
13725 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13727 * config/i386/i386.c (standard_sse_constant_opcode): Use
13728 vpxord/vpternlog if avx512 is availible.
13730 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
13732 PR middle-end/62103
13733 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
13734 bitfields, that is when size doesn't match the size of type or the
13735 size of the constructor.
13737 2014-08-11 Michael Meissner <meissner@linux.vnet.ibm.com>
13739 * config/rs6000/constraints.md (wh constraint): New constraint,
13740 for FP registers if direct move is available.
13741 (wi constraint): New constraint, for VSX/FP registers that can
13742 handle 64-bit integers.
13743 (wj constraint): New constraint for VSX/FP registers that can
13744 handle 64-bit integers for direct moves.
13745 (wk constraint): New constraint for VSX/FP registers that can
13746 handle 64-bit doubles for direct moves.
13747 (wy constraint): Make documentation match implementation.
13749 * config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
13750 scalar_in_vmx_p field to simplify tests of whether SFmode or
13751 DFmode can go in the Altivec registers.
13752 (rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
13753 (rs6000_setup_reg_addr_masks): Likewise.
13754 (rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
13755 field, and wh/wi/wj/wk constraints.
13756 (rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
13757 the wh/wi/wj/wk constraints.
13758 (rs6000_preferred_reload_class): If SFmode/DFmode can go in the
13759 upper registers, prefer VSX registers unless the operation is a
13760 memory operation with REG+OFFSET addressing.
13762 * config/rs6000/vsx.md (VSr mode attribute): Add support for
13763 DImode. Change SFmode to use ww constraint instead of d to allow
13764 SF registers in the upper registers.
13767 (VSr5): Fix thinko in comment.
13768 (VSa): New mode attribute that is an alternative to wa, that
13769 returns the VSX register class that a mode can go in, but may not
13770 be the preferred register class.
13771 (VS_64dm): New mode attribute for appropriate register classes for
13772 referencing 64-bit elements of vectors for direct moves and normal
13774 (VS_64reg): Likewise.
13775 (vsx_mov<mode>): Change wa constraint to <VSa> to limit the
13776 register allocator to only registers the data type can handle.
13777 (vsx_le_perm_load_<mode>): Likewise.
13778 (vsx_le_perm_store_<mode>): Likewise.
13779 (vsx_xxpermdi2_le_<mode>): Likewise.
13780 (vsx_xxpermdi4_le_<mode>): Likewise.
13781 (vsx_lxvd2x2_le_<mode>): Likewise.
13782 (vsx_lxvd2x4_le_<mode>): Likewise.
13783 (vsx_stxvd2x2_le_<mode>): Likewise.
13784 (vsx_add<mode>3): Likewise.
13785 (vsx_sub<mode>3): Likewise.
13786 (vsx_mul<mode>3): Likewise.
13787 (vsx_div<mode>3): Likewise.
13788 (vsx_tdiv<mode>3_internal): Likewise.
13789 (vsx_fre<mode>2): Likewise.
13790 (vsx_neg<mode>2): Likewise.
13791 (vsx_abs<mode>2): Likewise.
13792 (vsx_nabs<mode>2): Likewise.
13793 (vsx_smax<mode>3): Likewise.
13794 (vsx_smin<mode>3): Likewise.
13795 (vsx_sqrt<mode>2): Likewise.
13796 (vsx_rsqrte<mode>2): Likewise.
13797 (vsx_tsqrt<mode>2_internal): Likewise.
13798 (vsx_fms<mode>4): Likewise.
13799 (vsx_nfma<mode>4): Likewise.
13800 (vsx_eq<mode>): Likewise.
13801 (vsx_gt<mode>): Likewise.
13802 (vsx_ge<mode>): Likewise.
13803 (vsx_eq<mode>_p): Likewise.
13804 (vsx_gt<mode>_p): Likewise.
13805 (vsx_ge<mode>_p): Likewise.
13806 (vsx_xxsel<mode>): Likewise.
13807 (vsx_xxsel<mode>_uns): Likewise.
13808 (vsx_copysign<mode>3): Likewise.
13809 (vsx_float<VSi><mode>2): Likewise.
13810 (vsx_floatuns<VSi><mode>2): Likewise.
13811 (vsx_fix_trunc<mode><VSi>2): Likewise.
13812 (vsx_fixuns_trunc<mode><VSi>2): Likewise.
13813 (vsx_x<VSv>r<VSs>i): Likewise.
13814 (vsx_x<VSv>r<VSs>ic): Likewise.
13815 (vsx_btrunc<mode>2): Likewise.
13816 (vsx_b2trunc<mode>2): Likewise.
13817 (vsx_floor<mode>2): Likewise.
13818 (vsx_ceil<mode>2): Likewise.
13819 (vsx_<VS_spdp_insn>): Likewise.
13820 (vsx_xscvspdp): Likewise.
13821 (vsx_xvcvspuxds): Likewise.
13822 (vsx_float_fix_<mode>2): Likewise.
13823 (vsx_set_<mode>): Likewise.
13824 (vsx_extract_<mode>_internal1): Likewise.
13825 (vsx_extract_<mode>_internal2): Likewise.
13826 (vsx_extract_<mode>_load): Likewise.
13827 (vsx_extract_<mode>_store): Likewise.
13828 (vsx_splat_<mode>): Likewise.
13829 (vsx_xxspltw_<mode>): Likewise.
13830 (vsx_xxspltw_<mode>_direct): Likewise.
13831 (vsx_xxmrghw_<mode>): Likewise.
13832 (vsx_xxmrglw_<mode>): Likewise.
13833 (vsx_xxsldwi_<mode>): Likewise.
13834 (vsx_xscvdpspn): Tighten constraints to only use register classes
13836 (vsx_xscvspdpn): Likewise.
13837 (vsx_xscvdpspn_scalar): Likewise.
13839 * config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
13840 wj, and wk constraints.
13841 (GPR_REG_CLASS_P): New helper macro for register classes targeting
13842 general purpose registers.
13844 * config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
13846 (zero_extendsidi2_lfiwz): Use wj constraint for direct move of
13847 DImode instead of wm. Use wk constraint for direct move of DFmode
13849 (extendsidi2_lfiwax): Likewise.
13850 (lfiwax): Likewise.
13851 (lfiwzx): Likewise.
13852 (movdi_internal64): Likewise.
13854 * doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
13855 wk constraints. Make the wy constraint documentation match them
13858 2014-08-11 Mircea Namolaru <mircea.namolaru@inria.fr>
13860 Replacement of isl_int by isl_val
13861 * graphite-clast-to-gimple.c: include isl/val.h, isl/val_gmp.h
13862 (compute_bounds_for_param): use isl_val instead of isl_int
13863 (compute_bounds_for_loop): likewise
13864 * graphite-interchange.c: include isl/val.h, isl/val_gmp.h
13865 (build_linearized_memory_access): use isl_val instead of isl_int
13866 (pdr_stride_in_loop): likewise
13867 * graphite-optimize-isl.c:
13868 (getPrevectorMap): use isl_val instead of isl_int
13870 (pbb_number_of_iterations_at_time): use isl_val instead of isl_int
13871 graphite-sese-to-poly.c: include isl/val.h, isl/val_gmp.h
13872 (extern the_isl_ctx): declare
13873 (build_pbb_scattering_polyhedrons): use isl_val instead of isl_int
13874 (extract_affine_gmp): likewise
13876 (build_loop_iteration_domains): likewise
13877 (add_param_constraints): likewise
13879 2014-08-11 Richard Biener <rguenther@suse.de>
13881 PR tree-optimization/62075
13882 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
13883 handle uses in patterns.
13885 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
13886 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13887 Anna Tikhonova <anna.tikhonova@intel.com>
13888 Ilya Tocar <ilya.tocar@intel.com>
13889 Andrey Turetskiy <andrey.turetskiy@intel.com>
13890 Ilya Verbin <ilya.verbin@intel.com>
13891 Kirill Yukhin <kirill.yukhin@intel.com>
13892 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13894 * common/config/i386/i386-common.c
13895 (OPTION_MASK_ISA_AVX512VL_SET): Define.
13896 (OPTION_MASK_ISA_AVX512F_UNSET): Update.
13897 (ix86_handle_option): Handle OPT_mavx512vl.
13898 * config/i386/cpuid.h (bit_AVX512VL): Define.
13899 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512vl,
13900 set -mavx512vl accordingly.
13901 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
13902 OPTION_MASK_ISA_AVX512VL.
13903 * config/i386/i386.c (ix86_target_string): Handle -mavx512vl.
13904 (ix86_option_override_internal): Define PTA_AVX512VL, handle
13905 PTA_AVX512VL and OPTION_MASK_ISA_AVX512VL.
13906 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512vl.
13907 * config/i386/i386.h (TARGET_AVX512VL): Define.
13908 (TARGET_AVX512VL_P(x)): Ditto.
13909 * config/i386/i386.opt: Add mavx512vl.
13911 2014-08-11 Felix Yang <fei.yang0953@gmail.com>
13913 PR tree-optimization/62073
13914 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
13917 2014-08-11 Alexander Ivchenko <alexander.ivchenko@intel.com>
13918 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
13919 Anna Tikhonova <anna.tikhonova@intel.com>
13920 Ilya Tocar <ilya.tocar@intel.com>
13921 Andrey Turetskiy <andrey.turetskiy@intel.com>
13922 Ilya Verbin <ilya.verbin@intel.com>
13923 Kirill Yukhin <kirill.yukhin@intel.com>
13924 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
13926 * common/config/i386/i386-common.c
13927 (OPTION_MASK_ISA_AVX512BW_SET) : Define.
13928 (OPTION_MASK_ISA_AVX512BW_UNSET): Ditto.
13929 (OPTION_MASK_ISA_AVX512VL_UNSET) : Ditto.
13930 (ix86_handle_option): Handle OPT_mavx512bw.
13931 * config/i386/cpuid.h (bit_AVX512BW): Define.
13932 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512bw,
13933 set -mavx512bw accordingly.
13934 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
13935 OPTION_MASK_ISA_AVX512BW.
13936 * config/i386/i386.c (ix86_target_string): Handle -mavx512bw.
13937 (ix86_option_override_internal): Define PTA_AVX512BW, handle
13938 PTA_AVX512BW and OPTION_MASK_ISA_AVX512BW.
13939 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512bw.
13940 * config/i386/i386.h (TARGET_AVX512BW): Define.
13941 (TARGET_AVX512BW_P(x)): Ditto.
13942 * config/i386/i386.opt: Add mavx512bw.
13944 2014-08-11 Richard Biener <rguenther@suse.de>
13946 PR tree-optimization/62070
13947 * tree-ssa-loop-manip.c (gimple_duplicate_loop_to_header_edge):
13948 Remove SSA checking.
13950 2014-08-11 Yury Gribov <y.gribov@samsung.com>
13952 * asan.c (asan_check_flags): New enum.
13953 (build_check_stmt_with_calls): Removed function.
13954 (build_check_stmt): Split inlining logic to
13955 asan_expand_check_ifn.
13956 (instrument_derefs): Rename parameter.
13957 (instrument_mem_region_access): Rename parameter.
13958 (instrument_strlen_call): Likewise.
13959 (asan_expand_check_ifn): New function.
13960 (asan_instrument): Remove old code.
13961 (pass_sanopt::execute): Change handling of
13962 asan-instrumentation-with-call-threshold.
13963 (asan_clear_shadow): Fix formatting.
13964 (asan_function_start): Likewise.
13965 (asan_emit_stack_protection): Likewise.
13966 * doc/invoke.texi (asan-instrumentation-with-call-threshold):
13967 Update description.
13968 * internal-fn.c (expand_ASAN_CHECK): New function.
13969 * internal-fn.def (ASAN_CHECK): New internal function.
13970 * params.def (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD):
13971 Update description.
13972 (PARAM_ASAN_USE_AFTER_RETURN): Likewise.
13973 * tree.c: Small comment fix.
13975 2014-08-11 Yury Gribov <y.gribov@samsung.com>
13977 * gimple.c (gimple_call_fnspec): Support internal functions.
13978 (gimple_call_return_flags): Use const.
13979 * Makefile.in (GTFILES): Add internal-fn.h to list of GC files.
13980 * internal-fn.def: Add fnspec information.
13981 * internal-fn.h (internal_fn_fnspec): New function.
13982 (init_internal_fns): Declare new function.
13983 * internal-fn.c (internal_fn_fnspec_array): New global variable.
13984 (init_internal_fns): New function.
13985 * tree-core.h: Update macro call.
13986 * tree.c (build_common_builtin_nodes): Initialize internal fns.
13988 2014-08-10 Gerald Pfeifer <gerald@pfeifer.com>
13990 * lto-streamer.h (struct output_block::symbol): Change from
13991 struct symtab_node to plain symtab_node.
13992 (referenced_from_this_partition_p): Change first parameter
13993 from struct symtab_node to plain symtab_node.
13995 2014-08-10 Marek Polacek <polacek@redhat.com>
13998 * gcc/doc/invoke.texi: Document -Wc90-c99-compat.
14000 2014-08-09 Jan Hubicka <hubicka@ucw.cz>
14002 * ipa-devirt.c (get_dynamic_type): Handle case when instance is in
14003 DECL correctly; do not give up on types in static storage.
14005 2014-08-09 Paolo Carlini <paolo.carlini@oracle.com>
14007 * doc/invoke.texi ([Wnarrowing]): Update for non-constants in C++11.
14009 2014-08-09 Roman Gareev <gareevroman@gmail.com>
14011 * graphite-isl-ast-to-gimple.c:
14012 (translate_isl_ast_node_user): Use nb_loops instead of loop->num + 1.
14014 * gcc.dg/graphite/isl-ast-gen-user-1.c: New testcase.
14016 2014-08-08 Guozhi Wei <carrot@google.com>
14018 * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint.
14020 2014-08-08 Cary Coutant <ccoutant@google.com>
14022 * dwarf2out.c (get_skeleton_type_unit): Remove.
14023 (output_skeleton_debug_sections): Remove skeleton type units.
14024 (output_comdat_type_unit): Likewise.
14025 (dwarf2out_finish): Likewise.
14027 2014-08-07 Yi Yang <ahyangyi@google.com>
14029 * predict.c (expr_expected_value_1): Remove the redundant assignment.
14031 2014-08-08 Richard Biener <rguenther@suse.de>
14033 * lto-streamer.h (struct lto_input_block): Make it a class
14034 with a constructor.
14035 (LTO_INIT_INPUT_BLOCK, LTO_INIT_INPUT_BLOCK_PTR): Remove.
14036 (struct lto_function_header, struct lto_simple_header,
14037 struct lto_simple_header_with_strings,
14038 struct lto_decl_header, struct lto_function_header): Make
14039 a simple inheritance hieararchy. Remove unused fields.
14040 (struct lto_asm_header): Remove.
14041 * lto-streamer-out.c (produce_asm): Adjust.
14042 (lto_output_toplevel_asms): Likewise.
14043 (produce_asm_for_decls): Likewise.
14044 * lto-section-out.c (lto_destroy_simple_output_block): Likewise.
14045 * data-streamer-in.c (string_for_index): Likewise.
14046 * ipa-inline-analysis.c (inline_read_section): Likewise.
14047 * ipa-prop.c (ipa_prop_read_section): Likewise.
14048 (read_replacements_section): Likewise.
14049 * lto-cgraph.c (input_cgraph_opt_section): Likewise.
14050 * lto-section-in.c (lto_create_simple_input_block): Likewise.
14051 (lto_destroy_simple_input_block): Likewise.
14052 * lto-streamer-in.c (lto_read_body_or_constructor): Likewise.
14053 (lto_input_toplevel_asms): Likewise.
14055 2014-08-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
14056 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
14057 Anna Tikhonova <anna.tikhonova@intel.com>
14058 Ilya Tocar <ilya.tocar@intel.com>
14059 Andrey Turetskiy <andrey.turetskiy@intel.com>
14060 Ilya Verbin <ilya.verbin@intel.com>
14061 Kirill Yukhin <kirill.yukhin@intel.com>
14062 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
14064 * common/config/i386/i386-common.c
14065 (OPTION_MASK_ISA_AVX512DQ_SET): Define.
14066 (OPTION_MASK_ISA_AVX512DQ_UNSET): Ditto.
14067 (ix86_handle_option): Handle OPT_mavx512dq.
14068 * config/i386/cpuid.h (bit_AVX512DQ): Define.
14069 * config/i386/driver-i386.c (host_detect_local_cpu): Detect avx512dq,
14070 set -mavx512dq accordingly.
14071 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
14072 OPTION_MASK_ISA_AVX512DQ.
14073 * config/i386/i386.c (ix86_target_string): Handle -mavx512dq.
14074 (ix86_option_override_internal): Define PTA_AVX512DQ, handle
14075 PTA_AVX512DQ and OPTION_MASK_ISA_AVX512DQ.
14076 (ix86_valid_target_attribute_inner_p): Handle OPT_mavx512dq.
14077 * config/i386/i386.h (TARGET_AVX512DQ): Define.
14078 (TARGET_AVX512DQ_P(x)): Ditto.
14079 * config/i386/i386.opt: Add mavx512dq.
14081 2014-08-08 Richard Biener <rguenther@suse.de>
14083 * builtins.c (c_getstr, readonly_data_expr, init_target_chars,
14084 target_percent, target_percent_s): Export.
14085 (var_decl_component_p, fold_builtin_memory_op, fold_builtin_memset,
14086 fold_builtin_bzero, fold_builtin_strcpy, fold_builtin_strncpy,
14087 fold_builtin_strcat, fold_builtin_fputs, fold_builtin_memory_chk,
14088 fold_builtin_stxcpy_chk, fold_builtin_stxncpy_chk,
14089 fold_builtin_sprintf_chk_1, fold_builtin_snprintf_chk_1):
14090 Move to gimple-fold.c.
14091 (fold_builtin_2): Remove handling of bzero, fputs, fputs_unlocked,
14093 (fold_builtin_3): Remove handling of memset, bcopy, memcpy,
14094 mempcpy, memmove, strncpy, strcpy_chk and stpcpy_chk.
14095 (fold_builtin_4): Remove handling of memcpy_chk, mempcpy_chk,
14096 memmove_chk, memset_chk, strncpy_chk and stpncpy_chk.
14097 (rewrite_call_expr_array): Remove.
14098 (fold_builtin_sprintf_chk): Likewise.
14099 (fold_builtin_snprintf_chk): Likewise.
14100 (fold_builtin_varargs): Remove handling of sprintf_chk,
14101 vsprintf_chk, snprintf_chk and vsnprintf_chk.
14102 (gimple_fold_builtin_sprintf_chk): Remove.
14103 (gimple_fold_builtin_snprintf_chk): Likewise.
14104 (gimple_fold_builtin_varargs): Likewise.
14105 (fold_call_stmt): Do not call gimple_fold_builtin_varargs.
14106 * predict.c (optimize_bb_for_size_p): Handle NULL bb.
14107 * gimple.c (gimple_seq_add_seq_without_update): New function.
14108 * gimple.h (gimple_seq_add_seq_without_update): Declare.
14109 * gimple-fold.c: Include output.h.
14110 (gsi_replace_with_seq_vops): New function, split out from ...
14111 (gimplify_and_update_call_from_tree): ... here.
14112 (replace_call_with_value): New function.
14113 (replace_call_with_call_and_fold): Likewise.
14114 (var_decl_component_p): Moved from builtins.c.
14115 (gimple_fold_builtin_memory_op): Moved from builtins.c
14116 fold_builtin_memory_op and rewritten to GIMPLE.
14117 (gimple_fold_builtin_memset): Likewise.
14118 (gimple_fold_builtin_strcpy): Likewise.
14119 (gimple_fold_builtin_strncpy): Likewise.
14120 (gimple_fold_builtin_strcat): Likewise.
14121 (gimple_fold_builtin_fputs): Likewise.
14122 (gimple_fold_builtin_memory_chk): Likewise.
14123 (gimple_fold_builtin_stxcpy_chk): Likewise.
14124 (gimple_fold_builtin_stxncpy_chk): Likewise.
14125 (gimple_fold_builtin_snprintf_chk): Likewise.
14126 (gimple_fold_builtin_sprintf_chk): Likewise.
14127 (gimple_fold_builtin_strlen): New function.
14128 (gimple_fold_builtin_with_strlen): New function split out from
14129 gimple_fold_builtin.
14130 (gimple_fold_builtin): Change signature and handle
14131 bzero, memset, bcopy, memcpy, mempcpy and memmove folding
14132 here. Call gimple_fold_builtin_with_strlen.
14133 (gimple_fold_call): Adjust.
14135 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
14137 * calls.c (precompute_arguments): Check
14138 promoted_for_signed_and_unsigned_p and set the promoted mode.
14139 (promoted_for_signed_and_unsigned_p): New function.
14140 (expand_expr_real_1): Check promoted_for_signed_and_unsigned_p
14141 and set the promoted mode.
14142 * expr.h (promoted_for_signed_and_unsigned_p): New function definition.
14143 * cfgexpand.c (expand_gimple_stmt_1): Call emit_move_insn if
14144 SUBREG is promoted with SRP_SIGNED_AND_UNSIGNED.
14147 2014-08-08 Kugan Vivekanandarajah <kuganv@linaro.org>
14149 * calls.c (precompute_arguments): Use new SUBREG_PROMOTED_SET
14150 instead of SUBREG_PROMOTED_UNSIGNED_SET.
14151 (expand_call): Likewise.
14152 * cfgexpand.c (expand_gimple_stmt_1): Use SUBREG_PROMOTED_SIGN
14153 to get promoted mode.
14154 * combine.c (record_promoted_value): Skip > 0 comparison with
14155 SUBREG_PROMOTED_UNSIGNED_P as it now returns only 0 or 1.
14156 * expr.c (convert_move): Use SUBREG_CHECK_PROMOTED_SIGN instead
14157 of SUBREG_PROMOTED_UNSIGNED_P.
14158 (convert_modes): Likewise.
14159 (store_expr): Use SUBREG_PROMOTED_SIGN to get promoted mode.
14160 Use SUBREG_CHECK_PROMOTED_SIGN instead of SUBREG_PROMOTED_UNSIGNED_P.
14161 (expand_expr_real_1): Use new SUBREG_PROMOTED_SET instead of
14162 SUBREG_PROMOTED_UNSIGNED_SET.
14163 * function.c (assign_parm_setup_reg): Use new SUBREG_PROMOTED_SET
14164 instead of SUBREG_PROMOTED_UNSIGNED_SET.
14165 * ifcvt.c (noce_emit_cmove): Updated to use SUBREG_PROMOTED_GET and
14166 SUBREG_PROMOTED_SET.
14167 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Use
14168 SUBREG_PROMOTED_SET instead of SUBREG_PROMOTED_UNSIGNED_SET.
14169 * optabs.c (widen_operand): Use SUBREG_CHECK_PROMOTED_SIGN instead
14170 of SUBREG_PROMOTED_UNSIGNED_P.
14171 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Remove.
14172 (SUBREG_PROMOTED_SET): New define.
14173 (SUBREG_PROMOTED_GET): Likewise.
14174 (SUBREG_PROMOTED_SIGN): Likewise.
14175 (SUBREG_PROMOTED_SIGNED_P): Likewise.
14176 (SUBREG_CHECK_PROMOTED_SIGN): Likewise.
14177 (SUBREG_PROMOTED_UNSIGNED_P): Updated.
14178 * rtlanal.c (unsigned_reg_p): Use new SUBREG_PROMOTED_GET
14179 instead of SUBREG_PROMOTED_UNSIGNED_GET.
14180 (nonzero_bits1): Skip > 0 comparison with the results as
14181 SUBREG_PROMOTED_UNSIGNED_P now returns only 0 or 1.
14182 (num_sign_bit_copies1): Use SUBREG_PROMOTED_SIGNED_P instead
14183 of !SUBREG_PROMOTED_UNSIGNED_P.
14184 * simplify-rtx.c (simplify_unary_operation_1): Use new
14185 SUBREG_PROMOTED_SIGNED_P instead of !SUBREG_PROMOTED_UNSIGNED_P.
14186 (simplify_subreg): Use new SUBREG_PROMOTED_SIGNED_P,
14187 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_SET instead of
14188 SUBREG_PROMOTED_UNSIGNED_P and SUBREG_PROMOTED_UNSIGNED_SET.
14190 2014-08-07 Jan Hubicka <hubicka@ucw.cz>
14192 * ipa-devirt.c: Include gimple-pretty-print.h
14193 (referenced_from_vtable_p): Exclude DECL_EXTERNAL from
14195 (decl_maybe_in_construction_p): Fix conditional on cdtor check
14196 (get_polymorphic_call_info): Fix return value
14197 (type_change_info): New sturcture based on ipa-prop
14199 (noncall_stmt_may_be_vtbl_ptr_store): New predicate
14200 based on ipa-prop variant.
14201 (extr_type_from_vtbl_ptr_store): New function
14202 based on ipa-prop variant.
14203 (record_known_type): New function.
14204 (check_stmt_for_type_change): New function.
14205 (get_dynamic_type): New function.
14206 * ipa-prop.c (ipa_analyze_call_uses): Use get_dynamic_type.
14207 * tree-ssa-pre.c: ipa-utils.h
14208 (eliminate_dom_walker::before_dom_children): Use ipa-devirt
14209 machinery; sanity check with ipa-prop devirtualization.
14210 * trans-mem.c (ipa_tm_insert_gettmclone_call): Clear
14213 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
14215 * Makefile.in: Remove references to pointer-set.c and pointer-set.h.
14216 * alias.c, cfgexpand.c, cgraphbuild.c,
14217 config/aarch64/aarch64-builtins.c, config/aarch64/aarch64.c,
14218 config/alpha/alpha.c, config/darwin.c, config/i386/i386.c,
14219 config/i386/winnt.c, config/ia64/ia64.c, config/m32c/m32c.c,
14220 config/mep/mep.c, config/mips/mips.c, config/rs6000/rs6000.c,
14221 config/s390/s390.c, config/sh/sh.c, config/sparc/sparc.c,
14222 config/spu/spu.c, config/stormy16/stormy16.c, config/tilegx/tilegx.c,
14223 config/tilepro/tilepro.c, config/xtensa/xtensa.c, dominance.c,
14224 dse.c, except.c, gengtype.c, gimple-expr.c,
14225 gimple-ssa-strength-reduction.c, gimplify.c, ifcvt.c,
14226 ipa-visibility.c, lto-streamer.h, omp-low.c, predict.c, stmt.c,
14227 tree-affine.c, tree-cfg.c, tree-eh.c, tree-inline.c, tree-nested.c,
14228 tree-scalar-evolution.c, tree-ssa-loop-im.c, tree-ssa-loop-niter.c,
14229 tree-ssa-phiopt.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
14230 tree-ssa.c, tree.c, var-tracking.c, varpool.c: Remove includes of
14232 * pointer-set.c: Remove file.
14233 * pointer-set.h: Remove file.
14235 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14237 * config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
14238 * config/arm/types.md (f_sels, f_seld): Delete.
14240 2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14242 * config/aarch64/aarch64.md (absdi2): Set simd attribute.
14243 (aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
14244 (aarch64_movdi_<mode>high): Likewise.
14245 (aarch64_mov<mode>high_di): Likewise.
14246 (aarch64_movdi_<mode>low): Likewise.
14247 (aarch64_mov<mode>low_di): Likewise.
14248 (aarch64_movtilow_tilow): Likewise.
14249 Add comment explaining usage of fp,simd attributes and of
14250 TARGET_FLOAT and TARGET_SIMD.
14252 2014-08-07 Ian Bolton <ian.bolton@arm.com>
14253 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14255 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
14256 Use MOVN when one of the half-words is 0xffff.
14258 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
14260 * config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.
14262 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
14264 * haifa-sched.c (SCHED_SORT): Delete. Macro used exactly once.
14265 (enum rfs_decition:RFS_*): New constants wrapped in an enum.
14266 (rfs_str): String corresponding to RFS_* constants.
14267 (rank_for_schedule_stats_t): New typedef.
14268 (rank_for_schedule_stats): New static variable.
14269 (rfs_result): New static function.
14270 (rank_for_schedule): Track statistics for deciding heuristics.
14271 (rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
14273 (ready_sort): Use them for debug printouts.
14274 (schedule_block): Init statistics state. Print statistics on
14275 rank_for_schedule decisions.
14277 2014-08-07 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
14279 * haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.
14281 2014-08-07 Ilya Tocar <ilya.tocar@intel.com>
14283 * config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
14286 2014-08-07 Trevor Saunders <tsaunders@mozilla.com>
14288 * hash-map.h (default_hashmap_traits): Adjust overloads of hash
14289 function to not conflict.
14290 * alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
14291 gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
14292 lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
14293 tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
14294 tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
14297 2014-08-07 Marek Polacek <polacek@redhat.com>
14299 * fold-const.c (fold_binary_loc): Add folding of
14300 (PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
14302 2013-08-07 Ilya Enkovich <ilya.enkovich@intel.com>
14304 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
14305 instead of type size.
14306 (ASM_FINISH_DECLARE_OBJECT): Likewise.
14308 2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
14310 * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
14311 (*thumb1_movqi_insn): Likewise.
14312 * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
14314 2014-08-07 Tom de Vries <tom@codesourcery.com>
14316 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
14317 (glibc_2_11_or_earlier): Remove effective-target keywords.
14319 2014-08-07 Kugan Vivekanandarajah <kuganv@linaro.org>
14321 * config/arm/arm.c (bdesc_2arg): Fix typo.
14322 (arm_atomic_assign_expand_fenv): Remove The default implementation.
14324 2014-08-07 Zhenqiang Chen <zhenqiang.chen@arm.com>
14326 * tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.
14328 2014-08-06 Vladimir Makarov <vmakarov@redhat.com>
14331 * haifa-sched.c (advance_one_cycle): Fix dump.
14332 (schedule_block): Don't advance cycle if we are already at the
14333 beginning of the cycle.
14335 2014-08-06 Martin Jambor <mjambor@suse.cz>
14338 * cgraphclones.c (cgraph_node::create_clone): Also copy tm_clone.
14340 2014-08-06 Richard Biener <rguenther@suse.de>
14343 * lto-streamer-in.c (lto_input_tree_1): Assert we do not read
14345 (lto_input_tree): Pop SCCs here.
14347 2014-08-06 Richard Biener <rguenther@suse.de>
14349 PR tree-optimization/61320
14350 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Properly
14351 handle misaligned loads.
14353 2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
14355 * config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
14356 (aarch64_expand_vec_perm_const): Check for dup before zip.
14358 2014-08-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14360 * config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
14361 CONST_INT_P instead of GET_CODE and compare.
14362 (aarch64_select_cc_mode): Likewise.
14363 (aarch64_print_operand): Likewise.
14364 (aarch64_rtx_costs): Likewise.
14365 (aarch64_simd_valid_immediate): Likewise.
14366 (aarch64_simd_check_vect_par_cnst_half): Likewise.
14367 (aarch64_simd_emit_pair_result_insn): Likewise.
14369 2014-08-05 David Malcolm <dmalcolm@redhat.com>
14371 * gdbhooks.py (find_gcc_source_dir): New helper function.
14372 (class PassNames): New class, locating and parsing passes.def.
14373 (class BreakOnPass): New command "break-on-pass".
14375 2014-08-05 Trevor Saunders <tsaunders@mozilla.com>
14377 * tree-ssa.c (redirect_edge_var_map_dup): insert newe before
14380 2014-08-05 Richard Biener <rguenther@suse.de>
14382 PR rtl-optimization/61672
14383 * emit-rtl.h (mem_attrs_eq_p): Declare.
14384 * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs.
14385 * cse.c (exp_equiv_p): Use mem_attrs_eq_p.
14386 * cfgcleanup.c (merge_memattrs): Likewise.
14387 Include emit-rtl.h.
14389 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14391 * config/aarch64/arm_neon.h (vqdmlals_lane_s32): Use scalar types
14392 rather than singleton vectors.
14393 (vqdmlsls_lane_s32): Likewise.
14395 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14397 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_laneq<mode>):
14398 Use VSDQ_HSI mode iterator.
14399 (aarch64_sqrdmulh_laneq<mode>): Likewise.
14400 (aarch64_sq<r>dmulh_laneq<mode>_internal): New define_insn.
14401 * config/aarch64/aarch64-simd-builtins.def (sqdmulh_laneq):
14402 Use BUILTIN_VDQHS macro.
14403 (sqrdmulh_laneq): Likewise.
14404 * config/aarch64/arm_neon.h (vqdmlalh_laneq_s16): New intrinsic.
14405 (vqdmlals_laneq_s32): Likewise.
14406 (vqdmlslh_laneq_s16): Likewise.
14407 (vqdmlsls_laneq_s32): Likewise.
14408 (vqdmulhh_laneq_s16): Likewise.
14409 (vqdmulhs_laneq_s32): Likewise.
14410 (vqrdmulhh_laneq_s16): Likewise.
14411 (vqrdmulhs_laneq_s32): Likewise.
14413 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14415 * config/aarch64/arm_neon.h (vmul_f64): New intrinsic.
14416 (vmuld_laneq_f64): Likewise.
14417 (vmuls_laneq_f32): Likewise.
14418 (vmul_n_f64): Likewise.
14419 (vmuld_lane_f64): Reimplement in C.
14420 (vmuls_lane_f32): Likewise.
14422 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14424 * config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
14426 * config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
14428 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14430 * config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
14431 (rbitsi2): Likewise.
14432 (*arm_rev): Set predicable and predicable_short_it attributes.
14434 2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14436 * convert.c (convert_to_integer): Guard transformation to lrint by
14439 2014-08-05 James Greenhalgh <james.greenhalgh@arm.com>
14441 * config/aarch64/aarch64-builtins.c
14442 (aarch64_simd_builtin_type_mode): Delete.
14443 (v8qi_UP): Remap to V8QImode.
14444 (v4hi_UP): Remap to V4HImode.
14445 (v2si_UP): Remap to V2SImode.
14446 (v2sf_UP): Remap to V2SFmode.
14447 (v1df_UP): Remap to V1DFmode.
14448 (di_UP): Remap to DImode.
14449 (df_UP): Remap to DFmode.
14450 (v16qi_UP):V16QImode.
14451 (v8hi_UP): Remap to V8HImode.
14452 (v4si_UP): Remap to V4SImode.
14453 (v4sf_UP): Remap to V4SFmode.
14454 (v2di_UP): Remap to V2DImode.
14455 (v2df_UP): Remap to V2DFmode.
14456 (ti_UP): Remap to TImode.
14457 (ei_UP): Remap to EImode.
14458 (oi_UP): Remap to OImode.
14459 (ci_UP): Map to CImode.
14460 (xi_UP): Remap to XImode.
14461 (si_UP): Remap to SImode.
14462 (sf_UP): Remap to SFmode.
14463 (hi_UP): Remap to HImode.
14464 (qi_UP): Remap to QImode.
14465 (aarch64_simd_builtin_datum): Make mode a machine_mode.
14466 (VAR1): Build builtin name.
14467 (aarch64_init_simd_builtins): Remove dead code.
14469 2014-08-05 Roman Gareev <gareevroman@gmail.com>
14471 * graphite-isl-ast-to-gimple.c:
14472 (set_options): New function.
14473 (scop_to_isl_ast): Add calling of set_options.
14475 2014-08-05 Jakub Jelinek <jakub@redhat.com>
14477 * loop-unroll.c (struct iv_to_split): Remove n_loc and loc fields.
14478 (analyze_iv_to_split_insn): Don't initialize them.
14479 (get_ivts_expr): Removed.
14480 (allocate_basic_variable, insert_base_initialization): Use
14481 SET_SRC instead of *get_ivts_expr.
14482 (split_iv): Use &SET_SRC instead of get_ivts_expr.
14484 2014-08-05 Roman Gareev <gareevroman@gmail.com>
14486 * graphite-isl-ast-to-gimple.c: Add a new struct ast_build_info.
14487 (translate_isl_ast_for_loop): Add checking of the
14488 flag_loop_parallelize_all.
14489 (ast_build_before_for): New function.
14490 (scop_to_isl_ast): Add checking of the
14491 flag_loop_parallelize_all.
14492 * graphite-dependences.c: Move the defenition of the
14493 scop_get_dependences from graphite-optimize-isl.c to this file.
14494 (apply_schedule_on_deps): Add checking of the ux's emptiness.
14495 (carries_deps): Add checking of the x's value.
14496 * graphite-optimize-isl.c: Move the defenition of the
14497 scop_get_dependences to graphite-dependences.c.
14498 * graphite-poly.h: Add declarations of scop_get_dependences
14501 2014-08-04 Rohit <rohitarulraj@freescale.com>
14504 * config/rs6000/rs6000.c (rs6000_reg_names): Add SPE high register
14506 (alt_reg_names): Likewise.
14507 (rs6000_dwarf_register_span): For SPE high registers, replace
14508 dwarf register numbers with GCC hard register numbers.
14509 (rs6000_init_dwarf_reg_sizes_extra): Likewise.
14510 (rs6000_dbx_register_number): For SPE high registers, return dwarf
14511 register number for the corresponding GCC hard register number.
14512 * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Update based on 32
14513 newly added GCC hard register numbers for SPE high registers.
14514 (DWARF_FRAME_REGISTERS): Likewise.
14515 (DWARF_REG_TO_UNWIND_COLUMN): Likewise.
14516 (DWARF_FRAME_REGNUM): Likewise.
14517 (FIXED_REGISTERS): Likewise.
14518 (CALL_USED_REGISTERS): Likewise.
14519 (CALL_REALLY_USED_REGISTERS): Likewise.
14520 (REG_ALLOC_ORDER): Likewise.
14521 (enum reg_class): Likewise.
14522 (REG_CLASS_NAMES): Likewise.
14523 (REG_CLASS_CONTENTS): Likewise.
14524 (SPE_HIGH_REGNO_P): New macro to identify SPE high registers.
14526 2014-08-04 Richard Biener <rguenther@suse.de>
14528 * gimple-fold.h (gimple_fold_builtin): Remove.
14529 * gimple-fold.c (gimple_fold_builtin): Make static.
14530 * tree-ssa-ccp.c (pass_fold_builtins::execute): Use
14531 fold_stmt, not gimple_fold_builtin.
14533 2014-08-04 Martin Liska <mliska@suse.cz>
14535 * cgraph.h (csi_end_p): Removed.
14536 (csi_next): Likewise.
14537 (csi_node): Likewise.
14538 (csi_start): Likewise.
14539 (cgraph_node_in_set_p): Likewise.
14540 (cgraph_node_set_size): Likewise.
14541 (vsi_end_p): Likewise.
14542 (vsi_next): Likewise.
14543 (vsi_node): Likewise.
14544 (vsi_start): Likewise.
14545 (varpool_node_set_size): Likewise.
14546 (cgraph_node_set_nonempty_p): Likewise.
14547 (varpool_node_set_nonempty_p): Likewise.
14548 * cgraphunit.c (cgraph_process_new_functions): vec replaces
14550 * ipa-inline-transform.c: Likewise.
14551 * ipa-utils.c (cgraph_node_set_new): Removed.
14552 (cgraph_node_set_add): Likewise.
14553 (cgraph_node_set_remove): Likewise.
14554 (cgraph_node_set_find): Likewise.
14555 (dump_cgraph_node_set): Likewise.
14556 (debug_cgraph_node_set): Likewise.
14557 (free_cgraph_node_set): Likewise.
14558 (varpool_node_set_new): Likewise.
14559 (varpool_node_set_add): Likewise.
14560 (varpool_node_set_remove): Likewise.
14561 (varpool_node_set_find): Likewise.
14562 (dump_varpool_node_set): Likewise.
14563 (free_varpool_node_set): Likewise.
14564 (debug_varpool_node_set): Likewise.
14565 * tree-emutls.c (struct tls_var_data):
14566 (emutls_index): Removed.
14567 (emutls_decl): Likewise.
14568 (gen_emutls_addr): Function implementation uses newly added
14569 hash_map<varpool_node *, tls_var_data>.
14570 (clear_access_vars): Likewise.
14571 (create_emultls_var): Likewise.
14572 (ipa_lower_emutls): Likewise.
14573 (reset_access): New function.
14575 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
14577 * config/i386/i386.c (ix86_option_override_internal): Add
14578 PTA_RDRND and PTA_MOVBE for bdver4.
14580 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14581 James Greenhalgh <james.greenhalgh@arm.com>
14583 * doc/md.texi (clrsb): Document.
14584 (clz): Change reference to x into operand 1.
14586 (popcount): Likewise.
14588 2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14591 * gcc/optabs.c (expand_atomic_test_and_set): Do not try to emit
14592 move to subtarget in serial version if result is ignored.
14594 2014-08-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
14595 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
14597 * sched-deps.c (try_group_insn): Generalise macro fusion hook usage
14598 to any two insns. Update comment. Rename to sched_macro_fuse_insns.
14599 (sched_analyze_insn): Update use of try_group_insn to
14600 sched_macro_fuse_insns.
14601 * config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
14602 arguments that are not conditional jumps.
14604 2014-08-04 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
14606 * config/i386/driver-i386.c (host_detect_local_cpu): Handle AMD's extended
14607 family information. Handle BTVER2 cpu with cpuid family value.
14609 2014-08-04 Tom de Vries <tom@codesourcery.com>
14611 * doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
14612 (glibc_2_11_or_earlier): Document effective-target keywords.
14614 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
14616 * ipa-devirt.c (odr_type_warn_count): Add type.
14617 (possible_polymorphic_call_targets): Set it.
14618 (ipa_devirt): Use it.
14620 2014-08-01 Jan Hubicka <hubicka@ucw.cz>
14622 * doc/invoke.texi (Wsuggest-final-types, Wsuggest-final-methods):
14624 * ipa-devirt.c: Include hash-map.h
14625 (struct polymorphic_call_target_d): Add type_warning and decl_warning.
14626 (clear_speculation): Break out of ...
14627 (get_class_context): ... here; speed up handling obviously useless
14629 (odr_type_warn_count, decl_warn_count): New structures.
14630 (final_warning_record): New structure.
14631 (final_warning_records): New static variable.
14632 (possible_polymorphic_call_targets): Cleanup handling of
14633 speculative info; do not build speculation when user do not care;
14634 record info about warnings when asked for.
14635 (add_decl_warning): New function.
14636 (type_warning_cmp): New function.
14637 (decl_warning_cmp): New function.
14638 (ipa_devirt): Handle -Wsuggest-final-methods and -Wsuggest-final-types.
14639 (gate): Enable pass when warnings are requested.
14640 * common.opt (Wsuggest-final-types, Wsuggest-final-methods): New
14643 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
14645 * hash-map.h (default_hashmap_traits::mark_key_deleted):
14647 (hash_map::remove): New method.
14648 (hash_map::traverse): New method.
14649 * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
14650 ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
14651 tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
14652 tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
14653 tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
14654 tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
14657 2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
14659 * hash-set.h: new File.
14660 * cfgexpand.c, cfgloop.c, cgraph.c, cgraphbuild.c, cgraphunit.c,
14661 cprop.c, cse.c, gimple-walk.c, gimple-walk.h, gimplify.c, godump.c,
14662 ipa-devirt.c, ipa-pure-const.c, ipa-visibility.c, ipa.c, lto-cgraph.c,
14663 lto-streamer-out.c, stmt.c, tree-cfg.c, tree-core.h, tree-eh.c,
14664 tree-inline.c, tree-inline.h, tree-nested.c, tree-pretty-print.c,
14665 tree-ssa-loop-niter.c, tree-ssa-phiopt.c, tree-ssa-threadedge.c,
14666 tree-ssa-uninit.c, tree.c, tree.h, value-prof.c, varasm.c,
14667 varpool.c: Use hash_set instead of pointer_set.
14669 2014-08-01 Alan Lawrence <alan.lawrence@arm.com>
14671 * config/aarch64/aarch64-simd-builtins.def (dup_lane, get_lane): Delete.
14673 2014-08-01 Jiong Wang <jiong.wang@arm.com>
14675 * config/aarch64/aarch64.c (aarch64_classify_address): Accept all offset
14676 for frame access when strict_p is false.
14678 2014-08-01 Renlin Li <renlin.li@arm.com>
14679 2014-08-01 Jiong Wang <jiong.wang@arm.com>
14681 * config/aarch64/aarch64.c (offset_7bit_signed_scaled_p): Rename to
14682 aarch64_offset_7bit_signed_scaled_p, remove static and use it.
14683 * config/aarch64/aarch64-protos.h (aarch64_offset_7bit_signed_scaled_p):
14685 * config/aarch64/predicates.md (aarch64_mem_pair_offset): Define new
14687 * config/aarch64/aarch64.md (loadwb_pair, storewb_pair): Use
14688 aarch64_mem_pair_offset.
14690 2014-08-01 Jiong Wang <jiong.wang@arm.com>
14692 * config/aarch64/aarch64.md (loadwb_pair<GPI:mode>_<P:mode>): Fix
14694 (loadwb_pair<GPI:mode>_<P:mode>): Likewise.
14695 * config/aarch64/aarch64.c (aarch64_gen_loadwb_pair): Likewise.
14697 2014-08-01 Matthew Fortune <matthew.fortune@imgtec.com>
14699 * config/mips/mips.h (REGISTER_PREFIX): Define macro.
14701 2014-08-01 James Greenhalgh <james.greenhalgh@arm.com>
14703 PR regression/61510
14704 * cgraphunit.c (analyze_functions): Use get_create rather than get
14705 for decls which are clones of abstract functions.
14707 2014-08-01 Martin Liska <mliska@suse.cz>
14709 * gimple-iterator.h (gsi_next_nonvirtual_phi): New function.
14710 * ipa-prop.h (count_formal_params): Global function created from static.
14711 * ipa-prop.c (count_formal_params): Likewise.
14712 * ipa-utils.c (ipa_merge_profiles): Be more tolerant if we merge
14713 profiles for semantically equivalent functions.
14714 * passes.c (do_per_function): If we load body of a function
14715 during WPA, this condition should behave same.
14716 * varpool.c (ctor_for_folding): More tolerant assert for variable
14717 aliases created during WPA.
14719 2014-08-01 Martin Liska <mliska@suse.cz>
14721 * doc/invoke.texi (Options That Control Optimization): Documentation
14722 for -foptimize-strlen introduced. Optimization levels default options
14725 2014-08-01 Jakub Jelinek <jakub@redhat.com>
14727 * opts.c (common_handle_option): Handle -fsanitize=alignment.
14728 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_CTOR_CALL.
14729 (ubsan_expand_bounds_ifn, ubsan_expand_null_ifn): Change return
14731 * stor-layout.h (min_align_of_type): New prototype.
14732 * asan.c (pass_sanopt::execute): Don't perform gsi_next if
14733 ubsan_expand* told us not to do it. Remove the extra gsi_end_p
14735 * ubsan.c: Include builtins.h.
14736 (ubsan_expand_bounds_ifn): Change return type to bool,
14737 always return true.
14738 (ubsan_expand_null_ifn): Change return type to bool, change
14739 argument to gimple_stmt_iterator *. Handle both null and alignment
14740 sanitization, take type from ckind argument's type rather than
14742 (instrument_member_call): Removed.
14743 (instrument_mem_ref): Remove t argument, add mem and base arguments.
14744 Handle both null and alignment sanitization, don't say whole
14745 struct access is member access. Build 3 argument IFN_UBSAN_NULL
14746 call instead of 2 argument.
14747 (instrument_null): Adjust instrument_mem_ref caller. Don't
14748 instrument calls here.
14749 (pass_ubsan::gate, pass_ubsan::execute): Handle SANITIZE_ALIGNMENT
14750 like SANITIZE_NULL.
14751 * stor-layout.c (min_align_of_type): New function.
14752 * flag-types.h (enum sanitize_code): Add SANITIZE_ALIGNMENT.
14753 Or it into SANITIZE_UNDEFINED.
14754 * doc/invoke.texi (-fsanitize=alignment): Document.
14756 2014-07-31 Andi Kleen <ak@linux.intel.com>
14758 * tree-ssa-tail-merge.c (same_succ_hash): Convert to inchash.
14760 2014-07-31 Andi Kleen <ak@linux.intel.com>
14762 * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Convert to
14764 (vn_reference_compute_hash): Dito.
14765 (vn_nary_op_compute_hash): Dito.
14766 (vn_phi_compute_hash): Dito.
14767 * tree-ssa-sccvn.h (vn_hash_constant_with_type): Dito.
14769 2014-07-31 Andi Kleen <ak@linux.intel.com>
14771 * tree-ssa-dom.c (iterative_hash_exprs_commutative):
14772 Rename to inchash:add_expr_commutative. Convert to inchash.
14773 (iterative_hash_hashable_expr): Rename to
14774 inchash:add_hashable_expr. Convert to inchash.
14775 (avail_expr_hash): Dito.
14777 2014-07-31 Andi Kleen <ak@linux.intel.com>
14779 * ipa-devirt.c (polymorphic_call_target_hasher::hash):
14780 Convert to inchash.
14782 2014-07-31 Andi Kleen <ak@linux.intel.com>
14784 * asan.c (asan_mem_ref_hasher::hash): Convert to inchash.
14786 2014-07-31 Andi Kleen <ak@linux.intel.com>
14788 * Makefile.in (OBJS): Add rtlhash.o
14789 * dwarf2out.c (addr_table_entry_do_hash): Convert to inchash.
14790 (loc_checksum): Dito.
14791 (loc_checksum_ordered): Dito.
14792 (hash_loc_operands): Dito.
14794 (hash_loc_list): Dito.
14795 * rtl.c (iterative_hash_rtx): Moved to rtlhash.c
14796 * rtl.h (iterative_hash_rtx): Moved to rtlhash.h
14797 * rtlhash.c: New file.
14798 * rtlhash.h: New file.
14800 2014-07-31 Andi Kleen <ak@linux.intel.com>
14802 * inchash.h (inchash): Change inchash class to namespace.
14803 (class hash): ... Rename from inchash.
14804 (add_object): Move from macro to class template.
14805 * lto-streamer-out.c (hash_tree): Change inchash
14807 * tree.c (build_type_attribute_qual_variant): Dito.
14808 (type_hash_list): Dito.
14809 (attribute_hash_list): Dito.
14810 (iterative_hstate_expr): Rename to inchash::add_expr
14811 (build_range_type_1): Change inchash to inchash::hash
14812 and use hash::add_expr.
14813 (build_array_type_1): Dito.
14814 (build_function_type): Dito
14815 (build_method_type_directly): Dito.
14816 (build_offset_type): Dito.
14817 (build_complex_type): Dito.
14818 (make_vector_type): Dito.
14819 * tree.h (iterative_hash_expr): Dito.
14821 2014-07-31 Chen Gang <gang.chen.5i5j@gmail.com>
14823 * gcc.c (do_spec_1): Allocate enough space for saved_suffix.
14825 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
14827 * config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
14828 correct alphabetical position.
14829 (vpaddd_f64): Rewrite using builtins.
14830 (vpaddd_s64): Move to correct alphabetical position.
14833 2014-07-31 Oleg Endo <olegendo@gcc.gnu.org>
14836 * config/sh/sh.c (sh_legitimate_address_p,
14837 sh_legitimize_reload_address): Handle reg+reg address modes when
14838 ALLOW_INDEXED_ADDRESS is false.
14839 * config/sh/predicates.md (general_movsrc_operand,
14840 general_movdst_operand): Likewise.
14842 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
14844 * config/aarch64/aarch64-builtins.c
14845 (aarch64_gimple_fold_builtin): Don't fold reduction operations for
14848 2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
14850 * config/aarch64/aarch64.c (aarch64_simd_vect_par_cnst_half): Vary
14851 the generated mask based on BYTES_BIG_ENDIAN.
14852 (aarch64_simd_check_vect_par_cnst_half): New.
14853 * config/aarch64/aarch64-protos.h
14854 (aarch64_simd_check_vect_par_cnst_half): New.
14855 * config/aarch64/predicates.md (vect_par_cnst_hi_half): Refactor
14856 the check out to aarch64_simd_check_vect_par_cnst_half.
14857 (vect_par_cnst_lo_half): Likewise.
14858 * config/aarch64/aarch64-simd.md
14859 (aarch64_simd_move_hi_quad_<mode>): Always use vec_par_cnst_lo_half.
14860 (move_hi_quad_<mode>): Always generate a low mask.
14862 2014-07-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
14864 * doc/invoke.texi (AVR Options): Add documentation about
14865 __AVR_DEVICE_NAME__ built-in macro.
14867 2014-07-31 Charles Baylis <charles.baylis@linaro.org>
14870 * config/arm/neon.md (ashldi3_neon): Don't emit arm_ashldi3_1bit unless
14871 constraints are satisfied.
14872 (<shift>di3_neon): Likewise.
14874 2014-07-31 Richard Biener <rguenther@suse.de>
14876 PR tree-optimization/61964
14877 * tree-ssa-tail-merge.c (gimple_equal_p): Handle non-SSA LHS solely
14878 by structural equality.
14880 2014-07-31 Yury Gribov <y.gribov@samsung.com>
14882 * doc/cpp.texi (__SANITIZE_ADDRESS__): Updated description.
14883 * doc/invoke.texi (-fsanitize=kernel-address): Describe new option.
14884 * flag-types.h (SANITIZE_USER_ADDRESS, SANITIZE_KERNEL_ADDRESS):
14886 * gcc.c (sanitize_spec_function): Support new option.
14887 (SANITIZER_SPEC): Remove now redundant check.
14888 * opts.c (common_handle_option): Support new option.
14889 (finish_options): Check for incompatibilities.
14890 * toplev.c (process_options): Split userspace-specific checks.
14892 2014-07-31 Richard Biener <rguenther@suse.de>
14894 * lto-streamer.h (struct output_block): Remove global.
14895 (struct data_in): Remove labels, num_named_labels and
14896 num_unnamed_labels.
14897 * lto-streamer-in.c (lto_data_in_delete): Do not free labels.
14898 * lto-streamer-out.c (produce_asm_for_decls): Do not set global.
14900 2014-07-31 Marc Glisse <marc.glisse@inria.fr>
14903 * common.opt (-Wreturn-local-addr): Moved from c.opt.
14904 * gimple-ssa-isolate-paths.c: Include diagnostic-core.h and intl.h.
14905 (isolate_path): New argument to avoid inserting a trap.
14906 (find_implicit_erroneous_behaviour): Handle returning the address
14907 of a local variable.
14908 (find_explicit_erroneous_behaviour): Likewise.
14910 2014-07-31 Bingfeng Mei <bmei@broadcom.com>
14913 * toplev.c (init_random_seed): Move piece of code never called to
14915 (set_random_seed): see above.
14917 2014-07-31 Tom de Vries <tom@codesourcery.com>
14919 * tree-ssa-loop.c (pass_tree_loop_init::execute): Remove dead code.
14921 2014-07-31 Richard Sandiford <rdsandiford@googlemail.com>
14923 * ira.c (insn_contains_asm_1, insn_contains_asm): Delete.
14924 (compute_regs_asm_clobbered): Use extract_asm_operands instead.
14926 2014-07-31 Richard Biener <rguenther@suse.de>
14928 * data-streamer.h (streamer_write_data_stream): Declare here,
14930 * lto-streamer.h (lto_output_data_stream): ... this. Remove.
14931 * lto-cgraph.c (lto_output_node): Adjust.
14932 (lto_output_varpool_node): Likewise.
14933 * data-streamer-out.c (streamer_string_index): Likewise.
14934 (streamer_write_data_stream, lto_append_block): Move from ...
14935 * lto-section-out.c (lto_output_data_stream,
14936 lto_append_block): ... here.
14938 2014-07-30 Mike Stump <mikestump@comcast.net>
14940 * configure.ac: Also check for popen.
14941 * tree-loop-distribution.c (dot_rdg): Autoconfize popen use.
14942 * configure: Regenerate.
14943 * config.in: Regenerate.
14945 2014-07-30 Martin Jambor <mjambor@suse.cz>
14947 * tree-sra.c (sra_ipa_modify_assign): Change type of the first
14948 parameter to gimple.
14950 2014-07-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14952 * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return
14953 address as second parameter to __tpf_eh_return routine.
14955 2014-07-30 Jiong Wang <jiong.wang@arm.com>
14957 * config/arm/arm.c (arm_get_frame_offsets): Adjust condition for
14960 2014-07-30 Tom Tromey <tromey@redhat.com>
14963 * doc/invoke.texi (Warning Options): Document -Wdesignated-init.
14964 * doc/extend.texi (Type Attributes): Document designated_init
14967 2014-07-30 Roman Gareev <gareevroman@gmail.com>
14969 * graphite-isl-ast-to-gimple.c:
14970 (gcc_expression_from_isl_ast_expr_id): Add calling of fold_convert.
14971 (gcc_expression_from_isl_expression): Pass type to
14972 gcc_expression_from_isl_ast_expr_id.
14974 2014-07-30 Richard Biener <rguenther@suse.de>
14976 * lto-streamer.h (lto_write_data): New function.
14977 * langhooks.c (lhd_append_data): Do not free block.
14978 * lto-section-out.c (lto_write_data): New function writing
14979 raw data to the current section.
14980 (lto_write_stream): Adjust for langhook semantic change.
14981 (lto_destroy_simple_output_block): Write header directly.
14982 * lto-opts.c (lto_write_options): Write options directly.
14983 * lto-streamer-out.c (produce_asm): Write heaeder directly.
14984 (lto_output_toplevel_asms): Likewise.
14985 (copy_function_or_variable): Copy data directly.
14986 (write_global_references): Output index table directly.
14987 (lto_output_decl_state_refs): Likewise.
14988 (write_symbol): Write data directly.
14989 (produce_symtab): Adjust.
14990 (produce_asm_for_decls): Output header and refs directly.
14992 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
14994 * ipa-devirt.c (polymorphic_call_target_d): Rename nonconstruction_targets
14995 to speculative_targets
14996 (get_class_context): Fix handling of contextes without outer type;
14997 avoid matching non-polymorphic types in LTO.
14998 (possible_polymorphic_call_targets): Trun nonconstruction_targetsp
14999 parameter to speculative_targetsp; handle speculation.
15000 (dump_possible_polymorphic_call_targets): Update dumping.
15002 2014-07-29 Jan Hubicka <hubicka@ucw.cz>
15004 * common.opt (Wodr): Enable by default.
15006 2014-07-29 Olivier Hainque <hainque@adacore.com>
15008 * config/vxworksae.h (VXWORKS_OVERRIDE_OPTIONS): Define.
15010 2014-07-29 H.J. Lu <hongjiu.lu@intel.com>
15013 * gengtype.c (strtoken): New function.
15014 (create_user_defined_type): Replace strtok with strtoken.
15016 2014-07-29 Nathan Sidwell <nathan@acm.org>
15018 * gcov-io.c (gcov_var): Make hidden.
15019 * gcov-tool.c (gcov_list, gcov_exit): Remove declarations.
15020 (gcov_do_dump): Declare.
15021 (gcov_output_files): Call gcov_do_dump, not gcov_exit).
15023 2014-07-29 Martin Jambor <mjambor@suse.cz>
15025 * tree-sra.c (sra_modify_constructor_assign): Change type of stmt
15026 parameter to gimple.
15027 (sra_modify_assign): Likewise.
15029 2014-07-29 Richard Biener <rguenther@suse.de>
15031 PR middle-end/52478
15032 * expr.c (expand_expr_real_2): Revert last change.
15034 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
15036 * cgraph.c (cgraph_node::create_indirect_edge): Copy speculative data.
15037 * cgraph.h (cgraph_indirect_call_info): Add speculative data.
15038 * gimple-fold.c (fold_gimple_assign): Fix check for virtual
15040 * ipa-devirt.c (ipa_dummy_polymorphic_call_context): Update
15041 (contains_type_p): Forward declare.
15042 (polymorphic_call_target_hasher::hash): Hash speculative info.
15043 (polymorphic_call_target_hasher::equal): Compare speculative info.
15044 (get_class_context): Handle speuclation.
15045 (contains_type_p): Update.
15046 (get_polymorphic_call_info_for_decl): Update.
15047 (walk_ssa_copies): Break out from ...
15048 (get_polymorphic_call_info): ... here; set speculative context
15050 * ipa-prop.c (ipa_write_indirect_edge_info,
15051 ipa_read_indirect_edge_info): Stream speculative context.
15052 * ipa-utils.h (ipa_polymorphic_call_context): Add speculative info
15053 (SPECULATIVE_OFFSET, SPECULATIVE_OUTER_TYPE,
15054 SPECULATIVE_MAYBE_DERIVED_TYPE).
15055 (possible_polymorphic_call_targets overriders): Update.
15056 (dump_possible_polymorphic_call_targets overriders): Update.
15057 (dump_possible_polymorphic_call_target_p overriders): Update.
15059 2014-07-28 Jan Hubicka <hubicka@ucw.cz>
15061 * gimple-fold.c (fold_gimple_assign): Fix condition guarding
15062 ipa-devirt path; fix thinko there.
15064 2014-07-28 Trevor Saunders <tsaunders@mozilla.com>
15066 * config/i386/i386.c (ix86_return_in_memory): Replace one
15067 ATTRIBUTE_UNUSED where the attribute can actually sometimes be unused.
15069 2014-07-28 Marek Polacek <polacek@redhat.com>
15071 * doc/invoke.texi (-Wno-odr): Fix @item entry. Tweak wording.
15073 2014-07-28 Peter Bergner <bergner@vnet.ibm.com>
15075 * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
15076 * config/rs6000/sysv4.h (CC1_SPEC): Undefine it before defining it.
15077 * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): Delete define.
15078 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
15079 (USE_LD_AS_NEEDED): Likewise.
15080 (ASM_APP_ON): Likewise.
15081 (ASM_APP_OFF): Likewise.
15082 (TARGET_POSIX_IO): Likewise.
15083 * config/rs6000/linux64.h (CPLUSPLUS_CPP_SPEC): Likewise.
15084 (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
15085 (USE_LD_AS_NEEDED): Likewise.
15086 (ASM_APP_ON): Likewise.
15087 (ASM_APP_OFF): Likewise.
15088 (TARGET_POSIX_IO): Likewise.
15090 2014-07-28 Eric Botcazou <ebotcazou@adacore.com>
15092 PR middle-end/61734
15093 * fold-const.c (fold_comparison): Disable X - Y CMP 0 to X CMP Y for
15094 operators other than the equality operators.
15096 2014-07-28 Richard Biener <rguenther@suse.de>
15098 PR middle-end/52478
15099 * optabs.c (gen_int_libfunc): For -ftrapv libfuncs make
15100 sure to register SImode ones, not only >= word_mode ones.
15101 * expr.c (expand_expr_real_2): When expanding -ftrapv
15102 binops do not use OPTAB_LIB_WIDEN.
15104 2014-07-28 Richard Sandiford <rdsandiford@googlemail.com>
15106 PR middle-end/61919
15107 * tree-outof-ssa.c (insert_partition_copy_on_edge)
15108 (insert_value_copy_on_edge, insert_rtx_to_part_on_edge)
15109 (insert_part_to_rtx_on_edge): Copy partition_to_pseudo rtxes before
15110 inserting them in the insn stream.
15112 2014-07-28 Marek Polacek <polacek@redhat.com>
15114 PR middle-end/61913
15115 * common.opt (Wodr): Add Var.
15117 2014-07-28 Richard Biener <rguenther@suse.de>
15119 PR tree-optimization/61921
15120 * tree-ssa-structalias.c (create_variable_info_for_1): Check
15121 if there is a varpool node before dereferencing it.
15123 2014-07-28 Roman Gareev <gareevroman@gmail.com>
15125 * graphite-sese-to-poly.c:
15126 (new_pbb_from_pbb): Set a new id of pbb1->domain (instead of using the
15127 id of the pbb), which contains pointer to the pbb1.
15129 * gcc.dg/graphite/isl-ast-gen-if-2.c: New testcase.
15131 2014-07-28 Roman Gareev <gareevroman@gmail.com>
15133 * graphite-isl-ast-to-gimple.c:
15134 (graphite_create_new_guard): New function.
15135 (translate_isl_ast_node_if): New function.
15136 (translate_isl_ast): Add calling of translate_isl_ast_node_if.
15138 * gcc.dg/graphite/isl-ast-gen-if-1.c: New testcase.
15140 2014-07-27 Anthony Green <green@moxielogic.com>
15142 * config.gcc: Add moxie-*-moxiebox* configuration.
15143 * config/moxie/moxiebox.h: New file.
15145 2014-07-26 Andrew Pinski <apinski@cavium.com>
15147 * config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
15148 from the read only register.
15150 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
15152 * ira-costs.c (find_costs_and_classes): For -O0, use the best class
15153 as the allocation class if it isn't likely to be spilled.
15155 2014-07-26 Richard Sandiford <rdsandiford@googlemail.com>
15157 * rtl.h (tls_referenced_p): Declare.
15158 * rtlanal.c (tls_referenced_p_1, tls_referenced_p): New functions.
15159 * config/mips/mips.c (mips_tls_symbol_ref_1): Delete.
15160 (mips_cannot_force_const_mem): Use tls_referenced_p.
15161 * config/pa/pa-protos.h (pa_tls_referenced_p): Delete.
15162 * config/pa/pa.h (CONSTANT_ADDRESS_P): Use tls_referenced_p
15163 instead of pa_tls_referenced_p.
15164 * config/pa/pa.c (hppa_legitimize_address, pa_cannot_force_const_mem)
15165 (pa_emit_move_sequence, pa_emit_move_sequence): Likewise.
15166 (pa_legitimate_constant_p): Likewise.
15167 (pa_tls_symbol_ref_1, pa_tls_referenced_p): Delete.
15168 * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Delete.
15169 (rs6000_cannot_force_const_mem, rs6000_emit_move)
15170 (rs6000_address_for_altivec): Use tls_referenced_p instead of
15171 rs6000_tls_referenced_p.
15172 (rs6000_tls_symbol_ref_1): Delete.
15174 2014-07-26 Marc Glisse <marc.glisse@inria.fr>
15177 * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>:
15178 Optimize inverse of a VEC_CONCAT.
15180 2014-07-25 Xinliang David Li <davidxl@google.com>
15182 * params.def: New parameter.
15183 * coverage.c (get_coverage_counts): Check new flag.
15184 (coverage_compute_profile_id): Check new flag.
15185 (coverage_begin_function): Check new flag.
15186 (coverage_end_function): Check new flag.
15187 * value-prof.c (coverage_node_map_initialized_p): New function.
15188 (init_node_map): Populate map with all functions.
15189 * doc/invoke.texi: Document new parameter.
15191 2014-07-25 Jan Hubicka <hubicka@ucw.cz>
15192 Richard Biener <rguenther@suse.de>
15194 * lto-streamer-out.c (struct sccs): Turn to ...
15195 (class DFS): ... this one; refactor the DFS walk so it can
15196 be re-done on per-SCC basis.
15197 (DFS::DFS): New constructor.
15198 (DFS::~DFS): New destructor.
15199 (hash_tree): Add new MAP argument holding in-SCC hash values;
15200 remove POINTER_TYPE hashing hack.
15201 (scc_entry_compare): Rename to ...
15202 (DFS::scc_entry_compare): ... this one.
15203 (hash_scc): Rename to ...
15204 (DFS::hash_scc): ... this one; pass output_block instead
15205 of streamer_cache; work harder to get unique and stable SCC
15207 (DFS_write_tree): Rename to ...
15208 (DFS::DFS_write_tree): ... this one; add SINGLE_P parameter.
15209 (lto_output_tree): Update.
15211 2014-07-25 Andi Kleen <ak@linux.intel.com>
15213 * lto-streamer-out.c (hash_tree): Convert to inchash.
15215 2014-07-25 Andi Kleen <ak@linux.intel.com>
15217 * tree.c (build_type_attribute_qual_variant): Use inchash.
15218 (type_hash_list): Dito.
15219 (attribute_hash_list): Dito
15220 (iterative_hstate_expr): Dito.
15221 (iterative_hash_expr): Dito.
15222 (build_range_type_1): Dito.
15223 (build_array_type_1): Dito.
15224 (build_function_type): Dito.
15225 (build_method_type_directly): Dito.
15226 (build_offset_type): Dito.
15227 (build_complex_type): Dito.
15228 (make_vector_type): Dito.
15229 * tree.h (iterative_hash_expr): Add compat wrapper.
15230 (iterative_hstate_expr): Add.
15232 2014-07-25 Andi Kleen <ak@linux.intel.com>
15234 * Makefile.in (OBJS): Add inchash.o.
15235 (PLUGIN_HEADERS): Add inchash.h.
15236 * ipa-devirt.c: Include inchash.h.
15237 * lto-streamer-out.c: Dito.
15238 * tree-ssa-dom.c: Dito.
15239 * tree-ssa-pre.c: Dito.
15240 * tree-ssa-sccvn.c: Dito.
15241 * tree-ssa-tail-merge.c: Dito.
15243 * tree.c (iterative_hash_hashval_t): Move to ...
15244 (iterative_hash_host_wide_int): Move to ...
15245 * inchash.c: Here. New file.
15246 * tree.h (iterative_hash_hashval_t): Move to ...
15247 (iterative_hash_host_wide_int): Move to ...
15248 * inchash.h: Here. New file.
15250 2014-07-25 Richard Biener <rguenther@suse.de>
15252 PR middle-end/61762
15253 PR middle-end/61894
15254 * fold-const.c (native_encode_int): Add and handle offset
15255 parameter to do partial encodings of expr.
15256 (native_encode_fixed): Likewise.
15257 (native_encode_real): Likewise.
15258 (native_encode_complex): Likewise.
15259 (native_encode_vector): Likewise.
15260 (native_encode_string): Likewise.
15261 (native_encode_expr): Likewise.
15262 * fold-const.c (native_encode_expr): Add offset parameter
15264 * gimple-fold.c (fold_string_cst_ctor_reference): Remove.
15265 (fold_ctor_reference): Handle all reads from tcc_constant
15268 2014-07-25 Richard Biener <rguenther@suse.de>
15270 * tree-inline.c (estimate_move_cost): Mark speed_p argument
15271 as possibly unused.
15273 2014-07-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
15275 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Add __AVR_DEVICE_NAME__.
15277 2014-07-24 Kyle McMartin <kyle@redhat.com>
15279 * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.
15281 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15283 * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
15285 * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
15287 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
15288 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
15289 * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
15291 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15293 * config/rs6000/rs6000.c (rs6000_function_arg_boundary): In the AIX
15294 and ELFv2 ABI, do not use the "mode == BLKmode" check to test for
15295 aggregate types. Instead, *all* aggregate types, except for single-
15296 element or homogeneous float/vector aggregates, are quadword-aligned
15297 if required by their type alignment. Issue -Wpsabi note when a type
15298 is now treated differently than before.
15300 2014-07-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15302 * config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
15303 does not fit fully into floating-point registers, and there is still
15304 space in the register parameter area, use GPRs to pass those parts
15305 of the argument. Issue -Wpsabi note if any parameter is now treated
15306 differently than before.
15307 (rs6000_arg_partial_bytes): Update.
15309 2014-07-24 Uros Bizjak <ubizjak@gmail.com>
15311 * config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
15313 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
15315 * rtl.h (target_rtl): Remove lang_dependent_initialized.
15316 * toplev.c (initialize_rtl): Don't use it. Move previously
15317 "language-dependent" calls to...
15318 (backend_init): ...here.
15319 (lang_dependent_init_target): Don't set lang_dependent_initialized.
15320 Assert that RTL initialization hasn't happend yet.
15322 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
15324 PR rtl-optimization/61629
15325 * reginfo.c (reinit_regs): Only call ira_init and recog_init if
15326 they have already been initialized.
15328 2014-07-24 Richard Sandiford <rdsandiford@googlemail.com>
15330 PR middle-end/61268
15331 * function.c (assign_parm_setup_reg): Prevent invalid sharing of
15332 DECL_INCOMING_RTL and entry_parm.
15333 (get_arg_pointer_save_area): Likewise arg_pointer_save_area.
15334 * calls.c (load_register_parameters): Likewise argument values.
15335 (emit_library_call_value_1, store_one_arg): Likewise argument
15337 * config/i386/i386.c (assign_386_stack_local): Likewise the local
15339 * explow.c (validize_mem): Modify the argument in-place.
15341 2014-07-24 Jiong Wang <jiong.wang@arm.com>
15343 * config/aarch64/aarch64.c (aarch64_popwb_single_reg): New function.
15344 (aarch64_expand_epilogue): Optimize epilogue when !frame_pointer_needed.
15346 2014-07-24 Jiong Wang <jiong.wang@arm.com>
15348 * config/aarch64/aarch64.c (aarch64_pushwb_single_reg): New function.
15349 (aarch64_expand_prologue): Optimize prologue when !frame_pointer_needed.
15351 2014-07-24 Jiong Wang <jiong.wang@arm.com>
15353 * config/aarch64/aarch64.c (aarch64_restore_callee_saves)
15354 (aarch64_save_callee_saves): New parameter "skip_wb".
15355 (aarch64_expand_prologue, aarch64_expand_epilogue): Update call site.
15357 2014-07-24 Jiong Wang <jiong.wang@arm.com>
15359 * config/aarch64/aarch64.h (frame): New fields "wb_candidate1" and
15361 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize above.
15363 2014-07-24 Roman Gareev <gareevroman@gmail.com>
15365 * graphite-isl-ast-to-gimple.c:
15366 (graphite_create_new_loop): Add calling of isl_id_free to properly
15367 decrement reference counts.
15369 * gcc.dg/graphite/isl-ast-gen-blocks-4.c: New testcase.
15371 2014-07-24 Martin Liska <mliska@suse.cz>
15372 * config/mips/mips.c (mips_start_unique_function): Correct cgraph_node
15374 * config/rs6000/rs6000.c (call_ABI_of_interest): Likewise.
15375 (rs6000_code_end): Likewise.
15377 2014-07-24 Martin Liska <mliska@suse.cz>
15379 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): Correct
15380 symtab_node funtion used.
15381 (rs6000_xcoff_declare_object_name): Likewise.
15383 2014-07-24 Martin Liska <mliska@suse.cz>
15385 * cgraphunit.c (compile): Correct function used.
15387 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
15389 * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
15392 2014-07-24 Jan Hubicka <hubicka@ucw.cz>
15395 * varasm.c (bss_initializer_p): Handle offlined ctors.
15396 (align_variable, get_variable_align): Likewise.
15397 (make_decl_one_only): Likewise.
15398 (default_binds_local_p_1): Likewise.
15399 (decl_binds_to_current_def_p): Likewise.
15400 (get_variable_section): Get constructor if it is offlined.
15401 (assemble_variable_contents): Sanity check that the caller
15402 streamed in the ctor in LTO.
15404 2014-07-24 Roman Gareev <gareevroman@gmail.com>
15406 * graphite-isl-ast-to-gimple.c:
15407 (binary_op_to_tree): Add calling of translate_isl_ast_node_block.
15408 (gcc_expression_from_isl_expr_op): Move isl_ast_op_pdiv_q,
15409 isl_ast_op_pdiv_r to the different case.
15411 * gcc.dg/graphite/isl-ast-gen-blocks-3.c: New testcase.
15413 2014-07-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15415 PR middle-end/61876
15416 * convert.c (convert_to_integer): Do not convert BUILT_IN_ROUND and cast
15417 when flag_errno_math is on.
15419 2014-07-24 Martin Liska <mliska@suse.cz>
15421 * cgraph.h (varpool_node):
15422 (availability get_availability (void)):
15423 created from cgraph_variable_initializer_availability
15424 (inline varpool_node *ultimate_alias_target (availability *availability = NULL)
15425 created from: cgraph_variable_initializer_availability
15426 (inline varpool_node *get_alias_target (void)): created from varpool_alias_target
15427 (void finalize_named_section_flags (void)):
15428 created from varpool_finalize_named_section_flags
15429 (bool assemble_decl (void)): created from varpool_assemble_decl
15430 (void analyze (void)): created from varpool_analyze_node
15431 (bool call_for_node_and_aliases (bool (*callback) (varpool_node *, void *),
15432 void *data, bool include_overwritable)): created fromvarpool_for_node_and_aliases
15433 (void remove_initializer (void)): created from varpool_remove_initializer
15434 (tree get_constructor (void)): created from varpool_get_constructor
15435 (bool externally_visible_p (void)): created from varpool_externally_visible_p
15436 (bool ctor_useable_for_folding_p (void)): created from varpool_ctor_useable_for_folding_p
15437 (inline bool all_refs_explicit_p ()): created from varpool_all_refs_explicit_p
15438 (inline bool can_remove_if_no_refs_p (void)): created from varpool_can_remove_if_no_refs
15439 (static inline varpool_node *get (const_tree decl)): created from varpool_get_node
15440 (static void finalize_decl (tree decl)): created from varpool_finalize_decl
15441 (static bool output_variables (void)): created from varpool_output_variables
15442 (static varpool_node * create_extra_name_alias (tree alias, tree decl)):
15443 created from varpool_extra_name_alias
15444 (static varpool_node * create_alias (tree, tree)): created from varpool_create_variable_alias
15445 (static void dump_varpool (FILE *f)): created from dump_varpool
15446 (static void DEBUG_FUNCTION debug_varpool (void)): created from debug_varpool
15447 (static varpool_node *create_empty (void)): created from varpool_create_empty_node
15448 (static varpool_node *get_create (tree decl)): created from varpool_node_for_decl
15449 (static varpool_node *get_for_asmname (tree asmname)): created from varpool_node_for_asm
15450 (void assemble_aliases (void)): created from assemble_aliases
15452 2014-07-24 Martin Liska <mliska@suse.cz>
15454 * cgraph.h (symtab_node):
15455 (void register_symbol (void)): created from symtab_register_node
15456 (void remove (void)): created from symtab_remove_node
15457 (void dump (FILE *f)): created from dump_symtab_node
15458 (void DEBUG_FUNCTION debug (void)): created from debug_symtab_node
15459 (void DEBUG_FUNCTION verify (void)): created from verify_symtab_node
15460 (struct ipa_ref *add_reference (symtab_node *referred_node,
15461 enum ipa_ref_use use_type)): created from add_reference
15462 (struct ipa_ref *add_reference (symtab_node *referred_node,
15463 enum ipa_ref_use use_type, gimple stmt)): created from add_reference
15464 (struct ipa_ref *maybe_add_reference (tree val, enum ipa_ref_use use_type,
15465 gimple stmt)): created from maybe_add_reference
15466 (bool semantically_equivalent_p (symtab_node *target)): created from
15467 symtab_semantically_equivalent_p
15468 (void remove_from_same_comdat_group (void)): created from
15469 remove_from_same_comdat_group
15470 (void add_to_same_comdat_group (symtab_node *old_node)): created from
15471 symtab_add_to_same_comdat_group
15472 (void dissolve_same_comdat_group_list (void)): created from
15473 symtab_dissolve_same_comdat_group_list
15474 (bool used_from_object_file_p (void)): created from symtab_used_from_object_file_p
15475 (symtab_node *ultimate_alias_target (enum availability *avail = NULL)):
15476 created from symtab_alias_ultimate_target
15477 (inline symtab_node *next_defined_symbol (void)): created from
15478 symtab_next_defined_symbol
15479 (bool resolve_alias (symtab_node *target)): created from
15480 symtab_resolve_alias
15481 (bool call_for_symbol_and_aliases (bool (*callback) (symtab_node *, void *),
15482 void *data, bool include_overwrite)): created from symtab_for_node_and_aliases
15483 (symtab_node *noninterposable_alias (void)): created from symtab_nonoverwritable_alias
15484 (inline symtab_node *get_alias_target (void)): created from symtab_alias_target
15485 (void set_section (const char *section)): created from set_section_1
15486 (enum availability get_availability (void)): created from symtab_node_availability
15487 (void make_decl_local (void)): created from symtab_make_decl_local
15488 (bool real_symbol_p (void)): created from symtab_read_node
15489 (can_be_discarded_p (void)): created from symtab_can_be_discarded
15490 (inline bool comdat_local_p (void)): created from symtab_comdat_local_p
15491 (inline bool in_same_comdat_group_p (symtab_node *target)): created from
15492 symtab_in_same_comdat_p;
15493 (bool address_taken_from_non_vtable_p (void)): created from
15494 address_taken_from_non_vtable_p
15495 (static inline symtab_node *get (const_tree decl)): created from symtab_get_node
15496 (static void dump_table (FILE *)): created from dump_symtab
15497 (static inline DEBUG_FUNCTION void debug_symtab (void)): created from debug_symtab
15498 (static DEBUG_FUNCTION void verify_symtab_nodes (void)): created from verify_symtab
15499 (static bool used_from_object_file_p_worker (symtab_node *node)): created from
15500 symtab_used_from_object_file_p
15501 (void dump_base (FILE *)): created from dump_symtab_base
15502 (bool DEBUG_FUNCTION verify_base (void)): created from verify_symtab_base
15503 (void unregister (void)): created from symtab_unregister_node
15504 (struct symbol_priority_map *priority_info (void)): created from symtab_priority_info
15505 (static bool set_implicit_section (symtab_node *n, void *)): created from set_implicit_section
15506 (static bool noninterposable_alias (symtab_node *node, void *data)): created from
15507 symtab_nonoverwritable_alias_1
15508 * cgraph.h (cgraph_node):
15509 (bool remove_symbol_and_inline_clones (cgraph_node *forbidden_node = NULL)):
15510 created from cgraph_remove_node_and_inline_clones
15511 (void record_stmt_references (gimple stmt)): created from ipa_record_stmt_references
15512 (void set_call_stmt_including_clones (gimple old_stmt, gimple new_stmt,
15513 bool update_speculative = true)): created from cgraph_set_call_stmt_including_clones
15514 (cgraph_node *function_symbol (enum availability *avail = NULL)):
15515 created from cgraph_function_node
15516 (cgraph_node *create_clone (tree decl, gcov_type count, int freq, bool update_original,
15517 vec<cgraph_edge *> redirect_callers, bool call_duplication_hook,
15518 struct cgraph_node *new_inlined_to, bitmap args_to_skip)):
15519 created from cgraph_create_clone
15520 (cgraph_node *create_virtual_clone (vec<cgraph_edge *> redirect_callers,
15521 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, const char * suffix)):
15522 created from cgraph_create_virtual_clone
15523 (cgraph_node *find_replacement (void)): created from cgraph_find_replacement_node
15524 (cgraph_node *create_version_clone (tree new_decl, vec<cgraph_edge *> redirect_callers,
15525 bitmap bbs_to_copy)): created from cgraph_copy_node_for_versioning
15526 (cgraph_node *create_version_clone_with_body (vec<cgraph_edge *> redirect_callers,
15527 vec<ipa_replace_map *, va_gc> *tree_map, bitmap args_to_skip, bool skip_return,
15528 bitmap bbs_to_copy, basic_block new_entry_block, const char *clone_name)):
15529 created from cgraph_function_version_info
15530 (struct cgraph_function_version_info *insert_new_function_version (void)):
15531 created from insert_new_cgraph_node_version
15532 (struct cgraph_function_version_info *function_version (void)): created from
15533 get_cgraph_node_version
15534 (void analyze (void)): created from analyze_function
15535 (cgraph_node * create_thunk (tree alias, tree, bool this_adjusting,
15536 HOST_WIDE_INT fixed_offset, HOST_WIDE_INT virtual_value, tree virtual_offset,
15537 tree real_alias) cgraph_add_thunk
15538 (inline cgraph_node *get_alias_target (void)): created from cgraph_alias_target
15539 (cgraph_node *ultimate_alias_target (availability *availability = NULL)):
15540 created from cgraph_function_or_thunk_node
15541 (bool expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)):
15542 created from expand_thunk
15543 (void reset (void)): created from cgraph_reset_node
15544 (void create_wrapper (cgraph_node *target)): created from cgraph_make_wrapper
15545 (void DEBUG_FUNCTION verify_node (void)): created from verify_cgraph_node
15546 (void remove (void)): created from cgraph_remove_node
15547 (void dump (FILE *f)): created from dump_cgraph_node
15548 (void DEBUG_FUNCTION debug (void)): created from debug_cgraph_node
15549 (bool get_body (void)): created from cgraph_get_body
15550 (void release_body (void)): created from cgraph_release_function_body
15551 (void unnest (void)): created from cgraph_unnest_node
15552 (void make_local (void)): created from cgraph_make_node_local
15553 (void mark_address_taken (void)): created from cgraph_mark_address_taken_node
15554 (struct cgraph_edge *create_edge (cgraph_node *callee, gimple call_stmt,
15555 gcov_type count, int freq)): created from cgraph_create_edge
15556 (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
15557 gcov_type count, int freq)): created from cgraph_create_indirect_edge
15558 (void create_edge_including_clones (struct cgraph_node *callee, gimple old_stmt,
15559 gimple stmt, gcov_type count, int freq, cgraph_inline_failed_t reason)):
15560 created from cgraph_create_edge_including_clones
15561 (cgraph_edge *get_edge (gimple call_stmt)): created from cgraph_edge
15562 (vec<cgraph_edge *> collect_callers (void)): created from collect_callers_of_node
15563 (void remove_callers (void)): created from cgraph_node_remove_callers
15564 (void remove_callees (void)): created from cgraph_node_remove_callees
15565 (enum availability get_availability (void)): created from cgraph_function_body_availability
15566 (void set_nothrow_flag (bool nothrow)): created from cgraph_set_nothrow_flag
15567 (void set_const_flag (bool readonly, bool looping)): created from cgraph_set_const_flag
15568 (void set_pure_flag (bool pure, bool looping)): created from cgraph_set_pure_flag
15569 (void call_duplication_hooks (cgraph_node *node2)): created from
15570 cgraph_call_node_duplication_hooks
15571 (bool call_for_symbol_and_aliases (bool (*callback) (cgraph_node *, void *),
15572 void *data, bool include_overwritable)): created from cgraph_for_node_and_aliases
15573 (bool call_for_symbol_thunks_and_aliases (bool (*callback) (cgraph_node *node, void *data),
15574 void *data, bool include_overwritable)): created from cgraph_for_node_thunks_and_aliases
15575 (void call_function_insertion_hooks (void)):
15576 created from cgraph_call_function_insertion_hooks
15577 (inline void mark_force_output (void)): created from cgraph_mark_force_output_node
15578 (bool local_p (void)): created from cgraph_local_node
15579 (bool can_be_local_p (void)): created from cgraph_node_can_be_local_p
15580 (bool cannot_return_p (void)): created from cgraph_node_cannot_return
15581 (bool only_called_directly_p (void)): created from cgraph_only_called_directly_p
15582 (inline bool only_called_directly_or_aliased_p (void)):
15583 created from cgraph_only_called_directly_or_aliased_p
15584 (bool will_be_removed_from_program_if_no_direct_calls_p (void)):
15585 created from cgraph_will_be_removed_from_program_if_no_direct_calls
15586 (bool can_remove_if_no_direct_calls_and_refs_p (void)):
15587 created from cgraph_can_remove_if_no_direct_calls_and_refs_p
15588 (bool can_remove_if_no_direct_calls_p (void)):
15589 created from cgraph_can_remove_if_no_direct_calls_p
15590 (inline bool has_gimple_body_p (void)):
15591 created from cgraph_function_with_gimple_body_p
15592 (bool optimize_for_size_p (void)): created from cgraph_optimize_for_size_p
15593 (static void dump_cgraph (FILE *f)): created from dump_cgraph
15594 (static inline void debug_cgraph (void)): created from debug_cgraph
15595 (static void record_function_versions (tree decl1, tree decl2)):
15596 created from record_function_versions
15597 (static void delete_function_version (tree decl)):
15598 created from delete_function_version
15599 (static void add_new_function (tree fndecl, bool lowered)):
15600 created from cgraph_add_new_function
15601 (static inline cgraph_node *get (const_tree decl)): created from cgraph_get_node
15602 (static cgraph_node * create (tree decl)): created from cgraph_create_node
15603 (static cgraph_node * create_empty (void)): created from cgraph_create_empty_node
15604 (static cgraph_node * get_create (tree)): created from cgraph_get_create_node
15605 (static cgraph_node *get_for_asmname (tree asmname)):
15606 created from cgraph_node_for_asm
15607 (static cgraph_node * create_same_body_alias (tree alias, tree decl)):
15608 created from cgraph_same_body_alias
15609 (static bool used_from_object_file_p_worker (cgraph_node *node,
15610 void *): new function
15611 (static bool non_local_p (cgraph_node *node, void *)):
15612 created from cgraph_non_local_node_p_1
15613 (static void DEBUG_FUNCTION verify_cgraph_nodes (void)):
15614 created from verify_cgraph
15615 (static bool make_local (cgraph_node *node, void *)):
15616 created from cgraph_make_node_local
15617 (static cgraph_node *create_alias (tree alias, tree target)):
15618 created from cgraph_create_function_alias
15619 (static cgraph_edge * create_edge (cgraph_node *caller, cgraph_node *callee,
15620 gimple call_stmt, gcov_type count, int freq, bool indir_unknown_callee)):
15621 created from cgraph_create_edge_1
15622 * cgraph.h (varpool_node):
15623 (void remove (void)): created from varpool_remove_node
15624 (void dump (FILE *f)): created from dump_varpool_node
15626 2014-07-24 Richard Biener <rguenther@suse.de>
15629 * tree-ssa-structalias.c (create_variable_info_for_1):
15630 Use varpool_get_constructor.
15631 (create_variable_info_for): Likewise.
15633 2014-07-24 Jiong Wang <jiong.wang@arm.com>
15635 * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't
15636 subtract outgoing area size when restoring stack_pointer_rtx.
15638 2014-07-24 Nick Clifton <nickc@redhat.com>
15640 * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
15641 that operations are taking place in parallel.
15642 * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
15644 2014-07-24 Thomas Schwinge <thomas@codesourcery.com>
15646 * omp-low.c (extract_omp_for_data): Add missing break statement.
15648 2014-07-24 Richard Biener <rguenther@suse.de>
15650 * tree-inline.h (estimate_move_cost): Add speed_p parameter.
15651 * tree-inline.c (estimate_move_cost): Add speed_p parameter
15652 and adjust MOVE_RATIO query accordingly.
15653 (estimate_num_insns): Adjust callers.
15654 * ipa-prop.c (ipa_populate_param_decls): Likewise.
15655 * ipa-cp.c (gather_context_independent_values,
15656 estimate_local_effects): Likewise.
15657 * ipa-split.c (consider_split): Likewise.
15659 2014-07-24 Trevor Saunders <tsaunders@mozilla.com>
15661 * config/i386/driver-i386.c: Remove names of unused arguments and
15662 unnecessary unused attributes.
15663 * config/i386/host-mingw32.c: Likewise.
15664 * config/i386/i386.c: Likewise.
15665 * config/i386/winnt-stubs.c: Likewise.
15666 * config/i386/winnt.c: Likewise.
15668 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15670 * config/aarch64/aarch64.c (aarch64_popwb_pair_reg)
15671 (aarch64_gen_loadwb_pair): New helper function.
15672 (aarch64_expand_epilogue): Simplify code using new helper functions.
15673 * config/aarch64/aarch64.md (loadwb_pair<GPF:mode>_<P:mode>): Define.
15675 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15677 * config/aarch64/aarch64.c (aarch64_pushwb_pair_reg)
15678 (aarch64_gen_storewb_pair): New helper function.
15679 (aarch64_expand_prologue): Simplify code using new helper functions.
15680 * config/aarch64/aarch64.md (storewb_pair<GPF:mode>_<P:mode>): Define.
15682 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15684 * config/aarch64/aarch64.md: (aarch64_save_or_restore_callee_saves):
15685 Rename to aarch64_save_callee_saves, remove restore code.
15686 (aarch64_restore_callee_saves): New function.
15688 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15690 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Deleted.
15691 (aarch64_save_callee_saves): New function to handle reg save
15692 for both core and vectore regs.
15694 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15696 * config/aarch64/aarch64.c (aarch64_gen_load_pair)
15697 (aarch64_gen_store_pair): New helper function.
15698 (aarch64_save_or_restore_callee_save_registers)
15699 (aarch64_save_or_restore_fprs): Use new helper functions.
15701 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15703 * config/aarch64/aarch64.c (aarch64_next_callee_save): New function.
15704 (aarch64_save_or_restore_callee_save_registers)
15705 (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save.
15707 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15709 * config/aarch64/aarch64.c
15710 (aarch64_save_or_restore_callee_save_registers)
15711 (aarch64_save_or_restore_fprs): Hoist calculation of register rtx.
15713 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15715 * config/aarch64/aarch64.c
15716 (aarch64_save_or_restore_callee_save_registers)
15717 (aarch64_save_or_restore_fprs): Remove 'increment'.
15719 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15721 * config/aarch64/aarch64.c
15722 (aarch64_save_or_restore_callee_save_registers)
15723 (aarch64_save_or_restore_fprs): Use register offset in
15724 cfun->machine->frame.reg_offset.
15726 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15728 * config/aarch64/aarch64.c
15729 (aarch64_save_or_restore_callee_save_registers)
15730 (aarch64_save_or_restore_fprs): Remove base_rtx.
15732 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15734 * config/aarch64/aarch64.c
15735 (aarch64_save_or_restore_callee_save_registers): Rename 'offset'
15736 to 'start_offset'. Remove local variable 'start_offset'.
15738 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15740 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Change
15741 type to HOST_WIDE_INT.
15743 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15745 * config/aarch64/aarch64.c (aarch64_expand_prologue)
15746 (aarch64_save_or_restore_fprs)
15747 (aarch64_save_or_restore_callee_save_registers): GNU-Stylize code.
15749 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
15751 * config/arm/t-rtems-eabi: Add
15752 mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
15753 mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
15754 mbig-endian/mthumb/march=armv7-r, and
15755 mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
15758 2014-07-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
15759 Chris Johns <chrisj@rtems.org>
15760 Joel Sherrill <joel.sherrill@oarcorp.com>
15762 * config.gcc: Add nios2-*-rtems*.
15763 * config/nios2/rtems.h: New file.
15764 * gcc/config/nios2/t-rtems: New file.
15766 2014-07-23 Segher Boessenkool <segher@kernel.crashing.org>
15769 * config/rs6000/rs6000.c (paired_expand_vector_init): Only allow
15770 constant numbers, not general constants.
15771 (rs6000_expand_vector_init): Ditto.
15773 2014-07-23 Nathan Sidwell <nathan@acm.org>
15775 * gcov-tool.c (gcov_list): Declare here.
15776 (set_gcov_list): Remove.
15777 (gcov_output_files): Set gcov_list directly.
15779 2014-07-23 Host Schirmeier <horst@schirmeier.com>
15781 * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
15783 2014-07-23 Jiong Wang <jiong.wang@arm.com>
15785 * config/arm/arm.c (arm_get_frame_offsets): If both r3 and other
15786 callee-saved registers are available for padding purpose
15787 and r3 is not mandatory, then prefer use those callee-saved
15790 2014-07-23 Richard Biener <rguenther@suse.de>
15792 * params.def (PARAM_MAX_COMBINE_INSNS): New.
15793 * combine.c: Include statistics.h and params.h.
15794 (combine_instructions): Guard three and four insn combines
15795 with max-combine-insns value. Record statistics for combines
15797 * doc/invoke.texi (max-combine-insns): Document new param.
15799 2014-07-23 Roman Gareev <gareevroman@gmail.com>
15801 * graphite-isl-ast-to-gimple.c:
15802 (translate_isl_ast_node_block): New function.
15803 (translate_isl_ast): Add calling of translate_isl_ast_node_block.
15805 * gcc.dg/graphite/isl-ast-gen-blocks-1.c: New testcase.
15806 * gcc.dg/graphite/isl-ast-gen-blocks-2.c: New testcase.
15808 2014-07-23 Roman Gareev <gareevroman@gmail.com>
15810 * graphite-isl-ast-to-gimple.c:
15811 (get_max_schedule_dimensions): New function.
15812 (extend_schedule): Likewise.
15813 (generate_isl_schedule): Add calling of extend_schedule and
15814 get_max_schedule_dimensions.
15816 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15818 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle CLRSB, CLZ.
15819 (case UNSPEC): Handle UNSPEC_RBIT.
15821 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15823 * config/aarch64/aarch64.md: Delete UNSPEC_CLS.
15824 (clrsb<mode>2): Use clrsb RTL code instead of UNSPEC_CLS.
15826 2014-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15828 * config/aarch64/arm_neon.h (vbsl_f64): New intrinsic.
15830 2014-07-22 Roman Gareev <gareevroman@gmail.com>
15832 * graphite-isl-ast-to-gimple.c:
15833 Add inclusion of gimple-ssa.h, tree-into-ssa.h.
15834 (ivs_params_clear):
15835 (build_iv_mapping): New function.
15836 (translate_isl_ast_node_user): Likewise.
15837 (translate_isl_ast): Add calling of translate_isl_ast_node_user.
15839 * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: New testcase.
15840 * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: New testcase.
15841 * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: New testcase.
15843 2014-07-21 Bin Cheng <bin.cheng@arm.com>
15846 * config/arm/arm.md (setmem): New pattern.
15847 * config/arm/arm-protos.h (struct tune_params): New fields.
15848 (arm_gen_setmem): New prototype.
15849 * config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
15850 (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
15851 (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
15852 (arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
15853 (arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
15854 (arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
15855 (arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
15856 (arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
15857 (arm_const_inline_cost): New function.
15858 (arm_block_set_max_insns): New function.
15859 (arm_block_set_non_vect_profit_p): New function.
15860 (arm_block_set_vect_profit_p): New function.
15861 (arm_block_set_unaligned_vect): New function.
15862 (arm_block_set_aligned_vect): New function.
15863 (arm_block_set_unaligned_non_vect): New function.
15864 (arm_block_set_aligned_non_vect): New function.
15865 (arm_block_set_vect, arm_gen_setmem): New functions.
15867 2014-07-21 Bin Cheng <bin.cheng@arm.com>
15869 * config/arm/arm.c (output_move_neon): Handle REG explicitly.
15871 2014-07-21 Uros Bizjak <ubizjak@gmail.com>
15874 * config/i386/avx512fintrin.h: Move constants for mantissa extraction
15875 out of #ifdef __OPTIMIZE__.
15877 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
15879 * cse.c (exp_equiv_p) <MEM>: For GCSE, return 0 for expressions with
15880 different trapping status if -fnon-call-exceptions is enabled.
15882 2014-07-20 Eric Botcazou <ebotcazou@adacore.com>
15884 * expr.c (store_field): Handle VOIDmode for calls that return values
15885 in multiple locations.
15887 2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
15889 * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.
15890 (altivec_vsldoi_<mode>): Likewise.
15892 2014-07-20 Roman Gareev <gareevroman@gmail.com>
15894 * graphite-isl-ast-to-gimple.c: Fixes a formatting issue related
15895 to the number of characters in the line.
15897 2014-07-20 Roman Gareev <gareevroman@gmail.com>
15899 * graphite-isl-ast-to-gimple.c: Add using of
15900 build_nonstandard_integer_type instead of int128_integer_type_node.
15902 2014-07-19 Eric Botcazou <ebotcazou@adacore.com>
15904 * toplev.c (output_stack_usage): Adjust the location of the warning.
15906 2014-07-19 Daniel Cederman <cederman@gaisler.com>
15908 * config/sparc/sync.md (*membar_storeload_leon3): New insn.
15909 (*membar_storeload): Disable for LEON3.
15911 2014-07-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
15913 PR rtl-optimization/61461
15914 * sched-vis.c (print_pattern) <ADDR_VEC, ADDR_DIFF_VEC>: Fixed.
15916 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
15919 * config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
15920 Fix instruction constraint.
15921 (<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>): Ditto.
15923 2014-07-18 Jonathan Wakely <jwakely@redhat.com>
15925 * doc/extend.texi (Template Instantiation): Remove stray parenthesis.
15927 2014-07-18 Chung-Ju Wu <jasonwucj@gmail.com>
15929 * config/nds32/nds32.c (nds32_can_eliminate): Follow the
15930 GNU coding standards.
15931 (nds32_register_move_cost): Likewise.
15932 (nds32_memory_move_cost): Likewise.
15933 (nds32_address_cost): Likewise.
15935 2014-07-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
15937 * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable.
15939 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
15941 * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Remove defines for
15942 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15943 and __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
15944 (HAVE_sync_compare_and_swapqi): Define.
15945 (HAVE_sync_compare_and_swaphi): Likewise.
15946 (HAVE_sync_compare_and_swapsi): Likewise.
15948 2014-07-17 Richard Sandiford <rdsandiford@googlemail.com>
15950 * config/mips/p5600.md: Add missing cpu tests.
15952 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15954 * config/aarch64/arm_neon.h (vfma_f64): New intrinsic.
15955 (vmla_f64): Likewise.
15956 (vfms_f64): Likewise.
15957 (vmls_f64): Likewise.
15959 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15961 * config/aarch64/aarch64.c (aarch64_frint_unspec_p): New function.
15962 (aarch64_rtx_costs): Handle FIX, UNSIGNED_FIX, UNSPEC.
15964 2014-07-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15966 * config/aarch64/arm_neon.h (vmlal_high_lane_s16): Fix type.
15967 (vmlal_high_lane_s32): Likewise.
15968 (vmlal_high_lane_u16): Likewise.
15969 (vmlal_high_lane_u32): Likewise.
15970 (vmlsl_high_lane_s16): Likewise.
15971 (vmlsl_high_lane_s32): Likewise.
15972 (vmlsl_high_lane_u16): Likewise.
15973 (vmlsl_high_lane_u32): Likewise.
15975 2014-07-17 Terry Guo <terry.guo@arm.com>
15977 * config/arm/types.md (alu_reg): Replaced by alu_sreg and alu_dsp_reg.
15978 (alus_reg): Renamed to alus_sreg.
15979 * config/arm/arm-fixed.md: Change type of non-dsp instructions
15980 from alu_reg to alu_sreg. Change type of dsp instructions from
15981 alu_reg to alu_dsp_reg.
15982 * config/arm/thumb1.md: Likewise.
15983 * config/arm/thumb2.md: Likewise.
15984 * config/arm/arm.c (cortexa7_older_only): Use new ALU type names.
15985 * config/arm/arm1020e.md (1020alu_op): Replace alu_reg and alus_reg
15986 with alu_sreg and alus_sreg.
15987 * config/arm/arm1026ejs.md (alu_op): Likewise.
15988 * config/arm/arm1136jfs.md (11_alu_op): Likewise.
15989 * config/arm/arm926ejs.md (9_alu_op): Likewise.
15990 * config/arm/fa526.md (526_alu_op): Likewise.
15991 * config/arm/fa606te.md (606te_alu_op): Likewise.
15992 * config/arm/fa626te.md (626te_alu_op): Likewise.
15993 * config/arm/fa726te.md (726te_alu_op): Likewise.
15994 * config/arm/fmp626.md (mp626_alu_op): Likewise.
15995 * config/arm/arm.md (core_cycles): Replace alu_reg and alus_reg with
15996 alu_sreg, alu_dsp_reg and alus_sreg.
15997 * config/arm/cortex-a15.md (cortex_a15_alu): Likewise.
15998 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
15999 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
16000 * config/arm/cortex-a7.md (cortex_a7_alu_sreg): Likewise.
16001 * config/arm/cortex-a8.md (cortex_a8_alu): Likewise.
16002 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
16003 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
16004 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
16005 * config/arm/marvell-pj4.md (pj4_alu, pj4_alu_conds): Likewise.
16006 * config/aarch64/aarch64.md (*addsi3_aarch64, *addsi3_aarch64_uxtw,
16007 subsi3, *adddi3_aarch64, *subsi3_uxtw, subdi3, absdi2, neg<mode>2,
16008 *negsi2_uxtw, tlsle_small_<mode>): Rename type alu_reg to alu_sreg.
16009 (add<mode>3_compare0, *addsi3_compare0_uxtw, *add<mode>3nr_compare0,
16010 sub<mode>3_compare0, *compare_neg<mode>, *neg<mode>2_compare0,
16011 subsi3_compare0_uxtw, *negsi2_compare0_uxtw, *cmp<mode>): Rename type
16012 alus_reg to alus_sreg.
16014 2014-07-17 Andreas Schwab <schwab@linux-m68k.org>
16016 * real.c (encode_ieee_extended_motorola): Clear integer bit in the
16019 2014-07-17 Richard Biener <rguenther@suse.de>
16021 PR rtl-optimization/61801
16022 * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and ASM_INPUT
16023 don't set reg_pending_barrier if it appears in a debug-insn.
16025 2014-07-16 DJ Delorie <dj@redhat.com>
16027 * config/rx/rx.c (rx_option_override): Fix alignment values.
16028 (rx_align_for_label): Likewise.
16030 2014-07-17 Hans-Peter Nilsson <hp@axis.com>
16033 * config/cris/cris.c (TARGET_LEGITIMATE_CONSTANT_P)
16034 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
16035 (cris_cannot_force_const_mem, cris_legitimate_constant_p): New
16037 (cris_print_index, cris_print_operand, cris_constant_index_p)
16038 (cris_side_effect_mode_ok): Replace CONSTANT_P with CRIS_CONSTANT_P.
16039 (cris_address_cost): Ditto last CONSTANT_P.
16040 (cris_symbol_type_of): Rename from cris_pic_symbol_type_of. All
16041 callers changed. Yield cris_offsettable_symbol for non-PIC
16042 constant symbolic expressions including labels. Yield cris_unspec
16044 (cris_expand_pic_call_address): New parameter MARKERP. Set its
16045 target to pic_offset_table_rtx for calls that will likely go
16046 through PLT, const0_rtx when they can't. All callers changed.
16047 Assert flag_pic. Use CONSTANT_P, not CONSTANT_ADDRESS_P, for
16048 symbolic expressions to be PICified. Remove second, redundant,
16049 assert on can_create_pseudo_p returning non-zero. Use
16050 replace_equiv_address_nv, not replace_equiv_address, for final
16052 * config/cris/cris.md ("movsi"): Move variable t to pattern
16053 toplevel. Adjust assert for new cris_symbol_type member. Use
16054 CONSTANT_P instead of CONSTANT_ADDRESS_P.
16055 ("*movsi_internal") <case 9>: Make check for valid unspec operands
16057 <case CRIS_UNSPEC_PCREL, CRIS_UNSPEC_PLT_PCREL>: Clear condition codes.
16058 ("call", "call_value"): Use second incoming operand as a marker
16059 for pic-offset-table-register being used.
16060 ("*expanded_call_non_v32", "*expanded_call_v32")
16061 ("*expanded_call_value_non_v32", "*expanded_call_value_v32"): For
16062 second incoming operand to CALL, match cris_call_type_marker.
16063 ("*expanded_call_value_side"): Ditto. Disable before reload_completed.
16064 ("*expanded_call_side"): Ditto. Fix typo in comment.
16065 (moverside, movemside peepholes): Check for CRIS_CONSTANT_P, not
16067 * config/cris/predicates.md ("cris_call_type_marker"): New predicate.
16068 * config/cris/cris.h (CRIS_CONSTANT_P): New macro.
16069 (enum cris_symbol_type): Rename from cris_pic_symbol_type. All
16070 users changed. Add members cris_offsettable_symbol and cris_unspec.
16071 (cris_symbol_type): Rename from cris_pic_symbol_type.
16072 * config/cris/constraints.md ("T"): Use CRIS_CONSTANT_P, not
16074 * config/cris/cris-protos.h (cris_symbol_type_of,
16075 cris_expand_pic_call_address): Adjust prototypes.
16076 (cris_legitimate_constant_p): New prototype.
16078 * config.gcc (crisv32-*-linux* | cris-*-linux*): Do not override
16079 an existing tmake_file. Don't add t-slibgcc and t-linux.
16081 2014-07-17 Jason Merrill <jason@redhat.com>
16084 * symtab.c (symtab_remove_from_same_comdat_group): Also
16085 set_comdat_group to NULL_TREE.
16086 (verify_symtab): Fix diagnostic.
16088 2014-07-16 David Wohlferd <dw@LimeGreenSocks.com>
16091 * config/i386/ia32intrin.h: Use __LP64__ to determine size of long.
16093 2014-07-16 Dodji Seketeli <dodji@redhat.com>
16095 Support location tracking for built-in macro tokens
16096 * input.h (is_location_from_builtin_token): New function declaration.
16097 * input.c (is_location_from_builtin_token): New function definition.
16098 * toplev.c (general_init): Tell libcpp what the pre-defined
16099 spelling location for built-in tokens is.
16101 2014-07-16 Jakub Jelinek <jakub@redhat.com>
16103 * omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
16104 on the FUNCTION_DECL.
16106 2014-07-16 Richard Biener <rguenther@suse.de>
16109 * doc/extend.texi (always_inline): Clarify.
16111 2014-07-15 Eric Christopher <echristo@gmail.com>
16113 * doc/invoke.texi (Link Options): Document -z option.
16115 2014-07-15 Uros Bizjak <ubizjak@gmail.com>
16117 * config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): New.
16118 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
16120 2014-07-15 Jan Hubicka <hubicka@ucw.cz>
16122 * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
16124 2014-07-15 Bernd Schmidt <bernds@codesourcery.com>
16126 * asan.c (asan_finish_file): Use varpool_finalize_decl instead of
16127 varpool_assemble_decl.
16128 * varpool.c (varpool_assemble_decl): Assert that node->definition is
16131 2014-07-15 Michael Matz <matz@suse.de>
16133 PR rtl-optimization/61772
16134 * ifcvt.c (dead_or_predicable): Check jump to be free of side effects.
16136 2014-07-15 Richard Biener <rguenther@suse.de>
16138 * opts.c (default_options_table): Disable bit-ccp at -Og.
16140 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
16142 * fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
16144 2014-07-14 Jan Hubicka <hubicka@ucw.cz>
16146 * tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
16147 NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
16148 call langhook for unknown declaration.
16149 (find_decls_types_r): Do not walk DECL_ARGUMENT_FLD.
16150 * tree.h (DECL_ARGUMENTS): Update.
16151 * print-tree.c (print_node): Update.
16152 * tree-core.h (tree_decl_non_common): Remove arguments.
16153 (tree_function_decl): Add arguments.
16155 2014-07-14 Richard Earnshaw <rearnsha@arm.com>
16157 * aarch64.md (add_losym_<mode>): Set type to alu_imm.
16159 2014-07-14 Richard Biener <rguenther@suse.de>
16161 PR tree-optimization/61779
16162 * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Always try
16163 simplifying a condition.
16165 2014-07-14 Richard Biener <rguenther@suse.de>
16167 * builtins.c (c_strlen): Make only_value == 2 really only
16168 affect warning generation.
16170 2014-07-14 Richard Biener <rguenther@suse.de>
16172 PR tree-optimization/61757
16173 PR tree-optimization/61783
16174 PR tree-optimization/61787
16175 * tree-ssa-dom.c (record_equality): Revert canonicalization
16176 change and add comment.
16177 (propagate_rhs_into_lhs): Revert previous fix, removing
16178 loop depth restriction again.
16180 2014-07-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16182 * config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
16183 * config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
16184 * config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
16185 * config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
16186 * config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
16187 * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
16188 * config/arm/cortex-r4.md (cortex_r4_alu): Likewise.
16190 2014-07-14 Richard Biener <rguenther@suse.de>
16192 * cgraph.h (decl_in_symtab_p): Make inline.
16194 2014-07-14 Jakub Jelinek <jakub@redhat.com>
16196 PR middle-end/61294
16197 * doc/invoke.texi (-Wmemset-transposed-args): Document.
16200 * config/i386/i386.c (classify_argument): Don't merge classes above
16203 2014-07-13 Jan Hubicka <hubicka@ucw.cz>
16205 * cgraph.h (symtab_node): Add nonzero_address.
16206 (decl_in_symtab_p): Break out from ...
16207 (symtab_get_node): ... here.
16208 * fold-const.c: Include cgraph.h
16209 (tree_single_nonzero_warnv_p): Use symtab to determine
16210 if symbol is non-zero.
16211 * symtab.c (symtab_node::nonzero_address): New method.
16213 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
16215 * ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
16216 forgotten in previous commit.
16218 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
16220 * tree.c (type_in_anonymous_namespace_p): Ignore TREE_PUBLIC
16222 * ipa-devirt.c: Include stor-layout.h and intl.h
16223 (odr_subtypes_equivalent_p): New function.
16224 (warn_odr): New function.
16225 (warn_type_mismatch): New function.
16226 (odr_types_equivalent_p): New function.
16227 (add_type_duplicate): Use it.
16228 * common.opt (Wodr): New flag.
16229 * doc/invoke.texi (Wodr): Document new warning.
16231 2014-07-12 Jan Hubicka <hubicka@ucw.cz>
16233 * timevar.def (TV_IPA_LTO_DECL_INIT_IO): Remove.
16234 (TV_IPA_LTO_CTORS_IN, TV_IPA_LTO_CTORS_OUT): New timevar.
16235 * cgraph.c (cgraph_get_body): Push GIMPLE_IN timevar.
16236 (varpool_get_constructor): Push CTORS_IN timevar.
16237 * lto-streamer-out.c (lto_output): Push TV_IPA_LTO_CTORS_OUT timevar.
16239 2014-07-12 Uros Bizjak <ubizjak@gmail.com>
16241 * config/i386/i386-builtin-types.def: Add USHORT_FTYPE_VOID.
16242 Remove VOID_FTYPE_PUSHORT.
16243 * config/i386/i386.c (bdesc_special_args) <__builtin_ia32_fnstsw>:
16244 Change code to USHORT_FTYPE_VOID.
16245 (ix86_expand_special_args_builtin): Handle USHORT_FTYPE_VOID.
16246 (ix86_expand_builtin): Remove IX86_BUILTIN_FNSTSW handling.
16247 (ix86_atomic_assign_expand_fenv): Update for
16248 __builtin_ia32_fnstsw changes.
16249 * config/i386/i386.md (x86_fnstsw_1): Set length unconditionally to 2.
16250 (fnstsw): Change operand 0 to nonimmediate operand.
16252 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
16254 * vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
16255 (varpool_get_constructor): New function.
16256 (varpool_ctor_useable_for_folding_p): Break out from ...
16257 (ctor_for_folding): ... here; use varpool_get_constructor.
16258 (varpool_assemble_decl): Likewise.
16259 * lto-streamer.h (struct output_block): Turn cgraph_node
16261 (lto_input_variable_constructor): Declare.
16262 * ipa-visibility.c (function_and_variable_visibility): Use
16263 varpool_get_constructor.
16264 * cgraph.h (varpool_get_constructor): Declare.
16265 (varpool_ctor_useable_for_folding_p): New function.
16266 * lto-streamer-out.c (get_symbol_initial_value): Take encoder
16267 parameter; return error_mark_node for non-trivial constructors.
16268 (lto_write_tree_1, DFS_write_tree): Update use of
16269 get_symbol_initial_value.
16270 (output_function): Update initialization of symbol.
16271 (output_constructor): New function.
16272 (copy_function): Rename to ..
16273 (copy_function_or_variable): ... this one; handle vars too.
16274 (lto_output): Output variable sections.
16275 * lto-streamer-in.c (input_constructor): New function.
16276 (lto_read_body): Rename from ...
16277 (lto_read_body_or_constructor): ... this one; handle vars too.
16278 (lto_input_variable_constructor): New function.
16279 * ipa-prop.c (ipa_prop_write_jump_functions,
16280 ipa_prop_write_all_agg_replacement): Update.
16281 * lto-cgraph.c (compute_ltrans_boundary): Use it.
16282 (output_cgraph_opt_summary): Set symbol to NULL.
16284 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
16286 * ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
16287 non-polymorphic types.
16288 * ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
16289 * ipa-devirt.c (types_same_for_odr): Do not explode when one
16290 of types is not polymorphic.
16292 2014-07-11 Vladimir Makarov <vmakarov@redhat.com>
16294 * lra-constraints.c (remove_inheritance_pseudos): Process
16295 destination pseudo too.
16297 2014-07-11 Rong Xu <xur@google.com>
16299 * gcov-tool.c (gcov_output_files): Fix build error introduced in
16302 2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
16304 * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
16305 * config/avr/avr-devices.c (AVR_MCU): Same.
16306 (avr_mcu_types): add text start value to end of device list.
16307 * config/avr/avr-mcus.def: Add text section start for all devices.
16308 (ata5782): Add new avr5 device.
16310 * config/avr/avr-tables.opt: Regenerate.
16311 * config/avr/avr.h: Add declaration for text section start handler.
16312 (EXTRA_SPEC_FUNCTIONS): Add text section start handler to
16314 (LINK_SPEC): Include text section start handler to linker spec.
16315 * config/avr/driver-avr.c (avr_device_to_text_start): New function to
16316 pass -Ttext option to linker if the text section start for the device
16318 * config/avr/t-multilib: Regenerate.
16319 * doc/avr-mmcu.texi: Regenerate.
16321 2014-07-11 David Edelsohn <dje.gcc@gmail.com>
16323 * config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
16324 * config/rs6000/aix52.h (LINK_SPEC): Same.
16325 * config/rs6000/aix53.h (LINK_SPEC): Same.
16326 * config/rs6000/aix61.h (LINK_SPEC): Same.
16327 * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.
16329 2014-07-11 Roman Gareev <gareevroman@gmail.com>
16331 * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
16332 (graphite_verify): New function.
16333 (ivs_params_clear): New function.
16334 (gcc_expression_from_isl_ast_expr_id): New function.
16335 (gcc_expression_from_isl_expr_int): New function.
16336 (binary_op_to_tree): New function.
16337 (ternary_op_to_tree): New function.
16338 (unary_op_to_tree): New function.
16339 (nary_op_to_tree): New function.
16340 (gcc_expression_from_isl_expr_op): New function.
16341 (gcc_expression_from_isl_expression): New function.
16342 (graphite_create_new_loop): New function.
16343 (translate_isl_ast_for_loop): New function.
16344 (get_upper_bound): New function.
16345 (graphite_create_new_loop_guard): New function.
16346 (translate_isl_ast_node_for): New function.
16347 (translate_isl_ast): New function.
16348 (add_parameters_to_ivs_params): New function.
16349 (scop_to_isl_ast): New parameter ip.
16350 (graphite_regenerate_ast_isl): Add generation of GIMPLE code.
16352 2014-07-11 Jan Hubicka <hubicka@ucw.cz>
16354 * config/xtensa/predicates.md (call expander): Update for
16355 DECL_SECTION_NAME being string.
16357 2014-07-11 Richard Biener <rguenther@suse.de>
16359 PR middle-end/61473
16360 * builtins.c (fold_builtin_memory_op): Inline memory moves that
16361 can be implemented with a single load followed by a single store.
16362 (c_strlen): Only warn when only_value is not 2.
16364 2014-07-11 Evgeny Stupachenko <evstupac@gmail.com>
16366 * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.
16368 2014-07-11 Marat Zakirov <m.zakirov@samsung.com>
16371 * config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
16372 (*movhi_bytes): Likewise.
16373 (*arm_movqi_insn): Likewise.
16375 2014-07-11 Uros Bizjak <ubizjak@gmail.com>
16378 * config/alpha/alpha.c: Include tree-pass.h, context.h
16379 and pass_manager.h.
16380 (pass_data_handle_trap_shadows): New pass.
16381 (pass_handle_trap_shadows::gate): New pass gate function.
16382 (make_pass_handle_trap_shadows): New function.
16383 (rest_of_handle_trap_shadows): Ditto.
16385 (alpha_align_insns_1): Rename from alpha_align_insns.
16386 (pass_data_align_insns): New pass.
16387 (pass_align_insns::gate): New pass gate function.
16388 (make_pass_aling_insns): New function.
16389 (rest_of_align_insns): Ditto.
16390 (alpha_align_insns): Ditto.
16392 (alpha_option_override): Declare handle_trap_shadows info
16393 and align_insns_info. Register handle_trap_shadows and align_insns
16395 (alpha_reorg): Do not call alpha_trap_shadows and
16396 alpha_align_insn from here.
16398 (alpha_pad_function_end): Do not skip BARRIERs.
16400 2014-07-10 Rong Xu <xur@google.com>
16402 Add gcov-tool: an offline gcda profile processing tool support.
16403 * gcov-io.c (gcov_position): Make avaialble to gcov-tool.
16404 (gcov_is_error): Ditto.
16405 (gcov_read_string): Ditto.
16406 (gcov_read_sync): Ditto.
16407 * gcov-io.h: Move counter defines to gcov-counter.def.
16408 * gcov-dump.c (tag_counters): Use gcov-counter.def.
16409 * coverage.c: Ditto.
16410 * gcov-tool.c: Offline gcda profile processing tool.
16411 (unlink_gcda_file): Remove one gcda file.
16412 (unlink_profile_dir): Remove gcda files from the profile path.
16413 (gcov_output_files): Output gcda files to an output dir.
16414 (profile_merge): Merge two profiles in directory.
16415 (print_merge_usage_message): Print merge usage.
16416 (merge_usage): Print merge usage and exit.
16417 (do_merge): Driver for profile merge sub-command.
16418 (profile_rewrite): Rewrite profile.
16419 (print_rewrite_usage_message): Print rewrite usage.
16420 (rewrite_usage): Print rewrite usage and exit.
16421 (do_rewrite): Driver for profile rewrite sub-command.
16422 (print_usage): Print gcov-info usage and exit.
16423 (print_version): Print gcov-info version.
16424 (process_args): Process arguments.
16425 (main): Main routine for gcov-tool.
16426 * Makefile.in: Build and install gcov-tool.
16427 * gcov-counter.def: New file split from gcov-io.h.
16428 * doc/gcc.texi: Include gcov-tool.texi.
16429 * doc/gcov-tool.texi: Document for gcov-tool.
16431 2014-07-10 Richard Biener <rguenther@suse.de>
16433 PR tree-optimization/61757
16434 * tree-ssa-dom.c (loop_depth_of_name): Restore.
16435 (propagate_rhs_into_lhs): Revert part of last change.
16437 2014-07-10 Thomas Schwinge <thomas@codesourcery.com>
16439 * fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
16442 2014-07-10 Eric Botcazou <ebotcazou@adacore.com>
16444 PR middle-end/53590
16445 * function.c (allocate_struct_function): Revert r188667 change.
16447 * gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.
16449 2014-07-10 Tom G. Christensen <tgc@jupiterrise.com>
16451 * doc/install.texi: Remove links to defunct package providers for
16454 2014-07-09 Tom de Vries <tom@codesourcery.com>
16456 * final.c (get_call_fndecl): Declare.
16457 (self_recursive_call_p): New function.
16458 (collect_fn_hard_reg_usage): Handle self-recursive function calls.
16460 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16462 * ipa-devirt.c (record_node): Walk through aliases.
16464 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16466 * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
16468 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16471 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
16473 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16475 * ipa-visibility.c (function_and_variable_visibility): Remove
16476 temporary hack disabling local aliases on AIX.
16478 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16480 * ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
16481 * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
16483 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16485 * rs6000/rs6000-protos.h (rs6000_xcoff_declare_object_name): Declare.
16486 * rs6000/rs6000.c: Inline output of .set instruction.
16487 (declare_alias_data): New struct.
16488 (rs6000_declare_alias): New function.
16489 (rs6000_xcoff_declare_function_name): Use it.
16490 (rs6000_xcoff_declare_object_name): New function.
16491 * config/rs6000/xcoff.h: Define ASM_DECLARE_OBJECT_NAME.
16492 (ASM_OUTPUT_DEF): Turn to empty definition.
16494 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
16497 * hash-table.h: use hash_table::value_type instead of
16498 Descriptor::value_type in the return types of several methods.
16500 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
16502 * tree-pass.h (pass_data): Remove has_execute member.
16503 * passes.c (execute_one_pass): Don't check pass->has_execute.
16504 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
16505 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
16506 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
16507 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
16508 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
16509 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
16510 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
16511 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
16512 gimple-low.c, gimple-ssa-isolate-paths.c,
16513 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
16514 ipa-comdats.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c,
16515 ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c,
16516 ipa-split.c, ipa-visibility.c, ipa.c, ira.c, jump.c, loop-init.c,
16517 lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, passes.c,
16518 postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
16519 reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c,
16520 stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c,
16521 tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c,
16522 tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c,
16523 tree-loop-distribution.c, tree-nrv.c, tree-object-size.c,
16524 tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
16525 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
16526 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
16527 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
16528 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
16529 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
16530 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
16531 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
16532 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
16533 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
16534 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
16535 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c,
16536 web.c: Remove initializer for pass_data::has_execute.
16538 2014-07-08 Trevor Saunders <tsaunders@mozilla.com>
16540 * graphite-htab.h: Use hash_map instead of hash_table.
16541 * graphite-clast-to-gimple.c: Adjust.
16542 * passes.c: Use hash_map instead of hash_table.
16543 * sese.c: Likewise.
16544 * sese.h: Remove now unused code.
16546 2014-07-08 Sriraman Tallam <tmsriram@google.com>
16549 * config/i386/i386.c (ix86_in_large_data_p): Check for size less
16552 2014-07-08 Jakub Jelinek <jakub@redhat.com>
16554 PR rtl-optimization/61673
16555 * combine.c (simplify_comparison): Test just mode's sign bit
16556 in tmode rather than the sign bit and any bits above it.
16558 2014-07-08 Roman Gareev <gareevroman@gmail.com>
16560 * graphite-isl-ast-to-gimple.c (generate_isl_context):
16561 Add __isl_give to the declaration.
16562 (generate_isl_schedule): Likewise.
16563 (scop_to_isl_ast): Likewise.
16565 2014-07-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16567 * config/arm/arm.c (cortexa5_extra_costs): New table.
16568 (arm_cortex_a5_tune): Use cortexa5_extra_costs.
16570 2014-07-08 Jakub Jelinek <jakub@redhat.com>
16572 PR tree-optimization/61725
16573 * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned
16574 range, use range_includes_zerop_p instead of integer_zerop on
16575 vr0->min, only use log2 of max if min is not negative.
16577 2014-07-08 Richard Biener <rguenther@suse.de>
16579 * tree-ssa-dom.h (loop_depth_of_name): Remove.
16580 * tree-ssa-dom.c (record_equivalences_from_phis): Remove
16581 restriction on loop depth difference.
16582 (record_equality): Likewise.
16583 (propagate_rhs_into_lhs): Likewise. Simplify condition.
16584 (loop_depth_of_name): Remove.
16585 * tree-ssa-copy.c (copy_prop_visit_phi_node): Remove
16586 restriction on loop depth difference.
16587 (init_copy_prop): Likewise.
16589 2014-07-08 Jan Hubicka <hubicka@ucw.cz>
16591 * tree-ssa-alias.c (walk_aliased_vdefs_1): Add FUNCTION_ENTRY_REACHED
16593 (walk_aliased_vdefs): Likewise.
16594 * tree-ssa-alias.h (walk_aliased_vdefs): Likewise.
16595 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers
16596 (detect_type_change_from_memory_writes): Check if entry was reached.
16598 2014-07-08 Richard Biener <rguenther@suse.de>
16600 PR tree-optimization/61681
16601 * tree-ssa-structalias.c (find_what_var_points_to): Expand
16602 NONLOCAL inside ESCAPED.
16604 2014-07-08 Richard Biener <rguenther@suse.de>
16606 PR tree-optimization/61680
16607 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
16608 Handle properly all read-write dependences with group accesses.
16610 2014-07-08 Yuri Rumyantsev <ysrumyan@gmail.com>
16612 PR tree-optimization/61576
16613 * tree-if-conv.c (is_cond_scalar_reduction): Add check that basic
16614 block containing reduction statement is predecessor of phi basi block.
16616 2014-07-08 Marek Polacek <polacek@redhat.com>
16619 * fold-const.c (round_up_loc): Change the parameter type.
16621 * fold-const.h (round_up_loc): Adjust declaration.
16622 * stor-layout.c (finalize_record_size): Check for too large types.
16624 2014-07-07 Jan Hubicka <hubicka@ucw.cz>
16626 * symtab.c: Include calls.h.
16627 (symtab_nonoverwritable_alias_1): Check sanity of the local alias.
16629 2014-07-07 Maciej W. Rozycki <macro@codesourcery.com>
16631 * config/rs6000/rs6000.c (output_vec_const_move): Handle
16632 little-endian code generation.
16633 * config/rs6000/spe.md (spe_evmergehi): Rename to...
16634 (vec_perm00_v2si): ... this. Handle little-endian code generation.
16635 (spe_evmergehilo): Rename to...
16636 (vec_perm01_v2si): ... this. Handle little-endian code generation.
16637 (spe_evmergelo): Rename to...
16638 (vec_perm11_v2si): ... this. Handle little-endian code generation.
16639 (spe_evmergelohi): Rename to...
16640 (vec_perm10_v2si): ... this. Handle little-endian code generation.
16641 (spe_evmergehi, spe_evmergehilo): New expanders.
16642 (spe_evmergelo, spe_evmergelohi): Likewise.
16643 (*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code generation.
16644 (*frob_tf_ti): Likewise.
16645 (*frob_<mode>_di_2): Likewise.
16646 (*frob_tf_di_8_2): Likewise.
16647 (*frob_di_<mode>): Likewise.
16648 (*frob_ti_tf): Likewise.
16649 (*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
16650 (*frob_ti_<mode>_8_2): Likewise.
16651 (*frob_ti_tf_2): Likewise.
16652 (mov_si<mode>_e500_subreg0): Rename to...
16653 (mov_si<mode>_e500_subreg0_be): ... this. Restrict to the big
16655 (*mov_si<mode>_e500_subreg0_le): New instruction pattern.
16656 (*mov_si<mode>_e500_subreg0_elf_low): Rename to...
16657 (*mov_si<mode>_e500_subreg0_elf_low_be): ... this. Restrict to
16658 the big endianness only.
16659 (*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
16660 (*mov_si<mode>_e500_subreg0_2): Rename to...
16661 (*mov_si<mode>_e500_subreg0_2_be): ... this. Restrict to the
16662 big big endianness only.
16663 (*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
16664 (*mov_si<mode>_e500_subreg4): Rename to...
16665 (*mov_si<mode>_e500_subreg4_be): ... this. Restrict to the big
16667 (mov_si<mode>_e500_subreg4_le): New instruction pattern.
16668 (*mov_si<mode>_e500_subreg4_elf_low): Rename to...
16669 (*mov_si<mode>_e500_subreg4_elf_low_be): ... this. Restrict to
16670 the big endianness only.
16671 (*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
16673 (*mov_si<mode>_e500_subreg4_2): Rename to...
16674 (*mov_si<mode>_e500_subreg4_2_be): ... this. Restrict to the big
16676 (*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
16677 (*mov_sitf_e500_subreg8): Rename to...
16678 (*mov_sitf_e500_subreg8_be): ... this. Restrict to the big
16680 (*mov_sitf_e500_subreg8_le): New instruction pattern.
16681 (*mov_sitf_e500_subreg8_2): Rename to...
16682 (*mov_sitf_e500_subreg8_2_be): ... this. Restrict to the big
16684 (*mov_sitf_e500_subreg8_2_le): New instruction pattern.
16685 (*mov_sitf_e500_subreg12): Rename to...
16686 (*mov_sitf_e500_subreg12_be): ... this. Restrict to the big
16688 (*mov_sitf_e500_subreg12_le): New instruction pattern.
16689 (*mov_sitf_e500_subreg12_2): Rename to...
16690 (*mov_sitf_e500_subreg12_2_be): ... this. Restrict to the big
16692 (*mov_sitf_e500_subreg12_2_le): New instruction pattern.
16694 2014-07-07 Max Ostapenko <m.ostapenko@partner.samsung.com>
16696 * asan.c (instrument_strlen_call): Do not instrument first byte
16697 in strlen if already instrumented.
16699 2014-07-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
16701 * config/arm/arm.opt (mwords-little-endian): Delete.
16702 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
16703 of TARGET_LITTLE_WORDS.
16704 (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
16705 * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
16707 * doc/invoke.texi: Remove references to -mwords-little-endian.
16709 2014-07-07 Jakub Jelinek <jakub@redhat.com>
16711 * expmed.c (struct init_expmed_rtl): Change all fields but
16712 pow2 and cint from struct rtx_def to rtx.
16713 (init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
16714 (init_expmed): Likewise. Allocate all the 18 rtxes and ggc_free them
16717 2014-07-06 Marek Polacek <polacek@redhat.com>
16720 * doc/invoke.texi: Document -Wsizeof-array-argument.
16722 2014-07-05 Gerald Pfeifer <gerald@pfeifer.com>
16724 * wide-int.h (wide_int_storage): Change declaration from struct
16727 2014-07-05 Jan Hubicka <hubicka@ucw.cz>
16729 * cgraph.c (cgraph_create_indirect_edge): Update call of
16730 get_polymorphic_call_info.
16731 * ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
16732 (possible_polymorphic_call_targets): Add parameter call.
16733 (decl_maybe_in_construction_p): New predicate.
16734 (get_polymorphic_call_info): Add parameter call;
16735 use decl_maybe_in_construction_p.
16736 * gimple-fold.c (fold_gimple_assign): Update use of
16737 possible_polymorphic_call_targets.
16738 (gimple_fold_call): Likewise.
16739 * ipa-prop.c: Inlcude calls.h
16740 (ipa_binfo_from_known_type_jfunc): Check that known type is record.
16741 (param_type_may_change_p): New predicate.
16742 (detect_type_change_from_memory_writes): Break out from ...
16743 (detect_type_change): ... this one; use param_type_may_change_p.
16744 (detect_type_change_ssa): Use param_type_may_change_p.
16745 (compute_known_type_jump_func): Use decl_maybe_in_construction_p.
16747 2014-07-05 Charles Baylis <charles.baylis@linaro.org>
16750 * config/arm/arm-protos.h (arm_legitimate_address_p,
16751 arm_is_constant_pool_ref): Add prototypes.
16752 * config/arm/arm.c (arm_legitimate_address_p): Remove static.
16753 (arm_is_constant_pool_ref) New function.
16754 * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
16755 arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
16756 (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
16757 operand. Remove pool_range and neg_pool_range attributes.
16758 (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
16759 pool_range and neg_pool_range attributes.
16760 * config/arm/constraints.md (Uh): New constraint.
16761 (Uq): Don't allow constant pool references.
16763 2014-07-04 James Greenhalgh <james.greenhalgh@arm.com>
16765 * config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New.
16766 (move_lo_quad_internal_be_<mode>): Likewise.
16767 (move_lo_quad_<mode>): Convert to define_expand.
16768 (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN.
16769 (aarch64_simd_move_hi_quad_be_<mode>): New.
16770 (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN.
16771 (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN.
16772 (aarch64_combinez_be<mode>): New.
16773 (aarch64_combine<mode>): Convert to define_expand.
16774 (aarch64_combine_internal<mode>): New.
16775 (aarch64_simd_combine<mode>): Remove bogus RTL description.
16777 2014-07-04 Tom de Vries <tom@codesourcery.com>
16779 * doc/md.texi (@subsection Constraint Modifier Characters): Clarify
16780 combination of earlyclobber and read/write modifiers.
16782 2014-07-04 Tom de Vries <tom@codesourcery.com>
16784 * config/aarch64/aarch64-simd.md
16785 (define_insn "vec_unpack_trunc_<mode>"): Fix constraint.
16787 2014-07-04 Richard Earnshaw <rearnsha@arm.com>
16790 * config/aarch64/aarch64.h (OPTION_DEFAULT_SPECS): Define.
16792 2014-07-04 Jakub Jelinek <jakub@redhat.com>
16794 PR middle-end/61654
16795 * cgraphunit.c (expand_thunk): Call free_dominance_info.
16797 PR tree-optimization/61684
16798 * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
16799 rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.
16801 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16802 Kito Cheng <kito@0xlab.org>
16803 Monk Chiang <sh.chiang04@gmail.com>
16805 * config/nds32/nds32.c (nds32_have_prologue_p): Move to ...
16806 (nds32_symbol_load_store_p): Move to ...
16807 (nds32_fp_as_gp_check_available): Move to ...
16808 * config/nds32/nds32-fp-as-gp.c: ... here.
16809 * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove
16810 extern declaration.
16812 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16813 Kito Cheng <kito@0xlab.org>
16814 Monk Chiang <sh.chiang04@gmail.com>
16816 * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ...
16817 (nds32_expand_store_multiple): Move to ...
16818 (nds32_expand_movmemqi): Move to ...
16819 * config/nds32/nds32-memory-manipulation.c: ... here.
16821 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16822 Kito Cheng <kito@0xlab.org>
16823 Monk Chiang <sh.chiang04@gmail.com>
16825 * config/nds32/nds32.c (nds32_byte_to_size): Move to ...
16826 (nds32_output_casesi_pc_relative): Move to ...
16827 (nds32_output_casesi): Move to ...
16828 (nds32_mem_format): Move to ...
16829 (nds32_output_16bit_store): Move to ...
16830 (nds32_output_16bit_load): Move to ...
16831 (nds32_output_32bit_store): Move to ...
16832 (nds32_output_32bit_load): Move to ...
16833 (nds32_output_32bit_load_s): Move to ...
16834 (nds32_output_stack_push): Move to ...
16835 (nds32_output_stack_pop): Move to ...
16836 * config/nds32/nds32-md-auxiliary.c: ... here.
16838 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16839 Ling-Hua Tseng <uranus@tinlans.org>
16841 * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe
16842 the purpose of this file.
16844 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16845 Kito Cheng <kito@0xlab.org>
16846 Monk Chiang <sh.chiang04@gmail.com>
16848 * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
16849 (nds32_address_cost): Move implementation to ...
16850 * config/nds32/nds32-cost.c: ... here.
16851 * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
16852 (nds32_address_cost_impl): Declare.
16854 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16855 Kito Cheng <kito@0xlab.org>
16856 Monk Chiang <sh.chiang04@gmail.com>
16858 * config/nds32/nds32.c
16859 (nds32_consecutive_registers_load_store_p): Move to ...
16860 (nds32_valid_multiple_load_store): Move to ...
16861 (nds32_valid_stack_push_pop): Move to ...
16862 (nds32_can_use_bclr_p): Move to ...
16863 (nds32_can_use_bset_p): Move to ...
16864 (nds32_can_use_btgl_p): Move to ...
16865 (nds32_can_use_bitci_p): Move to ...
16866 * config/nds32/nds32-predicates.c: ... here.
16868 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16869 Kito Cheng <kito@0xlab.org>
16870 Monk Chiang <sh.chiang04@gmail.com>
16872 * config/nds32/nds32.c
16873 (nds32_expand_builtin_null_ftype_reg): Move to ...
16874 (nds32_expand_builtin_reg_ftype_imm): Move to ...
16875 (nds32_expand_builtin_null_ftype_reg_imm): Move to ...
16876 (nds32_init_builtins): Move implementation to ...
16877 (nds32_expand_builtin): Move implementation to ...
16878 * config/nds32/nds32-intrinsic.c: ... here.
16879 * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare.
16880 (nds32_expand_builtin_impl): Declare.
16882 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16883 Kito Cheng <kito@0xlab.org>
16884 Monk Chiang <sh.chiang04@gmail.com>
16886 * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ...
16887 (nds32_emit_section_tail_template): Move to ...
16888 (nds32_emit_isr_jmptbl_section): Move to ...
16889 (nds32_emit_isr_vector_section): Move to ...
16890 (nds32_emit_isr_reset_conten): Move to ...
16891 (nds32_check_isr_attrs_conflict): Move to ...
16892 (nds32_construct_isr_vectors_information): Move to ...
16893 (nds32_asm_file_start): Move implementation to ...
16894 (nds32_asm_file_end): Move implementation to ...
16895 * config/nds32/nds32-isr.c: ... here.
16896 * config/nds32/nds32-protos.h
16897 (nds32_check_isr_attrs_conflict): Declare.
16898 (nds32_construct_isr_vectors_information): Declare.
16899 (nds32_asm_file_start_for_isr): Declare.
16900 (nds32_asm_file_end_for_isr): Declare.
16902 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com>
16903 Kito Cheng <kito@0xlab.org>
16904 Monk Chiang <sh.chiang04@gmail.com>
16906 * config.gcc (nds32*): Add new modules to extra_objs.
16907 (nds32le-*-*): Use t-nds32 makefile fragment for new modules.
16908 (nds32be-*-*): Likewise.
16909 * config/nds32/nds32-cost.c: New file.
16910 * config/nds32/nds32-fp-as-gp.c: New file.
16911 * config/nds32/nds32-intrinsic.c: New file.
16912 * config/nds32/nds32-isr.c: New file.
16913 * config/nds32/nds32-md-auxiliary.c: New file.
16914 * config/nds32/nds32-memory-manipulation.c: New file.
16915 * config/nds32/nds32-pipelines-auxiliary.c: New file.
16916 * config/nds32/nds32-predicates.c: New file.
16917 * config/nds32/t-nds32: New file.
16919 2014-07-03 Jakub Jelinek <jakub@redhat.com>
16921 PR tree-optimization/61682
16922 * wide-int.cc (wi::mul_internal): Handle high correctly for umul_ppmm
16923 using cases and when one of the operands is equal to 1.
16925 2014-07-03 Segher Boessenkool <segher@kernel.crashing.org>
16927 * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3,
16928 ashr<mode>3): Correct mode of operands[2].
16929 (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2,
16930 lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2):
16931 Correct mode of operands[2]. Fix split condition.
16933 2014-07-03 Richard Earnshaw <rearnsha@arm.com>
16935 * arm.md (arch): Add armv6_or_vfpv3.
16936 (arch_enabled): Add test for the above.
16937 * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run
16939 (sqrtsf_vfp, sqrtdf_vfp): Likewise.
16941 2014-07-03 Jakub Jelinek <jakub@redhat.com>
16943 * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
16944 * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
16945 HWI 1 and negate the unsigned value.
16946 * expmed.c (expand_sdiv_pow2): For modes wider than word always
16947 use AND instead of shift.
16948 * wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
16950 2014-07-03 Marek Polacek <polacek@redhat.com>
16952 * doc/invoke.texi (-fsanitize=bounds): Tweak wording.
16953 (-fsanitize=float-divide-by-zero): Move to the table with
16954 -fsanitize=undefined suboptions.
16955 (-fsanitize=float-cast-overflow): Likewise.
16957 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16959 * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use
16960 BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte
16963 2014-07-03 Zhenqiang Chen <zhenqiang.chen@linaro.org>
16965 * loop-invariant.c (struct invariant): Add a new member: eqno;
16966 (find_identical_invariants): Update eqno;
16967 (create_new_invariant): Init eqno;
16968 (get_inv_cost): Compute comp_cost with eqno;
16970 2014-07-02 Segher Boessenkool <segher@kernel.crashing.org>
16972 * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables.
16973 (walk_insn_part) <ROTATE, ROTATERT>: New cases.
16974 (main): Conditionally write HAVE_rotate resp. HAVE_rotatert.
16975 * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>:
16976 Only do the transformation if both HAVE_rotate and HAVE_rotatert.
16978 2014-07-02 Christian Bruel <christian.bruel@st.com>
16982 * mode-switching.c (struct bb_info): Add mode_out, mode_in caches.
16983 (make_preds_opaque): Delete.
16984 (clear_mode_bit, mode_bit_p, set_mode_bit): New macros.
16985 (commit_mode_sets): New function.
16986 (optimize_mode_switching): Handle current_mode to mode_switching_emit.
16987 Process all modes at once.
16988 * basic-block.h (pre_edge_lcm_avs): Declare.
16989 * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm.
16990 Call clear_aux_for_edges. Fix comments.
16991 (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs.
16992 (pre_edge_rev_lcm): Idem.
16993 * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode
16995 * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem.
16996 * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute):
16998 * config/i386/i386.c (x96_emit_mode_set): Idem.
16999 * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle.
17000 * config/sh/sh.md (toggle_pr): Defined if TARGET_FPU_SINGLE.
17001 (fpscr_toggle) Disallow from delay slot.
17002 * target.def (emit_mode_set): Add prev_mode parameter.
17003 * doc/tm.texi: Regenerate.
17005 2014-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17007 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused
17010 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
17012 * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
17013 vtable_pointer_value_to_vtable): Constify.
17014 (contains_polymorphic_type_p): Declare.
17015 * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
17016 vtable_pointer_value_to_vtable): Constify.
17017 (contains_polymorphic_type_p): New predicate.
17018 * ipa-prop.c (ipa_set_jf_known_type): Allow types containing
17020 (ipa_set_ancestor_jf): Likewise.
17021 (detect_type_change): Return false in easy cases.
17022 (compute_complex_assign_jump_func): Require type to contain
17024 (compute_known_type_jump_func): Likewise.
17026 2014-07-01 Jan Hubicka <hubicka@ucw.cz>
17028 * tree.c (decls_same_for_odr, decls_same_for_odr, types_same_for_odr):
17030 (type_in_anonymous_namespace_p): Constify argument.
17031 * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): Constify.
17032 * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field.
17033 (main_odr_variant): New function.
17034 (hash_type_name): Make static; update assert; do not ICE on
17036 (types_same_for_odr): Bring here from tree.c; simplify and remove
17037 old structural comparing code that doesn't work for templates.
17038 (odr_hasher::equal): Update assert.
17039 (add_type_duplicate): Return true when bases should be computed;
17040 replace incomplete loader by complete; do not output duplicated
17041 warnings; do not ICE on non-records; set odr_violated flag.
17042 (get_odr_type): Be ready to replace incomplete type by complete
17043 one; work on ODR variants instead of main variants; reorder item
17044 in array so bases have still smaller indexes.
17045 (dump_type_inheritance_graph): Be ready for holdes in odr_types array.
17046 (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL.
17048 2014-07-01 Cary Coutant <ccoutant@google.com>
17050 * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table
17052 (resolve_addr_in_expr): When replacing the rtx in a location list
17053 entry, get a new address table entry.
17054 (dwarf2out_finish): Call index_location_lists even if there are no
17055 addr_index_table entries yet.
17057 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
17059 * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous
17060 change for not being obvious.
17062 2014-07-01 Trevor Saunders <tsaunders@mozilla.com>
17064 * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of
17067 2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
17069 * config/aarch64/arm_neon.h (vcage_f64): New intrinsic.
17070 (vcagt_f64): Likewise.
17071 (vcale_f64): Likewise.
17072 (vcaled_f64): Likewise.
17073 (vcales_f32): Likewise.
17074 (vcalt_f64): Likewise.
17075 (vcaltd_f64): Likewise.
17076 (vcalts_f32): Likewise.
17078 2014-07-01 Marek Polacek <polacek@redhat.com>
17080 * doc/invoke.texi: Document -Wint-conversion.
17082 2014-07-01 Marek Polacek <polacek@redhat.com>
17085 * doc/invoke.texi: Document -Wincompatible-pointer-types.
17087 2014-07-01 Martin Liska <mliska@suse.cz>
17089 IPA REF alias refactoring
17090 * cgraph.h (iterate_direct_aliases): New function.
17091 (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node.
17092 * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of
17093 FOR_EACH_ALIAS added.
17094 (cgraph_for_node_and_aliases): Likewise.
17095 * cgraphunit.c (assemble_thunks_and_aliases): Likewise.
17096 * ipa-inline.c (reset_edge_caches): Likewise.
17097 (update_caller_keys): Likewise.
17098 * trans-mem.c (ipa_tm_execute): Likewise.
17099 *varpool.c (varpool_analyze_node): Likewise.
17100 (varpool_for_node_and_aliases): Likewise.
17101 * ipa-ref.h (first_alias): New function.
17102 (last_alias): Likewise.
17103 (has_aliases_p): Likewise.
17104 * ipa-ref.c (ipa_ref::remove_reference): Removal function
17105 is sensitive to IPA_REF_ALIASes.
17106 * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type
17107 are put at the beginning of the list.
17108 (symtab_node::iterate_direct_aliases): New function.
17110 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17113 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
17115 (write_ts_type_common_tree_pointers): Do not stream fields not set
17116 for incomplete types; do not stream duplicated fields for variants;
17117 sanity check that variant and type match.
17118 (write_ts_type_non_common_tree_pointers): Likewise.
17119 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
17120 TYPE_SIZE whether type is complete.
17121 (lto_input_ts_type_common_tree_pointers): Do same changes as in
17122 write_ts_type_common_tree_pointers
17123 (lto_input_ts_type_non_common_tree_pointers): Likewise.
17125 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17127 * var-tracking.c (add_stores): Return instead of asserting if old
17128 and new values for conditional store are the same.
17130 2014-06-30 Richard Henderson <rth@redhat.com>
17134 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup
17135 the cfg if there were any changes.
17136 * passes.def: Revert move of peephole2 after reorder_blocks;
17137 move duplicate_computed_gotos before peephole2.
17139 2014-06-30 Uros Bizjak <ubizjak@gmail.com>
17141 * except.c (emit_note_eh_region_end): New helper function.
17142 (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
17143 emit EH_REGION_END note.
17144 * jump.c (cleanup_barriers): Do not split a call and its
17145 corresponding CALL_ARG_LOCATION note.
17147 2014-06-30 Jeff Law <law@redhat.com>
17149 PR tree-optimization/61607
17150 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look
17151 deeper into the SSA_NAME_VALUE chain.
17153 2014-06-30 Marek Polacek <polacek@redhat.com>
17155 * convert.c (convert_to_integer): Don't instrument conversions if the
17156 function has no_sanitize_undefined attribute.
17157 * ubsan.c: Don't run the ubsan pass if the function has
17158 no_sanitize_undefined attribute.
17160 2014-06-30 Jakub Jelinek <jakub@redhat.com>
17162 * doc/invoke.texi (-fsanitize=bounds): Move to the table with
17163 -fsanitize=undefined suboptions.
17165 2014-06-30 Alan Lawrence <alan.lawrence@arm.com>
17167 * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian.
17168 * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert
17169 against bigendian and adjust indices.
17171 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
17173 * doc/install.texi (Specific, aarch64*-*-*): Fix markup. Reword a bit.
17175 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com>
17178 * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3):
17179 Add alternative; make early clobber. Adjust both split patterns
17180 to use operand 0 as the working register.
17182 2014-06-30 Jakub Jelinek <jakub@redhat.com>
17184 * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0,
17185 as ira_object_id_map might be NULL, or 1.
17187 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org>
17189 * loop-invariant.c (get_inv_cost): Handle register class.
17190 (gain_for_invariant): Check the register pressure of the inv
17191 and its overlapped register class, other than all.
17193 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com>
17195 * doc/invoke.texi (Optimize Options): Fix descriptions of
17196 ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus.
17198 2014-06-29 David Wohlferd <dw@LimeGreenSocks.com>
17200 * doc/extend.texi (Function Attributes): Update 'naked' attribute
17203 2014-06-29 Tobias Grosser <tobias@grosser.es>
17206 * graphite-isl-ast-to-gimple.c: Add missing guards.
17208 2014-06-29 Roman Gareev <gareevroman@gmail.com>
17210 * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o.
17211 * common.opt: Add new switch fgraphite-code-generator=[isl|cloog].
17212 * flag-types.h: Add new enum fgraphite_generator.
17213 * graphite-isl-ast-to-gimple.c: New.
17214 * graphite-isl-ast-to-gimple.h: New.
17215 * graphite.c (graphite_transform_loops): Add choice of Graphite
17216 code generator, which depends on flag_graphite_code_gen.
17218 2014-06-29 Roman Gareev <gareevroman@gmail.com>
17220 * graphite-dependences.c (subtract_commutative_associative_deps):
17221 Add NULL checking of the following variables: must_raw_no_source,
17222 may_raw_no_source, must_war_no_source, may_war_no_source,
17223 must_waw_no_source, may_waw_no_source, must_raw, may_raw,
17224 must_war, may_war, must_waw, may_waw.
17226 2014-06-29 Roman Gareev <gareevroman@gmail.com>
17228 * graphite-clast-to-gimple.c: gloog is renamed to
17229 graphite_regenerate_ast_cloog. gloog_error is renamed to
17230 graphite_regenerate_error.
17231 * graphite-clast-to-gimple.h: The definition of the struct
17232 bb_pbb_def is moved to graphite-htab.h.
17233 Add inclusion of the hash-table.h.
17234 * graphite-htab.h: The declaration of the function gloog is moved
17235 to graphite-clast-to-gimple.h and renamed to
17236 graphite_regenerate_ast_cloog.
17237 * graphite.c (graphite_transform_loops): gloog is renamed
17238 to graphite_regenerate_ast_cloog.
17240 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17242 * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if
17244 (write_ts_type_common_tree_pointers): Do not stream fields not set
17245 for incomplete types; do not stream duplicated fields for variants;
17246 sanity check that variant and type match.
17247 (write_ts_type_non_common_tree_pointers): Likewise.
17248 * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in
17249 TYPE_SIZE whether type is complete.
17250 (lto_input_ts_type_common_tree_pointers): Do same changes as in
17251 write_ts_type_common_tree_pointers
17252 (lto_input_ts_type_non_common_tree_pointers): Likewise.
17254 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17256 * cgraph.c (dump_cgraph_node): Dump init&fini priorities.
17258 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17260 * tree-inline.c (remap_type_1): Do not duplicate fields
17261 that are shared in between type and its main variant.
17263 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17265 * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant
17267 (ipa_set_ancestor_jf) Likewise.
17268 (check_stmt_for_type_change): Check that we work on main variant.
17269 (detect_type_change): Look into main variant.
17270 (compute_known_type_jump_func): Check that main variant has BINFO.
17272 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17274 * ipa-devirt.c (set_type_binfo): New function.
17275 (add_type_duplicate): Use it.
17276 (get_odr_type): Sanity check that binfos points to main variants.
17277 (get_class_context): Be sure the context's outer_type is main variant.
17278 (contains_type_p): Walk main variant.
17279 (get_polymorphic_call_info_for_decl): Set outer_type to be
17281 (get_polymorphic_call_info): Likewise.
17282 (possible_polymorphic_call_targets): Sanity check that we operate
17285 2014-06-28 Jan Hubicka <hubicka@ucw.cz>
17287 * stor-layout.c (finish_builtin_struct): Copy fields into the variants.
17289 2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17291 * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert
17292 accidental change due to wide-int branch merge.
17294 2014-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
17296 * configure.ac (gcc_cv_as_compress_debug): Check for assembler
17297 compressed debug support.
17298 (gcc_cv_ld_compress_debug): Check for linker compressed debug support.
17299 * configure: Regenerate.
17300 * config.in: Regenerate.
17301 * common.opt (compressed_debug_sections): New enum.
17302 (gz, gz=): New options.
17303 * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define.
17304 (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC.
17305 (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC.
17306 * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke
17307 LINK_COMPRESS_DEBUG_SPEC.
17308 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise.
17309 * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_.
17310 * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type].
17311 (Debugging Options): Document -gz[=type].
17313 2014-06-27 Martin Jambor <mjambor@suse.cz>
17316 * cgraphclones.c (duplicate_thunk_for_node): Removed parameter
17317 args_to_skip, use those from node instead. Copy args_to_skip and
17318 combined_args_to_skip from node to the new thunk.
17319 (redirect_edge_duplicating_thunks): Removed parameter args_to_skip.
17320 (cgraph_create_virtual_clone): Moved computation of
17321 combined_args_to_skip...
17322 (cgraph_clone_node): ...here, simplify it to bitmap_ior..
17324 2014-06-27 trevor Saunders <tsaunders@mozilla.com>
17326 * config/i386/winnt.c (i386_pe_section_type_flags): Remove
17327 redundant diagnostic machinary.
17329 2014-06-27 Richard Biener <rguenther@suse.de>
17331 * tree-ssa-math-opts.c (bswap_replace): Fix
17332 SLOW_UNALIGNED_ACCESS test to only apply to unaligned object.
17334 2014-06-27 Martin Liska <mliska@suse.cz>
17336 * gimple.h (gimple_location_safe): New function introduced.
17337 * cgraphunit.c (walk_polymorphic_call_targets): Usage
17338 of gimple_location_safe replaces gimple_location.
17339 (gimple_fold_call): Likewise.
17340 * ipa-devirt.c (ipa_devirt): Likewise.
17341 * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise.
17342 * ipa.c (walk_polymorphic_call_targets): Likewise.
17343 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
17345 2014-06-27 Jakub Jelinek <jakub@redhat.com>
17347 PR tree-optimization/57233
17348 PR tree-optimization/61299
17349 * tree-vect-generic.c (get_compute_type, count_type_subparts): New
17351 (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR
17352 would be lowered to scalar shifts, check if corresponding
17353 shifts and vector BIT_IOR_EXPR are supported and don't lower
17354 or lower just to narrower vector type in that case.
17355 * expmed.c (expand_shift_1): Fix up handling of vector
17356 shifts and rotates.
17358 2014-06-26 Uros Bizjak <ubizjak@gmail.com>
17361 * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.
17363 2014-06-26 Jan Hubicka <hubicka@ucw.cz>
17365 * doc/invoke.texi (-fsemantic-interposition): Document.
17366 * common.opt (fsemantic-interposition): New flag.
17367 * varasm.c (decl_replaceable_p): Use it.
17369 2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
17372 * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
17373 extraction other than index 3.
17375 2014-06-26 Teresa Johnson <tejohnson@google.com>
17377 * doc/invoke.texi: Fix typo.
17378 * dumpfile.c: Add support for documented -fdump-* options
17379 optimized/missed/note/optall.
17381 2014-06-26 Martin Jambor <mjambor@suse.cz>
17383 * params.def (PARAM_ALLOW_LOAD_DATA_RACES)
17384 (PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
17385 (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
17386 (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
17387 * opts.c (default_options_optimization): Set
17388 PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
17389 * doc/invoke.texi (allow-load-data-races)
17390 (allow-packed-load-data-races, allow-packed-store-data-races): Removed.
17391 (allow-store-data-races): Document the new default.
17393 2014-06-26 Martin Jambor <mjambor@suse.cz>
17395 * ipa-prop.c (ipa_impossible_devirt_target): No longer static,
17396 renamed to ipa_impossible_devirt_target. Fix typo.
17397 * ipa-prop.h (ipa_impossible_devirt_target): Declare.
17398 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use
17399 ipa_impossible_devirt_target.
17401 2014-06-26 Richard Biener <rguenther@suse.de>
17403 PR tree-optimization/61607
17404 * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment
17405 explaining why we restrict copies on loop depth.
17406 * tree-ssa-dom.c (cprop_operand): Remove restriction on
17408 (record_equivalences_from_phis): Instead add it here.
17410 2014-06-26 Bernd Schmidt <bernds@codesourcery.com>
17412 * Makefile.in (COLLECT2_OBJS): Add collect-utils.o.
17413 (LTO_WRAPPER_OBJS): New variable.
17414 (lto-wrapper$(exeext)): Use it.
17415 * collect2.c: Include "collect-utils.h".
17416 (verbose, debug): Remove variables.
17417 (at_file_supplied): No longer static.
17418 (tool_name): New variable.
17419 (do_wait, fork_execute, maybe_unlink): Don't declare.
17420 (tool_cleanup): No longer static.
17421 (notice): Remove function.
17422 (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to
17423 fork_execute calls.
17424 (collect_wait, do_wait, collect_execute): Remove functions.
17425 (maybe_unlink): No longer static.
17426 * collect2.h (verbose, debug): Don't declare.
17427 (at_file_supplied): Declare.
17428 * collect-utils.c (utils_cleanup): New arg from_signal. All callers
17430 (collect_execute): Replace with implementation from collect2, plus a
17431 new arg use_atfile. All callers changed.
17432 (collect_wait): Replace with implementation from collect2.
17433 (maybe_unlink_file): Remove function.
17434 (fork_execute): Replace with implementation from collect2, plus a
17435 new arg use_atfile. All callers changed.
17436 (do_wait): Add call to utils_cleanup to the error path.
17437 * collect-utils.h (collect_execute, fork_execute, utils_cleanup)
17438 (tool_cleanup): Adjust declarations.
17439 * lto-wrapper.c (tool_cleanup): Add unused bool argument.
17440 * tlink.c: Include "collect-utils.h".
17441 (tlink_execute): New arg use_atfile. All callers changed.
17442 (tlink_init, tlink_execute): Remove declarations.
17444 * collect-utils.c (save_temps): New variable.
17445 (do_wait): Use it instead of debug. Use fatal_error.
17446 * collect-utils.h (save_temps): Declare.
17447 * collect2.c (verbose): Rename from vflag. All uses changed.
17448 (tool_cleanup): New function, copied from collect_atexit.
17449 (collect_atexit, handler): Just call it.
17450 * collect2.h (verbose): Declaration renamed from vflag.
17451 * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
17454 * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o.
17455 (lto-wrapper$(exeext)): Link with collect-utils.o.
17456 * collect-utils.c: New file.
17457 * collect-utils.h: New file.
17458 * lto-wrapper.c: Include "collect-utils.h".
17459 (args_name): Delete variable.
17460 (tool_name): New variable.
17461 (tool_cleanup): New function.
17462 (maybe_unlink): Renamed from maybe_unlink_file. All callers changed.
17463 (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait)
17464 (fork_execute): Remove functions.
17466 2014-06-26 Nick Clifton <nickc@redhat.com>
17468 * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert.
17470 * doc/extend.texi (Function Attributes): Fix typo in description
17471 of RX vector attribute.
17473 2014-06-26 James Greenhalgh <james.greenhalgh@arm.com>
17475 * config.gcc (supported_defaults): Error when passing either
17476 --with-tune or --with-arch in conjunction with --with-cpu for ARM.
17478 2014-06-26 Richard Biener <rguenther@suse.de>
17480 * tree-ssa-dom.c (cprop_operand): Remove restriction on
17481 propagating volatile pointers.
17483 2014-06-26 Richard Biener <rguenther@suse.de>
17485 PR tree-optimization/61607
17486 * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the
17487 loop if we redirected its latch edge.
17488 (thread_block_1): Do not cancel loops prematurely.
17490 2014-06-25 Jan Hubicka <hubicka@ucw.cz>
17492 * toplev.c (backend_init_target): Move init_emit_regs and
17494 (backend_init) ... here; skip ira_init_once and backend_init_target.
17495 (target_reinit) ... and here; clear
17496 this_target_rtl->lang_dependent_initialized.
17497 (lang_dependent_init_target): Clear
17498 this_target_rtl->lang_dependent_initialized;
17499 break out rtl initialization to ...
17500 (initialize_rtl): ... here; call also backend_init_target
17502 * toplev.h (initialize_rtl): New function.
17503 * function.c: Include toplev.h
17504 (init_function_start): Call initialize_rtl.
17505 * rtl.h (target_rtl): Add target_specific_initialized,
17506 lang_dependent_initialized.
17508 2014-06-25 Paul Gortmaker <paul.gortmaker@windriver.com>
17509 Jakub Jelinek <jakub@redhat.com>
17511 * gcc.c (set_multilib_dir): Malloc "." pointer as well.
17513 2014-06-25 Tom de Vries <tom@codesourcery.com>
17515 * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
17517 2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
17519 * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
17520 check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
17521 Issue a strict overflow warning if appropriate.
17523 2014-06-25 Martin Liska <mliska@suse.cz>
17525 IPA REF refactoring
17526 * Makefile.in: Removed header file (ipa-ref-inline.h).
17527 * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function
17529 (cgraph_speculative_call_info): Likewise.
17530 (cgraph_for_node_thunks_and_aliases): Likewise.
17531 (cgraph_for_node_and_aliases): Likewise.
17532 (verify_cgraph_node): Likewise.
17533 * cgraph.h: Batch of IPA REF functions become member functions of
17534 symtab_node: add_reference, maybe_add_reference, clone_references,
17535 clone_referring, clone_reference, find_reference,
17536 remove_stmt_references, remove_all_references,
17537 remove_all_referring, dump_references, dump_referring,
17538 has_alias_p, iterate_reference, iterate_referring.
17539 * cgraphbuild.c (record_reference): New IPA REF function used.
17540 (record_type_list): Likewise.
17541 (record_eh_tables): Likewise.
17542 (mark_address): Likewise.
17543 (mark_load): Likewise.
17544 (mark_store): Likewise.
17545 (pass_build_cgraph_edges): Likewise.
17546 (rebuild_cgraph_edge): Likewise.
17547 (cgraph_rebuild_references): Likewise.
17548 (pass_remove_cgraph_callee_edges): Likewise.
17549 * cgraphclones.c (cgraph_clone_node): Likewise.
17550 (cgraph_create_virtual_clone): Likewise.
17551 (cgraph_materialize_clone): Likewise.
17552 (cgraph_materialize_all_clones): Likewise.
17553 * cgraphunit.c (cgraph_reset_node): Likewise.
17554 (cgraph_reset_node): Likewise.
17555 (analyze_function): Likewise.
17556 (assemble_thunks_and_aliases): Likewise.
17557 (expand_function): Likewise.
17558 * ipa-comdats.c (propagate_comdat_group): Likewise.
17559 (enqueue_references): Likewise.
17560 * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise.
17561 (create_specialized_node): Likewise.
17562 * ipa-devirt.c (referenced_from_vtable_p): Likewise.
17563 * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise.
17564 * ipa-inline.c (reset_edge_caches): Likewise.
17565 (update_caller_keys): Likewise.
17566 (execute): Likewise.
17567 * ipa-prop.c (remove_described_reference): Likewise.
17568 (propagate_controlled_uses): Likewise.
17569 (ipa_edge_duplication_hook): Likewise.
17570 (ipa_modify_call_arguments): Likewise.
17571 * ipa-pure-const.c (propagate_pure_const): Likewise.
17572 * ipa-ref-inline.h: Header file removed, functions moved
17573 to symtab_node class.
17574 * ipa-ref.c (remove_reference): New class member function.
17575 (cannot_lead_to_return): New class member function.
17576 (referring_ref_list): Likewise.
17577 (referred_ref_list): Likewise.
17578 Rest of functions moved to symtab_node class.
17579 * ipa-ref.h: New member functions remove_reference,
17580 cannot_lead_to_return, referring_ref_list, referred_ref_list added
17582 ipa_ref_list class has new member functions: first_reference,
17583 first_referring, clear, nreferences.
17584 * ipa-reference.c (analyze_function): New IPA REF function used.
17585 (write_node_summary_p): Likewise.
17586 (ipa_reference_write_optimization_summary): Likewise.
17587 * ipa-split.c (split_function): Likewise.
17588 * ipa-utils.c (ipa_reverse_postorder): Likewise.
17589 * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise.
17590 (function_and_variable_visibility): Likewise.
17591 * ipa.c (has_addr_references_p): Likewise.
17592 (process_references): Argument type changed.
17593 (symtab_remove_unreachable_nodes): New IPA REF function used.
17594 (process_references): Likewise.
17595 (set_writeonly_bit): Likewise.
17596 * lto-cgraph.c: Implementation of new symtab_node member functions
17597 that uses new IPA REF functions.
17598 * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF
17600 * lto-streamer-out.c (output_symbol_p): Likewise.
17601 * lto-streamer.h (referenced_from_this_partition_p): Argument type
17603 * symtab.c: Implementation of new IPA REF API.
17604 * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used.
17605 (ipa_tm_create_version): Likewise.
17606 (ipa_tm_execute): Likewise.
17607 * tree-emutls.c (gen_emutls_addr): Likewise.
17608 * tree-inline.c (copy_bb): Likewise.
17609 (delete_unreachable_blocks_update_callgraph): Likewise.
17610 * varpool.c (varpool_remove_unreferenced_decls): Likewise.
17611 (varpool_for_node_and_aliases): Likewise.
17613 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
17615 * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo.
17617 2014-06-25 Trevor Saunders <tsaunders@mozilla.com>
17620 * fold-const.c (fold_checksum_tree): Use a hash_table of const
17621 tree_node * instead of tree_node *.
17623 (print_fold_checksum): Likewise.
17624 (fold_check_failed): Likewise.
17625 (debug_fold_checksum): Likewise.
17626 (fold_build1_stat_loc): Likewise.
17627 (fold_build2_stat_loc): Likewise.
17628 (fold_build3_stat_loc): Likewise.
17629 (fold_build_call_array_loc): Likewise.
17631 2014-06-25 David Edelsohn <dje.gcc@gmail.com>
17633 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace
17634 implementation with call to...
17635 * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New
17637 * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name):
17640 2014-06-25 Marc Glisse <marc.glisse@inria.fr>
17642 PR tree-optimization/57742
17643 * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo
17644 after replacing the statement.
17646 2014-06-25 Nick Clifton <nickc@redhat.com>
17648 * config/v850/v850.c (GHS_default_section_names): Change to const
17650 (GHS_current_section_names): Likewise.
17651 (v850_insert_attributes): Do not build strings, just assign the
17652 names directly. Change the type of 'chosen_section' to const
17654 * config/v850/v850-c.c (ghs_pragma_section): Assign the alias
17655 directly to the array entry.
17656 * config/v850/v850.h (GHS_default_section_names): Change to const
17658 (GHS_current_section_names): Likewise.
17660 2014-06-25 Jakub Jelinek <jakub@redhat.com>
17662 * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define.
17663 (LANG_HOOKS_DECLS): Add it.
17664 * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP
17666 * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define.
17667 * langhooks.h (struct lang_hooks_for_decls): Add
17668 omp_clause_linear_ctor hook.
17669 * omp-low.c (lower_rec_input_clauses): Set max_vf even if
17670 OMP_CLAUSE_LINEAR_ARRAY is set. Don't fold_convert
17671 OMP_CLAUSE_LINEAR_STEP. For OMP_CLAUSE_LINEAR_ARRAY in
17672 combined simd loop use omp_clause_linear_ctor hook.
17674 2014-06-24 Cong Hou <congh@google.com>
17676 * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD
17677 pattern recognition.
17678 (type_conversion_p): PROMOTION is true if it's a type promotion
17679 conversion, and false otherwise. Return true if the given expression
17680 is a type conversion one.
17681 * tree-vectorizer.h: Adjust the number of patterns.
17682 * tree.def: Add SAD_EXPR.
17683 * optabs.def: Add sad_optab.
17684 * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case.
17685 * expr.c (expand_expr_real_2): Likewise.
17686 * gimple-pretty-print.c (dump_ternary_rhs): Likewise.
17687 * gimple.c (get_gimple_rhs_num_ops): Likewise.
17688 * optabs.c (optab_for_tree_code): Likewise.
17689 * tree-cfg.c (estimate_operator_cost): Likewise.
17690 * tree-ssa-operands.c (get_expr_operands): Likewise.
17691 * tree-vect-loop.c (get_initial_def_for_reduction): Likewise.
17692 * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD.
17693 * doc/generic.texi: Add document for SAD_EXPR.
17694 * doc/md.texi: Add document for ssad and usad.
17696 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
17698 * config/i386/winnt.c (i386_pe_section_type_flags): Fix const
17699 qualification in cast.
17701 2014-06-24 Jan Hubicka <hubicka@ucw.cz>
17703 * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL.
17704 * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION.
17705 * tree-core.h (tree_decl_non_common): Move saved_tree and vindex...
17706 (tree_function_decl): ... here.
17707 * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move
17708 streaming of vindex to ...
17709 (write_ts_function_decl_tree_pointers): ... here.
17710 * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers):
17711 Do not stream DECL_VINDEX.
17712 (lto_input_ts_function_decl_tree_pointers): Stream it here.
17714 2014-06-24 Catherine Moore <clm@codesourcery.com>
17715 Sandra Loosemore <sandra@codesourcery.com>
17717 * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete.
17718 * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete.
17719 * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete.
17721 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
17723 * doc/invoke.texi (Warning Options): Remove duplicated
17724 -Wmaybe-uninitialized.
17726 2014-06-24 Marc Glisse <marc.glisse@inria.fr>
17728 PR tree-optimization/57742
17729 * tree-ssa-strlen.c (get_string_length): Ignore malloc.
17730 (handle_builtin_malloc, handle_builtin_memset): New functions.
17731 (strlen_optimize_stmt): Call them.
17732 * passes.def: Move strlen after loop+dom but before vrp.
17734 2014-06-24 Jakub Jelinek <jakub@redhat.com>
17737 * config/i386/driver-i386.c (host_detect_local_cpu): For unknown
17738 model family 6 CPU with has_longmode never use a CPU without
17741 2014-06-24 H.J. Lu <hongjiu.lu@intel.com>
17744 * config/i386/driver-i386.c (host_detect_local_cpu): Revert
17747 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
17749 * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table.
17750 * dominance.c (iterate_fix_dominators): Use hash_map instead of
17752 * hash-map.h: New file.
17753 * ipa-comdats.c: Use hash_map instead of pointer_map.
17755 * lto-section-out.c: Adjust.
17756 * lto-streamer.h: Replace pointer_map with hash_map.
17757 * symtab.c (verify_symtab): Likewise.
17758 * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise.
17759 * tree-ssa-uncprop.c (val_ssa_equiv): Likewise.
17760 * tree-streamer.h: Likewise.
17761 * tree-streamer.c: Adjust.
17762 * pointer-set.h: Remove pointer_map.
17764 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
17766 * hash-table.h: Add a template arg to choose between storing values
17767 and storing pointers to values, and then provide partial
17768 specializations for both.
17769 * tree-browser.c (tree_upper_hasher): Provide the type the hash table
17770 should store, not the type values should point to.
17771 * tree-into-ssa.c (var_info_hasher): Likewise.
17772 * tree-ssa-dom.c (expr_elt_hasher): Likewise.
17773 * tree-complex.c: Adjust.
17774 * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash
17775 table instead of int_tree_map *.
17776 * tree-parloops.c: Adjust.
17777 * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what
17778 type is being stored.
17779 * tree-vectorizer.c: Adjust.
17781 2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
17783 * hash-table.h: Remove a layer of indirection from hash_table so that
17784 it contains the hash table's data instead of a pointer to the data.
17785 * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c,
17786 config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c,
17787 config/mips/mips.c, config/sol2.c, coverage.c, cselib.c,
17788 data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c,
17789 fold-const.c, gcse.c, ggc-common.c,
17790 gimple-ssa-strength-reduction.c, gimplify.c,
17791 graphite-clast-to-gimple.c, graphite-dependences.c,
17792 graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c,
17793 ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c,
17794 loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c,
17795 lto-streamer.c, lto-streamer.h, passes.c, plugin.c,
17796 postreload-gcse.c, sese.c, statistics.c, store-motion.c,
17797 trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c,
17798 tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c,
17799 tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c,
17800 tree-ssa-live.c, tree-ssa-loop-im.c,
17801 tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
17802 tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c,
17803 tree-ssa-structalias.c, tree-ssa-tail-merge.c,
17804 tree-ssa-threadupdate.c, tree-ssa-uncprop.c,
17805 tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c,
17806 tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c,
17807 vtable-verify.c, vtable-verify.h: Adjust.
17809 2014-06-24 Richard Biener <rguenther@suse.de>
17811 PR tree-optimization/61572
17812 * tree-ssa-sink.c (statement_sink_location): Do not sink
17813 loads from hard registers.
17815 2014-06-24 Jakub Jelinek <jakub@redhat.com>
17817 * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator
17818 not mentioned in clauses use private clause if the iterator is
17819 declared in #pragma omp for simd, and when adding lastprivate
17820 instead, add it to the outer #pragma omp for too. Diagnose
17821 if the variable is private in outer context. For simd collapse > 1
17822 loops, replace all iterators with temporaries.
17823 * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the
17824 same even in collapse > 1 loops.
17826 * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP,
17827 OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is
17829 <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT.
17830 (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is
17832 (gimplify_adjust_omp_clauses): Likewise.
17833 * omp-low.c (lower_rec_simd_input_clauses,
17834 lower_rec_input_clauses, expand_omp_simd): Handle non-constant
17835 safelen the same as safelen(1).
17836 * tree-nested.c (convert_nonlocal_omp_clauses,
17837 convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED. For
17838 OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree.
17839 (convert_nonlocal_reference_stmt, convert_local_reference_stmt):
17840 Fixup handling of GIMPLE_OMP_TARGET.
17841 (convert_tramp_reference_stmt, convert_gimple_call): Handle
17844 2014-06-24 Chung-Lin Tang <cltang@codesourcery.com>
17846 PR tree-optimization/61554
17847 * tree-ssa-propagate.c: Include "bitmap.h".
17848 (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member,
17849 properly update constructor/destructor.
17850 (substitute_and_fold_dom_walker::before_dom_children):
17851 Remove call to gimple_purge_dead_eh_edges, add bb->index to
17852 need_eh_cleaup instead.
17853 (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on
17856 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
17858 * varpool.c (dump_varpool_node): Dump used_by_single_function.
17859 * tree-pass.h (make_pass_ipa_single_use): New pass.
17860 * cgraph.h (used_by_single_function): New flag.
17861 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node):
17863 * passes.def (pass_ipa_single_use): Scedule.
17864 * ipa.c (BOTTOM): New macro.
17865 (meet): New function
17866 (propagate_single_user): New function.
17867 (ipa_single_use): New function.
17868 (pass_data_ipa_single_use): New pass.
17869 (pass_ipa_single_use): New pass.
17870 (pass_ipa_single_use::gate): New gate.
17871 (make_pass_ipa_single_use): New function.
17873 2014-06-23 Kai Tietz <ktietz@redhat.com>
17876 * passes.def (peephole2): Move peephole2 pass before sched2 pass.
17877 * config/i386/i386.md (peehole2): Combine memories and indirect jumps.
17879 2014-06-23 Richard Biener <rguenther@suse.de>
17881 * tree-ssa-loop.c (gate_loop): New function.
17882 (pass_tree_loop::gate): Call it.
17883 (pass_data_tree_no_loop, pass_tree_no_loop,
17884 make_pass_tree_no_loop): New.
17885 * tree-vectorizer.c: Include tree-scalar-evolution.c
17886 (pass_slp_vectorize::execute): Initialize loops and SCEV if
17888 (pass_slp_vectorize::clone): New method.
17889 * timevar.def (TV_TREE_NOLOOP): New.
17890 * tree-pass.h (make_pass_tree_no_loop): Declare.
17891 * passes.def (pass_tree_no_loop): New pass group with
17894 2014-06-23 H.J. Lu <hongjiu.lu@intel.com>
17897 * config/i386/driver-i386.c (host_detect_local_cpu): Set arch
17898 to x86-64 if a 32-bit processor supports SSE2 and 64-bit.
17900 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
17902 * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to
17903 "yes" where needed.
17905 2014-06-23 Alan Modra <amodra@gmail.com>
17908 * tree-vrp.c (remove_range_assertions): Do not set is_unreachable
17909 to zero on debug statements.
17911 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
17914 * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers):
17915 Ignore third operand if present by marking qualifier_internal.
17917 * config/aarch64/aarch64-simd-builtins.def (abs): Comment.
17919 * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC
17921 (aarch64_vget_lane_s64, aarch64_vdup_lane_s64,
17922 arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro.
17923 (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64,
17924 vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64,
17925 vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64,
17926 vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64,
17927 vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64,
17928 vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64,
17929 vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32,
17930 vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64,
17931 vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64,
17932 vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64,
17933 vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64,
17934 vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64,
17935 vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64,
17936 vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing
17937 logic in GCC vector extensions
17939 (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64
17940 vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64,
17941 vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64,
17942 vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64
17943 vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64,
17944 vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64,
17945 vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64,
17946 vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64,
17947 vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64,
17948 vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature.
17950 (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi.
17952 (vget_high_s64, vget_high_u64): Reimplement with GCC vector
17955 (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64.
17956 (vget_low_s64): Use __GET_LOW macro.
17957 (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use
17958 gcc vector extensions, add call to __builtin_aarch64_lane_boundsi.
17959 (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si.
17960 (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add
17961 __builtin_aarch64_lane_boundsi, use GCC vector extensions.
17963 (vcombine_s64): Use GCC vector extensions; remove cast.
17964 (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64,
17965 vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64,
17966 vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64):
17967 Fix type signature; remove cast.
17969 2014-06-23 Alan Lawrence <alan.lawrence@arm.com>
17972 * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for
17974 * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode):
17976 (BUILTIN_VD1): New.
17977 (BUILTIN_VD_RE): Remove.
17978 (aarch64_init_simd_builtins): Add V1DF to modes/modenames.
17979 (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df.
17980 * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df
17981 variant but not df.
17982 (vreinterpretv1df*, vreinterpret*v1df): New.
17983 (vreinterpretdf*, vreinterpret*df): Remove.
17984 * config/aarch64/aarch64-simd.md (aarch64_create,
17985 aarch64_reinterpret*): Generate V1DFmode pattern not DFmode.
17986 * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF.
17988 * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions.
17989 (vcreate_f64): Remove cast, use v1df builtin.
17990 (vcombine_f64): Remove cast, get elements with gcc vector extensions.
17991 (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64,
17992 vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64,
17993 vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64,
17994 vmov_n_f64, vst1_f64): Use gcc vector extensions.
17995 (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions,
17996 add range check using __builtin_aarch64_im_lane_boundsi.
17997 (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64,
17998 vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix
17999 type signature, use gcc vector extensions.
18000 (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64,
18001 vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16,
18002 vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32,
18003 vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16,
18004 vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64,
18005 vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64,
18006 vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64,
18007 vreinterpret_u64_f64): Use v1df builtin not df.
18009 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com>
18011 * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
18014 2014-06-23 Jan Hubicka <hubicka@ucw.cz>
18016 * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini
18019 2014-06-23 Zhenqiang Chen <zhenqiang.chen@linaro.org>
18021 * loop-invariant.c (pre_check_invariant_p): New function.
18022 (find_invariant_insn): Call pre_check_invariant_p.
18024 2014-06-22 Richard Henderson <rth@redhat.com>
18027 * compare-elim.c (struct comparison): Add eh_note.
18028 (find_comparison_dom_walker::before_dom_children): Don't eliminate
18029 a redundant comparison in a different EH region. Purge EH edges if
18032 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18034 * config/rs6000/rs6000.md (maybe_var_shift): New define_attr.
18035 (var_shift): Use it.
18036 (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2,
18037 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
18038 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
18039 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
18040 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
18041 *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot,
18042 *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot,
18043 *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot,
18044 *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5,
18045 *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be,
18046 *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le,
18047 *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be,
18048 *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le,
18049 *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be,
18050 *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le,
18051 *rotldi3_internal15be): Use the new attribute. Merge register and
18052 integer alternatives.
18054 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18056 * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and
18057 define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and
18058 split, *ashrdi3_internal3 and split): Delete, merge into...
18059 (ashr<mode>3): New expander.
18060 (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New.
18061 (*ashrsi3_64): Fix formatting. Replace "i" by "n".
18063 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18065 * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split,
18066 *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split,
18067 *rotldi3_internal3 and split): Delete, merge into...
18068 (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New.
18069 (*rotlsi3_64): Fix formatting. Fix condition. Replace "i" by "n".
18070 Use "rotlw" extended mnemonic.
18072 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18074 * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns
18075 and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2
18076 and split, *ashldi3_internal3 and split): Delete, merge into...
18077 (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New.
18078 (*ashlsi3_64): Fix formatting. Replace "i" by "n".
18080 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18082 * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
18083 (lshrsi3, two anonymous define_insns and define_splits,
18084 lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
18085 *lshrdi3_internal3 and split): Delete, merge into...
18086 (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
18087 (*lshrsi3_64): Fix formatting. Replace "i" by "n".
18089 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org>
18091 * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns):
18092 Remove "O" alternative.
18094 2014-06-22 Richard Sandiford <rdsandiford@googlemail.com>
18096 * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument.
18097 (mips_move_from_gpr_cost): Likewise.
18098 (mips_register_move_cost): Update accordingly.
18099 (mips_secondary_reload_class): Remove name of in_p.
18101 2014-06-22 Marc Glisse <marc.glisse@inria.fr>
18104 * config/i386/i386.md (x86_64_shrd, x86_shrd,
18105 ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt.
18107 2014-06-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
18109 * config/nios2/nios2.c: Include "builtins.h".
18111 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
18113 * cgraph.h (tls_model_names): New variable.
18114 * print-tree.c (print_node): Simplify.
18115 * varpool.c (tls_model_names): New variable.
18116 (dump_varpool_node): Output tls model.
18118 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
18120 * ipa-visibility.c (function_and_variable_visibility): Disable
18121 temporarily local aliases for some targets.
18123 2014-06-20 Marek Polacek <polacek@redhat.com>
18125 * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.
18126 * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it
18127 into SANITIZE_UNDEFINED.
18128 * doc/invoke.texi: Describe -fsanitize=bounds.
18129 * gimplify.c (gimplify_call_expr): Add gimplification of internal
18130 functions created in the FEs.
18131 * internal-fn.c: Move "internal-fn.h" after "tree.h".
18132 (expand_UBSAN_BOUNDS): New function.
18133 * internal-fn.def (UBSAN_BOUNDS): New internal function.
18134 * internal-fn.h: Don't define internal functions here.
18135 * opts.c (common_handle_option): Add -fsanitize=bounds.
18136 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS,
18137 BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add.
18138 * tree-core.h: Define internal functions here.
18139 (struct tree_base): Add ifn field.
18140 * tree-pretty-print.c: Include "internal-fn.h".
18141 (dump_generic_node): Handle functions without CALL_EXPR_FN.
18142 * tree.c (get_callee_fndecl): Likewise.
18143 (build_call_expr_internal_loc): New function.
18144 * tree.def (CALL_EXPR): Update description.
18145 * tree.h (CALL_EXPR_IFN): Define.
18146 (build_call_expr_internal_loc): Declare.
18147 * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic
18149 (ubsan_type_descriptor): Change bool parameter to enum
18150 ubsan_print_style. Adjust the code. Add handling of
18152 (ubsan_expand_bounds_ifn): New function.
18153 (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call.
18154 (ubsan_build_overflow_builtin): Likewise.
18155 (instrument_bool_enum_load): Likewise.
18156 (ubsan_instrument_float_cast): Likewise.
18157 * ubsan.h (enum ubsan_print_style): New enum.
18158 (ubsan_expand_bounds_ifn): Declare.
18159 (ubsan_type_descriptor): Adjust declaration. Use a default parameter.
18161 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18163 * config/rs6000/rs6000.md: Append `DONE' to preparation
18164 statements of `bswap' pattern splitters.
18166 2014-06-20 Tom de Vries <tom@codesourcery.com>
18168 * target.def (call_fusage_contains_non_callee_clobbers): Update
18170 * doc/tm.texi: Regenerate.
18172 2014-06-20 Yury Gribov <y.gribov@samsung.com>
18173 Max Ostapenko <m.ostapenko@partner.samsung.com>
18176 * asan.c (instrument_strlen_call): Fixed instrumentation of
18179 2014-06-20 Martin Jambor <mjambor@suse.cz>
18182 * ipa-prop.c (impossible_devirt_target): New function.
18183 (try_make_edge_direct_virtual_call): Use it, also instead of
18186 2014-06-20 Yury Gribov <y.gribov@samsung.com>
18187 Max Ostapenko <m.ostapenko@partner.samsung.com>
18190 * asan.c (build_check_stmt): Add condition.
18192 2014-06-20 Martin Jambor <mjambor@suse.cz>
18195 * cgraph.c (clone_of_p): Allow skipped_branch to deal with
18198 2014-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18200 * config/aarch64/iterators.md (VCOND): Handle SI and HI modes.
18202 (VCONQ): Make comment more helpful.
18204 * config/aarch64/aarch64-simd.md
18205 (aarch64_sqdmulh_lane<mode>):
18206 Use VCOND for operands 2. Update lane checking and flipping logic.
18207 (aarch64_sqrdmulh_lane<mode>): Likewise.
18208 (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise.
18209 (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator.
18210 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode
18211 attribute of operand 3 to VCOND.
18212 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise.
18213 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
18214 (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise.
18215 (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise.
18216 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
18217 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New
18219 (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise.
18220 (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise.
18221 (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise.
18222 (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise.
18223 (aarch64_sqdmull2_laneq<mode>_internal): Likewise.
18224 (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate
18225 operand to VCOND. Update lane flipping and bounds checking logic.
18226 (aarch64_sqdmlal2_lane<mode>): Likewise.
18227 (aarch64_sqdmlsl_lane<mode>): Likewise.
18228 (aarch64_sqdmull_lane<mode>): Likewise.
18229 (aarch64_sqdmull2_lane<mode>): Likewise.
18230 (aarch64_sqdmlal_laneq<mode>):
18231 Replace VCON usage with VCONQ.
18232 Emit aarch64_sqdmlal_laneq<mode>_internal insn.
18233 (aarch64_sqdmlal2_laneq<mode>): Emit
18234 aarch64_sqdmlal2_laneq<mode>_internal insn.
18235 Replace VCON with VCONQ.
18236 (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ.
18237 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
18238 (aarch64_sqdmull_laneq<mode>): Emit
18239 aarch64_sqdmull_laneq<mode>_internal insn.
18240 Replace VCON with VCONQ.
18241 (aarch64_sqdmull2_laneq<mode>): Emit
18242 aarch64_sqdmull2_laneq<mode>_internal insn.
18243 (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ.
18244 * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type
18245 of 3rd argument to int16x4_t.
18246 (vqdmlalh_lane_s16): Likewise.
18247 (vqdmlslh_lane_s16): Likewise.
18248 (vqdmull_high_lane_s16): Likewise.
18249 (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t.
18250 (vqdmlal_lane_s16): Don't create temporary int16x8_t value.
18251 (vqdmlsl_lane_s16): Likewise.
18252 (vqdmull_lane_s16): Don't create temporary int16x8_t value.
18253 (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t.
18254 (vqdmlals_lane_s32): Likewise.
18255 (vqdmlsls_lane_s32): Likewise.
18256 (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t.
18257 (vqdmulls_lane_s32): Likewise.
18258 (vqdmlal_lane_s32): Don't create temporary int32x4_t value.
18259 (vqdmlsl_lane_s32): Likewise.
18260 (vqdmull_lane_s32): Don't create temporary int32x4_t value.
18261 (vqdmulhh_lane_s16): Change type of second argument to int16x4_t.
18262 (vqrdmulhh_lane_s16): Likewise.
18263 (vqdmlsl_high_lane_s16): Likewise.
18264 (vqdmulhs_lane_s32): Change type of second argument to int32x2_t.
18265 (vqdmlsl_high_lane_s32): Likewise.
18266 (vqrdmulhs_lane_s32): Likewise.
18268 2014-06-20 Tom de Vries <tom@codesourcery.com>
18270 * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for
18271 get_call_reg_set_usage.
18273 2014-06-20 Tom de Vries <tom@codesourcery.com>
18275 * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if
18276 it contains all call_used_regs.
18278 2014-06-20 Tom de Vries <tom@codesourcery.com>
18280 * final.c (collect_fn_hard_reg_usage): Add and use variable
18281 function_used_regs.
18283 2014-06-20 Jan Hubicka <hubicka@ucw.cz>
18285 * cgraph.h (struct symtab_node): Add field in_init_priority_hash
18286 (set_init_priority, get_init_priority, set_fini_priority,
18287 get_fini_priority): New methods.
18288 * tree.c (init_priority_for_decl): Remove.
18289 (init_ttree): Do not initialize init priority.
18290 (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite.
18291 (decl_priority_info): Remove.
18292 (decl_init_priority_insert): Rewrite.
18293 (decl_fini_priority_insert): Rewrite.
18294 * tree.h (tree_priority_map_eq, tree_priority_map_hash,
18295 tree_priority_map_marked_p): Remove.
18296 * lto-cgraph.c (lto_output_node, input_node): Stream init priorities.
18297 * lto-streamer-out.c (hash_tree): Do not hash priorities.
18298 * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do
18299 not output priorities.
18300 (pack_ts_function_decl_value_fields): Likewise.
18301 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
18302 not input priorities.
18303 (unpack_ts_function_decl_value_fields): Likewise.
18304 * symtab.c (symbol_priority_map): Declare.
18305 (init_priority_hash): Declare.
18306 (symtab_unregister_node): Unregister from priority hash, too.
18307 (symtab_node::get_init_priority, cgraph_node::get_fini_priority):
18309 (symbol_priority_map_eq, symbol_priority_map_hash): New functions.
18310 (symbol_priority_info): New function.
18311 (symtab_node::set_init_priority, cgraph_node::set_fini_priority):
18313 * tree-core.h (tree_priority_map): Remove.
18315 2014-06-20 Jakub Jelinek <jakub@redhat.com>
18317 * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast
18318 0xff to uint64_t before shifting it up.
18320 2014-06-20 Julian Brown <julian@codesourcery.com>
18321 Chung-Lin Tang <cltang@codesourcery.com>
18323 * config/arm/arm.c (arm_output_mi_thunk): Fix offset for
18324 TARGET_THUMB1_ONLY. Add comments.
18326 2014-06-19 Tom de Vries <tom@codesourcery.com>
18328 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change
18329 return type to void.
18330 * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same.
18332 2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
18334 * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
18335 as "move", from depends_on.
18337 2014-06-19 Terry Guo <terry.guo@arm.com>
18339 * config/arm/thumb1.md (define_split): Split 64bit constant in earlier
18342 2014-06-18 Segher Boessenkool <segher@kernel.crashing.org>
18344 * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment.
18346 (REG_ALLOC_ORDER): Update comment. Move cr5 earlier.
18348 2014-06-18 Kaz Kojima <kkojima@gcc.gnu.org>
18351 * config/sh/sh.c (prepare_move_operands): Don't process TLS
18352 addresses here if reload in progress or completed.
18354 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
18356 * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by
18357 "TARGET_MIPS16 ? M16_REGS : GR_REGS".
18358 * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS.
18359 (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16.
18360 (mips_register_priority): New function that implements the target
18361 hook TARGET_REGISTER_PRIORITY.
18362 (mips_spill_class): Likewise for TARGET_SPILL_CLASS.
18363 (mips_lra_p): Likewise for TARGET_LRA_P.
18364 (TARGET_REGISTER_PRIORITY): Define macro.
18365 (TARGET_SPILL_CLASS): Likewise.
18366 (TARGET_LRA_P): Likewise.
18367 * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS
18369 (REG_CLASS_NAMES): Likewise.
18370 (REG_CLASS_CONTENTS): Likewise.
18371 (BASE_REG_CLASS): Use M16_SP_REGS.
18372 * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA.
18373 New set attribute to enable alternatives depending on the register
18375 (*mul_acc_si_r3900, *mul_sub_si): Likewise.
18376 (*lea64): Disable pattern for MIPS16.
18377 * config/mips/mips.opt (mlra): New option.
18379 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com>
18381 * lra-constraints.c (base_to_reg): New function.
18382 (process_address): Use new function.
18384 2014-06-18 Tom de Vries <tom@codesourcery.com>
18386 * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare.
18387 * config/aarch64/aarch64.c
18388 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true.
18389 (aarch64_emit_call_insn): New function.
18390 (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead
18392 * config/aarch64/aarch64.md (define_expand "call_internal")
18393 (define_expand "call_value_internal", define_expand "sibcall_internal")
18394 (define_expand "sibcall_value_internal"): New.
18395 (define_expand "call", define_expand "call_value")
18396 (define_expand "sibcall", define_expand "sibcall_value"): Use internal
18397 expand variant and aarch64_emit_call_insn.
18399 2014-06-18 Radovan Obradovic <robradovic@mips.com>
18400 Tom de Vries <tom@codesourcery.com>
18402 * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter.
18403 * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
18405 (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC
18406 clobbers to CALL_INSN_FUNCTION_USAGE.
18407 (define_expand "sibcall_internal")
18408 (define_expand "sibcall_value_internal"): New.
18409 (define_expand "call", define_expand "call_value"): Add argument to
18410 arm_emit_call_insn.
18411 (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn.
18412 (define_expand "sibcall_value"): Use sibcall_value_internal and
18413 arm_emit_call_insn.
18415 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18417 * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove.
18419 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18421 * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using
18424 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18426 * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod,
18427 push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF
18428 annotations. Fix DWARF information.
18430 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18432 * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using
18433 __udivmoddi4, and fixups for negative operands.
18435 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18437 * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation.
18439 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18441 * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call
18444 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18446 * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer
18449 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18451 * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment
18452 describing register usage on function entry and exit.
18454 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18456 * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace.
18457 (__aeabi_ldivmod): Fix whitespace.
18459 2014-06-18 Andreas Schwab <schwab@suse.de>
18461 * doc/md.texi (Standard Names): Use @itemx for grouped items.
18462 Remove blank line after @item.
18464 2014-06-18 Richard Henderson <rth@redhat.com>
18467 * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
18469 2014-06-18 Charles Baylis <charles.baylis@linaro.org>
18471 * config/arm/arm.c (neon_vector_mem_operand): Allow register
18472 POST_MODIFY for neon loads and stores.
18473 (arm_print_operand): Output post-index register for neon loads and
18476 2014-06-18 Richard Biener <rguenther@suse.de>
18478 * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit.
18480 2014-06-18 Richard Biener <rguenther@suse.de>
18482 * tree-pass.h (make_pass_dce_loop): Remove.
18483 * passes.def: Replace pass_dce_loop with pass_dce.
18484 * tree-ssa-dce.c (perform_tree_ssa_dce): If something
18485 changed free niter estimates and reset the scev cache.
18486 (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
18487 make_pass_dce_loop): Remove.
18488 * tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
18489 (fini_copy_prop): Return whether something changed. Always
18490 let substitute_and_fold perform DCE and free niter estimates
18491 and reset the scev cache if so.
18492 (execute_copy_prop): If sth changed schedule cleanup-cfg.
18493 (pass_data_copy_prop): Do not unconditionally schedule
18494 cleanup-cfg or update-ssa.
18496 2014-06-18 Yuri Rumyantsev <ysrumyan@gmail.com>
18498 PR tree-optimization/61518
18499 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
18500 reduction var is used in reduction stmt or phi-function only.
18502 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18504 * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH.
18506 2014-06-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
18508 PR tree-optimization/61517
18509 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt
18510 whose rhs's first tree is the source expression instead of the
18512 (find_bswap_or_nop): Likewise.
18513 (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a
18514 gimple stmt whose rhs's first tree is the source. In the memory source
18515 case, move the stmt to be replaced close to one of the original load to
18516 avoid the problem of a store between the load and the stmt's original
18518 (pass_optimize_bswap::execute): Adapt to change in bswap_replace's
18521 2014-06-18 Andreas Schwab <schwab@suse.de>
18523 PR rtl-optimization/54555
18524 * postreload.c (move2add_use_add2_insn): Substitute
18525 STRICT_LOW_PART only if it is cheaper.
18527 2014-06-18 Uros Bizjak <ubizjak@gmail.com>
18529 * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern.
18530 Do not use unspec as call operand. Use memory_operand instead of
18531 memory_nox32_operand and add "m" operand constraint. Disable
18532 pattern for TARGET_X32.
18533 (*sibcall_pop_memory): Ditto.
18534 (*sibcall_value_memory): Ditto.
18535 (*sibcall_value_pop_memory): Ditto.
18536 (sibcall peepholes): Merge SImode and DImode patterns using
18537 W mode iterator. Use memory_operand instead of memory_nox32_operand.
18538 Disable pattern for TARGET_X32. Check if eliminated register is
18539 really dead after call insn. Generate call RTX without unspec operand.
18540 (sibcall_value peepholes): Ditto.
18541 (sibcall_pop peepholes): Fix call insn RTXes. Use memory_operand
18542 instead of memory_nox32_operand. Check if eliminated register is
18543 really dead after call insn. Generate call RTX without unspec operand.
18544 (sibcall_value_pop peepholes): Ditto.
18545 * config/i386/predicates.md (memory_nox32_operand): Remove predicate.
18547 2014-06-18 Terry Guo <terry.guo@arm.com>
18550 * config/arm/arm.c (thumb1_reorg): Move to next basic block if we
18553 2014-06-18 Olivier Hainque <hainque@adacore.com>
18555 * tree-core.h (tree_block): Add an "end_locus" field, allowing
18556 memorization of the end of block source location.
18557 * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor.
18558 * gimplify.c (gimplify_bind_expr): Propagate the block start and
18559 end source location info we have on the block entry/exit code we
18562 2014-06-18 Richard Biener <rguenther@suse.de>
18564 * common.opt (fssa-phiopt): New option.
18565 * opts.c (default_options_table): Enable -fssa-phiopt with -O1+
18567 * tree-ssa-phiopt.c (pass_phiopt): Add gate method.
18568 * doc/invoke.texi (-fssa-phiopt): Document.
18570 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
18572 * genattrtab.c (n_bypassed): New variable.
18573 (process_bypasses): Initialise n_bypassed.
18574 Count number of bypassed reservations.
18575 (make_automaton_attrs): Allocate space for bypassed reservations
18576 rather than number of bypasses.
18578 2014-06-18 Richard Biener <rguenther@suse.de>
18580 * tree-ssa-propagate.c (replace_phi_args_in): Return whether
18581 we propagated anything.
18582 (substitute_and_fold_dom_walker::before_dom_children): Something
18583 changed if we propagated into PHI arguments.
18584 * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if
18587 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com>
18589 * config/i386/i386.c (ix86_reassociation_width): Add alternative for
18591 * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New.
18592 * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New.
18593 * tree-vect-data-refs.c (vect_shift_permute_load_chain): New.
18594 Introduces alternative way of loads group permutaions.
18595 (vect_transform_grouped_load): Try alternative way of permutations.
18597 2014-06-18 Jakub Jelinek <jakub@redhat.com>
18599 * gimplify.c (omp_notice_variable): If n is non-NULL and no flags
18600 changed in ORT_TARGET region, don't jump to do_outer.
18601 (struct gimplify_adjust_omp_clauses_data): New type.
18602 (gimplify_adjust_omp_clauses_1): Adjust for data being
18603 a struct gimplify_adjust_omp_clauses_data pointer instead
18604 of tree *. Pass pre_p as a new argument to
18605 lang_hooks.decls.omp_finish_clause hook.
18606 (gimplify_adjust_omp_clauses): Add pre_p argument, adjust
18607 splay_tree_foreach to pass both list_p and pre_p.
18608 (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for,
18609 gimplify_omp_workshare, gimplify_omp_target_update): Adjust
18610 gimplify_adjust_omp_clauses callers.
18611 * langhooks.c (lhd_omp_finish_clause): New function.
18612 * langhooks-def.h (lhd_omp_finish_clause): New prototype.
18613 (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause.
18614 * langhooks.h (struct lang_hooks_for_decls): Add a new
18615 gimple_seq * argument to omp_finish_clause hook.
18616 * omp-low.c (scan_sharing_clauses): Call scan_omp_op on
18617 non-DECL_P OMP_CLAUSE_DECL if ctx->outer.
18618 (scan_omp_parallel, lower_omp_for): When adding
18619 _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity.
18620 * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind.
18621 * tree-nested.c (convert_nonlocal_omp_clauses,
18622 convert_local_omp_clauses): Handle various OpenMP 4.0 clauses.
18623 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET.
18625 2014-06-17 Andrew MacLeod <amacleod@redhat.com>
18627 * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here.
18628 * tree-dfa.c (get_addr_base_and_unit_offset_1): To here.
18630 2014-06-17 Xinliang David Li <davidxl@google.com>
18632 * tree-pretty-print.c (dump_function_header): Print cgraph uid.
18633 * passes.c (pass_init_dump_file): Do not set initialize
18634 flag to false unconditionally.
18636 2014-06-17 Richard Biener <rguenther@suse.de>
18638 * genopinit.c (main): Use vec<>::qsort method.
18639 * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk):
18641 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise.
18643 2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com>
18645 * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove.
18646 * config/mips/mips.c (mips_expand_fcc_reload): Remove.
18647 (mips_move_to_gpr_cost): Remove ST_REGS case.
18648 (mips_move_from_gpr_cost): Likewise.
18649 (mips_register_move_cost): Likewise.
18650 (mips_secondary_reload_class): Likewise.
18652 2014-06-17 Richard Biener <rguenther@suse.de>
18654 * passes.def (pass_all_early_optimizations): Remove copy-prop pass.
18655 (pass_all_optimizations): Move 3rd copy-prop pass from after
18656 fre to before ifcombine/phiopt.
18658 2014-06-17 Richard Biener <rguenther@suse.de>
18660 * tree-switch-conversion.c (collect_switch_conv_info): Simplify
18661 and allow all blocks to be forwarders.
18663 2014-06-17 Yufeng Zhang <yufeng.zhang@arm.com>
18666 * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
18667 variable 'size'; calculate 'size' right in the front; use
18668 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
18669 pcum->aapcs_stack_words.
18671 2014-06-17 Nick Clifton <nickc@redhat.com>
18673 * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT.
18674 (umulhi3, mulsidi3, umulsidi3): Likewise.
18676 2014-06-17 Thomas Schwinge <thomas@codesourcery.com>
18678 PR middle-end/61508
18679 * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
18680 check for section name.
18682 2014-06-17 Richard Biener <rguenther@suse.de>
18684 * tree-ssa-propagate.c: Include domwalk.h.
18685 (substitute_and_fold): Outline main worker into a domwalker ...
18686 (substitute_and_fold_dom_walker::before_dom_children): ... here.
18687 Schedule stmts we can fully propagate for removal. Remove
18689 (substitute_and_fold): Apply a dominator walk to perform
18690 substitution. Process stmts scheduled for removal here.
18692 2014-06-17 Richard Biener <rguenther@suse.de>
18694 * tree-ssa-loop-im.c (determine_max_movement): Adjust cost
18695 of PHI node moving.
18697 2014-06-17 Kugan Vivekanandarajah <kuganv@linaro.org>
18699 * config/arm/arm.c (arm_atomic_assign_expand_fenv): call
18700 default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT.
18701 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
18702 __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT.
18703 * config/arm/vfp.md (set_fpscr): Make pattern conditional on
18705 (get_fpscr) : Likewise.
18707 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
18709 PR rtl-optimization/61325
18710 * lra-constraints.c (valid_address_p): Add forward declaration.
18711 (simplify_operand_subreg): Check address validity before and after
18712 alter_reg of memory subreg.
18714 2014-06-16 Uros Bizjak <ubizjak@gmail.com>
18716 * config/i386/i386.c (decide_alg): Correctly handle
18717 maximum size of stringop algorithm.
18719 2014-06-16 Yury Gribov <y.gribov@samsung.com>
18721 * asan.c (build_check_stmt): Fix maybe-uninitialized warning.
18723 2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
18725 PR rtl-optimization/61522
18726 * lra-assigns.c (assign_by_spills): Check null targetm.spill_class.
18728 2014-06-16 Jan Hubicka <hubicka@ucw.cz>
18731 * symtab.c (symtab_node::reset_section): New method.
18732 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
18734 * cgraph.h (reset_section): Declare.
18735 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
18736 do not consider comdat locals.
18737 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
18739 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
18740 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
18741 reset sections of symbols dragged out of the comdats.
18742 (function_and_variable_visibility): Reset sections of
18745 2014-06-16 Richard Biener <rguenther@suse.de>
18747 PR tree-optimization/61482
18748 * tree-vrp.c (adjust_range_with_scev): Avoid setting of
18749 [-INF(OVF), +INF(OVF)] range.
18751 2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
18753 * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue
18754 instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for
18755 handling 32-bit multiplication.
18757 2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
18759 PR middle-end/61430
18760 * lra-lives.c (process_bb_lives): Skip creating copy during
18761 insn scan when src/dest has constrained to same regno.
18763 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
18765 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
18766 DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN.
18768 2014-06-16 Yury Gribov <y.gribov@samsung.com>
18770 * asan.c (check_func): New function.
18771 (maybe_create_ssa_name): Likewise.
18772 (build_check_stmt_with_calls): Likewise.
18773 (use_calls_p): Likewise.
18774 (report_error_func): Change interface.
18775 (build_check_stmt): Allow non-integer lengths; add support
18777 (asan_instrument): Likewise.
18778 (instrument_mem_region_access): Moved code to build_check_stmt.
18779 (instrument_derefs): Likewise.
18780 (instrument_strlen_call): Likewise.
18781 * cfgcleanup.c (old_insns_match_p): Add support for new functions.
18782 * doc/invoke.texi: Describe new parameter.
18783 * params.def: Define new parameter.
18784 * params.h: Likewise.
18785 * sanitizer.def: Describe new builtins.
18787 2014-06-16 Richard Biener <rguenther@suse.de>
18789 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
18790 Make all defs available at the end.
18791 (eliminate): If we remove a PHI node schedule cfg-cleanup.
18793 2014-06-18 Jakub Jelinek <jakub@redhat.com>
18796 * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file.
18798 2014-06-16 Richard Sandiford <rdsandiford@googlemail.com>
18801 * auto-inc-dec.c (merge_in_block): Fix location of insn_info
18802 initialization. Replace remaining use of uid.
18804 2014-06-15 Jan Hubicka <hubicka@ucw.cz>
18806 * c-family/c-common.c (handle_tls_model_attribute): Use
18807 set_decl_tls_model.
18808 * c-family/c-common.c (handle_tls_model_attribute): Use
18809 set_decl_tls_model.
18810 * cgraph.h (struct varpool_node): Add tls_model.
18811 * tree.c (decl_tls_model, set_decl_tls_model): New functions.
18812 * tree.h (DECL_TLS_MODEL): Update.
18813 (DECL_THREAD_LOCAL_P): Check that variable is static.
18814 (decl_tls_model): Declare.
18815 (set_decl_tls_model): Declare.
18816 * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then
18817 set symbol prorperties.
18818 (get_emutls_init_templ_addr): Cleanup.
18819 (new_emutls_decl): Update.
18820 * lto-cgraph.c (lto_output_varpool_node): Stream TLS model
18821 (lto_input_varpool_node): Likewise.
18822 * lto-streamer-out.c (hash_tree): Likewise.
18823 * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do
18824 not stream DECL_TLS_MODEL.
18825 * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model.
18826 * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments.
18828 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18830 * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks.
18832 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18834 * df.h (df_mw_hardreg, df_base_ref): Add a link pointer.
18835 (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked
18837 (df_scan_bb_info): Likewise artificial_defs and artificial_uses.
18838 (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros.
18839 (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE)
18840 (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW)
18841 (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF)
18842 (df_get_artificial_defs, df_get_artificial_uses)
18843 (df_single_def, df_single_use): Update accordingly.
18844 (df_refs_chain_dump): Take the first element in a linked list as
18845 parameter, rather than a pointer to an array of pointers.
18846 * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise.
18847 * df-problems.c (df_rd_bb_local_compute_process_def): Likewise.
18848 (df_chain_create_bb_process_use): Likewise.
18849 (df_md_bb_local_compute_process_def): Likewise.
18850 * fwprop.c (process_defs, process_uses): Likewise.
18851 (register_active_defs, update_uses): Likewise.
18852 (forward_propagate_asm): Update for new df_ref linking.
18853 * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete.
18854 (df_null_ref_rec, df_null_mw_rec): Likewise.
18855 (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists
18857 (df_scan_free_bb_info): Remove check for null artificial_defs.
18858 (df_install_ref_incremental): Adjust for new df_ref linking.
18859 Use a single-element insertion rather than a full sort.
18860 (df_ref_chain_delete_du_chain): Take the first element
18861 in a linked list as parameter, rather than a pointer to an array of
18863 (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise.
18864 (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise.
18865 (df_insn_info_delete): Remove check for null defs and call to
18866 df_scan_free_mws_vec.
18867 (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to
18868 null rather than df_null_*_rec.
18869 (df_insn_rescan_debug_internal): Likewise, and update null
18870 checks in the same way. Remove check for null defs.
18871 (df_ref_change_reg_with_loc_1): Fix choice of list for defs.
18872 Move a single element rather doing a full sort.
18873 (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg
18875 (df_notes_rescan): Likewise. Use a merge rather than a full sort.
18876 Initialize df_ref and df_mw_hardreg lists to null rather than
18878 (df_ref_compare): Take df_refs as parameter, transferring the
18879 old interface to...
18880 (df_ref_ptr_compare): ...this new function.
18881 (df_sort_and_compress_refs): Update accordingly.
18882 (df_mw_compare): Take df_mw_hardregs as parameter, transferring the
18883 old interface to...
18884 (df_mw_ptr_compare): ...this new function.
18885 (df_sort_and_compress_mws): Update accordingly.
18886 (df_install_refs, df_install_mws): Return a linked list rather than
18887 an array of pointers.
18888 (df_refs_add_to_chains): Assert that old lists are empty rather
18890 (df_insn_refs_verify): Don't handle null defs speciailly.
18891 * web.c (union_match_dups): Update for new df_ref linking.
18893 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18895 * df.h (df_ref_create, df_ref_remove): Delete.
18896 * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise.
18897 (df_ref_remove): Likewise.
18899 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18901 * df.h (df_single_def, df_single_use): New functions.
18902 * ira.c (find_moveable_pseudos): Use them.
18904 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18906 * df.h (FOR_EACH_INSN_INFO_MW): New macro.
18907 * df-problems.c (df_note_bb_compute): Use it.
18908 * regstat.c (regstat_bb_compute_ri): Likewise.
18910 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18912 * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros.
18913 * cse.c (cse_extended_basic_block): Use them.
18914 * dce.c (mark_artificial_use): Likewise.
18915 * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise.
18916 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
18917 (df_chain_remove_problem, df_chain_bb_dump): Likewise.
18918 (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise.
18919 (df_simulate_initialize_backwards): Likewise.
18920 (df_simulate_finalize_backwards): Likewise.
18921 (df_simulate_initialize_forwards): Likewise.
18922 (df_md_simulate_artificial_defs_at_top): Likewise.
18923 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
18924 * regrename.c (init_rename_info): Likewise.
18925 * regstat.c (regstat_bb_compute_ri): Likewise.
18926 (regstat_bb_compute_calls_crossed): Likewise.
18928 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com>
18930 * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros.
18931 (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise.
18932 (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise.
18933 * auto-inc-dec.c (find_inc, merge_in_block): Use them.
18934 * combine.c (create_log_links): Likewise.
18935 * compare-elim.c (find_flags_uses_in_insn): Likewise.
18936 (try_eliminate_compare): Likewise.
18937 * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise.
18938 * dce.c (deletable_insn_p, find_call_stack_args): Likewise.
18939 (remove_reg_equal_equiv_notes_for_defs): Likewise.
18940 (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise.
18941 (word_dce_process_block, dce_process_block): Likewise.
18942 * ddg.c (def_has_ccmode_p): Likewise.
18943 * df-core.c (df_bb_regno_first_def_find): Likewise.
18944 (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise.
18945 * df-problems.c (df_rd_simulate_one_insn): Likewise.
18946 (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise.
18947 (df_chain_remove_problem, df_chain_insn_top_dump): Likewise.
18948 (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise.
18949 (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise.
18950 (df_remove_dead_eq_notes, df_note_bb_compute): Likewise.
18951 (df_simulate_find_defs, df_simulate_find_uses): Likewise.
18952 (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise.
18953 (df_simulate_uses, df_md_simulate_one_insn): Likewise.
18954 * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise.
18955 * fwprop.c (local_ref_killed_between_p): Likewise.
18956 (all_uses_available_at, free_load_extend): Likewise.
18957 * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise.
18958 * hw-doloop.c (scan_loop): Likewise.
18959 * ifcvt.c (dead_or_predicable): Likewise.
18960 * init-regs.c (initialize_uninitialized_regs): Likewise.
18961 * ira-lives.c (mark_hard_reg_early_clobbers): Likewise.
18962 (process_bb_node_lives): Likewise.
18963 * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise.
18964 (find_moveable_pseudos): Likewise.
18965 * loop-invariant.c (check_dependencies, record_uses): Likewise.
18966 * recog.c (peep2_find_free_register): Likewise.
18967 * ree.c (get_defs): Likewise.
18968 * regstat.c (regstat_bb_compute_ri): Likewise.
18969 (regstat_bb_compute_calls_crossed): Likewise.
18970 * sched-deps.c (find_inc, find_mem): Likewise.
18971 * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise.
18972 (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise.
18973 * shrink-wrap.c (requires_stack_frame_p): Likewise.
18974 (prepare_shrink_wrap): Likewise.
18975 * store-motion.c (compute_store_table, build_store_vectors): Likewise.
18976 * web.c (union_defs, pass_web::execute): Likewise.
18977 * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise.
18978 (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise.
18980 2014-06-13 Vladimir Makarov <vmakarov@redhat.com>
18982 * lra-assign.c (assign_by_spills): Add code to assign vector regs
18983 to inheritance pseudos.
18984 * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
18986 2014-06-13 Peter Bergner <bergner@vnet.ibm.com>
18989 * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
18990 (BU_MISC_2): Rename to ...
18991 (BU_LDBL128_2): ... this.
18992 * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
18993 (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
18994 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
18995 RS6000_BTM_LDBL128.
18996 (rs6000_invalid_builtin): Add long double 128-bit builtin support.
18997 (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
18998 * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
18999 (unpacktf_1): Likewise.
19000 * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
19001 (__builtin_longdouble_dw1): Likewise.
19002 * doc/sourcebuild.texi (longdouble128): Document.
19004 2014-06-13 Jeff Law <law@redhat.com>
19006 PR rtl-optimization/61094
19007 PR rtl-optimization/61446
19008 * ree.c (combine_reaching_defs): Get the mode for the copy from
19009 the extension insn rather than the defining insn.
19011 2014-06-13 Dehao Chen <dehao@google.com>
19013 * dwarf2out.c (add_linkage_name): Emit more linkage name.
19015 2014-06-13 Thomas Schwinge <thomas@codesourcery.com>
19017 * doc/install.texi (--enable-linker-plugin-configure-flags)
19018 (--enable-linker-plugin-flags): Document new flags.
19020 2014-06-13 Martin Jambor <mjambor@suse.cz>
19023 * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to
19024 cache_token if returning early.
19026 2014-06-13 Nick Clifton <nickc@redhat.com>
19028 * config/rx/rx.h (JUMP_ALIGN): Return the log value if user
19029 requested alignment is active.
19030 (LABEL_ALIGN): Likewise.
19031 (LOOP_ALIGN): Likewise.
19033 2014-06-13 Richard Biener <rguenther@suse.de>
19035 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
19036 Rewrite to propagate the VN result into all uses where
19037 possible and to remove stmts becoming dead because of that.
19038 (eliminate): Generalize stmt removal handling, remove in
19039 reverse dominator order to support proper debug stmt
19040 generation. Update stmts before removing stmts.
19041 * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert.
19043 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
19045 PR tree-optimization/61375
19046 * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if
19047 symbolic number cannot be represented in an uint64_t.
19048 (find_bswap_or_nop_1): Likewise.
19050 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
19052 * symtab.c (symtab_node::reset_section): New method.
19053 * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local
19055 * cgraph.h (reset_section): Declare.
19056 * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups;
19057 do not consider comdat locals.
19058 * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section
19060 * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup.
19061 (update_visibility_by_resolution_info): Consider UNDEF; fix checking;
19062 reset sections of symbols dragged out of the comdats.
19063 (function_and_variable_visibility): Reset sections of
19066 2014-06-12 Jan Hubicka <hubicka@ucw.cz>
19068 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg
19069 to use symtab and decl_binds_to_current_def_p
19070 * tree-vectorizer.c (increase_alignment): Increase alignment
19071 of alias target, too.
19073 2014-06-12 Jakub Jelinek <jakub@redhat.com>
19075 PR middle-end/61486
19076 * gimplify.c (struct gimplify_omp_ctx): Add distribute field.
19077 (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE
19078 if outer combined construct is distribute.
19079 (gimplify_omp_for): For OMP_DISTRIBUTE set
19080 gimplify_omp_ctxp->distribute.
19081 * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For
19082 GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record
19083 mapping into decl map.
19085 2014-06-12 Jason Merrill <jason@redhat.com>
19087 * common.opt (fabi-version): Change default to 0.
19089 2014-06-12 Jason Merrill <jason@redhat.com>
19091 * toplev.c (process_options): Reject -fabi-version=1.
19093 2014-06-12 Jeff Law <law@redhat.com>
19095 PR tree-optimization/61009
19096 * tree-ssa-threadedge.c (thread_through_normal_block): Correct return
19097 value when we stop processing a block due to problematic PHIs.
19099 2014-06-12 Alan Lawrence <alan.lawrence@arm.com>
19101 * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64,
19102 vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64,
19103 vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64,
19104 vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64,
19105 vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64,
19106 vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8,
19107 vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they
19108 are not in the spec.
19110 2014-06-10 Alan Lawrence <alan.lawrence@arm.com>
19113 * config/aarch64/aarch64-modes.def: Add V1DFmode.
19114 * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p):
19117 2014-06-12 Eric Botcazou <ebotcazou@adacore.com>
19119 * tree-core.h (DECL_NONALIASED): Use proper spelling in comment.
19121 2014-06-12 Georg-Johann Lay <avr@gjlay.de>
19124 * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
19125 loading from address spaces.
19127 2014-06-12 Martin Liska <mliska@suse.cz>
19130 * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call
19131 statement is reachable.
19133 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
19135 * symtab.c (section_hash): New hash.
19136 (symtab_unregister_node): Clear section before freeing.
19137 (hash_section_hash_entry): New haser.
19138 (eq_sections): New function.
19139 (symtab_node::set_section_for_node): New method.
19140 (set_section_1): Update.
19141 (symtab_node::set_section): Take string instead of tree as parameter.
19142 (symtab_resolve_alias): Update.
19143 * cgraph.h (section_hash_entry_d): New structure.
19144 (section_hash_entry): New typedef.
19145 (cgraph_node): Change comdat_group_ to x_comdat_group,
19146 change section_ to x_section and turn into section_hash_entry;
19147 update accestors; put set_section_for_node offline.
19148 * tree.c (decl_section_name): Turn into string.
19149 (set_decl_section_name): Change parameter to be string.
19150 * tree.h (decl_section_name, set_decl_section_name): Update prototypes.
19151 * sdbout.c (sdbout_one_type): Update.
19152 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update.
19153 * varasm.c (IN_NAMED_SECTION, get_named_section,
19154 resolve_unique_section, hot_function_section, get_named_text_section,
19155 USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section,
19156 make_decl_rtl, default_unique_section): Update.
19157 * config/c6x/c6x.c (c6x_in_small_data_p): Update.
19158 (c6x_elf_unique_section): Update.
19159 * config/nios2/nios2.c (nios2_in_small_data_p): Update.
19160 * config/pa/pa.c (pa_function_section): Update.
19161 * config/pa/pa.h (IN_NAMED_SECTION_P): Update.
19162 * config/ia64/ia64.c (ia64_in_small_data_p): Update.
19163 * config/arc/arc.c (arc_in_small_data_p): Update.
19164 * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update.
19165 * config/mcore/mcore.c (mcore_unique_section): Update.
19166 * config/mips/mips.c (mips16_build_function_stub): Update.
19167 (mips16_build_call_stub): Update.
19168 (mips_function_rodata_section): Update.
19169 (mips_in_small_data_p): Update.
19170 * config/score/score.c (score_in_small_data_p): Update.
19171 * config/rx/rx.c (rx_in_small_data): Update.
19172 * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update.
19173 (rs6000_xcoff_asm_named_section): Update.
19174 (rs6000_xcoff_unique_section): Update.
19175 * config/frv/frv.c (frv_string_begins_with): Update.
19176 (frv_in_small_data_p): Update.
19177 * config/v850/v850.c (v850_encode_data_area): Update.
19178 * config/bfin/bfin.c (DECL_SECTION_NAME): Update.
19179 (bfin_handle_l1_data_attribute): Update.
19180 (bfin_handle_l2_attribute): Update.
19181 * config/mep/mep.c (mep_unique_section): Update.
19182 * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p):
19184 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update.
19185 (h8300_handle_tiny_data_attribute): Update.
19186 * config/m32r/m32r.c (m32r_in_small_data_p): Update.
19187 (m32r_in_small_data_p): Update.
19188 * config/alpha/alpha.c (alpha_in_small_data_p): Update.
19189 * config/i386/i386.c (ix86_in_large_data_p): Update.
19190 * config/i386/winnt.c (i386_pe_unique_section): Update.
19191 * config/darwin.c (darwin_function_section): Update.
19192 * config/lm32/lm32.c (lm32_in_small_data_p): Update.
19193 * tree-emutls.c (get_emutls_init_templ_addr): Update.
19194 (new_emutls_decl): Update.
19195 * lto-cgraph.c (lto_output_node, input_node, input_varpool_node,
19196 input_varpool_node): Update.
19197 (ead_string_cst): Turn to ...
19198 (read_string): ... this one.
19199 * dwarf2out.c (secname_for_decl): Update.
19200 * asan.c (asan_protect_global): Update.
19202 2014-06-11 DJ Delorie <dj@redhat.com>
19204 * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte
19206 * config/rx/rx.c (rx_option_override): Likewise.
19207 (rx_align_for_label): Likewise.
19209 * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
19211 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
19213 * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove
19216 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19218 * common.md: New file.
19219 * doc/md.texi: Update description of generic, machine-independent
19221 * config/s390/constraints.md (e): Delete.
19222 * Makefile.in (md_file): Include common.md.
19223 * config/m32c/t-m32c (md_file): Likewise.
19224 * genpreds.c (general_mem): New array.
19225 (generic_constraint_letters): Remove constraints now defined by
19227 (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
19228 Allow the first character to be '<' or '>' as well.
19229 * genoutput.c (general_mem): New array.
19230 (indep_constraints): Remove constraints now defined by common.md.
19231 (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem.
19232 Remove special handling of 'm'.
19233 * ira-costs.c (record_reg_classes): Remove special handling of
19234 constraints now defined by common.md.
19235 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
19236 * ira-lives.c (single_reg_class): Likewise.
19237 (ira_implicitly_set_insn_hard_regs): Likewise.
19238 * lra-constraints.c (reg_class_from_constraints): Likewise.
19239 (process_alt_operands, process_address, curr_insn_transform): Likewise.
19240 * postreload.c (reload_cse_simplify_operands): Likewise.
19241 * reload.c (push_secondary_reload, scratch_reload_class)
19242 (find_reloads, alternative_allows_const_pool_ref): Likewise.
19243 * reload1.c (maybe_fix_stack_asms): Likewise.
19244 * targhooks.c (default_secondary_reload): Likewise.
19245 * stmt.c (parse_output_constraint): Likewise.
19246 * recog.c (preprocess_constraints): Likewise.
19247 (constrain_operands, peep2_find_free_register): Likewise.
19248 (asm_operand_ok): Likewise, but add a comment saying why 'o'
19249 must be handled specially.
19251 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19253 * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison.
19254 * genpreds.c (have_const_dbl_constraints): Delete.
19255 (add_constraint): Don't set it.
19256 (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P.
19257 * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE
19258 constraints using the lookup_constraint logic.
19259 * ira-lives.c (single_reg_class): Likewise.
19260 * ira.c (ira_setup_alts): Likewise.
19261 * lra-constraints.c (process_alt_operands): Likewise.
19262 * recog.c (asm_operand_ok, constrain_operands): Likewise.
19263 * reload.c (find_reloads): Likewise.
19265 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19267 * genpreds.c (const_int_start, const_int_end): New variables.
19268 (choose_enum_order): Output CONST_INT constraints before memory
19270 (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
19272 * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
19273 * ira.c (ira_setup_alts): Likewise.
19274 * lra-constraints.c (process_alt_operands): Likewise.
19275 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
19276 * reload.c (find_reloads): Likewise.
19278 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19280 * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok,
19281 decmem_ok and incmem_ok. Reformat other bitfields for consistency.
19282 * recog.c (preprocess_constraints): Update accordingly.
19284 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19286 * system.h (REG_CLASS_FROM_CONSTRAINT): Poison.
19287 (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise.
19288 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise.
19289 * genpreds.c (print_type_tree): New function.
19290 (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT,
19291 REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT,
19292 EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR.
19293 Write out enum constraint_type and get_constraint_type.
19294 * lra-constraints.c (satisfies_memory_constraint_p): Take a
19295 constraint_num rather than a constraint string.
19296 (satisfies_address_constraint_p): Likewise.
19297 (reg_class_from_constraints): Avoid old constraint macros.
19298 (process_alt_operands, process_address_1): Likewise.
19299 (curr_insn_transform): Likewise.
19300 * ira-costs.c (record_reg_classes): Likewise.
19301 (record_operand_costs): Likewise.
19302 * ira-lives.c (single_reg_class): Likewise.
19303 (ira_implicitly_set_insn_hard_regs): Likewise.
19304 * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise.
19305 * postreload.c (reload_cse_simplify_operands): Likewise.
19306 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
19307 (constrain_operands, peep2_find_free_register): Likewise.
19308 * reload.c (push_secondary_reload, scratch_reload_class): Likewise.
19309 (find_reloads, alternative_allows_const_pool_ref): Likewise.
19310 * reload1.c (maybe_fix_stack_asms): Likewise.
19311 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
19312 * targhooks.c (default_secondary_reload): Likewise.
19313 * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference
19314 to EXTRA_CONSTRAINT_STR.
19315 * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT.
19317 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19319 * genpreds.c (write_constraint_satisfied_p_1): Replace with...
19320 (write_constraint_satisfied_p_array): ...this new function.
19321 (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with
19323 (write_insn_preds_c): Update accordingly.
19325 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19327 * genpreds.c (write_lookup_constraint): Rename to...
19328 (write_lookup_constraint_1): ...this.
19329 (write_lookup_constraint_array): New function.
19330 (write_tm_preds_h): Define lookup_constraint as an inline function
19331 that uses write_lookup_constraint_array where possible.
19332 (write_insn_preds_c): Update for the changes above.
19334 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com>
19336 * doc/md.texi (regclass_for_constraint): Rename to...
19337 (reg_class_for_constraint): ...this.
19338 * genpreds.c (num_constraints, enum_order, register_start)
19339 (register_end, satisfied_start, memory_start, memory_end)
19340 (address_start, address_end): New variables.
19341 (add_constraint): Count the number of constraints.
19342 (choose_enum_order): New function.
19343 (write_enum_constraint_num): Iterate over enum_order.
19344 (write_regclass_for_constraint): Rename to...
19345 (write_reg_class_for_constraint_1): ...this and update output
19347 (write_constraint_satisfied_p): Rename to...
19348 (write_constraint_satisfied_p_1): ...this and update output
19349 accordingly. Do nothing if all extra constraints are register
19351 (write_insn_extra_memory_constraint): Delete.
19352 (write_insn_extra_address_constraint): Delete.
19353 (write_range_function): New function.
19354 (write_tm_preds_h): Define constraint_satisfied_p and
19355 reg_class_for_constraint as inline functions that do a range check
19356 before calling the out-of-line function. Use write_range_function
19357 to implement insn_extra_{register,memory,address}_constraint,
19358 the first of which is new.
19359 (write_insn_preds_c): Update after above changes to write_* functions.
19360 (main): Call choose_enum_order.
19362 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
19364 PR tree-optimization/61306
19365 * tree-ssa-math-opts.c (struct symbolic_number): Store type of
19366 expression instead of its size.
19367 (do_shift_rotate): Adapt to change in struct symbolic_number. Return
19368 false to prevent optimization when the result is unpredictable due to
19369 arithmetic right shift of signed type with highest byte is set.
19370 (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
19371 (init_symbolic_number): Likewise.
19372 (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization
19373 when the result is unpredictable due to sign extension.
19375 2014-06-11 Terry Guo <terry.guo@arm.com>
19377 * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md.
19378 (*thumb1_addsi3): Ditto.
19379 (*thumb_subdi3): Ditto.
19380 (thumb1_subsi3_insn): Ditto.
19381 (*thumb_mulsi3): Ditto.
19382 (*thumb_mulsi3_v6): Ditto.
19383 (*thumb1_andsi3_insn): Ditto.
19384 (thumb1_bicsi3): Ditto.
19385 (*thumb1_iorsi3_insn): Ditto.
19386 (*thumb1_xorsi3_insn): Ditto.
19387 (*thumb1_ashlsi3): Ditto.
19388 (*thumb1_ashrsi3): Ditto.
19389 (*thumb1_lshrsi3): Ditto.
19390 (*thumb1_rotrsi3): Ditto.
19391 (*thumb1_negdi2): Ditto.
19392 (*thumb1_negsi2): Ditto.
19393 (*thumb1_abssi2): Ditto.
19394 (*thumb1_neg_abssi2): Ditto.
19395 (*thumb1_one_cmplsi2): Ditto.
19396 (*thumb1_zero_extendhisi2): Ditto.
19397 (*thumb1_zero_extendqisi2): Ditto.
19398 (*thumb1_zero_extendqisi2_v6): Ditto.
19399 (thumb1_extendhisi2): Ditto.
19400 (thumb1_extendqisi2): Ditto.
19401 (*thumb1_movdi_insn): Ditto.
19402 (*thumb1_movsi_insn): Ditto.
19403 (*thumb1_movhi_insn): Ditto.
19404 (thumb_movhi_clobber): Ditto.
19405 (*thumb1_movqi_insn): Ditto.
19406 (*thumb1_movhf): Ditto.
19407 (*thumb1_movsf_insn): Ditto.
19408 (*thumb_movdf_insn): Ditto.
19409 (movmem12b): Ditto.
19411 (cbranchqi4): Ditto.
19412 (cbranchsi4_insn): Ditto.
19413 (cbranchsi4_scratch): Ditto.
19414 (*negated_cbranchsi4): Ditto.
19415 (*tbit_cbranch): Ditto.
19416 (*tlobits_cbranch): Ditto.
19417 (*tstsi3_cbranch): Ditto.
19418 (*cbranchne_decr1): Ditto.
19419 (*addsi3_cbranch): Ditto.
19420 (*addsi3_cbranch_scratch): Ditto.
19421 (*thumb_cmpdi_zero): Ditto.
19422 (cstoresi_eq0_thumb1): Ditto.
19423 (cstoresi_ne0_thumb1): Ditto.
19424 (*cstoresi_eq0_thumb1_insn): Ditto.
19425 (*cstoresi_ne0_thumb1_insn): Ditto.
19426 (cstoresi_nltu_thumb1): Ditto.
19427 (cstoresi_ltu_thumb1): Ditto.
19428 (thumb1_addsi3_addgeu): Ditto.
19429 (*thumb_jump): Ditto.
19430 (*call_reg_thumb1_v5): Ditto.
19431 (*call_reg_thumb1): Ditto.
19432 (*call_value_reg_thumb1_v5): Ditto.
19433 (*call_value_reg_thumb1): Ditto.
19434 (*call_insn): Ditto.
19435 (*call_value_insn): Ditto.
19436 (thumb1_casesi_internal_pic): Ditto.
19437 (thumb1_casesi_dispatch): Ditto.
19438 (*thumb1_indirect_jump): Ditto.
19439 (prologue_thumb1_interwork): Ditto.
19440 (*epilogue_insns): Ditto.
19441 (consttable_1): Ditto.
19442 (consttable_2): Ditto.
19443 (tablejump): Ditto.
19444 (*thumb1_tablejump): Ditto.
19445 (thumb_eh_return): Ditto.
19446 (define_peephole2): Two of them are thumb1 only and got moved into
19447 new file thumb1.md.
19448 (define_split): Six of them are thumb1 only and got moved into new
19450 * config/arm/thumb1.md: New file comprised of above thumb1 only
19453 2014-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19455 * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers.
19456 * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to
19458 * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define.
19459 (aarch64_crc_builtin_datum): New struct.
19460 (aarch64_crc_builtin_data): New.
19461 (aarch64_init_crc32_builtins): New function.
19462 (aarch64_init_builtins): Initialise CRC32 builtins when appropriate.
19463 (aarch64_crc32_expand_builtin): New.
19464 (aarch64_expand_builtin): Add CRC32 builtin expansion case.
19465 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
19466 __ARM_FEATURE_CRC32 when appropriate.
19467 (TARGET_CRC32): Define.
19468 * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H,
19469 UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH,
19470 UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values.
19471 (aarch64_<crc_variant>): New pattern.
19472 * config/aarch64/arm_acle.h: New file.
19473 * config/aarch64/iterators.md (CRC): New int iterator.
19474 (crc_variant, crc_mode): New int attributes.
19475 * doc/aarch64-acle-intrinsics.texi: New file.
19476 * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics.
19477 Include aarch64-acle-intrinsics.texi.
19479 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com>
19481 * tree-vect-data-refs.c (vect_grouped_store_supported): New
19482 check for stores group of length 3.
19483 (vect_permute_store_chain): New permutations for stores group of
19485 * tree-vect-stmts.c (vect_model_store_cost): Change cost
19486 of vec_perm_shuffle for the new permutations.
19488 2014-06-11 Jan Hubicka <hubicka@ucw.cz>
19490 * ipa-visibility.c (function_and_variable_visibility): Disable virtual
19491 table rewriting temporarily on targets not supporting ONE_ONLY.
19493 2014-06-11 Richard Biener <rguenther@suse.de>
19495 PR middle-end/61437
19497 2014-06-04 Richard Biener <rguenther@suse.de>
19499 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
19500 TREE_PUBLIC and DECL_EXTERNAL decls.
19502 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
19504 * varasm.c (set_implicit_section): New function.
19505 (resolve_unique_section): Use it to set implicit section
19507 (get_named_text_section): Use symtab_get_node (decl)->implicit_section
19508 (default_function_section): Likewise.
19509 (decl_binds_to_current_def_p): Constify argument.
19510 * varasm.h (decl_binds_to_current_def_p): Update prototype.
19511 * asan.c (asan_protect_global): Use
19512 symtab_get_node (decl)->implicit_section.
19513 * symtab.c (dump_symtab_base): Dump implicit sections.
19514 (verify_symtab_base): Verify sanity of sectoins and comdats.
19515 (symtab_resolve_alias): Alias share the section of its target.
19516 (set_section_1): New function.
19517 (symtab_node::set_section): Move here, recurse to aliases.
19518 (verify_symtab): Check for duplicated symtab lists.
19519 * tree-core.h (implicit_section_name_p): Remove.
19520 * tree-vect-data-refs.c: Include varasm.h.
19521 (vect_can_force_dr_alignment_p): Fix conditional on when
19522 decl bints to current definition; use
19523 symtab_get_node (decl)->implicit_section.
19524 * cgraph.c (cgraph_make_node_local_1): Fix section set.
19525 * cgraph.h (struct symtab_node): Add implicit_section.
19526 (set_section): Rename to ...
19527 (set_section_for_node): ... this one.
19528 (set_section): Declare.
19529 * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove.
19530 * lto-cgraph.c (lto_output_node, lto_output_varpool_node,
19531 input_overwrite_node, input_varpool_node): Stream implicit_section.
19532 * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before
19533 removal; it will fail in LTO.
19535 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19537 * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>):
19538 Change second alternative type to f_mcr.
19539 * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th
19540 and 12th alternatives' types to f_mcr and f_mrc.
19541 (*movdi_aarch64): Same for 12th and 13th alternatives.
19542 (*movsf_aarch64): Change 9th alternatives' type to mov_reg.
19543 (aarch64_movtilow_tilow): Change type to fmov.
19545 2014-06-10 Jiong Wang <jiong.wang@arm.com>
19547 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs)
19548 (aarch64_save_or_restore_callee_save_registers): Fix layout.
19550 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19552 * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>):
19554 (aarch64_sqrdmulh_lane<mode>): Likewise.
19555 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
19556 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
19557 (aarch64_sqdmulh_laneq<mode>): New expander.
19558 (aarch64_sqrdmulh_laneq<mode>): Likewise.
19559 (aarch64_sq<r>dmulh_laneq<mode>): Rename to...
19560 (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this.
19561 (aarch64_sqdmulh_lane<mode>): New expander.
19562 (aarch64_sqrdmulh_lane<mode>): Likewise.
19563 (aarch64_sq<r>dmulh_lane<mode>): Rename to...
19564 (aarch64_sq<r>dmulh_lane<mode>_internal): ...this.
19565 (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian.
19566 (aarch64_sqdmlal_laneq<mode>): Likewise.
19567 (aarch64_sqdmlsl_lane<mode>): Likewise.
19568 (aarch64_sqdmlsl_laneq<mode>): Likewise.
19569 (aarch64_sqdmlal2_lane<mode>): Likewise.
19570 (aarch64_sqdmlal2_laneq<mode>): Likewise.
19571 (aarch64_sqdmlsl2_lane<mode>): Likewise.
19572 (aarch64_sqdmlsl2_laneq<mode>): Likewise.
19573 (aarch64_sqdmull_lane<mode>): Likewise.
19574 (aarch64_sqdmull_laneq<mode>): Likewise.
19575 (aarch64_sqdmull2_lane<mode>): Likewise.
19576 (aarch64_sqdmull2_laneq<mode>): Likewise.
19578 2014-06-10 Richard Biener <rguenther@suse.de>
19580 PR tree-optimization/61438
19581 * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member.
19582 (eliminate_dom_walker::before_dom_children): Only try to inhibit
19583 insertion of IVs if running PRE.
19584 (eliminate): Adjust.
19585 (pass_pre::execute): Likewise.
19586 (pass_fre::execute): Likewise.
19588 2014-06-10 Richard Biener <rguenther@suse.de>
19590 PR middle-end/61456
19591 * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
19592 Do not use the main variant for the type comparison.
19593 (ncr_compar): Likewise.
19594 (nonoverlapping_component_refs_p): Likewise.
19596 2014-06-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
19598 * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix
19599 REG_CFA_RESTORE mode.
19601 2014-06-10 Evgeny Stupachenko <evstupac@gmail.com>
19603 * config/i386/i386.c (expand_vec_perm_pblendv): New.
19604 * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use
19605 expand_vec_perm_pblendv.
19607 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
19609 * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are
19611 Simplify description of __crc32d and __crc32cd intrinsics.
19612 * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32
19615 2014-06-10 Thomas Schwinge <thomas@codesourcery.com>
19618 * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype.
19619 * config.in: Regenerate.
19620 * configure: Likewise.
19622 2014-06-10 Jan Hubicka <hubicka@ucw.cz>
19624 * ipa-reference.c (is_proper_for_analysis): Exclude addressable
19626 (intersect_static_var_sets): Remove.
19627 (propagate): Do not prune local statics.
19629 2014-06-10 Jakub Jelinek <jakub@redhat.com>
19632 * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>:
19633 Set lastprivate_firstprivate even if omp_private_outer_ref
19634 langhook returns true.
19635 <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor
19636 langhook, call unshare_expr on new_var and call
19637 build_outer_var_ref to get the last argument.
19639 2014-06-10 Marek Polacek <polacek@redhat.com>
19642 * doc/extend.texi: Add cindex for transparent_union.
19644 2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com>
19646 * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of
19647 init_symbolic_number ().
19649 2014-05-18 John David Anglin <danglin@gcc.gnu.org>
19651 PR middle-end/61141
19652 * emit-rtl.c (reset_all_used_flags): In a sequence, check that
19653 XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags.
19654 (verify_rtl_sharing): Likewise.
19656 2014-06-09 Marc Glisse <marc.glisse@inria.fr>
19659 * tree.c (build_qualified_type): Use a canonical type for
19662 2014-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
19664 * config/arm/arm-modes.def: Remove XFmode.
19666 2014-06-09 Alan Lawrence <alan.lawrence@arm.com>
19669 * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8,
19670 vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32,
19671 vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16,
19672 vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32,
19673 vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32,
19674 vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16,
19675 vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16,
19676 vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16,
19677 vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian.
19679 2014-06-09 Jan Hubicka <hubicka@ucw.cz>
19681 * tree-core.h (tree_decl_with_vis): Remove section_name.
19683 2014-06-09 Kito Cheng <kito@0xlab.org>
19685 * ira.c (ira): Don't call init_caller_save if LRA enabled
19686 since LRA use its own infrastructure to handle that.
19688 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
19690 * symtab.c (dump_symtab_base): Update dumping.
19691 (symtab_make_decl_local): Clear only DECL_COMDAT.
19692 * tree-vect-data-refs.c (Check that variable is static before
19693 tampering with sections.
19694 * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name.
19695 (cgraph_create_virtual_clone): Likewise.
19696 * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument.
19697 (decl_section_name, set_decl_section_name): New accessors.
19698 (find_decls_types_r): Do not walk section name
19699 * tree.h (DECL_SECTION_NAME): Implement using decl_section_name.
19700 (decl_comdat_group, decl_comdat_group_id): Constify.
19701 (decl_section_name, set_decl_section_name): Update.
19702 * varpool.c (varpool_finalize_named_section_flags): Use get_section.
19703 * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding.
19704 (cgraph_make_node_local_1): Clear section and comdat group.
19705 * cgraph.h (set_comdat_group): Sanity check.
19706 (get_section, set_section): New.
19707 * ipa-comdats.c (ipa_comdats): Use get_section.
19708 * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise.
19709 * lto-streamer-out.c: Do not follow section names.
19710 * c-family/c-common.c (handle_section_attribute): Update.
19711 * lto-cgraph.c (lto_output_node): Output section.
19712 (lto_output_varpool_node): Likewise.
19713 (read_comdat_group): Rename to ...
19714 (read_identifier): ... this one.
19715 (read_string_cst): New function.
19716 (input_node, input_varpool_node): Input section names.
19717 * tree-emutls.c (get_emutls_init_templ_addr): Update.
19718 (new_emutls_decl): Update.
19719 (secname_for_decl): Check section names only of static vars.
19720 * config/mep/mep.c (mep_unique_section): Use set_decl_section_name.
19721 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
19722 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
19723 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
19724 * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise.
19725 * config/mcore/mcore.c (mcore_unique_section): Likewise.
19726 * config/mips/mips.c (mips16_build_function_stub): Likewise.
19727 * config/v850/v850.c (v850_insert_attributes): Likewise.
19728 * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
19730 (h8300_handle_tiny_data_attribute): Likewise.
19731 * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise.
19732 (bfin_handle_l2_attribute): Likewise.
19734 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
19736 * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag;
19737 remove static initializer.
19739 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
19741 * varasm.c (use_blocks_for_decl_p): Check symbol table
19742 instead of alias attribute.
19743 (place_block_symbol): Recurse on aliases.
19745 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
19747 * ipa-visibility.c: Include varasm.h
19748 (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p.
19750 2014-06-07 Jan Hubicka <hubicka@ucw.cz>
19752 * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before
19753 outputting aliases.
19755 2014-06-07 Steven Bosscher <steven@gcc.gnu.org>
19757 * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers
19758 from test_insn into GGC space escape via SET_SRC.
19760 2014-06-07 Eric Botcazou <ebotcazou@adacore.com>
19762 * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a
19763 call statement, if any.
19764 (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call
19765 statements, if any. Tidy up.
19767 2014-06-06 Michael Meissner <meissner@linux.vnet.ibm.com>
19770 * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate
19771 iterators, VSX_D that handles 64-bit types, and VSX_LE that
19772 handles swapping the two 64-bit double words on little endian
19773 systems. Include V1TImode and optionally TImode in VSX_LE so that
19774 these types are properly swapped. Change all of the insns and
19775 splits that do the 64-bit swaps to use VSX_LE.
19776 (vsx_le_perm_load_<mode>): Likewise.
19777 (vsx_le_perm_store_<mode>): Likewise.
19778 (splitters for little endian memory operations): Likewise.
19779 (vsx_xxpermdi2_le_<mode>): Likewise.
19780 (vsx_lxvd2x2_le_<mode>): Likewise.
19781 (vsx_stxvd2x2_le_<mode>): Likewise.
19783 2014-06-06 Uros Bizjak <ubizjak@gmail.com>
19786 * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
19787 define_insn_and_split pattern, merged from *floatunssi<mode>2_1
19788 and corresponding splitters. Zero extend general register
19789 or memory input operand to XMM temporary. Enable for
19790 TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
19791 (floatunssi<mode>2): Update expander predicate.
19793 2014-06-06 Vladimir Makarov <vmakarov@redhat.com>
19795 PR rtl-optimization/61325
19796 * lra-constraints.c (process_address_1): Check scale equal to one
19797 to prevent transformation: base + scale * index => base + new_reg.
19799 2014-06-06 Richard Biener <rguenther@suse.de>
19801 PR tree-optimization/59299
19802 * tree-ssa-sink.c (all_immediate_uses_same_place): Work on
19804 (nearest_common_dominator_of_uses): Likewise.
19805 (statement_sink_location): Adjust. Support sinking loads.
19807 2014-06-06 Martin Jambor <mjambor@suse.cz>
19809 * ipa-prop.c (get_place_in_agg_contents_list): New function.
19810 (build_agg_jump_func_from_list): Likewise.
19811 (determine_known_aggregate_parts): Renamed to
19812 determine_locally_known_aggregate_parts. Moved some functionality
19813 to the two functions above, removed bound checks.
19815 2014-06-06 James Greenhalgh <james.greenhalgh@arm.com>
19817 * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New.
19818 * config/aarch64/aarch64.c (aarch64_move_pointer): New.
19819 (aarch64_progress_pointer): Likewise.
19820 (aarch64_copy_one_part_and_move_pointers): Likewise.
19821 (aarch64_expand_movmen): Likewise.
19822 * config/aarch64/aarch64.h (MOVE_RATIO): Set low.
19823 * config/aarch64/aarch64.md (movmem<mode>): New.
19825 2014-06-06 Bingfeng Mei <bmei@broadcom.com>
19827 * targhooks.c (default_add_stmt_cost): Call target specific
19828 hook instead of default one.
19830 2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
19832 * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target
19833 endianness instead of host endianness.
19834 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and
19837 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
19840 * function.c (instantiate_decls): Process the saved static chain.
19841 (expand_function_start): If not optimizing, save the static chain
19843 * tree-nested.c (convert_all_function_calls): Always create the static
19844 chain for nested functions if not optimizing.
19846 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
19848 * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge.
19850 2014-06-06 Richard Biener <rguenther@suse.de>
19852 * cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
19853 (construct_init_block): Likewise.
19854 (construct_exit_block): Likewise.
19855 (pass_expand::execute): Likewise.
19856 * graphite.c (graphite_transforms): Replace check for current_loops
19857 with a check for > 1 loops.
19858 (pass_graphite_transforms::execute): Adjust.
19859 * ipa-split.c (split_function): Remove check for current_loops.
19860 * omp-low.c (expand_parallel_call): Likewise.
19861 (expand_omp_for_init_counts): Likewise.
19862 (extract_omp_for_update_vars): Likewise.
19863 (expand_omp_for_generic): Likewise.
19864 (expand_omp_sections): Likewise.
19865 (expand_omp_target): Likewise.
19866 * tracer.c (tail_duplicate): Likewise.
19867 (pass_tracer::execute): Likewise.
19868 * trans-mem.c (expand_transaction): Likewise.
19869 * tree-complex.c (expand_complex_div_wide): Likewise.
19870 * tree-eh.c (lower_resx): Likewise.
19871 (cleanup_empty_eh_merge_phis): Likewise.
19872 * tree-predcom.c (run_tree_predictive_commoning): Replace check for
19873 current_loops with a check for > 1 loops.
19874 (pass_predcom::execute): Adjust.
19875 * tree-scalar-evolution.c (scev_reset): Remove check for current_loops.
19876 * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise.
19877 * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise.
19878 * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise.
19879 * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.
19880 * tree-switch-conversion.c (process_switch): Likewise.
19881 * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
19882 * tree-vrp.c (vrp_visit_phi_node): Likewise.
19883 (execute_vrp): Likewise.
19884 * ubsan.c (ubsan_expand_null_ifn): Likewise.
19886 2014-06-06 Eric Botcazou <ebotcazou@adacore.com>
19888 * rtl.h (insn_location): Declare.
19889 * cfgcleanup.c (try_forward_edges): Compare the locus of locations
19890 with UNKNOWN_LOCATION.
19891 * emit-rtl.c (insn_location): New function.
19892 * final.c (notice_source_line): Check that the instruction has a
19893 location before retrieving it and use insn_location.
19894 * modulo-sched.c (loop_single_full_bb_p): Likewise.
19895 * print-rtl.c (print_rtx): Likewise.
19897 2014-06-06 Richard Biener <rguenther@suse.de>
19899 * passes.def: Move 2nd VRP pass before phi-only-cprop.
19901 2014-06-06 Christian Bruel <christian.bruel@st.com>
19903 PR tree-optimization/43934
19904 * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant
19907 2014-06-06 Richard Sandiford <rdsandiford@googlemail.com>
19909 * ira-lives.c (single_reg_class): Add missing break. Explicitly
19910 return NO_REGS for extra address and memory constraints. Handle
19911 operands that match (or are equivalent to something that matches)
19912 extra constant constraints. Ignore other non-register operands.
19914 2014-06-06 Alan Modra <amodra@gmail.com>
19917 * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
19918 * doc/tm.texi: Regenerate.
19919 * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
19920 Use throughout in place of REG_PARM_STACK_SPACE.
19921 * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
19922 "incoming" param. Pass to rs6000_function_parms_need_stack.
19923 (rs6000_function_parms_need_stack): Add "incoming" param, ignore
19924 prototype_p when incoming. Use function decl when incoming
19925 to handle K&R style functions.
19926 * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
19927 (INCOMING_REG_PARM_STACK_SPACE): Define.
19929 2014-06-05 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
19932 * cfgexpand.c (expand_debug_expr): Use address space of nested
19933 TREE_TYPE for ADDR_EXPR and MEM_REF.
19935 2014-06-05 Jeff Law <law@redhat.com>
19937 PR tree-optimization/61289
19938 * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and
19939 DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES
19940 looking for those which match LHS. All callers changed.
19941 (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP
19942 parameters and code which manipulated them. All callers changed.
19943 (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP
19944 and DST_MAP parameters. Simplify invalidation code by just calling
19945 invalidate_equivalences. All callers changed.
19946 (thread_across_edge): Simplify now that we don't need to maintain
19947 the map of equivalences to invalidate.
19949 2014-06-05 Kai Tietz <ktietz@redhat.com>
19950 Richard Henderson <rth@redhat.com>
19953 * config/i386/predicates.md (memory_nox32_operand): Add memory_operand
19954 checking for !TARGET_X32.
19955 * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant.
19956 (sibcall_intern): New define_insn, plus required peepholes.
19957 (sibcall_pop_intern): Likewise.
19958 (sibcall_value_intern): Likewise.
19959 (sibcall_value_pop_intern): Likewise.
19961 2014-06-05 Ilya Enkovich <ilya.enkovich@intel.com>
19963 * tree-inline.c (tree_function_versioning): Check DF info existence
19964 before accessing it.
19966 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
19968 * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and
19970 * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize
19971 aarch64_frame hard_fp_offset and frame_size.
19972 (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and
19973 frame_size; remove original_frame_size.
19974 (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise.
19975 (aarch64_initial_elimination_offset): Remove frame_size and
19976 offset. Use aarch64_frame frame_size.
19978 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
19979 Jiong Wang <jiong.wang@arm.com>
19980 Renlin <renlin.li@arm.com>
19982 * config/aarch64/aarch64.c (aarch64_layout_frame): Correct
19983 initialization of R30 offset. Update offset. Iterate core
19984 regisers upto X30. Remove X29, X30 specific code.
19986 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
19987 Jiong Wang <jiong.wang@arm.com>
19989 * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define.
19990 (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED.
19991 (aarch64_register_saved_on_entry): Adjust test.
19993 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
19995 * config/aarch64/aarch64.h (machine_function): Move
19996 saved_varargs_size from here...
19997 (aarch64_frame): ... to here.
19999 * config/aarch64/aarch64.c (aarch64_expand_prologue)
20000 (aarch64_expand_epilogue, aarch64_final_eh_return_addr)
20001 (aarch64_initial_elimination_offset)
20002 (aarch64_setup_incoming_varargs): Adjust location of
20003 saved_varargs_size.
20005 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
20007 * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack
20010 2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com>
20011 Prachi Godbole <Prachi.Godbole@imgtec.com>
20013 * config/mips/mips-cpus.def: Add definition for p5600. Updated
20014 mips32r5 entry to use PROCESSOR_P5600.
20015 * config/mips/mips-tables.opt: Regenerate.
20016 * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype.
20017 * config/mips/mips.c (mips_fmadd_bypass): New function.
20018 (mips_rtx_cost_data): Add costs for p5600.
20019 (mips_issue_rate): Add support for p5600.
20020 (mips_multipass_dfa_lookahead): Likewise.
20021 * config/mips/mips.h (TUNE_P5600): New define.
20022 (TUNE_MACC_CHAINS): Add TUNE_P5600.
20023 (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5.
20024 * config/mips/mips.md: Include p5600.md.
20025 (processor): Add p5600.
20026 * config/mips/p5600.md: New file.
20028 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com>
20030 * config/i386/sse.md (*ssse3_palignr<mode>_perm): New.
20031 * config/i386/predicates.md (palignr_operand): New.
20032 Indicates if permutation is suitable for palignr instruction.
20034 2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
20036 PR tree-optimization/61319
20037 * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
20038 stmt belongs to loop.
20040 2014-06-05 Richard Biener <rguenther@suse.de>
20042 * gimplify.c (create_tmp_from_val): Remove is_formal parameter
20043 and set DECL_GIMPLE_REG_P unconditionally if appropriate.
20044 (lookup_tmp_var): Adjust.
20045 (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here.
20047 2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
20049 * config/arm/arm.md (enabled): Disable opt_enabled attribute.
20051 2014-06-05 Marek Polacek <polacek@redhat.com>
20054 * doc/invoke.texi: Document -Wlogical-not-parentheses.
20056 2014-06-04 Tom de Vries <tom@codesourcery.com>
20058 * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on
20061 2014-06-04 Marc Glisse <marc.glisse@inria.fr>
20063 PR tree-optimization/61385
20064 * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes.
20066 2014-06-04 Bernd Schmidt <bernds@codesourcery.com>
20068 * lto-wrapper.c (fatal, fatal_perror): Remove functions. All callers
20069 changed to use fatal_error.
20070 (main): Ensure lto_wrapper_cleanup is run atexit.
20072 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20074 * lra-constraints.c (valid_address_p): Move earlier in file.
20075 (address_eliminator): New structure.
20076 (satisfies_memory_constraint_p): New function.
20077 (satisfies_address_constraint_p): Likewise.
20078 (process_alt_operands, process_address, curr_insn_transform): Use them.
20080 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20082 * lra-int.h (lra_static_insn_data): Make operand_alternative a
20084 (target_lra_int, default_target_lra_int, this_target_lra_int)
20085 (op_alt_data): Delete.
20086 * lra.h (lra_init): Delete.
20087 * lra.c (default_target_lra_int, this_target_lra_int): Delete.
20088 (init_insn_code_data_once): Remove op_alt_data handling.
20089 (finish_insn_code_data_once): Likewise.
20090 (init_op_alt_data): Delete.
20091 (get_static_insn_data): Initialize operand_alternative to null.
20092 (free_insn_recog_data): Cast operand_alternative before freeing it.
20093 (setup_operand_alternative): Take the operand_alternative as
20094 parameter and assume it isn't already cached in the static
20096 (lra_set_insn_recog_data): Update accordingly.
20097 (lra_init): Delete.
20098 * ira.c (ira_init): Don't call lra_init.
20099 * target-globals.h (this_target_lra_int): Declare.
20100 (target_globals): Remove lra_int.
20101 (restore_target_globals): Update accordingly.
20102 * target-globals.c: Don't include lra-int.h.
20103 (default_target_globals, save_target_globals): Remove lra_int.
20105 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20107 * recog.h (operand_alternative): Convert reg_class, reject,
20108 matched and matches into bitfields.
20109 (preprocess_constraints): New overload.
20110 (preprocess_insn_constraints): New function.
20111 (preprocess_constraints): Take the insn as parameter.
20112 (recog_op_alt): Change into a pointer.
20113 (target_recog): Add x_op_alt.
20114 * recog.c (asm_op_alt): New variable.
20115 (recog_op_alt): Change into a pointer.
20116 (preprocess_constraints): New overload, replacing the old function
20117 definition with one that doesn't use global state.
20118 (preprocess_insn_constraints): New function.
20119 (preprocess_constraints): Use them. Take the insn as parameter.
20120 Use asm_op_alt for asms.
20121 (recog_init): Free existing x_op_alt entries.
20122 * ira-lives.c (check_and_make_def_conflict): Make operand_alternative
20124 (make_early_clobber_and_input_conflicts): Likewise.
20125 (process_bb_node_lives): Pass the insn to process_constraints.
20126 * reg-stack.c (check_asm_stack_operands): Likewise.
20127 (subst_asm_stack_regs): Likewise.
20128 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
20129 * regrename.c (build_def_use): Likewise.
20130 * sched-deps.c (sched_analyze_insn): Likewise.
20131 * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise.
20132 * config/arm/arm.c (xscale_sched_adjust_cost): Likewise.
20133 (note_invalid_constants): Likewise.
20134 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
20135 (ix86_legitimate_combined_insn): Make operand_alternative pointer
20138 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20140 * recog.c (preprocess_constraints): Don't skip disabled alternatives.
20141 * ira-lives.c (check_and_make_def_conflict): Check for disabled
20143 (make_early_clobber_and_input_conflicts): Likewise.
20144 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
20146 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20148 * recog.h (alternative_class): New function.
20149 (which_op_alt): Return a const recog_op_alt.
20150 * reg-stack.c (check_asm_stack_operands): Update type accordingly.
20151 (subst_asm_stack_regs): Likewise.
20152 * config/arm/arm.c (note_invalid_constants): Likewise.
20153 * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify
20154 the operand_alternative; use alternative class instead.
20155 * sel-sched.c (get_reg_class): Likewise.
20156 * regrename.c (build_def_use): Likewise.
20157 (hide_operands, restore_operands, record_out_operands): Update type
20160 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com>
20162 * recog.h (recog_op_alt): Convert to a flat array.
20163 (which_op_alt): New function.
20164 * recog.c (recog_op_alt): Convert to a flat array.
20165 (preprocess_constraints): Update accordingly, grouping all
20166 operands of the same alternative together, rather than the
20168 * ira-lives.c (check_and_make_def_conflict): Likewise.
20169 (make_early_clobber_and_input_conflicts): Likewise.
20170 * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise.
20171 * reg-stack.c (check_asm_stack_operands): Use which_op_alt.
20172 (subst_asm_stack_regs): Likewise.
20173 * regcprop.c (copyprop_hardreg_forward_1): Likewise.
20174 * regrename.c (hide_operands, record_out_operands): Likewise.
20175 (build_def_use): Likewise.
20176 * sel-sched.c (get_reg_class): Likewise.
20177 * config/arm/arm.c (note_invalid_constants): Likewise.
20179 2014-06-04 Jason Merrill <jason@redhat.com>
20183 * gimplify.c (gimplify_arg): Non-static.
20184 * gimplify.h: Declare it.
20186 2014-06-04 Richard Biener <rguenther@suse.de>
20188 * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from
20189 TREE_PUBLIC and DECL_EXTERNAL decls.
20191 2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com>
20193 * regcprop.c (copyprop_hardreg_forward_1): Account for
20194 HARD_REGNO_CALL_PART_CLOBBERED.
20196 2014-06-04 Richard Biener <rguenther@suse.de>
20198 * configure.ac: Check whether the underlying type of int64_t
20199 is long or long long.
20200 * configure: Regenerate.
20201 * config.in: Likewise.
20202 * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t.
20203 (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
20205 2014-06-04 Richard Biener <rguenther@suse.de>
20207 PR tree-optimization/60098
20208 * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until
20210 (dse_optimize_stmt): Simplify, now that we found a kill
20213 2014-06-04 Richard Biener <rguenther@suse.de>
20215 * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling
20216 of accesses with non-invariant address.
20218 2014-06-04 Martin Liska <mliska@suse.cz>
20220 * cgraph.h (cgraph_make_wrapper): New function introduced.
20221 * cgraphunit.c (cgraph_make_wrapper): The function implementation.
20222 * ipa-inline.h (inline_analyze_function): The function is global.
20223 * ipa-inline-analysis.c (inline_analyze_function): Likewise.
20225 2014-06-04 Martin Liska <mliska@suse.cz>
20227 * tree.h (private_lookup_attribute_starting): New function.
20228 (lookup_attribute_starting): Likewise.
20229 * tree.c (private_lookup_attribute_starting): Likewise.
20231 2014-06-04 Martin Liska <mliska@suse.cz>
20233 * cgraph.h (expand_thunk): New argument added.
20234 (address_taken_from_non_vtable_p): New global function.
20235 * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise.
20236 * cgraphclones.c (duplicate_thunk_for_node): Argument added to call.
20237 * cgraphunit.c (analyze_function): Likewise.
20238 (assemble_thunks_and_aliases): Argument added to call.
20239 (expand_thunk): New argument forces to produce GIMPLE thunk.
20241 2014-06-04 Martin Liska <mliska@suse.cz>
20243 * coverage.h (coverage_compute_cfg_checksum): Argument added.
20244 * coverage.c (coverage_compute_cfg_checksum): Likewise.
20245 * profile.c (branch_prob): Likewise.
20247 2014-06-04 Martin Jambor <mjambor@suse.cz>
20250 * ipa-pure-const.c (propagate_pure_const): Add unreachable default
20251 handler for switch on an ipa_ref_use enum.
20252 * ipa-reference.c (analyze_function): Likewise.
20254 2014-06-04 Kai Tietz <ktietz@redhat.com>
20256 * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag
20257 from old call-instruction.
20259 2014-06-04 Bin Cheng <bin.cheng@arm.com>
20261 * config/aarch64/aarch64.c (aarch64_classify_address)
20262 (aarch64_legitimize_reload_address): Support full addressing modes
20264 * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>)
20265 (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates.
20267 2014-06-03 Andrew Pinski <apinski@cavium.com>
20269 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
20272 2014-06-03 Andrew Pinski <apinski@cavium.com>
20274 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
20275 (aarch64_rtx_costs): Use aarch64_if_then_else_costs.
20277 2014-06-03 Kai Tietz <ktietz@redhat.com>
20279 * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
20282 2014-06-03 Dehao Chen <dehao@google.com>
20284 * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
20287 2014-06-03 Marek Polacek <polacek@redhat.com>
20290 * doc/invoke.texi: Document -Wswitch-bool.
20291 * function.c (stack_protect_epilogue): Cast controlling expression of
20293 * gengtype.c (walk_type): Generate switch expression with its
20294 controlling expression cast to int.
20296 2014-06-03 Vishnu K S <Vishnu.k_s@atmel.com>
20298 * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828
20300 * config/avr/avr-tables.opt: Regenerate.
20301 * config/avr/t-multilib: Regenerate.
20302 * doc/avr-mmcu.texi: Regenerate.
20304 2014-06-03 Vishnu K S <vishnu.k_s@atmel.com>
20305 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
20307 * config/avr/avr-mcus.def (ata6616c): Add new avr25 device.
20308 (ata6617c, ata664251): Add new avr35 devices.
20309 (ata6612c): Add new avr4 device.
20310 (ata6613c, ata6614q): Add new avr5 devices.
20311 * config/avr/avr-tables.opt: Regenerate.
20312 * config/avr/t-multilib: Regenerate.
20313 * doc/avr-mmcu.texi: Regenerate.
20315 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
20317 * gcc/config/aarch64/aarch64-builtins.c
20318 (aarch64_types_binop_ssu_qualifiers): New static data.
20319 (TYPES_BINOP_SSU): Define.
20320 * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl,
20321 urshr_n, ushll_n): Use appropriate unsigned qualifiers.
20322 * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32,
20323 vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64,
20324 vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8,
20325 vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8,
20326 vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32,
20327 vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64,
20328 vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness
20329 suffix to builtin function name, remove cast.
20330 (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32,
20331 vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8,
20332 vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast.
20334 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
20336 * gcc/config/aarch64/aarch64-builtins.c
20337 (aarch64_types_binop_uus_qualifiers,
20338 aarch64_types_shift_to_unsigned_qualifiers,
20339 aarch64_types_unsigned_shiftacc_qualifiers): Define.
20340 * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd,
20341 uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n,
20342 sqshlu_n, uqshl_n): Update qualifiers.
20343 * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32,
20344 vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8,
20345 vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32,
20346 vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8,
20347 vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16,
20348 vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32,
20349 vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64,
20350 vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16,
20351 vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64,
20352 vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16,
20353 vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32,
20354 vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64,
20355 vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8,
20356 vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8,
20357 vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16,
20358 vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32,
20359 vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64,
20360 vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8,
20361 vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8,
20362 vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16,
20363 vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16,
20364 vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32,
20365 vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64,
20366 vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8,
20367 vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8,
20368 vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16,
20369 vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts.
20371 2014-06-03 Teresa Johnson <tejohnson@google.com>
20373 * tree-sra.c (modify_function): Record caller nodes after rebuild.
20375 2014-06-02 Jason Merrill <jason@redhat.com>
20378 * varpool.c (ctor_for_folding): Handle uninitialized vtables.
20380 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
20382 * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle
20385 2014-06-03 Alan Lawrence <alan.lawrence@arm.com>
20387 * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>):
20389 * config/aarch64/aarch64.c (aarch64_evpc_rev): New function.
20390 (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev.
20391 * config/aarch64/iterators.md (REVERSE): New iterator.
20392 (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements.
20393 (rev_op): New int_attribute.
20394 * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8,
20395 vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8,
20396 vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8,
20397 vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8,
20398 vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16,
20399 vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8,
20400 vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32):
20401 Replace temporary __asm__ with __builtin_shuffle.
20403 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
20405 * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and
20407 * config/mips/mips-tables.opt: Regenerate.
20408 * config/mips/mips.c (mips_compute_frame_info): Changed if statement
20409 to use mips_isa_rev rather than ISA_MIPS32R2.
20410 * config/mips/mips.h (ISA_MIPS32R3): New define.
20411 (ISA_MIPS32R5): New define.
20412 (ISA_MIPS64R3): New define.
20413 (ISA_MIPS64R5): New define.
20414 (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3,
20415 ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5.
20416 (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3
20418 (MIPS_ISA_SYNCI_SPEC): Likewise.
20419 (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5.
20420 (LINK_SPEC): Added mips32r3 and mips32r5.
20421 * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5
20422 to mips32r2; and mips64r3 and mips64r5 to mips64r2.
20423 * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise.
20424 * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise.
20425 * config/mips/t-sde (MULTILIB_MATCHES): Likewise.
20426 * config/mips/t-sdemtk (MULTILIB_MATCHES): New define.
20427 * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5.
20429 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com>
20431 * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line
20433 * config/mips/mips.opt (mxpa): New option.
20434 * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the
20437 2014-06-03 Martin Jambor <mjambor@suse.cz>
20440 * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to
20443 2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
20445 PR tree-optimization/61328
20446 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number
20447 initialization from find_bswap_or_nop_1.
20448 (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored
20449 in source_expr2 before using the size value the function sets. Also
20450 make use of init_symbolic_number () in both the old place and
20451 find_bswap_or_nop_load () to avoid reading uninitialized memory when
20452 doing recursion in the GIMPLE_BINARY_RHS case.
20454 2014-06-03 Richard Biener <rguenther@suse.de>
20456 PR tree-optimization/61383
20457 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure
20460 2014-06-03 Richard Sandiford <rdsandiford@googlemail.com>
20462 * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT)
20463 (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN)
20464 (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P)
20465 (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions
20467 (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
20468 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to...
20469 * system.h: ...here and make it unconditional.
20470 * target.def (conditional_register_usage): Mention
20471 define_register_constraint instead of old-style constraint macros.
20472 * doc/tm.texi.in: Remove documentation for old-style constraint macros.
20473 * doc/tm.texi: Regenerate.
20474 * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code
20475 protected by !USE_MD_CONSTRAINTS.
20476 * config/frv/frv.md: Remove quote from old version of documentation.
20477 * config/frv/frv.c (frv_conditional_register_usage): Likewise.
20478 * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning
20479 CONST_DOUBLE_OK_FOR_LETTER.
20480 * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT.
20482 2014-06-02 Andrew Pinski <apinski@cavium.com>
20484 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER):
20485 /lib/ld-linux32-aarch64.so.1 is used for ILP32.
20486 (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32.
20487 file whose name depends on -mabi= and -mbig-endian.
20488 * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES):
20489 Handle LP64 better and handle ilp32 too.
20490 (MULTILIB_OPTIONS): Delete.
20491 (MULTILIB_DIRNAMES): Delete.
20493 2014-06-02 Andrew MacLeod <amacleod@redhat.com>
20495 * expr.h: Remove prototypes of functions defined in builtins.c.
20496 * tree.h: (build_call_expr_*, build_string_literal): Add prototypes.
20497 Remove prototypes of functions defined in builtins.c.
20498 * builtins.h: Update prototype list to include all exported functions.
20499 * builtins.c: (default_libc_has_function, gnu_libc_has_function,
20500 no_c99_libc_has_function): Move to targhooks.c
20501 (build_string_literal, build_call_expr_loc_array,
20502 build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move
20504 (expand_builtin_object_size, fold_builtin_object_size): Make static.
20505 * targhooks.c (default_libc_has_function, gnu_libc_has_function,
20506 no_c99_libc_has_function): Relocate from builtins.c.
20507 * tree.c: Include builtins.h.
20508 (build_call_expr_loc_array, build_call_expr_loc_vec,
20509 build_call_expr_loc, build_call_expr, build_string_literal): Relocate
20511 * fold-const.h (fold_fma): Move prototype to builtins.h.
20512 * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h.
20513 * asan.c: Include builtins.h.
20514 * cfgexpand.c: Likewise.
20515 * convert.c: Likewise.
20516 * emit-rtl.c: Likewise.
20517 * except.c: Likewise.
20518 * expr.c: Likewise.
20519 * fold-const.c: Likewise.
20520 * gimple-fold.c: Likewise.
20521 * gimple-ssa-strength-reduction.c: Likewise.
20522 * gimplify.c: Likewise.
20523 * ipa-inline.c: Likewise.
20524 * ipa-prop.c: Likewise.
20525 * lto-streamer-out.c: Likewise.
20526 * stmt.c: Likewise.
20527 * tree-inline.c: Likewise.
20528 * tree-object-size.c: Likewise.
20529 * tree-sra.c: Likewise.
20530 * tree-ssa-ccp.c: Likewise.
20531 * tree-ssa-forwprop.c: Likewise.
20532 * tree-ssa-loop-ivcanon.c: Likewise.
20533 * tree-ssa-loop-ivopts.c: Likewise.
20534 * tree-ssa-math-opts.c: Likewise.
20535 * tree-ssa-reassoc.c: Likewise.
20536 * tree-ssa-threadedge.c: Likewise.
20537 * tree-streamer-in.c: Likewise.
20538 * tree-vect-data-refs.c: Likewise.
20539 * tree-vect-patterns.c: Likewise.
20540 * tree-vect-stmts.c: Likewise.
20541 * config/aarch64/aarch64.c: Likewise.
20542 * config/alpha/alpha.c: Likewise.
20543 * config/arc/arc.c: Likewise.
20544 * config/arm/arm.c: Likewise.
20545 * config/avr/avr.c: Likewise.
20546 * config/bfin/bfin.c: Likewise.
20547 * config/c6x/c6x.c: Likewise.
20548 * config/cr16/cr16.c: Likewise.
20549 * config/cris/cris.c: Likewise.
20550 * config/epiphany/epiphany.c: Likewise.
20551 * config/fr30/fr30.c: Likewise.
20552 * config/frv/frv.c: Likewise.
20553 * config/h8300/h8300.c: Likewise.
20554 * config/i386/i386.c: Likewise.
20555 * config/i386/winnt.c: Likewise.
20556 * config/ia64/ia64.c: Likewise.
20557 * config/iq2000/iq2000.c: Likewise.
20558 * config/lm32/lm32.c: Likewise.
20559 * config/m32c/m32c.c: Likewise.
20560 * config/m32r/m32r.c: Likewise.
20561 * config/m68k/m68k.c: Likewise.
20562 * config/mcore/mcore.c: Likewise.
20563 * config/mep/mep.c: Likewise.
20564 * config/microblaze/microblaze.c: Likewise.
20565 * config/mips/mips.c: Likewise.
20566 * config/mmix/mmix.c: Likewise.
20567 * config/mn10300/mn10300.c: Likewise.
20568 * config/moxie/moxie.c: Likewise.
20569 * config/msp430/msp430.c: Likewise.
20570 * config/nds32/nds32.c: Likewise.
20571 * config/pa/pa.c: Likewise.
20572 * config/pdp11/pdp11.c: Likewise.
20573 * config/picochip/picochip.c: Likewise.
20574 * config/rl78/rl78.c: Likewise.
20575 * config/rs6000/rs6000.c: Likewise.
20576 * config/rx/rx.c: Likewise.
20577 * config/s390/s390.c: Likewise.
20578 * config/score/score.c: Likewise.
20579 * config/sh/sh.c: Likewise.
20580 * config/sparc/sparc.c: Likewise.
20581 * config/spu/spu.c: Likewise.
20582 * config/stormy16/stormy16.c: Likewise.
20583 * config/tilegx/tilegx.c: Likewise.
20584 * config/tilepro/tilepro.c: Likewise.
20585 * config/v850/v850.c: Likewise.
20586 * config/vax/vax.c: Likewise.
20587 * config/xtensa/xtensa.c: Likewise.
20589 2014-06-02 Jeff Law <law@redhat.com>
20591 PR rtl-optimization/61094
20592 * ree.c (combine_reaching_defs): Do not reextend an insn if it
20593 was marked as do_no_reextend. If a copy is needed to eliminate
20594 an extension, then mark it as do_not_reextend.
20596 2014-06-02 Marcus Shawcroft <marcus.shawcroft@arm.com>
20598 * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write.
20600 2014-06-02 Richard Henderson <rth@redhat.com>
20603 * config/alpha/alpha.c (print_operand_address): Allow symbolic
20604 addresses inside asms. Use output_operand_lossage instead of
20607 2014-06-02 Uros Bizjak <ubizjak@gmail.com>
20610 * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use
20611 GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant.
20613 2014-06-02 Tom de Vries <tom@codesourcery.com>
20615 * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
20616 case that x has VOIDmode.
20618 2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
20620 * varasm.c (copy_constant): Delete function.
20621 (build_constant_desc): Don't call it.
20623 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
20626 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define.
20627 * config/arm/arm.md (mov64 splitter): Replace const_double_operand
20628 with immediate_operand.
20630 2014-06-02 Andreas Schwab <schwab@suse.de>
20632 * config/ia64/ia64.c
20633 (ia64_first_cycle_multipass_dfa_lookahead_guard): Check
20634 pending_data_specs first.
20636 2014-06-02 Richard Biener <rguenther@suse.de>
20638 PR tree-optimization/61378
20639 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize
20640 valueized_anything.
20642 2014-06-01 Uros Bizjak <ubizjak@gmail.com>
20644 * config/i386/constraints.md (Bw): Rename from 'w'.
20645 (Bz): Rename from 'z'.
20646 * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally.
20648 2014-06-01 Kai Tietz <ktietz@redhat.com>
20651 * config/i386/constrains.md (define_constrain): New 'Bs' constraint.
20652 * config/i386/i386.md (sibcall_insn_operand): Use Bs
20653 instead of m constraint.
20655 2014-05-31 Andreas Schwab <schwab@linux-m68k.org>
20657 * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint
20658 a separate alternative where the scratch operand 2 is marked as
20661 2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org>
20663 * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
20664 (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
20665 (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
20666 and __builtins_arm_get_fpscr.
20667 (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
20668 __builtins_arm_get_fpscr.
20669 (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
20670 __builtins_arm_ldfpscr.
20671 (arm_atomic_assign_expand_fenv): New function.
20672 * config/arm/vfp.md (set_fpscr): New pattern.
20673 (get_fpscr) : Likewise.
20674 * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
20676 * doc/extend.texi (AARCH64 Built-in Functions) : Document
20677 __builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
20679 2014-05-30 Jakub Jelinek <jakub@redhat.com>
20681 * asan.c (report_error_func): Add SLOW_P argument, use
20682 BUILT_IN_ASAN_*_N if set.
20683 (build_check_stmt): Likewise.
20684 (instrument_derefs): If T has insufficient alignment,
20685 force same handling as for odd sizes.
20687 * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N,
20688 BUILT_IN_ASAN_REPORT_STORE_N): New.
20689 * asan.c (struct asan_mem_ref): Change access_size type to
20691 (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call,
20692 update_mem_ref_hash_table): Likewise.
20693 (asan_mem_ref_hasher::hash): Hash in a HWI.
20694 (report_error_func): Change size_in_bytes argument to HWI.
20695 Use *_N builtins if size_in_bytes is larger than 16 or not power of
20697 (build_shadow_mem_access): New function.
20698 (build_check_stmt): Use it. Change size_in_bytes argument to HWI.
20699 Handle size_in_bytes not power of two or larger than 16.
20700 (instrument_derefs): Don't give up if size_in_bytes is not
20701 power of two or is larger than 16.
20703 2014-05-30 Kai Tietz <ktietz@redhat.com>
20706 * config/i386/i386.c (x86_output_mi_thunk): Add memory case
20707 for sibling-tail-calls.
20708 * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain
20710 * config/i386/predicates.md (sibcall_memory_operand): New predicate.
20711 (sibcall_insn_operand): Add check for sibcall_memory_operand.
20713 2014-05-30 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
20715 * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4
20716 * config/avr/avr-tables.opt: Regenerate.
20717 * config/avr/t-multilib: Regenerate.
20718 * doc/avr-mmcu.texi: Regenerate.
20720 2014-05-30 Ian Lance Taylor <iant@google.com>
20722 * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma
20725 2014-05-30 Tom de Vries <tom@codesourcery.com>
20727 * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
20730 2014-05-30 Tom de Vries <tom@codesourcery.com>
20732 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
20733 * lra.c (initialize_lra_reg_info_element): Add init of
20734 actual_call_used_reg_set field.
20735 (lra): Call lra_create_live_ranges before lra_inheritance for
20737 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
20739 * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
20740 instead of call_used_reg_set for -fuse-caller-save.
20741 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
20743 2014-05-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20745 * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw
20747 * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise.
20749 2014-05-30 Richard Sandiford <rdsandiford@googlemail.com>
20751 * ira.c (ira_get_dup_out_num): Check for output operands at
20752 the start of the loop. Handle cases where an included alternative
20753 follows an excluded one.
20755 2014-05-29 Mike Stump <mikestump@comcast.net>
20758 * collect2.c (maybe_run_lto_and_relink): Be sure to always run
20759 post ld passes when lto is used.
20761 2014-05-29 Vladimir Makarov <vmakarov@redhat.com>
20763 PR rtl-optimization/61325
20764 * lra-constraints.c (process_address): Rename to process_address_1.
20765 (process_address): New function.
20767 2014-05-29 Alan Lawrence <alan.lawrence@arm.com>
20769 * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers,
20770 TYPES_BINOPV): New static data.
20771 * config/aarch64/aarch64-simd-builtins.def (im_lane_bound):
20773 * config/aarch64/aarch64-simd.md (aarch64_ext,
20774 aarch64_im_lane_boundsi): New patterns.
20775 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match
20777 (aarch64_evpc_ext): New function.
20779 * config/aarch64/iterators.md (UNSPEC_EXT): New enum element.
20781 * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16,
20782 vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32,
20783 vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8,
20784 vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32,
20785 vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi.
20787 2014-05-29 Tom de Vries <tom@codesourcery.com>
20789 * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
20791 2014-05-29 Richard Earnshaw <rearnsha@arm.com>
20792 Richard Sandiford <rdsandiford@googlemail.com>
20794 * arm/iterators.md (shiftable_ops): New code iterator.
20795 (t2_binop0, arith_shift_insn): New code attributes.
20796 * arm/predicates.md (shift_nomul_operator): New predicate.
20797 * arm/arm.md (insn_enabled): Delete.
20798 (enabled): Remove insn_enabled test.
20799 (*arith_shiftsi): Delete. Replace with ...
20800 (*<arith_shift_insn>_multsi): ... new pattern.
20801 (*<arith_shift_insn>_shiftsi): ... new pattern.
20802 * config/arm/arm.c (arm_print_operand): Handle operand format 'b'.
20804 2014-05-29 Radovan Obradovic <robradovic@mips.com>
20805 Tom de Vries <tom@codesourcery.com>
20807 * config/mips/mips.h (POST_CALL_TMP_REG): Define.
20808 * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG
20810 (mips_split_call): Use POST_CALL_TMP_REG.
20811 (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true.
20813 2014-05-29 Tom de Vries <tom@codesourcery.com>
20815 * final.c (collect_fn_hard_reg_usage): Guard variable declaration
20816 with #ifdef STACK_REGS.
20818 2014-05-28 Jan Hubicka <hubicka@ucw.cz>
20820 * varasm.c (get_variable_section): Walk aliases.
20821 (place_block_symbol): Walk aliases.
20823 2014-05-28 Tom de Vries <tom@codesourcery.com>
20826 2014-05-28 Tom de Vries <tom@codesourcery.com>
20828 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
20829 * lra.c (initialize_lra_reg_info_element): Add init of
20830 actual_call_used_reg_set field.
20831 (lra): Call lra_create_live_ranges before lra_inheritance for
20833 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
20835 * lra-constraints.c (need_for_call_save_p): Use
20836 actual_call_used_reg_set instead of call_used_reg_set for
20838 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
20840 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
20842 * doc/md.texi: Document that the % constraint character must
20843 be at the beginning of the string.
20844 * genoutput.c (validate_insn_alternatives): Check that '=',
20845 '+' and '%' only appear at the beginning of a constraint.
20846 * ira.c (commutative_constraint_p): Delete.
20847 (ira_get_dup_out_num): Expect the '%' commutativity marker to be
20848 at the start of the string.
20849 * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
20851 * config/arm/neon.md (bicdi3_neon): Likewise.
20852 * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
20853 (slt_si, sltu_si): Likewise.
20854 * config/vax/vax.md (sbcdi3): Likewise.
20855 * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
20856 * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
20857 (mul64): Move '%' to beginning of constraint.
20858 * config/arm/arm.md (*xordi3_insn): Likewise.
20859 * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
20860 (xorsi3): Likewise.
20862 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
20864 * doc/md.texi: Document the restrictions on the "enabled" attribute.
20866 2014-05-28 Jason Merrill <jason@redhat.com>
20869 * cgraph.h (symtab_node::get_comdat_group_id): New.
20870 * cgraphunit.c (analyze_functions): Call it.
20871 * symtab.c (dump_symtab_node): Likewise.
20872 * tree.c (decl_comdat_group_id): New.
20873 * tree.h: Declare it.
20874 * lto-streamer-out.c (write_symbol): Use it.
20875 * trans-mem.c (ipa_tm_create_version_alias): Likewise.
20877 2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
20879 PR bootstrap/PR61146
20880 * wide-int.cc: Do not include longlong.h when compiling with clang.
20882 2014-05-28 Richard Biener <rguenther@suse.de>
20884 * tree-ssa-propagate.c (add_control_edge): Print less vertical space.
20885 * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED.
20886 (vrp_visit_assignment_or_call): Print less vertical space.
20887 (vrp_visit_stmt): Likewise.
20888 (vrp_visit_phi_node): Likewise. For a PHI argument with
20889 VR_VARYING range consider recording it as copy.
20891 2014-05-28 Richard Biener <rguenther@suse.de>
20894 2014-05-28 Richard Biener <rguenther@suse.de>
20896 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
20898 2014-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
20900 * expr.c (expand_assignment): Fold the bitpos in the to_rtx if
20901 sufficiently aligned and an offset is used at the same time.
20902 (expand_expr_real_1): Likewise.
20904 2014-05-28 Richard Biener <rguenther@suse.de>
20906 PR middle-end/61045
20907 * fold-const.c (fold_comparison): When folding
20908 X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
20909 the sign of the remaining constant operand stays the same.
20911 2014-05-28 Kaushik Phatak <kaushik.phatak@kpit.com>
20913 * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define
20914 __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__.
20915 (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on
20917 (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true.
20918 * gcc/config/rl78/rl78.opt (m64bit-doubles): New option.
20919 (m32bit-doubles) Likewise.
20920 * gcc/config/rl78/t-rl78: Add 64-bit-double multilib.
20921 * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles
20924 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
20926 * configure.ac ($gcc_cv_ld_clearcap): New test.
20927 * configure: Regenerate.
20928 * config.in: Regenerate.
20929 * config/sol2.opt (mclear-hwcap): New option.
20930 * config/sol2.h (LINK_CLEARCAP_SPEC): Define.
20931 * config/sol2-clearcap.map: Moved here from
20932 testsuite/gcc.target/i386/clearcap.map.
20933 * config/sol2-clearcapv2.map: Move here from
20934 gcc.target/i386/clearcapv2.map.
20935 * config/t-sol2 (install): Depend on install-clearcap-map.
20936 (install-clearcap-map): New target.
20937 * doc/invoke.texi (Option Summary, Solaris 2 Options): Document
20940 2014-05-28 Richard Biener <rguenther@suse.de>
20942 * hwint.h (*_HALF_WIDE_INT*): Move to ...
20943 * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT):
20944 ... here and remove the rest.
20945 * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64.
20947 2014-05-28 Richard Biener <rguenther@suse.de>
20949 PR tree-optimization/61335
20950 * tree-vrp.c (vrp_visit_phi_node): If the compare of old and
20951 new range fails, drop to varying.
20953 2014-05-28 Olivier Hainque <hainque@adacore.com>
20955 * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX.
20956 (CPP_SPEC): Add entry for -mcpu=8548.
20957 * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548.
20958 * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h.
20960 2014-05-28 Tom de Vries <tom@codesourcery.com>
20962 * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
20963 * lra.c (initialize_lra_reg_info_element): Add init of
20964 actual_call_used_reg_set field.
20965 (lra): Call lra_create_live_ranges before lra_inheritance for
20967 * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
20969 * lra-constraints.c (need_for_call_save_p): Use
20970 actual_call_used_reg_set instead of call_used_reg_set for
20972 * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.
20974 2014-05-28 Radovan Obradovic <robradovic@mips.com>
20975 Tom de Vries <tom@codesourcery.com>
20977 * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save
20979 (@item -fuse-caller-save): New item.
20981 2014-05-28 Radovan Obradovic <robradovic@mips.com>
20982 Tom de Vries <tom@codesourcery.com>
20984 * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
20985 OPT_fuse_caller_save.
20987 2014-05-28 Radovan Obradovic <robradovic@mips.com>
20988 Tom de Vries <tom@codesourcery.com>
20990 * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage.
20991 * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use
20992 get_call_reg_set_usage.
20993 * resource.c (mark_set_resources, mark_target_live_regs): Use
20994 get_call_reg_set_usage.
20995 * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs
20997 (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define.
20998 * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage.
20999 Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
21000 * ira-build.c (ira_create_allocno): Init
21001 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
21002 (create_cap_allocno, propagate_allocno_info)
21003 (propagate_some_info_from_allocno)
21004 (copy_info_to_removed_store_destinations): Handle
21005 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.
21006 * ira-costs.c (ira_tune_allocno_costs): Use
21007 ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs.
21009 2014-05-28 Radovan Obradovic <robradovic@mips.com>
21010 Tom de Vries <tom@codesourcery.com>
21012 * cgraph.h (struct cgraph_rtl_info): Add function_used_regs
21013 and function_used_regs_valid fields.
21014 * final.c: Move include of hard-reg-set.h to before rtl.h to declare
21015 find_all_hard_reg_sets.
21016 (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info)
21017 (get_call_reg_set_usage): New function.
21018 (rest_of_handle_final): Use collect_fn_hard_reg_usage.
21019 * regs.h (get_call_reg_set_usage): Declare.
21021 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
21024 * config/dbx.h (License): Add Runtime Library Exception.
21025 * config/newlib-stdint.h (License): Same.
21026 * config/rtems.h (License): Same
21027 * config/initfini-array.h (License): Same
21028 * config/v850/v850.h (License): Same.
21029 * config/v850/v850-opts.h (License): Same
21030 * config/v850/rtems.h (License): Same.
21032 2014-05-28 Georg-Johann Lay <avr@gjlay.de>
21035 * doc/extend.texi (Local Labels): Note that label differences are
21036 not supported for AVR.
21038 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com>
21039 Olivier Hainque <hainque@adacore.com>
21041 * rtl.h (set_for_reg_notes): Declare.
21042 * emit-rtl.c (set_for_reg_notes): New function.
21043 (set_unique_reg_note): Use it.
21044 * optabs.c (add_equal_note): Likewise
21046 2014-05-27 Andrew Pinski <apinski@cavium.com>
21048 * config/aarch64/aarch64.md (stack_protect_set_<mode>):
21049 Use <w> for the register in assembly template.
21050 (stack_protect_test): Use the mode of operands[0] for the result.
21051 (stack_protect_test_<mode>): Use <w> for the register
21052 in assembly template.
21054 2014-05-27 DJ Delorie <dj@redhat.com>
21056 * config/rx/rx.c (add_vector_labels): New.
21057 (rx_output_function_prologue): Call it.
21058 (rx_handle_func_attribute): Don't require empty arguments.
21059 (rx_handle_vector_attribute): New.
21060 (rx_attribute_table): Add "vector" attribute.
21061 * doc/extend.texi (interrupt, vector): Document new/changed
21062 RX-specific attributes.
21064 * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns.
21066 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
21068 * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
21069 predicate to detect a negative quotient.
21071 2014-05-27 Eric Botcazou <ebotcazou@adacore.com>
21073 * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2
21074 to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR.
21075 Add X - Y CMP 0 to X CMP Y transformation.
21076 (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations.
21078 2014-05-27 Segher Boessenkool <segher@kernel.crashing.org>
21080 * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT
21083 2014-05-27 Steve Ellcey <sellcey@mips.com>
21085 * config/mips/mips.c: Add include of cgraph.h.
21087 2014-05-27 Richard Biener <rguenther@suse.de>
21089 * system.h (__STDC_FORMAT_MACROS): Define as very first thing.
21091 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
21094 * config/arm/arm.h (License): Add note to COPYING.RUNTIME.
21095 * config/arm/arm-cores.def (License): Same.
21096 * config/arm/arm-opts.h (License): Same.
21097 * config/arm/aout.h (License): Same.
21098 * config/arm/bpabi.h (License): Same.
21099 * config/arm/elf.h (License): Same.
21100 * config/arm/linux-elf.h (License): Same.
21101 * config/arm/linux-gas.h (License): Same.
21102 * config/arm/netbsd-elf.h (License): Same.
21103 * config/arm/uclinux-eabi.h (License): Same.
21104 * config/arm/uclinux-elf.h (License): Same.
21105 * config/arm/vxworks.h (License): Same.
21107 2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
21109 * config/arm/neon.md (neon_bswap<mode>): New pattern.
21110 * config/arm/arm.c (neon_itype): Add NEON_BSWAP.
21111 (arm_init_neon_builtins): Handle NEON_BSWAP.
21112 Define required type nodes.
21113 (arm_expand_neon_builtin): Handle NEON_BSWAP.
21114 (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins.
21115 * config/arm/arm_neon_builtins.def (bswap): Define builtins.
21116 * config/arm/iterators.md (VDQHSD): New mode iterator.
21118 2014-05-27 Richard Biener <rguenther@suse.de>
21120 * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges):
21121 Try using literal operands when comparing value-ranges failed.
21123 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
21125 * ira.c (commutative_operand): Adjust for change to recog_data.
21126 [Missing from previous commit.]
21128 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
21130 * system.h (TEST_BIT): New macro.
21131 * recog.h (alternative_mask): New type.
21132 (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros.
21133 (recog_data_d): Replace alternative_enabled_p array with
21134 enabled_alternatives.
21135 (target_recog): New structure.
21136 (default_target_recog, this_target_recog): Declare.
21137 (get_enabled_alternatives, recog_init): Likewise.
21138 * recog.c (default_target_recog, this_target_recog): New variables.
21139 (get_enabled_alternatives): New function.
21140 (extract_insn): Use it.
21141 (recog_init): New function.
21142 (preprocess_constraints, constrain_operands): Adjust for change to
21144 * postreload.c (reload_cse_simplify_operands): Likewise.
21145 * reload.c (find_reloads): Likewise.
21146 * ira-costs.c (record_reg_classes): Likewise.
21147 * ira-lives.c (single_reg_class): Likewise. Fix bug in which
21148 all alternatives after a disabled one would be skipped.
21149 (ira_implicitly_set_insn_hard_regs): Likewise.
21150 * ira.c (ira_setup_alts): Adjust for change to recog_data.
21151 * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p
21152 with enabled_alternatives.
21153 * lra.c (free_insn_recog_data): Update accordingly.
21154 (lra_update_insn_recog_data): Likewise.
21155 (lra_set_insn_recog_data): Likewise. Use get_enabled_alternatives.
21156 * lra-constraints.c (process_alt_operands): Likewise. Handle
21157 only_alternative as part of the enabled mask.
21158 * target-globals.h (this_target_recog): Declare.
21159 (target_globals): Add a recog field.
21160 (restore_target_globals): Restore this_target_recog.
21161 * target-globals.c: Include recog.h.
21162 (default_target_globals): Initialize recog field.
21163 (save_target_globals): Likewise.
21164 * reginfo.c (reinit_regs): Call recog_init.
21165 * toplev.c (backend_init_target): Likewise.
21167 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com>
21169 * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code,
21170 rather than any named insn's code.
21172 2014-05-27 Georg-Johann Lay <avr@gjlay.de>
21175 * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception.
21176 * config/arm/arm-cores.def (License): Same.
21178 2014-05-26 Jan Hubicka <hubicka@ucw.cz>
21180 * tree.h (decl_comdat_group): Declare.
21181 * cgraph.h (symtab_in_same_comdat_p): Move offline to ...
21182 * tree.c (decl_comdat_group): Here.
21184 2014-05-26 Richard Sandiford <r.sandiford@uk.ibm.com>
21186 PR rtl-optimization/61222
21187 * combine.c (simplify_shift_const_1): When moving a PLUS outside
21188 the shift, truncate the PLUS operand to the result mode.
21190 2014-05-26 Uros Bizjak <ubizjak@gmail.com>
21193 * config/i386/i386.c (ix86_rtx_costs)
21194 <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>:
21197 2014-05-26 Martin Jambor <mjambor@suse.cz>
21199 * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
21202 2014-05-26 Richard Biener <rguenther@suse.de>
21204 * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
21205 wi::int_traits <long long>, wi::int_traits <unsigned long long>):
21206 Provide specializations.
21207 (wi::int_traits <HOST_WIDE_INT>,
21208 wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations.
21210 2014-05-26 Alan Modra <amodra@gmail.com>
21213 * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded
21214 params and return a bool. Remove dead code. Update comment.
21215 Assert we have a const_int source. Remove bogus code from
21216 32-bit HWI days. Move !TARGET_POWERPC64 handling, and correct
21217 handling of constants > 2G and reg_equal note, from..
21218 (rs6000_emit_set_long_const): ..here. Remove unneeded param and
21219 return value. Update comment. If we can, use a new pseudo
21220 for intermediate calculations.
21221 * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update
21223 * config/rs6000/rs6000.md (movsi_internal1_single+1): Update
21224 call to rs6000_emit_set_const in splitter.
21225 (movdi_internal64+2, +3): Likewise.
21227 2014-05-26 Richard Biener <rguenther@suse.de>
21229 * system.h: Define __STDC_FORMAT_MACROS before
21230 including inttypes.h.
21231 * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT,
21232 HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC,
21233 HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED,
21234 HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX,
21235 HOST_WIDEST_INT_C): Remove.
21236 (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define
21237 if C99 inttypes.h is not available.
21238 * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t.
21239 * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise.
21240 * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case.
21241 * cfgloop.h (struct niter_desc): Use uint64_t for niter field.
21242 * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters.
21243 (struct output_info): Likewise.
21244 (print_statistics): Adjust.
21245 (dump_bitmap_statistics): Likewise.
21246 * bt-load.c (migrate_btr_defs): Print with PRId64.
21247 * cfg.c (dump_edge_info, dump_bb_info): Likewise.
21248 (MAX_SAFE_MULTIPLIER): Adjust.
21249 * cfghooks.c (dump_bb_for_graph): Print with PRId64.
21250 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee,
21251 dump_cgraph_node): Likewise.
21252 * final.c (dump_basic_block_info): Likewise.
21253 * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise.
21254 * gcov.c (format_gcov): Likewise.
21255 * ipa-cp.c (good_cloning_opportunity_p): Likewise. Use int64_t
21257 (get_clone_agg_value): Use HOST_WIDE_INT for offset.
21258 * ipa-inline.c (compute_max_insns): Use int64_t for calcuation.
21259 (inline_small_functions, dump_overall_stats, dump_inline_stats):
21260 Use PRId64 for dumping.
21261 * ipa-profile.c (dump_histogram, ipa_profile): Likewise.
21262 * ira-color.c (struct allocno_hard_regs): Use int64_t for cost.
21263 (add_allocno_hard_regs): Adjust.
21264 * loop-doloop.c (doloop_modify): Print using PRId64.
21265 * loop-iv.c (inverse): Compute in uint64_t.
21266 (determine_max_iter, iv_number_of_iterations): Likewise.
21267 * loop-unroll.c (decide_peel_completely, decide_peel_simple):
21268 Print using PRId64.
21269 * lto-streamer-out.c (write_symbol): Use uint64_t.
21270 * mcf.c (CAP_INFINITY): Use int64_t maximum.
21271 (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle,
21272 find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64.
21273 * modulo-sched.c (const_iteration_count): Use int64_t.
21274 (sms_schedule): Dump using PRId64.
21275 * predict.c (dump_prediction): Likewise.
21276 * pretty-print.h (pp_widest_integer): Remove.
21277 * profile.c (get_working_sets, is_edge_inconsistent,
21278 is_inconsistent, read_profile_edge_counts): Dump using PRId64.
21279 * tree-pretty-print.c (pp_double_int): Remove case handling
21280 HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT.
21281 * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t
21283 (pass_optimize_bswap::execute): Remove restriction on hosts.
21284 * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT.
21285 * tree-streamer-out.c (streamer_write_tree_header): Likewise.
21286 * tree.c (widest_int_cst_value): Remove.
21287 * tree.h (widest_int_cst_value): Likewise.
21288 * value-prof.c (dump_histogram_value): Print using PRId64.
21289 * gengtype.c (main): Also inject int64_t.
21290 * ggc-page.c (struct max_alignment): Use int64_t.
21291 * alloc-pool.c (struct allocation_object_def): Likewise.
21292 * ira-conflicts.c (build_conflict_bit_table): Use uint64_t
21294 * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT.
21295 * doc/tm.texi: Regenerated.
21296 * gengtype-lex.l (IWORD): Handle [u]int64_t.
21297 * config/sh/sh.c (expand_cbranchdi4): Use gcov_type.
21298 * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value,
21299 mmix_output_register_setting): Use [u]int64_t in prototypes.
21300 * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting,
21301 mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str,
21302 mmix_output_octa, mmix_output_shifted_value): Adjust.
21303 (mmix_intval): Adjust. Remove unreachable case.
21304 * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t.
21306 2014-05-26 Richard Biener <rguenther@suse.de>
21308 * configure.ac: Drop __int64 type check. Insist that we
21309 found uint64_t and int64_t.
21310 * hwint.h (HOST_BITS_PER___INT64): Remove.
21311 (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case.
21312 (HOST_WIDE_INT_PRINT_*): Remove 32bit case.
21313 (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*.
21314 (HOST_WIDEST_FAST_INT): Remove __int64 case.
21315 * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t
21316 for dst_q_src_df_rms_cdt.
21317 * configure: Regenerate.
21318 * config.in: Likewise.
21320 2014-05-26 Michael Tautschnig <mt@debian.org>
21323 * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of
21324 __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256.
21326 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
21328 PR rtl-optimization/61278
21329 * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live.
21331 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org>
21333 PR rtl-optimization/61220
21334 Part of PR rtl-optimization/61225
21335 * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment
21336 insn; skip split_edge for a block with only one successor.
21338 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21340 * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag
21343 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21345 * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function.
21346 (update_vtable_references): New function.
21347 (function_and_variable_visibility): Rewrite also vtable initializers.
21348 * varpool.c (cgraph_variable_initializer_availability): Remove assert.
21350 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21352 * ggc.h (ggc_grow): New function.
21353 * ggc-none.c (ggc_grow): New function.
21354 * ggc-page.c (ggc_grow): Likewise.
21356 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21358 * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p,
21359 address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1,
21360 comdat_can_be_unshared_p, cgraph_externally_visible_p,
21361 varpool_externally_visible_p, can_replace_by_local_alias,
21362 update_visibility_by_resolution_info, function_and_variable_visibility,
21363 pass_data_ipa_function_and_variable_visibility,
21364 make_pass_ipa_function_and_variable_visibility,
21365 whole_program_function_and_variable_visibility,
21366 pass_data_ipa_whole_program_visibility,
21367 make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c
21368 * cgraph.h (cgraph_local_node_p): Declare.
21369 * ipa-visibility.c: New file.
21370 * Makefile.in (OBJS): Add ipa-visiblity.o
21372 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21374 * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure
21375 that var decl is available.
21377 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21379 * tree-core.h (tree_decl_with_vis): Replace comdat_group by
21380 symtab_node pointer.
21381 * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer.
21382 (find_decls_types_r): Do not walk COMDAT_GROUP.
21383 * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group.
21384 * varasm.c (make_decl_one_only): Use set_comdat_group;
21385 create node if needed.
21386 * ipa-inline-transform.c (save_inline_function_body): Update
21387 way we decl->symtab mapping.
21388 * symtab.c (symtab_hash, hash_node, eq_node
21389 symtab_insert_node_to_hashtable): Remove.
21390 (symtab_register_node): Update.
21391 (symtab_unregister_node): Update.
21392 (symtab_get_node): Reimplement as inline function.
21393 (symtab_add_to_same_comdat_group): Update.
21394 (symtab_dissolve_same_comdat_group_list): Update.
21395 (dump_symtab_base): Update.
21396 (verify_symtab_base): Update.
21397 (symtab_make_decl_local): Update.
21398 (fixup_same_cpp_alias_visibility): Update.
21399 (symtab_nonoverwritable_alias): Update.
21400 * cgraphclones.c (set_new_clone_decl_and_node_flags): Update.
21401 * ipa.c (update_visibility_by_resolution_info): UPdate.
21402 * bb-reorder.c: Include cgraph.h
21403 * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal
21404 with comdat groups.
21405 * ipa-comdats.c (set_comdat_group, ipa_comdats): Update.
21406 * cgraph.c (cgraph_get_create_node): Update.
21407 * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group
21409 (symtab_get_node): Make inline.
21410 (symtab_insert_node_to_hashtable): Remove.
21411 (symtab_can_be_discarded): Update.
21412 (decl_comdat_group): New function.
21413 * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers):
21415 * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out
21417 (read_comdat_group): New function.
21418 (input_node, input_varpool_node): Use it.
21419 * trans-mem.c (ipa_tm_create_version_alias): Update code creating
21421 * mips.c (mips_start_unique_function): Likewise.
21422 (ix86_code_end): Likewise.
21423 (rs6000_code_end): Likweise.
21424 * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group.
21426 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21428 * gengtype-state.c (fatal_reading_state): Bring offline.
21429 * optabs.c (widening_optab_handler): Bring offline.
21430 * optabs.h (widening_optab_handler): Likewise.
21431 * final.c (get_attr_length_1): Likewise.
21433 2014-05-23 Jan Hubicka <hubicka@ucw.cz>
21435 * sched-int.h (sd_iterator_cond): Manually tail recurse.
21437 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21439 * config/rs6000/440.md (ppc440-integer): Include shift without dot.
21440 (ppc440-compare): Include shift with dot.
21441 * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot.
21442 * config/rs6000/e5500.md (e5500_sfx2): Include constant shift
21444 * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift
21446 (e6500_sfx2): Include it.
21447 * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1,
21448 *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3,
21449 *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc,
21450 andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal,
21451 *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64,
21452 *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be,
21453 *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm,
21454 *lshiftrt_internal1le, *lshiftrt_internal1be,
21455 *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3,
21456 *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be,
21457 *rotldi3_internal10le, *rotldi3_internal10be,
21458 *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4,
21459 ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7,
21460 ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc,
21461 *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous
21462 define_insns): Use type "shift" in the appropriate alternatives.
21464 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21466 * config/rs6000/rs6000.md (type): Add "logical". Delete
21468 (dot): Adjust comment.
21469 (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc,
21470 *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2,
21471 *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3,
21472 anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc,
21473 *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2,
21474 *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3,
21475 *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical".
21476 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
21478 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
21479 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
21480 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
21481 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
21482 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
21483 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
21484 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
21485 * config/rs6000/8540.md (ppc8540_su): Adjust.
21486 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
21487 cell-cmp-microcoded): Adjust.
21488 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
21489 * config/rs6000/e500mc.md (e500mc_su): Adjust.
21490 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
21491 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
21492 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
21493 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
21494 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
21495 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
21496 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
21498 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
21499 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare):
21500 Adjust. Adjust comment.
21501 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
21502 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
21504 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21506 * config/rs6000/rs6000.md (type): Add "add".
21507 (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2,
21508 *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous
21509 define_insns): Use it.
21510 * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust.
21512 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
21513 * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust.
21514 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
21515 * config/rs6000/601.md (ppc601-integer): Adjust.
21516 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
21517 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
21518 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
21519 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
21520 * config/rs6000/8540.md (ppc8540_su): Adjust.
21521 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
21522 cell-cmp-microcoded): Adjust.
21523 * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust.
21524 * config/rs6000/e500mc.md (e500mc_su): Adjust.
21525 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust.
21526 * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust.
21527 * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust.
21528 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
21529 * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust.
21530 * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust.
21531 * config/rs6000/power6.md (power6-integer, power6-fast-compare):
21533 * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust.
21534 * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust.
21535 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
21536 * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust.
21538 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21540 * config/rs6000/rs6000.md (type): Delete "var_shift_rotate",
21541 "delayed_compare", "var_delayed_compare".
21542 (var_shift): New attribute.
21543 (cell_micro): Adjust.
21544 (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4,
21545 *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2,
21546 rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3,
21547 *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6,
21548 *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le,
21549 *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be,
21550 *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le,
21551 *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64,
21552 *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le,
21553 *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be,
21554 *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64,
21555 rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4,
21556 *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le,
21557 *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be,
21558 *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le,
21559 *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be,
21560 *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le,
21561 *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be,
21562 *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1,
21563 *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1,
21564 *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1,
21565 *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc,
21566 *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust.
21567 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
21568 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
21570 * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust.
21571 * config/rs6000/440.md (ppc440-integer): Adjust.
21572 * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust.
21573 * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust.
21574 * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust.
21575 * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust.
21576 * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust.
21577 * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust.
21578 * config/rs6000/8540.md (ppc8540_su): Adjust.
21579 * config/rs6000/cell.md (cell-integer, cell-fast-cmp,
21580 cell-cmp-microcoded): Adjust.
21581 * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust.
21582 * config/rs6000/e500mc.md (e500mc_su): Adjust.
21583 * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2,
21584 e500mc64_delayed): Adjust.
21585 * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust.
21586 * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust.
21587 * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust.
21588 * config/rs6000/power4.md (power4-integer, power4-compare): Adjust.
21589 * config/rs6000/power5.md (power5-integer, power5-compare): Adjust.
21590 * config/rs6000/power6.md (power6-shift, power6-var-rotate,
21591 power6-delayed-compare, power6-var-delayed-compare): Adjust.
21592 * config/rs6000/power7.md (power7-integer, power7-compare): Adjust.
21593 * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust.
21595 * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust.
21596 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
21598 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21600 * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add "div".
21601 (bits): New mode_attr.
21602 (idiv_ldiv): Delete mode_attr.
21603 (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust.
21604 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
21605 rs6000_adjust_priority, is_nonpipeline_insn,
21606 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
21608 * config/rs6000/40x.md (ppc403-idiv): Adjust.
21609 * config/rs6000/440.md (ppc440-idiv): Adjust.
21610 * config/rs6000/476.md (ppc476-idiv): Adjust.
21611 * config/rs6000/601.md (ppc601-idiv): Adjust.
21612 * config/rs6000/603.md (ppc603-idiv): Adjust.
21613 * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv,
21614 ppc620-ldiv): Adjust.
21615 * config/rs6000/7450.md (ppc7450-idiv): Adjust.
21616 * config/rs6000/7xx.md (ppc750-idiv): Adjust.
21617 * config/rs6000/8540.md (ppc8540_divide): Adjust.
21618 * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust.
21619 * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust.
21620 * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust.
21621 * config/rs6000/e500mc.md (e500mc_divide): Adjust.
21622 * config/rs6000/e500mc64.md (e500mc64_divide): Adjust.
21623 * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust.
21624 * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust.
21625 * config/rs6000/mpc.md (mpccore-idiv): Adjust.
21626 * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust.
21627 * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust.
21628 * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust.
21629 * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust.
21630 * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust.
21631 * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust.
21632 * config/rs6000/titan.md (titan_fxu_div): Adjust.
21634 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21636 * config/rs6000/rs6000.md (type): Delete "insert_word",
21637 "insert_dword". Add "insert".
21638 (size): Update comment.
21639 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
21640 insn_must_be_first_in_group): Adjust.
21641 (insvsi_internal, *insvsi_internal1, *insvsi_internal2,
21642 *insvsi_internal3, *insvsi_internal4, *insvsi_internal5,
21643 *insvsi_internal6, insvdi_internal): Adjust.
21645 * config/rs6000/40x.md (ppc403-integer): Adjust.
21646 * config/rs6000/440.md (ppc440-integer): Adjust.
21647 * config/rs6000/476.md (ppc476-simple-integer): Adjust.
21648 * config/rs6000/601.md (ppc601-integer): Adjust.
21649 * config/rs6000/603.md (ppc603-integer): Adjust.
21650 * config/rs6000/6xx.md (ppc604-integer): Adjust.
21651 * config/rs6000/7450.md (ppc7450-integer): Adjust.
21652 * config/rs6000/7xx.md (ppc750-integer): Adjust.
21653 * config/rs6000/8540.md (ppc8540_su): Adjust.
21654 * config/rs6000/cell.md (cell-integer, cell-insert): Adjust.
21655 * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust.
21656 * config/rs6000/e500mc.md (e500mc_su): Adjust.
21657 * config/rs6000/e500mc64.md (e500mc64_su): Adjust.
21658 * config/rs6000/e5500.md (e5500_sfx): Adjust.
21659 * config/rs6000/e6500.md (e6500_sfx): Adjust.
21660 * config/rs6000/mpc.md (mpccore-integer): Adjust.
21661 * config/rs6000/power4.md (power4-integer, power4-insert): Adjust.
21662 * config/rs6000/power5.md (power5-integer, power5-insert): Adjust.
21663 * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust.
21664 * config/rs6000/power7.md (power7-integer): Adjust.
21665 * config/rs6000/power8.md (power8-1cyc): Adjust.
21666 * config/rs6000/rs64.md (rs64a-integer): Adjust.
21667 * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust.
21669 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21671 * config/rs6000/rs6000.md (type): Add "mul". Delete "imul",
21672 "imul2", "imul3", "lmul", "imul_compare", "lmul_compare".
21673 (size): New attribute.
21674 (dot): New attribute.
21675 (cell_micro): Adjust.
21676 (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3,
21677 umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3,
21678 *muldi3_internal1, *muldi3_internal2, smuldi3_highpart,
21679 umuldi3_highpart): Adjust.
21680 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn,
21681 rs6000_adjust_priority, is_nonpipeline_insn,
21682 insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust.
21684 * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2,
21685 ppc405-imul3): Adjust.
21686 * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust.
21687 * config/rs6000/476.md (ppc476-imul): Adjust.
21688 * config/rs6000/601.md (ppc601-imul): Adjust.
21689 * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust.
21690 * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul,
21691 ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust.
21692 * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust.
21693 * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3):
21695 * config/rs6000/8540.md (ppc8540_multiply): Adjust.
21696 * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust.
21697 * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23,
21698 cell-imul): Adjust.
21699 * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust.
21700 * config/rs6000/e500mc.md (e500mc_multiply): Adjust.
21701 * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust.
21702 * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust.
21703 * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust.
21704 * config/rs6000/mpc.md (mpccore-imul): Adjust.
21705 * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp,
21706 power4-lmul, power4-imul, power4-imul3): Adjust.
21707 * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp,
21708 power5-lmul, power5-imul, power5-imul3): Adjust.
21709 * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp,
21710 power6-lmul, power6-imul, power6-imul3): Adjust.
21711 * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust.
21712 * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust.
21714 * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3,
21715 rs64a-lmul): Adjust.
21716 * config/rs6000/titan.md (titan_imul): Adjust.
21718 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21720 * config/rs6000/rs6000.md (type): Add new value "halfmul".
21721 (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw,
21722 *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu,
21723 *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw,
21724 *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw,
21725 *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it.
21726 * config/rs6000/40x.md (ppc405-imul3): Add type halfmul.
21727 * config/rs6000/440.md (ppc440-imul2): Add type halfmul.
21728 * config/rs6000/476.md (ppc476-imul): Add type halfmul.
21729 * config/rs6000/titan.md: Delete nonsensical comment.
21730 (titan_imul): Add type imul3.
21731 (titan_mulhw): Remove type imul3; add type halfmul.
21733 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org>
21735 * config/rs6000/rs6000.md (type): Reorder, reformat.
21737 2014-05-23 Martin Jambor <mjambor@suse.cz>
21739 PR tree-optimization/53787
21740 * params.def (PARAM_IPA_MAX_AA_STEPS): New param.
21741 * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to
21742 analysis_done, update all uses.
21743 * ipa-prop.c: Include domwalk.h
21744 (param_analysis_info): Removed.
21745 (param_aa_status): New type.
21746 (ipa_bb_info): Likewise.
21747 (func_body_info): Likewise.
21748 (ipa_get_bb_info): New function.
21749 (aa_overwalked): Likewise.
21750 (find_dominating_aa_status): Likewise.
21751 (parm_bb_aa_status_for_bb): Likewise.
21752 (parm_preserved_before_stmt_p): Changed to use new param AA info.
21753 (load_from_unmodified_param): Accept func_body_info as a parameter
21754 instead of parms_ainfo.
21755 (parm_ref_data_preserved_p): Changed to use new param AA info.
21756 (parm_ref_data_pass_through_p): Likewise.
21757 (ipa_load_from_parm_agg_1): Likewise. Update callers.
21758 (compute_complex_assign_jump_func): Changed to use new param AA info.
21759 (compute_complex_ancestor_jump_func): Likewise.
21760 (ipa_compute_jump_functions_for_edge): Likewise.
21761 (ipa_compute_jump_functions): Removed.
21762 (ipa_compute_jump_functions_for_bb): New function.
21763 (ipa_analyze_indirect_call_uses): Likewise, moved variable
21765 (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node
21766 and info, moved variable declarations down.
21767 (ipa_analyze_call_uses): Accept and pass on func_body_info instead of
21769 (ipa_analyze_stmt_uses): Likewise.
21770 (ipa_analyze_params_uses): Removed.
21771 (ipa_analyze_params_uses_in_bb): New function.
21772 (ipa_analyze_controlled_uses): Likewise.
21773 (free_ipa_bb_info): Likewise.
21774 (analysis_dom_walker): New class.
21775 (ipa_analyze_node): Handle node-specific forbidden analysis,
21776 initialize and free func_body_info, use dominator walker.
21777 (ipcp_modif_dom_walker): New class.
21778 (ipcp_transform_function): Create and free func_body_info, use
21779 ipcp_modif_dom_walker, moved a lot of functionality there.
21781 2014-05-23 Marek Polacek <polacek@redhat.com>
21782 Jakub Jelinek <jakub@redhat.com>
21784 * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT.
21785 * gcc.c (sanitize_spec_function): Likewise.
21786 * convert.c (convert_to_integer): Include "ubsan.h". Add
21787 floating-point to integer instrumentation.
21788 * doc/invoke.texi: Document -fsanitize=float-cast-overflow.
21789 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and
21790 SANITIZE_NONDEFAULT.
21791 * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow.
21792 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW,
21793 BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add.
21794 * ubsan.c: Include "realmpfr.h" and "dfp.h".
21795 (get_ubsan_type_info_for_type): Handle REAL_TYPEs.
21796 (ubsan_type_descriptor): Set tkind to 0xffff for types other than
21797 float/double/long double.
21798 (ubsan_instrument_float_cast): New function.
21799 * ubsan.h (ubsan_instrument_float_cast): Declare.
21801 2014-05-23 Jiong Wang <jiong.wang@arm.com>
21803 * config/aarch64/predicates.md (aarch64_call_insn_operand): New
21805 * config/aarch64/constraints.md ("Ucs", "Usf"): New constraints.
21806 * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn):
21807 Adjust for tailcalling through registers.
21808 * config/aarch64/aarch64.h (enum reg_class): New caller save
21810 (REG_CLASS_NAMES): Likewise.
21811 (REG_CLASS_CONTENTS): Likewise.
21812 * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall):
21813 Allow tailcalling without decls.
21815 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
21817 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
21818 Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL.
21820 * omp-low.c (expand_omp_for_static_chunk): Rename variable si to
21821 gsi, and variables v_* to v*.
21823 2014-05-23 Eric Botcazou <ebotcazou@adacore.com>
21825 * varasm.c (output_constructor_bitfield): Fix thinkos in latest change.
21827 2014-05-23 Thomas Schwinge <thomas@codesourcery.com>
21829 * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD.
21830 * omp-low.c: Update accordingly.
21832 * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used
21833 for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR,
21834 GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD,
21835 GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK,
21836 GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA,
21837 GF_OMP_TARGET_KIND_UPDATE.
21839 * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>:
21840 Explicitly enumerate the expected region types.
21842 2014-05-23 Paul Eggert <eggert@cs.ucla.edu>
21845 * doc/extend.texi (Function Attributes): Fix __attribute__ ((malloc))
21846 documentation; the old documentation didn't clearly state the
21847 constraints on the contents of the pointed-to storage.
21849 2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
21851 Fix bootstrap error on ia64
21852 * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
21853 Return default value.
21855 2014-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
21857 PR tree-optimization/54733
21858 * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure.
21860 (find_bswap_or_nop_load): New.
21861 (find_bswap_1): Renamed to ...
21862 (find_bswap_or_nop_1): This. Also add support for memory source.
21863 (find_bswap): Renamed to ...
21864 (find_bswap_or_nop): This. Also add support for memory source and
21865 detection of bitwise operations equivalent to load in target
21867 (execute_optimize_bswap): Likewise. Also move its leading comment back
21868 in place and split statement transformation into ...
21869 (bswap_replace): This.
21871 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
21873 PR rtl-optimization/61215
21874 * lra-elelimination.c (lra_eliminate_regs_1): Don't use
21875 simplify_gen_subreg until final substitution.
21877 2014-05-23 Alan Modra <amodra@gmail.com>
21880 * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode.
21881 * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell):
21882 Use "Y" constraint rather than "m".
21884 2014-05-23 Kugan Vivekanandarajah <kuganv@linaro.org>
21886 * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New
21888 * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv):
21889 New function declaration.
21890 * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add
21891 AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR.
21892 AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR.
21893 (aarch64_init_builtins) : Initialize builtins
21894 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
21895 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
21896 (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr
21897 __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr,
21898 and __builtins_aarch64_set_fpsr.
21899 (aarch64_atomic_assign_expand_fenv): New function.
21900 * config/aarch64/aarch64.md (set_fpcr): New pattern.
21901 (get_fpcr) : Likewise.
21902 (set_fpsr) : Likewise.
21903 (get_fpsr) : Likewise.
21904 (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR
21905 and UNSPECV_SET_FPSR.
21906 * doc/extend.texi (AARCH64 Built-in Functions) : Document
21907 __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr.
21908 __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr.
21910 2014-05-22 Vladimir Makarov <vmakarov@redhat.com>
21912 PR rtl-optimization/60969
21913 * ira-costs.c (record_reg_classes): Process NO_REGS for matching
21914 constraints. Set up mem cost for NO_REGS case.
21916 2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
21918 * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*.
21920 2012-05-22 Bernd Schmidt <bernds@codesourcery.com>
21922 * config/darwin.c: Include "lto-section-names.h".
21923 (LTO_SEGMENT_NAME): Don't define.
21924 * config/i386/winnt.c: Include "lto-section-names.h".
21925 * lto-streamer.c: Include "lto-section-names.h".
21926 * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define.
21927 * lto-wrapper.c: Include "lto-section-names.h".
21928 (LTO_SECTION_NAME_PREFIX): Don't define.
21929 * lto-section-names.h: New file.
21930 * cgraphunit.c: Include "lto-section-names.h".
21932 2014-05-22 Peter Bergner <bergner@vnet.ibm.com>
21934 * config/rs6000/htm.md (ttest): Use correct shift value to get CR0.
21936 2014-05-22 Richard Earnshaw <rearnsha@arm.com>
21939 * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2.
21941 2014-05-22 Nick Clifton <nickc@redhat.com>
21943 * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options.
21945 2014-05-22 Eric Botcazou <ebotcazou@adacore.com>
21947 * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P
21948 -> (T)A transformation to integer types.
21950 2014-05-22 Teresa Johnson <tejohnson@google.com>
21952 * gcov-io.c (gcov_position): Use gcov_nonruntime_assert.
21953 (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code.
21954 (gcov_rewrite): Use gcov_nonruntime_assert.
21955 (gcov_open): Ditto.
21956 (gcov_write_words): Ditto.
21957 (gcov_write_length): Ditto.
21958 (gcov_read_words): Use gcov_nonruntime_assert, and remove
21959 gcc_assert from IN_LIBGCOV code.
21960 (gcov_read_summary): Use gcov_error to flag profile corruption.
21961 (gcov_sync): Use gcov_nonruntime_assert.
21962 (gcov_seek): Remove gcc_assert from IN_LIBGCOV code.
21963 (gcov_histo_index): Use gcov_nonruntime_assert.
21964 (static void gcov_histogram_merge): Ditto.
21965 (compute_working_sets): Ditto.
21966 * gcov-io.h (gcov_nonruntime_assert): Define.
21967 (gcov_error): Define for !IN_LIBGCOV
21969 2014-05-22 Richard Biener <rguenther@suse.de>
21971 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
21972 BUILT_IN_REALLOC like BUILT_IN_STRDUP.
21973 (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation
21974 and deallocation site.
21975 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
21976 Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also
21977 passing through the incoming points-to set.
21978 (handle_lhs_call): Use flags argument instead of recomputing it.
21979 (find_func_aliases_for_call): Call handle_lhs_call with proper
21982 2014-05-22 Jakub Jelinek <jakub@redhat.com>
21984 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure
21985 all padding bits in REAL_VALUE_TYPE are cleared.
21987 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
21989 Cleanup and improve multipass_dfa_lookahead_guard
21990 * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
21991 (core2i7_first_cycle_multipass_begin,)
21992 (core2i7_first_cycle_multipass_issue,)
21993 (core2i7_first_cycle_multipass_backtrack): Update signature.
21994 * config/ia64/ia64.c
21995 (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
21996 (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
21997 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
21999 (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
22000 ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return
22002 * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
22004 * doc/tm.texi: Regenerate.
22006 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
22007 * haifa-sched.c (ready_try): Make signed to allow negative values.
22008 (rebug_ready_list_1): Update.
22009 (choose_ready): Simplify.
22010 (sched_extend_ready_list): Update.
22012 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22014 Remove IA64 speculation tweaking flags
22015 * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of
22016 speculation tuning flags.
22017 (msched-prefer-non-data-spec-insns,)
22018 (msched-prefer-non-control-spec-insns): Obsolete options.
22019 * haifa-sched.c (choose_ready): Remove handling of
22020 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
22021 * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC
22022 and PREFER_NON_DATA_SPEC.
22023 * sel-sched.c (process_spec_exprs): Remove handling of
22024 PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC.
22026 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22028 Improve scheduling debug output
22029 * haifa-sched.c (debug_ready_list): Remove unnecessary prototype.
22030 (advance_one_cycle): Update.
22031 (schedule_insn, queue_to_ready): Add debug printouts.
22032 (debug_ready_list_1): New static function.
22033 (debug_ready_list): Update.
22034 (max_issue): Add debug printouts.
22035 (dump_insn_stream): New static function.
22036 (schedule_block): Use it. Also better indent printouts.
22038 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
22040 Fix sched_insn debug counter
22041 * haifa-sched.c (schedule_insn): Update.
22042 (struct haifa_saved_data): Add nonscheduled_insns_begin.
22043 (save_backtrack_point, restore_backtrack_point): Update.
22044 (first_nonscheduled_insn): New static function.
22045 (queue_to_ready, choose_ready): Use it.
22046 (schedule_block): Init nonscheduled_insns_begin.
22047 (sched_emit_insn): Update.
22050 2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org>
22052 * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
22054 (aarch64_secondary_reload) : LikeWise.
22055 (aarch64_class_max_nregs) : Remove CORE_REGS.
22056 * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
22057 (REG_CLASS_NAMES) : Likewise.
22058 (REG_CLASS_CONTENTS) : LikeWise.
22059 (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
22061 2014-05-21 Guozhi Wei <carrot@google.com>
22064 * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's
22066 (vqdmulhq_n_s16): Likewise.
22068 2014-05-21 Segher Boessenkool <segher@kernel.crashing.org>
22070 * config/rs6000/predicates.md (update_indexed_address_mem): Delete.
22072 2014-05-21 Marek Polacek <polacek@redhat.com>
22075 * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition.
22077 2014-05-21 Martin Jambor <mjambor@suse.cz>
22079 * doc/invoke.texi (Optimize Options): Document parameters
22080 ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
22081 ipa-cp-array-index-hint-bonus.
22083 2014-05-21 Mark Wielaard <mjw@redhat.com>
22086 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF
22087 version >= 3 or not strict DWARF.
22088 * langhooks.h (struct lang_hooks_for_types): Add
22089 enum_underlying_base_type.
22090 * langhooks.c (lhd_enum_underlying_base_type): New function.
22091 * gcc/langhooks.h (struct lang_hooks_for_types): Add
22092 enum_underlying_base_type.
22093 * langhooks-def.h (lhd_enum_underlying_base_type): New declaration.
22094 (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define.
22095 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook.
22097 2014-05-21 Richard Biener <rguenther@suse.de>
22099 * doc/invoke.texi (-flto-partition=): Document one and none algorithms.
22101 2014-05-21 John Marino <gnugcc@marino.st>
22103 * config.gcc (*-*-dragonfly*): New target.
22104 * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*).
22105 * configure: Regenerate.
22106 * config/dragonfly-stdint.h: New.
22107 * config/dragonfly.h: New.
22108 * config/dragonfly.opt: New.
22109 * config/i386/dragonfly.h: New.
22110 * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly.
22112 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
22114 * tree.def (VOID_CST): New.
22115 * tree-core.h (TI_VOID): New.
22116 * tree.h (void_node): New.
22117 * tree.c (tree_node_structure_for_code, tree_code_size)
22118 (iterative_hash_expr): Handle VOID_CST.
22119 (build_common_tree_nodes): Initialize void_node.
22121 2014-05-21 Bernd Schmidt <bernds@codesourcery.com>
22123 * reload1.c (remove_init_insns, will_delete_init_insn_p): New static
22125 (reload, calculate_needs_all_insns, reload_as_needed): Use them.
22127 * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few
22130 * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if
22131 flag_reorder_blocks_and_partition.
22132 * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set.
22134 2014-05-21 Oleg Endo <olegendo@gcc.gnu.org>
22137 * config/sh/sh.md (*addc_r_1): Rename to addc_t_r. Remove empty
22139 (*addc_r_t): Add new insn_and_split.
22141 2014-05-21 Jakub Jelinek <jakub@redhat.com>
22143 PR middle-end/61252
22144 * omp-low.c (handle_simd_reference): New function.
22145 (lower_rec_input_clauses): Use it. Defer adding reference
22146 initialization even for reduction without placeholder if in simd,
22147 handle it properly later on.
22149 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
22151 PR tree-optimization/60899
22152 * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup;
22153 assume all static symbols will have definition wile parsing and
22154 check the do have definition later in compilation; check that
22155 variable referring symbol will be output before concluding that
22156 reference is safe; be conservative for referring local statics;
22157 be more precise about when comdat is output in other partition.
22159 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
22162 * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED
22164 * ipa-inline.c (inline_to_all_callers): If callee was removed; return.
22165 (ipa_inline): Loop inline_to_all_callers until no more aliases
22168 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
22170 * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping;
22171 set writeonly flag only for vars actually written to.
22173 2014-05-20 Dehao Chen <dehao@google.com>
22175 * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
22176 and callee count to get clone count.
22177 * tree-inline.c (expand_call_inline): Use callee count instead of bb
22178 count in copy_body.
22180 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
22182 PR rtl-optimization/61243
22183 * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P.
22185 2014-05-20 Xinliang David Li <davidxl@google.com>
22187 * cgraphunit.c (walk_polymorphic_call_targets): Add
22188 dbgcnt and fopt-info support.
22189 * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto.
22190 * ipa-devirt.c (ipa_devirt): Ditto.
22191 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto.
22192 * ipa.c (walk_polymorphic_call_targets): Ditto.
22193 * gimple-fold.c (fold_gimple_assign): Ditto.
22194 (gimple_fold_call): Ditto.
22195 * dbgcnt.def: New counter.
22197 2014-05-20 DJ Delorie <dj@redhat.com>
22199 * config/msp430/msp430.md (split): Don't allow subregs when
22200 splitting SImode adds.
22201 (andneghi): Fix subtraction logic.
22202 * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New.
22204 2014-05-20 Jan Hubicka <hubicka@ucw.cz>
22206 * tree.h (DECL_ONE_ONLY): Return true only for externally visible
22208 * except.c (switch_to_exception_section, resolve_unique_section,
22209 get_named_text_section, default_function_rodata_section,
22210 align_variable, get_block_for_decl, default_section_type_flags):
22211 Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY.
22212 * symtab.c (symtab_add_to_same_comdat_group,
22213 symtab_make_decl_local, fixup_same_cpp_alias_visibility,
22214 symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class):
22216 * cgraphclones.c (cgraph_create_virtual_clone): Likewise.
22217 * bb-reorder.c (pass_partition_blocks::gate): Likewise.
22218 * config/c6x/c6x.c (c6x_elf_unique_section): Likewise.
22219 (c6x_function_in_section_p): Likewise.
22220 * config/darwin.c (machopic_select_section): Likewise.
22221 * config/arm/arm.c (arm_function_in_section_p): Likewise.
22222 * config/mips/mips.c (mips_function_rodata_section): Likewise.
22223 * config/mep/mep.c (mep_select_section): LIkewise.
22224 * config/i386/i386.c (x86_64_elf_unique_section): Likewise.
22226 2014-05-20 Eric Botcazou <ebotcazou@adacore.com>
22228 * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the
22229 EH region of calls to pure functions that can throw an exception.
22230 * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test.
22231 (copy_reference_ops_from_call): Also copy the EH region of the call if
22232 it can throw an exception.
22234 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
22236 * simplify-rtx.c (simplify_binary_operation_1): Optimize case of
22237 nested VEC_SELECTs that are inverses of each other.
22239 2014-05-20 Richard Biener <rguenther@suse.de>
22241 * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating,
22242 (extract_and_process_scc_for_name): not here.
22243 (cond_dom_walker::before_dom_children): Only process
22244 stmts that end the BB in interesting ways.
22245 (run_scc_vn): Mark param uses as visited.
22247 2014-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22249 * config/arm/arm.md (arith_shiftsi): Do not predicate for
22252 2014-05-20 Nick Clifton <nickc@redhat.com>
22254 * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define.
22255 (msp430_gimplify_va_arg_expr): New function.
22256 (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)).
22258 * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on
22259 operand 0 in order to prevent confusion about the number of
22260 registers involved.
22262 2014-05-20 Richard Biener <rguenther@suse.de>
22264 PR tree-optimization/61221
22265 * tree-ssa-pre.c (el_to_update): Remove.
22266 (eliminate_dom_walker::before_dom_children): Handle released
22267 VDEFs by value-numbering them to the associated VUSE. Update
22268 stmt immediately for substituted call address.
22269 (eliminate): Remove delayed stmt updating code.
22270 * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing
22271 possibly late re-numbered vuses.
22272 (vn_reference_lookup_2): Adjust.
22273 (vn_reference_lookup_pieces): Likewise.
22274 (vn_reference_lookup): Likewise.
22276 2014-05-20 Richard Biener <rguenther@suse.de>
22278 * config.gcc: Remove need_64bit_hwint.
22279 * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT.
22280 * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume
22282 * config.in: Regenerate.
22283 * configure: Likewise.
22285 2014-05-19 David Wohlferd <dw@LimeGreenSocks.com>
22287 * doc/extend.texi: Create Label Attributes section,
22288 move all label attributes into it and reference it.
22290 2014-05-19 Richard Earnshaw <rearnsha@arm.com>
22292 * arm.c (thumb1_reorg): When scanning backwards skip anything
22293 that's not a proper insn.
22295 2014-05-19 Richard Biener <rguenther@suse.de>
22297 PR tree-optimization/61221
22298 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
22299 Do nothing for unreachable blocks.
22300 * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children):
22301 Improve unreachability detection.
22303 2014-05-19 Richard Biener <rguenther@suse.de>
22305 PR tree-optimization/61209
22306 * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP.
22308 2014-05-19 Nick Clifton <nickc@redhat.com>
22310 * except.c (init_eh): Fix computation of builtin setjmp buffer
22311 size to allow for targets where POINTER_SIZE > BITS_PER_WORD.
22313 2014-05-19 Richard Biener <rguenther@suse.de>
22315 PR tree-optimization/61184
22316 * tree-vrp.c (is_negative_overflow_infinity): Use
22317 TREE_OVERFLOW_P and do that check first.
22318 (is_positive_overflow_infinity): Likewise.
22319 (is_overflow_infinity): Likewise.
22320 (vrp_operand_equal_p): Properly treat operands with
22321 differing overflow as not equal.
22323 2014-05-19 Bernd Schmidt <bernds@codesourcery.com>
22325 * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in
22326 shift simplification where it was intended.
22328 2014-05-19 Christian Bruel <christian.bruel@st.com>
22331 * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov.
22333 2014-05-19 Richard Sandiford <r.sandiford@uk.ibm.com>
22336 * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather
22339 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
22341 * reg-notes.def (CROSSING_JUMP): Likewise.
22342 * rtl.h (rtx_def): Update comment for jump flag.
22343 (CROSSING_JUMP_P): Define.
22344 * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead
22345 of a REG_CROSSING_JUMP note.
22346 * cfghooks.c (tidy_fallthru_edges): Likewise.
22347 * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise.
22348 * emit-rtl.c (try_split): Likewise.
22349 * haifa-sched.c (sched_create_recovery_edges): Likewise.
22350 * ifcvt.c (find_if_case_1, find_if_case_2): Likewise.
22351 * jump.c (redirect_jump_2): Likewise.
22352 * reorg.c (follow_jumps, fill_slots_from_thread): Likewise.
22353 (relax_delay_slots): Likewise.
22354 * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise.
22355 (bbit_di): Likewise.
22356 * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise.
22357 * config/sh/sh.md (jump_compact): Likewise.
22358 * bb-reorder.c (rotate_loop): Likewise.
22359 (pass_duplicate_computed_gotos::execute): Likewise.
22360 (add_reg_crossing_jump_notes): Rename to...
22361 (update_crossing_jump_flags): ...this.
22362 (pass_partition_blocks::execute): Update accordingly.
22364 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com>
22366 * tree.h: Remove extraneous template <>.
22368 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
22370 * ipa.c (symtab_remove_unreachable_nodes): Remove
22371 symbol from comdat group if its body was eliminated.
22372 (comdat_can_be_unshared_p_1): Static symbols can always be privatized.
22373 * symtab.c (symtab_remove_from_same_comdat_group): Break out from ...
22374 (symtab_unregister_node): ... this one.
22375 (verify_symtab_base): More strict checking of comdats.
22376 * cgraph.h (symtab_remove_from_same_comdat_group): Declare.
22378 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
22380 * tree-pass.h (make_pass_ipa_comdats): New pass.
22381 * timevar.def (TV_IPA_COMDATS): New timevar.
22382 * passes.def (pass_ipa_comdats): Add.
22383 * Makefile.in (OBJS): Add ipa-comdats.o
22384 * ipa-comdats.c: New file.
22386 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
22388 * ipa.c (update_visibility_by_resolution_info): New function.
22389 (function_and_variable_visibility): Use it.
22391 2014-05-17 Jan Hubicka <hubicka@ucw.cz>
22393 * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
22395 (FOR_EACH_DEFINED_SYMBOL): New macro.
22396 (varpool_first_static_initializer, varpool_next_static_initializer,
22397 varpool_first_defined_variable, varpool_next_defined_variable):
22399 (symtab_in_same_comdat_p): Correctly deal with inline functions.
22401 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
22403 * ggc-page.c (ggc_handle_finalizers): Add comment.
22405 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
22407 * ggc-common.c (ggc_internal_cleared_alloc): Adjust.
22408 * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed.
22409 (ggc_internal_cleared_alloc): Likewise.
22410 * ggc-page.c (finalizer): New class.
22411 (vec_finalizer): Likewise.
22412 (globals::finalizers): New member.
22413 (globals::vec_finalizers): Likewise.
22414 (ggc_internal_alloc): Record the finalizer if any for the block being
22416 (ggc_handle_finalizers): New function.
22417 (ggc_collect): Call ggc_handle_finalizers.
22418 * ggc.h (ggc_internal_alloc): Add arguments to allow installing a
22420 (ggc_internal_cleared_alloc): Likewise.
22421 (finalize): New function.
22422 (need_finalization_p): Likewise.
22423 (ggc_alloc): Install the type's destructor as the finalizer if it
22424 might do something.
22425 (ggc_cleared_alloc): Likewise.
22426 (ggc_vec_alloc): Likewise.
22427 (ggc_cleared_vec_alloc): Likewise.
22429 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
22431 * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function.
22433 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
22435 * alias.c (record_alias_subset): Adjust.
22436 * bitmap.c (bitmap_element_allocate): Likewise.
22437 (bitmap_gc_alloc_stat): Likewise.
22438 * cfg.c (init_flow): Likewise.
22439 (alloc_block): Likewise.
22440 (unchecked_make_edge): Likewise.
22441 * cfgloop.c (alloc_loop): Likewise.
22442 (flow_loops_find): Likewise.
22443 (rescan_loop_exit): Likewise.
22444 * cfgrtl.c (init_rtl_bb_info): Likewise.
22445 * cgraph.c (insert_new_cgraph_node_version): Likewise.
22446 (cgraph_allocate_node): Likewise.
22447 (cgraph_create_edge_1): Likewise.
22448 (cgraph_allocate_init_indirect_info): Likewise.
22449 * cgraphclones.c (cgraph_clone_edge): Likewise.
22450 * cgraphunit.c (add_asm_node): Likewise.
22451 (init_lowered_empty_function): Likewise.
22452 * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise.
22453 * config/alpha/alpha.c (alpha_init_machine_status): Likewise.
22454 (alpha_use_linkage): Likewise.
22455 * config/arc/arc.c (arc_init_machine_status): Likewise.
22456 * config/arm/arm.c (arm_init_machine_status): Likewise.
22457 * config/avr/avr.c (avr_init_machine_status): Likewise.
22458 * config/bfin/bfin.c (bfin_init_machine_status): Likewise.
22459 * config/c6x/c6x.c (c6x_init_machine_status): Likewise.
22460 * config/cris/cris.c (cris_init_machine_status): Likewise.
22461 * config/darwin.c (machopic_indirection_name): Likewise.
22462 (darwin_build_constant_cfstring): Likewise.
22463 (darwin_enter_string_into_cfstring_table): Likewise.
22464 * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise.
22465 * config/frv/frv.c (frv_init_machine_status): Likewise.
22466 * config/i386/i386.c (get_dllimport_decl): Likewise.
22467 (ix86_init_machine_status): Likewise.
22468 (assign_386_stack_local): Likewise.
22469 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
22470 (i386_pe_maybe_record_exported_symbol): Likewise.
22471 (i386_pe_record_stub): Likewise.
22472 * config/ia64/ia64.c (ia64_init_machine_status): Likewise.
22473 * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
22474 * config/m32c/m32c.c (m32c_init_machine_status): Likewise.
22475 (m32c_note_pragma_address): Likewise.
22476 * config/mep/mep.c (mep_init_machine_status): Likewise.
22477 (mep_note_pragma_flag): Likewise.
22478 * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
22479 (mips16_local_alias): Likewise.
22480 (mips_init_machine_status): Likewise.
22481 * config/mmix/mmix.c (mmix_init_machine_status): Likewise.
22482 * config/moxie/moxie.c (moxie_init_machine_status): Likewise.
22483 * config/msp430/msp430.c (msp430_init_machine_status): Likewise.
22484 * config/nds32/nds32.c (nds32_init_machine_status): Likewise.
22485 * config/nios2/nios2.c (nios2_init_machine_status): Likewise.
22486 * config/pa/pa.c (pa_init_machine_status): Likewise.
22487 (pa_get_deferred_plabel): Likewise.
22488 * config/rl78/rl78.c (rl78_init_machine_status): Likewise.
22489 * config/rs6000/rs6000.c (builtin_function_type): Likewise.
22490 (rs6000_init_machine_status): Likewise.
22491 (output_toc): Likewise.
22492 * config/s390/s390.c (s390_init_machine_status): Likewise.
22493 * config/score/score.c (score_output_external): Likewise.
22494 * config/sparc/sparc.c (sparc_init_machine_status): Likewise.
22495 * config/spu/spu.c (spu_init_machine_status): Likewise.
22496 * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise.
22497 * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise.
22498 * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
22499 * coverage.c (coverage_end_function): Likewise.
22500 * dbxout.c (dbxout_init): Likewise.
22501 * doc/gty.texi: Don't mention variable_size attribute.
22502 * dwarf2cfi.c (new_cfi): Adjust.
22503 (new_cfi_row): Likewise.
22504 (copy_cfi_row): Likewise.
22505 (create_cie_data): Likewise.
22506 * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise.
22507 (new_loc_descr): Likewise.
22508 (find_AT_string_in_table): Likewise.
22509 (add_addr_table_entry): Likewise.
22510 (new_die): Likewise.
22511 (add_var_loc_to_decl): Likewise.
22512 (clone_die): Likewise.
22513 (clone_as_declaration): Likewise.
22514 (break_out_comdat_types): Likewise.
22515 (new_loc_list): Likewise.
22516 (add_loc_descr_to_each): Likewise.
22517 (add_location_or_const_value_attribute): Likewise.
22518 (add_linkage_name): Likewise.
22519 (lookup_filename): Likewise.
22520 (dwarf2out_var_location): Likewise.
22521 (new_line_info_table): Likewise.
22522 (dwarf2out_init): Likewise.
22523 (mem_loc_descriptor): Likewise.
22524 (loc_descriptor): Likewise.
22525 (add_const_value_attribute): Likewise.
22526 (tree_add_const_value_attribute): Likewise.
22527 (comp_dir_string): Likewise.
22528 (dwarf2out_vms_debug_main_pointer): Likewise.
22529 (string_cst_pool_decl): Likewise.
22530 * emit-rtl.c (set_mem_attrs): Likewise.
22531 (get_reg_attrs): Likewise.
22532 (start_sequence): Likewise.
22533 (init_emit): Likewise.
22534 (init_emit_regs): Likewise.
22535 * except.c (init_eh_for_function): Likewise.
22536 (gen_eh_region): Likewise.
22537 (gen_eh_region_catch): Likewise.
22538 (gen_eh_landing_pad): Likewise.
22539 (add_call_site): Likewise.
22540 * function.c (add_frame_space): Likewise.
22541 (insert_temp_slot_address): Likewise.
22542 (assign_stack_temp_for_type): Likewise.
22543 (get_hard_reg_initial_val): Likewise.
22544 (allocate_struct_function): Likewise.
22545 (prepare_function_start): Likewise.
22546 (types_used_by_var_decl_insert): Likewise.
22547 * gengtype.c (variable_size_p): Remove function.
22548 (enum alloc_quantity): Remove enum.
22549 (write_typed_alloc_def): Remove function.
22550 (write_typed_struct_alloc_def): Likewise.
22551 (write_typed_typedef_alloc_def): Likewise.
22552 (write_typed_alloc_defns): Likewise.
22554 * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust.
22555 (ggc_cleared_alloc_ptr_array_two_args): Likewise.
22556 * ggc.h (ggc_alloc): new function.
22557 (ggc_cleared_alloc): Likewise.
22558 (ggc_vec_alloc): Template on type of vector element, and remove
22559 element size argument.
22560 (ggc_cleared_vec_alloc): Likewise.
22561 * gimple.c (gimple_build_omp_for): Adjust.
22562 (gimple_copy): Likewise.
22563 * ipa-cp.c (get_replacement_map): Likewise.
22564 (find_aggregate_values_for_callers_subset): Likewise.
22565 (known_aggs_to_agg_replacement_list): Likewise.
22566 * ipa-devirt.c (get_odr_type): Likewise.
22567 * ipa-prop.c (ipa_node_duplication_hook): Likewise.
22568 (read_agg_replacement_chain): Likewise.
22569 * loop-iv.c (get_simple_loop_desc): Likewise.
22570 * lto-cgraph.c (input_node_opt_summary): Likewise.
22571 * lto-section-in.c (lto_new_in_decl_state): Likewise.
22572 * lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
22573 (input_eh_region): Likewise.
22574 (input_eh_lp): Likewise.
22575 (input_cfg): Likewise.
22576 * optabs.c (set_optab_libfunc): Likewise.
22577 (init_tree_optimization_optabs): Likewise.
22578 (set_conv_libfunc): Likewise.
22579 * passes.c (do_per_function_toporder): Likewise.
22580 * rtl.h: Don't use variable_size gty attribute.
22581 * sese.c (if_region_set_false_region): Adjust.
22582 * stringpool.c (gt_pch_save_stringpool): Likewise.
22583 * target-globals.c (save_target_globals): Likewise.
22584 * toplev.c (general_init): Likewise.
22585 * trans-mem.c (record_tm_replacement): Likewise.
22586 (split_bb_make_tm_edge): Likewise.
22587 * tree-cfg.c (move_sese_region_to_fn): Likewise.
22588 * tree-data-ref.h (lambda_vector_new): Likewise.
22589 * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
22590 * tree-iterator.c (tsi_link_before): Likewise.
22591 (tsi_link_after): Likewise.
22592 * tree-scalar-evolution.c (new_scev_info_str): Likewise.
22593 * tree-ssa-loop-niter.c (record_estimate): Likewise.
22594 * tree-ssa-operands.c (ssa_operand_alloc): Likewise.
22595 * tree-ssa-operands.h: Don't use variable_size gty attribute.
22596 * tree-ssa.c (init_tree_ssa): Adjust.
22597 * tree-ssanames.c (set_range_info): Likewise.
22598 (get_ptr_info): Likewise.
22599 (duplicate_ssa_name_ptr_info): Likewise.
22600 (duplicate_ssa_name_range_info): Likewise.
22601 * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise.
22602 (unpack_ts_fixed_cst_value_fields): Likewise.
22603 * tree.c (build_fixed): Likewise.
22604 (build_real): Likewise.
22605 (build_string): Likewise.
22606 (decl_priority_info): Likewise.
22607 (decl_debug_expr_insert): Likewise.
22608 (decl_value_expr_insert): Likewise.
22609 (decl_debug_args_insert): Likewise.
22610 (type_hash_add): Likewise.
22611 (build_omp_clause): Likewise.
22612 * ubsan.c (decl_for_type_insert): Likewise.
22613 * varasm.c (get_unnamed_section): Likewise.
22614 (get_noswitch_section): Likewise.
22615 (get_section): Likewise.
22616 (get_block_for_section): Likewise.
22617 (create_block_symbol): Likewise.
22618 (build_constant_desc): Likewise.
22619 (create_constant_pool): Likewise.
22620 (force_const_mem): Likewise.
22621 (record_tm_clone_pair): Likewise.
22622 * varpool.c (varpool_create_empty_node): Likewise.
22624 2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
22626 * dwarf2out.c (tree_add_const_value_attribute): Call
22627 ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic.
22628 * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc
22629 instead of ggc_internal_<x>alloc_stat.
22630 * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix.
22631 (ggc_realloc): Likewise.
22632 * ggc-none.c (ggc_internal_alloc): Likewise.
22633 (ggc_internal_cleared_alloc): Likewise.
22634 * ggc-page.c: Likewise.
22635 * ggc.h (ggc_internal_alloc_stat): Likewise.
22636 (ggc_internal_alloc): Remove macro.
22637 (ggc_internal_cleared_alloc_stat): Drop _stat suffix.
22638 (ggc_internal_cleared_alloc): Remove macro.
22639 (GGC_RESIZEVEC): Adjust.
22640 (ggc_resizevar): Remove macro.
22641 (ggc_internal_vec_alloc_stat): Drop _stat suffix.
22642 (ggc_internal_cleared_vec_alloc_stat): Likewise.
22643 (ggc_internal_vec_cleared_alloc): Remove macro.
22644 (ggc_alloc_atomic_stat): Drop _stat suffix.
22645 (ggc_alloc_atomic): Remove macro.
22646 (ggc_alloc_cleared_atomic): Remove macro.
22647 (ggc_alloc_string_stat): Drop _stat suffix.
22648 (ggc_alloc_string): Remove macro.
22649 (ggc_alloc_rtx_def_stat): Adjust.
22650 (ggc_alloc_tree_node_stat): Likewise.
22651 (ggc_alloc_cleared_tree_node_stat): Likewise.
22652 (ggc_alloc_cleared_gimple_statement_stat): Likewise.
22653 (ggc_alloc_cleared_simd_clone_stat): Likewise.
22654 * gimple.c (gimple_build_omp_for): Likewise.
22655 (gimple_copy): Likewise.
22656 * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix.
22657 * toplev.c (realloc_for_line_map): Adjust.
22658 * tree-data-ref.h (lambda_vector_new): Likewise.
22659 * tree-phinodes.c (allocate_phi_node): Likewise.
22660 * tree.c (grow_tree_vec_stat): Likewise.
22661 * vec.h (va_gc::reserve): Adjust.
22663 2014-05-17 Ajit Agarwal <ajitkum@xilinx.com>
22665 * config/microblaze/microblaze.c (break_handler): New Declaration.
22666 (microblaze_break_function_p,microblaze_is_break_handler): New.
22667 (compute_frame_size): Use microblaze_break_function_p.
22668 Add the test of break_handler.
22669 (microblaze_function_prologue) : Add the test of variable
22670 break_handler. Check the fnname by BREAK_HANDLER_NAME.
22671 (microblaze_function_epilogue) : Add the test of break_handler.
22672 (microblaze_globalize_label) : Add the test of break_handler.
22673 Check the name by BREAK_HANDLER_NAME.
22675 * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro
22677 * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add
22678 microblaze_is_break_handler test.
22679 (call_internal1,call_value_intern): Use microblaze_break_function_p.
22680 Use SYMBOL_REF_DECL.
22682 * config/microblaze/microblaze-protos.h
22683 (microblaze_break_function_p,microblaze_is_break_handler):
22686 * doc/extend.texi (MicroBlaze break_handler Functions): Document
22687 new MicroBlaze break_handler functions.
22689 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
22691 * doc/extend.texi (Size of an asm): Move node text according
22692 to its @menu entry position.
22694 2014-05-17 Marc Glisse <marc.glisse@inria.fr>
22696 PR tree-optimization/61140
22697 PR tree-optimization/61150
22698 PR tree-optimization/61197
22699 * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis.
22701 2014-05-17 Uros Bizjak <ubizjak@gmail.com>
22703 * doc/invoke.texi (free): Mention Alpha. Also enabled at -Os.
22705 2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com>
22707 * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
22708 __SIZEOF_INT128__ is defined.
22710 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
22712 * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
22713 (rs6000_delegitimize_address): Use it.
22715 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
22717 * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an
22718 inplace argument. Store the new address in the original MEM when true.
22719 * emit-rtl.c (change_address_1): Likewise.
22720 (adjust_address_1, adjust_automodify_address_1, offset_address):
22721 Update accordingly.
22722 * rtl.h (plus_constant): Add an inplace argument.
22723 * explow.c (plus_constant): Likewise. Try to reuse the original PLUS
22724 when true. Avoid generating (plus X (const_int 0)).
22725 * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS
22726 in-place. Pass true to plus_constant.
22727 (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address.
22729 2014-05-16 Dehao Chen <dehao@google.com>
22731 * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count.
22733 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
22736 * config/sh/predicates.md (negt_reg_shl31_operand): Match additional
22738 * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants.
22740 2014-05-16 Dehao Chen <dehao@google.com>
22742 * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use
22743 optimize_function_for_size_p.
22744 * regs.h (REG_FREQ_FROM_BB): Likewise.
22746 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
22749 * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and
22750 negt_reg_operand cases.
22751 * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value
22753 * config/sh/predicates.md (cbranch_treg_value): Simplify.
22755 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org>
22757 * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all
22760 2014-05-16 David Malcolm <dmalcolm@redhat.com>
22763 2014-04-29 David Malcolm <dmalcolm@redhat.com>
22765 * tree-cfg.c (dump_function_to_file): Dump the return type of
22766 functions, in a line to itself before the function body, mimicking
22767 the layout of a C function.
22769 2014-05-16 Dehao Chen <dehao@google.com>
22771 * cfghooks.c (make_forwarder_block): Use direct computation to
22772 get fall-through edge's count and frequency.
22774 2014-05-16 Benno Schulenberg <bensberg@justemail.net>
22776 * config/arc/arc.c (arc_init): Fix typo in error message.
22777 * config/i386/i386.c (ix86_expand_builtin): Likewise.
22778 (split_stack_prologue_scratch_regno): Likewise.
22779 * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate
22780 word from error message.
22782 2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
22784 * ira-costs.c: Fix typo in comment.
22786 2014-05-16 David Wohlferd <dw@LimeGreenSocks.com>
22788 * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref
22790 2014-05-16 Jan Hubicka <hubicka@ucw.cz>
22792 * varpool.c (dump_varpool_node): Dump write-only flag.
22793 * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream
22795 * tree-cfg.c (execute_fixup_cfg): Remove statements setting
22796 write-only variables.
22797 * ipa.c (process_references): New function.
22798 (set_readonly_bit): New function.
22799 (set_writeonly_bit): New function.
22800 (clear_addressable_bit): New function.
22801 (ipa_discover_readonly_nonaddressable_var): Mark write only variables;
22802 fix handling of aliases.
22803 * cgraph.h (struct varpool_node): Add writeonly flag.
22805 2014-05-16 Vladimir Makarov <vmakarov@redhat.com>
22807 PR rtl-optimization/60969
22808 * ira-costs.c (record_reg_classes): Allow only memory for pseudo.
22809 Calculate costs for this case.
22811 2014-05-16 Eric Botcazou <ebotcazou@adacore.com>
22813 * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
22814 <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.
22816 2014-05-16 Richard Biener <rguenther@suse.de>
22818 PR tree-optimization/61194
22819 * tree-vect-patterns.c (adjust_bool_pattern): Also handle
22820 bool patterns ending in a COND_EXPR.
22822 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22824 * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case.
22826 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22828 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
22829 where we were unable to cost an RTX.
22831 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22833 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
22836 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22837 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22839 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
22841 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22842 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22844 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
22845 FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
22847 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22848 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22850 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
22853 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22854 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22856 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
22859 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22860 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22862 * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New.
22863 (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT.
22865 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22866 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22868 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
22869 rotates and shifts.
22871 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22872 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22874 * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
22875 ZERO_EXTEND and SIGN_EXTEND better.
22877 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22878 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22880 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
22881 logical operations.
22883 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22884 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22886 * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
22887 costs when costing loads and stores to memory.
22889 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22890 Philip Tomsich <philipp.tomsich@theobroma-systems.com>
22892 * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
22895 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22897 * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
22899 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22900 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22902 * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
22904 (aarch64_strip_extend): ...this, don't strip shifts, check RTX is
22906 (aarch64_rtx_mult_cost): New.
22907 (aarch64_rtx_costs): Use it, refactor as appropriate.
22909 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22910 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
22912 * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
22913 emit instructions, return number of instructions which would
22915 (aarch64_add_constant): Update call to aarch64_build_constant.
22916 (aarch64_output_mi_thunk): Likewise.
22917 (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of
22920 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22922 * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
22923 (TARGET_RTX_COSTS): Call it.
22925 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22927 * config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
22928 (cortexa57_vector_cost): Likewise.
22929 (cortexa57_tunings): Use them.
22931 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com>
22933 * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
22934 (cpu_addrcost_table): Use it.
22935 * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
22936 (aarch64_address_cost): Rewrite using aarch64_classify_address,
22939 2014-05-16 Richard Biener <rguenther@suse.de>
22941 * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h.
22942 (set_ssa_val_to): Handle unexpected sets to VN_TOP.
22943 (visit_phi): Ignore edges marked as not executable.
22944 (class cond_dom_walker): New.
22945 (cond_dom_walker::before_dom_children): Value-number
22946 control statements and mark successor edges as not
22947 executable if possible.
22948 (run_scc_vn): First walk all control statements in
22949 dominator order, marking edges as not executable.
22950 * tree-inline.c (copy_edges_for_bb): Be not confused
22951 about random edge flags.
22953 2014-05-16 Richard Biener <rguenther@suse.de>
22955 * tree-ssa-sccvn.c (visit_use): Also constant-fold calls.
22957 2014-05-15 Peter Bergner <bergner@vnet.ibm.com>
22960 * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define.
22961 (__TM_simple_begin): Use it.
22962 (__TM_begin): Likewise.
22964 2014-05-15 Martin Jambor <mjambor@suse.cz>
22967 * ipa-prop.c (update_indirect_edges_after_inlining): Check
22968 type_preserved flag when the indirect edge is polymorphic.
22970 2014-05-15 Martin Jambor <mjambor@suse.cz>
22972 PR tree-optimization/61090
22973 * tree-sra.c (sra_modify_expr): Pass the current gsi to
22974 build_ref_for_model.
22976 2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
22978 * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL
22979 enum name for PARAM_SCHED_PRESSURE_ALGORITHM.
22981 2014-05-15 Jakub Jelinek <jakub@redhat.com>
22983 PR tree-optimization/61158
22984 * fold-const.c (fold_binary_loc): If X is zero-extended and
22985 shiftc >= prec, make sure zerobits is all ones instead of
22986 invoking undefined behavior.
22988 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
22990 * regcprop.h: New file.
22991 * regcprop.c (skip_debug_insn_p): New decl.
22992 (replace_oldest_value_reg): Check skip_debug_insn_p.
22993 (copyprop_hardreg_forward_bb_without_debug_insn): New function.
22994 * shrink-wrap.c: Include regcprop.h.
22995 (prepare_shrink_wrap): Call
22996 copyprop_hardreg_forward_bb_without_debug_insn.
22998 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org>
23000 * shrink-wrap.h: Update comment.
23001 * shrink-wrap.c: Update comment.
23002 (next_block_for_reg): Rename to live_edge_for_reg.
23003 (live_edge_for_reg): Allow live_edge->dest has two predecessors.
23004 (move_insn_for_shrink_wrap): Split live_edge.
23005 (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap.
23007 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
23009 * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate):
23011 * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise.
23012 * config/sparc/sparc.md (fptype_ut699): New attribute.
23013 (in_branch_delay): Return false if -mfix-ut699 is specified and
23014 fptype_ut699 is set to single.
23015 (truncdfsf2): Add fptype_ut699 attribute.
23016 (fix_truncdfsi2): Likewise.
23017 (floatsisf2): Change fptype attribute.
23018 (fix_truncsfsi2): Likewise.
23019 (negtf2_notv9): Delete.
23020 (negtf2_v9): Likewise.
23021 (negtf2_hq): New instruction.
23022 (negtf2): New instruction and splitter.
23023 (negdf2_notv9): Rewrite.
23024 (abstf2_notv9): Delete.
23025 (abstf2_hq_v9): Likewise.
23026 (abstf2_v9): Likewise.
23027 (abstf2_hq): New instruction.
23028 (abstf2): New instruction and splitter.
23029 (absdf2_notv9): Rewrite.
23031 2014-05-14 Cary Coutant <ccoutant@google.com>
23034 * opts.c (common_handle_option): Don't special-case "-g".
23035 (set_debug_level): Default to at least level 2 with "-g".
23037 2014-05-14 DJ Delorie <dj@redhat.com>
23039 * config/msp430/msp430.c (msp430_builtin): Add
23040 MSP430_BUILTIN_DELAY_CYCLES.
23041 (msp430_init_builtins): Register void __delay_cycles(long long).
23042 (msp430_builtin_decl): Add it.
23043 (cg_magic_constant): New.
23044 (msp430_expand_delay_cycles): New.
23045 (msp430_expand_builtin): Call it.
23046 (msp430_print_operand_raw): Change integer printing from "int" to
23048 * config/msp430/msp430.md (define_constants): Add delay_cycles tags.
23049 (delay_cycles_start): New.
23050 (delay_cycles_end): New.
23051 (delay_cycles_32): New.
23052 (delay_cycles_32x): New.
23053 (delay_cycles_16): New.
23054 (delay_cycles_16x): New.
23055 (delay_cycles_2): New.
23056 (delay_cycles_1): New.
23057 * doc/extend.texi: Document __delay_cycles().
23059 2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
23061 * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in
23062 length attribute computation.
23064 2014-05-14 Richard Sandiford <rdsandiford@googlemail.com>
23067 * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered.
23069 2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com>
23072 * config/sparc/sparc.md: Fix types of low and high in DI constant
23073 splitter. Use gen_int_mode in some other splitters.
23075 2014-05-14 Martin Jambor <mjambor@suse.cz>
23078 * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC.
23080 2014-05-14 James Norris <jnorris@codesourcery.com>
23082 * omp-low.c (expand_parallel_call): Remove shadow variable.
23083 (expand_omp_taskreg): Likewise.
23085 2014-05-14 Ilya Tocar <ilya.tocar@intel.com>
23087 * common/config/i386/i386-common.c
23088 (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define.
23089 (OPTION_MASK_ISA_XSAVES_SET): Ditto.
23090 (OPTION_MASK_ISA_XSAVEC_SET): Ditto.
23091 (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto.
23092 (OPTION_MASK_ISA_XSAVES_UNSET): Ditto.
23093 (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto.
23094 (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt.
23095 * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h,
23096 xsavecintrin.h, xsavesintrin.h.
23097 (x86_64-*-*): Ditto.
23098 * config/i386/clflushoptintrin.h: New.
23099 * config/i386/xsavecintrin.h: Ditto.
23100 * config/i386/xsavesintrin.h: Ditto.
23101 * config/i386/cpuid.h (bit_CLFLUSHOPT): Define.
23102 (bit_XSAVES): Ditto.
23103 (bit_XSAVES): Ditto.
23104 * config/i386/driver-i386.c (host_detect_local_cpu): Handle
23105 -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec,
23107 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
23108 OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC,
23109 OPTION_MASK_ISA_XSAVES.
23110 * config/i386/i386.c (ix86_target_string): Handle -mclflushopt,
23111 -mxsavec, -mxsaves.
23112 (PTA_CLFLUSHOPT) Define.
23113 (PTA_XSAVEC): Ditto.
23114 (PTA_XSAVES): Ditto.
23115 (ix86_option_override_internal): Handle new options.
23116 (ix86_valid_target_attribute_inner_p): Ditto.
23117 (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64,
23118 IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64,
23119 IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT.
23120 (bdesc_special_args): Add __builtin_ia32_xsaves,
23121 __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64,
23122 __builtin_ia32_xrstors64, __builtin_ia32_xsavec64.
23123 (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt.
23124 (ix86_expand_builtin): Handle new builtins.
23125 * config/i386/i386.h (TARGET_CLFLUSHOPT) Define.
23126 (TARGET_CLFLUSHOPT_P): Ditto.
23127 (TARGET_XSAVEC): Ditto.
23128 (TARGET_XSAVEC_P): Ditto.
23129 (TARGET_XSAVES): Ditto.
23130 (TARGET_XSAVES_P): Ditto.
23131 * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES.
23132 (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64.
23133 (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64.
23135 (ANY_XRSTOR64): Ditto.
23137 (xrstor): Change into <xrstor>.
23138 (xrstor_rex64): Change into <xrstor>_rex64.
23139 (xrstor64): Change into <xrstor>64
23141 * config/i386/i386.opt (mclflushopt): New.
23144 * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h,
23146 * doc/invoke.texi: Document new options.
23148 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
23150 PR rtl-optimization/60866
23151 * sel-sched-ir (sel_init_new_insn): New parameter old_seqno.
23152 Default it to -1. Pass it down to init_simplejump_data.
23153 (init_simplejump_data): New parameter old_seqno. Pass it down
23154 to get_seqno_for_a_jump.
23155 (get_seqno_for_a_jump): New parameter old_seqno. Use it for
23156 initializing new jump seqno as a last resort. Add comment.
23157 (sel_redirect_edge_and_branch): Save old seqno of the conditional
23158 jump and pass it down to sel_init_new_insn.
23159 (sel_redirect_edge_and_branch_force): Likewise.
23161 2014-05-14 Georg-Johann Lay <avr@gjlay.de>
23163 * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
23164 shifted values to avoid build warning.
23166 2014-05-14 Eric Botcazou <ebotcazou@adacore.com>
23168 * cfgcleanup.c (try_forward_edges): Use location_t for locations.
23169 * cfgrtl.c (rtl_merge_blocks): Fix comment.
23170 (cfg_layout_merge_blocks): Likewise.
23171 * except.c (emit_to_new_bb_before): Remove prev_bb local variable.
23173 2014-05-14 Andrey Belevantsev <abel@ispras.ru>
23175 PR rtl-optimization/60901
23176 * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that
23177 bb predecessor belongs to the same scheduling region. Adjust comment.
23179 2014-05-13 Peter Bergner <bergner@vnet.ibm.com>
23181 * doc/sourcebuild.texi: (dfp_hw): Document.
23182 (p8vector_hw): Likewise.
23183 (powerpc_eabi_ok): Likewise.
23184 (powerpc_elfv2): Likewise.
23185 (powerpc_htm_ok): Likewise.
23186 (ppc_recip_hw): Likewise.
23187 (vsx_hw): Likewise.
23189 2014-05-13 Cary Coutant <ccoutant@google.com>
23191 * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf.
23193 2014-05-13 David Malcolm <dmalcolm@redhat.com>
23195 * gengtype-parse.c (require3): Eliminate in favor of...
23197 (require_template_declaration): Update to support optional single *
23200 * gengtype.c (get_ultimate_base_class): Add a non-const overload.
23201 (create_user_defined_type): Handle a single level of explicit
23202 pointerness within template arguments.
23203 (struct write_types_data): Add field "kind".
23204 (filter_type_name): Handle "*" character.
23205 (write_user_func_for_structure_ptr): Require a write_types_data
23206 rather than just a prefix string, so that we can look up the kind
23207 of the wtd and use it as an index into wrote_user_func_for_ptr,
23208 ensuring that such functions are written at most once. Support
23209 subclasses by invoking the marking function of the ultimate base class.
23210 (write_user_func_for_structure_body): Require a write_types_data
23211 rather than just a prefix string, so that we can pass this to
23212 write_user_func_for_structure_ptr.
23213 (write_func_for_structure): Likewise.
23214 (ggc_wtd): Add initializer of new "kind" field.
23215 (pch_wtd): Likewise.
23217 * gengtype.h (enum write_types_kinds): New.
23218 (struct type): Add field wrote_user_func_for_ptr to the "s"
23221 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
23223 * fold-const.c (optimize_bit_field_compare): Use wi:: operations
23224 instead of const_binop.
23225 (fold_binary_loc): Likewise.
23227 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com>
23229 * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index
23230 calculation to match get_ref_base_and_extent.
23232 2014-05-13 Catherine Moore <clm@codesourcery.com>
23233 Sandra Loosemore <sandra@codesourcery.com>
23235 * configure.ac: Fix assembly for explicit JALR relocation check.
23236 * configure: Regenerate.
23238 2014-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
23240 * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
23241 (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR.
23242 Remove associated type declarations and initialisations.
23243 (arm_expand_neon_builtin): Likewise.
23244 (neon_emit_pair_result_insn): Delete.
23245 * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete.
23246 * config/arm/neon.md (neon_vtrn<mode>): Delete.
23247 (neon_vzip<mode>): Likewise.
23248 (neon_vuzp<mode>): Likewise.
23250 2014-05-13 Richard Biener <rguenther@suse.de>
23253 * tree-inline.c (remap_gimple_stmt): Clear tail call flag,
23254 it needs revisiting whether the call still may be tail-called.
23256 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23258 * rtl.def (SYMBOL_REF): Remove middle "0" field.
23259 * rtl.h (block_symbol): Reduce number of fields to 2.
23260 (rtx_def): Add u2.symbol_ref_flags.
23261 (SYMBOL_REF_FLAGS): Use it.
23262 (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
23263 (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
23264 * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
23265 Lower index of SYMBOL_REF_DATA.
23266 * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
23267 Print SYMBOL_REF_FLAGS at the same time.
23268 * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
23270 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23272 * rtl.def (VAR_LOCATION): Remove "i" field.
23273 * rtl.h (rtx_def): Add u2.var_location_status.
23274 (PAT_VAR_LOCATION_STATUS): Use it.
23275 (gen_rtx_VAR_LOCATION): Declare.
23276 * gengenrtl.c (excluded_rtx): Add VAR_LOCATION.
23277 * emit-rtl.c (gen_rtx_VAR_LOCATION): New function.
23278 * var-tracking.c (emit_note_insn_var_location): Remove casts.
23280 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23282 * rtl.def (scratch): Fix outdated comment and remove "0" field.
23283 * gengtype.c (adjust_field_rtx_def): Update accordingly.
23285 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23287 * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA)
23288 (BARRIER, CODE_LABEL, NOTE): Remove first "i" field.
23289 * rtl.h (rtx_def): Add insn_uid to u2 field.
23290 (RTX_FLAG_CHECK8): Delete in favor of...
23291 (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro.
23292 (INSN_DELETED_P): Update accordingly.
23293 (INSN_UID): Use u2.insn_uid.
23294 (INSN_CHAIN_CODE_P): Define.
23295 (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION)
23296 (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER)
23297 (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER)
23298 (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER)
23299 (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower
23300 indices accordingly.
23301 * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop.
23302 Update indices for insn-chain rtxes.
23303 * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes.
23304 (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes.
23305 * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call.
23306 * caller-save.c (init_caller_save): Update gen_rtx_INSN calls.
23307 * combine.c (try_combine): Likewise.
23308 * ira.c (setup_prohibited_mode_move_regs): Likewise.
23310 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23312 * rtl.def (REG): Remove middle field.
23313 * rtl.h (rtx_def): Add orignal_regno to u2.
23314 (ORIGINAL_REGNO): Use it instead of field 1.
23315 (REG_ATTRS): Lower field index accordingly.
23316 * gengtype.c (adjust_field_rtx_def): Remove handling of
23317 ORIGINAL_REGNO. Move REG_ATTRS index down.
23318 * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the
23319 code that prints the REGNO.
23321 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23323 * print-rtl.c (print_rtx): Guard whole '0' block with ifndef
23326 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com>
23328 * rtl.h (rtx_def): Mark u2 as GTY ((skip)).
23330 2014-05-13 Bin Cheng <bin.cheng@arm.com>
23332 * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New.
23333 (alloc_iv): Lower base expressions containing ADDR_EXPR.
23335 2014-05-13 Ian Bolton <ian.bolton@arm.com>
23337 * config/aarch64/aarch64-protos.h
23338 (aarch64_hard_regno_caller_save_mode): New prototype.
23339 * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode):
23341 * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
23343 2014-05-13 Christian Bruel <christian.bruel@st.com>
23345 * target.def (mode_switching): New hook vector.
23346 (mode_emit, mode_needed, mode_after, mode_entry): New hooks.
23347 (mode_exit, modepriority_to_mode): Likewise.
23348 * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify.
23349 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
23350 * target.h: Include tm.h and hard-reg-set.h.
23351 * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY)
23352 (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify.
23353 * doc/tm.texi Regenerate.
23354 * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
23355 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
23356 * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify.
23357 (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise.
23358 * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete
23359 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
23360 * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after)
23361 (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration.
23362 * config/i386/i386.c (ix86_mode_needed, ix86_mode_after,
23363 (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority)
23364 (ix86_emit_mode_set): Hookify.
23365 * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY):
23367 (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
23368 * config/epiphany/epiphany-protos.h (epiphany_mode_needed)
23369 (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after)
23370 (epiphany_mode_priority_to_mode): Remove declaration.
23371 * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify.
23372 (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise.
23373 (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after):
23375 (epiphany_mode_priority_to_mode): Change priority type. Hookify.
23376 (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify.
23377 (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify.
23379 2014-05-13 Jakub Jelinek <jakub@redhat.com>
23382 * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp
23383 is const0_rtx, return immediately. Don't test count == 0 when
23386 2014-05-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
23388 * Makefile.in: add shrink-wrap.o.
23389 * config/i386/i386.c: include "shrink-wrap.h"
23390 * function.c: Likewise.
23391 (requires_stack_frame_p, next_block_for_reg,
23392 move_insn_for_shrink_wrap, prepare_shrink_wrap,
23393 dup_block_and_redirect): Move to shrink-wrap.c
23394 (thread_prologue_and_epilogue_insns): Extract three code segments
23395 as functions in shrink-wrap.c
23396 * function.h: Move #ifdef HAVE_simple_return ... #endif block to
23398 * shrink-wrap.c: New file.
23399 * shrink-wrap.h: New file.
23401 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
23403 * doc/extend.texi: Reflect current numbers of pragmas. Remove
23404 reference to Solaris.
23406 2014-05-12 Mike Stump <mikestump@comcast.net>
23409 * genattrtab.c (filename): Add.
23410 (convert_set_attr_alternative): Improve error message.
23411 (check_defs): Restore read_md_filename for error messages.
23412 (gen_insn): Save filename.
23414 2014-05-12 Dimitris Papavasiliou <dpapavas@gmail.com>
23416 * doc/invoke.texi: Document new switches -Wno-shadow-ivar,
23417 -fno-local-ivars and -fivar-visibility.
23418 * c-family/c.opt: Make -Wshadow also implicitly enable
23421 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com>
23423 * doc/tm.texi: Remove reference to deleted macro.
23424 * doc/tm.texi.in: Likewise.
23426 2014-05-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
23429 * config/avr/avr.c (avr_out_store_psi): Use correct constant
23432 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
23435 * config/arm/arm.h (License): Add GCC Runtime Library Exception.
23436 * config/arm/aout.h (License): Same.
23437 * config/arm/bpabi.h (License): Same.
23438 * config/arm/elf.h (License): Same.
23439 * config/arm/linux-elf.h (License): Same.
23440 * config/arm/linux-gas.h (License): Same.
23441 * config/arm/netbsd-elf.h (License): Same.
23442 * config/arm/uclinux-eabi.h (License): Same.
23443 * config/arm/uclinux-elf.h (License): Same.
23444 * config/arm/vxworks.h (License): Same.
23446 2014-05-11 Jakub Jelinek <jakub@redhat.com>
23448 * tree.h (OMP_CLAUSE_LINEAR_STMT): Define.
23449 * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR
23450 number of operands to 3.
23451 (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR.
23452 * tree-nested.c (convert_nonlocal_omp_clauses,
23453 convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND.
23454 * gimplify.c (gimplify_scan_omp_clauses): Handle
23455 OMP_CLAUSE_LINEAR_STMT.
23456 * omp-low.c (lower_rec_input_clauses): Fix typo.
23457 (maybe_add_implicit_barrier_cancel, lower_omp_1): Add
23458 cast between Fortran boolean_type_node and C _Bool if
23461 2014-05-11 Richard Sandiford <rdsandiford@googlemail.com>
23463 PR tree-optimization/61136
23464 * wide-int.h (multiple_of_p): Define a version that doesn't return
23466 * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an
23467 integer_zerop/const_binop pair.
23468 (multiple_of_p): Likewise, converting both operands to widest_int
23471 2014-05-09 Teresa Johnson <tejohnson@google.com>
23473 * cgraphunit.c (analyze_functions): Use correct dump file.
23475 2014-05-09 Florian Weimer <fweimer@redhat.com>
23477 * cfgexpand.c (stack_protect_decl_p): New function, extracted from
23479 (stack_protect_return_slot_p): New function.
23480 (expand_used_vars): Call stack_protect_decl_p and
23481 stack_protect_return_slot_p for -fstack-protector-strong.
23483 2014-05-09 David Wohlferd <LimeGreenSocks@yahoo.com>
23484 Andrew Haley <aph@redhat.com>
23485 Richard Sandiford <rdsandiford@googlemail.com>
23487 * doc/extend.texi: Rewrite inline asm page / re-org asm-related
23490 2014-05-09 Kenneth Zadeck <zadeck@naturalbridge.com>
23492 PR middle-end/61111
23493 * fold-const.c (fold_binary_loc): Changed width of mask.
23495 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
23497 * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
23498 unsigned int initializers for regno_in, regno_out.
23500 2014-05-09 Georg-Johann Lay <avr@gjlay.de>
23503 * config/avr/avr.md (cc): Add new attribute set_vzn.
23504 (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
23505 Set cc insn attribute to set_vzn instead of set_zn for alternatives
23506 with INC, DEC or NEG.
23507 * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
23508 (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
23509 INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.
23511 2014-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23514 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23516 * wide-int.cc (UTItype): Define.
23517 (UDWtype): Define for appropriate W_TYPE_SIZE.
23519 2014-05-09 Richard Biener <rguenther@suse.de>
23521 * Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
23522 * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
23523 (interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
23524 (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
23525 ssa_propagate): Adjust.
23527 2014-05-08 Jeff Law <law@redhat.com>
23529 PR tree-optimization/61009
23530 * tree-ssa-threadedge.c (thread_through_normal_block): Return a
23531 tri-state rather than a boolean. When a block is too big to
23532 thread through, inform caller via negative return value.
23533 (thread_across_edge): If a block was too big for normal threading,
23534 then it's too big for a joiner too, so remove temporary equivalences
23535 and return immediately.
23537 2014-05-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
23538 Matthias Klose <doko@ubuntu.com>
23541 * optc-gen.awk: Fix option handling for -Wunused-parameter.
23543 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
23546 * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.
23548 2014-05-08 Uros Bizjak <ubizjak@gmail.com>
23551 * config/alpha/alpha.c: Include gimple-iterator.h.
23552 (alpha_gimple_fold_builtin): New function. Move
23553 ALPHA_BUILTIN_UMULH folding from ...
23554 (alpha_fold_builtin): ... here.
23555 (TARGET_GIMPLE_FOLD_BUILTIN): New define.
23557 2014-05-08 Wei Mi <wmi@google.com>
23560 * config/i386/i386.c (ix86_compute_frame_layout): Update
23561 preferred_stack_boundary for call, expanded from tls descriptor.
23562 * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX
23563 to depend on SP register.
23564 (*tls_local_dynamic_base_32_gnu): Ditto.
23565 (*tls_local_dynamic_32_once): Ditto.
23566 (tls_global_dynamic_64_<mode>): Set
23567 ix86_tls_descriptor_calls_expanded_in_cfun.
23568 (tls_local_dynamic_base_64_<mode>): Ditto.
23569 (tls_global_dynamic_32): Set
23570 ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
23571 to depend on SP register.
23572 (tls_local_dynamic_base_32): Ditto.
23574 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23576 * config/arm/arm_neon.h: Update comment.
23577 * config/arm/neon-docgen.ml: Delete.
23578 * config/arm/neon-gen.ml: Delete.
23579 * doc/arm-neon-intrinsics.texi: Update comment.
23581 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23583 * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
23585 (vand, vorr, veor, vorn, vbic): Remove.
23586 * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
23588 (neon_vsub_unspec): Likewise.
23589 (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.
23591 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23593 * config/arm/arm_neon.h (vadd_s8): GNU C implementation
23594 (vadd_s16): Likewise.
23595 (vadd_s32): Likewise.
23596 (vadd_f32): Likewise.
23597 (vadd_u8): Likewise.
23598 (vadd_u16): Likewise.
23599 (vadd_u32): Likewise.
23600 (vadd_s64): Likewise.
23601 (vadd_u64): Likewise.
23602 (vaddq_s8): Likewise.
23603 (vaddq_s16): Likewise.
23604 (vaddq_s32): Likewise.
23605 (vaddq_s64): Likewise.
23606 (vaddq_f32): Likewise.
23607 (vaddq_u8): Likewise.
23608 (vaddq_u16): Likewise.
23609 (vaddq_u32): Likewise.
23610 (vaddq_u64): Likewise.
23611 (vmul_s8): Likewise.
23612 (vmul_s16): Likewise.
23613 (vmul_s32): Likewise.
23614 (vmul_f32): Likewise.
23615 (vmul_u8): Likewise.
23616 (vmul_u16): Likewise.
23617 (vmul_u32): Likewise.
23618 (vmul_p8): Likewise.
23619 (vmulq_s8): Likewise.
23620 (vmulq_s16): Likewise.
23621 (vmulq_s32): Likewise.
23622 (vmulq_f32): Likewise.
23623 (vmulq_u8): Likewise.
23624 (vmulq_u16): Likewise.
23625 (vmulq_u32): Likewise.
23626 (vsub_s8): Likewise.
23627 (vsub_s16): Likewise.
23628 (vsub_s32): Likewise.
23629 (vsub_f32): Likewise.
23630 (vsub_u8): Likewise.
23631 (vsub_u16): Likewise.
23632 (vsub_u32): Likewise.
23633 (vsub_s64): Likewise.
23634 (vsub_u64): Likewise.
23635 (vsubq_s8): Likewise.
23636 (vsubq_s16): Likewise.
23637 (vsubq_s32): Likewise.
23638 (vsubq_s64): Likewise.
23639 (vsubq_f32): Likewise.
23640 (vsubq_u8): Likewise.
23641 (vsubq_u16): Likewise.
23642 (vsubq_u32): Likewise.
23643 (vsubq_u64): Likewise.
23644 (vand_s8): Likewise.
23645 (vand_s16): Likewise.
23646 (vand_s32): Likewise.
23647 (vand_u8): Likewise.
23648 (vand_u16): Likewise.
23649 (vand_u32): Likewise.
23650 (vand_s64): Likewise.
23651 (vand_u64): Likewise.
23652 (vandq_s8): Likewise.
23653 (vandq_s16): Likewise.
23654 (vandq_s32): Likewise.
23655 (vandq_s64): Likewise.
23656 (vandq_u8): Likewise.
23657 (vandq_u16): Likewise.
23658 (vandq_u32): Likewise.
23659 (vandq_u64): Likewise.
23660 (vorr_s8): Likewise.
23661 (vorr_s16): Likewise.
23662 (vorr_s32): Likewise.
23663 (vorr_u8): Likewise.
23664 (vorr_u16): Likewise.
23665 (vorr_u32): Likewise.
23666 (vorr_s64): Likewise.
23667 (vorr_u64): Likewise.
23668 (vorrq_s8): Likewise.
23669 (vorrq_s16): Likewise.
23670 (vorrq_s32): Likewise.
23671 (vorrq_s64): Likewise.
23672 (vorrq_u8): Likewise.
23673 (vorrq_u16): Likewise.
23674 (vorrq_u32): Likewise.
23675 (vorrq_u64): Likewise.
23676 (veor_s8): Likewise.
23677 (veor_s16): Likewise.
23678 (veor_s32): Likewise.
23679 (veor_u8): Likewise.
23680 (veor_u16): Likewise.
23681 (veor_u32): Likewise.
23682 (veor_s64): Likewise.
23683 (veor_u64): Likewise.
23684 (veorq_s8): Likewise.
23685 (veorq_s16): Likewise.
23686 (veorq_s32): Likewise.
23687 (veorq_s64): Likewise.
23688 (veorq_u8): Likewise.
23689 (veorq_u16): Likewise.
23690 (veorq_u32): Likewise.
23691 (veorq_u64): Likewise.
23692 (vbic_s8): Likewise.
23693 (vbic_s16): Likewise.
23694 (vbic_s32): Likewise.
23695 (vbic_u8): Likewise.
23696 (vbic_u16): Likewise.
23697 (vbic_u32): Likewise.
23698 (vbic_s64): Likewise.
23699 (vbic_u64): Likewise.
23700 (vbicq_s8): Likewise.
23701 (vbicq_s16): Likewise.
23702 (vbicq_s32): Likewise.
23703 (vbicq_s64): Likewise.
23704 (vbicq_u8): Likewise.
23705 (vbicq_u16): Likewise.
23706 (vbicq_u32): Likewise.
23707 (vbicq_u64): Likewise.
23708 (vorn_s8): Likewise.
23709 (vorn_s16): Likewise.
23710 (vorn_s32): Likewise.
23711 (vorn_u8): Likewise.
23712 (vorn_u16): Likewise.
23713 (vorn_u32): Likewise.
23714 (vorn_s64): Likewise.
23715 (vorn_u64): Likewise.
23716 (vornq_s8): Likewise.
23717 (vornq_s16): Likewise.
23718 (vornq_s32): Likewise.
23719 (vornq_s64): Likewise.
23720 (vornq_u8): Likewise.
23721 (vornq_u16): Likewise.
23722 (vornq_u32): Likewise.
23723 (vornq_u64): Likewise.
23725 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
23727 * wide-int.cc (UTItype): Define.
23728 (UDWtype): Define for appropriate W_TYPE_SIZE.
23730 2014-05-08 Marc Glisse <marc.glisse@inria.fr>
23732 PR tree-optimization/59100
23733 * tree-ssa-phiopt.c: Include tree-inline.h.
23734 (neutral_element_p, absorbing_element_p): New functions.
23735 (value_replacement): Handle conditional binary operations with a
23736 neutral or absorbing element.
23738 2014-05-08 Richard Biener <rguenther@suse.de>
23740 * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
23741 folding the expression.
23742 (valueize_expr): Remove.
23743 (visit_reference_op_load): Do not valueize the result of
23745 (simplify_binary_expression): Likewise.
23746 (simplify_unary_expression): Likewise.
23748 2014-05-08 Richard Biener <rguenther@suse.de>
23750 * gimplify.c (gimplify_call_expr): Use saved fnptrtype for
23751 looking at TYPE_ARG_TYPES.
23753 2014-05-08 Richard Biener <rguenther@suse.de>
23755 * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
23756 pointer propagation special-case.
23758 2014-05-08 Bin Cheng <bin.cheng@arm.com>
23760 * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
23761 core part of address expressions.
23763 2014-05-08 Alan Modra <amodra@gmail.com>
23766 * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
23767 loads and stores when -mno-strict-align at any alignment.
23768 (expand_block_clear): Similarly. Also correct calculation of
23771 2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
23773 PR middle-end/39246
23774 * tree-complex.c (expand_complex_move): Keep line info when expanding
23776 * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
23777 of complex expression. Use new argument to display correct location
23778 for values coming from phi statement.
23779 (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
23780 (warn_uninitialized_phi): Pass location of phi argument to
23782 * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
23783 COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.
23785 2014-05-07 Segher Boessenkool <segher@kernel.crashing.org>
23787 * config/rs6000/predicates.md (indexed_address_mem): New.
23788 * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u,
23789 load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u,
23790 fpstore_ux, fpstore_u.
23791 (sign_extend, indexed, update): New.
23792 (cell_micro): Adjust.
23793 (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx,
23794 *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr,
23795 *movsi_internal1, *movsi_internal1_single, *movhi_internal,
23796 *movqi_internal, *movcc_internal1, mov<mode>_hardfloat,
23797 *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64,
23798 *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64,
23799 *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4,
23800 *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3,
23801 *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack,
23802 *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack,
23803 *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4,
23804 *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1,
23805 *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1,
23806 *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>,
23807 *stmw, *lmw, as well as 10 anonymous patterns): Adjust.
23809 * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust.
23810 * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load,
23811 *vsx_extract_<mode>_store): Adjust.
23812 * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn,
23813 is_cracked_insn, insn_must_be_first_in_group,
23814 insn_must_be_last_in_group): Adjust.
23816 * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float):
23818 * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload,
23819 ppc440-fpstore): Adjust.
23820 * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload,
23821 ppc476-fpstore): Adjust.
23822 * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload,
23823 ppc601-fpstore): Adjust.
23824 * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload):
23826 * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload):
23828 * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload,
23829 ppc7450-fpstore): Adjust.
23830 * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust.
23831 * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust.
23832 * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store):
23834 * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext,
23835 cell-fpload, cell-fpload-update, cell-store, cell-store-update,
23836 cell-fpstore, cell-fpstore-update): Adjust.
23837 * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload,
23838 ppce300c3_store, ppce300c3_fpstore): Adjust.
23839 * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store,
23840 e500mc_fpstore): Adjust.
23841 * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload,
23842 e500mc64_store, e500mc64_fpstore): Adjust.
23843 * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store,
23844 e5500_fpstore): Adjust.
23845 * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store,
23846 e6500_fpstore): Adjust.
23847 * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload):
23849 * config/rs6000/power4.md (power4-load, power4-load-ext,
23850 power4-load-ext-update, power4-load-ext-update-indexed,
23851 power4-load-update-indexed, power4-load-update, power4-fpload,
23852 power4-fpload-update, power4-store, power4-store-update,
23853 power4-store-update-indexed, power4-fpstore, power4-fpstore-update):
23855 * config/rs6000/power5.md (power5-load, power5-load-ext,
23856 power5-load-ext-update, power5-load-ext-update-indexed,
23857 power5-load-update-indexed, power5-load-update, power5-fpload,
23858 power5-fpload-update, power5-store, power5-store-update,
23859 power5-store-update-indexed, power5-fpstore, power5-fpstore-update):
23861 * config/rs6000/power6.md (power6-load, power6-load-ext,
23862 power6-load-update, power6-load-update-indexed,
23863 power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload,
23864 power6-fpload-update, power6-store, power6-store-update,
23865 power6-store-update-indexed, power6-fpstore, power6-fpstore-update):
23867 * config/rs6000/power7.md (power7-load, power7-load-ext,
23868 power7-load-update, power7-load-update-indexed,
23869 power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload,
23870 power7-fpload-update, power7-store, power7-store-update,
23871 power7-store-update-indexed, power7-fpstore, power7-fpstore-update):
23873 * config/rs6000/power8.md (power8-load, power8-load-update,
23874 power8-load-ext, power8-load-ext-update, power8-fpload,
23875 power8-fpload-update, power8-store, power8-store-update-indexed,
23876 power8-fpstore, power8-fpstore-update): Adjust.
23877 * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload):
23879 * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload,
23880 titan_lsu_store, titan_lsu_fpstore): Adjust.
23881 * config/rs6000/xfpu.md (fp-load, fp-store): Adjust.
23883 2014-05-07 Oleg Endo <olegendo@gcc.gnu.org>
23886 * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
23887 unrolled byte insns. Emit address increments after move insns.
23889 2014-05-07 David Malcolm <dmalcolm@redhat.com>
23891 * gimple.h (gimple_builtin_call_types_compatible_p): Accept a
23892 const_gimple, rather than a gimple.
23893 (gimple_call_builtin_p): Likewise, for the three variants.
23895 * gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
23896 (gimple_call_builtin_p): Likewise, for the three variants.
23898 2014-05-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
23900 PR tree-optimization/61095
23901 * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.
23903 2014-05-07 Richard Biener <rguenther@suse.de>
23905 PR tree-optimization/61034
23906 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
23907 (maybe_skip_until): Use translate to take into account
23908 lattices when trying to do disambiguations.
23909 (get_continuation_for_phi_1): Likewise.
23910 (get_continuation_for_phi): Adjust for added translate arguments.
23911 (walk_non_aliased_vuses): Likewise.
23912 * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype.
23913 (walk_non_aliased_vuses): Likewise.
23914 (call_may_clobber_ref_p_1): Declare.
23915 * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against
23916 calls. Stop early if we are only supposed to disambiguate.
23917 * tree-ssa-pre.c (translate_vuse_through_block): Adjust.
23919 2014-05-07 Joern Rennecke <joern.rennecke@embecosm.com>
23921 * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
23922 Emit an error when the function has arguments.
23924 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
23926 * cfgloop.h (unswitch_loops): Remove.
23927 * doc/passes.texi: Remove references to loop-unswitch.c
23928 * timevar.def (TV_LOOP_UNSWITCH): Remove.
23930 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com>
23932 * tree-vect-data-refs.c (vect_grouped_load_supported): New
23933 check for loads group of length 3.
23934 (vect_permute_load_chain): New permutations for loads group of
23936 * tree-vect-stmts.c (vect_model_load_cost): Change cost
23937 of vec_perm_shuffle for the new permutations.
23939 2014-05-07 Alan Lawrence <alan.lawrence@arm.com>
23941 * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
23942 vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
23943 vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
23944 vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
23945 vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
23946 vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
23947 vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
23948 vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.
23950 2014-05-07 Thomas Schwinge <thomas@codesourcery.com>
23952 * loop-unswitch.c: Delete.
23954 2014-05-07 Richard Biener <rguenther@suse.de>
23956 * config.gcc: Always set need_64bit_hwint to yes.
23958 2014-05-07 Chung-Ju Wu <jasonwucj@gmail.com>
23960 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
23961 of using optimize_size.
23963 2014-05-06 Mike Stump <mikestump@comcast.net>
23965 * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
23967 2014-05-06 Joseph Myers <joseph@codesourcery.com>
23969 * config/i386/sse.md (*mov<mode>_internal)
23970 (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
23971 (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
23972 (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
23973 (*<code><mode>3, *andnot<mode>3<mask_name>)
23974 (<mask_codefor><code><mode>3<mask_name>): Only consider
23975 TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.
23977 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
23980 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
23982 * lra-constraints.c (valid_address_p): Move earlier in file.
23983 Add a constraint argument to the address_info version.
23984 (satisfies_memory_constraint_p): New function.
23985 (satisfies_address_constraint_p): Likewise.
23986 (process_alt_operands, curr_insn_transform): Use them.
23987 (process_address): Pass the constraint to valid_address_p when
23988 checking address operands.
23990 2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com>
23992 * lto-cgraph.c (compute_ltrans_boundary): Make node variables local
23993 to their respective blocks. Fix inadvertent use of "node".
23995 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com>
23997 * emit-rtl.c (init_derived_machine_modes): New functionm, split
23999 (init_emit_once): ...here.
24000 * rtl.h (init_derived_machine_modes): Declare.
24001 * toplev.c (do_compile): Call it even if no_backend.
24003 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com>
24004 Mike Stump <mikestump@comcast.net>
24005 Richard Sandiford <rdsandiford@googlemail.com>
24006 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
24008 * alias.c (ao_ref_from_mem): Use wide-int interfaces.
24009 (rtx_equal_for_memref_p): Update comment.
24010 (adjust_offset_for_component_ref): Use wide-int interfaces.
24011 * builtins.c (get_object_alignment_2): Likewise.
24012 (c_readstr): Likewise.
24013 (target_char_cast): Add comment.
24014 (determine_block_size): Use wide-int interfaces.
24015 (expand_builtin_signbit): Likewise.
24016 (fold_builtin_int_roundingfn): Likewise.
24017 (fold_builtin_bitop): Likewise.
24018 (fold_builtin_bswap): Likewise.
24019 (fold_builtin_logarithm): Use signop.
24020 (fold_builtin_pow): Likewise.
24021 (fold_builtin_memory_op): Use wide-int interfaces.
24022 (fold_builtin_object_size): Likewise.
24023 * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and
24024 nb_iterations_estimate.
24025 (record_niter_bound): Use wide-int interfaces.
24026 (get_estimated_loop_iterations_int): Likewise.
24027 (get_estimated_loop_iterations): Likewise.
24028 (get_max_loop_iterations): Likewise.
24029 * cfgloop.h: Include wide-int.h.
24030 (struct nb_iter_bound): Change bound to widest_int.
24031 (struct loop): Change nb_iterations_upper_bound and
24032 nb_iterations_estimate to widest_int.
24033 (record_niter_bound): Switch to use widest_int.
24034 (get_estimated_loop_iterations): Likewise.
24035 (get_max_loop_iterations): Likewise.
24036 (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and
24037 update for wide-int.
24038 * cgraph.c (cgraph_add_thunk): Use wide-int interfaces.
24039 * combine.c (try_combine): Likewise.
24040 (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P.
24041 * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int
24043 (aarch64_float_const_representable_p): Likewise.
24044 * config/arc/arc.c: Include wide-int.h.
24045 (arc_can_use_doloop_p): Use wide-int interfaces.
24046 * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise.
24047 (vfp3_const_double_index): Likewise.
24048 * config/avr/avr.c (avr_out_round): Likewise.
24049 (avr_fold_builtin): Likewise.
24050 * config/bfin/bfin.c (bfin_local_alignment): Likewise.
24051 (bfin_can_use_doloop_p): Likewise.
24052 * config/darwin.c (darwin_mergeable_constant_section): Likewise.
24053 (machopic_select_rtx_section): Update to handle CONST_WIDE_INT.
24054 * config/i386/i386.c: Include wide-int.h.
24055 (ix86_data_alignment): Use wide-int interfaces.
24056 (ix86_local_alignment): Likewise.
24057 (ix86_emit_swsqrtsf): Update real_from_integer.
24058 * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces.
24059 * config/nds32/nds32.c (nds32_insert_attributes): Likewise.
24060 * config/rs6000/predicates.md (any_operand): Add const_wide_int.
24061 (zero_constant): Likewise.
24062 (input_operand): Likewise.
24063 (splat_input_operand): Likewise.
24064 (non_logical_cint_operand): Change const_double to const_wide_int.
24065 * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT.
24066 (easy_altivec_constant): Remove comment.
24067 (paired_expand_vector_init): Use CONSTANT_P.
24068 (rs6000_legitimize_address): Handle CONST_WIDE_INT.
24069 (rs6000_emit_move): Update checks.
24070 (rs6000_aggregate_candidate): Use wide-int interfaces.
24071 (rs6000_expand_ternop_builtin): Likewise.
24072 (rs6000_output_move_128bit): Handle CONST_WIDE_INT.
24073 (rs6000_assemble_integer): Likewise.
24074 (rs6000_hash_constant): Likewise.
24075 (output_toc): Likewise.
24076 (rs6000_rtx_costs): Likewise.
24077 (rs6000_emit_swrsqrt); Update call to real_from_integer.
24078 * config/rs6000/rs6000-c.c: Include wide-int.h.
24079 (altivec_resolve_overloaded_builtin): Use wide-int interfaces.
24080 * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New.
24081 * config/rs6000/rs6000.md: Use const_scalar_int_operand.
24082 Handle CONST_WIDE_INT.
24083 * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI.
24084 Use tree_fits_uhwi_p.
24085 * config/sparc/sparc.c: Include wide-int.h.
24086 (sparc_fold_builtin): Use wide-int interfaces.
24087 * config/vax/vax.c: Include wide-int.h.
24088 (vax_float_literal): Use real_from_integer.
24089 * coretypes.h (struct hwivec_def): New.
24091 (const_hwivec): New.
24092 * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT.
24093 (equiv_constant): Handle CONST_WIDE_INT.
24094 * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE.
24095 (cselib_hash_rtx): Handle CONST_WIDE_INT.
24096 * dbxout.c (stabstr_U): Use wide-int interfaces.
24097 (dbxout_type): Update to use cst_fits_shwi_p.
24098 * defaults.h (LOG2_BITS_PER_UNIT): Define.
24099 (TARGET_SUPPORTS_WIDE_INT): Add default.
24100 * dfp.c: Include wide-int.h.
24101 (decimal_real_to_integer2): Use wide-int interfaces and rename to
24102 decimal_real_to_integer.
24103 * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to
24104 decimal_real_to_integer.
24105 * doc/generic.texi (Constant expressions): Update for wide_int.
24106 * doc/rtl.texi (const_double): Likewise.
24107 (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New.
24108 (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New.
24109 * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove.
24110 (REAL_VALUE_FROM_INT): Remove.
24111 (TARGET_SUPPORTS_WIDE_INT): New.
24112 * doc/tm.texi: Regenerate.
24113 * dojump.c (prefer_and_bit_test): Use wide-int interfaces.
24114 * double-int.h: Include wide-int.h.
24115 (struct wi::int_traits): New.
24116 * dwarf2out.c (get_full_len): New.
24117 (dw_val_equal_p): Add case dw_val_class_wide_int.
24118 (size_of_loc_descr): Likewise.
24119 (output_loc_operands): Likewise.
24120 (insert_double): Remove.
24121 (insert_wide_int): New.
24122 (add_AT_wide): New.
24123 (print_die): Add case dw_val_class_wide_int.
24124 (attr_checksum): Likewise.
24125 (attr_checksum_ordered): Likewise.
24126 (same_dw_val_p): Likewise.
24127 (size_of_die): Likewise.
24128 (value_format): Likewise.
24129 (output_die): Likewise.
24130 (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits.
24132 (clz_loc_descriptor): Use wide-int interfaces.
24133 (mem_loc_descriptor): Likewise. Handle CONST_WIDE_INT.
24134 (loc_descriptor): Use wide-int interfaces. Handle CONST_WIDE_INT.
24135 (round_up_to_align): Use wide-int interfaces.
24136 (field_byte_offset): Likewise.
24137 (insert_double): Rename to insert_wide_int. Use wide-int interfaces.
24138 (add_const_value_attribute): Handle CONST_WIDE_INT. Update
24139 CONST_DOUBLE handling. Use wide-int interfaces.
24140 (add_bound_info): Use tree_fits_uhwi_p. Use wide-int interfaces.
24141 (gen_enumeration_type_die): Use add_AT_wide.
24142 (hash_loc_operands): Add case dw_val_class_wide_int.
24143 (compare_loc_operands): Likewise.
24144 * dwarf2out.h: Include wide-int.h.
24145 (wide_int_ptr): New.
24146 (enum dw_val_class): Add dw_val_class_wide_int.
24147 (struct dw_val_struct): Add val_wide.
24148 * emit-rtl.c (const_wide_int_htab): New.
24149 (const_wide_int_htab_hash): New.
24150 (const_wide_int_htab_eq): New.
24151 (lookup_const_wide_int): New.
24152 (const_double_htab_hash): Use wide-int interfaces.
24153 (const_double_htab_eq): Likewise.
24154 (rtx_to_double_int): Conditionally compile for wide-int.
24155 (immed_double_int_const): Rename to immed_wide_int_const and
24156 update for wide-int.
24157 (immed_double_const): Conditionally compile for wide-int.
24158 (init_emit_once): Use wide-int interfaces.
24159 * explow.c (plus_constant): Likewise.
24160 * expmed.c (mask_rtx): Move further up file. Use wide-int interfaces.
24161 (lshift_value): Use wide-int interfaces.
24162 (expand_mult): Likewise.
24163 (choose_multiplier): Likewise.
24164 (expand_smod_pow2): Likewise.
24165 (make_tree): Likewise.
24166 * expr.c (convert_modes): Consolidate handling of constants.
24167 Use wide-int interfaces.
24168 (emit_group_load_1): Add note.
24169 (store_expr): Update comment.
24170 (get_inner_reference): Use wide-int interfaces.
24171 (expand_constructor): Update comment.
24172 (expand_expr_real_2): Use wide-int interfaces.
24173 (expand_expr_real_1): Likewise.
24174 (reduce_to_bit_field_precision): Likewise.
24175 (const_vector_from_tree): Likewise.
24176 * final.c: Include wide-int-print.h.
24177 (output_addr_const): Handle CONST_WIDE_INT. Use CONST_DOUBLE_AS_INT_P.
24178 * fixed-value.c: Include wide-int.h.
24179 (fixed_from_string): Use wide-int interfaces.
24180 (fixed_to_decimal): Likewise.
24181 (fixed_convert_from_real): Likewise.
24182 (real_convert_from_fixed): Likewise.
24183 * fold-const.h (mem_ref_offset): Return an offset_int.
24184 (div_if_zero_remainder): Remove code parameter.
24185 * fold-const.c (div_if_zero_remainder): Remove code parameter.
24186 Use wide-int interfaces.
24187 (may_negate_without_overflow_p): Use wide-int interfaces.
24188 (negate_expr_p): Likewise.
24189 (fold_negate_expr): Likewise.
24190 (int_const_binop_1): Likewise.
24191 (const_binop): Likewise.
24192 (fold_convert_const_int_from_int): Likewise.
24193 (fold_convert_const_int_from_real): Likewise.
24194 (fold_convert_const_int_from_fixed): Likewise.
24195 (fold_convert_const_fixed_from_int): Likewise.
24196 (all_ones_mask_p): Take an unsigned size. Use wide-int interfaces.
24197 (sign_bit_p): Use wide-int interfaces.
24198 (make_range_step): Likewise.
24199 (build_range_check): Likewise. Pass an integer of the correct type
24200 instead of using integer_one_node.
24201 (range_predecessor): Pass an integer of the correct type instead
24202 of using integer_one_node.
24203 (range_successor): Likewise.
24204 (merge_ranges): Likewise.
24205 (unextend): Use wide-int interfaces.
24206 (extract_muldiv_1): Likewise.
24207 (fold_div_compare): Likewise.
24208 (fold_single_bit_test): Likewise.
24209 (fold_sign_changed_comparison): Likewise.
24210 (try_move_mult_to_index): Update calls to div_if_zero_remainder.
24211 (fold_plusminus_mult_expr): Use wide-int interfaces.
24212 (native_encode_int): Likewise.
24213 (native_interpret_int): Likewise.
24214 (fold_unary_loc): Likewise.
24215 (pointer_may_wrap_p): Likewise.
24216 (size_low_cst): Likewise.
24217 (mask_with_tz): Likewise.
24218 (fold_binary_loc): Likewise.
24219 (fold_ternary_loc): Likewise.
24220 (multiple_of_p): Likewise.
24221 (tree_call_nonnegative_warnv_p): Update calls to
24222 tree_int_cst_min_precision and real_from_integer.
24223 (fold_negate_const): Use wide-int interfaces.
24224 (fold_abs_const): Likewise.
24225 (fold_relational_const): Use tree_int_cst_lt.
24226 (round_up_loc): Use wide-int interfaces.
24227 * genemit.c (gen_exp): Add CONST_WIDE_INT case.
24228 * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case.
24229 * gengtype.c: Remove include of double-int.h.
24230 (do_typedef): Use wide-int interfaces.
24231 (open_base_files): Add wide-int.h.
24232 (main): Add offset_int and widest_int typedefs.
24233 * gengtype-lex.l: Handle "^".
24234 (CXX_KEYWORD): Add "static".
24235 * gengtype-parse.c (require3): New.
24236 (require_template_declaration): Handle constant template arguments
24237 and nested templates.
24238 * gengtype-state.c: Don't include "double-int.h".
24239 * genpreds.c (write_one_predicate_function): Update comment.
24240 (write_tm_constrs_h): Add check for hval and lval use in
24242 * genrecog.c (validate_pattern): Add CONST_WIDE_INT case.
24243 (add_to_sequence): Likewise.
24244 * gensupport.c (struct std_pred_table): Add const_scalar_int_operand
24245 and const_double_operand.
24246 * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int
24248 * gimple-fold.c (get_base_constructor): Likewise.
24249 (fold_array_ctor_reference): Likewise.
24250 (fold_nonarray_ctor_reference): Likewise.
24251 (fold_const_aggregate_ref_1): Likewise.
24252 (gimple_val_nonnegative_real_p): Likewise.
24253 (gimple_fold_indirect_ref): Likewise.
24254 * gimple-pretty-print.c (dump_ssaname_info): Likewise.
24255 * gimple-ssa-strength-reduction.c: Include wide-int-print.h.
24256 (struct slsr_cand_d): Change index to be widest_int.
24257 (struct incr_info_d): Change incr to be widest_int.
24258 (alloc_cand_and_find_basis): Use wide-int interfaces.
24259 (slsr_process_phi): Likewise.
24260 (backtrace_base_for_ref): Likewise. Return a widest_int.
24261 (restructure_reference): Take a widest_int instead of a double_int.
24262 (slsr_process_ref): Use wide-int interfaces.
24263 (create_mul_ssa_cand): Likewise.
24264 (create_mul_imm_cand): Likewise.
24265 (create_add_ssa_cand): Likewise.
24266 (create_add_imm_cand): Take a widest_int instead of a double_int.
24267 (slsr_process_add): Use wide-int interfaces.
24268 (slsr_process_cast): Likewise.
24269 (slsr_process_copy): Likewise.
24270 (dump_candidate): Likewise.
24271 (dump_incr_vec): Likewise.
24272 (replace_ref): Likewise.
24273 (cand_increment): Likewise. Return a widest_int.
24274 (cand_abs_increment): Likewise.
24275 (replace_mult_candidate): Take a widest_int instead of a double_int.
24276 (replace_unconditional_candidate): Use wide-int interfaces.
24277 (incr_vec_index): Take a widest_int instead of a double_int.
24278 (create_add_on_incoming_edge): Likewise.
24279 (create_phi_basis): Use wide-int interfaces.
24280 (replace_conditional_candidate): Likewise.
24281 (record_increment): Take a widest_int instead of a double_int.
24282 (record_phi_increments): Use wide-int interfaces.
24283 (phi_incr_cost): Take a widest_int instead of a double_int.
24284 (lowest_cost_path): Likewise.
24285 (total_savings): Likewise.
24286 (analyze_increments): Use wide-int interfaces.
24287 (ncd_with_phi): Take a widest_int instead of a double_int.
24288 (ncd_of_cand_and_phis): Likewise.
24289 (nearest_common_dominator_for_cands): Likewise.
24290 (insert_initializers): Use wide-int interfaces.
24291 (all_phi_incrs_profitable): Likewise.
24292 (replace_one_candidate): Likewise.
24293 (replace_profitable_candidates): Likewise.
24294 * godump.c: Include wide-int-print.h.
24295 (go_output_typedef): Use wide-int interfaces.
24296 * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise.
24297 * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise.
24298 (build_loop_iteration_domains): Likewise.
24299 * hooks.h: Include wide-int.h rather than double-int.h.
24300 (hook_bool_dint_dint_uint_bool_true): Delete.
24301 (hook_bool_wint_wint_uint_bool_true): Declare.
24302 * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed.
24303 (hook_bool_wint_wint_uint_bool_true): New.
24304 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int
24306 (ubsan_expand_si_overflow_mul_check): Likewise.
24307 * ipa-devirt.c (get_polymorphic_call_info): Likewise.
24308 * ipa-prop.c (compute_complex_assign_jump_func): Likewise.
24309 (get_ancestor_addr_info): Likewise.
24310 (ipa_modify_call_arguments): Likewise.
24311 * loop-doloop.c (doloop_modify): Likewise.
24312 (doloop_optimize): Likewise.
24313 * loop-iv.c (iv_number_of_iterations): Likewise.
24314 * loop-unroll.c (decide_unroll_constant_iterations): Likewise.
24315 (unroll_loop_constant_iterations): Likewise.
24316 (decide_unroll_runtime_iterations): Likewise.
24317 (unroll_loop_runtime_iterations): Likewise.
24318 (decide_peel_simple): Likewise.
24319 (decide_unroll_stupid): Likewise.
24320 * lto-streamer-in.c (streamer_read_wi): Add.
24321 (input_cfg): Use wide-int interfaces.
24322 (lto_input_tree_1): Likewise.
24323 * lto-streamer-out.c (streamer_write_wi): Add.
24324 (hash_tree): Use wide-int interfaces.
24325 (output_cfg): Likewise.
24326 * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o.
24327 (GTFILES): Add wide-int.h and signop.h.
24328 (TAGS): Look for .cc files too.
24329 * omp-low.c (scan_omp_1_op): Use wide-int interfaces.
24330 * optabs.c (expand_subword_shift): Likewise.
24331 (expand_doubleword_shift): Likewise.
24332 (expand_absneg_bit): Likewise.
24333 (expand_copysign_absneg): Likewise.
24334 (expand_copysign_bit): Likewise.
24335 * postreload.c (reload_cse_simplify_set): Likewise.
24336 * predict.c (predict_iv_comparison): Likewise.
24337 * pretty-print.h: Include wide-int-print.h.
24339 * print-rtl.c (print_rtx): Add CONST_WIDE_INT case.
24340 * print-tree.c: Include wide-int-print.h.
24341 (print_node_brief): Use wide-int interfaces.
24342 (print_node): Likewise.
24343 * read-rtl.c (validate_const_wide_int): New.
24344 (read_rtx_code): Add CONST_WIDE_INT case.
24345 * real.c: Include wide-int.h.
24346 (real_to_integer2): Delete.
24347 (real_to_integer): New function, returning a wide_int.
24348 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
24349 (ten_to_ptwo): Update call to real_from_integer.
24350 (real_digit): Likewise.
24351 * real.h: Include signop.h, wide-int.h and insn-modes.h.
24352 (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT)
24353 (REAL_VALUE_TO_INT): Delete.
24354 (real_to_integer): Declare a wide-int form.
24355 (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs.
24356 * recog.c (const_int_operand): Improve comment.
24357 (const_scalar_int_operand): New.
24358 (const_double_operand): Add a separate definition for CONST_WIDE_INT.
24359 * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT.
24360 (split_double): Likewise.
24361 * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT.
24362 (rtx_size): Likewise.
24363 (rtx_alloc_stat_v): New.
24364 (rtx_alloc_stat): Now calls rtx_alloc_stat_v.
24365 (cwi_output_hex): New.
24366 (iterative_hash_rtx): Handle CONST_WIDE_INT.
24367 (cwi_check_failed_bounds): New.
24368 * rtl.def (CONST_WIDE_INT): New.
24369 * rtl.h: Include <utility> and wide-int.h.
24370 (struct hwivec_def): New.
24371 (CWI_GET_NUM_ELEM): New.
24372 (CWI_PUT_NUM_ELEM): New.
24373 (struct rtx_def): Add num_elem and hwiv.
24374 (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT.
24375 (CASE_CONST_UNIQUE): Likewise.
24376 (CASE_CONST_ANY): Likewise.
24377 (CONST_SCALAR_INT_P): Likewise.
24378 (CONST_WIDE_INT_P): New.
24380 (HWIVEC_CHECK): New.
24381 (cwi_check_failed_bounds): New.
24383 (HWIVEC_CHECK): New.
24384 (CONST_WIDE_INT_VEC) New.
24385 (CONST_WIDE_INT_NUNITS) New.
24386 (CONST_WIDE_INT_ELT) New.
24387 (rtx_mode_t): New type.
24388 (wi::int_traits <rtx_mode_t>): New.
24390 (wi::min_value): New.
24391 (wi::max_value): New.
24393 (const_wide_int_alloc): New.
24394 (immed_wide_int_const): New.
24395 * sched-vis.c (print_value): Handle CONST_WIDE_INT.
24396 * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment.
24397 * signop.h: New file.
24398 * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT.
24399 (simplify_const_unary_operation): Use wide-int interfaces.
24400 (simplify_binary_operation_1): Likewise.
24401 (simplify_const_binary_operation): Likewise.
24402 (simplify_const_relational_operation): Likewise.
24403 (simplify_immed_subreg): Likewise.
24404 * stmt.c (expand_case): Likewise.
24405 * stor-layout.h (set_min_and_max_values_for_integral_type): Take a
24406 signop rather than a bool.
24407 * stor-layout.c (layout_type): Use wide-int interfaces.
24408 (initialize_sizetypes): Update calls to
24409 set_min_and_max_values_for_integral_type.
24410 (set_min_and_max_values_for_integral_type): Take a signop rather
24411 than a bool. Use wide-int interfaces.
24412 (fixup_signed_type): Update accordingly. Remove
24413 HOST_BITS_PER_DOUBLE_INT limit.
24414 (fixup_unsigned_type): Likewise.
24415 * system.h (STATIC_CONSTANT_P): New.
24416 (STATIC_ASSERT): New.
24417 * target.def (can_use_doloop_p): Take widest_ints rather than
24419 * target.h: Include wide-int.h rather than double-int.h.
24420 * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather
24422 * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt
24423 rather than INT_CST_LT_UNSIGNED.
24424 (can_use_doloop_if_innermost): Take widest_ints rather than
24426 * tree-affine.c: Include wide-int-print.h.
24427 (double_int_ext_for_comb): Delete.
24428 (wide_int_ext_for_comb): New.
24429 (aff_combination_zero): Use wide-int interfaces.
24430 (aff_combination_const): Take a widest_int instead of a double_int.
24431 (aff_combination_elt): Use wide-int interfaces.
24432 (aff_combination_scale): Take a widest_int instead of a double_int.
24433 (aff_combination_add_elt): Likewise.
24434 (aff_combination_add_cst): Likewise.
24435 (aff_combination_add): Use wide-int interfaces.
24436 (aff_combination_convert): Likewise.
24437 (tree_to_aff_combination): Likewise.
24438 (add_elt_to_tree): Take a widest_int instead of a double_int.
24439 (aff_combination_to_tree): Use wide-int interfaces.
24440 (aff_combination_remove_elt): Likewise.
24441 (aff_combination_add_product): Take a widest_int instead of
24443 (aff_combination_mult): Use wide-int interfaces.
24444 (aff_combination_expand): Likewise.
24445 (double_int_constant_multiple_p): Delete.
24446 (wide_int_constant_multiple_p): New.
24447 (aff_combination_constant_multiple_p): Take a widest_int pointer
24448 instead of a double_int pointer.
24449 (print_aff): Use wide-int interfaces.
24450 (get_inner_reference_aff): Take a widest_int pointer
24451 instead of a double_int pointer.
24452 (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints.
24453 * tree-affine.h: Include wide-int.h.
24454 (struct aff_comb_elt): Change type of coef to widest_int.
24455 (struct affine_tree_combination): Change type of offset to widest_int.
24456 (double_int_ext_for_comb): Delete.
24457 (wide_int_ext_for_comb): New.
24458 (aff_combination_const): Use widest_int instead of double_int.
24459 (aff_combination_scale): Likewise.
24460 (aff_combination_add_elt): Likewise.
24461 (aff_combination_constant_multiple_p): Likewise.
24462 (get_inner_reference_aff): Likewise.
24463 (aff_comb_cannot_overlap_p): Likewise.
24464 (aff_combination_zero_p): Use wide-int interfaces.
24465 * tree.c: Include tree.h.
24466 (init_ttree): Use make_int_cst.
24467 (tree_code_size): Removed code for INTEGER_CST case.
24468 (tree_size): Add INTEGER_CST case.
24469 (make_node_stat): Update comment.
24470 (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New.
24471 (build_int_cst_type): Use wide-int interfaces.
24472 (double_int_to_tree): Likewise.
24473 (double_int_fits_to_tree_p): Delete.
24474 (force_fit_type_double): Delete.
24475 (force_fit_type): New.
24476 (int_cst_hash_hash): Use wide-int interfaces.
24477 (int_cst_hash_eq): Likewise.
24478 (build_int_cst_wide): Delete.
24479 (wide_int_to_tree): New.
24480 (cache_integer_cst): Use wide-int interfaces.
24481 (build_low_bits_mask): Likewise.
24482 (cst_and_fits_in_hwi): Likewise.
24483 (real_value_from_int_cst): Likewise.
24484 (make_int_cst_stat): New.
24485 (integer_zerop): Use wide_int interfaces.
24486 (integer_onep): Likewise.
24487 (integer_all_onesp): Likewise.
24488 (integer_pow2p): Likewise.
24489 (integer_nonzerop): Likewise.
24490 (tree_log2): Likewise.
24491 (tree_floor_log2): Likewise.
24492 (tree_ctz): Likewise.
24493 (int_size_in_bytes): Likewise.
24494 (mem_ref_offset): Return an offset_int rather than a double_int.
24495 (build_type_attribute_qual_variant): Use wide_int interfaces.
24496 (type_hash_eq): Likewise
24497 (tree_int_cst_equal): Likewise.
24498 (tree_int_cst_lt): Delete.
24499 (tree_int_cst_compare): Likewise.
24500 (tree_fits_shwi_p): Use wide_int interfaces.
24501 (tree_fits_uhwi_p): Likewise.
24502 (tree_int_cst_sign_bit): Likewise.
24503 (tree_int_cst_sgn): Likewise.
24504 (tree_int_cst_min_precision): Take a signop rather than a bool.
24505 (simple_cst_equal): Use wide_int interfaces.
24506 (compare_tree_int): Likewise.
24507 (iterative_hash_expr): Likewise.
24508 (int_fits_type_p): Likewise. Use tree_int_cst_lt rather than
24510 (get_type_static_bounds): Use wide_int interfaces.
24511 (tree_int_cst_elt_check_failed): New.
24512 (build_common_tree_nodes): Reordered to set prec before filling in
24514 (int_cst_value): Check cst_and_fits_in_hwi.
24515 (widest_int_cst_value): Use wide_int interfaces.
24516 (upper_bound_in_type): Likewise.
24517 (lower_bound_in_type): Likewise.
24518 (num_ending_zeros): Likewise.
24519 (drop_tree_overflow): Likewise.
24520 * tree-call-cdce.c (check_pow): Update call to real_from_integer.
24521 (gen_conditions_for_pow_cst_base): Likewise.
24522 * tree-cfg.c: Include wide-int.h and wide-int-print.h.
24523 (group_case_labels_stmt): Use wide-int interfaces.
24524 (verify_gimple_assign_binary): Likewise.
24525 (print_loop): Likewise.
24526 * tree-chrec.c (tree_fold_binomial): Likewise.
24527 * tree-core.h (struct tree_base): Add int_length.
24528 (struct tree_int_cst): Change rep of value.
24529 * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces.
24530 (dr_may_alias_p): Likewise.
24531 (max_stmt_executions_tree): Likewise.
24532 * tree.def (INTEGER_CST): Update comment.
24533 * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces.
24534 * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise.
24535 * tree-dump.c: Include wide-int.h and wide-int-print.h.
24536 (dequeue_and_dump): Use wide-int interfaces.
24537 * tree.h: Include wide-int.h.
24538 (NULL_TREE): Moved to earlier loc in file.
24539 (TREE_INT_CST_ELT_CHECK): New.
24540 (tree_int_cst_elt_check_failed): New.
24542 (TREE_INT_CST): Delete.
24543 (TREE_INT_CST_LOW): Use wide-int interfaces.
24544 (TREE_INT_CST_HIGH): Delete.
24545 (TREE_INT_CST_NUNITS): New.
24546 (TREE_INT_CST_EXT_NUNITS): Likewise.
24547 (TREE_INT_CST_OFFSET_NUNITS): Likewise.
24548 (TREE_INT_CST_ELT): Likewise.
24549 (INT_CST_LT): Delete.
24550 (tree_int_cst_elt_check): New (two forms).
24551 (type_code_size): Update comment.
24552 (make_int_cst_stat, make_int_cst): New.
24553 (tree_to_double_int): Delete.
24554 (double_int_fits_to_tree_p): Delete.
24555 (force_fit_type_double): Delete.
24556 (build_int_cstu): Replace with out-of-line function.
24557 (build_int_cst_wide): Delete.
24558 (tree_int_cst_lt): Define inline.
24559 (tree_int_cst_le): New.
24560 (tree_int_cst_compare): Define inline.
24561 (tree_int_cst_min_precision): Take a signop rather than a bool.
24562 (wi::int_traits <const_tree>): New.
24563 (wi::int_traits <tree>): New.
24564 (wi::extended_tree): New.
24565 (wi::int_traits <wi::extended_tree>): New.
24566 (wi::to_widest): New.
24567 (wi::to_offset): New.
24568 (wi::fits_to_tree_p): New.
24569 (wi::min_value): New.
24570 (wi::max_value): New.
24571 * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces.
24572 (copy_tree_body_r): Likewise.
24573 * tree-object-size.c (compute_object_offset): Likewise.
24574 (addr_object_size): Likewise.
24575 * tree-predcom.c: Include wide-int-print.h.
24576 (struct dref_d): Change type of offset to widest_int.
24577 (dump_dref): Call wide-int printer.
24578 (aff_combination_dr_offset): Use wide-int interfaces.
24579 (determine_offset): Take a widest_int pointer rather than a
24580 double_int pointer.
24581 (split_data_refs_to_components): Use wide-int interfaces.
24582 (suitable_component_p): Likewise.
24583 (order_drefs): Likewise.
24584 (add_ref_to_chain): Likewise.
24585 (valid_initializer_p): Likewise.
24586 (determine_roots_comp): Likewise.
24587 * tree-pretty-print.c: Include wide-int-print.h.
24588 (dump_generic_node): Use wide-int interfaces.
24589 * tree-sra.c (sra_ipa_modify_expr): Likewise.
24590 * tree-ssa-address.c (addr_for_mem_ref): Likewise.
24591 (move_fixed_address_to_symbol): Likewise.
24592 (move_hint_to_base): Likewise.
24593 (move_pointer_to_base): Likewise.
24594 (move_variant_to_index): Likewise.
24595 (most_expensive_mult_to_index): Likewise.
24596 (addr_to_parts): Likewise.
24597 (copy_ref_info): Likewise.
24598 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
24599 (indirect_refs_may_alias_p): Likewise.
24600 (stmt_kills_ref_p_1): Likewise.
24601 * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
24602 * tree-ssa-ccp.c: Update comment at top of file. Include
24604 (struct prop_value_d): Change type of mask to widest_int.
24605 (extend_mask): New function.
24606 (dump_lattice_value): Use wide-int interfaces.
24607 (get_default_value): Likewise.
24608 (set_constant_value): Likewise.
24609 (set_value_varying): Likewise.
24610 (valid_lattice_transition): Likewise.
24611 (set_lattice_value): Likewise.
24612 (value_to_double_int): Delete.
24613 (value_to_wide_int): New.
24614 (get_value_from_alignment): Use wide-int interfaces.
24615 (get_value_for_expr): Likewise.
24616 (do_dbg_cnt): Likewise.
24617 (ccp_finalize): Likewise.
24618 (ccp_lattice_meet): Likewise.
24619 (bit_value_unop_1): Use widest_ints rather than double_ints.
24620 (bit_value_binop_1): Likewise.
24621 (bit_value_unop): Use wide-int interfaces.
24622 (bit_value_binop): Likewise.
24623 (bit_value_assume_aligned): Likewise.
24624 (evaluate_stmt): Likewise.
24625 (ccp_fold_stmt): Likewise.
24626 (visit_cond_stmt): Likewise.
24627 (ccp_visit_stmt): Likewise.
24628 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise.
24629 (constant_pointer_difference): Likewise.
24630 (associate_pointerplus): Likewise.
24631 (combine_conversions): Likewise.
24632 * tree-ssa-loop.h: Include wide-int.h.
24633 (struct tree_niter_desc): Change type of max to widest_int.
24634 * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces.
24635 * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise.
24636 (remove_redundant_iv_tests): Likewise.
24637 (canonicalize_loop_induction_variables): Likewise.
24638 * tree-ssa-loop-ivopts.c (alloc_iv): Likewise.
24639 (constant_multiple_of): Take a widest_int pointer instead of
24640 a double_int pointer.
24641 (get_computation_aff): Use wide-int interfaces.
24642 (ptr_difference_cost): Likewise.
24643 (difference_cost): Likewise.
24644 (get_loop_invariant_expr_id): Likewise.
24645 (get_computation_cost_at): Likewise.
24646 (iv_elimination_compare_lt): Likewise.
24647 (may_eliminate_iv): Likewise.
24648 * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int
24649 instead of double_int.
24650 (max_loop_iterations): Likewise.
24651 (max_stmt_executions): Likewise.
24652 (estimated_stmt_executions): Likewise.
24653 * tree-ssa-loop-niter.c: Include wide-int-print.h.
24654 (split_to_var_and_offset): Use wide-int interfaces.
24655 (determine_value_range): Likewise.
24656 (bound_difference_of_offsetted_base): Likewise.
24657 (bounds_add): Take a widest_int instead of a double_int.
24658 (number_of_iterations_ne_max): Use wide-int interfaces.
24659 (number_of_iterations_ne): Likewise.
24660 (number_of_iterations_lt_to_ne): Likewise.
24661 (assert_loop_rolls_lt): Likewise.
24662 (number_of_iterations_lt): Likewise.
24663 (number_of_iterations_le): Likewise.
24664 (number_of_iterations_cond): Likewise.
24665 (number_of_iterations_exit): Likewise.
24666 (finite_loop_p): Likewise.
24667 (derive_constant_upper_bound_assign): Likewise.
24668 (derive_constant_upper_bound): Return a widest_int.
24669 (derive_constant_upper_bound_ops): Likewise.
24670 (do_warn_aggressive_loop_optimizations): Use wide-int interfaces.
24671 (record_estimate): Take a widest_int rather than a double_int.
24672 (record_nonwrapping_iv): Use wide-int interfaces.
24673 (double_int_cmp): Delete.
24674 (wide_int_cmp): New.
24675 (bound_index): Take a widest_int rather than a double_int.
24676 (discover_iteration_bound_by_body_walk): Use wide-int interfaces.
24677 (maybe_lower_iteration_bound): Likewise.
24678 (estimate_numbers_of_iterations_loop): Likewise.
24679 (estimated_loop_iterations): Take a widest_int pointer than than
24680 a double_int pointer.
24681 (estimated_loop_iterations_int): Use wide-int interfaces.
24682 (max_loop_iterations): Take a widest_int pointer than than
24683 a double_int pointer.
24684 (max_loop_iterations_int): Use wide-int interfaces.
24685 (max_stmt_executions): Take a widest_int pointer than than
24686 a double_int pointer.
24687 (estimated_stmt_executions): Likewise.
24688 (n_of_executions_at_most): Use wide-int interfaces.
24689 (scev_probably_wraps_p): Likewise.
24690 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls
24691 to real_to_integer.
24692 * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int
24694 * tree-ssanames.c (set_range_info): Use wide_int_refs rather than
24695 double_ints. Adjust for trailing_wide_ints <3> representation.
24696 (set_nonzero_bits): Likewise.
24697 (get_range_info): Return wide_ints rather than double_ints.
24698 Adjust for trailing_wide_ints <3> representation.
24699 (get_nonzero_bits): Likewise.
24700 (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3>
24702 * tree-ssanames.h (struct range_info_def): Replace min, max and
24703 nonzero_bits with a trailing_wide_ints <3>.
24704 (set_range_info): Use wide_int_refs rather than double_ints.
24705 (set_nonzero_bits): Likewise.
24706 (get_range_info): Return wide_ints rather than double_ints.
24707 (get_nonzero_bits): Likewise.
24708 * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces.
24709 * tree-ssa-pre.c (phi_translate_1): Likewise.
24710 * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer.
24711 (acceptable_pow_call): Likewise.
24712 * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int
24714 (vn_reference_fold_indirect): Likewise.
24715 (vn_reference_maybe_forwprop_address): Likewise.
24716 (valueize_refs_1): Likewise.
24717 * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise.
24718 * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces,
24719 tree_int_cst_lt and tree_int_cst_le.
24720 * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int
24722 (streamer_alloc_tree): Likewise.
24723 * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise.
24724 (streamer_write_tree_header): Likewise.
24725 (streamer_write_integer_cst): Likewise.
24726 * tree-switch-conversion.c (emit_case_bit_tests): Likewise.
24727 (build_constructors): Likewise.
24728 (array_value_type): Likewise.
24729 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise.
24730 (vect_check_gather): Likewise.
24731 * tree-vect-generic.c (build_replicated_const): Likewise.
24732 (expand_vector_divmod): Likewise.
24733 * tree-vect-loop.c (vect_transform_loop): Likewise.
24734 * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
24735 (vect_do_peeling_for_alignment): Likewise.
24736 * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
24737 * tree-vrp.c: Include wide-int.h.
24738 (operand_less_p): Use wide-int interfaces and tree_int_cst_lt.
24739 (extract_range_from_assert): Use wide-int interfaces.
24740 (vrp_int_const_binop): Likewise.
24741 (zero_nonzero_bits_from_vr): Take wide_int pointers rather than
24742 double_int pointers.
24743 (ranges_from_anti_range): Use wide-int interfaces.
24744 (quad_int_cmp): Delete.
24745 (quad_int_pair_sort): Likewise.
24746 (extract_range_from_binary_expr_1): Use wide-int interfaces.
24747 (extract_range_from_unary_expr_1): Likewise.
24748 (adjust_range_with_scev): Likewise.
24749 (masked_increment): Take and return wide_ints rather than double_ints.
24750 (register_edge_assert_for_2): Use wide-int interfaces.
24751 (check_array_ref): Likewise.
24752 (search_for_addr_array): Likewise.
24753 (maybe_set_nonzero_bits): Likewise.
24754 (union_ranges): Pass an integer of the correct type instead of
24755 using integer_one_node.
24756 (intersect_ranges): Likewise.
24757 (simplify_truth_ops_using_ranges): Likewise.
24758 (simplify_bit_ops_using_ranges): Use wide-int interfaces.
24759 (range_fits_type_p): Likewise.
24760 (simplify_cond_using_ranges): Likewise. Take a signop rather than
24762 (simplify_conversion_using_ranges): Use wide-int interfaces.
24763 (simplify_float_conversion_using_ranges): Likewise.
24764 (vrp_finalize): Likewise.
24765 * value-prof.c (gimple_divmod_fixed_value_transform): Likewise.
24766 (gimple_stringops_transform): Likewise.
24767 * varasm.c (decode_addr_const): Likewise.
24768 (const_hash_1): Likewise.
24769 (const_rtx_hash_1): Likewise
24770 (output_constant): Likewise.
24771 (array_size_for_constructor): Likewise.
24772 (output_constructor_regular_field): Likewise.
24773 (output_constructor_bitfield): Likewise.
24774 * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT.
24775 * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for
24777 * gencheck.c: Define BITS_PER_UNIT.
24778 * wide-int.cc: New.
24780 * wide-int-print.cc: New.
24781 * wide-int-print.h: New.
24783 2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
24785 * config/avr/avr.c (avr_can_eliminate): Mark unused argument.
24787 2014-05-06 Richard Biener <rguenther@suse.de>
24789 * tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
24790 TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
24791 (TODO_verify_all): Adjust.
24792 * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
24793 TODO_verify_stmts and TODO_verify_rtl_sharing.
24794 * bb-reorder.c: Likewise.
24795 * cfgexpand.c: Likewise.
24796 * cprop.c: Likewise.
24798 * function.c: Likewise.
24799 * fwprop.c: Likewise.
24800 * gcse.c: Likewise.
24801 * gimple-ssa-isolate-paths.c: Likewise.
24802 * gimple-ssa-strength-reduction.c: Likewise.
24803 * ipa-split.c: Likewise.
24804 * loop-init.c: Likewise.
24805 * loop-unroll.c: Likewise.
24806 * lower-subreg.c: Likewise.
24807 * modulo-sched.c: Likewise.
24808 * postreload-gcse.c: Likewise.
24809 * predict.c: Likewise.
24810 * recog.c: Likewise.
24811 * sched-rgn.c: Likewise.
24812 * store-motion.c: Likewise.
24813 * tracer.c: Likewise.
24814 * trans-mem.c: Likewise.
24815 * tree-call-cdce.c: Likewise.
24816 * tree-cfg.c: Likewise.
24817 * tree-cfgcleanup.c: Likewise.
24818 * tree-complex.c: Likewise.
24819 * tree-eh.c: Likewise.
24820 * tree-emutls.c: Likewise.
24821 * tree-if-conv.c: Likewise.
24822 * tree-into-ssa.c: Likewise.
24823 * tree-loop-distribution.c: Likewise.
24824 * tree-object-size.c: Likewise.
24825 * tree-parloops.c: Likewise.
24826 * tree-pass.h: Likewise.
24827 * tree-sra.c: Likewise.
24828 * tree-ssa-ccp.c: Likewise.
24829 * tree-ssa-copy.c: Likewise.
24830 * tree-ssa-copyrename.c: Likewise.
24831 * tree-ssa-dce.c: Likewise.
24832 * tree-ssa-dom.c: Likewise.
24833 * tree-ssa-dse.c: Likewise.
24834 * tree-ssa-forwprop.c: Likewise.
24835 * tree-ssa-ifcombine.c: Likewise.
24836 * tree-ssa-loop-ch.c: Likewise.
24837 * tree-ssa-loop-ivcanon.c: Likewise.
24838 * tree-ssa-loop.c: Likewise.
24839 * tree-ssa-math-opts.c: Likewise.
24840 * tree-ssa-phiopt.c: Likewise.
24841 * tree-ssa-phiprop.c: Likewise.
24842 * tree-ssa-pre.c: Likewise.
24843 * tree-ssa-reassoc.c: Likewise.
24844 * tree-ssa-sink.c: Likewise.
24845 * tree-ssa-strlen.c: Likewise.
24846 * tree-ssa-tail-merge.c: Likewise.
24847 * tree-ssa-uncprop.c: Likewise.
24848 * tree-switch-conversion.c: Likewise.
24849 * tree-tailcall.c: Likewise.
24850 * tree-vect-generic.c: Likewise.
24851 * tree-vectorizer.c: Likewise.
24852 * tree-vrp.c: Likewise.
24853 * tsan.c: Likewise.
24854 * var-tracking.c: Likewise.
24855 * bt-load.c: Likewise.
24856 * cfgcleanup.c: Likewise.
24857 * combine-stack-adj.c: Likewise.
24858 * combine.c: Likewise.
24859 * compare-elim.c: Likewise.
24860 * config/epiphany/resolve-sw-modes.c: Likewise.
24861 * config/i386/i386.c: Likewise.
24862 * config/mips/mips.c: Likewise.
24863 * config/s390/s390.c: Likewise.
24864 * config/sh/sh_treg_combine.cc: Likewise.
24865 * config/sparc/sparc.c: Likewise.
24868 * final.c: Likewise.
24869 * ifcvt.c: Likewise.
24870 * mode-switching.c: Likewise.
24871 * passes.c: Likewise.
24872 * postreload.c: Likewise.
24874 * reg-stack.c: Likewise.
24875 * regcprop.c: Likewise.
24876 * regrename.c: Likewise.
24879 2014-05-06 Richard Biener <rguenther@suse.de>
24881 PR middle-end/61070
24882 * bitmap.c (debug_bitmap): Dump to stderr, not stdout.
24883 * tree-ssa-structalias.c (dump_solution_for_var): Likewise.
24885 2014-05-05 Jan Hubicka <hubicka@ucw.cz>
24888 * ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
24890 2014-05-05 Radovan Obradovic <robradovic@mips.com>
24891 Tom de Vries <tom@codesourcery.com>
24893 * target.def (call_fusage_contains_non_callee_clobbers): New
24895 * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
24897 (@node Miscellaneous Register Hooks): New node.
24898 (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
24899 * doc/tm.texi: Regenerate.
24901 2014-05-05 Marek Polacek <polacek@redhat.com>
24904 * opts.c (common_handle_option): Call error_at instead of warning_at.
24906 2014-05-05 Richard Biener <rguenther@suse.de>
24908 * passes.c (execute_function_todo): Don't reset TODO_verify_ssa
24909 from last_verified if update_ssa ran. Move TODO_verify_rtl_sharing
24910 under the TODO_verify_il umbrella.
24912 2014-05-05 Richard Biener <rguenther@suse.de>
24914 * passes.c (execute_function_todo): Move TODO_verify_flow under
24915 the TODO_verify_ul umbrella.
24917 2014-05-05 Richard Biener <rguenther@suse.de>
24919 PR middle-end/61010
24920 * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing
24921 X & CST away from a CST that is the mask of a mode.
24923 2014-05-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
24925 * config/picochip/picochip-protos.h (picochip_regno_nregs): Change
24926 int argument to enum machine_mode.
24927 (picochip_class_max_nregs): Ditto.
24928 * config/picochip/picochip.c (picochip_regno_nregs): Ditto.
24929 (picochip_class_max_nregs): Ditto.
24931 2014-05-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24933 * target.def: Add new target hook.
24934 * doc/tm.texi: Regenerate.
24935 * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
24936 * targhooks.c (default_keep_leaf_when_profiled): New function.
24938 * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
24939 (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
24941 2014-05-05 Bin Cheng <bin.cheng@arm.com>
24943 PR tree-optimization/60363
24944 * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New.
24945 (copy_phi_args): New parameters. Call get_value_locus_in_path.
24946 (update_destination_phis): New parameter.
24947 (create_edge_and_update_destination_phis): Ditto.
24948 (ssa_fix_duplicate_block_edges): Pass new arguments.
24949 (thread_single_edge): Ditto.
24951 2014-05-04 Peter Bergner <bergner@vnet.ibm.com>
24953 * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define.
24954 (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT.
24955 (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT.
24956 * config/rs6000/rs6000-builtin.def (BU_MISC_1):
24957 Use RS6000_BTM_HARD_FLOAT.
24958 (BU_MISC_2): Likewise.
24959 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
24960 RS6000_BTM_HARD_FLOAT.
24961 (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp
24962 is explicitly used.
24963 (rs6000_invalid_builtin): Add hard floating builtin support.
24964 (rs6000_expand_builtin): Relax the gcc_assert to allow the new
24965 hard float builtins.
24966 (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT.
24968 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
24970 * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute):
24971 Add missing function* argument.
24973 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
24975 * lra-constraints.c (valid_address_p): Move earlier in file.
24976 Add a constraint argument to the address_info version.
24977 (satisfies_memory_constraint_p): New function.
24978 (satisfies_address_constraint_p): Likewise.
24979 (process_alt_operands, curr_insn_transform): Use them.
24980 (process_address): Pass the constraint to valid_address_p when
24981 checking address operands.
24983 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com>
24985 * config/mips/mips.c (mips_isa_rev): New variable.
24986 (mips_set_architecture): Set it.
24987 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev
24989 (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4)
24990 (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT)
24991 (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH)
24992 (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1)
24993 (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress
24994 conditions in terms of mips_isa_rev.
24995 (mips_isa_rev): Declare.
24997 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
24999 * config/sh/sh-mem.cc: Use tabs instead of spaces.
25000 (prob_unlikely, prob_likely): Make variables const.
25002 2014-05-03 Denis Chertykov <chertykov@gmail.com>
25004 * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA.
25006 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
25008 * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases.
25010 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
25012 * config/sh/sh.h (ROUND_ADVANCE): Delete macro.
25013 (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
25014 * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
25016 (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
25017 sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
25019 Replace usage of ROUND_REG with sh_round_reg.
25020 Use CEIL instead of ROUND_ADVANCE.
25022 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org>
25025 * config/sh/sh.c: Include stdlib headers before everything else.
25027 2014-05-02 Jakub Jelinek <jakub@redhat.com>
25029 * gimplify.c (gimplify_adjust_omp_clauses_1): Handle
25030 GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
25031 (gimplify_adjust_omp_clauses): Simd region is never
25032 directly nested in combined parallel. Instead, for linear
25033 with copyin/copyout, if in combined for simd loop, make decl
25034 firstprivate/lastprivate on OMP_FOR.
25035 * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
25036 expand_omp_for_static_chunk): When setting endvar, also set
25037 fd->loop.v to the same value.
25039 2014-05-02 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
25041 * hwint.h (zext_hwi): Fix signed overflow for prec == 63.
25043 2014-05-02 Alan Lawrence <alan.lawrence@arm.com>
25045 * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
25048 2014-05-02 Marek Polacek <polacek@redhat.com>
25050 * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.
25052 2014-05-02 Kito Cheng <kito@0xlab.org>
25054 * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
25055 to a C expression marco.
25056 * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
25057 * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
25058 * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
25059 * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
25060 HONOR_REG_ALLOC_ORDER.
25061 * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.
25063 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
25065 * config/arc/arc.c (TARGET_LRA_P): Undef before redefine.
25067 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
25069 * config/arc/arc.c (arc_select_cc_mode): Fix typo.
25071 2014-05-01 Yuri Rumyantsev <ysrumyan@gmail.com>
25073 * tree-if-conv.c (is_cond_scalar_reduction): New function.
25074 (convert_scalar_cond_reduction): Likewise.
25075 (predicate_scalar_phi): Add recognition and transformation
25076 of simple conditioanl reduction to be vectorizable.
25078 2014-05-01 Marek Polacek <polacek@redhat.com>
25081 * doc/invoke.texi: Document -Wdiscarded-qualifiers.
25083 2014-04-30 Alan Lawrence <alan.lawrence@arm.com>
25085 * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8,
25086 vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32,
25087 vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32,
25088 vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32,
25089 vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8,
25090 vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16,
25091 vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16,
25092 vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle.
25094 2014-04-30 Joern Rennecke <joern.rennecke@embecosm.com>
25096 * config/arc/arc.opt (mlra): Move comment above option name
25097 to avoid mis-parsing as language options.
25099 2014-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
25101 * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ...
25102 * config/sol2.h: ... here.
25103 * config/sol2-10.h: Remove.
25105 * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE)
25106 (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC)
25107 (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE)
25108 (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION)
25109 (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ...
25110 * config/sol2.h: ... here.
25111 (SECTION_NAME_FORMAT): Don't redefine.
25112 (STARTFILE_ARCH32_SPEC): Rename to ...
25113 (STARTFILE_ARCH_SPEC): ... this.
25114 (ASM_OUTPUT_ALIGNED_COMMON): Move ...
25115 * config/sparc/sol2.h: ... here.
25116 (SECTION_NAME_FORMAT): Don't undef.
25117 * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC)
25118 (SUBTARGET_EXTRA_SPECS): Remove.
25119 * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
25121 * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT)
25122 (MD_STARTFILE_PREFIX): Remove.
25123 (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC)
25124 (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P)
25125 (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION)
25126 (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION)
25127 (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON)
25128 (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ...
25129 * config/i386/sol2.h: ... here.
25130 (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove.
25131 * config/i386/sol2-bi.h: Remove.
25132 * config/sol2.h (MD_STARTFILE_PREFIX): Remove.
25133 (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib.
25135 * config/i386/t-sol2-64: Rename to ...
25136 * config/i386/t-sol2: ... this.
25137 * config/sparc/t-sol2-64: Rename to ...
25138 * config/sparc/t-sol2: ... this.
25140 * config.gcc (*-*-solaris2*): Split sol2_tm_file into
25141 sol2_tm_file_head, sol2_tm_file_tail.
25142 Include ${cpu_type}/sol2.h before sol2.h.
25144 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include
25145 i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail.
25146 Remove i386/sol2-bi.h, sol2-bi.h from tm_file.
25147 Reflect i386/t-sol2-64 renaming.
25148 (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file.
25149 Reflect sparc/t-sol2-64 renaming.
25151 2014-04-30 Richard Biener <rguenther@suse.de>
25153 * passes.c (execute_function_todo): Move TODO_verify_stmts
25154 and TODO_verify_ssa under the TODO_verify_il umbrella.
25155 * tree-ssa.h (verify_ssa): Adjust prototype.
25156 * tree-ssa.c (verify_ssa): Add parameter to tell whether
25157 we should verify SSA operands.
25158 * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype.
25159 * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell
25160 whether we should verify whether not throwing stmts have EH info.
25161 * graphite-scop-detection.c (create_sese_edges): Adjust.
25162 * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise.
25163 * tree-eh.c (lower_try_finally_switch): Do not add the
25164 default case label twice.
25166 2014-04-30 Marek Polacek <polacek@redhat.com>
25168 * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.
25169 * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE.
25170 * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE.
25171 * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero.
25173 2014-04-29 Alan Lawrence <alan.lawrence@arm.com>
25175 * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8,
25176 vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32,
25177 vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32,
25178 vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32,
25179 vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8,
25180 vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16,
25181 vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16,
25182 vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle.
25184 2014-04-29 David Malcolm <dmalcolm@redhat.com>
25186 * tree-cfg.c (dump_function_to_file): Dump the return type of
25187 functions, in a line to itself before the function body, mimicking
25188 the layout of a C function.
25190 2014-04-29 Jakub Jelinek <jakub@redhat.com>
25192 PR tree-optimization/60971
25193 * tree-tailcall.c (process_assignment): Reject conversions which
25196 2014-04-29 James Greenhalgh <james.greenhalgh@arm.com>
25198 * calls.c (initialize_argument_information): Always treat
25199 PUSH_ARGS_REVERSED as 1, simplify code accordingly.
25200 (expand_call): Likewise.
25201 (emit_library_call_calue_1): Likewise.
25202 * expr.c (PUSH_ARGS_REVERSED): Do not define.
25203 (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify
25206 2014-04-29 Nick Clifton <nickc@redhat.com>
25208 * config/msp430/msp430.md (umulsidi): Fix typo.
25209 (mulhisi3): Enable even inside interrupt handlers.
25210 * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the
25211 bigger return address pushed in large mode.
25213 2014-04-29 Nick Clifton <nickc@redhat.com>
25215 * config/arc/arc.c (arc_select_cc_mode): Fix parentheses.
25216 (arc_init_reg_tables): Use a machine_mode enum to iterate over
25218 * config/m32r/m32r.c (init_reg_tables): Likewise.
25219 * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode
25220 enum to hold the modes.
25222 2014-04-29 Richard Biener <rguenther@suse.de>
25224 * dominance.c (free_dominance_info): Add overload with
25225 function parameter.
25226 (dom_info_state): Likewise.
25227 (dom_info_available_p): Likewise.
25228 * basic-block.h (free_dominance_info, dom_info_state,
25229 dom_info_available_p): Declare overloads.
25230 * passes.c (execute_function_todo): Verify that verifiers
25231 don't change dominator info state. Drop dominator info
25232 for IPA pass invocations.
25233 * cgraph.c (release_function_body): Restore asserts that
25234 dominator information is released.
25236 2014-04-29 Patrick Palka <patrick@parcs.ath.cx>
25238 * doc/invoke.texi: Fix typo.
25239 * tree-vrp.c: Fix typos.
25240 * gimple.c (infer_nonnull_range): Reorder operands of an && condition.
25242 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org>
25244 * config/aarch64/aarch64.md (mov<mode>cc): New for GPF.
25246 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
25248 * config/aarch64/aarch64-builtins.c
25249 (aarch64_types_storestruct_lane_qualifiers): New.
25250 (TYPES_STORESTRUCT_LANE): Likewise.
25251 * config/aarch64/aarch64-simd-builtins.def (st2_lane): New.
25252 (st3_lane): Likewise.
25253 (st4_lane): Likewise.
25254 * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New.
25255 (vec_store_lanesci_lane<mode>): Likewise.
25256 (vec_store_lanesxi_lane<mode>): Likewise.
25257 (aarch64_st2_lane<VQ:mode>): Likewise.
25258 (aarch64_st3_lane<VQ:mode>): Likewise.
25259 (aarch64_st4_lane<VQ:mode>): Likewise.
25260 * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE.
25261 * config/aarch64/arm_neon.h
25262 (__ST2_LANE_FUNC): Rewrite using builtins, update use points to
25263 use new macro arguments.
25264 (__ST3_LANE_FUNC): Likewise.
25265 (__ST4_LANE_FUNC): Likewise.
25266 * config/aarch64/iterators.md (V_TWO_ELEM): New.
25267 (V_THREE_ELEM): Likewise.
25268 (V_FOUR_ELEM): Likewise.
25270 2014-04-28 David Malcolm <dmalcolm@redhat.com>
25272 * doc/gimple.texi: Replace the description of the now-defunct
25273 union gimple_statement_d with a diagram showing the
25274 gimple_statement_base class hierarchy and its relationships to
25275 the GSS_ and GIMPLE_ enums.
25277 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com>
25279 * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New.
25280 * config/aarch64/aarch64.c
25281 (aarch64_cannot_change_mode_class): Weaken conditions.
25282 (aarch64_modes_tieable_p): New.
25283 * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it.
25285 2014-04-28 Pat Haugen <pthaugen@us.ibm.com>
25287 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
25288 (loadsync_<mode>): Change mode.
25289 (load_quadpti, store_quadpti): New.
25290 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
25291 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
25293 2014-04-28 Martin Jambor <mjambor@suse.cz>
25295 * tree-sra.c (sra_modify_expr): Generate new memory accesses with
25296 same alias type as the original statement.
25297 (subreplacement_assignment_data): New type.
25298 (handle_unscalarized_data_in_subtree): New type of parameter,
25299 generate new memory accesses with same alias type as the original
25301 (load_assign_lhs_subreplacements): Likewise.
25302 (sra_modify_constructor_assign): Generate new memory accesses with
25303 same alias type as the original statement.
25305 2014-04-28 Richard Biener <rguenther@suse.de>
25307 * tree-pass.h (TODO_verify_il): Define.
25308 (TODO_verify_all): Complete properly.
25309 * passes.c (execute_function_todo): Move existing loop-closed
25310 SSA verification under TODO_verify_il.
25311 (execute_one_pass): Trigger TODO_verify_il at todo-after time.
25312 * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps):
25313 Fix tree sharing issue.
25315 2014-04-28 Richard Biener <rguenther@suse.de>
25317 PR middle-end/60092
25318 * builtins.def (DEF_C11_BUILTIN): Add.
25319 (BUILT_IN_ALIGNED_ALLOC): Likewise.
25320 * coretypes.h (enum function_class): Add function_c11_misc.
25321 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
25322 BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC.
25323 (call_may_clobber_ref_p_1): Likewise.
25324 * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise.
25325 (mark_all_reaching_defs_necessary_1): Likewise.
25326 (propagate_necessity): Likewise.
25327 (eliminate_unnecessary_stmts): Likewise.
25328 * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC.
25330 2014-04-28 Richard Biener <rguenther@suse.de>
25332 * tree-vrp.c (vrp_var_may_overflow): Remove.
25333 (vrp_visit_phi_node): Rather than bumping to +-INF possibly
25334 with overflow immediately bump to one before that value and
25335 let iteration figure out overflow status.
25337 2014-04-28 Richard Biener <rguenther@suse.de>
25339 * configure.ac: Do valgrind header checks unconditionally.
25340 Add --enable-valgrind-annotations.
25341 * system.h: Guard valgrind header inclusion with
25342 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING.
25343 * alloc-pool.c (pool_alloc, pool_free): Use
25344 ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING
25345 to guard possibly dead code.
25346 * config.in: Regenerated.
25347 * configure: Likewise.
25349 2014-04-28 Jeff Law <law@redhat.com>
25351 PR tree-optimization/60902
25352 * tree-ssa-threadedge.c
25353 (record_temporary_equivalences_from_stmts_at_dest): Only iterate
25354 over real defs when invalidating outputs from statements that do not
25355 produce useful outputs for threading.
25357 2014-04-28 Richard Biener <rguenther@suse.de>
25359 PR tree-optimization/60979
25360 * graphite-scop-detection.c (scopdet_basic_block_info): Reject
25361 SCOPs that end in a block with a successor with abnormal
25364 2014-04-28 Richard Biener <rguenther@suse.de>
25366 * tree-pass.h (execute_pass_list): Adjust prototype.
25367 * passes.c (pass_manager::execute_early_local_passes): Adjust.
25368 (do_per_function): Change callback signature, push all actual
25369 work to the callbals.
25370 (do_per_function_toporder): Likewise.
25371 (execute_function_dump): Adjust.
25372 (execute_function_todo): Likewise.
25373 (clear_last_verified): Likewise.
25374 (verify_curr_properties): Likewise.
25375 (update_properties_after_pass): Likewise.
25376 (execute_pass_list_1): Split out from ...
25377 (execute_pass_list): ... here. Adjust.
25378 (execute_ipa_pass_list): Likewise.
25379 * cgraphunit.c (cgraph_add_new_function): Adjust.
25380 (analyze_function): Likewise.
25381 (expand_function): Likewise.
25382 * cgraph.c (release_function_body): Free dominance info
25383 here instead of asserting it was magically freed elsewhere.
25385 2014-04-28 Eric Botcazou <ebotcazou@adacore.com>
25387 * configure.ac: Tweak GAS check for LEON instructions on SPARC.
25388 * configure: Regenerate.
25389 * config/sparc/sparc.opt (muser-mode): New option.
25390 * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable
25392 (atomic_compare_and_swap_leon3_1): New instruction for LEON3.
25393 * doc/invoke.texi (SPARC options): Document -muser-mode.
25395 2014-04-27 Richard Sandiford <rdsandiford@googlemail.com>
25397 * cselib.c (find_slot_memmode): Delete.
25398 (cselib_hasher): Change compare_type to a struct.
25399 (cselib_hasher::equal): Update accordingly. Don't expect wrapped
25401 (preserve_constants_and_equivs): Adjust for new compare_type.
25402 (cselib_find_slot): Likewise. Take the mode of the rtx as argument.
25403 (wrap_constant): Delete.
25404 (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot.
25406 2014-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25408 * doc/install.texi (Building with profile feedback): Remove
25411 2014-04-26 Tom de Vries <tom@codesourcery.com>
25413 * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds
25416 2014-04-25 Cary Coutant <ccoutant@google.com>
25419 * dwarf2out.c (should_move_die_to_comdat): A type definition
25420 can contain a subprogram definition, but don't move it to a
25422 (clone_as_declaration): Copy DW_AT_abstract_origin attribute.
25423 (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
25425 (clone_tree_hash): Rename to...
25426 (clone_tree_partial): ...this; change callers. Copy
25427 DW_TAG_subprogram DIEs as declarations.
25428 (copy_decls_walk): Don't copy children of a declaration into a
25431 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
25434 * config/i386/i386.md (*movsf_internal): Set MODE to SI for
25437 2014-04-25 Jiong Wang <jiong.wang@arm.com>
25439 * config/arm/predicates.md (call_insn_operand): Add long_call check.
25440 * config/arm/arm.md (sibcall, sibcall_value): Force the address to
25442 * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call
25445 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25447 * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields.
25449 2014-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
25451 PR tree-optimization/60930
25452 * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject
25453 creating a multiply candidate by folding two constant
25454 multiplicands when the result overflows.
25456 2014-04-25 Jakub Jelinek <jakub@redhat.com>
25458 PR tree-optimization/60960
25459 * tree-vect-generic.c (expand_vector_operation): Only call
25460 expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.
25462 2014-04-25 Tom de Vries <tom@codesourcery.com>
25464 * expr.c (clobber_reg_mode): New function.
25465 * expr.h (clobber_reg): New function.
25467 2014-04-25 Tom de Vries <tom@codesourcery.com>
25469 * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE
25472 2014-04-25 Radovan Obradovic <robradovic@mips.com>
25473 Tom de Vries <tom@codesourcery.com>
25475 * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and
25477 * rtl.h (find_all_hard_reg_sets): Add bool parameter.
25478 * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add
25479 new argument to find_all_hard_reg_sets call.
25481 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25483 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p):
25484 Use HOST_WIDE_INT_C for mask literal.
25485 (aarch_rev16_shleft_mask_imm_p): Likewise.
25487 2014-04-25 Eric Botcazou <ebotcazou@adacore.com>
25490 * config/sparc/sparc.md (ashlsi3_extend): Delete.
25492 2014-04-25 Marc Glisse <marc.glisse@inria.fr>
25494 PR preprocessor/56540
25495 * config/i386/i386-c.c (ix86_target_macros): Define
25496 __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__.
25498 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
25500 * configure.ac (tga_func): Remove.
25501 (LIB_TLS_SPEC): Remove.
25502 * configure: Regenerate.
25503 * config.in: Regenerate.
25504 * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC.
25506 2014-04-25 Richard Biener <rguenther@suse.de>
25509 * tree-ssa-structalias.c (ipa_pta_execute): Compute direct
25510 call stmt use/clobber sets during stmt walk instead of
25511 walking the possibly incomplete set of caller edges.
25513 2014-04-25 Richard Biener <rguenther@suse.de>
25516 * passes.c (apply_ipa_transforms): Inline into only caller ...
25517 (execute_one_pass): ... here. Properly bring in function
25518 bodies for nodes we want to apply IPA transforms to.
25520 2014-04-24 Cong Hou <congh@google.com>
25522 PR tree-optimization/60896
25523 * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up
25524 all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern.
25525 (vect_mark_pattern_stmts): Set the def type of all statements in
25526 PATTERN_DEF_SEQ as vect_internal_def.
25528 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com>
25530 * doc/extend.texi (PowerPC Built-in Functions): Document new
25531 powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions.
25532 (PowerPC AltiVec/VSX Built-in Functions): Likewise.
25534 * config/rs6000/predicates.md (const_0_to_3_operand): New
25535 predicate to match 0..3 integer constants.
25537 * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros
25538 to support adding miscellaneous builtin functions.
25539 (BU_DFP_MISC_2): Likewise.
25540 (BU_P7_MISC_1): Likewise.
25541 (BU_P7_MISC_2): Likewise.
25542 (BU_P8V_MISC_3): Likewise.
25543 (BU_MISC_1): Likewise.
25544 (BU_MISC_2): Likewise.
25545 (DIVWE): Add extended divide builtin functions.
25546 (DIVWEO): Likewise.
25547 (DIVWEU): Likewise.
25548 (DIVWEUO): Likewise.
25550 (DIVDEO): Likewise.
25551 (DIVDEU): Likewise.
25552 (DIVDEUO): Likewise.
25553 (DXEX): Add decimal floating-point builtin functions.
25555 (DDEDPD): Likewise.
25556 (DDEDPDQ): Likewise.
25557 (DENBCD): Likewise.
25558 (DENBCDQ): Likewise.
25562 (DSCLIQ): Likewise.
25564 (DSCRIQ): Likewise.
25565 (CDTBCD): Add new BCD builtin functions.
25566 (CBCDTD): Likewise.
25567 (ADDG6S): Likewise.
25568 (BCDADD): Likewise.
25569 (BCDADD_LT): Likewise.
25570 (BCDADD_EQ): Likewise.
25571 (BCDADD_GT): Likewise.
25572 (BCDADD_OV): Likewise.
25573 (BCDSUB): Likewise.
25574 (BCDSUB_LT): Likewise.
25575 (BCDSUB_EQ): Likewise.
25576 (BCDSUB_GT): Likewise.
25577 (BCDSUB_OV): Likewise.
25578 (PACK_TD): Add new pack/unpack 128-bit type builtin functions.
25579 (UNPACK_TD): Likewise.
25580 (PACK_TF): Likewise.
25581 (UNPACK_TF): Likewise.
25582 (UNPACK_TF_0): Likewise.
25583 (UNPACK_TF_1): Likewise.
25584 (PACK_V1TI): Likewise.
25585 (UNPACK_V1TI): Likewise.
25587 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
25588 support for decimal floating point builtin functions.
25589 (rs6000_expand_ternop_builtin): Add checks for the new builtin
25590 functions that take constant arguments.
25591 (rs6000_invalid_builtin): Add decimal floating point builtin support.
25592 (rs6000_init_builtins): Setup long double, _Decimal64, and
25593 _Decimal128 types for new builtin functions.
25594 (builtin_function_type): Set the unsigned flags appropriately for
25595 the new builtin functions.
25596 (rs6000_opt_masks): Add support for decimal floating point builtin
25599 * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal
25600 floating point builtin functions.
25601 (RS6000_BTM_COMMON): Likewise.
25602 (RS6000_BTI_long_double): Likewise.
25603 (RS6000_BTI_dfloat64): Likewise.
25604 (RS6000_BTI_dfloat128): Likewise.
25605 (long_double_type_internal_node): Likewise.
25606 (dfloat64_type_internal_node): Likewise.
25607 (dfloat128_type_internal_node): Likewise.
25609 * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA
25610 2.07 bcd arithmetic instructions.
25611 (UNSPEC_BCDSUB): Likewise.
25612 (UNSPEC_BCD_OVERFLOW): Likewise.
25613 (UNSPEC_BCD_ADD_SUB): Likewise.
25614 (bcd_add_sub): Likewise.
25615 (BCD_TEST): Likewise.
25616 (bcd<bcd_add_sub>): Likewise.
25617 (bcd<bcd_add_sub>_test): Likewise.
25618 (bcd<bcd_add_sub>_test2): Likewise.
25619 (bcd<bcd_add_sub>_<code>): Likewise.
25620 (peephole2 for combined bcd ops): Likewise.
25622 * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new
25623 decimal floating point builtin functions.
25624 (UNSPEC_DENBCD): Likewise.
25625 (UNSPEC_DXEX): Likewise.
25626 (UNSPEC_DIEX): Likewise.
25627 (UNSPEC_DSCLI): Likewise.
25628 (UNSPEC_DSCRI): Likewise.
25629 (D64_D128): Likewise.
25630 (dfp_suffix): Likewise.
25631 (dfp_ddedpd_<mode>): Likewise.
25632 (dfp_denbcd_<mode>): Likewise.
25633 (dfp_dxex_<mode>): Likewise.
25634 (dfp_diex_<mode>): Likewise.
25635 (dfp_dscli_<mode>): Likewise.
25636 (dfp_dscri_<mode>): Likewise.
25638 * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD
25640 (UNSPEC_CDTBCD): Likewise.
25641 (UNSPEC_CBCDTD): Likewise.
25642 (UNSPEC_DIVE): Add support for new extended divide builtin functions.
25643 (UNSPEC_DIVEO): Likewise.
25644 (UNSPEC_DIVEU): Likewise.
25645 (UNSPEC_DIVEUO): Likewise.
25646 (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to
25647 pack/unpack 128-bit types.
25648 (UNSPEC_PACK_128BIT): Likewise.
25649 (idiv_ldiv): New mode attribute to set the 32/64-bit divide type.
25650 (udiv<mode>3): Use idiv_ldiv mode attribute.
25651 (div<mode>3): Likewise.
25652 (addg6s): Add new BCD builtin functions.
25653 (cdtbcd): Likewise.
25654 (cbcdtd): Likewise.
25655 (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions.
25656 (div_extend): Likewise.
25657 (div<div_extend>_<mode>"): Likewise.
25658 (FP128_64): Add support for new builtin functions to pack/unpack
25660 (unpack<mode>): Likewise.
25661 (unpacktf_0): Likewise.
25662 (unpacktf_1): Likewise.
25663 (unpack<mode>_dm): Likewise.
25664 (unpack<mode>_nodm): Likewise.
25665 (pack<mode>): Likewise.
25666 (unpackv1ti): Likewise.
25667 (packv1ti): Likewise.
25669 2014-04-24 Vishnu K S <Vishnu.k_s@atmel.com>
25671 * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks
25674 2014-04-24 Jakub Jelinek <jakub@redhat.com>
25676 * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.
25677 * gimplify.c (omp_is_private): Change last argument's type to int.
25678 Only diagnose lastprivate if the simd argument is 1, only diagnose
25679 linear if the simd argument is 2.
25680 (gimplify_omp_for): Adjust omp_is_private callers. When adding
25681 lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass
25682 GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1
25683 create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var.
25684 If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl
25685 increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
25686 * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle
25687 OMP_CLAUSE_LINEAR_GIMPLE_SEQ.
25688 * tree-nested.c (convert_nonlocal_omp_clauses,
25689 convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR.
25691 2014-04-24 Segher Boessenkool <segher@kernel.crashing.org>
25694 * config/m68k/m68k.md (extendplussidi): Don't allow memory for
25697 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com>
25699 * flag-types.h (enum ivar_visibility): Add.
25701 2014-04-24 Trevor Saunders <tsaunders@mozilla.com>
25703 * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take
25704 function * argument.
25706 2014-04-24 Alan Lawrence <alan.lawrence@arm.com>
25708 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian.
25710 2014-04-24 Radovan Obradovic <robradovic@mips.com>
25711 Tom de Vries <tom@codesourcery.com>
25713 * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
25714 * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
25716 * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
25717 * emit-rtl.c (try_split): Same.
25719 2014-04-24 Radovan Obradovic <robradovic@mips.com>
25720 Tom de Vries <tom@codesourcery.com>
25722 * common.opt (fuse-caller-save): New option.
25724 2014-04-24 Tejas Belagod <tejas.belagod@arm.com>
25726 * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of
25727 elements for big-endian.
25729 2014-04-24 Richard Biener <rguenther@suse.de>
25731 * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree
25732 during TER and instead use the sepops interface for expanding
25733 non-GIMPLE_SINGLE_RHS.
25735 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
25737 * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine
25738 if not HAVE_AS_IX86_DIFF_SECT_DELTA.
25740 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
25742 * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86
25743 assembler 64-bit option.
25744 * configure: Regenerate.
25746 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25748 * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check
25749 TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY.
25750 (TARGET_SIMD): Take AARCH64_ISA_SIMD into account.
25751 (TARGET_FLOAT): Take AARCH64_ISA_FP into account.
25752 (TARGET_CRYPTO): Take TARGET_SIMD into account.
25754 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
25756 * config/aarch64/aarch64-builtins.c
25757 (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16,
25758 BUILT_IN_BSWAP32, BUILT_IN_BSWAP64.
25759 * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern.
25760 * config/aarch64/aarch64-simd-builtins.def: Define vector bswap
25762 * config/aarch64/iterator.md (VDQHSD): New mode iterator.
25763 (Vrevsuff): New mode attribute.
25765 2014-04-24 Terry Guo <terry.guo@arm.com>
25767 * config/arm/arm.h (machine_function): Define variable
25768 after_arm_reorg here.
25769 * config/arm/arm.c (after_arm_reorg): Remove the definition.
25770 (arm_split_constant): Update the way to access variable
25772 (arm_reorg): Ditto.
25773 (arm_output_function_epilogue): Remove the reset of after_arm_reorg.
25775 2014-04-23 Tom de Vries <tom@codesourcery.com>
25777 * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment.
25779 2014-04-23 David Malcolm <dmalcolm@redhat.com>
25781 * is-a.h: Update comments to reflect the following changes to the
25782 "pointerness" of the API, making the template parameter match the
25783 return type, allowing use of is-a.h with typedefs of pointers.
25784 (is_a_helper::cast): Return a T rather then a pointer to a T, so
25785 that the return type matches the parameter to the is_a_helper.
25787 (dyn_cast): Likewise.
25789 * cgraph.c (cgraph_node_for_asm): Update for removal of implicit
25790 pointer from the is-a.h API.
25792 * cgraph.h (is_a_helper <cgraph_node>::test): Convert to...
25793 (is_a_helper <cgraph_node *>::test): ...this, matching change to
25795 (is_a_helper <varpool_node>::test): Likewise, convert to...
25796 (is_a_helper <varpool_node *>::test): ...this.
25798 (varpool_first_variable): Update for removal of implicit pointer
25799 from the is-a.h API.
25800 (varpool_next_variable): Likewise.
25801 (varpool_first_static_initializer): Likewise.
25802 (varpool_next_static_initializer): Likewise.
25803 (varpool_first_defined_variable): Likewise.
25804 (varpool_next_defined_variable): Likewise.
25805 (cgraph_first_defined_function): Likewise.
25806 (cgraph_next_defined_function): Likewise.
25807 (cgraph_first_function): Likewise.
25808 (cgraph_next_function): Likewise.
25809 (cgraph_first_function_with_gimple_body): Likewise.
25810 (cgraph_next_function_with_gimple_body): Likewise.
25811 (cgraph_alias_target): Likewise.
25812 (varpool_alias_target): Likewise.
25813 (cgraph_function_or_thunk_node): Likewise.
25814 (varpool_variable_node): Likewise.
25815 (symtab_real_symbol_p): Likewise.
25816 * cgraphunit.c (referred_to_p): Likewise.
25817 (analyze_functions): Likewise.
25818 (handle_alias_pairs): Likewise.
25819 * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise.
25820 * gimple-ssa.h (gimple_vuse_op): Likewise.
25821 (gimple_vdef_op): Likewise.
25822 * gimple-streamer-in.c (input_gimple_stmt): Likewise.
25823 * gimple.c (gimple_build_asm_1): Likewise.
25824 (gimple_build_try): Likewise.
25825 (gimple_build_resx): Likewise.
25826 (gimple_build_eh_dispatch): Likewise.
25827 (gimple_build_omp_for): Likewise.
25828 (gimple_omp_for_set_clauses): Likewise.
25830 * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to...
25831 (is_a_helper <gimple_statement_asm *>::test): ...this.
25832 (is_a_helper <gimple_statement_bind>::test): Convert to...
25833 (is_a_helper <gimple_statement_bind *>::test): ...this.
25834 (is_a_helper <gimple_statement_call>::test): Convert to...
25835 (is_a_helper <gimple_statement_call *>::test): ...this.
25836 (is_a_helper <gimple_statement_catch>::test): Convert to...
25837 (is_a_helper <gimple_statement_catch *>::test): ...this.
25838 (is_a_helper <gimple_statement_resx>::test): Convert to...
25839 (is_a_helper <gimple_statement_resx *>::test): ...this.
25840 (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to...
25841 (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this.
25842 (is_a_helper <gimple_statement_eh_else>::test): Convert to...
25843 (is_a_helper <gimple_statement_eh_else *>::test): ...this.
25844 (is_a_helper <gimple_statement_eh_filter>::test): Convert to...
25845 (is_a_helper <gimple_statement_eh_filter *>::test): ...this.
25846 (is_a_helper <gimple_statement_eh_mnt>::test): Convert to...
25847 (is_a_helper <gimple_statement_eh_mnt *>::test): ...this.
25848 (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to...
25849 (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this.
25850 (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to...
25851 (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this.
25852 (is_a_helper <gimple_statement_omp_return>::test): Convert to...
25853 (is_a_helper <gimple_statement_omp_return *>::test): ...this.
25854 (is_a_helper <gimple_statement_omp_continue>::test): Convert to...
25855 (is_a_helper <gimple_statement_omp_continue *>::test): ...this.
25856 (is_a_helper <gimple_statement_omp_critical>::test): Convert to...
25857 (is_a_helper <gimple_statement_omp_critical *>::test): ...this.
25858 (is_a_helper <gimple_statement_omp_for>::test): Convert to...
25859 (is_a_helper <gimple_statement_omp_for *>::test): ...this.
25860 (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to...
25861 (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this.
25862 (is_a_helper <gimple_statement_omp_parallel>::test): Convert to...
25863 (is_a_helper <gimple_statement_omp_parallel *>::test): ...this.
25864 (is_a_helper <gimple_statement_omp_target>::test): Convert to...
25865 (is_a_helper <gimple_statement_omp_target *>::test): ...this.
25866 (is_a_helper <gimple_statement_omp_sections>::test): Convert to...
25867 (is_a_helper <gimple_statement_omp_sections *>::test): ...this.
25868 (is_a_helper <gimple_statement_omp_single>::test): Convert to...
25869 (is_a_helper <gimple_statement_omp_single *>::test): ...this.
25870 (is_a_helper <gimple_statement_omp_teams>::test): Convert to...
25871 (is_a_helper <gimple_statement_omp_teams *>::test): ...this.
25872 (is_a_helper <gimple_statement_omp_task>::test): Convert to...
25873 (is_a_helper <gimple_statement_omp_task *>::test): ...this.
25874 (is_a_helper <gimple_statement_phi>::test): Convert to...
25875 (is_a_helper <gimple_statement_phi *>::test): ...this.
25876 (is_a_helper <gimple_statement_transaction>::test): Convert to...
25877 (is_a_helper <gimple_statement_transaction *>::test): ...this.
25878 (is_a_helper <gimple_statement_try>::test): Convert to...
25879 (is_a_helper <gimple_statement_try *>::test): ...this.
25880 (is_a_helper <gimple_statement_wce>::test): Convert to...
25881 (is_a_helper <gimple_statement_wce *>::test): ...this.
25882 (is_a_helper <const gimple_statement_asm>::test): Convert to...
25883 (is_a_helper <const gimple_statement_asm *>::test): ...this.
25884 (is_a_helper <const gimple_statement_bind>::test): Convert to...
25885 (is_a_helper <const gimple_statement_bind *>::test): ...this.
25886 (is_a_helper <const gimple_statement_call>::test): Convert to...
25887 (is_a_helper <const gimple_statement_call *>::test): ...this.
25888 (is_a_helper <const gimple_statement_catch>::test): Convert to...
25889 (is_a_helper <const gimple_statement_catch *>::test): ...this.
25890 (is_a_helper <const gimple_statement_resx>::test): Convert to...
25891 (is_a_helper <const gimple_statement_resx *>::test): ...this.
25892 (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to...
25893 (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this.
25894 (is_a_helper <const gimple_statement_eh_filter>::test): Convert to...
25895 (is_a_helper <const gimple_statement_eh_filter *>::test): ...this.
25896 (is_a_helper <const gimple_statement_omp_atomic_load>::test):
25898 (is_a_helper <const gimple_statement_omp_atomic_load *>::test):
25900 (is_a_helper <const gimple_statement_omp_atomic_store>::test):
25902 (is_a_helper <const gimple_statement_omp_atomic_store *>::test):
25904 (is_a_helper <const gimple_statement_omp_return>::test): Convert to...
25905 (is_a_helper <const gimple_statement_omp_return *>::test): ...this.
25906 (is_a_helper <const gimple_statement_omp_continue>::test): Convert
25908 (is_a_helper <const gimple_statement_omp_continue *>::test): ...this.
25909 (is_a_helper <const gimple_statement_omp_critical>::test): Convert
25911 (is_a_helper <const gimple_statement_omp_critical *>::test): ...this.
25912 (is_a_helper <const gimple_statement_omp_for>::test): Convert to...
25913 (is_a_helper <const gimple_statement_omp_for *>::test): ...this.
25914 (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to...
25915 (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this.
25916 (is_a_helper <const gimple_statement_omp_parallel>::test): Convert
25918 (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this.
25919 (is_a_helper <const gimple_statement_omp_target>::test): Convert to...
25920 (is_a_helper <const gimple_statement_omp_target *>::test): ...this.
25921 (is_a_helper <const gimple_statement_omp_sections>::test): Convert
25923 (is_a_helper <const gimple_statement_omp_sections *>::test): ...this.
25924 (is_a_helper <const gimple_statement_omp_single>::test): Convert to...
25925 (is_a_helper <const gimple_statement_omp_single *>::test): ...this.
25926 (is_a_helper <const gimple_statement_omp_teams>::test): Convert to...
25927 (is_a_helper <const gimple_statement_omp_teams *>::test): ...this.
25928 (is_a_helper <const gimple_statement_omp_task>::test): Convert to...
25929 (is_a_helper <const gimple_statement_omp_task *>::test): ...this.
25930 (is_a_helper <const gimple_statement_phi>::test): Convert to...
25931 (is_a_helper <const gimple_statement_phi *>::test): ...this.
25932 (is_a_helper <const gimple_statement_transaction>::test): Convert to...
25933 (is_a_helper <const gimple_statement_transaction *>::test): ...this.
25934 (is_a_helper <const gimple_statement_with_ops>::test): Convert to...
25935 (is_a_helper <const gimple_statement_with_ops *>::test): ...this.
25936 (is_a_helper <gimple_statement_with_ops>::test): Convert to...
25937 (is_a_helper <gimple_statement_with_ops *>::test): ...this.
25938 (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert
25940 (is_a_helper <const gimple_statement_with_memory_ops *>::test):
25942 (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to...
25943 (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this.
25945 (gimple_use_ops): Update for removal of implicit pointer from the
25947 (gimple_set_use_ops): Likewise.
25948 (gimple_vuse): Likewise.
25949 (gimple_vdef): Likewise.
25950 (gimple_vuse_ptr): Likewise.
25951 (gimple_vdef_ptr): Likewise.
25952 (gimple_set_vuse): Likewise.
25953 (gimple_set_vdef): Likewise.
25954 (gimple_omp_return_set_lhs): Likewise.
25955 (gimple_omp_return_lhs): Likewise.
25956 (gimple_omp_return_lhs_ptr): Likewise.
25957 (gimple_call_fntype): Likewise.
25958 (gimple_call_set_fntype): Likewise.
25959 (gimple_call_set_internal_fn): Likewise.
25960 (gimple_call_use_set): Likewise.
25961 (gimple_call_clobber_set): Likewise.
25962 (gimple_bind_vars): Likewise.
25963 (gimple_bind_set_vars): Likewise.
25964 (gimple_bind_body_ptr): Likewise.
25965 (gimple_bind_set_body): Likewise.
25966 (gimple_bind_add_stmt): Likewise.
25967 (gimple_bind_block): Likewise.
25968 (gimple_bind_set_block): Likewise.
25969 (gimple_asm_ninputs): Likewise.
25970 (gimple_asm_noutputs): Likewise.
25971 (gimple_asm_nclobbers): Likewise.
25972 (gimple_asm_nlabels): Likewise.
25973 (gimple_asm_input_op): Likewise.
25974 (gimple_asm_input_op_ptr): Likewise.
25975 (gimple_asm_output_op): Likewise.
25976 (gimple_asm_output_op_ptr): Likewise.
25977 (gimple_asm_set_output_op): Likewise.
25978 (gimple_asm_clobber_op): Likewise.
25979 (gimple_asm_set_clobber_op): Likewise.
25980 (gimple_asm_label_op): Likewise.
25981 (gimple_asm_set_label_op): Likewise.
25982 (gimple_asm_string): Likewise.
25983 (gimple_catch_types): Likewise.
25984 (gimple_catch_types_ptr): Likewise.
25985 (gimple_catch_handler_ptr): Likewise.
25986 (gimple_catch_set_types): Likewise.
25987 (gimple_catch_set_handler): Likewise.
25988 (gimple_eh_filter_types): Likewise.
25989 (gimple_eh_filter_types_ptr): Likewise.
25990 (gimple_eh_filter_failure_ptr): Likewise.
25991 (gimple_eh_filter_set_types): Likewise.
25992 (gimple_eh_filter_set_failure): Likewise.
25993 (gimple_eh_must_not_throw_fndecl): Likewise.
25994 (gimple_eh_must_not_throw_set_fndecl): Likewise.
25995 (gimple_eh_else_n_body_ptr): Likewise.
25996 (gimple_eh_else_e_body_ptr): Likewise.
25997 (gimple_eh_else_set_n_body): Likewise.
25998 (gimple_eh_else_set_e_body): Likewise.
25999 (gimple_try_eval_ptr): Likewise.
26000 (gimple_try_cleanup_ptr): Likewise.
26001 (gimple_try_set_eval): Likewise.
26002 (gimple_try_set_cleanup): Likewise.
26003 (gimple_wce_cleanup_ptr): Likewise.
26004 (gimple_wce_set_cleanup): Likewise.
26005 (gimple_phi_capacity): Likewise.
26006 (gimple_phi_num_args): Likewise.
26007 (gimple_phi_result): Likewise.
26008 (gimple_phi_result_ptr): Likewise.
26009 (gimple_phi_set_result): Likewise.
26010 (gimple_phi_arg): Likewise.
26011 (gimple_phi_set_arg): Likewise.
26012 (gimple_resx_region): Likewise.
26013 (gimple_resx_set_region): Likewise.
26014 (gimple_eh_dispatch_region): Likewise.
26015 (gimple_eh_dispatch_set_region): Likewise.
26016 (gimple_omp_critical_name): Likewise.
26017 (gimple_omp_critical_name_ptr): Likewise.
26018 (gimple_omp_critical_set_name): Likewise.
26019 (gimple_omp_for_clauses): Likewise.
26020 (gimple_omp_for_clauses_ptr): Likewise.
26021 (gimple_omp_for_set_clauses): Likewise.
26022 (gimple_omp_for_collapse): Likewise.
26023 (gimple_omp_for_index): Likewise.
26024 (gimple_omp_for_index_ptr): Likewise.
26025 (gimple_omp_for_set_index): Likewise.
26026 (gimple_omp_for_initial): Likewise.
26027 (gimple_omp_for_initial_ptr): Likewise.
26028 (gimple_omp_for_set_initial): Likewise.
26029 (gimple_omp_for_final): Likewise.
26030 (gimple_omp_for_final_ptr): Likewise.
26031 (gimple_omp_for_set_final): Likewise.
26032 (gimple_omp_for_incr): Likewise.
26033 (gimple_omp_for_incr_ptr): Likewise.
26034 (gimple_omp_for_set_incr): Likewise.
26035 (gimple_omp_for_pre_body_ptr): Likewise.
26036 (gimple_omp_for_set_pre_body): Likewise.
26037 (gimple_omp_parallel_clauses): Likewise.
26038 (gimple_omp_parallel_clauses_ptr): Likewise.
26039 (gimple_omp_parallel_set_clauses): Likewise.
26040 (gimple_omp_parallel_child_fn): Likewise.
26041 (gimple_omp_parallel_child_fn_ptr): Likewise.
26042 (gimple_omp_parallel_set_child_fn): Likewise.
26043 (gimple_omp_parallel_data_arg): Likewise.
26044 (gimple_omp_parallel_data_arg_ptr): Likewise.
26045 (gimple_omp_parallel_set_data_arg): Likewise.
26046 (gimple_omp_task_clauses): Likewise.
26047 (gimple_omp_task_clauses_ptr): Likewise.
26048 (gimple_omp_task_set_clauses): Likewise.
26049 (gimple_omp_task_child_fn): Likewise.
26050 (gimple_omp_task_child_fn_ptr): Likewise.
26051 (gimple_omp_task_set_child_fn): Likewise.
26052 (gimple_omp_task_data_arg): Likewise.
26053 (gimple_omp_task_data_arg_ptr): Likewise.
26054 (gimple_omp_task_set_data_arg): Likewise.
26055 (gimple_omp_taskreg_clauses): Likewise.
26056 (gimple_omp_taskreg_clauses_ptr): Likewise.
26057 (gimple_omp_taskreg_set_clauses): Likewise.
26058 (gimple_omp_taskreg_child_fn): Likewise.
26059 (gimple_omp_taskreg_child_fn_ptr): Likewise.
26060 (gimple_omp_taskreg_set_child_fn): Likewise.
26061 (gimple_omp_taskreg_data_arg): Likewise.
26062 (gimple_omp_taskreg_data_arg_ptr): Likewise.
26063 (gimple_omp_taskreg_set_data_arg): Likewise.
26064 (gimple_omp_task_copy_fn): Likewise.
26065 (gimple_omp_task_copy_fn_ptr): Likewise.
26066 (gimple_omp_task_set_copy_fn): Likewise.
26067 (gimple_omp_task_arg_size): Likewise.
26068 (gimple_omp_task_arg_size_ptr): Likewise.
26069 (gimple_omp_task_set_arg_size): Likewise.
26070 (gimple_omp_task_arg_align): Likewise.
26071 (gimple_omp_task_arg_align_ptr): Likewise.
26072 (gimple_omp_task_set_arg_align): Likewise.
26073 (gimple_omp_single_clauses): Likewise.
26074 (gimple_omp_single_clauses_ptr): Likewise.
26075 (gimple_omp_single_set_clauses): Likewise.
26076 (gimple_omp_target_clauses): Likewise.
26077 (gimple_omp_target_clauses_ptr): Likewise.
26078 (gimple_omp_target_set_clauses): Likewise.
26079 (gimple_omp_target_child_fn): Likewise.
26080 (gimple_omp_target_child_fn_ptr): Likewise.
26081 (gimple_omp_target_set_child_fn): Likewise.
26082 (gimple_omp_target_data_arg): Likewise.
26083 (gimple_omp_target_data_arg_ptr): Likewise.
26084 (gimple_omp_target_set_data_arg): Likewise.
26085 (gimple_omp_teams_clauses): Likewise.
26086 (gimple_omp_teams_clauses_ptr): Likewise.
26087 (gimple_omp_teams_set_clauses): Likewise.
26088 (gimple_omp_sections_clauses): Likewise.
26089 (gimple_omp_sections_clauses_ptr): Likewise.
26090 (gimple_omp_sections_set_clauses): Likewise.
26091 (gimple_omp_sections_control): Likewise.
26092 (gimple_omp_sections_control_ptr): Likewise.
26093 (gimple_omp_sections_set_control): Likewise.
26094 (gimple_omp_for_set_cond): Likewise.
26095 (gimple_omp_for_cond): Likewise.
26096 (gimple_omp_atomic_store_set_val): Likewise.
26097 (gimple_omp_atomic_store_val): Likewise.
26098 (gimple_omp_atomic_store_val_ptr): Likewise.
26099 (gimple_omp_atomic_load_set_lhs): Likewise.
26100 (gimple_omp_atomic_load_lhs): Likewise.
26101 (gimple_omp_atomic_load_lhs_ptr): Likewise.
26102 (gimple_omp_atomic_load_set_rhs): Likewise.
26103 (gimple_omp_atomic_load_rhs): Likewise.
26104 (gimple_omp_atomic_load_rhs_ptr): Likewise.
26105 (gimple_omp_continue_control_def): Likewise.
26106 (gimple_omp_continue_control_def_ptr): Likewise.
26107 (gimple_omp_continue_set_control_def): Likewise.
26108 (gimple_omp_continue_control_use): Likewise.
26109 (gimple_omp_continue_control_use_ptr): Likewise.
26110 (gimple_omp_continue_set_control_use): Likewise.
26111 (gimple_transaction_body_ptr): Likewise.
26112 (gimple_transaction_label): Likewise.
26113 (gimple_transaction_label_ptr): Likewise.
26114 (gimple_transaction_set_body): Likewise.
26115 (gimple_transaction_set_label): Likewise.
26117 * ipa-devirt.c (build_type_inheritance_graph): Likewise.
26118 * ipa-inline-analysis.c (inline_write_summary): Likewise.
26119 * ipa-ref.c (ipa_record_reference): Likewise.
26120 * ipa-reference.c (analyze_function): Likewise.
26121 (ipa_reference_write_optimization_summary): Likewise.
26122 * ipa.c (symtab_remove_unreachable_nodes): Likewise.
26123 (address_taken_from_non_vtable_p): Likewise.
26124 (comdat_can_be_unshared_p_1): Likewise.
26125 * lto-cgraph.c (lto_output_ref): Likewise.
26126 (add_references): Likewise.
26127 (compute_ltrans_boundary): Likewise.
26128 (output_symtab): Likewise.
26129 (input_ref): Likewise.
26130 (input_cgraph_1): Likewise.
26131 (output_cgraph_opt_summary): Likewise.
26132 * lto-streamer-out.c (lto_output): Likewise.
26133 (output_symbol_p): Likewise.
26134 * lto-streamer.h (lsei_next_function_in_partition): Likewise.
26135 (lsei_start_function_in_partition): Likewise.
26136 (lsei_next_variable_in_partition): Likewise.
26137 (lsei_start_variable_in_partition): Likewise.
26138 * symtab.c (insert_to_assembler_name_hash): Likewise.
26139 (unlink_from_assembler_name_hash): Likewise.
26140 (symtab_unregister_node): Likewise.
26141 (symtab_remove_node): Likewise.
26142 (dump_symtab_node): Likewise.
26143 (verify_symtab_base): Likewise.
26144 (verify_symtab_node): Likewise.
26145 (symtab_make_decl_local): Likewise.
26146 (symtab_alias_ultimate_target): Likewise.
26147 (symtab_resolve_alias): Likewise.
26148 (symtab_get_symbol_partitioning_class): Likewise.
26149 * tree-phinodes.c (allocate_phi_node): Likewise.
26150 (reserve_phi_args_for_new_edge): Likewise.
26151 (remove_phi_args): Likewise.
26152 * varpool.c (varpool_node_for_asm): Likewise.
26153 (varpool_remove_unreferenced_decls): Likewise.
26155 2014-04-23 Jeff Law <law@redhat.com>
26157 PR tree-optimization/60902
26158 * tree-ssa-threadedge.c
26159 (record_temporary_equivalences_from_stmts_at_dest): Make sure to
26160 invalidate outputs from statements that do not produce useful
26161 outputs for threading.
26163 2014-04-23 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
26165 * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test)
26166 (stack_protect_set_<mode>, stack_protect_test_<mode>): Add
26167 machine descriptions for Stack Smashing Protector.
26169 2014-04-23 Richard Earnshaw <rearnsha@arm.com>
26171 * aarch64.md (<optab>_rol<mode>3): New pattern.
26172 (<optab>_rolsi3_uxtw): Likewise.
26173 * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT.
26175 2014-04-23 James Greenhalgh <james.greenhalgh@arm.com>
26177 * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields.
26178 (arm_cortex_a12_tune): Likewise.
26180 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26182 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP.
26184 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26186 * config/arm/arm.md (arm_rev16si2): New pattern.
26187 (arm_rev16si2_alt): Likewise.
26188 * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case.
26190 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26192 * config/aarch64/aarch64.md (rev16<mode>2): New pattern.
26193 (rev16<mode>2_alt): Likewise.
26194 * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case.
26195 * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New.
26196 (aarch_rev16_shleft_mask_imm_p): Likewise.
26197 (aarch_rev16_p_1): Likewise.
26198 (aarch_rev16_p): Likewise.
26199 * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern.
26200 (aarch_rev16_shright_mask_imm_p): Likewise.
26201 (aarch_rev16_shleft_mask_imm_p): Likewise.
26203 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26205 * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field.
26206 * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify
26208 (cortex_a53_extra_costs): Likewise.
26209 (cortex_a57_extra_costs): Likewise.
26210 * config/arm/arm.c (cortexa9_extra_costs): Likewise.
26211 (cortexa7_extra_costs): Likewise.
26212 (cortexa8_extra_costs): Likewise.
26213 (cortexa12_extra_costs): Likewise.
26214 (cortexa15_extra_costs): Likewise.
26215 (v7m_extra_costs): Likewise.
26216 (arm_new_rtx_costs): Handle BSWAP.
26218 2013-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26220 * config/arm/arm.c (cortexa8_extra_costs): New table.
26221 (arm_cortex_a8_tune): New tuning struct.
26222 * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct.
26224 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
26226 * config/arm/arm.c (arm_new_rtx_costs): Handle FMA.
26228 2014-04-23 Richard Biener <rguenther@suse.de>
26230 * Makefile.in (OBJS): Remove loop-unswitch.o.
26231 * tree-pass.h (make_pass_rtl_unswitch): Remove.
26232 * passes.def (pass_rtl_unswitch): Likewise.
26233 * loop-init.c (gate_rtl_unswitch): Likewise.
26234 (rtl_unswitch): Likewise.
26235 (pass_data_rtl_unswitch): Likewise.
26236 (pass_rtl_unswitch): Likewise.
26237 (make_pass_rtl_unswitch): Likewise.
26238 * rtl.h (reversed_condition): Likewise.
26239 (compare_and_jump_seq): Likewise.
26240 * loop-iv.c (reversed_condition): Move here from loop-unswitch.c
26242 * loop-unroll.c (compare_and_jump_seq): Likewise.
26244 2014-04-23 Richard Biener <rguenther@suse.de>
26246 PR tree-optimization/60903
26247 * tree-ssa-loop-im.c (analyze_memory_references): Remove
26248 commented code block.
26249 (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
26250 loop flags to newly created BBs and edges.
26252 2014-04-23 Nick Clifton <nickc@redhat.com>
26254 * config/msp430/msp430.c (msp430_handle_option): Move function
26256 (msp430_option_override): Simplify mcu and mcpu option handling.
26257 (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add
26258 support for -mhwmult command line option.
26259 (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for
26260 -mhwmult command line option.
26261 (msp430_hwmult_enabled): Delete.
26262 (msp43o_output_labelref): Add support for -mhwmult command line option.
26263 * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3)
26264 (umulsidi3): Likewise.
26265 * config/msp430/msp430.opt (mmcu): Add Report attribute.
26266 (mcpu, mlarge, msmall): Likewise.
26267 (mhwmult): New option.
26268 * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove
26270 (msp430_is_f5_mcu): Remove prototype.
26271 (msp430_use_f5_series_hwmult): Add prototype.
26272 * config/msp430/msp430-opts.h: New file.
26273 * common/config/msp430: New directory.
26274 * common/config/msp430/msp430-common.c: New file.
26275 * config.gcc (msp430): Remove target_has_targetm_common.
26276 * doc/invoke.texi: Document -mhwmult command line option.
26278 2014-04-23 Nick Clifton <nickc@redhat.com>
26280 * config/i386/cygwin.h (ENDFILE_SPEC): Include
26281 default-manifest.o if it can be found in the search path.
26282 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
26284 2014-04-23 Terry Guo <terry.guo@arm.com>
26286 * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way.
26288 2014-04-23 Richard Biener <rguenther@suse.de>
26290 PR middle-end/60895
26291 * tree-inline.c (declare_return_variable): Use mark_addressable.
26293 2014-04-23 Richard Biener <rguenther@suse.de>
26295 PR middle-end/60891
26296 * loop-init.c (loop_optimizer_init): Make sure to apply
26297 LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.
26299 2014-04-22 Jakub Jelinek <jakub@redhat.com>
26302 * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error):
26304 * gcc.c (sanitize_spec_function): Don't return "" for "undefined"
26305 if flag_sanitize_undefined_trap_on_error.
26306 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT,
26307 BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT,
26308 BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT,
26309 BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT,
26310 BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT,
26311 BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT,
26312 BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT,
26313 BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT,
26314 BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins.
26315 * ubsan.c (ubsan_instrument_unreachable): Return
26316 __builtin_trap () if flag_sanitize_undefined_trap_on_error.
26317 (ubsan_expand_null_ifn): Emit __builtin_trap ()
26318 if flag_sanitize_undefined_trap_on_error and
26319 __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover.
26320 (ubsan_expand_null_ifn, ubsan_build_overflow_builtin,
26321 instrument_bool_enum_load): Emit __builtin_trap () if
26322 flag_sanitize_undefined_trap_on_error and
26323 __builtin_handle_*_abort () if !flag_sanitize_recover.
26324 * doc/invoke.texi (-fsanitize-recover,
26325 -fsanitize-undefined-trap-on-error): Document.
26327 2014-04-22 Christian Bruel <christian.bruel@st.com>
26329 * config/sh/sh.md (mov<mode>): Replace movQIHI.
26330 Force immediates to SImode.
26332 2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
26334 * config/nios2/nios2.md (UNSPEC_ROUND): New.
26335 (lroundsfsi2): New.
26336 * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New.
26337 * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round.
26338 * config/nios2/nios2.c (N2F_NO_ERRNO): Define.
26339 (nios2_fpu_insn): Add entry for round.
26340 (N2FPU_NO_ERRNO_P): Define.
26341 (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and
26343 * doc/invoke.texi (Nios II Options): Document -mcustom-round.
26345 2014-04-22 Richard Henderson <rth@redhat.com>
26347 * config/aarch64/aarch64 (addti3, subti3): New expanders.
26348 (add<GPI>3_compare0): Remove leading * from name.
26349 (add<GPI>3_carryin): Likewise.
26350 (sub<GPI>3_compare0): Likewise.
26351 (sub<GPI>3_carryin): Likewise.
26352 (<su_optab>mulditi3): New expander.
26353 (multi3): New expander.
26354 (madd<GPI>): Remove leading * from name.
26356 2014-04-22 Martin Jambor <mjambor@suse.cz>
26358 * cgraphclones.c (cgraph_function_versioning): Copy
26359 ipa_transforms_to_apply instead of asserting it is empty.
26361 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
26364 * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode
26365 on count_exp to get mode.
26367 2014-04-22 Andrew Pinski <apinski@cavium.com>
26369 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
26370 Handle TLS for ILP32.
26371 * config/aarch64/aarch64.md (tlsie_small): Rename to ...
26372 (tlsie_small_<mode>): this and handle PTR.
26373 (tlsie_small_sidi): New pattern.
26374 (tlsle_small): Change to an expand to handle ILP32.
26375 (tlsle_small_<mode>): New pattern.
26376 (tlsdesc_small): Rename to ...
26377 (tlsdesc_small_<mode>): this and handle PTR.
26379 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
26381 * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
26383 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
26385 * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
26386 (aarch64_types_signed_unsigned_qualifiers): Qualifier added.
26387 (aarch64_types_signed_poly_qualifiers): Likewise.
26388 (aarch64_types_unsigned_signed_qualifiers): Likewise.
26389 (aarch64_types_poly_signed_qualifiers): Likewise.
26390 (TYPES_REINTERP_SS): Type macro added.
26391 (TYPES_REINTERP_SU): Likewise.
26392 (TYPES_REINTERP_SP): Likewise.
26393 (TYPES_REINTERP_US): Likewise.
26394 (TYPES_REINTERP_PS): Likewise.
26395 (aarch64_fold_builtin): New expression folding added.
26396 * config/aarch64/aarch64-simd-builtins.def (REINTERP):
26397 Declarations removed.
26398 (REINTERP_SS): Declarations added.
26399 (REINTERP_US): Likewise.
26400 (REINTERP_PS): Likewise.
26401 (REINTERP_SU): Likewise.
26402 (REINTERP_SP): Likewise.
26403 * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented.
26404 (vreinterpretq_p8_f64): Likewise.
26405 (vreinterpret_p16_f64): Likewise.
26406 (vreinterpretq_p16_f64): Likewise.
26407 (vreinterpret_f32_f64): Likewise.
26408 (vreinterpretq_f32_f64): Likewise.
26409 (vreinterpret_f64_f32): Likewise.
26410 (vreinterpret_f64_p8): Likewise.
26411 (vreinterpret_f64_p16): Likewise.
26412 (vreinterpret_f64_s8): Likewise.
26413 (vreinterpret_f64_s16): Likewise.
26414 (vreinterpret_f64_s32): Likewise.
26415 (vreinterpret_f64_s64): Likewise.
26416 (vreinterpret_f64_u8): Likewise.
26417 (vreinterpret_f64_u16): Likewise.
26418 (vreinterpret_f64_u32): Likewise.
26419 (vreinterpret_f64_u64): Likewise.
26420 (vreinterpretq_f64_f32): Likewise.
26421 (vreinterpretq_f64_p8): Likewise.
26422 (vreinterpretq_f64_p16): Likewise.
26423 (vreinterpretq_f64_s8): Likewise.
26424 (vreinterpretq_f64_s16): Likewise.
26425 (vreinterpretq_f64_s32): Likewise.
26426 (vreinterpretq_f64_s64): Likewise.
26427 (vreinterpretq_f64_u8): Likewise.
26428 (vreinterpretq_f64_u16): Likewise.
26429 (vreinterpretq_f64_u32): Likewise.
26430 (vreinterpretq_f64_u64): Likewise.
26431 (vreinterpret_s64_f64): Likewise.
26432 (vreinterpretq_s64_f64): Likewise.
26433 (vreinterpret_u64_f64): Likewise.
26434 (vreinterpretq_u64_f64): Likewise.
26435 (vreinterpret_s8_f64): Likewise.
26436 (vreinterpretq_s8_f64): Likewise.
26437 (vreinterpret_s16_f64): Likewise.
26438 (vreinterpretq_s16_f64): Likewise.
26439 (vreinterpret_s32_f64): Likewise.
26440 (vreinterpretq_s32_f64): Likewise.
26441 (vreinterpret_u8_f64): Likewise.
26442 (vreinterpretq_u8_f64): Likewise.
26443 (vreinterpret_u16_f64): Likewise.
26444 (vreinterpretq_u16_f64): Likewise.
26445 (vreinterpret_u32_f64): Likewise.
26446 (vreinterpretq_u32_f64): Likewise.
26448 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
26450 * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed.
26451 * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed.
26452 (vreinterpret_p8_s8): Likewise.
26453 * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast.
26454 (vreinterpret_p8_s16): Likewise.
26455 (vreinterpret_p8_s32): Likewise.
26456 (vreinterpret_p8_s64): Likewise.
26457 (vreinterpret_p8_f32): Likewise.
26458 (vreinterpret_p8_u8): Likewise.
26459 (vreinterpret_p8_u16): Likewise.
26460 (vreinterpret_p8_u32): Likewise.
26461 (vreinterpret_p8_u64): Likewise.
26462 (vreinterpret_p8_p16): Likewise.
26463 (vreinterpretq_p8_s8): Likewise.
26464 (vreinterpretq_p8_s16): Likewise.
26465 (vreinterpretq_p8_s32): Likewise.
26466 (vreinterpretq_p8_s64): Likewise.
26467 (vreinterpretq_p8_f32): Likewise.
26468 (vreinterpretq_p8_u8): Likewise.
26469 (vreinterpretq_p8_u16): Likewise.
26470 (vreinterpretq_p8_u32): Likewise.
26471 (vreinterpretq_p8_u64): Likewise.
26472 (vreinterpretq_p8_p16): Likewise.
26473 (vreinterpret_p16_s8): Likewise.
26474 (vreinterpret_p16_s16): Likewise.
26475 (vreinterpret_p16_s32): Likewise.
26476 (vreinterpret_p16_s64): Likewise.
26477 (vreinterpret_p16_f32): Likewise.
26478 (vreinterpret_p16_u8): Likewise.
26479 (vreinterpret_p16_u16): Likewise.
26480 (vreinterpret_p16_u32): Likewise.
26481 (vreinterpret_p16_u64): Likewise.
26482 (vreinterpret_p16_p8): Likewise.
26483 (vreinterpretq_p16_s8): Likewise.
26484 (vreinterpretq_p16_s16): Likewise.
26485 (vreinterpretq_p16_s32): Likewise.
26486 (vreinterpretq_p16_s64): Likewise.
26487 (vreinterpretq_p16_f32): Likewise.
26488 (vreinterpretq_p16_u8): Likewise.
26489 (vreinterpretq_p16_u16): Likewise.
26490 (vreinterpretq_p16_u32): Likewise.
26491 (vreinterpretq_p16_u64): Likewise.
26492 (vreinterpretq_p16_p8): Likewise.
26493 (vreinterpret_f32_s8): Likewise.
26494 (vreinterpret_f32_s16): Likewise.
26495 (vreinterpret_f32_s32): Likewise.
26496 (vreinterpret_f32_s64): Likewise.
26497 (vreinterpret_f32_u8): Likewise.
26498 (vreinterpret_f32_u16): Likewise.
26499 (vreinterpret_f32_u32): Likewise.
26500 (vreinterpret_f32_u64): Likewise.
26501 (vreinterpret_f32_p8): Likewise.
26502 (vreinterpret_f32_p16): Likewise.
26503 (vreinterpretq_f32_s8): Likewise.
26504 (vreinterpretq_f32_s16): Likewise.
26505 (vreinterpretq_f32_s32): Likewise.
26506 (vreinterpretq_f32_s64): Likewise.
26507 (vreinterpretq_f32_u8): Likewise.
26508 (vreinterpretq_f32_u16): Likewise.
26509 (vreinterpretq_f32_u32): Likewise.
26510 (vreinterpretq_f32_u64): Likewise.
26511 (vreinterpretq_f32_p8): Likewise.
26512 (vreinterpretq_f32_p16): Likewise.
26513 (vreinterpret_s64_s8): Likewise.
26514 (vreinterpret_s64_s16): Likewise.
26515 (vreinterpret_s64_s32): Likewise.
26516 (vreinterpret_s64_f32): Likewise.
26517 (vreinterpret_s64_u8): Likewise.
26518 (vreinterpret_s64_u16): Likewise.
26519 (vreinterpret_s64_u32): Likewise.
26520 (vreinterpret_s64_u64): Likewise.
26521 (vreinterpret_s64_p8): Likewise.
26522 (vreinterpret_s64_p16): Likewise.
26523 (vreinterpretq_s64_s8): Likewise.
26524 (vreinterpretq_s64_s16): Likewise.
26525 (vreinterpretq_s64_s32): Likewise.
26526 (vreinterpretq_s64_f32): Likewise.
26527 (vreinterpretq_s64_u8): Likewise.
26528 (vreinterpretq_s64_u16): Likewise.
26529 (vreinterpretq_s64_u32): Likewise.
26530 (vreinterpretq_s64_u64): Likewise.
26531 (vreinterpretq_s64_p8): Likewise.
26532 (vreinterpretq_s64_p16): Likewise.
26533 (vreinterpret_u64_s8): Likewise.
26534 (vreinterpret_u64_s16): Likewise.
26535 (vreinterpret_u64_s32): Likewise.
26536 (vreinterpret_u64_s64): Likewise.
26537 (vreinterpret_u64_f32): Likewise.
26538 (vreinterpret_u64_u8): Likewise.
26539 (vreinterpret_u64_u16): Likewise.
26540 (vreinterpret_u64_u32): Likewise.
26541 (vreinterpret_u64_p8): Likewise.
26542 (vreinterpret_u64_p16): Likewise.
26543 (vreinterpretq_u64_s8): Likewise.
26544 (vreinterpretq_u64_s16): Likewise.
26545 (vreinterpretq_u64_s32): Likewise.
26546 (vreinterpretq_u64_s64): Likewise.
26547 (vreinterpretq_u64_f32): Likewise.
26548 (vreinterpretq_u64_u8): Likewise.
26549 (vreinterpretq_u64_u16): Likewise.
26550 (vreinterpretq_u64_u32): Likewise.
26551 (vreinterpretq_u64_p8): Likewise.
26552 (vreinterpretq_u64_p16): Likewise.
26553 (vreinterpret_s8_s16): Likewise.
26554 (vreinterpret_s8_s32): Likewise.
26555 (vreinterpret_s8_s64): Likewise.
26556 (vreinterpret_s8_f32): Likewise.
26557 (vreinterpret_s8_u8): Likewise.
26558 (vreinterpret_s8_u16): Likewise.
26559 (vreinterpret_s8_u32): Likewise.
26560 (vreinterpret_s8_u64): Likewise.
26561 (vreinterpret_s8_p8): Likewise.
26562 (vreinterpret_s8_p16): Likewise.
26563 (vreinterpretq_s8_s16): Likewise.
26564 (vreinterpretq_s8_s32): Likewise.
26565 (vreinterpretq_s8_s64): Likewise.
26566 (vreinterpretq_s8_f32): Likewise.
26567 (vreinterpretq_s8_u8): Likewise.
26568 (vreinterpretq_s8_u16): Likewise.
26569 (vreinterpretq_s8_u32): Likewise.
26570 (vreinterpretq_s8_u64): Likewise.
26571 (vreinterpretq_s8_p8): Likewise.
26572 (vreinterpretq_s8_p16): Likewise.
26573 (vreinterpret_s16_s8): Likewise.
26574 (vreinterpret_s16_s32): Likewise.
26575 (vreinterpret_s16_s64): Likewise.
26576 (vreinterpret_s16_f32): Likewise.
26577 (vreinterpret_s16_u8): Likewise.
26578 (vreinterpret_s16_u16): Likewise.
26579 (vreinterpret_s16_u32): Likewise.
26580 (vreinterpret_s16_u64): Likewise.
26581 (vreinterpret_s16_p8): Likewise.
26582 (vreinterpret_s16_p16): Likewise.
26583 (vreinterpretq_s16_s8): Likewise.
26584 (vreinterpretq_s16_s32): Likewise.
26585 (vreinterpretq_s16_s64): Likewise.
26586 (vreinterpretq_s16_f32): Likewise.
26587 (vreinterpretq_s16_u8): Likewise.
26588 (vreinterpretq_s16_u16): Likewise.
26589 (vreinterpretq_s16_u32): Likewise.
26590 (vreinterpretq_s16_u64): Likewise.
26591 (vreinterpretq_s16_p8): Likewise.
26592 (vreinterpretq_s16_p16): Likewise.
26593 (vreinterpret_s32_s8): Likewise.
26594 (vreinterpret_s32_s16): Likewise.
26595 (vreinterpret_s32_s64): Likewise.
26596 (vreinterpret_s32_f32): Likewise.
26597 (vreinterpret_s32_u8): Likewise.
26598 (vreinterpret_s32_u16): Likewise.
26599 (vreinterpret_s32_u32): Likewise.
26600 (vreinterpret_s32_u64): Likewise.
26601 (vreinterpret_s32_p8): Likewise.
26602 (vreinterpret_s32_p16): Likewise.
26603 (vreinterpretq_s32_s8): Likewise.
26604 (vreinterpretq_s32_s16): Likewise.
26605 (vreinterpretq_s32_s64): Likewise.
26606 (vreinterpretq_s32_f32): Likewise.
26607 (vreinterpretq_s32_u8): Likewise.
26608 (vreinterpretq_s32_u16): Likewise.
26609 (vreinterpretq_s32_u32): Likewise.
26610 (vreinterpretq_s32_u64): Likewise.
26611 (vreinterpretq_s32_p8): Likewise.
26612 (vreinterpretq_s32_p16): Likewise.
26613 (vreinterpret_u8_s8): Likewise.
26614 (vreinterpret_u8_s16): Likewise.
26615 (vreinterpret_u8_s32): Likewise.
26616 (vreinterpret_u8_s64): Likewise.
26617 (vreinterpret_u8_f32): Likewise.
26618 (vreinterpret_u8_u16): Likewise.
26619 (vreinterpret_u8_u32): Likewise.
26620 (vreinterpret_u8_u64): Likewise.
26621 (vreinterpret_u8_p8): Likewise.
26622 (vreinterpret_u8_p16): Likewise.
26623 (vreinterpretq_u8_s8): Likewise.
26624 (vreinterpretq_u8_s16): Likewise.
26625 (vreinterpretq_u8_s32): Likewise.
26626 (vreinterpretq_u8_s64): Likewise.
26627 (vreinterpretq_u8_f32): Likewise.
26628 (vreinterpretq_u8_u16): Likewise.
26629 (vreinterpretq_u8_u32): Likewise.
26630 (vreinterpretq_u8_u64): Likewise.
26631 (vreinterpretq_u8_p8): Likewise.
26632 (vreinterpretq_u8_p16): Likewise.
26633 (vreinterpret_u16_s8): Likewise.
26634 (vreinterpret_u16_s16): Likewise.
26635 (vreinterpret_u16_s32): Likewise.
26636 (vreinterpret_u16_s64): Likewise.
26637 (vreinterpret_u16_f32): Likewise.
26638 (vreinterpret_u16_u8): Likewise.
26639 (vreinterpret_u16_u32): Likewise.
26640 (vreinterpret_u16_u64): Likewise.
26641 (vreinterpret_u16_p8): Likewise.
26642 (vreinterpret_u16_p16): Likewise.
26643 (vreinterpretq_u16_s8): Likewise.
26644 (vreinterpretq_u16_s16): Likewise.
26645 (vreinterpretq_u16_s32): Likewise.
26646 (vreinterpretq_u16_s64): Likewise.
26647 (vreinterpretq_u16_f32): Likewise.
26648 (vreinterpretq_u16_u8): Likewise.
26649 (vreinterpretq_u16_u32): Likewise.
26650 (vreinterpretq_u16_u64): Likewise.
26651 (vreinterpretq_u16_p8): Likewise.
26652 (vreinterpretq_u16_p16): Likewise.
26653 (vreinterpret_u32_s8): Likewise.
26654 (vreinterpret_u32_s16): Likewise.
26655 (vreinterpret_u32_s32): Likewise.
26656 (vreinterpret_u32_s64): Likewise.
26657 (vreinterpret_u32_f32): Likewise.
26658 (vreinterpret_u32_u8): Likewise.
26659 (vreinterpret_u32_u16): Likewise.
26660 (vreinterpret_u32_u64): Likewise.
26661 (vreinterpret_u32_p8): Likewise.
26662 (vreinterpret_u32_p16): Likewise.
26663 (vreinterpretq_u32_s8): Likewise.
26664 (vreinterpretq_u32_s16): Likewise.
26665 (vreinterpretq_u32_s32): Likewise.
26666 (vreinterpretq_u32_s64): Likewise.
26667 (vreinterpretq_u32_f32): Likewise.
26668 (vreinterpretq_u32_u8): Likewise.
26669 (vreinterpretq_u32_u16): Likewise.
26670 (vreinterpretq_u32_u64): Likewise.
26671 (vreinterpretq_u32_p8): Likewise.
26672 (vreinterpretq_u32_p16): Likewise.
26674 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
26676 * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>):
26678 * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended.
26680 * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic.
26681 (vqnegd_s64): Likewise.
26682 (vqabs_s64): Likewise.
26683 (vqabsd_s64): Likewise.
26685 2014-04-22 Richard Henderson <rth@redhat.com>
26687 * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE
26688 computation to the top of the loop.
26690 2014-04-22 Renlin <renlin.li@arm.com>
26691 Jiong Wang <jiong.wang@arm.com>
26693 * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset".
26694 * config/aarch64/aarch64.c (aarch64_layout_frame)
26695 (aarch64_initial_elimination_offset): Likewise.
26697 2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
26699 * config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
26702 2014-04-22 Richard Sandiford <rdsandiford@googlemail.com>
26704 * machmode.h (bitwise_mode_for_mode): Declare.
26705 * stor-layout.h (bitwise_type_for_mode): Likewise.
26706 * stor-layout.c (bitwise_mode_for_mode): New function.
26707 (bitwise_type_for_mode): Likewise.
26708 * builtins.c (fold_builtin_memory_op): Use it instead of
26709 int_mode_for_mode and build_nonstandard_integer_type.
26711 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
26713 * config.gcc (enable_obsolete): Remove *-*-solaris2.9*.
26714 (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported.
26715 (*-*-solaris2*): Simplify.
26716 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise.
26717 (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove
26718 *-*-solaris2.9* handling.
26720 * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86
26722 (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling.
26723 (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9
26724 handling, simplify.
26725 (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug.
26726 * configure: Regenerate.
26728 * config/i386/sol2-9.h: Remove.
26730 * doc/install.texi (Specific, i?86-*-solaris2.9): Remove.
26731 (Specific, *-*-solaris2*): Mention Solaris 9 support removal.
26732 Remove Solaris 9 references.
26734 2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
26736 * aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
26737 (floatuns<GPI:mode><GPF:mode>2): Remove.
26738 (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
26739 and floatuns conversions.
26740 (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
26741 and floatuns conversions.
26742 * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
26743 (w1,w2): New mode attributes for inequal width conversions.
26745 2014-04-22 Renlin Li <Renlin.Li@arm.com>
26747 * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust
26748 the output asm format.
26750 2014-04-22 James Greenhalgh <james.greenhalgh@arm.com>
26752 * config/aarch64/aarch64-simd.md
26753 (aarch64_cm<optab>di): Always split.
26754 (*aarch64_cm<optab>di): New.
26755 (aarch64_cmtstdi): Always split.
26756 (*aarch64_cmtstdi): New.
26758 2014-04-22 Jakub Jelinek <jakub@redhat.com>
26760 PR tree-optimization/60823
26761 * omp-low.c (ipa_simd_modify_function_body): Go through
26762 all SSA_NAMEs and for those refering to vector arguments
26763 which are going to be replaced adjust SSA_NAME_VAR and,
26764 if it is a default definition, change it into a non-default
26765 definition assigned at the beginning of function from new_decl.
26766 (ipa_simd_modify_stmt_ops): Rewritten.
26767 * tree-dfa.c (set_ssa_default_def): When removing default def,
26768 check for NULL loc instead of NULL *loc.
26770 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
26772 * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
26773 restrictions on core registers for DImode values in Thumb2.
26775 2014-04-22 Ian Bolton <ian.bolton@arm.com>
26777 * config/arm/arm.md (*anddi_notdi_zesidi): New pattern.
26778 * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern.
26780 2014-04-22 Ian Bolton <ian.bolton@arm.com>
26782 * config/arm/thumb2.md (*iordi_notdi_di): New pattern.
26783 (*iordi_notzesidi_di): Likewise.
26784 (*iordi_notsesidi_di): Likewise.
26786 2014-04-22 Ian Bolton <ian.bolton@arm.com>
26788 * config/arm/arm-protos.h (tune_params): New struct members.
26789 * config/arm/arm.c: Initialise tune_params per processor.
26790 (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing
26791 for speed, based on new tune_params.
26793 2014-04-22 Alex Velenko <Alex.Velenko@arm.com>
26795 * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added.
26796 * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro.
26797 * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected.
26798 * config/aarch64/aarch64.md (<frint_pattern>): Likewise.
26799 * config/aarch64/arm_neon.h (vrnd_f64): Added.
26800 (vrnda_f64): Likewise.
26801 (vrndi_f64): Likewise.
26802 (vrndm_f64): Likewise.
26803 (vrndn_f64): Likewise.
26804 (vrndp_f64): Likewise.
26805 (vrndx_f64): Likewise.
26807 2014-04-22 Zhenqiang Chen <zhenqiang.chen@linaro.org>
26809 * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure
26810 GET_MODE_SIZE argument is enum machine_mode.
26812 2014-04-22 Jakub Jelinek <jakub@redhat.com>
26815 * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode
26816 value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros.
26818 2014-04-22 Lin Zuojian <manjian2006@gmail.com>
26820 PR middle-end/60281
26821 * asan.c (asan_emit_stack_protection): Force the base to align to
26822 appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to
26823 appropriate bits if STRICT_ALIGNMENT.
26824 * cfgexpand.c (expand_stack_vars): Set base_align appropriately
26826 (expand_used_vars): Leave a space in the stack frame for alignment
26827 if STRICT_ALIGNMENT.
26829 2014-04-21 David Malcolm <dmalcolm@redhat.com>
26831 * gimple.h (gimple_assign_single_p): Accept a const_gimple rather
26833 (gimple_store_p): Likewise.
26834 (gimple_assign_load_p): Likewise.
26835 (gimple_assign_cast_p): Likewise.
26836 (gimple_clobber_p): Likewise.
26838 * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple
26839 rather than a gimple.
26840 (gimple_assign_cast_p): Likewise.
26842 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com>
26845 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case):
26846 If mode is DDmode and TARGET_E500_DOUBLE allow move.
26848 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some
26849 more debug information for E500 if -mdebug=reg.
26851 2014-04-21 Uros Bizjak <ubizjak@gmail.com>
26854 * config/i386/i386.c (ix86_expand_builtin)
26855 <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
26856 register for target RTX.
26857 <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto.
26859 2014-04-18 Cong Hou <congh@google.com>
26861 * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance
26862 the widen-mult pattern by handling two operands with different sizes,
26863 and operands whose size is smaller than half of the result type.
26865 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
26867 * ipa-inline.h (INLINE_HINT_known_hot): New hint.
26868 * ipa-inline-analysis.c (dump_inline_hints): Dump it.
26869 (do_estimate_edge_time): Compute it.
26870 * ipa-inline.c (want_inline_small_function_p): Bypass
26871 INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot.
26873 2014-04-18 Jan Hubicka <hubicka@ucw.cz>
26875 * ipa-inline.c (spec_rem): New static variable.
26876 (dump_overall_stats): New function.
26877 (dump_inline_stats): New function.
26879 2014-04-18 Richard Henderson <rth@redhat.com>
26881 * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode
26882 to GET_MODE_SIZE, not a reg_class_t.
26884 2014-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
26886 * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian.
26887 (vsx_xxmrglw_<mode>): Likewise.
26889 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com>
26892 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure
26893 GET_MODE_SIZE gets passed an enum machine_mode type and not integer.
26894 (rs6000_init_hard_regno_mode_ok): Likewise.
26896 2014-04-17 Jan Hubicka <hubicka@ucw.cz>
26898 * ipa-inline.c (inline_small_functions): Account only non-cold
26900 * doc/invoke.texi (inline-unit-growth): Update documentation.
26902 2014-04-17 Pat Haugen <pthaugen@us.ibm.com>
26904 * config/rs6000/rs6000.md (addti3, subti3): New.
26906 2014-04-17 H.J. Lu <hongjiu.lu@intel.com>
26909 * config/i386/i386.c (ix86_expand_clear): Remove outdated
26910 comment. Check optimize_insn_for_size_p instead of
26911 optimize_insn_for_speed_p.
26913 2014-04-17 Martin Jambor <mjambor@suse.cz>
26915 * gimple-iterator.c (gsi_start_edge): New function.
26916 * gimple-iterator.h (gsi_start_edge): Declare.
26917 * tree-sra.c (single_non_eh_succ): New function.
26918 (disqualify_ops_if_throwing_stmt): Renamed to
26919 disqualify_if_bad_bb_terminating_stmt. Allow throwing statements
26920 having one non-EH successor BB.
26921 (sra_modify_expr): If stmt ends bb, use single non-EH successor to
26922 generate loads into replacements.
26923 (sra_modify_assign): Likewise and and also use the simple path for
26925 (sra_modify_function_body): Commit statements on edges.
26927 2014-04-17 Richard Biener <rguenther@suse.de>
26929 PR middle-end/60849
26930 * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector
26931 comparison results and add clarifying comment.
26933 2014-04-17 Jakub Jelinek <jakub@redhat.com>
26935 * genmodes.c (struct mode_data): Add need_bytesize_adj field.
26936 (blank_mode): Initialize it.
26937 (emit_mode_size_inline, emit_mode_nunits_inline,
26938 emit_mode_inner_inline): New functions.
26939 (emit_insn_modes_h): Call them and surround their output with
26940 #if GCC_VERSION >= 4001 ... #endif.
26941 * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
26942 For GCC_VERSION >= 4001 use mode_*_inline routines instead of
26943 mode_* arrays if the argument is __builtin_constant_p.
26944 * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
26945 is enum machine_mode.
26947 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
26949 * passes.c (opt_pass::execute): Adjust.
26950 (pass_manager::execute_pass_mode_switching): Likewise.
26951 (early_local_passes::execute): Likewise.
26952 (execute_one_pass): Pass cfun to the pass's execute method.
26953 * tree-pass.h (opt_pass::execute): Add function * argument.
26954 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
26955 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
26956 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
26957 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
26958 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
26959 config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c,
26960 except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c,
26961 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
26962 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
26963 ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c,
26964 ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c,
26965 lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c,
26966 postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c,
26967 reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c,
26968 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
26969 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
26970 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
26971 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c,
26972 tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
26973 tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
26974 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
26975 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
26976 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
26977 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
26978 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
26979 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
26980 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
26981 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
26982 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
26985 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
26987 * passes.c (opt_pass::gate): Take function * argument.
26988 (gate_all_early_local_passes): Merge into
26989 (early_local_passes::gate): this.
26990 (gate_all_early_optimizations): Merge into
26991 (all_early_optimizations::gate): this.
26992 (gate_all_optimizations): Mege into
26993 (all_optimizations::gate): this.
26994 (gate_all_optimizations_g): Merge into
26995 (all_optimizations_g::gate): this.
26996 (gate_rest_of_compilation): Mege into
26997 (rest_of_compilation::gate): this.
26998 (gate_postreload): Merge into
26999 (postreload::gate): this.
27000 (dump_one_pass): Pass cfun to the pass's gate method.
27001 (execute_ipa_summary_passes): Likewise.
27002 (execute_one_pass): Likewise.
27003 (ipa_write_summaries_2): Likewise.
27004 (ipa_write_optimization_summaries_1): Likewise.
27005 (ipa_read_summaries_1): Likewise.
27006 (ipa_read_optimization_summaries_1): Likewise.
27007 (execute_ipa_stmt_fixups): Likewise.
27008 * tree-pass.h (opt_pass::gate): Add function * argument.
27009 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c,
27010 combine-stack-adj.c, combine.c, compare-elim.c,
27011 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
27012 config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc,
27013 config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c,
27014 dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c,
27015 gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c,
27016 graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c,
27017 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
27018 loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c,
27019 omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c,
27020 reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c,
27021 store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c,
27022 tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c,
27023 tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c,
27024 tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
27025 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
27026 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
27027 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
27028 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
27029 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
27030 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
27031 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
27032 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
27033 tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
27034 tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c,
27035 var-tracking.c, vtable-verify.c, web.c: Adjust.
27037 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
27039 * configure.ac: Check for -Woverloaded-virtual and enable it if found.
27040 * configure: Regenerate.
27042 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
27044 * passes.c (dump_one_pass): don't check pass->has_gate.
27045 (execute_ipa_summary_passes): Likewise.
27046 (execute_one_pass): Likewise.
27047 (ipa_write_summaries_2): Likewise.
27048 (ipa_write_optimization_summaries_1): Likewise.
27049 (ipa_read_optimization_summaries_1): Likewise.
27050 (execute_ipa_stmt_fixups): Likewise.
27051 * tree-pass.h (pass_data::has_gate): Remove.
27052 * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c,
27053 cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c,
27054 compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c,
27055 config/epiphany/resolve-sw-modes.c, config/i386/i386.c,
27056 config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c,
27057 config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc,
27058 config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c,
27059 dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c,
27060 gimple-low.c, gimple-ssa-isolate-paths.c,
27061 gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c,
27062 ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
27063 ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c,
27064 ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c,
27065 modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c,
27066 recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c,
27067 reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c,
27068 trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c,
27069 tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c,
27070 tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c,
27071 tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c,
27072 tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
27073 tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
27074 tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
27075 tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c,
27076 tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c,
27077 tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
27078 tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
27079 tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c,
27080 tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c,
27081 tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c,
27082 tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c:
27085 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
27087 * pass_manager.h (pass_manager::register_dump_files_1): Remove
27089 * passes.c (pass_manager::register_dump_files_1): Merge into
27090 (pass_manager::register_dump_files): this, and remove its handling of
27091 properties since the pass always has the properties anyway.
27092 (pass_manager::pass_manager): Adjust.
27094 2014-04-17 Trevor Saunders <tsaunders@mozilla.com>
27096 * pass_manager.h (pass_manager::register_dump_files_1): Adjust.
27097 * passes.c (pass_manager::register_dump_files_1): Remove dead code
27098 dealing with properties.
27099 (pass_manager::register_dump_files): Adjust.
27101 2014-03-20 Mark Wielaard <mjw@redhat.com>
27103 * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough,
27104 then represent the bound as normal constant value.
27106 2014-04-17 Jakub Jelinek <jakub@redhat.com>
27109 Forward port from 4.8 branch
27110 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com>
27112 * config/i386/bmiintrin.h (_blsi_u32): New.
27113 (_blsi_u64): Ditto.
27114 (_blsr_u32): Ditto.
27115 (_blsr_u64): Ditto.
27116 (_blsmsk_u32): Ditto.
27117 (_blsmsk_u64): Ditto.
27118 (_tzcnt_u32): Ditto.
27119 (_tzcnt_u64): Ditto.
27121 2014-04-17 Kito Cheng <kito@0xlab.org>
27123 * gcc.c (used_arg): Prevent out of bound access for multilib_options.
27125 2014-04-17 Richard Biener <rguenther@suse.de>
27127 PR middle-end/60849
27128 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective
27129 boolean results for comparisons.
27131 2014-04-17 Richard Biener <rguenther@suse.de>
27133 PR tree-optimization/60836
27134 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force
27135 initial PHI args to be gimple values.
27137 2014-04-17 Richard Biener <rguenther@suse.de>
27139 PR tree-optimization/60841
27140 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
27141 * tree-vect-loop.c (vect_analyze_loop_2): Pass down number
27142 of stmts to SLP build.
27143 * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
27144 (vect_analyze_slp): Likewise.
27145 (vect_analyze_slp_instance): Likewise.
27146 (vect_build_slp_tree): Limit overall SLP tree growth.
27147 * tree-vectorizer.h (vect_analyze_data_refs,
27148 vect_analyze_slp): Adjust prototypes.
27150 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
27152 * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
27155 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
27157 * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
27158 * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
27159 * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
27160 for TARGET_SLOW_PSHUFB
27162 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com>
27164 * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
27165 * config/i386/i386.c (intel_cost): Ditto.
27167 2014-04-17 Joey Ye <joey.ye@arm.com>
27169 * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.
27171 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
27173 * opts.c (common_handle_option): Disable -fipa-reference coorectly
27174 with -fuse-profile.
27176 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
27178 * ipa-devirt.c (odr_type_d): Add field all_derivations_known.
27179 (type_all_derivations_known_p): New predicate.
27180 (type_all_ctors_visible_p): New predicate.
27181 (type_possibly_instantiated_p): New predicate.
27182 (get_odr_type): Compute all_derivations_known.
27183 (dump_odr_type): Dump the flag.
27184 (maybe_record_type): Cleanup.
27185 (record_target_from_binfo): Add bases_to_consider array;
27186 record bases for types w/o instances and skip CXX destructor.
27187 (possible_polymorphic_call_targets_1): Add bases_to_consider
27188 and consider_construction parameters; check if type may have instance.
27189 (get_polymorphic_call_info): Set maybe_in_construction to true
27190 when we know nothing.
27191 (record_targets_from_bases): Skip CXX destructors; they are
27192 never called for types in construction.
27193 (possible_polymorphic_call_targets): Do not record target when
27194 type may not have instance.
27196 2014-04-16 Jan Hubicka <hubicka@ucw.cz>
27199 * ipa.c (symtab_remove_unreachable_nodes): Mark targets of
27200 external aliases alive, too.
27202 2014-04-16 Andrew Pinski <apinski@cavium.com>
27204 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
27207 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
27209 * final.c (compute_alignments): Do not apply loop alignment to a block
27210 falling through to the exit.
27212 2014-04-16 Catherine Moore <clm@codesourcery.com>
27214 * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
27215 Adjust constraints for microMIPS store patterns.
27217 2014-04-16 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
27219 * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.
27221 2014-04-16 Eric Botcazou <ebotcazou@adacore.com>
27223 * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.
27224 (append_use): Run at -O0.
27225 (append_vdef): Likewise.
27226 * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0.
27227 * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment.
27229 2014-04-16 Jakub Jelinek <jakub@redhat.com>
27231 PR tree-optimization/60844
27232 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function.
27233 (propagate_op_to_single_use, remove_visited_stmt_chain,
27234 linearize_expr, repropagate_negates, reassociate_bb): Use it
27235 instead of gsi_remove.
27237 2014-04-16 Martin Jambor <mjambor@suse.cz>
27239 * cgraphclones.c (cgraph_create_virtual_clone): Duplicate
27240 ipa_transforms_to_apply.
27241 (cgraph_function_versioning): Assert that old_node has empty
27242 ipa_transforms_to_apply.
27243 * trans-mem.c (ipa_tm_create_version): Likewise.
27244 * tree-inline.c (tree_function_versioning): Do not duplicate
27245 ipa_transforms_to_apply.
27247 2014-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27250 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and
27252 Pass necessary as flags on 64-bit Solaris/x86.
27253 Use lowercase relocs for x86_64-*-*.
27254 * configure: Regenerate.
27256 2014-04-15 Jan Hubicka <jh@suse.cz>
27258 * ipa-devirt.c (referenced_from_vtable_p): New predicate.
27259 (maybe_record_node, likely_target_p): Use it.
27261 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27264 Revert following patch
27266 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
27269 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
27270 software floating point or no floating point registers, do not
27271 allow any type in the FPRs. Eliminate a test for SPE SIMD types
27272 in GPRs that occurs after we tested for GPRs that would never be
27275 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
27276 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
27277 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
27278 specifically allow DDmode, since that does not use the SPE SIMD
27281 2014-03-21 Mark Wielaard <mjw@redhat.com>
27283 * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value
27284 as unsigned or int depending on type and value used.
27286 2014-04-15 Richard Biener <rguenther@suse.de>
27288 PR rtl-optimization/56965
27289 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ...
27290 * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p):
27292 * alias.c (true_dependence_1): Do not call
27293 nonoverlapping_component_refs_p.
27294 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call
27295 nonoverlapping_component_refs_p.
27296 (indirect_refs_may_alias_p): Likewise.
27298 2014-04-15 Teresa Johnson <tejohnson@google.com>
27300 * cfg.c (dump_bb_info): Fix flags check.
27301 * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing.
27303 2014-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
27305 PR rtl-optimization/60663
27306 * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case,
27309 2014-04-15 Richard Biener <rguenther@suse.de>
27311 * lto-streamer.h (LTO_major_version): Bump to 4.
27313 2014-04-15 Richard Biener <rguenther@suse.de>
27315 * common.opt (lto_partition_model): New enum.
27316 (flto-partition=): Merge separate options with a single with argument,
27317 add -flto-partition=one support.
27318 * flag-types.h (enum lto_partition_model): Declare.
27319 * opts.c (finish_options): Remove duplicate -flto-partition=
27321 * lto-wrapper.c (run_gcc): Adjust.
27323 2014-04-15 Richard Biener <rguenther@suse.de>
27325 * alias.c (ncr_compar): New function.
27326 (nonoverlapping_component_refs_p): Re-implement in O (n log n).
27328 2014-04-15 Richard Biener <rguenther@suse.de>
27330 * alias.c (record_component_aliases): Do not walk BINFOs.
27332 2014-04-15 Richard Biener <rguenther@suse.de>
27334 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
27335 Add struct function argument and adjust.
27336 (find_func_aliases_for_call): Likewise.
27337 (find_func_aliases): Likewise.
27338 (find_func_clobbers): Likewise.
27339 (intra_create_variable_infos): Likewise.
27340 (compute_points_to_sets): Likewise.
27341 (ipa_pta_execute): Adjust. Do not push/pop cfun.
27343 2014-04-15 Richard Biener <rguenther@suse.de>
27345 * tree.c (iterative_hash_expr): Use enum tree_code_class
27346 to store TREE_CODE_CLASS.
27347 (tree_block): Likewise.
27348 (tree_set_block): Likewise.
27349 * tree.h (fold_build_pointer_plus_loc): Use
27350 convert_to_ptrofftype_loc.
27352 2014-04-15 Jakub Jelinek <jakub@redhat.com>
27355 * Makefile.in (PLUGIN_HEADERS): Add various headers that have been
27358 2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
27360 * cfgloop.h (struct loop): Move force_vectorize down.
27361 * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds.
27362 (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak.
27363 * lto-streamer-in.c (input_cfg): Read dont_vectorize field.
27364 * lto-streamer-out.c (output_cfg): Write dont_vectorize field.
27365 * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds.
27366 * tree-core.h (enum annot_expr_kind): Add new kind values.
27367 * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder.
27368 * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new
27370 * tree.def (ANNOTATE_EXPR): Tweak comment.
27372 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
27374 * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including
27377 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
27379 * tree.h (TYPE_IDENTIFIER): Declare.
27380 * tree.c (subrange_type_for_debug_p): Use it.
27381 * godump.c (go_format_type): Likewise.
27382 * dwarf2out.c (is_cxx_auto, modified_type_die,
27383 gen_type_die_with_usage, gen_type_die_with_usage): Likewise.
27384 * dbxout.c (dbxout_type, dbxout_symbol): Likewise.
27386 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
27389 * varpool.c (varpool_remove_node): Do not alter decls when streaming.
27391 2014-04-14 Uros Bizjak <ubizjak@gmail.com>
27393 * config/i386/i386.c (examine_argument): Return bool. Return true if
27394 parameter should be passed in memory.
27395 <case X86_64_COMPLEX_X87_CLASS>: Adjust.
27396 (construct_container): Update calls to examine_argument.
27397 (function_arg_advance_64): Ditto.
27398 (return_in_memory_32): Merge with ix86_return_in_memory.
27399 (return_in_memory_64): Ditto.
27400 (return_in_memory_ms_64): Ditto.
27402 2014-04-14 Jan Hubicka <hubicka@ucw.cz>
27404 * ipa-utils.c (ipa_merge_profiles): Merge profile_id.
27405 * coverage.c (coverage_compute_profile_id): Handle externally visible
27408 2014-04-14 Martin Jambor <mjambor@suse.cz>
27410 * tree-sra.c (ipa_sra_preliminary_function_checks): Skip
27411 DECL_DISREGARD_INLINE_LIMITS functions.
27413 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
27416 * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change.
27418 2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
27421 * config/i386/i386.md (*fixuns_trunc<mode>_1): Check
27422 optimize_insn_for_speed_p instead of
27423 optimize_function_for_speed_p.
27425 2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com>
27427 * doc/invoke.texi (free): Document AArch64.
27429 2014-04-14 Richard Biener <rguenther@suse.de>
27431 PR tree-optimization/60042
27432 * tree-ssa-pre.c (inhibit_phi_insertion): Remove.
27433 (insert_into_preds_of_block): Do not prevent PHI insertion
27434 for REFERENCE exprs here ...
27435 (eliminate_dom_walker::before_dom_children): ... but prevent
27436 their use here under similar conditions when applied to the
27437 IL after PRE optimizations.
27439 2014-04-14 Richard Biener <rguenther@suse.de>
27441 * passes.def: Move early points-to after early SRA.
27443 2014-04-14 Richard Biener <rguenther@suse.de>
27445 * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance
27446 check for which sign-changes we allow when forwarding
27447 a converted value into a switch.
27449 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
27451 * stor-layout.c (place_field): Finalize non-constant offset for the
27454 2014-04-14 Richard Biener <rguenther@suse.de>
27456 * tree-switch-conversion.c (lshift_cheap_p): Get speed_p
27458 (expand_switch_using_bit_tests_p): Likewise.
27459 (process_switch): Compute and pass on speed_p based on the
27461 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
27462 optimize_bb_for_speed_p.
27464 2014-04-14 Eric Botcazou <ebotcazou@adacore.com>
27466 * cfgloop.h (struct loop): Rename force_vect into force_vectorize.
27467 * function.h (struct function): Rename has_force_vect_loops into
27468 has_force_vectorize_loops.
27469 * lto-streamer-in.c (input_cfg): Adjust for renaming.
27470 (input_struct_function_base): Likewise.
27471 * lto-streamer-out.c (output_cfg): Likewise.
27472 (output_struct_function_base): Likewise.
27473 * omp-low.c (expand_omp_simd): Likewise.
27474 * tree-cfg.c (move_sese_region_to_fn): Likewise.
27475 * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise.
27476 (version_loop_for_if_conversion): Likewise.
27477 (tree_if_conversion): Likewise.
27478 (main_tree_if_conversion): Likewise.
27479 (gate_tree_if_conversion): Likewise.
27480 * tree-inline.c (copy_loops): Likewise.
27481 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise.
27482 * tree-ssa-loop.c (tree_loop_vectorize): Likewise.
27483 * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise.
27484 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise.
27485 * tree-vectorizer.c (vectorize_loops): Likewise.
27486 * tree-vectorizer.h (unlimited_cost_model): Likewise.
27488 2014-04-14 Richard Biener <rguenther@suse.de>
27491 * lto-streamer-out.c (wrap_refs): New function.
27492 (lto_output): Wrap symbol references in global initializes in
27493 type-preserving MEM_REFs.
27495 2014-04-14 Christian Bruel <christian.bruel@st.com>
27497 * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word.
27499 2014-04-14 Christian Bruel <christian.bruel@st.com>
27501 * config/sh/sh.md (setmemqi): New expand pattern.
27502 * config/sh/sh.h (CLEAR_RATIO): Define.
27503 * config/sh/sh-mem.cc (sh_expand_setmem): Define.
27504 * config/sh/sh-protos.h (sh_expand_setmem): Declare.
27506 2014-04-14 Richard Biener <rguenther@suse.de>
27508 PR middle-end/55022
27509 * fold-const.c (negate_expr_p): Don't negate directional rounding
27511 (fold_negate_expr): Likewise.
27513 2014-04-14 Richard Biener <rguenther@suse.de>
27515 PR tree-optimization/59817
27516 PR tree-optimization/60453
27517 * graphite-scop-detection.c (graphite_can_represent_scev): Complete
27518 recursion to catch all CHRECs in the scalar evolution and restrict
27519 the predicate for the remains appropriately.
27521 2014-04-12 Catherine Moore <clm@codesourcery.com>
27523 * config/mips/constraints.md: Add new register constraint "kb".
27524 * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb".
27525 (*movhi_internal): Likewise.
27526 (*movqi_internal): Likewise.
27527 * config/mips/mips.h (M16_STORE_REGS): New register class.
27528 (REG_CLASS_NAMES): Add M16_STORE_REGS.
27529 (REG_CLASS_CONTENTS): Likewise.
27530 * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS.
27532 2014-04-11 Tobias Burnus <burnus@net-b.de>
27535 * doc/invoke.texi (-Wformat-signedness): Document it.
27536 (Wformat=2): Mention that this enables -Wformat-signedness.
27538 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
27540 * common/config/epiphany/epiphany-common.c
27541 (epiphany_option_optimization_table): Enable section anchors by
27542 default at -O1 or higher.
27543 * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
27544 (TARGET_MIN_ANCHOR_OFFSET): Likewise.
27545 (epiphany_rtx_costs) <SET>: For binary operators, the set as such
27546 carries no extra cost.
27547 (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
27548 * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
27549 * config/epiphany/predicates.md (memclob_operand): New predicate.
27550 * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
27551 Use memclob_operand predicate and X constraint for operand 3.
27553 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
27555 * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
27556 with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
27559 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com>
27561 PR rtl-optimization/60651
27562 * mode-switching.c (optimize_mode_switching): Make sure to emit
27563 sets of a lower numbered entity before sets of a higher numbered
27564 entity to a mode of the same or lower priority.
27565 When creating a seginfo for a basic block that starts with a code
27566 label, move the insertion point past the code label.
27567 (new_seginfo): Document and enforce requirement that
27568 NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
27569 * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
27570 * doc/tm.texi: Regenerate.
27572 2014-01-11 Joern Rennecke <joern.rennecke@embecosm.com>
27575 * config/arc/arc.c (arc_save_restore): Fix assert typo.
27577 2013-04-11 Jakub Jelinek <jakub@redhat.com>
27579 * BASE-VER: Set to 4.10.0.
27581 2014-04-11 Tobias Burnus <burnus@net-b.de>
27584 * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana.
27585 * doc/gcc.texi (Service): Update description in the @menu
27586 * doc/invoke.texi (Option Summary): Remove misplaced and
27589 2014-04-11 Steve Ellcey <sellcey@mips.com>
27590 Jakub Jelinek <jakub@redhat.com>
27592 PR middle-end/60556
27593 * expr.c (convert_move): Use emit_store_flag_force instead of
27594 emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th
27597 2014-04-11 Richard Biener <rguenther@suse.de>
27599 PR middle-end/60797
27600 * varasm.c (assemble_alias): Avoid endless error reporting
27601 recursion by setting TREE_ASM_WRITTEN.
27603 2014-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27605 * config/s390/s390.md: Add a splitter for NOT rtx.
27607 2014-04-11 Jakub Jelinek <jakub@redhat.com>
27609 PR rtl-optimization/60663
27610 * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL.
27612 2014-04-10 Jan Hubicka <hubicka@ucw.cz>
27613 Jakub Jelinek <jakub@redhat.com>
27616 * ipa.c (function_and_variable_visibility): Copy forced_by_abi
27617 flag from decl_node to node.
27619 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
27622 * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define
27623 (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's
27624 ameliorating the cases where it can be.
27626 2014-04-09 David Edelsohn <dje.gcc@gmail.com>
27629 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
27631 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
27632 (loadsync_<mode>): Change mode.
27633 (load_quadpti, store_quadpti): New.
27634 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
27635 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
27636 * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI.
27638 2014-04-09 Cong Hou <congh@google.com>
27641 * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add
27644 2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27646 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand
27647 instead of vnor to exploit possible fusion opportunity in the
27649 (altivec_expand_vec_perm_const_le): Likewise.
27651 2014-04-08 Pat Haugen <pthaugen@us.ibm.com>
27653 * config/rs6000/sync.md (AINT mode_iterator): Move definition.
27654 (loadsync_<mode>): Change mode.
27655 (load_quadpti, store_quadpti): New.
27656 (atomic_load<mode>, atomic_store<mode>): Add support for TI mode.
27657 * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ.
27659 2014-04-08 Richard Sandiford <rdsandiford@googlemail.com>
27662 * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode.
27663 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly.
27664 Use gen_rtx_REG rather than simplify_gen_subreg for op0_di.
27666 2014-04-08 Richard Biener <rguenther@suse.de>
27668 PR middle-end/60706
27669 * tree-pretty-print.c (pp_double_int): For HWI32 hosts with
27670 a 64bit widest int print double-int similar to on HWI64 hosts.
27672 2014-04-08 Richard Biener <rguenther@suse.de>
27674 PR tree-optimization/60785
27675 * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat
27676 default defs properly.
27678 2014-04-08 Nathan Sidwell <nathan@codesourcery.com>
27680 * doc/invoke (Wnon-virtual-dtor): Update to match implementation.
27681 (Weffc++): Likewise.
27683 2014-04-07 Jan Hubicka <hubcika@ucw.cz>
27685 * ipa-devirt.c (maybe_record_node): When node is not recorded,
27686 set completep to false rather than true.
27688 2014-04-07 Douglas B Rupp <rupp@adacore.com>
27691 * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from
27692 ARM_TARGET2_DWARF_FORMAT.
27694 2014-04-07 Charles Baylis <charles.baylis@linaro.org>
27697 * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove.
27698 (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after
27701 2014-04-07 Richard Biener <rguenther@suse.de>
27703 PR tree-optimization/60766
27704 * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type.
27705 (may_eliminate_iv): Convert cand_value_at result to desired type.
27707 2014-04-07 Jason Merrill <jason@redhat.com>
27710 * common.opt (-fno-gnu-unique): Add.
27711 * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.
27713 2014-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
27715 * haifa-sched.c: Fix outdated function reference and minor
27716 grammar errors in introductory comment.
27718 2014-04-07 Richard Biener <rguenther@suse.de>
27720 PR middle-end/60750
27721 * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
27722 for noreturn calls.
27723 * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
27725 2014-04-06 John David Anglin <danglin@gcc.gnu.org>
27728 * config/pa/pa.c (pa_output_function_epilogue): Skip address and code
27729 size accounting for thunks.
27730 (pa_asm_output_mi_thunk): Use final_start_function() and
27731 final_end_function() to output function start and end directives.
27733 2014-04-05 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
27735 * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have
27736 device specific ISA/ feature information. Remove short_sp and
27737 errata_skip ds. Add avr_device_specific_features enum to have device
27739 * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
27740 errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
27741 * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
27742 updated device specific info.
27743 * config/avr/avr-mcus.def: Merge device specific details to
27744 dev_attribute field.
27745 * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
27747 * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
27748 * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
27749 assembler if RMW isa supported by current device.
27750 * config/avr/genmultilib.awk: Update as device info structure changed.
27751 * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro
27753 2014-04-04 Cong Hou <congh@google.com>
27755 PR tree-optimization/60656
27756 * tree-vect-stmts.c (supportable_widening_operation):
27757 Fix a bug that elements in a vector with vect_used_by_reduction
27758 property are incorrectly reordered when the operation on it is not
27759 consistant with the one in reduction operation.
27761 2014-04-04 John David Anglin <danglin@gcc.gnu.org>
27763 PR rtl-optimization/60155
27764 * gcse.c (record_set_data): New function.
27765 (single_set_gcse): New function.
27766 (gcse_emit_move_after): Use single_set_gcse instead of single_set.
27767 (hoist_code): Likewise.
27768 (get_pressure_class_and_nregs): Likewise.
27770 2014-04-04 Eric Botcazou <ebotcazou@adacore.com>
27772 * explow.c (probe_stack_range): Emit a final optimization blockage.
27774 2014-04-04 Anthony Green <green@moxielogic.com>
27776 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix
27779 2014-04-04 Jan Hubicka <hubicka@ucw.cz>
27782 * lto-cgraph.c (input_overwrite_node): Check that partitioning
27783 flags are set only during streaming.
27784 * ipa.c (process_references, walk_polymorphic_call_targets,
27785 symtab_remove_unreachable_nodes): Drop bodies of always inline
27786 after early inlining.
27787 (symtab_remove_unreachable_nodes): Remove always_inline attribute.
27789 2014-04-04 Jakub Jelinek <jakub@redhat.com>
27790 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
27793 * dwarf2out.c (const_ok_for_output_1): Reject expressions
27796 2014-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
27799 * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
27801 (cortex_a53_fdivd): Likewise.
27803 2014-04-04 Martin Jambor <mjambor@suse.cz>
27806 * cgraph.h (cgraph_clone_node): New parameter added to declaration.
27807 Adjust all callers.
27808 * cgraph.c (clone_of_p): Also return true if thunks match.
27809 (verify_edge_corresponds_to_fndecl): Removed extraneous call to
27810 cgraph_function_or_thunk_node and an obsolete comment.
27811 * cgraphclones.c (build_function_type_skip_args): Moved upwards in the
27813 (build_function_decl_skip_args): Likewise.
27814 (set_new_clone_decl_and_node_flags): New function.
27815 (duplicate_thunk_for_node): Likewise.
27816 (redirect_edge_duplicating_thunks): Likewise.
27817 (cgraph_clone_node): New parameter args_to_skip, pass it to
27818 redirect_edge_duplicating_thunks which is called instead of
27819 cgraph_redirect_edge_callee.
27820 (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node,
27821 moved setting of a lot of flags to set_new_clone_decl_and_node_flags.
27823 2014-04-04 Jeff Law <law@redhat.com>
27826 * config/arm/predicates.md (const_int_I_operand): New predicate.
27827 (const_int_M_operand): Similarly.
27828 * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of
27830 (insv_t2, extv_reg, extzv_t2): Likewise.
27831 (load_multiple_with_writeback): Similarly for const_int_I_operand.
27832 (pop_multiple_with_writeback_and_return): Likewise.
27833 (vfp_pop_multiple_with_writeback): Likewise
27835 2014-04-04 Richard Biener <rguenther@suse.de>
27838 * tree-ssanames.c (make_ssa_name_fn): Fix assert.
27839 * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for
27841 * gimplify.h (gimple_add_tmp_var_fn): Declare.
27842 * gimplify.c (gimple_add_tmp_var_fn): New function.
27843 * gimple-expr.h (create_tmp_reg_fn): Declare.
27844 * gimple-expr.c (create_tmp_reg_fn): New function.
27845 * gimple-low.c (record_vars_into): Don't change cfun.
27846 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix
27847 code generation without cfun.
27849 2014-04-04 Thomas Schwinge <thomas@codesourcery.com>
27852 * Makefile.in (install-driver): Fix shell scripting.
27854 2014-04-03 Cong Hou <congh@google.com>
27856 PR tree-optimization/60505
27857 * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
27858 threshold of number of iterations below which no vectorization
27860 * tree-vect-loop.c (new_loop_vec_info):
27861 Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
27862 * tree-vect-loop.c (vect_analyze_loop_operations):
27863 Set LOOP_VINFO_COST_MODEL_THRESHOLD.
27864 * tree-vect-loop.c (vect_transform_loop):
27865 Use LOOP_VINFO_COST_MODEL_THRESHOLD.
27866 * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
27867 of iterations of the loop and see if we should build the epilogue.
27869 2014-04-03 Richard Biener <rguenther@suse.de>
27871 * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member.
27872 (streamer_tree_cache_create): Adjust.
27873 * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust
27874 to allow optional nodes array.
27875 (streamer_tree_cache_insert_1): Use next_idx to assign idx.
27876 (streamer_tree_cache_append): Likewise.
27877 (streamer_tree_cache_create): Create nodes array optionally
27878 as specified by parameter.
27879 * lto-streamer-out.c (create_output_block): Avoid maintaining
27880 the node array in the writer cache.
27881 (DFS_write_tree): Remove assertion.
27882 (produce_asm_for_decls): Free the out decl state hash table early.
27883 * lto-streamer-in.c (lto_data_in_create): Adjust for
27884 streamer_tree_cache_create prototype change.
27886 2014-04-03 Richard Biener <rguenther@suse.de>
27888 * tree-streamer-out.c (streamer_write_chain): Do not temporarily
27889 set TREE_CHAIN to NULL_TREE.
27891 2014-04-03 Richard Biener <rguenther@suse.de>
27893 PR tree-optimization/60740
27894 * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate
27895 over all GIMPLE_COND operands.
27897 2014-04-03 Nathan Sidwell <nathan@codesourcery.com>
27899 * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation.
27900 (Weffc++): Remove Scott's numbering, merge lists and reference
27903 2014-04-03 Nick Clifton <nickc@redhat.com>
27905 * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF))
27908 2014-04-03 Martin Jambor <mjambor@suse.cz>
27910 * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and
27911 mention gcc_unreachable before failing.
27912 * ipa.c (symtab_remove_unreachable_nodes): Also print order of
27915 2014-04-02 Jan Hubicka <hubicka@ucw.cz>
27918 * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type
27919 inconsistent code and instead mark the context inconsistent.
27920 (possible_polymorphic_call_targets): For inconsistent contexts
27921 return empty complete list.
27923 2014-04-02 Anthony Green <green@moxielogic.com>
27925 * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2)
27926 (extendqisi2, extendhisi2): Define.
27927 * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0.
27928 (WCHAR_TYPE): Change to unsigned int.
27930 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
27932 PR tree-optimization/60733
27933 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required
27934 insertion point for PHI candidates to be the end of the feeding
27935 block for the PHI argument.
27937 2014-04-02 Vladimir Makarov <vmakarov@redhat.com>
27939 PR rtl-optimization/60650
27940 * lra-constraints.c (process_alt_operands): Decrease reject for
27941 earlyclobber matching.
27943 2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27945 * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
27947 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27949 * config/spu/spu.c (pad_bb): Do not crash when the last
27950 insn is CODE_FOR_blockage.
27952 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27954 * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize
27955 lies outside the target mode.
27957 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com>
27960 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have
27961 software floating point or no floating point registers, do not
27962 allow any type in the FPRs. Eliminate a test for SPE SIMD types
27963 in GPRs that occurs after we tested for GPRs that would never be
27966 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64):
27967 Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE,
27968 since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE,
27969 specifically allow DDmode, since that does not use the SPE SIMD
27972 2014-04-02 Richard Biener <rguenther@suse.de>
27974 PR middle-end/60729
27975 * optabs.c (expand_abs_nojump): Honor flag_trapv only for
27976 MODE_INTs. Properly use negv_optab.
27977 (expand_abs): Likewise.
27979 2014-04-02 Richard Biener <rguenther@suse.de>
27982 * Makefile.in (install-driver): Guard extra installs with special
27985 2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com>
27987 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
27988 Document vec_vgbbd.
27990 2014-04-01 Richard Henderson <rth@redhat.com>
27993 * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second
27994 alternative enabled before register allocation.
27996 2014-04-01 Chung-Lin Tang <cltang@codesourcery.com>
27998 * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM.
27999 * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand
28001 (nios2_large_got_address): Remove unneeded 'sym' parameter.
28002 (nios2_got_address): Update nios2_large_got_address call site.
28003 (nios2_delegitimize_address): New function.
28004 (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address.
28005 * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define.
28006 (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER.
28008 2014-04-01 Martin Husemann <martin@duskware.de>
28010 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32
28013 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com>
28015 PR rtl-optimization/60604
28016 * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P
28017 check from register_operand.
28018 (register_operand): Redefine in terms of general_operand.
28019 (nonmemory_operand): Use register_operand for the non-constant cases.
28021 2014-04-01 Richard Biener <rguenther@suse.de>
28023 * gimple.h (struct gimple_statement_base): Align subcode to 16 bits.
28025 2014-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
28027 * doc/invoke.texi (mapp-regs): Clarify.
28029 2014-03-31 Ulrich Drepper <drepper@gmail.com>
28031 * config/i386/avx512fintrin.h (__v32hi): Define type.
28032 (__v64qi): Likewise.
28033 (_mm512_set1_epi8): Define.
28034 (_mm512_set1_epi16): Define.
28035 (_mm512_set4_epi32): Define.
28036 (_mm512_set4_epi64): Define.
28037 (_mm512_set4_pd): Define.
28038 (_mm512_set4_ps): Define.
28039 (_mm512_setr4_epi64): Define.
28040 (_mm512_setr4_epi32): Define.
28041 (_mm512_setr4_pd): Define.
28042 (_mm512_setr4_ps): Define.
28043 (_mm512_setzero_epi32): Define.
28045 2014-03-31 Martin Jambor <mjambor@suse.cz>
28047 PR middle-end/60647
28048 * tree-sra.c (callsite_has_enough_arguments_p): Renamed to
28049 callsite_arguments_match_p. Updated all callers. Also check types of
28050 corresponding formal parameters and actual arguments.
28051 (not_all_callers_have_enough_arguments_p) Renamed to
28052 some_callers_have_mismatched_arguments_p.
28054 2014-03-31 Yuri Rumyantsev <ysrumyan@gmail.com>
28056 * tree-inline.c (copy_loops): Add missed copy of 'safelen'.
28058 2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org>
28061 * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for
28064 2014-03-30 Uros Bizjak <ubizjak@gmail.com>
28066 * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator.
28067 (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>):
28069 <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>.
28070 Use FMAMODE_NOVF512 mode iterator.
28071 (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto.
28072 (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto.
28073 (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto.
28074 (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>):
28076 <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>.
28077 Use VF_128_256 mode iterator.
28078 (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>):
28081 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
28083 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
28084 static chain if needed.
28086 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
28089 * lra-constraints.c (index_part_to_reg): New.
28090 (process_address): Use it.
28092 2014-03-27 Jeff Law <law@redhat.com>
28093 Jakub Jelinek <jakub@redhat.com>
28096 * expr.c (do_tablejump): Use simplify_gen_binary rather than
28097 gen_rtx_{PLUS,MULT} to build up the address expression.
28099 * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid
28100 creating non-canonical RTL.
28102 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
28105 * ipa-inline.c (want_inline_small_function_p): Short circuit large
28106 functions; reorganize to make cheap checks first.
28107 (inline_small_functions): Do not estimate growth when dumping;
28109 * ipa-inline.h (inline_summary): Add min_size.
28110 (growth_likely_positive): New function.
28111 * ipa-inline-analysis.c (dump_inline_summary): Add min_size.
28112 (set_cond_stmt_execution_predicate): Cleanup.
28113 (estimate_edge_size_and_time): Compute min_size.
28114 (estimate_calls_size_and_time): Likewise.
28115 (estimate_node_size_and_time): Likewise.
28116 (inline_update_overall_summary): Update min_size.
28117 (do_estimate_edge_time): Likewise.
28118 (do_estimate_edge_size): Update.
28119 (do_estimate_edge_hints): Update.
28120 (growth_likely_positive): New function.
28122 2014-03-28 Jakub Jelinek <jakub@redhat.com>
28125 * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg
28126 also if addr has VOIDmode.
28128 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28130 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New.
28131 * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue):
28133 * config/arm/cortex-a53.md: Add reservations and bypass for crypto
28134 instructions as well as AdvancedSIMD loads.
28136 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
28138 * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi):
28139 Use crypto_aese type.
28140 (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type.
28141 * config/arm/arm.md (is_neon_type): Replace crypto_aes with
28142 crypto_aese, crypto_aesmc. Move to types.md.
28143 * config/arm/types.md (crypto_aes): Split into crypto_aese,
28145 * config/arm/iterators.md (crypto_type): Likewise.
28147 2014-03-28 Jan Hubicka <hubicka@ucw.cz>
28149 * cgraph.c: Include expr.h and tree-dfa.h.
28150 (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn;
28153 2014-03-28 Vladimir Makarov <vmakarov@redhat.com>
28156 * lra-assigns.c (find_hard_regno_for): Remove unavailable hard
28157 regs from checking multi-reg pseudos.
28159 2014-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28161 * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule.
28163 2014-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28165 * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization
28166 if it would clobber the stack pointer, even temporarily.
28168 2014-03-28 Eric Botcazou <ebotcazou@adacore.com>
28170 * mode-switching.c: Make small adjustments to the top comment.
28172 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com>
28174 * config/rs6000/constraints.md (wD constraint): New constraint to
28175 match the constant integer to get the top DImode/DFmode out of a
28176 vector in a VSX register.
28178 * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to
28179 match the constant integer to get the top DImode/DFmode out of a
28180 vector in a VSX register.
28182 * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin
28185 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
28188 * config/rs6000/rs6000.c (rs6000_debug_reg_global): If
28189 -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT.
28191 * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes):
28192 Optimize vec_extract of 64-bit values, where the value being
28193 extracted is in the top word, where we can use scalar
28194 instructions. Add direct move and store support. Combine the big
28195 endian/little endian vector select load support into a single insn.
28196 (vsx_extract_<mode>_internal1): Likewise.
28197 (vsx_extract_<mode>_internal2): Likewise.
28198 (vsx_extract_<mode>_load): Likewise.
28199 (vsx_extract_<mode>_store): Likewise.
28200 (vsx_extract_<mode>_zero): Delete, big and little endian insns are
28201 combined into vsx_extract_<mode>_load.
28202 (vsx_extract_<mode>_one_le): Likewise.
28204 * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to
28205 define the top 64-bit vector element.
28207 * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD
28210 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
28211 Document vec_vbpermq builtin.
28214 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to
28215 enable use of xxsldwi and xxpermdi builtin functions.
28216 (vec_xxpermdi): Likewise.
28218 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
28219 Document use of vec_xxsldwi and vec_xxpermdi builtins.
28221 2014-03-27 Vladimir Makarov <vmakarov@redhat.com>
28223 PR rtl-optimization/60650
28224 * lra-assign.c (find_hard_regno_for, spill_for): Add parameter
28226 (find_spills_for): New.
28227 (assign_by_spills): Pass the new parameter to find_hard_regno_for.
28228 Spill all pseudos on the second iteration.
28230 2014-03-27 Marek Polacek <polacek@redhat.com>
28233 * doc/extend.texi (ffs Builtins): Change unsigned types to signed
28236 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28238 * config/s390/s390.c (s390_can_use_return_insn): Check for
28239 call-saved FPRs on 31 bit.
28241 2014-03-27 Jakub Jelinek <jakub@redhat.com>
28243 PR middle-end/60682
28244 * omp-low.c (lower_omp_1): For gimple_clobber_p stmts,
28245 if they need regimplification, just drop them instead of
28246 calling gimple_regimplify_operands on them.
28248 2014-03-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
28251 * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove.
28252 (aarch64_frame_pointer_required): Adjust logic.
28253 (aarch64_can_eliminate): Adjust logic.
28254 (aarch64_override_options_after_change): Adjust logic.
28256 2014-03-27 Dehao Chen <dehao@google.com>
28258 * ipa-inline.c (early_inliner): Update node's inline info.
28260 2014-03-26 Dehao Chen <dehao@google.com>
28262 * dojump.c (do_compare_rtx_and_jump): Sets correct probability for
28263 compiler inserted conditional jumps for NAN float check.
28265 2014-03-26 Jakub Jelinek <jakub@redhat.com>
28267 * ubsan.h (ubsan_create_data): Change second argument's type
28268 to const location_t *.
28269 * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to
28271 (ubsan_create_data): Change second argument to const location_t *PLOC.
28272 Create Loc field whenever PLOC is non-NULL.
28273 (ubsan_instrument_unreachable, ubsan_expand_null_ifn,
28274 ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust
28278 * real.c (real_to_integer2): Change type of low to UHWI.
28280 2014-03-26 Tobias Burnus <burnus@net-b.de>
28282 * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus.
28283 (CILK_SELF_SPECS): New define.
28284 (driver_self_specs): Use it.
28286 2014-03-26 Richard Biener <rguenther@suse.de>
28288 * tree-pretty-print.c (percent_K_format): Implement special
28289 case for LTO and its stripped down BLOCK tree.
28291 2014-03-26 Jakub Jelinek <jakub@redhat.com>
28294 * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR.
28296 * tree-vrp.c (simplify_internal_call_using_ranges): If only
28297 one range is range_int_cst_p, but not both, at least optimize
28298 addition/subtraction of 0 and multiplication by 0 or 1.
28299 * gimple-fold.c (gimple_fold_call): Fold
28300 IFN_UBSAN_CHECK_{ADD,SUB,MUL}.
28301 (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't
28302 INTEGER_CSTs, try to fold at least x * 0 and y - y.
28304 2014-03-26 Eric Botcazou <ebotcazou@adacore.com>
28306 PR rtl-optimization/60452
28307 * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
28308 <case REG>: Return 1 for invalid offsets from the frame pointer.
28310 2014-03-26 Marek Polacek <polacek@redhat.com>
28313 * doc/extend.texi (C Extensions): Mention variable-length arrays in
28316 2014-03-26 Marek Polacek <polacek@redhat.com>
28319 * doc/extend.texi (Designated Inits): Describe what happens to omitted
28322 2014-03-26 Marek Polacek <polacek@redhat.com>
28325 * ira-color.c (update_conflict_hard_regno_costs): Perform the
28326 multiplication in unsigned type.
28328 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
28330 * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf.
28332 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com>
28334 * doc/contrib.texi: Add myself as Andes nds32 port contributor.
28336 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
28339 * cif-code.def (UNREACHABLE) New code.
28340 * ipa-inline.c (inline_small_functions): Skip edges to
28341 __builtlin_unreachable.
28342 (estimate_edge_growth): Allow edges to __builtlin_unreachable.
28343 * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false
28344 predicate to __bulitin_unreachable.
28345 (set_cond_stmt_execution_predicate): Fix issue when
28346 invert_tree_comparison returns ERROR_MARK.
28347 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not
28348 propagate to inline clones.
28349 * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection
28351 * ipa-cp.c (create_specialized_node): Be ready for new node to appear.
28352 * cgraphclones.c (cgraph_clone_node): If call destination is already
28353 ureachable, do not redirect it back.
28354 * tree-inline.c (fold_marked_statements): Hanlde calls becoming
28357 2014-03-25 Jan Hubicka <hubicka@ucw.cz>
28359 * ipa-pure-const.c (propagate_pure_const, propagate_nothrow):
28360 Do not modify inline clones.
28362 2014-03-25 Jakub Jelinek <jakub@redhat.com>
28364 * config/i386/i386.md (general_sext_operand): New mode attr.
28365 (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
28366 don't generate (sign_extend (const_int)).
28367 (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
28368 operands[2]. Use We constraint instead of <i> and
28369 <general_sext_operand> predicate instead of <general_operand>.
28370 (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
28371 * config/i386/constraints.md (We): New constraint.
28372 * config/i386/predicates.md (x86_64_sext_operand,
28373 sext_operand): New predicates.
28375 2014-03-25 Martin Jambor <mjambor@suse.cz>
28378 * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type
28379 inconsistent devirtualizations to __builtin_unreachable.
28381 2014-03-25 Marek Polacek <polacek@redhat.com>
28384 * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
28386 2014-03-25 Alan Lawrence <alan.lawrence@arm.com>
28388 * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse
28389 order of elements for big-endian.
28391 2014-03-25 Richard Biener <rguenther@suse.de>
28393 PR middle-end/60635
28394 * gimplify-me.c (gimple_regimplify_operands): Update the
28397 2014-03-25 Martin Jambor <mjambor@suse.cz>
28400 * lto-cgraph.c (lto_output_node): Stream body_removed flag.
28401 (lto_output_varpool_node): Likewise.
28402 (input_overwrite_node): Likewise.
28403 (input_varpool_node): Likewise.
28405 2014-03-25 Richard Biener <rguenther@suse.de>
28407 * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie.
28408 (run_gcc): Likewise.
28410 2014-03-25 Jakub Jelinek <jakub@redhat.com>
28412 * combine.c (simplify_compare_const): Add MODE argument.
28413 Handle mode_width 0 as very large mode_width.
28414 (try_combine, simplify_comparison): Adjust callers.
28416 * cselib.c (cselib_hash_rtx): Perform addition in unsigned
28417 type to avoid signed integer overflow.
28418 * explow.c (plus_constant): Likewise.
28420 2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
28422 * doc/generic.texi: Correct typos.
28424 2014-03-24 Tobias Burnus <burnus@net-b.de>
28426 * doc/invoke.texi (-flto): Expand section about
28427 using static libraries with LTO.
28429 2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28431 PR rtl-optimization/60501
28432 * optabs.def (addptr3_optab): New optab.
28433 * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
28434 * doc/md.texi ("addptrm3"): Document new RTL standard expander.
28435 * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.
28437 * lra.c (emit_add3_insn): Use the addptr pattern if available.
28439 * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.
28441 2014-03-24 Ulrich Drepper <drepper@gmail.com>
28443 * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
28446 * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
28447 (_mm256_undefined_ps): Define.
28448 (_mm256_undefined_pd): Define.
28449 * config/i386/emmintrin.h (_mm_undefined_si128): Define.
28450 (_mm_undefined_pd): Define.
28451 * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
28452 * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
28453 (_mm512_undefined_ps): Define.
28454 (_mm512_undefined_pd): Define.
28455 Use _mm*_undefined_*.
28456 * config/i386/avx2intrin.h: Use _mm*_undefined_*.
28458 2014-03-24 Alex Velenko <Alex.Velenko@arm.com>
28460 * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
28461 (lshr_simd): DI mode added.
28462 * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
28463 (aarch64_ushr_simddi): Likewise.
28464 * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
28465 * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
28466 (vshrd_n_u64): Likewise.
28468 2014-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
28470 * Makefile.in (s-macro_list): Depend on cc1.
28472 2014-03-23 Teresa Johnson <tejohnson@google.com>
28474 * ipa-utils.c (ipa_print_order): Use specified dump file.
28476 2014-03-23 Eric Botcazou <ebotcazou@adacore.com>
28478 PR rtl-optimization/60601
28479 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
28481 * gcc.c (eval_spec_function): Initialize save_growing_value.
28483 2014-03-22 Jakub Jelinek <jakub@redhat.com>
28486 * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
28487 code == MINUS_EXPR, never swap op0 with op1.
28489 * toplev.c (init_local_tick): Avoid signed integer multiplication
28491 * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
28492 shift by first operand's bitsize.
28494 2014-03-21 Jakub Jelinek <jakub@redhat.com>
28497 * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
28498 redefine to 1 or 0.
28499 * config/i386/darwin.h (TARGET_64BIT_P): Redefine to
28500 TARGET_ISA_64BIT_P(x).
28502 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
28504 * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
28505 pattern for vector nor instead of subtract from splat(-1).
28506 (altivec_expand_vec_perm_const_le): Likewise.
28508 2014-03-21 Richard Henderson <rth@twiddle.net>
28511 * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
28512 related insns after epilogue_completed.
28514 2014-03-21 Martin Jambor <mjambor@suse.cz>
28517 * cgraph.h (symtab_node): New flag body_removed.
28518 * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
28519 when removing bodies.
28520 * symtab.c (dump_symtab_base): Dump body_removed flag.
28521 * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
28522 had their bodies removed.
28524 2014-03-21 Martin Jambor <mjambor@suse.cz>
28527 * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
28530 2014-03-21 Richard Biener <rguenther@suse.de>
28532 PR tree-optimization/60577
28533 * tree-core.h (struct tree_base): Document nothrow_flag use
28534 in DECL_NONALIASED.
28535 * tree.h (DECL_NONALIASED): New.
28536 (may_be_aliased): Adjust.
28537 * coverage.c (build_var): Set DECL_NONALIASED.
28539 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
28541 * expr.c (expand_expr_real_1): Remove outdated comment.
28543 2014-03-20 Jakub Jelinek <jakub@redhat.com>
28545 PR middle-end/60597
28546 * ira.c (adjust_cleared_regs): Call copy_rtx on
28547 *reg_equiv[REGNO (loc)].src_p before passing it to
28548 simplify_replace_fn_rtx.
28551 * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
28552 into CONST, put pic register as first operand of PLUS. Use
28553 gen_const_mem for both 32-bit and 64-bit PIC got loads.
28555 2014-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
28557 * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.
28559 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
28561 * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
28562 around for store forwarding issue in the FPU on the UT699.
28563 * config/sparc/sparc.md (in_branch_delay): Return false for single FP
28564 loads and operations if -mfix-ut699 is specified.
28565 (divtf3_hq): Tweak attribute.
28566 (sqrttf2_hq): Likewise.
28568 2014-03-20 Eric Botcazou <ebotcazou@adacore.com>
28570 * calls.c (store_one_arg): Remove incorrect const qualification on the
28571 type of the temporary.
28572 * cfgexpand.c (expand_return): Likewise.
28573 * expr.c (expand_constructor): Likewise.
28574 (expand_expr_real_1): Likewise.
28576 2014-03-20 Zhenqiang Chen <zhenqiang.chen@linaro.org>
28578 * config/arm/arm.c (arm_dwarf_register_span): Update the element number
28581 2014-03-19 Kaz Kojima <kkojima@gcc.gnu.org>
28584 * config/sh/sh.md (udivsi3_i1): Clobber R1 register.
28586 2014-03-19 James Greenhalgh <james.greenhalgh@arm.com>
28588 * config/arm/aarch-common-protos.h
28589 (alu_cost_table): Fix spelling of "extend".
28590 * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".
28592 2014-03-19 Richard Biener <rguenther@suse.de>
28594 PR middle-end/60553
28595 * tree-core.h (tree_type_common): Re-order pointer members
28596 to reduce recursion depth during GC walks.
28598 2014-03-19 Marek Polacek <polacek@redhat.com>
28601 * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
28602 before accessing it.
28604 2014-03-19 Richard Biener <rguenther@suse.de>
28607 * lto-streamer-in.c (input_function): In WPA stage do not drop
28610 2014-03-19 Jakub Jelinek <jakub@redhat.com>
28612 PR tree-optimization/60559
28613 * vectorizable_mask_load_store): Replace scalar MASK_LOAD
28614 with build_zero_cst assignment.
28616 2014-03-18 Kai Tietz <ktietz@redhat.com>
28618 PR rtl-optimization/56356
28619 * sdbout.c (sdbout_parms): Verify that parms'
28620 incoming argument is valid.
28621 (sdbout_reg_parms): Likewise.
28623 2014-03-18 Richard Henderson <rth@redhat.com>
28626 * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
28627 be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT.
28628 (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0.
28630 2014-03-18 Basile Starynkevitch <basile@starynkevitch.net>
28632 * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
28633 * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE.
28634 Italicize plugin event names in description. Explain that
28635 PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE.
28636 Remind that no GCC functions should be called after PLUGIN_FINISH.
28637 Explain what pragmas with expansion are.
28639 2014-03-18 Martin Liska <mliska@suse.cz>
28641 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
28642 gimple call statement is update.
28643 * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
28644 GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.
28646 2014-03-18 Jakub Jelinek <jakub@redhat.com>
28649 * ubsan.c (ubsan_instrument_unreachable): Call
28650 initialize_sanitizer_builtins.
28651 (ubsan_pass): Likewise.
28654 * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
28655 varpool_finalize_decl instead of rest_of_decl_compilation.
28657 2014-03-18 Richard Biener <rguenther@suse.de>
28659 * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
28660 by using bitmap_and_compl instead of bitmap_and_compl_into.
28661 (df_rd_transfer_function): Likewise.
28663 2014-03-18 Richard Biener <rguenther@suse.de>
28665 * doc/lto.texi (fresolution): Fix typo.
28667 2014-03-18 Richard Biener <rguenther@suse.de>
28669 * doc/invoke.texi (flto): Update for changes in 4.9.
28671 2014-03-18 Richard Biener <rguenther@suse.de>
28673 * doc/loop.texi: Remove section on the removed lambda framework.
28674 Update loop docs with recent changes in preserving loop structure.
28676 2014-03-18 Richard Biener <rguenther@suse.de>
28678 * doc/lto.texi (-fresolution): Document.
28680 2014-03-18 Richard Biener <rguenther@suse.de>
28682 * doc/contrib.texi: Adjust my name.
28684 2014-03-18 Jakub Jelinek <jakub@redhat.com>
28687 * internal-fn.c: Include diagnostic-core.h.
28688 (expand_BUILTIN_EXPECT): New function.
28689 * gimplify.c (gimplify_call_expr): Use false instead of FALSE.
28690 (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
28691 IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
28692 * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
28693 IFN_BUILTIN_EXPECT.
28694 * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
28695 Revert 3 argument __builtin_expect code.
28696 (strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
28697 * gimple-fold.c (gimple_fold_call): Likewise.
28698 * tree.h (fold_builtin_expect): New prototype.
28699 * builtins.c (build_builtin_expect_predicate): Add predictor
28700 argument, if non-NULL, create 3 argument __builtin_expect.
28701 (fold_builtin_expect): No longer static. Add ARG2 argument,
28702 pass it through to build_builtin_expect_predicate.
28703 (fold_builtin_2): Adjust caller.
28704 (fold_builtin_3): Handle BUILT_IN_EXPECT.
28705 * internal-fn.def (BUILTIN_EXPECT): New.
28707 2014-03-18 Tobias Burnus <burnus@net-b.de>
28710 * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
28711 PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
28712 PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
28714 2014-03-18 Jan Hubicka <hubicka@ucw.cz>
28717 * predict.c (combine_predictions_for_bb): Fix up formatting.
28718 (expr_expected_value_1, expr_expected_value): Add predictor argument,
28719 fill what it points to if non-NULL.
28720 (tree_predict_by_opcode): Adjust caller, use the predictor.
28721 * predict.def (PRED_COMPARE_AND_SWAP): Add.
28723 2014-03-18 Eric Botcazou <ebotcazou@adacore.com>
28725 * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
28726 proper constant for the store mode.
28728 2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com>
28730 * symtab.c (change_decl_assembler_name): Fix transparent alias
28731 chain construction.
28733 2014-03-16 Renlin Li <Renlin.Li@arm.com>
28735 * config/aarch64/aarch64.c: Correct the comments about the
28736 aarch64 stack layout.
28738 2014-03-18 Thomas Schwinge <thomas@codesourcery.com>
28740 * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore
28741 check for GF_OMP_FOR_KIND_FOR.
28743 2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
28745 * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add
28746 ymm and zmm register names.
28748 2014-03-17 Jakub Jelinek <jakub@redhat.com>
28751 * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA
28752 note creation for the 2010-08-31 changes.
28754 2014-03-17 Marek Polacek <polacek@redhat.com>
28756 PR middle-end/60534
28757 * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same
28758 as -fno-tree-loop-vectorize.
28759 (expand_omp_simd): Likewise.
28761 2014-03-15 Eric Botcazou <ebotcazou@adacore.com>
28763 * config/sparc/sparc-protos.h (tls_call_delay): Delete.
28764 (eligible_for_call_delay): New prototype.
28765 * config/sparc/sparc.c (tls_call_delay): Rename into...
28766 (eligible_for_call_delay): ...this. Return false if the instruction
28767 cannot be put in the delay slot of a branch.
28768 (eligible_for_restore_insn): Simplify.
28769 (eligible_for_return_delay): Return false if the instruction cannot be
28770 put in the delay slot of a branch and simplify.
28771 (eligible_for_sibcall_delay): Return false if the instruction cannot be
28772 put in the delay slot of a branch.
28773 * config/sparc/sparc.md (fix_ut699): New attribute.
28774 (tls_call_delay): Delete.
28775 (in_call_delay): Reimplement.
28776 (eligible_for_sibcall_delay): Rename into...
28777 (in_sibcall_delay): ...this.
28778 (eligible_for_return_delay): Rename into...
28779 (in_return_delay): ...this.
28780 (in_branch_delay): Reimplement.
28781 (in_uncond_branch_delay): Delete.
28782 (in_annul_branch_delay): Delete.
28784 2014-03-14 Richard Henderson <rth@redhat.com>
28787 * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename
28788 define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand.
28789 (*floathi<X87MODEF>2_i387_with_temp): Remove.
28790 (floathi splitters): Remove.
28791 (float<SWI48x>xf2): New pattern.
28792 (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop
28793 code that tried to handle DImode for 32-bit, but which was excluded
28794 by the pattern's condition. Drop allocation of stack temporary.
28795 (*floatsi<MODEF>2_vector_mixed_with_temp): Remove.
28796 (*float<SWI48><MODEF>2_mixed_with_temp): Remove.
28797 (*float<SWI48><MODEF>2_mixed_interunit): Remove.
28798 (*float<SWI48><MODEF>2_mixed_nointerunit): Remove.
28799 (*floatsi<MODEF>2_vector_sse_with_temp): Remove.
28800 (*float<SWI48><MODEF>2_sse_with_temp): Remove.
28801 (*float<SWI48><MODEF>2_sse_interunit): Remove.
28802 (*float<SWI48><MODEF>2_sse_nointerunit): Remove.
28803 (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove.
28804 (*float<SWI48x><X87MODEF>2_i387): Remove.
28805 (all float _with_temp splitters): Remove.
28806 (*float<SWI48x><MODEF>2_i387): New pattern.
28807 (*float<SWI48><MODEF>2_sse): New pattern.
28808 (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them.
28809 (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them.
28811 2014-03-14 Jakub Jelinek <jakub@redhat.com>
28812 Marek Polacek <polacek@redhat.com>
28814 PR middle-end/60484
28815 * common.opt (dump_base_name_prefixed): New Variable.
28816 * opts.c (finish_options): Don't prepend directory to x_dump_base_name
28817 if x_dump_base_name_prefixed is already set, set it at the end.
28819 2014-03-14 Vladimir Makarov <vmakarov@redhat.com>
28821 PR rtl-optimization/60508
28822 * lra-constraints.c (get_reload_reg): Add new parameter
28824 (process_addr_reg, simplify_operand_subreg, curr_insn_transform):
28825 Pass the new parameter values.
28827 2014-03-14 Richard Biener <rguenther@suse.de>
28829 * common.opt: Revert unintented changes from r205065.
28830 * opts.c: Likewise.
28832 2014-03-14 Richard Biener <rguenther@suse.de>
28834 PR middle-end/60518
28835 * cfghooks.c (split_block): Properly adjust all loops the
28836 block was a latch of.
28838 2014-03-14 Martin Jambor <mjambor@suse.cz>
28841 * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition
28844 2014-03-14 Georg-Johann Lay <avr@gjlay.de>
28847 * config/avr/avr.c (avr_set_current_function): Pass function name
28848 through default_strip_name_encoding before sanity checking instead
28849 of skipping the first char of the assembler name.
28851 2014-03-13 Richard Henderson <rth@redhat.com>
28854 * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument.
28855 (ix86_force_to_memory, ix86_free_from_memory): Remove.
28856 * config/i386/i386-protos.h: Likewise.
28857 * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local
28858 in the expander instead of a splitter.
28859 (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is
28860 any possibility of requiring a memory.
28861 (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters.
28862 (*floatsi<MODEF>2_vector_sse): Remove, and the splitters.
28863 (fp branch splitters): Update for ix86_split_fp_branch.
28864 (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative.
28865 (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise.
28866 (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove.
28867 (*fop_<MODEF>_2_i387): Remove f/r alternative.
28868 (*fop_<MODEF>_3_i387): Likewise.
28869 (*fop_xf_2_i387, *fop_xf_3_i387): Likewise.
28870 (splitters for the fop_* register patterns): Remove.
28871 (fscalexf4_i387): Rename from *fscalexf4_i387.
28872 (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387.
28874 2014-03-13 Jakub Jelinek <jakub@redhat.com>
28876 PR tree-optimization/59779
28877 * tree-dfa.c (get_ref_base_and_extent): Use double_int
28878 type for bitsize and maxsize instead of HOST_WIDE_INT.
28880 2014-03-13 Steven Bosscher <steven@gcc.gnu.org>
28882 PR rtl-optimization/57320
28883 * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup
28884 the CFG after thread_prologue_and_epilogue_insns.
28886 2014-03-13 Vladimir Makarov <vmakarov@redhat.com>
28888 PR rtl-optimization/57189
28889 * lra-constraints.c (process_alt_operands): Disfavor spilling
28892 2014-03-13 Cesar Philippidis <cesar@codesourcery.com>
28894 * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages.
28896 2014-03-13 Jakub Jelinek <jakub@redhat.com>
28898 PR tree-optimization/59025
28899 PR middle-end/60418
28900 * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the
28901 same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first.
28903 2014-03-13 Georg-Johann Lay <avr@gjlay.de>
28906 * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
28907 calls of avr_out_plus_1.
28909 2014-03-13 Bin Cheng <bin.cheng@arm.com>
28911 * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
28912 BB's single pred and update the father loop's latch info later.
28914 2014-03-12 Michael Meissner <meissner@linux.vnet.ibm.com>
28916 * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types.
28920 (VEC_base): Likewise.
28921 (mov<MODE>, VEC_M modes): If we are loading TImode into VSX
28922 registers, we need to swap double words in little endian mode.
28924 * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode
28925 to be a container mode for 128-bit integer operations added in ISA
28926 2.07. Unlike TImode and PTImode, the preferred register set is
28927 the Altivec/VMX registers for the 128-bit operations.
28929 * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add
28931 (rs6000_split_128bit_ok_p): Likewise.
28933 * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support
28934 macros for creating ISA 2.07 normal and overloaded builtin
28935 functions with 3 arguments.
28936 (BU_P8V_OVERLOAD_3): Likewise.
28937 (VPERM_1T): Add support for V1TImode in 128-bit vector operations
28938 for use as overloaded functions.
28939 (VPERM_1TI_UNS): Likewise.
28940 (VSEL_1TI): Likewise.
28941 (VSEL_1TI_UNS): Likewise.
28942 (ST_INTERNAL_1ti): Likewise.
28943 (LD_INTERNAL_1ti): Likewise.
28944 (XXSEL_1TI): Likewise.
28945 (XXSEL_1TI_UNS): Likewise.
28946 (VPERM_1TI): Likewise.
28947 (VPERM_1TI_UNS): Likewise.
28948 (XXPERMDI_1TI): Likewise.
28949 (SET_1TI): Likewise.
28950 (LXVD2X_V1TI): Likewise.
28951 (STXVD2X_V1TI): Likewise.
28952 (VEC_INIT_V1TI): Likewise.
28953 (VEC_SET_V1TI): Likewise.
28954 (VEC_EXT_V1TI): Likewise.
28955 (EQV_V1TI): Likewise.
28956 (NAND_V1TI): Likewise.
28957 (ORC_V1TI): Likewise.
28958 (VADDCUQ): Add support for 128-bit integer arithmetic instructions
28959 added in ISA 2.07. Add both normal 'altivec' builtins, and the
28960 overloaded builtin.
28961 (VADDUQM): Likewise.
28962 (VSUBCUQ): Likewise.
28963 (VADDEUQM): Likewise.
28964 (VADDECUQ): Likewise.
28965 (VSUBEUQM): Likewise.
28966 (VSUBECUQ): Likewise.
28968 * config/rs6000/rs6000-c.c (__int128_type): New static to hold
28969 __int128_t and __uint128_t types.
28970 (__uint128_type): Likewise.
28971 (altivec_categorize_keyword): Add support for vector __int128_t,
28972 vector __uint128_t, vector __int128, and vector unsigned __int128
28973 as a container type for TImode operations that need to be done in
28974 VSX/Altivec registers.
28975 (rs6000_macro_to_expand): Likewise.
28976 (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions
28977 to support 128-bit integer instructions vaddcuq, vadduqm,
28978 vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm.
28979 (altivec_resolve_overloaded_builtin): Add support for V1TImode.
28981 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support
28982 for V1TImode, and set up preferences to use VSX/Altivec registers.
28983 Setup VSX reload handlers.
28984 (rs6000_debug_reg_global): Likewise.
28985 (rs6000_init_hard_regno_mode_ok): Likewise.
28986 (rs6000_preferred_simd_mode): Likewise.
28987 (vspltis_constant): Do not allow V1TImode as easy altivec constants.
28988 (easy_altivec_constant): Likewise.
28989 (output_vec_const_move): Likewise.
28990 (rs6000_expand_vector_set): Convert V1TImode set and extract to
28992 (rs6000_expand_vector_extract): Likewise.
28993 (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg
28995 (rs6000_const_vec): Add support for V1TImode.
28996 (rs6000_emit_le_vsx_load): Swap double words when loading or
28997 storing TImode/V1TImode.
28998 (rs6000_emit_le_vsx_store): Likewise.
28999 (rs6000_emit_le_vsx_move): Likewise.
29000 (rs6000_emit_move): Add support for V1TImode.
29001 (altivec_expand_ld_builtin): Likewise.
29002 (altivec_expand_st_builtin): Likewise.
29003 (altivec_expand_vec_init_builtin): Likewise.
29004 (altivec_expand_builtin): Likewise.
29005 (rs6000_init_builtins): Add support for V1TImode type. Add
29006 support for ISA 2.07 128-bit integer builtins. Define type names
29007 for the VSX/Altivec vector types.
29008 (altivec_init_builtins): Add support for overloaded vector
29009 functions with V1TImode type.
29010 (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode.
29011 (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to
29013 (rs6000_split_128bit_ok_p): Likewise.
29014 (rs6000_handle_altivec_attribute): Create V1TImode from vector
29015 __int128_t and vector __uint128_t.
29017 * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators
29018 and mode attributes.
29020 (VSX_M2): Likewise.
29025 (VS_scalar): Likewise.
29026 (VS_double): Likewise.
29027 (vsx_set_v1ti): New builtin function to create V1TImode from TImode.
29029 * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether
29030 we support the ISA 2.07 128-bit integer arithmetic instructions.
29031 (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode.
29032 (enum rs6000_builtin_type_index): Add fields to hold V1TImode
29033 and TImode types for use with the builtin functions.
29034 (V1TI_type_node): Likewise.
29035 (unsigned_V1TI_type_node): Likewise.
29036 (intTI_type_internal_node): Likewise.
29037 (uintTI_type_internal_node): Likewise.
29039 * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07
29040 128-bit builtin functions.
29041 (UNSPEC_VADDEUQM): Likewise.
29042 (UNSPEC_VADDECUQ): Likewise.
29043 (UNSPEC_VSUBCUQ): Likewise.
29044 (UNSPEC_VSUBEUQM): Likewise.
29045 (UNSPEC_VSUBECUQ): Likewise.
29046 (VM): Add V1TImode to vector mode iterators.
29048 (VI_unit): Likewise.
29049 (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins.
29050 (altivec_vaddcuq): Likewise.
29051 (altivec_vsubuqm): Likewise.
29052 (altivec_vsubcuq): Likewise.
29053 (altivec_vaddeuqm): Likewise.
29054 (altivec_vaddecuq): Likewise.
29055 (altivec_vsubeuqm): Likewise.
29056 (altivec_vsubecuq): Likewise.
29058 * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector
29060 (BOOL_128): Likewise.
29061 (BOOL_REGS_OUTPUT): Likewise.
29062 (BOOL_REGS_OP1): Likewise.
29063 (BOOL_REGS_OP2): Likewise.
29064 (BOOL_REGS_UNARY): Likewise.
29065 (BOOL_REGS_AND_CR0): Likewise.
29067 * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07
29068 128-bit integer builtin support.
29069 (vec_vadduqm): Likewise.
29070 (vec_vaddecuq): Likewise.
29071 (vec_vaddeuqm): Likewise.
29072 (vec_vsubecuq): Likewise.
29073 (vec_vsubeuqm): Likewise.
29074 (vec_vsubcuq): Likewise.
29075 (vec_vsubuqm): Likewise.
29077 * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions):
29078 Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm,
29079 vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding
29080 128-bit integer add/subtract to ISA 2.07.
29082 2014-03-12 Joern Rennecke <joern.rennecke@embecosm.com>
29084 * config/arc/arc.c (arc_predicate_delay_insns):
29085 Fix third argument passed to conditionalize_nonjump.
29087 2014-03-12 Yufeng Zhang <yufeng.zhang@arm.com>
29089 * config/aarch64/aarch64-builtins.c
29090 (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF,
29091 BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL.
29092 * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor
29093 instead of __builtin_lfloor.
29094 (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.
29096 2014-03-12 Jakub Jelinek <jakub@redhat.com>
29098 * tree-ssa-ifcombine.c (forwarder_block_to): New function.
29099 (tree_ssa_ifcombine_bb_1): New function.
29100 (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb
29101 is an empty forwarder block to then_bb or vice versa and then_bb
29102 and else_bb are effectively swapped.
29104 2014-03-12 Christian Bruel <christian.bruel@st.com>
29107 * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a
29108 REG_CFA_DEF_CFA note.
29109 (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note.
29110 (arm_unwind_emit): Allow REG_CFA_DEF_CFA.
29112 2014-03-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
29114 PR tree-optimization/60454
29115 * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.
29117 2014-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29119 * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def.
29120 Do not define target_cpu_default2 to generic.
29121 * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu.
29122 * config/aarch64/aarch64.c (aarch64_override_options): Update comment.
29123 * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu.
29125 2014-03-12 Jakub Jelinek <jakub@redhat.com>
29126 Marc Glisse <marc.glisse@inria.fr>
29128 PR tree-optimization/60502
29129 * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst
29130 instead of build_low_bits_mask.
29132 2014-03-12 Jakub Jelinek <jakub@redhat.com>
29134 PR middle-end/60482
29135 * tree-vrp.c (register_edge_assert_for_1): Don't add assert
29136 if there are multiple uses, but op doesn't live on E edge.
29137 * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore
29138 clobber stmts before __builtin_unreachable.
29140 2014-03-11 Richard Sandiford <rdsandiford@googlemail.com>
29142 * builtins.c (expand_builtin_setjmp_receiver): Use and clobber
29143 hard_frame_pointer_rtx.
29144 * cse.c (cse_insn): Remove volatile check.
29145 * cselib.c (cselib_process_insn): Likewise.
29146 * dse.c (scan_insn): Likewise.
29148 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
29150 * config/arc/arc.c (conditionalize_nonjump): New function,
29152 (arc_ifcvt): ... this.
29153 (arc_predicate_delay_insns): Use it.
29155 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com>
29157 * config/arc/predicates.md (extend_operand): During/after reload,
29158 allow const_int_operand.
29159 * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate.
29160 (umulsidi3_700): Likewise. Change operand 2 constraint back to "cL".
29161 (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3
29163 (umulsi3_highpart_i): Likewise.
29165 2014-03-11 Richard Biener <rguenther@suse.de>
29167 * tree-ssa-structalias.c (get_constraint_for_ptr_offset):
29168 Add asserts to guard possible wrong-code bugs.
29170 2014-03-11 Richard Biener <rguenther@suse.de>
29172 PR tree-optimization/60429
29173 PR tree-optimization/60485
29174 * tree-ssa-structalias.c (set_union_with_increment): Properly
29175 take into account all fields that overlap the shifted vars.
29176 (do_sd_constraint): Likewise.
29177 (do_ds_constraint): Likewise.
29178 (get_constraint_for_ptr_offset): Likewise.
29180 2014-03-11 Chung-Lin Tang <cltang@codesourcery.com>
29182 * config/nios2/nios2.c (machine_function): Add fp_save_offset field.
29183 (nios2_compute_frame_layout):
29184 Add calculation of cfun->machine->fp_save_offset.
29185 (nios2_expand_prologue): Correct setting of frame pointer register
29187 (nios2_expand_epilogue): Update recovery of stack pointer from
29188 frame pointer accordingly.
29189 (nios2_initial_elimination_offset): Update calculation of offset
29190 for eliminating to HARD_FRAME_POINTER_REGNUM.
29192 2014-03-10 Jakub Jelinek <jakub@redhat.com>
29195 * ipa.c (symtab_remove_unreachable_nodes): Don't call
29196 cgraph_get_create_node on VAR_DECLs.
29198 2014-03-10 Richard Biener <rguenther@suse.de>
29200 PR middle-end/60474
29201 * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs.
29203 2014-03-08 Douglas B Rupp <rupp@gnat.com>
29205 * config/vms/vms.opt (vms_float_format): New variable.
29207 2014-03-08 Tobias Burnus <burnus@net-b.de>
29209 * doc/invoke.texi (-fcilkplus): Update implementation status.
29211 2014-03-08 Paulo Matos <paulo@matos-sorge.com>
29212 Richard Biener <rguenther@suse.de>
29214 * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used
29215 consistently accross all TUs.
29216 (run_gcc): Enable -fshort-double automatically at link at link-time
29217 and disallow override.
29219 2014-03-08 Richard Sandiford <rdsandiford@googlemail.com>
29222 * config/mips/mips.c (mips_option_override): Promote -mpaired-single
29223 warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D
29224 if they can't be used.
29226 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
29228 * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test
29229 for Solaris 11/x86 ld.
29230 * configure: Regenerate.
29232 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
29234 * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
29235 (LIB_TLS_SPEC): Save as ld_tls_libs.
29236 (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
29237 (HAVE_AS_IX86_TLSLDM): New test.
29238 * configure, config.in: Regenerate.
29239 * config/i386/i386.c (legitimize_tls_address): Fall back to
29240 TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
29241 cannot support TLS_MODEL_LOCAL_DYNAMIC.
29242 * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
29243 instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
29245 2014-03-07 Paulo Matos <paulo@matos-sorge.com>
29247 * common.opt (fira-loop-pressure): Mark as optimization.
29249 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
29251 * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
29252 an OpenMP mappable type.
29254 2014-03-06 Matthias Klose <doko@ubuntu.com>
29256 * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
29257 MULTILIB_OSDIRNAMES is not defined.
29259 2014-03-06 Jakub Jelinek <jakub@redhat.com>
29260 Meador Inge <meadori@codesourcery.com>
29263 * config/arm/arm.c (arm_tls_symbol_p): Remove.
29264 (arm_legitimize_address): Call legitimize_tls_address for any
29265 arm_tls_referenced_p expression, handle constant addend. Call it
29266 before testing for !TARGET_ARM.
29267 (thumb_legitimize_address): Don't handle arm_tls_symbol_p here.
29269 2014-03-06 Richard Biener <rguenther@suse.de>
29271 PR middle-end/60445
29275 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
29277 * tree-streamer.c (record_common_node): Assert we don't record
29278 nodes with type double.
29279 (preload_common_node): Skip type double, complex double and double
29280 pointer since it is now frontend dependent due to fshort-double option.
29282 2014-03-06 Richard Biener <rguenther@suse.de>
29284 * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
29285 or -fno-lto is specified and the linker has full plugin support.
29286 * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled.
29287 (main): Remove -flto processing, adjust lto_mode using use_plugin late.
29288 * lto-wrapper.c (merge_and_complain): Merge compile-time
29289 optimization levels.
29290 (run_gcc): And pass it through to the link options.
29292 2014-03-06 Alexandre Oliva <aoliva@redhat.com>
29296 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
29298 * cselib.c (remove_useless_values): Skip to avoid quadratic
29299 behavior if the condition moved from...
29300 (cselib_process_insn): ... here holds.
29302 2014-03-05 Jakub Jelinek <jakub@redhat.com>
29305 * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h,
29306 ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h.
29309 * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def.
29310 (TM_H): Add x86-tune.def.
29312 2014-03-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29314 * config/aarch64/aarch64.c (generic_tunings):
29315 Use cortexa57_extra_costs.
29317 2014-03-05 Jakub Jelinek <jakub@redhat.com>
29320 * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs
29321 of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p.
29322 * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1
29325 2014-03-04 Heiher <r@hev.cc>
29327 * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor.
29328 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly.
29330 2014-03-04 Uros Bizjak <ubizjak@gmail.com>
29332 * config/i386/predicates.md (const2356_operand): Change to ...
29333 (const2367_operand): ... this.
29334 * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
29336 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
29337 (*avx512pf_scatterpf<mode>sf): Ditto.
29338 (avx512pf_scatterpf<mode>df): Ditto.
29339 (*avx512pf_scatterpf<mode>df_mask): Ditto.
29340 (*avx512pf_scatterpf<mode>df): Ditto.
29341 * config/i386/i386.c (ix86_expand_builtin): Update
29342 incorrect hint operand error message.
29344 2014-03-04 Richard Biener <rguenther@suse.de>
29346 * lto-section-in.c (lto_get_section_data): Fix const cast.
29348 2014-03-04 Paulo Matos <paulo@matos-sorge.com>
29350 * tree-streamer.c (record_common_node): Assert we don't record
29351 nodes with type double.
29352 (preload_common_node): Skip type double, complex double and double
29353 pointer since it is now frontend dependent due to fshort-double option.
29355 2014-03-04 Richard Biener <rguenther@suse.de>
29358 * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
29359 (lto_input_toplevel_asms): Likewise.
29360 * lto-section-in.c (lto_get_section_data): Instead do it here
29363 2014-03-04 Richard Biener <rguenther@suse.de>
29365 PR tree-optimization/60382
29366 * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
29367 dead PHIs a reduction.
29369 2014-03-03 Uros Bizjak <ubizjak@gmail.com>
29371 * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct
29373 (_mm_prefetch): Move out of GCC target("sse") pragma.
29374 * config/i386/prfchwintrin.h (_m_prefetchw): Move out of
29375 GCC target("prfchw") pragma.
29376 * config/i386/i386.md (prefetch): Emit prefetchwt1 only
29378 * config/i386/i386.c (ix86_option_override_internal): Enable
29379 -mprfchw with -mprefetchwt1.
29381 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
29383 * config/arc/arc.md (casesi_load) <length attribute alternative 0>:
29386 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com>
29388 * opts.h (CL_PCH_IGNORE): Define.
29389 * targhooks.c (option_affects_pch_p):
29390 Return false for options that have CL_PCH_IGNORE set.
29391 * opt-functions.awk: Process PchIgnore.
29392 * doc/options.texi: Document PchIgnore.
29394 * config/arc/arc.opt (misize): Add PchIgnore property.
29396 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29398 * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow
29399 reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax
29400 constraint on constants to permit them being loaded into
29401 GENERAL_REGS or BASE_REGS.
29403 2014-03-03 Nick Clifton <nickc@redhat.com>
29405 * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add
29406 anti-cacnonical alternatives.
29407 (negandhi3_real): New pattern.
29408 * config/rl78/rl78-virt.md (negandhi3_virt): New pattern.
29410 2014-03-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
29412 * config/avr/avr-mcus.def: Remove atxmega16x1.
29413 * config/avr/avr-tables.opt: Regenerate.
29414 * config/avr/t-multilib: Regenerate.
29415 * doc/avr-mmcu.texi: Regenerate.
29417 2014-03-03 Tobias Grosser <tobias@grosser.es>
29418 Mircea Namolaru <mircea.namolaru@inria.fr>
29420 PR tree-optimization/58028
29421 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove
29424 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
29426 * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses
29427 not handled by recognizers.
29429 2014-03-03 Jakub Jelinek <jakub@redhat.com>
29431 PR middle-end/60175
29432 * function.c (expand_function_end): Don't emit
29433 clobber_return_register sequence if clobber_after is a BARRIER.
29434 * cfgexpand.c (construct_exit_block): Append instructions before
29435 return_label to prev_bb.
29437 2014-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29439 * config/rs6000/constraints.md: Document reserved use of "wc".
29441 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
29444 * ipa.c (function_and_variable_visibility): When dissolving comdat
29445 group, also set all symbols to local.
29447 2014-03-02 Jan Hubicka <hubicka@ucw.cz>
29452 2013-12-14 Jan Hubicka <jh@suse.cz>
29453 PR middle-end/58477
29454 * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers.
29456 2014-03-02 Jon Beniston <jon@beniston.com>
29462 * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect.
29463 (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed.
29464 * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support.
29465 (simple_return, *simple_return): New patterns
29466 * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete.
29467 * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32.
29469 2014-03-01 Paolo Carlini <paolo.carlini@oracle.com>
29471 * dwarf2out.c (gen_subprogram_die): Tidy.
29473 2014-03-01 Oleg Endo <olegendo@gcc.gnu.org>
29476 * config/sh/sh.md (*mov_t_msb_neg): Split into ...
29477 (*mov_t_msb_neg_negc): ... this new insn.
29479 2014-02-28 Jason Merrill <jason@redhat.com>
29482 * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared
29485 2014-02-28 Paolo Carlini <paolo.carlini@oracle.com>
29488 * dwarf2out.c (decltype_auto_die): New static.
29489 (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'.
29490 (gen_type_die_with_usage): Handle 'decltype(auto)'.
29491 (is_cxx_auto): Likewise.
29493 2014-02-28 Ian Bolton <ian.bolton@arm.com>
29495 * config/aarch64/aarch64.h: Define __ARM_NEON by default if
29496 we are not using general regs only.
29498 2014-02-28 Richard Biener <rguenther@suse.de>
29501 * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
29502 previous fix and only allow to remove trivial pre-headers
29503 and latches. Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
29504 (remove_forwarder_block): Properly update the latch of a loop.
29506 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
29509 * cselib.c (cselib_hasher::equal): Special-case VALUE lookup.
29510 (cselib_preserved_hash_table): New.
29511 (preserve_constants_and_equivs): Move preserved vals to it.
29512 (cselib_find_slot): Look it up first.
29513 (cselib_init): Initialize it.
29514 (cselib_finish): Release it.
29515 (dump_cselib_table): Dump it.
29517 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
29520 * cselib.c (remove_useless_values): Skip to avoid quadratic
29521 behavior if the condition moved from...
29522 (cselib_process_insn): ... here holds.
29524 2014-02-28 Alexandre Oliva <aoliva@redhat.com>
29527 * var-tracking.c (vt_initialize): Apply the same condition to
29528 preserve the CFA base value.
29530 2014-02-28 Joey Ye <joey.ye@arm.com>
29533 * config/arm/arm.c (thumb_far_jump_used_p): Don't change
29534 if reload in progress or completed.
29536 2014-02-28 Tobias Burnus <burnus@net-b.de>
29538 PR middle-end/60147
29539 * tree-pretty-print.c (dump_generic_node, print_declaration): Handle
29542 2014-02-27 H.J. Lu <hongjiu.lu@intel.com>
29544 * doc/tm.texi.in (Condition Code Status): Update documention for
29545 relative locations of cc0-setter and cc0-user.
29547 2014-02-27 Jeff Law <law@redhat.com>
29549 PR rtl-optimization/52714
29550 * combine.c (try_combine): When splitting an unrecognized PARALLEL
29551 into two independent simple sets, if I3 is a jump, ensure the
29552 pattern we place into I3 is a (set (pc) ...).
29554 2014-02-27 Mikael Pettersson <mikpe@it.uu.se>
29555 Jeff Law <law@redhat.com>
29557 PR rtl-optimization/49847
29558 * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
29559 are in different blocks.
29560 * doc/tm.texi (Condition Code Status): Update documention for
29561 relative locations of cc0-setter and cc0-user.
29563 2014-02-27 Vladimir Makarov <vmakarov@redhat.com>
29566 * lra.c (lra_emit_add): Check SUBREG too.
29568 2014-02-27 Andreas Schwab <schwab@suse.de>
29570 * config/m68k/m68k.c (m68k_option_override): Disable
29571 -flive-range-shrinkage for classic m68k.
29572 (m68k_override_options_after_change): Likewise.
29574 2014-02-27 Marek Polacek <polacek@redhat.com>
29576 PR middle-end/59223
29577 * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for
29578 -Wmaybe-uninitialized.
29580 2014-02-27 Alan Modra <amodra@gmail.com>
29583 * reload1.c (emit_input_reload_insns): When reload_override_in,
29584 set old to rl->in_reg when rl->in_reg is a subreg.
29586 2014-02-26 Richard Biener <rguenther@suse.de>
29589 * lra-assigns.c (spill_for): Avoid mixed-sign comparison.
29591 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
29593 * common/config/i386/predicates.md (const1256_operand): Remove.
29594 (const2356_operand): New.
29595 (const_1_to_2_operand): Remove.
29596 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
29597 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
29598 (*avx512pf_gatherpf<mode>sf): Ditto.
29599 (avx512pf_gatherpf<mode>df): Ditto.
29600 (*avx512pf_gatherpf<mode>df_mask): Ditto.
29601 (*avx512pf_gatherpf<mode>df): Ditto.
29602 (avx512pf_scatterpf<mode>sf): Ditto.
29603 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
29604 (*avx512pf_scatterpf<mode>sf): Ditto.
29605 (avx512pf_scatterpf<mode>df): Ditto.
29606 (*avx512pf_scatterpf<mode>df_mask): Ditto.
29607 (*avx512pf_scatterpf<mode>df): Ditto.
29608 * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0.
29610 2014-02-26 Ilya Tocar <ilya.tocar@intel.com>
29612 * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask),
29613 (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask),
29614 (_mm512_mask_testn_epi64_mask): Move to ...
29615 * config/i386/avx512cdintrin.h: Here.
29616 * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm.
29617 * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %.
29618 (avx512f_scalef<mode><mask_name><round_name>): Ditto.
29619 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to
29620 TARGET_AVX512F from TARGET_AVX512CD.
29622 2014-02-26 Richard Biener <rguenther@suse.de>
29625 * ipa.c (walk_polymorphic_call_targets): Properly guard
29626 call to inline_update_overall_summary.
29628 2014-02-26 Bin Cheng <bin.cheng@arm.com>
29631 * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders
29632 and latches only if requested. Fix latch if it is removed.
29633 * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
29634 LOOPS_HAVE_PREHEADERS.
29636 2014-02-25 Andrew Pinski <apinski@cavium.com>
29638 * builtins.c (expand_builtin_thread_pointer): Create a new target
29639 when the target is NULL.
29641 2014-02-25 Vladimir Makarov <vmakarov@redhat.com>
29643 PR rtl-optimization/60317
29644 * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
29645 * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New.
29646 * lra-assigns.c: Include params.h.
29647 (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for
29648 other reload pseudos considerations.
29650 2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29652 * config/rs6000/vector.md (*vector_unordered<mode>): Change split
29653 to use canonical form for nor<mode>3.
29655 2014-02-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
29658 * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
29661 2014-02-25 Ilya Tocar <ilya.tocar@intel.com>
29663 * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET),
29664 (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New.
29665 (ix86_handle_option): Handle OPT_mprefetchwt1.
29666 * config/i386/cpuid.h (bit_PREFETCHWT1): New.
29667 * config/i386/driver-i386.c (host_detect_local_cpu): Detect
29669 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
29670 OPTION_MASK_ISA_PREFETCHWT1.
29671 * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1.
29672 (PTA_PREFETCHWT1): New.
29673 (ix86_option_override_internal): Handle PTA_PREFETCHWT1.
29674 (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1.
29675 * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New.
29676 * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1
29677 (*prefetch_avx512pf_<mode>_: Change into ...
29678 (*prefetch_prefetchwt1_<mode>: This.
29679 * config/i386/i386.opt (mprefetchwt1): New.
29680 * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1.
29681 (_mm_prefetch): Handle intent to write.
29682 * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument.
29684 2014-02-25 Richard Biener <rguenther@suse.de>
29686 PR middle-end/60291
29687 * emit-rtl.c (mem_attrs_htab): Remove.
29688 (mem_attrs_htab_hash): Likewise.
29689 (mem_attrs_htab_eq): Likewise.
29690 (set_mem_attrs): Always allocate new mem-attrs when something changed.
29691 (init_emit_once): Do not allocate mem_attrs_htab.
29693 2014-02-25 Richard Biener <rguenther@suse.de>
29696 * lto-opts.c (lto_write_options): Output non-explicit conservative
29697 -fwrapv, -fno-trapv and -fno-strict-overflow.
29698 * lto-wrapper.c (merge_and_complain): Handle merging those options.
29699 (run_gcc): And pass them through.
29701 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
29703 * sel-sched.c (calculate_new_fences): New parameter ptime.
29704 Calculate it as a maximum over all fence cycles.
29705 (sel_sched_region_2): Adjust the call to calculate_new_fences.
29706 Print the final schedule timing when sched_verbose.
29708 2014-02-25 Andrey Belevantsev <abel@ispras.ru>
29710 PR rtl-optimization/60292
29711 * sel-sched.c (fill_vec_av_set): Do not reset target availability
29712 bit fot the fence instruction.
29714 2014-02-24 Alangi Derick <alangiderick@gmail.com>
29716 * calls.h: Fix typo in comment.
29718 2014-02-24 John David Anglin <danglin@gcc.gnu.org>
29720 * config/pa/pa.c (pa_output_move_double): Don't valididate when
29721 adjusting offsetable addresses.
29723 2014-02-24 Guozhi Wei <carrot@google.com>
29725 * sparseset.h (sparseset_pop): Fix the wrong index.
29727 2014-02-24 Walter Lee <walt@tilera.com>
29729 * config.gcc (tilepro-*-*): Change to tilepro*-*-*.
29730 (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe
29732 * common/config/tilegx/tilegx-common.c
29733 (TARGET_DEFAULT_TARGET_FLAGS): Define.
29734 * config/tilegx/linux.h (ASM_SPEC): Add endian_spec.
29735 (LINK_SPEC): Ditto.
29736 * config/tilegx/sync.md (atomic_test_and_set): Handle big endian.
29737 * config/tilegx/tilegx.c (tilegx_return_in_msb): New.
29738 (tilegx_gimplify_va_arg_expr): Handle big endian.
29739 (tilegx_expand_unaligned_load): Ditto.
29740 (tilegx_expand_unaligned_store): Ditto.
29741 (TARGET_RETURN_IN_MSB): New.
29742 * config/tilegx/tilegx.h (TARGET_DEFAULT): New.
29743 (TARGET_ENDIAN_DEFAULT): New.
29744 (TARGET_BIG_ENDIAN): Handle big endian.
29745 (BYTES_BIG_ENDIAN): Ditto.
29746 (WORDS_BIG_ENDIAN): Ditto.
29747 (FLOAT_WORDS_BIG_ENDIAN): Ditto.
29748 (ENDIAN_SPEC): New.
29749 (EXTRA_SPECS): New.
29750 * config/tilegx/tilegx.md (extv): Handle big endian.
29752 (insn_st<n>): Ditto.
29753 (insn_st<n>_add<bitsuffix>): Ditto.
29754 (insn_stnt<n>): Ditto.
29755 (insn_stnt<n>_add<bitsuffix>):Ditto.
29756 (vec_interleave_highv8qi): Handle big endian.
29757 (vec_interleave_highv8qi_be): New.
29758 (vec_interleave_highv8qi_le): New.
29759 (insn_v1int_h): Handle big endian.
29760 (vec_interleave_lowv8qi): Handle big endian.
29761 (vec_interleave_lowv8qi_be): New.
29762 (vec_interleave_lowv8qi_le): New.
29763 (insn_v1int_l): Handle big endian.
29764 (vec_interleave_highv4hi): Handle big endian.
29765 (vec_interleave_highv4hi_be): New.
29766 (vec_interleave_highv4hi_le): New.
29767 (insn_v2int_h): Handle big endian.
29768 (vec_interleave_lowv4hi): Handle big endian.
29769 (vec_interleave_lowv4hi_be): New.
29770 (vec_interleave_lowv4hi_le): New.
29771 (insn_v2int_l): Handle big endian.
29772 (vec_interleave_highv2si): Handle big endian.
29773 (vec_interleave_highv2si_be): New.
29774 (vec_interleave_highv2si_le): New.
29775 (insn_v4int_h): Handle big endian.
29776 (vec_interleave_lowv2si): Handle big endian.
29777 (vec_interleave_lowv2si_be): New.
29778 (vec_interleave_lowv2si_le): New.
29779 (insn_v4int_l): Handle big endian.
29780 * config/tilegx/tilegx.opt (mbig-endian): New option.
29781 (mlittle-endian): New option.
29782 * doc/install.texi: Document tilegxbe-linux.
29783 * doc/invoke.texi: Document -mbig-endian and -mlittle-endian.
29785 2014-02-24 Martin Jambor <mjambor@suse.cz>
29788 * ipa-cp.c (propagate_constants_accross_call): Bail out early if
29789 there are no parameter descriptors.
29791 2014-02-24 Andrey Belevantsev <abel@ispras.ru>
29793 PR rtl-optimization/60268
29794 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
29795 initialization to ...
29796 (sched_rgn_init): ... here.
29797 (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
29799 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
29801 * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
29804 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
29806 * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
29809 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
29811 * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk,
29812 define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK.
29814 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
29816 * config/microblaze/predicates.md: Add cmp_op predicate.
29817 * config/microblaze/microblaze.md: Add branch_compare instruction
29818 which uses cmp_op predicate and emits cmp insn before branch.
29819 * config/microblaze/microblaze.c (microblaze_emit_compare): Rename
29820 to microblaze_expand_conditional_branch and consolidate logic.
29821 (microblaze_expand_conditional_branch): emit branch_compare
29822 insn instead of handling cmp op separate from branch insn.
29824 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29826 * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
29829 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29831 * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
29832 define_insn with define_expand and new define_insn
29833 *altivec_lve<VI_char>x_internal.
29834 (altivec_stve<VI_char>x): Replace define_insn with define_expand
29835 and new define_insn *altivec_stve<VI_char>x_internal.
29836 * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New
29838 * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by
29840 (altivec_expand_stvex_be): New function.
29842 2014-02-22 Joern Rennecke <joern.rennecke@embecosm.com>
29844 * config/avr/avr.c (avr_can_eliminate): Allow elimination from
29845 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed.
29846 * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from
29847 ARG_POINTER_REGNUM to STACK_POINTER_REGNUM.
29849 2014-02-21 Vladimir Makarov <vmakarov@redhat.com>
29852 * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
29853 instead of emit_move_insn.
29855 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29857 * config/rs6000/altivec.md (altivec_vsumsws): Replace second
29858 vspltw with vsldoi.
29859 (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of
29860 gen_altivec_vsumsws.
29862 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
29864 * config/rs6000/altivec.md (altivec_lvxl): Rename as
29865 *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI.
29866 (altivec_lvxl_<mode>): New define_expand incorporating
29867 -maltivec=be semantics where needed.
29868 (altivec_lvx): Rename as *altivec_lvx_<mode>_internal.
29869 (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be
29870 semantics where needed.
29871 (altivec_stvx): Rename as *altivec_stvx_<mode>_internal.
29872 (altivec_stvx_<mode>): New define_expand incorporating
29873 -maltivec=be semantics where needed.
29874 (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use
29875 VM2 iterator instead of V4SI.
29876 (altivec_stvxl_<mode>): New define_expand incorporating
29877 -maltivec=be semantics where needed.
29878 * config/rs6000/rs6000-builtin.def: Add new built-in definitions
29879 LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI,
29880 LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF,
29881 STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF,
29882 STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI.
29883 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace
29884 ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout;
29885 similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and
29886 ALTIVEC_BUILTIN_STVXL.
29887 * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype.
29888 (altivec_expand_stvx_be): Likewise.
29889 * config/rs6000/rs6000.c (swap_selector_for_mode): New function.
29890 (altivec_expand_lvx_be): Likewise.
29891 (altivec_expand_stvx_be): Likewise.
29892 (altivec_expand_builtin): Add cases for
29893 ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>,
29894 ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>.
29895 (altivec_init_builtins): Add definitions for
29896 __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>,
29897 __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>.
29899 2014-02-21 Catherine Moore <clm@codesourcery.com>
29901 * doc/invoke.texi (mvirt, mno-virt): Document.
29902 * config/mips/mips.opt (mvirt): New option.
29903 * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler.
29905 2014-02-21 Richard Biener <rguenther@suse.de>
29907 PR tree-optimization/60276
29908 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
29909 (STMT_VINFO_MIN_NEG_DIST): New macro.
29910 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
29911 STMT_VINFO_MIN_NEG_DIST.
29912 * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
29913 made for negative dependence distances still hold.
29915 2014-02-21 Richard Biener <rguenther@suse.de>
29917 PR middle-end/60291
29918 * tree-ssa-live.c (mark_all_vars_used_1): Do not walk
29919 DECL_INITIAL for globals not in the current function context.
29921 2014-02-21 Jakub Jelinek <jakub@redhat.com>
29923 PR tree-optimization/56490
29924 * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
29925 * tree-ssa-uninit.c: Include params.h.
29926 (compute_control_dep_chain): Add num_calls argument, return false
29927 if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
29928 num_calls to recursive call.
29929 (find_predicates): Change dep_chain into normal array,
29930 cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls
29931 variable and adjust compute_control_dep_chain caller.
29932 (find_def_preds): Likewise.
29934 2014-02-21 Thomas Schwinge <thomas@codesourcery.com>
29936 * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW]
29937 <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement.
29939 2014-02-21 Nick Clifton <nickc@redhat.com>
29941 * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc.
29942 (pushhi1): Likewise.
29943 (popqi1): Add mode to pre_dec.
29944 (pophi1): Likewise.
29946 2014-02-21 Jakub Jelinek <jakub@redhat.com>
29948 * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
29949 mode for mask of V8SFmode permutation.
29951 2014-02-20 Richard Henderson <rth@redhat.com>
29954 * builtins.c (expand_builtin_atomic_compare_exchange): Always make
29955 a new pseudo for OLDVAL.
29957 2014-02-20 Jakub Jelinek <jakub@redhat.com>
29960 * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
29961 gen_reg_rtx if d->testing_p.
29962 (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early
29963 if d->testing_p and we will certainly return true.
29964 (expand_vec_perm_even_odd_1): Likewise. Don't call gen_reg_rtx
29967 2014-02-20 Uros Bizjak <ubizjak@gmail.com>
29969 * emit-rtl.c (gen_reg_rtx): Assert that
29970 crtl->emit.regno_pointer_align_length is non-zero.
29972 2014-02-20 Richard Henderson <rth@redhat.com>
29975 * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize
29976 on failure the store back into EXPECT.
29978 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com>
29979 Sandra Loosemore <sandra@codesourcery.com>
29981 * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum.
29982 * config/nios2/nios2.c (nios2_function_profiler): Add
29983 -fPIC (flag_pic == 2) support.
29984 (nios2_handle_custom_fpu_cfg): Fix warning parameter.
29985 (nios2_large_offset_p): New function.
29986 (nios2_unspec_reloc_p): Move up position, update to use
29987 nios2_large_offset_p.
29988 (nios2_unspec_address): Remove function.
29989 (nios2_unspec_offset): New function.
29990 (nios2_large_got_address): New function.
29991 (nios2_got_address): Add large offset support.
29992 (nios2_legitimize_tls_address): Update usage of removed and new
29994 (nios2_symbol_binds_local_p): New function.
29995 (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support.
29996 (nios2_legitimize_address): Update to use nios2_large_offset_p.
29997 (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)).
29998 (nios2_print_operand): Merge H/L processing, add hiadj/lo
29999 processing for (const (unspec ...)).
30000 (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case.
30002 2014-02-20 Richard Biener <rguenther@suse.de>
30004 * tree-cfg.c (replace_uses_by): Mark altered BBs before
30005 doing the substitution.
30006 (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs.
30008 2014-02-20 Martin Jambor <mjambor@suse.cz>
30011 * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct
30012 info when checking whether lattices are bottom.
30014 2014-02-20 Richard Biener <rguenther@suse.de>
30016 PR middle-end/60221
30017 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
30020 2014-02-20 Jan Hubicka <hubicka@ucw.cz>
30023 * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale
30024 parameter specifying the scaling.
30025 (inline_call): Update.
30026 (want_inline_recursively): Guard division by zero.
30027 (recursive_inlining): Update.
30028 * ipa-inline.h (clone_inlined_nodes): Update.
30030 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
30033 * config/i386/i386.c (classify_argument): Pass structures of size
30034 64 bytes or less in register.
30036 2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
30037 Kirill Yukhin <kirill.yukhin@intel.com>
30039 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands.
30040 (_mm_rcp28_round_ss): Ditto.
30041 (_mm_rsqrt28_round_sd): Ditto.
30042 (_mm_rsqrt28_round_ss): Ditto.
30043 * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto.
30044 (_mm_rcp14_round_ss): Ditto.
30045 (_mm_rsqrt14_round_sd): Ditto.
30046 (_mm_rsqrt14_round_ss): Ditto.
30047 * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as
30048 the first input operand, get rid of match_dup.
30049 (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type
30051 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
30053 (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate
30054 operand as the first input operand, set type attribute.
30055 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
30056 Set type attribute.
30057 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate
30058 operand as the first input operand, set type attribute.
30060 2014-02-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30062 * config/rs6000/rs6000.c (vspltis_constant): Fix most significant
30065 2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
30068 * config/i386/i386.c (construct_container): Remove TFmode check
30069 for X86_64_INTEGER_CLASS.
30071 2014-02-19 Uros Bizjak <ubizjak@gmail.com>
30074 * config/i386/i386.c (type_natural_mode): Warn for ABI changes
30075 only when -Wpsabi is enabled.
30077 2014-02-19 Michael Hudson-Doyle <michael.hudson@linaro.org>
30080 * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for
30081 passing arrays in registers are the same as for structs, so remove the
30082 special case for them.
30084 2014-02-19 Eric Botcazou <ebotcazou@adacore.com>
30086 * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field
30087 destination type, extract only the valid bits if the source type is not
30088 integral and has a different mode.
30090 2014-02-19 Richard Biener <rguenther@suse.de>
30093 * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node
30096 2014-02-19 Richard Biener <rguenther@suse.de>
30099 * ipa-prop.c: Include stringpool.h and tree-ssanames.h.
30100 (ipa_modify_call_arguments): Emit an argument load explicitely and
30101 preserve virtual SSA form there and for the replacement call.
30102 Do not update SSA form nor free dominance info.
30104 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
30106 * ipa.c (function_and_variable_visibility): Also clear WEAK
30107 flag when disolving COMDAT_GROUP.
30109 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
30111 * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment.
30112 * ipa-prop.c (ipa_set_jf_known_type): Return early when
30113 not devirtualizing.
30114 (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved;
30115 do more sanity checks.
30116 (detect_type_change): Return true when giving up early.
30117 (compute_complex_assign_jump_func): Fix type parameter of
30118 ipa_set_ancestor_jf.
30119 (compute_complex_ancestor_jump_func): Likewise.
30120 (update_jump_functions_after_inlining): Fix updating of
30122 * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL.
30124 2014-02-18 Jan Hubicka <hubicka@ucw.cz>
30126 * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove
30127 inline clones when edge disappears.
30129 2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
30132 * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves):
30133 Split 64-bit moves into 2 patterns. Do not allow the use of
30134 direct move for TDmode in little endian, since the decimal value
30135 has little endian bytes within a word, but the 64-bit pieces are
30136 ordered in a big endian fashion, and normal subreg's of TDmode are
30138 (mov<mode>_64bit_dm): Likewise.
30139 (movtd_64bit_nodm): Likewise.
30141 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
30143 PR tree-optimization/60174
30144 * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining
30145 statement of an SSA_NAME that occurs in an abnormal PHI node.
30147 2014-02-18 Jakub Jelinek <jakub@redhat.com>
30150 * final.c (SEEN_BB): Remove.
30151 (SEEN_NOTE, SEEN_EMITTED): Renumber.
30152 (final_scan_insn): Don't force_source_line on second
30153 NOTE_INSN_BASIC_BLOCK.
30155 2014-02-18 Uros Bizjak <ubizjak@gmail.com>
30158 * config/i386/i386.h (struct ix86_args): Add warn_avx512f.
30159 * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f.
30160 (type_natural_mode): Warn ABI change when %zmm register is not
30161 available for AVX512F vector value passing.
30163 2014-02-18 Kai Tietz <ktietz@redhat.com>
30166 * config/i386/i386.c (ix86_expand_prologue): Use value in
30167 rax register as displacement when restoring %r10 or %rax.
30168 Fix wrong offset when restoring both registers.
30170 2014-02-18 Eric Botcazou <ebotcazou@adacore.com>
30172 * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
30173 assertion with conditional return.
30175 2014-02-18 Jakub Jelinek <jakub@redhat.com>
30176 Uros Bizjak <ubizjak@gmail.com>
30179 * config/i386/driver-i386.c (host_detect_local_cpu): If
30180 YMM state is not saved by the OS, also clear has_f16c. Move
30181 CPUID 0x80000001 handling before YMM state saving checking.
30183 2014-02-18 Andrey Belevantsev <abel@ispras.ru>
30185 PR rtl-optimization/58960
30186 * haifa-sched.c (alloc_global_sched_pressure_data): New,
30187 factored out from ...
30188 (sched_init): ... here.
30189 (free_global_sched_pressure_data): New, factored out from ...
30190 (sched_finish): ... here.
30191 * sched-int.h (free_global_sched_pressure_data): Declare.
30192 * sched-rgn.c (nr_regions_initial): New static global.
30193 (haifa_find_rgns): Initialize it.
30194 (schedule_region): Disable sched-pressure for the newly
30197 2014-02-17 Richard Biener <rguenther@suse.de>
30199 * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and
30200 release SSA defs of pattern stmts.
30202 2014-02-17 Richard Biener <rguenther@suse.de>
30204 * tree-inline.c (expand_call_inline): Release the virtual
30205 operand defined by the call we are about to inline.
30207 2014-02-17 Richard Biener <rguenther@suse.de>
30209 * tree-ssa.c (verify_ssa): If verify_def found an error, ICE.
30211 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com>
30212 Ilya Tocar <ilya.tocar@intel.com>
30214 * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap
30215 arguments order in builtin.
30216 (_mm512_permutexvar_epi64): Ditto.
30217 (_mm512_mask_permutexvar_epi64): Ditto
30218 (_mm512_maskz_permutexvar_epi32): Ditto
30219 (_mm512_permutexvar_epi32): Ditto
30220 (_mm512_mask_permutexvar_epi32): Ditto
30222 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30224 * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets.
30225 (p8_vmrgow): Likewise.
30227 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30229 * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little
30232 2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
30235 * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints.
30236 (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves
30237 into 64-bit and 32-bit moves. On 64-bit moves, add support for
30238 using direct move instructions on ISA 2.07. Also adjust
30239 instruction length for 64-bit.
30240 (mov<mode>_64bit, TFmode/TDmode): Likewise.
30241 (mov<mode>_32bit, TFmode/TDmode): Likewise.
30243 2014-02-15 Alan Modra <amodra@gmail.com>
30247 * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use
30248 find_replacement on parts of insn rtl that might be reloaded.
30250 2014-02-15 Richard Biener <rguenther@suse.de>
30252 PR tree-optimization/60183
30253 * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads.
30254 (tree_ssa_phiprop): Calculate and free post-dominators.
30256 2014-02-14 Jeff Law <law@redhat.com>
30258 PR rtl-optimization/60131
30259 * ree.c (get_extended_src_reg): New function.
30260 (combine_reaching_defs): Use it rather than assuming location of REG.
30261 (find_and_remove_re): Verify first operand of extension is
30262 a REG before adding the insns to the copy list.
30264 2014-02-14 Roland McGrath <mcgrathr@google.com>
30266 * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic.
30267 * configure: Regenerated.
30268 * config.in: Regenerated.
30269 * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic
30270 instead of ASM_SHORT.
30272 2014-02-14 Vladimir Makarov <vmakarov@redhat.com>
30273 Richard Earnshaw <rearnsha@arm.com>
30275 PR rtl-optimization/59535
30276 * lra-constraints.c (process_alt_operands): Encourage alternative
30277 when unassigned pseudo class is superset of the alternative class.
30278 (inherit_reload_reg): Don't inherit when optimizing for code size.
30279 * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA
30280 returning CORE_REGS for anything but Thumb1 and BASE_REGS for
30281 modes not less than 4 for Thumb1.
30283 2014-02-14 Kyle McMartin <kyle@redhat.com>
30286 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64.
30288 2014-02-14 Richard Biener <rguenther@suse.de>
30290 * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF.
30291 (get_frame_arg): Drop the assert with langhook types_compatible_p.
30292 Do not strip INDIRECT_REFs.
30294 2014-02-14 Richard Biener <rguenther@suse.de>
30297 * lto-streamer-out.c (DFS_write_tree_body): Do not follow
30298 DECL_FUNCTION_SPECIFIC_TARGET.
30299 (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET.
30300 * tree-streamer-out.c (pack_ts_target_option): Remove.
30301 (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION.
30302 (write_ts_function_decl_tree_pointers): Do not stream
30303 DECL_FUNCTION_SPECIFIC_TARGET.
30304 * tree-streamer-in.c (unpack_ts_target_option): Remove.
30305 (unpack_value_fields): Do not stream TS_TARGET_OPTION.
30306 (lto_input_ts_function_decl_tree_pointers): Do not stream
30307 DECL_FUNCTION_SPECIFIC_TARGET.
30309 2014-02-14 Jakub Jelinek <jakub@redhat.com>
30311 * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice.
30312 (get_initial_def_for_induction, vectorizable_induction): Ignore
30313 debug stmts when looking for exit_phi.
30314 (vectorizable_live_operation): Fix up condition.
30316 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
30318 * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use
30319 nreverse() because it changes the content of original tree list.
30321 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
30323 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
30324 * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
30326 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com>
30328 * config/nds32/nds32.c (nds32_naked_function_p): Follow the
30329 GNU coding standards.
30331 2014-02-13 Jakub Jelinek <jakub@redhat.com>
30334 * dwarf2out.c (gen_subprogram_die): Don't call
30335 add_calling_convention_attribute if subr_die is old_die.
30337 2014-02-13 Sharad Singhai <singhai@google.com>
30339 * doc/optinfo.texi: Fix order of nodes.
30341 2014-02-13 Uros Bizjak <ubizjak@gmail.com>
30343 * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
30344 operands[2], not operands[3].
30346 2014-02-13 Richard Biener <rguenther@suse.de>
30349 * doc/install.texi (ISL): Update recommended version to 0.12.2,
30350 mention the possibility of an in-tree build.
30351 (CLooG): Update recommended version to 0.18.1, mention the
30352 possibility of an in-tree build and clarify that the ISL
30353 bundled with CLooG does not work.
30355 2014-02-13 Jakub Jelinek <jakub@redhat.com>
30358 * expr.c (compress_float_constant): If x is a hard register,
30359 extend into a pseudo and then move to x.
30361 2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com>
30363 * config/s390/s390.c (s390_asm_output_function_label): Fix crash
30364 caused by bad second argument to warning_at() with -mhotpatch and
30365 nested functions (e.g. with gfortran).
30367 2014-02-13 Richard Sandiford <rdsandiford@googlemail.com>
30369 * opts.c (option_name): Remove "enabled by default" rider.
30371 2014-02-12 John David Anglin <danglin@gcc.gnu.org>
30373 * config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
30375 2014-02-12 H.J. Lu <hongjiu.lu@intel.com>
30376 Uros Bizjak <ubizjak@gmail.com>
30379 * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
30380 * configure: Regenerated.
30382 2014-02-12 Richard Biener <rguenther@suse.de>
30384 * vec.c (vec_prefix::calculate_allocation): Move as
30385 inline variant to vec.h.
30386 (vec_prefix::calculate_allocation_1): New out-of-line version.
30387 * vec.h (vec_prefix::calculate_allocation_1): Declare.
30388 (vec_prefix::m_has_auto_buf): Rename to ...
30389 (vec_prefix::m_using_auto_storage): ... this.
30390 (vec_prefix::calculate_allocation): Inline the easy cases
30391 and dispatch to calculate_allocation_1 which doesn't need the
30393 (va_heap::reserve): Use gcc_checking_assert.
30394 (vec<T, A, vl_embed>::embedded_init): Add argument to initialize
30395 m_using_auto_storage.
30396 (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
30398 (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
30399 (vec<T, va_heap, vl_ptr>::release): Avoid casting.
30400 (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
30402 2014-02-12 Richard Biener <rguenther@suse.de>
30404 * gcse.c (compute_transp): break from loop over canon_modify_mem_list
30405 when we found a dependence.
30407 2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
30409 * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
30411 (maybe_fold_stmt): ... into this new function.
30412 * omp-low.c (lower_omp): Update comment.
30414 * omp-low.c (lower_omp_target): Add clobber for sizes array, after
30417 * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
30420 2014-02-12 James Greenhalgh <james.greenhalgh@arm.com>
30422 * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
30423 identifiers in comments.
30424 (cortexa53_extra_costs): Likewise.
30425 * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments.
30426 (cortexa7_extra_costs): Likewise.
30427 (cortexa12_extra_costs): Likewise.
30428 (cortexa15_extra_costs): Likewise.
30429 (v7m_extra_costs): Likewise.
30431 2014-02-12 Richard Biener <rguenther@suse.de>
30433 PR middle-end/60092
30434 * gimple-low.c (lower_builtin_posix_memalign): Lower conditional
30435 of posix_memalign being successful.
30436 (lower_stmt): Restrict lowering of posix_memalign to when
30437 -ftree-bit-ccp is enabled.
30439 2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
30441 * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for
30443 * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
30445 2014-02-12 Eric Botcazou <ebotcazou@adacore.com>
30447 PR rtl-optimization/60116
30448 * combine.c (try_combine): Also remove dangling REG_DEAD notes on the
30449 other_insn once the combination has been validated.
30451 2014-02-11 Jan Hubicka <hubicka@ucw.cz>
30454 * ipa-utils.h (possible_polymorphic_call_targets): Update prototype
30456 * ipa-devirt.c: Include demangle.h
30457 (odr_violation_reported): New static variable.
30458 (add_type_duplicate): Update odr_violations.
30459 (maybe_record_node): Add completep parameter; update it.
30460 (record_target_from_binfo): Add COMPLETEP parameter;
30461 update it as needed.
30462 (possible_polymorphic_call_targets_1): Likewise.
30463 (struct polymorphic_call_target_d): Add nonconstruction_targets;
30464 rename FINAL to COMPLETE.
30465 (record_targets_from_bases): Sanity check we found the binfo;
30466 fix COMPLETEP updating.
30467 (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
30468 parameter, fix computing of COMPLETEP.
30469 (dump_possible_polymorphic_call_targets): Imrove readability of dump;
30470 at LTO time do demangling.
30471 (ipa_devirt): Use nonconstruction_targets; Improve dumps.
30472 * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
30474 (gimple_get_virt_method_for_binfo): Likewise.
30475 * gimple-fold.h (gimple_get_virt_method_for_binfo,
30476 gimple_get_virt_method_for_vtable): Update prototypes.
30478 2014-02-11 Vladimir Makarov <vmakarov@redhat.com>
30481 * genautomata.c (add_presence_absence): Fix typo with
30482 {final_}presence_list.
30484 2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com>
30487 * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
30488 for VSX/Altivec vectors that land in GPR registers.
30490 2014-02-11 Richard Henderson <rth@redhat.com>
30491 Jakub Jelinek <jakub@redhat.com>
30494 * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
30495 around drhs if type conversion to lacc->type is not useless.
30497 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30499 * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
30501 (cortex-a57.cortex-a53): Likewise.
30502 * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
30504 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30506 * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
30509 2014-02-11 Renlin Li <Renlin.Li@arm.com>
30511 * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
30512 add_options_for_arm_vfp3.
30514 2014-02-11 Jeff Law <law@redhat.com>
30516 PR middle-end/54041
30517 * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
30518 object with an undesirable mode.
30520 2014-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
30523 * config/i386/sol2-9.h: New file.
30524 * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
30525 *-*-solaris2.9*): Use it.
30527 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
30529 * config/microblaze/microblaze.md: Add movsi4_rev insn pattern.
30530 * config/microblaze/predicates.md: Add reg_or_mem_operand predicate.
30532 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com>
30534 * config/microblaze/microblaze.c: Extend mcpu version format
30536 2014-02-10 David Holsgrove <david.holsgrove@xilinx.com>
30538 * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE.
30540 2014-02-10 Richard Henderson <rth@redhat.com>
30543 * calls.c (expand_call): Don't double-push for reg_parm_stack_space.
30544 * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit
30545 ms-abi vs -mno-accumulate-outgoing-args.
30546 (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p.
30547 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with
30550 2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
30552 PR middle-end/60080
30553 * cfgexpand.c (expand_asm_operands): Attach source location to
30554 ASM_INPUT rtx objects.
30555 * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
30557 2014-02-10 Nick Clifton <nickc@redhat.com>
30559 * config/mn10300/mn10300.c (popcount): New function.
30560 (mn10300_expand_prologue): Include saved registers in stack usage
30563 2014-02-10 Jeff Law <law@redhat.com>
30565 PR middle-end/52306
30566 * reload1.c (emit_input_reload_insns): Do not create invalid RTL
30567 when changing the SET_DEST of a prior insn to avoid an input reload.
30569 2014-02-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30571 * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce
30572 big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd,
30573 -mcall-openbsd, or -mcall-linux.
30574 (CC1_ENDIAN_BIG_SPEC): Remove.
30575 (CC1_ENDIAN_LITTLE_SPEC): Remove.
30576 (CC1_ENDIAN_DEFAULT_SPEC): Remove.
30577 (CC1_SPEC): Remove (always empty) %cc1_endian_... spec.
30578 (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little,
30579 and %cc1_endian_default.
30580 * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove.
30582 2014-02-10 Richard Biener <rguenther@suse.de>
30584 PR tree-optimization/60115
30585 * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and
30586 MEM_REF handling. Properly verify that the accesses are not
30587 out of the objects bound.
30589 2014-02-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30591 * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from
30594 2014-02-10 Eric Botcazou <ebotcazou@adacore.com>
30596 * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return
30597 proper constants and fix formatting.
30598 (possible_polymorphic_call_targets): Fix formatting.
30600 2014-02-10 Kirill Yukhin <kirill.yukhin@intel.com>
30601 Ilya Tocar <ilya.tocar@intel.com>
30603 * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed.
30604 (_mm512_loadu_epi32): Renamed into...
30605 (_mm512_loadu_si512): This.
30606 (_mm512_storeu_epi32): Renamed into...
30607 (_mm512_storeu_si512): This.
30608 (_mm512_maskz_ceil_ps): Removed.
30609 (_mm512_maskz_ceil_pd): Ditto.
30610 (_mm512_maskz_floor_ps): Ditto.
30611 (_mm512_maskz_floor_pd): Ditto.
30612 (_mm512_floor_round_ps): Ditto.
30613 (_mm512_floor_round_pd): Ditto.
30614 (_mm512_ceil_round_ps): Ditto.
30615 (_mm512_ceil_round_pd): Ditto.
30616 (_mm512_mask_floor_round_ps): Ditto.
30617 (_mm512_mask_floor_round_pd): Ditto.
30618 (_mm512_mask_ceil_round_ps): Ditto.
30619 (_mm512_mask_ceil_round_pd): Ditto.
30620 (_mm512_maskz_floor_round_ps): Ditto.
30621 (_mm512_maskz_floor_round_pd): Ditto.
30622 (_mm512_maskz_ceil_round_ps): Ditto.
30623 (_mm512_maskz_ceil_round_pd): Ditto.
30624 (_mm512_expand_pd): Ditto.
30625 (_mm512_expand_ps): Ditto.
30626 * config/i386/i386.c (ix86_builtins): Remove
30627 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK.
30628 (bdesc_args): Ditto.
30629 * config/i386/predicates.md (const1256_operand): New.
30630 (const_1_to_2_operand): Ditto.
30631 * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value.
30632 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
30633 (*avx512pf_gatherpf<mode>sf): Ditto.
30634 (avx512pf_gatherpf<mode>df): Ditto.
30635 (*avx512pf_gatherpf<mode>df_mask): Ditto.
30636 (*avx512pf_gatherpf<mode>df): Ditto.
30637 (avx512pf_scatterpf<mode>sf): Ditto.
30638 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
30639 (*avx512pf_scatterpf<mode>sf): Ditto.
30640 (avx512pf_scatterpf<mode>df): Ditto.
30641 (*avx512pf_scatterpf<mode>df_mask): Ditto.
30642 (*avx512pf_scatterpf<mode>df): Ditto.
30643 (avx512f_expand<mode>): Removed.
30644 (<shift_insn><mode>3<mask_name>): Change predicate type.
30646 2014-02-08 Jakub Jelinek <jakub@redhat.com>
30648 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers
30649 not at the end of datarefs vector use ordered_remove to avoid
30650 reordering datarefs vector.
30653 * gimplify.c (gimplify_bind_expr): In ORT_SIMD region
30654 mark local addressable non-static vars as GOVD_PRIVATE
30655 instead of GOVD_LOCAL.
30656 * omp-low.c (lower_omp_for): Move gimple_bind_vars
30657 and BLOCK_VARS of gimple_bind_block to new_stmt rather
30660 PR middle-end/60092
30661 * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true
30662 if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain
30663 assume_aligned or alloc_align attributes.
30664 (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN
30665 arguments. Handle also assume_aligned and alloc_align attributes.
30666 (evaluate_stmt): Adjust bit_value_assume_aligned caller. Handle
30667 calls to functions with assume_aligned or alloc_align attributes.
30668 * doc/extend.texi: Document assume_aligned and alloc_align attributes.
30670 2014-02-08 Terry Guo <terry.guo@arm.com>
30672 * doc/invoke.texi: Document ARM -march=armv7e-m.
30674 2014-02-08 Jakub Jelinek <jakub@redhat.com>
30676 * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
30677 flag on __cilkrts_rethrow builtin.
30680 * ipa-cp.c (determine_versionability): Fail at -O0
30681 or __attribute__((optimize (0))) or -fno-ipa-cp functions.
30682 * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.
30685 2014-02-04 Jakub Jelinek <jakub@redhat.com>
30688 * tree-inline.c (copy_forbidden): Fail for
30689 __attribute__((optimize (0))) functions.
30691 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
30693 * varpool.c: Include pointer-set.h.
30694 (varpool_remove_unreferenced_decls): Variables in other partitions
30695 will not be output; be however careful to not lose information
30696 about partitioning.
30698 2014-02-07 Jan Hubicka <hubicka@ucw.cz>
30700 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1)
30701 lookup in the vtable constructor.
30703 2014-02-07 Jeff Law <law@redhat.com>
30706 * config/m68k/m68k.md (ashldi_extsi): Turn into a
30707 define_insn_and_split.
30709 * ipa-inline.c (inline_small_functions): Fix typos.
30711 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
30713 * config/s390/s390-protos.h (s390_can_use_simple_return_insn)
30714 (s390_can_use_return_insn): Declare.
30715 * config/s390/s390.h (EPILOGUE_USES): Define.
30716 * config/s390/s390.c (s390_mainpool_start): Allow two main_pool
30718 (s390_chunkify_start): Handle return JUMP_LABELs.
30719 (s390_early_mach): Emit a main_pool instruction on the entry edge.
30720 (s300_set_up_by_prologue, s390_can_use_simple_return_insn)
30721 (s390_can_use_return_insn): New functions.
30722 (s390_fix_long_loop_prediction): Handle conditional returns.
30723 (TARGET_SET_UP_BY_PROLOGUE): Define.
30724 * config/s390/s390.md (ANY_RETURN): New code iterator.
30725 (*creturn, *csimple_return, return, simple_return): New patterns.
30727 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
30729 * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
30730 notes to each restore. Also add REG_CFA_DEF_CFA when restoring %r15.
30731 (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P. Update the
30732 REG_CFA_RESTORE list when deciding not to restore a register.
30734 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
30736 * config/s390/s390.c: Include tree-pass.h and context.h.
30737 (s390_early_mach): New function, split out from...
30738 (s390_emit_prologue): ...here.
30739 (pass_data_s390_early_mach): New pass structure.
30740 (pass_s390_early_mach): New class.
30741 (s390_option_override): Create and register early_mach pass.
30742 Move to end of file.
30744 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
30746 * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts
30747 to match for the exit block.
30749 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30751 * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>")
30752 ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"):
30753 Reject misaligned operands.
30755 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30757 * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail.
30759 2014-02-07 Richard Biener <rguenther@suse.de>
30761 PR middle-end/60092
30762 * gimple-low.c (lower_builtin_posix_memalign): New function.
30763 (lower_stmt): Call it to lower posix_memalign in a way
30764 to make alignment info accessible.
30766 2014-02-07 Jakub Jelinek <jakub@redhat.com>
30769 * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
30770 __builtin_setjmp_receiver.
30772 2014-02-07 Richard Biener <rguenther@suse.de>
30774 PR middle-end/60092
30775 * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add.
30776 * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise.
30777 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
30778 Handle BUILT_IN_POSIX_MEMALIGN.
30779 (find_func_clobbers): Likewise.
30780 * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
30781 (call_may_clobber_ref_p_1): Likewise.
30783 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
30786 * ipa-devirt.c (record_target_from_binfo): Remove overactive
30789 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
30792 * lto-cgraph.c (lto_output_node): Use
30793 symtab_get_symbol_partitioning_class.
30794 (lto_output_varpool_node): likewise.
30795 (symtab_get_symbol_partitioning_class): Move here from
30796 lto/lto-partition.c
30797 * cgraph.h (symbol_partitioning_class): Likewise.
30798 (symtab_get_symbol_partitioning_class): Declare.
30800 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
30802 * ggc.h (ggc_internal_cleared_alloc): New macro.
30803 * vec.h (vec_safe_copy): Handle memory stats.
30804 * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc.
30805 * target-globals.c (save_target_globals): Likewise.
30807 2014-02-06 Jan Hubicka <hubicka@ucw.cz>
30810 * expr.c (emit_move_resolve_push): Export; be bit more selective
30811 on when to clear alias set.
30812 * expr.h (emit_move_resolve_push): Declare.
30813 * function.h (struct function): Add tail_call_marked.
30814 * tree-tailcall.c (optimize_tail_call): Set tail_call_marked.
30815 * config/i386/i386-protos.h (ix86_expand_push): Remove.
30816 * config/i386/i386.md (TImode move expander): De not call
30818 (FP push expanders): Preserve memory attributes.
30819 * config/i386/sse.md (push<mode>1): Remove.
30820 * config/i386/i386.c (ix86_expand_vector_move): Handle push operation.
30821 (ix86_expand_push): Remove.
30822 * config/i386/mmx.md (push<mode>1): Remove.
30824 2014-02-06 Jakub Jelinek <jakub@redhat.com>
30826 PR rtl-optimization/60030
30827 * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround
30828 lopart with paradoxical subreg before shifting it up by hprec.
30830 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30832 * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table.
30833 Remove extra newline at end of file.
30834 * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct.
30835 (arm_issue_rate): Handle cortexa57.
30836 * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning.
30837 (cortex-a57.cortex-a53): Likewise.
30839 2014-02-06 Jakub Jelinek <jakub@redhat.com>
30842 * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument,
30843 don't record in REG_FRAME_RELATED_EXPR registers not set in that
30845 (arm_expand_prologue): Adjust all callers.
30846 (arm_unwind_emit_sequence): Allow saved, but not important for unwind
30847 info, registers also at the lowest numbered registers side. Use
30848 gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of
30852 * var-tracking.c (adjust_mems): Before adding a SET to
30853 amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx.
30855 2014-02-06 Alan Modra <amodra@gmail.com>
30858 * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only
30859 change SDmode to DDmode when lra_in_progress.
30861 2014-02-06 Jakub Jelinek <jakub@redhat.com>
30863 PR middle-end/59150
30864 * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call
30865 free_data_ref on the dr first, and before goto again also set dr
30866 to the next dr. For simd_lane_access, free old datarefs[i] before
30867 overwriting it. For get_vectype_for_scalar_type failure, don't
30868 free_data_ref if simd_lane_access.
30870 * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER).
30873 * tree.h (opts_for_fn): New inline function.
30874 (opt_for_fn): Define.
30875 * config/i386/i386.c (ix86_function_regparm): Use
30876 opt_for_fn (decl, optimize) instead of optimize.
30878 2014-02-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
30880 * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic
30881 for SYMBOL_REF in large memory model.
30883 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
30885 * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
30886 and crypto support.
30887 (cortex-a57): Likewise.
30888 (cortex-a57.cortex-a53): Likewise.
30890 2014-02-06 Yury Gribov <y.gribov@samsung.com>
30891 Kugan Vivekanandarajah <kuganv@linaro.org>
30893 * config/arm/arm.c (arm_vector_alignment_reachable): Check
30895 * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
30897 2014-02-06 Richard Biener <rguenther@suse.de>
30899 * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
30900 set_loop_copy and initialize_original_copy_tables.
30902 2014-02-06 Alex Velenko <Alex.Velenko@arm.com>
30904 * config/aarch64/aarch64-simd.md
30905 (aarch64_ashr_simddi): Change QI to SI.
30907 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
30908 Jakub Jelinek <jakub@redhat.com>
30910 PR middle-end/60013
30911 * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
30914 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30916 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change
30917 CODE_FOR_altivec_vpku[hw]um to
30918 CODE_FOR_altivec_vpku[hw]um_direct.
30919 * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change
30920 UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT.
30921 (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to
30922 UNSPEC_VUNPACK_LO_SIGN_DIRECT.
30924 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30926 * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code
30927 generation for -maltivec=be.
30928 (altivec_vsumsws): Simplify redundant test.
30930 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
30932 * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec.
30933 (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise.
30934 (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise.
30935 (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of
30936 gen_altivec_vpkuwum.
30937 (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for
30939 (altivec_vpks<VI_char>ss): Likewise.
30940 (altivec_vpks<VI_char>us): Likewise.
30941 (altivec_vpku<VI_char>us): Likewise.
30942 (altivec_vpku<VI_char>um): Likewise.
30943 (altivec_vpku<VI_char>um_direct): New (copy of
30944 altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for
30946 (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when
30947 target is little endian and -maltivec=be is not specified.
30948 (*altivec_vupkhs<VU_char>_direct): New (copy of
30949 altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use).
30950 (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when
30951 target is little endian and -maltivec=be is not specified.
30952 (*altivec_vupkls<VU_char>_direct): New (copy of
30953 altivec_vupkls<VU_char> that always emits vupkls*, for internal use).
30954 (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is
30955 little endian and -maltivec=be is not specified.
30956 (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is
30957 little endian and -maltivec=be is not specified.
30959 2014-02-05 Richard Henderson <rth@redhat.com>
30962 * combine-stack-adj.c: Revert r206943.
30963 * sched-int.h (struct deps_desc): Add last_args_size.
30964 * sched-deps.c (init_deps): Initialize it.
30965 (sched_analyze_insn): Add OUTPUT dependencies between insns that
30966 contain REG_ARGS_SIZE notes.
30968 2014-02-05 Jan Hubicka <hubicka@ucw.cz>
30970 * lto-cgraph.c (asm_nodes_output): Make global.
30971 * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA.
30972 * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter
30973 (driver_handle_option): Handle OPT_fwpa.
30975 2014-02-05 Jakub Jelinek <jakub@redhat.com>
30978 * ipa-devirt.c (possible_polymorphic_call_targets): Fix
30979 a comment typo and formatting issue. If odr_hash hasn't been
30980 created, return vNULL and set *completep to false.
30982 PR middle-end/57499
30983 * tree-eh.c (cleanup_empty_eh): Bail out on totally empty
30984 bb with no successors.
30986 2014-02-05 James Greenhalgh <james.greenhalgh@arm.com>
30989 * doc/invoke.texi (-march): Clarify documentation for ARM.
30990 (-mtune): Likewise.
30993 2014-02-05 Richard Biener <rguenther@suse.de>
30995 * tree-vect-loop.c (vect_analyze_loop_2): Be more informative
30996 when not vectorizing because of too many alias checks.
30997 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
30998 Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION.
31000 2014-02-05 Nick Clifton <nickc@redhat.com>
31002 * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not
31003 accept extended registers in any mode when compiling for the MN10300.
31005 2014-02-05 Yury Gribov <y.gribov@samsung.com>
31007 * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code.
31008 * ipa-inline.c (report_inline_failed_reason): Handle mismatched
31009 sanitization attributes.
31010 (can_inline_edge_p): Likewise.
31011 (sanitize_attrs_match_for_inline_p): New function.
31013 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
31015 * ipa-prop.c (detect_type_change): Shor circuit testing of
31016 type changes on THIS pointer.
31018 2014-02-04 John David Anglin <danglin@gcc.gnu.org>
31021 * config/pa/pa.c (legitimize_tls_address): Return original address
31022 if not passed a SYMBOL_REF rtx.
31023 (hppa_legitimize_address): Call legitimize_tls_address for all TLS
31025 (pa_emit_move_sequence): Simplify TLS source operands.
31026 (pa_legitimate_constant_p): Reject all TLS constants.
31027 * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
31028 (CONSTANT_ADDRESS_P): Reject TLS CONST addresses.
31030 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
31032 * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY
31033 groups when we know they are controlled by LTO.
31034 * varasm.c (default_binds_local_p_1): If object is in other partition,
31035 it will be resolved locally.
31037 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
31039 * config/host-linux.c (linux_gt_pch_use_address): Don't
31040 use SSIZE_MAX because it is not always defined.
31042 2014-02-04 Vladimir Makarov <vmakarov@redhat.com>
31045 * lra-constraints.c (need_for_split_p): Use more 3 reloads as
31046 threshold for pseudo splitting.
31047 (update_ebb_live_info): Process call argument hard registers and
31048 hard registers from insn definition too.
31049 (max_small_class_regs_num): New constant.
31050 (inherit_in_ebb): Update live hard regs through EBBs. Update
31051 reloads_num only for small register classes. Don't split for
31054 2014-02-04 Markus Trippelsdorf <markus@trippelsdorf.de>
31057 * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target
31060 2014-02-04 Jan Hubicka <hubicka@ucw.cz>
31062 * gimple-fold.c (can_refer_decl_in_current_unit_p): Default
31063 visibility is safe.
31065 2014-02-04 Marek Polacek <polacek@redhat.com>
31067 * gdbinit.in (pel): Define.
31069 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
31071 * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
31074 2014-02-04 Richard Biener <rguenther@suse.de>
31077 * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs
31078 in function context local.
31079 (lto_output_tree_ref): Do not write trees from lto_output_tree_ref.
31080 * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref
31081 similar to LTO_imported_decl_ref.
31083 2014-02-04 Jakub Jelinek <jakub@redhat.com>
31085 PR tree-optimization/60002
31086 * cgraphclones.c (build_function_decl_skip_args): Clear
31087 DECL_LANG_SPECIFIC.
31089 PR tree-optimization/60023
31090 * tree-if-conv.c (predicate_mem_writes): Pass true instead of
31091 false to gsi_replace.
31092 * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
31093 has been in some EH region and vec_stmt could throw, add
31094 vec_stmt into the same EH region.
31095 * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
31096 has no lhs, ignore it.
31097 * internal-fn.c (expand_MASK_LOAD): Likewise.
31100 * tree-inline.c (copy_forbidden): Fail for
31101 __attribute__((optimize (0))) functions.
31104 * omp-low.c (simd_clone_struct_copy): If from->inbranch
31105 is set, copy one less argument.
31106 (expand_simd_clones): Don't subtract clone_info->inbranch
31107 from simd_clone_struct_alloc argument.
31109 PR rtl-optimization/57915
31110 * recog.c (simplify_while_replacing): If all unary/binary/relational
31111 operation arguments are constant, attempt to simplify those.
31113 PR middle-end/59261
31114 * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication
31115 if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth.
31117 2014-02-04 Richard Biener <rguenther@suse.de>
31119 PR tree-optimization/60012
31120 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
31121 TBAA disambiguation to all DDRs.
31123 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
31126 * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
31127 (LINK_SPEC): Use it for -shared, -shared-libgcc.
31129 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
31132 * tree.c (get_binfo_at_offset): Do not get confused by empty classes;
31134 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
31136 * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove.
31137 * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove.
31139 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
31142 * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt
31143 to figure out targets of polymorphic calls with known decl.
31144 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
31145 * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare.
31146 * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ...
31147 (get_polymorphic_call_info): ... here.
31148 (get_polymorphic_call_info_from_invariant): New function.
31150 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
31152 * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct
31153 lookup via vtable pointer; check for type consistency
31154 and turn inconsitent facts into UNREACHABLE.
31155 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
31156 * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on
31157 type inconsistent querries; return UNREACHABLE instead.
31159 2014-02-03 Richard Henderson <rth@twiddle.net>
31162 * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've
31163 already processed this node.
31164 (normalize_one_pred_1): Pass along mark_set.
31165 (normalize_one_pred): Create and destroy a pointer_set_t.
31166 (normalize_one_pred_chain): Likewise.
31168 2014-02-03 Laurent Aflonsi <laurent.alfonsi@st.com>
31170 PR gcov-profile/58602
31171 * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0.
31173 2014-02-03 Jan Hubicka <hubicka@ucw.cz>
31176 * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on
31177 -fno-devirtualize; try to devirtualize by the knowledge of
31178 virtual table pointer given by aggregate propagation.
31179 * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
31180 (ipa_print_node_jump_functions): Dump also offset that
31181 is relevant for polymorphic calls.
31182 (determine_known_aggregate_parts): Add arg_type parameter; use it
31183 instead of determining the type from pointer type.
31184 (ipa_compute_jump_functions_for_edge): Update call of
31185 determine_known_aggregate_parts.
31186 * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ...
31187 (gimple_get_virt_method_for_binfo): ... here; simplify using
31188 vtable_pointer_value_to_vtable.
31189 * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare.
31190 * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter
31191 to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable.
31192 (vtable_pointer_value_to_vtable): Break out from ...; handle also
31194 (vtable_pointer_value_to_binfo): ... here.
31195 * ipa-utils.h (vtable_pointer_value_to_vtable): Declare.
31197 2014-02-03 Teresa Johnson <tejohnson@google.com>
31199 * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid
31200 redef of outer loop index variable.
31202 2014-02-03 Marc Glisse <marc.glisse@inria.fr>
31206 * doc/extend.texi (Function Attributes): Typo.
31208 2014-02-03 Cong Hou <congh@google.com>
31210 PR tree-optimization/60000
31211 * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL
31212 if the vectorized statement is a store. A store statement can only
31213 appear at the end of pattern statements.
31215 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
31217 * config/i386/i386.c (flag_opts): Add -mlong-double-128.
31218 (ix86_option_override_internal): Default long double to 64-bit for
31219 32-bit Bionic and to 128-bit for 64-bit Bionic.
31221 * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if
31222 TARGET_LONG_DOUBLE_128 is true.
31223 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
31225 * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64.
31226 (mlong-double-64): Negate -mlong-double-128.
31227 (mlong-double-128): New option.
31229 * config/i386/i386-c.c (ix86_target_macros): Define
31230 __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128.
31232 * doc/invoke.texi: Document -mlong-double-128.
31234 2014-02-03 H.J. Lu <hongjiu.lu@intel.com>
31236 PR rtl-optimization/60024
31237 * sel-sched.c (init_regs_for_mode): Check if mode is OK first.
31239 2014-02-03 Markus Trippelsdorf <markus@trippelsdorf.de>
31241 * doc/invoke.texi (fprofile-reorder-functions): Fix typo.
31243 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
31245 PR rtl-optimization/57662
31246 * sel-sched.c (code_motion_path_driver): Do not mark already not
31247 existing blocks in the visiting bitmap.
31249 2014-02-03 Andrey Belevantsev <abel@ispras.ru>
31251 * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P
31252 on the insn being emitted.
31254 2014-02-03 James Greenhalgh <james.greenhalgh@arm.com>
31255 Will Deacon <will.deacon@arm.com>
31257 * doc/gimple.texi (gimple_asm_clear_volatile): Remove.
31259 2014-02-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31261 * config/arm/arm-tables.opt: Regenerate.
31263 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31265 * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
31266 for vector types other than V16QImode.
31267 * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
31268 define_expand, and call altivec_expand_vec_perm_le when producing
31269 code with little endian element order.
31270 (*altivec_vperm_<mode>_internal): New insn having previous
31271 behavior of altivec_vperm_<mode>.
31272 (altivec_vperm_<mode>_uns): Change to a define_expand, and call
31273 altivec_expand_vec_perm_le when producing code with little endian
31275 (*altivec_vperm_<mode>_uns_internal): New insn having previous
31276 behavior of altivec_vperm_<mode>_uns.
31278 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31280 * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
31281 (altivec_vsumsws): Add handling for -maltivec=be with a little
31283 (altivec_vsumsws_direct): New.
31284 (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
31285 gen_altivec_vsumsws.
31287 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
31289 * ipa-devirt.c (subbinfo_with_vtable_at_offset,
31290 vtable_pointer_value_to_binfo): New functions.
31291 * ipa-utils.h (vtable_pointer_value_to_binfo): Declare.
31292 * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it.
31294 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
31296 * config/nios2/nios2.md (load_got_register): Initialize GOT
31297 pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
31298 * config/nios2/nios2.c (nios2_function_profiler): Likewise.
31300 2014-02-02 Jan Hubicka <hubicka@ucw.cz>
31302 * ipa-prop.c (update_jump_functions_after_inlining): When type is not
31303 preserverd by passthrough, do not propagate the type.
31305 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
31307 * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
31308 (mips_atomic_assign_expand_fenv): New function.
31309 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
31311 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
31313 * doc/extend.texi (__builtin_mips_get_fcsr): Document.
31314 (__builtin_mips_set_fcsr): Likewise.
31315 * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
31316 MIPS_USI_FTYPE_VOID.
31317 * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
31318 (mips16_expand_set_fcsr): Likewise.
31319 * config/mips/mips.c (mips16_get_fcsr_stub): New variable.
31320 (mips16_set_fcsr_stub): Likewise.
31321 (mips16_get_fcsr_one_only_stub): New class.
31322 (mips16_set_fcsr_one_only_stub): Likewise.
31323 (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
31324 (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
31325 (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
31326 (hard_float): New availability predicate.
31327 (mips_builtins): Add get_fcsr and set_fcsr.
31328 (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
31329 * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
31330 (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
31331 (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
31332 (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
31335 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
31337 * config/mips/mips.c (mips_one_only_stub): New class.
31338 (mips_need_mips16_rdhwr_p): Replace with...
31339 (mips16_rdhwr_stub): ...this new variable.
31340 (mips16_stub_call_address): New function.
31341 (mips16_rdhwr_one_only_stub): New class.
31342 (mips_expand_thread_pointer): Use mips16_stub_call_address.
31343 (mips_output_mips16_rdhwr): Delete.
31344 (mips_finish_stub): New function.
31345 (mips_code_end): Use it to handle rdhwr stubs.
31347 2014-02-02 Uros Bizjak <ubizjak@gmail.com>
31350 * config/i386/i386.c (classify_argument): Fix handling of bit_offset
31351 when calculating size of integer atomic types.
31353 2014-02-02 H.J. Lu <hongjiu.lu@intel.com>
31355 * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
31357 2014-02-01 Jakub Jelinek <jakub@redhat.com>
31359 PR tree-optimization/60003
31360 * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label.
31361 * profile.c (branch_prob): Use gimple_call_builtin_p
31362 to check for BUILT_IN_SETJMP_RECEIVER.
31363 * tree-inline.c (copy_bb): Call notice_special_calls.
31365 2014-01-31 Vladimir Makarov <vmakarov@redhat.com>
31368 * lra-constraints.c (process_alt_operands): Update reload_sum only
31371 2014-01-31 Richard Henderson <rth@redhat.com>
31373 PR middle-end/60004
31374 * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
31375 until after else_eh is processed.
31377 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
31379 * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT),
31380 (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF),
31381 (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined
31382 in smmintrin.h, remove them.
31383 (_MM_FROUND_NO_EXC): Same as above, bit also wrong value.
31384 * config/i386/i386.c (ix86_print_operand): Split sae and rounding.
31385 * config/i386/i386.md (ROUND_SAE): Fix value.
31386 * config/i386/predicates.md (const_4_or_8_to_11_operand): New.
31387 (const48_operand): New.
31388 * config/i386/subst.md (round), (round_expand): Use
31389 const_4_or_8_to_11_operand.
31390 (round_saeonly), (round_saeonly_expand): Use const48_operand.
31392 2014-01-31 Ilya Tocar <ilya.tocar@intel.com>
31394 * config/i386/constraints.md (Yk): Swap meaning with k.
31395 * config/i386/i386.md (movhi_internal): Change Yk to k.
31396 (movqi_internal): Ditto.
31397 (*k<logic><mode>): Ditto.
31400 (kandn<mode>): Ditto.
31401 (*<code>hi_1): Ditto.
31402 (*<code>qi_1): Ditto.
31403 (kxnor<mode>): Ditto.
31404 (kortestzhi): Ditto.
31405 (kortestchi): Ditto.
31407 (*one_cmplhi2_1): Ditto.
31408 (*one_cmplqi2_1): Ditto.
31409 * config/i386/sse.md (): Change k to Yk.
31410 (avx512f_load<mode>_mask): Ditto.
31411 (avx512f_blendm<mode>): Ditto.
31412 (avx512f_store<mode>_mask): Ditto.
31413 (avx512f_storeu<ssemodesuffix>512_mask): Ditto.
31414 (avx512f_storedqu<mode>_mask): Ditto.
31415 (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>):
31417 (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto.
31418 (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto.
31419 (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto.
31420 (avx512f_maskcmp<mode>3): Ditto.
31421 (avx512f_fmadd_<mode>_mask<round_name>): Ditto.
31422 (avx512f_fmadd_<mode>_mask3<round_name>): Ditto.
31423 (avx512f_fmsub_<mode>_mask<round_name>): Ditto.
31424 (avx512f_fmsub_<mode>_mask3<round_name>): Ditto.
31425 (avx512f_fnmadd_<mode>_mask<round_name>): Ditto.
31426 (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto.
31427 (avx512f_fnmsub_<mode>_mask<round_name>): Ditto.
31428 (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto.
31429 (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto.
31430 (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto.
31431 (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto.
31432 (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto.
31433 (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto.
31434 (vec_extract_lo_<mode>_maskm): Ditto.
31435 (vec_extract_hi_<mode>_maskm): Ditto.
31436 (avx512f_vternlog<mode>_mask): Ditto.
31437 (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto.
31438 (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto.
31439 (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto.
31440 (avx512f_<code>v8div16qi2_mask): Ditto.
31441 (avx512f_<code>v8div16qi2_mask_store): Ditto.
31442 (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto.
31443 (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto.
31444 (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto.
31445 (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto.
31446 (*avx512pf_gatherpf<mode>sf_mask): Ditto.
31447 (*avx512pf_gatherpf<mode>df_mask): Ditto.
31448 (*avx512pf_scatterpf<mode>sf_mask): Ditto.
31449 (*avx512pf_scatterpf<mode>df_mask): Ditto.
31450 (avx512cd_maskb_vec_dupv8di): Ditto.
31451 (avx512cd_maskw_vec_dupv16si): Ditto.
31452 (avx512f_vpermi2var<mode>3_maskz): Ditto.
31453 (avx512f_vpermi2var<mode>3_mask): Ditto.
31454 (avx512f_vpermi2var<mode>3_mask): Ditto.
31455 (avx512f_vpermt2var<mode>3_maskz): Ditto.
31456 (*avx512f_gathersi<mode>): Ditto.
31457 (*avx512f_gathersi<mode>_2): Ditto.
31458 (*avx512f_gatherdi<mode>): Ditto.
31459 (*avx512f_gatherdi<mode>_2): Ditto.
31460 (*avx512f_scattersi<mode>): Ditto.
31461 (*avx512f_scatterdi<mode>): Ditto.
31462 (avx512f_compress<mode>_mask): Ditto.
31463 (avx512f_compressstore<mode>_mask): Ditto.
31464 (avx512f_expand<mode>_mask): Ditto.
31465 * config/i386/subst.md (mask): Change k to Yk.
31466 (mask_scalar_merge): Ditto.
31469 2014-01-31 Marc Glisse <marc.glisse@inria.fr>
31471 * doc/extend.texi (Vector Extensions): Document ?: in C++.
31473 2014-01-31 Richard Biener <rguenther@suse.de>
31475 PR middle-end/59990
31476 * builtins.c (fold_builtin_memory_op): Make sure to not
31477 use a floating-point mode or a boolean or enumeral type for
31478 the copy operation.
31480 2014-01-30 DJ Delorie <dj@redhat.com>
31482 * config/msp430/msp430.h (LIB_SPEC): Add -lcrt
31483 * config/msp430/msp430.md (msp430_refsym_need_exit): New.
31484 * config/msp430/msp430.c (msp430_expand_epilogue): Call it
31485 whenever main() has an epilogue.
31487 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31489 * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove
31490 unused variable "field".
31491 * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE.
31492 (vsx_mergeh_<mode>): Likewise.
31493 * config/rs6000/altivec.md (altivec_vmrghb): Likewise.
31494 (altivec_vmrghh): Likewise.
31495 (altivec_vmrghw): Likewise.
31496 (altivec_vmrglb): Likewise.
31497 (altivec_vmrglh): Likewise.
31498 (altivec_vmrglw): Likewise.
31499 (altivec_vspltb): Add missing uses.
31500 (altivec_vsplth): Likewise.
31501 (altivec_vspltw): Likewise.
31502 (altivec_vspltsf): Likewise.
31504 2014-01-30 Jakub Jelinek <jakub@redhat.com>
31507 * ifcvt.c (cond_exec_process_insns): Don't conditionalize
31508 frame related instructions.
31510 2014-01-30 Vladimir Makarov <vmakarov@redhat.com>
31512 PR rtl-optimization/59959
31513 * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
31514 any reload of register whose subreg is invalid.
31516 2014-01-30 Jakub Jelinek <jakub@redhat.com>
31518 * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
31519 * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32):
31520 Add missing return type - void.
31522 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31524 * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
31525 gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf;
31526 remove element index adjustment for endian (now handled in vsx.md
31528 (altivec_expand_vec_perm_const): Use
31529 gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw].
31530 * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec.
31531 (vsx_xxspltw_<mode>): Adjust element index for little endian.
31532 * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a
31533 define_expand and a new define_insn *altivec_vspltb_internal;
31534 adjust for -maltivec=be on a little endian target.
31535 (altivec_vspltb_direct): New.
31536 (altivec_vsplth): Divide into a define_expand and a new
31537 define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a
31538 little endian target.
31539 (altivec_vsplth_direct): New.
31540 (altivec_vspltw): Divide into a define_expand and a new
31541 define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a
31542 little endian target.
31543 (altivec_vspltw_direct): New.
31544 (altivec_vspltsf): Divide into a define_expand and a new
31545 define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on
31546 a little endian target.
31548 2014-01-30 Richard Biener <rguenther@suse.de>
31550 PR tree-optimization/59993
31551 * tree-ssa-forwprop.c (associate_pointerplus): Check we
31552 can propagate form the earlier stmt and avoid the transform
31553 when the intermediate result is needed.
31555 2014-01-30 Alangi Derick <alangiderick@gmail.com>
31557 * README.Portability: Fix typo.
31559 2014-01-30 David Holsgrove <david.holsgrove@xilinx.com>
31561 * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace
31562 comparison_operator with ordered_comparison_operator.
31564 2014-01-30 Nick Clifton <nickc@redhat.com>
31566 * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p):
31567 Rename to mn10300_store_multiple_regs.
31568 * config/mn10300/mn10300.c: Likewise.
31569 * config/mn10300/mn10300.md (store_movm): Fix typo: call
31570 store_multiple_regs.
31571 * config/mn10300/predicates.md (mn10300_store_multiple_operation):
31572 Call mn10300_store_multiple_regs.
31574 2014-01-30 Nick Clifton <nickc@redhat.com>
31575 DJ Delorie <dj@redhat.com>
31577 * config/rl78/rl78.c (register_sizes): Make the "upper half" of
31578 %fp 2 to keep registers after it properly word-aligned.
31579 (rl78_alloc_physical_registers_umul): Handle the case where both
31580 input operands are the same.
31582 2014-01-30 Richard Biener <rguenther@suse.de>
31584 PR tree-optimization/59903
31585 * tree-vect-loop.c (vect_transform_loop): Guard multiple-types
31588 2014-01-30 Jason Merrill <jason@redhat.com>
31591 * tree.c (walk_type_fields): Handle VECTOR_TYPE.
31594 * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary.
31596 2014-01-30 Richard Biener <rguenther@suse.de>
31598 PR tree-optimization/59951
31599 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns.
31601 2014-01-30 Savin Zlobec <savin.zlobec@gmail.com>
31604 * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of
31605 SFmode to DFmode case.
31607 2014-01-29 DJ Delorie <dj@redhat.com>
31609 * config/msp430/msp430.opt (-minrt): New.
31610 * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime
31612 (ENDFILE_SPEC): Likewise.
31614 2014-01-29 Jan Hubicka <hubicka@ucw.cz>
31616 * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function.
31617 (estimate_function_body_sizes): Use it.
31619 2014-01-29 Paolo Carlini <paolo.carlini@oracle.com>
31622 * dwarf2out.c (is_cxx_auto): New.
31623 (is_base_type): Use it.
31624 (gen_type_die_with_usage): Likewise.
31626 2014-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
31628 * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Use
31629 CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*.
31630 * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for
31631 -maltivec=be with LE targets.
31632 (vsx_mergeh_<mode>): Likewise.
31633 * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs.
31634 (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct.
31635 (altivec_vmrghb): Replace with define_expand and new
31636 *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets.
31637 (altivec_vmrghb_direct): New define_insn.
31638 (altivec_vmrghh): Replace with define_expand and new
31639 *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets.
31640 (altivec_vmrghh_direct): New define_insn.
31641 (altivec_vmrghw): Replace with define_expand and new
31642 *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets.
31643 (altivec_vmrghw_direct): New define_insn.
31644 (*altivec_vmrghsf): Adjust for endianness.
31645 (altivec_vmrglb): Replace with define_expand and new
31646 *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets.
31647 (altivec_vmrglb_direct): New define_insn.
31648 (altivec_vmrglh): Replace with define_expand and new
31649 *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets.
31650 (altivec_vmrglh_direct): New define_insn.
31651 (altivec_vmrglw): Replace with define_expand and new
31652 *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets.
31653 (altivec_vmrglw_direct): New define_insn.
31654 (*altivec_vmrglsf): Adjust for endianness.
31655 (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct.
31656 (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct.
31657 (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct.
31658 (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct.
31659 (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct.
31660 (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct.
31661 (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct.
31662 (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct.
31664 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
31666 * config/aarch64/aarch64.c (aarch64_expand_mov_immediate)
31667 (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust
31670 2014-01-29 Richard Biener <rguenther@suse.de>
31672 PR tree-optimization/58742
31673 * tree-ssa-forwprop.c (associate_pointerplus): Rename to
31674 associate_pointerplus_align.
31675 (associate_pointerplus_diff): New function.
31676 (associate_pointerplus): Likewise. Call associate_pointerplus_align
31677 and associate_pointerplus_diff.
31679 2014-01-29 Richard Biener <rguenther@suse.de>
31681 * lto-streamer.h (LTO_major_version): Bump to 3.
31682 (LTO_minor_version): Reset to 0.
31684 2014-01-29 Renlin Li <Renlin.Li@arm.com>
31686 * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch.
31687 * config/arm/arm.c (FL_FOR_ARCH7VE): New.
31688 (arm_file_start): Generate correct asm header for armv7ve.
31689 * config/arm/bpabi.h: Add multilib support for armv7ve.
31690 * config/arm/driver-arm.c: Change the architectures of cortex-a7
31691 and cortex-a15 to armv7ve.
31692 * config/arm/t-aprofile: Add multilib support for armv7ve.
31693 * doc/invoke.texi: Document -march=armv7ve.
31695 2014-01-29 Richard Biener <rguenther@suse.de>
31697 PR tree-optimization/58742
31698 * tree-ssa-forwprop.c (associate_plusminus): Return true
31699 if we changed sth, defer EH cleanup to ...
31700 (ssa_forward_propagate_and_combine): ... here. Call simplify_mult.
31701 (simplify_mult): New function.
31703 2014-01-29 Jakub Jelinek <jakub@redhat.com>
31705 PR middle-end/59917
31706 PR tree-optimization/59920
31707 * tree.c (build_common_builtin_nodes): Remove
31708 __builtin_setjmp_dispatcher initialization.
31709 * omp-low.h (make_gimple_omp_edges): Add a new int * argument.
31710 * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb
31711 instead of gsi_after_labels + manually skipping debug stmts.
31712 Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead
31713 ignore bbs with IFN_ABNORMAL_DISPATCHER.
31714 * tree-inline.c (copy_edges_for_bb): Remove
31715 can_make_abnormal_goto argument, instead add abnormal_goto_dest
31716 argument. Ignore computed_goto_p stmts. Don't call
31717 make_abnormal_goto_edges. If a call might need abnormal edges
31718 for non-local gotos, see if it already has an edge to
31719 IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER
31720 with true argument, don't do anything then, otherwise add
31721 EDGE_ABNORMAL from the call's bb to abnormal_goto_dest.
31722 (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb
31724 * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp.
31725 (lower_function_body): Don't emit __builtin_setjmp_dispatcher.
31726 (lower_stmt): Don't set data->calls_builtin_setjmp.
31727 (lower_builtin_setjmp): Adjust comment.
31728 * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove.
31729 * tree-cfg.c (found_computed_goto): Remove.
31730 (factor_computed_gotos): Remove.
31731 (make_goto_expr_edges): Return bool, true for computed gotos.
31732 Don't call make_abnormal_goto_edges.
31733 (build_gimple_cfg): Don't set found_computed_goto, don't call
31734 factor_computed_gotos.
31735 (computed_goto_p): No longer static.
31736 (make_blocks): Don't set found_computed_goto.
31737 (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions.
31738 (make_edges): If make_goto_expr_edges returns true, push bb
31739 into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls
31740 instead of calling make_abnormal_goto_edges push bb into ab_edge_call
31741 vector. Record mapping between bbs and OpenMP regions if there
31742 are any, adjust make_gimple_omp_edges caller. Call
31743 handle_abnormal_edges.
31744 (make_abnormal_goto_edges): Remove.
31745 * tree-cfg.h (make_abnormal_goto_edges): Remove.
31746 (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes.
31747 * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function.
31748 * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER.
31749 * internal-fn.def (ABNORMAL_DISPATCHER): New.
31750 * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when
31751 filling *region also set *region_idx to (*region)->entry->index.
31754 * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code).
31755 For REGs set ORIGINAL_REGNO.
31757 2014-01-29 Bingfeng Mei <bmei@broadcom.com>
31759 * doc/md.texi: Mention that a target shouldn't implement
31760 vec_widen_(s|u)mul_even/odd pair if it is less efficient
31763 2014-01-29 Jakub Jelinek <jakub@redhat.com>
31765 PR tree-optimization/59594
31766 * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort
31767 a copy of the datarefs vector rather than the vector itself.
31769 2014-01-28 Jason Merrill <jason@redhat.com>
31772 * dwarf2out.c (auto_die): New static.
31773 (gen_type_die_with_usage): Handle C++1y 'auto'.
31774 (gen_subprogram_die): If in-class DIE had 'auto', emit type again
31777 2014-01-28 H.J. Lu <hongjiu.lu@intel.com>
31780 * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32".
31781 (SPEC_X32): Likewise.
31782 (SPEC_64): Likewise.
31783 * config/i386/i386.c (ix86_option_override_internal): Turn off
31784 OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64
31786 (x86_file_start): Output .code16gcc for TARGET_16BIT.
31787 * config/i386/i386.h (TARGET_16BIT): New macro.
31788 (TARGET_16BIT_P): Likewise.
31789 * config/i386/i386.opt: Add m16.
31790 * doc/invoke.texi: Document -m16.
31792 2014-01-28 Jakub Jelinek <jakub@redhat.com>
31794 PR preprocessor/59935
31795 * input.c (location_get_source_line): Bail out on when line number
31796 is zero, and test the return value of lookup_or_add_file_to_cache_tab.
31798 2014-01-28 Richard Biener <rguenther@suse.de>
31800 PR tree-optimization/58742
31801 * tree-ssa-forwprop.c (associate_plusminus): Handle
31802 pointer subtraction of the form (T)(P + A) - (T)P.
31804 2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
31806 * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement
31809 2014-01-28 Richard Biener <rguenther@suse.de>
31812 2014-01-28 Richard Biener <rguenther@suse.de>
31814 PR rtl-optimization/45364
31815 PR rtl-optimization/59890
31816 * var-tracking.c (local_get_addr_clear_given_value): Handle
31817 already cleared slot.
31818 (val_reset): Handle not allocated local_get_addr_cache.
31819 (vt_find_locations): Use post-order on the inverted CFG.
31821 2014-01-28 Richard Biener <rguenther@suse.de>
31823 * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove.
31825 2014-01-28 Richard Biener <rguenther@suse.de>
31827 PR rtl-optimization/45364
31828 PR rtl-optimization/59890
31829 * var-tracking.c (local_get_addr_clear_given_value): Handle
31830 already cleared slot.
31831 (val_reset): Handle not allocated local_get_addr_cache.
31832 (vt_find_locations): Use post-order on the inverted CFG.
31834 2014-01-28 Alan Modra <amodra@gmail.com>
31836 * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
31837 * configure.ac <recursive call for build != host>: Define
31838 GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD
31839 and LD_FOR_BUILD too.
31840 * configure: Regenerate.
31842 2014-01-27 Allan Sandfeld Jensen <sandfeld@kde.org>
31844 * config/i386/i386.c (get_builtin_code_for_version): Separate
31845 Westmere from Nehalem, Ivy Bridge from Sandy Bridge and
31846 Broadwell from Haswell.
31848 2014-01-27 Steve Ellcey <sellcey@mips.com>
31850 * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS):
31851 Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD.
31852 * config/mips/mips.c (mips_option_override): Change setting
31854 * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove.
31855 * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D):
31856 Change from Mask to Var.
31858 2014-01-27 Jeff Law <law@redhat.com>
31860 * ipa-inline.c (inline_small_functions): Fix typo.
31862 2014-01-27 Ilya Tocar <ilya.tocar@intel.com>
31864 * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New.
31865 (_mm512_mask_cvtsepi32_storeu_epi8): Ditto.
31866 (_mm512_mask_cvtusepi32_storeu_epi8): Ditto.
31867 (_mm512_mask_cvtepi32_storeu_epi16): Ditto.
31868 (_mm512_mask_cvtsepi32_storeu_epi16): Ditto.
31869 (_mm512_mask_cvtusepi32_storeu_epi16): Ditto.
31870 (_mm512_mask_cvtepi64_storeu_epi32): Ditto.
31871 (_mm512_mask_cvtsepi64_storeu_epi32): Ditto.
31872 (_mm512_mask_cvtusepi64_storeu_epi32): Ditto.
31873 (_mm512_mask_cvtepi64_storeu_epi16): Ditto.
31874 (_mm512_mask_cvtsepi64_storeu_epi16): Ditto.
31875 (_mm512_mask_cvtusepi64_storeu_epi16): Ditto.
31876 (_mm512_mask_cvtepi64_storeu_epi8): Ditto.
31877 (_mm512_mask_cvtsepi64_storeu_epi8): Ditto.
31878 (_mm512_mask_cvtusepi64_storeu_epi8): Ditto.
31879 (_mm512_storeu_epi64): Ditto.
31880 (_mm512_cmpge_epi32_mask): Ditto.
31881 (_mm512_cmpge_epu32_mask): Ditto.
31882 (_mm512_cmpge_epi64_mask): Ditto.
31883 (_mm512_cmpge_epu64_mask): Ditto.
31884 (_mm512_cmple_epi32_mask): Ditto.
31885 (_mm512_cmple_epu32_mask): Ditto.
31886 (_mm512_cmple_epi64_mask): Ditto.
31887 (_mm512_cmple_epu64_mask): Ditto.
31888 (_mm512_cmplt_epi32_mask): Ditto.
31889 (_mm512_cmplt_epu32_mask): Ditto.
31890 (_mm512_cmplt_epi64_mask): Ditto.
31891 (_mm512_cmplt_epu64_mask): Ditto.
31892 (_mm512_cmpneq_epi32_mask): Ditto.
31893 (_mm512_cmpneq_epu32_mask): Ditto.
31894 (_mm512_cmpneq_epi64_mask): Ditto.
31895 (_mm512_cmpneq_epu64_mask): Ditto.
31896 (_mm512_expand_pd): Ditto.
31897 (_mm512_expand_ps): Ditto.
31898 * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI,
31899 VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI,
31900 VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI.
31901 * config/i386/i386.c (ix86_builtins): Add
31902 IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK,
31903 IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM,
31904 IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM,
31905 IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM,
31906 IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM,
31907 IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM,
31908 IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM,
31909 IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM,
31910 IX86_BUILTIN_PMOVUSQW512_MEM.
31911 (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask,
31912 __builtin_ia32_pmovsqd512mem_mask,
31913 __builtin_ia32_pmovqd512mem_mask,
31914 __builtin_ia32_pmovusqw512mem_mask,
31915 __builtin_ia32_pmovsqw512mem_mask,
31916 __builtin_ia32_pmovqw512mem_mask,
31917 __builtin_ia32_pmovusdw512mem_mask,
31918 __builtin_ia32_pmovsdw512mem_mask,
31919 __builtin_ia32_pmovdw512mem_mask,
31920 __builtin_ia32_pmovqb512mem_mask,
31921 __builtin_ia32_pmovusqb512mem_mask,
31922 __builtin_ia32_pmovsqb512mem_mask,
31923 __builtin_ia32_pmovusdb512mem_mask,
31924 __builtin_ia32_pmovsdb512mem_mask,
31925 __builtin_ia32_pmovdb512mem_mask.
31926 (bdesc_args): Add __builtin_ia32_expanddf512,
31927 __builtin_ia32_expandsf512.
31928 (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI,
31929 VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI,
31930 VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI.
31931 * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK.
31932 (avx512f_<code><pmov_src_lower><mode>2_mask_store): New.
31933 (*avx512f_<code>v8div16qi2_store_mask): Renamed to ...
31934 (avx512f_<code>v8div16qi2_mask_store): This.
31935 (avx512f_expand<mode>): New.
31937 2014-01-27 Kirill Yukhin <kirill.yukhin@intel.com>
31939 * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd):
31941 (_mm512_mask_prefetch_i64gather_pd): Ditto.
31942 (_mm512_prefetch_i32scatter_pd): Ditto.
31943 (_mm512_mask_prefetch_i32scatter_pd): Ditto.
31944 (_mm512_prefetch_i64scatter_pd): Ditto.
31945 (_mm512_mask_prefetch_i64scatter_pd): Ditto.
31946 (_mm512_mask_prefetch_i32gather_ps): Fix operand type.
31947 (_mm512_mask_prefetch_i64gather_ps): Ditto.
31948 (_mm512_prefetch_i32scatter_ps): Ditto.
31949 (_mm512_mask_prefetch_i32scatter_ps): Ditto.
31950 (_mm512_prefetch_i64scatter_ps): Ditto.
31951 (_mm512_mask_prefetch_i64scatter_ps): Ditto.
31952 * config/i386/i386-builtin-types.def: Define
31953 VOID_FTYPE_QI_V8SI_PCINT64_INT_INT
31954 and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT.
31955 * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD,
31956 IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD,
31957 IX86_BUILTIN_SCATTERPFQPD.
31958 (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd,
31959 __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd,
31960 __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd,
31961 __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd,
31962 __builtin_ia32_scatterpfqps.
31963 (ix86_expand_builtin): Expand new built-ins.
31964 * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix,
31965 fix memory access data type.
31966 (*avx512pf_gatherpf<mode>_mask): Ditto.
31967 (*avx512pf_gatherpf<mode>): Ditto.
31968 (avx512pf_scatterpf<mode>): Ditto.
31969 (*avx512pf_scatterpf<mode>_mask): Ditto.
31970 (*avx512pf_scatterpf<mode>): Ditto.
31971 (GATHER_SCATTER_SF_MEM_MODE): New.
31972 (avx512pf_gatherpf<mode>df): Ditto.
31973 (*avx512pf_gatherpf<mode>df_mask): Ditto.
31974 (*avx512pf_scatterpf<mode>df): Ditto.
31976 2014-01-27 Jakub Jelinek <jakub@redhat.com>
31979 * expmed.h (expmed_mode_index): Rework so that analysis and optimziers
31980 know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be
31983 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
31985 * common/config/arm/arm-common.c
31986 (arm_rewrite_mcpu): Handle multiple names.
31988 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
31990 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com>
31992 * gimple-builder.h (create_gimple_tmp): Delete.
31994 2014-01-27 Christian Bruel <christian.bruel@st.com>
31996 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after
31999 2014-01-26 John David Anglin <danglin@gcc.gnu.org>
32001 * config/pa/pa.md (call): Generate indirect long calls to non-local
32002 functions when outputing 32-bit code.
32003 (call_value): Likewise except for special call to buggy powf function.
32005 * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of
32006 portable runtime and PIC indirect calls.
32007 (pa_output_indirect_call): Remove unnecessary nop from portable runtime
32008 and PIC call sequences. Use ldo instead of blr to set return register
32009 in PIC call sequence.
32011 2014-01-25 Walter Lee <walt@tilera.com>
32013 * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
32014 avoid clobbering a live register.
32016 2014-01-25 Walter Lee <walt@tilera.com>
32018 * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
32019 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
32020 * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
32021 Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
32023 2014-01-25 Walter Lee <walt@tilera.com>
32025 * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte
32026 arguments on even registers.
32027 (tilegx_gimplify_va_arg_expr): Align 16-byte var args to
32029 * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes.
32030 (BIGGEST_ALIGNMENT): Ditto.
32031 (BIGGEST_FIELD_ALIGNMENT): Ditto.
32033 2014-01-25 Walter Lee <walt@tilera.com>
32035 * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
32036 insns before bundling.
32037 * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
32039 2014-01-25 Walter Lee <walt@tilera.com>
32041 * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
32042 PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
32043 * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
32045 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
32047 * config/mips/constraints.md (kl): Delete.
32048 * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into
32049 define expands, using...
32050 (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new
32051 instructions for MIPS16.
32052 (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the
32053 non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4.
32055 2014-01-25 Walter Lee <walt@tilera.com>
32057 * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
32061 2014-01-25 Walter Lee <walt@tilera.com>
32063 * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
32064 (TARGET_EXPAND_TO_RTL_HOOK): Define.
32066 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com>
32068 * rtlanal.c (canonicalize_condition): Split out duplicated mode check.
32071 2014-01-25 Jakub Jelinek <jakub@redhat.com>
32073 * print-rtl.c (in_call_function_usage): New var.
32074 (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print
32075 EXPR_LIST mode as mode and not as reg note name.
32077 PR middle-end/59561
32078 * cfgloopmanip.c (copy_loop_info): If
32079 loop->warned_aggressive_loop_optimizations, make sure
32080 the flag is set in target loop too.
32082 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
32084 * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to
32086 * builtins.def: Likewise.
32087 * cilk.h (fn_contains_cilk_spawn_p): Likewise.
32088 * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise.
32089 * ira.c (ira_setup_eliminable_regset): Likewise.
32090 * omp-low.c (gate_expand_omp): Likewise.
32091 (execute_lower_omp): Likewise.
32092 (diagnose_sb_0): Likewise.
32093 (gate_diagnose_omp_blocks): Likewise.
32094 (simd_clone_clauses_extract): Likewise.
32097 2014-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
32099 * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove
32100 correction for little endian...
32101 * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to
32104 2014-01-24 Jeff Law <law@redhat.com>
32106 PR tree-optimization/59919
32107 * tree-vrp.c (find_assert_locations_1): Do not register asserts
32108 for non-returning calls.
32110 2014-01-24 James Greenhalgh <james.greenhalgh@arm.com>
32112 * common/config/aarch64/aarch64-common.c
32113 (aarch64_rewrite_mcpu): Handle multiple names.
32114 * config/aarch64/aarch64.h
32115 (BIG_LITTLE_SPEC): Do not discard mcpu switches.
32117 2014-01-24 Dodji Seketeli <dodji@redhat.com>
32119 * input.c (add_file_to_cache_tab): Handle the case where fopen
32122 2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
32125 * config/i386/i386.md (pushsf splitter): Get stack adjustment
32126 from push operand if code of push isn't PRE_DEC.
32128 2014-01-23 Michael Meissner <meissner@linux.vnet.ibm.com>
32131 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
32132 -mquad-memory-atomic. Update -mquad-memory documentation to say
32133 it is only used for non-atomic loads/stores.
32135 * config/rs6000/predicates.md (quad_int_reg_operand): Allow either
32136 -mquad-memory or -mquad-memory-atomic switches.
32138 * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add
32139 -mquad-memory-atomic to ISA 2.07 support.
32141 * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch
32142 to separate support of normal quad word memory operations (ldq, stq)
32143 from the atomic quad word memory operations.
32145 * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
32146 support to separate non-atomic quad word operations from atomic
32147 quad word operations. Disable non-atomic quad word operations in
32148 little endian mode so that we don't have to swap words after the
32149 load and before the store.
32150 (quad_load_store_p): Add comment about atomic quad word support.
32151 (rs6000_opt_masks): Add -mquad-memory-atomic to the list of
32152 options printed with -mdebug=reg.
32154 * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use
32155 -mquad-memory-atomic as the test for whether we have quad word
32156 atomic instructions.
32157 (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory,
32158 or -mp8-vector are used, allow byte/half-word atomic operations.
32160 * config/rs6000/sync.md (load_lockedti): Insure that the address
32161 is a proper indexed or indirect address for the lqarx instruction.
32162 On little endian systems, swap the hi/lo registers after the lqarx
32164 (load_lockedpti): Use indexed_or_indirect_operand predicate to
32165 insure the address is valid for the lqarx instruction.
32166 (store_conditionalti): Insure that the address is a proper indexed
32167 or indirect address for the stqcrx. instruction. On little endian
32168 systems, swap the hi/lo registers before doing the stqcrx.
32170 (store_conditionalpti): Use indexed_or_indirect_operand predicate to
32171 insure the address is valid for the stqcrx. instruction.
32173 * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
32174 Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what
32175 type of quad memory support is available.
32177 2014-01-23 Vladimir Makarov <vmakarov@redhat.com>
32179 PR regression/59915
32180 * lra-constraints.c (simplify_operand_subreg): Spill pseudo if
32181 there is a danger of looping.
32183 2014-01-23 Pat Haugen <pthaugen@us.ibm.com>
32185 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
32186 force flag_ira_loop_pressure if set via command line.
32188 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
32190 * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed.
32191 (ashr_simd): New builtin handling DI mode.
32192 * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern.
32193 (aarch64_sshr_simddi): New match pattern.
32194 * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified.
32195 (vshrd_n_s64): Likewise.
32196 * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate.
32198 2014-01-23 Nick Clifton <nickc@redhat.com>
32200 * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu.
32201 (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in
32202 favour of mcu specific scripts.
32203 * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for
32206 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
32207 Alex Velenko <Alex.Velenko@arm.com>
32209 * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup.
32210 (vaddv_s16): Likewise.
32211 (vaddv_s32): Likewise.
32212 (vaddv_u8): Likewise.
32213 (vaddv_u16): Likewise.
32214 (vaddv_u32): Likewise.
32215 (vaddvq_s8): Likewise.
32216 (vaddvq_s16): Likewise.
32217 (vaddvq_s32): Likewise.
32218 (vaddvq_s64): Likewise.
32219 (vaddvq_u8): Likewise.
32220 (vaddvq_u16): Likewise.
32221 (vaddvq_u32): Likewise.
32222 (vaddvq_u64): Likewise.
32223 (vaddv_f32): Likewise.
32224 (vaddvq_f32): Likewise.
32225 (vaddvq_f64): Likewise.
32226 (vmaxv_f32): Likewise.
32227 (vmaxv_s8): Likewise.
32228 (vmaxv_s16): Likewise.
32229 (vmaxv_s32): Likewise.
32230 (vmaxv_u8): Likewise.
32231 (vmaxv_u16): Likewise.
32232 (vmaxv_u32): Likewise.
32233 (vmaxvq_f32): Likewise.
32234 (vmaxvq_f64): Likewise.
32235 (vmaxvq_s8): Likewise.
32236 (vmaxvq_s16): Likewise.
32237 (vmaxvq_s32): Likewise.
32238 (vmaxvq_u8): Likewise.
32239 (vmaxvq_u16): Likewise.
32240 (vmaxvq_u32): Likewise.
32241 (vmaxnmv_f32): Likewise.
32242 (vmaxnmvq_f32): Likewise.
32243 (vmaxnmvq_f64): Likewise.
32244 (vminv_f32): Likewise.
32245 (vminv_s8): Likewise.
32246 (vminv_s16): Likewise.
32247 (vminv_s32): Likewise.
32248 (vminv_u8): Likewise.
32249 (vminv_u16): Likewise.
32250 (vminv_u32): Likewise.
32251 (vminvq_f32): Likewise.
32252 (vminvq_f64): Likewise.
32253 (vminvq_s8): Likewise.
32254 (vminvq_s16): Likewise.
32255 (vminvq_s32): Likewise.
32256 (vminvq_u8): Likewise.
32257 (vminvq_u16): Likewise.
32258 (vminvq_u32): Likewise.
32259 (vminnmv_f32): Likewise.
32260 (vminnmvq_f32): Likewise.
32261 (vminnmvq_f64): Likewise.
32263 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com>
32265 * config/aarch64/aarch64-simd.md
32266 (aarch64_dup_lane<mode>): Correct lane number on big-endian.
32267 (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise.
32268 (*aarch64_mul3_elt<mode>): Likewise.
32269 (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise.
32270 (*aarch64_mul3_elt_to_64v2df): Likewise.
32271 (*aarch64_mla_elt<mode>): Likewise.
32272 (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise.
32273 (*aarch64_mls_elt<mode>): Likewise.
32274 (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise.
32275 (*aarch64_fma4_elt<mode>): Likewise.
32276 (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise.
32277 (*aarch64_fma4_elt_to_64v2df): Likewise.
32278 (*aarch64_fnma4_elt<mode>): Likewise.
32279 (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise.
32280 (*aarch64_fnma4_elt_to_64v2df): Likewise.
32281 (aarch64_sq<r>dmulh_lane<mode>): Likewise.
32282 (aarch64_sq<r>dmulh_laneq<mode>): Likewise.
32283 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
32284 (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise.
32285 (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise.
32286 (aarch64_sqdmull_lane<mode>_internal): Likewise.
32287 (aarch64_sqdmull2_lane<mode>_internal): Likewise.
32289 2013-01-23 Alex Velenko <Alex.Velenko@arm.com>
32291 * config/aarch64/aarch64-simd.md
32292 (aarch64_be_checked_get_lane<mode>): New define_expand.
32293 * config/aarch64/aarch64-simd-builtins.def
32294 (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)):
32295 New builtin definition.
32296 * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any):
32297 Use new safe be builtin.
32299 2014-01-23 Alex Velenko <Alex.Velenko@arm.com>
32301 * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>):
32303 (aarch64_be_st1<mode>): Likewise.
32304 (aarch_ld1<VALL:mode>): Define_expand modified.
32305 (aarch_st1<VALL:mode>): Likewise.
32306 * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition.
32307 (UNSPEC_ST1): Likewise.
32309 2014-01-23 David Holsgrove <david.holsgrove@xilinx.com>
32311 * config/microblaze/microblaze.md: Add trap insn and attribute
32313 2014-01-23 Dodji Seketeli <dodji@redhat.com>
32315 PR preprocessor/58580
32316 * input.h (location_get_source_line): Take an additional line_size
32318 (void diagnostics_file_cache_fini): Declare new function.
32319 * input.c (struct fcache): New type.
32320 (fcache_tab_size, fcache_buffer_size, fcache_line_record_size):
32321 New static constants.
32322 (diagnostic_file_cache_init, total_lines_num)
32323 (lookup_file_in_cache_tab, evicted_cache_tab_entry)
32324 (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab)
32325 (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data)
32326 (get_next_line, read_next_line, goto_next_line, read_line_num):
32327 New static function definitions.
32328 (diagnostic_file_cache_fini): New function.
32329 (location_get_source_line): Take an additional output line_len
32330 parameter. Re-write using lookup_or_add_file_to_cache_tab and
32332 * diagnostic.c (diagnostic_finish): Call
32333 diagnostic_file_cache_fini.
32334 (adjust_line): Take an additional input parameter for the length
32335 of the line, rather than calculating it with strlen.
32336 (diagnostic_show_locus): Adjust the use of
32337 location_get_source_line and adjust_line with respect to their new
32338 signature. While displaying a line now, do not stop at the first
32339 null byte. Rather, display the zero byte as a space and keep
32340 going until we reach the size of the line.
32341 * Makefile.in: Add vec.o to OBJS-libcommon
32343 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
32344 Ilya Tocar <ilya.tocar@intel.com>
32346 * config/i386/avx512fintrin.h (_mm512_kmov): New.
32347 * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto.
32348 (__builtin_ia32_kmov16): Ditto.
32349 * config/i386/i386.md (UNSPEC_KMOV): New.
32352 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com>
32354 * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename.
32355 (_mm512_storeu_si512): Ditto.
32357 2014-01-23 Richard Sandiford <rdsandiford@googlemail.com>
32360 * rtl.h (get_referenced_operands): Declare.
32361 * recog.c (get_referenced_operands): New function.
32362 * config/mips/mips.c (mips_reorg_process_insns): Check which asm
32363 operands have been referenced when recording LO_SUM references.
32365 2014-01-22 David Holsgrove <david.holsgrove@xilinx.com>
32367 * config/microblaze/microblaze.md: Correct bswaphi2 insn.
32369 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
32371 * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS):
32372 Enable for generic and recent AMD targets.
32374 2014-01-22 Jan Hubicka <hubicka@ucw.cz>
32376 * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove
32377 ARG_SIZE note when adjustment was eliminated.
32379 2014-01-22 Jeff Law <law@redhat.com>
32381 PR tree-optimization/59597
32382 * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier
32383 in file. Accept new argument REGISTERING and use it to modify
32384 dump output appropriately.
32385 (register_jump_thread): Corresponding changes.
32386 (mark_threaded_blocks): Reinstate code to cancel unprofitable
32387 thread paths involving joiner blocks. Add code to dump cancelled
32388 jump threading paths.
32390 2014-01-22 Vladimir Makarov <vmakarov@redhat.com>
32392 PR rtl-optimization/59477
32393 * lra-constraints.c (inherit_in_ebb): Process call for living hard
32394 regs. Update reloads_num and potential_reload_hard_regs for all insns.
32396 2014-01-22 Tom Tromey <tromey@redhat.com>
32398 * config/i386/i386-interix.h (i386_pe_unique_section): Don't use
32400 * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS.
32402 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
32404 PR rtl-optimization/59896
32405 * lra-constraints.c (process_alt_operands): Check unused note for
32406 matched operands of insn with no output reloads.
32408 2014-01-21 Richard Sandiford <rdsandiford@googlemail.com>
32410 * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case.
32411 (mips_move_from_gpr_cost): Likewise.
32413 2014-01-21 Vladimir Makarov <vmakarov@redhat.com>
32415 PR rtl-optimization/59858
32416 * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use
32417 ira_class_hard_regs_num.
32418 (process_alt_operands): Increase reject for dying matched operand.
32420 2014-01-21 Jakub Jelinek <jakub@redhat.com>
32423 * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is
32424 smaller than size, perform several stores or loads and stores
32425 at dst + count - size to store or copy all of size bytes, rather
32426 than just last modesize bytes.
32428 2014-01-20 DJ Delorie <dj@redhat.com>
32430 * config/rl78/rl78.c (rl78_propogate_register_origins): Verify
32431 that CLOBBERs are REGs before propogating their values.
32433 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
32435 PR middle-end/59789
32436 * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE.
32437 (cgraph_inline_failed_type): New function.
32438 * cgraph.h (DEFCIFCODE): Add type.
32439 (cgraph_inline_failed_type_t): New enum.
32440 (cgraph_inline_failed_type): New prototype.
32441 * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED,
32442 FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
32443 FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT,
32444 LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT,
32445 MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT,
32446 RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED,
32447 OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL,
32448 INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL.
32449 Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE,
32450 FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS,
32451 EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH,
32452 OPTIMIZATION_MISMATCH.
32453 * tree-inline.c (expand_call_inline): Emit errors during
32454 early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR.
32456 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
32459 * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF
32460 mode attribute in insn output.
32462 2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
32464 * output.h (output_constant): Delete.
32465 * varasm.c (output_constant): Make private.
32467 2014-01-20 Alex Velenko <Alex.Velenko@arm.com>
32469 * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
32471 2014-01-20 Jakub Jelinek <jakub@redhat.com>
32473 PR middle-end/59860
32474 * tree.h (fold_builtin_strcat): New prototype.
32475 * builtins.c (fold_builtin_strcat): No longer static. Add len
32476 argument, if non-NULL, don't call c_strlen. Optimize
32477 directly into __builtin_memcpy instead of __builtin_strcpy.
32478 (fold_builtin_2): Adjust fold_builtin_strcat caller.
32479 * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT.
32481 2014-01-20 Uros Bizjak <ubizjak@gmail.com>
32483 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
32484 for SImode_address_operand operands, having only a REG argument.
32486 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
32488 * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand
32489 loader name using mbig-endian.
32490 (LINUX_TARGET_LINK_SPEC): Pass linker -m flag.
32492 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
32494 * doc/invoke.texi (-march): Clarify documentation for AArch64.
32495 (-mtune): Likewise.
32498 2014-01-20 Tejas Belagod <tejas.belagod@arm.com>
32500 * config/aarch64/aarch64-protos.h
32501 (aarch64_cannot_change_mode_class_ptr): Declare.
32502 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class,
32503 aarch64_cannot_change_mode_class_ptr): New.
32504 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call
32505 backend hook aarch64_cannot_change_mode_class.
32507 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com>
32509 * common/config/aarch64/aarch64-common.c
32510 (aarch64_handle_option): Don't handle any option order logic here.
32511 * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override
32512 selected_cpu, warn on architecture version mismatch.
32513 (aarch64_override_options): Fix parsing order for option strings.
32515 2014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de>
32516 Iain Sandoe <iain@codesourcery.com>
32519 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable
32520 warning. Amend comment to reflect current functionality.
32522 2014-01-20 Richard Biener <rguenther@suse.de>
32524 PR middle-end/59860
32525 * builtins.c (fold_builtin_strcat): Remove case better handled
32526 by tree-ssa-strlen.c.
32528 2014-01-20 Alan Lawrence <alan.lawrence@arm.com>
32530 * config/aarch64/aarch64.opt
32531 (mcpu, march, mtune): Make case-insensitive.
32533 2014-01-20 Jakub Jelinek <jakub@redhat.com>
32536 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
32537 if operands[1] is a REG or ZERO_EXTEND of a REG.
32539 2014-01-19 Jan Hubicka <hubicka@ucw.cz>
32541 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
32543 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
32545 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
32546 long non-pic millicode calls.
32548 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
32550 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
32552 2014-01-19 Kito Cheng <kito@0xlab.org>
32554 * builtins.c (expand_movstr): Check movstr expand done or fail.
32556 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
32557 H.J. Lu <hongjiu.lu@intel.com>
32560 * config/i386/i386.md (*lea<mode>): Zero-extend return register
32561 to DImode for zero-extended addresses.
32563 2014-01-19 Jakub Jelinek <jakub@redhat.com>
32565 PR rtl-optimization/57763
32566 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
32567 on the new indirect jump_insn and increment LABEL_NUSES (label).
32569 2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
32573 * config.gcc (x86_archs): New variable.
32574 (x86_64_archs): Likewise.
32575 (x86_cpus): Likewise.
32576 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
32577 --with-arch/--with-cpu= options.
32578 Support --with-arch=/--with-cpu={nehalem,westmere,
32579 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
32581 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
32583 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
32584 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
32586 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
32588 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
32590 2014-01-18 Jakub Jelinek <jakub@redhat.com>
32593 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
32594 clear cpp_get_options (parse_in)->warn_unused_macros for
32595 ix86_target_macros_internal with cpp_define.
32597 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
32599 * jump.c (delete_related_insns): Keep (use (insn))s.
32600 * reorg.c (redundant_insn): Check for barriers too.
32602 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
32604 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
32606 2014-01-17 John David Anglin <danglin@gcc.gnu.org>
32608 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
32609 call to $$dyncall when TARGET_LONG_CALLS is true.
32611 2014-01-17 Jeff Law <law@redhat.com>
32613 * ree.c (combine_set_extension): Temporarily disable test for
32614 changing number of hard registers.
32616 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
32618 PR middle-end/58125
32619 * ipa-inline-analysis.c (inline_free_summary):
32620 Do not free summary of aliases.
32622 2014-01-17 Jakub Jelinek <jakub@redhat.com>
32624 PR middle-end/59706
32625 * gimplify.c (gimplify_expr): Use create_tmp_var
32626 instead of create_tmp_var_raw. If cond doesn't have
32627 integral type, don't add the IFN_ANNOTATE builtin at all.
32629 2014-01-17 Martin Jambor <mjambor@suse.cz>
32632 * ipa-cp.c (prev_edge_clone): New variable.
32633 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
32634 Also resize prev_edge_clone vector.
32635 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
32636 (ipcp_edge_removal_hook): New function.
32637 (ipcp_driver): Register ipcp_edge_removal_hook.
32639 2014-01-17 Andrew Pinski <apinski@cavium.com>
32640 Steve Ellcey <sellcey@mips.com>
32643 * config/mips/mips.c (mips_print_operand): Check operand mode instead
32646 2014-01-17 Jeff Law <law@redhat.com>
32648 PR middle-end/57904
32649 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
32650 so that pass_ccp runs first.
32652 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
32654 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
32655 (ix86_adjust_cost): Use !TARGET_XXX.
32656 (do_reorder_for_imul): Likewise.
32657 (swap_top_of_ready_list): Likewise.
32658 (ix86_sched_reorder): Likewise.
32660 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
32662 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
32663 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
32664 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
32665 (intel_memset): New. Duplicate slm_memset.
32666 (intel_cost): New. Duplicate slm_cost.
32667 (m_INTEL): New macro.
32668 (processor_target_table): Add "intel".
32669 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
32670 with PROCESSOR_INTEL for "intel".
32671 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
32672 PROCESSOR_SILVERMONT.
32673 (ix86_issue_rate): Likewise.
32674 (ix86_adjust_cost): Likewise.
32675 (ia32_multipass_dfa_lookahead): Likewise.
32676 (swap_top_of_ready_list): Likewise.
32677 (ix86_sched_reorder): Likewise.
32678 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
32679 instead of TARGET_OPT_AGU.
32680 * config/i386/i386.h (TARGET_INTEL): New.
32681 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
32682 (processor_type): Add PROCESSOR_INTEL.
32683 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
32684 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
32686 2014-01-17 Marek Polacek <polacek@redhat.com>
32689 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
32692 2014-01-17 Richard Biener <rguenther@suse.de>
32694 PR tree-optimization/46590
32695 * opts.c (default_options_table): Add entries for
32696 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
32697 all enabled at -O1 but not for -Og.
32698 * common.opt (fbranch-count-reg): Remove Init(1).
32699 (fmove-loop-invariants): Likewise.
32700 (ftree-pta): Likewise.
32702 2014-01-17 Jakub Jelinek <jakub@redhat.com>
32704 * config/i386/i386.c (ix86_data_alignment): For compatibility with
32705 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
32706 decls to at least the GCC 4.8 used alignments.
32709 * tree-nested.c (convert_nonlocal_reference_stmt,
32710 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
32711 of GIMPLE_BIND stmts, adjust associated decls.
32713 2014-01-17 Richard Biener <rguenther@suse.de>
32715 PR tree-optimization/46590
32716 * vec.h (vec<>::bseach): New member function implementing
32717 binary search according to C89 bsearch.
32718 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
32719 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
32720 bitmap pointer again. Make accesses_in_loop a flat array.
32721 (mem_ref_obstack): New global.
32722 (outermost_indep_loop): Adjust for mem_ref->stored changes.
32723 (mark_ref_stored): Likewise.
32724 (ref_indep_loop_p_2): Likewise.
32725 (set_ref_stored_in_loop): New helper function.
32726 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
32727 (memref_free): Adjust.
32728 (record_mem_ref_loc): Simplify.
32729 (gather_mem_refs_stmt): Adjust.
32730 (sort_locs_in_loop_postorder_cmp): New function.
32731 (analyze_memory_references): Sort accesses_in_loop after
32732 loop postorder number.
32733 (find_ref_loc_in_loop_cmp): New function.
32734 (for_all_locs_in_loop): Find relevant cluster of locs in
32735 accesses_in_loop and iterate without recursion.
32736 (execute_sm): Avoid uninit warning.
32737 (struct ref_always_accessed): Simplify.
32738 (ref_always_accessed::operator ()): Likewise.
32739 (ref_always_accessed_p): Likewise.
32740 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
32741 loop postorder numbers here.
32742 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
32745 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
32748 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
32749 on decls for which assemble_alias has been called.
32751 2014-01-17 Nick Clifton <nickc@redhat.com>
32753 * config/msp430/msp430.opt: (mcpu): New option.
32754 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
32755 (msp430_option_override): Parse target_cpu. If the MCU name
32756 matches a generic string, clear target_mcu.
32757 (msp430_attr): Allow numeric interrupt values up to 63.
32758 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
32759 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
32761 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
32763 * config/msp430/msp430.md (popm): Use %J rather than %I.
32764 (addsi3): Use msp430_nonimmediate_operand for operand 2.
32765 (addhi_cy_i): Use immediate_operand for operand 2.
32766 * doc/invoke.texi: Document -mcpu option.
32768 2014-01-17 Richard Biener <rguenther@suse.de>
32770 PR rtl-optimization/38518
32771 * df.h (df_analyze_loop): Declare.
32772 * df-core.c: Include cfgloop.h.
32773 (df_analyze_1): Split out main part of df_analyze.
32774 (df_analyze): Adjust.
32775 (loop_inverted_post_order_compute): New function.
32776 (loop_post_order_compute): Likewise.
32777 (df_analyze_loop): New function avoiding whole-function
32778 postorder computes.
32779 * loop-invariant.c (find_defs): Use df_analyze_loop.
32780 (find_invariants): Adjust.
32781 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
32783 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
32785 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
32786 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
32788 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
32790 * ipa-ref.c (ipa_remove_stmt_references): Fix references
32791 traversal when removing references.
32793 2014-01-16 Jan Hubicka <hubicka@ucw.cz>
32796 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
32798 2014-01-16 Bernd Schmidt <bernds@codesourcery.com>
32800 PR middle-end/56791
32801 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
32802 pushing a reload for an autoinc when we had previously reloaded an
32803 inner part of the address.
32805 2014-01-16 Jakub Jelinek <jakub@redhat.com>
32807 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
32809 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
32810 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
32811 when not giving up or versioning for alias only because of
32813 (vect_analyze_data_ref_dependences): Set to true.
32814 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
32816 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
32817 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
32820 PR middle-end/58344
32821 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
32824 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
32825 operand 0 predicate for gathers, use a new pseudo as subtarget.
32827 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
32829 PR middle-end/59609
32830 * lra-constraints.c (process_alt_operands): Add printing debug info.
32831 Check absence of input/output reloads for matched operands too.
32833 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
32835 PR rtl-optimization/59835
32836 * ira.c (ira_init_register_move_cost): Increase cost for
32839 2014-01-16 Alan Lawrence <alan.lawrence@arm.com>
32841 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
32843 2014-01-16 Richard Earnshaw <rearnsha@arm.com>
32846 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
32847 non-register objects. Use gen_(high/low)part more consistently.
32850 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
32853 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
32854 endian support, remove tests for WORDS_BIG_ENDIAN.
32855 (p8_mfvsrd_3_<mode>): Likewise.
32856 (reload_gpr_from_vsx<mode>): Likewise.
32857 (reload_gpr_from_vsxsf): Likewise.
32858 (p8_mfvsrd_4_disf): Likewise.
32860 2014-01-16 Richard Biener <rguenther@suse.de>
32862 PR rtl-optimization/46590
32863 * lcm.c (compute_antinout_edge): Use postorder iteration.
32864 (compute_laterin): Use inverted postorder iteration.
32866 2014-01-16 Nick Clifton <nickc@redhat.com>
32868 PR middle-end/28865
32869 * varasm.c (output_constant): Return the number of bytes actually
32871 (output_constructor_array_range): Update the field size with the
32872 number of bytes emitted by output_constant.
32873 (output_constructor_regular_field): Likewise. Also do not
32874 complain if the total number of bytes emitted is now greater
32875 than the expected fieldpos.
32876 * output.h (output_constant): Update prototype and descriptive comment.
32878 2014-01-16 Marek Polacek <polacek@redhat.com>
32880 PR middle-end/59827
32881 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
32882 it is error_mark_node.
32884 2014-01-15 Uros Bizjak <ubizjak@gmail.com>
32886 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
32887 VALID_AVX256_REG_OR_OI_MODE.
32889 2014-01-15 Pat Haugen <pthaugen@us.ibm.com>
32891 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
32892 current procedure should be profiled.
32894 2014-01-15 Andrew Pinski <apinski@cavium.com>
32896 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
32897 of moving from/to the STACK_REG register class.
32899 2014-01-15 Richard Henderson <rth@redhat.com>
32902 * reginfo.c (global_regs_decl): Globalize.
32903 * rtl.h (global_regs_decl): Declare.
32904 * ira.c (do_reload): Diagnose frame_pointer_needed and it
32905 reserved via global_regs.
32907 2014-01-15 Teresa Johnson <tejohnson@google.com>
32909 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
32911 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
32913 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
32914 and vmulosh rather than call gen_vec_widen_smult_*.
32915 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
32916 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
32917 (vec_widen_smult_even_v16qi): Likewise.
32918 (vec_widen_umult_even_v8hi): Likewise.
32919 (vec_widen_smult_even_v8hi): Likewise.
32920 (vec_widen_umult_odd_v16qi): Likewise.
32921 (vec_widen_smult_odd_v16qi): Likewise.
32922 (vec_widen_umult_odd_v8hi): Likewise.
32923 (vec_widen_smult_odd_v8hi): Likewise.
32924 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
32925 vmuloub rather than call gen_vec_widen_umult_*.
32926 (vec_widen_umult_lo_v16qi): Likewise.
32927 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
32928 vmulosb rather than call gen_vec_widen_smult_*.
32929 (vec_widen_smult_lo_v16qi): Likewise.
32930 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
32931 rather than call gen_vec_widen_umult_*.
32932 (vec_widen_umult_lo_v8hi): Likewise.
32933 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
32934 rather than call gen_vec_widen_smult_*.
32935 (vec_widen_smult_lo_v8hi): Likewise.
32937 2014-01-15 Jeff Law <law@redhat.com>
32939 PR tree-optimization/59747
32940 * ree.c (find_and_remove_re): Properly handle case where a second
32941 eliminated extension requires widening a copy created for elimination
32942 of a prior extension.
32943 (combine_set_extension): Ensure that the number of hard regs needed
32944 for a destination register does not change when we widen it.
32946 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
32948 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
32949 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
32950 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
32951 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
32952 (avr-*-rtems*): Likewise.
32953 (bfin*-rtems*): Likewise.
32954 (moxie-*-rtems*): Likewise.
32955 (h8300-*-rtems*): Likewise.
32956 (i[34567]86-*-rtems*): Likewise.
32957 (lm32-*-rtems*): Likewise.
32958 (m32r-*-rtems*): Likewise.
32959 (m68k-*-rtems*): Likewise.
32960 (microblaze*-*-rtems*): Likewise.
32961 (mips*-*-rtems*): Likewise.
32962 (powerpc-*-rtems*): Likewise.
32963 (sh-*-rtems*): Likewise.
32964 (sparc-*-rtems*): Likewise.
32965 (sparc64-*-rtems*): Likewise.
32966 (v850-*-rtems*): Likewise.
32967 (m32c-*-rtems*): Likewise.
32969 2014-01-15 Vladimir Makarov <vmakarov@redhat.com>
32971 PR rtl-optimization/59511
32972 * ira.c (ira_init_register_move_cost): Use memory costs for some
32973 cases of register move cost calculations.
32974 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
32975 instead of BB frequency.
32976 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
32977 * lra-assigns.c (find_hard_regno_for): Ditto.
32979 2014-01-15 Richard Biener <rguenther@suse.de>
32981 PR tree-optimization/59822
32982 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
32983 (vectorizable_load): Use it to hoist defs of uses of invariant
32984 loads out of the loop.
32986 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
32987 Kugan Vivekanandarajah <kuganv@linaro.org>
32990 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
32993 2014-01-15 Richard Biener <rguenther@suse.de>
32995 PR rtl-optimization/59802
32996 * lcm.c (compute_available): Use inverted postorder to seed
32997 the initial worklist.
32999 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33002 * config/s390/s390.c (s390_preferred_reload_class): Don't return
33003 ADDR_REGS for invalid symrefs in non-PIC code.
33005 2014-01-15 Jakub Jelinek <jakub@redhat.com>
33008 * builtins.c (determine_block_size): Initialize *probable_max_size
33009 even if len_rtx is CONST_INT.
33011 2014-01-14 Andrew Pinski <apinski@cavium.com>
33013 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
33014 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
33015 (cortexa53_tunings): Likewise.
33016 (aarch64_sched_issue_rate): New function.
33017 (TARGET_SCHED_ISSUE_RATE): Define.
33019 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
33021 * ira-costs.c (find_costs_and_classes): Add missed
33022 ira_init_register_move_cost_if_necessary.
33024 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
33027 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
33029 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
33032 * config/i386/i386.c (type_natural_mode): Add a bool parameter
33033 to indicate if type is used for function return value. Warn ABI
33034 change if the vector mode isn't available for function return value.
33035 (ix86_function_arg_advance): Pass false to type_natural_mode.
33036 (ix86_function_arg): Likewise.
33037 (ix86_gimplify_va_arg): Likewise.
33038 (function_arg_32): Don't warn ABI change.
33039 (ix86_function_value): Pass true to type_natural_mode.
33040 (ix86_return_in_memory): Likewise.
33041 (ix86_struct_value_rtx): Removed.
33042 (TARGET_STRUCT_VALUE_RTX): Likewise.
33044 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
33046 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
33047 converting a conditional jump into a conditional return.
33049 2014-01-14 Richard Biener <rguenther@suse.de>
33051 PR tree-optimization/58921
33052 PR tree-optimization/59006
33053 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
33054 hoisting invariant stmts.
33055 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
33056 invariant loads on the preheader edge if possible.
33058 2014-01-14 Joey Ye <joey.ye@arm.com>
33060 * doc/plugin.texi (Building GCC plugins): Update to C++.
33062 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
33064 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
33065 (_mm_rcp28_round_ss): Ditto.
33066 (_mm_rsqrt28_round_sd): Ditto.
33067 (_mm_rsqrt28_round_ss): Ditto.
33068 (_mm_rcp28_sd): Ditto.
33069 (_mm_rcp28_ss): Ditto.
33070 (_mm_rsqrt28_sd): Ditto.
33071 (_mm_rsqrt28_ss): Ditto.
33072 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
33073 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
33074 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
33075 (IX86_BUILTIN_RCP28SD): Ditto.
33076 (IX86_BUILTIN_RCP28SS): Ditto.
33077 (IX86_BUILTIN_RSQRT28SD): Ditto.
33078 (IX86_BUILTIN_RSQRT28SS): Ditto.
33079 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
33080 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
33081 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
33082 (ix86_expand_special_args_builtin): Expand new FTYPE.
33083 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
33084 (srcp14<mode>): Make insn unary.
33085 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
33086 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
33087 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
33088 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
33089 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
33090 Fix rounding: make it SAE only.
33091 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
33093 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
33095 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
33096 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
33097 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
33098 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
33099 (round_saeonly_mask_scalar_operand4): Ditto.
33100 (round_saeonly_mask_scalar_op3): Ditto.
33101 (round_saeonly_mask_scalar_op4): Ditto.
33103 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
33105 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
33106 Implement -maltivec=be for vec_insert and vec_extract.
33108 2014-01-10 DJ Delorie <dj@redhat.com>
33110 * config/msp430/msp430.md (call_internal): Don't allow memory
33111 references with SP as the base register.
33112 (call_value_internal): Likewise.
33113 * config/msp430/constraints.md (Yc): New. For memory references
33114 that don't use SP as a base register.
33116 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
33117 "an integer without a # prefix"
33118 * config/msp430/msp430.md (epilogue_helper): Use it.
33120 2014-01-13 Jakub Jelinek <jakub@redhat.com>
33123 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
33124 AVX512F gather builtins.
33125 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
33126 on gather decls with INTEGER_TYPE masktype.
33127 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
33128 directly into the builtin rather than hoisting it before loop.
33130 PR tree-optimization/59387
33131 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
33132 (scev_const_prop): If folded_casts and type has undefined overflow,
33133 use force_gimple_operand instead of force_gimple_operand_gsi and
33134 for each added stmt if it is assign with
33135 arith_code_with_undefined_signed_overflow, call
33136 rewrite_to_defined_overflow.
33137 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
33138 gimple-fold.h instead.
33139 (arith_code_with_undefined_signed_overflow,
33140 rewrite_to_defined_overflow): Moved to ...
33141 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
33142 rewrite_to_defined_overflow): ... here. No longer static.
33143 Include gimplify-me.h.
33144 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
33145 rewrite_to_defined_overflow): New prototypes.
33147 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33149 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
33151 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
33153 * builtins.c (get_object_alignment_2): Minor tweak.
33154 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
33156 2014-01-13 Christian Bruel <christian.bruel@st.com>
33158 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
33159 optimized non constant lengths.
33161 2014-01-13 Jakub Jelinek <jakub@redhat.com>
33164 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
33165 load as __atomic_load_N if possible.
33167 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
33169 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
33171 (rs6000_expand_builtin): Adjust call.
33173 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
33176 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
33177 * config/rs6000/rs6000.c: Include target-globals.h.
33178 (rs6000_set_current_function): Instead of doing target_reinit
33179 unconditionally, use save_target_globals_default_opts and
33180 restore_target_globals.
33182 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
33184 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
33185 (rs6000_expand_builtin): Handle mffs and mtfsf.
33186 (rs6000_init_builtins): Define mffs and mtfsf.
33187 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
33188 (rs6000_mffs): New pattern.
33189 (rs6000_mtfsf): New pattern.
33191 2014-01-11 Bin Cheng <bin.cheng@arm.com>
33193 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
33194 Start narrowing with START. Apply candidate-use pair
33195 and check overall cost in narrowing.
33196 (iv_ca_prune): Pass new argument.
33198 2014-01-10 Jeff Law <law@redhat.com>
33200 PR middle-end/59743
33201 * ree.c (combine_reaching_defs): Ensure the defining statement
33202 occurs before the extension when optimizing extensions with
33203 different source and destination hard registers.
33205 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
33208 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
33209 vtables into the type inheritance graph.
33211 2014-01-10 Jakub Jelinek <jakub@redhat.com>
33213 PR rtl-optimization/59754
33214 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
33215 modes in the REGNO != REGNO case.
33217 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
33219 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
33221 2014-01-10 Jakub Jelinek <jakub@redhat.com>
33223 PR tree-optimization/59745
33224 * tree-predcom.c (tree_predictive_commoning_loop): Call
33225 free_affine_expand_cache if giving up because components is NULL.
33227 * target-globals.c (save_target_globals): Allocate < 4KB structs using
33228 GC in payload of target_globals struct instead of allocating them on
33229 the heap and the larger structs separately using GC.
33230 * target-globals.h (struct target_globals): Make regs, hard_regs,
33231 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
33232 of GTY((skip)) and change type to void *.
33233 (reset_target_globals): Cast loads from those fields to corresponding
33236 2014-01-10 Steve Ellcey <sellcey@mips.com>
33239 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
33240 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
33241 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
33243 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
33246 * aarch64-modes.def (CC_Zmode): New flags mode.
33247 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
33248 represents an equality.
33249 (aarch64_get_condition_code): Handle CC_Zmode.
33250 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
33252 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33254 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
33255 extraction in good case.
33257 2014-01-10 Richard Biener <rguenther@suse.de>
33259 PR tree-optimization/59374
33260 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
33261 checking after SLP discovery. Mark stmts not participating
33262 in any SLP instance properly.
33264 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33266 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
33267 when handling a SET rtx.
33269 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33271 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
33272 (cortex-a57): Likewise.
33273 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
33275 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
33277 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
33278 non-iwmmxt builtins.
33280 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
33284 * ipa-devirt.c record_target_from_binfo): Take as argument
33285 stack of binfos and lookup matching one for virtual inheritance.
33286 (possible_polymorphic_call_targets_1): Update.
33288 2014-01-10 Huacai Chen <chenhc@lemote.com>
33290 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
33291 kernel strings for Loongson-2E/2F/3A.
33293 2014-01-10 Jakub Jelinek <jakub@redhat.com>
33295 PR middle-end/59670
33296 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
33297 is_gimple_call before calling gimple_call_internal_p.
33299 2014-01-09 Steve Ellcey <sellcey@mips.com>
33301 * Makefile.in (TREE_FLOW_H): Remove.
33302 (TREE_SSA_H): Add file names from tree-flow.h.
33303 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
33304 * tree.h: Remove tree-flow.h reference.
33305 * hash-table.h: Remove tree-flow.h reference.
33306 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
33307 reference with tree-ssa-loop.h.
33309 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
33311 * doc/invoke.texi: Add -maltivec={be,le} options, and document
33312 default element-order behavior for -maltivec.
33313 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
33314 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
33315 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
33316 when targeting big endian, at least for now.
33317 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
33319 2014-01-09 Jakub Jelinek <jakub@redhat.com>
33321 PR middle-end/47735
33322 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
33323 var satisfies use_register_for_decl, just take into account type
33324 alignment, rather than decl alignment.
33326 PR tree-optimization/59622
33327 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
33328 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
33329 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
33330 Don't devirtualize for inplace at all. For targets.length () == 1,
33331 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
33333 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
33335 * config/i386/i386.md (cpu): Remove the unused btver1.
33337 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
33339 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
33341 2014-01-09 Jakub Jelinek <jakub@redhat.com>
33344 * tree-core.h (struct target_globals): New forward declaration.
33345 (struct tree_target_option): Add globals field.
33346 * tree.h (TREE_TARGET_GLOBALS): Define.
33347 (prepare_target_option_nodes_for_pch): New prototype.
33348 * target-globals.h (struct target_globals): Define even if
33349 !SWITCHABLE_TARGET.
33350 * tree.c (prepare_target_option_node_for_pch,
33351 prepare_target_option_nodes_for_pch): New functions.
33352 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
33353 * config/i386/i386.c: Include target-globals.h.
33354 (ix86_set_current_function): Instead of doing target_reinit
33355 unconditionally, use save_target_globals_default_opts and
33356 restore_target_globals.
33358 2014-01-09 Richard Biener <rguenther@suse.de>
33360 PR tree-optimization/59715
33361 * tree-cfg.h (split_critical_edges): Declare.
33362 * tree-cfg.c (split_critical_edges): Export.
33363 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
33365 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
33367 * cfgexpand.c (expand_stack_vars): Optionally disable
33368 asan stack protection.
33369 (expand_used_vars): Likewise.
33370 (partition_stack_vars): Likewise.
33371 * asan.c (asan_emit_stack_protection): Optionally disable
33372 after return stack usage.
33373 (instrument_derefs): Optionally disable memory access instrumentation.
33374 (instrument_builtin_call): Likewise.
33375 (instrument_strlen_call): Likewise.
33376 (asan_protect_global): Optionally disable global variables protection.
33377 * doc/invoke.texi: Added doc for new options.
33378 * params.def: Added new options.
33379 * params.h: Likewise.
33381 2014-01-09 Jakub Jelinek <jakub@redhat.com>
33383 PR rtl-optimization/59724
33384 * ifcvt.c (cond_exec_process_if_block): Don't call
33385 flow_find_head_matching_sequence with 0 longest_match.
33386 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
33387 non-active insns if !stop_after.
33388 (try_head_merge_bb): Revert 2014-01-07 changes.
33390 2014-01-08 Jeff Law <law@redhat.com>
33392 * ree.c (get_sub_rtx): New function, extracted from...
33393 (merge_def_and_ext): Here.
33394 (combine_reaching_defs): Use get_sub_rtx.
33396 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
33398 * cgraph.h (varpool_variable_node): Do not choke on null node.
33400 2014-01-08 Catherine Moore <clm@codesourcery.com>
33402 * config/mips/mips.md (simple_return): Attempt to use JRC
33404 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
33406 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
33408 PR rtl-optimization/59137
33409 * reorg.c (steal_delay_list_from_target): Call update_block for
33411 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
33413 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
33415 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
33416 two duplicate entries.
33418 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
33421 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
33423 * config/mips/mips.c (mips_truncated_op_cost): New function.
33424 (mips_rtx_costs): Adjust test for BADDU.
33425 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
33427 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
33429 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
33430 (*baddu_si): ...this new pattern.
33432 2014-01-08 Jakub Jelinek <jakub@redhat.com>
33435 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
33437 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
33439 PR middle-end/57748
33440 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
33442 (expand_expr, expand_normal): Adjust.
33443 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
33444 inner_reference_p. Use inner_reference_p to expand inner references.
33445 (store_expr): Adjust.
33446 * cfgexpand.c (expand_call_stmt): Adjust.
33448 2014-01-08 Rong Xu <xur@google.com>
33450 * gcov-io.c (gcov_var): Move from gcov-io.h.
33451 (gcov_position): Ditto.
33452 (gcov_is_error): Ditto.
33453 (gcov_rewrite): Ditto.
33454 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
33455 only part to libgcc/libgcov.h.
33457 2014-01-08 Marek Polacek <polacek@redhat.com>
33459 PR middle-end/59669
33460 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
33462 2014-01-08 Marek Polacek <polacek@redhat.com>
33465 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
33467 2014-01-08 Jakub Jelinek <jakub@redhat.com>
33469 PR rtl-optimization/59649
33470 * stor-layout.c (get_mode_bounds): For BImode return
33471 0 and STORE_FLAG_VALUE.
33473 2014-01-08 Richard Biener <rguenther@suse.de>
33475 PR middle-end/59630
33476 * gimple.h (is_gimple_builtin_call): Remove.
33477 (gimple_builtin_call_types_compatible_p): New.
33478 (gimple_call_builtin_p): New overload.
33479 * gimple.c (is_gimple_builtin_call): Remove.
33480 (validate_call): Rename to ...
33481 (gimple_builtin_call_types_compatible_p): ... this and export. Also
33482 check return types.
33483 (validate_type): New static function.
33484 (gimple_call_builtin_p): New overload and adjust.
33485 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
33486 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
33487 (gimple_fold_stmt_to_constant_1): Likewise.
33488 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
33490 2014-01-08 Richard Biener <rguenther@suse.de>
33492 PR middle-end/59471
33493 * gimplify.c (gimplify_expr): Gimplify register-register type
33494 VIEW_CONVERT_EXPRs to separate stmts.
33496 2014-01-07 Jeff Law <law@redhat.com>
33498 PR middle-end/53623
33499 * ree.c (combine_set_extension): Handle case where source
33500 and destination registers in an extension insn are different.
33501 (combine_reaching_defs): Allow source and destination registers
33502 in extension to be different under limited circumstances.
33503 (add_removable_extension): Remove restriction that the
33504 source and destination registers in the extension are the same.
33505 (find_and_remove_re): Emit a copy from the extension's
33506 destination to its source after the defining insn if
33507 the source and destination registers are different.
33509 PR middle-end/59285
33510 * ifcvt.c (merge_if_block): If we are merging a block with more than
33511 one successor with a block with no successors, remove any BARRIER
33512 after the second block.
33514 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
33516 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
33518 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
33521 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
33522 for 14-bit register offsets when INT14_OK_STRICT is false.
33524 2014-01-07 Roland Stigge <stigge@antcom.de>
33525 Michael Meissner <meissner@linux.vnet.ibm.com>
33528 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
33529 Only check TFmode for SPE constants. Don't check TImode or TDmode.
33531 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
33533 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
33536 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
33538 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
33539 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
33540 rtx is const0_rtx or not.
33542 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
33545 * target-globals.c (save_target_globals): Remove this_fn_optab
33547 * toplev.c: Include optabs.h.
33548 (target_reinit): Temporarily restore the global options if another
33549 set of options are in force.
33551 2014-01-07 Jakub Jelinek <jakub@redhat.com>
33553 PR rtl-optimization/58668
33554 * cfgcleanup.c (flow_find_cross_jump): Don't count
33555 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
33556 to determine what is counted.
33557 (flow_find_head_matching_sequence): Use active_insn_p to determine
33559 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
33561 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
33562 determine what is counted.
33564 PR tree-optimization/59643
33565 * tree-predcom.c (split_data_refs_to_components): If one dr is
33566 read and one write, determine_offset fails and the write isn't
33567 in the bad component, just put the read into the bad component.
33569 2014-01-07 Mike Stump <mikestump@comcast.net>
33570 Jakub Jelinek <jakub@redhat.com>
33573 * tree-core.h (struct tree_optimization_option): Change optabs
33574 type from unsigned char * to void *.
33575 * optabs.c (init_tree_optimization_optabs): Adjust
33576 TREE_OPTIMIZATION_OPTABS initialization.
33578 2014-01-06 Jakub Jelinek <jakub@redhat.com>
33581 * config/i386/i386.h (struct machine_function): Add
33582 no_drap_save_restore field.
33583 * config/i386/i386.c (ix86_save_reg): Use
33584 !cfun->machine->no_drap_save_restore instead of
33585 crtl->stack_realign_needed.
33586 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
33587 this function clears frame_pointer_needed. Set
33588 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
33589 and DRAP reg is needed.
33591 2014-01-06 Marek Polacek <polacek@redhat.com>
33594 * doc/implement-c.texi: Mention that other integer types are
33595 permitted as bit-field types in strictly conforming mode.
33597 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
33599 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
33600 is newly allocated.
33602 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
33604 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
33606 2014-01-06 Martin Jambor <mjambor@suse.cz>
33609 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
33611 * ipa-prop.c (ipa_print_node_params): Fix indentation.
33613 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
33617 * var-tracking.c (add_stores): Preserve the value of the source even if
33618 we don't record the store.
33620 2014-01-06 Terry Guo <terry.guo@arm.com>
33622 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
33624 2014-01-05 Iain Sandoe <iain@codesourcery.com>
33627 * config/darwin.c (darwin_function_section): Adjust return values to
33628 correspond to optimisation changes made in r206070.
33630 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
33632 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
33633 from prefetch_block tune setting.
33634 (nocona_cost): Correct size of prefetch block to 64.
33636 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
33638 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
33639 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
33640 used to save the static chain register in the computation of the offset
33641 from which the FP registers need to be restored.
33643 2014-01-04 Jakub Jelinek <jakub@redhat.com>
33645 PR tree-optimization/59519
33646 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
33647 ICE if get_current_def (current_new_name) is already non-NULL, as long
33648 as it is a phi result of some other phi in *new_exit_bb that has
33651 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
33652 or vmovdqu* for misaligned_operand.
33653 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
33654 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
33655 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
33656 aligned_mem for AVX512F masked aligned load and store builtins and for
33657 non-temporal moves.
33659 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
33661 PR tree-optimization/59651
33662 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
33663 Address range for negative step should be added by TYPE_SIZE_UNIT.
33665 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
33667 * config/m68k/m68k.c (handle_move_double): Handle pushes with
33668 overlapping registers also for registers other than the stack pointer.
33670 2014-01-03 Marek Polacek <polacek@redhat.com>
33673 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
33676 2014-01-03 Jakub Jelinek <jakub@redhat.com>
33679 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
33682 * config/i386/i386.md (MODE_SIZE): New mode attribute.
33683 (push splitter): Use <P:MODE_SIZE> instead of
33684 GET_MODE_SIZE (<P:MODE>mode).
33685 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
33686 (mov -1, reg peephole2): Likewise.
33687 * config/i386/sse.md (*mov<mode>_internal,
33688 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
33689 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
33690 *<code><mode>3, *andnot<mode>3<mask_name>,
33691 <mask_codefor><code><mode>3<mask_name>): Likewise.
33692 * config/i386/subst.md (mask_mode512bit_condition,
33693 sd_mask_mode512bit_condition): Likewise.
33695 2014-01-02 Xinliang David Li <davidxl@google.com>
33697 PR tree-optimization/59303
33698 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
33699 (dump_predicates): Better output format.
33700 (pred_equal_p): New function.
33701 (is_neq_relop_p): Ditto.
33702 (is_neq_zero_form_p): Ditto.
33703 (pred_expr_equal_p): Ditto.
33704 (pred_neg_p): Ditto.
33705 (simplify_pred): Ditto.
33706 (simplify_preds_2): Ditto.
33707 (simplify_preds_3): Ditto.
33708 (simplify_preds_4): Ditto.
33709 (simplify_preds): Ditto.
33710 (push_pred): Ditto.
33711 (push_to_worklist): Ditto.
33712 (get_pred_info_from_cmp): Ditto.
33713 (is_degenerated_phi): Ditto.
33714 (normalize_one_pred_1): Ditto.
33715 (normalize_one_pred): Ditto.
33716 (normalize_one_pred_chain): Ditto.
33717 (normalize_preds): Ditto.
33718 (normalize_cond_1): Remove function.
33719 (normalize_cond): Ditto.
33720 (is_gcond_subset_of): Ditto.
33721 (is_subset_of_any): Ditto.
33722 (is_or_set_subset_of): Ditto.
33723 (is_and_set_subset_of): Ditto.
33724 (is_norm_cond_subset_of): Ditto.
33725 (pred_chain_length_cmp): Ditto.
33726 (convert_control_dep_chain_into_preds): Type change.
33727 (find_predicates): Ditto.
33728 (find_def_preds): Ditto.
33729 (destroy_predicates_vecs): Ditto.
33730 (find_matching_predicates_in_rest_chains): Ditto.
33731 (use_pred_not_overlap_with_undef_path_pred): Ditto.
33732 (is_pred_expr_subset): Ditto.
33733 (is_pred_chain_subset_of): Ditto.
33734 (is_included_in): Ditto.
33735 (is_superset_of): Ditto.
33737 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
33739 Update copyright years.
33741 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
33743 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
33744 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
33745 config/arc/arc.md, config/arc/arc.opt,
33746 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
33747 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
33748 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
33749 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
33750 config/linux-protos.h, config/linux.c, config/winnt-c.c,
33751 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
33752 vtable-verify.c, vtable-verify.h: Use the standard form for the
33755 2014-01-02 Tobias Burnus <burnus@net-b.de>
33757 * gcc.c (process_command): Update copyright notice dates.
33758 * gcov-dump.c: Ditto.
33760 * doc/cpp.texi: Bump @copying's copyright year.
33761 * doc/cppinternals.texi: Ditto.
33762 * doc/gcc.texi: Ditto.
33763 * doc/gccint.texi: Ditto.
33764 * doc/gcov.texi: Ditto.
33765 * doc/install.texi: Ditto.
33766 * doc/invoke.texi: Ditto.
33768 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
33770 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
33772 2014-01-01 Jakub Jelinek <jakub@redhat.com>
33774 * config/i386/sse.md (*mov<mode>_internal): Guard
33775 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
33777 PR rtl-optimization/59647
33778 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
33779 new_rtx into UNSIGNED_FLOAT rtxes.
33781 Copyright (C) 2014 Free Software Foundation, Inc.
33783 Copying and distribution of this file, with or without modification,
33784 are permitted in any medium without royalty provided the copyright
33785 notice and this notice are preserved.